summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/2geom/2geom.SlackBuild106
-rw-r--r--libraries/2geom/2geom.info10
-rw-r--r--libraries/2geom/README14
-rw-r--r--libraries/2geom/slack-desc19
-rw-r--r--libraries/Atlas-C++/Atlas-C++.SlackBuild28
-rw-r--r--libraries/BeautifulSoup/BeautifulSoup.SlackBuild18
-rw-r--r--libraries/BeautifulSoup/README38
-rw-r--r--libraries/BeautifulSoup4/BeautifulSoup4.SlackBuild103
-rw-r--r--libraries/BeautifulSoup4/BeautifulSoup4.info10
-rw-r--r--libraries/BeautifulSoup4/README27
-rw-r--r--libraries/BeautifulSoup4/slack-desc19
-rw-r--r--libraries/Botan/Botan.SlackBuild65
-rw-r--r--libraries/Botan/Botan.info10
-rw-r--r--libraries/Botan/README15
-rw-r--r--libraries/CCfits/CCfits.SlackBuild39
-rw-r--r--libraries/CCfits/CCfits.info4
-rw-r--r--libraries/CEGUI/CEGUI.SlackBuild47
-rw-r--r--libraries/CEGUI/CEGUI.info6
-rw-r--r--libraries/CEGUI/README6
-rw-r--r--libraries/CEGUI0.7/CEGUI-OPENGL.pc12
-rw-r--r--libraries/CEGUI0.7/CEGUI.pc11
-rw-r--r--libraries/CEGUI0.7/CEGUI0.7.SlackBuild65
-rw-r--r--libraries/CEGUI0.7/CEGUI0.7.info2
-rw-r--r--libraries/CEGUI0.7/README5
-rw-r--r--libraries/CGAL/CGAL.SlackBuild35
-rw-r--r--libraries/CGAL/README15
-rw-r--r--libraries/CGAL5/CGAL5.SlackBuild119
-rw-r--r--libraries/CGAL5/CGAL5.info10
-rw-r--r--libraries/CGAL5/README17
-rw-r--r--libraries/CGAL5/slack-desc19
-rw-r--r--libraries/CLI11/CLI11.SlackBuild101
-rw-r--r--libraries/CLI11/CLI11.info10
-rw-r--r--libraries/CLI11/README8
-rw-r--r--libraries/CLI11/slack-desc19
-rw-r--r--libraries/CherryPy/CherryPy.SlackBuild91
-rw-r--r--libraries/CherryPy/CherryPy.info10
-rw-r--r--libraries/CherryPy/README5
-rw-r--r--libraries/CherryPy/slack-desc19
-rw-r--r--libraries/CoinMP/CoinMP.SlackBuild20
-rw-r--r--libraries/CondConfigParser/CondConfigParser.SlackBuild22
-rw-r--r--libraries/CondConfigParser/CondConfigParser.info8
-rw-r--r--libraries/CondConfigParser/README11
-rw-r--r--libraries/ConfigParser/ConfigParser.SlackBuild16
-rw-r--r--libraries/ConfigParser/README9
-rw-r--r--libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild22
-rw-r--r--libraries/DateTime/DateTime.SlackBuild85
-rw-r--r--libraries/DateTime/DateTime.info10
-rw-r--r--libraries/DateTime/README3
-rw-r--r--libraries/DateTime/slack-desc19
-rw-r--r--libraries/DevIL/DevIL.SlackBuild43
-rw-r--r--libraries/DevIL/README29
-rw-r--r--libraries/DirectFB/DirectFB.SlackBuild98
-rw-r--r--libraries/DirectFB/DirectFB.info10
-rw-r--r--libraries/DirectFB/README19
-rw-r--r--libraries/DirectFB/slack-desc19
-rw-r--r--libraries/ETL/ETL.SlackBuild38
-rw-r--r--libraries/ETL/ETL.info12
-rw-r--r--libraries/FormEncode/FormEncode.SlackBuild33
-rw-r--r--libraries/FreeImage/010_avoid-raw-literal.diff44
-rw-r--r--libraries/FreeImage/FreeImage.SlackBuild24
-rw-r--r--libraries/FreeImage/FreeImage.info6
-rw-r--r--libraries/FreeImage/README8
-rw-r--r--libraries/GLee/GLee.SlackBuild44
-rw-r--r--libraries/GeographicLib/GeographicLib.SlackBuild116
-rw-r--r--libraries/GeographicLib/GeographicLib.info16
-rw-r--r--libraries/GeographicLib/README25
-rw-r--r--libraries/GeographicLib/slack-desc19
-rw-r--r--libraries/Geraldo/Geraldo.SlackBuild30
-rw-r--r--libraries/Geraldo/Geraldo.info2
-rw-r--r--libraries/Geraldo/README7
-rw-r--r--libraries/GitPython/GitPython.SlackBuild27
-rw-r--r--libraries/GitPython/GitPython.info10
-rw-r--r--libraries/GtkD/GtkD.SlackBuild21
-rw-r--r--libraries/GtkD/GtkD.info12
-rw-r--r--libraries/HawkNL/HawkNL.SlackBuild37
-rw-r--r--libraries/HawkNL/HawkNL.info2
-rw-r--r--libraries/Hypodermic/Hypodermic.SlackBuild16
-rw-r--r--libraries/IMAPClient/IMAPClient.SlackBuild16
-rw-r--r--libraries/Impacket/Impacket.SlackBuild39
-rw-r--r--libraries/Impacket/Impacket.info10
-rw-r--r--libraries/Impacket/README8
-rw-r--r--libraries/Impacket/slack-desc2
-rw-r--r--libraries/Ipopt/Ipopt.SlackBuild34
-rw-r--r--libraries/Ipopt/Ipopt.info14
-rw-r--r--libraries/JSBSim/JSBSim.SlackBuild162
-rw-r--r--libraries/JSBSim/JSBSim.info10
-rw-r--r--libraries/JSBSim/README20
-rw-r--r--libraries/JSBSim/slack-desc19
-rw-r--r--libraries/Jinja2/Jinja2.SlackBuild89
-rw-r--r--libraries/Jinja2/Jinja2.info10
-rw-r--r--libraries/Jinja2/README3
-rw-r--r--libraries/Jinja2/slack-desc19
-rw-r--r--libraries/Kivy/Kivy.SlackBuild24
-rw-r--r--libraries/Kivy/Kivy.info8
-rw-r--r--libraries/LuaBitOp/LuaBitOp.SlackBuild16
-rw-r--r--libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild22
-rw-r--r--libraries/LucenePlusPlus/LucenePlusPlus.info8
-rw-r--r--libraries/LucenePlusPlus/soname.patch219
-rw-r--r--libraries/MDI_Library/MDI_Library.SlackBuild103
-rw-r--r--libraries/MDI_Library/MDI_Library.info10
-rw-r--r--libraries/MDI_Library/README9
-rw-r--r--libraries/MDI_Library/slack-desc19
-rw-r--r--libraries/MyGUI/MyGUI.SlackBuild33
-rw-r--r--libraries/MyGUI/MyGUI.info6
-rw-r--r--libraries/Nevow/Nevow.SlackBuild97
-rw-r--r--libraries/Nevow/Nevow.info10
-rw-r--r--libraries/Nevow/README12
-rw-r--r--libraries/Nevow/slack-desc19
-rw-r--r--libraries/ORBit2/ORBit2.SlackBuild26
-rw-r--r--libraries/OpenAL/OpenAL.SlackBuild92
-rw-r--r--libraries/OpenAL/OpenAL.info10
-rw-r--r--libraries/OpenAL/README2
-rw-r--r--libraries/OpenAL/slack-desc19
-rw-r--r--libraries/OpenBLAS/OpenBLAS.SlackBuild30
-rw-r--r--libraries/OpenBLAS/OpenBLAS.info8
-rw-r--r--libraries/OpenBLAS/README13
-rw-r--r--libraries/OpenCSG/OpenCSG.SlackBuild16
-rw-r--r--libraries/OpenCSG/README8
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild43
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.info6
-rw-r--r--libraries/OpenSceneGraph/README20
-rw-r--r--libraries/OpenSceneGraph/no-asio-occ.diff20
-rw-r--r--libraries/OptiX-Headers/OptiX-Headers.SlackBuild90
-rw-r--r--libraries/OptiX-Headers/OptiX-Headers.info10
-rw-r--r--libraries/OptiX-Headers/README15
-rw-r--r--libraries/OptiX-Headers/slack-desc19
-rw-r--r--libraries/PDCurses/PDCurses-3.6-makefile-in.patch28
-rw-r--r--libraries/PDCurses/PDCurses.SlackBuild26
-rw-r--r--libraries/PDCurses/PDCurses.info8
-rw-r--r--libraries/PDCurses/x11-makefile-in.patch15
-rw-r--r--libraries/PDCurses/x11-xcurses-config-in.patch23
-rw-r--r--libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild36
-rw-r--r--libraries/PDFlib-Lite/PDFlib-Lite.info2
-rw-r--r--libraries/PLUMED/PLUMED.SlackBuild146
-rw-r--r--libraries/PLUMED/PLUMED.info10
-rw-r--r--libraries/PLUMED/README23
-rw-r--r--libraries/PLUMED/slack-desc19
-rw-r--r--libraries/PrettyTable/PrettyTable.SlackBuild16
-rw-r--r--libraries/PyODE/PyODE.SlackBuild16
-rw-r--r--libraries/PyOpenGL/PyOpenGL.SlackBuild29
-rw-r--r--libraries/PyOpenGL/PyOpenGL.info8
-rw-r--r--libraries/PyOpenGL/README19
-rw-r--r--libraries/PyQt5-legacy/PyQt5-legacy.SlackBuild113
-rw-r--r--libraries/PyQt5-legacy/PyQt5-legacy.info10
-rw-r--r--libraries/PyQt5-legacy/README5
-rw-r--r--libraries/PyQt5-legacy/slack-desc19
-rw-r--r--libraries/PyQt5/PyQt5.SlackBuild115
-rw-r--r--libraries/PyQt5/PyQt5.info10
-rw-r--r--libraries/PyQt5/README2
-rw-r--r--libraries/PyQt5/slack-desc19
-rw-r--r--libraries/PyQwt/PyQwt.SlackBuild55
-rw-r--r--libraries/PyQwt/PyQwt.info10
-rw-r--r--libraries/PyQwt/README3
-rw-r--r--libraries/PyQwt/slack-desc19
-rw-r--r--libraries/PySoundCard/PySoundCard.SlackBuild16
-rw-r--r--libraries/PySoundCard/PySoundCard.info2
-rw-r--r--libraries/PyXML/PyXML.SlackBuild16
-rw-r--r--libraries/PyYAML/PyYAML.SlackBuild86
-rw-r--r--libraries/PyYAML/PyYAML.info10
-rw-r--r--libraries/PyYAML/slack-desc19
-rw-r--r--libraries/Pykka/Pykka.SlackBuild35
-rw-r--r--libraries/Pykka/Pykka.info6
-rw-r--r--libraries/Pykka/README7
-rw-r--r--libraries/QDarkStyle/QDarkStyle.SlackBuild26
-rw-r--r--libraries/QDarkStyle/QDarkStyle.info12
-rw-r--r--libraries/QDarkStyle/README3
-rw-r--r--libraries/QDarkStyle/slack-desc4
-rw-r--r--libraries/QR-Code-generator/QR-Code-generator.SlackBuild122
-rw-r--r--libraries/QR-Code-generator/QR-Code-generator.info10
-rw-r--r--libraries/QR-Code-generator/README4
-rw-r--r--libraries/QR-Code-generator/qr-code-generator-build-fixes.patch156
-rw-r--r--libraries/QR-Code-generator/slack-desc19
-rw-r--r--libraries/QScintilla-qt5/QScintilla-qt5.SlackBuild103
-rw-r--r--libraries/QScintilla-qt5/QScintilla-qt5.info10
-rw-r--r--libraries/QScintilla-qt5/README11
-rw-r--r--libraries/QScintilla-qt5/slack-desc19
-rw-r--r--libraries/QUSB/QUSB.SlackBuild17
-rw-r--r--libraries/QUSB/QUSB.info2
-rw-r--r--libraries/QtUsb/QtUsb.SlackBuild26
-rw-r--r--libraries/QtUsb/QtUsb.info2
-rw-r--r--libraries/RxCpp/RxCpp.SlackBuild16
-rw-r--r--libraries/SDL2/README7
-rw-r--r--libraries/SDL2/SDL2.SlackBuild93
-rw-r--r--libraries/SDL2/SDL2.info10
-rw-r--r--libraries/SDL2/slack-desc19
-rw-r--r--libraries/SDL2_Pango/README3
-rw-r--r--libraries/SDL2_Pango/SDL2_Pango.SlackBuild110
-rw-r--r--libraries/SDL2_Pango/SDL2_Pango.info10
-rw-r--r--libraries/SDL2_Pango/slack-desc19
-rw-r--r--libraries/SDL2_image/README4
-rw-r--r--libraries/SDL2_image/SDL2_image.SlackBuild99
-rw-r--r--libraries/SDL2_image/SDL2_image.info10
-rw-r--r--libraries/SDL2_image/slack-desc19
-rw-r--r--libraries/SDL2_mixer/README11
-rw-r--r--libraries/SDL2_mixer/SDL2_mixer.SlackBuild99
-rw-r--r--libraries/SDL2_mixer/SDL2_mixer.info10
-rw-r--r--libraries/SDL2_mixer/slack-desc19
-rw-r--r--libraries/SDL2_net/README3
-rw-r--r--libraries/SDL2_net/SDL2_net.SlackBuild100
-rw-r--r--libraries/SDL2_net/SDL2_net.info10
-rw-r--r--libraries/SDL2_net/slack-desc19
-rw-r--r--libraries/SDL2_sound/README3
-rw-r--r--libraries/SDL2_sound/SDL2_sound.SlackBuild103
-rw-r--r--libraries/SDL2_sound/SDL2_sound.info10
-rw-r--r--libraries/SDL2_sound/slack-desc19
-rw-r--r--libraries/SDL2_ttf/README4
-rw-r--r--libraries/SDL2_ttf/SDL2_ttf.SlackBuild99
-rw-r--r--libraries/SDL2_ttf/SDL2_ttf.info10
-rw-r--r--libraries/SDL2_ttf/slack-desc19
-rw-r--r--libraries/SDL_Pango/SDL_Pango.SlackBuild26
-rw-r--r--libraries/SDL_audiolib/README7
-rw-r--r--libraries/SDL_audiolib/SDL_audiolib.SlackBuild105
-rw-r--r--libraries/SDL_audiolib/SDL_audiolib.info10
-rw-r--r--libraries/SDL_audiolib/slack-desc19
-rw-r--r--libraries/SDL_gfx/SDL_gfx.SlackBuild35
-rw-r--r--libraries/SDL_gfx/SDL_gfx.info6
-rw-r--r--libraries/SDL_kitchensink/SDL_kitchensink.SlackBuild21
-rw-r--r--libraries/SDL_kitchensink/SDL_kitchensink.info8
-rw-r--r--libraries/SDL_sound/README2
-rw-r--r--libraries/SDL_sound/SDL_sound.SlackBuild93
-rw-r--r--libraries/SDL_sound/SDL_sound.info10
-rw-r--r--libraries/SDL_sound/slack-desc19
-rw-r--r--libraries/SFGUI/SFGUI.SlackBuild45
-rw-r--r--libraries/SFGUI/SFGUI.info6
-rw-r--r--libraries/SFML/README8
-rw-r--r--libraries/SFML/SFML.SlackBuild24
-rw-r--r--libraries/SFML/SFML.info10
-rw-r--r--libraries/SOPE/SOPE.SlackBuild22
-rw-r--r--libraries/SOPE/SOPE.info6
-rw-r--r--libraries/SQLObject/README2
-rw-r--r--libraries/SQLObject/SQLObject.SlackBuild18
-rw-r--r--libraries/SimGear/README6
-rw-r--r--libraries/SimGear/SimGear.SlackBuild25
-rw-r--r--libraries/SimGear/SimGear.info8
-rw-r--r--libraries/SimGear/compositor-pass-missing-array-include.patch11
-rw-r--r--libraries/SlowAES/SlowAES.SlackBuild16
-rw-r--r--libraries/Smarty/README27
-rw-r--r--libraries/Smarty/Smarty.SlackBuild20
-rw-r--r--libraries/VTK/README43
-rw-r--r--libraries/VTK/VTK.SlackBuild88
-rw-r--r--libraries/VTK/VTK.info8
-rw-r--r--libraries/VTK/cstdint-for-gcc13.diff10
-rw-r--r--libraries/VTK/include_limits.patch40
-rw-r--r--libraries/VTK/patch-gdal2.diff31
-rw-r--r--libraries/VTK/patch-proj6.diff110
-rw-r--r--libraries/VitaMTP/VitaMTP.SlackBuild34
-rw-r--r--libraries/VitaMTP/VitaMTP.info2
-rw-r--r--libraries/WebOb/WebOb.SlackBuild23
-rw-r--r--libraries/ZConfig/README3
-rw-r--r--libraries/ZConfig/ZConfig.SlackBuild68
-rw-r--r--libraries/ZConfig/ZConfig.info10
-rw-r--r--libraries/ZConfig/slack-desc19
-rw-r--r--libraries/ZODB3/README5
-rw-r--r--libraries/ZODB3/ZODB3.SlackBuild71
-rw-r--r--libraries/ZODB3/ZODB3.info10
-rw-r--r--libraries/ZODB3/slack-desc19
-rw-r--r--libraries/activemq-cpp/README2
-rw-r--r--libraries/activemq-cpp/activemq-cpp.SlackBuild36
-rw-r--r--libraries/activemq-cpp/activemq-cpp.info6
-rw-r--r--libraries/adns/README3
-rw-r--r--libraries/adns/adns.SlackBuild40
-rw-r--r--libraries/adns/adns.info6
-rw-r--r--libraries/adns/destdir.patch.gzbin943 -> 0 bytes
-rw-r--r--libraries/adns/slack-desc12
-rw-r--r--libraries/adodb/README6
-rw-r--r--libraries/adodb/adodb.SlackBuild16
-rw-r--r--libraries/afflib/afflib.SlackBuild36
-rw-r--r--libraries/afflib/afflib.info6
-rw-r--r--libraries/agar/463ea0a-sdl_hint_mouse_auto_capture.diff33
-rw-r--r--libraries/agar/README8
-rw-r--r--libraries/agar/agar.SlackBuild124
-rw-r--r--libraries/agar/agar.info10
-rw-r--r--libraries/agar/slack-desc19
-rw-r--r--libraries/agg/README25
-rw-r--r--libraries/agg/agg.SlackBuild27
-rw-r--r--libraries/agg/patches/0016-bad-const.patch12
-rw-r--r--libraries/alglib/alglib.SlackBuild34
-rw-r--r--libraries/allegro/README12
-rw-r--r--libraries/allegro/allegro.SlackBuild27
-rw-r--r--libraries/allegro/allegro.info6
-rw-r--r--libraries/allegro4/README18
-rw-r--r--libraries/allegro4/allegro4.SlackBuild49
-rw-r--r--libraries/allegro4/allegro4.info10
-rw-r--r--libraries/allegro4/doinst.sh10
-rw-r--r--libraries/allegro4/douninst.sh6
-rw-r--r--libraries/allegro4/slack-desc2
-rw-r--r--libraries/allegro4/texinfo-6.7.patch10
-rw-r--r--libraries/alure/README2
-rw-r--r--libraries/alure/alure.SlackBuild42
-rw-r--r--libraries/alure/alure.info6
-rw-r--r--libraries/alure/cmake_patch.diff.gzbin0 -> 306 bytes
-rw-r--r--libraries/alure/doinst.sh3
-rw-r--r--libraries/alure/slack-desc2
-rw-r--r--libraries/ant-contrib/ant-contrib.SlackBuild18
-rw-r--r--libraries/antlr4/README12
-rw-r--r--libraries/antlr4/antlr4.SlackBuild21
-rw-r--r--libraries/antlr4/antlr4.info8
-rw-r--r--libraries/apiextractor/apiextractor.SlackBuild22
-rw-r--r--libraries/apiextractor/apiextractor.info2
-rw-r--r--libraries/appmenu-qt/README3
-rw-r--r--libraries/appmenu-qt/appmenu-qt.SlackBuild96
-rw-r--r--libraries/appmenu-qt/appmenu-qt.info10
-rw-r--r--libraries/appmenu-qt/slack-desc19
-rw-r--r--libraries/appstream-glib/appstream-glib.SlackBuild31
-rw-r--r--libraries/appstream-glib/appstream-glib.info8
-rw-r--r--libraries/aqbanking/aqbanking.SlackBuild35
-rw-r--r--libraries/aqbanking/aqbanking.info6
-rw-r--r--libraries/argon2/README11
-rw-r--r--libraries/argon2/argon2.SlackBuild94
-rw-r--r--libraries/argon2/argon2.info10
-rw-r--r--libraries/argon2/slack-desc19
-rw-r--r--libraries/argtable/README2
-rw-r--r--libraries/argtable/argtable.SlackBuild27
-rw-r--r--libraries/argtable/argtable.info4
-rw-r--r--libraries/aribb24/README4
-rw-r--r--libraries/aribb24/aribb24.SlackBuild129
-rw-r--r--libraries/aribb24/aribb24.info10
-rw-r--r--libraries/aribb24/slack-desc19
-rw-r--r--libraries/aribb25/README5
-rw-r--r--libraries/aribb25/aribb25.SlackBuild110
-rw-r--r--libraries/aribb25/aribb25.info10
-rw-r--r--libraries/aribb25/fix-libs.patch311
-rw-r--r--libraries/aribb25/slack-desc19
-rw-r--r--libraries/asio/asio.SlackBuild38
-rw-r--r--libraries/asio/asio.info10
-rw-r--r--libraries/aspnetcore-runtime-3.1/README13
-rw-r--r--libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.SlackBuild79
-rw-r--r--libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.info10
-rw-r--r--libraries/aspnetcore-runtime-3.1/slack-desc19
-rw-r--r--libraries/aspnetcore-runtime-5.0/README13
-rw-r--r--libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.SlackBuild79
-rw-r--r--libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.info10
-rw-r--r--libraries/aspnetcore-runtime-5.0/slack-desc19
-rw-r--r--libraries/aspnetcore-runtime-6.0/README10
-rw-r--r--libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild79
-rw-r--r--libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info10
-rw-r--r--libraries/aspnetcore-runtime-6.0/slack-desc19
-rw-r--r--libraries/aspnetcore-runtime/README8
-rw-r--r--libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild75
-rw-r--r--libraries/aspnetcore-runtime/aspnetcore-runtime.info10
-rw-r--r--libraries/aspnetcore-runtime/doinst.sh1
-rw-r--r--libraries/aspnetcore-runtime/slack-desc19
-rw-r--r--libraries/assimp/assimp.SlackBuild32
-rw-r--r--libraries/assimp/assimp.info6
-rw-r--r--libraries/assimp/doinst.sh3
-rw-r--r--libraries/async/async.SlackBuild16
-rw-r--r--libraries/atlas/AMD64K10h64SSE3.tgzbin11038 -> 0 bytes
-rw-r--r--libraries/atlas/README15
-rw-r--r--libraries/atlas/README.SLACKWARE135
-rw-r--r--libraries/atlas/TimingResults.txt62
-rw-r--r--libraries/atlas/atlas.SlackBuild426
-rw-r--r--libraries/atlas/atlas.info10
-rw-r--r--libraries/atlas/atlas.patch5072
-rw-r--r--libraries/atlas/slack-desc19
-rw-r--r--libraries/aubio/README8
-rw-r--r--libraries/aubio/aubio.SlackBuild48
-rw-r--r--libraries/aubio/aubio.info8
-rw-r--r--libraries/aubio/man/aubio.1208
-rw-r--r--libraries/aubio/man/aubiocut.1124
-rw-r--r--libraries/aubio/man/aubiomfcc.189
-rw-r--r--libraries/aubio/man/aubionotes.1149
-rw-r--r--libraries/aubio/man/aubioonset.1223
-rw-r--r--libraries/aubio/man/aubiopitch.1194
-rw-r--r--libraries/aubio/man/aubioquiet.192
-rw-r--r--libraries/aubio/man/aubiotrack.1129
-rw-r--r--libraries/audiere/README5
-rw-r--r--libraries/audiere/audiere.SlackBuild26
-rw-r--r--libraries/audioread/README9
-rw-r--r--libraries/audioread/audioread.SlackBuild42
-rw-r--r--libraries/audioread/audioread.info12
-rw-r--r--libraries/avbin/avbin.SlackBuild32
-rw-r--r--libraries/avr-libc/avr-libc.SlackBuild32
-rw-r--r--libraries/avr-libc/avr-libc.info6
-rw-r--r--libraries/awscrt/README1
-rw-r--r--libraries/awscrt/awscrt.SlackBuild95
-rw-r--r--libraries/awscrt/awscrt.info10
-rw-r--r--libraries/awscrt/slack-desc19
-rw-r--r--libraries/ayatana-ido/README4
-rw-r--r--libraries/ayatana-ido/ayatana-ido.SlackBuild110
-rw-r--r--libraries/ayatana-ido/ayatana-ido.info10
-rw-r--r--libraries/ayatana-ido/doinst.sh (renamed from libraries/rep-gtk/doinst.sh)0
-rw-r--r--libraries/ayatana-ido/slack-desc19
-rw-r--r--libraries/backports-ssl-match-hostname/backports-ssl-match-hostname.SlackBuild16
-rw-r--r--libraries/bamf/bamf-no-gtester2xunit.patch22
-rw-r--r--libraries/bamf/bamf.SlackBuild26
-rw-r--r--libraries/bamf/bamf.info8
-rw-r--r--libraries/barry/README8
-rw-r--r--libraries/barry/barry.SlackBuild38
-rw-r--r--libraries/batinfo/README6
-rw-r--r--libraries/batinfo/batinfo.SlackBuild18
-rw-r--r--libraries/bcdoc/bcdoc.SlackBuild22
-rw-r--r--libraries/bcdoc/bcdoc.info2
-rw-r--r--libraries/bctoolbox/README4
-rw-r--r--libraries/bctoolbox/bctoolbox.SlackBuild22
-rw-r--r--libraries/bctoolbox/bctoolbox.info10
-rw-r--r--libraries/beignet/README14
-rw-r--r--libraries/beignet/beignet.SlackBuild107
-rw-r--r--libraries/beignet/beignet.info10
-rw-r--r--libraries/beignet/slack-desc19
-rw-r--r--libraries/belle-sip/belle-sip.SlackBuild34
-rw-r--r--libraries/belle-sip/belle-sip.info4
-rw-r--r--libraries/belle-sip/gcc9.patch19
-rw-r--r--libraries/bitsery/README26
-rw-r--r--libraries/bitsery/bitsery.SlackBuild84
-rw-r--r--libraries/bitsery/bitsery.info10
-rw-r--r--libraries/bitsery/slack-desc19
-rw-r--r--libraries/bitstream/README5
-rw-r--r--libraries/bitstream/bitstream.SlackBuild16
-rw-r--r--libraries/blas/README5
-rw-r--r--libraries/blas/blas.SlackBuild64
-rw-r--r--libraries/blas/blas.info8
-rw-r--r--libraries/blas/patches/cmake-piecewise.diff369
-rw-r--r--libraries/blis/README10
-rw-r--r--libraries/blis/blis.SlackBuild114
-rw-r--r--libraries/blis/blis.info10
-rw-r--r--libraries/blis/slack-desc19
-rw-r--r--libraries/bluez-alsa/README23
-rw-r--r--libraries/bluez-alsa/bluez-alsa.SlackBuild30
-rw-r--r--libraries/bluez-alsa/bluez-alsa.info6
-rw-r--r--libraries/bluez-alsa/rc.bluez-alsa24
-rw-r--r--libraries/boolstuff/boolstuff.SlackBuild30
-rw-r--r--libraries/boolstuff/boolstuff.info2
-rw-r--r--libraries/botocore/README2
-rw-r--r--libraries/botocore/botocore.SlackBuild24
-rw-r--r--libraries/botocore/botocore.info10
-rw-r--r--libraries/buddy/buddy.SlackBuild20
-rw-r--r--libraries/bullet/bullet.SlackBuild22
-rw-r--r--libraries/bullet/bullet.info6
-rw-r--r--libraries/bwidget/bwidget.SlackBuild23
-rw-r--r--libraries/bzrtp/README16
-rw-r--r--libraries/bzrtp/bzrtp.SlackBuild28
-rw-r--r--libraries/bzrtp/bzrtp.info2
-rw-r--r--libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild32
-rw-r--r--libraries/c-ares/README3
-rw-r--r--libraries/c-ares/c-ares.SlackBuild85
-rw-r--r--libraries/c-ares/c-ares.info10
-rw-r--r--libraries/c-ares/slack-desc19
-rw-r--r--libraries/c-blosc/README14
-rw-r--r--libraries/c-blosc/c-blosc.SlackBuild112
-rw-r--r--libraries/c-blosc/c-blosc.info10
-rw-r--r--libraries/c-blosc/slack-desc19
-rw-r--r--libraries/cal3d/README8
-rw-r--r--libraries/cal3d/cal3d.SlackBuild21
-rw-r--r--libraries/cal3d/doinst.sh3
-rw-r--r--libraries/camlpdf/README2
-rw-r--r--libraries/camlpdf/camlpdf.SlackBuild83
-rw-r--r--libraries/camlpdf/camlpdf.info10
-rw-r--r--libraries/camlpdf/slack-desc19
-rw-r--r--libraries/canfigger/README10
-rw-r--r--libraries/canfigger/canfigger.SlackBuild99
-rw-r--r--libraries/canfigger/canfigger.info10
-rw-r--r--libraries/canfigger/slack-desc19
-rw-r--r--libraries/capnproto/capnproto.SlackBuild22
-rw-r--r--libraries/capnproto/capnproto.info6
-rw-r--r--libraries/cchardet/cchardet.SlackBuild16
-rw-r--r--libraries/ccrtp/ccrtp.SlackBuild22
-rw-r--r--libraries/ccrtp/ccrtp.info6
-rw-r--r--libraries/cdk/README19
-rw-r--r--libraries/cdk/cdk.SlackBuild26
-rw-r--r--libraries/cereal/README6
-rw-r--r--libraries/cereal/cereal.SlackBuild103
-rw-r--r--libraries/cereal/cereal.info10
-rw-r--r--libraries/cereal/slack-desc19
-rw-r--r--libraries/ceres-solver/README13
-rw-r--r--libraries/ceres-solver/ceres-solver.SlackBuild117
-rw-r--r--libraries/ceres-solver/ceres-solver.info10
-rw-r--r--libraries/ceres-solver/slack-desc19
-rw-r--r--libraries/cffi/README7
-rw-r--r--libraries/cffi/cffi.SlackBuild25
-rw-r--r--libraries/cffi/cffi.info6
-rw-r--r--libraries/cfitsio/README13
-rw-r--r--libraries/cfitsio/cfitsio.SlackBuild109
-rw-r--r--libraries/cfitsio/cfitsio.info10
-rw-r--r--libraries/cfitsio/slack-desc19
-rw-r--r--libraries/cgicc/README2
-rw-r--r--libraries/cgicc/cgicc.SlackBuild22
-rw-r--r--libraries/cgicc/cgicc.info6
-rw-r--r--libraries/cglm/README17
-rw-r--r--libraries/cglm/cglm.SlackBuild127
-rw-r--r--libraries/cglm/cglm.info10
-rw-r--r--libraries/cglm/slack-desc19
-rw-r--r--libraries/cheapglk/README10
-rw-r--r--libraries/cheapglk/cheapglk.SlackBuild74
-rw-r--r--libraries/cheapglk/cheapglk.info10
-rw-r--r--libraries/cheapglk/slack-desc19
-rw-r--r--libraries/chromaprint/chromaprint.SlackBuild26
-rw-r--r--libraries/chromaprint/chromaprint.info6
-rw-r--r--libraries/chromaprint/ffmpeg5.patch76
-rw-r--r--libraries/clalsadrv/clalsadrv.SlackBuild22
-rw-r--r--libraries/cln/cln.SlackBuild26
-rw-r--r--libraries/cloog/README5
-rw-r--r--libraries/cloog/cloog.SlackBuild122
-rw-r--r--libraries/cloog/cloog.info10
-rw-r--r--libraries/cloog/slack-desc19
-rw-r--r--libraries/clutter-gst/README3
-rw-r--r--libraries/clutter-gst/clutter-gst.SlackBuild109
-rw-r--r--libraries/clutter-gst/clutter-gst.info10
-rw-r--r--libraries/clutter-gst/slack-desc19
-rw-r--r--libraries/clutter-gtk/README10
-rw-r--r--libraries/clutter-gtk/clutter-gtk.SlackBuild114
-rw-r--r--libraries/clutter-gtk/clutter-gtk.info10
-rw-r--r--libraries/clutter-gtk/slack-desc19
-rw-r--r--libraries/clutter/README17
-rw-r--r--libraries/clutter/clutter.SlackBuild128
-rw-r--r--libraries/clutter/clutter.info10
-rw-r--r--libraries/clutter/slack-desc19
-rw-r--r--libraries/cmark/cmark.SlackBuild27
-rw-r--r--libraries/cmark/cmark.info10
-rw-r--r--libraries/coeurl/README3
-rw-r--r--libraries/coeurl/coeurl.SlackBuild121
-rw-r--r--libraries/coeurl/coeurl.info12
-rw-r--r--libraries/coeurl/slack-desc19
-rw-r--r--libraries/cogl/README11
-rw-r--r--libraries/cogl/cogl.SlackBuild133
-rw-r--r--libraries/cogl/cogl.info10
-rw-r--r--libraries/cogl/slack-desc19
-rw-r--r--libraries/collada-dom/collada-dom.SlackBuild16
-rw-r--r--libraries/compface/compface.SlackBuild32
-rw-r--r--libraries/compiz-bcop/README31
-rw-r--r--libraries/compiz-bcop/README.Slackware46
-rw-r--r--libraries/compiz-bcop/compiz-bcop.SlackBuild24
-rw-r--r--libraries/compiz-bcop/compiz-bcop.info8
-rw-r--r--libraries/compiz-plugins-experimental/README31
-rw-r--r--libraries/compiz-plugins-experimental/README.Slackware46
-rw-r--r--libraries/compiz-plugins-experimental/compiz-plugins-experimental.SlackBuild29
-rw-r--r--libraries/compiz-plugins-experimental/compiz-plugins-experimental.info8
-rw-r--r--libraries/compiz-plugins-experimental/gcc13.patch169
-rw-r--r--libraries/compiz-plugins-extra/README31
-rw-r--r--libraries/compiz-plugins-extra/README.Slackware46
-rw-r--r--libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild29
-rw-r--r--libraries/compiz-plugins-extra/compiz-plugins-extra.info8
-rw-r--r--libraries/compiz-plugins-extra/gcc13.patch203
-rw-r--r--libraries/compiz-plugins-main/README31
-rw-r--r--libraries/compiz-plugins-main/README.Slackware46
-rw-r--r--libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild30
-rw-r--r--libraries/compiz-plugins-main/compiz-plugins-main.info8
-rw-r--r--libraries/compiz-plugins-main/fix_focus_position.patch49
-rw-r--r--libraries/compizconfig-python/README29
-rw-r--r--libraries/compizconfig-python/README.Slackware46
-rw-r--r--libraries/compizconfig-python/compizconfig-python.SlackBuild28
-rw-r--r--libraries/compizconfig-python/compizconfig-python.info8
-rw-r--r--libraries/configobj/README3
-rw-r--r--libraries/configobj/configobj.SlackBuild24
-rw-r--r--libraries/configobj/configobj.info8
-rw-r--r--libraries/confuse/README23
-rw-r--r--libraries/confuse/confuse.SlackBuild59
-rw-r--r--libraries/confuse/confuse.info6
-rw-r--r--libraries/console_bridge/README9
-rw-r--r--libraries/console_bridge/console_bridge.SlackBuild16
-rw-r--r--libraries/console_bridge/console_bridge.info2
-rw-r--r--libraries/cpp-httplib/README8
-rw-r--r--libraries/cpp-httplib/cpp-httplib.SlackBuild111
-rw-r--r--libraries/cpp-httplib/cpp-httplib.info10
-rw-r--r--libraries/cpp-httplib/slack-desc19
-rw-r--r--libraries/cpp-jwt/README8
-rw-r--r--libraries/cpp-jwt/cpp-jwt.SlackBuild110
-rw-r--r--libraries/cpp-jwt/cpp-jwt.info10
-rw-r--r--libraries/cpp-jwt/slack-desc19
-rw-r--r--libraries/cpp-netlib/OPENSSL_NO_SSL3.patch25
-rw-r--r--libraries/cpp-netlib/cpp-netlib.SlackBuild20
-rw-r--r--libraries/cpp-netlib/cpp-netlib.info6
-rw-r--r--libraries/cpprestsdk/cpprestsdk.SlackBuild43
-rw-r--r--libraries/cpprestsdk/cpprestsdk.info6
-rw-r--r--libraries/cpprestsdk/cpprestsdk.patch13
-rw-r--r--libraries/cpprestsdk/slack-desc2
-rw-r--r--libraries/cppzmq/README16
-rw-r--r--libraries/cppzmq/cppzmq.SlackBuild103
-rw-r--r--libraries/cppzmq/cppzmq.info10
-rw-r--r--libraries/cppzmq/slack-desc19
-rw-r--r--libraries/cracklib/README12
-rw-r--r--libraries/cracklib/cracklib.SlackBuild116
-rw-r--r--libraries/cracklib/cracklib.info12
-rw-r--r--libraries/cracklib/slack-desc19
-rw-r--r--libraries/crossguid/Makefile.crossguid33
-rw-r--r--libraries/crossguid/README7
-rw-r--r--libraries/crossguid/crossguid.SlackBuild45
-rw-r--r--libraries/crossguid/crossguid.info10
-rw-r--r--libraries/crossguid/slack-desc6
-rw-r--r--libraries/cryptopp/README4
-rw-r--r--libraries/cryptopp/cryptopp.SlackBuild95
-rw-r--r--libraries/cryptopp/cryptopp.info10
-rw-r--r--libraries/cryptopp/cryptopp.pc13
-rw-r--r--libraries/cryptopp/slack-desc19
-rw-r--r--libraries/ctemplate/ctemplate.SlackBuild36
-rw-r--r--libraries/ctemplate/ctemplate.info6
-rw-r--r--libraries/cuneiform/cuneiform-gcc.patch98
-rw-r--r--libraries/cuneiform/cuneiform.SlackBuild31
-rw-r--r--libraries/cuneiform/gcc11.patch30
-rw-r--r--libraries/cuneiform/strings.patch19
-rw-r--r--libraries/curses_ex/README4
-rw-r--r--libraries/curses_ex/curses_ex.SlackBuild16
-rw-r--r--libraries/curses_ex/curses_ex.info2
-rw-r--r--libraries/cutefish-kwin-plugins/README2
-rw-r--r--libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.SlackBuild106
-rw-r--r--libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.info10
-rw-r--r--libraries/cutefish-kwin-plugins/slack-desc19
-rw-r--r--libraries/cutefish-qt-plugins/README1
-rw-r--r--libraries/cutefish-qt-plugins/cutefish-qt-plugins.SlackBuild106
-rw-r--r--libraries/cutefish-qt-plugins/cutefish-qt-plugins.info10
-rw-r--r--libraries/cutefish-qt-plugins/slack-desc19
-rw-r--r--libraries/cyrus-sasl-xoauth2/README2
-rw-r--r--libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.SlackBuild114
-rw-r--r--libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.info10
-rw-r--r--libraries/cyrus-sasl-xoauth2/slack-desc19
-rw-r--r--libraries/daq/daq.SlackBuild20
-rw-r--r--libraries/darcsver/README3
-rw-r--r--libraries/darcsver/darcsver.SlackBuild88
-rw-r--r--libraries/darcsver/darcsver.info10
-rw-r--r--libraries/darcsver/slack-desc19
-rw-r--r--libraries/date/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch29
-rw-r--r--libraries/date/538-output-date-pc-for-pkg-config.patch60
-rw-r--r--libraries/date/README26
-rw-r--r--libraries/date/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch24
-rw-r--r--libraries/date/date.SlackBuild122
-rw-r--r--libraries/date/date.info10
-rw-r--r--libraries/date/disable_buggy_libstdc++_tests.patch30
-rw-r--r--libraries/date/slack-desc19
-rw-r--r--libraries/dav1d/README7
-rw-r--r--libraries/dav1d/dav1d.SlackBuild100
-rw-r--r--libraries/dav1d/dav1d.info10
-rw-r--r--libraries/dav1d/slack-desc19
-rw-r--r--libraries/db46/README12
-rw-r--r--libraries/db46/db46.SlackBuild152
-rw-r--r--libraries/db46/db46.info10
-rw-r--r--libraries/db46/patches/patch.4.6.21.190
-rw-r--r--libraries/db46/patches/patch.4.6.21.227
-rw-r--r--libraries/db46/patches/patch.4.6.21.353
-rw-r--r--libraries/db46/patches/patch.4.6.21.41414
-rw-r--r--libraries/db46/slack-desc19
-rw-r--r--libraries/dbcsr/README12
-rw-r--r--libraries/dbcsr/dbcsr.SlackBuild122
-rw-r--r--libraries/dbcsr/dbcsr.info10
-rw-r--r--libraries/dbcsr/slack-desc19
-rw-r--r--libraries/dbus-cpp/dbus-cpp.SlackBuild28
-rw-r--r--libraries/dbus-cpp/dbus-cpp.info8
-rw-r--r--libraries/dbus-sharp-glib/README6
-rw-r--r--libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild109
-rw-r--r--libraries/dbus-sharp-glib/dbus-sharp-glib.info10
-rw-r--r--libraries/dbus-sharp-glib/slack-desc19
-rw-r--r--libraries/dbus-sharp/README7
-rw-r--r--libraries/dbus-sharp/dbus-sharp.SlackBuild109
-rw-r--r--libraries/dbus-sharp/dbus-sharp.info10
-rw-r--r--libraries/dbus-sharp/slack-desc19
-rw-r--r--libraries/dcadec/README6
-rw-r--r--libraries/dcadec/dcadec.SlackBuild16
-rw-r--r--libraries/dcmtk/README8
-rw-r--r--libraries/dcmtk/dcmtk.SlackBuild43
-rw-r--r--libraries/dcmtk/dcmtk.info6
-rw-r--r--libraries/dietlibc/README7
-rw-r--r--libraries/dietlibc/dietlibc.SlackBuild56
-rw-r--r--libraries/dietlibc/dietlibc.info4
-rw-r--r--libraries/digimend-kernel-drivers/README29
-rw-r--r--libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild102
-rw-r--r--libraries/digimend-kernel-drivers/digimend-kernel-drivers.info10
-rw-r--r--libraries/digimend-kernel-drivers/doinst.sh5
-rw-r--r--libraries/digimend-kernel-drivers/slack-desc19
-rw-r--r--libraries/discogs-client/README6
-rw-r--r--libraries/discogs-client/discogs-client.SlackBuild85
-rw-r--r--libraries/discogs-client/discogs-client.info10
-rw-r--r--libraries/discogs-client/slack-desc19
-rw-r--r--libraries/dlib/README2
-rw-r--r--libraries/dlib/dlib.SlackBuild16
-rw-r--r--libraries/dmlc-core/README3
-rw-r--r--libraries/dmlc-core/dmlc-core.SlackBuild119
-rw-r--r--libraries/dmlc-core/dmlc-core.info10
-rw-r--r--libraries/dmlc-core/slack-desc19
-rw-r--r--libraries/dotconf/README2
-rw-r--r--libraries/dotconf/dotconf.SlackBuild97
-rw-r--r--libraries/dotconf/dotconf.info10
-rw-r--r--libraries/dotconf/slack-desc19
-rw-r--r--libraries/double-conversion/README7
-rw-r--r--libraries/double-conversion/double-conversion.SlackBuild23
-rw-r--r--libraries/double-conversion/double-conversion.info10
-rw-r--r--libraries/double-conversion/slack-desc14
-rw-r--r--libraries/dpdk/README16
-rw-r--r--libraries/dpdk/dpdk.SlackBuild100
-rw-r--r--libraries/dpdk/dpdk.info10
-rw-r--r--libraries/dpdk/slack-desc19
-rw-r--r--libraries/dropbox-python/README2
-rw-r--r--libraries/dropbox-python/dropbox-python.SlackBuild29
-rw-r--r--libraries/dropbox-python/dropbox-python.info10
-rw-r--r--libraries/dumb/README4
-rw-r--r--libraries/dumb/dumb.SlackBuild113
-rw-r--r--libraries/dumb/dumb.info10
-rw-r--r--libraries/dumb/slack-desc19
-rw-r--r--libraries/edelib/README6
-rw-r--r--libraries/edelib/edelib.SlackBuild39
-rw-r--r--libraries/edelib/edelib.info4
-rw-r--r--libraries/efivar/README1
-rw-r--r--libraries/efivar/efivar.SlackBuild95
-rw-r--r--libraries/efivar/efivar.info10
-rw-r--r--libraries/efivar/slack-desc19
-rw-r--r--libraries/efl/README9
-rw-r--r--libraries/efl/doinst.sh6
-rw-r--r--libraries/efl/efl.SlackBuild64
-rw-r--r--libraries/efl/efl.info6
-rw-r--r--libraries/efl/setup.sh30
-rw-r--r--libraries/ell/README2
-rw-r--r--libraries/ell/ell.SlackBuild109
-rw-r--r--libraries/ell/ell.info10
-rw-r--r--libraries/ell/slack-desc19
-rw-r--r--libraries/enca/enca.SlackBuild20
-rw-r--r--libraries/enchant2/README4
-rw-r--r--libraries/enchant2/enchant2.SlackBuild111
-rw-r--r--libraries/enchant2/enchant2.info12
-rw-r--r--libraries/enchant2/slack-desc19
-rw-r--r--libraries/enum34/README2
-rw-r--r--libraries/enum34/enum34.SlackBuild85
-rw-r--r--libraries/enum34/enum34.info10
-rw-r--r--libraries/enum34/slack-desc19
-rw-r--r--libraries/eris/README9
-rw-r--r--libraries/eris/eris.SlackBuild22
-rw-r--r--libraries/evernote-python/README9
-rw-r--r--libraries/evernote-python/evernote-python.SlackBuild16
-rw-r--r--libraries/evernote-python/evernote-python.info2
-rw-r--r--libraries/exempi/exempi.SlackBuild23
-rw-r--r--libraries/exempi/exempi.info8
-rw-r--r--libraries/exiftool/README13
-rw-r--r--libraries/exiftool/exiftool.SlackBuild58
-rw-r--r--libraries/exiftool/exiftool.info12
-rw-r--r--libraries/exiftool/slack-desc8
-rw-r--r--libraries/facebook-python/README5
-rw-r--r--libraries/facebook-python/facebook-python.SlackBuild90
-rw-r--r--libraries/facebook-python/facebook-python.info10
-rw-r--r--libraries/facebook-python/slack-desc19
-rw-r--r--libraries/fast_float/README7
-rw-r--r--libraries/fast_float/fast_float.SlackBuild106
-rw-r--r--libraries/fast_float/fast_float.info10
-rw-r--r--libraries/fast_float/slack-desc19
-rw-r--r--libraries/faun/README6
-rw-r--r--libraries/faun/faun.SlackBuild85
-rw-r--r--libraries/faun/faun.info10
-rw-r--r--libraries/faun/slack-desc19
-rw-r--r--libraries/fcft/README20
-rw-r--r--libraries/fcft/fcft.SlackBuild121
-rw-r--r--libraries/fcft/fcft.info10
-rw-r--r--libraries/fcft/slack-desc19
-rw-r--r--libraries/fcgi/README3
-rw-r--r--libraries/fcgi/fcgi.SlackBuild48
-rw-r--r--libraries/fcl/fcl.SlackBuild16
-rw-r--r--libraries/ffms2/586d87de3f896d0c4ff01b21f572375e11f9c3f1.patch27
-rw-r--r--libraries/ffms2/ffms2.SlackBuild39
-rw-r--r--libraries/ffms2/ffms2.info8
-rw-r--r--libraries/field3d/README6
-rw-r--r--libraries/field3d/field3d.SlackBuild124
-rw-r--r--libraries/field3d/field3d.info10
-rw-r--r--libraries/field3d/slack-desc19
-rw-r--r--libraries/fifechan/README9
-rw-r--r--libraries/fifechan/fifechan.SlackBuild22
-rw-r--r--libraries/fifechan/fifechan.info10
-rw-r--r--libraries/fishui/README9
-rw-r--r--libraries/fishui/fishui.SlackBuild106
-rw-r--r--libraries/fishui/fishui.info10
-rw-r--r--libraries/fishui/slack-desc19
-rw-r--r--libraries/flashplugin-lahf-fix/README11
-rw-r--r--libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild40
-rw-r--r--libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info10
-rw-r--r--libraries/flashplugin-lahf-fix/slack-desc19
-rw-r--r--libraries/flatbuffers/README47
-rw-r--r--libraries/flatbuffers/flatbuffers.SlackBuild54
-rw-r--r--libraries/flatbuffers/flatbuffers.info12
-rw-r--r--libraries/flatbuffers/flatbuffers.patch19
-rw-r--r--libraries/flatbuffers/slack-desc12
-rw-r--r--libraries/flatzebra/flatzebra.SlackBuild28
-rw-r--r--libraries/flatzebra/flatzebra.info8
-rw-r--r--libraries/flickcurl/flickcurl.SlackBuild26
-rw-r--r--libraries/flint/README14
-rw-r--r--libraries/flint/flint.SlackBuild109
-rw-r--r--libraries/flint/flint.info10
-rw-r--r--libraries/flint/slack-desc19
-rw-r--r--libraries/fltk/README17
-rw-r--r--libraries/fltk/fltk.SlackBuild27
-rw-r--r--libraries/fltk/fltk.info6
-rw-r--r--libraries/fmodapi/fmodapi.SlackBuild22
-rw-r--r--libraries/fmodapi/fmodapi.info2
-rw-r--r--libraries/fmt/README2
-rw-r--r--libraries/fmt/fmt.SlackBuild96
-rw-r--r--libraries/fmt/fmt.info10
-rw-r--r--libraries/fmt/slack-desc19
-rw-r--r--libraries/folks/README3
-rw-r--r--libraries/folks/doinst.sh5
-rw-r--r--libraries/folks/folks.SlackBuild111
-rw-r--r--libraries/folks/folks.info10
-rw-r--r--libraries/folks/slack-desc19
-rw-r--r--libraries/folly/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch30
-rw-r--r--libraries/folly/README8
-rw-r--r--libraries/folly/folly.SlackBuild71
-rw-r--r--libraries/folly/folly.info16
-rw-r--r--libraries/folly/slack-desc16
-rw-r--r--libraries/fox-toolkit-devel/README8
-rw-r--r--libraries/fox-toolkit-devel/fox-toolkit-devel.SlackBuild24
-rw-r--r--libraries/fox-toolkit-devel/fox-toolkit-devel.info6
-rw-r--r--libraries/fox-toolkit/fox-toolkit.SlackBuild24
-rw-r--r--libraries/fox-toolkit/fox-toolkit.info6
-rw-r--r--libraries/fpconst/fpconst.SlackBuild18
-rw-r--r--libraries/freealut/freealut.SlackBuild29
-rw-r--r--libraries/freealut/freealut.info2
-rw-r--r--libraries/freexl/README6
-rw-r--r--libraries/freexl/freexl.SlackBuild37
-rw-r--r--libraries/freexl/freexl.info12
-rw-r--r--libraries/frei0r/README6
-rw-r--r--libraries/frei0r/frei0r.SlackBuild126
-rw-r--r--libraries/frei0r/frei0r.info10
-rw-r--r--libraries/frei0r/slack-desc19
-rw-r--r--libraries/fstrcmp/README7
-rw-r--r--libraries/fstrcmp/fstrcmp.SlackBuild120
-rw-r--r--libraries/fstrcmp/fstrcmp.info10
-rw-r--r--libraries/fstrcmp/slack-desc19
-rw-r--r--libraries/ftgl/README21
-rw-r--r--libraries/ftgl/ftgl.SlackBuild76
-rw-r--r--libraries/ftgl/ftgl.info4
-rw-r--r--libraries/ftplib/README7
-rw-r--r--libraries/ftplib/ftplib.SlackBuild16
-rw-r--r--libraries/function2/README20
-rw-r--r--libraries/function2/function2.SlackBuild88
-rw-r--r--libraries/function2/function2.info10
-rw-r--r--libraries/function2/slack-desc19
-rw-r--r--libraries/futures/README9
-rw-r--r--libraries/futures/futures.SlackBuild16
-rw-r--r--libraries/fuzzylite/doinst.sh3
-rw-r--r--libraries/fuzzylite/fuzzylite.SlackBuild23
-rw-r--r--libraries/fuzzylite/fuzzylite.info6
-rw-r--r--libraries/gallerize/gallerize.SlackBuild26
-rw-r--r--libraries/gallerize/gallerize.info8
-rw-r--r--libraries/gamemode/README59
-rw-r--r--libraries/gamemode/gamemode.SlackBuild114
-rw-r--r--libraries/gamemode/gamemode.info10
-rw-r--r--libraries/gamemode/slack-desc19
-rw-r--r--libraries/ganv/ganv.SlackBuild88
-rw-r--r--libraries/ganv/ganv.info12
-rw-r--r--libraries/ganv/slack-desc2
-rw-r--r--libraries/gaphas/README3
-rw-r--r--libraries/gaphas/gaphas.SlackBuild68
-rw-r--r--libraries/gaphas/gaphas.info10
-rw-r--r--libraries/gaphas/slack-desc19
-rw-r--r--libraries/gavl/gavl.SlackBuild20
-rw-r--r--libraries/gazebo/README19
-rw-r--r--libraries/gazebo/gazebo-tinyxml2.patch13
-rw-r--r--libraries/gazebo/gazebo.SlackBuild109
-rw-r--r--libraries/gazebo/gazebo.info10
-rw-r--r--libraries/gazebo/slack-desc19
-rw-r--r--libraries/gcab/gcab.SlackBuild26
-rw-r--r--libraries/gcab/gcab.info2
-rw-r--r--libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch45
-rw-r--r--libraries/gconfmm/gconfmm.SlackBuild64
-rw-r--r--libraries/gdata/gdata.SlackBuild29
-rw-r--r--libraries/gdl/gdl.SlackBuild29
-rw-r--r--libraries/gdl/gdl.info10
-rw-r--r--libraries/genshi/genshi.SlackBuild42
-rw-r--r--libraries/geocode-glib/README10
-rw-r--r--libraries/geocode-glib/doinst.sh6
-rw-r--r--libraries/geocode-glib/geocode-glib.SlackBuild138
-rw-r--r--libraries/geocode-glib/geocode-glib.info10
-rw-r--r--libraries/geocode-glib/slack-desc19
-rw-r--r--libraries/geocode-glib2/README13
-rw-r--r--libraries/geocode-glib2/doinst.sh6
-rw-r--r--libraries/geocode-glib2/geocode-glib2.SlackBuild142
-rw-r--r--libraries/geocode-glib2/geocode-glib2.info10
-rw-r--r--libraries/geocode-glib2/slack-desc19
-rw-r--r--libraries/geshi/geshi.SlackBuild20
-rw-r--r--libraries/gevent/gevent.SlackBuild29
-rw-r--r--libraries/gevent/gevent.info10
-rw-r--r--libraries/gf2x/README4
-rw-r--r--libraries/gf2x/gf2x.SlackBuild41
-rw-r--r--libraries/gf2x/gf2x.info6
-rw-r--r--libraries/gfbgraph/README1
-rw-r--r--libraries/gfbgraph/gfbgraph.SlackBuild112
-rw-r--r--libraries/gfbgraph/gfbgraph.info10
-rw-r--r--libraries/gfbgraph/slack-desc19
-rw-r--r--libraries/gflags/gflags.SlackBuild16
-rw-r--r--libraries/ghc_filesystem/README17
-rw-r--r--libraries/ghc_filesystem/ghc_filesystem.SlackBuild85
-rw-r--r--libraries/ghc_filesystem/ghc_filesystem.info10
-rw-r--r--libraries/ghc_filesystem/slack-desc19
-rw-r--r--libraries/giblib/fix-configure_ac-imlib2.patch20
-rw-r--r--libraries/giblib/giblib.SlackBuild36
-rw-r--r--libraries/girara/README9
-rw-r--r--libraries/girara/girara.SlackBuild31
-rw-r--r--libraries/girara/girara.info10
-rw-r--r--libraries/gismo/README23
-rw-r--r--libraries/gismo/gismo.SlackBuild147
-rw-r--r--libraries/gismo/gismo.info10
-rw-r--r--libraries/gismo/slack-desc19
-rw-r--r--libraries/gitdb/README9
-rw-r--r--libraries/gitdb/gitdb.SlackBuild16
-rw-r--r--libraries/gitdb2/README9
-rw-r--r--libraries/gitdb2/gitdb2.SlackBuild16
-rw-r--r--libraries/gl2ps/README11
-rw-r--r--libraries/gl2ps/gl2ps.SlackBuild22
-rw-r--r--libraries/glfw/README10
-rw-r--r--libraries/glfw/glfw.SlackBuild96
-rw-r--r--libraries/glfw/glfw.info10
-rw-r--r--libraries/glfw/slack-desc19
-rw-r--r--libraries/glfw3/glfw3.SlackBuild23
-rw-r--r--libraries/glfw3/glfw3.info10
-rw-r--r--libraries/glfw3/slack-desc2
-rw-r--r--libraries/glktermw/README2
-rw-r--r--libraries/glktermw/glktermw.SlackBuild15
-rw-r--r--libraries/glktermw/glktermw.info6
-rw-r--r--libraries/glktermw/slack-desc2
-rw-r--r--libraries/glog/glog.SlackBuild22
-rw-r--r--libraries/gloox/README2
-rw-r--r--libraries/gloox/gloox.SlackBuild37
-rw-r--r--libraries/gloox/gloox.info10
-rw-r--r--libraries/glw/01-fix_lib_inc_dir.patch12
-rw-r--r--libraries/glw/README2
-rw-r--r--libraries/glw/glw.SlackBuild112
-rw-r--r--libraries/glw/glw.info10
-rw-r--r--libraries/glw/slack-desc19
-rw-r--r--libraries/gmtk/gmtk.SlackBuild37
-rw-r--r--libraries/gnet/gnet.SlackBuild26
-rw-r--r--libraries/gnome-autoar/README19
-rw-r--r--libraries/gnome-autoar/gnome-autoar.SlackBuild150
-rw-r--r--libraries/gnome-autoar/gnome-autoar.info10
-rw-r--r--libraries/gnome-autoar/slack-desc19
-rw-r--r--libraries/gnome-desktop/README8
-rw-r--r--libraries/gnome-desktop/gnome-desktop.SlackBuild58
-rw-r--r--libraries/gnome-desktop/gnome-desktop.info8
-rw-r--r--libraries/gnome-desktop/slack-desc2
-rw-r--r--libraries/gnome-media/gnome-media.SlackBuild26
-rw-r--r--libraries/gnome-media/gnome-media.info2
-rw-r--r--libraries/gnome-python2-gconf/README5
-rw-r--r--libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild99
-rw-r--r--libraries/gnome-python2-gconf/gnome-python2-gconf.info10
-rw-r--r--libraries/gnome-python2-gconf/slack-desc19
-rw-r--r--libraries/gnome-sharp/gnome-sharp.SlackBuild22
-rw-r--r--libraries/gnome-vfsmm/gnome-vfsmm.SlackBuild26
-rw-r--r--libraries/gnonlin/README11
-rw-r--r--libraries/gnonlin/gnonlin.SlackBuild159
-rw-r--r--libraries/gnonlin/gnonlin.info12
-rw-r--r--libraries/gnonlin/slack-desc19
-rw-r--r--libraries/goffice/README2
-rw-r--r--libraries/goffice/goffice.SlackBuild56
-rw-r--r--libraries/goffice/goffice.info12
-rw-r--r--libraries/goffice/import-ryu97
-rw-r--r--libraries/goffice/patches/NEWS.patch11
-rw-r--r--libraries/goffice/patches/configure.ac.patch29
-rw-r--r--libraries/goffice/patches/go-dtoa.c.patch19
-rw-r--r--libraries/goffice/patches/go-ryu.c.patch204
-rw-r--r--libraries/goffice/patches/go-ryu.h.patch12
-rw-r--r--libraries/goffice0.8/README3
-rw-r--r--libraries/goffice0.8/goffice0.8.SlackBuild39
-rw-r--r--libraries/goffice0.8/goffice0.8.info4
-rw-r--r--libraries/gom/README6
-rw-r--r--libraries/gom/gom.SlackBuild109
-rw-r--r--libraries/gom/gom.info10
-rw-r--r--libraries/gom/slack-desc19
-rw-r--r--libraries/google-fruit/google-fruit.SlackBuild18
-rw-r--r--libraries/google-fruit/google-fruit.info6
-rw-r--r--libraries/googlebenchmark/README5
-rw-r--r--libraries/googlebenchmark/googlebenchmark.SlackBuild119
-rw-r--r--libraries/googlebenchmark/googlebenchmark.info10
-rw-r--r--libraries/googlebenchmark/slack-desc19
-rw-r--r--libraries/gperftools/gperftools.SlackBuild22
-rw-r--r--libraries/gperftools/gperftools.info6
-rw-r--r--libraries/granite/README10
-rw-r--r--libraries/granite/doinst.sh (renamed from libraries/bwidget/doinst.sh)0
-rw-r--r--libraries/granite/granite.SlackBuild99
-rw-r--r--libraries/granite/granite.info10
-rw-r--r--libraries/granite/slack-desc19
-rw-r--r--libraries/grantlee-qt5/README8
-rw-r--r--libraries/grantlee-qt5/grantlee-5.1.0-install_headers_into_versioned_directory.patch40
-rw-r--r--libraries/grantlee-qt5/grantlee-qt5.SlackBuild104
-rw-r--r--libraries/grantlee-qt5/grantlee-qt5.info10
-rw-r--r--libraries/grantlee-qt5/slack-desc19
-rw-r--r--libraries/greenlet/greenlet.SlackBuild34
-rw-r--r--libraries/greenlet/greenlet.info10
-rw-r--r--libraries/grilo-plugins/README3
-rw-r--r--libraries/grilo-plugins/grilo-plugins.SlackBuild112
-rw-r--r--libraries/grilo-plugins/grilo-plugins.info10
-rw-r--r--libraries/grilo-plugins/slack-desc19
-rw-r--r--libraries/grilo/README11
-rw-r--r--libraries/grilo/grilo.SlackBuild120
-rw-r--r--libraries/grilo/grilo.info10
-rw-r--r--libraries/grilo/slack-desc19
-rw-r--r--libraries/grpc/README10
-rw-r--r--libraries/grpc/grpc-use-shell-loop-instead-makefile-function.patch25
-rw-r--r--libraries/grpc/grpc.SlackBuild107
-rw-r--r--libraries/grpc/grpc.info16
-rw-r--r--libraries/grx/grx.SlackBuild32
-rw-r--r--libraries/gsm/Makefile.patch159
-rw-r--r--libraries/gsm/gsm.SlackBuild73
-rw-r--r--libraries/gsm/gsm.info12
-rw-r--r--libraries/gsm/patches/gsm-1.0.12-64bit.patch16
-rw-r--r--libraries/gsm/patches/gsm-1.0.12-memcpy.patch11
-rw-r--r--libraries/gsm/patches/gsm-1.0.13-shared.patch151
-rw-r--r--libraries/gsm/slack-desc2
-rw-r--r--libraries/gsnmp/gsnmp.SlackBuild26
-rw-r--r--libraries/gsound/README3
-rw-r--r--libraries/gsound/gsound.SlackBuild111
-rw-r--r--libraries/gsound/gsound.info10
-rw-r--r--libraries/gsound/slack-desc19
-rw-r--r--libraries/gspell/README4
-rw-r--r--libraries/gspell/gspell.SlackBuild115
-rw-r--r--libraries/gspell/gspell.info10
-rw-r--r--libraries/gspell/slack-desc19
-rw-r--r--libraries/gss-ntlmssp/README2
-rw-r--r--libraries/gss-ntlmssp/doinst.sh13
-rw-r--r--libraries/gss-ntlmssp/gss-ntlmssp.SlackBuild117
-rw-r--r--libraries/gss-ntlmssp/gss-ntlmssp.info10
-rw-r--r--libraries/gss-ntlmssp/slack-desc19
-rw-r--r--libraries/gssdp/README2
-rw-r--r--libraries/gssdp/gssdp.SlackBuild50
-rw-r--r--libraries/gssdp/gssdp.info10
-rw-r--r--libraries/gst-editing-services/README (renamed from libraries/gstreamer-editing-services/README)0
-rw-r--r--libraries/gst-editing-services/gst-editing-services.SlackBuild114
-rw-r--r--libraries/gst-editing-services/gst-editing-services.info10
-rw-r--r--libraries/gst-editing-services/slack-desc19
-rw-r--r--libraries/gstreamer-editing-services/gstreamer-editing-services.SlackBuild97
-rw-r--r--libraries/gstreamer-editing-services/gstreamer-editing-services.info10
-rw-r--r--libraries/gstreamer-editing-services/slack-desc19
-rw-r--r--libraries/gstreamermm/fix_warnings.patch15
-rw-r--r--libraries/gstreamermm/gstreamermm-volatile.patch12
-rw-r--r--libraries/gstreamermm/gstreamermm.SlackBuild40
-rw-r--r--libraries/gstreamermm/gstreamermm.info6
-rw-r--r--libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild20
-rw-r--r--libraries/gtk-layer-shell/README21
-rw-r--r--libraries/gtk-layer-shell/gtk-layer-shell.SlackBuild122
-rw-r--r--libraries/gtk-layer-shell/gtk-layer-shell.info10
-rw-r--r--libraries/gtk-layer-shell/slack-desc19
-rw-r--r--libraries/gtk-qt-engine/README3
-rw-r--r--libraries/gtk-qt-engine/doinst.sh5
-rw-r--r--libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild102
-rw-r--r--libraries/gtk-qt-engine/gtk-qt-engine.info10
-rw-r--r--libraries/gtk-qt-engine/include.patch11
-rw-r--r--libraries/gtk-qt-engine/slack-desc19
-rw-r--r--libraries/gtk-session-lock/README5
-rw-r--r--libraries/gtk-session-lock/gtk-session-lock.SlackBuild111
-rw-r--r--libraries/gtk-session-lock/gtk-session-lock.info10
-rw-r--r--libraries/gtk-session-lock/slack-desc19
-rw-r--r--libraries/gtk-sharp/gtk-sharp.SlackBuild28
-rw-r--r--libraries/gtk-sharp/gtk-sharp2-2.12.12-gtkrange.patch30
-rw-r--r--libraries/gtk-sharp3/README9
-rw-r--r--libraries/gtk-sharp3/gtk-sharp3-nolibdir.patch21
-rw-r--r--libraries/gtk-sharp3/gtk-sharp3.SlackBuild129
-rw-r--r--libraries/gtk-sharp3/gtk-sharp3.info10
-rw-r--r--libraries/gtk-sharp3/slack-desc19
-rw-r--r--libraries/gtk3-nocsd/gtk3-nocsd.SlackBuild24
-rw-r--r--libraries/gtkdatabox/README8
-rw-r--r--libraries/gtkdatabox/doinst.sh5
-rw-r--r--libraries/gtkdatabox/gtkdatabox.SlackBuild31
-rw-r--r--libraries/gtkdatabox/gtkdatabox.info6
-rw-r--r--libraries/gtkglarea/README11
-rw-r--r--libraries/gtkglarea/gtkglarea.SlackBuild25
-rw-r--r--libraries/gtkglarea/gtkglarea.info4
-rw-r--r--libraries/gtkglext/0002-GCC-8-fixes.patch34
-rw-r--r--libraries/gtkglext/gtkglext.SlackBuild42
-rw-r--r--libraries/gtkglextmm/gtkglextmm.SlackBuild26
-rw-r--r--libraries/gtkhotkey/0001-Disable-debug-mode.patch26
-rw-r--r--libraries/gtkhotkey/README12
-rw-r--r--libraries/gtkhotkey/glib-single-include.patch30
-rw-r--r--libraries/gtkhotkey/gtkhotkey.SlackBuild104
-rw-r--r--libraries/gtkhotkey/gtkhotkey.info10
-rw-r--r--libraries/gtkhotkey/slack-desc19
-rw-r--r--libraries/gtkhtml/doinst.sh3
-rw-r--r--libraries/gtkhtml/enchant-2.patch29
-rw-r--r--libraries/gtkhtml/gtkhtml.SlackBuild40
-rw-r--r--libraries/gtkimageview/gtkimageview.SlackBuild26
-rw-r--r--libraries/gtkmm-utils/gtkmm-utils.SlackBuild33
-rw-r--r--libraries/gtksourceview/gtksourceview.SlackBuild26
-rw-r--r--libraries/gtksourceview3/gtksourceview3.SlackBuild104
-rw-r--r--libraries/gtksourceview3/gtksourceview3.info10
-rw-r--r--libraries/gtksourceview3/slack-desc19
-rw-r--r--libraries/gtksourceview4/README (renamed from libraries/gtksourceview3/README)0
-rw-r--r--libraries/gtksourceview4/gtksourceview4.SlackBuild113
-rw-r--r--libraries/gtksourceview4/gtksourceview4.info10
-rw-r--r--libraries/gtksourceview4/slack-desc19
-rw-r--r--libraries/gtksourceview5/README33
-rw-r--r--libraries/gtksourceview5/doinst.sh5
-rw-r--r--libraries/gtksourceview5/gtksourceview5.SlackBuild119
-rw-r--r--libraries/gtksourceview5/gtksourceview5.info10
-rw-r--r--libraries/gtksourceview5/slack-desc19
-rw-r--r--libraries/gtkspell3/README9
-rw-r--r--libraries/gtkspell3/gtkspell3.SlackBuild98
-rw-r--r--libraries/gtkspell3/gtkspell3.info10
-rw-r--r--libraries/gtkspell3/slack-desc19
-rw-r--r--libraries/gts/gts.SlackBuild20
-rw-r--r--libraries/guichan/guichan.SlackBuild26
-rw-r--r--libraries/gumbo-parser/README5
-rw-r--r--libraries/gumbo-parser/gumbo-parser.SlackBuild109
-rw-r--r--libraries/gumbo-parser/gumbo-parser.info10
-rw-r--r--libraries/gumbo-parser/slack-desc19
-rw-r--r--libraries/gupnp-av/README9
-rw-r--r--libraries/gupnp-av/gupnp-av.SlackBuild111
-rw-r--r--libraries/gupnp-av/gupnp-av.info10
-rw-r--r--libraries/gupnp-av/slack-desc19
-rw-r--r--libraries/gupnp-av/use_xmlReadMemory_instead_of_xmlRecoverMemory.patch34
-rw-r--r--libraries/gupnp-dlna/README10
-rw-r--r--libraries/gupnp-dlna/gupnp-dlna.SlackBuild109
-rw-r--r--libraries/gupnp-dlna/gupnp-dlna.info10
-rw-r--r--libraries/gupnp-dlna/slack-desc19
-rw-r--r--libraries/gupnp/README2
-rw-r--r--libraries/gupnp/gupnp.SlackBuild48
-rw-r--r--libraries/gupnp/gupnp.info6
-rw-r--r--libraries/guppy/guppy.SlackBuild16
-rw-r--r--libraries/gwenhywfar/gwenhywfar.SlackBuild31
-rw-r--r--libraries/gwenhywfar/gwenhywfar.info6
-rw-r--r--libraries/hdf/README10
-rw-r--r--libraries/hdf/hdf.SlackBuild24
-rw-r--r--libraries/hdf/hdf.info6
-rw-r--r--libraries/hdf5/hdf5.SlackBuild65
-rw-r--r--libraries/hdf5/hdf5.info8
-rw-r--r--libraries/hidapi/configure.ac.patch13
-rw-r--r--libraries/hidapi/hidapi.SlackBuild43
-rw-r--r--libraries/hidapi/hidapi.info8
-rw-r--r--libraries/hidapi/slack-desc2
-rw-r--r--libraries/highway/README4
-rw-r--r--libraries/highway/changelog18
-rw-r--r--libraries/highway/highway.SlackBuild112
-rw-r--r--libraries/highway/highway.info10
-rw-r--r--libraries/highway/slack-desc19
-rw-r--r--libraries/hinnant-date/CMakeLists.txt25
-rw-r--r--libraries/hinnant-date/README32
-rw-r--r--libraries/hinnant-date/hinnant-date.SlackBuild98
-rw-r--r--libraries/hinnant-date/hinnant-date.info10
-rw-r--r--libraries/hinnant-date/libdate.pc.in10
-rw-r--r--libraries/hinnant-date/slack-desc19
-rw-r--r--libraries/hiredict/README8
-rw-r--r--libraries/hiredict/hiredict.SlackBuild102
-rw-r--r--libraries/hiredict/hiredict.info10
-rw-r--r--libraries/hiredict/slack-desc19
-rw-r--r--libraries/hiredis/hiredis.SlackBuild20
-rw-r--r--libraries/hiredis/hiredis.info6
-rw-r--r--libraries/hoedown/hoedown.SlackBuild22
-rw-r--r--libraries/hoel/hoel.SlackBuild21
-rw-r--r--libraries/hoel/hoel.info6
-rw-r--r--libraries/hptt/README19
-rw-r--r--libraries/hptt/hptt.SlackBuild134
-rw-r--r--libraries/hptt/hptt.info10
-rw-r--r--libraries/hptt/slack-desc19
-rw-r--r--libraries/hpx/README23
-rw-r--r--libraries/hpx/hpx.SlackBuild107
-rw-r--r--libraries/hpx/hpx.info10
-rw-r--r--libraries/hpx/slack-desc19
-rw-r--r--libraries/html5lib/README12
-rw-r--r--libraries/html5lib/html5lib.SlackBuild72
-rw-r--r--libraries/html5lib/html5lib.info10
-rw-r--r--libraries/html5lib/slack-desc19
-rw-r--r--libraries/htmlcxx/htmlcxx.SlackBuild33
-rw-r--r--libraries/htslib/README14
-rw-r--r--libraries/htslib/htslib.SlackBuild23
-rw-r--r--libraries/htslib/htslib.info6
-rw-r--r--libraries/http-parser/README5
-rw-r--r--libraries/http-parser/http-parser.SlackBuild22
-rw-r--r--libraries/http-parser/http-parser.info6
-rw-r--r--libraries/hug/README8
-rw-r--r--libraries/hug/README.SLACKWARE29
-rw-r--r--libraries/hug/hug.SlackBuild93
-rw-r--r--libraries/hug/hug.info12
-rw-r--r--libraries/hug/slack-desc19
-rw-r--r--libraries/hurry-filesize/README11
-rw-r--r--libraries/hurry-filesize/hurry-filesize.SlackBuild16
-rw-r--r--libraries/hyperscan/hyperscan.SlackBuild22
-rw-r--r--libraries/hyperscan/hyperscan.info8
-rw-r--r--libraries/hyphen/README1
-rw-r--r--libraries/hyphen/hyphen.SlackBuild94
-rw-r--r--libraries/hyphen/hyphen.info10
-rw-r--r--libraries/hyphen/slack-desc19
-rw-r--r--libraries/hypre/README8
-rw-r--r--libraries/hypre/hypre.SlackBuild171
-rw-r--r--libraries/hypre/hypre.info10
-rw-r--r--libraries/hypre/slack-desc19
-rw-r--r--libraries/id3lib/README10
-rw-r--r--libraries/id3lib/id3lib.SlackBuild121
-rw-r--r--libraries/id3lib/id3lib.info10
-rw-r--r--libraries/id3lib/patches/id3lib.c_wrapper.patch58
-rw-r--r--libraries/id3lib/patches/id3lib.cppheaders.patch22
-rw-r--r--libraries/id3lib/patches/id3lib.manpages.patch198
-rw-r--r--libraries/id3lib/patches/id3lib.mkstemp.patch54
-rw-r--r--libraries/id3lib/patches/id3lib.nullpointer_check.patch12
-rw-r--r--libraries/id3lib/patches/id3lib.utf8_writing.patch38
-rw-r--r--libraries/id3lib/patches/id3lib.vbr_stack_smash.patch19
-rw-r--r--libraries/id3lib/slack-desc19
-rw-r--r--libraries/iddawc/README8
-rw-r--r--libraries/iddawc/iddawc.SlackBuild115
-rw-r--r--libraries/iddawc/iddawc.info10
-rw-r--r--libraries/iddawc/slack-desc19
-rw-r--r--libraries/ignition-math2/ignition-math2.SlackBuild16
-rw-r--r--libraries/ignition-transport/README10
-rw-r--r--libraries/ignition-transport/ignition-transport.SlackBuild102
-rw-r--r--libraries/ignition-transport/ignition-transport.info12
-rw-r--r--libraries/ignition-transport/slack-desc19
-rw-r--r--libraries/iksemel/README6
-rw-r--r--libraries/iksemel/iksemel.SlackBuild26
-rw-r--r--libraries/imageloader/imageloader.SlackBuild16
-rw-r--r--libraries/imgui/CMakeLists.txt230
-rw-r--r--libraries/imgui/README27
-rw-r--r--libraries/imgui/imgui-config.cmake.in27
-rw-r--r--libraries/imgui/imgui.SlackBuild110
-rw-r--r--libraries/imgui/imgui.info10
-rw-r--r--libraries/imgui/slack-desc19
-rw-r--r--libraries/imlib/README3
-rw-r--r--libraries/imlib/imlib.SlackBuild20
-rw-r--r--libraries/imlib2/imlib2.SlackBuild26
-rw-r--r--libraries/imlib2/imlib2.info6
-rw-r--r--libraries/imlib2_loaders/README13
-rw-r--r--libraries/imlib2_loaders/imlib2_loaders.SlackBuild81
-rw-r--r--libraries/imlib2_loaders/imlib2_loaders.info12
-rw-r--r--libraries/imlib2_loaders/slack-desc8
-rw-r--r--libraries/iniparser/README6
-rw-r--r--libraries/iniparser/iniparser.SlackBuild98
-rw-r--r--libraries/iniparser/iniparser.info10
-rw-r--r--libraries/iniparser/slack-desc19
-rw-r--r--libraries/ipaddress/ipaddress.SlackBuild16
-rw-r--r--libraries/irrlicht/README6
-rw-r--r--libraries/irrlicht/irrlicht.SlackBuild25
-rw-r--r--libraries/irrlichtmt/README7
-rw-r--r--libraries/irrlichtmt/irrlichtmt.SlackBuild104
-rw-r--r--libraries/irrlichtmt/irrlichtmt.info10
-rw-r--r--libraries/irrlichtmt/slack-desc19
-rw-r--r--libraries/isl/README8
-rw-r--r--libraries/isl/isl.SlackBuild115
-rw-r--r--libraries/isl/isl.info10
-rw-r--r--libraries/isl/slack-desc19
-rw-r--r--libraries/isodate/README6
-rw-r--r--libraries/isodate/isodate.SlackBuild85
-rw-r--r--libraries/isodate/isodate.info10
-rw-r--r--libraries/isodate/slack-desc19
-rw-r--r--libraries/itcl/README23
-rw-r--r--libraries/itcl/itcl.SlackBuild26
-rw-r--r--libraries/jai-imageio/README3
-rw-r--r--libraries/jai-imageio/jai-imageio.SlackBuild86
-rw-r--r--libraries/jai-imageio/jai-imageio.info10
-rw-r--r--libraries/jai-imageio/slack-desc19
-rw-r--r--libraries/jai/README3
-rw-r--r--libraries/jai/jai.SlackBuild85
-rw-r--r--libraries/jai/jai.info10
-rw-r--r--libraries/jai/slack-desc19
-rw-r--r--libraries/jansson/README1
-rw-r--r--libraries/jansson/jansson.SlackBuild99
-rw-r--r--libraries/jansson/jansson.info10
-rw-r--r--libraries/jansson/slack-desc19
-rw-r--r--libraries/jbig2dec/README11
-rw-r--r--libraries/jbig2dec/jbig2dec.SlackBuild26
-rw-r--r--libraries/jbig2dec/jbig2dec.info8
-rw-r--r--libraries/jbig2enc/configure.ac.patch20
-rw-r--r--libraries/jbig2enc/jbig2enc-2019.09.08-leptonica-1.83.0.patch42
-rw-r--r--libraries/jbig2enc/jbig2enc.SlackBuild37
-rw-r--r--libraries/jbig2enc/jbig2enc.info2
-rw-r--r--libraries/jbigkit/jbigkit.SlackBuild45
-rw-r--r--libraries/jcal/jcal.SlackBuild26
-rw-r--r--libraries/jogamp/README54
-rw-r--r--libraries/jogamp/jogamp.SlackBuild200
-rw-r--r--libraries/jogamp/jogamp.info18
-rw-r--r--libraries/jogamp/slack-desc19
-rw-r--r--libraries/jreen/jreen.SlackBuild16
-rw-r--r--libraries/jreen/jreen.info4
-rw-r--r--libraries/json-glib/README3
-rw-r--r--libraries/json-glib/json-glib.SlackBuild97
-rw-r--r--libraries/json-glib/json-glib.info10
-rw-r--r--libraries/json-glib/slack-desc19
-rw-r--r--libraries/json-parser/json-parser.SlackBuild20
-rw-r--r--libraries/jsoncpp/jsoncpp.SlackBuild26
-rw-r--r--libraries/jsoncpp/jsoncpp.info12
-rw-r--r--libraries/jsonrpc-glib/README7
-rw-r--r--libraries/jsonrpc-glib/jsonrpc-glib.SlackBuild117
-rw-r--r--libraries/jsonrpc-glib/jsonrpc-glib.info10
-rw-r--r--libraries/jsonrpc-glib/slack-desc19
-rw-r--r--libraries/kaadbg/kaadbg.SlackBuild16
-rw-r--r--libraries/kaidan/README15
-rw-r--r--libraries/kaidan/doinst.sh (renamed from libraries/libftdi1/doinst.sh)0
-rw-r--r--libraries/kaidan/kaidan.SlackBuild118
-rw-r--r--libraries/kaidan/kaidan.info10
-rw-r--r--libraries/kaidan/slack-desc19
-rw-r--r--libraries/kashmir/kashmir.SlackBuild16
-rw-r--r--libraries/kddockwidgets/README11
-rw-r--r--libraries/kddockwidgets/doinst.sh4
-rw-r--r--libraries/kddockwidgets/kddockwidgets.SlackBuild110
-rw-r--r--libraries/kddockwidgets/kddockwidgets.info10
-rw-r--r--libraries/kddockwidgets/slack-desc19
-rw-r--r--libraries/keybinder/README5
-rw-r--r--libraries/keybinder/keybinder.SlackBuild113
-rw-r--r--libraries/keybinder/keybinder.info10
-rw-r--r--libraries/keybinder/slack-desc19
-rw-r--r--libraries/kirigami-addons/README9
-rw-r--r--libraries/kirigami-addons/kirigami-addons.SlackBuild106
-rw-r--r--libraries/kirigami-addons/kirigami-addons.info10
-rw-r--r--libraries/kirigami-addons/slack-desc19
-rw-r--r--libraries/kquickimageeditor/README2
-rw-r--r--libraries/kquickimageeditor/kquickimageeditor.SlackBuild111
-rw-r--r--libraries/kquickimageeditor/kquickimageeditor.info10
-rw-r--r--libraries/kquickimageeditor/slack-desc19
-rw-r--r--libraries/lablgtk/README5
-rw-r--r--libraries/lablgtk/lablgtk.SlackBuild36
-rw-r--r--libraries/lablgtk/lablgtk.info12
-rw-r--r--libraries/lame/CVE-2017-15018.patch.gzbin307 -> 0 bytes
-rw-r--r--libraries/lame/README5
-rw-r--r--libraries/lame/lame.SlackBuild118
-rw-r--r--libraries/lame/lame.info10
-rw-r--r--libraries/lame/slack-desc19
-rw-r--r--libraries/lapack-atlas/README8
-rw-r--r--libraries/lapack-atlas/README.SLACKWARE49
-rw-r--r--libraries/lapack-atlas/lapack-atlas.SlackBuild77
-rw-r--r--libraries/lapack-atlas/lapack-atlas.info10
-rw-r--r--libraries/lapack-atlas/make.inc.atlas70
-rw-r--r--libraries/lapack-atlas/slack-desc19
-rw-r--r--libraries/lapack/README7
-rw-r--r--libraries/lapack/lapack.SlackBuild81
-rw-r--r--libraries/lapack/lapack.info8
-rw-r--r--libraries/lapack/patches/cmake-piecewise.diff369
-rw-r--r--libraries/lastfmlib/README3
-rw-r--r--libraries/lastfmlib/lastfmlib.SlackBuild95
-rw-r--r--libraries/lastfmlib/lastfmlib.info10
-rw-r--r--libraries/lastfmlib/slack-desc19
-rw-r--r--libraries/lensfun/README9
-rw-r--r--libraries/lensfun/lensfun-fix-python-install-dir.patch27
-rw-r--r--libraries/lensfun/lensfun.SlackBuild99
-rw-r--r--libraries/lensfun/lensfun.info10
-rw-r--r--libraries/lensfun/slack-desc19
-rw-r--r--libraries/leptonica/leptonica.SlackBuild20
-rw-r--r--libraries/leptonica/leptonica.info6
-rw-r--r--libraries/levmar/Makefile.SBo2
-rw-r--r--libraries/levmar/README5
-rw-r--r--libraries/levmar/levmar.SlackBuild26
-rw-r--r--libraries/lgi/lgi.SlackBuild16
-rw-r--r--libraries/libADLMIDI/README35
-rw-r--r--libraries/libADLMIDI/libADLMIDI.SlackBuild107
-rw-r--r--libraries/libADLMIDI/libADLMIDI.info10
-rw-r--r--libraries/libADLMIDI/slack-desc19
-rw-r--r--libraries/libAfterImage/libAfterImage.SlackBuild23
-rw-r--r--libraries/libAfterImage/libAfterImage.info2
-rw-r--r--libraries/libEMF/README13
-rw-r--r--libraries/libEMF/libEMF.SlackBuild48
-rw-r--r--libraries/libEMF/libEMF.info8
-rw-r--r--libraries/libQuotient/README5
-rw-r--r--libraries/libQuotient/libQuotient.SlackBuild106
-rw-r--r--libraries/libQuotient/libQuotient.info10
-rw-r--r--libraries/libQuotient/slack-desc19
-rw-r--r--libraries/libROM/README13
-rw-r--r--libraries/libROM/libROM.SlackBuild135
-rw-r--r--libraries/libROM/libROM.info10
-rw-r--r--libraries/libROM/slack-desc19
-rw-r--r--libraries/libXCFun/README5
-rw-r--r--libraries/libXCFun/libXCFun.SlackBuild119
-rw-r--r--libraries/libXCFun/libXCFun.info10
-rw-r--r--libraries/libXCFun/slack-desc19
-rw-r--r--libraries/libaacs/README8
-rw-r--r--libraries/libaacs/libaacs.SlackBuild22
-rw-r--r--libraries/libaacs/libaacs.info6
-rw-r--r--libraries/libaaio/libaaio.SlackBuild20
-rw-r--r--libraries/libaal/libaal.SlackBuild29
-rw-r--r--libraries/libaal/libaal.info12
-rw-r--r--libraries/libabw/libabw.SlackBuild20
-rw-r--r--libraries/libadwaita/README35
-rw-r--r--libraries/libadwaita/doinst.sh9
-rw-r--r--libraries/libadwaita/libadwaita-1.0.5-support-gtk-4.4.patch12
-rw-r--r--libraries/libadwaita/libadwaita-1.0.5-suppress-line-break-warnings.patch12
-rw-r--r--libraries/libadwaita/libadwaita-1.2.0-dont-use-titlebar-property.patch15
-rw-r--r--libraries/libadwaita/libadwaita.SlackBuild120
-rw-r--r--libraries/libadwaita/libadwaita.info10
-rw-r--r--libraries/libadwaita/slack-desc19
-rw-r--r--libraries/libaec/README13
-rw-r--r--libraries/libaec/libaec.SlackBuild38
-rw-r--r--libraries/libaec/libaec.info6
-rw-r--r--libraries/libaec/slack-desc2
-rw-r--r--libraries/libagentcrypt/libagentcrypt.SlackBuild21
-rw-r--r--libraries/libagentcrypt/libagentcrypt.info8
-rw-r--r--libraries/libalkimia/README3
-rw-r--r--libraries/libalkimia/libalkimia.SlackBuild97
-rw-r--r--libraries/libalkimia/libalkimia.info10
-rw-r--r--libraries/libalkimia/slack-desc19
-rw-r--r--libraries/libantlr3c/libantlr3c.SlackBuild26
-rw-r--r--libraries/libaom/README12
-rw-r--r--libraries/libaom/libaom.SlackBuild118
-rw-r--r--libraries/libaom/libaom.info10
-rw-r--r--libraries/libaom/slack-desc19
-rw-r--r--libraries/libaosd/libaosd.SlackBuild26
-rw-r--r--libraries/libappimage/README3
-rw-r--r--libraries/libappimage/libappimage.SlackBuild121
-rw-r--r--libraries/libappimage/libappimage.info10
-rw-r--r--libraries/libappimage/slack-desc19
-rw-r--r--libraries/libappindicator3/README3
-rw-r--r--libraries/libappindicator3/libappindicator3.SlackBuild129
-rw-r--r--libraries/libappindicator3/libappindicator3.info10
-rw-r--r--libraries/libappindicator3/patches/0001-Glib.Timeout-fix.patch24
-rw-r--r--libraries/libappindicator3/patches/0002-Fix-mono-nunit-pkgconfig-name.patch25
-rw-r--r--libraries/libappindicator3/patches/0003-Fix-Mono-assemblies-directory.patch39
-rw-r--r--libraries/libappindicator3/patches/badfunction.patch12
-rw-r--r--libraries/libappindicator3/patches/conditional-py-bindings.patch72
-rw-r--r--libraries/libappindicator3/patches/disable-mono.patch21
-rw-r--r--libraries/libappindicator3/patches/gtk3.patch9
-rw-r--r--libraries/libappindicator3/patches/improved-plasma-support.patch27
-rw-r--r--libraries/libappindicator3/patches/vala-inherit.patch14
-rw-r--r--libraries/libappindicator3/slack-desc19
-rw-r--r--libraries/libart-lgpl/README3
-rw-r--r--libraries/libart-lgpl/libart-lgpl.SlackBuild112
-rw-r--r--libraries/libart-lgpl/libart-lgpl.info10
-rw-r--r--libraries/libart-lgpl/slack-desc19
-rw-r--r--libraries/libasr/libasr.SlackBuild39
-rw-r--r--libraries/libass/README5
-rw-r--r--libraries/libass/libass.SlackBuild96
-rw-r--r--libraries/libass/libass.info10
-rw-r--r--libraries/libass/slack-desc19
-rw-r--r--libraries/libast/README8
-rw-r--r--libraries/libast/libast.SlackBuild97
-rw-r--r--libraries/libast/libast.info10
-rw-r--r--libraries/libast/slack-desc19
-rw-r--r--libraries/libaudclient/libaudclient.SlackBuild26
-rw-r--r--libraries/libavc1394/README6
-rw-r--r--libraries/libavc1394/libavc1394.SlackBuild26
-rw-r--r--libraries/libavc1394/libavc1394.info2
-rw-r--r--libraries/libavif/README26
-rw-r--r--libraries/libavif/changelog40
-rw-r--r--libraries/libavif/libavif.SlackBuild120
-rw-r--r--libraries/libavif/libavif.info10
-rw-r--r--libraries/libavif/slack-desc19
-rw-r--r--libraries/libayatana-appindicator/README4
-rw-r--r--libraries/libayatana-appindicator/doinst.sh13
-rw-r--r--libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild114
-rw-r--r--libraries/libayatana-appindicator/libayatana-appindicator.info10
-rw-r--r--libraries/libayatana-appindicator/slack-desc19
-rw-r--r--libraries/libayatana-indicator/README4
-rw-r--r--libraries/libayatana-indicator/doinst.sh13
-rw-r--r--libraries/libayatana-indicator/libayatana-indicator.SlackBuild114
-rw-r--r--libraries/libayatana-indicator/libayatana-indicator.info10
-rw-r--r--libraries/libayatana-indicator/slack-desc19
-rw-r--r--libraries/libb64/README13
-rw-r--r--libraries/libb64/libb64.SlackBuild26
-rw-r--r--libraries/libbass/README6
-rw-r--r--libraries/libbass/libbass.SlackBuild109
-rw-r--r--libraries/libbass/libbass.info10
-rw-r--r--libraries/libbass/slack-desc19
-rw-r--r--libraries/libbassmidi/README3
-rw-r--r--libraries/libbassmidi/libbassmidi.SlackBuild109
-rw-r--r--libraries/libbassmidi/libbassmidi.info10
-rw-r--r--libraries/libbassmidi/slack-desc19
-rw-r--r--libraries/libbde/README18
-rw-r--r--libraries/libbde/libbde.SlackBuild30
-rw-r--r--libraries/libbde/libbde.info6
-rw-r--r--libraries/libbdplus/README3
-rw-r--r--libraries/libbdplus/libbdplus.SlackBuild26
-rw-r--r--libraries/libbluray/README15
-rw-r--r--libraries/libbluray/libbluray.SlackBuild111
-rw-r--r--libraries/libbluray/libbluray.info10
-rw-r--r--libraries/libbluray/slack-desc19
-rw-r--r--libraries/libbonobo/libbonobo.SlackBuild26
-rw-r--r--libraries/libbonoboui/libbonoboui.SlackBuild38
-rw-r--r--libraries/libbpf/README3
-rw-r--r--libraries/libbpf/libbpf.SlackBuild106
-rw-r--r--libraries/libbpf/libbpf.info10
-rw-r--r--libraries/libbpf/slack-desc19
-rw-r--r--libraries/libbpg/README16
-rw-r--r--libraries/libbpg/libbpg.SlackBuild109
-rw-r--r--libraries/libbpg/libbpg.info10
-rw-r--r--libraries/libbpg/slack-desc19
-rw-r--r--libraries/libbroadvoice/README5
-rw-r--r--libraries/libbroadvoice/libbroadvoice.SlackBuild107
-rw-r--r--libraries/libbroadvoice/libbroadvoice.info10
-rw-r--r--libraries/libbroadvoice/slack-desc19
-rw-r--r--libraries/libbsd/README8
-rw-r--r--libraries/libbsd/libbsd.SlackBuild27
-rw-r--r--libraries/libbsd/libbsd.info8
-rw-r--r--libraries/libbsd/patches/0001-build-Use-yes-instead-of-true-for-AC_CHECK_FUNCS-cac.patch32
-rw-r--r--libraries/libbsd/patches/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch39
-rw-r--r--libraries/libbsd/patches/0001-include-Adjust-closefrom-per-glibc-adoption.patch33
-rw-r--r--libraries/libbsd/patches/0001-man-Update-STANDARDS-and-HISTORY-sections.patch279
-rw-r--r--libraries/libbtbb/README7
-rw-r--r--libraries/libbtbb/libbtbb.SlackBuild24
-rw-r--r--libraries/libbtbb/libbtbb.info6
-rw-r--r--libraries/libburn/README3
-rw-r--r--libraries/libburn/libburn.SlackBuild104
-rw-r--r--libraries/libburn/libburn.info10
-rw-r--r--libraries/libburn/slack-desc19
-rw-r--r--libraries/libc++/README5
-rw-r--r--libraries/libc++/libc++.SlackBuild116
-rw-r--r--libraries/libc++/libc++.info14
-rw-r--r--libraries/libc++/slack-desc19
-rw-r--r--libraries/libcacard/libcacard.SlackBuild22
-rw-r--r--libraries/libcacard/libcacard.info6
-rw-r--r--libraries/libcaes/README7
-rw-r--r--libraries/libcaes/libcaes.SlackBuild110
-rw-r--r--libraries/libcaes/libcaes.info10
-rw-r--r--libraries/libcaes/slack-desc19
-rw-r--r--libraries/libcangjie/README7
-rw-r--r--libraries/libcangjie/libcangjie.SlackBuild26
-rw-r--r--libraries/libcapsimage/README12
-rw-r--r--libraries/libcapsimage/libcapsimage.SlackBuild135
-rw-r--r--libraries/libcapsimage/libcapsimage.info10
-rw-r--r--libraries/libcapsimage/slack-desc19
-rw-r--r--libraries/libcbor/README4
-rw-r--r--libraries/libcbor/libcbor.SlackBuild21
-rw-r--r--libraries/libcbor/libcbor.info6
-rw-r--r--libraries/libccd/libccd.SlackBuild16
-rw-r--r--libraries/libcdaudio/libcdaudio.SlackBuild26
-rw-r--r--libraries/libcdr/libcdr.SlackBuild30
-rw-r--r--libraries/libcdr/libcdr.info6
-rw-r--r--libraries/libcec/README6
-rw-r--r--libraries/libcec/libcec.SlackBuild20
-rw-r--r--libraries/libcec/libcec.info6
-rw-r--r--libraries/libchamplain/README17
-rw-r--r--libraries/libchamplain/libchamplain.SlackBuild143
-rw-r--r--libraries/libchamplain/libchamplain.info10
-rw-r--r--libraries/libchamplain/slack-desc19
-rw-r--r--libraries/libchardet/README5
-rw-r--r--libraries/libchardet/libchardet.SlackBuild122
-rw-r--r--libraries/libchardet/libchardet.info10
-rw-r--r--libraries/libchardet/slack-desc19
-rw-r--r--libraries/libchewing/README4
-rw-r--r--libraries/libchewing/libchewing.SlackBuild34
-rw-r--r--libraries/libcifpp/README1
-rw-r--r--libraries/libcifpp/libcifpp.SlackBuild108
-rw-r--r--libraries/libcifpp/libcifpp.info10
-rw-r--r--libraries/libcifpp/slack-desc19
-rw-r--r--libraries/libcint/README7
-rw-r--r--libraries/libcint/libcint.SlackBuild118
-rw-r--r--libraries/libcint/libcint.info10
-rw-r--r--libraries/libcint/slack-desc19
-rw-r--r--libraries/libcitadel/libcitadel.SlackBuild33
-rw-r--r--libraries/libclaw/doinst.sh3
-rw-r--r--libraries/libclaw/lib.patch11
-rw-r--r--libraries/libclaw/libclaw.SlackBuild46
-rw-r--r--libraries/libclaw/patches/01_libclaw-1.7.4-libdir.patch36
-rw-r--r--libraries/libclaw/patches/02_libclaw-1.7.4-gcc62.patch89
-rw-r--r--libraries/libclaw/patches/03_libclaw-1.7.4-gcc7.patch36
-rw-r--r--libraries/libcli/README8
-rw-r--r--libraries/libcli/libcli.SlackBuild58
-rw-r--r--libraries/libcli/libcli.info10
-rw-r--r--libraries/libcli/slack-desc2
-rw-r--r--libraries/libcmis/libcmis.SlackBuild20
-rw-r--r--libraries/libcoap/README5
-rw-r--r--libraries/libcoap/libcoap.SlackBuild42
-rw-r--r--libraries/libcoap/libcoap.info6
-rw-r--r--libraries/libcompizconfig/README31
-rw-r--r--libraries/libcompizconfig/README.Slackware46
-rw-r--r--libraries/libcompizconfig/libcompizconfig.SlackBuild27
-rw-r--r--libraries/libcompizconfig/libcompizconfig.info10
-rw-r--r--libraries/libconfig/README11
-rw-r--r--libraries/libconfig/doinst.sh6
-rw-r--r--libraries/libconfig/libconfig.SlackBuild71
-rw-r--r--libraries/libconfig/libconfig.info10
-rw-r--r--libraries/libconfig/remove_scanner.patch.gzbin19843 -> 0 bytes
-rw-r--r--libraries/libconfig/slack-desc8
-rw-r--r--libraries/libcpuid/README8
-rw-r--r--libraries/libcpuid/libcpuid.SlackBuild20
-rw-r--r--libraries/libcpuid/libcpuid.info6
-rw-r--r--libraries/libcreg/README13
-rw-r--r--libraries/libcreg/libcreg.SlackBuild113
-rw-r--r--libraries/libcreg/libcreg.info10
-rw-r--r--libraries/libcreg/slack-desc19
-rw-r--r--libraries/libcryptui/doinst.sh5
-rw-r--r--libraries/libcryptui/libcryptui.SlackBuild50
-rw-r--r--libraries/libcsv/Makefile.patch25
-rw-r--r--libraries/libcsv/README15
-rw-r--r--libraries/libcsv/git2tarxz.sh48
-rw-r--r--libraries/libcsv/libcsv.SlackBuild126
-rw-r--r--libraries/libcsv/libcsv.info12
-rw-r--r--libraries/libcsv/slack-desc12
-rw-r--r--libraries/libctl/README26
-rw-r--r--libraries/libctl/libctl.SlackBuild35
-rw-r--r--libraries/libctl/libctl.info6
-rw-r--r--libraries/libcue/README1
-rw-r--r--libraries/libcue/libcue.SlackBuild93
-rw-r--r--libraries/libcue/libcue.info10
-rw-r--r--libraries/libcue/slack-desc19
-rw-r--r--libraries/libcuefile/libcuefile.SlackBuild34
-rw-r--r--libraries/libcurl-gnutls/README5
-rw-r--r--libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild140
-rw-r--r--libraries/libcurl-gnutls/libcurl-gnutls.info10
-rw-r--r--libraries/libcurl-gnutls/slack-desc19
-rw-r--r--libraries/libcutefish/01-outputmodel.patch21
-rw-r--r--libraries/libcutefish/README1
-rw-r--r--libraries/libcutefish/libcutefish.SlackBuild107
-rw-r--r--libraries/libcutefish/libcutefish.info10
-rw-r--r--libraries/libcutefish/slack-desc19
-rw-r--r--libraries/libdaemon/libdaemon.SlackBuild24
-rw-r--r--libraries/libdart/libdart.SlackBuild16
-rw-r--r--libraries/libdart/libdart.info2
-rw-r--r--libraries/libdatrie/libdatrie.SlackBuild37
-rw-r--r--libraries/libdatrie/libdatrie.info2
-rw-r--r--libraries/libdazzle/README1
-rw-r--r--libraries/libdazzle/libdazzle.SlackBuild109
-rw-r--r--libraries/libdazzle/libdazzle.info10
-rw-r--r--libraries/libdazzle/slack-desc19
-rw-r--r--libraries/libdbh2/README3
-rw-r--r--libraries/libdbh2/libdbh2.SlackBuild26
-rw-r--r--libraries/libdbi-drivers/README2
-rw-r--r--libraries/libdbi-drivers/libdbi-drivers.SlackBuild35
-rw-r--r--libraries/libdbi/libdbi.SlackBuild26
-rw-r--r--libraries/libdbus-c++/gcc47.patch10
-rw-r--r--libraries/libdbus-c++/libdbus-c++.SlackBuild67
-rw-r--r--libraries/libdbus-c++/libdbus-c++.info8
-rw-r--r--libraries/libdbus-c++/nested_variant_map.patch11
-rw-r--r--libraries/libdbus-c++/patches/libdbus-c++-gcc7.patch11
-rw-r--r--libraries/libdbus-c++/patches/libdbus-c++-glibmm-2.43.patch13
-rw-r--r--libraries/libdbus-c++/patches/libdbus-c++-nodocdatetime.patch25
-rw-r--r--libraries/libdbus-c++/patches/libdbus-c++-noreturn.patch21
-rw-r--r--libraries/libdbus-c++/patches/libdbus-c++-pthread.patch11
-rw-r--r--libraries/libdbus-c++/patches/libdbus-c++-sover.patch28
-rw-r--r--libraries/libdbusmenu/0001_no-deprecated-gnome-common-macros.patch12
-rw-r--r--libraries/libdbusmenu/README8
-rw-r--r--libraries/libdbusmenu/libdbusmenu.SlackBuild105
-rw-r--r--libraries/libdbusmenu/libdbusmenu.info10
-rw-r--r--libraries/libdbusmenu/slack-desc19
-rw-r--r--libraries/libdc1394/README8
-rw-r--r--libraries/libdc1394/libdc1394.SlackBuild20
-rw-r--r--libraries/libdca/README16
-rw-r--r--libraries/libdca/libdca.SlackBuild53
-rw-r--r--libraries/libdca/libdca.info10
-rw-r--r--libraries/libde265/README8
-rw-r--r--libraries/libde265/libde265.SlackBuild112
-rw-r--r--libraries/libde265/libde265.info10
-rw-r--r--libraries/libde265/slack-desc19
-rw-r--r--libraries/libdesktop-agnostic/README4
-rw-r--r--libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild108
-rw-r--r--libraries/libdesktop-agnostic/libdesktop-agnostic.info10
-rw-r--r--libraries/libdesktop-agnostic/slack-desc19
-rw-r--r--libraries/libdex/README8
-rw-r--r--libraries/libdex/libdex.SlackBuild134
-rw-r--r--libraries/libdex/libdex.info10
-rw-r--r--libraries/libdex/slack-desc19
-rw-r--r--libraries/libdispatch/README2
-rw-r--r--libraries/libdispatch/libdispatch.SlackBuild124
-rw-r--r--libraries/libdispatch/libdispatch.info10
-rw-r--r--libraries/libdispatch/slack-desc19
-rw-r--r--libraries/libdisplay-info/README7
-rw-r--r--libraries/libdisplay-info/libdisplay-info.SlackBuild117
-rw-r--r--libraries/libdisplay-info/libdisplay-info.info10
-rw-r--r--libraries/libdisplay-info/slack-desc19
-rw-r--r--libraries/libdivecomputer/libdivecomputer.SlackBuild20
-rw-r--r--libraries/libdmapsharing/libdmapsharing.SlackBuild35
-rw-r--r--libraries/libdmapsharing/libdmapsharing.info2
-rw-r--r--libraries/libdmtx/README7
-rw-r--r--libraries/libdmtx/libdmtx.SlackBuild85
-rw-r--r--libraries/libdmtx/libdmtx.info10
-rw-r--r--libraries/libdmtx/slack-desc19
-rw-r--r--libraries/libdockapp/libdockapp.SlackBuild23
-rw-r--r--libraries/libdockapp/libdockapp.info8
-rw-r--r--libraries/libdraco/README12
-rw-r--r--libraries/libdraco/gltf_decoder_cc.patch23
-rw-r--r--libraries/libdraco/gltf_utils_h.patch10
-rw-r--r--libraries/libdraco/libdraco.SlackBuild120
-rw-r--r--libraries/libdraco/libdraco.info10
-rw-r--r--libraries/libdraco/slack-desc19
-rw-r--r--libraries/libdsk/libdsk.SlackBuild22
-rw-r--r--libraries/libdsk/libdsk.info6
-rw-r--r--libraries/libdv/README9
-rw-r--r--libraries/libdv/libdv.SlackBuild51
-rw-r--r--libraries/libdv/libdv.info2
-rw-r--r--libraries/libdvbcsa/libdvbcsa.SlackBuild26
-rw-r--r--libraries/libdvbpsi/libdvbpsi.SlackBuild24
-rw-r--r--libraries/libdvbpsi/libdvbpsi.info6
-rw-r--r--libraries/libdvdcss/libdvdcss.SlackBuild28
-rw-r--r--libraries/libdvdcss/libdvdcss.info6
-rw-r--r--libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch28
-rw-r--r--libraries/libdvdcss/patches/0002-Improve-error-reporting-when-cache-directory-creatio.patch26
-rw-r--r--libraries/libdvdcss/patches/0003-Check-for-empty-strings.patch34
-rw-r--r--libraries/libdvdcss/patches/0004-Fix-check-for-empty-home-dir.patch25
-rw-r--r--libraries/libdvdcss/patches/0005-Don-t-close-any-handle-if-callback-functions-are-use.patch29
-rw-r--r--libraries/libdwarf/README9
-rw-r--r--libraries/libdwarf/libdwarf.SlackBuild109
-rw-r--r--libraries/libdwarf/libdwarf.info10
-rw-r--r--libraries/libdwarf/slack-desc19
-rw-r--r--libraries/libdynamite/libdynamite.SlackBuild26
-rw-r--r--libraries/libe-book/libe-book.SlackBuild33
-rw-r--r--libraries/libearth/libearth.SlackBuild16
-rw-r--r--libraries/libeatmydata/README12
-rw-r--r--libraries/libeatmydata/libeatmydata.SlackBuild35
-rw-r--r--libraries/libeatmydata/libeatmydata.info6
-rw-r--r--libraries/libebml/README3
-rw-r--r--libraries/libebml/libebml.SlackBuild30
-rw-r--r--libraries/libebml/libebml.info6
-rw-r--r--libraries/libebml/patch.patch23
-rw-r--r--libraries/libechonest/README3
-rw-r--r--libraries/libechonest/libechonest-fix-double-encoding-on-qt4.patch75
-rw-r--r--libraries/libechonest/libechonest.SlackBuild100
-rw-r--r--libraries/libechonest/libechonest.info10
-rw-r--r--libraries/libechonest/slack-desc19
-rw-r--r--libraries/libedit/README11
-rw-r--r--libraries/libedit/libedit.SlackBuild105
-rw-r--r--libraries/libedit/libedit.info10
-rw-r--r--libraries/libedit/slack-desc19
-rw-r--r--libraries/libeditline/README7
-rw-r--r--libraries/libeditline/libeditline.SlackBuild111
-rw-r--r--libraries/libeditline/libeditline.info10
-rw-r--r--libraries/libeditline/slack-desc19
-rw-r--r--libraries/libee/libee.SlackBuild26
-rw-r--r--libraries/libei/0001-oeffis-OEFFIS_DEVICE_ALL_DEVICES-should-translate-to.patch36
-rw-r--r--libraries/libei/README6
-rw-r--r--libraries/libei/libei.SlackBuild133
-rw-r--r--libraries/libei/libei.info10
-rw-r--r--libraries/libei/slack-desc19
-rw-r--r--libraries/libeot/libeot.SlackBuild20
-rw-r--r--libraries/libepubgen/libepubgen.SlackBuild20
-rw-r--r--libraries/libesedb/README8
-rw-r--r--libraries/libesedb/libesedb.SlackBuild32
-rw-r--r--libraries/libesedb/libesedb.info6
-rw-r--r--libraries/libesmtp/README14
-rw-r--r--libraries/libesmtp/libesmtp.SlackBuild20
-rw-r--r--libraries/libestr/libestr.SlackBuild26
-rw-r--r--libraries/libetonyek/libetonyek.SlackBuild26
-rw-r--r--libraries/libetonyek/libetonyek.info6
-rw-r--r--libraries/libetpan/libetpan.SlackBuild28
-rw-r--r--libraries/libetpan/libetpan.info6
-rw-r--r--libraries/libev/README12
-rw-r--r--libraries/libev/libev.SlackBuild108
-rw-r--r--libraries/libev/libev.info10
-rw-r--r--libraries/libev/slack-desc19
-rw-r--r--libraries/libevhtp/libevhtp.SlackBuild26
-rw-r--r--libraries/libevhtp/libevhtp.info6
-rw-r--r--libraries/libevt/libevt.SlackBuild32
-rw-r--r--libraries/libevt/libevt.info6
-rw-r--r--libraries/libevtx/libevtx.SlackBuild32
-rw-r--r--libraries/libevtx/libevtx.info6
-rw-r--r--libraries/libewf/libewf.SlackBuild25
-rw-r--r--libraries/libewf/libewf.info8
-rw-r--r--libraries/libexe/README6
-rw-r--r--libraries/libexe/libexe.SlackBuild36
-rw-r--r--libraries/libexe/libexe.info6
-rw-r--r--libraries/libexif-gtk/libexif-gtk.SlackBuild26
-rw-r--r--libraries/libexttextcat/libexttextcat.SlackBuild20
-rw-r--r--libraries/libfabric/README4
-rw-r--r--libraries/libfabric/changelog24
-rw-r--r--libraries/libfabric/libfabric.SlackBuild108
-rw-r--r--libraries/libfabric/libfabric.info10
-rw-r--r--libraries/libfabric/slack-desc19
-rw-r--r--libraries/libfaketime/README11
-rw-r--r--libraries/libfaketime/libfaketime.SlackBuild20
-rw-r--r--libraries/libfaketime/libfaketime.info6
-rw-r--r--libraries/libfastjson/libfastjson.SlackBuild30
-rw-r--r--libraries/libfastjson/libfastjson.info6
-rw-r--r--libraries/libfdk-aac/libfdk-aac.SlackBuild22
-rw-r--r--libraries/libfdk-aac/libfdk-aac.info6
-rw-r--r--libraries/libffado/doinst.sh6
-rw-r--r--libraries/libffado/libffado-mixer.patch45
-rw-r--r--libraries/libffado/libffado.SlackBuild78
-rw-r--r--libraries/libffado/libffado.info10
-rw-r--r--libraries/libfido2/README3
-rw-r--r--libraries/libfido2/libfido2.SlackBuild109
-rw-r--r--libraries/libfido2/libfido2.info10
-rw-r--r--libraries/libfido2/slack-desc19
-rw-r--r--libraries/libfilezilla/libfilezilla.SlackBuild21
-rw-r--r--libraries/libfilezilla/libfilezilla.info6
-rw-r--r--libraries/libfilteraudio/libfilteraudio.SlackBuild22
-rw-r--r--libraries/libfilteraudio/libfilteraudio.info2
-rw-r--r--libraries/libfishsound/README18
-rw-r--r--libraries/libfishsound/libfishsound.SlackBuild22
-rw-r--r--libraries/libfishsound/libfishsound.info4
-rw-r--r--libraries/libfixposix/README2
-rw-r--r--libraries/libfixposix/libfixposix.SlackBuild20
-rw-r--r--libraries/libfixposix/libfixposix.info6
-rw-r--r--libraries/libfm-extra/libfm-extra.SlackBuild24
-rw-r--r--libraries/libfm-extra/libfm-extra.info6
-rw-r--r--libraries/libfm-qt/README4
-rw-r--r--libraries/libfm-qt/doinst.sh (renamed from libraries/WebOb/doinst.sh)0
-rw-r--r--libraries/libfm-qt/libfm-qt.SlackBuild102
-rw-r--r--libraries/libfm-qt/libfm-qt.info10
-rw-r--r--libraries/libfm-qt/slack-desc19
-rw-r--r--libraries/libfm/README16
-rw-r--r--libraries/libfm/libfm.SlackBuild39
-rw-r--r--libraries/libfm/libfm.info6
-rw-r--r--libraries/libfprint/libfprint.SlackBuild70
-rw-r--r--libraries/libfprint/libfprint.info10
-rw-r--r--libraries/libfprint/slack-desc2
-rw-r--r--libraries/libfreehand/0001-Add-missing-semicolon-to-fix-build-with-icu-65.1.patch28
-rw-r--r--libraries/libfreehand/libfreehand.SlackBuild33
-rw-r--r--libraries/libfsapfs/README16
-rw-r--r--libraries/libfsapfs/libfsapfs.SlackBuild34
-rw-r--r--libraries/libfsapfs/libfsapfs.info6
-rw-r--r--libraries/libfsext/README27
-rw-r--r--libraries/libfsext/libfsext.SlackBuild113
-rw-r--r--libraries/libfsext/libfsext.info10
-rw-r--r--libraries/libfsext/slack-desc19
-rw-r--r--libraries/libfsfat/README14
-rw-r--r--libraries/libfsfat/libfsfat.SlackBuild113
-rw-r--r--libraries/libfsfat/libfsfat.info10
-rw-r--r--libraries/libfsfat/slack-desc19
-rw-r--r--libraries/libfshfs/README38
-rw-r--r--libraries/libfshfs/libfshfs.SlackBuild113
-rw-r--r--libraries/libfshfs/libfshfs.info10
-rw-r--r--libraries/libfshfs/slack-desc19
-rw-r--r--libraries/libfsntfs/libfsntfs.SlackBuild34
-rw-r--r--libraries/libfsntfs/libfsntfs.info6
-rw-r--r--libraries/libfsxfs/README19
-rw-r--r--libraries/libfsxfs/libfsxfs.SlackBuild113
-rw-r--r--libraries/libfsxfs/libfsxfs.info10
-rw-r--r--libraries/libfsxfs/slack-desc19
-rw-r--r--libraries/libftdi/libftdi.SlackBuild20
-rw-r--r--libraries/libftdi1/libftdi1.SlackBuild30
-rw-r--r--libraries/libftdi1/libftdi1.info6
-rw-r--r--libraries/libfvde/libfvde.SlackBuild30
-rw-r--r--libraries/libfvde/libfvde.info6
-rw-r--r--libraries/libfwnt/libfwnt.SlackBuild46
-rw-r--r--libraries/libfwnt/libfwnt.info6
-rw-r--r--libraries/libfwsi/libfwsi.SlackBuild30
-rw-r--r--libraries/libfwsi/libfwsi.info6
-rw-r--r--libraries/libfxt/README9
-rw-r--r--libraries/libfxt/libfxt.SlackBuild127
-rw-r--r--libraries/libfxt/libfxt.info10
-rw-r--r--libraries/libfxt/slack-desc19
-rw-r--r--libraries/libg15/README6
-rw-r--r--libraries/libg15/libg15.SlackBuild26
-rw-r--r--libraries/libg15render/README6
-rw-r--r--libraries/libg15render/libg15render.SlackBuild26
-rw-r--r--libraries/libg3d/libg3d.SlackBuild36
-rw-r--r--libraries/libg7221/README4
-rw-r--r--libraries/libg7221/libg7221.SlackBuild107
-rw-r--r--libraries/libg7221/libg7221.info10
-rw-r--r--libraries/libg7221/slack-desc19
-rw-r--r--libraries/libgadu/libgadu.SlackBuild20
-rw-r--r--libraries/libgaiagraphics/README7
-rw-r--r--libraries/libgaiagraphics/libgaiagraphics.SlackBuild96
-rw-r--r--libraries/libgaiagraphics/libgaiagraphics.info10
-rw-r--r--libraries/libgaiagraphics/slack-desc19
-rw-r--r--libraries/libgaminggear/libgaminggear.SlackBuild37
-rw-r--r--libraries/libgbinder/README46
-rw-r--r--libraries/libgbinder/libgbinder.SlackBuild121
-rw-r--r--libraries/libgbinder/libgbinder.info10
-rw-r--r--libraries/libgbinder/slack-desc19
-rw-r--r--libraries/libgcrypt15/README3
-rw-r--r--libraries/libgcrypt15/libgcrypt15.SlackBuild119
-rw-r--r--libraries/libgcrypt15/libgcrypt15.info10
-rw-r--r--libraries/libgcrypt15/slack-desc19
-rw-r--r--libraries/libgda/README3
-rw-r--r--libraries/libgda/doinst.sh25
-rw-r--r--libraries/libgda/libgda.SlackBuild105
-rw-r--r--libraries/libgda/libgda.info10
-rw-r--r--libraries/libgda/slack-desc19
-rw-r--r--libraries/libgdata/README12
-rw-r--r--libraries/libgdata/libgdata.SlackBuild168
-rw-r--r--libraries/libgdata/libgdata.info10
-rw-r--r--libraries/libgdata/slack-desc19
-rw-r--r--libraries/libgdiplus/libgdiplus.SlackBuild33
-rw-r--r--libraries/libgdiplus/libgdiplus.info14
-rw-r--r--libraries/libgdiplus/slack-desc4
-rw-r--r--libraries/libgdsii/README13
-rw-r--r--libraries/libgdsii/libgdsii.SlackBuild118
-rw-r--r--libraries/libgdsii/libgdsii.info10
-rw-r--r--libraries/libgdsii/slack-desc19
-rw-r--r--libraries/libgedit-amtk/README7
-rw-r--r--libraries/libgedit-amtk/libgedit-amtk.SlackBuild119
-rw-r--r--libraries/libgedit-amtk/libgedit-amtk.info10
-rw-r--r--libraries/libgedit-amtk/slack-desc19
-rw-r--r--libraries/libgedit-gtksourceview/README6
-rw-r--r--libraries/libgedit-gtksourceview/libgedit-gtksourceview.SlackBuild117
-rw-r--r--libraries/libgedit-gtksourceview/libgedit-gtksourceview.info10
-rw-r--r--libraries/libgedit-gtksourceview/slack-desc19
-rw-r--r--libraries/libgee/README4
-rw-r--r--libraries/libgee/libgee.SlackBuild100
-rw-r--r--libraries/libgee/libgee.info10
-rw-r--r--libraries/libgee/slack-desc19
-rw-r--r--libraries/libgee1/libgee1.SlackBuild26
-rw-r--r--libraries/libgee1/libgee1.info2
-rw-r--r--libraries/libgexiv2/README3
-rw-r--r--libraries/libgexiv2/libgexiv2.SlackBuild95
-rw-r--r--libraries/libgexiv2/libgexiv2.info10
-rw-r--r--libraries/libgexiv2/slack-desc19
-rw-r--r--libraries/libgig/libgig.SlackBuild29
-rw-r--r--libraries/libgig/libgig.info6
-rw-r--r--libraries/libgig/slack-desc2
-rw-r--r--libraries/libgit2-glib/README3
-rw-r--r--libraries/libgit2-glib/detect-libgit2-version.patch141
-rw-r--r--libraries/libgit2-glib/libgit2-glib.SlackBuild22
-rw-r--r--libraries/libgit2-glib/libgit2-glib.info2
-rw-r--r--libraries/libgit2/README7
-rw-r--r--libraries/libgit2/libgit2.SlackBuild25
-rw-r--r--libraries/libgit2/libgit2.info6
-rw-r--r--libraries/libgksu/doinst.sh5
-rw-r--r--libraries/libgksu/libgksu.SlackBuild54
-rw-r--r--libraries/libgksu/libgksu.info2
-rw-r--r--libraries/libglademm/libglademm.SlackBuild26
-rw-r--r--libraries/libglibutil/README3
-rw-r--r--libraries/libglibutil/libglibutil.SlackBuild121
-rw-r--r--libraries/libglibutil/libglibutil.info10
-rw-r--r--libraries/libglibutil/slack-desc19
-rw-r--r--libraries/libglpng/libglpng.SlackBuild22
-rw-r--r--libraries/libgltf/README11
-rw-r--r--libraries/libgltf/libgltf.SlackBuild95
-rw-r--r--libraries/libgltf/libgltf.info10
-rw-r--r--libraries/libgltf/slack-desc19
-rw-r--r--libraries/libgme/libgme.SlackBuild18
-rw-r--r--libraries/libgme/libgme.info8
-rw-r--r--libraries/libgme/slack-desc2
-rw-r--r--libraries/libgnome-games-support/README2
-rw-r--r--libraries/libgnome-games-support/doinst.sh14
-rw-r--r--libraries/libgnome-games-support/libgnome-games-support.SlackBuild108
-rw-r--r--libraries/libgnome-games-support/libgnome-games-support.info10
-rw-r--r--libraries/libgnome-games-support/slack-desc19
-rw-r--r--libraries/libgnome/libgnome.SlackBuild32
-rw-r--r--libraries/libgnome/libgnome.info2
-rw-r--r--libraries/libgnomecanvas/README15
-rw-r--r--libraries/libgnomecanvas/libgnomecanvas.SlackBuild37
-rw-r--r--libraries/libgnomecanvas/libgnomecanvas.info2
-rw-r--r--libraries/libgnomecanvasmm/libgnomecanvasmm.SlackBuild49
-rw-r--r--libraries/libgnomecanvasmm/libgnomecanvasmm.info2
-rw-r--r--libraries/libgnomecups/README3
-rw-r--r--libraries/libgnomecups/libgnomecups.SlackBuild36
-rw-r--r--libraries/libgnomekbd/README6
-rw-r--r--libraries/libgnomekbd/doinst.sh10
-rw-r--r--libraries/libgnomekbd/libgnomekbd.SlackBuild110
-rw-r--r--libraries/libgnomekbd/libgnomekbd.info10
-rw-r--r--libraries/libgnomekbd/slack-desc19
-rw-r--r--libraries/libgnomemm/libgnomemm.SlackBuild26
-rw-r--r--libraries/libgnomeprint/libgnomeprint.SlackBuild27
-rw-r--r--libraries/libgnomeprint/libgnomeprint.info2
-rw-r--r--libraries/libgnomeprintui/libgnomeprintui.SlackBuild28
-rw-r--r--libraries/libgnomeui/libgnomeui.SlackBuild32
-rw-r--r--libraries/libgnomeuimm/libgnomeuimm.SlackBuild36
-rw-r--r--libraries/libgnomeuimm/libgnomeuimm.info2
-rw-r--r--libraries/libgraphqlparser/libgraphqlparser.SlackBuild16
-rw-r--r--libraries/libgringotts/libgringotts.SlackBuild30
-rw-r--r--libraries/libgrss/README10
-rw-r--r--libraries/libgrss/libgrss.SlackBuild112
-rw-r--r--libraries/libgrss/libgrss.info10
-rw-r--r--libraries/libgrss/slack-desc19
-rw-r--r--libraries/libgsasl/README12
-rw-r--r--libraries/libgsasl/libgsasl.SlackBuild26
-rw-r--r--libraries/libgta/libgta.SlackBuild16
-rw-r--r--libraries/libgtop/README3
-rw-r--r--libraries/libgtop/libgtop.SlackBuild108
-rw-r--r--libraries/libgtop/libgtop.info10
-rw-r--r--libraries/libgtop/slack-desc19
-rw-r--r--libraries/libgusb/libgusb.SlackBuild42
-rw-r--r--libraries/libgusb/libgusb.info8
-rw-r--r--libraries/libgweather/README8
-rw-r--r--libraries/libgweather/doinst.sh6
-rw-r--r--libraries/libgweather/libgweather.SlackBuild146
-rw-r--r--libraries/libgweather/libgweather.info10
-rw-r--r--libraries/libgweather/slack-desc19
-rw-r--r--libraries/libgweather4/README14
-rw-r--r--libraries/libgweather4/doinst.sh5
-rw-r--r--libraries/libgweather4/libgweather4.SlackBuild176
-rw-r--r--libraries/libgweather4/libgweather4.info10
-rw-r--r--libraries/libgweather4/slack-desc19
-rw-r--r--libraries/libgxps/libgxps.SlackBuild30
-rw-r--r--libraries/libgxps/libgxps.info10
-rw-r--r--libraries/libharu/README3
-rw-r--r--libraries/libharu/libharu.SlackBuild26
-rw-r--r--libraries/libharu/libharu.info2
-rw-r--r--libraries/libheif/README12
-rw-r--r--libraries/libheif/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch22
-rw-r--r--libraries/libheif/doinst.sh3
-rw-r--r--libraries/libheif/libheif.SlackBuild111
-rw-r--r--libraries/libheif/libheif.info10
-rw-r--r--libraries/libheif/slack-desc19
-rw-r--r--libraries/libhid/README9
-rw-r--r--libraries/libhid/libhid.SlackBuild26
-rw-r--r--libraries/libhoard/libhoard.SlackBuild57
-rw-r--r--libraries/libhoard/libhoard.info10
-rw-r--r--libraries/libhtp/README4
-rw-r--r--libraries/libhtp/libhtp.SlackBuild31
-rw-r--r--libraries/libhtp/libhtp.info2
-rw-r--r--libraries/libicns/libicns.SlackBuild50
-rw-r--r--libraries/libicns/libicns.info2
-rw-r--r--libraries/libidn2/README5
-rw-r--r--libraries/libidn2/libidn2.SlackBuild107
-rw-r--r--libraries/libidn2/libidn2.info10
-rw-r--r--libraries/libidn2/slack-desc19
-rw-r--r--libraries/libido3/0001-Temporarily-disable-previous-button-drop-shadow-draw.patch34
-rw-r--r--libraries/libido3/README1
-rw-r--r--libraries/libido3/ido-optional-ubuntu-private.patch69
-rw-r--r--libraries/libido3/libido3.SlackBuild111
-rw-r--r--libraries/libido3/libido3.info10
-rw-r--r--libraries/libido3/slack-desc19
-rw-r--r--libraries/libiec61883/README15
-rw-r--r--libraries/libiec61883/libiec61883.SlackBuild26
-rw-r--r--libraries/libiec61883/libiec61883.info2
-rw-r--r--libraries/libiio/libiio.SlackBuild16
-rw-r--r--libraries/libilbc/libilbc.SlackBuild59
-rw-r--r--libraries/libilbc/libilbc.info10
-rw-r--r--libraries/libindi-drivers/README9
-rw-r--r--libraries/libindi-drivers/doinst.sh3
-rw-r--r--libraries/libindi-drivers/libindi-drivers.SlackBuild74
-rw-r--r--libraries/libindi-drivers/libindi-drivers.info14
-rw-r--r--libraries/libindi-libraries/README20
-rw-r--r--libraries/libindi-libraries/doinst.sh3
-rw-r--r--libraries/libindi-libraries/libindi-libraries.SlackBuild115
-rw-r--r--libraries/libindi-libraries/libindi-libraries.info10
-rw-r--r--libraries/libindi-libraries/slack-desc19
-rw-r--r--libraries/libindi/README9
-rw-r--r--libraries/libindi/libindi.SlackBuild101
-rw-r--r--libraries/libindi/libindi.info10
-rw-r--r--libraries/libindi/slack-desc19
-rw-r--r--libraries/libindicator3/README3
-rw-r--r--libraries/libindicator3/libindicator3.SlackBuild104
-rw-r--r--libraries/libindicator3/libindicator3.info10
-rw-r--r--libraries/libindicator3/slack-desc19
-rw-r--r--libraries/libinfinity/README4
-rw-r--r--libraries/libinfinity/doinst.sh6
-rw-r--r--libraries/libinfinity/libinfinity.SlackBuild83
-rw-r--r--libraries/libinfinity/libinfinity.info10
-rw-r--r--libraries/libinfinity/slack-desc19
-rw-r--r--libraries/libinklevel/README2
-rw-r--r--libraries/libinklevel/libinklevel.SlackBuild109
-rw-r--r--libraries/libinklevel/libinklevel.info10
-rw-r--r--libraries/libinklevel/slack-desc19
-rw-r--r--libraries/libinput/README11
-rw-r--r--libraries/libinput/libinput.SlackBuild93
-rw-r--r--libraries/libinput/libinput.info10
-rw-r--r--libraries/libinput/slack-desc19
-rw-r--r--libraries/libinstpatch/libinstpatch.SlackBuild52
-rw-r--r--libraries/libinstpatch/libinstpatch.info6
-rw-r--r--libraries/libiptcdata/README17
-rw-r--r--libraries/libiptcdata/libiptcdata.SlackBuild39
-rw-r--r--libraries/libiptcdata/libiptcdata.info6
-rw-r--r--libraries/libircclient/README6
-rw-r--r--libraries/libircclient/libircclient.SlackBuild35
-rw-r--r--libraries/libisoburn/README19
-rw-r--r--libraries/libisoburn/libisoburn.SlackBuild20
-rw-r--r--libraries/libisoburn/libisoburn.info2
-rw-r--r--libraries/libisofs/libisofs.SlackBuild20
-rw-r--r--libraries/libixion/fmt.patch24
-rw-r--r--libraries/libixion/libixion.SlackBuild32
-rw-r--r--libraries/libixion/libixion.info8
-rw-r--r--libraries/libixp/libixp.SlackBuild24
-rw-r--r--libraries/libjcat/README1
-rw-r--r--libraries/libjcat/libjcat.SlackBuild114
-rw-r--r--libraries/libjcat/libjcat.info10
-rw-r--r--libraries/libjcat/slack-desc19
-rw-r--r--libraries/libjodycode/README3
-rw-r--r--libraries/libjodycode/libjodycode.SlackBuild112
-rw-r--r--libraries/libjodycode/libjodycode.info10
-rw-r--r--libraries/libjodycode/slack-desc19
-rw-r--r--libraries/libjson-rpc-cpp/libjson-rpc-cpp.SlackBuild18
-rw-r--r--libraries/libjson-rpc-cpp/libjson-rpc-cpp.info8
-rw-r--r--libraries/libjwt/libjwt.SlackBuild22
-rw-r--r--libraries/libjwt/libjwt.info8
-rw-r--r--libraries/libjxl/README23
-rw-r--r--libraries/libjxl/changelog39
-rw-r--r--libraries/libjxl/libjxl.SlackBuild147
-rw-r--r--libraries/libjxl/libjxl.info12
-rw-r--r--libraries/libjxl/slack-desc19
-rw-r--r--libraries/libkate/README10
-rw-r--r--libraries/libkate/libkate.SlackBuild45
-rw-r--r--libraries/libkface/README2
-rw-r--r--libraries/libkface/libkface.SlackBuild101
-rw-r--r--libraries/libkface/libkface.info10
-rw-r--r--libraries/libkface/opencv3.1.patch168
-rw-r--r--libraries/libkface/opencv3.patch483
-rw-r--r--libraries/libkface/slack-desc19
-rw-r--r--libraries/libkgeomap4/README4
-rw-r--r--libraries/libkgeomap4/libkgeomap4.SlackBuild98
-rw-r--r--libraries/libkgeomap4/libkgeomap4.info10
-rw-r--r--libraries/libkgeomap4/slack-desc19
-rw-r--r--libraries/libkml/README7
-rw-r--r--libraries/libkml/libkml.SlackBuild18
-rw-r--r--libraries/libkml/patches/p1.patch21
-rw-r--r--libraries/libkqueue/libkqueue.SlackBuild48
-rw-r--r--libraries/libkqueue/libkqueue.info6
-rw-r--r--libraries/libks/README3
-rw-r--r--libraries/libks/libks.SlackBuild103
-rw-r--r--libraries/libks/libks.info10
-rw-r--r--libraries/libks/slack-desc19
-rw-r--r--libraries/libkvkontakte/README1
-rw-r--r--libraries/libkvkontakte/libkvkontakte.SlackBuild100
-rw-r--r--libraries/libkvkontakte/libkvkontakte.info10
-rw-r--r--libraries/libkvkontakte/slack-desc19
-rw-r--r--libraries/liblangtag/liblangtag.SlackBuild28
-rw-r--r--libraries/liblangtag/liblangtag.info10
-rw-r--r--libraries/libldm/README21
-rw-r--r--libraries/libldm/libldm.SlackBuild127
-rw-r--r--libraries/libldm/libldm.info10
-rw-r--r--libraries/libldm/rc.ldm44
-rw-r--r--libraries/libldm/slack-desc19
-rw-r--r--libraries/libliftoff/README5
-rw-r--r--libraries/libliftoff/libliftoff.SlackBuild118
-rw-r--r--libraries/libliftoff/libliftoff.info10
-rw-r--r--libraries/libliftoff/slack-desc19
-rw-r--r--libraries/liblightgrep/README18
-rw-r--r--libraries/liblightgrep/liblightgrep.SlackBuild20
-rw-r--r--libraries/liblightgrep/liblightgrep.info4
-rw-r--r--libraries/liblinebreak/liblinebreak.SlackBuild26
-rw-r--r--libraries/liblnk/liblnk.SlackBuild32
-rw-r--r--libraries/liblnk/liblnk.info6
-rw-r--r--libraries/liblo/liblo.SlackBuild24
-rw-r--r--libraries/liblo/liblo.info6
-rw-r--r--libraries/libloc/README3
-rw-r--r--libraries/libloc/libloc.SlackBuild116
-rw-r--r--libraries/libloc/libloc.info10
-rw-r--r--libraries/libloc/slack-desc19
-rw-r--r--libraries/liblogging/liblogging.SlackBuild26
-rw-r--r--libraries/liblqr/liblqr.SlackBuild20
-rw-r--r--libraries/liblrdf/liblrdf.SlackBuild20
-rw-r--r--libraries/liblrdf/liblrdf.info2
-rw-r--r--libraries/liblscp/liblscp.SlackBuild26
-rw-r--r--libraries/libluksde/README34
-rw-r--r--libraries/libluksde/libluksde.SlackBuild113
-rw-r--r--libraries/libluksde/libluksde.info10
-rw-r--r--libraries/libluksde/slack-desc19
-rw-r--r--libraries/liblxi/README21
-rw-r--r--libraries/liblxi/liblxi.SlackBuild20
-rw-r--r--libraries/liblxqt/README2
-rw-r--r--libraries/liblxqt/liblxqt.SlackBuild101
-rw-r--r--libraries/liblxqt/liblxqt.info10
-rw-r--r--libraries/liblxqt/slack-desc19
-rw-r--r--libraries/liblxrad/README3
-rw-r--r--libraries/liblxrad/liblxrad.SlackBuild133
-rw-r--r--libraries/liblxrad/liblxrad.info10
-rw-r--r--libraries/liblxrad/slack-desc19
-rw-r--r--libraries/liblzf/README1
-rw-r--r--libraries/liblzf/liblzf-3.6-autoconf-20140314.patch309
-rw-r--r--libraries/liblzf/liblzf.SlackBuild116
-rw-r--r--libraries/liblzf/liblzf.info10
-rw-r--r--libraries/liblzf/slack-desc19
-rw-r--r--libraries/libmaa/libmaa.SlackBuild38
-rw-r--r--libraries/libmatekbd/README2
-rw-r--r--libraries/libmatekbd/doinst.sh5
-rw-r--r--libraries/libmatekbd/libmatekbd.SlackBuild116
-rw-r--r--libraries/libmatekbd/libmatekbd.info10
-rw-r--r--libraries/libmatekbd/slack-desc19
-rw-r--r--libraries/libmatemixer/README3
-rw-r--r--libraries/libmatemixer/libmatemixer.SlackBuild115
-rw-r--r--libraries/libmatemixer/libmatemixer.info10
-rw-r--r--libraries/libmatemixer/slack-desc19
-rw-r--r--libraries/libmateweather/README2
-rw-r--r--libraries/libmateweather/doinst.sh11
-rw-r--r--libraries/libmateweather/libmateweather.SlackBuild120
-rw-r--r--libraries/libmateweather/libmateweather.info10
-rw-r--r--libraries/libmateweather/slack-desc19
-rw-r--r--libraries/libmatheval/libmatheval.SlackBuild22
-rw-r--r--libraries/libmatheval/libmatheval.info4
-rw-r--r--libraries/libmatroska/README3
-rw-r--r--libraries/libmatroska/libmatroska.SlackBuild48
-rw-r--r--libraries/libmatroska/libmatroska.info6
-rw-r--r--libraries/libmd/README4
-rw-r--r--libraries/libmd/libmd.SlackBuild105
-rw-r--r--libraries/libmd/libmd.info10
-rw-r--r--libraries/libmd/slack-desc19
-rw-r--r--libraries/libmediaart/README2
-rw-r--r--libraries/libmediaart/libmediaart.SlackBuild109
-rw-r--r--libraries/libmediaart/libmediaart.info10
-rw-r--r--libraries/libmediaart/slack-desc19
-rw-r--r--libraries/libmediainfo/README2
-rw-r--r--libraries/libmediainfo/libmediainfo.SlackBuild28
-rw-r--r--libraries/libmediainfo/libmediainfo.info6
-rw-r--r--libraries/libmemcached/libmemcached.SlackBuild28
-rw-r--r--libraries/libmemcached/patches/libmemcached-build.patch60
-rw-r--r--libraries/libmicrohttpd/README27
-rw-r--r--libraries/libmicrohttpd/doinst.sh6
-rw-r--r--libraries/libmicrohttpd/libmicrohttpd.SlackBuild52
-rw-r--r--libraries/libmicrohttpd/libmicrohttpd.info6
-rw-r--r--libraries/libmigdb/libmigdb.SlackBuild22
-rw-r--r--libraries/libmikmod/libmikmod.SlackBuild20
-rw-r--r--libraries/libmimedir/libmimedir.SlackBuild26
-rw-r--r--libraries/libmimic/README6
-rw-r--r--libraries/libmimic/libmimic.SlackBuild37
-rw-r--r--libraries/libminizip/libminizip.SlackBuild18
-rw-r--r--libraries/libminizip/libminizip.info12
-rw-r--r--libraries/libmirage/libmirage.SlackBuild19
-rw-r--r--libraries/libmirage/libmirage.info8
-rw-r--r--libraries/libmms/libmms.SlackBuild58
-rw-r--r--libraries/libmms/libmms.info2
-rw-r--r--libraries/libmodbus/libmodbus.SlackBuild20
-rw-r--r--libraries/libmodi/README35
-rw-r--r--libraries/libmodi/libmodi.SlackBuild113
-rw-r--r--libraries/libmodi/libmodi.info10
-rw-r--r--libraries/libmodi/slack-desc19
-rw-r--r--libraries/libmodplug/libmodplug.SlackBuild20
-rw-r--r--libraries/libmp3splt/README21
-rw-r--r--libraries/libmp3splt/libmp3splt.SlackBuild32
-rw-r--r--libraries/libmp3splt/libmp3splt.info4
-rw-r--r--libraries/libmp4v2/libmp4v2-2.0.0-unsigned-int-cast.patch96
-rw-r--r--libraries/libmp4v2/libmp4v2.SlackBuild23
-rw-r--r--libraries/libmp4v2/libmp4v2_gcc_narrowing.patch20
-rw-r--r--libraries/libmpd/libmpd.SlackBuild20
-rw-r--r--libraries/libmpdclient/README4
-rw-r--r--libraries/libmpdclient/libmpdclient.SlackBuild82
-rw-r--r--libraries/libmpdclient/libmpdclient.info10
-rw-r--r--libraries/libmpeg2/libmpeg2.SlackBuild59
-rw-r--r--libraries/libmpeg2/libmpeg2.info2
-rw-r--r--libraries/libmrss/libmrss.SlackBuild33
-rw-r--r--libraries/libmrss/libmrss.info4
-rw-r--r--libraries/libmseed/README14
-rw-r--r--libraries/libmseed/libmseed.SlackBuild22
-rw-r--r--libraries/libmseed/libmseed.info8
-rw-r--r--libraries/libmseed/slack-desc8
-rw-r--r--libraries/libmsiecf/README4
-rw-r--r--libraries/libmsiecf/libmsiecf.SlackBuild32
-rw-r--r--libraries/libmsiecf/libmsiecf.info6
-rw-r--r--libraries/libmspack/README9
-rw-r--r--libraries/libmspack/libmspack.SlackBuild35
-rw-r--r--libraries/libmspack/libmspack.info6
-rw-r--r--libraries/libmspub/libmspub.SlackBuild23
-rw-r--r--libraries/libmsym/README5
-rw-r--r--libraries/libmsym/libmsym.SlackBuild111
-rw-r--r--libraries/libmsym/libmsym.info10
-rw-r--r--libraries/libmsym/slack-desc19
-rw-r--r--libraries/libmusicbrainz/libmusicbrainz.SlackBuild28
-rw-r--r--libraries/libmusicbrainz3/README10
-rw-r--r--libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild16
-rw-r--r--libraries/libmusicbrainz5/README16
-rw-r--r--libraries/libmusicbrainz5/libmusicbrainz5.SlackBuild23
-rw-r--r--libraries/libmusicbrainz5/libmusicbrainz5.info2
-rw-r--r--libraries/libmusicbrainz5/no_wildcards.patch24
-rw-r--r--libraries/libmwaw/libmwaw.SlackBuild28
-rw-r--r--libraries/libmwaw/libmwaw.info6
-rw-r--r--libraries/libmygpo-qt/libmygpo-qt.SlackBuild16
-rw-r--r--libraries/libmysofa/README4
-rw-r--r--libraries/libmysofa/changelog20
-rw-r--r--libraries/libmysofa/libmysofa.SlackBuild117
-rw-r--r--libraries/libmysofa/libmysofa.info10
-rw-r--r--libraries/libmysofa/slack-desc19
-rw-r--r--libraries/libnbcompat/README8
-rw-r--r--libraries/libnbcompat/libnbcompat.SlackBuild120
-rw-r--r--libraries/libnbcompat/libnbcompat.info10
-rw-r--r--libraries/libnbcompat/slack-desc19
-rw-r--r--libraries/libnet/libnet.SlackBuild26
-rw-r--r--libraries/libnfc/README4
-rw-r--r--libraries/libnfc/fixup-mandir.patch10
-rw-r--r--libraries/libnfc/libnfc.SlackBuild142
-rw-r--r--libraries/libnfc/libnfc.info10
-rw-r--r--libraries/libnfc/slack-desc19
-rw-r--r--libraries/libnfs/libnfs.SlackBuild20
-rw-r--r--libraries/libnfs/libnfs.info6
-rw-r--r--libraries/libnice/README12
-rw-r--r--libraries/libnice/libnice.SlackBuild99
-rw-r--r--libraries/libnice/libnice.info10
-rw-r--r--libraries/libnice/slack-desc19
-rw-r--r--libraries/libnids/README19
-rw-r--r--libraries/libnids/libnids.SlackBuild20
-rw-r--r--libraries/libnodave/libnodave.SlackBuild16
-rw-r--r--libraries/libnova/README7
-rw-r--r--libraries/libnova/libnova.SlackBuild110
-rw-r--r--libraries/libnova/libnova.info10
-rw-r--r--libraries/libnova/slack-desc19
-rw-r--r--libraries/libnsgif/README5
-rw-r--r--libraries/libnsgif/git2tarxz.sh51
-rw-r--r--libraries/libnsgif/libnsgif.SlackBuild102
-rw-r--r--libraries/libnsgif/libnsgif.info10
-rw-r--r--libraries/libnsgif/slack-desc19
-rw-r--r--libraries/libnumbertext/libnumbertext.SlackBuild30
-rw-r--r--libraries/libnumbertext/libnumbertext.info6
-rw-r--r--libraries/libnxml/libnxml.SlackBuild26
-rw-r--r--libraries/liboauth/liboauth-1.0.3-openssl-1.1.0-2.patch147
-rw-r--r--libraries/liboauth/liboauth.SlackBuild52
-rw-r--r--libraries/liboauth/liboauth.info4
-rw-r--r--libraries/libofa/libofa.SlackBuild26
-rw-r--r--libraries/libofx/libofx.SlackBuild26
-rw-r--r--libraries/liboglappth/README3
-rw-r--r--libraries/liboglappth/liboglappth.SlackBuild40
-rw-r--r--libraries/libolecf/README6
-rw-r--r--libraries/libolecf/libolecf.SlackBuild32
-rw-r--r--libraries/libolecf/libolecf.info6
-rw-r--r--libraries/libomemo-c/README20
-rw-r--r--libraries/libomemo-c/libomemo-c.SlackBuild117
-rw-r--r--libraries/libomemo-c/libomemo-c.info10
-rw-r--r--libraries/libomemo-c/slack-desc19
-rw-r--r--libraries/liboop/README4
-rw-r--r--libraries/liboop/liboop.SlackBuild37
-rw-r--r--libraries/liboop/liboop.info8
-rw-r--r--libraries/liboop/patches/tcl_dev.patch22
-rw-r--r--libraries/libopenglrecorder/libopenglrecorder.SlackBuild16
-rw-r--r--libraries/libopenmpt/README6
-rw-r--r--libraries/libopenmpt/libopenmpt.SlackBuild113
-rw-r--r--libraries/libopenmpt/libopenmpt.info10
-rw-r--r--libraries/libopenmpt/slack-desc19
-rw-r--r--libraries/libopenraw/README6
-rw-r--r--libraries/libopenraw/config.toml5
-rw-r--r--libraries/libopenraw/libopenraw.SlackBuild73
-rw-r--r--libraries/libopenraw/libopenraw.info8
-rw-r--r--libraries/libopenshot-audio/README7
-rw-r--r--libraries/libopenshot-audio/libopenshot-audio.SlackBuild46
-rw-r--r--libraries/libopenshot-audio/libopenshot-audio.info6
-rw-r--r--libraries/libopenshot/libopenshot.SlackBuild30
-rw-r--r--libraries/libopenshot/libopenshot.info10
-rw-r--r--libraries/libopenshot/limit-hwaccel.patch480
-rw-r--r--libraries/libopenshot/resolve-abs.patch21
-rw-r--r--libraries/libopensmtpd/README5
-rw-r--r--libraries/libopensmtpd/libopensmtpd.SlackBuild99
-rw-r--r--libraries/libopensmtpd/libopensmtpd.info10
-rw-r--r--libraries/libopensmtpd/slack-desc19
-rw-r--r--libraries/libopusenc/README2
-rw-r--r--libraries/libopusenc/libopusenc.SlackBuild99
-rw-r--r--libraries/libopusenc/libopusenc.info10
-rw-r--r--libraries/libopusenc/slack-desc19
-rw-r--r--libraries/liborcus/liborcus.SlackBuild22
-rw-r--r--libraries/liborcus/liborcus.info6
-rw-r--r--libraries/liborigin/liborigin.SlackBuild35
-rw-r--r--libraries/liborocos-kdl/liborocos-kdl.SlackBuild18
-rw-r--r--libraries/libosinfo/add_slackware_data.patch222
-rw-r--r--libraries/libosinfo/libosinfo.SlackBuild59
-rw-r--r--libraries/libosinfo/libosinfo.info8
-rw-r--r--libraries/libosmium/README4
-rw-r--r--libraries/libosmium/libosmium.SlackBuild95
-rw-r--r--libraries/libosmium/libosmium.info10
-rw-r--r--libraries/libosmium/slack-desc19
-rw-r--r--libraries/libosmo-dsp/libosmo-dsp.SlackBuild20
-rw-r--r--libraries/libotf/libotf.SlackBuild66
-rw-r--r--libraries/libotf/libotf.info6
-rw-r--r--libraries/libotr/README5
-rw-r--r--libraries/libotr/libotr.SlackBuild26
-rw-r--r--libraries/libowfat/libowfat.SlackBuild73
-rw-r--r--libraries/libowfat/libowfat.info10
-rw-r--r--libraries/libp11/README4
-rw-r--r--libraries/libp11/libp11.SlackBuild20
-rw-r--r--libraries/libpagemaker/libpagemaker.SlackBuild20
-rw-r--r--libraries/libpano13/libpano13.SlackBuild56
-rw-r--r--libraries/libpano13/libpano13.info6
-rw-r--r--libraries/libpaper/README6
-rw-r--r--libraries/libpaper/libpaper.SlackBuild43
-rw-r--r--libraries/libpaper/libpaper.info8
-rw-r--r--libraries/libpar2/README11
-rw-r--r--libraries/libpar2/libpar2.SlackBuild35
-rw-r--r--libraries/libpeas/README5
-rw-r--r--libraries/libpeas/libpeas.SlackBuild61
-rw-r--r--libraries/libpeas/libpeas.info6
-rw-r--r--libraries/libpff/README6
-rw-r--r--libraries/libpff/libpff.SlackBuild38
-rw-r--r--libraries/libpff/libpff.info6
-rw-r--r--libraries/libpgf/libpgf.SlackBuild62
-rw-r--r--libraries/libpgf/libpgf.info6
-rw-r--r--libraries/libphdi/README27
-rw-r--r--libraries/libphdi/libphdi.SlackBuild113
-rw-r--r--libraries/libphdi/libphdi.info10
-rw-r--r--libraries/libphdi/slack-desc19
-rw-r--r--libraries/libpinyin/README4
-rw-r--r--libraries/libpinyin/libpinyin.SlackBuild104
-rw-r--r--libraries/libpinyin/libpinyin.info10
-rw-r--r--libraries/libpinyin/slack-desc19
-rw-r--r--libraries/libpng-legacy12/README6
-rw-r--r--libraries/libpng-legacy12/libpng-legacy12.SlackBuild45
-rw-r--r--libraries/libpng-legacy12/libpng-legacy12.info6
-rw-r--r--libraries/libpoly/README10
-rw-r--r--libraries/libpoly/libpoly.SlackBuild145
-rw-r--r--libraries/libpoly/libpoly.info10
-rw-r--r--libraries/libpoly/slack-desc19
-rw-r--r--libraries/libportal/0.6-backports.patch1005
-rw-r--r--libraries/libportal/README3
-rw-r--r--libraries/libportal/libportal.SlackBuild117
-rw-r--r--libraries/libportal/libportal.info10
-rw-r--r--libraries/libportal/slack-desc19
-rw-r--r--libraries/libpqxx/libpqxx.SlackBuild20
-rw-r--r--libraries/libpqxx/libpqxx.info6
-rw-r--r--libraries/libprelude/README25
-rw-r--r--libraries/libprelude/doinst.sh17
-rw-r--r--libraries/libprelude/libprelude.SlackBuild127
-rw-r--r--libraries/libprelude/libprelude.info10
-rw-r--r--libraries/libprelude/slack-desc19
-rw-r--r--libraries/libpri/README8
-rw-r--r--libraries/libpri/libpri.SlackBuild88
-rw-r--r--libraries/libpri/libpri.info10
-rw-r--r--libraries/libpri/slack-desc19
-rw-r--r--libraries/libpseudo/README3
-rw-r--r--libraries/libpseudo/libpseudo-1.2.0-Makefile.patch14
-rw-r--r--libraries/libpseudo/libpseudo.SlackBuild92
-rw-r--r--libraries/libpseudo/libpseudo.info10
-rw-r--r--libraries/libpseudo/slack-desc19
-rw-r--r--libraries/libpst/libpst.SlackBuild56
-rw-r--r--libraries/libpst/libpst.info10
-rw-r--r--libraries/libpwquality/README11
-rw-r--r--libraries/libpwquality/libpwquality.SlackBuild105
-rw-r--r--libraries/libpwquality/libpwquality.info10
-rw-r--r--libraries/libpwquality/slack-desc19
-rw-r--r--libraries/libqb/libqb.SlackBuild27
-rw-r--r--libraries/libqb/libqb.info8
-rw-r--r--libraries/libqcow/README13
-rw-r--r--libraries/libqcow/libqcow.SlackBuild38
-rw-r--r--libraries/libqcow/libqcow.info6
-rw-r--r--libraries/libqinfinity/README1
-rw-r--r--libraries/libqinfinity/libqinfinity.SlackBuild82
-rw-r--r--libraries/libqinfinity/libqinfinity.info10
-rw-r--r--libraries/libqinfinity/slack-desc19
-rw-r--r--libraries/libqsqlpsql/README1
-rw-r--r--libraries/libqsqlpsql/libqsqlpsql.SlackBuild95
-rw-r--r--libraries/libqsqlpsql/libqsqlpsql.info10
-rw-r--r--libraries/libqsqlpsql/slack-desc19
-rw-r--r--libraries/libqtpas/README6
-rw-r--r--libraries/libqtpas/changelog30
-rw-r--r--libraries/libqtpas/libqtpas.SlackBuild110
-rw-r--r--libraries/libqtpas/libqtpas.info10
-rw-r--r--libraries/libqtpas/slack-desc19
-rw-r--r--libraries/libquicktime/README3
-rw-r--r--libraries/libquicktime/libquicktime-1.2.4-faad2.patch86
-rw-r--r--libraries/libquicktime/libquicktime-1.2.4-ffmpeg2.patch98
-rw-r--r--libraries/libquicktime/libquicktime-ffmpeg3.patch935
-rw-r--r--libraries/libquicktime/libquicktime.SlackBuild67
-rw-r--r--libraries/libquicktime/libquicktime.info4
-rw-r--r--libraries/libquvi-scripts/README2
-rw-r--r--libraries/libquvi-scripts/libquvi-scripts.SlackBuild86
-rw-r--r--libraries/libquvi-scripts/libquvi-scripts.info10
-rw-r--r--libraries/libquvi-scripts/slack-desc19
-rw-r--r--libraries/libquvi/README7
-rw-r--r--libraries/libquvi/libquvi.SlackBuild90
-rw-r--r--libraries/libquvi/libquvi.info10
-rw-r--r--libraries/libquvi/slack-desc19
-rw-r--r--libraries/libqxp/libqxp.SlackBuild20
-rw-r--r--libraries/libqxt/libqxt-gcc6.patch11
-rw-r--r--libraries/libqxt/libqxt.SlackBuild31
-rw-r--r--libraries/libqxt/libqxt.info2
-rw-r--r--libraries/libr3/libr3.SlackBuild20
-rw-r--r--libraries/librapi2/README6
-rw-r--r--libraries/librapi2/librapi2.SlackBuild26
-rw-r--r--libraries/libraqm/README6
-rw-r--r--libraries/libraqm/libraqm.SlackBuild20
-rw-r--r--libraries/librcd/librcd.SlackBuild39
-rw-r--r--libraries/libreadline-java/README7
-rw-r--r--libraries/libreadline-java/libreadline-java.SlackBuild25
-rw-r--r--libraries/libreadline-java/libreadline-java.info8
-rw-r--r--libraries/libregf/libregf.SlackBuild30
-rw-r--r--libraries/libregf/libregf.info6
-rw-r--r--libraries/librelp/librelp.SlackBuild22
-rw-r--r--libraries/librelp/librelp.info6
-rw-r--r--libraries/librep/README4
-rw-r--r--libraries/librep/doinst.sh3
-rw-r--r--libraries/librep/librep.SlackBuild112
-rw-r--r--libraries/librep/librep.info10
-rw-r--r--libraries/librep/slack-desc19
-rw-r--r--libraries/librepfunc/README5
-rw-r--r--libraries/librepfunc/librepfunc.SlackBuild108
-rw-r--r--libraries/librepfunc/librepfunc.info10
-rw-r--r--libraries/librepfunc/slack-desc19
-rw-r--r--libraries/libreplaygain/libreplaygain.SlackBuild32
-rw-r--r--libraries/librevisa/librevisa.SlackBuild20
-rw-r--r--libraries/librevisa/librevisa.info2
-rw-r--r--libraries/librfm5/librfm5.SlackBuild36
-rw-r--r--libraries/librfm5/librfm5.info6
-rw-r--r--libraries/librhtv/librhtv.SlackBuild27
-rw-r--r--libraries/librhtv/librhtv.info6
-rw-r--r--libraries/librist/README10
-rw-r--r--libraries/librist/librist.SlackBuild119
-rw-r--r--libraries/librist/librist.info10
-rw-r--r--libraries/librist/slack-desc19
-rw-r--r--libraries/librra/librra.SlackBuild26
-rw-r--r--libraries/librsync/README13
-rw-r--r--libraries/librsync/librsync.SlackBuild54
-rw-r--r--libraries/librsync/librsync.info12
-rw-r--r--libraries/librtfcomp/librtfcomp.SlackBuild28
-rw-r--r--libraries/librtfcomp/librtfcomp.info6
-rw-r--r--libraries/libsass/README13
-rw-r--r--libraries/libsass/libsass.SlackBuild98
-rw-r--r--libraries/libsass/libsass.info10
-rw-r--r--libraries/libsass/slack-desc19
-rw-r--r--libraries/libsbsms/README5
-rw-r--r--libraries/libsbsms/libsbsms.SlackBuild106
-rw-r--r--libraries/libsbsms/libsbsms.info10
-rw-r--r--libraries/libsbsms/slack-desc19
-rw-r--r--libraries/libscca/libscca.SlackBuild32
-rw-r--r--libraries/libscca/libscca.info6
-rw-r--r--libraries/libscrypt/README9
-rw-r--r--libraries/libscrypt/libscrypt.SlackBuild22
-rw-r--r--libraries/libscrypt/libscrypt.info2
-rw-r--r--libraries/libsearpc/libsearpc.SlackBuild39
-rw-r--r--libraries/libsearpc/libsearpc.info8
-rw-r--r--libraries/libseccomp/README6
-rw-r--r--libraries/libseccomp/libseccomp.SlackBuild102
-rw-r--r--libraries/libseccomp/libseccomp.info10
-rw-r--r--libraries/libseccomp/slack-desc19
-rw-r--r--libraries/libserialport/libserialport.SlackBuild20
-rw-r--r--libraries/libshout/README12
-rw-r--r--libraries/libshout/libshout.SlackBuild62
-rw-r--r--libraries/libshout/libshout.info10
-rw-r--r--libraries/libshout/slack-desc2
-rw-r--r--libraries/libsidplay/README4
-rw-r--r--libraries/libsidplay/files/avoid_narrowing_conversion.patch20
-rw-r--r--libraries/libsidplay/files/remove_sid_have_ios_bin_block.patch38
-rw-r--r--libraries/libsidplay/libsidplay.SlackBuild112
-rw-r--r--libraries/libsidplay/libsidplay.info10
-rw-r--r--libraries/libsidplay/slack-desc19
-rw-r--r--libraries/libsidplay2/libsidplay2.SlackBuild20
-rw-r--r--libraries/libsidplayfp/libsidplayfp.SlackBuild28
-rw-r--r--libraries/libsidplayfp/libsidplayfp.info6
-rw-r--r--libraries/libsieve/libsieve.SlackBuild44
-rw-r--r--libraries/libsigc++-legacy12/README8
-rw-r--r--libraries/libsigc++-legacy12/libsigc++-legacy12.SlackBuild100
-rw-r--r--libraries/libsigc++-legacy12/libsigc++-legacy12.info10
-rw-r--r--libraries/libsigc++-legacy12/slack-desc19
-rw-r--r--libraries/libsigrok/libsigrok.SlackBuild26
-rw-r--r--libraries/libsigrok/libsigrok.info6
-rw-r--r--libraries/libsigrokdecode/libsigrokdecode.SlackBuild28
-rw-r--r--libraries/libsigrokdecode/libsigrokdecode.info8
-rw-r--r--libraries/libsigscan/README52
-rw-r--r--libraries/libsigscan/libsigscan.SlackBuild38
-rw-r--r--libraries/libsigscan/libsigscan.info6
-rw-r--r--libraries/libsixel/README9
-rw-r--r--libraries/libsixel/libsixel.SlackBuild58
-rw-r--r--libraries/libsixel/libsixel.info12
-rw-r--r--libraries/libsixel/slack-desc14
-rw-r--r--libraries/libskk/libskk.SlackBuild43
-rw-r--r--libraries/libskk/libskk.info4
-rw-r--r--libraries/libslack/README12
-rw-r--r--libraries/libslack/libslack.SlackBuild46
-rw-r--r--libraries/libslack/libslack.info12
-rw-r--r--libraries/libslack/notwanted-0.7.3.diff114
-rw-r--r--libraries/libslack/notwanted.patch117
-rw-r--r--libraries/libslirp/README6
-rw-r--r--libraries/libslirp/changelog15
-rw-r--r--libraries/libslirp/libslirp.SlackBuild105
-rw-r--r--libraries/libslirp/libslirp.info10
-rw-r--r--libraries/libslirp/slack-desc19
-rw-r--r--libraries/libsmbios/libsmbios.SlackBuild25
-rw-r--r--libraries/libsmbios/libsmbios.info10
-rw-r--r--libraries/libsmdev/libsmdev.SlackBuild40
-rw-r--r--libraries/libsmdev/libsmdev.info6
-rw-r--r--libraries/libsmf/README10
-rw-r--r--libraries/libsmf/libsmf.SlackBuild28
-rw-r--r--libraries/libsmf/libsmf.info6
-rw-r--r--libraries/libsmf/slack-desc8
-rw-r--r--libraries/libsmi/libsmi.SlackBuild26
-rw-r--r--libraries/libsmraw/README4
-rw-r--r--libraries/libsmraw/libsmraw.SlackBuild32
-rw-r--r--libraries/libsmraw/libsmraw.info6
-rw-r--r--libraries/libsodium/README2
-rw-r--r--libraries/libsodium/libsodium.SlackBuild98
-rw-r--r--libraries/libsodium/libsodium.info10
-rw-r--r--libraries/libsodium/slack-desc19
-rw-r--r--libraries/libspectrum/libspectrum.SlackBuild22
-rw-r--r--libraries/libspectrum/libspectrum.info8
-rw-r--r--libraries/libspf2/doinst.sh63
-rw-r--r--libraries/libspf2/libspf2.SlackBuild21
-rw-r--r--libraries/libspiro/README7
-rw-r--r--libraries/libspiro/libspiro.SlackBuild118
-rw-r--r--libraries/libspiro/libspiro.info10
-rw-r--r--libraries/libspiro/slack-desc19
-rw-r--r--libraries/libspng/README12
-rw-r--r--libraries/libspng/libspng.SlackBuild112
-rw-r--r--libraries/libspng/libspng.info10
-rw-r--r--libraries/libspng/slack-desc19
-rw-r--r--libraries/libsrtp/README15
-rw-r--r--libraries/libsrtp/libsrtp.SlackBuild21
-rw-r--r--libraries/libsrtp2/README11
-rw-r--r--libraries/libsrtp2/libsrtp2.SlackBuild111
-rw-r--r--libraries/libsrtp2/libsrtp2.info10
-rw-r--r--libraries/libsrtp2/slack-desc19
-rw-r--r--libraries/libstaroffice/libstaroffice.SlackBuild32
-rw-r--r--libraries/libstaroffice/libstaroffice.info6
-rw-r--r--libraries/libstatgrab/libstatgrab.SlackBuild28
-rw-r--r--libraries/libstatgrab/libstatgrab.info6
-rw-r--r--libraries/libstrophe/libstrophe.SlackBuild20
-rw-r--r--libraries/libstrophe/libstrophe.info6
-rw-r--r--libraries/libsuinput/doinst.sh3
-rw-r--r--libraries/libsuinput/libsuinput.SlackBuild27
-rw-r--r--libraries/libsunpinyin/README5
-rw-r--r--libraries/libsunpinyin/gcc47.patch22
-rw-r--r--libraries/libsunpinyin/libsunpinyin.SlackBuild85
-rw-r--r--libraries/libsunpinyin/libsunpinyin.info14
-rw-r--r--libraries/libsunpinyin/slack-desc19
-rw-r--r--libraries/libsvm/Makefile.patch93
-rw-r--r--libraries/libsvm/README13
-rw-r--r--libraries/libsvm/doinst.sh13
-rw-r--r--libraries/libsvm/libsvm.SlackBuild137
-rw-r--r--libraries/libsvm/libsvm.info10
-rw-r--r--libraries/libsvm/libsvm.svm-toy-qt5.patch64
-rw-r--r--libraries/libsvm/slack-desc19
-rw-r--r--libraries/libsvm/svm-toy.pngbin0 -> 13482 bytes
-rw-r--r--libraries/libsynce/README12
-rw-r--r--libraries/libsynce/libsynce.SlackBuild26
-rw-r--r--libraries/libtar/libtar.SlackBuild30
-rw-r--r--libraries/libtecla/README2
-rw-r--r--libraries/libtecla/libtecla.SlackBuild20
-rw-r--r--libraries/libtelnet/libtelnet.SlackBuild20
-rw-r--r--libraries/libtermkey/README7
-rw-r--r--libraries/libtermkey/libtermkey.SlackBuild22
-rw-r--r--libraries/libtermkey/libtermkey.info4
-rw-r--r--libraries/libthai/README12
-rw-r--r--libraries/libthai/libthai.SlackBuild20
-rw-r--r--libraries/libticables2/libticables2.SlackBuild37
-rw-r--r--libraries/libticalcs2/libticalcs2.SlackBuild36
-rw-r--r--libraries/libticonv/README6
-rw-r--r--libraries/libticonv/libticonv.SlackBuild40
-rw-r--r--libraries/libtifiles2/libtifiles2.SlackBuild33
-rw-r--r--libraries/libtins/libtins.SlackBuild30
-rw-r--r--libraries/libtomcrypt/libtomcrypt.SlackBuild63
-rw-r--r--libraries/libtomcrypt/libtomcrypt.info12
-rw-r--r--libraries/libtomcrypt/slack-desc2
-rw-r--r--libraries/libtommath/libtommath.SlackBuild28
-rw-r--r--libraries/libtommath/libtommath.info8
-rw-r--r--libraries/libtorch-cxx11-abi-shared-with-deps/README4
-rw-r--r--libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.SlackBuild80
-rw-r--r--libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.info10
-rw-r--r--libraries/libtorch-cxx11-abi-shared-with-deps/slack-desc19
-rw-r--r--libraries/libtorrent-rasterbar/README14
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild75
-rw-r--r--libraries/libtorrent-rasterbar/libtorrent-rasterbar.info10
-rw-r--r--libraries/libtorrent/libtorrent.SlackBuild32
-rw-r--r--libraries/libtorrent/libtorrent.info4
-rw-r--r--libraries/libtorrent2/README19
-rw-r--r--libraries/libtorrent2/libtorrent2.SlackBuild152
-rw-r--r--libraries/libtorrent2/libtorrent2.info14
-rw-r--r--libraries/libtorrent2/slack-desc19
-rw-r--r--libraries/libtpms/README4
-rw-r--r--libraries/libtpms/libtpms.SlackBuild109
-rw-r--r--libraries/libtpms/libtpms.info10
-rw-r--r--libraries/libtpms/slack-desc19
-rw-r--r--libraries/libtraceevent/README3
-rw-r--r--libraries/libtraceevent/libtraceevent.SlackBuild96
-rw-r--r--libraries/libtraceevent/libtraceevent.info10
-rw-r--r--libraries/libtraceevent/slack-desc19
-rw-r--r--libraries/libtracefs/README2
-rw-r--r--libraries/libtracefs/libtracefs.SlackBuild96
-rw-r--r--libraries/libtracefs/libtracefs.info10
-rw-r--r--libraries/libtracefs/slack-desc19
-rw-r--r--libraries/libtsm/README11
-rw-r--r--libraries/libtsm/libtsm.SlackBuild80
-rw-r--r--libraries/libtsm/libtsm.info10
-rw-r--r--libraries/libtsm/slack-desc19
-rw-r--r--libraries/libtubo0/README6
-rw-r--r--libraries/libtubo0/libtubo0.SlackBuild20
-rw-r--r--libraries/libtunepimp/README7
-rw-r--r--libraries/libtunepimp/libtunepimp-0.5.3-gcc43.patch146
-rw-r--r--libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch13
-rw-r--r--libraries/libtunepimp/libtunepimp-0.5.3-libmp4v2.patch30
-rw-r--r--libraries/libtunepimp/libtunepimp.SlackBuild89
-rw-r--r--libraries/libtunepimp/libtunepimp.info10
-rw-r--r--libraries/libtunepimp/slack-desc19
-rw-r--r--libraries/libtxc_dxtn/README5
-rw-r--r--libraries/libtxc_dxtn/libtxc_dxtn.SlackBuild96
-rw-r--r--libraries/libtxc_dxtn/libtxc_dxtn.info10
-rw-r--r--libraries/libtxc_dxtn/slack-desc19
-rw-r--r--libraries/libu2f-host/README2
-rw-r--r--libraries/libu2f-host/libu2f-host.SlackBuild33
-rw-r--r--libraries/libu2f-host/libu2f-host.info2
-rw-r--r--libraries/libu2f-host/patches/0001-bump-versions-after-release.patch48
-rw-r--r--libraries/libu2f-host/patches/0002-README-add-FreeBSD-build-information.patch34
-rw-r--r--libraries/libu2f-host/patches/0003-add-note-about-maintenance-mode-and-libfido2.patch28
-rw-r--r--libraries/libu2f-host/patches/0004-libfido2-sync-add-Infineon-eWBM-SecureClick-typo.patch44
-rw-r--r--libraries/libu2f-host/patches/0005-add-two-new-eWBM-and-sort-device-IDs-numerically.patch40
-rw-r--r--libraries/libu2f-host/patches/0006-devs-init_device-Fix-typo-in-comment.patch26
-rw-r--r--libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch27
-rw-r--r--libraries/libu2f-host/patches/0008-Update-70-u2f.rules-to-include-product-id-0121.patch26
-rw-r--r--libraries/libu2f-host/patches/0009-Update-u2f.conf.sample.patch28
-rw-r--r--libraries/libu2f-host/patches/0010-fixed-the-duplication-typo.patch28
-rw-r--r--libraries/libu2f-host/patches/0011-Add-Onlykey-to-list.patch27
-rw-r--r--libraries/libu2f-host/patches/0012-udev-u2f.conf-add-Nitrokey-FIDO2.patch50
-rw-r--r--libraries/libu2f-host/patches/0013-udev-u2f.conf-add-Safetech-SafeKey.patch48
-rw-r--r--libraries/libu2f-host/patches/0014-udev-u2f.conf-group-to-one-line-as-per-request.patch62
-rw-r--r--libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch51
-rw-r--r--libraries/libu2f-host/patches/0016-Handle-the-case-when-new_device-returns-NULL-malloc-.patch30
-rw-r--r--libraries/libu2f-host/patches/0017-Schedule-scans-at-least-once-a-week.patch29
-rw-r--r--libraries/libu2f-host/patches/0018-Adding-GoTrust-Idem-Key-to-udev-rules.patch44
-rw-r--r--libraries/libu2f-host/patches/0019-Add-support-for-upcoming-json-c-0.14.0.patch39
-rw-r--r--libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch42
-rw-r--r--libraries/libu2f-host/patches/0021-Github-Actions-do-not-run-scan-if-missing-credential.patch62
-rw-r--r--libraries/libu2f-host/patches/0022-Update-scan-action-with-correct-image-fqdn.patch35
-rw-r--r--libraries/libu2f-host/patches/0023-Added-udev-rules-for-MIRKey-devices.patch44
-rw-r--r--libraries/libu2f-host/patches/0024-Update-Ledger-s-productIDs-add-Ledger-Blue.patch34
-rw-r--r--libraries/libu2f-host/patches/0025-Add-deprecation-notice.patch26
-rw-r--r--libraries/libuchardet/libuchardet.SlackBuild36
-rw-r--r--libraries/libuchardet/libuchardet.info6
-rw-r--r--libraries/libucil/README8
-rw-r--r--libraries/libucil/libucil.SlackBuild42
-rw-r--r--libraries/libucl/README12
-rw-r--r--libraries/libucl/libucl.SlackBuild115
-rw-r--r--libraries/libucl/libucl.info10
-rw-r--r--libraries/libucl/slack-desc19
-rw-r--r--libraries/libudfread/README1
-rw-r--r--libraries/libudfread/libudfread.SlackBuild112
-rw-r--r--libraries/libudfread/libudfread.info10
-rw-r--r--libraries/libudfread/slack-desc19
-rw-r--r--libraries/libunibreak/README7
-rw-r--r--libraries/libunibreak/libunibreak.SlackBuild82
-rw-r--r--libraries/libunibreak/libunibreak.info10
-rw-r--r--libraries/libunibreak/slack-desc19
-rw-r--r--libraries/libunicap/gcc10.patch25
-rw-r--r--libraries/libunicap/libunicap.SlackBuild30
-rw-r--r--libraries/libunicapgtk/libunicapgtk.SlackBuild20
-rw-r--r--libraries/libuninameslist/README5
-rw-r--r--libraries/libuninameslist/libuninameslist.SlackBuild118
-rw-r--r--libraries/libuninameslist/libuninameslist.info10
-rw-r--r--libraries/libuninameslist/slack-desc19
-rw-r--r--libraries/libunique/libunique.SlackBuild26
-rw-r--r--libraries/libunique3/libunique3.SlackBuild26
-rw-r--r--libraries/libunwind/README9
-rw-r--r--libraries/libunwind/libunwind.SlackBuild104
-rw-r--r--libraries/libunwind/libunwind.info10
-rw-r--r--libraries/libunwind/slack-desc19
-rw-r--r--libraries/libupnp-legacy/libupnp-legacy.SlackBuild20
-rw-r--r--libraries/libupnp/libupnp.SlackBuild26
-rw-r--r--libraries/libupnp/libupnp.info6
-rw-r--r--libraries/liburcu/liburcu.SlackBuild19
-rw-r--r--libraries/liburcu/liburcu.info6
-rw-r--r--libraries/libuv/README1
-rw-r--r--libraries/libuv/libuv.SlackBuild95
-rw-r--r--libraries/libuv/libuv.info10
-rw-r--r--libraries/libuv/slack-desc19
-rw-r--r--libraries/libvdpau-va-gl/README9
-rw-r--r--libraries/libvdpau-va-gl/doinst.sh15
-rw-r--r--libraries/libvdpau-va-gl/libvdpau-va-gl.SlackBuild44
-rw-r--r--libraries/libvdpau-va-gl/libvdpau-va-gl.info10
-rw-r--r--libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.csh3
-rw-r--r--libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.sh4
-rw-r--r--libraries/libvdpau-va-gl/slack-desc2
-rw-r--r--libraries/libvdwxc/README9
-rw-r--r--libraries/libvdwxc/libvdwxc.SlackBuild118
-rw-r--r--libraries/libvdwxc/libvdwxc.info10
-rw-r--r--libraries/libvdwxc/slack-desc19
-rw-r--r--libraries/libversion/README6
-rw-r--r--libraries/libversion/libversion.SlackBuild23
-rw-r--r--libraries/libversion/libversion.info6
-rw-r--r--libraries/libvhdi/README18
-rw-r--r--libraries/libvhdi/libvhdi.SlackBuild38
-rw-r--r--libraries/libvhdi/libvhdi.info6
-rw-r--r--libraries/libvhdi/slack-desc2
-rw-r--r--libraries/libvidcap/libvidcap.SlackBuild26
-rw-r--r--libraries/libviper/README3
-rw-r--r--libraries/libviper/libviper-1.4.6-Makefile.patch15
-rw-r--r--libraries/libviper/libviper.SlackBuild92
-rw-r--r--libraries/libviper/libviper.info10
-rw-r--r--libraries/libviper/slack-desc19
-rw-r--r--libraries/libvirt-glib/libvirt-glib.SlackBuild49
-rw-r--r--libraries/libvirt-glib/libvirt-glib.info8
-rw-r--r--libraries/libvirt-python/libvirt-python.SlackBuild24
-rw-r--r--libraries/libvirt-python/libvirt-python.info8
-rw-r--r--libraries/libvirt/README56
-rw-r--r--libraries/libvirt/libvirt.SlackBuild111
-rw-r--r--libraries/libvirt/libvirt.info8
-rw-r--r--libraries/libvirt/rc.libvirt35
-rw-r--r--libraries/libvmdk/README11
-rw-r--r--libraries/libvmdk/libvmdk.SlackBuild48
-rw-r--r--libraries/libvmdk/libvmdk.info6
-rw-r--r--libraries/libvmime/README5
-rw-r--r--libraries/libvmime/libvmime.SlackBuild28
-rw-r--r--libraries/libvmime/libvmime.info6
-rw-r--r--libraries/libvorbisidec/README5
-rw-r--r--libraries/libvorbisidec/libvorbisidec.SlackBuild24
-rw-r--r--libraries/libvsapm/README14
-rw-r--r--libraries/libvsapm/libvsapm.SlackBuild113
-rw-r--r--libraries/libvsapm/libvsapm.info10
-rw-r--r--libraries/libvsapm/slack-desc19
-rw-r--r--libraries/libvsgpt/README11
-rw-r--r--libraries/libvsgpt/libvsgpt.SlackBuild113
-rw-r--r--libraries/libvsgpt/libvsgpt.info10
-rw-r--r--libraries/libvsgpt/slack-desc19
-rw-r--r--libraries/libvshadow/README6
-rw-r--r--libraries/libvshadow/libvshadow.SlackBuild32
-rw-r--r--libraries/libvshadow/libvshadow.info6
-rw-r--r--libraries/libvslvm/README3
-rw-r--r--libraries/libvslvm/libvslvm.SlackBuild38
-rw-r--r--libraries/libvslvm/libvslvm.info6
-rw-r--r--libraries/libvterm/README3
-rw-r--r--libraries/libvterm/libvterm.SlackBuild24
-rw-r--r--libraries/libvterm/libvterm.info10
-rw-r--r--libraries/libwacom/README5
-rw-r--r--libraries/libwacom/libwacom.SlackBuild102
-rw-r--r--libraries/libwacom/libwacom.info10
-rw-r--r--libraries/libwacom/slack-desc19
-rw-r--r--libraries/libwebp/README18
-rw-r--r--libraries/libwebp/libwebp.SlackBuild98
-rw-r--r--libraries/libwebp/libwebp.info10
-rw-r--r--libraries/libwebp/slack-desc19
-rw-r--r--libraries/libwebsocketpp/libwebsocketpp.SlackBuild24
-rw-r--r--libraries/libwebsocketpp/libwebsocketpp.info2
-rw-r--r--libraries/libwebsockets/README4
-rw-r--r--libraries/libwebsockets/libwebsockets.SlackBuild19
-rw-r--r--libraries/libwebsockets/libwebsockets.info6
-rw-r--r--libraries/libwfut/doinst.sh3
-rw-r--r--libraries/libwfut/libwfut.SlackBuild21
-rw-r--r--libraries/libwfut/libwfut.info2
-rw-r--r--libraries/libwhisker2/README4
-rw-r--r--libraries/libwhisker2/libwhisker2.SlackBuild16
-rw-r--r--libraries/libwnck3/README5
-rw-r--r--libraries/libwnck3/libwnck3.SlackBuild124
-rw-r--r--libraries/libwnck3/libwnck3.info10
-rw-r--r--libraries/libwnck3/slack-desc19
-rw-r--r--libraries/libwpe/README2
-rw-r--r--libraries/libwpe/libwpe.SlackBuild17
-rw-r--r--libraries/libwpe/libwpe.info10
-rw-r--r--libraries/libwps/libwps.SlackBuild34
-rw-r--r--libraries/libwps/libwps.info6
-rw-r--r--libraries/libwrc/libwrc.SlackBuild36
-rw-r--r--libraries/libwrc/libwrc.info6
-rw-r--r--libraries/libx86emu/libx86emu.SlackBuild46
-rw-r--r--libraries/libx86emu/libx86emu.info8
-rw-r--r--libraries/libxc/README10
-rw-r--r--libraries/libxc/libxc.SlackBuild127
-rw-r--r--libraries/libxc/libxc.info10
-rw-r--r--libraries/libxc/slack-desc19
-rw-r--r--libraries/libxdg-basedir/README9
-rw-r--r--libraries/libxdg-basedir/libxdg-basedir.SlackBuild115
-rw-r--r--libraries/libxdg-basedir/libxdg-basedir.info10
-rw-r--r--libraries/libxdg-basedir/slack-desc19
-rw-r--r--libraries/libxfcegui4/doinst.sh5
-rw-r--r--libraries/libxfcegui4/libxfcegui4.SlackBuild36
-rw-r--r--libraries/libxkbcommon/README11
-rw-r--r--libraries/libxkbcommon/libxkbcommon.SlackBuild93
-rw-r--r--libraries/libxkbcommon/libxkbcommon.info10
-rw-r--r--libraries/libxkbcommon/slack-desc19
-rw-r--r--libraries/libxls/libxls.SlackBuild23
-rw-r--r--libraries/libxlsxwriter/README9
-rw-r--r--libraries/libxlsxwriter/libxlsxwriter.SlackBuild31
-rw-r--r--libraries/libxlsxwriter/libxlsxwriter.info8
-rw-r--r--libraries/libxmi/README11
-rw-r--r--libraries/libxmi/libxmi.SlackBuild33
-rw-r--r--libraries/libxml++/README8
-rw-r--r--libraries/libxml++/libxml++.SlackBuild26
-rw-r--r--libraries/libxml++3/libxml++3.SlackBuild25
-rw-r--r--libraries/libxml++3/libxml++3.info6
-rw-r--r--libraries/libxmlb/libxmlb.SlackBuild32
-rw-r--r--libraries/libxmlb/libxmlb.info8
-rw-r--r--libraries/libxmlbird/README2
-rw-r--r--libraries/libxmlbird/libxmlbird.SlackBuild101
-rw-r--r--libraries/libxmlbird/libxmlbird.info10
-rw-r--r--libraries/libxmlbird/slack-desc19
-rw-r--r--libraries/libxmp/README7
-rw-r--r--libraries/libxmp/libxmp.SlackBuild29
-rw-r--r--libraries/libxmp/libxmp.info6
-rw-r--r--libraries/libxnvctrl/README13
-rw-r--r--libraries/libxnvctrl/libxnvctrl.SlackBuild32
-rw-r--r--libraries/libxnvctrl/libxnvctrl.info8
-rw-r--r--libraries/libxnvctrl/libxnvctrl_so.patch86
-rw-r--r--libraries/libxsmm/README15
-rw-r--r--libraries/libxsmm/libxsmm.SlackBuild120
-rw-r--r--libraries/libxsmm/libxsmm.info10
-rw-r--r--libraries/libxsmm/slack-desc19
-rw-r--r--libraries/libyang/libyang.SlackBuild33
-rw-r--r--libraries/libyang/libyang.info8
-rw-r--r--libraries/libyubikey/libyubikey.SlackBuild20
-rw-r--r--libraries/libyubikey/libyubikey.info2
-rw-r--r--libraries/libyuv/README11
-rw-r--r--libraries/libyuv/changelog14
-rw-r--r--libraries/libyuv/libyuv.SlackBuild111
-rw-r--r--libraries/libyuv/libyuv.info10
-rw-r--r--libraries/libyuv/slack-desc19
-rw-r--r--libraries/libzdb/libzdb.SlackBuild27
-rw-r--r--libraries/libzdb/libzdb.info2
-rw-r--r--libraries/libzen/libzen.SlackBuild22
-rw-r--r--libraries/libzen/libzen.info6
-rw-r--r--libraries/libzia/README4
-rw-r--r--libraries/libzia/libzia.SlackBuild126
-rw-r--r--libraries/libzia/libzia.info10
-rw-r--r--libraries/libzia/slack-desc19
-rw-r--r--libraries/libzmf/libzmf.SlackBuild20
-rw-r--r--libraries/libzookeeper/libzookeeper.SlackBuild28
-rw-r--r--libraries/libzrtpcpp/libzrtpcpp.SlackBuild26
-rw-r--r--libraries/libzrtpcpp/libzrtpcpp.info6
-rw-r--r--libraries/lilv/README5
-rw-r--r--libraries/lilv/fix-python-bindings.patch54
-rw-r--r--libraries/lilv/lilv.SlackBuild76
-rw-r--r--libraries/lilv/lilv.info12
-rw-r--r--libraries/live555/README13
-rw-r--r--libraries/live555/live555.SlackBuild37
-rw-r--r--libraries/live555/live555.info10
-rw-r--r--libraries/live555/slack-desc2
-rw-r--r--libraries/lksctp-tools/lksctp-tools.SlackBuild39
-rw-r--r--libraries/lockdev/README4
-rw-r--r--libraries/lockdev/lockdev.SlackBuild22
-rw-r--r--libraries/log4c/log4c.SlackBuild26
-rw-r--r--libraries/log4cplus/log4cplus.SlackBuild26
-rw-r--r--libraries/log4cplus/log4cplus.info6
-rw-r--r--libraries/log4cpp/gcc43.patch26
-rw-r--r--libraries/log4cpp/log4cpp.SlackBuild29
-rw-r--r--libraries/log4cpp/log4cpp.info6
-rw-r--r--libraries/log4net/README9
-rw-r--r--libraries/log4net/log4net.SlackBuild16
-rw-r--r--libraries/log4shib/log4shib.SlackBuild39
-rw-r--r--libraries/logilab-astng/logilab-astng.SlackBuild18
-rw-r--r--libraries/logilab-common/logilab-common.SlackBuild18
-rw-r--r--libraries/logilab-common/logilab-common.info2
-rw-r--r--libraries/lua-MessagePack/README1
-rw-r--r--libraries/lua-MessagePack/lua-MessagePack.SlackBuild91
-rw-r--r--libraries/lua-MessagePack/lua-MessagePack.info10
-rw-r--r--libraries/lua-MessagePack/slack-desc19
-rw-r--r--libraries/lua-cjson/lua-cjson.SlackBuild30
-rw-r--r--libraries/lua-cmsgpack/README2
-rw-r--r--libraries/lua-cmsgpack/lua-cmsgpack.SlackBuild93
-rw-r--r--libraries/lua-cmsgpack/lua-cmsgpack.info10
-rw-r--r--libraries/lua-cmsgpack/slack-desc19
-rw-r--r--libraries/lua-filesystem/lua-filesystem.SlackBuild16
-rw-r--r--libraries/lua-filesystem/lua-filesystem.info2
-rw-r--r--libraries/lua-lpeg/README22
-rw-r--r--libraries/lua-lpeg/lua-lpeg.SlackBuild31
-rw-r--r--libraries/lua-lpeg/lua-lpeg.info10
-rw-r--r--libraries/lua-luv/README11
-rw-r--r--libraries/lua-luv/lua-luv.SlackBuild23
-rw-r--r--libraries/lua-luv/lua-luv.info16
-rw-r--r--libraries/lua-md5/lua-md5.SlackBuild39
-rw-r--r--libraries/lua-md5/lua-md5.info2
-rw-r--r--libraries/lua-mpack/README4
-rw-r--r--libraries/lua-mpack/lua-mpack.SlackBuild17
-rw-r--r--libraries/lua-mpack/lua-mpack.info4
-rw-r--r--libraries/lua-posix/README7
-rw-r--r--libraries/lua-posix/lua-posix.SlackBuild46
-rw-r--r--libraries/lua-posix/lua-posix.info6
-rw-r--r--libraries/lua-readline/lua-readline.SlackBuild57
-rw-r--r--libraries/lua-readline/lua-readline.info6
-rw-r--r--libraries/lua-readline/slack-desc2
-rw-r--r--libraries/lua-std._debug/lua-std._debug.SlackBuild16
-rw-r--r--libraries/lua-std.normalize/lua-std.normalize.SlackBuild20
-rw-r--r--libraries/lua-std.normalize/lua-std.normalize.info6
-rw-r--r--libraries/lua-zlib/lua-zlib.SlackBuild22
-rw-r--r--libraries/lua-zlib/lua-zlib.info2
-rw-r--r--libraries/lua53-filesystem/README5
-rw-r--r--libraries/lua53-filesystem/lua53-filesystem.SlackBuild107
-rw-r--r--libraries/lua53-filesystem/lua53-filesystem.info10
-rw-r--r--libraries/lua53-filesystem/slack-desc19
-rw-r--r--libraries/luacrypto/luacrypto.SlackBuild28
-rw-r--r--libraries/luacrypto/luacrypto.info8
-rw-r--r--libraries/luadbi/luadbi.SlackBuild61
-rw-r--r--libraries/luadbi/luadbi.info8
-rw-r--r--libraries/luaevent/luaevent.SlackBuild22
-rw-r--r--libraries/luaevent/luaevent.info2
-rw-r--r--libraries/luaexpat/luaexpat.SlackBuild22
-rw-r--r--libraries/luaexpat/luaexpat.info8
-rw-r--r--libraries/luaexpat/slack-desc2
-rw-r--r--libraries/luasec/luasec.SlackBuild24
-rw-r--r--libraries/luasec/luasec.info6
-rw-r--r--libraries/luasocket/luasocket.SlackBuild29
-rw-r--r--libraries/luasocket/luasocket.info8
-rw-r--r--libraries/lunasvg/README1
-rw-r--r--libraries/lunasvg/lunasvg.SlackBuild125
-rw-r--r--libraries/lunasvg/lunasvg.info10
-rw-r--r--libraries/lunasvg/slack-desc19
-rw-r--r--libraries/lunatic-python/README8
-rw-r--r--libraries/lunatic-python/lunatic-python.SlackBuild16
-rw-r--r--libraries/lvtk/README12
-rw-r--r--libraries/lvtk/lvtk.SlackBuild22
-rw-r--r--libraries/lvtk/lvtk.info2
-rw-r--r--libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild45
-rw-r--r--libraries/lxqt-build-tools/lxqt-build-tools.info14
-rw-r--r--libraries/lxqt-notificationd/README2
-rw-r--r--libraries/lxqt-notificationd/doinst.sh (renamed from libraries/MyGUI/doinst.sh)0
-rw-r--r--libraries/lxqt-notificationd/lxqt-notificationd.SlackBuild105
-rw-r--r--libraries/lxqt-notificationd/lxqt-notificationd.info10
-rw-r--r--libraries/lxqt-notificationd/slack-desc19
-rw-r--r--libraries/lxqt-qtplugin/README6
-rw-r--r--libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild101
-rw-r--r--libraries/lxqt-qtplugin/lxqt-qtplugin.info10
-rw-r--r--libraries/lxqt-qtplugin/slack-desc19
-rw-r--r--libraries/lxqt-sudo/README3
-rw-r--r--libraries/lxqt-sudo/lxqt-sudo.SlackBuild106
-rw-r--r--libraries/lxqt-sudo/lxqt-sudo.info10
-rw-r--r--libraries/lxqt-sudo/slack-desc19
-rw-r--r--libraries/manubulon-snmp-plugins/manubulon-snmp-plugins.SlackBuild16
-rw-r--r--libraries/mariadb_client/README9
-rw-r--r--libraries/mariadb_client/mariadb_client.SlackBuild105
-rw-r--r--libraries/mariadb_client/mariadb_client.info10
-rw-r--r--libraries/mariadb_client/slack-desc19
-rw-r--r--libraries/marisa/README3
-rw-r--r--libraries/marisa/marisa.SlackBuild100
-rw-r--r--libraries/marisa/marisa.info10
-rw-r--r--libraries/marisa/slack-desc19
-rw-r--r--libraries/mathgl/mathgl.SlackBuild30
-rw-r--r--libraries/mathgl/mathgl.info6
-rw-r--r--libraries/matplotlib/README23
-rw-r--r--libraries/matplotlib/SETUP.OUTPUT1351
-rw-r--r--libraries/matplotlib/matplotlib.SlackBuild100
-rw-r--r--libraries/matplotlib/matplotlib.info10
-rw-r--r--libraries/matplotlib/slack-desc19
-rw-r--r--libraries/mbedtls/mbedtls.SlackBuild36
-rw-r--r--libraries/mbedtls/mbedtls.info6
-rw-r--r--libraries/md4c/README40
-rw-r--r--libraries/md4c/md4c.SlackBuild110
-rw-r--r--libraries/md4c/md4c.info10
-rw-r--r--libraries/md4c/slack-desc19
-rw-r--r--libraries/mdds/mdds.SlackBuild26
-rw-r--r--libraries/mdds/mdds.info6
-rw-r--r--libraries/meanwhile/README21
-rw-r--r--libraries/meanwhile/meanwhile.SlackBuild48
-rw-r--r--libraries/med/hdf5-1.14.patch117
-rw-r--r--libraries/med/med.SlackBuild69
-rw-r--r--libraries/med/med.info8
-rw-r--r--libraries/menu-cache/README6
-rw-r--r--libraries/menu-cache/menu-cache.SlackBuild22
-rw-r--r--libraries/menu-cache/patches/Support-gcc10-compilation.patch108
-rw-r--r--libraries/mercator/mercator.SlackBuild20
-rw-r--r--libraries/microsoft-gsl/README5
-rw-r--r--libraries/microsoft-gsl/microsoft-gsl.SlackBuild104
-rw-r--r--libraries/microsoft-gsl/microsoft-gsl.info10
-rw-r--r--libraries/microsoft-gsl/slack-desc19
-rw-r--r--libraries/mimalloc/README2
-rw-r--r--libraries/mimalloc/mimalloc.SlackBuild103
-rw-r--r--libraries/mimalloc/mimalloc.info10
-rw-r--r--libraries/mimalloc/slack-desc19
-rw-r--r--libraries/mini18n/mini18n.SlackBuild16
-rw-r--r--libraries/miniupnpc/README6
-rw-r--r--libraries/miniupnpc/miniupnpc-cmake.patch66
-rw-r--r--libraries/miniupnpc/miniupnpc.SlackBuild59
-rw-r--r--libraries/miniupnpc/miniupnpc.info12
-rw-r--r--libraries/miniupnpc/slack-desc2
-rw-r--r--libraries/miniupnpc/slackware-version.patch16
-rw-r--r--libraries/mlt-bindings/README28
-rw-r--r--libraries/mlt-bindings/mlt-bindings.SlackBuild118
-rw-r--r--libraries/mlt-bindings/mlt-bindings.info10
-rw-r--r--libraries/mlt-bindings/slack-desc19
-rw-r--r--libraries/moddb/README8
-rw-r--r--libraries/moddb/moddb.SlackBuild98
-rw-r--r--libraries/moddb/moddb.info10
-rw-r--r--libraries/moddb/slack-desc19
-rw-r--r--libraries/mongo-c-driver/mongo-c-driver.SlackBuild55
-rw-r--r--libraries/mongo-c-driver/mongo-c-driver.info6
-rw-r--r--libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild18
-rw-r--r--libraries/mowitz/README6
-rw-r--r--libraries/mowitz/mowitz.SlackBuild34
-rw-r--r--libraries/mpir/README4
-rw-r--r--libraries/mpir/mpir.SlackBuild20
-rw-r--r--libraries/mpir/mpir.info4
-rw-r--r--libraries/mpir/slack-desc2
-rw-r--r--libraries/msgpack-c-c/README21
-rw-r--r--libraries/msgpack-c-c/msgpack-c-c.SlackBuild132
-rw-r--r--libraries/msgpack-c-c/msgpack-c-c.info10
-rw-r--r--libraries/msgpack-c-c/slack-desc19
-rw-r--r--libraries/msgpack-c-cpp/README21
-rw-r--r--libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild120
-rw-r--r--libraries/msgpack-c-cpp/msgpack-c-cpp.info10
-rw-r--r--libraries/msgpack-c-cpp/slack-desc19
-rw-r--r--libraries/msgpack-c/README17
-rw-r--r--libraries/msgpack-c/msgpack-c.SlackBuild40
-rw-r--r--libraries/msgpack-c/msgpack-c.info10
-rw-r--r--libraries/msx264/msx264.SlackBuild35
-rw-r--r--libraries/msx264/msx264.info2
-rw-r--r--libraries/mtxclient/README3
-rw-r--r--libraries/mtxclient/mtxclient.SlackBuild113
-rw-r--r--libraries/mtxclient/mtxclient.info10
-rw-r--r--libraries/mtxclient/slack-desc19
-rw-r--r--libraries/muParser/muParser.SlackBuild61
-rw-r--r--libraries/muParser/muParser.info10
-rw-r--r--libraries/mujs/README20
-rw-r--r--libraries/mujs/mujs.SlackBuild40
-rw-r--r--libraries/mujs/mujs.info10
-rw-r--r--libraries/munkres/README7
-rw-r--r--libraries/munkres/munkres.SlackBuild25
-rw-r--r--libraries/munkres/munkres.info10
-rw-r--r--libraries/muparserx/README7
-rw-r--r--libraries/muparserx/muparserx.SlackBuild107
-rw-r--r--libraries/muparserx/muparserx.info10
-rw-r--r--libraries/muparserx/slack-desc19
-rw-r--r--libraries/musicbrainzngs/musicbrainzngs.SlackBuild21
-rw-r--r--libraries/musicbrainzngs/musicbrainzngs.info10
-rw-r--r--libraries/mxml/link_with_pthread.diff11
-rw-r--r--libraries/mxml/mxml.SlackBuild33
-rw-r--r--libraries/mxml/mxml.info8
-rw-r--r--libraries/mxml/remove_rpath.diff13
-rw-r--r--libraries/mygpoclient/README12
-rw-r--r--libraries/mygpoclient/mygpoclient.SlackBuild70
-rw-r--r--libraries/mygpoclient/mygpoclient.info12
-rw-r--r--libraries/mygpoclient/slack-desc14
-rw-r--r--libraries/mysql++/README11
-rw-r--r--libraries/mysql++/mysql++.SlackBuild32
-rw-r--r--libraries/mysql++/mysql++.info8
-rw-r--r--libraries/mysql-connector-c++/README1
-rw-r--r--libraries/mysql-connector-c++/mariadb_api.patch13
-rw-r--r--libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild100
-rw-r--r--libraries/mysql-connector-c++/mysql-connector-c++.info10
-rw-r--r--libraries/mysql-connector-c++/slack-desc19
-rw-r--r--libraries/mysql-connector-python/README2
-rw-r--r--libraries/mysql-connector-python/mysql-connector-python.SlackBuild88
-rw-r--r--libraries/mysql-connector-python/mysql-connector-python.info10
-rw-r--r--libraries/mysql-connector-python/slack-desc19
-rw-r--r--libraries/mysqltcl/mysqltcl.SlackBuild47
-rw-r--r--libraries/nDPI/README7
-rw-r--r--libraries/nDPI/nDPI.SlackBuild120
-rw-r--r--libraries/nDPI/nDPI.info10
-rw-r--r--libraries/nDPI/slack-desc19
-rw-r--r--libraries/nacl/nacl.SlackBuild16
-rw-r--r--libraries/nanodbc/README4
-rw-r--r--libraries/nanodbc/nanodbc.SlackBuild114
-rw-r--r--libraries/nanodbc/nanodbc.info10
-rw-r--r--libraries/nanodbc/slack-desc19
-rw-r--r--libraries/nanosvg/README5
-rw-r--r--libraries/nanosvg/doinst.sh13
-rw-r--r--libraries/nanosvg/nanosvg.SlackBuild105
-rw-r--r--libraries/nanosvg/nanosvg.info10
-rw-r--r--libraries/nanosvg/slack-desc19
-rw-r--r--libraries/netcdf-fortran/README9
-rw-r--r--libraries/netcdf-fortran/netcdf-fortran.SlackBuild128
-rw-r--r--libraries/netcdf-fortran/netcdf-fortran.info10
-rw-r--r--libraries/netcdf-fortran/slack-desc19
-rw-r--r--libraries/netcdf/README15
-rw-r--r--libraries/netcdf/netcdf.SlackBuild59
-rw-r--r--libraries/netcdf/netcdf.info10
-rw-r--r--libraries/nextaw/README8
-rw-r--r--libraries/nextaw/nextaw.SlackBuild26
-rw-r--r--libraries/nghttp3/README42
-rw-r--r--libraries/nghttp3/nghttp3.SlackBuild105
-rw-r--r--libraries/nghttp3/nghttp3.info10
-rw-r--r--libraries/nghttp3/slack-desc19
-rw-r--r--libraries/ngtcp2/README3
-rw-r--r--libraries/ngtcp2/ngtcp2.SlackBuild119
-rw-r--r--libraries/ngtcp2/ngtcp2.info10
-rw-r--r--libraries/ngtcp2/slack-desc19
-rw-r--r--libraries/nini/README13
-rw-r--r--libraries/nini/nini.SlackBuild16
-rw-r--r--libraries/nlohmann_json/README35
-rw-r--r--libraries/nlohmann_json/nlohmann_json.SlackBuild108
-rw-r--r--libraries/nlohmann_json/nlohmann_json.info10
-rw-r--r--libraries/nlohmann_json/patches/1_6cec5aefc97ad219b6fd5a4132f88f7c8f6800ee.patch55
-rw-r--r--libraries/nlohmann_json/patches/2_660d0b58565073975d6f5d94365d6cbf150a4cf8.patch24
-rw-r--r--libraries/nlohmann_json/slack-desc19
-rw-r--r--libraries/nlopt/nlopt.SlackBuild58
-rw-r--r--libraries/nlopt/nlopt.info6
-rw-r--r--libraries/nltk/README12
-rw-r--r--libraries/nltk/nltk.SlackBuild79
-rw-r--r--libraries/nltk/nltk.info10
-rw-r--r--libraries/nltk/slack-desc19
-rw-r--r--libraries/nng/README7
-rw-r--r--libraries/nng/nng.SlackBuild113
-rw-r--r--libraries/nng/nng.info10
-rw-r--r--libraries/nng/slack-desc19
-rw-r--r--libraries/node-xoauth2/node-xoauth2.SlackBuild20
-rw-r--r--libraries/npth/README11
-rw-r--r--libraries/npth/npth.SlackBuild95
-rw-r--r--libraries/npth/npth.info10
-rw-r--r--libraries/npth/slack-desc19
-rw-r--r--libraries/nspluginwrapper/nspluginwrapper.SlackBuild23
-rw-r--r--libraries/nspluginwrapper/nspluginwrapper.info2
-rw-r--r--libraries/ntl/ntl.SlackBuild24
-rw-r--r--libraries/ntl/ntl.info6
-rw-r--r--libraries/nv-codec-headers/README18
-rw-r--r--libraries/nv-codec-headers/nv-codec-headers.SlackBuild81
-rw-r--r--libraries/nv-codec-headers/nv-codec-headers.info10
-rw-r--r--libraries/nv-codec-headers/slack-desc19
-rw-r--r--libraries/nx-libs/nx-libs.SlackBuild39
-rw-r--r--libraries/nx-libs/nx-libs.info6
-rw-r--r--libraries/oath-toolkit/oath-toolkit-gcc.patch68
-rw-r--r--libraries/oath-toolkit/oath-toolkit.SlackBuild25
-rw-r--r--libraries/oath-toolkit/oath-toolkit.info6
-rw-r--r--libraries/ocaml-batteries/README9
-rw-r--r--libraries/ocaml-batteries/ocaml-batteries.SlackBuild26
-rw-r--r--libraries/ocaml-batteries/ocaml-batteries.info8
-rw-r--r--libraries/ocaml-bisect/README1
-rw-r--r--libraries/ocaml-bisect/ocaml-bisect.SlackBuild104
-rw-r--r--libraries/ocaml-bisect/ocaml-bisect.info10
-rw-r--r--libraries/ocaml-bisect/slack-desc19
-rw-r--r--libraries/ocaml-camomile/README9
-rw-r--r--libraries/ocaml-camomile/ocaml-camomile.SlackBuild64
-rw-r--r--libraries/ocaml-camomile/ocaml-camomile.info8
-rw-r--r--libraries/ocaml-findlib/README9
-rw-r--r--libraries/ocaml-findlib/doinst.sh16
-rw-r--r--libraries/ocaml-findlib/ocaml-findlib.SlackBuild27
-rw-r--r--libraries/ocaml-findlib/ocaml-findlib.info10
-rw-r--r--libraries/ocaml-ounit/README3
-rw-r--r--libraries/ocaml-ounit/ocaml-ounit.SlackBuild97
-rw-r--r--libraries/ocaml-ounit/ocaml-ounit.info10
-rw-r--r--libraries/ocaml-ounit/slack-desc19
-rw-r--r--libraries/ocl-icd/README19
-rw-r--r--libraries/ocl-icd/ocl-icd.SlackBuild110
-rw-r--r--libraries/ocl-icd/ocl-icd.info10
-rw-r--r--libraries/ocl-icd/slack-desc19
-rw-r--r--libraries/ode/README12
-rw-r--r--libraries/ode/ode.SlackBuild28
-rw-r--r--libraries/ode/ode.info6
-rw-r--r--libraries/ode/slack-desc2
-rw-r--r--libraries/ogre/README4
-rw-r--r--libraries/ogre/ogre.SlackBuild61
-rw-r--r--libraries/ogre/ogre.info10
-rw-r--r--libraries/ois/ois.SlackBuild16
-rw-r--r--libraries/olm/README16
-rw-r--r--libraries/olm/olm.SlackBuild42
-rw-r--r--libraries/olm/olm.info10
-rw-r--r--libraries/onevpl/README15
-rw-r--r--libraries/onevpl/dont-force-doc-dir.patch20
-rw-r--r--libraries/onevpl/onevpl.SlackBuild126
-rw-r--r--libraries/onevpl/onevpl.info10
-rw-r--r--libraries/onevpl/slack-desc19
-rw-r--r--libraries/opal/README5
-rw-r--r--libraries/opal/ffmpeg2.patch398
-rw-r--r--libraries/opal/opal.SlackBuild149
-rw-r--r--libraries/opal/opal.info10
-rw-r--r--libraries/opal/slack-desc19
-rw-r--r--libraries/openbabel/README4
-rw-r--r--libraries/openbabel/openbabel.SlackBuild42
-rw-r--r--libraries/openbabel/openbabel.info8
-rw-r--r--libraries/opencl-amd/README9
-rw-r--r--libraries/opencl-amd/opencl-amd.SlackBuild165
-rw-r--r--libraries/opencl-amd/opencl-amd.info70
-rw-r--r--libraries/opencl-amd/slack-desc19
-rw-r--r--libraries/opencv-legacy/README46
-rw-r--r--libraries/opencv-legacy/fsh.patch72
-rw-r--r--libraries/opencv-legacy/opencv-legacy.SlackBuild136
-rw-r--r--libraries/opencv-legacy/opencv-legacy.info14
-rw-r--r--libraries/opencv-legacy/patch_vtk7.diff21
-rw-r--r--libraries/opencv-legacy/slack-desc19
-rw-r--r--libraries/opencv/README78
-rw-r--r--libraries/opencv/opencv.SlackBuild139
-rw-r--r--libraries/opencv/opencv.info12
-rw-r--r--libraries/opencv/slack-desc19
-rw-r--r--libraries/opendht/opendht.SlackBuild30
-rw-r--r--libraries/opendht/opendht.info2
-rw-r--r--libraries/openimagedenoise/README36
-rw-r--r--libraries/openimagedenoise/openimagedenoise.SlackBuild121
-rw-r--r--libraries/openimagedenoise/openimagedenoise.info10
-rw-r--r--libraries/openimagedenoise/slack-desc19
-rw-r--r--libraries/openjfx/README10
-rw-r--r--libraries/openjfx/openjfx.SlackBuild81
-rw-r--r--libraries/openjfx/openjfx.info10
-rw-r--r--libraries/openjfx/slack-desc19
-rw-r--r--libraries/opensaml/opensaml.SlackBuild22
-rw-r--r--libraries/opensaml/opensaml.info6
-rw-r--r--libraries/openvdb/README16
-rw-r--r--libraries/openvdb/openvdb.SlackBuild128
-rw-r--r--libraries/openvdb/openvdb.info10
-rw-r--r--libraries/openvdb/slack-desc19
-rw-r--r--libraries/openvino/README9
-rw-r--r--libraries/openvino/openvino.SlackBuild180
-rw-r--r--libraries/openvino/openvino.info22
-rw-r--r--libraries/openvino/slack-desc19
-rw-r--r--libraries/openvkl/README33
-rw-r--r--libraries/openvkl/openvkl.SlackBuild119
-rw-r--r--libraries/openvkl/openvkl.info10
-rw-r--r--libraries/openvkl/slack-desc19
-rw-r--r--libraries/orcania/orcania.SlackBuild25
-rw-r--r--libraries/orcania/orcania.info8
-rw-r--r--libraries/ordereddict/ordereddict.SlackBuild16
-rw-r--r--libraries/osgQt/README7
-rw-r--r--libraries/osgQt/osgQt.SlackBuild25
-rw-r--r--libraries/osgQt/osgQt.info6
-rw-r--r--libraries/ospray/README25
-rw-r--r--libraries/ospray/ospray.SlackBuild119
-rw-r--r--libraries/ospray/ospray.info10
-rw-r--r--libraries/ospray/slack-desc19
-rw-r--r--libraries/ospray_studio/README18
-rw-r--r--libraries/ospray_studio/ospray_studio.SlackBuild121
-rw-r--r--libraries/ospray_studio/ospray_studio.info10
-rw-r--r--libraries/ospray_studio/slack-desc19
-rw-r--r--libraries/p4api/p4api.SlackBuild16
-rw-r--r--libraries/paho-mqtt/README19
-rw-r--r--libraries/paho-mqtt/paho-mqtt.SlackBuild85
-rw-r--r--libraries/paho-mqtt/paho-mqtt.info10
-rw-r--r--libraries/paho-mqtt/slack-desc19
-rw-r--r--libraries/pam_usb/README12
-rw-r--r--libraries/pam_usb/pam_usb.SlackBuild96
-rw-r--r--libraries/pam_usb/pam_usb.info10
-rw-r--r--libraries/pam_usb/slack-desc19
-rw-r--r--libraries/pandarallel/README3
-rw-r--r--libraries/pandarallel/pandarallel.SlackBuild104
-rw-r--r--libraries/pandarallel/pandarallel.info10
-rw-r--r--libraries/pandarallel/slack-desc19
-rw-r--r--libraries/pangox-compat/pangox-compat.SlackBuild47
-rw-r--r--libraries/pangox-compat/pangox-compat.info6
-rw-r--r--libraries/pangox-compat/patches/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch39
-rw-r--r--libraries/pangox-compat/patches/0002-disable-shaper.patch15
-rw-r--r--libraries/parsec/README17
-rw-r--r--libraries/parsec/parsec.SlackBuild119
-rw-r--r--libraries/parsec/parsec.info10
-rw-r--r--libraries/parsec/slack-desc19
-rw-r--r--libraries/pcl/README25
-rw-r--r--libraries/pcl/pcl.SlackBuild19
-rw-r--r--libraries/pcl/pcl.info6
-rw-r--r--libraries/pcre2/README2
-rw-r--r--libraries/pcre2/pcre2.SlackBuild103
-rw-r--r--libraries/pcre2/pcre2.info10
-rw-r--r--libraries/pcre2/slack-desc19
-rw-r--r--libraries/pdf4tcl/README19
-rw-r--r--libraries/pdf4tcl/pdf4tcl.SlackBuild76
-rw-r--r--libraries/pdf4tcl/pdf4tcl.info10
-rw-r--r--libraries/pdf4tcl/pdf4tcl.n1207
-rw-r--r--libraries/pdf4tcl/slack-desc19
-rw-r--r--libraries/pexpect/README8
-rw-r--r--libraries/pexpect/pexpect.SlackBuild17
-rw-r--r--libraries/pexpect/pexpect.info6
-rw-r--r--libraries/pgplot/README16
-rw-r--r--libraries/pgplot/doinst.sh26
-rw-r--r--libraries/pgplot/drivers.list114
-rw-r--r--libraries/pgplot/pgplot.SlackBuild141
-rw-r--r--libraries/pgplot/pgplot.info10
-rw-r--r--libraries/pgplot/slack-desc19
-rw-r--r--libraries/pgtcl-ng/README7
-rw-r--r--libraries/pgtcl-ng/pgtcl-ng.SlackBuild26
-rw-r--r--libraries/php-imagick/imagick.ini11
-rw-r--r--libraries/php-imagick/php-imagick.SlackBuild46
-rw-r--r--libraries/php-imagick/php-imagick.info8
-rw-r--r--libraries/php-memcache/php-memcache.SlackBuild30
-rw-r--r--libraries/php-memcache/php-memcache.info6
-rw-r--r--libraries/php-memcached/php-memcached.SlackBuild30
-rw-r--r--libraries/php-memcached/php-memcached.info6
-rw-r--r--libraries/php-mssql/README5
-rw-r--r--libraries/php-mssql/doinst.sh14
-rw-r--r--libraries/php-mssql/mssql.ini53
-rw-r--r--libraries/php-mssql/php-mssql.SlackBuild114
-rw-r--r--libraries/php-mssql/php-mssql.info10
-rw-r--r--libraries/php-mssql/slack-desc19
-rw-r--r--libraries/php-oci8/php-oci8.SlackBuild34
-rw-r--r--libraries/php-oci8/php-oci8.info6
-rw-r--r--libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild28
-rw-r--r--libraries/php-pdo_dblib/php-pdo_dblib.info6
-rw-r--r--libraries/php-pgsql/php-pgsql.SlackBuild34
-rw-r--r--libraries/php-pgsql/php-pgsql.info8
-rw-r--r--libraries/php-redis/php-redis.SlackBuild32
-rw-r--r--libraries/php-redis/php-redis.info10
-rw-r--r--libraries/php-ssh2/php-ssh2.SlackBuild30
-rw-r--r--libraries/php-ssh2/php-ssh2.info6
-rw-r--r--libraries/php-stomp/php-stomp.SlackBuild22
-rw-r--r--libraries/php-stomp/php-stomp.info6
-rw-r--r--libraries/physfs/README6
-rw-r--r--libraries/physfs/physfs.SlackBuild31
-rw-r--r--libraries/physfs/physfs.info6
-rw-r--r--libraries/pidgin-mra/pidgin-mra.SlackBuild43
-rw-r--r--libraries/pies/pies.SlackBuild16
-rw-r--r--libraries/pies/pies.info2
-rw-r--r--libraries/pies2overrides/pies2overrides.SlackBuild16
-rw-r--r--libraries/pigpio/README2
-rw-r--r--libraries/pigpio/pigpio.SlackBuild110
-rw-r--r--libraries/pigpio/pigpio.info10
-rw-r--r--libraries/pigpio/slack-desc19
-rw-r--r--libraries/pipewire/README4
-rw-r--r--libraries/pipewire/pipewire.SlackBuild96
-rw-r--r--libraries/pipewire/pipewire.info10
-rw-r--r--libraries/pipewire/slack-desc19
-rw-r--r--libraries/pjsip/pjsip.SlackBuild27
-rw-r--r--libraries/pjsip/pjsip.info6
-rw-r--r--libraries/pkcs11-helper/README6
-rw-r--r--libraries/pkcs11-helper/pkcs11-helper.SlackBuild114
-rw-r--r--libraries/pkcs11-helper/pkcs11-helper.info10
-rw-r--r--libraries/pkcs11-helper/slack-desc19
-rw-r--r--libraries/plastid/README3
-rw-r--r--libraries/plastid/plastid.SlackBuild107
-rw-r--r--libraries/plastid/plastid.info10
-rw-r--r--libraries/plastid/slack-desc19
-rw-r--r--libraries/platform/platform.SlackBuild16
-rw-r--r--libraries/plib/plib.SlackBuild20
-rw-r--r--libraries/plog/README1
-rw-r--r--libraries/plog/plog.SlackBuild107
-rw-r--r--libraries/plog/plog.info10
-rw-r--r--libraries/plog/slack-desc19
-rw-r--r--libraries/plplot/README11
-rw-r--r--libraries/plplot/fix-QPainterPath-include.patch11
-rw-r--r--libraries/plplot/plplot.SlackBuild22
-rw-r--r--libraries/plplot/plplot.info6
-rw-r--r--libraries/plumbum/plumbum.SlackBuild85
-rw-r--r--libraries/plumbum/plumbum.info10
-rw-r--r--libraries/plumbum/slack-desc19
-rw-r--r--libraries/plyr/README9
-rw-r--r--libraries/plyr/plyr.SlackBuild93
-rw-r--r--libraries/plyr/plyr.info10
-rw-r--r--libraries/plyr/slack-desc19
-rw-r--r--libraries/png++/png++.SlackBuild16
-rw-r--r--libraries/poco/README16
-rw-r--r--libraries/poco/doinst.sh3
-rw-r--r--libraries/poco/poco.SlackBuild40
-rw-r--r--libraries/poco/poco.info10
-rw-r--r--libraries/poco/poco_mariadb.patch12
-rw-r--r--libraries/podcastparser/README3
-rw-r--r--libraries/podcastparser/podcastparser.SlackBuild83
-rw-r--r--libraries/podcastparser/podcastparser.info10
-rw-r--r--libraries/podcastparser/slack-desc19
-rw-r--r--libraries/podofo/gcc12.patch39
-rw-r--r--libraries/podofo/podofo-0.9.4_build.patch12
-rw-r--r--libraries/podofo/podofo.SlackBuild44
-rw-r--r--libraries/podofo/podofo.info6
-rw-r--r--libraries/polyclipping/polyclipping.SlackBuild16
-rw-r--r--libraries/poppler-qt5/README4
-rw-r--r--libraries/poppler-qt5/poppler-qt5.SlackBuild106
-rw-r--r--libraries/poppler-qt5/poppler-qt5.info10
-rw-r--r--libraries/poppler-qt5/slack-desc19
-rw-r--r--libraries/portsmf/README8
-rw-r--r--libraries/portsmf/portsmf.SlackBuild119
-rw-r--r--libraries/portsmf/portsmf.info10
-rw-r--r--libraries/portsmf/portsmf_sharedlib.patch35
-rw-r--r--libraries/portsmf/slack-desc19
-rw-r--r--libraries/process-cpp/process-cpp.SlackBuild32
-rw-r--r--libraries/process-cpp/process-cpp.info6
-rw-r--r--libraries/process-cpp/slack-desc2
-rw-r--r--libraries/progressbar/README21
-rw-r--r--libraries/progressbar/progressbar.SlackBuild27
-rw-r--r--libraries/properties-cpp/properties-cpp.SlackBuild43
-rw-r--r--libraries/properties-cpp/properties-cpp.info8
-rw-r--r--libraries/protobuf-c/711.patch169
-rw-r--r--libraries/protobuf-c/protobuf-c.SlackBuild38
-rw-r--r--libraries/protobuf-c/protobuf-c.info10
-rw-r--r--libraries/protozero/README10
-rw-r--r--libraries/protozero/protozero.SlackBuild113
-rw-r--r--libraries/protozero/protozero.info10
-rw-r--r--libraries/protozero/slack-desc19
-rw-r--r--libraries/proxygen/README9
-rw-r--r--libraries/proxygen/ax_prefix_config_h.m4203
-rw-r--r--libraries/proxygen/proxygen.SlackBuild103
-rw-r--r--libraries/proxygen/proxygen.info12
-rw-r--r--libraries/proxygen/proxygen.patch28
-rw-r--r--libraries/proxygen/slack-desc19
-rw-r--r--libraries/psqlodbc/psqlodbc.SlackBuild20
-rw-r--r--libraries/ptex/README11
-rw-r--r--libraries/ptex/ptex.SlackBuild115
-rw-r--r--libraries/ptex/ptex.info10
-rw-r--r--libraries/ptex/slack-desc19
-rw-r--r--libraries/pthsem/pthsem.SlackBuild26
-rw-r--r--libraries/pthsem/pthsem.info2
-rw-r--r--libraries/ptlib/README9
-rw-r--r--libraries/ptlib/ptlib-2.10.10-mga-bison-parameter.patch39
-rw-r--r--libraries/ptlib/ptlib.SlackBuild116
-rw-r--r--libraries/ptlib/ptlib.info10
-rw-r--r--libraries/ptlib/slack-desc19
-rw-r--r--libraries/ptlib/ssl3.patch19
-rw-r--r--libraries/ptypes/ptypes.SlackBuild34
-rw-r--r--libraries/ptypes/ptypes.info4
-rw-r--r--libraries/pugixml/pugixml.SlackBuild20
-rw-r--r--libraries/pugixml/pugixml.info6
-rw-r--r--libraries/pyPEG2/README9
-rw-r--r--libraries/pyPEG2/pyPEG2.SlackBuild32
-rw-r--r--libraries/pyPEG2/pyPEG2.info10
-rw-r--r--libraries/pyacoustid/README5
-rw-r--r--libraries/pyacoustid/pyacoustid.SlackBuild28
-rw-r--r--libraries/pyacoustid/pyacoustid.info12
-rw-r--r--libraries/pycparser/README8
-rw-r--r--libraries/pycparser/pycparser.SlackBuild23
-rw-r--r--libraries/pyechonest/README18
-rw-r--r--libraries/pyechonest/pyechonest.SlackBuild87
-rw-r--r--libraries/pyechonest/pyechonest.info10
-rw-r--r--libraries/pyechonest/slack-desc19
-rw-r--r--libraries/pyftpdlib/README12
-rw-r--r--libraries/pyftpdlib/pyftpdlib.SlackBuild16
-rw-r--r--libraries/pyjf3/pyjf3.SlackBuild16
-rw-r--r--libraries/pyjf3/pyjf3.info2
-rw-r--r--libraries/pykdtree/README1
-rw-r--r--libraries/pykdtree/pykdtree.SlackBuild85
-rw-r--r--libraries/pykdtree/pykdtree.info10
-rw-r--r--libraries/pykdtree/slack-desc19
-rw-r--r--libraries/pylast/README15
-rw-r--r--libraries/pylast/pylast.SlackBuild35
-rw-r--r--libraries/pylast/pylast.info12
-rw-r--r--libraries/pylibpcap/pylibpcap.SlackBuild22
-rw-r--r--libraries/pymdstat/README2
-rw-r--r--libraries/pymdstat/pymdstat.SlackBuild78
-rw-r--r--libraries/pymdstat/pymdstat.info10
-rw-r--r--libraries/pymdstat/slack-desc19
-rw-r--r--libraries/pymediainfo/pymediainfo.SlackBuild38
-rw-r--r--libraries/pymediainfo/pymediainfo.info12
-rw-r--r--libraries/pymediainfo/slack-desc2
-rw-r--r--libraries/pyqode.core/pyqode.core.SlackBuild16
-rw-r--r--libraries/pyqode.core/pyqode.core.info2
-rw-r--r--libraries/pysendfile/README10
-rw-r--r--libraries/pysendfile/pysendfile.SlackBuild16
-rw-r--r--libraries/pytaglib/README4
-rw-r--r--libraries/pytaglib/pytaglib.SlackBuild100
-rw-r--r--libraries/pytaglib/pytaglib.info10
-rw-r--r--libraries/pytaglib/slack-desc19
-rw-r--r--libraries/pyte/pyte.SlackBuild22
-rw-r--r--libraries/pyte/pyte.info10
-rw-r--r--libraries/python-efl/README5
-rw-r--r--libraries/python-efl/python-efl.SlackBuild29
-rw-r--r--libraries/python-efl/python-efl.info6
-rw-r--r--libraries/python-gnupg/README14
-rw-r--r--libraries/python-gnupg/python-gnupg.SlackBuild16
-rw-r--r--libraries/python-librtmp/python-librtmp.SlackBuild16
-rw-r--r--libraries/python-meld3/README15
-rw-r--r--libraries/python-meld3/python-meld3.SlackBuild16
-rw-r--r--libraries/python-ntlm/python-ntlm.SlackBuild16
-rw-r--r--libraries/python-ruamel.yaml/README15
-rw-r--r--libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild72
-rw-r--r--libraries/python-ruamel.yaml/python-ruamel.yaml.info10
-rw-r--r--libraries/python-ruamel.yaml/slack-desc19
-rw-r--r--libraries/python-xlrd/doinst.sh3
-rw-r--r--libraries/python-xlrd/python-xlrd.SlackBuild17
-rw-r--r--libraries/python2-PyYAML/README (renamed from libraries/PyYAML/README)0
-rw-r--r--libraries/python2-PyYAML/python2-PyYAML.SlackBuild97
-rw-r--r--libraries/python2-PyYAML/python2-PyYAML.info10
-rw-r--r--libraries/python2-PyYAML/slack-desc19
-rw-r--r--libraries/python2-matplotlib/README26
-rw-r--r--libraries/python2-matplotlib/python2-matplotlib.SlackBuild111
-rw-r--r--libraries/python2-matplotlib/python2-matplotlib.info10
-rw-r--r--libraries/python2-matplotlib/setupext.py (renamed from libraries/matplotlib/setupext.py)273
-rw-r--r--libraries/python2-matplotlib/slack-desc19
-rw-r--r--libraries/python2-reportlab/README23
-rw-r--r--libraries/python2-reportlab/python2-reportlab.SlackBuild126
-rw-r--r--libraries/python2-reportlab/python2-reportlab.info12
-rw-r--r--libraries/python2-reportlab/slack-desc19
-rw-r--r--libraries/python2-ruamel.yaml/README15
-rw-r--r--libraries/python2-ruamel.yaml/python2-ruamel.yaml.SlackBuild79
-rw-r--r--libraries/python2-ruamel.yaml/python2-ruamel.yaml.info10
-rw-r--r--libraries/python2-ruamel.yaml/slack-desc19
-rw-r--r--libraries/python3-CherryPy/README4
-rw-r--r--libraries/python3-CherryPy/python3-CherryPy.SlackBuild85
-rw-r--r--libraries/python3-CherryPy/python3-CherryPy.info10
-rw-r--r--libraries/python3-CherryPy/slack-desc19
-rw-r--r--libraries/python3-PyQt5/README2
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.SlackBuild113
-rw-r--r--libraries/python3-PyQt5/python3-PyQt5.info10
-rw-r--r--libraries/python3-PyQt5/slack-desc19
-rw-r--r--libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild34
-rw-r--r--libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.info10
-rw-r--r--libraries/python3-PyYAML/README8
-rw-r--r--libraries/python3-PyYAML/python3-PyYAML.SlackBuild88
-rw-r--r--libraries/python3-PyYAML/python3-PyYAML.info10
-rw-r--r--libraries/python3-PyYAML/slack-desc19
-rw-r--r--libraries/python3-dvdvideo/python3-dvdvideo.SlackBuild16
-rw-r--r--libraries/python3-dvdvideo/python3-dvdvideo.info2
-rw-r--r--libraries/python3-gbinder/README1
-rw-r--r--libraries/python3-gbinder/python3-gbinder.SlackBuild84
-rw-r--r--libraries/python3-gbinder/python3-gbinder.info10
-rw-r--r--libraries/python3-gbinder/slack-desc19
-rw-r--r--libraries/python3-imapclient/README18
-rw-r--r--libraries/python3-imapclient/python3-imapclient.SlackBuild78
-rw-r--r--libraries/python3-imapclient/python3-imapclient.info10
-rw-r--r--libraries/python3-imapclient/slack-desc19
-rw-r--r--libraries/python3-pillow/README8
-rw-r--r--libraries/python3-pillow/python3-pillow.SlackBuild107
-rw-r--r--libraries/python3-pillow/python3-pillow.info10
-rw-r--r--libraries/python3-pillow/slack-desc19
-rw-r--r--libraries/python3-plumbum/README (renamed from libraries/plumbum/README)0
-rw-r--r--libraries/python3-plumbum/python3-plumbum.SlackBuild99
-rw-r--r--libraries/python3-plumbum/python3-plumbum.info10
-rw-r--r--libraries/python3-plumbum/slack-desc19
-rw-r--r--libraries/python3-pymdstat/README2
-rw-r--r--libraries/python3-pymdstat/python3-pymdstat.SlackBuild99
-rw-r--r--libraries/python3-pymdstat/python3-pymdstat.info10
-rw-r--r--libraries/python3-pymdstat/slack-desc19
-rw-r--r--libraries/python3-rpyc/README3
-rw-r--r--libraries/python3-rpyc/python3-rpyc.SlackBuild84
-rw-r--r--libraries/python3-rpyc/python3-rpyc.info10
-rw-r--r--libraries/python3-rpyc/slack-desc19
-rw-r--r--libraries/python3-ruamel.yaml.clib/README2
-rw-r--r--libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.SlackBuild97
-rw-r--r--libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.info10
-rw-r--r--libraries/python3-ruamel.yaml.clib/slack-desc19
-rw-r--r--libraries/python3-ruamel.yaml/README15
-rw-r--r--libraries/python3-ruamel.yaml/python3-ruamel.yaml.SlackBuild79
-rw-r--r--libraries/python3-ruamel.yaml/python3-ruamel.yaml.info10
-rw-r--r--libraries/python3-ruamel.yaml/slack-desc19
-rw-r--r--libraries/python3-zc.lockfile/README2
-rw-r--r--libraries/python3-zc.lockfile/python3-zc.lockfile.SlackBuild90
-rw-r--r--libraries/python3-zc.lockfile/python3-zc.lockfile.info10
-rw-r--r--libraries/python3-zc.lockfile/slack-desc19
-rw-r--r--libraries/qca-qt5/Add_support_for_OpenSSL_1.1.0.diff.gzbin10948 -> 0 bytes
-rw-r--r--libraries/qca-qt5/README11
-rw-r--r--libraries/qca-qt5/qca-qt5.SlackBuild118
-rw-r--r--libraries/qca-qt5/qca-qt5.info10
-rw-r--r--libraries/qca-qt5/qca.tlsunittest.cpp.diff.gzbin632 -> 0 bytes
-rw-r--r--libraries/qca-qt5/slack-desc19
-rw-r--r--libraries/qgnomeplatform/qgnomeplatform.SlackBuild16
-rw-r--r--libraries/qgnomeplatform/qgnomeplatform.info2
-rw-r--r--libraries/qml-material/README2
-rw-r--r--libraries/qml-material/qml-material.SlackBuild16
-rw-r--r--libraries/qml-material/qml-material.info2
-rw-r--r--libraries/qmltermwidget/qmltermwidget.SlackBuild22
-rw-r--r--libraries/qmltermwidget/qmltermwidget.info8
-rw-r--r--libraries/qoauth/qoauth.SlackBuild24
-rw-r--r--libraries/qoauth/qoauth.info6
-rw-r--r--libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild42
-rw-r--r--libraries/qt-assistant-compat/qt-assistant-compat.info2
-rw-r--r--libraries/qt-avif-image-plugin/README4
-rw-r--r--libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild97
-rw-r--r--libraries/qt-avif-image-plugin/qt-avif-image-plugin.info10
-rw-r--r--libraries/qt-avif-image-plugin/slack-desc19
-rw-r--r--libraries/qt-heif-image-plugin/README4
-rw-r--r--libraries/qt-heif-image-plugin/qt-heif-image-plugin.SlackBuild102
-rw-r--r--libraries/qt-heif-image-plugin/qt-heif-image-plugin.info10
-rw-r--r--libraries/qt-heif-image-plugin/slack-desc19
-rw-r--r--libraries/qt-jpegxl-image-plugin/README4
-rw-r--r--libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild94
-rw-r--r--libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info10
-rw-r--r--libraries/qt-jpegxl-image-plugin/slack-desc19
-rw-r--r--libraries/qt3/README14
-rw-r--r--libraries/qt3/doinst.sh11
-rw-r--r--libraries/qt3/qt3.SlackBuild76
-rw-r--r--libraries/qt3/qt3.info2
-rw-r--r--libraries/qt3/slack-desc2
-rw-r--r--libraries/qt4/README16
-rw-r--r--libraries/qt4/README_SBo.txt48
-rw-r--r--libraries/qt4/doinst.sh9
-rw-r--r--libraries/qt4/patches/qt-4.8-disable-sslv3.patch56
-rw-r--r--libraries/qt4/patches/qt-4.8-poll.patch812
-rw-r--r--libraries/qt4/patches/qt-aarch64.patch514
-rw-r--r--libraries/qt4/patches/qt-cupsEnumDests.patch238
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.6.2-cups.patch84
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch69
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch41
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-s390-atomic.patch20
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-multilib-optflags.patch36
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch12
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-linguist_qmake-qt4.patch27
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch10
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.2--assistant-crash.patch13
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-icu_no_debug.patch23
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-no_Werror.patch12
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch14
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch16
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-14467.patch24
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch84
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch12
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch29
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-mysql_config.patch19
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qgtkstyle_disable_gtk_theme_check.patch22
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch19
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch12
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-uic_multilib.patch28
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-webcore_debuginfo.patch16
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch17
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch94
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch63
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch12
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-s390.patch31
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-system-clucene.patch351
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-systemtrayicon.patch1456
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-QT_VERSION_CHECK.patch12
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-alsa-1.1.patch137
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-crash-in-qppmhandler.patch12
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-firebird.patch45
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-fix_pointer_comparison_to_0.patch22
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc6.patch35
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch13
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-icu59.patch28
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mariadb.patch28
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mips64.patch13
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-openssl-1.1.patch694
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qforeach.patch40
-rw-r--r--libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qmake_LFLAGS.patch12
-rw-r--r--libraries/qt4/patches/qt-prefer_adwaita_on_gnome.patch17
-rw-r--r--libraries/qt4/patches/qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch50
-rw-r--r--libraries/qt4/patches/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch12
-rw-r--r--libraries/qt4/patches/series52
-rw-r--r--libraries/qt4/profile.d/qt4.csh20
-rw-r--r--libraries/qt4/profile.d/qt4.sh22
-rw-r--r--libraries/qt4/qt4.SlackBuild314
-rw-r--r--libraries/qt4/qt4.info10
-rw-r--r--libraries/qt4/slack-desc19
-rw-r--r--libraries/qt5-legacy/README24
-rw-r--r--libraries/qt5-legacy/desktop/assistant-qt5.desktop8
-rw-r--r--libraries/qt5-legacy/desktop/designer-qt5.desktop10
-rw-r--r--libraries/qt5-legacy/desktop/linguist-qt5.desktop9
-rw-r--r--libraries/qt5-legacy/desktop/qdbusviewer-qt5.desktop9
-rw-r--r--libraries/qt5-legacy/doinst.sh9
-rw-r--r--libraries/qt5-legacy/patches/nss-update-sslv3-nonce.patch44
-rw-r--r--libraries/qt5-legacy/patches/qt5.mysql.h.diff12
-rw-r--r--libraries/qt5-legacy/profile.d/qt5.csh17
-rw-r--r--libraries/qt5-legacy/profile.d/qt5.sh17
-rw-r--r--libraries/qt5-legacy/qt5-legacy.SlackBuild280
-rw-r--r--libraries/qt5-legacy/qt5-legacy.info10
-rw-r--r--libraries/qt5-legacy/slack-desc19
-rw-r--r--libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.SlackBuild20
-rw-r--r--libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.info8
-rw-r--r--libraries/qt5-postgresql/README1
-rw-r--r--libraries/qt5-postgresql/qt5-postgresql.SlackBuild103
-rw-r--r--libraries/qt5-postgresql/qt5-postgresql.info10
-rw-r--r--libraries/qt5-postgresql/slack-desc19
-rw-r--r--libraries/qt5-styleplugins/patches/0001-fix-build-against-Qt-5.15.patch44
-rw-r--r--libraries/qt5-styleplugins/patches/0002-fix-gtk2-background.patch25
-rw-r--r--libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild24
-rw-r--r--libraries/qt5-styleplugins/qt5-styleplugins.info2
-rw-r--r--libraries/qt5-webkit-annulen/README11
-rw-r--r--libraries/qt5-webkit-annulen/qt5-webkit-annulen.SlackBuild105
-rw-r--r--libraries/qt5-webkit-annulen/qt5-webkit-annulen.info10
-rw-r--r--libraries/qt5-webkit-annulen/slack-desc19
-rw-r--r--libraries/qt5-webkit-legacy/README7
-rw-r--r--libraries/qt5-webkit-legacy/doinst.sh9
-rw-r--r--libraries/qt5-webkit-legacy/platformplugin-install-path-fix.patch13
-rw-r--r--libraries/qt5-webkit-legacy/qt5-webkit-legacy.SlackBuild125
-rw-r--r--libraries/qt5-webkit-legacy/qt5-webkit-legacy.info10
-rw-r--r--libraries/qt5-webkit-legacy/slack-desc19
-rw-r--r--libraries/qt5-webkit/README5
-rw-r--r--libraries/qt5-webkit/doinst.sh9
-rw-r--r--libraries/qt5-webkit/platformplugin-install-path-fix.patch13
-rw-r--r--libraries/qt5-webkit/qt5-webkit.SlackBuild124
-rw-r--r--libraries/qt5-webkit/qt5-webkit.info10
-rw-r--r--libraries/qt5-webkit/slack-desc19
-rw-r--r--libraries/qt5/README117
-rw-r--r--libraries/qt5/README.benchmarks114
-rw-r--r--libraries/qt5/README.ccache46
-rw-r--r--libraries/qt5/desktop/assistant-qt5.desktop8
-rw-r--r--libraries/qt5/desktop/designer-qt5.desktop10
-rw-r--r--libraries/qt5/desktop/linguist-qt5.desktop9
-rw-r--r--libraries/qt5/desktop/qdbusviewer-qt5.desktop9
-rw-r--r--libraries/qt5/doinst.sh9
-rw-r--r--libraries/qt5/patches/explicitly-initialize-sqlite.patch217
-rw-r--r--libraries/qt5/patches/qt5.mysql.h.diff12
-rw-r--r--libraries/qt5/profile.d/qt5.csh17
-rw-r--r--libraries/qt5/profile.d/qt5.sh17
-rw-r--r--libraries/qt5/qt5.SlackBuild349
-rw-r--r--libraries/qt5/qt5.info10
-rw-r--r--libraries/qt5/slack-desc19
-rw-r--r--libraries/qt6keychain/README8
-rw-r--r--libraries/qt6keychain/qt6keychain.SlackBuild118
-rw-r--r--libraries/qt6keychain/qt6keychain.info10
-rw-r--r--libraries/qt6keychain/slack-desc19
-rw-r--r--libraries/qtermwidget/qtermwidget.SlackBuild20
-rw-r--r--libraries/qtermwidget/qtermwidget.info6
-rw-r--r--libraries/qtmimetypes/qtmimetypes.SlackBuild23
-rw-r--r--libraries/qtmimetypes/qtmimetypes.info2
-rw-r--r--libraries/quazip-qt4/README9
-rw-r--r--libraries/quazip-qt4/quazip-qt4.SlackBuild109
-rw-r--r--libraries/quazip-qt4/quazip-qt4.info10
-rw-r--r--libraries/quazip-qt4/slack-desc19
-rw-r--r--libraries/quazip-qt5/README11
-rw-r--r--libraries/quazip-qt5/quazip-qt5.SlackBuild98
-rw-r--r--libraries/quazip-qt5/quazip-qt5.info10
-rw-r--r--libraries/quazip-qt5/slack-desc19
-rw-r--r--libraries/quazip/README10
-rw-r--r--libraries/quazip/quazip.SlackBuild97
-rw-r--r--libraries/quazip/quazip.info10
-rw-r--r--libraries/quazip/slack-desc19
-rw-r--r--libraries/quesoglc/quesoglc.SlackBuild26
-rw-r--r--libraries/qutepart/qutepart.SlackBuild24
-rw-r--r--libraries/qutepart/qutepart.info8
-rw-r--r--libraries/qutepart/slack-desc2
-rw-r--r--libraries/qwt-qt5/README5
-rw-r--r--libraries/qwt-qt5/patch-6.1.4-pkgconfig.diff22
-rw-r--r--libraries/qwt-qt5/patch-6.1.4-qwtconfig.diff54
-rw-r--r--libraries/qwt-qt5/patch-6.1.4-qwtfunctions.diff27
-rw-r--r--libraries/qwt-qt5/qwt-qt5.SlackBuild104
-rw-r--r--libraries/qwt-qt5/qwt-qt5.info10
-rw-r--r--libraries/qwt-qt5/slack-desc19
-rw-r--r--libraries/qwt/README15
-rw-r--r--libraries/qwt/qwt.SlackBuild99
-rw-r--r--libraries/qwt/qwt.info6
-rw-r--r--libraries/qwt5/README15
-rw-r--r--libraries/qwt5/qwt5.SlackBuild108
-rw-r--r--libraries/qwt5/qwt5.info10
-rw-r--r--libraries/qwt5/qwtconfig.pri.patch38
-rw-r--r--libraries/qwt5/slack-desc19
-rw-r--r--libraries/qwtplot3d/README5
-rw-r--r--libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch34
-rw-r--r--libraries/qwtplot3d/qwtplot3d.SlackBuild110
-rw-r--r--libraries/qwtplot3d/qwtplot3d.info10
-rw-r--r--libraries/qwtplot3d/slack-desc19
-rw-r--r--libraries/qwtpolar/README7
-rw-r--r--libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch27
-rw-r--r--libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch32
-rw-r--r--libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch54
-rw-r--r--libraries/qwtpolar/qwtpolar.SlackBuild123
-rw-r--r--libraries/qwtpolar/qwtpolar.info10
-rw-r--r--libraries/qwtpolar/slack-desc19
-rw-r--r--libraries/qxmpp/README15
-rw-r--r--libraries/qxmpp/qxmpp.SlackBuild115
-rw-r--r--libraries/qxmpp/qxmpp.info10
-rw-r--r--libraries/qxmpp/slack-desc19
-rw-r--r--libraries/rabbitmq-c/README48
-rw-r--r--libraries/rabbitmq-c/rabbitmq-c.SlackBuild72
-rw-r--r--libraries/rabbitmq-c/rabbitmq-c.info8
-rw-r--r--libraries/range-v3/README5
-rw-r--r--libraries/range-v3/range-v3.SlackBuild109
-rw-r--r--libraries/range-v3/range-v3.info10
-rw-r--r--libraries/range-v3/slack-desc19
-rw-r--r--libraries/rapidjson/rapidjson.SlackBuild25
-rw-r--r--libraries/rapidyaml/README33
-rw-r--r--libraries/rapidyaml/rapidyaml.SlackBuild137
-rw-r--r--libraries/rapidyaml/rapidyaml.info16
-rw-r--r--libraries/rapidyaml/slack-desc19
-rw-r--r--libraries/raptor/raptor-2.0.15-libxml2-2.11.patch30
-rw-r--r--libraries/raptor/raptor.SlackBuild56
-rw-r--r--libraries/raptor/raptor.info6
-rw-r--r--libraries/rarfile/README8
-rw-r--r--libraries/rarfile/rarfile.SlackBuild38
-rw-r--r--libraries/rarfile/rarfile.info12
-rw-r--r--libraries/rasqal/README6
-rw-r--r--libraries/rasqal/rasqal.SlackBuild118
-rw-r--r--libraries/rasqal/rasqal.info10
-rw-r--r--libraries/rasqal/slack-desc19
-rw-r--r--libraries/raylib/README9
-rw-r--r--libraries/raylib/jarxm_linear_interpolation.patch10
-rw-r--r--libraries/raylib/raylib.SlackBuild114
-rw-r--r--libraries/raylib/raylib.info10
-rw-r--r--libraries/raylib/slack-desc19
-rw-r--r--libraries/re2/re2.SlackBuild22
-rw-r--r--libraries/re2/re2.info12
-rw-r--r--libraries/redland/README6
-rw-r--r--libraries/redland/redland.SlackBuild122
-rw-r--r--libraries/redland/redland.info10
-rw-r--r--libraries/redland/slack-desc19
-rw-r--r--libraries/remglk/remglk.SlackBuild19
-rw-r--r--libraries/remglk/remglk.info8
-rw-r--r--libraries/rep-gtk/README3
-rw-r--r--libraries/rep-gtk/rep-gtk.SlackBuild103
-rw-r--r--libraries/rep-gtk/rep-gtk.info10
-rw-r--r--libraries/rep-gtk/slack-desc19
-rw-r--r--libraries/reportlab/README23
-rw-r--r--libraries/reportlab/reportlab.SlackBuild115
-rw-r--r--libraries/reportlab/reportlab.info12
-rw-r--r--libraries/reportlab/slack-desc19
-rw-r--r--libraries/rest-legacy/README5
-rw-r--r--libraries/rest-legacy/rest-legacy.SlackBuild110
-rw-r--r--libraries/rest-legacy/rest-legacy.info10
-rw-r--r--libraries/rest-legacy/slack-desc19
-rw-r--r--libraries/rest/rest.SlackBuild53
-rw-r--r--libraries/rest/rest.info8
-rw-r--r--libraries/restbed/restbed.SlackBuild24
-rw-r--r--libraries/restbed/restbed.info6
-rw-r--r--libraries/rhino/README6
-rw-r--r--libraries/rhino/rhino.SlackBuild22
-rw-r--r--libraries/rhino/rhino.info2
-rw-r--r--libraries/rhonabwy/README11
-rw-r--r--libraries/rhonabwy/rhonabwy.SlackBuild111
-rw-r--r--libraries/rhonabwy/rhonabwy.info10
-rw-r--r--libraries/rhonabwy/slack-desc19
-rw-r--r--libraries/ring-daemon/README19
-rw-r--r--libraries/ring-daemon/patches/libressl-rules.mak.diff15
-rw-r--r--libraries/ring-daemon/patches/namedirectory.cpp.diff15
-rw-r--r--libraries/ring-daemon/patches/use_libexecdir.diff39
-rw-r--r--libraries/ring-daemon/ring-daemon.SlackBuild125
-rw-r--r--libraries/ring-daemon/ring-daemon.info40
-rw-r--r--libraries/ring-daemon/slack-desc19
-rw-r--r--libraries/ring-lrc/README1
-rw-r--r--libraries/ring-lrc/ring-lrc.SlackBuild96
-rw-r--r--libraries/ring-lrc/ring-lrc.info10
-rw-r--r--libraries/ring-lrc/slack-desc19
-rw-r--r--libraries/rkcommon/README5
-rw-r--r--libraries/rkcommon/rkcommon.SlackBuild114
-rw-r--r--libraries/rkcommon/rkcommon.info10
-rw-r--r--libraries/rkcommon/slack-desc19
-rw-r--r--libraries/rlog/README2
-rw-r--r--libraries/rlog/rlog.SlackBuild98
-rw-r--r--libraries/rlog/rlog.info10
-rw-r--r--libraries/rlog/slack-desc19
-rw-r--r--libraries/robin-map/README6
-rw-r--r--libraries/robin-map/robin-map.SlackBuild17
-rw-r--r--libraries/robin-map/robin-map.info6
-rw-r--r--libraries/rocksdb/rocksdb.SlackBuild16
-rw-r--r--libraries/rpyc/README3
-rw-r--r--libraries/rpyc/rpyc.SlackBuild85
-rw-r--r--libraries/rpyc/rpyc.info10
-rw-r--r--libraries/rpyc/slack-desc19
-rw-r--r--libraries/rrdtool/README11
-rw-r--r--libraries/rrdtool/rrdtool.SlackBuild24
-rw-r--r--libraries/rrdtool/rrdtool.info8
-rw-r--r--libraries/rrdtool/slack-desc2
-rw-r--r--libraries/rtmidi/README13
-rw-r--r--libraries/rtmidi/rtmidi.SlackBuild87
-rw-r--r--libraries/rtmidi/rtmidi.info10
-rw-r--r--libraries/rtmidi/slack-desc19
-rw-r--r--libraries/rtorrent-python/README6
-rw-r--r--libraries/rtorrent-python/rtorrent-python.SlackBuild16
-rw-r--r--libraries/rtrlib/rtrlib.SlackBuild25
-rw-r--r--libraries/rtrlib/rtrlib.info6
-rw-r--r--libraries/rudiments/README7
-rw-r--r--libraries/rudiments/rudiments.SlackBuild26
-rw-r--r--libraries/rudiments/rudiments.info6
-rw-r--r--libraries/rxtx/README4
-rw-r--r--libraries/rxtx/rxtx.SlackBuild53
-rw-r--r--libraries/rxtx/rxtx.info2
-rw-r--r--libraries/scafacos/README7
-rw-r--r--libraries/scafacos/libfcs.bib6
-rw-r--r--libraries/scafacos/scafacos-1.0.1.fix.diff188
-rw-r--r--libraries/scafacos/scafacos.SlackBuild112
-rw-r--r--libraries/scafacos/scafacos.info10
-rw-r--r--libraries/scafacos/slack-desc19
-rw-r--r--libraries/scalapack/README6
-rw-r--r--libraries/scalapack/scalapack.SlackBuild122
-rw-r--r--libraries/scalapack/scalapack.info10
-rw-r--r--libraries/scalapack/slack-desc19
-rw-r--r--libraries/sdformat/cmake.patch20
-rw-r--r--libraries/sdformat/sdformat.SlackBuild27
-rw-r--r--libraries/sdformat/sdformat.info4
-rw-r--r--libraries/seatd/README16
-rw-r--r--libraries/seatd/seatd.SlackBuild123
-rw-r--r--libraries/seatd/seatd.info10
-rw-r--r--libraries/seatd/slack-desc19
-rw-r--r--libraries/secp256k1/secp256k1.SlackBuild34
-rw-r--r--libraries/secp256k1/secp256k1.info6
-rw-r--r--libraries/serd/README4
-rw-r--r--libraries/serd/serd.SlackBuild70
-rw-r--r--libraries/serd/serd.info10
-rw-r--r--libraries/setproctitle/README4
-rw-r--r--libraries/setproctitle/setproctitle.SlackBuild27
-rw-r--r--libraries/setproctitle/setproctitle.info8
-rw-r--r--libraries/shairplay/shairplay.SlackBuild30
-rw-r--r--libraries/shairplay/shairplay.info10
-rw-r--r--libraries/simbody/simbody.SlackBuild32
-rw-r--r--libraries/simde/README8
-rw-r--r--libraries/simde/simde.SlackBuild71
-rw-r--r--libraries/simde/simde.info10
-rw-r--r--libraries/simde/slack-desc19
-rw-r--r--libraries/simpleini/README2
-rw-r--r--libraries/simpleini/simpleini.SlackBuild95
-rw-r--r--libraries/simpleini/simpleini.info10
-rw-r--r--libraries/simpleini/slack-desc19
-rw-r--r--libraries/skalibs/README32
-rw-r--r--libraries/skalibs/skalibs.SlackBuild42
-rw-r--r--libraries/skalibs/skalibs.info6
-rw-r--r--libraries/skalibs/slack-desc3
-rw-r--r--libraries/skalibs/sysdeps.cfg/sysdeps1
-rw-r--r--libraries/skalibs/sysdeps.cfg/sysdeps.h6
-rw-r--r--libraries/skalibs/sysdeps.cfg/target1
-rw-r--r--libraries/skalibs/sysdeps.cfg/util.lib1
-rw-r--r--libraries/skstream/skstream.SlackBuild20
-rw-r--r--libraries/slib/slib.SlackBuild53
-rw-r--r--libraries/slib/slib.info2
-rw-r--r--libraries/slv2/slv2.SlackBuild48
-rw-r--r--libraries/slv2/slv2.info6
-rw-r--r--libraries/smmap/smmap.SlackBuild16
-rw-r--r--libraries/smmap2/smmap2.SlackBuild16
-rw-r--r--libraries/smpeg2/smpeg2.SlackBuild20
-rw-r--r--libraries/smpeg2/smpeg2.info2
-rw-r--r--libraries/soci/README8
-rw-r--r--libraries/soci/slack-desc19
-rw-r--r--libraries/soci/soci.SlackBuild106
-rw-r--r--libraries/soci/soci.info10
-rw-r--r--libraries/sofia-sip/README7
-rw-r--r--libraries/sofia-sip/slack-desc19
-rw-r--r--libraries/sofia-sip/sofia-sip.SlackBuild114
-rw-r--r--libraries/sofia-sip/sofia-sip.info10
-rw-r--r--libraries/soil/soil.SlackBuild22
-rw-r--r--libraries/soil/soil.info2
-rw-r--r--libraries/sord/sord.SlackBuild65
-rw-r--r--libraries/sord/sord.info10
-rw-r--r--libraries/soundtouch/README13
-rw-r--r--libraries/soundtouch/soundtouch.SlackBuild54
-rw-r--r--libraries/soundtouch/soundtouch.info8
-rw-r--r--libraries/spandsp/README5
-rw-r--r--libraries/spandsp/slack-desc19
-rw-r--r--libraries/spandsp/spandsp.SlackBuild118
-rw-r--r--libraries/spandsp/spandsp.info10
-rw-r--r--libraries/sparsehash/sparsehash.SlackBuild34
-rw-r--r--libraries/sparsehash/sparsehash.info6
-rw-r--r--libraries/spdlog/README6
-rw-r--r--libraries/spdlog/slack-desc2
-rw-r--r--libraries/spdlog/spdlog.SlackBuild66
-rw-r--r--libraries/spdlog/spdlog.info12
-rw-r--r--libraries/spfft/README21
-rw-r--r--libraries/spfft/slack-desc19
-rw-r--r--libraries/spfft/spfft.SlackBuild151
-rw-r--r--libraries/spfft/spfft.info10
-rw-r--r--libraries/spglib/README14
-rw-r--r--libraries/spglib/slack-desc19
-rw-r--r--libraries/spglib/spglib.SlackBuild113
-rw-r--r--libraries/spglib/spglib.info10
-rw-r--r--libraries/spread-sheet-widget/README4
-rw-r--r--libraries/spread-sheet-widget/doinst.sh7
-rw-r--r--libraries/spread-sheet-widget/spread-sheet-widget.SlackBuild24
-rw-r--r--libraries/spread-sheet-widget/spread-sheet-widget.info8
-rw-r--r--libraries/sqliteodbc/sqliteodbc.SlackBuild27
-rw-r--r--libraries/sqliteodbc/sqliteodbc.info8
-rw-r--r--libraries/sqlpp11-connector-mysql/README13
-rw-r--r--libraries/sqlpp11-connector-mysql/slack-desc19
-rw-r--r--libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.SlackBuild98
-rw-r--r--libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.info10
-rw-r--r--libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch21
-rw-r--r--libraries/sqlpp11-connector-sqlite3/README13
-rw-r--r--libraries/sqlpp11-connector-sqlite3/slack-desc19
-rw-r--r--libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild98
-rw-r--r--libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info10
-rw-r--r--libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch23
-rw-r--r--libraries/sqlpp11/README4
-rw-r--r--libraries/sqlpp11/sqlpp11.SlackBuild19
-rw-r--r--libraries/sqlpp11/sqlpp11.info8
-rw-r--r--libraries/squish/squish.SlackBuild24
-rw-r--r--libraries/sratom/README4
-rw-r--r--libraries/sratom/sratom.SlackBuild63
-rw-r--r--libraries/sratom/sratom.info12
-rw-r--r--libraries/srt/README6
-rw-r--r--libraries/srt/slack-desc19
-rw-r--r--libraries/srt/srt.SlackBuild113
-rw-r--r--libraries/srt/srt.info10
-rw-r--r--libraries/stfl/python-support.patch2
-rw-r--r--libraries/stfl/stfl.SlackBuild16
-rw-r--r--libraries/stfl/stfl.info2
-rw-r--r--libraries/stk/stk.SlackBuild26
-rw-r--r--libraries/stormlib/README2
-rw-r--r--libraries/stormlib/slack-desc19
-rw-r--r--libraries/stormlib/stormlib.SlackBuild102
-rw-r--r--libraries/stormlib/stormlib.info10
-rw-r--r--libraries/suil/README7
-rw-r--r--libraries/suil/suil.SlackBuild61
-rw-r--r--libraries/suil/suil.info10
-rw-r--r--libraries/superlu/README18
-rw-r--r--libraries/superlu/slack-desc19
-rw-r--r--libraries/superlu/superlu.SlackBuild104
-rw-r--r--libraries/superlu/superlu.info10
-rw-r--r--libraries/swfdec/swfdec.SlackBuild25
-rw-r--r--libraries/swfdec/swfdec.info2
-rw-r--r--libraries/t4k_common/916060_bugfix.patch32
-rw-r--r--libraries/t4k_common/t4k_common.SlackBuild33
-rw-r--r--libraries/t4k_common/wrapped_lines.patch13
-rw-r--r--libraries/tDOM/README23
-rw-r--r--libraries/tDOM/tDOM.SlackBuild134
-rw-r--r--libraries/tDOM/tDOM.info8
-rw-r--r--libraries/ta-lib/README4
-rw-r--r--libraries/ta-lib/ta-lib.SlackBuild40
-rw-r--r--libraries/tamu_anova/tamu_anova.SlackBuild36
-rw-r--r--libraries/tbb/README13
-rw-r--r--libraries/tbb/tbb.SlackBuild49
-rw-r--r--libraries/tbb/tbb.info8
-rw-r--r--libraries/tblis/README12
-rw-r--r--libraries/tblis/slack-desc19
-rw-r--r--libraries/tblis/tblis.SlackBuild117
-rw-r--r--libraries/tblis/tblis.info10
-rw-r--r--libraries/tcc4tcl/README12
-rw-r--r--libraries/tcc4tcl/slack-desc19
-rw-r--r--libraries/tcc4tcl/tcc4tcl.SlackBuild108
-rw-r--r--libraries/tcc4tcl/tcc4tcl.info10
-rw-r--r--libraries/tcl-inotify/README2
-rw-r--r--libraries/tcl-inotify/tcl-inotify.SlackBuild26
-rw-r--r--libraries/tcl-promise/README2
-rw-r--r--libraries/tcl-promise/dst-installer.patch12
-rw-r--r--libraries/tcl-promise/slack-desc19
-rw-r--r--libraries/tcl-promise/tcl-promise.SlackBuild68
-rw-r--r--libraries/tcl-promise/tcl-promise.info10
-rw-r--r--libraries/tcl-tls/tcl-tls.SlackBuild30
-rw-r--r--libraries/tcl-tls/tcl-tls.info8
-rw-r--r--libraries/tclap/README5
-rw-r--r--libraries/tclap/tclap.SlackBuild42
-rw-r--r--libraries/tcllib/tcllib.SlackBuild33
-rw-r--r--libraries/tcllib/tcllib.info6
-rw-r--r--libraries/tclsoap/README5
-rw-r--r--libraries/tclsoap/patches/Makefile.in.patch12
-rw-r--r--libraries/tclsoap/patches/SOAP.tcl.patch22
-rw-r--r--libraries/tclsoap/patches/pkgIndex.tcl.patch14
-rw-r--r--libraries/tclsoap/patches/xpath.tcl.patch17
-rw-r--r--libraries/tclsoap/slack-desc19
-rw-r--r--libraries/tclsoap/tclsoap.SlackBuild102
-rw-r--r--libraries/tclsoap/tclsoap.info10
-rw-r--r--libraries/tclws/README13
-rw-r--r--libraries/tclws/slack-desc19
-rw-r--r--libraries/tclws/tclws.SlackBuild95
-rw-r--r--libraries/tclws/tclws.info10
-rw-r--r--libraries/tclxml/README8
-rw-r--r--libraries/tclxml/slack-desc19
-rw-r--r--libraries/tclxml/tclxml.SlackBuild114
-rw-r--r--libraries/tclxml/tclxml.info10
-rw-r--r--libraries/td_lib/README7
-rw-r--r--libraries/td_lib/slack-desc19
-rw-r--r--libraries/td_lib/td_lib.SlackBuild107
-rw-r--r--libraries/td_lib/td_lib.info10
-rw-r--r--libraries/template-glib/README8
-rw-r--r--libraries/template-glib/slack-desc19
-rw-r--r--libraries/template-glib/template-glib.SlackBuild113
-rw-r--r--libraries/template-glib/template-glib.info10
-rw-r--r--libraries/tepl/README3
-rw-r--r--libraries/tepl/slack-desc19
-rw-r--r--libraries/tepl/tepl.SlackBuild111
-rw-r--r--libraries/tepl/tepl.info10
-rw-r--r--libraries/tff/tff.SlackBuild16
-rw-r--r--libraries/tinygltf/README3
-rw-r--r--libraries/tinygltf/slack-desc19
-rw-r--r--libraries/tinygltf/tinygltf.SlackBuild99
-rw-r--r--libraries/tinygltf/tinygltf.info10
-rw-r--r--libraries/tinyxml/tinyxml.SlackBuild22
-rw-r--r--libraries/tinyxml2/README4
-rw-r--r--libraries/tinyxml2/tinyxml2.SlackBuild20
-rw-r--r--libraries/tinyxml2/tinyxml2.info6
-rw-r--r--libraries/tkimg/tkimg.SlackBuild26
-rw-r--r--libraries/tksvg/README7
-rw-r--r--libraries/tksvg/slack-desc19
-rw-r--r--libraries/tksvg/tksvg.SlackBuild112
-rw-r--r--libraries/tksvg/tksvg.info10
-rw-r--r--libraries/tllist/README24
-rw-r--r--libraries/tllist/slack-desc19
-rw-r--r--libraries/tllist/tllist.SlackBuild118
-rw-r--r--libraries/tllist/tllist.info10
-rw-r--r--libraries/tlsh/README5
-rw-r--r--libraries/tlsh/install-libraries.patch23
-rw-r--r--libraries/tlsh/tlsh.SlackBuild41
-rw-r--r--libraries/tlsh/tlsh.info6
-rw-r--r--libraries/tmdb3/tmdb3.SlackBuild16
-rw-r--r--libraries/tolua++/tolua++.SlackBuild32
-rw-r--r--libraries/tolua++/tolua++.info2
-rw-r--r--libraries/tomcat-native/tomcat-native.SlackBuild25
-rw-r--r--libraries/tomcat-native/tomcat-native.info8
-rw-r--r--libraries/tomlplusplus/README22
-rw-r--r--libraries/tomlplusplus/slack-desc19
-rw-r--r--libraries/tomlplusplus/tomlplusplus.SlackBuild101
-rw-r--r--libraries/tomlplusplus/tomlplusplus.info10
-rw-r--r--libraries/toro/toro.SlackBuild16
-rw-r--r--libraries/totem-pl-parser/README5
-rw-r--r--libraries/totem-pl-parser/slack-desc2
-rw-r--r--libraries/totem-pl-parser/totem-pl-parser.SlackBuild65
-rw-r--r--libraries/totem-pl-parser/totem-pl-parser.info14
-rw-r--r--libraries/tox-extension-messages/README3
-rw-r--r--libraries/tox-extension-messages/slack-desc19
-rw-r--r--libraries/tox-extension-messages/tox-extension-messages.SlackBuild103
-rw-r--r--libraries/tox-extension-messages/tox-extension-messages.info10
-rw-r--r--libraries/toxext/README1
-rw-r--r--libraries/toxext/slack-desc19
-rw-r--r--libraries/toxext/toxext.SlackBuild103
-rw-r--r--libraries/toxext/toxext.info10
-rw-r--r--libraries/trader/trader.SlackBuild26
-rw-r--r--libraries/tre/README7
-rw-r--r--libraries/tre/slack-desc8
-rw-r--r--libraries/tre/tre.SlackBuild60
-rw-r--r--libraries/tre/tre.info4
-rw-r--r--libraries/tree-sitter/README4
-rw-r--r--libraries/tree-sitter/slack-desc19
-rw-r--r--libraries/tree-sitter/tree-sitter.SlackBuild100
-rw-r--r--libraries/tree-sitter/tree-sitter.info10
-rw-r--r--libraries/trilinos/README16
-rw-r--r--libraries/trilinos/trilinos-12.4.2_lapack-3.6.0.patch87
-rw-r--r--libraries/trilinos/trilinos.SlackBuild136
-rw-r--r--libraries/trilinos/trilinos.info12
-rw-r--r--libraries/tslib/README4
-rw-r--r--libraries/tslib/slack-desc19
-rw-r--r--libraries/tslib/tslib.SlackBuild112
-rw-r--r--libraries/tslib/tslib.info10
-rw-r--r--libraries/tsocks/README9
-rw-r--r--libraries/tsocks/tsocks.SlackBuild26
-rw-r--r--libraries/ucl/ucl.SlackBuild21
-rw-r--r--libraries/ucommon/ucommon.SlackBuild30
-rw-r--r--libraries/ucommon/ucommon.info6
-rw-r--r--libraries/udunits/udunits.SlackBuild45
-rw-r--r--libraries/udunits/udunits.info6
-rw-r--r--libraries/uhttpmock/README9
-rw-r--r--libraries/uhttpmock/slack-desc19
-rw-r--r--libraries/uhttpmock/uhttpmock.SlackBuild120
-rw-r--r--libraries/uhttpmock/uhttpmock.info10
-rw-r--r--libraries/ulfius/ulfius.SlackBuild37
-rw-r--r--libraries/ulfius/ulfius.info6
-rw-r--r--libraries/unarr/CMakeLists.txt99
-rw-r--r--libraries/unarr/unarr.SlackBuild20
-rw-r--r--libraries/unarr/unarr.info6
-rw-r--r--libraries/unibilium/README6
-rw-r--r--libraries/unibilium/unibilium.SlackBuild23
-rw-r--r--libraries/unibilium/unibilium.info12
-rw-r--r--libraries/unixODBC/README22
-rw-r--r--libraries/unixODBC/unixODBC.SlackBuild26
-rw-r--r--libraries/unixODBC/unixODBC.info10
-rw-r--r--libraries/upscaledb/README32
-rw-r--r--libraries/upscaledb/slack-desc19
-rw-r--r--libraries/upscaledb/upscaledb.SlackBuild100
-rw-r--r--libraries/upscaledb/upscaledb.info10
-rw-r--r--libraries/uptime/uptime.SlackBuild16
-rw-r--r--libraries/urdfdom/urdfdom.SlackBuild20
-rw-r--r--libraries/urdfdom/urdfdom.info2
-rw-r--r--libraries/urdfdom_headers/README6
-rw-r--r--libraries/urdfdom_headers/urdfdom_headers.SlackBuild25
-rw-r--r--libraries/urdfdom_headers/urdfdom_headers.info2
-rw-r--r--libraries/uriparser/uriparser.SlackBuild20
-rw-r--r--libraries/uriparser/uriparser.info6
-rw-r--r--libraries/usrsctp/README15
-rw-r--r--libraries/usrsctp/slack-desc19
-rw-r--r--libraries/usrsctp/usrsctp.SlackBuild120
-rw-r--r--libraries/usrsctp/usrsctp.info10
-rw-r--r--libraries/utfcpp/utfcpp.SlackBuild16
-rw-r--r--libraries/uthash/uthash.SlackBuild28
-rw-r--r--libraries/uthash/uthash.info8
-rw-r--r--libraries/uuid/uuid.SlackBuild20
-rw-r--r--libraries/varconf/README7
-rw-r--r--libraries/varconf/varconf.SlackBuild22
-rw-r--r--libraries/vcglib/vcglib.SlackBuild55
-rw-r--r--libraries/vdk/vdk-config-2.160
-rw-r--r--libraries/vdk/vdk.SlackBuild43
-rw-r--r--libraries/vdpau-video/README3
-rw-r--r--libraries/vdpau-video/slack-desc19
-rw-r--r--libraries/vdpau-video/vdpau-video.SlackBuild101
-rw-r--r--libraries/vdpau-video/vdpau-video.info10
-rw-r--r--libraries/vdpau-video/vdpau-video.patch43
-rw-r--r--libraries/vid.stab/README5
-rw-r--r--libraries/vid.stab/slack-desc19
-rw-r--r--libraries/vid.stab/vid.stab.SlackBuild116
-rw-r--r--libraries/vid.stab/vid.stab.info10
-rw-r--r--libraries/vigra/vigra.SlackBuild33
-rw-r--r--libraries/virglrenderer/virglrenderer.SlackBuild54
-rw-r--r--libraries/virglrenderer/virglrenderer.info6
-rw-r--r--libraries/virtualpg/README16
-rw-r--r--libraries/virtualpg/slack-desc19
-rw-r--r--libraries/virtualpg/virtualpg.SlackBuild111
-rw-r--r--libraries/virtualpg/virtualpg.info10
-rw-r--r--libraries/vmaf/README7
-rw-r--r--libraries/vmaf/slack-desc19
-rw-r--r--libraries/vmaf/vmaf.SlackBuild106
-rw-r--r--libraries/vmaf/vmaf.info10
-rw-r--r--libraries/volk/README17
-rw-r--r--libraries/volk/slack-desc19
-rw-r--r--libraries/volk/volk.SlackBuild114
-rw-r--r--libraries/volk/volk.info12
-rw-r--r--libraries/vsqlite++/vsqlite++.SlackBuild26
-rw-r--r--libraries/vst3sdk/README22
-rw-r--r--libraries/vst3sdk/slack-desc19
-rw-r--r--libraries/vst3sdk/vst3sdk.SlackBuild102
-rw-r--r--libraries/vst3sdk/vst3sdk.info24
-rw-r--r--libraries/vst3sdk/vst3sdk.pc5
-rw-r--r--libraries/vte2/README7
-rw-r--r--libraries/vte2/fix_meta_alt_keybinding.patch74
-rw-r--r--libraries/vte2/slack-desc19
-rw-r--r--libraries/vte2/vte.escape.cpu.usage.diff89
-rw-r--r--libraries/vte2/vte2.SlackBuild121
-rw-r--r--libraries/vte2/vte2.info10
-rw-r--r--libraries/vte3-ng/README9
-rw-r--r--libraries/vte3-ng/slack-desc19
-rw-r--r--libraries/vte3-ng/vte3-ng.SlackBuild109
-rw-r--r--libraries/vte3-ng/vte3-ng.info10
-rw-r--r--libraries/vte3/README7
-rw-r--r--libraries/vte3/slack-desc19
-rw-r--r--libraries/vte3/vte3.SlackBuild101
-rw-r--r--libraries/vte3/vte3.info10
-rw-r--r--libraries/wangle/README7
-rw-r--r--libraries/wangle/slack-desc19
-rw-r--r--libraries/wangle/wangle.SlackBuild100
-rw-r--r--libraries/wangle/wangle.info10
-rw-r--r--libraries/wayland/README16
-rw-r--r--libraries/wayland/slack-desc19
-rw-r--r--libraries/wayland/wayland.SlackBuild112
-rw-r--r--libraries/wayland/wayland.info10
-rw-r--r--libraries/waylandpp/README10
-rw-r--r--libraries/waylandpp/slack-desc19
-rw-r--r--libraries/waylandpp/waylandpp.SlackBuild113
-rw-r--r--libraries/waylandpp/waylandpp.info10
-rw-r--r--libraries/wcslib/README11
-rw-r--r--libraries/wcslib/slack-desc19
-rw-r--r--libraries/wcslib/wcslib.SlackBuild110
-rw-r--r--libraries/wcslib/wcslib.info10
-rw-r--r--libraries/web.py/README6
-rw-r--r--libraries/web.py/web.py.SlackBuild16
-rw-r--r--libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch33
-rw-r--r--libraries/webkit2gtk/README9
-rw-r--r--libraries/webkit2gtk/unhide-deprecated-api.patch12
-rw-r--r--libraries/webkit2gtk/webkit2gtk.SlackBuild57
-rw-r--r--libraries/webkit2gtk/webkit2gtk.info8
-rw-r--r--libraries/webkit2gtk4.1/3d5373575695b293b8559155431d0079a6153aff.patch33
-rw-r--r--libraries/webkit2gtk4.1/README16
-rw-r--r--libraries/webkit2gtk4.1/slack-desc19
-rw-r--r--libraries/webkit2gtk4.1/unhide-deprecated-api.patch12
-rw-r--r--libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild125
-rw-r--r--libraries/webkit2gtk4.1/webkit2gtk4.1.info10
-rw-r--r--libraries/webkitgtk/README4
-rw-r--r--libraries/webkitgtk/slack-desc19
-rw-r--r--libraries/webkitgtk/webkitgtk-2.4.9-abs.patch28
-rw-r--r--libraries/webkitgtk/webkitgtk.SlackBuild100
-rw-r--r--libraries/webkitgtk/webkitgtk.info10
-rw-r--r--libraries/webkitgtk3/README9
-rw-r--r--libraries/webkitgtk3/slack-desc19
-rw-r--r--libraries/webkitgtk3/webkitgtk-2.4.9-abs.patch28
-rw-r--r--libraries/webkitgtk3/webkitgtk3.SlackBuild107
-rw-r--r--libraries/webkitgtk3/webkitgtk3.info10
-rw-r--r--libraries/webrtc-audio-processing/README5
-rw-r--r--libraries/webrtc-audio-processing/slack-desc19
-rw-r--r--libraries/webrtc-audio-processing/webrtc-audio-processing.SlackBuild100
-rw-r--r--libraries/webrtc-audio-processing/webrtc-audio-processing.info10
-rw-r--r--libraries/wfmath/wfmath.SlackBuild20
-rw-r--r--libraries/wimlib/slack-desc4
-rw-r--r--libraries/wimlib/wimlib.SlackBuild22
-rw-r--r--libraries/wimlib/wimlib.info8
-rw-r--r--libraries/wjelement/wjelement.SlackBuild16
-rw-r--r--libraries/wjelement/wjelement.info2
-rw-r--r--libraries/wlroots/README19
-rw-r--r--libraries/wlroots/slack-desc19
-rw-r--r--libraries/wlroots/wlroots.SlackBuild119
-rw-r--r--libraries/wlroots/wlroots.info10
-rw-r--r--libraries/wpebackend-fdo/README7
-rw-r--r--libraries/wpebackend-fdo/slack-desc19
-rw-r--r--libraries/wpebackend-fdo/wpebackend-fdo.SlackBuild110
-rw-r--r--libraries/wpebackend-fdo/wpebackend-fdo.info10
-rw-r--r--libraries/ws4py/ws4py.SlackBuild16
-rw-r--r--libraries/wv/README7
-rw-r--r--libraries/wv/wv.SlackBuild28
-rw-r--r--libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff28
-rw-r--r--libraries/wvstreams/patches/02_doc_path.diff24
-rw-r--r--libraries/wvstreams/patches/03_html_sgml.diff18
-rw-r--r--libraries/wvstreams/patches/04_signed_request.diff18
-rw-r--r--libraries/wvstreams/patches/05_gcc-4.7.diff19
-rw-r--r--libraries/wvstreams/patches/05_gcc.diff41
-rw-r--r--libraries/wvstreams/patches/06_buildflags.diff34
-rw-r--r--libraries/wvstreams/patches/07_openssl-1.0.diff18
-rw-r--r--libraries/wvstreams/patches/08_glibc-2.12.diff30
-rw-r--r--libraries/wvstreams/patches/09_readline.diff16
-rw-r--r--libraries/wvstreams/patches/10_typos.diff39
-rw-r--r--libraries/wvstreams/patches/11_gcc-6.patch42
-rw-r--r--libraries/wvstreams/patches/12_increase_task_stack.patch15
-rw-r--r--libraries/wvstreams/patches/13_wvstreams_openssl1.1.patch539
-rw-r--r--libraries/wvstreams/patches/14_cross.diff53
-rw-r--r--libraries/wvstreams/patches/15_Fix-narrowing-conversion-error.patch29
-rw-r--r--libraries/wvstreams/patches/16_wvstreams-4.6.1-parallel-make.patch (renamed from libraries/wvstreams/patches/wvstreams-4.6.1-parallel-make.patch)0
-rw-r--r--libraries/wvstreams/patches/wvstreams-4.6.1-gcc47.patch10
-rw-r--r--libraries/wvstreams/wvstreams.SlackBuild59
-rw-r--r--libraries/wxGTK/README13
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild20
-rw-r--r--libraries/wxGTK3/README56
-rw-r--r--libraries/wxGTK3/wxGTK3.SlackBuild68
-rw-r--r--libraries/wxGTK3/wxGTK3.info6
-rw-r--r--libraries/wxPython/README34
-rw-r--r--libraries/wxPython/wxPython.SlackBuild34
-rw-r--r--libraries/wxPython/wxPython.info2
-rw-r--r--libraries/wxPython3/README12
-rw-r--r--libraries/wxPython3/wxPython3.SlackBuild86
-rw-r--r--libraries/wxPython4/README24
-rw-r--r--libraries/wxPython4/cython.patch16
-rw-r--r--libraries/wxPython4/wxPython4.SlackBuild28
-rw-r--r--libraries/wxPython4/wxPython4.info8
-rw-r--r--libraries/wxSQLite3/README4
-rw-r--r--libraries/wxSQLite3/slack-desc19
-rw-r--r--libraries/wxSQLite3/wxSQLite3.SlackBuild105
-rw-r--r--libraries/wxSQLite3/wxSQLite3.info10
-rw-r--r--libraries/wxWidgets/README28
-rw-r--r--libraries/wxWidgets/slack-desc19
-rw-r--r--libraries/wxWidgets/wxWidgets.SlackBuild208
-rw-r--r--libraries/wxWidgets/wxWidgets.info10
-rw-r--r--libraries/wxX11/README21
-rw-r--r--libraries/wxX11/wxX11.SlackBuild26
-rw-r--r--libraries/wxpdfdoc/README11
-rw-r--r--libraries/wxpdfdoc/slack-desc19
-rw-r--r--libraries/wxpdfdoc/wxpdfdoc.SlackBuild113
-rw-r--r--libraries/wxpdfdoc/wxpdfdoc.info10
-rw-r--r--libraries/wxsvg/gcc13.patch31
-rw-r--r--libraries/wxsvg/wxsvg.SlackBuild26
-rw-r--r--libraries/wxsvg/wxsvg.info8
-rw-r--r--libraries/xalan-c/xalan-c.SlackBuild30
-rw-r--r--libraries/xalan/xalan.SlackBuild18
-rw-r--r--libraries/xalan/xalan.info2
-rw-r--r--libraries/xapian-bindings/xapian-bindings.SlackBuild44
-rw-r--r--libraries/xapian-bindings/xapian-bindings.info6
-rw-r--r--libraries/xawplus/xawplus.SlackBuild22
-rw-r--r--libraries/xawplus/xawplus.info2
-rw-r--r--libraries/xblas/patches/automake.diff7
-rw-r--r--libraries/xblas/xblas.SlackBuild29
-rw-r--r--libraries/xblas/xblas.info4
-rw-r--r--libraries/xbyak/README12
-rw-r--r--libraries/xbyak/slack-desc19
-rw-r--r--libraries/xbyak/xbyak.SlackBuild109
-rw-r--r--libraries/xbyak/xbyak.info10
-rw-r--r--libraries/xcb-util-xrm/xcb-util-xrm.SlackBuild20
-rw-r--r--libraries/xerces-c/xerces-c.SlackBuild30
-rw-r--r--libraries/xerces-c/xerces-c.info6
-rw-r--r--libraries/xerces/xerces.SlackBuild18
-rw-r--r--libraries/xerces/xerces.info2
-rw-r--r--libraries/xf86-input-libinput/README20
-rw-r--r--libraries/xf86-input-libinput/slack-desc19
-rw-r--r--libraries/xf86-input-libinput/xf86-input-libinput.SlackBuild116
-rw-r--r--libraries/xf86-input-libinput/xf86-input-libinput.info10
-rw-r--r--libraries/xforms/README22
-rw-r--r--libraries/xforms/xforms-1.2.4-fno-common.patch40
-rw-r--r--libraries/xforms/xforms.SlackBuild36
-rw-r--r--libraries/xgboost/README17
-rw-r--r--libraries/xgboost/slack-desc19
-rw-r--r--libraries/xgboost/xgboost.SlackBuild182
-rw-r--r--libraries/xgboost/xgboost.info10
-rw-r--r--libraries/xine-plugin/xine-plugin.SlackBuild26
-rw-r--r--libraries/xlt/xlt.SlackBuild49
-rw-r--r--libraries/xml-security-c/xml-security-c.SlackBuild22
-rw-r--r--libraries/xml-security-c/xml-security-c.info6
-rw-r--r--libraries/xmlgen/xmlgen.SlackBuild16
-rw-r--r--libraries/xmlrpc-c/README17
-rw-r--r--libraries/xmlrpc-c/xmlrpc-c.SlackBuild53
-rw-r--r--libraries/xmlsec/xmlsec.SlackBuild21
-rw-r--r--libraries/xmlsec/xmlsec.info6
-rw-r--r--libraries/xmltooling/xmltooling.SlackBuild22
-rw-r--r--libraries/xmltooling/xmltooling.info8
-rw-r--r--libraries/xmpppy/xmpppy.SlackBuild36
-rw-r--r--libraries/xulrunner/README12
-rw-r--r--libraries/xulrunner/ftfntfmt.patch35
-rw-r--r--libraries/xulrunner/gold/gold2
-rw-r--r--libraries/xulrunner/gold/ld2
-rw-r--r--libraries/xulrunner/slack-desc19
-rw-r--r--libraries/xulrunner/xulrunner.SlackBuild162
-rw-r--r--libraries/xulrunner/xulrunner.info10
-rw-r--r--libraries/xview/README11
-rw-r--r--libraries/xview/xinitrc.olvwm16
-rw-r--r--libraries/xview/xinitrc.olwm16
-rw-r--r--libraries/xview/xview.SlackBuild118
-rw-r--r--libraries/xview/xview.info8
-rw-r--r--libraries/xylib/xylib.SlackBuild24
-rw-r--r--libraries/xylib/xylib.info8
-rw-r--r--libraries/yajl/patches/0001-pkg-config-file-should-be-in-lib-dir-not-shared-data.patch44
-rw-r--r--libraries/yajl/patches/0002-pkg-config-include-dir-should-not-have-the-yajl-suff.patch30
-rw-r--r--libraries/yajl/patches/0003-fix-patch-to-test-files-to-take-account-of-vpath.patch49
-rw-r--r--libraries/yajl/patches/0004-drop-bogus-_s-suffix-from-yajl-dynamic-library.patch43
-rw-r--r--libraries/yajl/patches/0005-Fix-for-CVE-2017-16516.patch43
-rw-r--r--libraries/yajl/patches/0006-Fix-CVE-2022-24795.patch60
-rw-r--r--libraries/yajl/patches/0007-yajl-fix-memory-leak-problem.patch41
-rw-r--r--libraries/yajl/patches/0008-fix-memory-leaks.patch30
-rw-r--r--libraries/yajl/yajl.SlackBuild23
-rw-r--r--libraries/yajl/yajl.info6
-rw-r--r--libraries/yaml-cpp/yaml-cpp.SlackBuild18
-rw-r--r--libraries/yaml-cpp/yaml-cpp.info2
-rw-r--r--libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild16
-rw-r--r--libraries/yaml-cpp0.3/yaml-cpp0.3.info2
-rw-r--r--libraries/yascreen/README2
-rw-r--r--libraries/yascreen/slack-desc19
-rw-r--r--libraries/yascreen/yascreen.SlackBuild100
-rw-r--r--libraries/yascreen/yascreen.info10
-rw-r--r--libraries/yaz/README6
-rw-r--r--libraries/yaz/yaz.SlackBuild26
-rw-r--r--libraries/yder/yder.SlackBuild21
-rw-r--r--libraries/yder/yder.info6
-rw-r--r--libraries/ytnef/README4
-rw-r--r--libraries/ytnef/slack-desc19
-rw-r--r--libraries/ytnef/ytnef.SlackBuild111
-rw-r--r--libraries/ytnef/ytnef.info10
-rw-r--r--libraries/zbase32/README1
-rw-r--r--libraries/zbase32/slack-desc19
-rw-r--r--libraries/zbase32/zbase32.SlackBuild90
-rw-r--r--libraries/zbase32/zbase32.info10
-rw-r--r--libraries/zc.lockfile/README2
-rw-r--r--libraries/zc.lockfile/slack-desc19
-rw-r--r--libraries/zc.lockfile/zc.lockfile.SlackBuild68
-rw-r--r--libraries/zc.lockfile/zc.lockfile.info10
-rw-r--r--libraries/zdaemon/README2
-rw-r--r--libraries/zdaemon/slack-desc19
-rw-r--r--libraries/zdaemon/zdaemon.SlackBuild68
-rw-r--r--libraries/zdaemon/zdaemon.info10
-rw-r--r--libraries/zeromq/zeromq.SlackBuild34
-rw-r--r--libraries/zeromq/zeromq.info10
-rw-r--r--libraries/zfec/README23
-rw-r--r--libraries/zfec/slack-desc19
-rw-r--r--libraries/zfec/zfec.SlackBuild96
-rw-r--r--libraries/zfec/zfec.info10
-rw-r--r--libraries/zimg/README8
-rw-r--r--libraries/zimg/slack-desc19
-rw-r--r--libraries/zimg/zimg.SlackBuild108
-rw-r--r--libraries/zimg/zimg.info10
-rw-r--r--libraries/zint/zint.SlackBuild22
-rw-r--r--libraries/zint/zint.info6
-rw-r--r--libraries/zita-alsa-pcmi/README13
-rw-r--r--libraries/zita-alsa-pcmi/slack-desc8
-rw-r--r--libraries/zita-alsa-pcmi/zita-alsa-pcmi.SlackBuild52
-rw-r--r--libraries/zita-alsa-pcmi/zita-alsa-pcmi.info6
-rw-r--r--libraries/zita-convolver/README12
-rw-r--r--libraries/zita-convolver/zita-convolver.SlackBuild15
-rw-r--r--libraries/zita-convolver/zita-convolver.info6
-rw-r--r--libraries/zita-resampler/zita-resampler.SlackBuild62
-rw-r--r--libraries/zita-resampler/zita-resampler.info6
-rw-r--r--libraries/zmusic/README4
-rw-r--r--libraries/zmusic/slack-desc19
-rw-r--r--libraries/zmusic/zmusic.SlackBuild90
-rw-r--r--libraries/zmusic/zmusic.info10
-rw-r--r--libraries/zope.component/zope.component.SlackBuild35
-rw-r--r--libraries/zope.component/zope.component.info12
-rw-r--r--libraries/zope.configuration/zope.configuration.SlackBuild33
-rw-r--r--libraries/zope.configuration/zope.configuration.info10
-rw-r--r--libraries/zope.event/zope.event.SlackBuild37
-rw-r--r--libraries/zope.event/zope.event.info10
-rw-r--r--libraries/zope.hookable/zope.hookable.SlackBuild33
-rw-r--r--libraries/zope.hookable/zope.hookable.info10
-rw-r--r--libraries/zope.i18nmessageid/zope.i18nmessageid.SlackBuild31
-rw-r--r--libraries/zope.i18nmessageid/zope.i18nmessageid.info10
-rw-r--r--libraries/zope.location/zope.location.SlackBuild36
-rw-r--r--libraries/zope.location/zope.location.info12
-rw-r--r--libraries/zope.proxy/zope.proxy.SlackBuild31
-rw-r--r--libraries/zope.proxy/zope.proxy.info10
-rw-r--r--libraries/zope.schema/zope.schema.SlackBuild34
-rw-r--r--libraries/zope.schema/zope.schema.info10
-rw-r--r--libraries/zope.security/zope.security.SlackBuild35
-rw-r--r--libraries/zope.security/zope.security.info12
-rw-r--r--libraries/zsi/zsi.SlackBuild22
-rw-r--r--libraries/zuluplay/README8
-rw-r--r--libraries/zuluplay/slack-desc19
-rw-r--r--libraries/zuluplay/zuluplay.SlackBuild99
-rw-r--r--libraries/zuluplay/zuluplay.info10
-rw-r--r--libraries/zycore-c/README21
-rw-r--r--libraries/zycore-c/slack-desc19
-rw-r--r--libraries/zycore-c/zycore-c.SlackBuild107
-rw-r--r--libraries/zycore-c/zycore-c.info10
-rw-r--r--libraries/zydis/README15
-rw-r--r--libraries/zydis/slack-desc19
-rw-r--r--libraries/zydis/zydis.SlackBuild112
-rw-r--r--libraries/zydis/zydis.info12
-rw-r--r--libraries/zziplib/README17
-rw-r--r--libraries/zziplib/slack-desc16
-rw-r--r--libraries/zziplib/zziplib.SlackBuild92
-rw-r--r--libraries/zziplib/zziplib.info12
4401 files changed, 92969 insertions, 57142 deletions
diff --git a/libraries/2geom/2geom.SlackBuild b/libraries/2geom/2geom.SlackBuild
new file mode 100644
index 0000000000..7a63cb3ffc
--- /dev/null
+++ b/libraries/2geom/2geom.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Copyright 2023 Fernando Lopez Jr. <fernando.lopezjr@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=2geom
+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/lib$PRGNAM-$VERSION.tar.gz
+mv lib$PRGNAM-$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 build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -D2GEOM_BUILD_SHARED=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.md COPYING-LGPL-2.1 COPYING-MPL-1.1 HACKING.md LICENSE.md NEWS.md \
+ README.md README.win32.md RELEASING.md TODO.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
+#cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/2geom/2geom.info b/libraries/2geom/2geom.info
new file mode 100644
index 0000000000..ccfe48d462
--- /dev/null
+++ b/libraries/2geom/2geom.info
@@ -0,0 +1,10 @@
+PRGNAM="2geom"
+VERSION="1.3"
+HOMEPAGE="https://gitlab.com/inkscape/lib2geom/"
+DOWNLOAD="https://gitlab.com/inkscape/lib2geom/-/archive/1.3/lib2geom-1.3.tar.gz"
+MD5SUM="4240576fcb2802bd9bc6cd5f15b007c7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gtest double-conversion"
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/2geom/README b/libraries/2geom/README
new file mode 100644
index 0000000000..a4a35836b9
--- /dev/null
+++ b/libraries/2geom/README
@@ -0,0 +1,14 @@
+2Geom is a C++ 2D geometry library geared towards robust processing
+of computational geometry data associated with vector graphics. The
+primary design consideration is ease of use and clarity. It is dual
+licensed under LGPL 2.1 and MPL 1.1.
+
+The library is descended from a set of geometric routines present in
+Inkscape, a vector graphics editor based around the Scalable Vector
+Graphics format, the most widespread vector graphics interchange for-
+mat on the Web and a W3C Recommendation. Due to this legacy, not all
+parts of the API form a coherent whole (yet).
+
+Rendering is outside the scope of this library, and it is assumed
+something like libcairo or similar is employed for this. 2geom
+concentrates on higher level algorithms and geometric computations.
diff --git a/libraries/2geom/slack-desc b/libraries/2geom/slack-desc
new file mode 100644
index 0000000000..2596cd3554
--- /dev/null
+++ b/libraries/2geom/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------------------------------------------------------|
+2geom: 2geom (easy 2D graphics library)
+2geom:
+2geom: 2Geom is a C++ 2D geometry library geared towards robust processing
+2geom: of computational geometry data associated with vector graphics. The
+2geom: primary design consideration is ease of use and clarity.
+2geom:
+2geom:
+2geom:
+2geom:
+2geom:
+2geom:
diff --git a/libraries/Atlas-C++/Atlas-C++.SlackBuild b/libraries/Atlas-C++/Atlas-C++.SlackBuild
index ebd6a108a4..e2c117fb2d 100644
--- a/libraries/Atlas-C++/Atlas-C++.SlackBuild
+++ b/libraries/Atlas-C++/Atlas-C++.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Atlas-C++
@@ -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=Atlas-C++
VERSION=${VERSION:-0.6.3}
-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}
@@ -60,7 +70,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+if [ -e "$CWD/Atlas-C%2B%2B-$VERSION.tar.gz" ] ; then
+ tar xvf "$CWD/Atlas-C%2B%2B-$VERSION.tar.gz"
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,7 +84,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -Wno-error=deprecated -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -91,8 +105,10 @@ cp -a AUTHORS COPYING ChangeLog README NEWS THANKS TODO HACKING \
$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/libraries/BeautifulSoup/BeautifulSoup.SlackBuild b/libraries/BeautifulSoup/BeautifulSoup.SlackBuild
index 9fe03f4ca1..442c4988db 100644
--- a/libraries/BeautifulSoup/BeautifulSoup.SlackBuild
+++ b/libraries/BeautifulSoup/BeautifulSoup.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for BeautifulSoup.
#
@@ -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=BeautifulSoup
VERSION=${VERSION:-3.2.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}
@@ -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/libraries/BeautifulSoup/README b/libraries/BeautifulSoup/README
index 08cac5c366..37ebf918ff 100644
--- a/libraries/BeautifulSoup/README
+++ b/libraries/BeautifulSoup/README
@@ -1,27 +1,29 @@
-Beautiful Soup is a Python HTML/XML parser designed for quick turnaround
-projects like screen-scraping. Three features make it powerful:
+Beautiful Soup is a Python HTML/XML parser designed for quick
+turnaround projects like screen-scraping. Three features make it
+powerful:
1. Beautiful Soup won't choke if you give it bad markup. It yields a
parse tree that makes approximately as much sense as your original
document. This is usually good enough to collect the data you need
and run away.
- 2. Beautiful Soup provides a few simple methods and Pythonic idioms for
- navigating, searching, and modifying a parse tree: a toolkit for
- dissecting a document and extracting what you need. You don't have to
- create a custom parser for each application.
+ 2. Beautiful Soup provides a few simple methods and Pythonic idioms
+ for navigating, searching, and modifying a parse tree: a toolkit
+ for dissecting a document and extracting what you need. You don't
+ have to create a custom parser for each application.
- 3. Beautiful Soup automatically converts incoming documents to Unicode and
- outgoing documents to UTF-8. You don't have to think about encodings,
- unless the document doesn't specify an encoding and Beautiful Soup
- can't autodetect one. Then you just have to specify the original
- encoding.
+ 3. Beautiful Soup automatically converts incoming documents to Unicode
+ and outgoing documents to UTF-8. You don't have to think about
+ encodings, unless the document doesn't specify an encoding and
+ Beautiful Soup can't autodetect one. Then you just have to
+ specify the original encoding.
-Beautiful Soup parses anything you give it, and does the tree traversal
-stuff for you. You can tell it "Find all the links", or "Find all the links
-of class externalLink", or "Find all the links whose urls match "foo.com",
-or "Find the table heading that's got bold text, then give me that text."
+Beautiful Soup parses anything you give it, and does the tree
+traversal stuff for you. You can tell it "Find all the links", or
+"Find all the links of class externalLink", or "Find all the links
+whose urls match "foo.com", or "Find the table heading that's got bold
+text, then give me that text."
-Valuable data that was once locked up in poorly-designed websites is now
-within your reach. Projects that would have taken hours take only minutes
-with Beautiful Soup.
+Valuable data that was once locked up in poorly-designed websites is
+now within your reach. Projects that would have taken hours take only
+minutes with Beautiful Soup.
diff --git a/libraries/BeautifulSoup4/BeautifulSoup4.SlackBuild b/libraries/BeautifulSoup4/BeautifulSoup4.SlackBuild
deleted file mode 100644
index 38b98401fa..0000000000
--- a/libraries/BeautifulSoup4/BeautifulSoup4.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for BeautifulSoup4
-
-# 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=BeautifulSoup4
-SRCNAM=${PRGNAM,,}
-VERSION=${VERSION:-4.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}
-
-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 {} \;
-
-python setup.py install --root=$PKG
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- 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 {} \;
- sed -i "s/-rfI/-rf/" convert-py3k
- sh convert-py3k
- 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.txt COPYING.txt AUTHORS.txt NEWS.txt TODO.txt 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/libraries/BeautifulSoup4/BeautifulSoup4.info b/libraries/BeautifulSoup4/BeautifulSoup4.info
deleted file mode 100644
index 0d38418d94..0000000000
--- a/libraries/BeautifulSoup4/BeautifulSoup4.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="BeautifulSoup4"
-VERSION="4.6.1"
-HOMEPAGE="https://www.crummy.com/software/BeautifulSoup/"
-DOWNLOAD="https://www.crummy.com/software/BeautifulSoup/bs4/download/4.6/beautifulsoup4-4.6.1.tar.gz"
-MD5SUM="ff719d65b9653b7b56645c7634b6e314"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/BeautifulSoup4/README b/libraries/BeautifulSoup4/README
deleted file mode 100644
index 41925ef89e..0000000000
--- a/libraries/BeautifulSoup4/README
+++ /dev/null
@@ -1,27 +0,0 @@
-Beautiful Soup is a Python HTML/XML parser designed for quick turnaround
-projects like screen-scraping. Three features make it powerful:
-
-1. Beautiful Soup won't choke if you give it bad markup. It yields a
-parse tree that makes approximately as much sense as your original
-document. This is usually good enough to collect the data you need
-and run away.
-
-2. Beautiful Soup provides a few simple methods and Pythonic idioms for
-navigating, searching, and modifying a parse tree: a toolkit for
-dissecting a document and extracting what you need. You don't have to
-create a custom parser for each application.
-
-3. Beautiful Soup automatically converts incoming documents to Unicode and
-outgoing documents to UTF-8. You don't have to think about encodings,
-unless the document doesn't specify an encoding and Beautiful Soup
-can't autodetect one. Then you just have to specify the original
-encoding.
-
-Beautiful Soup parses anything you give it, and does the tree traversal
-stuff for you. You can tell it "Find all the links", or "Find all the links
-of class externalLink", or "Find all the links whose urls match "foo.com",
-or "Find the table heading that's got bold text, then give me that text."
-
-Valuable data that was once locked up in poorly-designed websites is now
-within your reach. Projects that would have taken hours take only minutes
-with Beautiful Soup.
diff --git a/libraries/BeautifulSoup4/slack-desc b/libraries/BeautifulSoup4/slack-desc
deleted file mode 100644
index 2aa7bc4813..0000000000
--- a/libraries/BeautifulSoup4/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------------------------------------------------------|
-BeautifulSoup4: BeautifulSoup4 (Python HTML/XML parser)
-BeautifulSoup4:
-BeautifulSoup4: BeautifulSoup is a Python HTML/XML parser designed for quick
-BeautifulSoup4: turnaround projects like screen-scraping
-BeautifulSoup4:
-BeautifulSoup4: Homepage: http://www.crummy.com/software/BeautifulSoup/
-BeautifulSoup4:
-BeautifulSoup4:
-BeautifulSoup4:
-BeautifulSoup4:
-BeautifulSoup4:
diff --git a/libraries/Botan/Botan.SlackBuild b/libraries/Botan/Botan.SlackBuild
index f092906fe0..ab19b92a6a 100644
--- a/libraries/Botan/Botan.SlackBuild
+++ b/libraries/Botan/Botan.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Botan
-# Copyright (c) 2010-2020 Markus Reichelt, Aachen, DE
+# Copyright (c) 2010-2022 Markus Reichelt, Aachen, DE
+# Copyright (c) 2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -23,12 +24,17 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
+
+# 20220416 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - use correct doc dir (usr/doc/$PRGNAM-$VERSION).
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Botan
-VERSION=${VERSION:-2.13.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.19.3}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +46,11 @@ fi
PRGNAMI=botan
-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,36 +79,55 @@ 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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+TPMFLAG=""
+if [ "${TPM:-NO}" = 'YES' ]; then
+ TPMFLAG="--with-tpm"
+fi
LDFLAGS="$LDFLAGS" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-python configure.py \
+python3 configure.py \
--prefix=/usr \
--docdir=doc \
--libdir=lib$LIBDIRSUFFIX \
--mandir=/usr/man \
- --with-doxygen
+ --disable-static \
+ --with-rst2man \
+ --with-bzip2 \
+ --with-zlib \
+ --with-lzma \
+ --with-boost \
+ --with-sqlite3 \
+ --with-commoncrypto \
+ $TPMFLAG
make
-./botan-test
+#make check
+#as an alternative way to invoke the testsuite uncomment the following
+#LD_LIBRARY_PATH=. ./botan-test
+
make install DESTDIR=$PKG
+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
-cp -a *.rst *.txt doc/ $PKG/usr/doc/$PRGNAMI-$VERSION/
-
-rm -rf $PKG/usr/doc/$PRGNAMI-$VERSION/doc
+# 20220416 bkw: 'make install' uses the wrong name for the doc dir,
+# lowercase "botan". our doc dir must match the SlackBuild's name.
+mv $PKG/usr/doc/$PRGNAMI-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license.txt $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAMI-$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/libraries/Botan/Botan.info b/libraries/Botan/Botan.info
index 27f0e82067..863dbea52d 100644
--- a/libraries/Botan/Botan.info
+++ b/libraries/Botan/Botan.info
@@ -1,10 +1,10 @@
PRGNAM="Botan"
-VERSION="2.13.0"
+VERSION="2.19.3"
HOMEPAGE="https://botan.randombit.net/"
-DOWNLOAD="https://botan.randombit.net/releases/Botan-2.13.0.tar.xz"
-MD5SUM="9f90c7d523778be5f23f3ce79046ba35"
+DOWNLOAD="https://botan.randombit.net/releases/Botan-2.19.3.tar.xz"
+MD5SUM="6875d4a802db81646d80ed43ebcf9b27"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/libraries/Botan/README b/libraries/Botan/README
index df7215a24c..7f18ea762a 100644
--- a/libraries/Botan/README
+++ b/libraries/Botan/README
@@ -1,5 +1,10 @@
-Botan is a BSD-licensed crypto library for C++. It provides
-applications with the ability to use a number of cryptographic
-algorithms, as well as SSL/TLS, X.509 certificates and CRLs, PKCS
-#10 certificate requests, a filter/pipe message processing system,
-and a wide variety of other features.
+Botan is a BSD-licensed crypto library for C++. It provides applications
+with the ability to use a number of cryptographic algorithms, as well as
+SSL/TLS, X.509 certificates and CRLs, PKCS #10 certificate requests, a
+filter/pipe message processing system, and a wide variety of other
+features.
+
+Botan relies on Python3 for its compilation configuration.
+
+To build TPM support, use `TPM=YES`. This option adds a dependency on
+`system/trousers`.
diff --git a/libraries/CCfits/CCfits.SlackBuild b/libraries/CCfits/CCfits.SlackBuild
index 0ff60256ed..3de655e40b 100644
--- a/libraries/CCfits/CCfits.SlackBuild
+++ b/libraries/CCfits/CCfits.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CCfits
@@ -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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - do not install executable perl scripts in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CCfits
VERSION=${VERSION:-2.5}
-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"
@@ -65,9 +75,9 @@ 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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,19 +91,22 @@ LIBS="-lbz2" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+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 -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 html/*.pl # 20220422 bkw: only useful to upstream.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES License.txt README.INSTALL html/ \
+ CHANGES License.txt html/ \
$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/libraries/CCfits/CCfits.info b/libraries/CCfits/CCfits.info
index 48f148b97d..73c254035d 100644
--- a/libraries/CCfits/CCfits.info
+++ b/libraries/CCfits/CCfits.info
@@ -1,10 +1,10 @@
PRGNAM="CCfits"
VERSION="2.5"
HOMEPAGE="https://heasarc.gsfc.nasa.gov/fitsio/CCfits/"
-DOWNLOAD="https://heasarc.gsfc.nasa.gov/fitsio/CCfits/CCfits-2.5.tar.gz"
+DOWNLOAD="https://heasarc.gsfc.nasa.gov/fitsio/CCfits-2.5/CCfits-2.5.tar.gz"
MD5SUM="e77a679fc2b67cf38e53f4011821213b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cfitsio"
+REQUIRES=""
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/libraries/CEGUI/CEGUI.SlackBuild b/libraries/CEGUI/CEGUI.SlackBuild
index 1fb49bdb6d..a5f65c8feb 100644
--- a/libraries/CEGUI/CEGUI.SlackBuild
+++ b/libraries/CEGUI/CEGUI.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CEGUI
# Written by Phil Warner <pc_warner@yahoo.com>
# Modified by Robby Workman <rworkman@slackbuilds.org>
# Modified by Dave Woodfall <dave@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CEGUI
SRCNAM=cegui
-VERSION=${VERSION:-0.8.4}
+VERSION=${VERSION:-0.8.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"
@@ -44,14 +54,20 @@ 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.bz2
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 \
+ -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 {} \+
+
+sed -i '1iadd_definitions(-std=c++11)' \
+ cegui/src/RendererModules/OpenGL/CMakeLists.txt \
+ cegui/src/RendererModules/Ogre/CMakeLists.txt \
+ application_templates/CMakeLists.txt \
+ samples_framework/CMakeLists.txt
mkdir build
cd build
@@ -62,14 +78,17 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
+ -DCEGUI_BUILD_XMLPARSER_LIBXML2=OFF \
+ -DCEGUI_BUILD_LUA_MODULE=OFF \
+ -DCEGUI_BUILD_LUA_GENERATOR=OFF \
+ -DCEGUI_BUILD_LUA_GENERATOR=OFF \
+ -DCEGUI_BUILD_XMLPARSER_XERCES=OFF \
+ -DCEGUI_BUILD_RENDERER_OGRE=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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 doc *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -78,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/libraries/CEGUI/CEGUI.info b/libraries/CEGUI/CEGUI.info
index 330367be14..1e684af0c2 100644
--- a/libraries/CEGUI/CEGUI.info
+++ b/libraries/CEGUI/CEGUI.info
@@ -1,8 +1,8 @@
PRGNAM="CEGUI"
-VERSION="0.8.4"
+VERSION="0.8.7"
HOMEPAGE="http://cegui.org.uk/wiki/Main_Page"
-DOWNLOAD="http://sourceforge.net/projects/crayzedsgui/files/CEGUI%20Mk-2/0.8/cegui-0.8.4.tar.bz2"
-MD5SUM="344917301b5ed867a07575ee6a828667"
+DOWNLOAD="http://downloads.sf.net/crayzedsgui/cegui-0.8.7.tar.bz2"
+MD5SUM="cebcc95e205b9ad353db0d65b9b2d505"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/CEGUI/README b/libraries/CEGUI/README
index 7a49259d69..3e6e992552 100644
--- a/libraries/CEGUI/README
+++ b/libraries/CEGUI/README
@@ -14,5 +14,7 @@ particular, pay attention to the image codecs because you might want
to disable the others to ensure that the one you want to use is the
default codec.
-Optional dependencies include xerces-c, FreeImage, and DevIL.
-There are perhaps others - see output of "configure --help"
+Optional dependencies include glfw3, xerces-c, FreeImage, and DevIL.
+There are perhaps others - see the CMakeLists.txt file.
+
+The ogre renderer is disabled, as it won't build.
diff --git a/libraries/CEGUI0.7/CEGUI-OPENGL.pc b/libraries/CEGUI0.7/CEGUI-OPENGL.pc
new file mode 100644
index 0000000000..4b26341a1e
--- /dev/null
+++ b/libraries/CEGUI0.7/CEGUI-OPENGL.pc
@@ -0,0 +1,12 @@
+prefix=/opt/CEGUI0.7
+exec_prefix=${prefix}
+libdir=/opt/CEGUI0.7/lib%LIBDIRSUFFIX%
+includedir=${prefix}/include
+datafiles=${prefix}/share/CEGUI
+
+Name: CEGUI OpenGL Renderer
+Description: OpenGL based renderer module for CEGUI.
+Version: 0.7.9
+Requires: CEGUI = 0.7.9
+Libs: -L${libdir} -Wl,-rpath,${libdir} -lCEGUIOpenGLRenderer
+Cflags: -I${includedir} -I${includedir}/CEGUI
diff --git a/libraries/CEGUI0.7/CEGUI.pc b/libraries/CEGUI0.7/CEGUI.pc
new file mode 100644
index 0000000000..649d983f36
--- /dev/null
+++ b/libraries/CEGUI0.7/CEGUI.pc
@@ -0,0 +1,11 @@
+prefix=/opt/CEGUI0.7
+exec_prefix=${prefix}
+libdir=/opt/CEGUI0.7/lib%LIBDIRSUFFIX%
+includedir=${prefix}/include
+datafiles=${prefix}/share/CEGUI
+
+Name: CEGUI
+Description: The free GUI library for games and multi-media development.
+Version: 0.7.9
+Libs: -L${libdir} -Wl,-rpath,${libdir} -lCEGUIBase
+Cflags: -I${includedir} -I${includedir}/CEGUI
diff --git a/libraries/CEGUI0.7/CEGUI0.7.SlackBuild b/libraries/CEGUI0.7/CEGUI0.7.SlackBuild
index 30917134f4..758badbf38 100644
--- a/libraries/CEGUI0.7/CEGUI0.7.SlackBuild
+++ b/libraries/CEGUI0.7/CEGUI0.7.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CEGUI0.7
@@ -22,11 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230110 bkw: modified by SlackBuilds.org, BUILD=5.
+# - Install to /opt/CEGUI0.7, not /usr. Resolves the conflict with
+# CEGUI. Apps that depend on this will have to be modified to
+# use /opt/CEGUI0.7 (only games/smc depends on this, though).
+# - Disable irrlicht renderer (unneeded).
+# - Disable ogre renderer (fails to build with modern ogre).
+# - Add FreeImage to REQUIRES. Our one dependee (smc) requires
+# a CEGUI0.7 that was built with FreeImage support.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CEGUI0.7
SRCNAM=CEGUI
VERSION=${VERSION:-0.7.9}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-5}
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}
@@ -64,39 +80,50 @@ 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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+OPT=/opt/$PRGNAM
+OPTLIB=$OPT/lib$LIBDIRSUFFIX
+PKGOPT=$PKG/$OPT
+PKGOPTLIB=$PKG/$OPTLIB
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
patch -p1 < $CWD/CEGUI.patch
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --prefix=$OPT \
+ --libdir=$OPT/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
+ --mandir=$OPT/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-null-renderer \
--disable-python-module \
+ --disable-ogre-renderer \
+ --disable-irrlicht-renderer \
--with-default-image-codec=FreeImageImageCodec \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+
+# 20230110 bkw: .pc files contain -Wl,-rpath...
+# this way, anything that needs to link with CEGUI0.7 can simply:
+# export PKG_CONFIG_PATH=/opt/CEGUI0.7/lib$LIBDIRSUFFIX/pkgconfig
+# example: games/smc
+install -m0644 -oroot -groot $CWD/CEGUI*.pc $PKGOPTLIB/pkgconfig
+sed -i "s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/g" $PKGOPTLIB/pkgconfig/*.pc
-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 $PKGDOC
+cp -a doc/* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
-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
+rm -f $PKGOPTLIB/*.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/libraries/CEGUI0.7/CEGUI0.7.info b/libraries/CEGUI0.7/CEGUI0.7.info
index c78355edfb..5c200e4430 100644
--- a/libraries/CEGUI0.7/CEGUI0.7.info
+++ b/libraries/CEGUI0.7/CEGUI0.7.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://prdownloads.sourceforge.net/crayzedsgui/CEGUI-0.7.9.tar.gz"
MD5SUM="a8b682daf82e383edc169c2e6eb2b321"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="FreeImage"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/CEGUI0.7/README b/libraries/CEGUI0.7/README
index 1105ffa453..7e78fdbb50 100644
--- a/libraries/CEGUI0.7/README
+++ b/libraries/CEGUI0.7/README
@@ -14,5 +14,6 @@ particular, pay attention to the image codecs because you might want
to disable the others to ensure that the one you want to use is the
default codec.
-NOTE: This package conflict with CEGUI=> 0.8. Only install one of
-them, NOT both.
+NOTE: This package does not conflict with CEGUI => 0.8. It's safe
+to install both. CEGUI0.7 get installed to /opt/CEGUI0.7; if you're
+trying to build with it, see games/smc for an example.
diff --git a/libraries/CGAL/CGAL.SlackBuild b/libraries/CGAL/CGAL.SlackBuild
index 1f739e4506..516ef81152 100644
--- a/libraries/CGAL/CGAL.SlackBuild
+++ b/libraries/CGAL/CGAL.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CGAL
@@ -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.
+# 20220416 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - man page goes in /usr/man/man1/blah.1.gz, not /usr/man/blah1.gz!
+# - remove useless INSTALL.md from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=CGAL
VERSION=${VERSION:-4.13}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p build
cd build
@@ -76,27 +87,23 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCGAL_INSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
- -DCGAL_INSTALL_MAN_DIR=man \
+ -DCGAL_INSTALL_MAN_DIR=man/man1 \
-DCGAL_INSTALL_CMAKE_DIR=lib${LIBDIRSUFFIX}/CGAL \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
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
+gzip -9 $PKG/usr/man/man*/*
# We don't really need this :P
rm $PKG/usr/bin/cgal_make_macosx_app
-find $PKG -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 installed docs, create full set of docs in right place
rm -rf $PKG/usr/share/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS CHANGES.md INSTALL.md README VERSION \
+ AUTHORS CHANGES.md README VERSION \
LICENSE LICENSE.FREE_USE LICENSE.GPL LICENSE.LGPL LICENSE.BSL \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -105,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/libraries/CGAL/README b/libraries/CGAL/README
index bacec366ac..9c17baf407 100644
--- a/libraries/CGAL/README
+++ b/libraries/CGAL/README
@@ -1,8 +1,7 @@
-The Computational Geometry Algorithms Library (CGAL) provides efficient and
-reliable geometric algorithms in the form of a C++ library. CGAL is used in
-various areas needing geometric computation, such as computer graphics,
-scientific visualization, computer aided design and modelling, geographic
-information systems, molecular biology, medical imaging, robotics and
-motion planning, mesh generation and numerical methods.
-
-Optional dependency: qt5
+The Computational Geometry Algorithms Library (CGAL) provides
+efficient and reliable geometric algorithms in the form of a C++
+library. CGAL is used in various areas needing geometric computation,
+such as computer graphics, scientific visualization, computer aided
+design and modelling, geographic information systems, molecular
+biology, medical imaging, robotics and motion planning, mesh
+generation and numerical methods.
diff --git a/libraries/CGAL5/CGAL5.SlackBuild b/libraries/CGAL5/CGAL5.SlackBuild
new file mode 100644
index 0000000000..edfee5f4f0
--- /dev/null
+++ b/libraries/CGAL5/CGAL5.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for CGAL5
+
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=CGAL5
+VERSION=${VERSION:-5.6.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=cgal
+
+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"
+else
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+# CGAL5 cannot coexist with the CGAL package based on versions earlier
+# than 5.0, so we need to detect if there are any incompatible installations
+# in the system
+if [[ -f /usr/lib${LIBDIRSUFFIX}/libCGAL.so ]] ; then
+ echo "************************* WARNING **************************";
+ echo " CGAL package based on version earlier than 5.0 found in ";
+ echo " your system! CGAL is incompatible with CGAL5 and you must ";
+ echo " uninstall it before installing CGAL5. ";
+ echo " If the software already installed in your system depends ";
+ echo " on CGAL 4.x you should not need CGAL5 since it is required ";
+ echo " by other packages that depends on version greater than 4.x ";
+ echo " This script will be stopped. ";
+ echo "************************************************************";
+ exit 1;
+fi
+
+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 build
+cd build
+ cmake \
+ -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
+
+find $PKG -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/share/doc/CGAL/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share
+cp -a README.md copyright $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/CGAL5/CGAL5.info b/libraries/CGAL5/CGAL5.info
new file mode 100644
index 0000000000..ce30439f9c
--- /dev/null
+++ b/libraries/CGAL5/CGAL5.info
@@ -0,0 +1,10 @@
+PRGNAM="CGAL5"
+VERSION="5.6.1"
+HOMEPAGE="https://www.cgal.org/"
+DOWNLOAD="https://github.com/CGAL/cgal/archive/v5.6.1/cgal-5.6.1.tar.gz"
+MD5SUM="c1a41186faeeaf412b3a6fd993921606"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/CGAL5/README b/libraries/CGAL5/README
new file mode 100644
index 0000000000..879627829a
--- /dev/null
+++ b/libraries/CGAL5/README
@@ -0,0 +1,17 @@
+The Computational Geometry Algorithms Library (CGAL) provides
+efficient and reliable geometric algorithms in the form of a C++
+library. CGAL is used in various areas needing geometric computation,
+such as computer graphics, scientific visualization, computer aided
+design and modelling, geographic information systems, molecular
+biology, medical imaging, robotics and motion planning, mesh generation
+and numerical methods.
+
+Since version 5.0, GGAL is a header-only library and does not need to
+be compiled. This package contains a version greater than 4.x, required
+by some packages (for example SFCGAL version 1.4.x). It conflicts with
+versions earlier than 5.0, hence CGAL5 is an alternative that cannot
+coexist with the package CGAL also available in this repository.
+
+Packages that depend on CGAL may be incompatible with CGAL5 and vice
+versa. Please make sure which package you really need, depending on the
+software installed or to be installed on your system.
diff --git a/libraries/CGAL5/slack-desc b/libraries/CGAL5/slack-desc
new file mode 100644
index 0000000000..110b972967
--- /dev/null
+++ b/libraries/CGAL5/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------------------------------------------------------|
+CGAL5: CGAL5 (Computational Geometry Algorithms Library)
+CGAL5:
+CGAL5: CGAL is a C++ library of efficient and reliable geometric algorithms.
+CGAL5:
+CGAL5: This package contains a version greater than 4.x: since version 5.0,
+CGAL5: CGAL is a header-only library.
+CGAL5:
+CGAL5:
+CGAL5: Homepage: http://www.cgal.org/
+CGAL5:
+CGAL5:
diff --git a/libraries/CLI11/CLI11.SlackBuild b/libraries/CLI11/CLI11.SlackBuild
new file mode 100644
index 0000000000..dcbca39923
--- /dev/null
+++ b/libraries/CLI11/CLI11.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for CLI11
+
+# Copyright 2023 xaizek
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=CLI11
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCLI11_BUILD_TESTS=OFF \
+ -DCLI11_BUILD_EXAMPLES=OFF \
+ ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+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/libraries/CLI11/CLI11.info b/libraries/CLI11/CLI11.info
new file mode 100644
index 0000000000..2fe228f05b
--- /dev/null
+++ b/libraries/CLI11/CLI11.info
@@ -0,0 +1,10 @@
+PRGNAM="CLI11"
+VERSION="2.4.1"
+HOMEPAGE="https://cliutils.github.io/CLI11/book/"
+DOWNLOAD="https://github.com/CLIUtils/CLI11/archive/v2.4.1/CLI11-2.4.1.tar.gz"
+MD5SUM="d88b829bb557951e2b784baa2a0a2655"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/libraries/CLI11/README b/libraries/CLI11/README
new file mode 100644
index 0000000000..a4b8ac4f7c
--- /dev/null
+++ b/libraries/CLI11/README
@@ -0,0 +1,8 @@
+CLI11 - a command line parser for C++11 and beyond
+
+CLI11 provides all the features you expect in a powerful command line
+parser, with a beautiful, minimal syntax and no dependencies beyond
+C++11. It is header only, and comes in a single file form for easy
+inclusion in projects. It is easy to use for small projects, but
+powerful enough for complex command line projects, and can be
+customized for frameworks.
diff --git a/libraries/CLI11/slack-desc b/libraries/CLI11/slack-desc
new file mode 100644
index 0000000000..4f2aeece5b
--- /dev/null
+++ b/libraries/CLI11/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------------------------------------------------------|
+CLI11: CLI11 (a command line parser for C++11 and beyond)
+CLI11:
+CLI11: CLI11 provides all the features you expect in a powerful command line
+CLI11: parser, with a beautiful, minimal syntax and no dependencies beyond
+CLI11: C++11. It is header only, and comes in a single file form for easy
+CLI11: inclusion in projects. It is easy to use for small projects, but
+CLI11: powerful enough for complex command line projects, and can be
+CLI11: customized for frameworks.
+CLI11:
+CLI11:
+CLI11:
diff --git a/libraries/CherryPy/CherryPy.SlackBuild b/libraries/CherryPy/CherryPy.SlackBuild
deleted file mode 100644
index 94a324700c..0000000000
--- a/libraries/CherryPy/CherryPy.SlackBuild
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for CherryPy
-
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2016-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=CherryPy
-VERSION=${VERSION:-14.1.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
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# install man page
-mkdir -p $PKG/usr/man/man1
-gzip -9 man/cherryd.1
-install -D -m0644 man/cherryd.1.gz $PKG/usr/man/man1/cherryd.1.gz
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst CHANGES.rst LICENSE.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/libraries/CherryPy/CherryPy.info b/libraries/CherryPy/CherryPy.info
deleted file mode 100644
index 98f63c544c..0000000000
--- a/libraries/CherryPy/CherryPy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="CherryPy"
-VERSION="14.1.0"
-HOMEPAGE="http://www.cherrypy.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/80/e2/6701fbcb44a7bb81c5682c1777e090f4bb2bfb7121667dacf1f8f5d72a55/CherryPy-14.1.0.tar.gz"
-MD5SUM="3a262bd44e181a072a99acdaaf40f37f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="cheroot portend"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/CherryPy/README b/libraries/CherryPy/README
deleted file mode 100644
index 316ba98147..0000000000
--- a/libraries/CherryPy/README
+++ /dev/null
@@ -1,5 +0,0 @@
-CherryPy is a pythonic, object-oriented HTTP framework.
-CherryPy allows developers to build web applications in
-much the same way they would build any other object-oriented
-Python program. This results in smaller source code
-developed in less time.
diff --git a/libraries/CherryPy/slack-desc b/libraries/CherryPy/slack-desc
deleted file mode 100644
index b4acdec93c..0000000000
--- a/libraries/CherryPy/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------------------------------------------------------|
-CherryPy: CherryPy (A pythonic, object-oriented web development framework)
-CherryPy:
-CherryPy: A pythonic, object-oriented web development framework. CherryPy
-CherryPy: allows developers to build web applications in much the same way they
-CherryPy: would build any other object-oriented Python program. This results in
-CherryPy: smaller source code developed in less time.
-CherryPy:
-CherryPy: Homepage: http://www.cherrypy.org/
-CherryPy:
-CherryPy:
-CherryPy:
diff --git a/libraries/CoinMP/CoinMP.SlackBuild b/libraries/CoinMP/CoinMP.SlackBuild
index 26dc8130a6..b7d6a1c42a 100644
--- a/libraries/CoinMP/CoinMP.SlackBuild
+++ b/libraries/CoinMP/CoinMP.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CoinMP
@@ -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=CoinMP
VERSION=${VERSION:-1.8.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}
@@ -92,8 +102,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/coin/doc $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/libraries/CondConfigParser/CondConfigParser.SlackBuild b/libraries/CondConfigParser/CondConfigParser.SlackBuild
index cdc69f937b..35c34df94f 100644
--- a/libraries/CondConfigParser/CondConfigParser.SlackBuild
+++ b/libraries/CondConfigParser/CondConfigParser.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CondConfigParser
-# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
+# Copyright 2015-2023 Philip Lacroix <slackph at posteo dot de>
# 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=CondConfigParser
-VERSION=${VERSION:-1.0.3}
+SRCNAM=python3-CondConfigParser
+VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,9 +39,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}
set -e
@@ -46,7 +54,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvjf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvzf $CWD/$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -72,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/libraries/CondConfigParser/CondConfigParser.info b/libraries/CondConfigParser/CondConfigParser.info
index 92fbefe846..611c0c8273 100644
--- a/libraries/CondConfigParser/CondConfigParser.info
+++ b/libraries/CondConfigParser/CondConfigParser.info
@@ -1,10 +1,10 @@
PRGNAM="CondConfigParser"
-VERSION="1.0.3"
+VERSION="1.0.5"
HOMEPAGE="http://frougon.net/projects/CondConfigParser"
-DOWNLOAD="http://frougon.net/projects/CondConfigParser/dist/1.0.3/CondConfigParser-1.0.3.tar.bz2"
-MD5SUM="247f66a6e02c8208cd4f9e2324d0d277"
+DOWNLOAD="http://frougon.net/projects/CondConfigParser/dist/1.0.5/python3-CondConfigParser-1.0.5.tar.gz"
+MD5SUM="b60d211277e3579d319771541d77f3d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Philip Lacroix"
EMAIL="slackph at posteo dot de"
diff --git a/libraries/CondConfigParser/README b/libraries/CondConfigParser/README
index c651ddceec..da0db016a0 100644
--- a/libraries/CondConfigParser/README
+++ b/libraries/CondConfigParser/README
@@ -1,5 +1,6 @@
-CondConfigParser is a Python library designed to help developers of Python
-applications to parse configuration files. Compared to well-known modules such
-as ConfigParser and json, CondConfigParser allows the user to define conditions
-using boolean operators and specific sections in the configuration file, which
-are only applied when the corresponding condition is fulfilled.
+CondConfigParser is a Python library designed to help developers
+of Python applications to parse configuration files. Compared to
+well-known modules such as ConfigParser and json, CondConfigParser
+allows the user to define conditions using boolean operators and
+specific sections in the configuration file, which are only applied
+when the corresponding condition is fulfilled.
diff --git a/libraries/ConfigParser/ConfigParser.SlackBuild b/libraries/ConfigParser/ConfigParser.SlackBuild
index 8d7ec2be2e..d6a754c423 100644
--- a/libraries/ConfigParser/ConfigParser.SlackBuild
+++ b/libraries/ConfigParser/ConfigParser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ConfigParser
@@ -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=ConfigParser
SRCNAM=${PRGNAM,,}
VERSION=${VERSION:-3.5.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}
@@ -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/libraries/ConfigParser/README b/libraries/ConfigParser/README
index 78c255f079..e2f46de937 100644
--- a/libraries/ConfigParser/README
+++ b/libraries/ConfigParser/README
@@ -1,5 +1,6 @@
-This library brings the updated configparser from Python 3.2+ to Python 2.6-2.7.
+This library brings the updated configparser from Python 3.2+ to
+Python 2.6-2.7.
-The ancient ConfigParser module available in the standard library 2.x has
-seen a major update in Python 3.2. This is a backport of those changes so that
-they can be used directly in Python 2.6 - 2.7.
+The ancient ConfigParser module available in the standard library 2.x
+has seen a major update in Python 3.2. This is a backport of those
+changes so that they can be used directly in Python 2.6 - 2.7.
diff --git a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
index 5d64bd89c1..d4ffb2c4c9 100644
--- a/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
+++ b/libraries/Crypt-SSLeay/Crypt-SSLeay.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Crypt-SSLeay
# Modified by SlackBuilds.org --dsomero
@@ -23,28 +23,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=Crypt-SSLeay
VERSION=${VERSION:-0.64}
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="Changes README.md TODO"
-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/libraries/DateTime/DateTime.SlackBuild b/libraries/DateTime/DateTime.SlackBuild
deleted file mode 100644
index 20e73928d4..0000000000
--- a/libraries/DateTime/DateTime.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for DateTime
-
-# Copyright 2014-2017 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=DateTime
-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}
-
-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/doc/$PRGNAM-$VERSION
-cp -a CHANGES.rst PKG-INFO *.txt src/DateTime/*.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/libraries/DateTime/DateTime.info b/libraries/DateTime/DateTime.info
deleted file mode 100644
index a895a8a0fe..0000000000
--- a/libraries/DateTime/DateTime.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="DateTime"
-VERSION="4.2"
-HOMEPAGE="https://pypi.python.org/pypi/DateTime"
-DOWNLOAD="https://pypi.python.org/packages/c2/fd/6f12e58cf25b71a0941e882f030650e040c1990355371a3d51ed3c379449/DateTime-4.2.tar.gz"
-MD5SUM="edbe70fb2b057e338a3c88a77c503418"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="zope.interface pytz"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/DateTime/README b/libraries/DateTime/README
deleted file mode 100644
index 4b543430d5..0000000000
--- a/libraries/DateTime/README
+++ /dev/null
@@ -1,3 +0,0 @@
-This package provides a DateTime data type, as known from Zope 2.
-Unless you need to communicate with Zope 2 APIs, you're probably
-better off using Python's built-in datetime module.
diff --git a/libraries/DateTime/slack-desc b/libraries/DateTime/slack-desc
deleted file mode 100644
index 10e634d687..0000000000
--- a/libraries/DateTime/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------------------------------------------------------|
-DateTime: DateTime (DateTime data type)
-DateTime:
-DateTime: This package provides a DateTime data type, as known from Zope 2.
-DateTime: Unless you need to communicate with Zope 2 APIs, you're probably
-DateTime: better off using Python's built-in datetime module.
-DateTime:
-DateTime: Homepage: https://pypi.python.org/pypi/DateTime
-DateTime:
-DateTime:
-DateTime:
-DateTime:
diff --git a/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild
index 94b4ec1115..e080e8c020 100644
--- a/libraries/DevIL/DevIL.SlackBuild
+++ b/libraries/DevIL/DevIL.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for DevIL
# Written by Phil Warner <pc_warner@yahoo.com>
# Modified by Robby Workman <rworkman@slackbuilds.org>
# Modified by Dugan Chen
-# Yth | Pont-en-Royans, France | yth@ythogtha.org
+# Yth | yth@ythogtha.org
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=DevIL
VERSION=${VERSION:-1.8.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,22 +22,29 @@ 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"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fpermissive"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fpermissive"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -fpermissive"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC -fpermissive"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fpermissive"
LIBDIRSUFFIX=""
fi
@@ -49,30 +59,31 @@ 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 {} \+
if [ "$LIBDIRSUFFIX" = "64" ]; then
patch -p1 < $CWD/lib64.diff
fi
+# -DIL_USE_DXTC_NVIDIA=YES breaks when nvidia-texture-tools is installed
mkdir -p DevIL/build
cd DevIL/build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++14 -fpermissive" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DIL_USE_DXTC_NVIDIA=NO \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
+rm -f DevIL-docs/{Makefile,*.dtd,*.xml,*.java}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md DevIL-docs/ DevIL/CREDITS DevIL/INSTALL DevIL/NEWS \
+cp -a LICENSE README.md DevIL-docs/ DevIL/CREDITS DevIL/NEWS \
DevIL/Libraries.txt DevIL/README.cmake \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -81,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/libraries/DevIL/README b/libraries/DevIL/README
index 95f527de91..08285738e6 100644
--- a/libraries/DevIL/README
+++ b/libraries/DevIL/README
@@ -1,16 +1,19 @@
-Developer's Image Library (DevIL), formerly called OpenIL, is a programmer's
-library to develop applications with very powerful image loading capabilities,
-yet is easy for a developer to learn and use. Ultimate control of images is
-left to the developer, so unnecessary conversions, etc. are not performed.
-DevIL utilizes a simple, yet powerful, syntax. DevIL can load, save, convert,
+Developer's Image Library (DevIL), formerly called OpenIL, is a
+programmer's library to develop applications with very powerful
+image loading capabilities, yet is easy for a developer to learn
+and use. Ultimate control of images is left to the developer, so
+unnecessary conversions, etc. are not performed. DevIL utilizes
+a simple, yet powerful, syntax. DevIL can load, save, convert,
manipulate, filter and display a wide variety of image formats.
-Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .jpg, .lbm,
-.mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm, .psd, .psp, .raw,
-.sgi, .tga and .tif .hdr files.
-Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx,
-.hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif.
+Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .jpg,
+.lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm,
+.psd, .psp, .raw, .sgi, .tga and .tif .hdr files.
-DevIL currently supports the following APIs for display: OpenGL, Windows GDI,
-SDL, DirectX and Allegro. Compilers that can compile DevIL or use it include
-Djgpp, MSVC++, Linux gcc, Delphi, Visual Basic, Power Basic and Dev-C++.
+Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm,
+.pcx, .hdr, .pgm, .png, .ppm, .raw, .sgi, .tga and .tif.
+
+DevIL currently supports the following APIs for display: OpenGL,
+Windows GDI, SDL, DirectX and Allegro. Compilers that can compile
+DevIL or use it include Djgpp, MSVC++, Linux gcc, Delphi, Visual
+Basic, Power Basic and Dev-C++.
diff --git a/libraries/DirectFB/DirectFB.SlackBuild b/libraries/DirectFB/DirectFB.SlackBuild
deleted file mode 100644
index 3c89a09e60..0000000000
--- a/libraries/DirectFB/DirectFB.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for DirectFB
-
-# Copyright 2012 Erik Falor <ewfalor@gmail.com> 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=DirectFB
-VERSION=${VERSION:-1.7.7}
-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 \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --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 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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/DirectFB/DirectFB.info b/libraries/DirectFB/DirectFB.info
deleted file mode 100644
index 6dd9a4177c..0000000000
--- a/libraries/DirectFB/DirectFB.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="DirectFB"
-VERSION="1.7.7"
-HOMEPAGE="https://web.archive.org/web/20150712095718/http://www.directfb.org/"
-DOWNLOAD="http://sources.buildroot.net/DirectFB-1.7.7.tar.gz"
-MD5SUM="152cf1863b1a3a28aa1370e9053440bf"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Erik Falor"
-EMAIL="ewfalor@gmail.com"
diff --git a/libraries/DirectFB/README b/libraries/DirectFB/README
deleted file mode 100644
index 025535b6c2..0000000000
--- a/libraries/DirectFB/README
+++ /dev/null
@@ -1,19 +0,0 @@
-DirectFB (Thin library on top of the Linux framebuffer devices)
-
-DirectFB is a thin library that provides hardware graphics
-acceleration, input device handling and abstraction, integrated
-windowing system with support for translucent windows and multiple
-display layers, not only on top of the Linux Framebuffer Device. It
-is a complete hardware abstraction layer with software fallbacks for
-every graphics operation that is not supported by the underlying
-hardware.
-
-If you experience difficulties with your mouse or keyboard within a
-DirectFB application, create the /etc/directfbrc configuration file
-and try adding the following directives, as appropriate:
-
- disable-module=keyboard
- disable-module=ps2mouse
- disable-module=serialmouse
-
-Read directfbrc(5) for more details on configuring the DirectFB library.
diff --git a/libraries/DirectFB/slack-desc b/libraries/DirectFB/slack-desc
deleted file mode 100644
index a0c09a8911..0000000000
--- a/libraries/DirectFB/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------------------------------------------------------|
-DirectFB: DirectFB (Thin library on top of the Linux framebuffer devices)
-DirectFB:
-DirectFB: DirectFB is a thin library that provides hardware graphics
-DirectFB: acceleration, input device handling and abstraction, integrated
-DirectFB: windowing system with support for translucent windows and multiple
-DirectFB: display layers, not only on top of the Linux Framebuffer Device. It
-DirectFB: is a complete hardware abstraction layer with software fallbacks for
-DirectFB: every graphics operation that is not supported by the underlying
-DirectFB: hardware.
-DirectFB:
-DirectFB:
diff --git a/libraries/ETL/ETL.SlackBuild b/libraries/ETL/ETL.SlackBuild
index d720c00b9c..74fe1f41c0 100644
--- a/libraries/ETL/ETL.SlackBuild
+++ b/libraries/ETL/ETL.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ETL
# Written by Diogo Leal (diogo@diogoleal.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ETL
-VERSION=${VERSION:-0.04.14}
+VERSION=${VERSION:-1.5.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"
@@ -41,13 +51,7 @@ 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 {} \;
+cd ETL-$VERSION/
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -60,18 +64,20 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make $JOBS
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 AUTHORS ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ETL/ETL.info b/libraries/ETL/ETL.info
index a5d26b80da..b75f98b946 100644
--- a/libraries/ETL/ETL.info
+++ b/libraries/ETL/ETL.info
@@ -1,10 +1,10 @@
PRGNAM="ETL"
-VERSION="0.04.14"
-HOMEPAGE="http://synfig.org/"
-DOWNLOAD="http://downloads.sourceforge.net/synfig/ETL-0.04.14.tar.gz"
-MD5SUM="7cb91905cbe07af327340aeba2226c06"
+VERSION="1.5.1"
+HOMEPAGE="https://www.synfig.org/"
+DOWNLOAD="https://github.com/synfig/synfig/releases/download/v1.5.1/ETL-1.5.1.tar.gz"
+MD5SUM="1eb58a29867edd23d97657bed5e66419"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Diogo Leal"
-EMAIL="diogo@diogoleal.com"
+MAINTAINER="Zhu Qun-Ying"
+EMAIL="zhu.qunying@gmail.com"
diff --git a/libraries/FormEncode/FormEncode.SlackBuild b/libraries/FormEncode/FormEncode.SlackBuild
index 53d6190705..8b9e1924c8 100644
--- a/libraries/FormEncode/FormEncode.SlackBuild
+++ b/libraries/FormEncode/FormEncode.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FormEncode
@@ -22,20 +22,32 @@
# 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:
+# - clean up doc dir. there's no "regen-docs" script in v1.26, and I
+# don't see a way to convert the docs/*.txt files to HTML. anyway
+# they're perfectly readable as-is, so just install them.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FormEncode
VERSION=${VERSION:-1.2.6}
-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}
@@ -51,20 +63,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 \
+ -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 {} \+
python setup.py install --root=$PKG
-./regen-docs || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
-cp -a docs/_build/* $PKG/usr/doc/$PRGNAM-$VERSION/html || \
- cp -a docs $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf docs/_themes # 20220416 bkw: nothing useful here
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.txt 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/FreeImage/010_avoid-raw-literal.diff b/libraries/FreeImage/010_avoid-raw-literal.diff
deleted file mode 100644
index a22d3f58a8..0000000000
--- a/libraries/FreeImage/010_avoid-raw-literal.diff
+++ /dev/null
@@ -1,44 +0,0 @@
-# See: https://sourceforge.net/p/freeimage/discussion/36110/thread/605ef8e4
-#
---- Source/LibWebP/src/dsp/dsp.yuv_mips_dsp_r2.c.orig 2015-02-20 03:34:38.000000000 +1000
-+++ Source/LibWebP/src/dsp/dsp.yuv_mips_dsp_r2.c 2016-11-20 08:42:49.733624164 +1000
-@@ -54,9 +54,9 @@
- "srl %[temp5], %[temp5], 24 \n\t" \
- "srl %[temp6], %[temp6], 24 \n\t" \
- "srl %[temp7], %[temp7], 24 \n\t" \
-- "sb %[temp5], "#R"(%[dst]) \n\t" \
-- "sb %[temp6], "#G"(%[dst]) \n\t" \
-- "sb %[temp7], "#B"(%[dst]) \n\t" \
-+ "sb %[temp5], " #R "(%[dst]) \n\t" \
-+ "sb %[temp6], " #G "(%[dst]) \n\t" \
-+ "sb %[temp7], " #B "(%[dst]) \n\t" \
-
- #define ASM_CLOBBER_LIST() \
- : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2), \
---- Source/LibWebP/src/dsp/dsp.upsampling_mips_dsp_r2.c.orig 2015-02-20 03:34:36.000000000 +1000
-+++ Source/LibWebP/src/dsp/dsp.upsampling_mips_dsp_r2.c 2016-11-20 08:39:33.163757201 +1000
-@@ -34,15 +34,15 @@
- G = G - t2 + kGCst; \
- B = B + kBCst; \
- __asm__ volatile ( \
-- "shll_s.w %["#R"], %["#R"], 9 \n\t" \
-- "shll_s.w %["#G"], %["#G"], 9 \n\t" \
-- "shll_s.w %["#B"], %["#B"], 9 \n\t" \
-- "precrqu_s.qb.ph %["#R"], %["#R"], $zero \n\t" \
-- "precrqu_s.qb.ph %["#G"], %["#G"], $zero \n\t" \
-- "precrqu_s.qb.ph %["#B"], %["#B"], $zero \n\t" \
-- "srl %["#R"], %["#R"], 24 \n\t" \
-- "srl %["#G"], %["#G"], 24 \n\t" \
-- "srl %["#B"], %["#B"], 24 \n\t" \
-+ "shll_s.w %[" #R "], %[" #R "], 9 \n\t" \
-+ "shll_s.w %[" #G "], %[" #G "], 9 \n\t" \
-+ "shll_s.w %[" #B "], %[" #B "], 9 \n\t" \
-+ "precrqu_s.qb.ph %[" #R "], %[" #R "], $zero \n\t" \
-+ "precrqu_s.qb.ph %[" #G "], %[" #G "], $zero \n\t" \
-+ "precrqu_s.qb.ph %[" #B "], %[" #B "], $zero \n\t" \
-+ "srl %[" #R "], %[" #R "], 24 \n\t" \
-+ "srl %[" #G "], %[" #G "], 24 \n\t" \
-+ "srl %[" #B "], %[" #B "], 24 \n\t" \
- : [R]"+r"(R), [G]"+r"(G), [B]"+r"(B) \
- : \
- ); \
diff --git a/libraries/FreeImage/FreeImage.SlackBuild b/libraries/FreeImage/FreeImage.SlackBuild
index 9787e0772a..2c1411efae 100644
--- a/libraries/FreeImage/FreeImage.SlackBuild
+++ b/libraries/FreeImage/FreeImage.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FreeImage/FreeImagePlus
# Written by Phillip Warner <pc_warner@yahoo.com>
# Taken over in 2011 by Alan Alberghini <414N@slacky.it>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FreeImage
-VERSION=${VERSION:-3.17.0}
+VERSION=${VERSION:-3.18.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCS="README.linux license-*.txt Whatsnew.txt Examples/ TestAPI/"
@@ -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}
@@ -53,12 +63,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 in order to compile on gcc >= 5.1 environments
-# Thanks to Christoph Willing
-patch -p0 < $CWD/010_avoid-raw-literal.diff
-
CFLAGS="$SLKCFLAGS -fexceptions -fvisibility=hidden -DNO_LCMS" \
-CXXFLAGS="$SLKCFLAGS -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy" \
+CXXFLAGS="$SLKCFLAGS -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -std=c++14" \
make INSTALLDIR=$PKG/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
make install INSTALLDIR=$PKG/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
@@ -80,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/libraries/FreeImage/FreeImage.info b/libraries/FreeImage/FreeImage.info
index 10a5f841cb..639d2753d1 100644
--- a/libraries/FreeImage/FreeImage.info
+++ b/libraries/FreeImage/FreeImage.info
@@ -1,8 +1,8 @@
PRGNAM="FreeImage"
-VERSION="3.17.0"
+VERSION="3.18.0"
HOMEPAGE="http://freeimage.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/freeimage/FreeImage3170.zip"
-MD5SUM="459e15f0ec75d6efa3c7bd63277ead86"
+DOWNLOAD="http://downloads.sourceforge.net/freeimage/FreeImage3180.zip"
+MD5SUM="f8ba138a3be233a3eed9c456e42e2578"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/FreeImage/README b/libraries/FreeImage/README
index ef52eb1e48..d360df874e 100644
--- a/libraries/FreeImage/README
+++ b/libraries/FreeImage/README
@@ -1,8 +1,8 @@
FreeImage - image library
-FreeImage is an Open Source library project for developers who would like
-to support popular graphics image formats like PNG, BMP, JPEG, TIFF and
-others as needed by today's multimedia applications. FreeImage is easy to
-use, fast, and multithreading safe.
+FreeImage is an Open Source library project for developers
+who would like to support popular graphics image formats like
+PNG, BMP, JPEG, TIFF and others as needed by today's multimedia
+applications. FreeImage is easy to use, fast, and multithreading safe.
This script compiles the FreeImage library and the FreeImagePlus C++
wrapper.
diff --git a/libraries/GLee/GLee.SlackBuild b/libraries/GLee/GLee.SlackBuild
index 0899475409..93b8e5e009 100644
--- a/libraries/GLee/GLee.SlackBuild
+++ b/libraries/GLee/GLee.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild Script for GLee
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220416 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install docs in correct directory (not /usr/share/doc).
+# - don't run ldconfig during 'make install' (it's useless anyway).
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="GLee"
VERSION=${VERSION:-5.4.0}
-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"
@@ -68,15 +80,11 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
patch -t Makefile.in< $CWD/destdir.patch
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+chmod 644 *
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+sh ./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -85,16 +93,18 @@ CXXFLAGS="$SLKCFLAGS" \
--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
+make install DESTDIR=$PKG LDCONFIG=/bin/true
+strip $PKG/usr/lib*/*.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share
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/libraries/GeographicLib/GeographicLib.SlackBuild b/libraries/GeographicLib/GeographicLib.SlackBuild
new file mode 100644
index 0000000000..4a75037905
--- /dev/null
+++ b/libraries/GeographicLib/GeographicLib.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for GeographicLib
+
+# Copyright 2023 Philip Lacroix <slackph at posteo dot 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=GeographicLib
+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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvzf $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} \
+ --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
+
+find $PKG -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
+
+# Install recommended datasets (geoid, gravity, magnetic).
+# For other datasets, please see this SlackBuild's README.
+PRGSHR=$PKG/usr/share/$PRGNAM
+mkdir $PRGSHR
+tar xvjf $CWD/egm96-5.tar.bz2 -C $PRGSHR
+tar xvjf $CWD/egm96.tar.bz2 -C $PRGSHR
+tar xvjf $CWD/wmm2020.tar.bz2 -C $PRGSHR
+chown -R root:root $PRGSHR
+
+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/libraries/GeographicLib/GeographicLib.info b/libraries/GeographicLib/GeographicLib.info
new file mode 100644
index 0000000000..3ab22f5765
--- /dev/null
+++ b/libraries/GeographicLib/GeographicLib.info
@@ -0,0 +1,16 @@
+PRGNAM="GeographicLib"
+VERSION="2.1.2"
+HOMEPAGE="https://sourceforge.net/projects/geographiclib"
+DOWNLOAD="https://sourceforge.net/projects/geographiclib/files/distrib-C++/GeographicLib-2.1.2.tar.gz \
+ https://sourceforge.net/projects/geographiclib/files/geoids-distrib/egm96-5.tar.bz2 \
+ https://sourceforge.net/projects/geographiclib/files/gravity-distrib/egm96.tar.bz2 \
+ https://sourceforge.net/projects/geographiclib/files/magnetic-distrib/wmm2020.tar.bz2"
+MD5SUM="8b0010429ebda99e624b51dfa06bbbed \
+ 6ae1c02c0506a686c9ad33be42cad0ae \
+ dcc1ab8e3433bd0add901b2f3e5caa76 \
+ 7a1d6e3044a1be0512f3ec99b310c4e9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Philip Lacroix"
+EMAIL="slackph at posteo dot de"
diff --git a/libraries/GeographicLib/README b/libraries/GeographicLib/README
new file mode 100644
index 0000000000..987fb362f7
--- /dev/null
+++ b/libraries/GeographicLib/README
@@ -0,0 +1,25 @@
+GeographicLib is a small C++ library for: geodesic and rhumb line
+calculations; conversions between geographic, UTM, UPS, MGRS,
+geocentric, and local cartesian coordinates; gravity (e.g., EGM2008)
+and geomagnetic field (e.g., WMM2020) calculations.
+
+The emphasis is on returning accurate results with errors close to
+round-off (about 5–15 nanometers). Accurate algorithms for Geodesics
+on an ellipsoid of revolution and Transverse Mercator projection have
+been developed for this library. The functionality of the library can
+be accessed from user code or from the Utility programs provided.
+
+This library is not a general purpose projection library nor does it
+perform datum conversions; use PROJ instead.
+
+
+NOTE - This SlackBuild installs the following data sets: egm96-5
+(geoid), egm96 (gravity) and wmm2020 (magnetic), provided that they
+have been downloaded and placed in the SlackBuild's directory, along
+with the source tarball. Several other data sets are available on the
+project's website, or can be downloaded and installed automatically
+by using the following scripts, after installation of the package:
+
+ /usr/sbin/geographiclib-get-geoids
+ /usr/sbin/geographiclib-get-gravity
+ /usr/sbin/geographiclib-get-magnetic
diff --git a/libraries/GeographicLib/slack-desc b/libraries/GeographicLib/slack-desc
new file mode 100644
index 0000000000..521184b965
--- /dev/null
+++ b/libraries/GeographicLib/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------------------------------------------------------|
+GeographicLib: GeographicLib (library for converting geographic coordinate systems)
+GeographicLib:
+GeographicLib: GeographicLib is a small C++ library for: geodesic and rhumb line
+GeographicLib: calculations; conversions between geographic, UTM, UPS, MGRS,
+GeographicLib: geocentric, and local cartesian coordinates; gravity (e.g., EGM2008)
+GeographicLib: and geomagnetic field (e.g., WMM2020) calculations.
+GeographicLib:
+GeographicLib: Homepage: https://sourceforge.net/projects/geographiclib
+GeographicLib:
+GeographicLib:
+GeographicLib:
diff --git a/libraries/Geraldo/Geraldo.SlackBuild b/libraries/Geraldo/Geraldo.SlackBuild
index 2318810144..730a1b791c 100644
--- a/libraries/Geraldo/Geraldo.SlackBuild
+++ b/libraries/Geraldo/Geraldo.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,37 @@
# Written by Lionel Young <redtricycle@gmail.com>
# Based on http://slackbuilds.org/template.SlackBuild
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove +x permission from fonts in doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Geraldo
VERSION=${VERSION:-0.4.12}
-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"
@@ -49,15 +60,16 @@ cd $PRGNAM-$VERSION-stable
chown -R root: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 {} \+
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
+chmod 644 geraldo/tests/*.ttf # 20220422 bkw: fonts aren't executables.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGES AUTHORS LICENSE README examples geraldo/tests \
@@ -68,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/libraries/Geraldo/Geraldo.info b/libraries/Geraldo/Geraldo.info
index 85fa327982..9582727569 100644
--- a/libraries/Geraldo/Geraldo.info
+++ b/libraries/Geraldo/Geraldo.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/G/Geraldo/Geraldo-0.4.12-stabl
MD5SUM="26e164f4cd3bd28468139f15420fa053"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="reportlab"
+REQUIRES="python2-reportlab"
MAINTAINER="Lionel Young"
EMAIL="redtricycle@gmail.com"
diff --git a/libraries/Geraldo/README b/libraries/Geraldo/README
index c6c0506465..cfcac90887 100644
--- a/libraries/Geraldo/README
+++ b/libraries/Geraldo/README
@@ -1,3 +1,4 @@
-Geraldo is a reports engine for Python or Django applications. It uses the
-power of ReportLab to generate reports with page header and footer, child
-bands, report begin and summary bands, agreggation and graphic elements, etc.
+Geraldo is a reports engine for Python or Django applications.
+It uses the power of ReportLab to generate reports with page header
+and footer, child bands, report begin and summary bands, agreggation
+and graphic elements, etc.
diff --git a/libraries/GitPython/GitPython.SlackBuild b/libraries/GitPython/GitPython.SlackBuild
index c99690dbb8..9d448b4b4a 100644
--- a/libraries/GitPython/GitPython.SlackBuild
+++ b/libraries/GitPython/GitPython.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GitPython
-# 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,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=GitPython
-VERSION=${VERSION:-3.0.2}
+VERSION=${VERSION:-3.1.41}
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,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
-
-# 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
@@ -87,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/libraries/GitPython/GitPython.info b/libraries/GitPython/GitPython.info
index 1071f3f7ba..edda47587b 100644
--- a/libraries/GitPython/GitPython.info
+++ b/libraries/GitPython/GitPython.info
@@ -1,10 +1,10 @@
PRGNAM="GitPython"
-VERSION="3.0.2"
+VERSION="3.1.41"
HOMEPAGE="https://github.com/gitpython-developers/GitPython"
-DOWNLOAD="https://files.pythonhosted.org/packages/51/46/993beca52f3b609d148071e129235b866626eeb6056f2faffb41d9d727a7/GitPython-3.0.2.tar.gz"
-MD5SUM="ccec14a5c9f18702406122983d80032c"
+DOWNLOAD="https://files.pythonhosted.org/packages/e5/c2/6e3a26945a7ff7cf2854b8825026cf3f22ac8e18285bc11b6b1ceeb8dc3f/GitPython-3.1.41.tar.gz"
+MD5SUM="d03494fa7c4336058ae9cf42d88a2890"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gitdb2"
+REQUIRES="python3-gitdb2"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/GtkD/GtkD.SlackBuild b/libraries/GtkD/GtkD.SlackBuild
index c26c62e8b9..fb6f271192 100644
--- a/libraries/GtkD/GtkD.SlackBuild
+++ b/libraries/GtkD/GtkD.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GtkD
-# Copyright 2016-2018 Philip van der Hoeven, Almere, The Netherlands
+# Copyright 2022 Damian Perticone , Berisso, Argentina
# 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=GtkD
-VERSION=${VERSION:-3.8.3}
+VERSION=${VERSION:-3.10.0}
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}
@@ -69,8 +76,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make DC=dmd libs shared-libs gstreamer vte shared-gstreamer shared-vte
-make prefix=/usr libdir=lib$LIBDIRSUFFIX DESTDIR=$PKG install install-gstreamer install-vte
+make DC=ldc2 gtkd gtkdgl libs shared-libs gstreamer vte shared-gstreamer shared-vte
+make prefix=/usr libdir=lib$LIBDIRSUFFIX DESTDIR=$PKG install install-gstreamer install-vte install-gtkd install-gtkdgl
make prefix=/usr libdir=lib$LIBDIRSUFFIX DESTDIR=$PKG install-shared install-shared-gstreamer install-shared-vte
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -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/libraries/GtkD/GtkD.info b/libraries/GtkD/GtkD.info
index 36d391a178..8f012e059c 100644
--- a/libraries/GtkD/GtkD.info
+++ b/libraries/GtkD/GtkD.info
@@ -1,10 +1,10 @@
PRGNAM="GtkD"
-VERSION="3.8.3"
+VERSION="3.10.0"
HOMEPAGE="https://gtkd.org/"
-DOWNLOAD="https://github.com/gtkd-developers/GtkD/archive/v3.8.3/GtkD-3.8.3.tar.gz"
-MD5SUM="6c9f15c622269f367c8a333c9a74eb3b"
+DOWNLOAD="https://github.com/gtkd-developers/GtkD/archive/v3.10.0/GtkD-3.10.0.tar.gz"
+MD5SUM="ead4d778b9689e61e0443253f90f97d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dmd"
-MAINTAINER="Philip van der Hoeven"
-EMAIL="philip@vd-hoeven.nl"
+REQUIRES="ldc"
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/HawkNL/HawkNL.SlackBuild b/libraries/HawkNL/HawkNL.SlackBuild
index 789c2a29e2..efd66fa8e1 100644
--- a/libraries/HawkNL/HawkNL.SlackBuild
+++ b/libraries/HawkNL/HawkNL.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for HawkNL
@@ -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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix broken symlinks in lib dir that were pointing to the build dir.
+# - remove static lib.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=HawkNL
VERSION=${VERSION:-1.68}
SRCVER=168src
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -66,26 +77,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 {} \+
cd src
make -f makefile.linux
- install -D -m755 libNL.so.1.6.8 $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1.6.8
- install -D -m755 libNL.a $PKG/usr/lib${LIBDIRSUFFIX}/libNL.a
- ln -sf $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1.6.8 $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1.6
- ln -sf $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1.6.8 $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1
- ln -sf $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1.6.8 $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so
- ln -sf $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1.6.8 $PKG/usr/lib${LIBDIRSUFFIX}/NL.so
+ install -s -D -m755 libNL.so.1.6.8 $PKG/usr/lib${LIBDIRSUFFIX}/libNL.so.1.6.8
+
+ for i in libNL.so.1.6 libNL.so.1 libNL.so NL.so; do
+ ln -s libNL.so.1.6.8 $PKG/usr/lib${LIBDIRSUFFIX}/$i
+ done
cd ..
mkdir -p $PKG/usr/include
install -D -m644 include/nl.h $PKG/usr/include/nl.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 src/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -94,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/libraries/HawkNL/HawkNL.info b/libraries/HawkNL/HawkNL.info
index b6e846a7a0..1e8218c4ee 100644
--- a/libraries/HawkNL/HawkNL.info
+++ b/libraries/HawkNL/HawkNL.info
@@ -1,7 +1,7 @@
PRGNAM="HawkNL"
VERSION="1.68"
HOMEPAGE="https://github.com/dfyx/HawkNL"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/HawkNL168src.zip"
+DOWNLOAD="https://slackware.uk/~urchlay/src/HawkNL168src.zip"
MD5SUM="1b5eb1373a4c45dc49ded2c9d89cec93"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/Hypodermic/Hypodermic.SlackBuild b/libraries/Hypodermic/Hypodermic.SlackBuild
index c6d96357d5..3fb30a38fd 100644
--- a/libraries/Hypodermic/Hypodermic.SlackBuild
+++ b/libraries/Hypodermic/Hypodermic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Hypodermic
@@ -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=Hypodermic
VERSION=${VERSION:-2.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}
@@ -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/libraries/IMAPClient/IMAPClient.SlackBuild b/libraries/IMAPClient/IMAPClient.SlackBuild
index 7a1d1b5549..9de0e82630 100644
--- a/libraries/IMAPClient/IMAPClient.SlackBuild
+++ b/libraries/IMAPClient/IMAPClient.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for IMAPClient
@@ -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=IMAPClient
VERSION=${VERSION:-0.13}
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/libraries/Impacket/Impacket.SlackBuild b/libraries/Impacket/Impacket.SlackBuild
index 1d22002ffa..929d02518a 100644
--- a/libraries/Impacket/Impacket.SlackBuild
+++ b/libraries/Impacket/Impacket.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Impacket.
# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
-# Copyright 2015-2016, 2018 Brenton Earl <brent@exitstatusone.com>
+# Copyright 2015-2020, Brenton Earl <brent@exitstatusone.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove /usr/share/doc.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Impacket
SRCNAM=impacket
-SRCVER=_0_9_17
-VERSION=${VERSION:-0.9.17}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.9.21}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,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,21 +73,25 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCNAM$SRCVER
-tar -xzvf $CWD/$SRCNAM-$SRCNAM$SRCVER.tar.gz
-cd $SRCNAM-$SRCNAM$SRCVER
+rm -rf $SRCNAM-$VERSION
+tar -xzvf $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 {} \+
-python setup.py install --root=$PKG
+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
+# 20220422 bkw: nothing in share except redundant doc.
+rm -rf $PKG/usr/share
+
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
@@ -87,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/libraries/Impacket/Impacket.info b/libraries/Impacket/Impacket.info
index 41652e8617..b259b7b4fd 100644
--- a/libraries/Impacket/Impacket.info
+++ b/libraries/Impacket/Impacket.info
@@ -1,10 +1,10 @@
PRGNAM="Impacket"
-VERSION="0.9.17"
-HOMEPAGE="https://www.coresecurity.com/corelabs-research/open-source-tools/impacket"
-DOWNLOAD="https://github.com/CoreSecurity/impacket/archive/impacket_0_9_17/impacket-impacket_0_9_17.tar.gz"
-MD5SUM="a53a34898856307c79c02fcd8b8b1cb4"
+VERSION="0.9.21"
+HOMEPAGE="https://github.com/SecureAuthCorp/impacket"
+DOWNLOAD="https://pypi.io/packages/source/i/impacket/impacket-0.9.21.tar.gz"
+MD5SUM="c0a71706c09c7343905c9395076d7e31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyasn1 pycrypto six"
+REQUIRES="python2-pyasn1 python2-pycrypto python3-pyasn1"
MAINTAINER="Brenton Earl"
EMAIL="brent@exitstatusone.com"
diff --git a/libraries/Impacket/README b/libraries/Impacket/README
index 00e4b5f792..6b9de911f9 100644
--- a/libraries/Impacket/README
+++ b/libraries/Impacket/README
@@ -3,7 +3,7 @@ to network packets. Impacket allows Python developers to craft and
decode network packets in simple and consistent manner. It includes
support for low-level protocols such as IP, UDP and TCP, as well as
higher-level protocols such as NMB and SMB. Impacket is highly effective
-when used in conjunction with a packet capture utility or package such as
-Pcapy. Packets can be constructed from scratch, as well as parsed from
-raw data. Furthermore, the object oriented API makes it simple to work
-with deep protocol hierarchies.
+when used in conjunction with a packet capture utility or package such
+as Pcapy. Packets can be constructed from scratch, as well as parsed
+from raw data. Furthermore, the object oriented API makes it simple to
+work with deep protocol hierarchies.
diff --git a/libraries/Impacket/slack-desc b/libraries/Impacket/slack-desc
index 76de7c50f6..90a47a07d9 100644
--- a/libraries/Impacket/slack-desc
+++ b/libraries/Impacket/slack-desc
@@ -14,6 +14,6 @@ Impacket: decode network packets in simple and consistent manner. It includes
Impacket: support for low-level protocols such as IP, UDP and TCP, as well as
Impacket: higher-level protocols such as NMB and SMB.
Impacket:
-Impacket: Home page: https://github.com/CoreSecurity/impacket
+Impacket: Home page: https://github.com/SecureAuthCorp/impacket
Impacket:
Impacket:
diff --git a/libraries/Ipopt/Ipopt.SlackBuild b/libraries/Ipopt/Ipopt.SlackBuild
index 867f40e48a..c1139d8704 100644
--- a/libraries/Ipopt/Ipopt.SlackBuild
+++ b/libraries/Ipopt/Ipopt.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Ipopt
+# Copyright 2024 Juan M. Lasca <juanmlasca@gmail.com>
# Copyright 2016 PARC Inc. Palo Alto
# All rights reserved.
#
@@ -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=Ipopt
-VERSION=${VERSION:-3.12.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.14.14}
+BUILD=${BUILD:-3}
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,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
+tar xvf $CWD/$PRGNAM-releases-$VERSION.tar.gz
+mv $PRGNAM-releases-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -86,14 +95,21 @@ 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 $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+cp -a \
+ LICENSE AUTHORS README.md ChangeLog.md \
+ examples \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/*.html doc/*.css \
+ $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/coin/doc/Ipopt/* $PKG/usr/doc/$PRGNAM-$VERSION
+
rm -rf $PKG/usr/share/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/Ipopt/Ipopt.info b/libraries/Ipopt/Ipopt.info
index d573af0728..3c7ab3374a 100644
--- a/libraries/Ipopt/Ipopt.info
+++ b/libraries/Ipopt/Ipopt.info
@@ -1,10 +1,10 @@
PRGNAM="Ipopt"
-VERSION="3.12.6"
-HOMEPAGE="https://projects.coin-or.org/Ipopt"
-DOWNLOAD="http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.6.tgz"
-MD5SUM="076bac1fa0c4e40dca8fab8768cbb70e"
+VERSION="3.14.14"
+HOMEPAGE="https://github.com/coin-or/Ipopt"
+DOWNLOAD="https://github.com/coin-or/Ipopt/archive/releases/3.14.14/Ipopt-releases-3.14.14.tar.gz"
+MD5SUM="75c288ff392e95db0ac6b296b2b3b367"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="blas"
-MAINTAINER="Alexander Feldman"
-EMAIL="alex@llama.gs"
+REQUIRES="lapack"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/JSBSim/JSBSim.SlackBuild b/libraries/JSBSim/JSBSim.SlackBuild
new file mode 100644
index 0000000000..6af1fbc386
--- /dev/null
+++ b/libraries/JSBSim/JSBSim.SlackBuild
@@ -0,0 +1,162 @@
+#!/bin/bash
+
+# Slackware build script for JSBsim
+
+# Copyright 2023 Brian Hoffpauir, 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=JSBSim
+SRCNAM=${PRGNAM,,}
+VERSION=${VERSION:-1.1.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+
+# OPTIONS
+# Build using Slackware's l/expat XML parsing library (default to ON)
+SYSTEM_EXPAT=${SYSTEM_EXPAT:-ON}
+# Share library between Python module and JSBSim executable (default to ON)
+# Otherwise build a static library.
+BUILD_SHARED_LIBS=${BUILD_SHARED_LIBS:-ON}
+# Build C++ API documentation (default to OFF; requires Doxygen and Graphviz)
+BUILD_DOCS=${BUILD_DOCS:-OFF}
+# This option is used for both build & install CMake cache variables
+BUILD_PYTHON_MODULE=${BUILD_PYTHON_MODULE:-ON} # (default to ON)
+# Ensure appropriate Python version 3 executable is used; can be overridden if needed
+PYTHON_EXECUTABLE=${PYTHON_EXECUTABLE:-"$(which python3)"}
+
+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 build
+cd build
+ cmake -G "Unix Makefiles" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
+ -DSYSTEM_EXPAT="$SYSTEM_EXPAT" \
+ -DBUILD_SHARED_LIBS="$BUILD_SHARED_LIBS" \
+ -DBUILD_DOCS="$BUILD_DOCS" \
+ -DBUILD_PYTHON_MODULE="$BUILD_PYTHON_MODULE" \
+ -DINSTALL_JSBSIM_PYTHON_MODULE="$BUILD_PYTHON_MODULE" ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# JSBSim's CMake setup does not support GNUInstallDirs or a LIB_SUFFIX cache variable.
+# If a library directory suffix is set, move the libraries to that directory.
+if [ -n "$LIBDIRSUFFIX" ]; then
+ # Create /usr/lib64/ and /usr/lib64/pkgconfig
+ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/{,pkgconfig}
+ # Move libAeromatic++ and libJSBSim
+ mv $PKG/usr/lib/libAeromatic++.* $PKG/usr/lib${LIBDIRSUFFIX}/
+ mv $PKG/usr/lib/libJSBSim.* $PKG/usr/lib${LIBDIRSUFFIX}/
+ mv $PKG/usr/lib/pkgconfig/JSBSim.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+ # Set correct library directory in libJSBSim's pkgconfig:
+ sed -i "s|libdir=/usr/lib|libdir=/usr/lib${LIBDIRSUFFIX}|" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/JSBSim.pc &>> /dev/null
+ # Remove possibly empty directories
+ rmdir --ignore-fail-on-non-empty \
+ $PKG/usr/lib/pkgconfig/ \
+ $PKG/usr/lib
+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
+# Copy repo docs and sample aircraft data
+cp -a \
+ README.md \
+ COPYING \
+ AUTHORS \
+ doc/DevelopersDocs.md \
+ doc/spreadsheets/ \
+ examples/ \
+ aircraft/ \
+ engine/ \
+ systems/ \
+ scripts/ \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+if [[ "${BUILD_DOCS,,}" = "on" ]]; then # Also copy Doxygen output if built
+ cp -a \
+ build/documentation/html/ \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+fi
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/JSBSim/JSBSim.info b/libraries/JSBSim/JSBSim.info
new file mode 100644
index 0000000000..77defde035
--- /dev/null
+++ b/libraries/JSBSim/JSBSim.info
@@ -0,0 +1,10 @@
+PRGNAM="JSBSim"
+VERSION="1.1.13"
+HOMEPAGE="https://jsbsim.sourceforge.net"
+DOWNLOAD="https://github.com/JSBSim-Team/jsbsim/archive/v1.1.13/jsbsim-1.1.13.tar.gz"
+MD5SUM="fd4e04eb6694499ea62a84d98527f5d3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Brian Hoffpauir"
+EMAIL="bhoffpauir0424@gmail.com"
diff --git a/libraries/JSBSim/README b/libraries/JSBSim/README
new file mode 100644
index 0000000000..f51030fbde
--- /dev/null
+++ b/libraries/JSBSim/README
@@ -0,0 +1,20 @@
+JSBSim is a multi-platform, general purpose object-oriented Flight
+Dynamics Model (FDM) written in C++. The FDM is essentially the
+physics & math model that defines the movement of an aircraft, rocket,
+etc., under the forces and moments applied to it using the various
+control mechanisms and from the forces of nature. JSBSim can be run in
+a standalone batch mode flight simulator (no graphical displays
+a.k.a. console mode) for testing and study, or integrated with the
+Unreal engine, FlightGear and many other simulation environments.
+
+Available options with their default values shown below:
+ SYSTEM_EXPAT=ON
+ Use Slackware's native l/expat XML library
+ BUILD_SHARED_LIBS=ON
+ Build libJSBSim as a shared library for use by the JSBSim executable
+ and the Python module; otherwise, build libJSBSim as a static
+ library
+ BUILD_DOCS=OFF
+ Build the C++ API documentation with Doxygen
+ BUILD_PYTHON_MODULE=ON
+ Build & install the Python module
diff --git a/libraries/JSBSim/slack-desc b/libraries/JSBSim/slack-desc
new file mode 100644
index 0000000000..804e23d838
--- /dev/null
+++ b/libraries/JSBSim/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------------------------------------------------------|
+JSBSim: JSBSim (Object-oriented Flight Dynamics Model (FDM) written in C++)
+JSBSim:
+JSBSim: JSBSim is a multi-platform, general purpose object-oriented Flight
+JSBSim: Dynamics Model (FDM) written in C++. JSBSim can be run in a
+JSBSim: standalone batch mode flight simulator (no graphical displays a.k.a.
+JSBSim: console mode) for testing and study, or integrated with the Unreal
+JSBSim: engine, FlightGear and many other simulation environments.
+JSBSim:
+JSBSim: Homepage: https://jsbsim.sourceforge.net
+JSBSim:
+JSBSim:
diff --git a/libraries/Jinja2/Jinja2.SlackBuild b/libraries/Jinja2/Jinja2.SlackBuild
deleted file mode 100644
index a800f55027..0000000000
--- a/libraries/Jinja2/Jinja2.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Jinja2
-
-# Copyright 2014 Mikko Värri, Finland
-# Copyright 2018-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=Jinja2
-VERSION=${VERSION:-2.11.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 {} \;
-
-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 \
- CHANGES.rst LICENSE.rst 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/libraries/Jinja2/Jinja2.info b/libraries/Jinja2/Jinja2.info
deleted file mode 100644
index ab135713c5..0000000000
--- a/libraries/Jinja2/Jinja2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Jinja2"
-VERSION="2.11.1"
-HOMEPAGE="https://pypi.python.org/pypi/Jinja2"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-2.11.1.tar.gz"
-MD5SUM="5d88c7e77aa63fc852a04f65dbfe5594"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="MarkupSafe"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/libraries/Jinja2/README b/libraries/Jinja2/README
deleted file mode 100644
index 59256ea09d..0000000000
--- a/libraries/Jinja2/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Jinja2 is a template engine written in pure Python. It provides a
-Django inspired non-XML syntax but supports inline expressions and
-an optional sandboxed environment.
diff --git a/libraries/Jinja2/slack-desc b/libraries/Jinja2/slack-desc
deleted file mode 100644
index 8b4b8a0873..0000000000
--- a/libraries/Jinja2/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------------------------------------------------------|
-Jinja2: Jinja2 (Template engine for Python)
-Jinja2:
-Jinja2: Jinja2 is a template engine written in pure Python. It provides a
-Jinja2: Django inspired non-XML syntax but supports inline expressions and
-Jinja2: an optional sandboxed environment.
-Jinja2:
-Jinja2:
-Jinja2:
-Jinja2:
-Jinja2:
-Jinja2:
diff --git a/libraries/Kivy/Kivy.SlackBuild b/libraries/Kivy/Kivy.SlackBuild
index 5c63dd7ef6..99301838af 100644
--- a/libraries/Kivy/Kivy.SlackBuild
+++ b/libraries/Kivy/Kivy.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Kivy
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-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=Kivy
-VERSION=${VERSION:-1.10.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.1.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,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
+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
@@ -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/libraries/Kivy/Kivy.info b/libraries/Kivy/Kivy.info
index 6b9c9602ab..a22f49e9e7 100644
--- a/libraries/Kivy/Kivy.info
+++ b/libraries/Kivy/Kivy.info
@@ -1,10 +1,10 @@
PRGNAM="Kivy"
-VERSION="1.10.1"
+VERSION="2.1.0"
HOMEPAGE="https://kivy.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/7d/8b/89d220b7f96dc2662b81319067f679b4cd73cda66f4aa850db5b6c6cfc7a/Kivy-1.10.1.tar.gz"
-MD5SUM="4f3a0b977b8c3a63f3a6780e783c65d5"
+DOWNLOAD="https://files.pythonhosted.org/packages/7f/33/fe160fff6b3a765ded9df3b9260fc95f2cc477466cc87d8e0f6b5e326a94/Kivy-2.1.0.tar.gz"
+MD5SUM="761b512d8b11a53a614ec045fca5ca7b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="kivy-garden docutils Pygments SDL2_ttf SDL2_image SDL2_mixer"
+REQUIRES="kivy-garden"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/LuaBitOp/LuaBitOp.SlackBuild b/libraries/LuaBitOp/LuaBitOp.SlackBuild
index 47cd8e0d8c..b6f32bd6fa 100644
--- a/libraries/LuaBitOp/LuaBitOp.SlackBuild
+++ b/libraries/LuaBitOp/LuaBitOp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LuaBitOp
@@ -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=LuaBitOp
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}
@@ -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/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
index adc205acf4..aca1525316 100644
--- a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
+++ b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LucenePlusPlus
-# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-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=LucenePlusPlus
-VERSION=${VERSION:-3.0.7}
+VERSION=${VERSION:-3.0.8}
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}
@@ -69,9 +76,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 {} \;
-# Disable building internal gtest
-sed -i "s/include(CMakeExternal.txt)/#include(CMakeExternal.txt)/" CMakeLists.txt
-sed -i "s/enable_testing()/#enable_testing()/" CMakeLists.txt
+patch -p1 < $CWD/soname.patch
mkdir -p build
cd build
@@ -81,6 +86,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_DESTINATION=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT' \
+ -DENABLE_TEST=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -97,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/libraries/LucenePlusPlus/LucenePlusPlus.info b/libraries/LucenePlusPlus/LucenePlusPlus.info
index 0d48b7d561..46b54dbfd1 100644
--- a/libraries/LucenePlusPlus/LucenePlusPlus.info
+++ b/libraries/LucenePlusPlus/LucenePlusPlus.info
@@ -1,10 +1,10 @@
PRGNAM="LucenePlusPlus"
-VERSION="3.0.7"
+VERSION="3.0.8"
HOMEPAGE="https://github.com/luceneplusplus/LucenePlusPlus"
-DOWNLOAD="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.7.tar.gz"
-MD5SUM="e260c1ff9c10af7070faee29f325f955"
+DOWNLOAD="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.8/LucenePlusPlus-rel_3.0.8.tar.gz"
+MD5SUM="cb9b2e7cb37b7dd68c1e24a65c6eda9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtest"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/LucenePlusPlus/soname.patch b/libraries/LucenePlusPlus/soname.patch
new file mode 100644
index 0000000000..d8ddf04955
--- /dev/null
+++ b/libraries/LucenePlusPlus/soname.patch
@@ -0,0 +1,219 @@
+commit 1cd2509ed74ae47965006d16de3c09db029b4efe
+Author: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
+Date: Mon Jan 4 23:45:13 2021 +0100
+
+ Fix various cmake issues:
+ "CMAKE_INSTALL_FULL_LIBDIR" not being correctly evaluated and used
+ pkgconfig directory wrongly set to include instead of lib
+ cmake directory wrongly set to include instead of lib
+ core_libname contrib_libname PACKAGE_CMAKE_INSTALL_INCLUDEDIR PACKAGE_CMAKE_INSTALL_LIBDIR variables not being substituted to cmake.in files
+ cmake helpers not being correctly set
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 41de688..71dbbd5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -21,7 +21,7 @@ if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
+ endif()
+
+ set(LIB_DESTINATION
+- "${CMAKE_INSTALL_FULL_LIBDIR}" CACHE STRING "Define lib output directory name")
++ "${CMAKE_INSTALL_LIBDIR}" CACHE STRING "Define lib output directory name")
+
+
+ ####################################
+diff --git a/src/config/CMakeLists.txt b/src/config/CMakeLists.txt
+index e5e6624..fe8e8b8 100644
+--- a/src/config/CMakeLists.txt
++++ b/src/config/CMakeLists.txt
+@@ -1,16 +1,16 @@
+ ####################################
+ # Set config vars
+ ####################################
+-set(core_libname, "lucene++")
+-set(contrib_libname, "lucene++-contrib")
++set(core_libname "lucene++")
++set(contrib_libname "lucene++-contrib")
+
+ set(
+- PACKAGE_CMAKE_INSTALL_INCLUDEDIR,
+- "${lucene++_INCLUDE_DIR}/lucene++/")
++ PACKAGE_CMAKE_INSTALL_INCLUDEDIR
++ "${CMAKE_INSTALL_INCLUDEDIR}/lucene++/")
+
+ set(
+- PACKAGE_CMAKE_INSTALL_LIBDIR,
+- "${LIB_INSTALL_DIR}/cmake")
++ PACKAGE_CMAKE_INSTALL_LIBDIR
++ "${LIB_DESTINATION}")
+
+
+ ####################################
+diff --git a/src/config/contrib/CMakeLists.txt b/src/config/contrib/CMakeLists.txt
+index c0dd86f..b4a4391 100644
+--- a/src/config/contrib/CMakeLists.txt
++++ b/src/config/contrib/CMakeLists.txt
+@@ -9,7 +9,7 @@ if(NOT WIN32)
+ install(
+ FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contrib.pc"
+- DESTINATION "include/pkgconfig")
++ DESTINATION "${LIB_DESTINATION}/pkgconfig")
+ endif()
+
+
+@@ -19,7 +19,8 @@ endif()
+ configure_package_config_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/liblucene++-contribConfig.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfig.cmake"
+- INSTALL_DESTINATION "${LIB_DESTINATION}/cmake")
++ INSTALL_DESTINATION "${LIB_DESTINATION}/cmake/liblucene++-contrib"
++ PATH_VARS contrib_libname PACKAGE_CMAKE_INSTALL_INCLUDEDIR PACKAGE_CMAKE_INSTALL_LIBDIR)
+
+ write_basic_package_version_file(
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfigVersion.cmake"
+@@ -30,4 +31,4 @@ install(
+ FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfig.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++-contribConfigVersion.cmake"
+- DESTINATION "include/cmake")
++ DESTINATION "${LIB_DESTINATION}/cmake/liblucene++-contrib")
+diff --git a/src/config/contrib/liblucene++-contribConfig.cmake.in b/src/config/contrib/liblucene++-contribConfig.cmake.in
+index f92f683..85fdfd2 100644
+--- a/src/config/contrib/liblucene++-contribConfig.cmake.in
++++ b/src/config/contrib/liblucene++-contribConfig.cmake.in
+@@ -20,6 +20,6 @@ if (NOT DEFINED set_and_check)
+ endif()
+
+
+-set_and_check(liblucene++-contrib_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/@contrib_libname@")
+-set_and_check(liblucene++-contrib_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
+-set(liblucene++-contrib_LIBRARIES "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@contrib_libname@")
++set_and_check(liblucene++-contrib_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
++set_and_check(liblucene++-contrib_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_LIBDIR@")
++set(liblucene++-contrib_LIBRARIES "@contrib_libname@")
+diff --git a/src/config/core/CMakeLists.txt b/src/config/core/CMakeLists.txt
+index a3eb17a..65376f5 100644
+--- a/src/config/core/CMakeLists.txt
++++ b/src/config/core/CMakeLists.txt
+@@ -9,7 +9,7 @@ if(NOT WIN32)
+ install(
+ FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++.pc"
+- DESTINATION "include/pkgconfig")
++ DESTINATION "${LIB_DESTINATION}/pkgconfig")
+ endif()
+
+
+@@ -19,7 +19,8 @@ endif()
+ configure_package_config_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/liblucene++Config.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++Config.cmake"
+- INSTALL_DESTINATION "${LIB_DESTINATION}/cmake")
++ INSTALL_DESTINATION "${LIB_DESTINATION}/cmake/liblucene++"
++ PATH_VARS core_libname PACKAGE_CMAKE_INSTALL_INCLUDEDIR PACKAGE_CMAKE_INSTALL_LIBDIR)
+
+ write_basic_package_version_file(
+ ${CMAKE_CURRENT_BINARY_DIR}/liblucene++ConfigVersion.cmake
+@@ -30,4 +31,4 @@ install(
+ FILES
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++Config.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/liblucene++ConfigVersion.cmake"
+- DESTINATION "include/cmake")
++ DESTINATION "${LIB_DESTINATION}/cmake/liblucene++")
+diff --git a/src/config/core/liblucene++Config.cmake.in b/src/config/core/liblucene++Config.cmake.in
+index 89b48a3..574f812 100644
+--- a/src/config/core/liblucene++Config.cmake.in
++++ b/src/config/core/liblucene++Config.cmake.in
+@@ -20,8 +20,8 @@ if (NOT DEFINED set_and_check)
+ endif()
+
+
+-set_and_check(liblucene++_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@/@core_libname@")
+-set_and_check(liblucene++_LIBRARY_DIRS "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
+-set(liblucene++_LIBRARIES "@PACKAGE_CMAKE_INSTALL_LIBDIR@/@core_libname@")
++set_and_check(liblucene++_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
++set_and_check(liblucene++_LIBRARY_DIRS "${PACKAGE_PREFIX_DIR}/@PACKAGE_CMAKE_INSTALL_LIBDIR@")
++set(liblucene++_LIBRARIES "@core_libname@")
+
+
+
+commit 127492f1ab85fd74ab9f9dff0be5b0a63bf7c271
+Merge: df65bf5 fd9eaf1
+Author: Alan Wright <85800+alanw@users.noreply.github.com>
+Date: Tue Dec 29 17:46:39 2020 +0000
+
+ Merge pull request #160 from Kakueeen/master
+
+ fix a bug of ChineseTokenizer
+
+
+commit fd9eaf10c49239d700af848062acc1d5efd54aa8
+Author: liuzhangjian <liuzhangjian@uniontech.com>
+Date: Fri Dec 4 15:41:31 2020 +0800
+
+ Title:fix a bug of ChineseTokenizer
+
+ Description:When I use ChineseAnalyzer for Chinese word segmentation, I find that English and numbers are treated as one word and I think they should be separated.
+
+ RootCause:Null
+
+ Solution:
+
+diff --git a/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp b/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp
+index d2a19f3..8313445 100644
+--- a/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp
++++ b/src/contrib/analyzers/common/analysis/cn/ChineseFilter.cpp
+@@ -38,7 +38,7 @@ bool ChineseFilter::incrementToken() {
+ if (text.length() > 1) {
+ return true;
+ }
+- } else if (UnicodeUtil::isOther(text[0])) {
++ } else if (UnicodeUtil::isOther(text[0]) || UnicodeUtil::isDigit(text[0])) {
+ // One Chinese character as one Chinese word.
+ // Chinese word extraction to be added later here.
+ return true;
+diff --git a/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp b/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp
+index 38bf987..3b4de74 100644
+--- a/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp
++++ b/src/contrib/analyzers/common/analysis/cn/ChineseTokenizer.cpp
+@@ -65,6 +65,7 @@ bool ChineseTokenizer::incrementToken() {
+
+ length = 0;
+ start = offset;
++ bool last_is_en = false, last_is_num = false;
+
+ while (true) {
+ wchar_t c;
+@@ -82,11 +83,30 @@ bool ChineseTokenizer::incrementToken() {
+ c = ioBuffer[bufferIndex++];
+ }
+
+- if (UnicodeUtil::isDigit(c) || UnicodeUtil::isLower(c) || UnicodeUtil::isUpper(c)) {
++ if (UnicodeUtil::isLower(c) || UnicodeUtil::isUpper(c)) {
++ if (last_is_num) {
++ --bufferIndex;
++ --offset;
++ return flush();
++ }
++
++ push(c);
++ if (length == MAX_WORD_LEN) {
++ return flush();
++ }
++ last_is_en = true;
++ } else if (UnicodeUtil::isDigit(c)) {
++ if (last_is_en) {
++ --bufferIndex;
++ --offset;
++ return flush();
++ }
++
+ push(c);
+ if (length == MAX_WORD_LEN) {
+ return flush();
+ }
++ last_is_num = true;
+ } else if (UnicodeUtil::isOther(c)) {
+ if (length > 0) {
+ --bufferIndex;
diff --git a/libraries/MDI_Library/MDI_Library.SlackBuild b/libraries/MDI_Library/MDI_Library.SlackBuild
new file mode 100644
index 0000000000..86ce026601
--- /dev/null
+++ b/libraries/MDI_Library/MDI_Library.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for MDI_Library
+
+# Copyright 2024 Giancarlo Dessì, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=MDI_Library
+VERSION=${VERSION:-1.4.26}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/MDI_Library/MDI_Library.info b/libraries/MDI_Library/MDI_Library.info
new file mode 100644
index 0000000000..4370cd8d8d
--- /dev/null
+++ b/libraries/MDI_Library/MDI_Library.info
@@ -0,0 +1,10 @@
+PRGNAM="MDI_Library"
+VERSION="1.4.26"
+HOMEPAGE="https://github.com/MolSSI-MDI/MDI_Library"
+DOWNLOAD="https://github.com/MolSSI-MDI/MDI_Library/archive/v1.4.26/MDI_Library-v1.4.26.tar.gz"
+MD5SUM="3124bb85259471e2a53a891f04bf697a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="openmpi"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/MDI_Library/README b/libraries/MDI_Library/README
new file mode 100644
index 0000000000..240b2dfa36
--- /dev/null
+++ b/libraries/MDI_Library/README
@@ -0,0 +1,9 @@
+MDI Library enables code interoperability via the MolSSI Driver
+Interface (MDI).
+
+The MDI project, managed by the Molecular Sciences Software Institute,
+provides a standardized API for fast, on-the-fly communication between
+computational chemistry codes. This greatly simplifies the process of
+implementing methods that require the cooperation of multiple software
+packages and enables developers to write a single implementation that
+works across many different codes.
diff --git a/libraries/MDI_Library/slack-desc b/libraries/MDI_Library/slack-desc
new file mode 100644
index 0000000000..a425336172
--- /dev/null
+++ b/libraries/MDI_Library/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+MDI_Library: MDI_Library (library for code interoperability via MDI)
+MDI_Library:
+MDI_Library: The MolSSI Driver Interface (MDI) project provides a standardized API
+MDI_Library: for fast, on-the-fly communication between computational chemistry
+MDI_Library: codes.
+MDI_Library: MDI_Library enables code interoperability via the MolSSI Driver
+MDI_Library: Interface.
+MDI_Library:
+MDI_Library: Home page: https://molssi.org/
+MDI_Library:
+MDI_Library:
diff --git a/libraries/MyGUI/MyGUI.SlackBuild b/libraries/MyGUI/MyGUI.SlackBuild
index 91b4cbc557..f5ce2d4c72 100644
--- a/libraries/MyGUI/MyGUI.SlackBuild
+++ b/libraries/MyGUI/MyGUI.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MyGUI
@@ -22,29 +22,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=MyGUI
SRCNAM=mygui-MyGUI # Yes, really (github)
-VERSION=${VERSION:-3.2.2}
+VERSION=${VERSION:-3.4.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
UNZIPDIR=$TMP/mygui-$PRGNAM$VERSION
-DOCS="$UNZIPDIR/ChangeLog.txt $UNZIPDIR/COPYING.MIT $UNZIPDIR/Readme.txt"
+DOCS="$UNZIPDIR/COPYING.MIT"
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,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM$VERSION
-tar xvf $CWD/$PRGNAM$VERSION.tar.gz || tar xvf $CWD/$SRCNAM$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM$VERSION.tar.gz
cd $SRCNAM$VERSION
chown -R root:root .
find -L . \
@@ -74,6 +84,7 @@ find -L . \
sed -i '71 i set(MYGUI_GCC_VISIBILITY_FLAGS "")' CMakeLists.txt
sed -i 's/\${OIS_LIBRARIES}/${OIS_LIBRARIES} boost_system/g' Common/CMakeLists.txt
+sed -i s/\#include\ \<string\>/\#include\ \<string\>\\n\#include\ \<cstdint\>/ ./MyGUIEngine/include/MyGUI_Types.h
mkdir -p build
cd build
@@ -106,13 +117,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Ensure that the libraries are installed in the correct directory on 64-bit
if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
- sed -i '3 s/\/lib/\/lib64/' $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/MYGUI.pc
+ sed -i 's/\/lib/\/lib64/' $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/MYGUI.pc
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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/MyGUI/MyGUI.info b/libraries/MyGUI/MyGUI.info
index 788743a350..22c4720cf4 100644
--- a/libraries/MyGUI/MyGUI.info
+++ b/libraries/MyGUI/MyGUI.info
@@ -1,8 +1,8 @@
PRGNAM="MyGUI"
-VERSION="3.2.2"
+VERSION="3.4.1"
HOMEPAGE="http://mygui.info"
-DOWNLOAD="https://github.com/MyGUI/mygui/archive/MyGUI3.2.2.tar.gz"
-MD5SUM="0023a689a2a63febc2cc703f81f86c62"
+DOWNLOAD="https://github.com/MyGUI/mygui/archive/MyGUI3.4.1/mygui-MyGUI3.4.1.tar.gz"
+MD5SUM="bceded801d68f7aedeb14099d1fdfcbb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ois ogre"
diff --git a/libraries/Nevow/Nevow.SlackBuild b/libraries/Nevow/Nevow.SlackBuild
deleted file mode 100644
index 8b2be7cd14..0000000000
--- a/libraries/Nevow/Nevow.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Nevow
-
-# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2014-2018 Markus Reichelt, Aachen, 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.
-#
-# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
-
-PRGNAM=Nevow
-VERSION=${VERSION:-0.14.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 {} \;
-
-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/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/doc/man/* $PKG/usr/man/man1
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-rm -rf $PKG/usr/doc/man
-
-mkdir $PKG/usr/DOCS ; mv $PKG/usr/doc/* $PKG/usr/DOCS
-mv $PKG/usr/DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE ChangeLog *.rst $PKG/usr/doc/$PRGNAM-$VERSION
-rm -frd $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-$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}
diff --git a/libraries/Nevow/Nevow.info b/libraries/Nevow/Nevow.info
deleted file mode 100644
index eccfa74c99..0000000000
--- a/libraries/Nevow/Nevow.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Nevow"
-VERSION="0.14.4"
-HOMEPAGE="https://pypi.python.org/pypi/Nevow"
-DOWNLOAD="https://files.pythonhosted.org/packages/d6/24/fdfae1b49587d51e4cd4cd5b8c171682fbc67d8e9c7e54581be107ae3925/Nevow-0.14.4.tar.gz"
-MD5SUM="b66b8c5ff7b8a05a77c91d30736550f8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python-twisted"
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
diff --git a/libraries/Nevow/README b/libraries/Nevow/README
deleted file mode 100644
index 5f61ab2e28..0000000000
--- a/libraries/Nevow/README
+++ /dev/null
@@ -1,12 +0,0 @@
-Pronounced as the French "nouveau", or "noo-voh", Nevow is a web application
-construction kit written in Python. It is designed to allow the programmer to
-express as much of the view logic as desired in Python, and includes a pure
-Python XML expression syntax named stan to facilitate this. However it also
-provides rich support for designer-edited templates, using a very small XML
-attribute language to provide bi-directional template manipulation capability.
-
-Nevow also includes formless, a declarative syntax for specifying the types of
-method parameters and exposing these methods to the web. Forms can be rendered
-automatically, and form posts will be validated and input coerced, rendering
-error pages if appropriate. Once a form post has validated successfully, the
-method will be called with the coerced values.
diff --git a/libraries/Nevow/slack-desc b/libraries/Nevow/slack-desc
deleted file mode 100644
index bd95ff95f9..0000000000
--- a/libraries/Nevow/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------------------------------------------------------|
-Nevow: Nevow (web application construction kit)
-Nevow:
-Nevow: Nevow is designed to allow the programmer to express as much of the
-Nevow: view logic as desired in Python, and includes a pure Python XML
-Nevow: expression syntax named stan to facilitate this. However it also
-Nevow: provides rich support for designer-edited templates, using a very
-Nevow: small XML attribute language to provide bi-directional template
-Nevow: manipulation capability.
-Nevow:
-Nevow: https://pypi.python.org/pypi/Nevow
-Nevow:
diff --git a/libraries/ORBit2/ORBit2.SlackBuild b/libraries/ORBit2/ORBit2.SlackBuild
index d2a41a27e3..6aac3d721e 100644
--- a/libraries/ORBit2/ORBit2.SlackBuild
+++ b/libraries/ORBit2/ORBit2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ORBit2
@@ -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=ORBit2
VERSION=${VERSION:-2.14.19}
-BUILD=${BUILD:-3}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +103,10 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s /usr/share/gtk-doc/html/ORBit2 html )
+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/libraries/OpenAL/OpenAL.SlackBuild b/libraries/OpenAL/OpenAL.SlackBuild
deleted file mode 100644
index 7dccf74faf..0000000000
--- a/libraries/OpenAL/OpenAL.SlackBuild
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for OpenAL Soft
-#
-# Copyright 2009-2017 Erik W. Hanson, Minneapolis, 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=OpenAL
-SRCNAM=openal-soft
-VERSION=${VERSION:-1.18.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 -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-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 {} \;
-
-cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \
- -DCMAKE_BUILD_TYPE=Release \
- -DALSOFT_EXAMPLES=OFF \
- -DLIB_SUFFIX=${LIBDIRSUFFIX}
-
-make
-make install/strip DESTDIR=$PKG
-
-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:-tgz}
diff --git a/libraries/OpenAL/OpenAL.info b/libraries/OpenAL/OpenAL.info
deleted file mode 100644
index d7c3d0a7d1..0000000000
--- a/libraries/OpenAL/OpenAL.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="OpenAL"
-VERSION="1.18.0"
-HOMEPAGE="https://www.openal-soft.org/"
-DOWNLOAD="https://www.openal-soft.org/openal-releases/openal-soft-1.18.0.tar.bz2"
-MD5SUM="704d41343b52dd04115de2dcdac5de03"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
diff --git a/libraries/OpenAL/README b/libraries/OpenAL/README
deleted file mode 100644
index c3abf611b6..0000000000
--- a/libraries/OpenAL/README
+++ /dev/null
@@ -1,2 +0,0 @@
-OpenAL is a cross-platform 3D audio API appropriate for use with gaming
-applications and many other types of audio applications.
diff --git a/libraries/OpenAL/slack-desc b/libraries/OpenAL/slack-desc
deleted file mode 100644
index df3e7dacbf..0000000000
--- a/libraries/OpenAL/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------------------------------------------------------|
-OpenAL: OpenAL (a cross-platform 3D audio API)
-OpenAL:
-OpenAL: OpenAL is a cross-platform 3D audio API appropriate for use with
-OpenAL: gaming applications and many other types of audio applications.
-OpenAL:
-OpenAL: https://www.openal-soft.org/
-OpenAL:
-OpenAL:
-OpenAL:
-OpenAL:
-OpenAL:
diff --git a/libraries/OpenBLAS/OpenBLAS.SlackBuild b/libraries/OpenBLAS/OpenBLAS.SlackBuild
index 5025a75415..994162c534 100644
--- a/libraries/OpenBLAS/OpenBLAS.SlackBuild
+++ b/libraries/OpenBLAS/OpenBLAS.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for OpenBLAS
# Written by Mário Antunes (mariolpantunes@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="OpenBLAS"
-VERSION=${VERSION:-0.3.3}
+VERSION=${VERSION:-0.3.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PREFIX=${PREFIX:-/usr}
@@ -18,6 +21,7 @@ if [ -z "$ARCH" ]; then
esac
fi
EXTRAPARMS=""
+TARGET=${TARGET:-"GENERIC"}
if [ "x`uname -p|grep QEMU|wc -l`" = "x1" ]; then
#we are running in a vm with a QEMU cpu. OpenBLAS does not like this
EXTRAPARMS="DYNAMIC_ARCH=1"
@@ -30,7 +34,12 @@ if [ "x`uname -p|grep QEMU|wc -l`" = "x1" ]; then
EXTRAPARMS=$EXTRAPARMS" TARGET="$TARGET
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}
@@ -56,10 +65,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 $EXTRAPARMS
+make $EXTRAPARMS \
+ DYNAMIC_ARCH=1 \
+ TARGET=$TARGET \
+ NO_STATIC=1 \
+ NO_AFFINITY=1 \
+ BUILD_RELAPACK=1 \
+ DESTDIR=$PKG \
+ PREFIX=$PREFIX \
+ OPENBLAS_LIBRARY_DIR=$PREFIX/lib$LIBDIRSUFFIX
make \
$EXTRAPARMS \
+ DYNAMIC_ARCH=1 \
+ TARGET=$TARGET \
NO_STATIC=1 \
+ NO_AFFINITY=1 \
BUILD_RELAPACK=1 \
DESTDIR=$PKG \
PREFIX=$PREFIX \
@@ -81,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/libraries/OpenBLAS/OpenBLAS.info b/libraries/OpenBLAS/OpenBLAS.info
index a8abb790ff..c7cf7cc523 100644
--- a/libraries/OpenBLAS/OpenBLAS.info
+++ b/libraries/OpenBLAS/OpenBLAS.info
@@ -1,8 +1,8 @@
PRGNAM="OpenBLAS"
-VERSION="0.3.3"
-HOMEPAGE="https://github.com/xianyi/OpenBLAS"
-DOWNLOAD="https://github.com/xianyi/OpenBLAS/archive/v0.3.3/OpenBLAS-0.3.3.tar.gz"
-MD5SUM="30e2f8d7317e84dde5a37152173848f1"
+VERSION="0.3.23"
+HOMEPAGE="http://www.openblas.net/"
+DOWNLOAD="https://github.com/xianyi/OpenBLAS/releases/download/v0.3.23/OpenBLAS-0.3.23.tar.gz"
+MD5SUM="115634b39007de71eb7e75cf7591dfb2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/OpenBLAS/README b/libraries/OpenBLAS/README
index 7269fb158c..772a8d7fd6 100644
--- a/libraries/OpenBLAS/README
+++ b/libraries/OpenBLAS/README
@@ -1,9 +1,8 @@
-OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
+OpenBLAS is an optimized BLAS library
-Added symbolic link to install a generic blas library that can be used by
-Octave and R.
+Added symbolic link to install a generic blas library that can be used by Octave and R.
OpenBLAS has cpu specific targetted assembly code for speed optimisation.
-If running in a vm with QEMU cpu you need to specify a variable
-TARGET=cpuname to the script where cpuname is one from the list in the
-sourcecode file TargetList.txt
-examples are TARGET=NEHALEM for an Intel i7 or TARGET=ATHLON for AMD Athlon
+In most cases, the installation will detect the correct CPU architecture
+If you want to specify the architecture you can define the EXTRAPARAMS
+environmental variable with EXTRAPARAMS="TARGET=ZEN" (for AMD Ryzen CPUs)
+
diff --git a/libraries/OpenCSG/OpenCSG.SlackBuild b/libraries/OpenCSG/OpenCSG.SlackBuild
index 308cd7983f..2ef5a3241a 100644
--- a/libraries/OpenCSG/OpenCSG.SlackBuild
+++ b/libraries/OpenCSG/OpenCSG.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenCSG
@@ -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=OpenCSG
VERSION=${VERSION:-1.4.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}
@@ -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/libraries/OpenCSG/README b/libraries/OpenCSG/README
index e3e6e4d20d..4ae246afdf 100644
--- a/libraries/OpenCSG/README
+++ b/libraries/OpenCSG/README
@@ -1,7 +1,7 @@
OpenCSG is a library that does image-based Constructive Solid Geometry
rendering using OpenGL.
-To run OpenCSG well, you should have graphics hardware with a good fill
-rate. NVidia GeForce and ATI Radeon qualify. The OpenCSG::OcclusionQuery
-option requires occlusion queries, which are available since Radeon 9x00
-(x>=5) and GeForce3 (but not GeForce4MX).
+To run OpenCSG well, you should have graphics hardware with
+a good fill rate. NVidia GeForce and ATI Radeon qualify. The
+OpenCSG::OcclusionQuery option requires occlusion queries, which are
+available since Radeon 9x00 (x>=5) and GeForce3 (but not GeForce4MX).
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
index a158f30565..096a1e6bd7 100644
--- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
+++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenSceneGraph
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
# Maintained by Jordan Evans <jordanevans19@gmail.com>
-# Maintained 2018 by Christoph Willing <chris.willing@linux.com>
+# Maintained 2018-2023 by Christoph Willing <chris.willing@linux.com>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenSceneGraph
-VERSION=${VERSION:-3.5.5}
+VERSION=${VERSION:-3.6.5}
BUILD=${BUILD:-2}
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}
@@ -38,12 +48,6 @@ else
LIBDIRSUFFIX=""
fi
-# Support OpenCASCADE, if installed
-occ=""
-# Not supported until version 3.5.6
-#ls -l /var/log/packages/OpenCASCADE* 2>/dev/null 1>/dev/null
-#[ $? -eq 0 ] && occ="-DOPENCASCADE_INCLUDE_DIR=/opt/OpenCASCADE/inc -DOPENCASCADE_LIBRARY_TYPE=Shared"
-
set -e
rm -rf $PKG
@@ -55,9 +59,16 @@ 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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 installed, ignore asio & OpenCASCADE
+# whose current versions at SBo cause build failure
+patch -p0 < $CWD/no-asio-occ.diff
+
+# https://github.com/openscenegraph/OpenSceneGraph/issues/1111
+sed -i '/FFmpeg/d' CMakeLists.txt
mkdir -p build
cd build
@@ -65,12 +76,16 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_POSTFIX=$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release \
- $occ \
-DBUILD_OSG_EXAMPLES=ON \
make
make install DESTDIR=$PKG
+
+ # No binaries in /usr/share. Move examples to /usr/bin
+ mv $PKG/usr/share/OpenSceneGraph/bin/* $PKG/usr/bin/
+ rm -rf $PKG/usr/share
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -84,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/libraries/OpenSceneGraph/OpenSceneGraph.info b/libraries/OpenSceneGraph/OpenSceneGraph.info
index 967fe46428..82925e0f04 100644
--- a/libraries/OpenSceneGraph/OpenSceneGraph.info
+++ b/libraries/OpenSceneGraph/OpenSceneGraph.info
@@ -1,8 +1,8 @@
PRGNAM="OpenSceneGraph"
-VERSION="3.5.5"
+VERSION="3.6.5"
HOMEPAGE="http://www.openscenegraph.org/"
-DOWNLOAD="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-3.5.5/OpenSceneGraph-OpenSceneGraph-3.5.5.tar.gz"
-MD5SUM="af7b1719c656192e69694cb12fcc4106"
+DOWNLOAD="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-3.6.5/OpenSceneGraph-OpenSceneGraph-3.6.5.tar.gz"
+MD5SUM="51b1c6ee5627246e78b23adbf0aa48f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/OpenSceneGraph/README b/libraries/OpenSceneGraph/README
index ec08826b7b..3741e35868 100644
--- a/libraries/OpenSceneGraph/README
+++ b/libraries/OpenSceneGraph/README
@@ -1,6 +1,6 @@
The OpenSceneGraph is an open source cross platform graphics toolkit
-for the development of high performance graphics applications such as
-flight simulators, games, virtual reality and scientific
+for the development of high performance graphics applications
+such as flight simulators, games, virtual reality and scientific
visualization. Based around the concept of a scene graph, it provides
an object oriented framework on top of OpenGL freeing the developer
from implementing and optimizing low level graphics calls, and
@@ -8,8 +8,14 @@ provides many additional utilities for rapid development of graphics
applications.
Plugins will be automatically generated using the following optional
-packages if they are detected at build time:
- dcmtk, ffmpeg, gdal, gtkglext, libgta, libLAS, nvidia-texture-tools,
- fltk, SDL2, wxGTK3
-These plugins offer significant additional functionality and are recommended
-for building a fully featured OpenSceneGraph.
+SBo packages if they are detected at build time:
+
+ collada-dom, dcmtk, fltk, fox-toolkit, gdal, gtkglext, libgta,
+ libLAS, nvidia-texture-tools, wxGTK3
+
+These plugins offer significant additional functionality and are
+recommended for building a fully featured OpenSceneGraph. However,
+note that you may not want support for three distinct widget toolkits
+(fltk, fox-toolkit, wxGTK3) in addition to the default GTK & SDL2
+viewers.
+
diff --git a/libraries/OpenSceneGraph/no-asio-occ.diff b/libraries/OpenSceneGraph/no-asio-occ.diff
new file mode 100644
index 0000000000..7f27a4b3f6
--- /dev/null
+++ b/libraries/OpenSceneGraph/no-asio-occ.diff
@@ -0,0 +1,20 @@
+--- CMakeLists.txt.orig 2020-01-31 21:03:07.000000000 +1000
++++ CMakeLists.txt 2023-06-02 12:11:26.082000000 +1000
+@@ -743,7 +743,6 @@
+ FIND_PACKAGE(Inventor)
+ FIND_PACKAGE(Jasper)
+ FIND_PACKAGE(OpenEXR)
+- FIND_PACKAGE(OpenCascade)
+ FIND_PACKAGE(COLLADA)
+ FIND_PACKAGE(FBX)
+ FIND_PACKAGE(ZLIB)
+@@ -763,9 +762,6 @@
+ FIND_PACKAGE(GtkGl)
+ FIND_PACKAGE(DirectInput)
+ FIND_PACKAGE(NVTT)
+- IF (NOT WIN32)
+- FIND_PACKAGE(Asio)
+- ENDIF()
+ FIND_PACKAGE(ZeroConf)
+
+ FIND_PACKAGE(LIBLAS)
diff --git a/libraries/OptiX-Headers/OptiX-Headers.SlackBuild b/libraries/OptiX-Headers/OptiX-Headers.SlackBuild
new file mode 100644
index 0000000000..393a9b34d7
--- /dev/null
+++ b/libraries/OptiX-Headers/OptiX-Headers.SlackBuild
@@ -0,0 +1,90 @@
+#!/bin/bash
+
+# Slackware build script for OptiX-Headers
+
+# Copyright 2023, Tobias M. Monckton, Fairhope, Alabama.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=OptiX-Headers
+VERSION=${VERSION:-7.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ *) 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}
+
+# Yes, the "if" part of the following conditional winds up being quite fugly,
+# but due to the nature of how OptiX headers are used (installed under /opt)
+# there's no need for either a SRCARCH or a LIBDIRSUFFIX, hence the empty
+# conditional statement.
+if [ "$ARCH" = "x86_64" ]; then
+ :
+else
+ echo "This architecture is unsupported by OptiX. Aborting."
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+
+cd $PKG
+unzip $CWD/OptiX-7.6-Include.zip
+chown -R root:root .
+# Make sure all include file directories have only the proper permissions.
+find . -type d -exec chmod 0755 {} \;
+
+mkdir -p $PKG/opt/OptiX-Headers-7.6
+mkdir -p $PKG/opt/OptiX-Headers-7.6/internal
+
+install -m0644 -t "$PKG/opt/OptiX-Headers-7.6/" *.h
+install -m0644 -t "$PKG/opt/OptiX-Headers-7.6/internal/" internal/*.h
+
+# prevent duplicate copies of headers
+
+rm -f *.h
+rm -r -f internal/
+
+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/libraries/OptiX-Headers/OptiX-Headers.info b/libraries/OptiX-Headers/OptiX-Headers.info
new file mode 100644
index 0000000000..51ccc837a2
--- /dev/null
+++ b/libraries/OptiX-Headers/OptiX-Headers.info
@@ -0,0 +1,10 @@
+PRGNAM="OptiX-Headers"
+VERSION="7.6"
+HOMEPAGE="https://developer.nvidia.com/optix"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://developer.download.nvidia.com/redist/optix/v7.6/OptiX-7.6-Include.zip"
+MD5SUM_x86_64="32f170454a9a6c944854ca6fef8c5ec1"
+REQUIRES="%README%"
+MAINTAINER="Tobias M. Monckton"
+EMAIL="tmmonckton@gmail.com"
diff --git a/libraries/OptiX-Headers/README b/libraries/OptiX-Headers/README
new file mode 100644
index 0000000000..7ce38053c9
--- /dev/null
+++ b/libraries/OptiX-Headers/README
@@ -0,0 +1,15 @@
+These are the headers for NVIDIA's OptiX ray tracing API. Usage of this
+API allows for an application to offload its ray tracing calculations
+to the system's onboard NVIDIA GPU card, potentially drastically
+render speeds.
+
+Currently, this is only present in the SlackBuilds.org repository as an
+optional dependency for graphics/Blender. If this is installed, the
+graphics/Blender SlackBuild will automatically detect the OptiX headers
+and Blender will be built with support for OptiX, allowing to use it
+for rendering, as well as GPGPU-accelerated image denoising.
+
+This SlackBuild also requires a recent CUDA toolkit (probably newer
+than the current one available in the SBo repository). It will install
+without it, it just will be useless without it.
+
diff --git a/libraries/OptiX-Headers/slack-desc b/libraries/OptiX-Headers/slack-desc
new file mode 100644
index 0000000000..35214fae9f
--- /dev/null
+++ b/libraries/OptiX-Headers/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 lasat column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+OptiX-Headers: OptiX-Headers (Headers for NVIDIA's ray-tracing API)
+OptiX-Headers:
+OptiX-Headers: Header files for NVIDIA's OptiX ray-tracing API. Any application
+OptiX-Headers: developed using these can outsource its ray-tracing to the onboard
+OptiX-Headers: NVIDIA GPU, potentially providing a dramatic performance increase,
+OptiX-Headers: especially when compared to CPU-bound ray-tracing operations.
+OptiX-Headers:
+OptiX-Headers: https://developer.nvidia.com/optix
+OptiX-Headers:
+OptiX-Headers:
+OptiX-Headers:
diff --git a/libraries/PDCurses/PDCurses-3.6-makefile-in.patch b/libraries/PDCurses/PDCurses-3.6-makefile-in.patch
deleted file mode 100644
index a3065db868..0000000000
--- a/libraries/PDCurses/PDCurses-3.6-makefile-in.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- x11/Makefile.in.orig 2018-01-26 17:56:15.000000000 -0800
-+++ x11/Makefile.in 2018-06-14 13:42:43.989390736 -0700
-@@ -13,9 +13,9 @@
-
- prefix = @prefix@
- exec_prefix = @exec_prefix@
--libdir = @libdir@
--bindir = @bindir@
--includedir = @includedir@
-+libdir = $(DESTDIR)@libdir@
-+bindir = $(DESTDIR)@bindir@
-+includedir = $(DESTDIR)@includedir@
-
- PDCURSES_CONFIG_H =$(osdir)/config.h
- PDCURSES_CURSES_H =$(PDCURSES_SRCDIR)/curses.h
-@@ -62,8 +62,12 @@
- $(INSTALL) -d -m 755 $(includedir)
- $(INSTALL) -d -m 755 $(includedir)/xcurses
- $(INSTALL) -c -m 644 $(PDCURSES_CURSES_H) \
-+ $(includedir)/xcurses.h
-+ $(INSTALL) -c -m 644 $(PDCURSES_CURSES_H) \
- $(includedir)/xcurses/curses.h
- $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h \
-+ $(includedir)/xpanel.h
-+ $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/panel.h \
- $(includedir)/xcurses/panel.h
- $(INSTALL) -c -m 644 $(PDCURSES_SRCDIR)/term.h \
- $(includedir)/xcurses/term.h
diff --git a/libraries/PDCurses/PDCurses.SlackBuild b/libraries/PDCurses/PDCurses.SlackBuild
index dc0cf4c4c6..2b208f10c1 100644
--- a/libraries/PDCurses/PDCurses.SlackBuild
+++ b/libraries/PDCurses/PDCurses.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PDCurses
@@ -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=PDCurses
-VERSION=${VERSION:-3.8}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.9}
+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}
@@ -63,7 +70,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-cat $CWD/PDCurses-3.6-makefile-in.patch | patch -b -p0
+patch -b -p1 < $CWD/x11-makefile-in.patch
+patch -b -p1 < $CWD/x11-xcurses-config-in.patch
chown -R root:root .
find -L . \
@@ -95,12 +103,16 @@ 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 man/HISTORY.md man/IMPLEMNT.md man/MANUAL.md man/README.md man/USERS.md \
+cp -a README.md docs/HISTORY.md docs/IMPLEMNT.md docs/MANUAL.md docs/USERS.md \
$PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION/README-docs.md
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/libraries/PDCurses/PDCurses.info b/libraries/PDCurses/PDCurses.info
index 0ac4cd5f6c..4f613b66d5 100644
--- a/libraries/PDCurses/PDCurses.info
+++ b/libraries/PDCurses/PDCurses.info
@@ -1,8 +1,8 @@
PRGNAM="PDCurses"
-VERSION="3.8"
-HOMEPAGE="http://pdcurses.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/project/pdcurses/pdcurses/3.8/PDCurses-3.8.tar.gz"
-MD5SUM="0147936a2510617486ba3f5658b9bfa6"
+VERSION="3.9"
+HOMEPAGE="http://pdcurses.org"
+DOWNLOAD="https://github.com/wmcbrine/PDCurses/archive/3.9/PDCurses-3.9.tar.gz"
+MD5SUM="c6e81fe56e127ae9af6a6d9082f9eca7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/PDCurses/x11-makefile-in.patch b/libraries/PDCurses/x11-makefile-in.patch
new file mode 100644
index 0000000000..158298c603
--- /dev/null
+++ b/libraries/PDCurses/x11-makefile-in.patch
@@ -0,0 +1,15 @@
+--- PDCursesMod-4.3.2a/x11/Makefile.in.orig 2022-02-06 08:35:35.000000000 -0800
++++ PDCursesMod-4.3.2a/x11/Makefile.in 2022-04-07 09:18:27.712387150 -0700
+@@ -13,9 +13,9 @@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+-libdir = @libdir@
+-bindir = @bindir@
+-includedir = @includedir@
++libdir = $(DESTDIR)@libdir@
++bindir = $(DESTDIR)@bindir@
++includedir = $(DESTDIR)@includedir@
+
+ PDCURSES_CONFIG_H =$(osdir)/config.h
+ PDCURSES_CURSES_H =$(PDCURSES_SRCDIR)/curses.h
diff --git a/libraries/PDCurses/x11-xcurses-config-in.patch b/libraries/PDCurses/x11-xcurses-config-in.patch
new file mode 100644
index 0000000000..37e0de30a1
--- /dev/null
+++ b/libraries/PDCurses/x11-xcurses-config-in.patch
@@ -0,0 +1,23 @@
+--- PDCurses-3.9/x11/xcurses-config.in.orig 2019-09-04 13:08:02.000000000 -0700
++++ PDCurses-3.9/x11/xcurses-config.in 2022-04-08 17:06:28.631395983 -0700
+@@ -21,9 +21,9 @@
+ echo " --cflags pre-processor and compiler flags"
+ echo " [-I$includedir @PDC_WIDE@]"
+ echo " --libs library linking information"
+- echo " [-L$libdir -lXCurses @LDFLAGS@ @MH_EXTRA_LIBS@"
++ echo " [-L$libdir -lXCurses @LDFLAGS@ @MH_EXTRA_LIBS@]"
+ echo " --libs-static static library linking information (libXCurses only)"
+- echo " [$libdir/libXCurses.a @LDFLAGS@ @MH_XLIBS@ @MH_EXTRA_LIBS@"
++ echo " [-l:libXCurses.a @LDFLAGS@ @MH_XLIBS@ @MH_EXTRA_LIBS@]"
+ echo " --prefix PDCurses install prefix"
+ echo " [$prefix]"
+ echo " --version output version information"
+@@ -67,7 +67,7 @@
+ ;;
+
+ --libs-static)
+- echo $libdir/libXCurses.a @LDFLAGS@ @MH_XLIBS@ @MH_EXTRA_LIBS@
++ echo -l:libXCurses.a @LDFLAGS@ @MH_XLIBS@ @MH_EXTRA_LIBS@
+ ;;
+
+ *)
diff --git a/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild b/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild
index ab42d5342e..4bcf534e29 100644
--- a/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild
+++ b/libraries/PDFlib-Lite/PDFlib-Lite.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PDFlib-Lite
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# 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=PDFlib-Lite
VERSION=${VERSION:-7.0.5p3}
-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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,10 +74,10 @@ 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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -92,8 +102,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/PDFlib-Lite/PDFlib-Lite.info b/libraries/PDFlib-Lite/PDFlib-Lite.info
index 4027bec5be..3367a0e239 100644
--- a/libraries/PDFlib-Lite/PDFlib-Lite.info
+++ b/libraries/PDFlib-Lite/PDFlib-Lite.info
@@ -1,6 +1,6 @@
PRGNAM="PDFlib-Lite"
VERSION="7.0.5p3"
-HOMEPAGE="http://www.pdflib.com/download/pdflib-family/pdflib-lite-7/"
+HOMEPAGE="http://www.pdflib.com/download/pdflib-family/pdflib-lite-7"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/PDFlib-Lite-7.0.5p3.tar.gz"
MD5SUM="371d332d610a8b21a542bb7a2bdaf954"
DOWNLOAD_x86_64=""
diff --git a/libraries/PLUMED/PLUMED.SlackBuild b/libraries/PLUMED/PLUMED.SlackBuild
new file mode 100644
index 0000000000..3b00227bee
--- /dev/null
+++ b/libraries/PLUMED/PLUMED.SlackBuild
@@ -0,0 +1,146 @@
+#!/bin/bash
+
+# Slackware build script for PLUMED
+
+# 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=PLUMED
+VERSION=${VERSION:-2.8.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 plumed2-$VERSION
+tar xvf $CWD/plumed2-$VERSION.tar.gz
+cd plumed2-$VERSION
+
+# remove symlink to avoid error at find
+# File system loop detected.
+rm src/include/plumed
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+# by default it detects a MPI installation
+# the OMP version explicity disable the MPI
+# then the else condition forces the default
+# slackbuild execution to build the serial PLUMED
+if [ "${OMP:-no}" == "yes" ]; then
+ OPT_BUILD="--enable-openmp --disable-mpi"
+elif [ "${MPI:-no}" == "yes" ]; then
+ OPT_BUILD="--enable-mpi --disable-openmp"
+elif [ "${HYBRID:-no}" == "yes" ]; then
+ OPT_BUILD="--enable-openmp --enable-mpi"
+else
+ OPT_BUILD="--disable-openmp --disable-mpi"
+fi
+
+if [ "${PYTHON:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD --enable-python"
+ export PYTHON_BIN="python3"
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --htmldir=/usr/doc/$PRGNAM-$VERSION \
+ --pdfdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --enable-fftw \
+ $OPT_BUILD \
+ --build=$ARCH-slackware-linux
+
+make
+make -C vim
+make install DESTDIR=$PKG
+
+if [ "${DOC:-no}" == "yes" ]; then
+ make doc
+ cp -av developer-doc $PKG/usr/doc/$PRGNAM-$VERSION
+ cp -av user-doc $PKG/usr/doc/$PRGNAM-$VERSION
+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 \
+ COPYING.LESSER PEOPLE 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
diff --git a/libraries/PLUMED/PLUMED.info b/libraries/PLUMED/PLUMED.info
new file mode 100644
index 0000000000..2d04d630af
--- /dev/null
+++ b/libraries/PLUMED/PLUMED.info
@@ -0,0 +1,10 @@
+PRGNAM="PLUMED"
+VERSION="2.8.0"
+HOMEPAGE="https://www.plumed.org"
+DOWNLOAD="https://github.com/plumed/plumed2/archive/v2.8.0/plumed2-2.8.0.tar.gz"
+MD5SUM="ad6032b5f2e47726bda1fc855865f26f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/PLUMED/README b/libraries/PLUMED/README
new file mode 100644
index 0000000000..bb9322ced6
--- /dev/null
+++ b/libraries/PLUMED/README
@@ -0,0 +1,23 @@
+ PLUMED is an open-source, community-developed library that provides
+a wide range of different methods, which include:
+ - enhanced-sampling algorithms
+ - free-energy methods
+ - tools to analyze the vast amounts of data produced by molecular
+ dynamics (MD) simulations.
+
+ These techniques can be used in combination with a large toolbox
+of collective variables that describe complex processes in physics,
+chemistry, material science, and biology.
+
+
+ By default PLUMED is compiled in serial mode, if you want to
+enable parallel mode set one of the following variables:
+ - OMP=yes, for enable OpenMP
+ - MPI=yes, for enable MPI (requires mpich or openmpi)
+ - HYBRID=yes, OpenMP+MPI (requires mpich or openmpi)
+
+ For building support for python set PYTHON=yes.
+
+If you want to install the documentation set DOC=yes
+
+ * Optional dependences: blas and lapack (shall improve performance)
diff --git a/libraries/PLUMED/slack-desc b/libraries/PLUMED/slack-desc
new file mode 100644
index 0000000000..2124395cd7
--- /dev/null
+++ b/libraries/PLUMED/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------------------------------------------------------|
+PLUMED: PLUMED (PLUgin for MolEcular Dynamics)
+PLUMED:
+PLUMED:
+PLUMED: PLUMED is an open-source, community-developed library that provides
+PLUMED: a wide range of different methods, which include:
+PLUMED: - enhanced-sampling algorithms
+PLUMED: - free-energy methods
+PLUMED: - tools to analyze the vast amounts of data produced by molecular
+PLUMED: dynamics (MD) simulations.
+PLUMED:
+PLUMED:
diff --git a/libraries/PrettyTable/PrettyTable.SlackBuild b/libraries/PrettyTable/PrettyTable.SlackBuild
index d4e1ecd2f4..61059f2846 100644
--- a/libraries/PrettyTable/PrettyTable.SlackBuild
+++ b/libraries/PrettyTable/PrettyTable.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PrettyTable
@@ -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=PrettyTable
SRCNAM=prettytable
VERSION=${VERSION:-0.7.2}
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}
@@ -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/libraries/PyODE/PyODE.SlackBuild b/libraries/PyODE/PyODE.SlackBuild
index ab8dd80ffb..db46e0b452 100644
--- a/libraries/PyODE/PyODE.SlackBuild
+++ b/libraries/PyODE/PyODE.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PyODE
@@ -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=PyODE
SRCNAM=$PRGNAM-snapshot
VERSION=${VERSION:-2010.03.22}
SRCVER=$(echo $VERSION | tr . -)
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}
@@ -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/libraries/PyOpenGL/PyOpenGL.SlackBuild b/libraries/PyOpenGL/PyOpenGL.SlackBuild
index 00f7733336..9bcec6a582 100644
--- a/libraries/PyOpenGL/PyOpenGL.SlackBuild
+++ b/libraries/PyOpenGL/PyOpenGL.SlackBuild
@@ -1,22 +1,32 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PyOpenGL
# Written by Evandro Alves Rodrigues
+# 20220304 bkw: Modified by SlackBuilds.org: update for v3.1.6,
+# add python3 support.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PyOpenGL
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-3.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 [ ! -z "${PRINT_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,18 +48,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 \
+ -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 {} \+
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ChangeLog.txt PKG-INFO license.txt \
+ readme.rst PKG-INFO license.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -57,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/libraries/PyOpenGL/PyOpenGL.info b/libraries/PyOpenGL/PyOpenGL.info
index 4cb7c8dcac..fca23490a0 100644
--- a/libraries/PyOpenGL/PyOpenGL.info
+++ b/libraries/PyOpenGL/PyOpenGL.info
@@ -1,8 +1,8 @@
PRGNAM="PyOpenGL"
-VERSION="3.0.1"
-HOMEPAGE="http://pyopengl.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/pyopengl/PyOpenGL-3.0.1.tar.gz"
-MD5SUM="221d4a6a0928fcfeef26751370ec5f52"
+VERSION="3.1.6"
+HOMEPAGE="https://pypi.org/project/PyOpenGL/"
+DOWNLOAD="https://files.pythonhosted.org/packages/5b/01/f8fd986bc7f456f1a925ee0239f0391838ade92cdb6e5b674ffb8b86cfd6/PyOpenGL-3.1.6.tar.gz"
+MD5SUM="b6c4ca4c3321be7a1ace35c7b4db1751"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/PyOpenGL/README b/libraries/PyOpenGL/README
index 1fa6273a21..35a31b2853 100644
--- a/libraries/PyOpenGL/README
+++ b/libraries/PyOpenGL/README
@@ -1,10 +1,13 @@
-PyOpenGL is the cross platform Python binding to OpenGL and related APIs.
-The binding is created using the standard (in Python 2.5 and above) ctypes
-library and is provided under a BSD-style Open-Source license.
+PyOpenGL is the cross platform Python binding to OpenGL and related
+APIs. The binding is created using the standard (in Python 2.5 and
+above) ctypes library and is provided under a BSD-style Open-Source
+license.
-PyOpenGL includes support for OpenGL v1.1 through 3.2, GLU, GLUT v3.7 (and
-FreeGLUT), and GLE 3. It also has support for hundreds of OpenGL extensions.
+PyOpenGL includes support for OpenGL v1.1 through 3.2, GLU, GLUT v3.7
+(and FreeGLUT), and GLE 3. It also has support for hundreds of OpenGL
+extensions.
-PyOpenGL is interoperable with a large number of external GUI libraries for
-Python including wxPython, Pygame, PyGTK, and Qt. It can also use the GLUT
-library to provide basic windowing and user interface mechanisms.
+PyOpenGL is interoperable with a large number of external GUI
+libraries for Python including wxPython, Pygame, PyGTK, and Qt.
+It can also use the GLUT library to provide basic windowing and user
+interface mechanisms.
diff --git a/libraries/PyQt5-legacy/PyQt5-legacy.SlackBuild b/libraries/PyQt5-legacy/PyQt5-legacy.SlackBuild
deleted file mode 100644
index 66dca12989..0000000000
--- a/libraries/PyQt5-legacy/PyQt5-legacy.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for PyQt5-legacy
-
-# Now maintained by Dave Woodfall <dave@slackbuilds.org>
-# Copyright 2008 Aleksandar Samardzic <asamardzic@gmail.com>
-# Copyright 2008, 2009, 2010, 2011, 2015 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
-# Copyright 2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-# Copyright 2017 Larry Hajali <larryhaja[at]gmail[dot]com>
-# 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.
-#
-# 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.
-
-# Modified by Robby Workman <rworkman@slackware.com>
-# Modified by Eric Hameleers <alien@slackware.com>
-# Adapted by Marcel Saegebarth <marc@mos6581.de>
-# Adapted by Matteo Bernardini <ponce@slackbuilds.org>
-
-PRGNAM=PyQt5-legacy
-SRCNAM=PyQt5_gpl
-VERSION=${VERSION:-5.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 $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 {} \;
-
-# This is needed or an include from dbus is missed (tnx, Archlinux)
-sed -i '/target_config.dbus_inc_dirs = \[\]/d' configure.py
-
-export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
-export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-
-python configure.py \
- --confirm-license \
- --verbose \
- -q /usr/bin/qmake-qt5
-
-make
-make install DESTDIR=$PKG 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 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}
diff --git a/libraries/PyQt5-legacy/PyQt5-legacy.info b/libraries/PyQt5-legacy/PyQt5-legacy.info
deleted file mode 100644
index 02130c30bb..0000000000
--- a/libraries/PyQt5-legacy/PyQt5-legacy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="PyQt5-legacy"
-VERSION="5.7"
-HOMEPAGE="https://riverbankcomputing.com/software/pyqt/intro/"
-DOWNLOAD="http://downloads.sourceforge.net/pyqt/PyQt5_gpl-5.7.tar.gz"
-MD5SUM="e3dc21f31fd714659f0688e1eb31bacf"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5-webkit-legacy"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/PyQt5-legacy/README b/libraries/PyQt5-legacy/README
deleted file mode 100644
index 4288078ee6..0000000000
--- a/libraries/PyQt5-legacy/README
+++ /dev/null
@@ -1,5 +0,0 @@
-PyQt5 is a set of Python bindings for Trolltech's Qt5 application
-framework and runs on all platforms supported by Qt5.
-
-This is the legacy version to use with qt5-legacy and
-qt5-webkit-legacy
diff --git a/libraries/PyQt5-legacy/slack-desc b/libraries/PyQt5-legacy/slack-desc
deleted file mode 100644
index e18267f5b8..0000000000
--- a/libraries/PyQt5-legacy/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------------------------------------------------------|
-PyQt5-legacy: PyQt5-legacy (Python bindings for Qt)
-PyQt5-legacy:
-PyQt5-legacy: PyQt5 is a set of Python bindings for Trolltech's Qt5 application
-PyQt5-legacy: framework and runs on all platforms supported by Qt5.
-PyQt5-legacy:
-PyQt5-legacy: This is the legacy version to use with qt5-legacy and
-PyQt5-legacy: qt5-webkit-legacy
-PyQt5-legacy:
-PyQt5-legacy: Homepage: https://riverbankcomputing.com/software/pyqt/intro/
-PyQt5-legacy:
-PyQt5-legacy:
diff --git a/libraries/PyQt5/PyQt5.SlackBuild b/libraries/PyQt5/PyQt5.SlackBuild
deleted file mode 100644
index 5ff9ef1202..0000000000
--- a/libraries/PyQt5/PyQt5.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for PyQt5
-
-# Copyright 2008 Aleksandar Samardzic <asamardzic@gmail.com>
-# Copyright 2008, 2009, 2010, 2011, 2015 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
-# Copyright 2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-# Copyright 2017 Larry Hajali <larryhaja[at]gmail[dot]com>
-# 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.
-#
-# 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.
-
-# Modified by Robby Workman <rworkman@slackware.com>
-# Modified by Eric Hameleers <alien@slackware.com>
-# Adapted by Marcel Saegebarth <marc@mos6581.de>
-# Adapted by Matteo Bernardini <ponce@slackbuilds.org>
-# Updated for Qt5-5.9.6 by David Woodfall <dave@slackbuilds.org>
-
-PRGNAM=PyQt5
-VERSION=${VERSION:-5.9.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}_gpl-$VERSION
-tar xvf $CWD/${PRGNAM}_gpl-$VERSION.tar.gz
-cd ${PRGNAM}_gpl-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# This is needed or an include from dbus is missed (tnx, Archlinux)
-sed -i '/target_config.dbus_inc_dirs = \[\]/d' configure.py
-
-export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
-export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
-PYTHONVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-
-python configure.py \
- --confirm-license \
- --verbose \
- --sip=/usr/bin/python2-sip \
- --sip-incdir="/usr/include/python$PYTHONVER/python2-sip" \
- -q /usr/bin/qmake-qt5
-
-make
-make install DESTDIR=$PKG 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 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}
diff --git a/libraries/PyQt5/PyQt5.info b/libraries/PyQt5/PyQt5.info
deleted file mode 100644
index f0991810c9..0000000000
--- a/libraries/PyQt5/PyQt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="PyQt5"
-VERSION="5.9.2"
-HOMEPAGE="https://riverbankcomputing.com/software/pyqt/intro/"
-DOWNLOAD="https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.tar.gz"
-MD5SUM="33d6d2ab8183da17ac18b8132a4b278e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5-webkit python2-sip enum34"
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/PyQt5/README b/libraries/PyQt5/README
deleted file mode 100644
index 23ab8cbdae..0000000000
--- a/libraries/PyQt5/README
+++ /dev/null
@@ -1,2 +0,0 @@
-PyQt5 is a set of Python bindings for Trolltech's Qt5 application
-framework and runs on all platforms supported by Qt5.
diff --git a/libraries/PyQt5/slack-desc b/libraries/PyQt5/slack-desc
deleted file mode 100644
index 27986b3ade..0000000000
--- a/libraries/PyQt5/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------------------------------------------------------|
-PyQt5: PyQt5 (Python bindings for Qt)
-PyQt5:
-PyQt5: PyQt5 is a set of Python bindings for Trolltech's Qt5 application
-PyQt5: framework and runs on all platforms supported by Qt5.
-PyQt5:
-PyQt5: Homepage: https://riverbankcomputing.com/software/pyqt/intro/
-PyQt5:
-PyQt5:
-PyQt5:
-PyQt5:
-PyQt5:
diff --git a/libraries/PyQwt/PyQwt.SlackBuild b/libraries/PyQwt/PyQwt.SlackBuild
deleted file mode 100644
index dab5891fad..0000000000
--- a/libraries/PyQwt/PyQwt.SlackBuild
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for PyQwt
-# Written by Bartosz Bialy <ethifus@gmail.com>
-
-PRGNAM=PyQwt
-VERSION=${VERSION:-5.2.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}
-
-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 {} \;
-
-cd configure
-python ./configure.py -Q ../qwt-5.2
-make
-make install DESTDIR=$PKG
-
-# this will only create appropriate *.egg file
-python ../setup.py install --root $PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ../sphinx/build/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/libraries/PyQwt/PyQwt.info b/libraries/PyQwt/PyQwt.info
deleted file mode 100644
index 205cca8fd4..0000000000
--- a/libraries/PyQwt/PyQwt.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="PyQwt"
-VERSION="5.2.0"
-HOMEPAGE="http://pyqwt.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/pyqwt/PyQwt-5.2.0.tar.gz"
-MD5SUM="fcd6c6029090d473dcc9df497516eae7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Bartosz Bialy"
-EMAIL="ethifus@gmail.com"
diff --git a/libraries/PyQwt/README b/libraries/PyQwt/README
deleted file mode 100644
index fe2212df44..0000000000
--- a/libraries/PyQwt/README
+++ /dev/null
@@ -1,3 +0,0 @@
-PyQwt is a Python wrapper for the Qwt C++ class library which extends the Qt
-framework with widgets to display and control data for scientific and
-engineering applications.
diff --git a/libraries/PyQwt/slack-desc b/libraries/PyQwt/slack-desc
deleted file mode 100644
index 93a1b27309..0000000000
--- a/libraries/PyQwt/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------------------------------------------------------|
-PyQwt: PyQwt (Python wrapper for Qwt library)
-PyQwt:
-PyQwt: PyQwt is a Python wrapper for the Qwt C++ class library which
-PyQwt: extends the Qt frameworkwith widgets to display and control
-PyQwt: data for scientific and engineering applications.
-PyQwt:
-PyQwt: Homepage: http://pyqwt.sourceforge.net/
-PyQwt:
-PyQwt:
-PyQwt:
-PyQwt:
diff --git a/libraries/PySoundCard/PySoundCard.SlackBuild b/libraries/PySoundCard/PySoundCard.SlackBuild
index fdee294a33..9987afc7de 100644
--- a/libraries/PySoundCard/PySoundCard.SlackBuild
+++ b/libraries/PySoundCard/PySoundCard.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PySoundCard
@@ -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=PySoundCard
VERSION=${VERSION:-0.5.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}
@@ -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/libraries/PySoundCard/PySoundCard.info b/libraries/PySoundCard/PySoundCard.info
index 61683381eb..5a1b395447 100644
--- a/libraries/PySoundCard/PySoundCard.info
+++ b/libraries/PySoundCard/PySoundCard.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/a6/41/86ab00f1227c913a33e77ac8d9da840
MD5SUM="d0bce4c0fe19cba235fd73516f61a19e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="portaudio numpy cffi"
+REQUIRES="portaudio python2-numpy cffi"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/PyXML/PyXML.SlackBuild b/libraries/PyXML/PyXML.SlackBuild
index a733c5a99c..b8d7636413 100644
--- a/libraries/PyXML/PyXML.SlackBuild
+++ b/libraries/PyXML/PyXML.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PyXML
@@ -27,10 +27,13 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PyXML
VERSION=${VERSION:-0.8.4}
BUILD=${BUILD:-2}
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}
@@ -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/libraries/PyYAML/PyYAML.SlackBuild b/libraries/PyYAML/PyYAML.SlackBuild
deleted file mode 100644
index c329f84960..0000000000
--- a/libraries/PyYAML/PyYAML.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for PyYAML
-# Copyright 2010-2019 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=PyYAML
-VERSION=${VERSION:-3.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-$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/doc/$PRGNAM-$VERSION
-cp -a \
- 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:-tgz}
diff --git a/libraries/PyYAML/PyYAML.info b/libraries/PyYAML/PyYAML.info
deleted file mode 100644
index 62b6c3f6d8..0000000000
--- a/libraries/PyYAML/PyYAML.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="PyYAML"
-VERSION="3.13"
-HOMEPAGE="https://pyyaml.org/"
-DOWNLOAD="https://pyyaml.org/download/pyyaml/PyYAML-3.13.tar.gz"
-MD5SUM="b78b96636d68ac581c0e2f38158c224f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/PyYAML/slack-desc b/libraries/PyYAML/slack-desc
deleted file mode 100644
index 99aea3424d..0000000000
--- a/libraries/PyYAML/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------------------------------------------------------|
-PyYAML: PyYAML (YAML parser and emitter for Python)
-PyYAML:
-PyYAML: YAML is a data serialization format designed for human readability
-PyYAML: and interaction with scripting languages. PyYAML is a YAML parser
-PyYAML: and emitter for Python.
-PyYAML:
-PyYAML: Homepage: https://pyyaml.org/
-PyYAML:
-PyYAML:
-PyYAML:
-PyYAML:
diff --git a/libraries/Pykka/Pykka.SlackBuild b/libraries/Pykka/Pykka.SlackBuild
index 1c230427c2..edb6ac2ad0 100644
--- a/libraries/Pykka/Pykka.SlackBuild
+++ b/libraries/Pykka/Pykka.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pykka
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# 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=Pykka
-VERSION=${VERSION:-1.2.1}
+SRCNAM=pykka
+VERSION=${VERSION:-3.1.1}
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,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 \
@@ -69,21 +80,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-
-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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE PKG-INFO README.rst docs/*.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE PKG-INFO README.md docs/*.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/libraries/Pykka/Pykka.info b/libraries/Pykka/Pykka.info
index 3c43e3dc70..3cc2390f29 100644
--- a/libraries/Pykka/Pykka.info
+++ b/libraries/Pykka/Pykka.info
@@ -1,8 +1,8 @@
PRGNAM="Pykka"
-VERSION="1.2.1"
+VERSION="3.1.1"
HOMEPAGE="http://www.pykka.org/"
-DOWNLOAD="https://pypi.python.org/packages/source/P/Pykka/Pykka-1.2.1.tar.gz"
-MD5SUM="50e4f2877c0825788219bc442a86a293"
+DOWNLOAD="https://files.pythonhosted.org/packages/45/e9/ba139b5becd0e4bdf10a816af3fc17f788ac630159ca959d6da44d91a7be/pykka-3.1.1.tar.gz"
+MD5SUM="892441bff17728ceaaa36bf57001b7df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/Pykka/README b/libraries/Pykka/README
index f27e8da789..ed93ffd723 100644
--- a/libraries/Pykka/README
+++ b/libraries/Pykka/README
@@ -1,3 +1,4 @@
-Pykka is a Python implementation of the actor model. The actor model introduces
-some simple rules to control the sharing of state and cooperation between
-execution units, which makes it easier to build concurrent applications.
+Pykka is a Python implementation of the actor model. The actor model
+introduces some simple rules to control the sharing of state and
+cooperation between execution units, which makes it easier to build
+concurrent applications.
diff --git a/libraries/QDarkStyle/QDarkStyle.SlackBuild b/libraries/QDarkStyle/QDarkStyle.SlackBuild
index 70cf044a49..8bcc003771 100644
--- a/libraries/QDarkStyle/QDarkStyle.SlackBuild
+++ b/libraries/QDarkStyle/QDarkStyle.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for QDarkStyle
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# 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
@@ -22,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=QDarkStyle
-VERSION=${VERSION:-1.11}
+VERSION=${VERSION:-3.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -49,6 +58,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=""
@@ -69,17 +81,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
+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 COPYING PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.rst CHANGES.rst CODE_OF_CONDUCT.rst CONTRIBUTING.rst LICENSE.rst 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/libraries/QDarkStyle/QDarkStyle.info b/libraries/QDarkStyle/QDarkStyle.info
index 068a6f82f5..95ce7e2c53 100644
--- a/libraries/QDarkStyle/QDarkStyle.info
+++ b/libraries/QDarkStyle/QDarkStyle.info
@@ -1,10 +1,10 @@
PRGNAM="QDarkStyle"
-VERSION="1.11"
+VERSION="3.2.3"
HOMEPAGE="https://github.com/ColinDuquesnoy/QDarkStyleSheet"
-DOWNLOAD="https://pypi.python.org/packages/source/Q/QDarkStyle/QDarkStyle-1.11.tar.gz"
-MD5SUM="cd5ec838d828d31c2fd3467103ac6862"
+DOWNLOAD="https://pypi.python.org/packages/source/Q/QDarkStyle/QDarkStyle-3.2.3.tar.gz"
+MD5SUM="4d0a2378b6bb56c9c8fb26bdeda0f2ec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="QtPy python3-helpdev"
+MAINTAINER="nomnombtc"
+EMAIL="nomnombtc@arcor.de"
diff --git a/libraries/QDarkStyle/README b/libraries/QDarkStyle/README
index 27c1c4ffc7..76062ef656 100644
--- a/libraries/QDarkStyle/README
+++ b/libraries/QDarkStyle/README
@@ -1,2 +1 @@
-This package provides a dark style sheet
-for PySide/PyQt applications.
+This package provides a dark style sheet for PySide/PyQt applications.
diff --git a/libraries/QDarkStyle/slack-desc b/libraries/QDarkStyle/slack-desc
index 9e0c95a29c..456b29c31a 100644
--- a/libraries/QDarkStyle/slack-desc
+++ b/libraries/QDarkStyle/slack-desc
@@ -8,8 +8,7 @@
|-----handy-ruler------------------------------------------------------|
QDarkStyle: QDarkStyle (A dark stylesheet for Qt applications)
QDarkStyle:
-QDarkStyle: This package provides a dark style sheet
-QDarkStyle: for PySide/PyQt applications.
+QDarkStyle: This package provides a dark style sheet for PySide/PyQt applications.
QDarkStyle:
QDarkStyle: Homepage: https://github.com/ColinDuquesnoy/QDarkStyleSheet
QDarkStyle:
@@ -17,3 +16,4 @@ QDarkStyle:
QDarkStyle:
QDarkStyle:
QDarkStyle:
+QDarkStyle:
diff --git a/libraries/QR-Code-generator/QR-Code-generator.SlackBuild b/libraries/QR-Code-generator/QR-Code-generator.SlackBuild
new file mode 100644
index 0000000000..6db0cbd872
--- /dev/null
+++ b/libraries/QR-Code-generator/QR-Code-generator.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for QR-Code-generator
+
+# Copyright 2020 Hunter Sezen California, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=QR-Code-generator
+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}
+
+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.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 makefiles (Modified from Fedora)
+# https://src.fedoraproject.org/rpms/qr-code-generator
+patch -p1 < $CWD/qr-code-generator-build-fixes.patch
+
+(
+ cd c
+ make CFLAGS="$SLKCFLAGS"
+ make install \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ DESTDIR=$PKG
+)
+
+(
+ cd cpp
+ make CXXFLAGS="$SLKCFLAGS"
+ make install \
+ PREFIX=/usr \
+ LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ DESTDIR=$PKG
+)
+
+if python3 -c 'import sys' 2>/dev/null; then
+ (
+ cd python
+ 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.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
diff --git a/libraries/QR-Code-generator/QR-Code-generator.info b/libraries/QR-Code-generator/QR-Code-generator.info
new file mode 100644
index 0000000000..a06cf5775b
--- /dev/null
+++ b/libraries/QR-Code-generator/QR-Code-generator.info
@@ -0,0 +1,10 @@
+PRGNAM="QR-Code-generator"
+VERSION="1.6.0"
+HOMEPAGE="https://www.nayuki.io/page/qr-code-generator-library"
+DOWNLOAD="https://github.com/nayuki/QR-Code-generator/archive/v1.6.0/QR-Code-generator-1.6.0.tar.gz"
+MD5SUM="b0015162c613dea118c69d34b77fea7a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/libraries/QR-Code-generator/README b/libraries/QR-Code-generator/README
new file mode 100644
index 0000000000..3460bcc3f3
--- /dev/null
+++ b/libraries/QR-Code-generator/README
@@ -0,0 +1,4 @@
+This project aims to be the best, clearest library for generating
+QR Codes. My primary goals are flexible options and absolute
+correctness. Secondary goals are compact implementation size and good
+documentation comments.
diff --git a/libraries/QR-Code-generator/qr-code-generator-build-fixes.patch b/libraries/QR-Code-generator/qr-code-generator-build-fixes.patch
new file mode 100644
index 0000000000..4acdfe4999
--- /dev/null
+++ b/libraries/QR-Code-generator/qr-code-generator-build-fixes.patch
@@ -0,0 +1,156 @@
+diff -urN QR-Code-generator-1.6.0.orig/c/Makefile QR-Code-generator-1.6.0/c/Makefile
+--- QR-Code-generator-1.6.0.orig/c/Makefile 2020-10-28 13:44:11.561734024 -0700
++++ QR-Code-generator-1.6.0/c/Makefile 2020-10-28 13:47:38.512702152 -0700
+@@ -29,11 +29,15 @@
+ # - CFLAGS: Any extra user-specified compiler flags (can be blank).
+
+ # Recommended compiler flags:
+-CFLAGS += -std=c99 -O
++CFLAGS += -O2
++
++MAIN_FLAGS := -std=c99 -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion
+
+ # Extra flags for diagnostics:
+-# CFLAGS += -g -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -fsanitize=undefined,address
++# MAIN_FLAGS += -g -fsanitize=undefined,address
+
++# Version information
++VERSION = 1.6.0
+
+ # ---- Controlling make ----
+
+@@ -51,10 +55,19 @@
+ # ---- Targets to build ----
+
+ LIB = qrcodegen
+-LIBFILE = lib$(LIB).a
++LIBFILE = lib$(LIB).so
++# Bump the soname number when the ABI changes and gets incompatible
++SO_NAME = $(LIBFILE).1
++REAL_NAME = $(LIBFILE).$(VERSION)
++HEADERS = qrcodegen.h
+ LIBOBJ = qrcodegen.o
+ MAINS = qrcodegen-demo qrcodegen-test qrcodegen-worker
+
++# define paths to install
++PREFIX ?= /usr/local
++INCLUDEDIR ?= $(PREFIX)/include/qrcodegen
++LIBDIR ?= $(PREFIX)/lib
++
+ # Build all binaries
+ all: $(LIBFILE) $(MAINS)
+
+@@ -63,21 +76,33 @@
+ rm -f -- $(LIBOBJ) $(LIBFILE) $(MAINS:=.o) $(MAINS)
+ rm -rf .deps
+
++install-shared: $(LIBFILE)
++ mkdir -p $(DESTDIR)$(LIBDIR)
++ install -m 0755 $(LIBFILE) $(DESTDIR)$(LIBDIR)/$(REAL_NAME)
++ ln -s $(REAL_NAME) $(DESTDIR)$(LIBDIR)/$(SO_NAME)
++ ln -s $(SO_NAME) $(DESTDIR)$(LIBDIR)/$(LIBFILE)
++
++install-header: $(HEADERS)
++ mkdir -p $(DESTDIR)$(INCLUDEDIR)
++ install -m 0644 $(HEADERS) $(DESTDIR)$(INCLUDEDIR)/
++
++install: install-shared install-header
++
+ # Executable files
+ %: %.o $(LIBFILE)
+ $(CC) $(CFLAGS) -o $@ $< -L . -l $(LIB)
+
+ # Special executable
+ qrcodegen-test: qrcodegen-test.c $(LIBOBJ:%.o=%.c)
+- $(CC) $(CFLAGS) -DQRCODEGEN_TEST -o $@ $^
++ $(CC) $(CFLAGS) $(MAIN_FLAGS) -DQRCODEGEN_TEST -o $@ $^
+
+ # The library
+ $(LIBFILE): $(LIBOBJ)
+- $(AR) -crs $@ -- $^
++ $(CC) $(CFLAGS) $(MAIN_FLAGS) -shared -Wl,-soname,$(SO_NAME) $(LDFLAGS) -o $@ $^
+
+ # Object files
+ %.o: %.c .deps/timestamp
+- $(CC) $(CFLAGS) -c -o $@ -MMD -MF .deps/$*.d $<
++ $(CC) $(CFLAGS) $(MAIN_FLAGS) -c -o $@ -MMD -MF .deps/$*.d $<
+
+ # Have a place to store header dependencies automatically generated by compiler
+ .deps/timestamp:
+diff -urN QR-Code-generator-1.6.0.orig/cpp/Makefile QR-Code-generator-1.6.0/cpp/Makefile
+--- QR-Code-generator-1.6.0.orig/cpp/Makefile 2020-10-28 13:44:11.561734024 -0700
++++ QR-Code-generator-1.6.0/cpp/Makefile 2020-10-28 13:48:27.218164945 -0700
+@@ -29,11 +29,15 @@
+ # - CXXFLAGS: Any extra user-specified compiler flags (can be blank).
+
+ # Recommended compiler flags:
+-CXXFLAGS += -std=c++11 -O
++CXXFLAGS ?= -O2
++
++MAIN_FLAGS := -std=c++11 -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion
+
+ # Extra flags for diagnostics:
+-# CXXFLAGS += -g -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -fsanitize=undefined,address
++# MAIN_FLAGS += -g -fsanitize=undefined,address
+
++# Version information
++VERSION = 1.6.0
+
+ # ---- Controlling make ----
+
+@@ -50,11 +54,20 @@
+
+ # ---- Targets to build ----
+
+-LIB = qrcodegen
+-LIBFILE = lib$(LIB).a
++LIB = qrcodegencpp
++LIBFILE = lib$(LIB).so
++# Bump the soname number when the ABI changes and gets incompatible
++SO_NAME = $(LIBFILE).1
++REAL_NAME = $(LIBFILE).$(VERSION)
++HEADERS = QrCode.hpp
+ LIBOBJ = QrCode.o
+ MAINS = QrCodeGeneratorDemo QrCodeGeneratorWorker
+
++# define paths to install
++PREFIX ?= /usr/local
++INCLUDEDIR ?= $(PREFIX)/include/qrcodegen
++LIBDIR ?= $(PREFIX)/lib
++
+ # Build all binaries
+ all: $(LIBFILE) $(MAINS)
+
+@@ -63,17 +76,29 @@
+ rm -f -- $(LIBOBJ) $(LIBFILE) $(MAINS:=.o) $(MAINS)
+ rm -rf .deps
+
++install-shared: $(LIBFILE)
++ mkdir -p $(DESTDIR)$(LIBDIR)
++ install -m 0755 $(LIBFILE) $(DESTDIR)$(LIBDIR)/$(REAL_NAME)
++ ln -s $(REAL_NAME) $(DESTDIR)$(LIBDIR)/$(SO_NAME)
++ ln -s $(SO_NAME) $(DESTDIR)$(LIBDIR)/$(LIBFILE)
++
++install-header: $(HEADERS)
++ mkdir -p $(DESTDIR)$(INCLUDEDIR)
++ install -m 0644 $(HEADERS) $(DESTDIR)$(INCLUDEDIR)/
++
++install: install-shared install-header
++
+ # Executable files
+ %: %.o $(LIBFILE)
+- $(CXX) $(CXXFLAGS) -o $@ $< -L . -l $(LIB)
++ $(CXX) $(CXXFLAGS) $(MAIN_FLAGS) -o $@ $< -L . -l $(LIB)
+
+ # The library
+ $(LIBFILE): $(LIBOBJ)
+- $(AR) -crs $@ -- $^
++ $(CXX) $(CXXFLAGS) $(MAIN_FLAGS) -shared -Wl,-soname,$(SO_NAME) $(LDFLAGS) -o $@ $^
+
+ # Object files
+ %.o: %.cpp .deps/timestamp
+- $(CXX) $(CXXFLAGS) -c -o $@ -MMD -MF .deps/$*.d $<
++ $(CXX) $(CXXFLAGS) $(MAIN_FLAGS) -c -o $@ -MMD -MF .deps/$*.d $<
+
+ # Have a place to store header dependencies automatically generated by compiler
+ .deps/timestamp:
diff --git a/libraries/QR-Code-generator/slack-desc b/libraries/QR-Code-generator/slack-desc
new file mode 100644
index 0000000000..4b8b1d02c7
--- /dev/null
+++ b/libraries/QR-Code-generator/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------------------------------------------------------|
+QR-Code-generator: QR-Code-generator (QR Code generator library)
+QR-Code-generator:
+QR-Code-generator: High-quality QR Code generator library.
+QR-Code-generator:
+QR-Code-generator: Homepage: https://www.nayuki.io/page/qr-code-generator-library
+QR-Code-generator:
+QR-Code-generator:
+QR-Code-generator:
+QR-Code-generator:
+QR-Code-generator:
+QR-Code-generator:
diff --git a/libraries/QScintilla-qt5/QScintilla-qt5.SlackBuild b/libraries/QScintilla-qt5/QScintilla-qt5.SlackBuild
deleted file mode 100644
index 98b0e79f9f..0000000000
--- a/libraries/QScintilla-qt5/QScintilla-qt5.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for QScintilla-qt5
-
-# Copyright 2020 Benjamin Trigona-Harant <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=QScintilla-qt5
-SRCNAM=QScintilla
-VERSION=${VERSION:-2.11.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 $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 {} \;
-
-cd Qt4Qt5
- qmake-qt5 qscintilla.pro
- make install INSTALL_ROOT=$PKG
-cd -
-
-cd designer-Qt4Qt5
- qmake-qt5 designer.pro INCLUDEPATH+=$PKG/usr/include/qt5 QMAKE_LIBDIR+=$PKG/usr/lib${LIBDIRSUFFIX}
- make install INSTALL_ROOT=$PKG
-cd -
-
-cd Python
- sed -i "1613i\ pro.write('INCLUDEPATH += /usr/include/qt5/QtWidgets\\\n')" configure.py
- sed -i "1613i\ pro.write('INCLUDEPATH += /usr/include/qt5/QtPrintSupport\\\n')" configure.py
- python3 configure.py --pyqt=PyQt5 -c --qmake /usr/bin/qmake-qt5 -n $PKG/usr/include/qt5 -o $PKG/usr/lib${LIBDIRSUFFIX} --sip=/usr/bin/python3-sip --sip-incdir=/usr/include/python$(python3 -c "from distutils.sysconfig import get_python_version; print(get_python_version())")
- make install INSTALL_ROOT=$PKG -j1
-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 LICENSE 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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/QScintilla-qt5/QScintilla-qt5.info b/libraries/QScintilla-qt5/QScintilla-qt5.info
deleted file mode 100644
index da0cb84c36..0000000000
--- a/libraries/QScintilla-qt5/QScintilla-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="QScintilla-qt5"
-VERSION="2.11.3"
-HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla"
-DOWNLOAD="https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.11.3/QScintilla-2.11.3.tar.gz"
-MD5SUM="53e87914d3796caafd6236a1c3a56d74"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3-PyQt5"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/libraries/QScintilla-qt5/README b/libraries/QScintilla-qt5/README
deleted file mode 100644
index 4d197996f7..0000000000
--- a/libraries/QScintilla-qt5/README
+++ /dev/null
@@ -1,11 +0,0 @@
-QScintilla includes features especially useful when editing and debugging
-source code. These include support for syntax styling, error indicators, code
-completion, and call tips. The selection margin can contain markers like those
-used in debuggers to indicate breakpoints and the current line. Styling
-choices are more open than with many editors, allowing the use of proportional
-fonts, bold and italics, multiple foreground and background colours, and
-multiple fonts.
-
-Building qscintilla-qt5 while an older verion is installed can cause run-time
-errors. To avoid issues, unistall the current package before running this
-script.
diff --git a/libraries/QScintilla-qt5/slack-desc b/libraries/QScintilla-qt5/slack-desc
deleted file mode 100644
index 01e5175244..0000000000
--- a/libraries/QScintilla-qt5/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------------------------------------------------------|
-QScintilla-qt5: QScintilla-qt5 (Qt5 port of the Scintilla C++ editor control)
-QScintilla-qt5:
-QScintilla-qt5: QScintilla includes features especially useful when editing and
-QScintilla-qt5: debugging source code. These include support for syntax styling,
-QScintilla-qt5: error indicators, code completion, and call tips. The selection
-QScintilla-qt5: margin can contain markers like those used in debuggers to
-QScintilla-qt5: indicate breakpoints and the current line. Styling choices are
-QScintilla-qt5: more open than with many editors, allowing the use of
-QScintilla-qt5: proportional fonts, bold and italics, multiple foreground and
-QScintilla-qt5: background colours, and multiple fonts.
-QScintilla-qt5:
diff --git a/libraries/QUSB/QUSB.SlackBuild b/libraries/QUSB/QUSB.SlackBuild
index e775b792e0..809527399a 100644
--- a/libraries/QUSB/QUSB.SlackBuild
+++ b/libraries/QUSB/QUSB.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for QUSB
@@ -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=QUSB
VERSION=${VERSION:-0ec83acc}
GITVER=0ec83acc541e4469a7f425b2579fcc029583fe02
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,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 {} \;
+. /etc/profile.d/qt4.sh
sed -i "s|/lib|/lib${LIBDIRSUFFIX}|g" src/src.pro
qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \
@@ -95,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/libraries/QUSB/QUSB.info b/libraries/QUSB/QUSB.info
index 90088f79d1..371e4a6bd9 100644
--- a/libraries/QUSB/QUSB.info
+++ b/libraries/QUSB/QUSB.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/bimetek/QUSB/archive/0ec83acc541e4469a7f425b2579fcc
MD5SUM="43c9d6a3c31348c95ae1ea3efb907f48"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/QtUsb/QtUsb.SlackBuild b/libraries/QtUsb/QtUsb.SlackBuild
index 1fe8ec1987..630d611b8a 100644
--- a/libraries/QtUsb/QtUsb.SlackBuild
+++ b/libraries/QtUsb/QtUsb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for QtUsb
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220410 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - do not install /usr/include headers executable.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=QtUsb
VERSION=${VERSION:-0.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -65,9 +75,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 {} \+
+
+sed -i "s,/usr/lib,/usr/lib$LIBDIRSUFFIX,g" src/src.pro
qmake-qt5 \
QMAKE_CFLAGS+="$SLKCFLAGS" \
@@ -77,6 +89,8 @@ qmake-qt5 \
make
make install INSTALL_ROOT=$PKG
+find $PKG/usr/include -type f -exec chmod 0644 {} \+
+
find $PKG -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,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/libraries/QtUsb/QtUsb.info b/libraries/QtUsb/QtUsb.info
index 8dc275eb03..67d8c5e881 100644
--- a/libraries/QtUsb/QtUsb.info
+++ b/libraries/QtUsb/QtUsb.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/fpoussin/QtUsb/archive/v0.3.0/QtUsb-0.3.0.tar.gz"
MD5SUM="67db772bebfa7f202a858909d7ae48a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/RxCpp/RxCpp.SlackBuild b/libraries/RxCpp/RxCpp.SlackBuild
index d120326c42..6ad961b3c6 100644
--- a/libraries/RxCpp/RxCpp.SlackBuild
+++ b/libraries/RxCpp/RxCpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Reactive Extensions for C++
@@ -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=RxCpp
VERSION=${VERSION:-4.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}
@@ -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/libraries/SDL2/README b/libraries/SDL2/README
deleted file mode 100644
index 8e26524439..0000000000
--- a/libraries/SDL2/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Simple DirectMedia Layer is a cross-platform development library designed to
-provide low-level access to audio, keyboard, mouse, joystick, and graphics
-hardware via OpenGL.
-
-SDL is written in C and works natively with C++.
-
-This is safe to install alongside Slackware's SDL libraries.
diff --git a/libraries/SDL2/SDL2.SlackBuild b/libraries/SDL2/SDL2.SlackBuild
deleted file mode 100644
index 7fe728b6e2..0000000000
--- a/libraries/SDL2/SDL2.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SDL2
-
-# Copyright 2013 Dugan Chen 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.
-
-PRGNAM=SDL2
-VERSION=${VERSION:-2.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_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${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
-cp -a *.txt docs/*.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/libraries/SDL2/SDL2.info b/libraries/SDL2/SDL2.info
deleted file mode 100644
index 20cbe825dc..0000000000
--- a/libraries/SDL2/SDL2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SDL2"
-VERSION="2.0.9"
-HOMEPAGE="https://libsdl.org"
-DOWNLOAD="https://www.libsdl.org/release/SDL2-2.0.9.tar.gz"
-MD5SUM="f2ecfba915c54f7200f504d8b48a5dfe"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/libraries/SDL2/slack-desc b/libraries/SDL2/slack-desc
deleted file mode 100644
index fa23090367..0000000000
--- a/libraries/SDL2/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: SDL2 (Simple DirectMedia Layer Version 2)
-SDL2:
-SDL2: Simple DirectMedia Layer is a cross-platform development library
-SDL2: designed to provide low-level access to audio, keyboard, mouse,
-SDL2: joystick, and graphics hardware ia via OpenGL.
-SDL2:
-SDL2: SDL is written in C and works natively with C++.
-SDL2:
-SDL2: https://libsdl.org
-SDL2:
-SDL2:
diff --git a/libraries/SDL2_Pango/README b/libraries/SDL2_Pango/README
new file mode 100644
index 0000000000..120bfa2d20
--- /dev/null
+++ b/libraries/SDL2_Pango/README
@@ -0,0 +1,3 @@
+SDL2_Pango - Pango bindings for SDL2
+Pango is a text rendering engine.
+SDL2_Pango connects the engine to SDL2.
diff --git a/libraries/SDL2_Pango/SDL2_Pango.SlackBuild b/libraries/SDL2_Pango/SDL2_Pango.SlackBuild
new file mode 100644
index 0000000000..f9c5a1a9d5
--- /dev/null
+++ b/libraries/SDL2_Pango/SDL2_Pango.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+#
+# Slackware build script for SDL2_Pango
+#
+# Copyright 2022 Tim Dickson, Scotland, 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=SDL2_Pango
+VERSION=${VERSION:-2.1.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
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+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
+libtoolize --copy --force
+automake -a
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ || exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+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 COPYING ChangeLog README docs/html \
+ $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
diff --git a/libraries/SDL2_Pango/SDL2_Pango.info b/libraries/SDL2_Pango/SDL2_Pango.info
new file mode 100644
index 0000000000..3e1793a7f2
--- /dev/null
+++ b/libraries/SDL2_Pango/SDL2_Pango.info
@@ -0,0 +1,10 @@
+PRGNAM="SDL2_Pango"
+VERSION="2.1.5"
+HOMEPAGE="https://github.com/markuskimius/SDL2_Pango/"
+DOWNLOAD="https://github.com/markuskimius/SDL2_Pango/archive/v2.1.5/SDL2_Pango-2.1.5.tar.gz"
+MD5SUM="79281dd2b648444f25c7cb26d4514767"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Tim Dickson"
+EMAIL="dickson.tim@googlemail.com"
diff --git a/libraries/SDL2_Pango/slack-desc b/libraries/SDL2_Pango/slack-desc
new file mode 100644
index 0000000000..f38fd80055
--- /dev/null
+++ b/libraries/SDL2_Pango/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------------------------------------------------------|
+SDL2_Pango: SDL2_Pango (Pango bindings for SDL2)
+SDL2_Pango:
+SDL2_Pango: Pango is a text rendering engine. SDL2_Pango connects the
+SDL2_Pango: engine to SDL2.
+SDL2_Pango:
+SDL2_Pango: https://github.com/markuslimius/SDL2_Pango/
+SDL2_Pango:
+SDL2_Pango:
+SDL2_Pango:
+SDL2_Pango:
+SDL2_Pango:
diff --git a/libraries/SDL2_image/README b/libraries/SDL2_image/README
deleted file mode 100644
index efd18ed49e..0000000000
--- a/libraries/SDL2_image/README
+++ /dev/null
@@ -1,4 +0,0 @@
-SDL2_image is a simple library to load images of various formats as
-SDL surfaces. It is safe to install alongside Slackware's SDL libraries.
-
-libwebp is an optional dependency.
diff --git a/libraries/SDL2_image/SDL2_image.SlackBuild b/libraries/SDL2_image/SDL2_image.SlackBuild
deleted file mode 100644
index 73562ae808..0000000000
--- a/libraries/SDL2_image/SDL2_image.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SDL2_image
-
-# Copyright 2013 Dugan Chen 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.
-
-PRGNAM=SDL2_image
-VERSION=${VERSION:-2.0.4}
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-static=no \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --enable-jpg-shared=no
-
-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 *.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/libraries/SDL2_image/SDL2_image.info b/libraries/SDL2_image/SDL2_image.info
deleted file mode 100644
index 755869fb05..0000000000
--- a/libraries/SDL2_image/SDL2_image.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SDL2_image"
-VERSION="2.0.4"
-HOMEPAGE="https://www.libsdl.org/projects/SDL_image/"
-DOWNLOAD="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.4.tar.gz"
-MD5SUM="88b9766d5b64a67f82ba511c57e7ce10"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SDL2"
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/libraries/SDL2_image/slack-desc b/libraries/SDL2_image/slack-desc
deleted file mode 100644
index c92a593f27..0000000000
--- a/libraries/SDL2_image/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_image: SDL2_image (image loading library)
-SDL2_image:
-SDL2_image: SDL2_image is a simple image loading library. It loads images of
-SDL2_image: various formats as SDL surfaces and textures.
-SDL2_image:
-SDL2_image: https://www.libsdl.org/projects/SDL_image/
-SDL2_image:
-SDL2_image:
-SDL2_image:
-SDL2_image:
-SDL2_image:
diff --git a/libraries/SDL2_mixer/README b/libraries/SDL2_mixer/README
deleted file mode 100644
index 5d39240c67..0000000000
--- a/libraries/SDL2_mixer/README
+++ /dev/null
@@ -1,11 +0,0 @@
-SDL2_mixer is a sample multi-channel audio mixer library. It supports
-any number of simultaneously playing channels of 16-bit stereo audio,
-plus a single channel of music.
-
-It is safe to install alongside Slackware's SDL libraries.
-
-Optional dependencies are:
-
-* libmodplug (for MOD support)
-* fluidsynth (for MIDI support via SDL_SOUNDFONTS)
-* smpeg2 (for MP3 support, not available on SBo)
diff --git a/libraries/SDL2_mixer/SDL2_mixer.SlackBuild b/libraries/SDL2_mixer/SDL2_mixer.SlackBuild
deleted file mode 100644
index ff3d6cb323..0000000000
--- a/libraries/SDL2_mixer/SDL2_mixer.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SDL2_mixer
-
-# Copyright 2013-2015 Dugan Chen 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.
-
-PRGNAM=SDL2_mixer
-VERSION=${VERSION:-2.0.4}
-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 {} \;
-
-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 \
- --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/examples
-cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a playmus.c playwave.c $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/libraries/SDL2_mixer/SDL2_mixer.info b/libraries/SDL2_mixer/SDL2_mixer.info
deleted file mode 100644
index 23ba1784ba..0000000000
--- a/libraries/SDL2_mixer/SDL2_mixer.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SDL2_mixer"
-VERSION="2.0.4"
-HOMEPAGE="https://www.libsdl.org/projects/SDL_mixer/"
-DOWNLOAD="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.tar.gz"
-MD5SUM="a36e8410cac46b00a4d01752b32c3eb1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SDL2"
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/libraries/SDL2_mixer/slack-desc b/libraries/SDL2_mixer/slack-desc
deleted file mode 100644
index bf7934c6ee..0000000000
--- a/libraries/SDL2_mixer/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_mixer: SDL2_mixer (sample multi-channel audio mixer library)
-SDL2_mixer:
-SDL2_mixer: SDL_mixer is a sample multi-channel audio mixer library. It supports
-SDL2_mixer: any number of simultaneously playing channels of 16-bit stereo audio,
-SDL2_mixer: plus a single channel of music.
-SDL2_mixer:
-SDL2_mixer: https://www.libsdl.org/projects/SDL_mixer/
-SDL2_mixer:
-SDL2_mixer:
-SDL2_mixer:
-SDL2_mixer:
diff --git a/libraries/SDL2_net/README b/libraries/SDL2_net/README
deleted file mode 100644
index 3f3e632887..0000000000
--- a/libraries/SDL2_net/README
+++ /dev/null
@@ -1,3 +0,0 @@
-This SDL2 extension is a small cross platform networking library.
-
-It is safe to install alongside Slackware's SDL libraries.
diff --git a/libraries/SDL2_net/SDL2_net.SlackBuild b/libraries/SDL2_net/SDL2_net.SlackBuild
deleted file mode 100644
index ac25dc3fe3..0000000000
--- a/libraries/SDL2_net/SDL2_net.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SDL2_net
-
-# Copyright 2013 Dugan Chen 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.
-
-PRGNAM=SDL2_net
-VERSION=${VERSION:-2.0.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 [ "$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 \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-static=no \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --disable-gui
-
-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/demo
-cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a chat.cpp chat.h chatd.c $PKG/usr/doc/$PRGNAM-$VERSION/demo
-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/libraries/SDL2_net/SDL2_net.info b/libraries/SDL2_net/SDL2_net.info
deleted file mode 100644
index d607b71b3f..0000000000
--- a/libraries/SDL2_net/SDL2_net.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SDL2_net"
-VERSION="2.0.1"
-HOMEPAGE="https://www.libsdl.org/projects/SDL_net/"
-DOWNLOAD="https://www.libsdl.org/projects/SDL_net/release/SDL2_net-2.0.1.tar.gz"
-MD5SUM="5c1d9d1cfa63301b141cb5c0de2ea7c4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SDL2"
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/libraries/SDL2_net/slack-desc b/libraries/SDL2_net/slack-desc
deleted file mode 100644
index 3f45345ca4..0000000000
--- a/libraries/SDL2_net/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_net: SDL2_net (cross platform networking library)
-SDL2_net:
-SDL2_net: This is a small cross platform networking library.
-SDL2_net:
-SDL2_net:
-SDL2_net:
-SDL2_net:
-SDL2_net:
-SDL2_net:
-SDL2_net:
-SDL2_net:
diff --git a/libraries/SDL2_sound/README b/libraries/SDL2_sound/README
new file mode 100644
index 0000000000..79c625f174
--- /dev/null
+++ b/libraries/SDL2_sound/README
@@ -0,0 +1,3 @@
+SDL_sound is a library that handles the decoding of several popular
+sound file formats, such as .WAV and .MP3.
+This is the SDL2 build, as SDL_sound for SDL1 is in base Slackware.
diff --git a/libraries/SDL2_sound/SDL2_sound.SlackBuild b/libraries/SDL2_sound/SDL2_sound.SlackBuild
new file mode 100644
index 0000000000..2b2cb1ff0e
--- /dev/null
+++ b/libraries/SDL2_sound/SDL2_sound.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for SDL2_sound
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=SDL2_sound
+SRCNAM=SDL_sound
+VERSION=${VERSION:-2.0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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 {} \;
+
+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/strip DESTDIR=$PKG
+cd ..
+
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.a
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/CHANGELOG* docs/CREDITS* LICENSE* README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/SDL2_sound/SDL2_sound.info b/libraries/SDL2_sound/SDL2_sound.info
new file mode 100644
index 0000000000..8a57e90d96
--- /dev/null
+++ b/libraries/SDL2_sound/SDL2_sound.info
@@ -0,0 +1,10 @@
+PRGNAM="SDL2_sound"
+VERSION="2.0.2"
+HOMEPAGE="http://icculus.org/SDL_sound/"
+DOWNLOAD="https://github.com/icculus/SDL_sound/archive/v2.0.2/SDL_sound-2.0.2.tar.gz"
+MD5SUM="08405318c3b7bbeff2d6d5bc72fc160f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/SDL2_sound/slack-desc b/libraries/SDL2_sound/slack-desc
new file mode 100644
index 0000000000..7cc7d52f65
--- /dev/null
+++ b/libraries/SDL2_sound/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------------------------------------------------------|
+SDL2_sound: SDL2_sound (a sound library add-on for SDL2)
+SDL2_sound:
+SDL2_sound: SDL_sound is a library that handles the decoding of several popular
+SDL2_sound: sound file formats, such as .WAV and .MP3.
+SDL2_sound:
+SDL2_sound:
+SDL2_sound:
+SDL2_sound:
+SDL2_sound:
+SDL2_sound:
+SDL2_sound:
diff --git a/libraries/SDL2_ttf/README b/libraries/SDL2_ttf/README
deleted file mode 100644
index ac5e99801e..0000000000
--- a/libraries/SDL2_ttf/README
+++ /dev/null
@@ -1,4 +0,0 @@
-This is a sample library which allows you to use TrueType fonts
-in your SDL2 applications.
-
-It is safe to install alongside Slackware's SDL packages.
diff --git a/libraries/SDL2_ttf/SDL2_ttf.SlackBuild b/libraries/SDL2_ttf/SDL2_ttf.SlackBuild
deleted file mode 100644
index fb3177ba19..0000000000
--- a/libraries/SDL2_ttf/SDL2_ttf.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SDL2_ttf
-
-# Copyright 2013 Dugan Chen 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.
-
-PRGNAM=SDL2_ttf
-VERSION=${VERSION:-2.0.14}
-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 \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-static=no \
- --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/examples
-cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a showfont.c $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/libraries/SDL2_ttf/SDL2_ttf.info b/libraries/SDL2_ttf/SDL2_ttf.info
deleted file mode 100644
index e81eed0c1d..0000000000
--- a/libraries/SDL2_ttf/SDL2_ttf.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SDL2_ttf"
-VERSION="2.0.14"
-HOMEPAGE="https://www.libsdl.org/projects/SDL_ttf/"
-DOWNLOAD="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.14.tar.gz"
-MD5SUM="e53c05e1e7f1382c316afd6c763388b1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SDL2"
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/libraries/SDL2_ttf/slack-desc b/libraries/SDL2_ttf/slack-desc
deleted file mode 100644
index dbd7fee216..0000000000
--- a/libraries/SDL2_ttf/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_ttf: SDL2_ttf (SDL2 truetype font library)
-SDL2_ttf:
-SDL2_ttf: This is a sample library which allows you to use
-SDL2_ttf: TrueType fonts in your SDL applications.
-SDL2_ttf:
-SDL2_ttf:
-SDL2_ttf:
-SDL2_ttf:
-SDL2_ttf:
-SDL2_ttf:
-SDL2_ttf:
diff --git a/libraries/SDL_Pango/SDL_Pango.SlackBuild b/libraries/SDL_Pango/SDL_Pango.SlackBuild
index cdd3d79605..de28ac1e0c 100644
--- a/libraries/SDL_Pango/SDL_Pango.SlackBuild
+++ b/libraries/SDL_Pango/SDL_Pango.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for SDL_Pango
#
@@ -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=SDL_Pango
VERSION=${VERSION:-0.1.2}
-BUILD=${BUILD:-3}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +105,10 @@ cp -a AUTHORS COPYING ChangeLog NEWS README docs/html \
$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/libraries/SDL_audiolib/README b/libraries/SDL_audiolib/README
new file mode 100644
index 0000000000..e3610fcb10
--- /dev/null
+++ b/libraries/SDL_audiolib/README
@@ -0,0 +1,7 @@
+SDL_audiolib is an audio decoding, resampling and mixing library for
+SDL.
+
+This is a small and simple to use C++ library for playing various
+audio formats. It is a thin (-ish) wrapper around existing resampling
+(like SRC or SoX) and decoding libraries (like libmpg123 or
+libvorbis).
diff --git a/libraries/SDL_audiolib/SDL_audiolib.SlackBuild b/libraries/SDL_audiolib/SDL_audiolib.SlackBuild
new file mode 100644
index 0000000000..767d5a0282
--- /dev/null
+++ b/libraries/SDL_audiolib/SDL_audiolib.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for sdl_audiolib
+
+# Copyright 2022-2023 Steven Voges <svoges.sbo@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=SDL_audiolib
+VERSION=${VERSION:-20230225_b2df2df}
+SRCVER=${SRCVER:-b2df2dfeddc692caa01fd1e1769f59b285912b87}
+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-$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 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_SYSTEM_FMTLIB=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 \
+ COPYING COPYING.LESSER README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/SDL_audiolib/SDL_audiolib.info b/libraries/SDL_audiolib/SDL_audiolib.info
new file mode 100644
index 0000000000..f454348d90
--- /dev/null
+++ b/libraries/SDL_audiolib/SDL_audiolib.info
@@ -0,0 +1,10 @@
+PRGNAM="SDL_audiolib"
+VERSION="20230225_b2df2df"
+HOMEPAGE="https://github.com/realnc/SDL_audiolib"
+DOWNLOAD="https://github.com/realnc/SDL_audiolib/archive/b2df2dfeddc692caa01fd1e1769f59b285912b87/SDL_audiolib-b2df2dfeddc692caa01fd1e1769f59b285912b87.tar.gz"
+MD5SUM="a965ce63b60ed4a1dceac7ca7fb51163"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="fmt musepack-tools soxr libopenmpt libxmp libmodplug libADLMIDI libbassmidi wildmidi"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/SDL_audiolib/slack-desc b/libraries/SDL_audiolib/slack-desc
new file mode 100644
index 0000000000..bd7f03bacb
--- /dev/null
+++ b/libraries/SDL_audiolib/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------------------------------------------------------|
+SDL_audiolib: SDL_audiolib (Audio Library)
+SDL_audiolib:
+SDL_audiolib: An audio decoding, resampling and mixing library for SDL.
+SDL_audiolib:
+SDL_audiolib: This is a small and simple to use C++ library for playing various
+SDL_audiolib: audio formats. It is a thin (-ish) wrapper around existing resampling
+SDL_audiolib: (like SRC or SoX) and decoding libraries (like libmpg123 or
+SDL_audiolib: libvorbis).
+SDL_audiolib:
+SDL_audiolib: Homepage: https://github.com/realnc/SDL_audiolib
+SDL_audiolib:
diff --git a/libraries/SDL_gfx/SDL_gfx.SlackBuild b/libraries/SDL_gfx/SDL_gfx.SlackBuild
index 5d84be05bd..2e220c44ac 100644
--- a/libraries/SDL_gfx/SDL_gfx.SlackBuild
+++ b/libraries/SDL_gfx/SDL_gfx.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for: SDL_gfx
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Klaatu <klaatu@member.fsf.org> | Lawrence NZ
# Copyright 2007-2011 Michiel van Wessem, Leicester, United Kingdom
# All rights reserved.
@@ -24,10 +25,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220414 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SDL_gfx
-VERSION=${VERSION:-2.0.25}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.26}
+BUILD=${BUILD:-2}
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}
@@ -71,15 +82,13 @@ rm -rf $TMP/$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 {} \;
+# 20220417 bkw: tarball perms are bletcherous, do not revert to template.
+find . -type f -exec chmod 644 {} \+
+find . -type d -exec chmod 755 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+sh ./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
@@ -94,8 +103,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README README-rpm Docs/* \
+cp -a AUTHORS COPYING ChangeLog LICENSE NEWS README README-rpm Docs/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -103,4 +114,4 @@ mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/SDL_gfx/SDL_gfx.info b/libraries/SDL_gfx/SDL_gfx.info
index 7c5e022799..df4a497d72 100644
--- a/libraries/SDL_gfx/SDL_gfx.info
+++ b/libraries/SDL_gfx/SDL_gfx.info
@@ -1,8 +1,8 @@
PRGNAM="SDL_gfx"
-VERSION="2.0.25"
+VERSION="2.0.26"
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
-DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.25.tar.gz"
-MD5SUM="ea24ed4b82ff1304809c363494fa8e16"
+DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.26.tar.gz"
+MD5SUM="0b3b5ab5f9e7d10f1faf14d4255db6ba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/SDL_kitchensink/SDL_kitchensink.SlackBuild b/libraries/SDL_kitchensink/SDL_kitchensink.SlackBuild
index 60f490be6f..aa45e136de 100644
--- a/libraries/SDL_kitchensink/SDL_kitchensink.SlackBuild
+++ b/libraries/SDL_kitchensink/SDL_kitchensink.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SDL_kitchensink
#
# 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=SDL_kitchensink
-VERSION=${VERSION:-1.0.7}
+VERSION=${VERSION:-1.0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$(tr _ - <<< $VERSION)
@@ -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}
@@ -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=""
@@ -102,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/libraries/SDL_kitchensink/SDL_kitchensink.info b/libraries/SDL_kitchensink/SDL_kitchensink.info
index 97a2e047c3..11d8bab81c 100644
--- a/libraries/SDL_kitchensink/SDL_kitchensink.info
+++ b/libraries/SDL_kitchensink/SDL_kitchensink.info
@@ -1,10 +1,10 @@
PRGNAM="SDL_kitchensink"
-VERSION="1.0.7"
+VERSION="1.0.12"
HOMEPAGE="https://github.com/katajakasa/SDL_kitchensink"
-DOWNLOAD="https://github.com/katajakasa/SDL_kitchensink/archive/1.0.7/SDL_kitchensink-1.0.7.tar.gz"
-MD5SUM="32ea019e14b602a5b056075299668e7c"
+DOWNLOAD="https://github.com/katajakasa/SDL_kitchensink/archive/1.0.12/SDL_kitchensink-1.0.12.tar.gz"
+MD5SUM="3415f346df64ae69a108e272e60354eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SDL2 libass cunit ffmpeg"
+REQUIRES="libass cunit"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"
diff --git a/libraries/SDL_sound/README b/libraries/SDL_sound/README
deleted file mode 100644
index ebd91df6bc..0000000000
--- a/libraries/SDL_sound/README
+++ /dev/null
@@ -1,2 +0,0 @@
-SDL_sound is a library that handles the decoding of several popular
-sound file formats, such as .WAV and .MP3.
diff --git a/libraries/SDL_sound/SDL_sound.SlackBuild b/libraries/SDL_sound/SDL_sound.SlackBuild
deleted file mode 100644
index 3098531f6a..0000000000
--- a/libraries/SDL_sound/SDL_sound.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SDL_sound
-
-# Copyright 2009 Erik W. Hanson, Minneapolis, 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=SDL_sound
-VERSION=${VERSION:-1.0.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.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 \
- --sysconfdir=/etc \
- --disable-static \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG COPYING CREDITS INSTALL 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/libraries/SDL_sound/SDL_sound.info b/libraries/SDL_sound/SDL_sound.info
deleted file mode 100644
index a71fe7caaa..0000000000
--- a/libraries/SDL_sound/SDL_sound.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SDL_sound"
-VERSION="1.0.3"
-HOMEPAGE="http://icculus.org/SDL_sound/"
-DOWNLOAD="http://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz"
-MD5SUM="aa09cd52df85d29bee87a664424c94b5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
diff --git a/libraries/SDL_sound/slack-desc b/libraries/SDL_sound/slack-desc
deleted file mode 100644
index f3e2740c1d..0000000000
--- a/libraries/SDL_sound/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------------------------------------------------------|
-SDL_sound: SDL_sound (a sound library add-on for SDL)
-SDL_sound:
-SDL_sound: SDL_sound is a library that handles the decoding of several popular
-SDL_sound: sound file formats, such as .WAV and .MP3.
-SDL_sound:
-SDL_sound:
-SDL_sound:
-SDL_sound:
-SDL_sound:
-SDL_sound:
-SDL_sound:
diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild
index 4d1707634a..3ef374ec66 100644
--- a/libraries/SFGUI/SFGUI.SlackBuild
+++ b/libraries/SFGUI/SFGUI.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for SFGUI
-# Copyright 2014 klaatu@member.fsf.org
+# Copyright 2014-22 klaatu@member.fsf.org
#
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -9,26 +9,36 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SFGUI
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-d37b377}
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"
@@ -47,28 +57,27 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/$VERSION.zip
+mkdir $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION*.tar.gz --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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 {} \+
+
+sed -i '/#include <SFML\/Window\/Event.hpp>/a #include <limits>' src/SFGUI/ComboBox.cpp
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 ..
-# -DLIB_SUFFIX is ignored. Patch CMakeLists as needed.
- sed -i \
- -e "s:\\\${CMAKE_INSTALL_PREFIX}/lib:&${LIBDIRSUFFIX}:" \
- cmake_install.cmake
-
make
make install DESTDIR=$PKG
cd ..
@@ -79,11 +88,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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 CHANGELOG FONT.LICENSE LICENSE AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md CHANGELOG.md FONT.LICENSE.md LICENSE.md AUTHORS.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/libraries/SFGUI/SFGUI.info b/libraries/SFGUI/SFGUI.info
index 189165e049..938677f688 100644
--- a/libraries/SFGUI/SFGUI.info
+++ b/libraries/SFGUI/SFGUI.info
@@ -1,8 +1,8 @@
PRGNAM="SFGUI"
-VERSION="0.3.0"
+VERSION="d37b377"
HOMEPAGE="https://github.com/TankOs/SFGUI"
-DOWNLOAD="https://github.com/TankOs/SFGUI/archive/0.3.0.zip"
-MD5SUM="9e704175dca7c8632e9f72a321c21e25"
+DOWNLOAD="https://github.com/TankOs/SFGUI/archive/d37b377/SFGUI-d37b377f13bde4f49266745144daf324a4360593.tar.gz"
+MD5SUM="5a4ff4f7be29a2a5f399ccdfa9957427"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SFML"
diff --git a/libraries/SFML/README b/libraries/SFML/README
index ad6e1b0b95..cdc68d1c54 100644
--- a/libraries/SFML/README
+++ b/libraries/SFML/README
@@ -1,4 +1,4 @@
-SFML is a simple, fast, cross-platform and object-oriented multimedia API.
-It provides access to windowing, graphics, audio and network.
-It is written in C++, and has bindings for various languages such as C,
-.Net, Ruby, Python.
+SFML is a simple, fast, cross-platform and object-oriented multimedia
+API. It provides access to windowing, graphics, audio and network.
+It is written in C++, and has bindings for various languages such as
+C, .Net, Ruby, Python.
diff --git a/libraries/SFML/SFML.SlackBuild b/libraries/SFML/SFML.SlackBuild
index 043952bc9e..e993c1fb0a 100644
--- a/libraries/SFML/SFML.SlackBuild
+++ b/libraries/SFML/SFML.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SFML
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# Written by Pawel Standowicz (standek@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=SFML
-VERSION=${VERSION:-2.5.1}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-2.6.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}
@@ -78,6 +88,8 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DSFML_INSTALL_PKGCONFIG_FILES=1 \
+ -DSFML_PKGCONFIG_INSTALL_PREFIX=/usr/lib$LIBDIRSUFFIX/pkgconfig \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -94,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/libraries/SFML/SFML.info b/libraries/SFML/SFML.info
index 47ef79658b..191dac0cee 100644
--- a/libraries/SFML/SFML.info
+++ b/libraries/SFML/SFML.info
@@ -1,10 +1,10 @@
PRGNAM="SFML"
-VERSION="2.5.1"
+VERSION="2.6.1"
HOMEPAGE="https://www.sfml-dev.org/"
-DOWNLOAD="https://www.sfml-dev.org/files/SFML-2.5.1-sources.zip"
-MD5SUM="8533b22888102b4f0883311385fb1c71"
+DOWNLOAD="https://www.sfml-dev.org/files/SFML-2.6.1-sources.zip"
+MD5SUM="7e76196f2e9a0db84e258ff25ed2aff5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/SOPE/SOPE.SlackBuild b/libraries/SOPE/SOPE.SlackBuild
index 89d72cd926..d93d6de8c9 100644
--- a/libraries/SOPE/SOPE.SlackBuild
+++ b/libraries/SOPE/SOPE.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SOPE
@@ -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=SOPE
-VERSION=${VERSION:-4.3.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-5.0.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}
@@ -86,8 +96,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/SOPE/SOPE.info b/libraries/SOPE/SOPE.info
index 281ab5f265..68e1a70f58 100644
--- a/libraries/SOPE/SOPE.info
+++ b/libraries/SOPE/SOPE.info
@@ -1,8 +1,8 @@
PRGNAM="SOPE"
-VERSION="4.3.0"
+VERSION="5.0.1"
HOMEPAGE="https://github.com/inverse-inc/sope"
-DOWNLOAD="https://sogo.nu/files/downloads/SOGo/Sources/SOPE-4.3.0.tar.gz"
-MD5SUM="3e372a08141bda7e7263768433546579"
+DOWNLOAD="https://packages.sogo.nu/sources/SOPE-5.0.1.tar.gz"
+MD5SUM="0458dd8f4be1c50ec8ee5f6ea6f49c13"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gnustep-base"
diff --git a/libraries/SQLObject/README b/libraries/SQLObject/README
index 5b10134c37..934ab281bd 100644
--- a/libraries/SQLObject/README
+++ b/libraries/SQLObject/README
@@ -7,8 +7,6 @@ provides substantial database independence for applications.
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB
(SAPDB).
-docutils is an optional dependency used to build html docs.
-
NOTE: SQLObject checks for supported databases at run time. You can
use the MySQL-python and psycopg2 (MySQL and PostrgreSQL support,
respectively) optional dependencies. For SQLite, SQLObject can
diff --git a/libraries/SQLObject/SQLObject.SlackBuild b/libraries/SQLObject/SQLObject.SlackBuild
index f804ff4125..6027ab0e85 100644
--- a/libraries/SQLObject/SQLObject.SlackBuild
+++ b/libraries/SQLObject/SQLObject.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SQLObject
@@ -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=SQLObject
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}
@@ -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/libraries/SimGear/README b/libraries/SimGear/README
index f5664619a7..ee218c1353 100644
--- a/libraries/SimGear/README
+++ b/libraries/SimGear/README
@@ -1,3 +1,3 @@
-SimGear is a set of open-source libraries designed to be used as building
-blocks for quickly assembling 3d simulations, games, and visualization
-applications.
+SimGear is a set of open-source libraries designed to be used as
+building blocks for quickly assembling 3d simulations, games, and
+visualization applications.
diff --git a/libraries/SimGear/SimGear.SlackBuild b/libraries/SimGear/SimGear.SlackBuild
index 02e0b04b75..485d532e1e 100644
--- a/libraries/SimGear/SimGear.SlackBuild
+++ b/libraries/SimGear/SimGear.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SimGear
# Copyright before version 2016.3.1 by Diego Pantano <poplin.dp@gmail.com>
# Copyright 2016-2018 Panagiotis Nikolaou, Culver City, CA
+# Copyright 2020 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=SimGear
SRCNAM=simgear
-VERSION=${VERSION:-2019.1.2}
+VERSION=${VERSION:-2020.3.19}
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}
@@ -61,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-${VERSION}-rc.tar.?z*
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,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 {} \;
+patch -p1 < $CWD/compositor-pass-missing-array-include.patch
+
mkdir -p build
cd build
cmake \
@@ -88,11 +101,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/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README* Thanks $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/SimGear/SimGear.info b/libraries/SimGear/SimGear.info
index 8e7ee1bced..e1a5d02a29 100644
--- a/libraries/SimGear/SimGear.info
+++ b/libraries/SimGear/SimGear.info
@@ -1,10 +1,10 @@
PRGNAM="SimGear"
-VERSION="2019.1.2"
+VERSION="2020.3.19"
HOMEPAGE="http://wiki.flightgear.org/SimGear"
-DOWNLOAD="https://downloads.sourceforge.net/flightgear/simgear-2019.1.2-rc.tar.bz2"
-MD5SUM="355859dc2b52b4700deb8a9e2a9e5d75"
+DOWNLOAD="https://downloads.sourceforge.net/flightgear/simgear-2020.3.19.tar.bz2"
+MD5SUM="1e799e3ddee8040c0b6f7ec25f95c38c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenSceneGraph freealut plib"
+REQUIRES="OpenSceneGraph plib"
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"
diff --git a/libraries/SimGear/compositor-pass-missing-array-include.patch b/libraries/SimGear/compositor-pass-missing-array-include.patch
new file mode 100644
index 0000000000..5572f5f9e4
--- /dev/null
+++ b/libraries/SimGear/compositor-pass-missing-array-include.patch
@@ -0,0 +1,11 @@
+diff -ur simgear-2020.3.17.orig/simgear/scene/viewer/Compositor.hxx simgear-2020.3.17/simgear/scene/viewer/Compositor.hxx
+--- simgear-2020.3.17.orig/simgear/scene/viewer/Compositor.hxx 2022-11-20 19:01:30.000000000 +0100
++++ simgear-2020.3.17/simgear/scene/viewer/Compositor.hxx 2023-03-10 18:40:59.219808993 +0100
+@@ -17,6 +17,7 @@
+ #ifndef SG_COMPOSITOR_HXX
+ #define SG_COMPOSITOR_HXX
+
++#include <array>
+ #include <unordered_map>
+ #include <vector>
+
diff --git a/libraries/SlowAES/SlowAES.SlackBuild b/libraries/SlowAES/SlowAES.SlackBuild
index 3fc341db7a..b60554ccaa 100644
--- a/libraries/SlowAES/SlowAES.SlackBuild
+++ b/libraries/SlowAES/SlowAES.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SlowAES
@@ -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=SlowAES
SRCNAM=slowaes
VERSION=${VERSION:-0.1a1}
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}
@@ -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/libraries/Smarty/README b/libraries/Smarty/README
index e7ebe18388..85246171b2 100644
--- a/libraries/Smarty/README
+++ b/libraries/Smarty/README
@@ -1,21 +1,22 @@
-Smarty is a template engine for PHP. More specifically, it facilitates a
-manageable way to separate application logic and content from its
-presentation. This is best described in a situation where the application
-programmer and the template designer play different roles, or in most cases
-are not the same person.
+Smarty is a template engine for PHP. More specifically, it facilitates
+a manageable way to separate application logic and content from
+its presentation. This is best described in a situation where the
+application programmer and the template designer play different roles,
+or in most cases are not the same person.
Some of Smarty's features:
* It is extremely fast.
* It is efficient since the PHP parser does the dirty work.
* No template parsing overhead, only compiles once.
-* It is smart about recompiling only the template files that have changed.
-* You can easily create your own custom functions and variable modifiers,
- so the template language is extremely extensible.
+* It is smart about recompiling only the template files that have
+ changed.
+* You can easily create your own custom functions and variable
+ modifiers, so the template language is extremely extensible.
* Configurable template {delimiter} tag syntax, so you can use
{$foo}, {{$foo}}, <!--{$foo}-->, etc.
* The {if}..{elseif}..{else}..{/if} constructs are passed to the PHP
- parser, so the {if...} expression syntax can be as simple or as complex
- an evaluation as you like.
+ parser, so the {if...} expression syntax can be as simple or as
+ complex an evaluation as you like.
* Allows unlimited nesting of sections, if's etc.
* Built-in caching support
* Arbitrary template sources
@@ -26,6 +27,6 @@ Some of Smarty's features:
See the Documentation at http://www.smarty.net/documentation for
instructions on how to configure PHP & Smarty to work together.
-Smarty gets installed under /usr/lib/php/Smarty, so to use it, in standard
-configuration it should be enough to use the following PHP code:
-require_once( 'Smarty/Smarty.class.php' );
+Smarty gets installed under /usr/lib/php/Smarty, so to use it, in
+standard configuration it should be enough to use the following PHP
+code: require_once( 'Smarty/Smarty.class.php' );
diff --git a/libraries/Smarty/Smarty.SlackBuild b/libraries/Smarty/Smarty.SlackBuild
index d5f692ecef..f56db3fd9f 100644
--- a/libraries/Smarty/Smarty.SlackBuild
+++ b/libraries/Smarty/Smarty.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Smarty
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Smarty
VERSION=${VERSION:-3.0.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
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
@@ -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/libraries/VTK/README b/libraries/VTK/README
index d24b76957c..b352886970 100644
--- a/libraries/VTK/README
+++ b/libraries/VTK/README
@@ -1,32 +1,31 @@
-The Visualization Toolkit (VTK) is an open source, freely available software
-system for 3D computer graphics, modeling, image processing, volume rendering,
-scientific visualization and information visualization. VTK also includes
-ancillary support for 3D interaction widgets, two and three-dimensional
-annotation, and parallel computing. At its core VTK is implemented as a C++
-toolkit, requiring users to build applications by combining various objects into
-an application. The system also supports automated wrapping of the C++ core into
-Python, Java and Tcl, so that VTK applications may also be written using these
-interpreted programming languages.
+The Visualization Toolkit (VTK) is an open source, freely
+available software system for 3D computer graphics, modeling,
+image processing, volume rendering, scientific visualization and
+information visualization. VTK also includes ancillary support for
+3D interaction widgets, two and three-dimensional annotation, and
+parallel computing. At its core VTK is implemented as a C++ toolkit,
+requiring users to build applications by combining various objects
+into an application. The system also supports automated wrapping of
+the C++ core into Python, Java and Tcl, so that VTK applications may
+also be written using these interpreted programming languages.
-Since version 8.1.0, VTK requires the qt5 package.
-
-Some optional additional packages, if detected during configuration, are used
-in preference to versions provided in the source code. These packages, available
-from SlackBuilds.org, are:
+Some optional additional packages, if detected during configuration,
+are used in preference to versions provided in the source code. These
+packages, available from SlackBuilds.org, are:
jsoncpp proj
-You can enable a number of optional features by passing variables to the script
-(VAR=yes|no ./VTK.SlackBuild):
+You can enable a number of optional features by passing variables to
+the script (VAR=yes|no ./VTK.SlackBuild):
-IMAGING=yes|no (default: no)
+IMAGING=yes|no (default: yes)
MPI=yes|no (default: no), requires openmpi
TK=yes|no (default: yes)
-VIEWS=yes|no (default: no)
-WEB=yes|no (default: no), requires python-twisted
+VIEWS=yes|no (default: yes)
+WEB=yes|no (default: no), requires python3-twisted
JAVA=yes|no (default: no), requires jdk
PYTHON=yes|no (default: yes)
QT=yes|no (default: yes)
-VTK is an optional dependency for the opencv SlackBuild. However since VTK-8.2.0,
-it is not suitable as an optional dependency for opencv-legacy. The last suitable
-version of VTK for building opencv-legacy is VTK-8.1.2.
+NB. Some combinations of options are known to result in compilation
+errors if the build machine already has VTK installed. Please remove
+any VTK installation before running the SlackBuild.
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild
index e9167ae916..d9f977f554 100644
--- a/libraries/VTK/VTK.SlackBuild
+++ b/libraries/VTK/VTK.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for VTK
# Copyright 2013,2014 Youjie Zhou <jmpopush@gmail.com>
# All rights reserved.
-# Copyright 2016-2019 Christoph Willing, Brisbane Australia
+# Copyright 2016-2023 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,27 +25,33 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=VTK
-VERSION=${VERSION:-8.2.0}
-SHORT_VERSION=${SHORT_VERSION:-8.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-9.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,14 +66,14 @@ fi
# configure VTK features
# (defaults suitable for OpenCASCADE, it's the only SBo package that depends on VTK)
-group_imaging="" ; [ "${IMAGING:-yes}" != "no" ] && group_imaging="-DVTK_Group_Imaging=true"
-group_mpi="" ; [ "${MPI:-no}" != "no" ] && group_mpi="-DVTK_Group_MPI=true"
-group_qt="" ; [ "${QT:-yes}" != "no" ] && group_qt="-DVTK_Group_Qt=true"
-group_tk="" ; [ "${TK:-yes}" != "no" ] && group_tk="-DVTK_Group_Tk=true"
-group_views="" ; [ "${VIEWS:-no}" != "no" ] && group_views="-DVTK_Group_Views=true"
-group_web="" ; [ "${WEB:-no}" != "no" ] && group_web="-DVTK_Group_Web=true"
-wrap_python="" ; [ "${PYTHON:-yes}" != "no" ] && wrap_python="-DVTK_WRAP_PYTHON=true"
+group_imaging="" ; [ "${IMAGING:-yes}" != "no" ] && group_imaging="-DVTK_GROUP_ENABLE_Imaging=YES"
+group_mpi="" ; [ "${MPI:-no}" != "no" ] && group_mpi="-DVTK_GROUP_ENABLE_MPI=YES -DVTK_USE_MPI=yes"
+group_qt="" ; [ "${QT:-yes}" != "no" ] && group_qt="-DVTK_GROUP_ENABLE_Qt=YES"
+group_views="" ; [ "${VIEWS:-yes}" != "no" ] && group_views="-DVTK_GROUP_ENABLE_Views=YES"
+group_web="" ; [ "${WEB:-no}" != "no" ] && group_web="-DVTK_GROUP_ENABLE_Web=YES"
wrap_java="" ; [ "${JAVA:-no}" != "no" ] && wrap_java="-DVTK_WRAP_JAVA=true"
+wrap_python="" ; [ "${PYTHON:-yes}" != "no" ] && wrap_python="-DVTK_WRAP_PYTHON=true"
+python_version="-DVTK_PYTHON_VERSION=3"; [ "${PYTHONVERSION:-3}" == "2" ] && python_version="-DVTK_PYTHON_VERSION=2"
if pkg-config --exists jsoncpp ; then jsoncpp="-DVTK_USE_SYSTEM_JSONCPP:BOOL=ON" ; else jsoncpp="" ; fi
@@ -89,6 +95,10 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+patch -p1 < $CWD/include_limits.patch
+patch -p0 < $CWD/cstdint-for-gcc13.diff
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -96,11 +106,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i '/include <QTextStream>/a #include <QPainterPath>' \
+ Rendering/Qt/vtkQtLabelRenderStrategy.cxx \
+ Rendering/Qt/vtkQtStringToImage.cxx
+
if pkg-config --exists proj ; then
proj="-DVTK_USE_SYSTEM_LIBPROJ:BOOL=ON"
- # proj6 patch courtesy of
- # https://git.archlinux.org/svntogit/community.git/plain/trunk/proj6.patch?h=packages/vtk
- patch -p1 < $CWD/patch-proj6.diff
else
proj=""
fi
@@ -115,24 +126,17 @@ cd build
-DBUILD_SHARED_LIBS=ON \
-DVTK_CUSTOM_LIBRARY_SUFFIX="" \
-DVTK_INSTALL_INCLUDE_DIR:PATH=include/VTK \
+ -DVTK_USE_TK=ON \
+ -DVTK_BUILD_EXAMPLES=ON \
+ -DINSTALL_DOCS=ON \
$group_imaging \
$group_mpi \
$group_qt \
- $group_tk \
$group_views \
$group_web \
- $wrap_python \
$wrap_java \
- -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \
- -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \
- -DVTK_USE_SYSTEM_GLEW:BOOL=ON \
- -DVTK_USE_SYSTEM_JPEG:BOOL=ON \
- -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON \
- -DVTK_USE_SYSTEM_OGG:BOOL=ON \
- -DVTK_USE_SYSTEM_THEORA:BOOL=ON \
- -DVTK_USE_SYSTEM_PNG:BOOL=ON \
- -DVTK_USE_SYSTEM_TIFF:BOOL=ON \
- -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \
+ $wrap_python \
+ $python_version \
$jsoncpp \
$proj \
$gl2ps \
@@ -147,23 +151,25 @@ 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/lib${LIBDIRSUFFIX}/qt
-mv \
- $PKG/usr/plugins/ \
- $PKG/usr/lib${LIBDIRSUFFIX}/qt
+[ -d $PKG/usr/plugins ] && {
+ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt
+ mv \
+ $PKG/usr/plugins/ \
+ $PKG/usr/lib${LIBDIRSUFFIX}/qt
+}
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/licenses
cp -a \
CONTRIBUTING.md Copyright.txt README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
-mv \
- $PKG/usr/share/doc/vtk-$SHORT_VERSION/verdict/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc
+cp -a \
+ $PKG/usr/share/licenses/VTK/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION/licenses/
+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/libraries/VTK/VTK.info b/libraries/VTK/VTK.info
index 49e1afcade..6f49176f4c 100644
--- a/libraries/VTK/VTK.info
+++ b/libraries/VTK/VTK.info
@@ -1,10 +1,10 @@
PRGNAM="VTK"
-VERSION="8.2.0"
+VERSION="9.3.0"
HOMEPAGE="https://www.vtk.org"
-DOWNLOAD="https://www.vtk.org/files/release/8.2/VTK-8.2.0.tar.gz"
-MD5SUM="8af3307da0fc2ef8cafe4a312b821111"
+DOWNLOAD="https://www.vtk.org/files/release/9.3/VTK-9.3.0.tar.gz"
+MD5SUM="8b4dbb0ec85a6c0cf39803b6f891a8f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/libraries/VTK/cstdint-for-gcc13.diff b/libraries/VTK/cstdint-for-gcc13.diff
new file mode 100644
index 0000000000..17cb0796f4
--- /dev/null
+++ b/libraries/VTK/cstdint-for-gcc13.diff
@@ -0,0 +1,10 @@
+--- ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp.orig 2023-02-15 14:03:53.000000000 +1000
++++ ThirdParty/libproj/vtklibproj/src/proj_json_streaming_writer.hpp 2023-06-11 17:42:36.366000000 +1000
+@@ -32,6 +32,7 @@
+ /*! @cond Doxygen_Suppress */
+
+ #include <vector>
++#include <cstdint>
+ #include <string>
+
+ #define CPL_DLL
diff --git a/libraries/VTK/include_limits.patch b/libraries/VTK/include_limits.patch
new file mode 100644
index 0000000000..888dcb9912
--- /dev/null
+++ b/libraries/VTK/include_limits.patch
@@ -0,0 +1,40 @@
+--- ../Common/Core/vtkGenericDataArrayLookupHelper.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Common/Core/vtkGenericDataArrayLookupHelper.h 2021-08-22 22:38:52.682000000 +1000
+@@ -22,6 +22,7 @@
+ #ifndef vtkGenericDataArrayLookupHelper_h
+ #define vtkGenericDataArrayLookupHelper_h
+
++#include <limits>
+ #include "vtkIdList.h"
+ #include <algorithm>
+ #include <cmath>
+--- ../Common/DataModel/vtkPiecewiseFunction.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Common/DataModel/vtkPiecewiseFunction.h 2021-08-22 22:40:08.253000000 +1000
+@@ -37,6 +37,7 @@
+ #ifndef vtkPiecewiseFunction_h
+ #define vtkPiecewiseFunction_h
+
++#include <limits>
+ #include "vtkCommonDataModelModule.h" // For export macro
+ #include "vtkDataObject.h"
+
+--- ../Rendering/Core/vtkColorTransferFunction.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Rendering/Core/vtkColorTransferFunction.h 2021-08-22 22:40:42.364000000 +1000
+@@ -36,6 +36,7 @@
+ #ifndef vtkColorTransferFunction_h
+ #define vtkColorTransferFunction_h
+
++#include <limits>
+ #include "vtkRenderingCoreModule.h" // For export macro
+ #include "vtkScalarsToColors.h"
+
+--- ../Filters/HyperTree/vtkHyperTreeGridThreshold.h.orig 2021-07-03 01:31:21.000000000 +1000
++++ ../Filters/HyperTree/vtkHyperTreeGridThreshold.h 2021-08-22 22:46:16.135000000 +1000
+@@ -40,6 +40,7 @@
+ #ifndef vtkHyperTreeGridThreshold_h
+ #define vtkHyperTreeGridThreshold_h
+
++#include <limits>
+ #include "vtkFiltersHyperTreeModule.h" // For export macro
+ #include "vtkHyperTreeGridAlgorithm.h"
+
diff --git a/libraries/VTK/patch-gdal2.diff b/libraries/VTK/patch-gdal2.diff
deleted file mode 100644
index 36c33ee14c..0000000000
--- a/libraries/VTK/patch-gdal2.diff
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/IO/GDAL/vtkGDALVectorReader.cxx b/IO/GDAL/vtkGDALVectorReader.cxx
-index 86854a0..a0e234a 100644
---- a/IO/GDAL/vtkGDALVectorReader.cxx
-+++ b/IO/GDAL/vtkGDALVectorReader.cxx
-@@ -44,7 +44,7 @@ class vtkGDALVectorReader::Internal
- public:
- Internal( const char* srcName, int srcMode, int appendFeatures, int addFeatIds )
- {
-- this->Source = OGRSFDriverRegistrar::Open( srcName, srcMode, &this->Driver );
-+ this->Source = (GDALDataset*) OGROpen( srcName, srcMode, NULL );
- if ( ! this->Source )
- {
- this->LastError = CPLGetLastErrorMsg();
-@@ -61,7 +61,7 @@ public:
- {
- if ( this->Source )
- {
-- OGRDataSource::DestroyDataSource( this->Source );
-+ GDALClose( (GDALDatasetH) this->Source );
- }
- }
-
-@@ -304,7 +304,7 @@ public:
- return nCells;
- }
-
-- OGRDataSource* Source;
-+ GDALDataset* Source;
- OGRSFDriver* Driver;
- const char* LastError;
- int LayerIdx;
diff --git a/libraries/VTK/patch-proj6.diff b/libraries/VTK/patch-proj6.diff
deleted file mode 100644
index 3ae71acef7..0000000000
--- a/libraries/VTK/patch-proj6.diff
+++ /dev/null
@@ -1,110 +0,0 @@
-diff --git a/Geovis/Core/vtkGeoProjection.cxx b/Geovis/Core/vtkGeoProjection.cxx
-index f3a8852d94..824060348a 100644
---- a/Geovis/Core/vtkGeoProjection.cxx
-+++ b/Geovis/Core/vtkGeoProjection.cxx
-@@ -72,6 +72,7 @@ public:
- }
-
- std::map< std::string, std::string > OptionalParameters;
-+ PJ_PROJ_INFO ProjInfo;
- };
-
- //-----------------------------------------------------------------------------
-@@ -80,7 +83,7 @@ int vtkGeoProjection::GetNumberOfProjections()
- if ( vtkGeoProjectionNumProj < 0 )
- {
- vtkGeoProjectionNumProj = 0;
-- for ( const PJ_LIST* pj = pj_get_list_ref(); pj && pj->id; ++ pj )
-+ for ( const PJ_LIST* pj = proj_list_operations(); pj && pj->id; ++ pj )
- ++ vtkGeoProjectionNumProj;
- }
- return vtkGeoProjectionNumProj;
-@@ -91,7 +94,7 @@ const char* vtkGeoProjection::GetProjectionName( int projection )
- if ( projection < 0 || projection >= vtkGeoProjection::GetNumberOfProjections() )
- return nullptr;
-
-- return pj_get_list_ref()[projection].id;
-+ return proj_list_operations()[projection].id;
- }
- //-----------------------------------------------------------------------------
- const char* vtkGeoProjection::GetProjectionDescription( int projection )
-@@ -99,7 +102,7 @@ const char* vtkGeoProjection::GetProjectionDescription( int projection )
- if ( projection < 0 || projection >= vtkGeoProjection::GetNumberOfProjections() )
- return nullptr;
-
-- return pj_get_list_ref()[projection].descr[0];
-+ return proj_list_operations()[projection].descr[0];
- }
- //-----------------------------------------------------------------------------
- vtkGeoProjection::vtkGeoProjection()
-@@ -144,7 +147,7 @@ void vtkGeoProjection::PrintSelf( ostream& os, vtkIndent indent )
- int vtkGeoProjection::GetIndex()
- {
- int i = 0;
-- for ( const PJ_LIST* proj = pj_get_list_ref(); proj && proj->id; ++ proj, ++ i )
-+ for ( const PJ_LIST* proj = proj_list_operations(); proj && proj->id; ++ proj, ++ i )
- {
- if ( ! strcmp( proj->id, this->Name ) )
- {
-@@ -161,7 +164,7 @@ const char* vtkGeoProjection::GetDescription()
- {
- return nullptr;
- }
-- return this->Projection->descr;
-+ return this->Internals->ProjInfo.description;
- }
- //-----------------------------------------------------------------------------
- projPJ vtkGeoProjection::GetProjection()
-@@ -232,6 +239,7 @@ int vtkGeoProjection::UpdateProjection()
- this->ProjectionMTime = this->GetMTime();
- if ( this->Projection )
- {
-+ this->Internals->ProjInfo = proj_pj_info(this->Projection);
- return 0;
- }
- return 1;
-diff --git a/Geovis/Core/vtkGeoTransform.cxx b/Geovis/Core/vtkGeoTransform.cxx
-index aeeabc1075..b80a8c010c 100644
---- a/Geovis/Core/vtkGeoTransform.cxx
-+++ b/Geovis/Core/vtkGeoTransform.cxx
-@@ -167,9 +167,9 @@ void vtkGeoTransform::InternalTransformPoints( double* x, vtkIdType numPts, int
- double* coord = x;
- for ( vtkIdType i = 0; i < numPts; ++ i )
- {
-- xy.u = coord[0]; xy.v = coord[1];
-+ xy.x = coord[0]; xy.y = coord[1];
- lp = pj_inv( xy, src );
-- coord[0] = lp.u; coord[1] = lp.v;
-+ coord[0] = lp.lam; coord[1] = lp.phi;
- coord += stride;
- }
- }
-@@ -191,9 +199,9 @@ void vtkGeoTransform::InternalTransformPoints( double* x, vtkIdType numPts, int
- double* coord = x;
- for ( vtkIdType i = 0; i < numPts; ++ i )
- {
-- lp.u = coord[0]; lp.v = coord[1];
-+ lp.lam = coord[0]; lp.phi = coord[1];
- xy = pj_fwd( lp, dst );
-- coord[0] = xy.u; coord[1] = xy.v;
-+ coord[0] = xy.x; coord[1] = xy.y;
- coord += stride;
- }
- }
-diff --git a/ThirdParty/libproj/vtk_libproj.h.in b/ThirdParty/libproj/vtk_libproj.h.in
-index d52db07a95..4d8ffc3c5d 100644
---- a/ThirdParty/libproj/vtk_libproj.h.in
-+++ b/ThirdParty/libproj/vtk_libproj.h.in
-@@ -18,7 +18,8 @@
- /* Use the libproj library configured for VTK. */
- #cmakedefine VTK_USE_SYSTEM_LIBPROJ
- #ifdef VTK_USE_SYSTEM_LIBPROJ
--# include <projects.h>
-+# include <proj.h>
-+# define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H 1
- # include <proj_api.h>
- # include <geodesic.h>
- #else
---
-2.21.0
-
diff --git a/libraries/VitaMTP/VitaMTP.SlackBuild b/libraries/VitaMTP/VitaMTP.SlackBuild
index 73f30c6b2e..78e1ca6860 100644
--- a/libraries/VitaMTP/VitaMTP.SlackBuild
+++ b/libraries/VitaMTP/VitaMTP.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for VitaMTP
@@ -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.
+# 20220417 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix broken symlink in doc dir.
+# - remove useless INSTALL from docs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=VitaMTP
VERSION=${VERSION:-2.5.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM="$(printf $PRGNAM | tr '[:upper:]' '[:lower:]')"
@@ -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}
@@ -67,9 +78,9 @@ 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 {} \+
./autogen.sh
@@ -87,21 +98,20 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
install -Dm644 debian/libvitamtp*.udev "$PKG/lib/udev/rules.d/80-psvita.rules"
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a debian/changelog COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/doc/vitamtp-2.5.9/html/ $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$SRCNAM-$VERSION/html/ $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/
+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/libraries/VitaMTP/VitaMTP.info b/libraries/VitaMTP/VitaMTP.info
index 048ea22e17..d8b2128ef1 100644
--- a/libraries/VitaMTP/VitaMTP.info
+++ b/libraries/VitaMTP/VitaMTP.info
@@ -1,7 +1,7 @@
PRGNAM="VitaMTP"
VERSION="2.5.9"
HOMEPAGE="https://github.com/codestation/vitamtp"
-DOWNLOAD="https://github.com/codestation/vitamtp/archive/v2.5.9.tar.gz"
+DOWNLOAD="https://github.com/codestation/vitamtp/archive/v2.5.9/vitamtp-2.5.9.tar.gz"
MD5SUM="fc5c2297edfab5a5ba8e7ad7b7cded81"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/WebOb/WebOb.SlackBuild b/libraries/WebOb/WebOb.SlackBuild
index 3c493e699b..6dc958e407 100644
--- a/libraries/WebOb/WebOb.SlackBuild
+++ b/libraries/WebOb/WebOb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for WebOb
@@ -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=WebOb
VERSION=${VERSION:-1.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"
@@ -78,7 +88,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/libraries/ZConfig/README b/libraries/ZConfig/README
deleted file mode 100644
index 1f572ceab9..0000000000
--- a/libraries/ZConfig/README
+++ /dev/null
@@ -1,3 +0,0 @@
-ZConfig supports a hierarchical schema-driven configuration model
-that allows a schema to specify data conversion routines written in
-Python.
diff --git a/libraries/ZConfig/ZConfig.SlackBuild b/libraries/ZConfig/ZConfig.SlackBuild
deleted file mode 100644
index 0e850c15c6..0000000000
--- a/libraries/ZConfig/ZConfig.SlackBuild
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ZConfig
-
-# Copyright 2013 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=ZConfig
-VERSION=${VERSION:-3.0.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}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-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 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.txt COPYRIGHT.txt 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/libraries/ZConfig/ZConfig.info b/libraries/ZConfig/ZConfig.info
deleted file mode 100644
index 4e0dafee00..0000000000
--- a/libraries/ZConfig/ZConfig.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ZConfig"
-VERSION="3.0.4"
-HOMEPAGE="https://pypi.python.org/pypi/ZConfig"
-DOWNLOAD="https://pypi.python.org/packages/source/Z/ZConfig/ZConfig-3.0.4.tar.gz"
-MD5SUM="32018f77d37f220b6a80aaf311fea63f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
diff --git a/libraries/ZConfig/slack-desc b/libraries/ZConfig/slack-desc
deleted file mode 100644
index 8d9b2831e5..0000000000
--- a/libraries/ZConfig/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------------------------------------------------------|
-ZConfig: ZConfig (Structured Configuration Library)
-ZConfig:
-ZConfig: ZConfig supports a hierarchical schema-driven configuration model
-ZConfig: that allows a schema to specify data conversion routines written in
-ZConfig: Python.
-ZConfig:
-ZConfig:
-ZConfig:
-ZConfig:
-ZConfig:
-ZConfig:
diff --git a/libraries/ZODB3/README b/libraries/ZODB3/README
deleted file mode 100644
index e059a0b9e5..0000000000
--- a/libraries/ZODB3/README
+++ /dev/null
@@ -1,5 +0,0 @@
-The Zope Object Database provides an object-oriented database for
-Python that provides a high-degree of transparency. Applications
-can take advantage of object database features with few, if any,
-changes to application logic. ZODB includes features such as a
-plugable storage interface, rich transaction support, and undo.
diff --git a/libraries/ZODB3/ZODB3.SlackBuild b/libraries/ZODB3/ZODB3.SlackBuild
deleted file mode 100644
index db519eb171..0000000000
--- a/libraries/ZODB3/ZODB3.SlackBuild
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ZODB3
-
-# Copyright 2012 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=ZODB3
-VERSION=${VERSION:-3.11.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}
-
-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
-
-find $PKG -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.txt CHANGES.txt HISTORY.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/libraries/ZODB3/ZODB3.info b/libraries/ZODB3/ZODB3.info
deleted file mode 100644
index 9be55afaee..0000000000
--- a/libraries/ZODB3/ZODB3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ZODB3"
-VERSION="3.11.0"
-HOMEPAGE="https://pypi.python.org/pypi/ZODB3/"
-DOWNLOAD="https://pypi.python.org/packages/source/Z/ZODB3/ZODB3-3.11.0.tar.gz"
-MD5SUM="21975c1609296e7834e8cf4025af3039"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python-transaction zdaemon zope.event zope.proxy"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
diff --git a/libraries/ZODB3/slack-desc b/libraries/ZODB3/slack-desc
deleted file mode 100644
index 8e4562f31c..0000000000
--- a/libraries/ZODB3/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------------------------------------------------------|
-ZODB3: ZODB3 (Zope Object Database)
-ZODB3:
-ZODB3: The Zope Object Database provides an object-oriented database for
-ZODB3: Python that provides a high-degree of transparency. Applications
-ZODB3: can take advantage of object database features with few, if any,
-ZODB3: changes to application logic. ZODB includes features such as a
-ZODB3: plugable storage interface, rich transaction support, and undo.
-ZODB3:
-ZODB3:
-ZODB3:
-ZODB3:
diff --git a/libraries/activemq-cpp/README b/libraries/activemq-cpp/README
index 4c80fa4349..28335130eb 100644
--- a/libraries/activemq-cpp/README
+++ b/libraries/activemq-cpp/README
@@ -1,4 +1,2 @@
ActiveMQ CPP is a messaging library that can use multiple protocols to
talk to a MOM (e.g. ActiveMQ).
-
-
diff --git a/libraries/activemq-cpp/activemq-cpp.SlackBuild b/libraries/activemq-cpp/activemq-cpp.SlackBuild
index 9e1ce523fd..6b59fccaef 100644
--- a/libraries/activemq-cpp/activemq-cpp.SlackBuild
+++ b/libraries/activemq-cpp/activemq-cpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for activemq-cpp
@@ -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:
+# - fix doc permissions.
+# - get rid of static library.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=activemq-cpp
-VERSION=${VERSION:-3.9.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.9.5}
+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,9 @@ cd $PRGNAM-library-$VERSION
chown -R root: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" \
@@ -78,20 +89,23 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+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 -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/usr/doc/$PRGNAM-$VERSION
+install -m0644 *.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/libraries/activemq-cpp/activemq-cpp.info b/libraries/activemq-cpp/activemq-cpp.info
index 0186e04ad0..1697a6659c 100644
--- a/libraries/activemq-cpp/activemq-cpp.info
+++ b/libraries/activemq-cpp/activemq-cpp.info
@@ -1,8 +1,8 @@
PRGNAM="activemq-cpp"
-VERSION="3.9.1"
+VERSION="3.9.5"
HOMEPAGE="http://activemq.apache.org/cms/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/activemq-cpp-library-3.9.1-src.tar.gz"
-MD5SUM="be7baa131959a2a74a7d974eb94420da"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/activemq-cpp-library-3.9.5-src.tar.gz"
+MD5SUM="c758cc8f36505a48680d454e376f4203"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/adns/README b/libraries/adns/README
index ceaa641cbe..08130226d0 100644
--- a/libraries/adns/README
+++ b/libraries/adns/README
@@ -4,4 +4,5 @@ concurrent calls. The package also includes several command-line
utilities for use in scripts.
The library is written by Ian Jackson and is an official GNU
-package.
+package. It's homepage is http://www.chiark.greenend.org.uk/~ian/adns
+and http://www.gnu.org/software/adns.
diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild
index 1664e0031d..0170604b05 100644
--- a/libraries/adns/adns.SlackBuild
+++ b/libraries/adns/adns.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ADNS
-# Copyright 2018 Sergey Poznyakoff, <gray@gnu.org>
+# Copyright 2018-2020 Sergey Poznyakoff, <gray@gnu.org>
# 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.
+# 20220407 bkw: Modified by SlackBuilds.org, BUILD=4: strip binaries.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adns
-VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.6.0}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -65,11 +74,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 {} \;
-
-zcat $CWD/destdir.patch.gz | patch -p1
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,17 +88,28 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-shared \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+find $PKG -name \*\.a -type f -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/doc/$PRGNAM-$VERSION
-cp -a COPYING GPL-vs-LGPL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING GPL-vs-LGPL 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/libraries/adns/adns.info b/libraries/adns/adns.info
index 6a64158678..b9db6c6b5e 100644
--- a/libraries/adns/adns.info
+++ b/libraries/adns/adns.info
@@ -1,8 +1,8 @@
PRGNAM="adns"
-VERSION="1.5.1"
+VERSION="1.6.0"
HOMEPAGE="http://www.gnu.org/software/adns"
-DOWNLOAD="http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.5.1.tar.gz"
-MD5SUM="8b6274d314af0de1a00cf3ef49f6dd56"
+DOWNLOAD="http://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.0.tar.gz"
+MD5SUM="b01ba30e4b486d523059bb02ad1441f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/adns/destdir.patch.gz b/libraries/adns/destdir.patch.gz
deleted file mode 100644
index 98bd22ad4e..0000000000
--- a/libraries/adns/destdir.patch.gz
+++ /dev/null
Binary files differ
diff --git a/libraries/adns/slack-desc b/libraries/adns/slack-desc
index c45b2be613..6307d33542 100644
--- a/libraries/adns/slack-desc
+++ b/libraries/adns/slack-desc
@@ -1,12 +1,12 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make 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------------------------------------------------------|
-adns: adns (C library)
+adns: adns (asynchronous DNS client library and utilities)
adns:
adns: GNU adns is a C library that provides easy-to-use DNS resolution
adns: functionality. The library is asynchronous, allowing several
diff --git a/libraries/adodb/README b/libraries/adodb/README
index e00555f36f..3a7590024f 100644
--- a/libraries/adodb/README
+++ b/libraries/adodb/README
@@ -1,7 +1,7 @@
ADOdb is a database abstraction library for PHP. It supports MySQL,
-PostgreSQL, Interbase, Firebird, Informix, Oracle, MS SQL, Foxpro, Access,
-ADO, Sybase, FrontBase, DB2, SAP DB, SQLite, Netezza, LDAP, and generic
-ODBC, ODBTP.
+PostgreSQL, Interbase, Firebird, Informix, Oracle, MS SQL, Foxpro,
+Access, ADO, Sybase, FrontBase, DB2, SAP DB, SQLite, Netezza, LDAP,
+and generic ODBC, ODBTP.
This SlackBuild uses the following defaults:
* DOCROOT=/var/www/htdocs
diff --git a/libraries/adodb/adodb.SlackBuild b/libraries/adodb/adodb.SlackBuild
index 5522f93a2c..e55570afdf 100644
--- a/libraries/adodb/adodb.SlackBuild
+++ b/libraries/adodb/adodb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for adodb:
# PHP database abstraction library
@@ -6,11 +6,14 @@
# Written by Niels Horn <niels.horn@gmail.com>
# revision date 2010/09/19
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adodb
VERSION=${VERSION:-5.14}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCMAJOR=$(echo $VERSION | cut -d. -f1)
SRCMINOR=$(echo $VERSION | cut -d. -f2)
@@ -20,7 +23,14 @@ DOCROOT=${DOCROOT:-/var/www/htdocs}
PHPUSER=${PHPUSER:-root}
PHPGROUP=${PHPGROUP:-apache}
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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,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/libraries/afflib/afflib.SlackBuild b/libraries/afflib/afflib.SlackBuild
index 8e74ea4dcd..76c680f20d 100644
--- a/libraries/afflib/afflib.SlackBuild
+++ b/libraries/afflib/afflib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for afflib
@@ -21,14 +21,20 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# 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:
+# - strip pyaff.so.
+#
+# Updated: v3.7.20 July 2023 Barry J. Grundy <bgrundy(at)linuxleo.com>
-# Updated: v3.7.7 August of 2016 by Barry J. Grundy <bgrundy(at)linuxleo.com>
+cd $(dirname $0) ; CWD=$(pwd)
-SRCNAM=AFFLIBv3
PRGNAM=afflib
-VERSION=${VERSION:-3.7.7}
+SRCNAM=AFFLIBv3
+VERSION=${VERSION:-3.7.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -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-$VERSION
chown -R root: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" \
@@ -87,19 +97,21 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux \
LIBS=-lncurses
-
make
make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/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
+# 20220408 bkw: install-strip missed this one:
+strip $PKG/usr/lib*/python*/site-packages/*.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ra AUTHORS BUGLIST.txt ChangeLog COPYING INSTALL NEWS README* doc/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog COPYING README doc/ $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/libraries/afflib/afflib.info b/libraries/afflib/afflib.info
index 6a3ac46f4c..f56e9e7443 100644
--- a/libraries/afflib/afflib.info
+++ b/libraries/afflib/afflib.info
@@ -1,8 +1,8 @@
PRGNAM="afflib"
-VERSION="3.7.7"
+VERSION="3.7.20"
HOMEPAGE="https://github.com/sshock/AFFLIBv3"
-DOWNLOAD="https://github.com/sshock/AFFLIBv3/archive/v3.7.7/AFFLIBv3-3.7.7.tar.gz"
-MD5SUM="a35ef9a443225fcbe99f7ad61fadb33b"
+DOWNLOAD="https://github.com/sshock/AFFLIBv3/archive/v3.7.20/AFFLIBv3-3.7.20.tar.gz"
+MD5SUM="4e8e82bafa74c076fc5b2f73e582da7e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/agar/463ea0a-sdl_hint_mouse_auto_capture.diff b/libraries/agar/463ea0a-sdl_hint_mouse_auto_capture.diff
new file mode 100644
index 0000000000..8d84249a2e
--- /dev/null
+++ b/libraries/agar/463ea0a-sdl_hint_mouse_auto_capture.diff
@@ -0,0 +1,33 @@
+diff --git a/gui/drv_sdl2mw.c b/gui/drv_sdl2mw.c
+index a196e1e4e..ddf89d537 100644
+--- a/gui/drv_sdl2mw.c
++++ b/gui/drv_sdl2mw.c
+@@ -150,10 +150,11 @@ SDL2MW_Open(void *_Nonnull obj, const char *_Nullable spec)
+ drv->flags |= AG_DRIVER_WINDOW_BG;
+
+ if (nDrivers == 0) { /* Root driver instance */
++#ifdef SDL_HINT_MOUSE_AUTO_CAPTURE
+ if (AG_Defined(drv, "noAutoCapture") &&
+ AG_GetInt(drv, "noAutoCapture"))
+ SDL_SetHint(SDL_HINT_MOUSE_AUTO_CAPTURE, "0");
+-
++#endif
+ /* Enable the joystick subsystem if requested. */
+ if (AG_Defined(drv, "ctrl")) {
+ Uint32 sdlFlags = SDL_INIT_GAMECONTROLLER;
+@@ -753,6 +754,7 @@ SDL2MW_SetWindowMaxSize(AG_Window *_Nonnull win, int w, int h)
+ static void
+ SDL2MW_SetMouseAutoCapture(void *_Nonnull obj, int state)
+ {
++#ifdef SDL_HINT_MOUSE_AUTO_CAPTURE
+ if (state == 0) {
+ SDL_SetHint(SDL_HINT_MOUSE_AUTO_CAPTURE, "0");
+ } else if (state == -1) {
+@@ -760,6 +762,7 @@ SDL2MW_SetMouseAutoCapture(void *_Nonnull obj, int state)
+ } else {
+ SDL_SetHint(SDL_HINT_MOUSE_AUTO_CAPTURE, "1");
+ }
++#endif
+ }
+
+ #if defined(AG_WIDGETS) && defined(AG_DEBUG)
diff --git a/libraries/agar/README b/libraries/agar/README
new file mode 100644
index 0000000000..1f181c1770
--- /dev/null
+++ b/libraries/agar/README
@@ -0,0 +1,8 @@
+agar (GUI toolkit)
+
+agar is an open source GUI toolkit, a set of software libraries for
+building graphical user interfaces. It works with a wide variety
+of platforms and graphics systems, from modern desktops to classic
+consoles and embedded devices. Its low-level layers are modular,
+extensible and easily ported to new hardware platforms and graphics
+systems.
diff --git a/libraries/agar/agar.SlackBuild b/libraries/agar/agar.SlackBuild
new file mode 100644
index 0000000000..70765b4836
--- /dev/null
+++ b/libraries/agar/agar.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for agar
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Notes: This thing chooses to build itself with clang rather than
+# gcc. Unless that actually causes a problem, I'm not overriding it.
+# If you really want to build with gcc, use: export CC=gcc
+
+# 20230626 bkw: BUILD=2, install shared libs +x
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=agar
+SRCNAM=libagar
+VERSION=${VERSION:-1.7.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"
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# patch from upstream git, dike out some code that requires a newer
+# sdl2 than we have on 15.0 (needs 2.0.22, we have 2.0.20).
+patch -p1 < $CWD/463ea0a-sdl_hint_mouse_auto_capture.diff
+
+# 'make install' is slightly broken, this directory must already
+# exist:
+mkdir -p $PKG/usr/bin
+
+# prevent 'make install' from running ldconfig multiple times (or at all).
+sed -i 's,/sbin/ldconfig;,/bin/true;,' mk/build.lib.mk
+
+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 -j1 install DESTDIR=$PKG # yes, the -j1 is needed.
+
+chmod +x $PKG/usr/lib*/*.so.*.*.*
+strip $PKG/usr/lib*/*.so.*.*.* # no 'make install-strip'.
+
+# since we couldn't stop static libs from being installed, delete them here,
+# along with useless .la files.
+rm -f $PKG/usr/lib*/*.{a,la}
+
+if [ "$LIBDIRSUFFIX" = "64" ]; then
+ # fix the pkg-config stuff...
+ mv $PKG/usr/lib/pkgconfig $PKG/usr/lib64/pkgconfig
+ rmdir $PKG/usr/lib
+ sed -i '/^libdir/s,/lib,/lib64,g' $PKG/usr/lib64/pkgconfig/*.pc
+fi
+
+# it creates all the man subdirs, even though it uses only one of them.
+find $PKG/usr/man -type d -a -empty | xargs rmdir
+gzip -9 $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+rm -f INSTALL.md
+mkdir -p $PKGDOC
+cp -a LICENSE* OFL.txt *.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/libraries/agar/agar.info b/libraries/agar/agar.info
new file mode 100644
index 0000000000..bf7812ab86
--- /dev/null
+++ b/libraries/agar/agar.info
@@ -0,0 +1,10 @@
+PRGNAM="agar"
+VERSION="1.7.0"
+HOMEPAGE="https://github.com/JulNadeauCA/libagar"
+DOWNLOAD="https://github.com/JulNadeauCA/libagar/archive/v1.7.0/libagar-1.7.0.tar.gz"
+MD5SUM="688fd6311c1ebcc239efe917b17c1836"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/agar/slack-desc b/libraries/agar/slack-desc
new file mode 100644
index 0000000000..37b16ef883
--- /dev/null
+++ b/libraries/agar/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------------------------------------------------------|
+agar: agar (GUI toolkit)
+agar:
+agar: agar is an open source GUI toolkit, a set of software libraries for
+agar: building graphical user interfaces. It works with a wide variety
+agar: of platforms and graphics systems, from modern desktops to classic
+agar: consoles and embedded devices. Its low-level layers are modular,
+agar: extensible and easily ported to new hardware platforms and graphics
+agar: systems.
+agar:
+agar:
+agar:
diff --git a/libraries/agg/README b/libraries/agg/README
index 0938e7ed03..6aaadcf660 100644
--- a/libraries/agg/README
+++ b/libraries/agg/README
@@ -1,11 +1,16 @@
-Anti-Grain Geometry (AGG) is an Open Source, free of charge graphic
-library, written in industrially standard C++. The terms and conditions
-of use AGG are described on The License page. AGG doesn't depend on any
-graphic API or technology. Basically, you can think of AGG as of a
-rendering engine that produces pixel images in memory from some vectorial
-data. But of course, AGG can do much more than that. The ideas and the
-philosophy of AGG are:
-* Anti-Aliasing * Subpixel Accuracy * The highest possible quality
-* High performance * Platform independence and compatibility
-* Flexibility and extensibility * Lightweight design
+Anti-Grain Geometry (AGG) is an Open Source, free of charge
+graphic library, written in industrially standard C++. The terms and
+conditions of use AGG are described on The License page. AGG doesn't
+depend on any graphic API or technology. Basically, you can think of
+AGG as of a rendering engine that produces pixel images in memory
+from some vectorial data. But of course, AGG can do much more than
+that. The ideas and the philosophy of AGG are:
+
+* Anti-Aliasing
+* Subpixel Accuracy
+* The highest possible quality
+* High performance
+* Platform independence and compatibility
+* Flexibility and extensibility
+* Lightweight design
* Reliability and stability (including numerical stability)
diff --git a/libraries/agg/agg.SlackBuild b/libraries/agg/agg.SlackBuild
index 02a9477479..8e5fb52583 100644
--- a/libraries/agg/agg.SlackBuild
+++ b/libraries/agg/agg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Anti-Grain Geometry
@@ -8,26 +8,36 @@
# Granted WTFPLv2, as published by Sam Hocevar dec'04.
# For details see http://sam.zoy.org/wtfpl/COPYING
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=agg
VERSION=${VERSION:-2.5}
-BUILD=${BUILD:-3}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --disable-examples \
--disable-static \
--build=$ARCH-slackware-linux
@@ -88,8 +99,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/agg/patches/0016-bad-const.patch b/libraries/agg/patches/0016-bad-const.patch
new file mode 100644
index 0000000000..045e77ba13
--- /dev/null
+++ b/libraries/agg/patches/0016-bad-const.patch
@@ -0,0 +1,12 @@
+diff -u -r agg-2.5/include/agg_renderer_outline_aa.h agg-2.5-const/include/agg_renderer_outline_aa.h
+--- agg-2.5/include/agg_renderer_outline_aa.h 2006-10-09 06:07:08.000000000 +0200
++++ agg-2.5-const/include/agg_renderer_outline_aa.h 2018-06-16 23:09:16.500057814 +0200
+@@ -1375,7 +1375,7 @@
+ //---------------------------------------------------------------------
+ void profile(const line_profile_aa& prof) { m_profile = &prof; }
+ const line_profile_aa& profile() const { return *m_profile; }
+- line_profile_aa& profile() { return *m_profile; }
++ line_profile_aa& profile() { return *const_cast<line_profile_aa*>(m_profile); }
+
+ //---------------------------------------------------------------------
+ int subpixel_width() const { return m_profile->subpixel_width(); }
diff --git a/libraries/alglib/alglib.SlackBuild b/libraries/alglib/alglib.SlackBuild
index 7255ccd8f6..3e284f9f79 100644
--- a/libraries/alglib/alglib.SlackBuild
+++ b/libraries/alglib/alglib.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for alglib
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,26 +25,36 @@
# With help from Arch: http://aur.archlinux.org/packages/al/alglib/PKGBUILD
# PKGBUILD contributor is Carlo Casta. Thank you!
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=alglib
VERSION=${VERSION:-2.6.0}
-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"
@@ -69,10 +79,10 @@ unzip $CWD/alglib-2.6.0.cpp.zip
cd 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 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 {} \;
# build static lib
cd src
@@ -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/libraries/allegro/README b/libraries/allegro/README
index 920768e002..7409d02ada 100644
--- a/libraries/allegro/README
+++ b/libraries/allegro/README
@@ -1,8 +1,10 @@
-The Allegro library provides C/C++ programmers low level routines commonly
-needed in game programming, such as input, graphics, midi, sound effects, and
-timing. It is cross platform and works with many different compilers.
-Originally developed by Shawn Hargreaves, it is now a group project with
-contributions from all over the world! Some of its key features include:
+The Allegro library provides C/C++ programmers low level routines
+commonly needed in game programming, such as input, graphics, midi,
+sound effects, and timing. It is cross platform and works with many
+different compilers. Originally developed by Shawn Hargreaves, it is
+now a group project with contributions from all over the world! Some
+of its key features include:
+
* Ease of Use - comes with comprehensive documentation and examples
* Extensibility - if the built-in functionality isn't enough, there
are many add-ons available
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index 7c4ca6c4df..4201cdc093 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for allegro
# Yth | Pont-en-Royans, France | yth@ythogtha.org
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
@@ -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=allegro
SRCNAM=allegro5
-VERSION=${VERSION:-5.2.6.0}
+VERSION=${VERSION:-5.2.9.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}
@@ -53,6 +63,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -85,6 +98,12 @@ cd build
make install DESTDIR=$PKG
cd ..
+# Better handling of /usr/lib${LIBDIRSUFFIX}
+[ ! -d "$PKG/usr/lib${LIBDIRSUFFIX}/cmake" ] && mv $PKG/usr/lib*/cmake $PKG/usr/lib${LIBDIRSUFFIX}/cmake
+[ ! -d "$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig" ] && mv $PKG/usr/lib*/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+# At least for x86_64 libs are copied into both usr/lib/ and usr/lib64/
+rm -rf $(ls -d $PKG/usr/lib* | grep -v "usr/lib${LIBDIRSUFFIX}") | true
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -96,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/libraries/allegro/allegro.info b/libraries/allegro/allegro.info
index da048b802b..22b3540386 100644
--- a/libraries/allegro/allegro.info
+++ b/libraries/allegro/allegro.info
@@ -1,8 +1,8 @@
PRGNAM="allegro"
-VERSION="5.2.6.0"
+VERSION="5.2.9.1"
HOMEPAGE="https://liballeg.org/"
-DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.6.0/allegro5-5.2.6.0.tar.gz"
-MD5SUM="ba218861ee98ee855213af3f602a6049"
+DOWNLOAD="https://github.com/liballeg/allegro5/archive/5.2.9.1/allegro5-5.2.9.1.tar.gz"
+MD5SUM="94b189f2b138891b5f068e9a0915b5eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/allegro4/README b/libraries/allegro4/README
index e7c062bd94..c5269dfcb4 100644
--- a/libraries/allegro4/README
+++ b/libraries/allegro4/README
@@ -1,8 +1,12 @@
-The Allegro library provides C/C++ programmers low level routines commonly
-needed in game programming, such as input, graphics, midi, sound effects, and
-timing. It is cross platform and works with many different compilers.
-Originally developed by Shawn Hargreaves, it is now a group project with
-contributions from all over the world! Some of its key features include:
+allegro4 (game programming library)
+
+The Allegro library provides C/C++ programmers low level routines
+commonly needed in game programming, such as input, graphics, MIDI,
+sound effects, and timing. It is cross platform and works with many
+different compilers. Originally developed by Shawn Hargreaves, it is
+now a group project with contributions from all over the world! Some
+of its key features include:
+
* Ease of Use - comes with comprehensive documentation and examples
* Extensibility - if the built-in functionality isn't enough, there
are many add-ons available
@@ -12,7 +16,3 @@ contributions from all over the world! Some of its key features include:
* Open Source - anyone can contribute, including you!
* Free - it won't cost you a dime, and there are no restrictions on
its usage
-
-Allegro 4 can make use of sound patches like 'eawpats' for MIDI playback.
-If 'eawpats' is installed first then this SlackBuild will create a
-patches.dat from it.
diff --git a/libraries/allegro4/allegro4.SlackBuild b/libraries/allegro4/allegro4.SlackBuild
index 27a3b21428..d237453a3c 100644
--- a/libraries/allegro4/allegro4.SlackBuild
+++ b/libraries/allegro4/allegro4.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for allegro
#
@@ -24,17 +24,31 @@
# Updated by Peter Wang
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
+
+# 20230627 bkw: BUILD=4
+# - fix doinst.sh, add douninst.sh to handle /usr/info/dir.
+# - minor nitpick: midi => MIDI in README and slack-desc.
+
+# 20220402 bkw: BUILD=3
+# - install docs in correct dir (PRGNAM, not SRCNAM).
+
+# 20211019 bkw: BUILD=2
+# - make eawpats a hard dep.
+# - reflow README.
# 20180108 bkw:
# - Take over maintenance.
# - i486 => i586.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=allegro4
SRCNAM=allegro
-VERSION=${VERSION:-4.4.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.4.3.1}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +58,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,13 +90,11 @@ 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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
patch -p1 < $CWD/build-dir.diff
+patch -p1 < $CWD/texinfo-6.7.patch
mkdir -p build
cd build
@@ -89,12 +105,9 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
- make install DESTDIR=$PKG
+ make install/strip 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/share/allegro
cp language.dat keyboard.dat $PKG/usr/share/allegro
mkdir -p $PKG/etc
@@ -110,13 +123,13 @@ if [ -e /usr/share/sounds/eawpats/default.cfg ]; then
$PKG/usr/share/$SRCNAM/patches.dat
fi
-mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
-cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$SRCNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$SRCNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/doc/$SRCNAM-* $PKG/usr/doc/$PRGNAM-$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
+cat $CWD/douninst.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/libraries/allegro4/allegro4.info b/libraries/allegro4/allegro4.info
index ebe3d3df24..c590c1645a 100644
--- a/libraries/allegro4/allegro4.info
+++ b/libraries/allegro4/allegro4.info
@@ -1,10 +1,10 @@
PRGNAM="allegro4"
-VERSION="4.4.2"
+VERSION="4.4.3.1"
HOMEPAGE="https://www.allegro.cc/"
-DOWNLOAD="https://downloads.sourceforge.net/alleg/allegro-4.4.2.tar.gz"
-MD5SUM="4db71b0460fc99926ae91d223199c2e6"
+DOWNLOAD="https://github.com/liballeg/allegro5/releases/download/4.4.3.1/allegro-4.4.3.1.tar.gz"
+MD5SUM="d0435da87d4c157ad3620e1cc58b807e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="eawpats"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/allegro4/doinst.sh b/libraries/allegro4/doinst.sh
index 5e444b85f3..9ee3f5d3d9 100644
--- a/libraries/allegro4/doinst.sh
+++ b/libraries/allegro4/doinst.sh
@@ -1,14 +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...
}
config etc/allegro.cfg.new
+
+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/libraries/allegro4/douninst.sh b/libraries/allegro4/douninst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/libraries/allegro4/douninst.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/libraries/allegro4/slack-desc b/libraries/allegro4/slack-desc
index 811f43af8d..3fe5e9e887 100644
--- a/libraries/allegro4/slack-desc
+++ b/libraries/allegro4/slack-desc
@@ -9,7 +9,7 @@
allegro4: allegro4 (game programming library)
allegro4:
allegro4: The Allegro library provides C/C++ programmers low level routines
-allegro4: commonly needed in game programing, such as input, graphics, midi,
+allegro4: commonly needed in game programing, such as input, graphics, MIDI,
allegro4: sound effects, and timing.
allegro4:
allegro4: http://www.allegro.cc/
diff --git a/libraries/allegro4/texinfo-6.7.patch b/libraries/allegro4/texinfo-6.7.patch
new file mode 100644
index 0000000000..23f3dc83d9
--- /dev/null
+++ b/libraries/allegro4/texinfo-6.7.patch
@@ -0,0 +1,10 @@
+--- a/docs/src/allegro._tx 2020-12-24 17:20:47.460212662 -0600
++++ a/docs/src/allegro._tx 2020-12-24 17:22:03.453620793 -0600
+@@ -23,6 +23,7 @@
+ @man_shortdesc_force1=allegro
+ @man_shortdesc_force2=Allegro game programming library.
+ @$\input texinfo
++@$@documentencoding ISO-8859-1
+ @$@setfilename allegro.inf
+ @$@settitle Allegro Manual
+ @$@setchapternewpage odd
diff --git a/libraries/alure/README b/libraries/alure/README
index ae9169a5fe..a424bd2c3f 100644
--- a/libraries/alure/README
+++ b/libraries/alure/README
@@ -6,4 +6,4 @@ file loading, and streaming. As of version 1.1, it is X11/MIT licensed,
allowing it to be used in open- and closed-source programs, freeware
or commercial.
-Optional dependencies: fluidsynth and libmodplug
+Optional dependency: libmodplug
diff --git a/libraries/alure/alure.SlackBuild b/libraries/alure/alure.SlackBuild
index e80a7436f9..e3823d7ca6 100644
--- a/libraries/alure/alure.SlackBuild
+++ b/libraries/alure/alure.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for alure
@@ -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.
+# 20220402 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - get rid of empty /usr/share/doc.
+
+# 20220217 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix build on 15.0.
+# - install docs to correct directory.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=alure
VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
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}
@@ -60,41 +74,43 @@ 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".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 {} \+
# Patch to fix build issue when fluidsynth is present
patch -p1 < $CWD/alure.patch
+# newer cmake patch
+zcat $CWD/cmake_patch.diff.gz | patch -p1
+
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DBUILD_STATIC=OFF \
-DCMAKE_BUILD_TYPE=Release ..
+ find -name build.make | xargs sed -e 's|\;| |g' -i
make
- make install DESTDIR=$PKG
+ make install/strip 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
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share # 20220402 bkw: nothing but doc/ here
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
-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/libraries/alure/alure.info b/libraries/alure/alure.info
index dcd63e1cd6..e869bfc88e 100644
--- a/libraries/alure/alure.info
+++ b/libraries/alure/alure.info
@@ -1,10 +1,10 @@
PRGNAM="alure"
VERSION="1.2"
-HOMEPAGE="https://kcat.strangesoft.net/alure.html"
-DOWNLOAD="https://kcat.strangesoft.net/alure-releases/alure-1.2.tar.bz2"
+HOMEPAGE="https://github.com/kcat/alure"
+DOWNLOAD="http://deb.debian.org/debian/pool/main/a/alure/alure_1.2.orig.tar.bz2"
MD5SUM="3088aba074ad02d95ea51e705053b9f5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/alure/cmake_patch.diff.gz b/libraries/alure/cmake_patch.diff.gz
new file mode 100644
index 0000000000..b701a5c44c
--- /dev/null
+++ b/libraries/alure/cmake_patch.diff.gz
Binary files differ
diff --git a/libraries/alure/doinst.sh b/libraries/alure/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/alure/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/libraries/alure/slack-desc b/libraries/alure/slack-desc
index 1134af82db..1005b0dcbc 100644
--- a/libraries/alure/slack-desc
+++ b/libraries/alure/slack-desc
@@ -14,6 +14,6 @@ alure: file loading, and streaming. As of version 1.1, it is X11/MIT
alure: licensed, allowing it to be used in open- and closed-source
alure: programs, freeware or commercial.
alure:
-alure: Homepage: https://kcat.strangesoft.net/alure.html
+alure: Homepage: https://github.com/kcat/alure
alure:
alure:
diff --git a/libraries/ant-contrib/ant-contrib.SlackBuild b/libraries/ant-contrib/ant-contrib.SlackBuild
index 156e7c8a32..5991b22c7e 100644
--- a/libraries/ant-contrib/ant-contrib.SlackBuild
+++ b/libraries/ant-contrib/ant-contrib.SlackBuild
@@ -1,24 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ant-contrib
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ant-contrib
VERSION=${VERSION:-0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ANT_HOME=${ANT_HOME:-/usr/share/ant}
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}
@@ -48,4 +58,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/antlr4/README b/libraries/antlr4/README
index 8bc50fbedf..4761bb203c 100644
--- a/libraries/antlr4/README
+++ b/libraries/antlr4/README
@@ -1,6 +1,10 @@
-ANTLR, ANother Tool for Language Recognition, is a language tool that provides
-a framework for constructing recognizers, interpreters, compilers, and
-translators from grammatical descriptions containing actions in a variety of
-target languages.
+ANTLR, ANother Tool for Language Recognition, is a language tool
+that provides a framework for constructing recognizers, interpreters,
+compilers, and translators from grammatical descriptions containing
+actions in a variety of target languages.
This package contains the C++ runtime library only.
+
+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/libraries/antlr4/antlr4.SlackBuild b/libraries/antlr4/antlr4.SlackBuild
index ce78f9db65..8adfa04eaa 100644
--- a/libraries/antlr4/antlr4.SlackBuild
+++ b/libraries/antlr4/antlr4.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for antlr4
-# Copyright 2019-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2019-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=antlr4
-VERSION=${VERSION:-4.8}
+VERSION=${VERSION:-4.13.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}
@@ -82,10 +89,6 @@ cd build
make install DESTDIR=$PKG
cd ..
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
-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
@@ -98,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/libraries/antlr4/antlr4.info b/libraries/antlr4/antlr4.info
index dbaf7a3a26..a8e0b086d3 100644
--- a/libraries/antlr4/antlr4.info
+++ b/libraries/antlr4/antlr4.info
@@ -1,10 +1,10 @@
PRGNAM="antlr4"
-VERSION="4.8"
+VERSION="4.13.1"
HOMEPAGE="https://www.antlr.org/"
-DOWNLOAD="https://www.antlr.org/download/antlr4-cpp-runtime-4.8-source.zip"
-MD5SUM="96dc553d52c3d9833adeddd66cbb8a11"
+DOWNLOAD="https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip"
+MD5SUM="c875c148991aacd043f733827644a76f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="utfcpp"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/apiextractor/apiextractor.SlackBuild b/libraries/apiextractor/apiextractor.SlackBuild
index f7b8ea7854..2c9be38e37 100644
--- a/libraries/apiextractor/apiextractor.SlackBuild
+++ b/libraries/apiextractor/apiextractor.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apiextractor
# Written by Grissiom <chaos.proton@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apiextractor
VERSION=${VERSION:-0.10.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"
@@ -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/libraries/apiextractor/apiextractor.info b/libraries/apiextractor/apiextractor.info
index 2dd4a2454b..8c46457d37 100644
--- a/libraries/apiextractor/apiextractor.info
+++ b/libraries/apiextractor/apiextractor.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://distfiles.macports.org/apiextractor/apiextractor-0.10.10.tar.b
MD5SUM="7cdf6bdbf161e15b8bc5e98df86f95ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="kchan"
EMAIL="kenneth.t.chan@gmail.com"
diff --git a/libraries/appmenu-qt/README b/libraries/appmenu-qt/README
deleted file mode 100644
index 91d019b79a..0000000000
--- a/libraries/appmenu-qt/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Qt Global menu support
-
-This projects adds support for application menu to Qt
diff --git a/libraries/appmenu-qt/appmenu-qt.SlackBuild b/libraries/appmenu-qt/appmenu-qt.SlackBuild
deleted file mode 100644
index c4e2f0ef43..0000000000
--- a/libraries/appmenu-qt/appmenu-qt.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for appmenu-qt
-
-# Copyright 2014 Ruan K. F <ruan.klein@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=appmenu-qt
-VERSION=${VERSION:-0.2.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DOCS="COPYING COPYING.LGPL-2.1 LGPL_EXCEPTION.txt NEWS README"
-
-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 {} \;
-
-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 $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/libraries/appmenu-qt/appmenu-qt.info b/libraries/appmenu-qt/appmenu-qt.info
deleted file mode 100644
index 28e03b4b68..0000000000
--- a/libraries/appmenu-qt/appmenu-qt.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="appmenu-qt"
-VERSION="0.2.6"
-HOMEPAGE="https://launchpad.net/appmenu-qt"
-DOWNLOAD="https://launchpad.net/appmenu-qt/trunk/0.2.6/+download/appmenu-qt-0.2.6.tar.bz2"
-MD5SUM="90cce750e5412d43ce075b0a9bdb6782"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Ruan K. F"
-EMAIL="ruan.klein@gmail.com"
diff --git a/libraries/appmenu-qt/slack-desc b/libraries/appmenu-qt/slack-desc
deleted file mode 100644
index b2dfb7bd57..0000000000
--- a/libraries/appmenu-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------------------------------------------------------|
-appmenu-qt: appmenu-qt (Global Menu support for Qt)
-appmenu-qt:
-appmenu-qt: This package enables global menu support for Qt.
-appmenu-qt:
-appmenu-qt:
-appmenu-qt:
-appmenu-qt: Homepage: https://launchpad.net/appmenu-qt
-appmenu-qt:
-appmenu-qt:
-appmenu-qt:
-appmenu-qt:
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild
index 97c43a904e..090772116a 100644
--- a/libraries/appstream-glib/appstream-glib.SlackBuild
+++ b/libraries/appstream-glib/appstream-glib.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for appstream-glib
-# Copyright 2017-2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-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,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=appstream-glib
-VERSION=${VERSION:-0.7.15}
+VERSION=${VERSION:-0.8.2}
SRCVERSION=$(echo "$PRGNAM" | tr - _)_$(echo "$VERSION" | tr . _)
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}
@@ -70,6 +78,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 {} \;
+mkdir -p build
+cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson \
@@ -79,13 +89,12 @@ meson \
--mandir=/usr/man \
-Dgtk-doc=true \
-Dstemmer=false \
- build
-
-# not sure why this is necessary
-sed -i "/^ COMMAND = \\/usr\\/bin\\/g-ir-scanner/s/-lyaml//" build/build.ninja
+ ..
-ninja -C build
-DESTDIR=$PKG ninja -C build install
+"${NINJA:=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
@@ -103,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/libraries/appstream-glib/appstream-glib.info b/libraries/appstream-glib/appstream-glib.info
index efa3f60771..70aed3ed0d 100644
--- a/libraries/appstream-glib/appstream-glib.info
+++ b/libraries/appstream-glib/appstream-glib.info
@@ -1,10 +1,10 @@
PRGNAM="appstream-glib"
-VERSION="0.7.15"
+VERSION="0.8.2"
HOMEPAGE="https://github.com/hughsie/appstream-glib"
-DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_7_15/appstream-glib-appstream_glib_0_7_15.tar.gz"
-MD5SUM="60fda2d9c0f5b67a3d0eb8dd31a7211b"
+DOWNLOAD="https://github.com/hughsie/appstream-glib/archive/appstream_glib_0_8_2/appstream-glib-appstream_glib_0_8_2.tar.gz"
+MD5SUM="96e82a83c11a3d5cba1662d1dda0e41d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson json-glib gcab"
+REQUIRES="gcab"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/libraries/aqbanking/aqbanking.SlackBuild b/libraries/aqbanking/aqbanking.SlackBuild
index 09967b2b5a..f5d258db0f 100644
--- a/libraries/aqbanking/aqbanking.SlackBuild
+++ b/libraries/aqbanking/aqbanking.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aqbanking
-# Copyright 2013-2020 Heiko Rosemann Germany
+# Copyright 2013-2023 Heiko Rosemann Germany
# 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.
+# 20220407 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - get rid of compiled tutorials from doc dir.
+# - remove useless INSTALL from doc dir.
+# - remove /usr/share/doc.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aqbanking
-VERSION=${VERSION:-6.0.2}
+VERSION=${VERSION:-6.5.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}
@@ -66,9 +78,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -88,7 +100,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO tutorials doc \
+cp -a AUTHORS COPYING ChangeLog NEWS README TODO tutorials doc \
$PKG/usr/doc/$PRGNAM-$VERSION
# Remove Makefiles from documentation directories
rm $PKG/usr/doc/$PRGNAM-$VERSION/doc/01-OVERVIEW
@@ -96,10 +108,17 @@ rm $PKG/usr/doc/$PRGNAM-$VERSION/doc/Makefile*
rm $PKG/usr/doc/$PRGNAM-$VERSION/doc/apidoc.h
rm $PKG/usr/doc/$PRGNAM-$VERSION/tutorials/Makefile*
+rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/tutorials/.libs # 20220407 bkw: no.
+rm -rf $PKG/usr/share/doc
+
+# Don't ship .la files:
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/plugins/44/dbio/*.la
+
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/libraries/aqbanking/aqbanking.info b/libraries/aqbanking/aqbanking.info
index 67161ff410..cc9373955e 100644
--- a/libraries/aqbanking/aqbanking.info
+++ b/libraries/aqbanking/aqbanking.info
@@ -1,8 +1,8 @@
PRGNAM="aqbanking"
-VERSION="6.0.2"
+VERSION="6.5.4"
HOMEPAGE="https://www.aquamaniac.de/"
-DOWNLOAD="https://aquamaniac.de/rdm/attachments/download/243/aqbanking-6.0.2.tar.gz"
-MD5SUM="73183759493e771415781cd34d4dab04"
+DOWNLOAD="https://www.aquamaniac.de/rdm/attachments/download/499/aqbanking-6.5.4.tar.gz"
+MD5SUM="3401dd16a5a98500dbdd4f4a6f86b3ef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gwenhywfar xmlsec"
diff --git a/libraries/argon2/README b/libraries/argon2/README
deleted file mode 100644
index d4460f624c..0000000000
--- a/libraries/argon2/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This is the reference C implementation of Argon2, the password-hashing
-function that won the Password Hashing Competition (PHC).
-
-Argon2 is a password-hashing function that summarizes the state of the art
-in the design of memory-hard functions and can be used to hash passwords
-for credential storage, key derivation, or other applications.
-
-It has a simple design aimed at the highest memory filling rate and effective
-use of multiple computing units, while still providing defense against
-tradeoff attacks (by exploiting the cache and memory organization of the
-recent processors).
diff --git a/libraries/argon2/argon2.SlackBuild b/libraries/argon2/argon2.SlackBuild
deleted file mode 100644
index 3f40797c36..0000000000
--- a/libraries/argon2/argon2.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for argon2
-
-# Copyright 2017, 2020 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.
-
-PRGNAM=argon2
-SRCNAM=phc-winner-argon2
-VERSION=${VERSION:-20190702}
-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
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- 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 || tar xvf $CWD/$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 build options and library path:
-sed -i "s/CFLAGS += -std=c89 -O3 -Wall -g -Iinclude -Isrc/CFLAGS += -std=c89 -Iinclude -Isrc/g" Makefile
-sed -i "s/LIBRARY_REL ?= lib.*/LIBRARY_REL = lib${LIBDIRSUFFIX}/g" Makefile
-sed -i "s/CFLAGS += -march=\$(OPTTARGET)/CFLAGS += ${SLKCFLAGS}/g" Makefile
-
-make libs DESTDIR=$PKG
-make install DESTDIR=$PKG
-
-install -Dm644 man/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1
-install -Dm644 lib$PRGNAM.pc $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lib$PRGNAM.pc
-
-find $PKG -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 LICENSE README.md argon2-specs.pdf $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/argon2/argon2.info b/libraries/argon2/argon2.info
deleted file mode 100644
index 2e80df058c..0000000000
--- a/libraries/argon2/argon2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="argon2"
-VERSION="20190702"
-HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2/"
-DOWNLOAD="https://github.com/P-H-C/phc-winner-argon2/archive/20190702.tar.gz"
-MD5SUM="0f234cc21ac6cebfe373da6afa70bb1d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mario Preksavec"
-EMAIL="mario at slackware dot hr"
diff --git a/libraries/argon2/slack-desc b/libraries/argon2/slack-desc
deleted file mode 100644
index 0be295ca69..0000000000
--- a/libraries/argon2/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------------------------------------------------------|
-argon2: argon2 (password-hashing function)
-argon2:
-argon2: Argon2 is a password-hashing function that summarizes the state of
-argon2: the art in the design of memory-hard functions and can be used to
-argon2: hash passwords for credential storage, key derivation, or other
-argon2: applications.
-argon2:
-argon2: Homepage: https://github.com/P-H-C/phc-winner-argon2/
-argon2:
-argon2:
-argon2:
diff --git a/libraries/argtable/README b/libraries/argtable/README
index 52e4457e35..59b8068daf 100644
--- a/libraries/argtable/README
+++ b/libraries/argtable/README
@@ -1,3 +1,5 @@
+argtable (ANSI C library for parsing command line arguments)
+
Argtable is an ANSI C library for parsing GNU style command line
arguments with a minimum of fuss. It enables the programmer to
define their program's argument syntax directly in the source code
diff --git a/libraries/argtable/argtable.SlackBuild b/libraries/argtable/argtable.SlackBuild
index a0279f1499..cf4b4924db 100644
--- a/libraries/argtable/argtable.SlackBuild
+++ b/libraries/argtable/argtable.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2007 by ktabic (rdc@ktabic.co.uk)
# Permission to use, copy, modify, and distribute this software for
@@ -22,7 +22,8 @@
# Modified by the SlackBuilds.org Project
-# modified again 20140210 bkw:
+# 20211121 bkw: BUILD=2, get rid of .la files for -current.
+# 20140210 bkw:
# - took over maintenance
# - update for v2.13
# - derive SRCVER from VERSION
@@ -37,11 +38,14 @@
# - fix paths in FILES section of man page + html doc
# Installed package is now 1/14 the size the old 2.9 package was.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=argtable
VERSION=${VERSION:-2.13}
SRCVER=${VERSION/./-}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -51,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}
@@ -79,11 +87,8 @@ 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 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 {} \+
# man and html pages misuse autoconf macros
patch -p1 < $CWD/doc_paths.diff
@@ -105,6 +110,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
# upstream installs 2 copies of the man page, use symlink instead
MAN3=$PKG/usr/man/man3
rm -f $MAN3/$PRGNAM.3
@@ -128,4 +135,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/argtable/argtable.info b/libraries/argtable/argtable.info
index d3946cc063..fd02fa85e6 100644
--- a/libraries/argtable/argtable.info
+++ b/libraries/argtable/argtable.info
@@ -1,10 +1,10 @@
PRGNAM="argtable"
VERSION="2.13"
HOMEPAGE="http://argtable.sourceforge.net/"
-DOWNLOAD="http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
+DOWNLOAD="https://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
MD5SUM="156773989d0d6406cea36526d3926668"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/aribb24/README b/libraries/aribb24/README
new file mode 100644
index 0000000000..8d58900806
--- /dev/null
+++ b/libraries/aribb24/README
@@ -0,0 +1,4 @@
+A library for ARIB STD-B24, decoding
+JIS 8 bit characters and parsing MPEG-TS stream.
+
+This is an optional dependency for FFmpeg.
diff --git a/libraries/aribb24/aribb24.SlackBuild b/libraries/aribb24/aribb24.SlackBuild
new file mode 100644
index 0000000000..067d7cd81a
--- /dev/null
+++ b/libraries/aribb24/aribb24.SlackBuild
@@ -0,0 +1,129 @@
+#!/bin/bash
+
+# Slackware build script for aribb24
+
+# Copyright 2022 Vijay Marcel, India
+
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=aribb24
+VERSION=${VERSION:-1.0.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. 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 -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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+
+echo "-------------------------------------------------------------------------------------"
+echo "---------------------------Configuring aribb24---------------------------------------"
+echo "-------------------------------------------------------------------------------------"
+
+./bootstrap
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+echo "-------------------------------------------------------------------------------------"
+echo "---------------------------Building aribb24------------------------------------------"
+echo "-------------------------------------------------------------------------------------"
+
+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 -name "perllocal.pod" \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/aribb24/aribb24.info b/libraries/aribb24/aribb24.info
new file mode 100644
index 0000000000..c832dc5d57
--- /dev/null
+++ b/libraries/aribb24/aribb24.info
@@ -0,0 +1,10 @@
+PRGNAM="aribb24"
+VERSION="1.0.3"
+HOMEPAGE="https://github.com/nkoriyama/aribb24"
+DOWNLOAD="https://github.com/nkoriyama/aribb24/archive/v1.0.3/aribb24-1.0.3.tar.gz"
+MD5SUM="5ef0a6d1d72f294666ee1489b7ebb8c5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/aribb24/slack-desc b/libraries/aribb24/slack-desc
new file mode 100644
index 0000000000..84247d00f1
--- /dev/null
+++ b/libraries/aribb24/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------------------------------------------------------|
+aribb24: aribb24 (A library for ARIB STD-B24)
+aribb24:
+aribb24: A library for ARIB STD B-24 , decoding JIS 8-bit
+aribb24: characters and parsing MPEG-TS stream.
+aribb24:
+aribb24: Homepage: https://github.com/nkoriyama/aribb24
+aribb24:
+aribb24:
+aribb24:
+aribb24:
+aribb24:
diff --git a/libraries/aribb25/README b/libraries/aribb25/README
new file mode 100644
index 0000000000..35fd701594
--- /dev/null
+++ b/libraries/aribb25/README
@@ -0,0 +1,5 @@
+aribb25 is forked from libarib25 and maintained by VLC.
+This covers the basic implementation of ARIB STD-B25
+Public standard.
+
+This is an optional dependency for VLC media player.
diff --git a/libraries/aribb25/aribb25.SlackBuild b/libraries/aribb25/aribb25.SlackBuild
new file mode 100644
index 0000000000..d7c8ac1629
--- /dev/null
+++ b/libraries/aribb25/aribb25.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for aribb25
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=aribb25
+VERSION=${VERSION:-0.2.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="-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 -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 --unified --verbose < $CWD/fix-libs.patch
+
+./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
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENCE README.md README.jp.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/aribb25/aribb25.info b/libraries/aribb25/aribb25.info
new file mode 100644
index 0000000000..0bf63a54af
--- /dev/null
+++ b/libraries/aribb25/aribb25.info
@@ -0,0 +1,10 @@
+PRGNAM="aribb25"
+VERSION="0.2.7"
+HOMEPAGE="https://code.videolan.org/videolan/aribb25"
+DOWNLOAD="https://code.videolan.org/videolan/aribb25/-/archive/0.2.7/aribb25-0.2.7.tar.gz"
+MD5SUM="e5f889b7103af38417bbe8a707f926d1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pcsc-lite"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/aribb25/fix-libs.patch b/libraries/aribb25/fix-libs.patch
new file mode 100644
index 0000000000..ac4c34fad9
--- /dev/null
+++ b/libraries/aribb25/fix-libs.patch
@@ -0,0 +1,311 @@
+diff --git a/.gitignore b/.gitignore
+index fb6efca..1651fae 100644
+--- a/.gitignore
++++ b/.gitignore
+@@ -10,6 +10,7 @@
+ /aclocal.m4
+ /aribb25-*/
+ /autom4te.cache
++/b25
+ /compile
+ /config.guess
+ /config.h
+@@ -25,4 +26,7 @@
+ /m4/
+ /missing
+ /src/aribb25.pc
++/src/config.h
++/src/config.h.in
++/src/stamp-h1
+ /stamp-h1
+diff --git a/Makefile.am b/Makefile.am
+index b95a569..0cf8e51 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -3,10 +3,10 @@ ACLOCAL_AMFLAGS = -I m4
+ lib_LTLIBRARIES = libaribb25.la
+ libaribb25_la_SOURCES = src/arib_std_b25.c src/b_cas_card.c src/multi2.c \
+ src/portable.h src/ts_section_parser.c src/arib_std_b25_error_code.h \
+- src/b_cas_card_error_code.h src/multi2_error_code.h src/td.c \
++ src/b_cas_card_error_code.h src/multi2_error_code.h \
+ src/ts_section_parser_error_code.h src/arib_std_b25.h src/b_cas_card.h \
+ src/multi2.h src/ts_common_types.h src/ts_section_parser.h src/aribb25api.h
+-libaribb25_la_LIBADD = $(AM_LIBS) $(pcsclite_CFLAGS) $(PCSC_LIBS)
++libaribb25_la_LIBADD = $(AM_LIBS) $(pcsclite_LIBS) $(PCSC_LIBS)
+ libaribb25_la_CFLAGS = $(AM_CFLAGS) -Wall -Werror -fvisibility=hidden $(pcsclite_CFLAGS)
+
+ pkginclude_HEADERS = src/arib_std_b25_error_code.h src/b_cas_card_error_code.h \
+@@ -17,4 +17,9 @@ pkginclude_HEADERS = src/arib_std_b25_error_code.h src/b_cas_card_error_code.h \
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = src/aribb25.pc
+
++bin_PROGRAMS = b25
++b25_SOURCES = src/td.c
++b25_CFLAGS = $(AM_CFLAGS) -Wall -Werror $(pcsclite_CFLAGS)
++b25_LDADD = libaribb25.la $(pcsclite_LIBS) $(PCSC_LIBS)
++
+ dist_doc_DATA = README.jp.txt README.md LICENCE
+diff --git a/configure.ac b/configure.ac
+index ec1d35f..baa856e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -82,5 +82,6 @@ AS_IF([test "$SYS" = mingw32],[
+ ], [AC_MSG_ERROR([${pcsclite_PKG_ERRORS}.])])
+ ])
+
++AC_CONFIG_HEADERS([src/config.h])
+ AC_CONFIG_FILES([Makefile src/aribb25.pc])
+ AC_OUTPUT
+diff --git a/src/arib_std_b25.h b/src/arib_std_b25.h
+index 7edfbb3..a577731 100644
+--- a/src/arib_std_b25.h
++++ b/src/arib_std_b25.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef ARIB_STD_B25_H
+-#define ARIB_STD_B25_H
++#ifndef B25_ARIB_STD_B25_H
++#define B25_ARIB_STD_B25_H
+
+ #include "aribb25api.h"
+ #include "portable.h"
+@@ -79,5 +79,5 @@ ARIBB25API ARIB_STD_B25 *create_arib_std_b25();
+ }
+ #endif
+
+-#endif /* ARIB_STD_B25_H */
++#endif /* B25_ARIB_STD_B25_H */
+
+diff --git a/src/arib_std_b25_error_code.h b/src/arib_std_b25_error_code.h
+index 12a2e03..10d0a09 100644
+--- a/src/arib_std_b25_error_code.h
++++ b/src/arib_std_b25_error_code.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef ARIB_STD_B25_ERROR_CODE_H
+-#define ARIB_STD_B25_ERROR_CODE_H
++#ifndef B25_ARIB_STD_B25_ERROR_CODE_H
++#define B25_ARIB_STD_B25_ERROR_CODE_H
+
+ #define ARIB_STD_B25_ERROR_INVALID_PARAM -1
+ #define ARIB_STD_B25_ERROR_NO_ENOUGH_MEMORY -2
+@@ -40,4 +40,4 @@ PERFORMANCE OF THIS SOFTWARE.
+ #define ARIB_STD_B25_WARN_TS_SECTION_ID_MISSMATCH 2
+ #define ARIB_STD_B25_WARN_BROKEN_TS_SECTION 3
+
+-#endif /* ARIB_STD_B25_ERROR_CODE_H */
++#endif /* B25_ARIB_STD_B25_ERROR_CODE_H */
+diff --git a/src/aribb25api.h b/src/aribb25api.h
+index 2f47f7d..23f1bce 100644
+--- a/src/aribb25api.h
++++ b/src/aribb25api.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef ARIBB25API_H
+-#define ARIBB25API_H 1
++#ifndef B25_ARIBB25API_H
++#define B25_ARIBB25API_H 1
+
+ /* If building or using aribb25 as a DLL, define ARIBB25_DLL.
+ * */
+@@ -54,4 +54,4 @@ PERFORMANCE OF THIS SOFTWARE.
+ #endif
+ #endif
+
+-#endif
++#endif /* B25_ARIBB25API_H */
+diff --git a/src/b_cas_card.h b/src/b_cas_card.h
+index 37b65ab..6f49941 100644
+--- a/src/b_cas_card.h
++++ b/src/b_cas_card.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef B_CAS_CARD_H
+-#define B_CAS_CARD_H
++#ifndef B25_B_CAS_CARD_H
++#define B25_B_CAS_CARD_H
+
+ #include "aribb25api.h"
+ #include "portable.h"
+@@ -91,4 +91,4 @@ ARIBB25API B_CAS_CARD *create_b_cas_card();
+ }
+ #endif
+
+-#endif /* B_CAS_CARD_H */
++#endif /* B25_B_CAS_CARD_H */
+diff --git a/src/b_cas_card_error_code.h b/src/b_cas_card_error_code.h
+index 83802a4..c24d86a 100644
+--- a/src/b_cas_card_error_code.h
++++ b/src/b_cas_card_error_code.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef B_CAS_CARD_ERROR_CODE_H
+-#define B_CAS_CARD_ERROR_CODE_H
++#ifndef B25_B_CAS_CARD_ERROR_CODE_H
++#define B25_B_CAS_CARD_ERROR_CODE_H
+
+ #define B_CAS_CARD_ERROR_INVALID_PARAMETER -1
+ #define B_CAS_CARD_ERROR_NOT_INITIALIZED -2
+@@ -26,4 +26,4 @@ PERFORMANCE OF THIS SOFTWARE.
+ #define B_CAS_CARD_ERROR_NO_ENOUGH_MEMORY -5
+ #define B_CAS_CARD_ERROR_TRANSMIT_FAILED -6
+
+-#endif /* B_CAS_CARD_ERROR_CODE_H */
++#endif /* B25_B_CAS_CARD_ERROR_CODE_H */
+diff --git a/src/multi2.h b/src/multi2.h
+index 5708b7c..19ef922 100644
+--- a/src/multi2.h
++++ b/src/multi2.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef MULTI2_H
+-#define MULTI2_H
++#ifndef B25_MULTI2_H
++#define B25_MULTI2_H
+
+ #include "aribb25api.h"
+ #include "portable.h"
+@@ -51,4 +51,4 @@ ARIBB25API MULTI2 *create_multi2();
+ }
+ #endif
+
+-#endif /* MULTI2_H */
++#endif /* B25_MULTI2_H */
+diff --git a/src/multi2_error_code.h b/src/multi2_error_code.h
+index f1ca9e6..dcc30ef 100644
+--- a/src/multi2_error_code.h
++++ b/src/multi2_error_code.h
+@@ -16,12 +16,12 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef MULTI2_ERROR_CODE_H
+-#define MULTI2_ERROR_CODE_H
++#ifndef B25_MULTI2_ERROR_CODE_H
++#define B25_MULTI2_ERROR_CODE_H
+
+ #define MULTI2_ERROR_INVALID_PARAMETER -1
+ #define MULTI2_ERROR_UNSET_SYSTEM_KEY -2
+ #define MULTI2_ERROR_UNSET_CBC_INIT -3
+ #define MULTI2_ERROR_UNSET_SCRAMBLE_KEY -4
+
+-#endif /* MULTI2_ERROR_CODE_H */
++#endif /* B25_MULTI2_ERROR_CODE_H */
+diff --git a/src/portable.h b/src/portable.h
+index 7e5f828..b9d5af7 100644
+--- a/src/portable.h
++++ b/src/portable.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef PORTABLE_H
+-#define PORTABLE_H
++#ifndef B25_PORTABLE_H
++#define B25_PORTABLE_H
+
+ #include <stdint.h>
+
+@@ -38,4 +38,4 @@ PERFORMANCE OF THIS SOFTWARE.
+ #define _S_IWRITE (S_IWUSR|S_IWGRP|S_IWOTH)
+ #endif
+
+-#endif /* PORTABLE_H */
++#endif /* B25_PORTABLE_H */
+diff --git a/src/td.c b/src/td.c
+index c27201f..288aa5a 100644
+--- a/src/td.c
++++ b/src/td.c
+@@ -37,6 +37,7 @@ PERFORMANCE OF THIS SOFTWARE.
+
+ #include "arib_std_b25.h"
+ #include "b_cas_card.h"
++#include "config.h"
+
+ typedef struct {
+ int32_t round;
+@@ -85,7 +86,7 @@ int main(int argc, char **argv)
+
+ static void show_usage()
+ {
+- fprintf(stderr, "b25 - ARIB STD-B25 test program ver. 0.2.5 (2012, 2/13)\n");
++ fprintf(stderr, "%s\n", PACKAGE_STRING);
+ fprintf(stderr, "usage: b25 [options] src.m2t dst.m2t [more pair ..]\n");
+ fprintf(stderr, "options:\n");
+ fprintf(stderr, " -r round (integer, default=4)\n");
+diff --git a/src/ts_common_types.h b/src/ts_common_types.h
+index 67830f4..67b4da3 100644
+--- a/src/ts_common_types.h
++++ b/src/ts_common_types.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef TS_COMMON_TYPES_H
+-#define TS_COMMON_TYPES_H
++#ifndef B25_TS_COMMON_TYPES_H
++#define B25_TS_COMMON_TYPES_H
+
+ #include "portable.h"
+
+@@ -51,4 +51,4 @@ typedef struct {
+ uint8_t *tail;
+ } TS_SECTION;
+
+-#endif /* TS_COMMON_TYPES_H */
+\ No newline at end of file
++#endif /* B25_TS_COMMON_TYPES_H */
+diff --git a/src/ts_section_parser.h b/src/ts_section_parser.h
+index fdad1e2..2450d41 100644
+--- a/src/ts_section_parser.h
++++ b/src/ts_section_parser.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef TS_SECTION_PARSER_H
+-#define TS_SECTION_PARSER_H
++#ifndef B25_TS_SECTION_PARSER_H
++#define B25_TS_SECTION_PARSER_H
+
+ #include "aribb25api.h"
+ #include "ts_common_types.h"
+@@ -56,4 +56,4 @@ ARIBB25API TS_SECTION_PARSER *create_ts_section_parser();
+ }
+ #endif
+
+-#endif /* TS_SECTION_PARSER_H */
++#endif /* B25_TS_SECTION_PARSER_H */
+diff --git a/src/ts_section_parser_error_code.h b/src/ts_section_parser_error_code.h
+index 67bbec9..6626e1f 100644
+--- a/src/ts_section_parser_error_code.h
++++ b/src/ts_section_parser_error_code.h
+@@ -16,8 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+ PERFORMANCE OF THIS SOFTWARE.
+ *******************************************************************************/
+-#ifndef TS_SECTION_PARSER_ERROR_CODE_H
+-#define TS_SECTION_PARSER_ERROR_CODE_H
++#ifndef B25_TS_SECTION_PARSER_ERROR_CODE_H
++#define B25_TS_SECTION_PARSER_ERROR_CODE_H
+
+ #define TS_SECTION_PARSER_ERROR_INVALID_PARAM -1
+ #define TS_SECTION_PARSER_ERROR_NO_ENOUGH_MEMORY -2
+@@ -27,4 +27,4 @@ PERFORMANCE OF THIS SOFTWARE.
+ #define TS_SECTION_PARSER_WARN_CRC_MISSMATCH 1
+ #define TS_SECTION_PARSER_WARN_LENGTH_MISSMATCH 2
+
+-#endif /* TS_SECTION_PARSER_ERROR_CODE_H */
++#endif /* B25_TS_SECTION_PARSER_ERROR_CODE_H */
diff --git a/libraries/aribb25/slack-desc b/libraries/aribb25/slack-desc
new file mode 100644
index 0000000000..0a0b5a0419
--- /dev/null
+++ b/libraries/aribb25/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------------------------------------------------------|
+aribb25: aribb25 (ARIB STD-B25)
+aribb25:
+aribb25: aribb25 is forked from libarib25 and maintained by VLC.
+aribb25: This covers the basic implementation of ARIB STD-B25
+aribb25: Public standard.
+aribb25:
+aribb25:
+aribb25:
+aribb25:
+aribb25:
+aribb25:
diff --git a/libraries/asio/asio.SlackBuild b/libraries/asio/asio.SlackBuild
index 2c5fe67199..a6135bf387 100644
--- a/libraries/asio/asio.SlackBuild
+++ b/libraries/asio/asio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Asio
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by Martin Bångens
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asio
-VERSION=${VERSION:-1.11.0}
+VERSION=${VERSION:-1.28.2}
+GIT_TAG=${GIT_TAG:-asio-1-28-2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -59,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.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GIT_TAG
+tar xvf $CWD/$PRGNAM-$GIT_TAG.tar.gz
+cd $PRGNAM-$GIT_TAG
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,25 +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 {} \;
+# These are available ##############################################################
+# --with-boost=DIR location of boost distribution
+# --enable-separate-compilation separate compilation of asio source
+# --enable-boost-coroutine use Boost.Coroutine to implement stackful coroutines
+# --with-openssl=DIR location of openssl
+#
+cd asio
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--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 -raf COPYING INSTALL LICENSE_1_0.txt README doc/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -raf COPYING 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/asio/asio.info b/libraries/asio/asio.info
index d86a5c5510..564d112894 100644
--- a/libraries/asio/asio.info
+++ b/libraries/asio/asio.info
@@ -1,10 +1,10 @@
PRGNAM="asio"
-VERSION="1.11.0"
+VERSION="1.28.2"
HOMEPAGE="http://think-async.com/Asio/"
-DOWNLOAD="http://downloads.sourceforge.net/asio/asio-1.11.0.tar.bz2"
-MD5SUM="bc2ffb97c6282ef4f2064dbf8dfd3e86"
+DOWNLOAD="https://github.com/chriskohlhoff/asio/archive/asio-1-28-2/asio-asio-1-28-2.tar.gz"
+MD5SUM="82fc05d9007b6a26f2a27b44c5badd63"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/libraries/aspnetcore-runtime-3.1/README b/libraries/aspnetcore-runtime-3.1/README
new file mode 100644
index 0000000000..d6d65e418f
--- /dev/null
+++ b/libraries/aspnetcore-runtime-3.1/README
@@ -0,0 +1,13 @@
+.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 ASP.NET application.
+It includes ASP.NET Core runtime and .NET Core runtime.
+If you want to build apps, install .NET Core SDK (dotnet-sdk-3.1), which
+contains these runtimes 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/libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.SlackBuild b/libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.SlackBuild
new file mode 100644
index 0000000000..552ad80477
--- /dev/null
+++ b/libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for aspnetcore-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=aspnetcore-runtime-3.1
+SRCNAM=aspnetcore-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 -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.info b/libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.info
new file mode 100644
index 0000000000..0c2d7f29d8
--- /dev/null
+++ b/libraries/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.info
@@ -0,0 +1,10 @@
+PRGNAM="aspnetcore-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/39c3ef4c-73c7-4248-8c54-0865d5feb8b2/3420b1ff6b0f36e63044d6f7a794b579/aspnetcore-runtime-3.1.32-linux-x64.tar.gz"
+MD5SUM_x86_64="811e1a643c287a3c8d5af618bac65bc8"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/libraries/aspnetcore-runtime-3.1/slack-desc b/libraries/aspnetcore-runtime-3.1/slack-desc
new file mode 100644
index 0000000000..1a466d8ac7
--- /dev/null
+++ b/libraries/aspnetcore-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------------------------------------------------------|
+aspnetcore-runtime-3.1: aspnetcore-runtime-3.1 (Runtime for ASP.NET applications)
+aspnetcore-runtime-3.1:
+aspnetcore-runtime-3.1: .NET Core is an open-source, general-purpose development platform
+aspnetcore-runtime-3.1: maintained by Microsoft and the .NET community on GitHub. It's
+aspnetcore-runtime-3.1: cross-platform (supporting Windows, macOS, and Linux) and can be
+aspnetcore-runtime-3.1: used to build device, cloud, and IoT applications. This package
+aspnetcore-runtime-3.1: contains everything you need to run a ASP.NET application.
+aspnetcore-runtime-3.1: It includes ASP.NET Core runtime and .NET Core runtime
+aspnetcore-runtime-3.1: (dotnet-runtime).
+aspnetcore-runtime-3.1:
+aspnetcore-runtime-3.1: https://dotnet.microsoft.com/
diff --git a/libraries/aspnetcore-runtime-5.0/README b/libraries/aspnetcore-runtime-5.0/README
new file mode 100644
index 0000000000..5a736b8d3c
--- /dev/null
+++ b/libraries/aspnetcore-runtime-5.0/README
@@ -0,0 +1,13 @@
+.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 application.
+It includes ASP.NET Core 5.0 runtime and .NET 5.0 runtime.
+If you want to build apps, install .NET 5.0 SDK (dotnet-sdk-5.0), which
+contains these runtimes 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/libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.SlackBuild b/libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.SlackBuild
new file mode 100644
index 0000000000..77a82d0b0f
--- /dev/null
+++ b/libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for aspnetcore-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=aspnetcore-runtime-5.0
+SRCNAM=aspnetcore-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 -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.info b/libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.info
new file mode 100644
index 0000000000..409ad7a59b
--- /dev/null
+++ b/libraries/aspnetcore-runtime-5.0/aspnetcore-runtime-5.0.info
@@ -0,0 +1,10 @@
+PRGNAM="aspnetcore-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/a2b96f83-e22a-4fa6-a10e-709b3effac9a/0d6ade6c0ceebc8ef7dbf2b1a6d86f17/aspnetcore-runtime-5.0.17-linux-x64.tar.gz"
+MD5SUM_x86_64="b5ac25ef66461ee4678e81d5e7beed21"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/libraries/aspnetcore-runtime-5.0/slack-desc b/libraries/aspnetcore-runtime-5.0/slack-desc
new file mode 100644
index 0000000000..23696800bd
--- /dev/null
+++ b/libraries/aspnetcore-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------------------------------------------------------|
+aspnetcore-runtime-5.0: aspnetcore-runtime-5.0 (Runtime for ASP.NET 5.0 applications)
+aspnetcore-runtime-5.0:
+aspnetcore-runtime-5.0: .NET is an open-source, general-purpose development platform
+aspnetcore-runtime-5.0: maintained by Microsoft and the .NET community on GitHub. It's
+aspnetcore-runtime-5.0: cross-platform (supporting Windows, macOS, and Linux) and can be
+aspnetcore-runtime-5.0: used to build device, cloud, and IoT applications. This package
+aspnetcore-runtime-5.0: contains everything you need to run a ASP.NET application.
+aspnetcore-runtime-5.0: It includes ASP.NET Core 5.0 runtime and .NET 5.0 runtime.
+aspnetcore-runtime-5.0:
+aspnetcore-runtime-5.0: https://dotnet.microsoft.com/
+aspnetcore-runtime-5.0:
diff --git a/libraries/aspnetcore-runtime-6.0/README b/libraries/aspnetcore-runtime-6.0/README
new file mode 100644
index 0000000000..45dabacaaf
--- /dev/null
+++ b/libraries/aspnetcore-runtime-6.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 6.0
+application.
+It includes ASP.NET Core 6.0 runtime and .NET 6.0 runtime.
+If you want to build apps, install .NET 6.0 SDK (dotnet-sdk-6.0),
+which contains these runtimes too.
diff --git a/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild
new file mode 100644
index 0000000000..efd48e9e0f
--- /dev/null
+++ b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for aspnetcore-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=aspnetcore-runtime-6.0
+SRCNAM=aspnetcore-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 -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info
new file mode 100644
index 0000000000..c17092d8db
--- /dev/null
+++ b/libraries/aspnetcore-runtime-6.0/aspnetcore-runtime-6.0.info
@@ -0,0 +1,10 @@
+PRGNAM="aspnetcore-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/d3e6b8a2-f7de-441e-a3af-c18b7584034b/9f15be4d095b7bbb751222b4d68a17e3/aspnetcore-runtime-6.0.27-linux-x64.tar.gz"
+MD5SUM_x86_64="42a926f0983ecc672c3bf34cd691663c"
+REQUIRES=""
+MAINTAINER="Reza Talebi"
+EMAIL="reza.talebi.73@outlook.com"
diff --git a/libraries/aspnetcore-runtime-6.0/slack-desc b/libraries/aspnetcore-runtime-6.0/slack-desc
new file mode 100644
index 0000000000..4665e4f129
--- /dev/null
+++ b/libraries/aspnetcore-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------------------------------------------------------|
+aspnetcore-runtime-6.0: aspnetcore-runtime-6.0 (Runtime for ASP.NET 6.0 applications)
+aspnetcore-runtime-6.0:
+aspnetcore-runtime-6.0: .NET is an open-source, general-purpose development platform
+aspnetcore-runtime-6.0: maintained by Microsoft and the .NET community on GitHub. It's
+aspnetcore-runtime-6.0: cross-platform (supporting Windows, macOS, and Linux) and can be
+aspnetcore-runtime-6.0: used to build device, cloud, and IoT applications. This package
+aspnetcore-runtime-6.0: contains everything you need to run a ASP.NET 6.0 application.
+aspnetcore-runtime-6.0: It includes ASP.NET Core 6.0 runtime and .NET 6.0 runtime.
+aspnetcore-runtime-6.0:
+aspnetcore-runtime-6.0: https://dotnet.microsoft.com/
+aspnetcore-runtime-6.0:
diff --git a/libraries/aspnetcore-runtime/README b/libraries/aspnetcore-runtime/README
deleted file mode 100644
index ddde4dad30..0000000000
--- a/libraries/aspnetcore-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 ASP.NET application.
-It includes ASP.NET Core runtime and .NET Core runtime.
-If you want to build apps, install .NET Core SDK (dotnet-sdk), which contais these runtimes too.
diff --git a/libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild b/libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild
deleted file mode 100644
index 683feea1ad..0000000000
--- a/libraries/aspnetcore-runtime/aspnetcore-runtime.SlackBuild
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for aspnetcore-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=aspnetcore-runtime
-VERSION=${VERSION:-3.1.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}
-
-
-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/libraries/aspnetcore-runtime/aspnetcore-runtime.info b/libraries/aspnetcore-runtime/aspnetcore-runtime.info
deleted file mode 100644
index 1e1d19611d..0000000000
--- a/libraries/aspnetcore-runtime/aspnetcore-runtime.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="aspnetcore-runtime"
-VERSION="3.1.2"
-HOMEPAGE="https://dotnet.microsoft.com/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://download.visualstudio.microsoft.com/download/pr/2d72ee67-ac4d-42c6-97d9-a26a28201fc8/977ad14b99b6ed03dcefd6655789e43a/aspnetcore-runtime-3.1.2-linux-x64.tar.gz"
-MD5SUM_x86_64="3050ab5cba8ad61e652b4adcffded9ef"
-REQUIRES=""
-MAINTAINER="Reza Talebi"
-EMAIL="reza.talebi.73@outlook.com"
diff --git a/libraries/aspnetcore-runtime/doinst.sh b/libraries/aspnetcore-runtime/doinst.sh
deleted file mode 100644
index ec1d7e5165..0000000000
--- a/libraries/aspnetcore-runtime/doinst.sh
+++ /dev/null
@@ -1 +0,0 @@
-ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
diff --git a/libraries/aspnetcore-runtime/slack-desc b/libraries/aspnetcore-runtime/slack-desc
deleted file mode 100644
index ec199de2ea..0000000000
--- a/libraries/aspnetcore-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------------------------------------------------------|
-aspnetcore-runtime: aspnetcore-runtime (Runtime for ASP.NET applications)
-aspnetcore-runtime:
-aspnetcore-runtime: .NET Core is an open-source, general-purpose development platform
-aspnetcore-runtime: maintained by Microsoft and the .NET community on GitHub. It's
-aspnetcore-runtime: cross-platform (supporting Windows, macOS, and Linux) and can be
-aspnetcore-runtime: used to build device, cloud, and IoT applications. This package
-aspnetcore-runtime: contains everything you need to run a ASP.NET application.
-aspnetcore-runtime: It includes ASP.NET runtime and .NET Core runtime (dotnet-runtime).
-aspnetcore-runtime:
-aspnetcore-runtime: https://dotnet.microsoft.com/
-aspnetcore-runtime:
diff --git a/libraries/assimp/assimp.SlackBuild b/libraries/assimp/assimp.SlackBuild
index b70cad8ae3..7186c96a5e 100644
--- a/libraries/assimp/assimp.SlackBuild
+++ b/libraries/assimp/assimp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for assimp
@@ -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=assimp
-VERSION=${VERSION:-3.3.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-5.0.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}
@@ -60,14 +67,14 @@ 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
+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 {} \+
mkdir -p build
cd build
@@ -85,13 +92,18 @@ 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
+# 20220214 bkw: fix broken cmake support on x86_64. this was causing
+# ogre to fail to build (and probably other stuff that uses this).
+[ -n "$LIBDIRSUFFIX" ] && \
+ sed -i "s,\\<lib\\>,lib$LIBDIRSUFFIX,g" \
+ $PKG/usr/lib$LIBDIRSUFFIX/cmake/$PRGNAM-*/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES CREDITS INSTALL LICENSE README *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES CREDITS 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/libraries/assimp/assimp.info b/libraries/assimp/assimp.info
index ecbe61c65c..7d5d389992 100644
--- a/libraries/assimp/assimp.info
+++ b/libraries/assimp/assimp.info
@@ -1,8 +1,8 @@
PRGNAM="assimp"
-VERSION="3.3.1"
+VERSION="5.0.1"
HOMEPAGE="http://www.assimp.org/"
-DOWNLOAD="https://github.com/assimp/assimp/archive/v3.3.1.tar.gz"
-MD5SUM="fc57b024e80ebb13301bd0983826cad3"
+DOWNLOAD="https://github.com/assimp/assimp/archive/v5.0.1/assimp-5.0.1.tar.gz"
+MD5SUM="eb7b7385a5c3194ab46d7f869d7ac6cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/assimp/doinst.sh b/libraries/assimp/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/assimp/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/libraries/async/async.SlackBuild b/libraries/async/async.SlackBuild
index af269e0041..8e5a433536 100644
--- a/libraries/async/async.SlackBuild
+++ b/libraries/async/async.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for async
@@ -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=async
VERSION=${VERSION:-0.6.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}
@@ -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/libraries/atlas/AMD64K10h64SSE3.tgz b/libraries/atlas/AMD64K10h64SSE3.tgz
deleted file mode 100644
index 727f3748db..0000000000
--- a/libraries/atlas/AMD64K10h64SSE3.tgz
+++ /dev/null
Binary files differ
diff --git a/libraries/atlas/README b/libraries/atlas/README
deleted file mode 100644
index f8b90a9b83..0000000000
--- a/libraries/atlas/README
+++ /dev/null
@@ -1,15 +0,0 @@
-ATLAS (Automatically Tuned Linear Algebra Software) is an ongoing
-research effort focusing on applying empirical techniques in order to
-provide portable performance. At present, it provides C and Fortran77
-interfaces to a portably efficient BLAS implementation, as well as a few
-routines from LAPACK. Nevertheless, by default, this SlackBuild also
-builds a full LAPACK linked with ATLAS. If you are really sure that you
-don't want this, set LAPACK_SOURCE to the empty string when running this
-script.
-
-This conflicts with cblas and lapack (not to be confused with lapack-atlas).
-Nevertheless, it should be possible to avoid these conflicts by proper use
-of the SYS_DESTDIR variable.
-
-The impatient may just switch CPU throttling off and run the script, but
-you are advised to read over README.SLACKWARE *in advance*.
diff --git a/libraries/atlas/README.SLACKWARE b/libraries/atlas/README.SLACKWARE
deleted file mode 100644
index 826d5ddcf5..0000000000
--- a/libraries/atlas/README.SLACKWARE
+++ /dev/null
@@ -1,135 +0,0 @@
-IMPORTANT NOTES
-
-1) The present SlackBuild for ATLAS does by no means try to take into account
- all configuration/build issues of ATLAS. Nevertheless, any relevant patches
- mentioned in the ATLAS Errata are applied.
-
-2) The script mostly assumes that you are installing on an x86 or x86_64
- platform and use gcc for compilation. If you decide to use other compilers or
- install on another platform, you are unfortunately on your own and welcome to
- suggest improvements or patches to this SlackBuild. There is one small
- exception to this: the USE_DWALL variable, see below.
-
-3) There is no "post install" tuning performed by this script.
-
-4) ATLAS does not conflict with the reference netlib BLAS. Nevertheless, if
- ATLAS got installed successfully you should consider removing netlib BLAS and
- (re)compiling every BLAS/LAPACK dependent package. Otherwise you may not have
- much gain from installing ATLAS.
-
-5) There is a strong interaction between ATLAS and LAPACK. By default ATLAS
- implements an optimized subset of LAPACK and creates the corresponding static
- library. Nevertheles, provided that the full LAPACK source is available,
- ATLAS builds a complete LAPACK library linked against its optimized BLAS
- implementation. This is what the atlas SlackBuild does by default. You may
- decide that you don't what this, then make use of the LAPACK_SOURCE variable
- (see below).
-
-
-INSTALLATION DETAILS
-
-1) Make sure CPU throttling is off before starting the install. This is
- important, since ATLAS has to tune itself. As with Slackware 14.2 you
- can run /etc/rc.d/rc.cpufreq as root with "performance" as command line
- argument. To reset, run it again with what gets set at boot time (by
- default "ondemand") as command line argument.
-
-2) For the same reason, keep the extra load on the system as low as possible
- while building ATLAS.
-
-
-GENERIC SETUP VARIABLES
-
-1) SYS_DESTDIR is set by default to "/usr" and is the system destination
- directory. When installing the package produced by this SlackBuild,
- ATLAS's and LAPACK's files will be written to $SYS_DESTDIR/include,
- $SYS_DESTDIR/include/atlas and $SYS_DESTDIR/lib (or lib64).
- Documentation files are written to /usr/doc/atlas-$VERSION if not
- otherwise stated (see below).
- You may want to change the value of SYS_DESTDIR to avoid conflicts. If
- you do so, you have to make sure that these libraries and corresponding
- headers are found by the compiler or the configuration software used
- to build code depending on them.
- IMPORTANT: SYS_DESTDIR has to have an absolute path as value.
-
-2) DEFAULT_DOCS has the default value "yes", which means that docs go
- to /usr/doc/atlas-$VERSION, but you may want to let the docs go
- to $SYS_DESTDIR/doc/atlas-$VERSION. For this, just set this
- variable to "no".
-
-
-SETUP VARIABLES FOR ATLAS
-
-1) USE_ARCH_DEFAULTS defaults to "yes", which means that the library
- will be optimized by trying to take into account former builds done
- on a similar machine. Thus ATLAS will use predefined optimizations
- if available. This may reduce (much) the compilation time but may
- not give you the best result if you don't use the same gcc compiler
- version as the ATLAS author.
- Please note that with this variable set to "no", or if there are no
- known optimizations for your machine ATLAS compilation may last for
- many hours! Take a nap :-)
- NOTE: On the machine of this SlackBuild's author setting
- USE_ARCH_DEFAULTS to "no" provided libraries with definitely
- better performance. Compilation took about six hours.
-
-2) ARCH_DEF_DIR has different meanings, depending on the value of
- USE_ARCH_DEFAULTS:
- a) If USE_ARCH_DEFAULTS is "yes" and you have some custom architectural
- defaults, then you may set this to the absolute path of the directory
- containing the file with your custom defaults.
- b) If USE_ARCH_DEFAULTS is "no" and you would like to create custom
- architectural defaults then set this to the absolute path of the
- directory which should contain the file with the custom defaults.
- NOTE: Since this file is supposed to survive an upgrade, it doesn't
- get included in the Slackware package. You have to remove it
- by hand, if needed. A file named "ARCH_DEF_DIR" gets written
- to the documentation directory, to remind you where the created
- architectural defaults are. Make a backup of it, since it may
- get deleted with an upgrade.
- ARCH_DEF_DIR defaults to the empty string, which means that neither your
- custom defaults are used nor custom defaults are created.
-
-3) USE_DWALL defaults to "no" which should be OK for x86 or x86_64 and the gcc
- compiler. If you are on another architecture than x86 and/or don't use gcc
- you need to set it to "yes".
-
-4) L2_CACHE_SIZE provides the size of the level 2 cache in bytes. By default it
- is deduced from /proc/cpuinfo but you can just set the value manually, if you
- wish or need so.
-
-5) NUM_THREADS allows you to set the maximum number of threads. By default it
- is "-1", which means autodection. In this case it gets set equal to the
- number of available processors.
-
-6) USE_PROCESSORS is by default the empty string, which means that any of the
- available processors may be used. Nevertheless, under some circumstances,
- one may want to specify the processor IDs, e.g. "0 2 4". Please consult
- atlas_install.pdf, p. 13 for more informations.
- NOTES: a) This is incompatible with the autodetection of the number of
- threads. Therefore NUM_THREADS must be greater than 1.
- b) Write just the processor IDs to this string, the script takes
- care of the rest. Take care to have NUM_THREADS equal to the
- amount of processor IDs.
-
-7) SHARED_SWITCH is set by default to ask for building shared libs along with
- the static ones. Set this to the empty string, if you don't want to have
- shared libs.
-
-
-SETUP VARIABLES FOR LAPACK
-
-1) LAPACK_SOURCE set this variable to the empty string, if you don't want for a
- full LAPACK library to get build.
-
-2) TEST_LAPACK set this variable to "yes" if you would like to run the LAPACK
- tests. You will find the results of the tests in the documentation directory.
- This has no relevance, if you didn't allow for a full LAPACK build.
-
-3) LAPACK_TIMER sets the timer to be used for LAPACK. If you stay with
- gfortran, presently the default compiler on Slackware, you can leave the
- value as is. Otherwise, set it to "NONE" or read LAPACK's make.inc.example
- for more informations.
- This has no relevance, if you didn't allow for a full LAPACK build.
-
-
diff --git a/libraries/atlas/TimingResults.txt b/libraries/atlas/TimingResults.txt
deleted file mode 100644
index 4cc33c0093..0000000000
--- a/libraries/atlas/TimingResults.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-MACHINE: Intel Core2 Duo T9600 @ 2.80GHz
-COMPILER: gcc 5.3.0 (as shipped with Slackware Linux 14.2)
-
-The times labeled Reference are for ATLAS as installed by the authors.
-NAMING ABBREVIATIONS:
- kSelMM : selected matmul kernel (may be hand-tuned)
- kGenMM : generated matmul kernel
- kMM_NT : worst no-copy kernel
- kMM_TN : best no-copy kernel
- BIG_MM : large GEMM timing (usually N=1600); estimate of asymptotic peak
- kMV_N : NoTranspose matvec kernel
- kMV_T : Transpose matvec kernel
- kGER : GER (rank-1 update) kernel
-Kernel routines are not called by the user directly, and their
-performance is often somewhat different than the total
-algorithm (eg, dGER perf may differ from dkGER)
-
-
-AFTER A PARTIAL SEARCH, ARCH IDENTIFIED AS Core232SSE3
-======================================================
-
-Reference clock rate=2493Mhz, new rate=2801Mhz
- Refrenc : % of clock rate achieved by reference install
- Present : % of clock rate achieved by present ATLAS install
-
- single precision double precision
- ******************************** *******************************
- real complex real complex
- --------------- --------------- --------------- ---------------
-Benchmark Refrenc Present Refrenc Present Refrenc Present Refrenc Present
-========= ======= ======= ======= ======= ======= ======= ======= =======
- kSelMM 578.5 363.2 564.7 577.7 334.6 352.5 325.1 336.5
- kGenMM 156.3 101.2 156.5 102.0 159.9 159.2 161.7 97.3
- kMM_NT 134.3 125.8 133.0 127.1 151.6 140.7 151.2 152.9
- kMM_TN 154.8 101.3 152.6 101.1 142.4 90.8 149.7 94.2
- BIG_MM 554.0 350.7 554.6 352.2 318.9 330.7 312.3 324.5
- kMV_N 63.6 71.7 106.8 62.5 29.7 40.3 56.5 71.8
- kMV_T 64.7 74.7 108.0 79.3 32.5 44.9 60.5 65.8
- kGER 45.9 37.9 88.6 61.2 22.1 19.7 45.5 44.5
-
-
-AFTER A FULL SEARCH
-===================
-
-Reference clock rate=2493Mhz, new rate=2801Mhz
- Refrenc : % of clock rate achieved by reference install
- Present : % of clock rate achieved by present ATLAS install
-
- single precision double precision
- ******************************** *******************************
- real complex real complex
- --------------- --------------- --------------- ---------------
-Benchmark Refrenc Present Refrenc Present Refrenc Present Refrenc Present
-========= ======= ======= ======= ======= ======= ======= ======= =======
- kSelMM 578.5 624.7 564.7 572.9 334.6 347.2 325.1 334.3
- kGenMM 156.3 156.0 156.5 155.4 159.9 163.2 161.7 163.2
- kMM_NT 134.3 104.8 133.0 96.9 151.6 140.5 151.2 144.5
- kMM_TN 154.8 170.8 152.6 163.5 142.4 122.0 149.7 127.9
- BIG_MM 554.0 527.8 554.6 558.3 318.9 331.3 312.3 331.0
- kMV_N 63.6 72.1 106.8 118.8 29.7 44.8 56.5 79.1
- kMV_T 64.7 78.8 108.0 134.4 32.5 45.5 60.5 88.3
- kGER 45.9 40.2 88.6 74.6 22.1 21.7 45.5 44.8
diff --git a/libraries/atlas/atlas.SlackBuild b/libraries/atlas/atlas.SlackBuild
deleted file mode 100644
index 2be0b386e8..0000000000
--- a/libraries/atlas/atlas.SlackBuild
+++ /dev/null
@@ -1,426 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ATLAS
-
-# Copyright 2010-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.
-
-PRGNAM=atlas
-VERSION=${VERSION:-3.10.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=""
- BITSize="32" # Specifically for ATLAS
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- BITSize="32" # Specifically for ATLAS
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITSize="64" # Specifically for ATLAS
-fi
-
-# If you don't want to use architectural defaults set the following to
-# something like "no".
-#
-USE_ARCH_DEFAULTS=${USE_ARCH_DEFAULTS:-yes}
-
-# If you decide to use arch defaults and have some custom ones you may
-# set the following variable to point to the directory containing these.
-#
-# If you decide to not use arch defauts and wish to create some after a build
-# with full search, set the following variable to point to the directory where
-# the file containing them should be placed.
-# IMPORTANT: In this case, the file copied to ARCH_DEF_DIR will not be part of
-# the ATLAS package, to avoid problems in case of an upgrade on the
-# same machine. The value of ARCH_DEF_DIR will be written for your
-# reference to the file named ARCH_DEF_DIR within the doc directory
-# of ATLAS.
-#
-ARCH_DEF_DIR=${ARCH_DEF_DIR:-""}
-
-# If you are on another architecture than x86 and/or don't use gcc you need to
-# set the following variable to "yes".
-#
-USE_DWALL=${USE_DWALL:-no}
-
-# You may wish to set the level 2 cache size to the proper value. The default
-# is to deduce it from /proc/cpuinfo
-#
-L2_CACHE_SIZE=${L2_CACHE_SIZE:-"auto"}
-
-if [ "$L2_CACHE_SIZE" = "auto" ]; then
- L2_CACHE_SIZE="$(cat /proc/cpuinfo |grep "cache size"| head -n 1| cut -d ":" -s -f2| cut -d " " -s -f2)"
- L2_SIZE_UNIT="$(cat /proc/cpuinfo |grep "cache size"| head -n 1| cut -d " " -s -f4)"
- case "$L2_SIZE_UNIT" in
- "KB") L2_CACHE_SIZE=$(($L2_CACHE_SIZE * 1024))
- ;;
- "MB") L2_CACHE_SIZE=$(($L2_CACHE_SIZE * 1024 * 1024))
- ;;
- "GB") L2_CACHE_SIZE=$(($L2_CACHE_SIZE * 1024 * 1024 * 1024))
- ;;
- esac
-fi
-
-# Check the value of L2_CACHE_SIZE
-#
-case "$L2_CACHE_SIZE" in
- ''|'0'|*[!0-9]*) echo "ERROR: The value of L2_CACHE_SIZE is not a strictly positive integer!"
- exit 1
- ;;
-esac
-
-# Set the (maximum) number of threads. If this is 0 just the serial libs get
-# built, even on an SMP machine. By default it's set to -1 for autodetection.
-#
-NUM_THREADS=${NUM_THREADS:-"-1"}
-case "$NUM_THREADS" in
- '-1'|'0') echo -n # Do nothing
- ;;
- '1') NUM_THREADS="0" # One processor => no threading
- ;;
- ''|*[!0-9]*) echo "ERROR: NUM_THREADS has an improper value!"
- exit 1
- ;;
-esac
-
-if [ $NUM_THREADS -gt 1 ]; then
- # On SMP machines one may want to set the processors to be used (see
- # atlas_install.pdf, p. 13). By default the list of processor ID's is empty
- # which means that ATLAS may use whatever is available.
- # NOTE: This is incompatible with the autodetection of the number of threads.
- # Therefore NUM_THREADS must be greater than 1.
- #
- USE_PROCESSORS=${USE_PROCESSORS:-""}
- if [ -z "$USE_PROCESSORS" ]; then
- MT_SWITCH="-t $NUM_THREADS"
- else
- MT_SWITCH="--force-tids=\"$NUM_THREADS $USE_PROCESSORS\""
- fi
-else
- MT_SWITCH="-t $NUM_THREADS"
-fi
-
-# Decide upon building full LAPACK or not. Set LAPACK_SOURCE to the empty
-# string, if you don't want a full LAPACK build.
-#
-LAPACK_SOURCE=${LAPACK_SOURCE:-"/usr/share/lapack-atlas/lapack.tgz"}
-if [ -z "$LAPACK_SOURCE" ]; then
- echo
- echo "WARNING"
- echo "WARNING: No LAPACK source specified. Just the highly restricted LAPACK"
- echo " offered by ATLAS will get compiled!"
- echo "WARNING"
- echo
- sleep 3
-else
- tar -tf "$LAPACK_SOURCE" > /dev/null 2>&1 || \
- { echo "ERROR: Improper LAPACK source archive!" \
- && echo " Please check $LAPACK_SOURCE" \
- && echo " and set it properly! " \
- && exit 1; } # NOTE: Here we just test that we deal with a tar archive.
- LAPACK_SOURCE="--with-netlib-lapack-tarfile=$LAPACK_SOURCE"
-
- # Change the following to yes if you would like to run the tests for LAPACK.
- #
- TEST_LAPACK="${TEST_LAPACK:-no}"
- # Make Y or N out of yes, Yes, No, no, etc.
- #
- TEST_LAPACK=$(echo "$TEST_LAPACK"|cut -b 1|tr a-z A-Z)
-fi
-
-# Decide upon building shared libraries or not. By default we ask for shared
-# libs too. If one doesn't want this, she has to just set SHARED_SWITCH to the
-# empty string.
-#
-SHARED_SWITCH=${SHARED_SWITCH:-"--shared"}
-
-# This is the timer to be used for LAPACK. If you stay with gfortran,
-# presently the default compiler on Slackware, you can leave the value as is.
-# Otherwise, please read LAPACK's make.inc.example for more informations.
-#
-LAPACK_TIMER="${LAPACK_TIMER:-INT_ETIME}"
-
-# This is the system destination directory. When installing the
-# package produced by this script, ATLAS's files will be written to
-# $SYS_DESTDIR/include, $SYS_DESTDIR/include/atlas, $SYS_DESTDIR/lib
-# or $SYS_DESTDIR/lib64 ond appropriate platforms, etc.
-# Nevertheless, by default the documentation files go to
-# /usr/doc/$PRGNAM-$VERSION. You may change this through the variable
-# DEFAULT_DOCS, see below.
-#
-SYS_DESTDIR=${SYS_DESTDIR:-/usr}
-
-# Check if SYS_DESTDIR is an absolute path. If not, exit with error.
-# NOTE: The $ is used because echo adds a \n at the end of the string.
-#
-echo $SYS_DESTDIR | grep -vE '/\.\./|/\.\.$' | grep -qE '^/' || \
-{ echo "ERROR: The system destination directory has no absolute path!" \
-&& echo " The value of SYS_DESTDIR is $SYS_DESTDIR" \
-&& echo " Please set it properly! " \
-&& exit 1; }
-
-# You may want to have the documentation files installed under
-# $SYS_DESTDIR/doc/$PRGNAM-$VERSION not /usr/doc/$PRGNAM-$VERSION.
-# To achieve this just set the following variable to something like
-# "no".
-#
-DEFAULT_DOCS=${DEFAULT_DOCS:-yes}
-
-# The build directory to be created within the source directory of
-# ATLAS.
-#
-BLDdir="BuildDir"
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}${VERSION}.tar.bz2
-mv ATLAS $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 {} \;
-
-# Set the proper value to USE_ARCH_DEFAULTS, and the proper value to the
-# configure switch needed in case you want to use custom arch defaults.
-#
-ARCH_DIR_SWITCH=""
-case "$USE_ARCH_DEFAULTS" in
- [yY]|[yY][eE]|[yY][eE][sS]) USE_ARCH_DEFAULTS="1"
- [ -z "$ARCH_DEF_DIR" ] || \
- ARCH_DIR_SWITCH="-Ss ADdir $ARCH_DEF_DIR"
- ;;
- *) USE_ARCH_DEFAULTS="0" ;;
-esac
-
-mkdir -p $BLDdir
-cd $BLDdir
-
-# Configure atlas.
-#
-case "$USE_DWALL" in
- [yY]|[yY][eE]|[yY][eE][sS])
- # Here we assume that we aren't on a x86 machine
- # and/or gcc isn't the compiler to be used.
- #
- ../configure $SHARED_SWITCH \
- --prefix="$SYS_DESTDIR" \
- $LAPACK_SOURCE \
- $MT_SWITCH \
- -Si archdef "$USE_ARCH_DEFAULTS" \
- $ARCH_DIR_SWITCH \
- -b "$BITSize" -D c -DWALL
- ;;
- *)
- # Here we assume that we are on a x86 machine
- # (be it 32 or 64 bits) and gcc is the compiler
- # to be used.
- #
- # Get the CPU frequency for good timing.
- #
- CPU_FREQ="$(cat /proc/cpuinfo |grep "cpu MHz"| head -n 1| cut -d ":" -s -f2| tr -d [:blank:])"
- #
- ../configure $SHARED_SWITCH \
- --prefix="$SYS_DESTDIR" \
- $LAPACK_SOURCE \
- $MT_SWITCH \
- -Si archdef "$USE_ARCH_DEFAULTS" \
- $ARCH_DIR_SWITCH \
- -b "$BITSize" \
- -D c -DPentiumCPS="$CPU_FREQ"
- ;;
-esac
-
-# NOTES ON SOME FLAGS FOR CONFIGURE
-#
-# SHARED_SWITCH = "--shared" asks for building the shared libraries too
-# -Si archdef "$USE_ARCH_DEFAULTS" means that we ignore or not architectural defaults depending
-# upon the value of "$USE_ARCH_DEFAULTS".
-# -b "$BITSize" tells ATLAS about the platform's bitsize, 32 or 64.
-# -D c -DPentiumCPS="$CPU_FREQ" is for achieving good timing on x86 platforms with gcc.
-# -D c -DWALL is for achieving good timing on non x86 platforms and/or non gcc compilers
-
-# Write the value of L2_CACHE_SIZE to Make.inc
-#
-sed -i -r Make.inc -e \
- "s%L2SIZE = -DL2SIZE=[0-9]+%L2SIZE = -DL2SIZE=$L2_CACHE_SIZE%"
-
-# Allow for deprecated LAPACK routines to get build in case of a full LAPACK
-# installation. Also set the LAPACK timer to the desired value and add
-# -frecursive to the compile flags, since this should help avoid problems
-# with some functions which seem otherwise to not be thread safe.
-#
-if [ "$LAPACK_SOURCE" ]; then
- sed -i ./src/lapack/reference/make.inc.example -e \
- "s%^#MAKEDEPRECATED *=.*Yes%MAKEDEPRECATED = Yes%"
- sed -i ./interfaces/lapack/F77/src/Makefile -e \
- "s%NONE%$LAPACK_TIMER%" -e \
- "s%F77FLAGS)@%F77FLAGS) -frecursive@%" -e \
- "s%F77NOOPT)@%F77NOOPT) -frecursive@%"
-fi
-
-make build
-make check
-
-# If parallel libraries have been compiled check them too.
-#
-if [ -f lib/libptcblas.a ]; then
- make ptcheck
-fi
-
-# If the full LAPACK got build one may wish to test it too.
-#
-if [ "$LAPACK_SOURCE" ]; then
- if [ "$TEST_LAPACK" = "Y" ]; then
- ( cd src/lapack/reference
- [ -e ./libtmglib.a ] || make tmglib
- # Some testers segfault when build with -frecursive if one doesn't
- # increase the stack size limit, thus it's better to remove this flag
- # from make.inc
- #
- sed -i make.inc -e "s%-frecursive%%"
-
- # Now we have to set the proper library paths. Here for the serial libs.
- #
- ATLAS_LIBS="../../../../../lib/libf77blas.a ../../../../../lib/libcblas.a"
- ATLAS_LIBS="$ATLAS_LIBS ../../../../../lib/libatlas.a"
- LAPACK_LIB="../../../lib/liblapack.a"
-
- sed -i make.inc -e \
- "s%^BLASLIB *=.*%BLASLIB = $ATLAS_LIBS%" -e \
- "s%^CBLASLIB *=.*%CBLASLIB =%" -e \
- "s%^LAPACKLIB *=.*%LAPACKLIB = $LAPACK_LIB%"
-
- # Perform the tests.
- #
- make lapack_testing
-
- # Put the test results together
- #
- tar czf TEST_SERIAL_RESULTS.tgz TESTING/*.out
-
- # If threaded libs got build, we repeat the tests with them.
- #
- if [ -e ../../../lib/libptlapack.a ]; then
- make cleantesting
- ATLAS_LIBS="../../../../../lib/libptf77blas.a"
- ATLAS_LIBS="$ATLAS_LIBS ../../../../../lib/libptcblas.a"
- ATLAS_LIBS="$ATLAS_LIBS ../../../../../lib/libatlas.a -lpthread"
- LAPACK_LIB="../../../lib/libptlapack.a"
- sed -i make.inc -e \
- "s%^BLASLIB *=.*%BLASLIB = $ATLAS_LIBS%" -e \
- "s%^LAPACKLIB *=.*%LAPACKLIB = $LAPACK_LIB%"
- make lapack_testing
- tar czf TEST_PT_RESULTS.tgz TESTING/*.out
- fi
- )
- fi
-fi
-
-make install DESTDIR=${PKG}${SYS_DESTDIR}
-
-# The install script (sometimes) "forgets" about libptlapack.a
-#
-cp -ua lib/libptlapack.a ${PKG}${SYS_DESTDIR}/lib/ || 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
-
-# This is probably the easiest way to make sure that we install in the
-# proper place.
-#
-if [ "$LIBDIRSUFFIX" ]; then
- mv ${PKG}${SYS_DESTDIR}/lib ${PKG}${SYS_DESTDIR}/lib${LIBDIRSUFFIX}
-fi
-
-# Create the doc directory for atlas and populate it.
-#
-case "$DEFAULT_DOCS" in
- [nN]|[nN][oO]) DOC_DIR="$PKG$SYS_DESTDIR/doc/$PRGNAM-$VERSION" ;;
- *) DOC_DIR="$PKG/usr/doc/$PRGNAM-$VERSION" ;;
-esac
-mkdir -p ${DOC_DIR}
-cp -a ../INSTALL.txt ../README ../doc ${DOC_DIR}
-
-# Add the Slackbuild script and README.SLACKWARE to the docs.
-#
-cat $CWD/$PRGNAM.SlackBuild > $DOC_DIR/$PRGNAM.SlackBuild
-cat $CWD/README.SLACKWARE > $DOC_DIR/README.SLACKWARE
-
-# Create custom arch defaults if appropriate.
-#
-if [ "$USE_ARCH_DEFAULTS" = "0" ]; then
- if [ "$ARCH_DEF_DIR" ]; then
- ( cd ARCHS
- make ArchNew
- make tarfile
- cp -ua *.tar.* "$ARCH_DEF_DIR"
- )
- echo "$ARCH_DEF_DIR" > $DOC_DIR/ARCH_DEF_DIR
- fi
-fi
-
-# If the full LAPACK got installed add also some relevant files from its source
-# tree.
-#
-if [ "$LAPACK_SOURCE" ]; then
- ( cd src/lapack/reference
- LAPACK_VER=$(./INSTALL/testversion | sed -e "s% *LAPACK *%%" -e "s% *%%g")
- LAPACK_DOC_DIR="${DOC_DIR}/lapack-$LAPACK_VER"
- mkdir "$LAPACK_DOC_DIR"
- cp -a LICENSE README "$LAPACK_DOC_DIR"
-
- # Copy the test results if present (getting around "set -e" with "echo -n").
- #
- cp -a TEST_* "$LAPACK_DOC_DIR" 2>/dev/null || echo -n
- )
-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:-tgz}
diff --git a/libraries/atlas/atlas.info b/libraries/atlas/atlas.info
deleted file mode 100644
index 72483a6644..0000000000
--- a/libraries/atlas/atlas.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="atlas"
-VERSION="3.10.3"
-HOMEPAGE="http://math-atlas.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/math-atlas/atlas3.10.3.tar.bz2"
-MD5SUM="d6ce4f16c2ad301837cfb3dade2f7cef"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="lapack-atlas"
-MAINTAINER="Serban Udrea"
-EMAIL="S.Udrea@gsi.de"
diff --git a/libraries/atlas/atlas.patch b/libraries/atlas/atlas.patch
deleted file mode 100644
index dea4dcc0b2..0000000000
--- a/libraries/atlas/atlas.patch
+++ /dev/null
@@ -1,5072 +0,0 @@
-diff -rupN ATLAS/CONFIG/src/backend/archinfo_x86.c atlas-3.8.3/CONFIG/src/backend/archinfo_x86.c
---- ATLAS/CONFIG/src/backend/archinfo_x86.c 2009-02-18 19:47:37.000000000 +0100
-+++ atlas-3.8.3/CONFIG/src/backend/archinfo_x86.c 2009-11-12 13:47:23.777451677 +0100
-@@ -320,7 +320,7 @@ enum MACHTYPE Chip2Mach(enum CHIP chip,
- iret = IntP4;
- break;
- case 3:
-- case 4:
-+ case 4: ; case 6:
- iret = IntP4E;
- break;
- default:
-diff -rupN ATLAS/include/atlas_lvl3.h atlas-3.8.3/include/atlas_lvl3.h
---- ATLAS/include/atlas_lvl3.h 2009-02-18 19:47:35.000000000 +0100
-+++ atlas-3.8.3/include/atlas_lvl3.h 2009-11-12 13:52:49.308496090 +0100
-@@ -126,7 +126,7 @@
- #define CPAT Mjoin(C_ATL_, PRE);
-
- #ifndef ATL_MaxMalloc
-- #define ATL_MaxMalloc 67108864
-+ #define ATL_MaxMalloc XXX_MaxMalloc_XXX
- #endif
-
- typedef void (*MAT2BLK)(int, int, const TYPE*, int, TYPE*, const SCALAR);
-diff -rupN ATLAS/src/blas/gemm/ATL_cmmJITcp.c atlas-3.8.3/src/blas/gemm/ATL_cmmJITcp.c
---- ATLAS/src/blas/gemm/ATL_cmmJITcp.c 2009-02-18 19:47:44.000000000 +0100
-+++ atlas-3.8.3/src/blas/gemm/ATL_cmmJITcp.c 2009-11-12 12:44:34.816529051 +0100
-@@ -268,7 +268,8 @@ static void Mjoin(PATL,mmK)
- {
- NBmm0 = NBmm1 = NBmmX = Mjoin(PATLU,pKBmm);
- if (SCALAR_IS_ZERO(beta))
-- Mjoin(PATL,gezero)(M, N, C, ldc);
-+ /* Mjoin(PATL,gezero)(M, N, C, ldc); */
-+ { Mjoin(PATLU,gezero)(M, N, pC, ldpc); Mjoin(PATLU,gezero)(M, N, pC+ipc, ldpc); }
- }
- if (nblk)
- {
-diff -rupN ATLAS/src/blas/gemm/ATL_gereal2cplx.c atlas-3.8.3/src/blas/gemm/ATL_gereal2cplx.c
---- ATLAS/src/blas/gemm/ATL_gereal2cplx.c 2009-02-18 19:47:44.000000000 +0100
-+++ atlas-3.8.3/src/blas/gemm/ATL_gereal2cplx.c 2009-11-12 12:49:49.331651677 +0100
-@@ -43,7 +43,53 @@ void Mjoin(PATL,gereal2cplx)
- const int ldc2 = (ldc-M)<<1;
- int i, j;
-
-- if (ialp == ATL_rzero && ibet == ATL_rzero)
-+/*
-+ * Cannot read C if BETA is 0
-+ */
-+ if (rbet == ATL_rzero && ibet == ATL_rzero)
-+ {
-+ if (ialp == ATL_rzero) /* alpha is a real number */
-+ {
-+ if (ralp == ATL_rone) /* alpha = 1.0 */
-+ {
-+ for (j=0; j < N; j++, R += ldr, I += ldi, C += ldc2)
-+ {
-+ for (i=0; i < M; i++, C += 2)
-+ {
-+ *C = R[i];
-+ C[1] = I[i];
-+ }
-+ }
-+ }
-+ else
-+ {
-+ for (j=0; j < N; j++, R += ldr, I += ldi, C += ldc2)
-+ {
-+ for (i=0; i < M; i++, C += 2)
-+ {
-+ *C = ralp * R[i];
-+ C[1] = ralp * I[i];
-+ }
-+ }
-+ }
-+ }
-+ else /* alpha is a complex number */
-+ {
-+ for (j=0; j < N; j++, R += ldr, I += ldi, C += ldc2)
-+ {
-+ for (i=0; i < M; i++, C += 2)
-+ {
-+ ra = R[i]; ia = I[i];
-+ C[0] = ralp * ra - ialp * ia;
-+ C[1] = ralp * ia + ialp * ra;
-+ }
-+ }
-+ }
-+ }
-+/*
-+ * If alpha and beta are both real numbers
-+ */
-+ else if (ialp == ATL_rzero && ibet == ATL_rzero)
- {
- if (ralp == ATL_rone && rbet == ATL_rone)
- {
-diff -rupN ATLAS/tune/blas/gemm/CASES/ATL_smm14x1x84_sseCU.c atlas-3.8.3/tune/blas/gemm/CASES/ATL_smm14x1x84_sseCU.c
---- ATLAS/tune/blas/gemm/CASES/ATL_smm14x1x84_sseCU.c 2009-02-18 19:48:26.000000000 +0100
-+++ atlas-3.8.3/tune/blas/gemm/CASES/ATL_smm14x1x84_sseCU.c 2009-11-12 12:35:50.453038827 +0100
-@@ -27,6 +27,13 @@
- * POSSIBILITY OF SUCH DAMAGE.
- *
- */
-+#if KB > 84
-+ #error "KB cannot exceed 84!"
-+#endif
-+#if (KB/4)*4 != KB
-+ #error "KB must be a multiple of 4!"
-+#endif
-+
- #ifndef ATL_GAS_x8664
- #error "This kernel requires x86-64 assembly!"
- #endif
-@@ -58,25 +65,25 @@
- * Integer register usage shown be these defines
- */
- #define pA %rcx
--#define pA10 %rbx
--#define ldab %rbp
--#define mldab %rdx
-+#define pA10 %rbx
-+#define ldab %rbp
-+#define mldab %rdx
- #define mldab5 %rax
- #define pB %rdi
- #define pC %rsi
- #define incCn %r10
- #define stM %r9
- #define stN %r11
--#define pfA %r8
--#define pA5 pA
--#define pB0 pB
-+#define pfA %r8
-+#define pA5 pA
-+#define pB0 pB
- #if MB == 0
-- #define stM0 %r12
-- #define incAm %r13
-+ #define stM0 %r12
-+ #define incAm %r13
- #endif
- /* rax used in 32/64 conversion */
-
--#define NBso (KB*4)
-+#define NBso (KB*4)
- #define MBKBso (MB*KB*4)
- #define NB2so (NBso+NBso)
- #define NB3so (NBso+NBso+NBso)
-@@ -95,22 +102,22 @@
- /*
- * SSE2 register usage shown be these defines
- */
--#define rA0 %xmm0
--#define rB0 %xmm1
--#define rC0 %xmm2
--#define rC1 %xmm3
--#define rC2 %xmm4
--#define rC3 %xmm5
--#define rC4 %xmm6
--#define rC5 %xmm7
--#define rC6 %xmm8
--#define rC7 %xmm9
--#define rC8 %xmm10
--#define rC9 %xmm11
--#define rC10 %xmm12
--#define rC11 %xmm13
--#define rC12 %xmm14
--#define rC13 %xmm15
-+#define rA0 %xmm0
-+#define rB0 %xmm1
-+#define rC0 %xmm2
-+#define rC1 %xmm3
-+#define rC2 %xmm4
-+#define rC3 %xmm5
-+#define rC4 %xmm6
-+#define rC5 %xmm7
-+#define rC6 %xmm8
-+#define rC7 %xmm9
-+#define rC8 %xmm10
-+#define rC9 %xmm11
-+#define rC10 %xmm12
-+#define rC11 %xmm13
-+#define rC12 %xmm14
-+#define rC13 %xmm15
- /*
- * Prefetch defines
- */
-@@ -127,99 +134,99 @@
- #if MB != 0
- #define incAm $MBKBso-NB14so+176
- #endif
-- .text
-+ .text
- .global ATL_asmdecor(ATL_USERMM)
- ATL_asmdecor(ATL_USERMM):
- /*
- * Save callee-saved iregs
- */
-- movq %rbp, -8(%rsp)
-- movq %rbx, -16(%rsp)
-+ movq %rbp, -8(%rsp)
-+ movq %rbx, -16(%rsp)
- #if MB == 0
-- movq %r12, -32(%rsp)
-- movq %r13, -40(%rsp)
-+ movq %r12, -32(%rsp)
-+ movq %r13, -40(%rsp)
- #endif
- #ifdef BETAX
- #define BOF -56
-- movss %xmm1, BOF(%rsp)
-- movss %xmm1, BOF+4(%rsp)
-- movss %xmm1, BOF+8(%rsp)
-- movss %xmm1, BOF+12(%rsp)
-+ movss %xmm1, BOF(%rsp)
-+ movss %xmm1, BOF+4(%rsp)
-+ movss %xmm1, BOF+8(%rsp)
-+ movss %xmm1, BOF+12(%rsp)
- #endif
- /*
- * pA already comes in right reg
- * Initialize pB = B; pC = C; NBso = NB * sizeof;
- */
-- movq %rsi, stN
-- movq %rdi, %rax
-- movq 16(%rsp), pC
-- prefC((pC))
-- prefC(64(pC))
-- movq %r9, pB
-- prefB((pB))
-- prefB(64(pB))
-- movq %rax, stM
-+ movq %rsi, stN
-+ movq %rdi, %rax
-+ movq 16(%rsp), pC
-+ prefC((pC))
-+ prefC(64(pC))
-+ movq %r9, pB
-+ prefB((pB))
-+ prefB(64(pB))
-+ movq %rax, stM
- /*
- * stM = pA + NBNBso; stN = pB + NBNBso;
- */
- #if MB == 0
-- movq stM, pfA
-- imulq $NBso, pfA
-- prefB(128(pB))
-- movq pfA, incAm
-- addq pA5, pfA
-- addq $176-NB14so, incAm
-+ movq stM, pfA
-+ imulq $NBso, pfA
-+ prefB(128(pB))
-+ movq pfA, incAm
-+ addq pA5, pfA
-+ addq $176-NB14so, incAm
- #else
-- movq $MBKBso, pfA
-- addq pA5, pfA
-- prefB(128(pB))
-+ movq $MBKBso, pfA
-+ addq pA5, pfA
-+ prefB(128(pB))
- #endif
- /*
- * convert ldc to 64 bits, and then set incCn = (ldc - MB)*sizeof
- */
-- movl 24(%rsp), %eax
-- cltq
-- movq %rax, incCn
-- subq stM, incCn
-- addq $14, incCn
-+ movl 24(%rsp), %eax
-+ cltq
-+ movq %rax, incCn
-+ subq stM, incCn
-+ addq $14, incCn
- #ifdef SREAL
-- shl $2, incCn
-+ shl $2, incCn
- #else
-- shl $3, incCn
-- prefC(128(pC))
-- prefC(192(pC))
-+ shl $3, incCn
-+ prefC(128(pC))
-+ prefC(192(pC))
- #endif
- /*
- * Find M/14 if MB is not set
- */
- #if MB == 0
-- cmp $84, stM
-- jne MB_LT84
--/* movq $84/14, stM */
-- movq $6, stM
-+ cmp $84, stM
-+ jne MB_LT84
-+/* movq $84/14, stM */
-+ movq $6, stM
- MBFOUND:
-- subq $1, stM
-- movq stM, stM0
-+ subq $1, stM
-+ movq stM, stM0
- #endif
-- addq $120, pA5
-- addq $120, pB0
-- movq $KB*4, ldab
-- movq $-KB*5*4, mldab5
-- movq $-KB*4, mldab
-- subq mldab5, pA5
-- lea KB*4(pA5, ldab,4), pA10
--/* movq $NB, stN */
-+ addq $120, pA5
-+ addq $120, pB0
-+ movq $KB*4, ldab
-+ movq $-KB*5*4, mldab5
-+ movq $-KB*4, mldab
-+ subq mldab5, pA5
-+ lea KB*4(pA5, ldab,4), pA10
-+/* movq $NB, stN */
-
- UNLOOP:
- #if MB == 0
-- movq stM0, stM
-- cmp $0, stM
-- je MLAST
-+ movq stM0, stM
-+ cmp $0, stM
-+ je MLAST
- #else
- #ifdef ATL_DivAns
-- movq $ATL_DivAns-1, stM
-+ movq $ATL_DivAns-1, stM
- #else
-- movq $MB/14-1, stM
-+ movq $MB/14-1, stM
- #endif
- #endif
- #if MB == 0 || MB > 14
-@@ -227,992 +234,992 @@ UMLOOP:
- /*
- * rC[0-13] = pC[0-13] * beta
- */
-- ALIGN16
-+ ALIGN16
- /*UKLOOP: */
- #ifdef BETA1
-- movaps 0-120(pA10,mldab5,2), rC0
-- movaps 0-120(pB0), rB0
-- mulps rB0, rC0
-- addss (pC), rC0
-- movaps 0-120(pA5, mldab,4), rC1
-- mulps rB0, rC1
-- addss CMUL(4)(pC), rC1
-- movaps 0-120(pA10, mldab,8), rC2
-- mulps rB0, rC2
-- addss CMUL(8)(pC), rC2
-- movaps 0-120(pA5, mldab,2), rC3
-- mulps rB0, rC3
-- addss CMUL(12)(pC), rC3
-- movaps 0-120(pA5, mldab), rC4
-- mulps rB0, rC4
-- addss CMUL(16)(pC), rC4
-- movaps 0-120(pA5), rC5
-- mulps rB0, rC5
-- addss CMUL(20)(pC), rC5
-- movaps 0-120(pA5, ldab), rC6
-- mulps rB0, rC6
-- addss CMUL(24)(pC), rC6
-- movaps 0-120(pA5, ldab,2), rC7
-- mulps rB0, rC7
-- addss CMUL(28)(pC), rC7
-- movaps 0-120(pA10, mldab,2), rC8
-- mulps rB0, rC8
-- addss CMUL(32)(pC), rC8
-- movaps 0-120(pA5,ldab,4), rC9
-- mulps rB0, rC9
-- addss CMUL(36)(pC), rC9
-- movaps 0-120(pA10), rC10
-- mulps rB0, rC10
-- addss CMUL(40)(pC), rC10
-- movaps 0-120(pA10,ldab), rC11
-- mulps rB0, rC11
-- addss CMUL(44)(pC), rC11
-- movaps 0-120(pA10,ldab,2), rC12
-- mulps rB0, rC12
-- addss CMUL(48)(pC), rC12
-- movaps 0-120(pA5,ldab,8), rC13
-- mulps rB0, rC13
-- addss CMUL(52)(pC), rC13
-+ movaps 0-120(pA10,mldab5,2), rC0
-+ movaps 0-120(pB0), rB0
-+ mulps rB0, rC0
-+ addss (pC), rC0
-+ movaps 0-120(pA5, mldab,4), rC1
-+ mulps rB0, rC1
-+ addss CMUL(4)(pC), rC1
-+ movaps 0-120(pA10, mldab,8), rC2
-+ mulps rB0, rC2
-+ addss CMUL(8)(pC), rC2
-+ movaps 0-120(pA5, mldab,2), rC3
-+ mulps rB0, rC3
-+ addss CMUL(12)(pC), rC3
-+ movaps 0-120(pA5, mldab), rC4
-+ mulps rB0, rC4
-+ addss CMUL(16)(pC), rC4
-+ movaps 0-120(pA5), rC5
-+ mulps rB0, rC5
-+ addss CMUL(20)(pC), rC5
-+ movaps 0-120(pA5, ldab), rC6
-+ mulps rB0, rC6
-+ addss CMUL(24)(pC), rC6
-+ movaps 0-120(pA5, ldab,2), rC7
-+ mulps rB0, rC7
-+ addss CMUL(28)(pC), rC7
-+ movaps 0-120(pA10, mldab,2), rC8
-+ mulps rB0, rC8
-+ addss CMUL(32)(pC), rC8
-+ movaps 0-120(pA5,ldab,4), rC9
-+ mulps rB0, rC9
-+ addss CMUL(36)(pC), rC9
-+ movaps 0-120(pA10), rC10
-+ mulps rB0, rC10
-+ addss CMUL(40)(pC), rC10
-+ movaps 0-120(pA10,ldab), rC11
-+ mulps rB0, rC11
-+ addss CMUL(44)(pC), rC11
-+ movaps 0-120(pA10,ldab,2), rC12
-+ mulps rB0, rC12
-+ addss CMUL(48)(pC), rC12
-+ movaps 0-120(pA5,ldab,8), rC13
-+ mulps rB0, rC13
-+ addss CMUL(52)(pC), rC13
- #else
-- movaps 0-120(pA10,mldab5,2), rC0
-- movaps 0-120(pB0), rC13
-- mulps rC13, rC0
-- movaps 0-120(pA5, mldab,4), rC1
-- mulps rC13, rC1
-- movaps 0-120(pA10, mldab,8), rC2
-- mulps rC13, rC2
-- movaps 0-120(pA5, mldab,2), rC3
-- mulps rC13, rC3
-- movaps 0-120(pA5, mldab), rC4
-- mulps rC13, rC4
-- movaps 0-120(pA5), rC5
-- mulps rC13, rC5
-- movaps 0-120(pA5, ldab), rC6
-- mulps rC13, rC6
-- movaps 0-120(pA5, ldab,2), rC7
-- mulps rC13, rC7
-- movaps 0-120(pA10, mldab,2), rC8
-- mulps rC13, rC8
-- movaps 0-120(pA5,ldab,4), rC9
-- mulps rC13, rC9
-- movaps 0-120(pA10), rC10
-- mulps rC13, rC10
-- movaps 0-120(pA10,ldab), rC11
-- mulps rC13, rC11
-- movaps 0-120(pA10,ldab,2), rC12
-- mulps rC13, rC12
-- mulps 0-120(pA5,ldab,8), rC13
-+ movaps 0-120(pA10,mldab5,2), rC0
-+ movaps 0-120(pB0), rC13
-+ mulps rC13, rC0
-+ movaps 0-120(pA5, mldab,4), rC1
-+ mulps rC13, rC1
-+ movaps 0-120(pA10, mldab,8), rC2
-+ mulps rC13, rC2
-+ movaps 0-120(pA5, mldab,2), rC3
-+ mulps rC13, rC3
-+ movaps 0-120(pA5, mldab), rC4
-+ mulps rC13, rC4
-+ movaps 0-120(pA5), rC5
-+ mulps rC13, rC5
-+ movaps 0-120(pA5, ldab), rC6
-+ mulps rC13, rC6
-+ movaps 0-120(pA5, ldab,2), rC7
-+ mulps rC13, rC7
-+ movaps 0-120(pA10, mldab,2), rC8
-+ mulps rC13, rC8
-+ movaps 0-120(pA5,ldab,4), rC9
-+ mulps rC13, rC9
-+ movaps 0-120(pA10), rC10
-+ mulps rC13, rC10
-+ movaps 0-120(pA10,ldab), rC11
-+ mulps rC13, rC11
-+ movaps 0-120(pA10,ldab,2), rC12
-+ mulps rC13, rC12
-+ mulps 0-120(pA5,ldab,8), rC13
- #endif
-
- #if KB > 4
-- movaps 16-120(pA10,mldab5,2), rA0
-- movaps 16-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 16-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 16-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 16-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 16-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 16-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 16-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 16-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 16-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 16-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 16-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 16-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 16-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 16-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 16-120(pA10,mldab5,2), rA0
-+ movaps 16-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 16-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 16-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 16-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 16-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 16-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 16-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 16-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 16-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 16-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 16-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 16-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 16-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 16-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 8
-- movaps 32-120(pA10,mldab5,2), rA0
-- movaps 32-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 32-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 32-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 32-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 32-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 32-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 32-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 32-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 32-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 32-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 32-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 32-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 32-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 32-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 32-120(pA10,mldab5,2), rA0
-+ movaps 32-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 32-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 32-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 32-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 32-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 32-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 32-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 32-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 32-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 32-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 32-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 32-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 32-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 32-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 12
-- movaps 48-120(pA10,mldab5,2), rA0
-- movaps 48-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 48-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 48-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 48-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 48-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 48-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 48-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 48-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 48-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 48-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 48-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 48-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 48-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 48-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 48-120(pA10,mldab5,2), rA0
-+ movaps 48-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 48-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 48-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 48-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 48-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 48-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 48-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 48-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 48-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 48-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 48-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 48-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 48-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 48-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 16
-- movaps 64-120(pA10,mldab5,2), rA0
-- movaps 64-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 64-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 64-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 64-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 64-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 64-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 64-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 64-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 64-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 64-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 64-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 64-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 64-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 64-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 64-120(pA10,mldab5,2), rA0
-+ movaps 64-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 64-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 64-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 64-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 64-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 64-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 64-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 64-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 64-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 64-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 64-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 64-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 64-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 64-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 20
-- movaps 80-120(pA10,mldab5,2), rA0
-- movaps 80-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 80-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 80-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 80-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 80-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 80-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 80-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 80-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 80-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 80-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 80-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 80-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 80-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 80-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 80-120(pA10,mldab5,2), rA0
-+ movaps 80-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 80-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 80-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 80-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 80-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 80-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 80-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 80-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 80-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 80-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 80-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 80-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 80-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 80-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 24
-- movaps 96-120(pA10,mldab5,2), rA0
-- movaps 96-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 96-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 96-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 96-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 96-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 96-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 96-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 96-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 96-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 96-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 96-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 96-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 96-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 96-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 96-120(pA10,mldab5,2), rA0
-+ movaps 96-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 96-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 96-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 96-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 96-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 96-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 96-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 96-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 96-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 96-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 96-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 96-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 96-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 96-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 28
-- movaps 112-120(pA10,mldab5,2), rA0
-- movaps 112-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 112-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 112-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 112-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 112-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 112-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 112-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 112-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 112-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 112-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 112-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 112-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 112-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 112-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 112-120(pA10,mldab5,2), rA0
-+ movaps 112-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 112-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 112-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 112-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 112-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 112-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 112-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 112-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 112-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 112-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 112-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 112-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 112-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 112-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
- #ifndef SREAL
-- pref2((pfA))
-- pref2(64(pfA))
-+ pref2((pfA))
-+ pref2(64(pfA))
- #endif
-
- #if KB > 32
-- movaps 128-120(pA10,mldab5,2), rA0
-- movaps 128-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 128-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 128-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 128-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 128-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 128-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 128-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 128-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 128-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 128-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 128-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 128-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 128-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 128-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 128-120(pA10,mldab5,2), rA0
-+ movaps 128-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 128-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 128-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 128-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 128-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 128-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 128-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 128-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 128-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 128-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 128-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 128-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 128-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 128-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 36
-- movaps 144-120(pA10,mldab5,2), rA0
-- movaps 144-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 144-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 144-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 144-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 144-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 144-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 144-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 144-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 144-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 144-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 144-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 144-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 144-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 144-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 144-120(pA10,mldab5,2), rA0
-+ movaps 144-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 144-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 144-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 144-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 144-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 144-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 144-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 144-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 144-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 144-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 144-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 144-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 144-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 144-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 40
-- movaps 160-120(pA10,mldab5,2), rA0
-- movaps 160-120(pB0), rB0
-- mulps rB0, rA0
-- addq $176, pB0
-- addps rA0, rC0
-- movaps 160-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 160-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 160-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 160-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 160-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 160-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 160-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 160-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 160-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 160-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 160-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 160-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addq $176, pA10
-- addps rA0, rC12
-- mulps 160-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-- addq $176, pA5
-+ movaps 160-120(pA10,mldab5,2), rA0
-+ movaps 160-120(pB0), rB0
-+ mulps rB0, rA0
-+ addq $176, pB0
-+ addps rA0, rC0
-+ movaps 160-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 160-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 160-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 160-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 160-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 160-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 160-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 160-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 160-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 160-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 160-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 160-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addq $176, pA10
-+ addps rA0, rC12
-+ mulps 160-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
-+ addq $176, pA5
- #else
-- addq $176, pB0
-- addq $176, pA10
-- addq $176, pA5
-+ addq $176, pB0
-+ addq $176, pA10
-+ addq $176, pA5
- #endif
-
- #if KB > 44
-- movaps 0-120(pA10,mldab5,2), rA0
-- movaps 0-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 0-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 0-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 0-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 0-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 0-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 0-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 0-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 0-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 0-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 0-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 0-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 0-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 0-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 0-120(pA10,mldab5,2), rA0
-+ movaps 0-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 0-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 0-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 0-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 0-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 0-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 0-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 0-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 0-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 0-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 0-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 0-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 0-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 0-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 48
-- movaps 16-120(pA10,mldab5,2), rA0
-- movaps 16-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 16-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 16-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 16-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 16-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 16-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 16-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 16-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 16-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 16-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 16-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 16-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 16-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 16-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 16-120(pA10,mldab5,2), rA0
-+ movaps 16-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 16-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 16-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 16-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 16-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 16-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 16-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 16-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 16-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 16-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 16-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 16-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 16-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 16-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 52
-- movaps 32-120(pA10,mldab5,2), rA0
-- movaps 32-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 32-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 32-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 32-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 32-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 32-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 32-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 32-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 32-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 32-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 32-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 32-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 32-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 32-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 32-120(pA10,mldab5,2), rA0
-+ movaps 32-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 32-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 32-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 32-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 32-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 32-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 32-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 32-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 32-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 32-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 32-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 32-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 32-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 32-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 56
-- movaps 48-120(pA10,mldab5,2), rA0
-- movaps 48-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 48-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 48-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 48-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 48-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 48-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 48-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 48-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 48-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 48-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 48-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 48-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 48-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 48-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 48-120(pA10,mldab5,2), rA0
-+ movaps 48-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 48-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 48-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 48-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 48-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 48-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 48-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 48-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 48-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 48-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 48-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 48-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 48-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 48-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 60
-- movaps 64-120(pA10,mldab5,2), rA0
-- movaps 64-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 64-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 64-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 64-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 64-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 64-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 64-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 64-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 64-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 64-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 64-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 64-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 64-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 64-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 64-120(pA10,mldab5,2), rA0
-+ movaps 64-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 64-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 64-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 64-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 64-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 64-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 64-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 64-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 64-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 64-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 64-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 64-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 64-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 64-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 64
-- movaps 80-120(pA10,mldab5,2), rA0
-- movaps 80-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 80-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 80-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 80-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 80-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 80-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 80-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 80-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 80-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 80-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 80-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 80-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 80-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 80-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 80-120(pA10,mldab5,2), rA0
-+ movaps 80-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 80-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 80-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 80-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 80-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 80-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 80-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 80-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 80-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 80-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 80-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 80-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 80-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 80-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 68
-- movaps 96-120(pA10,mldab5,2), rA0
-- movaps 96-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 96-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 96-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 96-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 96-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 96-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 96-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 96-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 96-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 96-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 96-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 96-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 96-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 96-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 96-120(pA10,mldab5,2), rA0
-+ movaps 96-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 96-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 96-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 96-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 96-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 96-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 96-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 96-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 96-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 96-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 96-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 96-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 96-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 96-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 72
-- movaps 112-120(pA10,mldab5,2), rA0
-- movaps 112-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 112-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 112-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 112-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 112-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 112-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 112-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 112-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 112-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 112-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 112-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 112-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 112-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 112-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 112-120(pA10,mldab5,2), rA0
-+ movaps 112-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 112-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 112-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 112-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 112-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 112-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 112-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 112-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 112-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 112-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 112-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 112-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 112-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 112-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 76
-- movaps 128-120(pA10,mldab5,2), rA0
-- movaps 128-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 128-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 128-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 128-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 128-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 128-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 128-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 128-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 128-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 128-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 128-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 128-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 128-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 128-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 128-120(pA10,mldab5,2), rA0
-+ movaps 128-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 128-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 128-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 128-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 128-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 128-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 128-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 128-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 128-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 128-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 128-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 128-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 128-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 128-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 80
-- movaps 144-120(pA10,mldab5,2), rA0
-- movaps 144-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 144-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 144-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 144-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 144-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 144-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 144-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 144-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 144-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 144-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 144-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 144-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 144-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 144-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 144-120(pA10,mldab5,2), rA0
-+ movaps 144-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 144-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 144-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 144-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 144-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 144-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 144-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 144-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 144-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 144-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 144-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 144-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 144-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 144-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- /*UKLOOP */
-@@ -1220,234 +1227,234 @@ UMLOOP:
- * Get these bastard things summed up correctly
- */
-
-- /* rC0 = c0a c0b c0c c0d */
-- /* rC1 = c1a c1b c1c c1d */
-- /* rC2 = c2a c2b c2c c2d */
-- /* rC3 = c3a c3b c3c c3d */
-+ /* rC0 = c0a c0b c0c c0d */
-+ /* rC1 = c1a c1b c1c c1d */
-+ /* rC2 = c2a c2b c2c c2d */
-+ /* rC3 = c3a c3b c3c c3d */
- /* */
-- movaps rC2, rB0 /* rB0 = c2a c2b c2c c2d */
-- prefC((pC))
-- prefC(64(pC))
-- movaps rC0, rA0 /* rA0 = c0a c0b c0c c0d */
-- unpckhps rC3, rB0 /* rB0 = c2c c3c c2d c3d */
-- unpckhps rC1, rA0 /* rA0 = c0c c1c c0d c1d */
-- unpcklps rC3, rC2 /* rC2 = c2a c3a c2b c3b */
-- movlhps rB0, rC3 /* rC3 = c3a c3b c2c c3c */
-- unpcklps rC1, rC0 /* rC0 = c0a c1a c0b c1b */
-- movhlps rA0, rC3 /* rC3 = c0d c1d c2c c3c */
-- movlhps rC2, rA0 /* rA0 = c0c c1c c2a c3a */
-- movhlps rC0, rB0 /* rB0 = c0b c1b c2d c3d */
-- addps rA0, rC3 /* rC3 = c0cd c1cd c2ac c3ac */
-- movlhps rC0, rC1 /* rC1 = c1a c1b c0a c1a */
-- movhlps rC1, rC2 /* rC2 = c0a c1a c2b c3b */
-- movaps rC4, rA0 /* rA0 = c4a c4b c4c c4d */
-- addps rB0, rC2 /* rC2 = c0ab c1ab c2bd c3bd */
-- movaps rC6, rB0 /* rB0 = c6a c6b c6c c6d */
-- addps rC2, rC3 /* rC3 = c0abcd c1abcd c2bdac c3bdac */
--
--
-- /* rC4 = c4a c4b c4c c4d */
-- /* rC5 = c5a c5b c5c c5d */
-- /* rC6 = c6a c6b c6c c6d */
-- /* rC7 = c7a c7b c7c c7d */
-- /* rC8 = c08a c08b c08c c08d */
-- /* rC9 = c09a c09b c09c c09d */
-- /* rC10 = c10a c10b c10c c10d */
-- /* rC11 = c11a c11b c11c c11d */
-- /* rC12 = c12a c12b c12c c12d */
-- /* rC13 = c13a c13b c13c c13d */
-+ movaps rC2, rB0 /* rB0 = c2a c2b c2c c2d */
-+ prefC((pC))
-+ prefC(64(pC))
-+ movaps rC0, rA0 /* rA0 = c0a c0b c0c c0d */
-+ unpckhps rC3, rB0 /* rB0 = c2c c3c c2d c3d */
-+ unpckhps rC1, rA0 /* rA0 = c0c c1c c0d c1d */
-+ unpcklps rC3, rC2 /* rC2 = c2a c3a c2b c3b */
-+ movlhps rB0, rC3 /* rC3 = c3a c3b c2c c3c */
-+ unpcklps rC1, rC0 /* rC0 = c0a c1a c0b c1b */
-+ movhlps rA0, rC3 /* rC3 = c0d c1d c2c c3c */
-+ movlhps rC2, rA0 /* rA0 = c0c c1c c2a c3a */
-+ movhlps rC0, rB0 /* rB0 = c0b c1b c2d c3d */
-+ addps rA0, rC3 /* rC3 = c0cd c1cd c2ac c3ac */
-+ movlhps rC0, rC1 /* rC1 = c1a c1b c0a c1a */
-+ movhlps rC1, rC2 /* rC2 = c0a c1a c2b c3b */
-+ movaps rC4, rA0 /* rA0 = c4a c4b c4c c4d */
-+ addps rB0, rC2 /* rC2 = c0ab c1ab c2bd c3bd */
-+ movaps rC6, rB0 /* rB0 = c6a c6b c6c c6d */
-+ addps rC2, rC3 /* rC3 = c0abcd c1abcd c2bdac c3bdac */
-+
-+
-+ /* rC4 = c4a c4b c4c c4d */
-+ /* rC5 = c5a c5b c5c c5d */
-+ /* rC6 = c6a c6b c6c c6d */
-+ /* rC7 = c7a c7b c7c c7d */
-+ /* rC8 = c08a c08b c08c c08d */
-+ /* rC9 = c09a c09b c09c c09d */
-+ /* rC10 = c10a c10b c10c c10d */
-+ /* rC11 = c11a c11b c11c c11d */
-+ /* rC12 = c12a c12b c12c c12d */
-+ /* rC13 = c13a c13b c13c c13d */
- /* */
-- movaps rC10, rC0 /* rC0 = c10a c10b c10c c10d */
-- prefC(128(pC))
-+ movaps rC10, rC0 /* rC0 = c10a c10b c10c c10d */
-+ prefC(128(pC))
- #ifdef SREAL
-- pref2((pfA))
-+ pref2((pfA))
- #else
-- prefC(192(pC))
-+ prefC(192(pC))
- #endif
-- movaps rC8 , rC1 /* rC1 = c08a c08b c08c c08d */
-- movaps rC12, rC2 /* rC2 = c12a c12b c12c c12d */
-- unpckhps rC7, rB0 /* rB0 = c6c c7c c6d c7d */
-- unpckhps rC5, rA0 /* rA0 = c4c c5c c4d c5d */
-- unpcklps rC7, rC6 /* rC6 = c6a c7a c6b c7b */
-- unpckhps rC11, rC0 /* rC0 = c10c c11c c10d c11d */
-- unpckhps rC9 , rC1 /* rC1 = c08c c09c c08d c09d */
-- movlhps rB0, rC7 /* rC7 = c7a c7b c6c c7c */
-- unpcklps rC5, rC4 /* rC4 = c4a c5a c4b c5b */
-- movhlps rA0, rC7 /* rC7 = c4d c5d c6c c7c */
-- movlhps rC6, rA0 /* rA0 = c4c c5c c6a c7a */
-- unpcklps rC11, rC10 /* rC10 = c10a c11a c10b c11b */
-- movhlps rC4, rB0 /* rB0 = c4b c5b c6d c7d */
-- movlhps rC0, rC11 /* rC11 = c11a c11b c10c c11c */
-- addps rA0, rC7 /* rC7 = c4cd c5cd c6ac c7ac */
-+ movaps rC8 , rC1 /* rC1 = c08a c08b c08c c08d */
-+ movaps rC12, rC2 /* rC2 = c12a c12b c12c c12d */
-+ unpckhps rC7, rB0 /* rB0 = c6c c7c c6d c7d */
-+ unpckhps rC5, rA0 /* rA0 = c4c c5c c4d c5d */
-+ unpcklps rC7, rC6 /* rC6 = c6a c7a c6b c7b */
-+ unpckhps rC11, rC0 /* rC0 = c10c c11c c10d c11d */
-+ unpckhps rC9 , rC1 /* rC1 = c08c c09c c08d c09d */
-+ movlhps rB0, rC7 /* rC7 = c7a c7b c6c c7c */
-+ unpcklps rC5, rC4 /* rC4 = c4a c5a c4b c5b */
-+ movhlps rA0, rC7 /* rC7 = c4d c5d c6c c7c */
-+ movlhps rC6, rA0 /* rA0 = c4c c5c c6a c7a */
-+ unpcklps rC11, rC10 /* rC10 = c10a c11a c10b c11b */
-+ movhlps rC4, rB0 /* rB0 = c4b c5b c6d c7d */
-+ movlhps rC0, rC11 /* rC11 = c11a c11b c10c c11c */
-+ addps rA0, rC7 /* rC7 = c4cd c5cd c6ac c7ac */
- #ifdef BETAX
- #ifdef SREAL
-- movups (pC), rA0
-- movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-- movups 16(pC), rC4
-- unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-- movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-- movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-- movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-- movups 32(pC), rC5
-- movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-- unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-- addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-- movlps 48(pC), rC1
-- addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-- movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-- unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-- movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-- addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-- pref2(64(pfA))
-- mulps BOF(%rsp), rA0
-- addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-- mulps BOF(%rsp), rC4
-- addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-- mulps BOF(%rsp), rC5
-- addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-- mulps BOF(%rsp), rC1
-+ movups (pC), rA0
-+ movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-+ movups 16(pC), rC4
-+ unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-+ movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-+ movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-+ movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-+ movups 32(pC), rC5
-+ movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-+ unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-+ addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-+ movlps 48(pC), rC1
-+ addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-+ movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-+ unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-+ movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-+ addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-+ pref2(64(pfA))
-+ mulps BOF(%rsp), rA0
-+ addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-+ mulps BOF(%rsp), rC4
-+ addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-+ mulps BOF(%rsp), rC5
-+ addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-+ mulps BOF(%rsp), rC1
-
- /* */
-
-- movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-- addps rA0, rC3
-- addq $68, pfA
-- addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-- addps rC4, rC7
-- addps rC5, rC11
-- addps rC1, rC12
-+ movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-+ addps rA0, rC3
-+ addq $68, pfA
-+ addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-+ addps rC4, rC7
-+ addps rC5, rC11
-+ addps rC1, rC12
- #else /* BETA = X, complex type */
-- movups (pC), rA0
-- movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-- movups 16(pC), rC4
-- unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-- shufps $0x88, rC4, rA0 /* rA0 = c0 c1 c2 c3 */
-- movups 32(pC), rC4 /* rC4 = c4 X c5 X */
-- movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-- movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-- movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-- movups 48(pC), rC5 /* rC5 = c6 X c7 X */
-- movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-- unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-- addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-- shufps $0x88, rC5, rC4 /* rC4 = c4 c5 c6 c7 */
-- movups 64(pC), rC5 /* rC5 = c8 X c9 X */
-- movups 80(pC), rC1 /* rC1 = c10 X c11 X */
-- addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-- shufps $0x88, rC1, rC5 /* rC5 = c8 c9 c10 c11 */
-- movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-- movss 96(pC), rC1
-- unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-- movss 104(pC), rB0
-- movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-- unpcklps rB0, rC1
-- addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-- prefC(256(pC))
-- mulps BOF(%rsp), rA0
-- addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-- mulps BOF(%rsp), rC4
-- addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-- mulps BOF(%rsp), rC5
-- addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-- mulps BOF(%rsp), rC1
-+ movups (pC), rA0
-+ movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-+ movups 16(pC), rC4
-+ unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-+ shufps $0x88, rC4, rA0 /* rA0 = c0 c1 c2 c3 */
-+ movups 32(pC), rC4 /* rC4 = c4 X c5 X */
-+ movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-+ movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-+ movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-+ movups 48(pC), rC5 /* rC5 = c6 X c7 X */
-+ movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-+ unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-+ addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-+ shufps $0x88, rC5, rC4 /* rC4 = c4 c5 c6 c7 */
-+ movups 64(pC), rC5 /* rC5 = c8 X c9 X */
-+ movups 80(pC), rC1 /* rC1 = c10 X c11 X */
-+ addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-+ shufps $0x88, rC1, rC5 /* rC5 = c8 c9 c10 c11 */
-+ movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-+ movss 96(pC), rC1
-+ unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-+ movss 104(pC), rB0
-+ movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-+ unpcklps rB0, rC1
-+ addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-+ prefC(256(pC))
-+ mulps BOF(%rsp), rA0
-+ addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-+ mulps BOF(%rsp), rC4
-+ addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-+ mulps BOF(%rsp), rC5
-+ addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-+ mulps BOF(%rsp), rC1
-
- /* */
-
-- movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-- addps rA0, rC3
-- prefC(192(pC))
-- addq $68, pfA
-- addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-- addps rC4, rC7
-- addps rC5, rC11
-- addps rC1, rC12
-+ movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-+ addps rA0, rC3
-+ prefC(192(pC))
-+ addq $68, pfA
-+ addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-+ addps rC4, rC7
-+ addps rC5, rC11
-+ addps rC1, rC12
- #endif
-
- #else
-- movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-- unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-- movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-- movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-- movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-- movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-- unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-- addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-- addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-- movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-- unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-- movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-- addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-+ movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-+ unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-+ movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-+ movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-+ movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-+ movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-+ unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-+ addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-+ addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-+ movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-+ unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-+ movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-+ addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
- #ifdef SREAL
-- pref2(64(pfA))
-+ pref2(64(pfA))
- #else
-- prefC(256(pC))
-+ prefC(256(pC))
- #endif
-- addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-- addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-- addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-+ addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-+ addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-+ addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-
- /* */
-
-- movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-+ movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
- #ifndef SREAL
-- prefC(192(pC))
-+ prefC(192(pC))
- #endif
-- addq $68, pfA
-- addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-+ addq $68, pfA
-+ addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-
- #endif
- /*
- * Write results back to C; pC += 14;
- */
- #ifdef SREAL
-- movups rC3, (pC)
-- movups rC7, 16(pC)
-- movups rC11, 32(pC)
-- movlps rC12, 48(pC)
-- addq $56, pC
-+ movups rC3, (pC)
-+ movups rC7, 16(pC)
-+ movups rC11, 32(pC)
-+ movlps rC12, 48(pC)
-+ addq $56, pC
- #else
-- movss rC3, (pC)
-- movss rC7, 32(pC)
-- movhlps rC3, rC0
-- movhlps rC7, rC6
-- movss rC0, 16(pC)
-- movss rC6, 48(pC)
-- shufps $0x55, rC3, rC3
-- shufps $0x55, rC7, rC7
-- movss rC3, 8(pC)
-- movss rC7, 40(pC)
-- shufps $0x55, rC0, rC0
-- shufps $0x55, rC6, rC6
-- movss rC0, 24(pC)
-- movss rC6, 56(pC)
--
-- movss rC11, 64(pC)
-- movhlps rC11, rC2
-- movss rC12, 96(pC)
-- movss rC2, 80(pC)
-- shufps $0x55, rC11, rC11
-- shufps $0x55, rC12, rC12
-- movss rC11, 72(pC)
-- shufps $0x55, rC2, rC2
-- movss rC12, 104(pC)
-- movss rC2, 88(pC)
-+ movss rC3, (pC)
-+ movss rC7, 32(pC)
-+ movhlps rC3, rC0
-+ movhlps rC7, rC6
-+ movss rC0, 16(pC)
-+ movss rC6, 48(pC)
-+ shufps $0x55, rC3, rC3
-+ shufps $0x55, rC7, rC7
-+ movss rC3, 8(pC)
-+ movss rC7, 40(pC)
-+ shufps $0x55, rC0, rC0
-+ shufps $0x55, rC6, rC6
-+ movss rC0, 24(pC)
-+ movss rC6, 56(pC)
-+
-+ movss rC11, 64(pC)
-+ movhlps rC11, rC2
-+ movss rC12, 96(pC)
-+ movss rC2, 80(pC)
-+ shufps $0x55, rC11, rC11
-+ shufps $0x55, rC12, rC12
-+ movss rC11, 72(pC)
-+ shufps $0x55, rC2, rC2
-+ movss rC12, 104(pC)
-+ movss rC2, 88(pC)
-
-- addq $112, pC
-+ addq $112, pC
- #endif
- /*
- * Write results back to C
- */
-- addq $NB14so-176, pA5
-- addq $NB14so-176, pA10
-- subq $176, pB0
-+ addq $NB14so-176, pA5
-+ addq $NB14so-176, pA10
-+ subq $176, pB0
- /*
- * pC += 14; pA += 14*NB; pB -= NB;
- */
- /*
- * while (pA != stM);
- */
-- subq $1, stM
-- jne UMLOOP
-+ subq $1, stM
-+ jne UMLOOP
- #endif
-
- /*
-@@ -1459,994 +1466,994 @@ MLAST:
- #endif
- /*UKLOOP: */
- #ifdef BETA1
-- movaps 0-120(pA10,mldab5,2), rC0
-- movaps 0-120(pB0), rB0
-- mulps rB0, rC0
-- addss (pC), rC0
-- movaps 0-120(pA5, mldab,4), rC1
-- mulps rB0, rC1
-- addss CMUL(4)(pC), rC1
-- movaps 0-120(pA10, mldab,8), rC2
-- mulps rB0, rC2
-- addss CMUL(8)(pC), rC2
-- movaps 0-120(pA5, mldab,2), rC3
-- mulps rB0, rC3
-- addss CMUL(12)(pC), rC3
-- movaps 0-120(pA5, mldab), rC4
-- mulps rB0, rC4
-- addss CMUL(16)(pC), rC4
-- movaps 0-120(pA5), rC5
-- mulps rB0, rC5
-- addss CMUL(20)(pC), rC5
-- movaps 0-120(pA5, ldab), rC6
-- mulps rB0, rC6
-- addss CMUL(24)(pC), rC6
-- movaps 0-120(pA5, ldab,2), rC7
-- mulps rB0, rC7
-- addss CMUL(28)(pC), rC7
-- movaps 0-120(pA10, mldab,2), rC8
-- mulps rB0, rC8
-- addss CMUL(32)(pC), rC8
-- movaps 0-120(pA5,ldab,4), rC9
-- mulps rB0, rC9
-- addss CMUL(36)(pC), rC9
-- movaps 0-120(pA10), rC10
-- mulps rB0, rC10
-- addss CMUL(40)(pC), rC10
-- movaps 0-120(pA10,ldab), rC11
-- mulps rB0, rC11
-- addss CMUL(44)(pC), rC11
-- movaps 0-120(pA10,ldab,2), rC12
-- mulps rB0, rC12
-- addss CMUL(48)(pC), rC12
-- movaps 0-120(pA5,ldab,8), rC13
-- mulps rB0, rC13
-- addss CMUL(52)(pC), rC13
-+ movaps 0-120(pA10,mldab5,2), rC0
-+ movaps 0-120(pB0), rB0
-+ mulps rB0, rC0
-+ addss (pC), rC0
-+ movaps 0-120(pA5, mldab,4), rC1
-+ mulps rB0, rC1
-+ addss CMUL(4)(pC), rC1
-+ movaps 0-120(pA10, mldab,8), rC2
-+ mulps rB0, rC2
-+ addss CMUL(8)(pC), rC2
-+ movaps 0-120(pA5, mldab,2), rC3
-+ mulps rB0, rC3
-+ addss CMUL(12)(pC), rC3
-+ movaps 0-120(pA5, mldab), rC4
-+ mulps rB0, rC4
-+ addss CMUL(16)(pC), rC4
-+ movaps 0-120(pA5), rC5
-+ mulps rB0, rC5
-+ addss CMUL(20)(pC), rC5
-+ movaps 0-120(pA5, ldab), rC6
-+ mulps rB0, rC6
-+ addss CMUL(24)(pC), rC6
-+ movaps 0-120(pA5, ldab,2), rC7
-+ mulps rB0, rC7
-+ addss CMUL(28)(pC), rC7
-+ movaps 0-120(pA10, mldab,2), rC8
-+ mulps rB0, rC8
-+ addss CMUL(32)(pC), rC8
-+ movaps 0-120(pA5,ldab,4), rC9
-+ mulps rB0, rC9
-+ addss CMUL(36)(pC), rC9
-+ movaps 0-120(pA10), rC10
-+ mulps rB0, rC10
-+ addss CMUL(40)(pC), rC10
-+ movaps 0-120(pA10,ldab), rC11
-+ mulps rB0, rC11
-+ addss CMUL(44)(pC), rC11
-+ movaps 0-120(pA10,ldab,2), rC12
-+ mulps rB0, rC12
-+ addss CMUL(48)(pC), rC12
-+ movaps 0-120(pA5,ldab,8), rC13
-+ mulps rB0, rC13
-+ addss CMUL(52)(pC), rC13
- #else
-- movaps 0-120(pA10,mldab5,2), rC0
-- movaps 0-120(pB0), rC13
-- mulps rC13, rC0
-- movaps 0-120(pA5, mldab,4), rC1
-- mulps rC13, rC1
-- movaps 0-120(pA10, mldab,8), rC2
-- mulps rC13, rC2
-- movaps 0-120(pA5, mldab,2), rC3
-- mulps rC13, rC3
-- movaps 0-120(pA5, mldab), rC4
-- mulps rC13, rC4
-- movaps 0-120(pA5), rC5
-- mulps rC13, rC5
-- movaps 0-120(pA5, ldab), rC6
-- mulps rC13, rC6
-- movaps 0-120(pA5, ldab,2), rC7
-- mulps rC13, rC7
-- movaps 0-120(pA10, mldab,2), rC8
-- mulps rC13, rC8
-- movaps 0-120(pA5,ldab,4), rC9
-- mulps rC13, rC9
-- movaps 0-120(pA10), rC10
-- mulps rC13, rC10
-- movaps 0-120(pA10,ldab), rC11
-- mulps rC13, rC11
-- movaps 0-120(pA10,ldab,2), rC12
-- mulps rC13, rC12
-- mulps 0-120(pA5,ldab,8), rC13
-+ movaps 0-120(pA10,mldab5,2), rC0
-+ movaps 0-120(pB0), rC13
-+ mulps rC13, rC0
-+ movaps 0-120(pA5, mldab,4), rC1
-+ mulps rC13, rC1
-+ movaps 0-120(pA10, mldab,8), rC2
-+ mulps rC13, rC2
-+ movaps 0-120(pA5, mldab,2), rC3
-+ mulps rC13, rC3
-+ movaps 0-120(pA5, mldab), rC4
-+ mulps rC13, rC4
-+ movaps 0-120(pA5), rC5
-+ mulps rC13, rC5
-+ movaps 0-120(pA5, ldab), rC6
-+ mulps rC13, rC6
-+ movaps 0-120(pA5, ldab,2), rC7
-+ mulps rC13, rC7
-+ movaps 0-120(pA10, mldab,2), rC8
-+ mulps rC13, rC8
-+ movaps 0-120(pA5,ldab,4), rC9
-+ mulps rC13, rC9
-+ movaps 0-120(pA10), rC10
-+ mulps rC13, rC10
-+ movaps 0-120(pA10,ldab), rC11
-+ mulps rC13, rC11
-+ movaps 0-120(pA10,ldab,2), rC12
-+ mulps rC13, rC12
-+ mulps 0-120(pA5,ldab,8), rC13
- #endif
-
- #if KB > 4
-- movaps 16-120(pA10,mldab5,2), rA0
-- movaps 16-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 16-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 16-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 16-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 16-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 16-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 16-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 16-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 16-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 16-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 16-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 16-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 16-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 16-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 16-120(pA10,mldab5,2), rA0
-+ movaps 16-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 16-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 16-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 16-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 16-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 16-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 16-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 16-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 16-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 16-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 16-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 16-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 16-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 16-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 8
-- movaps 32-120(pA10,mldab5,2), rA0
-- movaps 32-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 32-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 32-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 32-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 32-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 32-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 32-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 32-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 32-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 32-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 32-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 32-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 32-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 32-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 32-120(pA10,mldab5,2), rA0
-+ movaps 32-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 32-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 32-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 32-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 32-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 32-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 32-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 32-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 32-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 32-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 32-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 32-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 32-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 32-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 12
-- movaps 48-120(pA10,mldab5,2), rA0
-- movaps 48-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 48-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 48-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 48-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 48-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 48-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 48-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 48-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 48-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 48-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 48-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 48-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 48-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 48-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 48-120(pA10,mldab5,2), rA0
-+ movaps 48-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 48-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 48-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 48-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 48-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 48-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 48-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 48-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 48-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 48-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 48-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 48-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 48-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 48-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 16
-- movaps 64-120(pA10,mldab5,2), rA0
-- movaps 64-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 64-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 64-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 64-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 64-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 64-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 64-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 64-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 64-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 64-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 64-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 64-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 64-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 64-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 64-120(pA10,mldab5,2), rA0
-+ movaps 64-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 64-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 64-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 64-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 64-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 64-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 64-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 64-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 64-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 64-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 64-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 64-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 64-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 64-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 20
-- movaps 80-120(pA10,mldab5,2), rA0
-- movaps 80-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 80-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 80-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 80-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 80-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 80-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 80-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 80-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 80-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 80-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 80-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 80-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 80-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 80-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 80-120(pA10,mldab5,2), rA0
-+ movaps 80-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 80-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 80-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 80-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 80-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 80-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 80-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 80-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 80-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 80-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 80-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 80-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 80-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 80-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 24
-- movaps 96-120(pA10,mldab5,2), rA0
-- movaps 96-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 96-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 96-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 96-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 96-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 96-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 96-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 96-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 96-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 96-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 96-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 96-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 96-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 96-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 96-120(pA10,mldab5,2), rA0
-+ movaps 96-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 96-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 96-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 96-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 96-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 96-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 96-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 96-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 96-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 96-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 96-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 96-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 96-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 96-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 28
-- movaps 112-120(pA10,mldab5,2), rA0
-- movaps 112-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 112-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 112-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 112-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 112-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 112-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 112-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 112-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 112-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 112-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 112-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 112-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 112-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 112-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 112-120(pA10,mldab5,2), rA0
-+ movaps 112-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 112-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 112-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 112-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 112-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 112-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 112-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 112-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 112-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 112-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 112-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 112-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 112-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 112-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 32
-- movaps 128-120(pA10,mldab5,2), rA0
-- movaps 128-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 128-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 128-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 128-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 128-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 128-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 128-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 128-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 128-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 128-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 128-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 128-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 128-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 128-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 128-120(pA10,mldab5,2), rA0
-+ movaps 128-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 128-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 128-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 128-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 128-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 128-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 128-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 128-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 128-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 128-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 128-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 128-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 128-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 128-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 36
-- movaps 144-120(pA10,mldab5,2), rA0
-- movaps 144-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 144-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 144-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 144-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 144-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 144-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 144-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 144-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 144-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 144-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 144-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 144-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 144-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 144-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 144-120(pA10,mldab5,2), rA0
-+ movaps 144-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 144-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 144-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 144-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 144-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 144-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 144-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 144-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 144-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 144-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 144-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 144-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 144-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 144-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-- prefB((pB,ldab))
-- prefB(64(pB,ldab))
-+ prefB((pB,ldab))
-+ prefB(64(pB,ldab))
-
- #if KB > 40
-- movaps 160-120(pA10,mldab5,2), rA0
-- movaps 160-120(pB0), rB0
-- mulps rB0, rA0
-- addq $176, pB0
-- addps rA0, rC0
-- movaps 160-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 160-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 160-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 160-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 160-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 160-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 160-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 160-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 160-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 160-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 160-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 160-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addq $176, pA10
-- addps rA0, rC12
-- mulps 160-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-- addq $176, pA5
-+ movaps 160-120(pA10,mldab5,2), rA0
-+ movaps 160-120(pB0), rB0
-+ mulps rB0, rA0
-+ addq $176, pB0
-+ addps rA0, rC0
-+ movaps 160-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 160-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 160-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 160-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 160-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 160-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 160-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 160-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 160-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 160-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 160-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 160-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addq $176, pA10
-+ addps rA0, rC12
-+ mulps 160-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
-+ addq $176, pA5
- #else
-- addq $176, pB0
-- addq $176, pA10
-- addq $176, pA5
-+ addq $176, pB0
-+ addq $176, pA10
-+ addq $176, pA5
- #endif
-
- #if KB > 44
-- movaps 0-120(pA10,mldab5,2), rA0
-- movaps 0-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 0-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 0-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 0-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 0-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 0-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 0-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 0-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 0-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 0-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 0-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 0-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 0-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 0-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 0-120(pA10,mldab5,2), rA0
-+ movaps 0-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 0-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 0-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 0-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 0-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 0-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 0-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 0-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 0-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 0-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 0-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 0-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 0-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 0-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 48
-- movaps 16-120(pA10,mldab5,2), rA0
-- movaps 16-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 16-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 16-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 16-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 16-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 16-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 16-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 16-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 16-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 16-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 16-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 16-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 16-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 16-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 16-120(pA10,mldab5,2), rA0
-+ movaps 16-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 16-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 16-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 16-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 16-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 16-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 16-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 16-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 16-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 16-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 16-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 16-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 16-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 16-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 52
-- movaps 32-120(pA10,mldab5,2), rA0
-- movaps 32-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 32-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 32-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 32-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 32-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 32-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 32-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 32-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 32-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 32-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 32-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 32-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 32-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 32-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 32-120(pA10,mldab5,2), rA0
-+ movaps 32-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 32-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 32-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 32-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 32-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 32-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 32-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 32-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 32-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 32-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 32-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 32-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 32-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 32-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 56
-- movaps 48-120(pA10,mldab5,2), rA0
-- movaps 48-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 48-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 48-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 48-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 48-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 48-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 48-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 48-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 48-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 48-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 48-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 48-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 48-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 48-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 48-120(pA10,mldab5,2), rA0
-+ movaps 48-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 48-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 48-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 48-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 48-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 48-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 48-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 48-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 48-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 48-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 48-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 48-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 48-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 48-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 60
-- movaps 64-120(pA10,mldab5,2), rA0
-- movaps 64-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 64-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 64-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 64-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 64-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 64-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 64-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 64-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 64-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 64-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 64-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 64-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 64-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 64-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 64-120(pA10,mldab5,2), rA0
-+ movaps 64-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 64-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 64-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 64-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 64-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 64-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 64-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 64-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 64-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 64-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 64-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 64-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 64-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 64-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-- prefB(128-176(pB,ldab))
-- prefB(192-176(pB,ldab))
-+ prefB(128-176(pB,ldab))
-+ prefB(192-176(pB,ldab))
-
- #if KB > 64
-- movaps 80-120(pA10,mldab5,2), rA0
-- movaps 80-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 80-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 80-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 80-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 80-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 80-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 80-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 80-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 80-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 80-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 80-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 80-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 80-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 80-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 80-120(pA10,mldab5,2), rA0
-+ movaps 80-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 80-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 80-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 80-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 80-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 80-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 80-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 80-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 80-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 80-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 80-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 80-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 80-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 80-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 68
-- movaps 96-120(pA10,mldab5,2), rA0
-- movaps 96-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 96-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 96-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 96-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 96-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 96-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 96-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 96-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 96-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 96-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 96-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 96-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 96-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 96-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 96-120(pA10,mldab5,2), rA0
-+ movaps 96-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 96-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 96-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 96-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 96-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 96-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 96-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 96-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 96-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 96-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 96-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 96-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 96-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 96-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 72
-- movaps 112-120(pA10,mldab5,2), rA0
-- movaps 112-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 112-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 112-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 112-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 112-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 112-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 112-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 112-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 112-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 112-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 112-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 112-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 112-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 112-120(pA5,ldab,8), rB0
-- prefC((pC))
-- prefC((pC,incCn))
-- addps rB0, rC13
-+ movaps 112-120(pA10,mldab5,2), rA0
-+ movaps 112-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 112-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 112-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 112-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 112-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 112-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 112-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 112-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 112-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 112-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 112-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 112-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 112-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 112-120(pA5,ldab,8), rB0
-+ prefC((pC))
-+ prefC((pC,incCn))
-+ addps rB0, rC13
- #else
-- prefC((pC))
-- prefC((pC,incCn))
-+ prefC((pC))
-+ prefC((pC,incCn))
- #endif
-
- #if KB > 76
-- movaps 128-120(pA10,mldab5,2), rA0
-- movaps 128-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 128-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 128-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 128-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 128-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 128-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 128-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 128-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 128-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 128-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 128-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 128-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 128-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 128-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 128-120(pA10,mldab5,2), rA0
-+ movaps 128-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 128-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 128-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 128-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 128-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 128-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 128-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 128-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 128-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 128-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 128-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 128-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 128-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 128-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- #if KB > 80
-- movaps 144-120(pA10,mldab5,2), rA0
-- movaps 144-120(pB0), rB0
-- mulps rB0, rA0
-- addps rA0, rC0
-- movaps 144-120(pA5, mldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC1
-- movaps 144-120(pA10, mldab,8), rA0
-- mulps rB0, rA0
-- addps rA0, rC2
-- movaps 144-120(pA5, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC3
-- movaps 144-120(pA5, mldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC4
-- movaps 144-120(pA5), rA0
-- mulps rB0, rA0
-- addps rA0, rC5
-- movaps 144-120(pA5, ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC6
-- movaps 144-120(pA5, ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC7
-- movaps 144-120(pA10, mldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC8
-- movaps 144-120(pA5,ldab,4), rA0
-- mulps rB0, rA0
-- addps rA0, rC9
-- movaps 144-120(pA10), rA0
-- mulps rB0, rA0
-- addps rA0, rC10
-- movaps 144-120(pA10,ldab), rA0
-- mulps rB0, rA0
-- addps rA0, rC11
-- movaps 144-120(pA10,ldab,2), rA0
-- mulps rB0, rA0
-- addps rA0, rC12
-- mulps 144-120(pA5,ldab,8), rB0
-- addps rB0, rC13
-+ movaps 144-120(pA10,mldab5,2), rA0
-+ movaps 144-120(pB0), rB0
-+ mulps rB0, rA0
-+ addps rA0, rC0
-+ movaps 144-120(pA5, mldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC1
-+ movaps 144-120(pA10, mldab,8), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC2
-+ movaps 144-120(pA5, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC3
-+ movaps 144-120(pA5, mldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC4
-+ movaps 144-120(pA5), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC5
-+ movaps 144-120(pA5, ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC6
-+ movaps 144-120(pA5, ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC7
-+ movaps 144-120(pA10, mldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC8
-+ movaps 144-120(pA5,ldab,4), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC9
-+ movaps 144-120(pA10), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC10
-+ movaps 144-120(pA10,ldab), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC11
-+ movaps 144-120(pA10,ldab,2), rA0
-+ mulps rB0, rA0
-+ addps rA0, rC12
-+ mulps 144-120(pA5,ldab,8), rB0
-+ addps rB0, rC13
- #endif
-
- /*UKLOOP */
-@@ -2454,202 +2461,202 @@ MLAST:
- * Get these bastard things summed up correctly
- */
-
-- /* rC0 = c0a c0b c0c c0d */
-- /* rC1 = c1a c1b c1c c1d */
-- /* rC2 = c2a c2b c2c c2d */
-- /* rC3 = c3a c3b c3c c3d */
-+ /* rC0 = c0a c0b c0c c0d */
-+ /* rC1 = c1a c1b c1c c1d */
-+ /* rC2 = c2a c2b c2c c2d */
-+ /* rC3 = c3a c3b c3c c3d */
- /* */
-- movaps rC2, rB0 /* rB0 = c2a c2b c2c c2d */
-- prefC(64(pC,incCn))
-- prefB(256-176(pB,ldab))
-- movaps rC0, rA0 /* rA0 = c0a c0b c0c c0d */
-- unpckhps rC3, rB0 /* rB0 = c2c c3c c2d c3d */
-- unpckhps rC1, rA0 /* rA0 = c0c c1c c0d c1d */
-- unpcklps rC3, rC2 /* rC2 = c2a c3a c2b c3b */
-- movlhps rB0, rC3 /* rC3 = c3a c3b c2c c3c */
-- unpcklps rC1, rC0 /* rC0 = c0a c1a c0b c1b */
-- movhlps rA0, rC3 /* rC3 = c0d c1d c2c c3c */
-- movlhps rC2, rA0 /* rA0 = c0c c1c c2a c3a */
-- movhlps rC0, rB0 /* rB0 = c0b c1b c2d c3d */
-- addps rA0, rC3 /* rC3 = c0cd c1cd c2ac c3ac */
-- movlhps rC0, rC1 /* rC1 = c1a c1b c0a c1a */
-- movhlps rC1, rC2 /* rC2 = c0a c1a c2b c3b */
-- movaps rC4, rA0 /* rA0 = c4a c4b c4c c4d */
-- addps rB0, rC2 /* rC2 = c0ab c1ab c2bd c3bd */
-- movaps rC6, rB0 /* rB0 = c6a c6b c6c c6d */
-- addps rC2, rC3 /* rC3 = c0abcd c1abcd c2bdac c3bdac */
--
--
-- /* rC4 = c4a c4b c4c c4d */
-- /* rC5 = c5a c5b c5c c5d */
-- /* rC6 = c6a c6b c6c c6d */
-- /* rC7 = c7a c7b c7c c7d */
-- /* rC8 = c08a c08b c08c c08d */
-- /* rC9 = c09a c09b c09c c09d */
-- /* rC10 = c10a c10b c10c c10d */
-- /* rC11 = c11a c11b c11c c11d */
-- /* rC12 = c12a c12b c12c c12d */
-- /* rC13 = c13a c13b c13c c13d */
-+ movaps rC2, rB0 /* rB0 = c2a c2b c2c c2d */
-+ prefC(64(pC,incCn))
-+ prefB(256-176(pB,ldab))
-+ movaps rC0, rA0 /* rA0 = c0a c0b c0c c0d */
-+ unpckhps rC3, rB0 /* rB0 = c2c c3c c2d c3d */
-+ unpckhps rC1, rA0 /* rA0 = c0c c1c c0d c1d */
-+ unpcklps rC3, rC2 /* rC2 = c2a c3a c2b c3b */
-+ movlhps rB0, rC3 /* rC3 = c3a c3b c2c c3c */
-+ unpcklps rC1, rC0 /* rC0 = c0a c1a c0b c1b */
-+ movhlps rA0, rC3 /* rC3 = c0d c1d c2c c3c */
-+ movlhps rC2, rA0 /* rA0 = c0c c1c c2a c3a */
-+ movhlps rC0, rB0 /* rB0 = c0b c1b c2d c3d */
-+ addps rA0, rC3 /* rC3 = c0cd c1cd c2ac c3ac */
-+ movlhps rC0, rC1 /* rC1 = c1a c1b c0a c1a */
-+ movhlps rC1, rC2 /* rC2 = c0a c1a c2b c3b */
-+ movaps rC4, rA0 /* rA0 = c4a c4b c4c c4d */
-+ addps rB0, rC2 /* rC2 = c0ab c1ab c2bd c3bd */
-+ movaps rC6, rB0 /* rB0 = c6a c6b c6c c6d */
-+ addps rC2, rC3 /* rC3 = c0abcd c1abcd c2bdac c3bdac */
-+
-+
-+ /* rC4 = c4a c4b c4c c4d */
-+ /* rC5 = c5a c5b c5c c5d */
-+ /* rC6 = c6a c6b c6c c6d */
-+ /* rC7 = c7a c7b c7c c7d */
-+ /* rC8 = c08a c08b c08c c08d */
-+ /* rC9 = c09a c09b c09c c09d */
-+ /* rC10 = c10a c10b c10c c10d */
-+ /* rC11 = c11a c11b c11c c11d */
-+ /* rC12 = c12a c12b c12c c12d */
-+ /* rC13 = c13a c13b c13c c13d */
- /* */
-- movaps rC10, rC0 /* rC0 = c10a c10b c10c c10d */
-- movaps rC8 , rC1 /* rC1 = c08a c08b c08c c08d */
-- movaps rC12, rC2 /* rC2 = c12a c12b c12c c12d */
-- unpckhps rC7, rB0 /* rB0 = c6c c7c c6d c7d */
-- unpckhps rC5, rA0 /* rA0 = c4c c5c c4d c5d */
-- unpcklps rC7, rC6 /* rC6 = c6a c7a c6b c7b */
-- unpckhps rC11, rC0 /* rC0 = c10c c11c c10d c11d */
-- unpckhps rC9 , rC1 /* rC1 = c08c c09c c08d c09d */
-- movlhps rB0, rC7 /* rC7 = c7a c7b c6c c7c */
-- unpcklps rC5, rC4 /* rC4 = c4a c5a c4b c5b */
-- movhlps rA0, rC7 /* rC7 = c4d c5d c6c c7c */
-- movlhps rC6, rA0 /* rA0 = c4c c5c c6a c7a */
-- unpcklps rC11, rC10 /* rC10 = c10a c11a c10b c11b */
-- movhlps rC4, rB0 /* rB0 = c4b c5b c6d c7d */
-- movlhps rC0, rC11 /* rC11 = c11a c11b c10c c11c */
-- addps rA0, rC7 /* rC7 = c4cd c5cd c6ac c7ac */
-+ movaps rC10, rC0 /* rC0 = c10a c10b c10c c10d */
-+ movaps rC8 , rC1 /* rC1 = c08a c08b c08c c08d */
-+ movaps rC12, rC2 /* rC2 = c12a c12b c12c c12d */
-+ unpckhps rC7, rB0 /* rB0 = c6c c7c c6d c7d */
-+ unpckhps rC5, rA0 /* rA0 = c4c c5c c4d c5d */
-+ unpcklps rC7, rC6 /* rC6 = c6a c7a c6b c7b */
-+ unpckhps rC11, rC0 /* rC0 = c10c c11c c10d c11d */
-+ unpckhps rC9 , rC1 /* rC1 = c08c c09c c08d c09d */
-+ movlhps rB0, rC7 /* rC7 = c7a c7b c6c c7c */
-+ unpcklps rC5, rC4 /* rC4 = c4a c5a c4b c5b */
-+ movhlps rA0, rC7 /* rC7 = c4d c5d c6c c7c */
-+ movlhps rC6, rA0 /* rA0 = c4c c5c c6a c7a */
-+ unpcklps rC11, rC10 /* rC10 = c10a c11a c10b c11b */
-+ movhlps rC4, rB0 /* rB0 = c4b c5b c6d c7d */
-+ movlhps rC0, rC11 /* rC11 = c11a c11b c10c c11c */
-+ addps rA0, rC7 /* rC7 = c4cd c5cd c6ac c7ac */
- #ifdef BETAX
- #ifdef SREAL
-- movups (pC), rA0
-- movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-- movups 16(pC), rC4
-- unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-- movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-- movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-- movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-- movups 32(pC), rC5
-- movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-- unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-- addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-- movlps 48(pC), rC1
-- addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-- movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-- unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-- movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-- addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-- mulps BOF(%rsp), rA0
-- addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-- mulps BOF(%rsp), rC4
-- addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-- mulps BOF(%rsp), rC5
-- addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-- mulps BOF(%rsp), rC1
-+ movups (pC), rA0
-+ movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-+ movups 16(pC), rC4
-+ unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-+ movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-+ movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-+ movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-+ movups 32(pC), rC5
-+ movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-+ unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-+ addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-+ movlps 48(pC), rC1
-+ addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-+ movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-+ unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-+ movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-+ addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-+ mulps BOF(%rsp), rA0
-+ addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-+ mulps BOF(%rsp), rC4
-+ addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-+ mulps BOF(%rsp), rC5
-+ addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-+ mulps BOF(%rsp), rC1
-
- /* */
-
-- movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-- addps rA0, rC3
-- addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-- addps rC4, rC7
-- addps rC5, rC11
-- prefB(320-176(pB,ldab))
-- addps rC1, rC12
-+ movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-+ addps rA0, rC3
-+ addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-+ addps rC4, rC7
-+ addps rC5, rC11
-+ prefB(320-176(pB,ldab))
-+ addps rC1, rC12
- #else /* BETA = X, complex type */
-- movups (pC), rA0
-- movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-- movups 16(pC), rC4
-- unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-- shufps $0x88, rC4, rA0 /* rA0 = c0 c1 c2 c3 */
-- movups 32(pC), rC4 /* rC4 = c4 X c5 X */
-- movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-- movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-- movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-- movups 48(pC), rC5 /* rC5 = c6 X c7 X */
-- movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-- unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-- addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-- shufps $0x88, rC5, rC4 /* rC4 = c4 c5 c6 c7 */
-- movups 64(pC), rC5 /* rC5 = c8 X c9 X */
-- movups 80(pC), rC1 /* rC1 = c10 X c11 X */
-- addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-- shufps $0x88, rC1, rC5 /* rC5 = c8 c9 c10 c11 */
-- movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-- movss 96(pC), rC1
-- unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-- movss 104(pC), rB0
-- movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-- unpcklps rB0, rC1
-- addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-- mulps BOF(%rsp), rA0
-- addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-- mulps BOF(%rsp), rC4
-- addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-- mulps BOF(%rsp), rC5
-- addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-- mulps BOF(%rsp), rC1
-+ movups (pC), rA0
-+ movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-+ movups 16(pC), rC4
-+ unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-+ shufps $0x88, rC4, rA0 /* rA0 = c0 c1 c2 c3 */
-+ movups 32(pC), rC4 /* rC4 = c4 X c5 X */
-+ movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-+ movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-+ movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-+ movups 48(pC), rC5 /* rC5 = c6 X c7 X */
-+ movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-+ unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-+ addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-+ shufps $0x88, rC5, rC4 /* rC4 = c4 c5 c6 c7 */
-+ movups 64(pC), rC5 /* rC5 = c8 X c9 X */
-+ movups 80(pC), rC1 /* rC1 = c10 X c11 X */
-+ addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-+ shufps $0x88, rC1, rC5 /* rC5 = c8 c9 c10 c11 */
-+ movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-+ movss 96(pC), rC1
-+ unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-+ movss 104(pC), rB0
-+ movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-+ unpcklps rB0, rC1
-+ addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-+ mulps BOF(%rsp), rA0
-+ addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-+ mulps BOF(%rsp), rC4
-+ addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-+ mulps BOF(%rsp), rC5
-+ addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-+ mulps BOF(%rsp), rC1
-
- /* */
-
-- movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-- addps rA0, rC3
-- addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-- addps rC4, rC7
-- addps rC5, rC11
-- prefB(320-176(pB,ldab))
-- addps rC1, rC12
-+ movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-+ addps rA0, rC3
-+ addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-+ addps rC4, rC7
-+ addps rC5, rC11
-+ prefB(320-176(pB,ldab))
-+ addps rC1, rC12
- #endif
-
- #else
-- movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-- unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-- movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-- movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-- movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-- movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-- unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-- addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-- addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-- movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-- unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-- movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-- addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-- addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-- addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-- addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-+ movlhps rC4, rC5 /* rC5 = c5a c5b c4a c5a */
-+ unpcklps rC9 , rC8 /* rC8 = c08a c09a c08b c09b */
-+ movhlps rC1, rC11 /* rC11 = c08d c09d c10c c11c */
-+ movlhps rC10, rC1 /* rC1 = c08c c09c c10a c11a */
-+ movhlps rC5, rC6 /* rC6 = c4a c5a c6b c7b */
-+ movhlps rC8 , rC0 /* rC0 = c08b c09b c10d c11d */
-+ unpcklps rC13, rC2 /* rC2 = c12a c13a c12b c13b */
-+ addps rC1, rC11 /* rC11 = c08cd c09cd c10ac c11ac */
-+ addps rB0, rC6 /* rC6 = c4ab c5ab c6bd c7bd */
-+ movlhps rC8 , rC9 /* rC9 = c09a c09b c08a c09a */
-+ unpckhps rC13, rC12 /* rC12 = c12c c13c c12d c13d */
-+ movhlps rC9 , rC10 /* rC10 = c08a c09a c10b c11b */
-+ addps rC6, rC7 /* rC7 = c4abcd c5abcd c6bdac c7bdac */
-+ addps rC0, rC10 /* rC10 = c08ab c09ab c10bd c11bd */
-+ addps rC2, rC12 /* rC12 = c12ac c13ac c12bd c13bd */
-+ addps rC10, rC11 /* rC11 = c08abcd c09abcd c10bdac c11bdac */
-
- /* */
-
-- movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-- prefB(320-176(pB,ldab))
-- addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-+ movhlps rC12, rC13 /* rC13 = c12bd c13bd X X */
-+ prefB(320-176(pB,ldab))
-+ addps rC13, rC12 /* rC12 = c12abcd c13abcd X X */
-
- #endif
- /*
- * Write results back to C; pC += 14;
- */
- #ifdef SREAL
-- movups rC3, (pC)
-- movups rC7, 16(pC)
-- movups rC11, 32(pC)
-- movlps rC12, 48(pC)
--/* addq $56, pC */
-+ movups rC3, (pC)
-+ movups rC7, 16(pC)
-+ movups rC11, 32(pC)
-+ movlps rC12, 48(pC)
-+/* addq $56, pC */
- #else
-- movss rC3, (pC)
-- movss rC7, 32(pC)
-- movhlps rC3, rC0
-- movhlps rC7, rC6
-- movss rC0, 16(pC)
-- movss rC6, 48(pC)
-- shufps $0x55, rC3, rC3
-- shufps $0x55, rC7, rC7
-- movss rC3, 8(pC)
-- movss rC7, 40(pC)
-- shufps $0x55, rC0, rC0
-- shufps $0x55, rC6, rC6
-- movss rC0, 24(pC)
-- movss rC6, 56(pC)
--
-- movss rC11, 64(pC)
-- movhlps rC11, rC2
-- movss rC12, 96(pC)
-- movss rC2, 80(pC)
-- shufps $0x55, rC11, rC11
-- shufps $0x55, rC12, rC12
-- movss rC11, 72(pC)
-- shufps $0x55, rC2, rC2
-- movss rC12, 104(pC)
-- movss rC2, 88(pC)
-+ movss rC3, (pC)
-+ movss rC7, 32(pC)
-+ movhlps rC3, rC0
-+ movhlps rC7, rC6
-+ movss rC0, 16(pC)
-+ movss rC6, 48(pC)
-+ shufps $0x55, rC3, rC3
-+ shufps $0x55, rC7, rC7
-+ movss rC3, 8(pC)
-+ movss rC7, 40(pC)
-+ shufps $0x55, rC0, rC0
-+ shufps $0x55, rC6, rC6
-+ movss rC0, 24(pC)
-+ movss rC6, 56(pC)
-+
-+ movss rC11, 64(pC)
-+ movhlps rC11, rC2
-+ movss rC12, 96(pC)
-+ movss rC2, 80(pC)
-+ shufps $0x55, rC11, rC11
-+ shufps $0x55, rC12, rC12
-+ movss rC11, 72(pC)
-+ shufps $0x55, rC2, rC2
-+ movss rC12, 104(pC)
-+ movss rC2, 88(pC)
-
--/* addq $112, pC */
-+/* addq $112, pC */
- #endif
- /*
- * Write results back to C
-@@ -2660,55 +2667,55 @@ MLAST:
- /*
- * while (pA != stM);
- */
--/* subq $1, stM */
--/* jne UMLOOP */
-+/* subq $1, stM */
-+/* jne UMLOOP */
- /*
- * pC += 14; pA += 14*NB; pB -= NB;
- */
--/* subq $MBKBso-NB14so+176, pA5 */
--/* subq $MBKBso-NB14so+176, pA10 */
-- subq incAm, pA5
-- subq incAm, pA10
-- addq $NBso-176, pB0
-+/* subq $MBKBso-NB14so+176, pA5 */
-+/* subq $MBKBso-NB14so+176, pA10 */
-+ subq incAm, pA5
-+ subq incAm, pA10
-+ addq $NBso-176, pB0
- /*
- * while (pA != stM);
- */
--/* subq $1, stM */
--/* jne UMLOOP */
-+/* subq $1, stM */
-+/* jne UMLOOP */
- /*
- * pC += incCn; pA -= NBNB; pB += NB;
- */
-- addq incCn, pC
-+ addq incCn, pC
- /*
- * while (pB != stN);
- */
-- sub $1, stN
-- jne UNLOOP
-+ sub $1, stN
-+ jne UNLOOP
-
- /*
- * Restore callee-saved iregs
- */
- DONE:
-- movq -8(%rsp), %rbp
-- movq -16(%rsp), %rbx
-+ movq -8(%rsp), %rbp
-+ movq -16(%rsp), %rbx
- #if MB == 0
-- movq -32(%rsp), %r12
-- movq -40(%rsp), %r13
-+ movq -32(%rsp), %r12
-+ movq -40(%rsp), %r13
- #endif
-- ret
-+ ret
- #if MB == 0
- MB_LT84:
-- cmp $70, stM
-- jne MB_LT70
--/* movq $70/14, stM */
-- movq $5, stM
-- jmp MBFOUND
-+ cmp $70, stM
-+ jne MB_LT70
-+/* movq $70/14, stM */
-+ movq $5, stM
-+ jmp MBFOUND
- MB_LT70:
-- cmp $56, stM
-- jne MB_LT56
--/* movq $56/14, stM */
-- movq $4, stM
-- jmp MBFOUND
-+ cmp $56, stM
-+ jne MB_LT56
-+/* movq $56/14, stM */
-+ movq $4, stM
-+ jmp MBFOUND
- MB_LT56:
- cmp $42, stM
- jne MB_LT42
-diff -rupN ATLAS/tune/blas/level1/scalsrch.c atlas-3.8.3/tune/blas/level1/scalsrch.c
---- ATLAS/tune/blas/level1/scalsrch.c 2009-02-18 19:48:25.000000000 +0100
-+++ atlas-3.8.3/tune/blas/level1/scalsrch.c 2009-11-12 13:45:48.141174024 +0100
-@@ -747,7 +747,7 @@ void GenMainRout(char pre, int n, int *i
- /*
- * Handle all special alpha cases
- */
-- fprintf(fpout, "%sif ( SCALAR_IS_ZERO(alpha) )\n", spc);
-+ /* fprintf(fpout, "%sif ( SCALAR_IS_ZERO(alpha) )\n", spc);
- fprintf(fpout, "%s{\n", spc);
- if (pre == 'c' || pre == 'z')
- {
-@@ -756,7 +756,7 @@ void GenMainRout(char pre, int n, int *i
- }
- else fprintf(fpout, "%s Mjoin(PATL,set)(N, ATL_rzero, X, incx);\n", spc);
- fprintf(fpout, "%s return;\n", spc);
-- fprintf(fpout, "%s}\n", spc);
-+ fprintf(fpout, "%s}\n", spc); */
- GenAlphCase(pre, spc, fpout, 1, n, ix, iy, ia, ib);
- GenAlphCase(pre, spc, fpout, -1, n, ix, iy, ia, ib);
- if (pre == 'c' || pre == 'z')
diff --git a/libraries/atlas/slack-desc b/libraries/atlas/slack-desc
deleted file mode 100644
index 73ea6b801b..0000000000
--- a/libraries/atlas/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------------------------------------------------------|
-atlas: atlas (Automatically Tuned Linear Algebra Software)
-atlas:
-atlas: This is ATLAS (Automatically Tuned Linear Algebra Software), an
-atlas: ongoing research effort focusing on applying empirical techniques in
-atlas: order to provide portable performance. At present, it provides C and
-atlas: Fortran77 interfaces to a portably efficient BLAS implementation as
-atlas: well as a few routines from LAPACK. Nevertheless, the default setting
-atlas: for Slackware is to allow for a full LAPACK to get build and installed
-atlas: along with ATLAS.
-atlas:
-atlas: Homepage: http://math-atlas.sourceforge.net/
diff --git a/libraries/aubio/README b/libraries/aubio/README
index 0bab21e1c8..d1c71a9330 100644
--- a/libraries/aubio/README
+++ b/libraries/aubio/README
@@ -7,7 +7,7 @@ results too.
jack and ffmpeg are optional dependencies.
-The python bindings are built if numpy is available and the python3
-ones are built if numpy3 is available: if both versions of python
-are present in the system, the aubio and aubiocut python scripts
-will use python3.
+The python2 bindings are built if python2-numpy is available and
+the python3 ones are built if python3-numpy is available: if both
+versions of numpy are present in the system, the aubio and aubiocut
+python scripts will use python3.
diff --git a/libraries/aubio/aubio.SlackBuild b/libraries/aubio/aubio.SlackBuild
index 254ed00744..0ae7d5aba4 100644
--- a/libraries/aubio/aubio.SlackBuild
+++ b/libraries/aubio/aubio.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aubio
# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2018-2019 Matteo Bernardini, Pisa, Italy
+# Copyright 2018-2024 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230722 bkw: BUILD=2
+# - fix conflict with Sphinx.
+# - add prebuilt man pages (to avoid depending on txt2man, which isn't even
+# in the SBo repo yet).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aubio
-VERSION=${VERSION:-0.4.9}
+VERSION=${VERSION:-20240102_152d681}
+WAFVER=${WAFVER:-2.0.26}
BUILD=${BUILD:-1}
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}
@@ -61,14 +74,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION-2
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+install -m 0755 $CWD/waf-$WAFVER waf
# Fix detecting ffmpeg
sed -i "s|'HAVE_' + i in ctx.env.define_key|'HAVE_' + i in ctx.env|" \
@@ -77,6 +92,13 @@ sed -i "s|'HAVE_' + i in ctx.env.define_key|'HAVE_' + i in ctx.env|" \
# Fix the build system...
sed -i "s|'\${DATAROOTDIR}' + '/doc/libaubio-doc|'\${DOCDIR}|" wscript || exit 1
+# 20230722 bkw: if Sphinx is missing, the build is OK. if it's
+# installed, it gets audodetected, then the build fails later. Could
+# fix with --disable-docs, but that also disables the rest of the
+# docs. Also, since I've added prebuilt man pages, disable the man
+# page generation.
+sed -i -e '/^ *sphinx(bld)/d' -e '/^ *txt2man(bld)/d' wscript
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./waf configure \
@@ -97,8 +119,8 @@ cd ..
cp -a $PRGNAM-$VERSION $PRGNAM-$VERSION-2
cd -
-if $(python -c 'import numpy' 2>/dev/null); then
- python setup.py install --root=$PKG
+if $(python2 -c 'import numpy' 2>/dev/null); then
+ python2 setup.py install --root=$PKG
fi
if $(python3 -c 'import numpy' 2>/dev/null); then
( cd ../$PRGNAM-$VERSION-2
@@ -108,6 +130,12 @@ 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
+# 20230722 bkw: prebuilt man pages.
+mkdir -p $PKG/usr/man/man1
+for i in $CWD/man/*; do
+ gzip -9c < $i > $PKG/usr/man/man1/$( basename $i ).gz
+done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING README.md VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
@@ -119,4 +147,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/aubio/aubio.info b/libraries/aubio/aubio.info
index c5d084ea72..aa912abca8 100644
--- a/libraries/aubio/aubio.info
+++ b/libraries/aubio/aubio.info
@@ -1,8 +1,10 @@
PRGNAM="aubio"
-VERSION="0.4.9"
+VERSION="20240102_152d681"
HOMEPAGE="https://aubio.org/"
-DOWNLOAD="https://aubio.org/pub/aubio-0.4.9.tar.bz2"
-MD5SUM="50c9c63b15a2692378af5d602892f16a"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/aubio-20240102_152d681.tar.xz \
+ https://ponce.cc/slackware/sources/repo/waf-2.0.26"
+MD5SUM="6ada0f768d8b78308f842d8e8862c325 \
+ 730623b05efa37980aa15ff34a02e990"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/aubio/man/aubio.1 b/libraries/aubio/man/aubio.1
new file mode 100644
index 0000000000..7076e42229
--- /dev/null
+++ b/libraries/aubio/man/aubio.1
@@ -0,0 +1,208 @@
+.\" Text automatically generated by txt2man
+.TH AUBIO 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubio \fP- a command line tool to extract information from sound files
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubio\fP [\fB-h\fP] [\fB-V\fP] <command> \.\.\.
+
+.fam T
+.fi
+.fam T
+.fi
+.SH COMMANDS
+
+The general syntax is "\fBaubio\fP <command> <soundfile> [options]". The following
+commands are available:
+.TP
+.B
+onset
+get onset times
+.TP
+.B
+pitch
+extract fundamental frequency
+.TP
+.B
+beat
+get locations of beats
+.TP
+.B
+tempo
+get overall tempo in bpm
+.TP
+.B
+notes
+get midi-like notes
+.TP
+.B
+mfcc
+extract mel-frequency cepstrum coefficients
+.TP
+.B
+melbands
+extract mel-frequency energies per band
+.PP
+For a list of available commands, use "\fBaubio\fP \fB-h\fP". For more info about each
+command, use "\fBaubio\fP <command> \fB--help\fP".
+.SH GENERAL OPTIONS
+
+These options can be used before any command has been specified.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+show help message and exit
+.TP
+.B
+\fB-V\fP, \fB--version\fP
+show version
+.SH COMMON OPTIONS
+
+The following options can be used with all commands:
+.TP
+.B
+<source_uri>, \fB-i\fP <source_uri>, \fB--input\fP <source_uri>
+input sound file to
+analyse (required)
+.TP
+.B
+\fB-r\fP <freq>, \fB--samplerate\fP <freq>
+samplerate at which the file should be
+represented (default: 0, e.g. samplerate of the input sound)
+.TP
+.B
+\fB-H\fP <size>, \fB--hopsize\fP <size>
+overlap size, number of samples between two
+consecutive analysis (default: 256)
+.TP
+.B
+\fB-B\fP <size>, \fB--bufsize\fP <size>
+buffer size, number of samples used for each
+analysis, (e.g. FFT length, default: 512)
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+show help message and exit
+.TP
+.B
+\fB-T\fP format, \fB--time-format\fP format
+select time values output format (samples,
+ms, seconds) (default: seconds)
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+be verbose (increment verbosity by 1, default: 1)
+.TP
+.B
+\fB-q\fP, \fB--quiet\fP
+be quiet (set verbosity to 0)
+.SH ONSET
+
+The following additional options can be used with the "onset" subcommand.
+.TP
+.B
+\fB-m\fP <method>, \fB--method\fP <method>
+onset novelty function
+<default|energy|hfc|complex|phase|specdiff|kl|mkl|specflux> (default:
+default)
+.TP
+.B
+\fB-t\fP <threshold>, \fB--threshold\fP <threshold>
+threshold (default: unset)
+.TP
+.B
+\fB-s\fP <value>, \fB--silence\fP <value>
+silence threshold, in dB (default: \fB-70\fP)
+.TP
+.B
+\fB-M\fP <value>, \fB--minioi\fP <value>
+minimum Inter-Onset Interval (default: 12ms)
+.SH PITCH
+
+The following additional options can be used with the "pitch" subcommand.
+.TP
+.B
+\fB-m\fP <method>, \fB--method\fP <method>
+pitch detection method
+<default|yinfft|yin|mcomb|fcomb|schmitt> (default: default, e.g. yinfft)
+.TP
+.B
+\fB-t\fP <threshold>, \fB--threshold\fP <threshold>
+tolerance (default: unset)
+.TP
+.B
+\fB-s\fP <value>, \fB--silence\fP <value>
+silence threshold, in dB (default: \fB-70\fP)
+.PP
+The default buffer size for the beat algorithm is 2048. The default hop size
+is 256.
+.SH BEAT
+
+The "beat" command accepts all common options and no additional options.
+.PP
+The default buffer size for the beat algorithm is 1024. The default hop size
+is 512.
+.SH TEMPO
+
+The "tempo" command accepts all common options and no additional options.
+.PP
+The default buffer size for the beat algorithm is 1024. The default hop size
+is 512.
+.SH NOTES
+
+The following additional options can be used with the "notes" subcommand.
+.TP
+.B
+\fB-s\fP <value>, \fB--silence\fP <value>
+silence threshold, in dB (default: \fB-70\fP)
+.TP
+.B
+\fB-d\fP <value>, \fB--release-drop\fP <value>
+release drop level, in dB. If the level
+drops more than this amount since the last note started, the note will be
+turned off (default: 10).
+.SH MFCC
+
+The "mfcc" command accepts all common options and no additional options.
+.SH MELBANDS
+
+The "melbands" command accepts all common options and no additional options.
+.SH EXAMPLES
+
+Extract onsets using a minimum inter-onset interval of 30ms:
+.PP
+.nf
+.fam C
+ aubio onset /path/to/input_file -M 30ms
+
+.fam T
+.fi
+Extract pitch with method "mcomb" and a silence threshold of \fB-90dB\fP:
+.PP
+.nf
+.fam C
+ aubio pitch /path/to/input_file -m mcomb -s -90.0
+
+.fam T
+.fi
+Extract MFCC using the standard Slaney implementation:
+.PP
+.nf
+.fam C
+ aubio mfcc /path/to/input_file -r 44100
+
+
+.fam T
+.fi
+.SH SEE ALSO
+
+\fBaubiocut\fP(1)
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
+granted to copy, distribute and/or modify this document 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.
diff --git a/libraries/aubio/man/aubiocut.1 b/libraries/aubio/man/aubiocut.1
new file mode 100644
index 0000000000..c9c887366f
--- /dev/null
+++ b/libraries/aubio/man/aubiocut.1
@@ -0,0 +1,124 @@
+.\" Text automatically generated by txt2man
+.TH AUBIOCUT 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubiocut \fP- a command line tool to slice sound files at onset or beat timestamps
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubiocut\fP \fIsource\fP
+\fBaubiocut\fP [[\fB-i\fP] \fIsource\fP]
+ [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
+ [\fB-O\fP \fImethod\fP] [\fB-t\fP \fIthres\fP]
+ [\fB-b\fP] [\fB-c\fP]
+ [\fB-v\fP] [\fB-q\fP] [\fB-h\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH OPTIONS
+
+This program follows the usual GNU command line syntax, with long options
+starting with two dashes (--). A summary of options is included below.
+.TP
+.B
+\fB-i\fP, \fB--input\fP \fIsource\fP
+Run analysis on this audio file. Most uncompressed and
+compressed are supported, depending on how aubio was built.
+.TP
+.B
+\fB-r\fP, \fB--samplerate\fP \fIrate\fP
+Fetch the input \fIsource\fP, resampled at the given
+sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If set
+to 0, the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
+.TP
+.B
+\fB-B\fP, \fB--bufsize\fP \fIwin\fP
+The size of the buffer to analyze, that is the length
+of the window used for spectral and temporal computations. Defaults to 512.
+.TP
+.B
+\fB-H\fP, \fB--hopsize\fP \fIhop\fP
+The number of samples between two consecutive analysis.
+Defaults to 256.
+.TP
+.B
+\fB-O\fP, \fB--onset\fP \fImethod\fP
+The onset detection \fImethod\fP to use. See ONSET METHODS
+below. Defaults to 'default'.
+.TP
+.B
+\fB-b\fP, \fB--beat\fP
+Use beat locations instead of onset locations.
+.TP
+.B
+\fB-t\fP, \fB--onset-threshold\fP \fIthres\fP
+Set the threshold value for the onset peak
+picking. Values are typically in the range [0.001, 0.900]. Lower threshold
+values imply more onsets detected. Increasing this threshold should reduce
+the number of incorrect detections. Defaults to 0.3.
+.TP
+.B
+\fB-c\fP, \fB--cut\fP
+Cut input sound file at detected labels. A new sound files for
+each slice will be created in the current directory.
+.TP
+.B
+\fB-o\fP, \fB--output\fP directory
+Specify the directory path where slices of the
+original \fIsource\fP should be created.
+.TP
+.B
+\fB--cut-until-nsamples\fP n
+How many extra samples should be added at the end of
+each slice (default 0).
+.TP
+.B
+\fB--cut-until-nslices\fP n
+How many extra slices should be added at the end of
+each slice (default 0).
+.TP
+.B
+\fB--create-first\fP
+Alway create first slice.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Print a short help message and exit.
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+Be verbose.
+.TP
+.B
+\fB-q\fP, \fB--quiet\fP
+Be quiet.
+.RE
+.PP
+
+.SH ONSET METHODS
+
+Available methods: default, energy, hfc, complex, phase, specdiff, kl, mkl,
+specflux.
+.PP
+See \fBaubioonset\fP(1) for details about these methods.
+.RE
+.PP
+
+.SH SEE ALSO
+
+\fBaubioonset\fP(1),
+\fBaubiopitch\fP(1),
+\fBaubiotrack\fP(1),
+\fBaubionotes\fP(1),
+\fBaubioquiet\fP(1),
+and
+\fBaubiomfcc\fP(1).
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
+granted to copy, distribute and/or modify this document 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.
diff --git a/libraries/aubio/man/aubiomfcc.1 b/libraries/aubio/man/aubiomfcc.1
new file mode 100644
index 0000000000..e8f21ea7f0
--- /dev/null
+++ b/libraries/aubio/man/aubiomfcc.1
@@ -0,0 +1,89 @@
+.\" Text automatically generated by txt2man
+.TH AUBIOMFCC 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubiomfcc \fP- a command line tool to compute Mel-Frequency Cepstrum Coefficients
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubiomfcc\fP \fIsource\fP
+\fBaubiomfcc\fP [[\fB-i\fP] \fIsource\fP]
+ [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
+ [\fB-T\fP \fItime-format\fP]
+ [\fB-v\fP] [\fB-h\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+
+\fBaubiomfcc\fP compute the Mel-Frequency Cepstrum Coefficients (MFCC).
+.PP
+MFCCs are coefficients that make up for the mel-frequency spectrum, a
+representation of the short-term power spectrum of a sound. By default, 13
+coefficients are computed using 40 filters.
+.PP
+When started with an input \fIsource\fP (\fB-i\fP/\fB--input\fP), the coefficients are given on
+the console, prefixed by their timestamps in seconds.
+.SH OPTIONS
+
+This program follows the usual GNU command line syntax, with long options
+starting with two dashes (--). A summary of options is included below.
+.TP
+.B
+\fB-i\fP, \fB--input\fP \fIsource\fP
+Run analysis on this audio file. Most uncompressed and
+compressed are supported, depending on how aubio was built.
+.TP
+.B
+\fB-r\fP, \fB--samplerate\fP \fIrate\fP
+Fetch the input \fIsource\fP, resampled at the given
+sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If 0,
+the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
+.TP
+.B
+\fB-B\fP, \fB--bufsize\fP \fIwin\fP
+The size of the buffer to analyze, that is the length
+of the window used for spectral and temporal computations. Defaults to 512.
+.TP
+.B
+\fB-H\fP, \fB--hopsize\fP \fIhop\fP
+The number of samples between two consecutive analysis.
+Defaults to 256.
+.TP
+.B
+\fB-T\fP, \fB--timeformat\fP format
+Set time format (samples, ms, seconds). Defaults to
+seconds.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Print a short help message and exit.
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+Be verbose.
+.SH REFERENCES
+
+Using the default parameters, the filter coefficients will be computed
+according to Malcolm Slaney's Auditory Toolbox, available at the following
+url:
+.PP
+https://engineering.purdue.edu/~malcolm/interval/1998-010/ (see file mfcc.m)
+.SH SEE ALSO
+
+\fBaubioonset\fP(1),
+\fBaubiopitch\fP(1),
+\fBaubiotrack\fP(1),
+\fBaubionotes\fP(1),
+\fBaubioquiet\fP(1),
+and
+\fBaubiocut\fP(1).
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
+granted to copy, distribute and/or modify this document 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.
diff --git a/libraries/aubio/man/aubionotes.1 b/libraries/aubio/man/aubionotes.1
new file mode 100644
index 0000000000..88c93620b2
--- /dev/null
+++ b/libraries/aubio/man/aubionotes.1
@@ -0,0 +1,149 @@
+.\" Text automatically generated by txt2man
+.TH AUBIONOTES 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubionotes \fP- a command line tool to extract musical notes
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubionotes\fP \fIsource\fP
+\fBaubionotes\fP [[\fB-i\fP] \fIsource\fP]
+ [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
+ [\fB-O\fP \fImethod\fP] [\fB-t\fP \fIthres\fP] [\fB-d\fP \fIdrop\fP]
+ [\fB-p\fP \fImethod\fP] [\fB-u\fP \fIunit\fP] [\fB-l\fP \fIthres\fP]
+ [\fB-T\fP \fItime-format\fP]
+ [\fB-s\fP \fIsil\fP]
+ [\fB-j\fP] [\fB-v\fP] [\fB-h\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+
+\fBaubionotes\fP attempts to detect notes by looking for note onsets and pitches.
+Consecutive events are segmented using onset detection, while a fundamental
+frequency extraction algorithm determines their pitch.
+.PP
+When started with an input \fIsource\fP (\fB-i\fP/\fB--input\fP), the detected notes are
+printed on standard output, in seconds and midi note number.
+.PP
+When started without an input \fIsource\fP, or with the jack option (\fB-j\fP/\fB--jack\fP),
+\fBaubionotes\fP starts in jack mode.
+.SH OPTIONS
+
+This program follows the usual GNU command line syntax, with long options
+starting with two dashes (--). A summary of options is included below.
+.TP
+.B
+\fB-i\fP, \fB--input\fP \fIsource\fP
+Run analysis on this audio file. Most uncompressed and
+compressed are supported, depending on how aubio was built.
+.TP
+.B
+\fB-r\fP, \fB--samplerate\fP \fIrate\fP
+Fetch the input \fIsource\fP, resampled at the given
+sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If 0,
+the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
+.TP
+.B
+\fB-B\fP, \fB--bufsize\fP \fIwin\fP
+The size of the buffer to analyze, that is the length
+of the window used for spectral and temporal computations. Defaults to 512.
+.TP
+.B
+\fB-H\fP, \fB--hopsize\fP \fIhop\fP
+The number of samples between two consecutive analysis.
+Defaults to 256.
+.TP
+.B
+\fB-O\fP, \fB--onset\fP \fImethod\fP
+The onset detection \fImethod\fP to use. See ONSET METHODS
+below. Defaults to 'default'.
+.TP
+.B
+\fB-t\fP, \fB--onset-threshold\fP \fIthres\fP
+Set the threshold value for the onset peak
+picking. Typical values are typically within 0.001 and 0.900. Defaults to
+0.1. Lower threshold values imply more onsets detected. Try 0.5 in case of
+over-detections. Defaults to 0.3.
+.TP
+.B
+\fB-M\fP, \fB--minioi\fP value
+Set the minimum inter-onset interval, in seconds, the
+shortest interval between two consecutive notes. Defaults to 0.030
+.TP
+.B
+\fB-p\fP, \fB--pitch\fP \fImethod\fP
+The pitch detection \fImethod\fP to use. See PITCH METHODS
+below. Defaults to 'default'.
+.TP
+.B
+\fB-u\fP, \fB--pitch\fP-\fIunit\fP \fIunit\fP
+The \fIunit\fP to be used to print frequencies. Possible
+values include midi, bin, cent, and Hz. Defaults to 'Hz'.
+.TP
+.B
+\fB-l\fP, \fB--pitch-tolerance\fP \fIthres\fP
+Set the tolerance for the pitch detection
+algorithm. Typical values range between 0.2 and 0.9. Pitch candidates found
+with a confidence less than this threshold will not be selected. The higher
+the threshold, the more confidence in the candidates. Defaults to unset.
+.TP
+.B
+\fB-s\fP, \fB--silence\fP \fIsil\fP
+Set the silence threshold, in dB, under which the pitch
+will not be detected. A value of \fB-20.0\fP would eliminate most onsets but the
+loudest ones. A value of \fB-90.0\fP would select all onsets. Defaults to \fB-90.0\fP.
+.TP
+.B
+\fB-d\fP, \fB--release\fP-\fIdrop\fP
+Set the release \fIdrop\fP threshold, in dB. If the level drops
+more than this amount since the last note started, the note will be turned
+off. Defaults to 10.
+.TP
+.B
+\fB-T\fP, \fB--timeformat\fP format
+Set time format (samples, ms, seconds). Defaults to
+seconds.
+.TP
+.B
+\fB-j\fP, \fB--jack\fP
+Use Jack input/output. You will need a Jack connection
+controller to feed aubio some signal and listen to its output.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Print a short help message and exit.
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+Be verbose.
+.SH ONSET METHODS
+
+Available methods: default, energy, hfc, complex, phase, specdiff, kl, mkl,
+specflux.
+.PP
+See \fBaubioonset\fP(1) for details about these methods.
+.SH PITCH METHODS
+
+Available methods: default, schmitt, fcomb, mcomb, specacf, yin, yinfft,
+yinfast.
+.PP
+See \fBaubiopitch\fP(1) for details about these methods.
+.SH SEE ALSO
+
+\fBaubioonset\fP(1),
+\fBaubiopitch\fP(1),
+\fBaubiotrack\fP(1),
+\fBaubioquiet\fP(1),
+\fBaubiomfcc\fP(1),
+and
+\fBaubiocut\fP(1).
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
+granted to copy, distribute and/or modify this document 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.
diff --git a/libraries/aubio/man/aubioonset.1 b/libraries/aubio/man/aubioonset.1
new file mode 100644
index 0000000000..1edcc52d62
--- /dev/null
+++ b/libraries/aubio/man/aubioonset.1
@@ -0,0 +1,223 @@
+.\" Text automatically generated by txt2man
+.TH AUBIOONSET 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubioonset \fP- a command line tool to extract musical onset times
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubioonset\fP \fIsource\fP
+\fBaubioonset\fP [[\fB-i\fP] \fIsource\fP] [\fB-o\fP \fIsink\fP]
+ [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
+ [\fB-O\fP \fImethod\fP] [\fB-t\fP \fIthres\fP]
+ [\fB-T\fP \fItime-format\fP]
+ [\fB-s\fP \fIsil\fP] [\fB-m\fP] [\fB-f\fP]
+ [\fB-j\fP] [\fB-N\fP \fImiditap-note\fP] [\fB-V\fP \fImiditap-velo\fP]
+ [\fB-v\fP] [\fB-h\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+
+\fBaubioonset\fP attempts to detect onset times, the beginning of discrete sound
+events, in audio signals.
+.PP
+When started with an input \fIsource\fP (\fB-i\fP/\fB--input\fP), the detected onset times are
+given on the console, in seconds.
+.PP
+When started without an input \fIsource\fP, or with the jack option (\fB-j\fP/\fB--jack\fP),
+\fBaubioonset\fP starts in jack mode.
+.SH OPTIONS
+
+This program follows the usual GNU command line syntax, with long options
+starting with two dashes (--). A summary of options is included below.
+.TP
+.B
+\fB-i\fP, \fB--input\fP \fIsource\fP
+Run analysis on this audio file. Most uncompressed and
+compressed are supported, depending on how aubio was built.
+.TP
+.B
+\fB-o\fP, \fB--output\fP \fIsink\fP
+Save results in this file. The file will be created on
+the model of the input file. Onset times are marked by a short wood-block
+like sound.
+.TP
+.B
+\fB-r\fP, \fB--samplerate\fP \fIrate\fP
+Fetch the input \fIsource\fP, resampled at the given
+sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If 0,
+the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
+.TP
+.B
+\fB-B\fP, \fB--bufsize\fP \fIwin\fP
+The size of the buffer to analyze, that is the length
+of the window used for spectral and temporal computations. Defaults to 512.
+.TP
+.B
+\fB-H\fP, \fB--hopsize\fP \fIhop\fP
+The number of samples between two consecutive analysis.
+Defaults to 256.
+.TP
+.B
+\fB-O\fP, \fB--onset\fP \fImethod\fP
+The onset detection \fImethod\fP to use. See ONSET METHODS
+below. Defaults to 'default'.
+.TP
+.B
+\fB-t\fP, \fB--onset-threshold\fP \fIthres\fP
+Set the threshold value for the onset peak
+picking. Values are typically in the range [0.001, 0.900]. Lower threshold
+values imply more onsets detected. Increasing this threshold should reduce
+the number of incorrect detections. Defaults to 0.3.
+.TP
+.B
+\fB-M\fP, \fB--minioi\fP value
+Set the minimum inter-onset interval, in seconds, the
+shortest interval between two consecutive onsets. Defaults to 0.020
+.TP
+.B
+\fB-s\fP, \fB--silence\fP \fIsil\fP
+Set the silence threshold, in dB, under which the onset
+will not be detected. A value of \fB-20.0\fP would eliminate most onsets but the
+loudest ones. A value of \fB-90.0\fP would select all onsets. Defaults to \fB-90.0\fP.
+.TP
+.B
+\fB-T\fP, \fB--timeformat\fP format
+Set time format (samples, ms, seconds). Defaults to
+seconds.
+.TP
+.B
+\fB-m\fP, \fB--mix-input\fP
+Mix \fIsource\fP signal to the output signal before writing to
+\fIsink\fP.
+.TP
+.B
+\fB-f\fP, \fB--force-overwrite\fP
+Overwrite output file if it already exists.
+.TP
+.B
+\fB-j\fP, \fB--jack\fP
+Use Jack input/output. You will need a Jack connection
+controller to feed aubio some signal and listen to its output.
+.TP
+.B
+\fB-N\fP, --\fImiditap-note\fP
+Override note value for MIDI tap. Defaults to 69.
+.TP
+.B
+\fB-V\fP, \fB--miditap-velop\fP
+Override velocity value for MIDI tap. Defaults to 65.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Print a short help message and exit.
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+Be verbose.
+.SH ONSET METHODS
+
+Available methods are:
+.TP
+.B
+default
+Default distance, currently hfc
+.PP
+Default: 'default' (currently set to hfc)
+.TP
+.B
+energy
+Energy based distance
+.PP
+This function calculates the local energy of the input spectral frame.
+.TP
+.B
+hfc
+High-Frequency content
+.PP
+This \fImethod\fP computes the High Frequency Content (HFC) of the input
+spectral frame. The resulting function is efficient at detecting
+percussive onsets.
+.PP
+Paul Masri. Computer modeling of Sound for Transformation and Synthesis of
+Musical Signal. PhD dissertation, University of Bristol, UK, 1996.
+.TP
+.B
+complex
+Complex domain onset detection function
+.PP
+This function uses information both in frequency and in phase to determine
+changes in the spectral content that might correspond to musical onsets.
+It is best suited for complex signals such as polyphonic recordings.
+.TP
+.B
+Christopher Duxbury, Mike E. Davies, and Mark B. Sandler.
+Complex domain
+onset detection for musical signals. In Proceedings of the Digital Audio
+Effects Conference, DAFx-03, pages 90-93, London, UK, 2003.
+.TP
+.B
+phase
+Phase based onset detection function
+.PP
+This function uses information both in frequency and in phase to determine
+changes in the spectral content that might correspond to musical onsets. It
+is best suited for complex signals such as polyphonic recordings.
+.TP
+.B
+Juan-Pablo Bello, Mike P. Davies, and Mark B. Sandler.
+Phase-based note
+onset detection for music signals. In Proceedings of the IEEE International
+Conference on Acoustics Speech and Signal Processing, pages 441­444,
+Hong-Kong, 2003.
+.TP
+.B
+specdiff
+Spectral difference onset detection function
+.PP
+Jonhatan Foote and Shingo Uchihashi. The beat spectrum: a new approach to
+rhythm analysis. In IEEE International Conference on Multimedia and Expo
+(ICME 2001), pages 881­884, Tokyo, Japan, August 2001.
+.TP
+.B
+kl
+Kulback-Liebler onset detection function
+.PP
+Stephen Hainsworth and Malcom Macleod. Onset detection in music audio
+signals. In Proceedings of the International Computer Music Conference
+(ICMC), Singapore, 2003.
+.TP
+.B
+mkl
+Modified Kulback-Liebler onset detection function
+.PP
+Paul Brossier, ``Automatic annotation of musical audio for interactive
+systems'', Chapter 2, Temporal segmentation, PhD thesis, Centre for
+Digital music, Queen Mary University of London, London, UK, 2006.
+.TP
+.B
+specflux
+Spectral flux
+.PP
+Simon Dixon, Onset Detection Revisited, in ``Proceedings of the 9th
+International Conference on Digital Audio Effects'' (DAFx-06), Montreal,
+Canada, 2006.
+.SH SEE ALSO
+
+\fBaubiopitch\fP(1),
+\fBaubiotrack\fP(1),
+\fBaubionotes\fP(1),
+\fBaubioquiet\fP(1),
+\fBaubiomfcc\fP(1),
+and
+\fBaubiocut\fP(1).
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
+granted to copy, distribute and/or modify this document 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.
diff --git a/libraries/aubio/man/aubiopitch.1 b/libraries/aubio/man/aubiopitch.1
new file mode 100644
index 0000000000..fe0fea2f77
--- /dev/null
+++ b/libraries/aubio/man/aubiopitch.1
@@ -0,0 +1,194 @@
+.\" Text automatically generated by txt2man
+.TH AUBIOPITCH 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubiopitch \fP- a command line tool to extract musical pitch
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubiopitch\fP \fIsource\fP
+\fBaubiopitch\fP [[\fB-i\fP] \fIsource\fP] [\fB-o\fP \fIsink\fP]
+ [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
+ [\fB-p\fP \fImethod\fP] [\fB-u\fP \fIunit\fP] [\fB-l\fP \fIthres\fP]
+ [\fB-T\fP \fItime-format\fP]
+ [\fB-s\fP \fIsil\fP] [\fB-f\fP]
+ [\fB-v\fP] [\fB-h\fP] [\fB-j\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+
+\fBaubiopitch\fP attempts to detect the pitch, the perceived height of a musical
+note.
+.PP
+When started with an input \fIsource\fP (\fB-i\fP/\fB--input\fP), the detected pitch are
+printed on the console, prefixed by a timestamp in seconds. If no pitch
+candidate is found, the output is 0.
+.PP
+When started without an input \fIsource\fP, or with the jack option (\fB-j\fP/\fB--jack\fP),
+\fBaubiopitch\fP starts in jack mode.
+.SH OPTIONS
+
+This program follows the usual GNU command line syntax, with long options
+starting with two dashes (--). A summary of options is included below.
+.TP
+.B
+\fB-i\fP, \fB--input\fP \fIsource\fP
+Run analysis on this audio file. Most uncompressed and
+compressed are supported, depending on how aubio was built.
+.TP
+.B
+\fB-o\fP, \fB--output\fP \fIsink\fP
+Save results in this file. The file will be created on
+the model of the input file. The detected frequency is played at the
+detected loudness.
+.TP
+.B
+\fB-r\fP, \fB--samplerate\fP \fIrate\fP
+Fetch the input \fIsource\fP, resampled at the given
+sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If 0,
+the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
+.TP
+.B
+\fB-B\fP, \fB--bufsize\fP \fIwin\fP
+The size of the buffer to analyze, that is the length
+of the window used for spectral and temporal computations. Defaults to 2048.
+.TP
+.B
+\fB-H\fP, \fB--hopsize\fP \fIhop\fP
+The number of samples between two consecutive analysis.
+Defaults to 256.
+.TP
+.B
+\fB-p\fP, \fB--pitch\fP \fImethod\fP
+The pitch detection \fImethod\fP to use. See PITCH METHODS
+below. Defaults to 'default'.
+.TP
+.B
+\fB-u\fP, \fB--pitch\fP-\fIunit\fP \fIunit\fP
+The \fIunit\fP to be used to print frequencies. Possible
+values include midi, bin, cent, and Hz. Defaults to 'Hz'.
+.TP
+.B
+\fB-l\fP, \fB--pitch-tolerance\fP \fIthres\fP
+Set the tolerance for the pitch detection
+algorithm. Typical values range between 0.2 and 0.9. Pitch candidates found
+with a confidence less than this threshold will not be selected. The higher
+the threshold, the more confidence in the candidates. Defaults to unset.
+.TP
+.B
+\fB-s\fP, \fB--silence\fP \fIsil\fP
+Set the silence threshold, in dB, under which the onset
+will not be detected. A value of \fB-20.0\fP would eliminate most onsets but the
+loudest ones. A value of \fB-90.0\fP would select all onsets. Defaults to \fB-90.0\fP.
+.TP
+.B
+\fB-T\fP, \fB--timeformat\fP format
+Set time format (samples, ms, seconds). Defaults to
+seconds.
+.TP
+.B
+\fB-m\fP, \fB--mix-input\fP
+Mix \fIsource\fP signal to the output signal before writing to
+\fIsink\fP.
+.TP
+.B
+\fB-f\fP, \fB--force-overwrite\fP
+Overwrite output file if it already exists.
+.TP
+.B
+\fB-j\fP, \fB--jack\fP
+Use Jack input/output. You will need a Jack connection
+controller to feed aubio some signal and listen to its output.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Print a short help message and exit.
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+Be verbose.
+.SH PITCH METHODS
+
+Available methods are:
+.TP
+.B
+default
+use the default \fImethod\fP
+.PP
+Currently, the default \fImethod\fP is set to yinfft.
+.TP
+.B
+schmitt
+Schmitt trigger
+.PP
+This pitch extraction \fImethod\fP implements a Schmitt trigger to estimate the
+period of a signal. It is computationally very inexpensive, but also very
+sensitive to noise.
+.TP
+.B
+fcomb
+a fast harmonic comb filter
+.PP
+This pitch extraction \fImethod\fP implements a fast harmonic comb filter to
+determine the fundamental frequency of a harmonic sound.
+.TP
+.B
+mcomb
+multiple-comb filter
+.PP
+This fundamental frequency estimation algorithm implements spectral
+flattening, multi-comb filtering and peak histogramming.
+.TP
+.B
+specacf
+Spectral auto-correlation function
+.TP
+.B
+yin
+YIN algorithm
+.PP
+This algorithm was developed by A. de Cheveigne and H. Kawahara and
+was first published in:
+.PP
+De Cheveigné, A., Kawahara, H. (2002) "YIN, a fundamental frequency
+estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930.
+.TP
+.B
+yinfft
+Yinfft algorithm
+.PP
+This algorithm was derived from the YIN algorithm. In this implementation, a
+Fourier transform is used to compute a tapered square difference function,
+which allows spectral weighting. Because the difference function is tapered,
+the selection of the period is simplified.
+.PP
+Paul Brossier, Automatic annotation of musical audio for interactive systems,
+Chapter 3, Pitch Analysis, PhD thesis, Centre for Digital music, Queen Mary
+University of London, London, UK, 2006.
+.TP
+.B
+yinfast
+YIN algorithm (accelerated)
+.PP
+An optimised implementation of the YIN algorithm, yielding results identical
+to the original YIN algorithm, while reducing its computational cost from
+\fBO\fP(n^2) to \fBO\fP(n \fBlog\fP(n)).
+.SH SEE ALSO
+
+\fBaubioonset\fP(1),
+\fBaubiotrack\fP(1),
+\fBaubionotes\fP(1),
+\fBaubioquiet\fP(1),
+\fBaubiomfcc\fP(1),
+and
+\fBaubiocut\fP(1).
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
+granted to copy, distribute and/or modify this document 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.
diff --git a/libraries/aubio/man/aubioquiet.1 b/libraries/aubio/man/aubioquiet.1
new file mode 100644
index 0000000000..b8f8ac340a
--- /dev/null
+++ b/libraries/aubio/man/aubioquiet.1
@@ -0,0 +1,92 @@
+.\" Text automatically generated by txt2man
+.TH AUBIOQUIET 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubioquiet \fP- a command line tool to extracts quiet and loud regions from a file
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubioquiet\fP \fIsource\fP
+\fBaubioquiet\fP [[\fB-i\fP] \fIsource\fP]
+ [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
+ [\fB-T\fP \fItime-format\fP]
+ [\fB-s\fP \fIsil\fP]
+ [\fB-v\fP] [\fB-h\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+
+\fBaubioquiet\fP will print a timestamp each time it detects a new silent region or
+a new loud region in a sound file.
+.PP
+When started with an input \fIsource\fP (\fB-i\fP/\fB--input\fP), the detected timestamps are
+printed on the console, in seconds.
+.SH OPTIONS
+
+This program follows the usual GNU command line syntax, with long options
+starting with two dashes (--). A summary of options is included below.
+.TP
+.B
+\fB-i\fP, \fB--input\fP \fIsource\fP
+Run analysis on this audio file. Most uncompressed and
+compressed are supported, depending on how aubio was built.
+.TP
+.B
+\fB-r\fP, \fB--samplerate\fP \fIrate\fP
+Fetch the input \fIsource\fP, resampled at the given
+sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If 0,
+the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
+.TP
+.B
+\fB-B\fP, \fB--bufsize\fP \fIwin\fP
+The size of the buffer to analyze, that is the length
+of the window used for spectral and temporal computations. Defaults to 512.
+.TP
+.B
+\fB-H\fP, \fB--hopsize\fP \fIhop\fP
+The number of samples between two consecutive analysis.
+Defaults to 256.
+.TP
+.B
+\fB-s\fP, \fB--silence\fP \fIsil\fP
+Set the silence threshold, in dB, under which the pitch
+will not be detected. Defaults to \fB-90.0\fP.
+.TP
+.B
+\fB-T\fP, \fB--timeformat\fP format
+Set time format (samples, ms, seconds). Defaults to
+seconds.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Print a short help message and exit.
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+Be verbose.
+.SH EXAMPLE OUTPUT
+
+.SS NOISY: 28.775330
+
+.SS QUIET: 28.914648
+
+
+.SH SEE ALSO
+
+\fBaubioonset\fP(1),
+\fBaubiopitch\fP(1),
+\fBaubiotrack\fP(1),
+\fBaubionotes\fP(1),
+\fBaubiomfcc\fP(1),
+and
+\fBaubiocut\fP(1).
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission
+is granted to copy, distribute and/or modify this document under the terms
+of the GNU General Public License, Version 3 any later version published
+by the Free Software Foundation.
diff --git a/libraries/aubio/man/aubiotrack.1 b/libraries/aubio/man/aubiotrack.1
new file mode 100644
index 0000000000..46a623c530
--- /dev/null
+++ b/libraries/aubio/man/aubiotrack.1
@@ -0,0 +1,129 @@
+.\" Text automatically generated by txt2man
+.TH AUBIOTRACK 1 "22 July 2023" "aubio 0.4.9" "aubio User's manual"
+.SH NAME
+\fBaubiotrack \fP- a command line tool to extract musical beats from audio signals
+\fB
+.SH SYNOPSIS
+.nf
+.fam C
+
+\fBaubiotrack\fP \fIsource\fP
+\fBaubiotrack\fP [[\fB-i\fP] \fIsource\fP] [\fB-o\fP \fIsink\fP]
+ [\fB-r\fP \fIrate\fP] [\fB-B\fP \fIwin\fP] [\fB-H\fP \fIhop\fP]
+ [\fB-T\fP \fItime-format\fP]
+ [\fB-s\fP \fIsil\fP] [\fB-m\fP]
+ [\fB-j\fP] [\fB-N\fP \fImiditap-note\fP] [\fB-V\fP \fImiditap-velo\fP]
+ [\fB-v\fP] [\fB-h\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+
+\fBaubiotrack\fP attempts to detect beats, the time where one would intuitively be
+tapping his foot.
+.PP
+When started with an input \fIsource\fP (\fB-i\fP/\fB--input\fP), the detected beats are given
+on the console, in seconds.
+.PP
+When started without an input \fIsource\fP, or with the jack option (\fB-j\fP/\fB--jack\fP),
+\fBaubiotrack\fP starts in jack mode.
+.SH OPTIONS
+
+This program follows the usual GNU command line syntax, with long options
+starting with two dashes (--). A summary of options is included below.
+.TP
+.B
+\fB-i\fP, \fB--input\fP \fIsource\fP
+Run analysis on this audio file. Most uncompressed and
+compressed are supported, depending on how aubio was built.
+.TP
+.B
+\fB-o\fP, \fB--output\fP \fIsink\fP
+Save results in this file. The file will be created on the
+model of the input file. Beats are marked by a short wood-block like sound.
+.TP
+.B
+\fB-r\fP, \fB--samplerate\fP \fIrate\fP
+Fetch the input \fIsource\fP, resampled at the given
+sampling \fIrate\fP. The \fIrate\fP should be specified in Hertz as an integer. If 0,
+the sampling \fIrate\fP of the original \fIsource\fP will be used. Defaults to 0.
+.TP
+.B
+\fB-B\fP, \fB--bufsize\fP \fIwin\fP
+The size of the buffer to analyze, that is the length
+of the window used for spectral and temporal computations. Defaults to 512.
+.TP
+.B
+\fB-H\fP, \fB--hopsize\fP \fIhop\fP
+The number of samples between two consecutive analysis.
+Defaults to 256.
+.TP
+.B
+\fB-s\fP, \fB--silence\fP \fIsil\fP
+Set the silence threshold, in dB, under which the pitch
+will not be detected. A value of \fB-20.0\fP would eliminate most onsets but the
+loudest ones. A value of \fB-90.0\fP would select all onsets. Defaults to \fB-90.0\fP.
+.TP
+.B
+\fB-m\fP, \fB--mix-input\fP
+Mix \fIsource\fP signal to the output signal before writing to
+\fIsink\fP.
+.TP
+.B
+\fB-f\fP, \fB--force-overwrite\fP
+Overwrite output file if it already exists.
+.TP
+.B
+\fB-j\fP, \fB--jack\fP
+Use Jack input/output. You will need a Jack connection
+controller to feed aubio some signal and listen to its output.
+.TP
+.B
+\fB-N\fP, --\fImiditap-note\fP
+Override note value for MIDI tap. Defaults to 69.
+.TP
+.B
+\fB-V\fP, \fB--miditap-velop\fP
+Override velocity value for MIDI tap. Defaults to 65.
+.TP
+.B
+\fB-T\fP, \fB--timeformat\fP format
+Set time format (samples, ms, seconds). Defaults to
+seconds.
+.TP
+.B
+\fB-h\fP, \fB--help\fP
+Print a short help message and exit.
+.TP
+.B
+\fB-v\fP, \fB--verbose\fP
+Be verbose.
+.SH BEAT TRACKING METHODS
+
+Aubio currently implements one the causal beat tracking algorithm designed by
+Matthew Davies and described in the following articles:
+.PP
+Matthew E. P. Davies and Mark D. Plumbley. Causal tempo tracking of audio.
+In Proceedings of the International Symposium on Music Information Retrieval
+(ISMIR), pages 164­169, Barcelona, Spain, 2004.
+.PP
+Matthew E. P. Davies, Paul Brossier, and Mark D. Plumbley. Beat tracking
+towards automatic musical accompaniment. In Proceedings of the Audio
+Engineering Society 118th Convention, Barcelona, Spain, May 2005.
+.SH SEE ALSO
+
+\fBaubioonset\fP(1),
+\fBaubiopitch\fP(1),
+\fBaubionotes\fP(1),
+\fBaubioquiet\fP(1),
+\fBaubiomfcc\fP(1),
+and
+\fBaubiocut\fP(1).
+.SH AUTHOR
+
+This manual page was written by Paul Brossier <piem@aubio.org>. Permission is
+granted to copy, distribute and/or modify this document 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.
diff --git a/libraries/audiere/README b/libraries/audiere/README
index 894bb41b0d..8221098ab6 100644
--- a/libraries/audiere/README
+++ b/libraries/audiere/README
@@ -1,9 +1,6 @@
-audiere (High-level audio API)
-
Audiere is a high-level audio API. It can play Ogg Vorbis, MP3,
FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For
audio output, Audiere supports DirectSound or WinMM in Windows,
OSS on Linux and Cygwin, and SGI AL on IRIX.
-Optional dependencies are speex, libcdaudio and dumb (this one
-is not available in SlackBuilds).
+libcdaudio is an optional dependency.
diff --git a/libraries/audiere/audiere.SlackBuild b/libraries/audiere/audiere.SlackBuild
index ce8e65e88f..0fc869c336 100644
--- a/libraries/audiere/audiere.SlackBuild
+++ b/libraries/audiere/audiere.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for audiere
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
# Maintained by Klaatu @member.fsf.org
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=audiere
VERSION=${VERSION:-1.9.4}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +93,10 @@ cp -a doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f | xargs chmod 644
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/libraries/audioread/README b/libraries/audioread/README
index bae8ea9082..fccbcc2dc4 100644
--- a/libraries/audioread/README
+++ b/libraries/audioread/README
@@ -1,13 +1,8 @@
Decode audio files using whichever backend is available.
The library currently supports:
-- gstreamer via gst0-python.
+- gstreamer via gst-python.
- MAD via the pymad bindings.
- ffmpeg via its command-line interface.
- The standard library wave and aifc modules (for WAV and AIFF files).
-ffmpeg and gst0-python are optional dependencies.
-
-If you want to build this for use with Python 3.x (require python3)
-pass the script PYTHON3=yes, like
-
- PYTHON3=yes ./audioread.SlackBuild
+gst-python are optional dependencies.
diff --git a/libraries/audioread/audioread.SlackBuild b/libraries/audioread/audioread.SlackBuild
index a042f5d66e..4f51637417 100644
--- a/libraries/audioread/audioread.SlackBuild
+++ b/libraries/audioread/audioread.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for audioread
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -22,10 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231008 46and2: Updated version, change to pep517 build process.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=audioread
-VERSION=${VERSION:-2.1.6}
+VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,28 +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
-
-PYTHON=python
-[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
-
set -e
rm -rf $PKG
@@ -68,11 +61,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 {} \+
-$PYTHON 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
@@ -85,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/libraries/audioread/audioread.info b/libraries/audioread/audioread.info
index 2fafa93e6c..d5a9820f1e 100644
--- a/libraries/audioread/audioread.info
+++ b/libraries/audioread/audioread.info
@@ -1,10 +1,10 @@
PRGNAM="audioread"
-VERSION="2.1.6"
+VERSION="3.0.1"
HOMEPAGE="https://github.com/sampsyo/audioread"
-DOWNLOAD="https://files.pythonhosted.org/packages/f0/41/8cd160c6b2046b997d571a744a7f398f39e954a62dd747b2aae1ad7f07d4/audioread-2.1.6.tar.gz"
-MD5SUM="14eb3cceb61e07c8b44ed49a06236766"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/a/audioread/audioread-3.0.1.tar.gz"
+MD5SUM="3de844f9c75b97691da85e0f1ec76e90"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="python3-build"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/avbin/avbin.SlackBuild b/libraries/avbin/avbin.SlackBuild
index 8ebe21ed60..b2d396336b 100644
--- a/libraries/avbin/avbin.SlackBuild
+++ b/libraries/avbin/avbin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avbin
@@ -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=avbin
VERSION=${VERSION:-10}
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}
@@ -63,23 +70,24 @@ fi
SRCNAM=install-$PRGNAM-linux-x86-$AR-v$VERSION
+# 20220216 bkw: depending on what was used to download the file, it
+# may have a bunch of amazon-gibberish in the filename
+CWDSRC="$CWD/$SRCNAM"
+if [ ! -e "$CWDSRC" ]; then
+ CWDSRC="$( /bin/ls $CWDSRC\?* | head -1)"
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-chmod 0755 $CWD/$SRCNAM
-sh $CWD/$SRCNAM --noexec --target .
+sh "$CWDSRC" --noexec --target .
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 *
-find $PKG -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 *.so.*
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
install -D -m0755 lib${PRGNAM}.so.${VERSION} $PKG/usr/lib${LIBDIRSUFFIX}
@@ -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/libraries/avr-libc/avr-libc.SlackBuild b/libraries/avr-libc/avr-libc.SlackBuild
index 3c1455ba09..4fab821558 100644
--- a/libraries/avr-libc/avr-libc.SlackBuild
+++ b/libraries/avr-libc/avr-libc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for avr-libc
@@ -12,32 +12,33 @@
# I am not responsible for any consequences that follow from the
# incorrect use of this script.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avr-libc
-VERSION=${VERSION:-1.8.1}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-2.0.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
-# Add latex to path if it's not already in it.
-if [ $(echo $PATH | grep "/usr/share/texmf/bin" | wc -l) -le 0 ]; then
- echo "Latex not in path, adding /usr/share/texmf/bin to path" ;
- PATH=$PATH:/usr/share/texmf/bin ;
+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"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,6 +66,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 {} \;
+./bootstrap
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,8 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \
make all
make install DOC_INST_DIR=$PKG/usr/doc/$PRGNAM-$VERSION 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
+# Don't strip the libraries to avoid damaging them
# Create the directory for program documentation.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -91,8 +93,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog* INSTALL LICENSE 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/avr-libc/avr-libc.info b/libraries/avr-libc/avr-libc.info
index b8e89f4dda..b2f5078b3d 100644
--- a/libraries/avr-libc/avr-libc.info
+++ b/libraries/avr-libc/avr-libc.info
@@ -1,8 +1,8 @@
PRGNAM="avr-libc"
-VERSION="1.8.1"
+VERSION="2.0.0"
HOMEPAGE="http://avr-libc.nongnu.org/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/avr-libc/avr-libc-1.8.1.tar.bz2"
-MD5SUM="0caccead59eaaa61ac3f060ca3a803ef"
+DOWNLOAD="http://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2"
+MD5SUM="2360981cd5d94e1d7a70dfc6983bdf15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avr-gcc"
diff --git a/libraries/awscrt/README b/libraries/awscrt/README
new file mode 100644
index 0000000000..2cd8f3caa8
--- /dev/null
+++ b/libraries/awscrt/README
@@ -0,0 +1 @@
+Library for the AWS Common Runtime.
diff --git a/libraries/awscrt/awscrt.SlackBuild b/libraries/awscrt/awscrt.SlackBuild
new file mode 100644
index 0000000000..939e6dac1d
--- /dev/null
+++ b/libraries/awscrt/awscrt.SlackBuild
@@ -0,0 +1,95 @@
+#!/bin/bash
+
+# Slackware build script for awscrt
+
+# Copyright 2023 Dimitris Zlatanidis Greece, Orestiada
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=awscrt
+VERSION=${VERSION:-0.19.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 LICENSE NOTICE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/awscrt/awscrt.info b/libraries/awscrt/awscrt.info
new file mode 100644
index 0000000000..b50bacb2a2
--- /dev/null
+++ b/libraries/awscrt/awscrt.info
@@ -0,0 +1,10 @@
+PRGNAM="awscrt"
+VERSION="0.19.13"
+HOMEPAGE="https://github.com/awslabs/aws-crt-python"
+DOWNLOAD="https://files.pythonhosted.org/packages/86/e1/042ff1ab855cd738084d6666b4991b5de11dbd35c9d7f373fdc11a15616e/awscrt-0.19.13.tar.gz"
+MD5SUM="d7e2fe49099bcd527a0e7bd05b9a6ce0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-wheel"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/awscrt/slack-desc b/libraries/awscrt/slack-desc
new file mode 100644
index 0000000000..78a7dca912
--- /dev/null
+++ b/libraries/awscrt/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------------------------------------------------------|
+awscrt: awscrt (library for the AWS Common Runtime)
+awscrt:
+awscrt: Library for the AWS Common Runtime.
+awscrt:
+awscrt: Homepage: https://github.com/awslabs/aws-crt-python
+awscrt:
+awscrt:
+awscrt:
+awscrt:
+awscrt:
+awscrt:
diff --git a/libraries/ayatana-ido/README b/libraries/ayatana-ido/README
new file mode 100644
index 0000000000..84078909b7
--- /dev/null
+++ b/libraries/ayatana-ido/README
@@ -0,0 +1,4 @@
+ayatana-ido (custom GTK menu widgets)
+
+Ayatana IDO provides custom GTK menu widgets for Ayatana System
+Indicators.
diff --git a/libraries/ayatana-ido/ayatana-ido.SlackBuild b/libraries/ayatana-ido/ayatana-ido.SlackBuild
new file mode 100644
index 0000000000..5230181fde
--- /dev/null
+++ b/libraries/ayatana-ido/ayatana-ido.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+#
+# Slackware build script for ayatana-ido.
+#
+# Copyright 2023 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ayatana-ido
+VERSION=${VERSION:-0.10.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.?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
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DENABLE_COVERAGE=OFF \
+ -DENABLE_TESTS=OFF \
+ -DENABLE_WERROR=OFF \
+ -DGLIB_MKENUMS=/usr/bin/glib-mkenums \
+ ..
+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 AUTHORS* ChangeLog COPYING.GPL-3 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/libraries/ayatana-ido/ayatana-ido.info b/libraries/ayatana-ido/ayatana-ido.info
new file mode 100644
index 0000000000..58783f3f3b
--- /dev/null
+++ b/libraries/ayatana-ido/ayatana-ido.info
@@ -0,0 +1,10 @@
+PRGNAM="ayatana-ido"
+VERSION="0.10.1"
+HOMEPAGE="https://github.com/AyatanaIndicators/ayatana-ido"
+DOWNLOAD="https://github.com/AyatanaIndicators/ayatana-ido/archive/0.10.1/ayatana-ido-0.10.1.tar.gz"
+MD5SUM="9d87a3af97cc3f9e662293e6354e3072"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/libraries/rep-gtk/doinst.sh b/libraries/ayatana-ido/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/libraries/rep-gtk/doinst.sh
+++ b/libraries/ayatana-ido/doinst.sh
diff --git a/libraries/ayatana-ido/slack-desc b/libraries/ayatana-ido/slack-desc
new file mode 100644
index 0000000000..28a4e11d69
--- /dev/null
+++ b/libraries/ayatana-ido/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------------------------------------------------------|
+ayatana-ido: ayatana-ido (custom GTK menu widgets)
+ayatana-ido:
+ayatana-ido: Ayatana IDO provides custom GTK menu widgets for Ayatana System
+ayatana-ido: Indicators.
+ayatana-ido:
+ayatana-ido: Home page: https://github.com/AyatanaIndicators/ayatana-ido
+ayatana-ido:
+ayatana-ido:
+ayatana-ido:
+ayatana-ido:
+ayatana-ido:
diff --git a/libraries/backports-ssl-match-hostname/backports-ssl-match-hostname.SlackBuild b/libraries/backports-ssl-match-hostname/backports-ssl-match-hostname.SlackBuild
index b19072095f..fce9354811 100644
--- a/libraries/backports-ssl-match-hostname/backports-ssl-match-hostname.SlackBuild
+++ b/libraries/backports-ssl-match-hostname/backports-ssl-match-hostname.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for backports-ssl-match-hostname
@@ -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=backports-ssl-match-hostname
SRCNAM=backports.ssl_match_hostname
VERSION=${VERSION:-3.5.0.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}
@@ -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/libraries/bamf/bamf-no-gtester2xunit.patch b/libraries/bamf/bamf-no-gtester2xunit.patch
new file mode 100644
index 0000000000..5c1e0fcd74
--- /dev/null
+++ b/libraries/bamf/bamf-no-gtester2xunit.patch
@@ -0,0 +1,22 @@
+diff -Naur bamf-0.5.6.orig/configure.ac bamf-0.5.6/configure.ac
+--- bamf-0.5.6.orig/configure.ac 2022-02-17 19:16:55.346057503 +0100
++++ bamf-0.5.6/configure.ac 2023-02-04 19:24:42.506720000 +0100
+@@ -106,18 +106,6 @@
+ GTK_DOC_CHECK(1.0)
+
+ ###########################
+-# gtester2xunit checks #
+-###########################
+-
+-AC_PATH_PROG([PYTHON],[python3])
+-AC_MSG_CHECKING(for gtester2xunit dependencies)
+-if !($PYTHON -c "from lxml import etree" 2> /dev/null); then
+- AC_MSG_RESULT([no])
+- AC_MSG_ERROR([You need to install python3-lxml]);
+-fi
+-AC_MSG_RESULT([yes])
+-
+-###########################
+ # Headless tests
+ ###########################
+ AC_ARG_ENABLE([headless-tests],
diff --git a/libraries/bamf/bamf.SlackBuild b/libraries/bamf/bamf.SlackBuild
index c950ae1115..38d46e792a 100644
--- a/libraries/bamf/bamf.SlackBuild
+++ b/libraries/bamf/bamf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for bamf.
#
@@ -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=bamf
-VERSION=${VERSION:-0.5.4}
+VERSION=${VERSION:-0.5.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}
@@ -70,6 +80,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/bamf-no-gtester2xunit.patch
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,7 +92,8 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-introspection \
+ --enable-introspection \
+ --enable-compile-warnings=no \
--build=$ARCH-slackware-linux
make
@@ -94,8 +108,10 @@ 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/libraries/bamf/bamf.info b/libraries/bamf/bamf.info
index af9621ea49..b57453a2fe 100644
--- a/libraries/bamf/bamf.info
+++ b/libraries/bamf/bamf.info
@@ -1,10 +1,10 @@
PRGNAM="bamf"
-VERSION="0.5.4"
+VERSION="0.5.6"
HOMEPAGE="https://launchpad.net/bamf"
-DOWNLOAD="https://launchpad.net/bamf/0.5/0.5.4/+download/bamf-0.5.4.tar.gz"
-MD5SUM="e5078ec8f6c8a9d77242010dcd3b3217"
+DOWNLOAD="https://launchpad.net/bamf/0.5/0.5.6/+download/bamf-0.5.6.tar.gz"
+MD5SUM="49ed19dd5db0b4109f4dc2e4fe2ed13d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgtop libwnck3"
+REQUIRES="gnome-common"
MAINTAINER="Donald Cooley"
EMAIL="chytraeus@protonmail.com"
diff --git a/libraries/barry/README b/libraries/barry/README
index 03263749ba..0db2459595 100644
--- a/libraries/barry/README
+++ b/libraries/barry/README
@@ -1,6 +1,6 @@
-Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld. It
-comes with a command line tool for exploring the device and a GUI for making
-quick backups. This project's goal is to create a fully functional syncing
-mechanism on Linux.
+Barry is a GPL C++ library for interfacing with the RIM BlackBerry
+Handheld. It comes with a command line tool for exploring the device
+and a GUI for making quick backups. This project's goal is to create a
+fully functional syncing mechanism on Linux.
This optionally depends on libxml++ for the ALX parser.
diff --git a/libraries/barry/barry.SlackBuild b/libraries/barry/barry.SlackBuild
index 7948654cda..e50ef580a1 100644
--- a/libraries/barry/barry.SlackBuild
+++ b/libraries/barry/barry.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
## Barry is a GPL C++ library for interfacing with the RIM BlackBerry
## Handheld. It comes with a command line tool for exploring the device
@@ -11,20 +11,31 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
# Modified by Mario Preksavec <mario@slackware.hr>
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - add SlackBuild to doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=barry
VERSION=${VERSION:-0.18.3}
-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}
@@ -34,8 +45,8 @@ OUTPUT=${OUTPUT:-/tmp}
# BARRY_GROUP=barry ./barry.SlackBuild
BARRY_GROUP=${BARRY_GROUP:-plugdev}
-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 @@ 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 {} \+
# Debian fixes
patch -p1 -i $CWD/fix-sizeof-use.patch
@@ -130,17 +141,20 @@ cat hal/fdi/policy/10osvendor/19-blackberry-acl.fdi > \
cp -a hal/hal-blackberry $PKG/usr/bin
# Install bash completion scripts
-mkdir -p $PKG/etc/bash_completion.d
-cat bash/bjavaloader > $PKG/etc/bash_completion.d/bjavaloader
-cat bash/btool > $PKG/etc/bash_completion.d/btool
+mkdir -p $PKG/usr/share/bash-completion/completions
+cat bash/bjavaloader > $PKG/usr/share/bash-completion/completions/bjavaloader
+cat bash/btool > $PKG/usr/share/bash-completion/completions/btool
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README TODO COPYING AUTHORS NEWS 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
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/libraries/batinfo/README b/libraries/batinfo/README
index 5777503166..96dfaa1d16 100644
--- a/libraries/batinfo/README
+++ b/libraries/batinfo/README
@@ -1,3 +1,3 @@
-batinfo is a simple Python library to retrieve battery information on operating
-systems based on Linux. No ACPI or external software are needed: only the Linux
-kernel and its /sys/class/power_supply folder.
+batinfo is a simple Python library to retrieve battery information
+on operating systems based on Linux. No ACPI or external software are
+needed: only the Linux kernel and its /sys/class/power_supply folder.
diff --git a/libraries/batinfo/batinfo.SlackBuild b/libraries/batinfo/batinfo.SlackBuild
index 85c64f7d6d..3f3cedada3 100644
--- a/libraries/batinfo/batinfo.SlackBuild
+++ b/libraries/batinfo/batinfo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for batinfo
@@ -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=batinfo
VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,9 +38,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
@@ -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/libraries/bcdoc/bcdoc.SlackBuild b/libraries/bcdoc/bcdoc.SlackBuild
index f8743fd3cf..daec206c45 100644
--- a/libraries/bcdoc/bcdoc.SlackBuild
+++ b/libraries/bcdoc/bcdoc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bcdoc
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2020 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=bcdoc
VERSION=${VERSION:-0.16.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,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
+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
@@ -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/libraries/bcdoc/bcdoc.info b/libraries/bcdoc/bcdoc.info
index 1d51f7ae30..0cd3a21f09 100644
--- a/libraries/bcdoc/bcdoc.info
+++ b/libraries/bcdoc/bcdoc.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/b/bcdoc/bcdoc-0.16.0.tar.gz"
MD5SUM="e84b506c1c73e71b23d9be0aa00f6bec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="docutils six"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/bctoolbox/README b/libraries/bctoolbox/README
index adbf667fae..bcbc066d53 100644
--- a/libraries/bctoolbox/README
+++ b/libraries/bctoolbox/README
@@ -1,2 +1,2 @@
-bctoolbox is a utilities library used by Belledonne Communications softwares
-like belle-sip, mediastreamer2 and linphone.
+bctoolbox is a utilities library used by Belledonne Communications
+softwares like belle-sip, mediastreamer2 and linphone.
diff --git a/libraries/bctoolbox/bctoolbox.SlackBuild b/libraries/bctoolbox/bctoolbox.SlackBuild
index d9c72a002d..cb44b67342 100644
--- a/libraries/bctoolbox/bctoolbox.SlackBuild
+++ b/libraries/bctoolbox/bctoolbox.SlackBuild
@@ -1,9 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bctoolbox
# Was written by Euan Thoms <euan at potensol dot com>
+# and amended by Sebastian Arcus <s.arcus at open-t dot co dot uk>
# Copyright 2017 Euan Thoms United Kingdom
+# Copyright 2024 Sebastian Arcus
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +25,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=bctoolbox
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-5.2.2}
SRCDIRNAM=${PRGNAM}-${VERSION}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,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}
@@ -56,7 +68,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING NEWS README.md $CWD/$PRGNAM.SlackBuild"
+DOCS="LICENSE.txt README.md CHANGELOG.md $CWD/$PRGNAM.SlackBuild"
set -e
@@ -109,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/libraries/bctoolbox/bctoolbox.info b/libraries/bctoolbox/bctoolbox.info
index f1de6598ee..026f06d7d7 100644
--- a/libraries/bctoolbox/bctoolbox.info
+++ b/libraries/bctoolbox/bctoolbox.info
@@ -1,10 +1,10 @@
PRGNAM="bctoolbox"
-VERSION="0.6.0"
+VERSION="5.2.2"
HOMEPAGE="https://github.com/BelledonneCommunications/bctoolbox"
-DOWNLOAD="https://www.linphone.org/releases/sources/bctoolbox/bctoolbox-0.6.0.tar.gz"
-MD5SUM="aeeac76938dd3b82a17ff498f81caef2"
+DOWNLOAD="https://github.com/BelledonneCommunications/bctoolbox/archive/5.2.2/bctoolbox-5.2.2.tar.gz"
+MD5SUM="24fc955a63389200bceabe6e9befc34e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mbedtls"
-MAINTAINER="Euan Thoms"
-EMAIL="euan at potensol dot com"
+MAINTAINER="Sebastian Arcus"
+EMAIL="s.arcus at open-t dot co dot uk"
diff --git a/libraries/beignet/README b/libraries/beignet/README
deleted file mode 100644
index ebef1392a1..0000000000
--- a/libraries/beignet/README
+++ /dev/null
@@ -1,14 +0,0 @@
-Beignet contains the code to run OpenCL programs on Intel GPUs, which defines
-and implements host functions required to initialize the device, create the
-command queues, the kernels, and the programs and run them on the GPU. It also
-contains the compiler part of the stack.
-
-Optional dependency is ocl-icd, if no OpenCL ICD Provider is already installed
-on the system. Note that you need at least one ICD Provider installed to make
-any use of OpenCL runtimes.
-
-NOTE: normally, the package is built with Intel's provided OpenCL headers. If
-you don't want to install them, set the INCLUDE_HEADERS environment variable
-to 0 prior the build:
-
- INCLUDE_HEADERS=0 ./beignet.SlackBuild
diff --git a/libraries/beignet/beignet.SlackBuild b/libraries/beignet/beignet.SlackBuild
deleted file mode 100644
index ce61606dea..0000000000
--- a/libraries/beignet/beignet.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for beignet
-
-# Copyright (c) 2017 Alan Alberghini <414N@slacky.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.
-# -----------------------------------------------------------------------------
-
-PRGNAM=beignet
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-DOCS="README.md docs NEWS.mdwn COPYING"
-INTERNAL_NAME="Beignet-${VERSION}-Source"
-
-# Whether to include or remove OpenCL header files from final package
-INCLUDE_HEADERS=${INCLUDE_HEADERS:-1}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-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
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $INTERNAL_NAME
-tar xvf $CWD/${PRGNAM}-${VERSION}-source.tar.gz
-cd $INTERNAL_NAME
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 ..
-
-# Remove header files, if chosen so
-if [ "$INCLUDE_HEADERS" = 0 ]; then
- rm -rf $PKG/usr/include
-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 \
- $PKG/usr/doc/$PRGNAM-$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/libraries/beignet/beignet.info b/libraries/beignet/beignet.info
deleted file mode 100644
index dae99c57d9..0000000000
--- a/libraries/beignet/beignet.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="beignet"
-VERSION="1.3.1"
-HOMEPAGE="https://01.org/beignet"
-DOWNLOAD="https://01.org/sites/default/files/beignet-1.3.1-source.tar.gz"
-MD5SUM="850886a71a34672ca26a42046d0bb442"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Alan Alberghini"
-EMAIL="414N@slacky.it"
diff --git a/libraries/beignet/slack-desc b/libraries/beignet/slack-desc
deleted file mode 100644
index cf8e96e933..0000000000
--- a/libraries/beignet/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------------------------------------------------------|
-beignet: beignet (OpenCL for Intel GPUs)
-beignet:
-beignet: Beignet contains the code to run OpenCL programs on Intel GPUs, which
-beignet: defines and implements host functions required to initialize the
-beignet: device, create the command queues, the kernels, and the programs and
-beignet: run them on the GPU. It also contains the compiler part of the stack.
-beignet:
-beignet: Homepage: https://01.org/beignet
-beignet:
-beignet:
-beignet:
diff --git a/libraries/belle-sip/belle-sip.SlackBuild b/libraries/belle-sip/belle-sip.SlackBuild
index 60a6869a5c..dd31abe6bf 100644
--- a/libraries/belle-sip/belle-sip.SlackBuild
+++ b/libraries/belle-sip/belle-sip.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for belle-sip
# Was written by Euan Thoms <euan at potensol dot com>
@@ -23,11 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty ChangeLog from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=belle-sip
VERSION=${VERSION:-1.6.3}
SRCDIRNAM=${PRGNAM}-${VERSION}-0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,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}
@@ -56,7 +66,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog NEWS README.md $CWD/$PRGNAM.SlackBuild"
+DOCS="AUTHORS COPYING NEWS README.md $CWD/$PRGNAM.SlackBuild"
set -e
@@ -74,9 +84,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 {} \+
# Ensure java is in $PATH
export PATH=$PATH:/usr/lib${LIBDIRSUFFIX}/java/bin
@@ -92,6 +102,8 @@ autoreconf -ivf
# Kill the accursed -Werror (fix for -current)
SLKCFLAGS="$SLKCFLAGS -Wno-error"
+patch -p1 < $CWD/gcc9.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CPPFLAGS="${CPPFLAGS} -I/usr/include/antlr3" \
@@ -111,18 +123,20 @@ CPPFLAGS="${CPPFLAGS} -I/usr/include/antlr3" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+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 -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 $PKG/usr/doc/$PRGNAM-$VERSION
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+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/libraries/belle-sip/belle-sip.info b/libraries/belle-sip/belle-sip.info
index ca61821c2b..a479743faa 100644
--- a/libraries/belle-sip/belle-sip.info
+++ b/libraries/belle-sip/belle-sip.info
@@ -1,12 +1,12 @@
PRGNAM="belle-sip"
VERSION="1.6.3"
HOMEPAGE="http://www.linphone.org/technical-corner/belle-sip.html"
-DOWNLOAD="https://www.linphone.org/releases/sources/belle-sip/belle-sip-1.6.3.tar.gz \
+DOWNLOAD="https://download.linphone.org/releases/old/sources/belle-sip/belle-sip-1.6.3.tar.gz \
https://github.com/antlr/website-antlr3/raw/gh-pages/download/antlr-3.4-complete.jar"
MD5SUM="90c40812d98671ad2f40621542500bc6 \
1b91dea1c7d480b3223f7c8a9aa0e172"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="bctoolbox jdk libantlr3c"
+REQUIRES="bctoolbox zulu-openjdk8 libantlr3c"
MAINTAINER="Euan Thoms"
EMAIL="euan at potensol dot com"
diff --git a/libraries/belle-sip/gcc9.patch b/libraries/belle-sip/gcc9.patch
new file mode 100644
index 0000000000..35fa1ceae0
--- /dev/null
+++ b/libraries/belle-sip/gcc9.patch
@@ -0,0 +1,19 @@
+diff --git a/src/dns.h b/src/dns.h
+index ac390ae..33d99de 100644
+--- a/src/dns.h
++++ b/src/dns.h
+@@ -158,14 +158,6 @@ DNS_PUBLIC int *dns_debug_p(void);
+
+ #define dns_quietinit(...) \
+ DNS_PRAGMA_PUSH DNS_PRAGMA_QUIET __VA_ARGS__ DNS_PRAGMA_POP
+-#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4
+-#define DNS_PRAGMA_PUSH _Pragma("GCC diagnostic push")
+-#define DNS_PRAGMA_QUIET _Pragma("GCC diagnostic ignored \"-Woverride-init\"")
+-#define DNS_PRAGMA_POP _Pragma("GCC diagnostic pop")
+-
+-/* GCC parses the _Pragma operator less elegantly than clang. */
+-#define dns_quietinit(...) \
+- __extension__ ({ DNS_PRAGMA_PUSH DNS_PRAGMA_QUIET __VA_ARGS__; DNS_PRAGMA_POP })
+ #else
+ #define DNS_PRAGMA_PUSH
+ #define DNS_PRAGMA_QUIET
diff --git a/libraries/bitsery/README b/libraries/bitsery/README
new file mode 100644
index 0000000000..5a338f7543
--- /dev/null
+++ b/libraries/bitsery/README
@@ -0,0 +1,26 @@
+Header only C++ binary serialization library. It is designed around the
+networking requirements for real-time data delivery, especially for
+games. All cross-platform requirements are enforced at compile time, so
+serialized data do not store any meta-data information and is as small
+as possible.
+
+Features
+
+ * Cross-platform compatible.
+ * Optimized for speed and space.
+ * No code generation required: no IDL or metadata, just use your
+ types directly.
+ * Configurable runtime error checking on deserialization.
+ * Can read/write from any source: stream (file, network stream.
+ etc... ), or buffer (vector, c-array, etc...).
+ * Don't pay for what you don't use! - customize your serialization via
+ extensions. Some notable extensions allow:
+ * fine-grained bit-level serialization control.
+ * forward/backward compatibility for your types.
+ * smart and raw pointers with allocators support and customizable
+ runtime polymorphism.
+ * Easily extendable for any type.
+ * Allows brief (similar to cereal) or/and verbose syntax for better
+ serialization control.
+ * Configurable endianness support.
+ * No macros.
diff --git a/libraries/bitsery/bitsery.SlackBuild b/libraries/bitsery/bitsery.SlackBuild
new file mode 100644
index 0000000000..fe30f33c75
--- /dev/null
+++ b/libraries/bitsery/bitsery.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for bitsery
+
+# Copyright 2022 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=bitsery
+VERSION=${VERSION:-5.2.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 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DBITSERY_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md 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/libraries/bitsery/bitsery.info b/libraries/bitsery/bitsery.info
new file mode 100644
index 0000000000..31b17ecf4b
--- /dev/null
+++ b/libraries/bitsery/bitsery.info
@@ -0,0 +1,10 @@
+PRGNAM="bitsery"
+VERSION="5.2.3"
+HOMEPAGE="https://github.com/fraillt/bitsery"
+DOWNLOAD="https://github.com/fraillt/bitsery/archive/v5.2.3/bitsery-5.2.3.tar.gz"
+MD5SUM="d1b40382c4329788f6635a56a91bfaf8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/libraries/bitsery/slack-desc b/libraries/bitsery/slack-desc
new file mode 100644
index 0000000000..da1e2126e0
--- /dev/null
+++ b/libraries/bitsery/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------------------------------------------------------|
+bitsery: bitsery (Header only C++ binary serialization library)
+bitsery:
+bitsery: It is designed around the networking requirements for real-time data
+bitsery: delivery, especially for games. All cross-platform requirements are
+bitsery: enforced at compile time, so serialized data do not store any
+bitsery: meta-data information and is as small as possible.
+bitsery:
+bitsery:
+bitsery:
+bitsery:
+bitsery:
diff --git a/libraries/bitstream/README b/libraries/bitstream/README
index b50dd19d02..6021eb8e10 100644
--- a/libraries/bitstream/README
+++ b/libraries/bitstream/README
@@ -1,2 +1,3 @@
-biTStream is a set of C headers allowing a simpler access to binary structures
-such as specified by MPEG, DVB, IETF, SMPTE, IEEE, SCTE, etc.
+biTStream is a set of C headers allowing a simpler access to binary
+structures such as specified by MPEG, DVB, IETF, SMPTE, IEEE, SCTE,
+etc.
diff --git a/libraries/bitstream/bitstream.SlackBuild b/libraries/bitstream/bitstream.SlackBuild
index 14c59d3e08..e9e1f00c44 100644
--- a/libraries/bitstream/bitstream.SlackBuild
+++ b/libraries/bitstream/bitstream.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bitstream
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bitstream
VERSION=${VERSION:-1.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}
@@ -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/libraries/blas/README b/libraries/blas/README
index e6326e5946..de7a5c8149 100644
--- a/libraries/blas/README
+++ b/libraries/blas/README
@@ -3,5 +3,6 @@ Build script for the reference BLAS library provided by Netlib.
To build a static library in addition to the shared library,
pass STATIC=yes to the script.
-Note: If you want good performance, then use the BLAS libraries provided by
- your CPU vendor, or OpenBLAS or atlas provided by SlackBuilds.org.
+Note: If you want good performance, then use the BLAS libraries
+provided by your CPU vendor, or OpenBLAS or atlas provided by
+SlackBuilds.org.
diff --git a/libraries/blas/blas.SlackBuild b/libraries/blas/blas.SlackBuild
index 6b960bd140..fb5503f95e 100644
--- a/libraries/blas/blas.SlackBuild
+++ b/libraries/blas/blas.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for BLAS
-# Copyright 2014-2020 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2024 Kyle Guinn <elyk03@gmail.com>
# 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=blas
SRCNAM=lapack
-VERSION=${VERSION:-3.9.0}
+VERSION=${VERSION:-3.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -36,16 +39,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="LICENSE"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -106,24 +111,42 @@ if [ "${STATIC:-no}" != "no" ]; then
cd ..
fi
-# Generate man pages. Requires some fix-ups:
+# Generate man pages. Since 3.12.0 there is no longer a Doxyfile
+# intended for man page creation (only html), so attempt to recreate it.
+# Note that CMake can generate a Doxyfile, but it may differ from the
+# supplied one, and is less convenient to edit.
# 0. Join all escaped newlines so the entire value is replaced.
+# 1. Turn off GENERATE_HTML.
+# 2. Turn on GENERATE_MAN.
+# 3. Turn off MAN_LINKS, see below.
+# 4. Turn off HAVE_DOT, disable all graph generation.
+# 5. Turn off CREATE_SUBDIRS, may interfere with output file locations.
+# 6. Turn off REPEAT_BRIEF's repetitive comments.
+# 7. Turn off FULL_PATH_NAMES, omit source code paths from man pages.
+# 8. Turn off INLINE_SOURCES, don't copy the code to the man pages.
+sed -i \
+ -e ':a;/\\$/N;s/\s*\\\n\s*/ /;ta' \
+ -e 's/^\(GENERATE_HTML *=\).*/\1 NO/' \
+ -e 's/^\(GENERATE_MAN *=\).*/\1 YES/' \
+ -e 's/^\(MAN_LINKS *=\).*/\1 NO/' \
+ -e 's/^\(HAVE_DOT *=\).*/\1 NO/' \
+ -e 's/^\(CREATE_SUBDIRS *=\).*/\1 NO/' \
+ -e 's/^\(REPEAT_BRIEF *=\).*/\1 NO/' \
+ -e 's/^\(FULL_PATH_NAMES *=\).*/\1 NO/' \
+ -e 's/^\(INLINE_SOURCES *=\).*/\1 NO/' \
+ DOCS/Doxyfile
+# Limit ourselves to the BLAS functions:
# 1. Replace "LAPACK" with "BLAS" in headers/footers.
# 2. Only generate on the BLAS sources.
-# 3. Turn off recursion. Only operate on directories in INPUT.
-# 4. Turn off EXCLUDE to not conflict with INPUT.
-# 5. Turn off some repetitive comments.
-# 6. Turn off MAN_LINKS. See below.
+# 3. Turn off RECURSIVE, only operate on directories in INPUT.
+# 4. Turn off EXCLUDE, to not conflict with INPUT.
sed -i \
- -e ':a;/\\$/N;s/\\\n//;ta' \
-e 's/^\(PROJECT_NAME *=\).*/\1 BLAS/' \
-e 's/^\(INPUT *=\).*/\1 BLAS\/SRC/' \
-e 's/^\(RECURSIVE *=\).*/\1 NO/' \
-e 's/^\(EXCLUDE *=\).*/\1/' \
- -e 's/^\(REPEAT_BRIEF *=\).*/\1 NO/' \
- -e 's/^\(MAN_LINKS *=\).*/\1 NO/' \
- DOCS/Doxyfile_man
-doxygen DOCS/Doxyfile_man
+ DOCS/Doxyfile
+doxygen DOCS/Doxyfile
# Doxygen generates manpages on a file-by-file basis (note the .f extensions).
# We want a page for each function, not each file. MAN_LINKS creates a page
# for each function that just sources the page for the corresponding file.
@@ -133,6 +156,9 @@ mkdir -p $PKG/usr/man/man3
for i in DOCS/man/man3/*.f.3; do
gzip -9c $i > $PKG/usr/man/man3/$(basename $i .f.3).3.gz
done
+for i in DOCS/man/man3/*.f90.3; do
+ gzip -9c $i > $PKG/usr/man/man3/$(basename $i .f90.3).3.gz
+done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -142,4 +168,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/blas/blas.info b/libraries/blas/blas.info
index 57b93cea87..6a27fa9634 100644
--- a/libraries/blas/blas.info
+++ b/libraries/blas/blas.info
@@ -1,8 +1,8 @@
PRGNAM="blas"
-VERSION="3.9.0"
-HOMEPAGE="http://www.netlib.org/blas/"
-DOWNLOAD="https://github.com/Reference-LAPACK/lapack/archive/v3.9.0/lapack-3.9.0.tar.gz"
-MD5SUM="0b251e2a8d5f949f99b50dd5e2200ee2"
+VERSION="3.12.0"
+HOMEPAGE="https://www.netlib.org/blas/"
+DOWNLOAD="https://github.com/Reference-LAPACK/lapack/archive/v3.12.0/lapack-3.12.0.tar.gz"
+MD5SUM="c1b38bef123584d86a1bd8000784a7b2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/blas/patches/cmake-piecewise.diff b/libraries/blas/patches/cmake-piecewise.diff
index b1bdfaec1e..37cde2acaa 100644
--- a/libraries/blas/patches/cmake-piecewise.diff
+++ b/libraries/blas/patches/cmake-piecewise.diff
@@ -2,69 +2,37 @@ diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt
--- a/CBLAS/CMakeLists.txt
+++ b/CBLAS/CMakeLists.txt
@@ -1,8 +1,6 @@
- message(STATUS "CBLAS enable")
+ message(STATUS "CBLAS enabled")
enable_language(C)
--set(LAPACK_INSTALL_EXPORT_NAME cblas-targets)
+-set(LAPACK_INSTALL_EXPORT_NAME ${CBLASLIB}-targets)
-
# Create a header file cblas.h for the routines called in my C programs
- include(FortranCInterface)
- ## Ensure that the fortran compiler and c compiler specified are compatible
-@@ -41,54 +39,8 @@
- add_subdirectory(examples)
- endif()
-
--if(NOT BLAS_FOUND)
-- set(ALL_TARGETS ${ALL_TARGETS} blas)
--endif()
--
--# Export cblas targets from the
--# install tree, if any.
--set(_cblas_config_install_guard_target "")
--if(ALL_TARGETS)
-- install(EXPORT cblas-targets
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
-- COMPONENT Development
-- )
-- # Choose one of the cblas targets to use as a guard for
-- # cblas-config.cmake to load targets from the install tree.
-- list(GET ALL_TARGETS 0 _cblas_config_install_guard_target)
--endif()
--
--# Export cblas targets from the build tree, if any.
--set(_cblas_config_build_guard_target "")
--if(ALL_TARGETS)
-- export(TARGETS ${ALL_TARGETS} FILE cblas-targets.cmake)
--
-- # Choose one of the cblas targets to use as a guard
-- # for cblas-config.cmake to load targets from the build tree.
-- list(GET ALL_TARGETS 0 _cblas_config_build_guard_target)
--endif()
+ include(CheckLanguage)
+ check_language(Fortran)
+@@ -54,22 +52,3 @@
+ DESTINATION ${PKG_CONFIG_DIR}
+ COMPONENT Development
+ )
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cblas-config-version.cmake.in
-- ${LAPACK_BINARY_DIR}/cblas-config-version.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${CBLASLIB}-config-version.cmake @ONLY)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cblas-config-build.cmake.in
-- ${LAPACK_BINARY_DIR}/cblas-config.cmake @ONLY)
--
--
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cblas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc @ONLY)
- install(FILES
- ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc
- DESTINATION ${PKG_CONFIG_DIR}
- )
+- ${LAPACK_BINARY_DIR}/${CBLASLIB}-config.cmake @ONLY)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cblas-config-install.cmake.in
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/cblas-config.cmake @ONLY)
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${CBLASLIB}-config.cmake @ONLY)
-install(FILES
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/cblas-config.cmake
-- ${LAPACK_BINARY_DIR}/cblas-config-version.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${CBLASLIB}-config.cmake
+- ${LAPACK_BINARY_DIR}/${CBLASLIB}-config-version.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CBLASLIB}-${LAPACK_VERSION}
+- COMPONENT Development
- )
-
--#install(EXPORT cblas-targets
--# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
--# COMPONENT Development
--# )
+-install(EXPORT ${CBLASLIB}-targets
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CBLASLIB}-${LAPACK_VERSION}
+- COMPONENT Development
+- )
diff --git a/CBLAS/cmake/cblas-config-build.cmake.in b/CBLAS/cmake/cblas-config-build.cmake.in
deleted file mode 100644
--- a/CBLAS/cmake/cblas-config-build.cmake.in
@@ -76,41 +44,37 @@ deleted file mode 100644
-
-# Load lapack targets from the build tree, including lapacke targets.
-if(NOT TARGET lapacke)
-- include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
+- include("@LAPACK_BINARY_DIR@/@LAPACKLIB@-targets.cmake")
-endif()
-
-# Report cblas header search locations from build tree.
-set(CBLAS_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
-
-# Report cblas libraries.
--set(CBLAS_LIBRARIES cblas)
+-set(CBLAS_LIBRARIES @CBLASLIB@)
diff --git a/CBLAS/cmake/cblas-config-install.cmake.in b/CBLAS/cmake/cblas-config-install.cmake.in
deleted file mode 100644
--- a/CBLAS/cmake/cblas-config-install.cmake.in
+++ /dev/null
-@@ -1,23 +0,0 @@
+@@ -1,19 +0,0 @@
-# Compute locations from <prefix>/@{LIBRARY_DIR@/cmake/lapacke-<v>/<self>.cmake
-get_filename_component(_CBLAS_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
--get_filename_component(_CBLAS_PREFIX "${_CBLAS_SELF_DIR}" PATH)
--get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
--get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
-
-# Load the LAPACK package with which we were built.
--set(LAPACK_DIR "${_CBLAS_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/lapack-@LAPACK_VERSION@")
+-set(LAPACK_DIR "@CMAKE_INSTALL_FULL_LIBDIR@/cmake/@LAPACKLIB@-@LAPACK_VERSION@")
-find_package(LAPACK NO_MODULE)
-
-# Load lapacke targets from the install tree.
--if(NOT TARGET cblas)
-- include(${_CBLAS_SELF_DIR}/cblas-targets.cmake)
+-if(NOT TARGET @CBLASLIB@)
+- include(${_CBLAS_SELF_DIR}/@CBLASLIB@-targets.cmake)
-endif()
-
-# Report lapacke header search locations.
--set(CBLAS_INCLUDE_DIRS ${_CBLAS_PREFIX}/include)
+-set(CBLAS_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@)
-
-# Report lapacke libraries.
--set(CBLAS_LIBRARIES cblas)
+-set(CBLAS_LIBRARIES @CBLASLIB@)
-
--unset(_CBLAS_PREFIX)
-unset(_CBLAS_SELF_DIR)
diff --git a/CBLAS/cmake/cblas-config-version.cmake.in b/CBLAS/cmake/cblas-config-version.cmake.in
deleted file mode 100644
@@ -128,16 +92,16 @@ deleted file mode 100644
diff --git a/CBLAS/src/CMakeLists.txt b/CBLAS/src/CMakeLists.txt
--- a/CBLAS/src/CMakeLists.txt
+++ b/CBLAS/src/CMakeLists.txt
-@@ -120,9 +120,5 @@
- VERSION ${LAPACK_VERSION}
- SOVERSION ${LAPACK_MAJOR_VERSION}
- )
--target_include_directories(cblas PUBLIC
-- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
+@@ -172,9 +172,5 @@
+ if(HAS_ATTRIBUTE_WEAK_SUPPORT)
+ target_compile_definitions(${CBLASLIB} PRIVATE HAS_ATTRIBUTE_WEAK_SUPPORT)
+ endif()
+-target_include_directories(${CBLASLIB} PUBLIC
+- $<BUILD_INTERFACE:${LAPACK_BINARY_DIR}/include>
- $<INSTALL_INTERFACE:include>
-)
- target_link_libraries(cblas PRIVATE ${BLAS_LIBRARIES})
- lapack_install_library(cblas)
+ target_link_libraries(${CBLASLIB} PUBLIC ${BLAS_LIBRARIES})
+ lapack_install_library(${CBLASLIB})
diff --git a/CMAKE/lapack-config-build.cmake.in b/CMAKE/lapack-config-build.cmake.in
deleted file mode 100644
--- a/CMAKE/lapack-config-build.cmake.in
@@ -146,7 +110,7 @@ deleted file mode 100644
-# Load lapack targets from the build tree if necessary.
-set(_LAPACK_TARGET "@_lapack_config_build_guard_target@")
-if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
-- include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
+- include("@LAPACK_BINARY_DIR@/@LAPACKLIB@-targets.cmake")
-endif()
-unset(_LAPACK_TARGET)
-
@@ -168,7 +132,7 @@ deleted file mode 100644
-# Load lapack targets from the install tree if necessary.
-set(_LAPACK_TARGET "@_lapack_config_install_guard_target@")
-if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
-- include("${_LAPACK_SELF_DIR}/lapack-targets.cmake")
+- include("${_LAPACK_SELF_DIR}/@LAPACKLIB@-targets.cmake")
-endif()
-unset(_LAPACK_TARGET)
-
@@ -184,11 +148,11 @@ deleted file mode 100644
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -112,11 +112,8 @@
-
+@@ -155,11 +155,8 @@
+ endif()
# --------------------------------------------------
--set(LAPACK_INSTALL_EXPORT_NAME lapack-targets)
+-set(LAPACK_INSTALL_EXPORT_NAME ${LAPACKLIB}-targets)
-
macro(lapack_install_library lib)
install(TARGETS ${lib}
@@ -196,30 +160,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT RuntimeLibraries
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT RuntimeLibraries
-@@ -155,21 +152,6 @@
- include(CheckLAPACKCompilerFlags)
- CheckLAPACKCompilerFlags()
+@@ -218,8 +215,9 @@
--# --------------------------------------------------
--# Check second function
--
--include(CheckTimeFunction)
--set(TIME_FUNC NONE ${TIME_FUNC})
--CHECK_TIME_FUNCTION(NONE TIME_FUNC)
--CHECK_TIME_FUNCTION(INT_CPU_TIME TIME_FUNC)
--CHECK_TIME_FUNCTION(EXT_ETIME TIME_FUNC)
--CHECK_TIME_FUNCTION(EXT_ETIME_ TIME_FUNC)
--CHECK_TIME_FUNCTION(INT_ETIME TIME_FUNC)
--message(STATUS "--> Will use second_${TIME_FUNC}.f and dsecnd_${TIME_FUNC}.f as timing function.")
--
--set(SECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/second_${TIME_FUNC}.f)
--set(DSECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/dsecnd_${TIME_FUNC}.f)
--
- # deprecated LAPACK and LAPACKE routines
- option(BUILD_DEPRECATED "Build deprecated routines" OFF)
- message(STATUS "Build deprecated routines: ${BUILD_DEPRECATED}")
-@@ -193,8 +175,9 @@
- endif()
# --------------------------------------------------
-# Subdirectories that need to be processed
@@ -229,7 +171,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
# Check the usage of the user provided BLAS libraries
if(BLAS_LIBRARIES)
-@@ -205,113 +188,108 @@
+@@ -230,59 +228,41 @@
if(BLAS_FOUND)
message(STATUS "--> BLAS supplied by user is WORKING, will use ${BLAS_LIBRARIES}.")
else()
@@ -250,7 +192,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
- message(STATUS "Using supplied NETLIB BLAS implementation")
- add_subdirectory(BLAS)
+elseif(BUILD_BLAS)
- set(BLAS_LIBRARIES blas)
+ set(BLAS_LIBRARIES ${BLASLIB})
-else()
- set(CMAKE_EXE_LINKER_FLAGS
- "${CMAKE_EXE_LINKER_FLAGS} ${BLAS_LINKER_FLAGS}"
@@ -300,21 +242,28 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
# Check the usage of the user provided or automatically found LAPACK libraries
if(LAPACK_LIBRARIES)
- include(CheckFortranFunctionExists)
- set(CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES})
- # Check if new routine of 3.4.0 is in LAPACK_LIBRARIES
-- CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LATESTLAPACK_FOUND)
-+ CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LAPACK_FOUND)
- unset(CMAKE_REQUIRED_LIBRARIES)
-- if(LATESTLAPACK_FOUND)
-+ if(LAPACK_FOUND)
- message(STATUS "--> LAPACK supplied by user is WORKING, will use ${LAPACK_LIBRARIES}.")
+@@ -293,27 +273,28 @@
+ include(CheckFortranFunctionExists)
+ set(CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES})
+ # Check if new routine of 3.4.0 is in LAPACK_LIBRARIES
+- CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LATESTLAPACK_FOUND)
++ CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LAPACK_FOUND)
+ unset(CMAKE_REQUIRED_LIBRARIES)
+- if(LATESTLAPACK_FOUND)
++ if(LAPACK_FOUND)
+ message(STATUS "--> LAPACK supplied by user is WORKING, will use ${LAPACK_LIBRARIES}.")
+ else()
+- message(ERROR "--> LAPACK supplied by user is not WORKING or is older than LAPACK 3.4.0, CANNOT USE ${LAPACK_LIBRARIES}.")
+- message(ERROR "--> Will use REFERENCE LAPACK (by default)")
+- message(ERROR "--> Or Correct your LAPACK_LIBRARIES entry ")
+- message(ERROR "--> Or Consider checking USE_OPTIMIZED_LAPACK")
++ message(SEND_ERROR "--> LAPACK supplied by user is NOT WORKING or is older than LAPACK 3.4.0, cannot use ${LAPACK_LIBRARIES}.")
+ endif()
else()
-- message(ERROR "--> LAPACK supplied by user is not WORKING or is older than LAPACK 3.4.0, CANNOT USE ${LAPACK_LIBRARIES}.")
-- message(ERROR "--> Will use REFERENCE LAPACK (by default)")
-- message(ERROR "--> Or Correct your LAPACK_LIBRARIES entry ")
-- message(ERROR "--> Or Consider checking USE_OPTIMIZED_LAPACK")
-+ message(SEND_ERROR "--> LAPACK supplied by user is NOT WORKING or is older than LAPACK 3.4.0, cannot use ${LAPACK_LIBRARIES}.")
+ message(STATUS "--> LAPACK supplied by user is ${LAPACK_LIBRARIES}.")
+ message(STATUS "--> CMake couldn't find a Fortran compiler, so it cannot check if the provided LAPACK library works.")
+- set(LATESTLAPACK_FOUND TRUE)
++ set(LAPACK_FOUND TRUE)
endif()
-endif()
@@ -326,24 +275,16 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
+ find_package(LAPACK)
+
+elseif(BUILD_LAPACK)
- set(LAPACK_LIBRARIES lapack)
+ set(LAPACK_LIBRARIES ${LAPACKLIB})
+ set(LAPACK_FOUND TRUE)
+
+ set(NEED_BLAS TRUE)
-+
-+ # Check second function
-+ include(CheckTimeFunction)
-+ set(TIME_FUNC NONE ${TIME_FUNC})
-+ CHECK_TIME_FUNCTION(NONE TIME_FUNC)
-+ CHECK_TIME_FUNCTION(INT_CPU_TIME TIME_FUNC)
-+ CHECK_TIME_FUNCTION(EXT_ETIME TIME_FUNC)
-+ CHECK_TIME_FUNCTION(EXT_ETIME_ TIME_FUNC)
-+ CHECK_TIME_FUNCTION(INT_ETIME TIME_FUNC)
-+ message(STATUS "--> Will use second_${TIME_FUNC}.f and dsecnd_${TIME_FUNC}.f as timing function.")
-+
-+ set(SECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/second_${TIME_FUNC}.f)
-+ set(DSECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/dsecnd_${TIME_FUNC}.f)
-+
+
+ enable_language(Fortran)
+
+@@ -336,67 +317,38 @@
+ set(DSECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/dsecnd_${TIME_FUNC}.f)
+
add_subdirectory(SRC)
-else()
- set(CMAKE_EXE_LINKER_FLAGS
@@ -363,9 +304,9 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
+ add_subdirectory(TESTING)
+ endif()
+
-+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc @ONLY)
++ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc @ONLY)
+ install(FILES
-+ ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc
++ ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc
+ DESTINATION ${PKG_CONFIG_DIR}
+ COMPONENT Development
+ )
@@ -381,11 +322,37 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
option(LAPACKE_WITH_TMG "Build LAPACKE with tmglib routines" OFF)
if(LAPACKE_WITH_TMG)
- set(LAPACKE ON)
+-endif()
+-
+-# TMGLIB
+-# Cache export target
+-set(LAPACK_INSTALL_EXPORT_NAME_CACHE ${LAPACK_INSTALL_EXPORT_NAME})
+-if(BUILD_TESTING OR LAPACKE_WITH_TMG)
+- enable_language(Fortran)
+- if(LATESTLAPACK_FOUND AND LAPACKE_WITH_TMG)
+- set(CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES})
+- # Check if dlatms (part of tmg) is found
+- include(CheckFortranFunctionExists)
+- CHECK_FORTRAN_FUNCTION_EXISTS("dlatms" LAPACK_WITH_TMGLIB_FOUND)
+- unset(CMAKE_REQUIRED_LIBRARIES)
+- if(NOT LAPACK_WITH_TMGLIB_FOUND)
+- # Build and install TMG as part of LAPACKE targets (as opposed to LAPACK
+- # targets)
+- set(LAPACK_INSTALL_EXPORT_NAME ${LAPACKELIB}-targets)
+- endif()
+- endif()
+- add_subdirectory(TESTING/MATGEN)
+ set(BUILD_LAPACKE ON)
endif()
- if(BUILD_TESTING OR LAPACKE_WITH_TMG) #already included, avoid double inclusion
- add_subdirectory(TESTING/MATGEN)
- endif()
+-# Reset export target
+-set(LAPACK_INSTALL_EXPORT_NAME ${LAPACK_INSTALL_EXPORT_NAME_CACHE})
+-unset(LAPACK_INSTALL_EXPORT_NAME_CACHE)
+-
+
+-#-------------------------------------
+-# LAPACKE
+ # Include lapack.h and lapacke_mangling.h even if LAPACKE is not built
+ add_subdirectory(LAPACKE/include)
-if(LAPACKE)
+if(BUILD_LAPACKE)
@@ -393,8 +360,12 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
add_subdirectory(LAPACKE)
endif()
-@@ -338,109 +316,12 @@
- _display_cpp_implementation_msg("LAPACK")
+-
+ #-------------------------------------
+ # BLAS++ / LAPACK++
+ option(BLAS++ "Build BLAS++" OFF)
+@@ -446,111 +398,16 @@
+ ExternalProject_Add_StepDependencies(lapackpp build blaspp ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES})
endif()
-# --------------------------------------------------
@@ -411,7 +382,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-set(CPACK_PACKAGE_INSTALL_DIRECTORY "LAPACK")
-if(WIN32 AND NOT UNIX)
- # There is a bug in NSI that does not handle full unix paths properly. Make
-- # sure there is at least one set of four (4) backlasshes.
+- # sure there is at least one set of four (4) backslashes.
- set(CPACK_NSIS_HELP_LINK "http:\\\\\\\\http://icl.cs.utk.edu/lapack-forum")
- set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.netlib.org/lapack")
- set(CPACK_NSIS_CONTACT "lapack@eecs.utk.edu")
@@ -430,23 +401,19 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-# --------------------------------------------------
-
-if(NOT BLAS_FOUND)
-- set(ALL_TARGETS ${ALL_TARGETS} blas)
+- set(ALL_TARGETS ${ALL_TARGETS} ${BLASLIB})
-endif()
-
-if(NOT LATESTLAPACK_FOUND)
-- set(ALL_TARGETS ${ALL_TARGETS} lapack)
--endif()
--
--if(BUILD_TESTING OR LAPACKE_WITH_TMG)
-- set(ALL_TARGETS ${ALL_TARGETS} tmglib)
+- set(ALL_TARGETS ${ALL_TARGETS} ${LAPACKLIB})
-endif()
-
-# Export lapack targets, not including lapacke, from the
-# install tree, if any.
-set(_lapack_config_install_guard_target "")
-if(ALL_TARGETS)
-- install(EXPORT lapack-targets
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
+- install(EXPORT ${LAPACKLIB}-targets
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKLIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
-
@@ -457,12 +424,16 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-
-# Include cblas in targets exported from the build tree.
-if(CBLAS)
-- set(ALL_TARGETS ${ALL_TARGETS} cblas)
+- set(ALL_TARGETS ${ALL_TARGETS} ${CBLASLIB})
-endif()
-
-# Include lapacke in targets exported from the build tree.
-if(LAPACKE)
-- set(ALL_TARGETS ${ALL_TARGETS} lapacke)
+- set(ALL_TARGETS ${ALL_TARGETS} ${LAPACKELIB})
+-endif()
+-
+-if(NOT LAPACK_WITH_TMGLIB_FOUND AND LAPACKE_WITH_TMG)
+- set(ALL_TARGETS ${ALL_TARGETS} ${TMGLIB})
+# Neither user specified or optimized BLAS libraries can be used
+if(NEED_BLAS AND NOT BLAS_FOUND)
+ message(FATAL_ERROR "--> No BLAS library found. Specify BLAS_LIBRARIES or enable USE_OPTIMIZED_BLAS or BUILD_BLAS.")
@@ -471,7 +442,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-# Export lapack and lapacke targets from the build tree, if any.
-set(_lapack_config_build_guard_target "")
-if(ALL_TARGETS)
-- export(TARGETS ${ALL_TARGETS} FILE lapack-targets.cmake)
+- export(TARGETS ${ALL_TARGETS} FILE ${LAPACKLIB}-targets.cmake)
-
- # Choose one of the lapack or lapacke targets to use as a guard
- # for lapack-config.cmake to load targets from the build tree.
@@ -480,84 +451,85 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
+if(NEED_LAPACK AND NOT LAPACK_FOUND)
+ message(FATAL_ERROR "--> No LAPACK library found. Specify LAPACK_LIBRARIES or enable USE_OPTIMIZED_LAPACK or BUILD_LAPACK.")
endif()
--
+
-configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-build.cmake.in
-- ${LAPACK_BINARY_DIR}/lapack-config.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${LAPACKLIB}-config.cmake @ONLY)
-
-
--configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc @ONLY)
+-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc @ONLY)
- install(FILES
-- ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc
+- ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc
- DESTINATION ${PKG_CONFIG_DIR}
- COMPONENT Development
- )
-
-configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-install.cmake.in
-- ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/CMakeFiles/${LAPACKLIB}-config.cmake @ONLY)
-
-include(CMakePackageConfigHelpers)
-write_basic_package_version_file(
-- ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
+- ${LAPACK_BINARY_DIR}/${LAPACKLIB}-config-version.cmake
- VERSION ${LAPACK_VERSION}
- COMPATIBILITY SameMajorVersion
- )
-
-install(FILES
-- ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake
-- ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
+- ${LAPACK_BINARY_DIR}/CMakeFiles/${LAPACKLIB}-config.cmake
+- ${LAPACK_BINARY_DIR}/${LAPACKLIB}-config-version.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKLIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
--
-\ No newline at end of file
+ if (LAPACK++)
+ install(
+ DIRECTORY "${LAPACK_BINARY_DIR}/lib/"
diff --git a/LAPACKE/CMakeLists.txt b/LAPACKE/CMakeLists.txt
--- a/LAPACKE/CMakeLists.txt
+++ b/LAPACKE/CMakeLists.txt
@@ -1,8 +1,6 @@
- message(STATUS "LAPACKE enable")
+ message(STATUS "LAPACKE enabled")
enable_language(C)
--set(LAPACK_INSTALL_EXPORT_NAME lapacke-targets)
+-set(LAPACK_INSTALL_EXPORT_NAME ${LAPACKELIB}-targets)
-
- # Create a header file lapacke_mangling.h for the routines called in my C programs
- include(FortranCInterface)
- ## Ensure that the fortran compiler and c compiler specified are compatible
-@@ -79,14 +77,6 @@
+ include_directories(include ${LAPACK_BINARY_DIR}/include)
+ add_subdirectory(src)
+ add_subdirectory(utils)
+@@ -74,14 +72,6 @@
VERSION ${LAPACK_VERSION}
SOVERSION ${LAPACK_MAJOR_VERSION}
)
--target_include_directories(lapacke PUBLIC
-- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+-target_include_directories(${LAPACKELIB} PUBLIC
+- $<BUILD_INTERFACE:${LAPACK_BINARY_DIR}/include>
- $<INSTALL_INTERFACE:include>
-)
-if(WIN32 AND NOT UNIX)
-- target_compile_definitions(lapacke PUBLIC HAVE_LAPACK_CONFIG_H LAPACK_COMPLEX_STRUCTURE)
+- target_compile_definitions(${LAPACKELIB} PUBLIC HAVE_LAPACK_CONFIG_H LAPACK_COMPLEX_STRUCTURE)
- message(STATUS "Windows BUILD")
-endif()
if(LAPACKE_WITH_TMG)
- target_link_libraries(lapacke PRIVATE tmglib)
-@@ -111,22 +101,3 @@
+ target_link_libraries(${LAPACKELIB} PRIVATE ${TMGLIB})
+@@ -106,22 +96,3 @@
DESTINATION ${PKG_CONFIG_DIR}
COMPONENT Development
)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/lapacke-config-version.cmake.in
-- ${LAPACK_BINARY_DIR}/lapacke-config-version.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${LAPACKELIB}-config-version.cmake @ONLY)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/lapacke-config-build.cmake.in
-- ${LAPACK_BINARY_DIR}/lapacke-config.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${LAPACKELIB}-config.cmake @ONLY)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/lapacke-config-install.cmake.in
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/lapacke-config.cmake @ONLY)
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${LAPACKELIB}-config.cmake @ONLY)
-install(FILES
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/lapacke-config.cmake
-- ${LAPACK_BINARY_DIR}/lapacke-config-version.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapacke-${LAPACK_VERSION}
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${LAPACKELIB}-config.cmake
+- ${LAPACK_BINARY_DIR}/${LAPACKELIB}-config-version.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKELIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
-
--install(EXPORT lapacke-targets
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapacke-${LAPACK_VERSION}
+-install(EXPORT ${LAPACKELIB}-targets
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKELIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
diff --git a/LAPACKE/cmake/lapacke-config-build.cmake.in b/LAPACKE/cmake/lapacke-config-build.cmake.in
@@ -570,8 +542,8 @@ deleted file mode 100644
-find_package(LAPACK NO_MODULE)
-
-# Load lapack targets from the build tree, including lapacke targets.
--if(NOT TARGET lapacke)
-- include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
+-if(NOT TARGET @LAPACKELIB@)
+- include("@LAPACK_BINARY_DIR@/@LAPACKLIB@-targets.cmake")
-endif()
-
-# Hint for project building against lapack
@@ -581,37 +553,33 @@ deleted file mode 100644
-set(LAPACKE_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
-
-# Report lapacke libraries.
--set(LAPACKE_LIBRARIES lapacke ${LAPACK_LIBRARIES})
+-set(LAPACKE_LIBRARIES @LAPACKELIB@ ${LAPACK_LIBRARIES})
diff --git a/LAPACKE/cmake/lapacke-config-install.cmake.in b/LAPACKE/cmake/lapacke-config-install.cmake.in
deleted file mode 100644
--- a/LAPACKE/cmake/lapacke-config-install.cmake.in
+++ /dev/null
-@@ -1,26 +0,0 @@
+@@ -1,22 +0,0 @@
-# Compute locations from <prefix>/@{LIBRARY_DIR@/cmake/lapacke-<v>/<self>.cmake
-get_filename_component(_LAPACKE_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
--get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_SELF_DIR}" PATH)
--get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_PREFIX}" PATH)
--get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_PREFIX}" PATH)
-
-# Load the LAPACK package with which we were built.
--set(LAPACK_DIR "${_LAPACKE_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/lapack-@LAPACK_VERSION@")
+-set(LAPACK_DIR "@CMAKE_INSTALL_FULL_LIBDIR@/cmake/@LAPACKLIB@-@LAPACK_VERSION@")
-find_package(LAPACK NO_MODULE)
-
-# Load lapacke targets from the install tree.
--if(NOT TARGET lapacke)
-- include(${_LAPACKE_SELF_DIR}/lapacke-targets.cmake)
+-if(NOT TARGET @LAPACKELIB@)
+- include(${_LAPACKE_SELF_DIR}/@LAPACKELIB@-targets.cmake)
-endif()
-
-# Hint for project building against lapack
-set(LAPACKE_Fortran_COMPILER_ID ${LAPACK_Fortran_COMPILER_ID})
-
-# Report lapacke header search locations.
--set(LAPACKE_INCLUDE_DIRS ${_LAPACKE_PREFIX}/include)
+-set(LAPACKE_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@)
-
-# Report lapacke libraries.
--set(LAPACKE_LIBRARIES lapacke ${LAPACK_LIBRARIES})
+-set(LAPACKE_LIBRARIES @LAPACKELIB@ ${LAPACK_LIBRARIES})
-
--unset(_LAPACKE_PREFIX)
-unset(_LAPACKE_SELF_DIR)
diff --git a/LAPACKE/cmake/lapacke-config-version.cmake.in b/LAPACKE/cmake/lapacke-config-version.cmake.in
deleted file mode 100644
@@ -626,3 +594,20 @@ deleted file mode 100644
- endif()
-endif()
-
+diff --git a/LAPACKE/include/CMakeLists.txt b/LAPACKE/include/CMakeLists.txt
+--- a/LAPACKE/include/CMakeLists.txt
++++ b/LAPACKE/include/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ set(LAPACKE_INCLUDE lapack.h)
+-IF(LAPACKE)
++IF(BUILD_LAPACKE)
+ list(APPEND LAPACKE_INCLUDE lapacke.h lapacke_config.h lapacke_utils.h)
+ endif()
+
+@@ -23,4 +23,4 @@
+ message(WARNING "Reverting to pre-defined include/lapacke_mangling.h")
+ configure_file(lapacke_mangling_with_flags.h.in
+ ${LAPACK_BINARY_DIR}/include/lapacke_mangling.h)
+-endif()
+\ No newline at end of file
++endif()
diff --git a/libraries/blis/README b/libraries/blis/README
new file mode 100644
index 0000000000..79c76866d8
--- /dev/null
+++ b/libraries/blis/README
@@ -0,0 +1,10 @@
+ BLIS is a portable software framework for instantiating
+high-performance BLAS-like dense linear algebra libraries.
+The framework was designed to isolate essential kernels of computation
+that, when optimized, immediately enable optimized implementations of
+most of its commonly used and computationally intensive operations.
+BLIS is written in ISO C99 and available under a new/modified/3-clause
+BSD license. While BLIS exports a new BLAS-like API, it also includes
+a BLAS compatibility layer which gives application developers access
+to BLIS implementations via traditional BLAS routine calls.
+An object-based API unique to BLIS is also available.
diff --git a/libraries/blis/blis.SlackBuild b/libraries/blis/blis.SlackBuild
new file mode 100644
index 0000000000..b296d3df15
--- /dev/null
+++ b/libraries/blis/blis.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for BLIS
+
+# 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=blis
+VERSION=${VERSION:-0.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --disable-static \
+ generic
+
+make
+make check
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {CHANGELOG,CONTRIBUTING.md,CREDITS,LICENSE,RELEASING,version} $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/libraries/blis/blis.info b/libraries/blis/blis.info
new file mode 100644
index 0000000000..6f020d63c5
--- /dev/null
+++ b/libraries/blis/blis.info
@@ -0,0 +1,10 @@
+PRGNAM="blis"
+VERSION="0.8.1"
+HOMEPAGE="https://github.com/flame/blis"
+DOWNLOAD="https://github.com/flame/blis/archive/0.8.1/blis-0.8.1.tar.gz"
+MD5SUM="26e0ce355b7021b178da86ba75cdb2c4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/blis/slack-desc b/libraries/blis/slack-desc
new file mode 100644
index 0000000000..8da1b2d9b2
--- /dev/null
+++ b/libraries/blis/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------------------------------------------------------|
+blis: blis (high-performance BLAS-like dense linear algebra libraries)
+blis:
+blis: BLIS is a portable software framework for instantiating
+blis: high-performance BLAS-like dense linear algebra libraries.
+blis: The framework was designed to isolate essential kernels of
+blis: computation that, when optimized, immediately enable optimized
+blis: implementations of most of its commonly used and computationally
+blis: intensive operations. BLIS is written in ISO C99 and available
+blis: under a new/modified/3-clause BSD license.
+blis:
+blis:
diff --git a/libraries/bluez-alsa/README b/libraries/bluez-alsa/README
index c30d02528e..380e48b1ff 100644
--- a/libraries/bluez-alsa/README
+++ b/libraries/bluez-alsa/README
@@ -1,12 +1,19 @@
bluez-alsa (Bluetooth Audio ALSA Backend)
-This project is a rebirth of a direct integration between Bluez and ALSA.
-Since Bluez >= 5, the build-in integration has been removed in favor of 3rd
-party audio applications. From now on, Bluez acts as a middleware between an
-audio application, which implements Bluetooth audio profile, and a Bluetooth
-audio device.
+This project is a rebirth of a direct integration between Bluez and
+ALSA. Since Bluez >= 5, the build-in integration has been removed in
+favor of 3rd party audio applications. From now on, Bluez acts as a
+middleware between an audio application, which implements Bluetooth
+audio profile, and a Bluetooth audio device.
-Note: you might want to "start" "/usr/bin/bluealsa" via rc.local --
-for example, add the following line to rc.local:
+NOTE: A sample "rc" script is included, and installed in the usual
+location i.e. /etc/rc.d -- to use this rc script do the usual:
- /usr/bin/bluealsa &
+chmod +x /etc/rc.d/rc.bluez-alsa
+
+Then add the following to your rc.local:
+
+ # Start bluez-alsa
+ if [ -x /etc/rc.d/rc.bluez-alsa ]; then
+ /etc/rc.d/rc.bluez-alsa start
+ fi
diff --git a/libraries/bluez-alsa/bluez-alsa.SlackBuild b/libraries/bluez-alsa/bluez-alsa.SlackBuild
index 07fbde6863..f60fd6416e 100644
--- a/libraries/bluez-alsa/bluez-alsa.SlackBuild
+++ b/libraries/bluez-alsa/bluez-alsa.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bluez-alsa
-# Copyright 2018 Vasily Sora USA
+# Copyright 2018,2022 Vasily Sora 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=bluez-alsa
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-1}
+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,14 +105,14 @@ 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 \
- README.md \
- $PKG/usr/share/alsa/alsa.conf.d/20-bluealsa.conf \
- $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/etc/rc.d
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/rc.bluez-alsa > $PKG/etc/rc.d/rc.bluez-alsa
+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/libraries/bluez-alsa/bluez-alsa.info b/libraries/bluez-alsa/bluez-alsa.info
index 79fe733926..5d2aa1367d 100644
--- a/libraries/bluez-alsa/bluez-alsa.info
+++ b/libraries/bluez-alsa/bluez-alsa.info
@@ -1,8 +1,8 @@
PRGNAM="bluez-alsa"
-VERSION="1.3.1"
+VERSION="3.1.0"
HOMEPAGE="https://github.com/Arkq/bluez-alsa"
-DOWNLOAD="https://github.com/Arkq/bluez-alsa/archive/v1.3.1/bluez-alsa-1.3.1.tar.gz"
-MD5SUM="a7be0746aa37893420935c49b95dd76f"
+DOWNLOAD="https://github.com/Arkq/bluez-alsa/archive/v3.1.0/bluez-alsa-3.1.0.tar.gz"
+MD5SUM="02d2c56383a8e7bacc3bde2e9a39af4c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/bluez-alsa/rc.bluez-alsa b/libraries/bluez-alsa/rc.bluez-alsa
new file mode 100644
index 0000000000..94d83656a8
--- /dev/null
+++ b/libraries/bluez-alsa/rc.bluez-alsa
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# /etc/rc.d/rc.bluez-alsa
+#
+
+case "$1" in
+ 'start')
+ nohup /usr/bin/bluealsa > /dev/null 2>&1 &
+ echo $! > /var/run/bluealsa.pid
+ ;;
+ 'stop')
+ kill $(cat /var/run/bluealsa.pid)
+ rm -f /var/run/bluealsa.pid
+ ;;
+ 'restart')
+ kill $(cat /var/run/bluealsa.pid)
+ nohup /usr/bin/bluealsa > /dev/null 2>&1 &
+ echo $! > /var/run/bluealsa.pid
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ ;;
+esac
+
diff --git a/libraries/boolstuff/boolstuff.SlackBuild b/libraries/boolstuff/boolstuff.SlackBuild
index 0da0895ad6..54dd8ec801 100644
--- a/libraries/boolstuff/boolstuff.SlackBuild
+++ b/libraries/boolstuff/boolstuff.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for boolstuff
@@ -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=boolstuff
VERSION=${VERSION:-0.1.15}
-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"
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvzf $CWD/"$PRGNAM"_"$VERSION".orig.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -94,8 +104,10 @@ mv $PKG/usr/share/doc/$PRGNAM-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -fR $PKG/usr/share
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/libraries/boolstuff/boolstuff.info b/libraries/boolstuff/boolstuff.info
index 183acd54a5..ceb4739353 100644
--- a/libraries/boolstuff/boolstuff.info
+++ b/libraries/boolstuff/boolstuff.info
@@ -1,7 +1,7 @@
PRGNAM="boolstuff"
VERSION="0.1.15"
HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/boolstuff.html"
-DOWNLOAD="http://perso.b2b2c.ca/~sarrazip/dev/boolstuff-0.1.15.tar.gz"
+DOWNLOAD="http://deb.debian.org/debian/pool/main/b/boolstuff/boolstuff_0.1.15.orig.tar.gz"
MD5SUM="fc8397d732f696d9f5e371bab2fb2c14"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/botocore/README b/libraries/botocore/README
index 1e0bf9910f..7250e26e19 100644
--- a/libraries/botocore/README
+++ b/libraries/botocore/README
@@ -1,3 +1,5 @@
The low-level, core functionality of boto 3.
A low-level interface to a growing number of Amazon Web Services.
The botocore package is the foundation for AWS-CLI.
+
+Optional dependencies: awscrt
diff --git a/libraries/botocore/botocore.SlackBuild b/libraries/botocore/botocore.SlackBuild
index f7048db35d..1f79141716 100644
--- a/libraries/botocore/botocore.SlackBuild
+++ b/libraries/botocore/botocore.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for botocore
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=botocore
-VERSION=${VERSION:-1.14.15}
+VERSION=${VERSION:-1.34.14}
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,17 +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 {} \;
-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 LICENSE.txt PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt NOTICE 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/libraries/botocore/botocore.info b/libraries/botocore/botocore.info
index 4c2ddb8fc9..076ad6bfa3 100644
--- a/libraries/botocore/botocore.info
+++ b/libraries/botocore/botocore.info
@@ -1,10 +1,10 @@
PRGNAM="botocore"
-VERSION="1.14.15"
+VERSION="1.34.14"
HOMEPAGE="https://github.com/boto/botocore"
-DOWNLOAD="https://files.pythonhosted.org/packages/5c/48/f5776ae89e6b97fcc7d049f6d25262b9ce45ec3e4ad69ba3851e30006597/botocore-1.14.15.tar.gz"
-MD5SUM="d49c411092f3af5d4b42c3759c2522ca"
+DOWNLOAD="https://github.com/boto/botocore/archive/1.34.14/botocore-1.34.14.tar.gz"
+MD5SUM="cc8017ec4a3798eca8a5c22bdb1df69c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-dateutil jmespath bcdoc python-urllib3"
+REQUIRES="python3-dateutil jmespath"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/buddy/buddy.SlackBuild b/libraries/buddy/buddy.SlackBuild
index fc575258e1..4423a3ded5 100644
--- a/libraries/buddy/buddy.SlackBuild
+++ b/libraries/buddy/buddy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for buddy
@@ -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=buddy
VERSION=${VERSION:-2.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}
@@ -90,8 +100,10 @@ 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
+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/libraries/bullet/bullet.SlackBuild b/libraries/bullet/bullet.SlackBuild
index 8f278d7f05..1e1e1ff69b 100644
--- a/libraries/bullet/bullet.SlackBuild
+++ b/libraries/bullet/bullet.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Bullet Physics
# Originally Written by Jože Zobec <jozze.zepl@gmail.com>
-# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All Right 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=bullet
-VERSION=${VERSION:-2.89}
+VERSION=${VERSION:-3.25}
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}
@@ -79,11 +86,16 @@ cd build
-DBUILD_SHARED_LIBS=ON \
-DINSTALL_LIBS=ON \
-DINSTALL_EXTRA_LIBS=ON \
+ -DUSE_DOUBLE_PRECISION=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
+if [ "$ARCH" = "x86_64" ]; then
+ mv $PKG/usr/lib/libclsocket.a $PKG/usr/lib${LIBDIRSUFFIX}/libclsocket.a
+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
@@ -95,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/libraries/bullet/bullet.info b/libraries/bullet/bullet.info
index e0b7a7835e..a33ce358d8 100644
--- a/libraries/bullet/bullet.info
+++ b/libraries/bullet/bullet.info
@@ -1,8 +1,8 @@
PRGNAM="bullet"
-VERSION="2.89"
+VERSION="3.25"
HOMEPAGE="http://www.bulletphysics.com/Bullet/"
-DOWNLOAD="https://github.com/bulletphysics/bullet3/archive/2.89/bullet3-2.89.tar.gz"
-MD5SUM="d239b4800ec30513879834be6fcdc376"
+DOWNLOAD="https://github.com/bulletphysics/bullet3/archive/3.25/bullet3-3.25.tar.gz"
+MD5SUM="38f14ac1c89e6badfa3fb427baadf3a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/bwidget/bwidget.SlackBuild b/libraries/bwidget/bwidget.SlackBuild
index e0827b99b2..03b3e1f308 100644
--- a/libraries/bwidget/bwidget.SlackBuild
+++ b/libraries/bwidget/bwidget.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bwidget
@@ -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=bwidget
VERSION=${VERSION:-1.9.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"
@@ -79,8 +89,7 @@ cp -a *.txt ChangeLog $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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/bzrtp/README b/libraries/bzrtp/README
index 86b736b3df..0eb3d00125 100644
--- a/libraries/bzrtp/README
+++ b/libraries/bzrtp/README
@@ -1,20 +1,20 @@
bzrtp (ZRTP Key Exchange Library)
-bzrtp is an opensource implementation of the ZRTP key exchange protocol.
+bzrtp is an opensource implementation of the ZRTP key exchange
+protocol.
-The library written in C89 is fully portable and can be executed on many
-platforms including both ARM processors and x86.
+The library written in C89 is fully portable and can be executed on
+many platforms including both ARM processors and x86.
Licensing: The source code is licensed under GPLv2.
-----------------------------------------------------------------------------------
-Compatibility with RFC6189 - ZRTP: Media Path Key Agreement for Unicast Secure RTP
-----------------------------------------------------------------------------------
+Compatibility with RFC6189 (ZRTP: Media Path Key Agreement for Unicast
+Secure RTP):
*** Mandatory but NOT implemented:
- Sas Relay mechanism (section 7.3)
-- Error message generation, emission or reception (which doesn't imply any
- security problem, they are mostly for debug purposes)
+- Error message generation, emission or reception (which doesn't imply
+ any security problem, they are mostly for debug purposes)
*** Optional and implemented:
- multistream mode
diff --git a/libraries/bzrtp/bzrtp.SlackBuild b/libraries/bzrtp/bzrtp.SlackBuild
index e537af2727..1488852a40 100644
--- a/libraries/bzrtp/bzrtp.SlackBuild
+++ b/libraries/bzrtp/bzrtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bzrtp
@@ -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=bzrtp
VERSION=${VERSION:-1.0.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
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}
@@ -54,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog README.md NEWS $CWD/$PRGNAM.SlackBuild"
+DOCS="AUTHORS COPYING README.md NEWS $CWD/$PRGNAM.SlackBuild"
set -e
@@ -67,9 +74,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 {} \+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -89,10 +96,7 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -100,8 +104,10 @@ chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $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/libraries/bzrtp/bzrtp.info b/libraries/bzrtp/bzrtp.info
index f4342874c3..7a144c8af8 100644
--- a/libraries/bzrtp/bzrtp.info
+++ b/libraries/bzrtp/bzrtp.info
@@ -1,7 +1,7 @@
PRGNAM="bzrtp"
VERSION="1.0.6"
HOMEPAGE="https://github.com/BelledonneCommunications/bzrtp"
-DOWNLOAD="https://www.linphone.org/releases/sources/bzrtp/bzrtp-1.0.6.tar.gz"
+DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/bzrtp-1.0.6.tar.gz"
MD5SUM="e77a6b074bb810a02cc77a1df776fb79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild b/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild
index 242c4d97b4..96e602c9c2 100644
--- a/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild
+++ b/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for c++-gtk-utils
@@ -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=c++-gtk-utils
VERSION=${VERSION:-2.0.29}
-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}
@@ -43,8 +53,8 @@ OUTPUT=${OUTPUT:-/tmp}
# other doc files are automatically installed
DOCFILES="ABOUT-NLS ChangeLog INSTALL"
-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,7 +73,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+if [ -e $CWD/c%2B%2B-gtk-utils-$VERSION.tar.gz ] ; then
+ tar xvf $CWD/c%2B%2B-gtk-utils-$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -94,8 +108,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $DOCFILES $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/libraries/c-ares/README b/libraries/c-ares/README
deleted file mode 100644
index 24b19f7eeb..0000000000
--- a/libraries/c-ares/README
+++ /dev/null
@@ -1,3 +0,0 @@
-c-ares is a C library that performs DNS requests and name resolves
-asynchronously. c-ares is a fork of the original library named 'ares',
-written by Greg Hudson at MIT.
diff --git a/libraries/c-ares/c-ares.SlackBuild b/libraries/c-ares/c-ares.SlackBuild
deleted file mode 100644
index c468027ac2..0000000000
--- a/libraries/c-ares/c-ares.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for c-ares
-
-# Written by Larry Hajali
-# Currently Maintained by Kent Fritz <fritz.kent@gmail.com>
-
-PRGNAM=c-ares
-VERSION=${VERSION:-1.15.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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --disable-static \
- --disable-debug \
- --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
-
-cat ares.h | head -15 | tail -14 | sed -e 's|^.\*.||' -e 's| \*||' > LICENSE
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGES INSTALL.md LICENSE LICENSE.md NEWS README.cares \
- README.md README.msvc RELEASE-NOTES RELEASE-PROCEDURE.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:-tgz}
diff --git a/libraries/c-ares/c-ares.info b/libraries/c-ares/c-ares.info
deleted file mode 100644
index ae1ee4424c..0000000000
--- a/libraries/c-ares/c-ares.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="c-ares"
-VERSION="1.15.0"
-HOMEPAGE="https://c-ares.haxx.se/"
-DOWNLOAD="https://c-ares.haxx.se/download/c-ares-1.15.0.tar.gz"
-MD5SUM="d2391da274653f7643270623e822dff7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Kent Fritz"
-EMAIL="fritz.kent@gmail.com"
diff --git a/libraries/c-ares/slack-desc b/libraries/c-ares/slack-desc
deleted file mode 100644
index 4a25e59c02..0000000000
--- a/libraries/c-ares/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------------------------------------------------------|
-c-ares: c-ares (C library for DNS requests)
-c-ares:
-c-ares: c-ares is a C library that performs DNS requests and name resolves
-c-ares: asynchronously. c-ares is a fork of the original library named 'ares',
-c-ares: written by Greg Hudson at MIT.
-c-ares:
-c-ares: Homepage: https://c-ares.haxx.se/
-c-ares:
-c-ares:
-c-ares:
-c-ares:
diff --git a/libraries/c-blosc/README b/libraries/c-blosc/README
new file mode 100644
index 0000000000..0180de8665
--- /dev/null
+++ b/libraries/c-blosc/README
@@ -0,0 +1,14 @@
+Blosc is a high performance compressor optimized for binary data. It
+has been designed to transmit data to the processor cache faster than
+the traditional, non-compressed, direct memory fetch approach via a
+memcpy() OS call. Blosc is the first compressor (that I'm aware of)
+that is meant not only to reduce the size of large datasets on-disk or
+in-memory, but also to accelerate memory-bound computations.
+
+It uses the blocking technique so as to reduce activity in the memory
+bus as much as possible. In short, this technique works by dividing
+datasets in blocks that are small enough to fit in caches of modern
+processors and perform compression / decompression there. It also
+leverages, if available, SIMD instructions (SSE2, AVX2) and
+multi-threading capabilities of CPUs, in order to accelerate the
+compression / decompression process to a maximum.
diff --git a/libraries/c-blosc/c-blosc.SlackBuild b/libraries/c-blosc/c-blosc.SlackBuild
new file mode 100644
index 0000000000..053ec8aedb
--- /dev/null
+++ b/libraries/c-blosc/c-blosc.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for c-blosc
+
+# 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=c-blosc
+VERSION=${VERSION:-1.21.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 {} \;
+
+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 \
+ -DBUILD_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 \
+ THANKS.rst RELEASE_NOTES.rst README.md LICENSE.txt FAQ.md CONTRIBUTING.md ANNOUNCE.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/libraries/c-blosc/c-blosc.info b/libraries/c-blosc/c-blosc.info
new file mode 100644
index 0000000000..deb05b9266
--- /dev/null
+++ b/libraries/c-blosc/c-blosc.info
@@ -0,0 +1,10 @@
+PRGNAM="c-blosc"
+VERSION="1.21.4"
+HOMEPAGE="https://github.com/Blosc/c-blosc"
+DOWNLOAD="https://github.com/Blosc/c-blosc/archive/refs/tags/v1.21.4/c-blosc-1.21.4.tar.gz"
+MD5SUM="926a33912611073f671d9e442628e889"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.blosc_2023-07-12@lockywolf.net"
diff --git a/libraries/c-blosc/slack-desc b/libraries/c-blosc/slack-desc
new file mode 100644
index 0000000000..e35479e209
--- /dev/null
+++ b/libraries/c-blosc/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-blosc: c-blosc (a high performance compressor optimized for binary data)
+c-blosc:
+c-blosc: It has been designed to transmit data to the processor cache faster
+c-blosc: than the traditional, non-compressed, direct memory fetch approach
+c-blosc: via a memcpy() OS call. Blosc is the first compressor that is meant
+c-blosc: not only to reduce the size of large datasets on-disk or in-memory,
+c-blosc: but also to accelerate memory-bound computations.
+c-blosc: It uses the blocking technique so as to reduce activity in the
+c-blosc: memory bus as much as possible. In short, this technique works by
+c-blosc: dividing datasets in blocks that are small enough to fit in caches.
+c-blosc:
diff --git a/libraries/cal3d/README b/libraries/cal3d/README
index 24c78c5914..e8904c152e 100644
--- a/libraries/cal3d/README
+++ b/libraries/cal3d/README
@@ -1,5 +1,5 @@
Cal3D is a skeletal based character animation library. It is platform-
-independent and not bound to a specific graphic API. Originally designed to
-be used in a 3d client for the Worldforge project ( www.worldforge.org )
-it evolved into a stand-alone product that can be used in many different
-projects.
+independent and not bound to a specific graphic API. Originally
+designed to be used in a 3d client for the Worldforge project
+(www.worldforge.org), it evolved into a stand-alone product that can
+be used in many different projects.
diff --git a/libraries/cal3d/cal3d.SlackBuild b/libraries/cal3d/cal3d.SlackBuild
index e78c7c3a41..ea1202e9a3 100644
--- a/libraries/cal3d/cal3d.SlackBuild
+++ b/libraries/cal3d/cal3d.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cal3d
@@ -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=cal3d
VERSION=${VERSION:-0.11.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}
@@ -96,9 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/libraries/cal3d/doinst.sh b/libraries/cal3d/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/cal3d/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/libraries/camlpdf/README b/libraries/camlpdf/README
new file mode 100644
index 0000000000..9d24481060
--- /dev/null
+++ b/libraries/camlpdf/README
@@ -0,0 +1,2 @@
+Camlpdf is a free OCaml library for reading, writing and modifying PDF
+files. It is the basis of cpdf command line tool available at SBo.
diff --git a/libraries/camlpdf/camlpdf.SlackBuild b/libraries/camlpdf/camlpdf.SlackBuild
new file mode 100644
index 0000000000..37a5d8626c
--- /dev/null
+++ b/libraries/camlpdf/camlpdf.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+# Slackware build script for camlpdf
+
+# Copyright 2022-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=camlpdf
+VERSION=${VERSION:-2.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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 -j1
+OCAMLFIND_DESTDIR="$PKG/$(ocamlfind printconf destdir)"
+mkdir -p $OCAMLFIND_DESTDIR
+make install OCAMLFIND_DESTDIR=$OCAMLFIND_DESTDIR
+
+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 README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/camlpdf/camlpdf.info b/libraries/camlpdf/camlpdf.info
new file mode 100644
index 0000000000..8ab267c795
--- /dev/null
+++ b/libraries/camlpdf/camlpdf.info
@@ -0,0 +1,10 @@
+PRGNAM="camlpdf"
+VERSION="2.7"
+HOMEPAGE="https://github.com/johnwhitington/camlpdf"
+DOWNLOAD="https://github.com/johnwhitington/camlpdf/archive/v2.7/camlpdf-2.7.tar.gz"
+MD5SUM="7d53d94a2783801ff0df13595d599aa8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ocaml-findlib"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/camlpdf/slack-desc b/libraries/camlpdf/slack-desc
new file mode 100644
index 0000000000..041c150ae8
--- /dev/null
+++ b/libraries/camlpdf/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------------------------------------------------------|
+camlpdf: camlpdf (OCaml library for manipulating PDF files)
+camlpdf:
+camlpdf:
+camlpdf: Camlpdf is a free OCaml library for reading, writing and modifying
+camlpdf: PDF files. It is the basis of cpdf command line tool
+camlpdf: available at SBo.
+camlpdf:
+camlpdf: Homepage: https://github.com/johnwhitington/camlpdf
+camlpdf:
+camlpdf:
+camlpdf:
diff --git a/libraries/canfigger/README b/libraries/canfigger/README
new file mode 100644
index 0000000000..65938ae5e4
--- /dev/null
+++ b/libraries/canfigger/README
@@ -0,0 +1,10 @@
+# canfigger
+
+Canfigger is a lightweight C language library designed to parse
+configuration files. It provides functionality to read them and
+represent their contents as a linked list of key-value pairs, along
+with associated attributes for each pair.
+
+website: https://github.com/andy5995/canfigger/
+
+See README.md on the GitHub repo for more info and examples.
diff --git a/libraries/canfigger/canfigger.SlackBuild b/libraries/canfigger/canfigger.SlackBuild
new file mode 100644
index 0000000000..020fa16bf0
--- /dev/null
+++ b/libraries/canfigger/canfigger.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for canfigger
+
+# 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=canfigger
+VERSION=${VERSION:-0.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}
+
+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 \
+ -Ddocdir=/usr/doc/$PRGNAM-$VERSION \
+ -Ddefault_library=both
+
+ninja -v
+DESTDIR=$PKG ninja install
+cd ..
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/canfigger/canfigger.info b/libraries/canfigger/canfigger.info
new file mode 100644
index 0000000000..a03d6eef54
--- /dev/null
+++ b/libraries/canfigger/canfigger.info
@@ -0,0 +1,10 @@
+PRGNAM="canfigger"
+VERSION="0.3.0"
+HOMEPAGE="https://github.com/andy5995/canfigger/"
+DOWNLOAD="https://github.com/andy5995/canfigger/releases/download/v0.3.0/canfigger-0.3.0.tar.xz"
+MD5SUM="f0142db8726d22896d9e04342fe3de7d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andy Alt"
+EMAIL="arch_stanton5995@proton.me"
diff --git a/libraries/canfigger/slack-desc b/libraries/canfigger/slack-desc
new file mode 100644
index 0000000000..292a42b14a
--- /dev/null
+++ b/libraries/canfigger/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------------------------------------------------------|
+canfigger: canfigger (Config File Parser)
+canfigger:
+canfigger: Lightweight C language library designed to parse configuration files.
+canfigger: It provides functionality to read them and represent their contents as
+canfigger: a linked list of key-value pairs, along with associated attributes for
+canfigger: each pair.
+canfigger:
+canfigger:
+canfigger:
+canfigger: Homepage: https://github.com/andy5995/canfigger/
+canfigger:
diff --git a/libraries/capnproto/capnproto.SlackBuild b/libraries/capnproto/capnproto.SlackBuild
index ecc70670e1..3f0ea83c93 100644
--- a/libraries/capnproto/capnproto.SlackBuild
+++ b/libraries/capnproto/capnproto.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Cap'n Proto
@@ -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=capnproto
-VERSION=${VERSION:-0.6.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.9.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}
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp CONTRIBUTORS LICENSE 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/libraries/capnproto/capnproto.info b/libraries/capnproto/capnproto.info
index 616c6dee9b..f10fc42f52 100644
--- a/libraries/capnproto/capnproto.info
+++ b/libraries/capnproto/capnproto.info
@@ -1,8 +1,8 @@
PRGNAM="capnproto"
-VERSION="0.6.1"
+VERSION="0.9.0"
HOMEPAGE="https://capnproto.org/"
-DOWNLOAD="https://github.com/sandstorm-io/capnproto/archive/v0.6.1/capnproto-0.6.1.tar.gz"
-MD5SUM="481d0f2fe24f46ce25234ea9704ef0b4"
+DOWNLOAD="https://github.com/sandstorm-io/capnproto/archive/v0.9.0/capnproto-0.9.0.tar.gz"
+MD5SUM="c8eece5732e6e41bf20fde1b638a989c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/cchardet/cchardet.SlackBuild b/libraries/cchardet/cchardet.SlackBuild
index e52f38f1bd..72c5a847f7 100644
--- a/libraries/cchardet/cchardet.SlackBuild
+++ b/libraries/cchardet/cchardet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cchardet
@@ -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=cchardet
VERSION=${VERSION:-1.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}
@@ -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/libraries/ccrtp/ccrtp.SlackBuild b/libraries/ccrtp/ccrtp.SlackBuild
index 04fff8c2b7..ca4d324c8c 100644
--- a/libraries/ccrtp/ccrtp.SlackBuild
+++ b/libraries/ccrtp/ccrtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ccrtp
# Was written by Euan Thoms <euan at potensol dot com>
@@ -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=ccrtp
-VERSION=${VERSION:-2.0.9}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.1.2}
+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}
@@ -100,8 +110,10 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+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/libraries/ccrtp/ccrtp.info b/libraries/ccrtp/ccrtp.info
index 38929c008d..0232990714 100644
--- a/libraries/ccrtp/ccrtp.info
+++ b/libraries/ccrtp/ccrtp.info
@@ -1,8 +1,8 @@
PRGNAM="ccrtp"
-VERSION="2.0.9"
+VERSION="2.1.2"
HOMEPAGE="http://www.gnu.org/software/ccrtp/"
-DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-2.0.9.tar.gz"
-MD5SUM="f2e143c2558fbbe5715a1f04be2fb692"
+DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-2.1.2.tar.gz"
+MD5SUM="e6792cbd8b705901c205a509bd7f812f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ucommon"
diff --git a/libraries/cdk/README b/libraries/cdk/README
index 68ba5ab056..5b32729780 100644
--- a/libraries/cdk/README
+++ b/libraries/cdk/README
@@ -1,10 +1,11 @@
-Cdk stands for 'Curses Development Kit' and it currently contains 21 ready
-to use widgets which facilitate the speedy development of full screen
-curses programs.
+Cdk stands for 'Curses Development Kit' and it currently contains 21
+ready to use widgets which facilitate the speedy development of full
+screen curses programs.
-This is a modified/enhanced version of Cdk. The intent of the modifications
-is to preserve nominal compatibility with the original Cdk, while fixing
-bugs and design limitations. Some macros such as ObjOf() have been introduced
-to move details out of individual widgets into common functionality (see
-the cdk_objs.h header). In addition, fixed array limits have been removed,
-using new functions in some instances which do not have the fixed limits.
+This is a modified/enhanced version of Cdk. The intent of the
+modifications is to preserve nominal compatibility with the original
+Cdk, while fixing bugs and design limitations. Some macros such as
+ObjOf() have been introduced to move details out of individual widgets
+into common functionality (see the cdk_objs.h header). In addition,
+fixed array limits have been removed, using new functions in some
+instances which do not have the fixed limits.
diff --git a/libraries/cdk/cdk.SlackBuild b/libraries/cdk/cdk.SlackBuild
index 31958597e8..604ccb2b61 100644
--- a/libraries/cdk/cdk.SlackBuild
+++ b/libraries/cdk/cdk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cdk
@@ -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=cdk
VERSION=${VERSION:-5.0_20160131}
-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"
@@ -98,8 +108,10 @@ chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/libcdkw.so.${ABI_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/libraries/cereal/README b/libraries/cereal/README
new file mode 100644
index 0000000000..ccdb80b28c
--- /dev/null
+++ b/libraries/cereal/README
@@ -0,0 +1,6 @@
+cereal is a header-only C++11 serialization library.
+cereal takes arbitrary data types and reversibly turns them into
+different representations, such as compact binary encodings, XML,
+or JSON.
+
+cereal was designed to be fast, light-weight, and easy to extend.
diff --git a/libraries/cereal/cereal.SlackBuild b/libraries/cereal/cereal.SlackBuild
new file mode 100644
index 0000000000..1d77d623d5
--- /dev/null
+++ b/libraries/cereal/cereal.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for cereal
+
+# Copyright 2022 ilmich < ardutu 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=cereal
+VERSION=${VERSION:-1.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}
+
+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 \
+ -DSKIP_PORTABILITY_TEST=ON \
+ -DTHREAD_SAFE=ON \
+ -DWITH_WERROR=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/cereal/cereal.info b/libraries/cereal/cereal.info
new file mode 100644
index 0000000000..f20146ad8b
--- /dev/null
+++ b/libraries/cereal/cereal.info
@@ -0,0 +1,10 @@
+PRGNAM="cereal"
+VERSION="1.3.2"
+HOMEPAGE="https://uscilab.github.io/cereal/"
+DOWNLOAD="https://github.com/USCiLab/cereal/archive/v1.3.2/cereal-1.3.2.tar.gz"
+MD5SUM="ab6070fadc7c50072ef4153fb1c46a87"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="ilmich"
+EMAIL="ardutu@gmail.com"
diff --git a/libraries/cereal/slack-desc b/libraries/cereal/slack-desc
new file mode 100644
index 0000000000..38eec57a93
--- /dev/null
+++ b/libraries/cereal/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------------------------------------------------------|
+cereal: cereal (header-only C++11 serialization library)
+cereal:
+cereal: cereal takes arbitrary data types and reversibly turns them into
+cereal: different representations, such as compact binary encodings, XML,
+cereal: or JSON. cereal was designed to be fast, light-weight, and easy
+cereal: to extend - it has no external dependencies and can be easily
+cereal: bundled with other code or used standalone.
+cereal:
+cereal:
+cereal:
+cereal:
diff --git a/libraries/ceres-solver/README b/libraries/ceres-solver/README
new file mode 100644
index 0000000000..94bc00c651
--- /dev/null
+++ b/libraries/ceres-solver/README
@@ -0,0 +1,13 @@
+Ceres Solver is an open source C++ library for modeling and
+solving large, complicated optimization problems. It can be used to
+solve Non-linear Least Squares problems with bounds constraints and
+general unconstrained optimization problems. It is a mature, feature
+rich, and performant library that has been used in production at
+Google since 2010.
+
+Ceres Solver is an open source C++ library for modeling and solving
+large, complicated optimization problems. It is a feature rich, mature
+and performant library which has been used in production at Google
+since 2010. Ceres Solver can solve two kinds of problems.
+
+
diff --git a/libraries/ceres-solver/ceres-solver.SlackBuild b/libraries/ceres-solver/ceres-solver.SlackBuild
new file mode 100644
index 0000000000..19d531e6e3
--- /dev/null
+++ b/libraries/ceres-solver/ceres-solver.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for ceres-solver
+
+# 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=ceres-solver
+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=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 \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DBUILD_DOCUMENTATION=ON \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE CITATION.cff CONTRIBUTING.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ceres-solver/ceres-solver.info b/libraries/ceres-solver/ceres-solver.info
new file mode 100644
index 0000000000..6a606666db
--- /dev/null
+++ b/libraries/ceres-solver/ceres-solver.info
@@ -0,0 +1,10 @@
+PRGNAM="ceres-solver"
+VERSION="2.1.0"
+HOMEPAGE="https://ceres-solver.org/"
+DOWNLOAD="https://github.com/ceres-solver/ceres-solver/archive/2.1.0/ceres-solver-2.1.0.tar.gz"
+MD5SUM="4ab48f439d63a09a075d4fcdcddc7667"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="suitesparse Sphinx gflags glog sphinx-rtd-theme"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.ceres_2023-05-29@lockywolf.net"
diff --git a/libraries/ceres-solver/slack-desc b/libraries/ceres-solver/slack-desc
new file mode 100644
index 0000000000..e24ec128b4
--- /dev/null
+++ b/libraries/ceres-solver/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------------------------------------------------------|
+ceres-solver: ceres-solver (Open Source Optimization Library)
+ceres-solver:
+ceres-solver: Ceres Solver is an open source C++ library for modeling and solving
+ceres-solver: large, complicated optimization problems. It can be used to solve
+ceres-solver: Non-linear Least Squares problems with bounds constraints and
+ceres-solver: general unconstrained optimization problems. It is a mature,
+ceres-solver: feature rich, and performant library that has been used in
+ceres-solver: production at Google.
+ceres-solver:
+ceres-solver:
+ceres-solver:
diff --git a/libraries/cffi/README b/libraries/cffi/README
index 95a3dd927b..c3a88637f7 100644
--- a/libraries/cffi/README
+++ b/libraries/cffi/README
@@ -1,4 +1,3 @@
-Foreign Function Interface for Python calling C code. The aim of this project
-is to provide a convenient and reliable way of calling C code from Python.
-
-Optional dependency: python3
+Foreign Function Interface for Python calling C code. The aim of this
+project is to provide a convenient and reliable way of calling C code
+from Python.
diff --git a/libraries/cffi/cffi.SlackBuild b/libraries/cffi/cffi.SlackBuild
index fff9a062b1..25ab251f4c 100644
--- a/libraries/cffi/cffi.SlackBuild
+++ b/libraries/cffi/cffi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cffi
@@ -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=cffi
-VERSION=${VERSION:-1.11.5}
+VERSION=${VERSION:-1.13.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
@@ -70,12 +80,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
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+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
@@ -88,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/libraries/cffi/cffi.info b/libraries/cffi/cffi.info
index bea16058d3..f64849ab41 100644
--- a/libraries/cffi/cffi.info
+++ b/libraries/cffi/cffi.info
@@ -1,8 +1,8 @@
PRGNAM="cffi"
-VERSION="1.11.5"
+VERSION="1.13.2"
HOMEPAGE="http://cffi.readthedocs.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz"
-MD5SUM="ac8492f4ad952360737413e82d661908"
+DOWNLOAD="https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/cffi-1.13.2.tar.gz"
+MD5SUM="652203cf99faa254efff7fab23c2f3a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pycparser"
diff --git a/libraries/cfitsio/README b/libraries/cfitsio/README
deleted file mode 100644
index 2f344cd6d6..0000000000
--- a/libraries/cfitsio/README
+++ /dev/null
@@ -1,13 +0,0 @@
-cfitsio is a library of ANSI C routines for reading and writing
-FITS format data files. A set of Fortran-callable wrapper routines
-is also included for the convenience of Fortran programmers.
-
-The documentation directory contains a comprehensive API reference
-guide and instructions on using cfistio in Fortran programs.
-
-If you wish to build the library with the --enable-reentrant option,
-run the SlackBuild script like this:
- CFITSIO_REENTRANT=yes ./cfitsio.SlackBuild
-
-This option is disabled by default because some legacy software will
-not link against reentrant libcfitsio.
diff --git a/libraries/cfitsio/cfitsio.SlackBuild b/libraries/cfitsio/cfitsio.SlackBuild
deleted file mode 100644
index 1d22e45a5b..0000000000
--- a/libraries/cfitsio/cfitsio.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for cfitsio
-
-# Copyright 2011-2019 Dominik Drobek <dominik.drobek (at) o2.pl>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=cfitsio
-VERSION=${VERSION:-3.47}
-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
-
-# --enable-reentrant is disabled by default, as it causes problems with legacy software
-CFITSIO_REENTRANT=${CFITSIO_REENTRANT:-no}
-
-if [ "$CFITSIO_REENTRANT" = "no" ]; then
- USE_REENTRANT="--disable-reentrant"
-else
- USE_REENTRANT="--enable-reentrant"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-bzip2 \
- ${USE_REENTRANT} \
- --build=$ARCH-slackware-linux
-
-make shared
-make install DESTDIR=$PKG
-
-# remove the static library:
-rm $PKG/usr/lib${LIBDIRSUFFIX}/libcfitsio.a
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a License.txt README* docs/*.doc docs/changes.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/libraries/cfitsio/cfitsio.info b/libraries/cfitsio/cfitsio.info
deleted file mode 100644
index 532076cdc5..0000000000
--- a/libraries/cfitsio/cfitsio.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="cfitsio"
-VERSION="3.47"
-HOMEPAGE="https://heasarc.gsfc.nasa.gov/fitsio/"
-DOWNLOAD="https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.47.tar.gz"
-MD5SUM="a2b266abb75ddbf71a29362a599a86ba"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dominik Drobek"
-EMAIL="dominik.drobek (at) o2.pl"
diff --git a/libraries/cfitsio/slack-desc b/libraries/cfitsio/slack-desc
deleted file mode 100644
index fad48f6b34..0000000000
--- a/libraries/cfitsio/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------------------------------------------------------|
-cfitsio: cfitsio (FITS file I/O library for C)
-cfitsio:
-cfitsio: cfitsio is a library of ANSI C routines for reading and writing
-cfitsio: FITS format data files. A set of Fortran-callable wrapper routines
-cfitsio: is also included for the convenience of Fortran programmers.
-cfitsio:
-cfitsio: Homepage: https://heasarc.gsfc.nasa.gov/fitsio
-cfitsio:
-cfitsio:
-cfitsio:
-cfitsio:
diff --git a/libraries/cgicc/README b/libraries/cgicc/README
index b7c6e61d4b..22b13e067e 100644
--- a/libraries/cgicc/README
+++ b/libraries/cgicc/README
@@ -11,4 +11,4 @@ Web. cgicc performs the following functions:
support for cookies.
- Supports HTTP file upload.
- Compatible with FastCGI.
-- License: LGPL. \ No newline at end of file
+- License: LGPL.
diff --git a/libraries/cgicc/cgicc.SlackBuild b/libraries/cgicc/cgicc.SlackBuild
index 6edab23a03..965774e7cb 100644
--- a/libraries/cgicc/cgicc.SlackBuild
+++ b/libraries/cgicc/cgicc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cgicc
@@ -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=cgicc
-VERSION=${VERSION:-3.2.9}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.19}
+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}
@@ -85,8 +95,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS BUGS COPYING.DOC ChangeLog INSTALL README README.WIN THANKS $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/libraries/cgicc/cgicc.info b/libraries/cgicc/cgicc.info
index 652951da19..704bae389c 100644
--- a/libraries/cgicc/cgicc.info
+++ b/libraries/cgicc/cgicc.info
@@ -1,8 +1,8 @@
PRGNAM="cgicc"
-VERSION="3.2.9"
+VERSION="3.2.19"
HOMEPAGE="https://www.gnu.org/software/cgicc/index.html"
-DOWNLOAD="ftp://ftp.gnu.org/gnu/cgicc/cgicc-3.2.9.tar.gz"
-MD5SUM="9c62692a2f08e2ee48c3ccc401047e80"
+DOWNLOAD="https://ftp.gnu.org/gnu/cgicc/cgicc-3.2.19.tar.gz"
+MD5SUM="a795531556aef314018834981a1466c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/cglm/README b/libraries/cglm/README
new file mode 100644
index 0000000000..47ac7047a0
--- /dev/null
+++ b/libraries/cglm/README
@@ -0,0 +1,17 @@
+cglm is a highly optimizied 2D and 3D graphics math library for the C
+programming language. The library provides many utilities to help math
+operations stay fast while remainging easy to write. cglm is based on
+the GLM math library that has bindings for the C++ programming
+language. The library is primarily used for operations with the OpenGL
+graphics API. The complete documentation is available at
+http://cglm.readthedocs.io/.
+
+Optional dependency: Sphinx (for building documentation)
+
+The following options are available with the following default values:
+ CGLM_SHARED=ON # Shared library build
+ CGLM_STATIC=OFF # Static library build
+ CGLM_USE_C99=OFF # Use C11 by default
+ CGLM_USE_TEST=OFF # For make check/test
+ CGLM_BUILD_DOCS=NO # Set to YES to build documentation using Sphinx
+ You will need the sphinx_rtd_theme PyPI package
diff --git a/libraries/cglm/cglm.SlackBuild b/libraries/cglm/cglm.SlackBuild
new file mode 100644
index 0000000000..20f0550cf0
--- /dev/null
+++ b/libraries/cglm/cglm.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+#
+# ex:set ai shiftwidth=4 inputtab=spaces smarttab noautotab:
+
+# Slackware build script for cglm
+
+# Copyright 2023 Brian Hoffpauir, 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=cglm
+VERSION=${VERSION:-0.9.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# OPTIONS
+CGLM_SHARED=${CGLM_SHARED:-ON}
+CGLM_STATIC=${CGLM_STATIC:-OFF}
+CGLM_USE_C99=${CGLM_USE_C99:-OFF}
+CGLM_USE_TEST=${CGLM_USE_TEST:-OFF}
+CGLM_BUILD_DOCS=${CGLM_BUILD_DOCS:-NO} # YES or NO
+
+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 # Move into package directory
+rm -rf $PRGNAM-$VERSION # Erase prior source
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root . # Give everything to root user/group
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 -G "Unix Makefiles" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCGLM_SHARED=$CGLM_SHARED \
+ -DCGLM_STATIC=$CGLM_STATIC \
+ -DCGLM_USE_C99=$CGLM_USE_C99 \
+ -DCGLM_USE_TEST=$CGLM_USE_TEST ..
+
+make
+make install/strip DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+if egrep -iq 'yes' <<< $CGLM_BUILD_DOCS; then
+ cd $TMP/$PRGNAM-$VERSION/docs
+
+ sphinx-build source build
+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
+if egrep -iq 'yes' <<< $CGLM_BUILD_DOCS; then
+ cp -a \
+ $TMP/$PRGNAM-$VERSION/docs/build/. \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+fi
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/cglm/cglm.info b/libraries/cglm/cglm.info
new file mode 100644
index 0000000000..922a8fe3dd
--- /dev/null
+++ b/libraries/cglm/cglm.info
@@ -0,0 +1,10 @@
+PRGNAM="cglm"
+VERSION="0.9.0"
+HOMEPAGE="https://github.com/recp/cglm"
+DOWNLOAD="https://github.com/recp/cglm/archive/refs/tags/v0.9.0/cglm-0.9.0.tar.gz"
+MD5SUM="a0b5d8007a977cb43a6f76ec0dfa9dff"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Brian Hoffpauir"
+EMAIL="bhoffpauir0424@gmail.com"
diff --git a/libraries/cglm/slack-desc b/libraries/cglm/slack-desc
new file mode 100644
index 0000000000..f8bc59b405
--- /dev/null
+++ b/libraries/cglm/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------------------------------------------------------|
+cglm: cglm (Highly Optimized Graphics Math(glm) for C)
+cglm:
+cglm: cglm is a highly optimizied 2D and 3D graphics math library for the
+cglm: C programming language. The library provides many utilities to help
+cglm: math operations stay fast while remaining easy to write. gclm is
+cglm: based on the GLM math library that has bindings for the C++ program-
+cglm: ming language. The library is primarily used for operations with the
+cglm: OpenGL graphics API.
+cglm:
+cglm: Homepage: https://github.com/recp/cglm
+cglm:
diff --git a/libraries/cheapglk/README b/libraries/cheapglk/README
new file mode 100644
index 0000000000..f5c0e95d03
--- /dev/null
+++ b/libraries/cheapglk/README
@@ -0,0 +1,10 @@
+cheapglk (cheapass implementation of the Glk API)
+
+This is the simplest possible implementation of the Glk API. It uses
+stdio.h calls (fopen, putc, getc), but not any of the curses.h calls
+(which handle cursor movement and unbuffered keyboard input.) So
+there's no way it can support multiple windows, or a status bar. In
+fact, this library only allows you to create *one* window at a time,
+and that must be a TextBuffer. Fortunately -- well, deliberately --
+TextBuffer windows are very simple; all the library has to be able to
+do is printf() straight to stdout.
diff --git a/libraries/cheapglk/cheapglk.SlackBuild b/libraries/cheapglk/cheapglk.SlackBuild
new file mode 100644
index 0000000000..d4390e08e2
--- /dev/null
+++ b/libraries/cheapglk/cheapglk.SlackBuild
@@ -0,0 +1,74 @@
+#!/bin/bash
+
+# Slackware build script for cheapglk
+
+# 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=cheapglk
+VERSION=${VERSION:-1.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 ;;
+ *) 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 {} +
+
+make OPTIONS="$SLKCFLAGS"
+mkdir -p $PKG/usr/include/$PRGNAM $PKG/usr/lib$LIBDIRSUFFIX
+cp -a *.h Make.cheapglk $PKG/usr/include/$PRGNAM
+cp -a libcheapglk.a $PKG/usr/lib$LIBDIRSUFFIX
+
+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/libraries/cheapglk/cheapglk.info b/libraries/cheapglk/cheapglk.info
new file mode 100644
index 0000000000..2eec3c091a
--- /dev/null
+++ b/libraries/cheapglk/cheapglk.info
@@ -0,0 +1,10 @@
+PRGNAM="cheapglk"
+VERSION="1.0.6"
+HOMEPAGE="https://github.com/erkyrath/cheapglk"
+DOWNLOAD="https://github.com/erkyrath/cheapglk/archive/cheapglk-1.0.6/cheapglk-cheapglk-1.0.6.tar.gz"
+MD5SUM="a6d56a025a362bb3e10d290527c9fb61"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/cheapglk/slack-desc b/libraries/cheapglk/slack-desc
new file mode 100644
index 0000000000..f6fa0eb938
--- /dev/null
+++ b/libraries/cheapglk/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------------------------------------------------------|
+cheapglk: cheapglk (cheapass implementation of the Glk API)
+cheapglk:
+cheapglk: This is the simplest possible implementation of the Glk API. It uses
+cheapglk: stdio.h calls (fopen, putc, getc), but not any of the curses.h calls
+cheapglk: (which handle cursor movement and unbuffered keyboard input.) So
+cheapglk: there's no way it can support multiple windows, or a status bar. In
+cheapglk: fact, this library only allows you to create *one* window at a time,
+cheapglk: and that must be a TextBuffer. Fortunately -- well, deliberately --
+cheapglk: TextBuffer windows are very simple; all the library has to be able to
+cheapglk: do is printf() straight to stdout.
+cheapglk:
diff --git a/libraries/chromaprint/chromaprint.SlackBuild b/libraries/chromaprint/chromaprint.SlackBuild
index a2a0b7bf4f..7ec8bf6a04 100644
--- a/libraries/chromaprint/chromaprint.SlackBuild
+++ b/libraries/chromaprint/chromaprint.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for chromaprint
-# Copyright 2012-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2012-2022 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=chromaprint
-VERSION=${VERSION:-1.4.3}
+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}
@@ -63,9 +73,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-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 \
@@ -73,6 +83,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/ffmpeg5.patch
+
mkdir -p build
cd build
cmake \
@@ -97,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/libraries/chromaprint/chromaprint.info b/libraries/chromaprint/chromaprint.info
index b3ca48d124..4fde8f5a86 100644
--- a/libraries/chromaprint/chromaprint.info
+++ b/libraries/chromaprint/chromaprint.info
@@ -1,8 +1,8 @@
PRGNAM="chromaprint"
-VERSION="1.4.3"
+VERSION="1.5.1"
HOMEPAGE="https://acoustid.org/chromaprint"
-DOWNLOAD="https://github.com/acoustid/chromaprint/releases/download/v1.4.3/chromaprint-1.4.3.tar.gz"
-MD5SUM="20014ca19974de9657d91d331d11f936"
+DOWNLOAD="https://github.com/acoustid/chromaprint/releases/download/v1.5.1/chromaprint-1.5.1.tar.gz"
+MD5SUM="54e71f86bcf1d34989db639044ba9628"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/chromaprint/ffmpeg5.patch b/libraries/chromaprint/ffmpeg5.patch
new file mode 100644
index 0000000000..d90767fd14
--- /dev/null
+++ b/libraries/chromaprint/ffmpeg5.patch
@@ -0,0 +1,76 @@
+From 6d938d70b1d52634f8b0d88cb29da87f8d5b35a2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <bero@lindev.ch>
+Date: Mon, 17 Jan 2022 04:41:33 +0100
+Subject: [PATCH] Port to ffmpeg 5.0
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Replace removed functionality like accessing the codec context
+from an AVStream and avcodec_decode_audio4()
+
+Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
+---
+ src/audio/ffmpeg_audio_reader.h | 24 ++++++++++++++++++++++--
+ 1 file changed, 22 insertions(+), 2 deletions(-)
+
+diff --git a/src/audio/ffmpeg_audio_reader.h b/src/audio/ffmpeg_audio_reader.h
+index 5550164..a3b8de7 100644
+--- a/src/audio/ffmpeg_audio_reader.h
++++ b/src/audio/ffmpeg_audio_reader.h
+@@ -74,7 +74,7 @@ class FFmpegAudioReader {
+ uint8_t *m_convert_buffer[1] = { nullptr };
+ int m_convert_buffer_nb_samples = 0;
+
+- AVInputFormat *m_input_fmt = nullptr;
++ const AVInputFormat *m_input_fmt = nullptr;
+ AVDictionary *m_input_opts = nullptr;
+
+ AVFormatContext *m_format_ctx = nullptr;
+@@ -153,7 +153,7 @@ inline bool FFmpegAudioReader::Open(const std::string &file_name) {
+ return false;
+ }
+
+- AVCodec *codec;
++ const AVCodec *codec;
+ ret = av_find_best_stream(m_format_ctx, AVMEDIA_TYPE_AUDIO, -1, -1, &codec, 0);
+ if (ret < 0) {
+ SetError("Could not find any audio stream in the file", ret);
+@@ -161,7 +161,13 @@ inline bool FFmpegAudioReader::Open(const std::string &file_name) {
+ }
+ m_stream_index = ret;
+
++#if LIBAVCODEC_VERSION_MAJOR >= 59
++ const AVCodec *streamcodec = avcodec_find_decoder(m_format_ctx->streams[m_stream_index]->codecpar->codec_id);
++ m_codec_ctx = avcodec_alloc_context3(streamcodec);
++ avcodec_parameters_to_context(m_codec_ctx, m_format_ctx->streams[m_stream_index]->codecpar);
++#else
+ m_codec_ctx = m_format_ctx->streams[m_stream_index]->codec;
++#endif
+ m_codec_ctx->request_sample_fmt = AV_SAMPLE_FMT_S16;
+
+ ret = avcodec_open2(m_codec_ctx, codec, nullptr);
+@@ -278,7 +284,23 @@ inline bool FFmpegAudioReader::Read(const int16_t **data, size_t *size) {
+ }
+ }
+
++#if LIBAVCODEC_VERSION_MAJOR < 59
+ ret = avcodec_decode_audio4(m_codec_ctx, m_frame, &m_got_frame, &m_packet);
++#else
++ m_got_frame = 0;
++ ret = avcodec_send_packet(m_codec_ctx, &m_packet);
++ if(ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
++ ret = 0;
++ if(ret >= 0) {
++ ret = avcodec_receive_frame(m_codec_ctx, m_frame);
++ if (ret == 0) {
++ m_got_frame = 1;
++ ret = m_packet.size;
++ }
++ }
++ if(ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
++ ret = 0;
++#endif
+ if (ret < 0) {
+ if (m_decode_error) {
+ SetError("Error decoding audio frame", m_decode_error);
diff --git a/libraries/clalsadrv/clalsadrv.SlackBuild b/libraries/clalsadrv/clalsadrv.SlackBuild
index bb0eac7121..9a513c3029 100644
--- a/libraries/clalsadrv/clalsadrv.SlackBuild
+++ b/libraries/clalsadrv/clalsadrv.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <clalsadrv>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=clalsadrv
VERSION=${VERSION:-2.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"
@@ -72,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/libraries/cln/cln.SlackBuild b/libraries/cln/cln.SlackBuild
index 4cd6164218..4997539579 100644
--- a/libraries/cln/cln.SlackBuild
+++ b/libraries/cln/cln.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cln
@@ -21,28 +21,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=cln
VERSION=${VERSION:-1.3.4}
-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}
set -e
-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"
@@ -99,9 +109,11 @@ 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
+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/libraries/cloog/README b/libraries/cloog/README
new file mode 100644
index 0000000000..a70c4f5ad1
--- /dev/null
+++ b/libraries/cloog/README
@@ -0,0 +1,5 @@
+CLooG is a free software library to generate code for
+scanning Z-polyhedra which is designed to avoid control
+overhead and produce a very effective code.
+CLooG is a code generation library that is used in
+the Graphite loop transforms pass of GCC.
diff --git a/libraries/cloog/cloog.SlackBuild b/libraries/cloog/cloog.SlackBuild
new file mode 100644
index 0000000000..51a767516b
--- /dev/null
+++ b/libraries/cloog/cloog.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# SlackBuild script for CLooG
+#
+# Copyright 2016 Exaga - sarpi.penthux.net
+# All rights reserved.
+#
+# - 15 Sep 2016 [Progenitor]
+# - 03 Apr 2022 [updated for Slackware AArch64]
+#
+# # Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20220419 bkw: Modified by SlackBuilds.org:
+# - fix PRINT_PACKAGE_NAME when ARCH not set in env.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cloog
+VERSION=${VERSION:-0.18.1}
+BUILD=${BUILD:-1}
+TAG="${TAG:-_SBo}"
+PKGTYPE="${PKGTYPE:-tgz}"
+
+# PKG build dir vars
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# Determine HOST ARCH
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ aarch64) ARCH=aarch64 ;;
+ arm*) ARCH=arm ;;
+ # Else use 'uname -m' for all other ARCH
+ *) ARCH=$(uname -m) ;;
+ esac
+fi
+
+# PRINT_PACKAGE_NAME when ARCH not set in env
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+# Set ARCH CFLAGS
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+# Start clean
+rm -rf "$PKG"
+mkdir -p "$TMP" "$PKG" "$OUTPUT"
+cd "$TMP"
+rm -rf $PRGNAM-"$VERSION"
+tar xvf "$CWD"/$PRGNAM-"$VERSION".tar.gz
+
+# Configure params
+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" \
+../$PRGNAM-"$VERSION"/configure \
+ --prefix=/usr \
+ --libdir=/usr/lib"${LIBDIRSUFFIX}" \
+ --mandir=/usr/man \
+ --sysconfdir=/etc \
+ --disable-static \
+ --build="$ARCH"-slackware-linux \
+ --host="$ARCH"-slackware-linux
+
+# Compile PKG
+make
+make install-strip DESTDIR="$PKG"
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# Copy PKG docs
+mkdir -p "$PKG"/usr/doc/$PRGNAM-"$VERSION" "$PKG"/install
+cp -a LICENSE README "$PKG"/usr/doc/$PRGNAM-"$VERSION"
+# Copy PRGNAM.SlackBuild to PKG docs
+cat "$CWD"/$PRGNAM.SlackBuild > "$PKG"/usr/doc/$PRGNAM-"$VERSION"/$PRGNAM.SlackBuild
+# Copy PKG slack-desc
+cat "$CWD"/slack-desc > "$PKG"/install/slack-desc
+
+# Build PKG
+cd "$PKG"
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/cloog/cloog.info b/libraries/cloog/cloog.info
new file mode 100644
index 0000000000..83c2dc52c9
--- /dev/null
+++ b/libraries/cloog/cloog.info
@@ -0,0 +1,10 @@
+PRGNAM="cloog"
+VERSION="0.18.1"
+HOMEPAGE="https://gcc.gnu.org/wiki/CLooG"
+DOWNLOAD="https://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.1.tar.gz"
+MD5SUM="e34fca0540d840e5d0f6427e98c92252"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Exaga"
+EMAIL="sarpi.project@penthux.net"
diff --git a/libraries/cloog/slack-desc b/libraries/cloog/slack-desc
new file mode 100644
index 0000000000..f37e37f2d9
--- /dev/null
+++ b/libraries/cloog/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------------------------------------------------------|
+cloog: cloog (code generation library)
+cloog:
+cloog: CLooG is a free software library to generate code for scanning
+cloog: Z-polyhedra which is designed to avoid control overhead and to
+cloog: produce a very effective code. CLooG is a code generation library
+cloog: that is used in the Graphite loop transforms pass of GCC.
+cloog:
+cloog: Project Homepage: http://cloog.org/
+cloog:
+cloog:
+cloog:
diff --git a/libraries/clutter-gst/README b/libraries/clutter-gst/README
new file mode 100644
index 0000000000..1909f19a95
--- /dev/null
+++ b/libraries/clutter-gst/README
@@ -0,0 +1,3 @@
+Clutter-Gst is an integration library for using GStreamer with Clutter.
+It provides a GStreamer sink to upload frames to GL and an actor that
+implements the ClutterGstPlayer interface using playbin.
diff --git a/libraries/clutter-gst/clutter-gst.SlackBuild b/libraries/clutter-gst/clutter-gst.SlackBuild
new file mode 100644
index 0000000000..212f9df743
--- /dev/null
+++ b/libraries/clutter-gst/clutter-gst.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for clutter-gst
+
+# 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=clutter-gst
+VERSION=${VERSION:-3.0.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}
+
+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 {} \;
+
+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
+
+find $PKG -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 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
diff --git a/libraries/clutter-gst/clutter-gst.info b/libraries/clutter-gst/clutter-gst.info
new file mode 100644
index 0000000000..73abd1d174
--- /dev/null
+++ b/libraries/clutter-gst/clutter-gst.info
@@ -0,0 +1,10 @@
+PRGNAM="clutter-gst"
+VERSION="3.0.27"
+HOMEPAGE="https://gitlab.gnome.org/Archive/clutter-gst"
+DOWNLOAD="https://download.gnome.org/sources/clutter-gst/3.0/clutter-gst-3.0.27.tar.xz"
+MD5SUM="2bf9d7ca146c9d71e86c45cd00e9a28e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="clutter"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/clutter-gst/slack-desc b/libraries/clutter-gst/slack-desc
new file mode 100644
index 0000000000..57a86d465d
--- /dev/null
+++ b/libraries/clutter-gst/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------------------------------------------------------|
+clutter-gst: clutter-gst (Clutter GStreamer Library)
+clutter-gst:
+clutter-gst: Clutter-Gst is an integration library for using GStreamer with an
+clutter-gst: Clutter. It provides a GStreamer sink to upload frames to GL and
+clutter-gst: actor that implements the ClutterGstPlayer interface using playbin.
+clutter-gst:
+clutter-gst:
+clutter-gst:
+clutter-gst:
+clutter-gst: https://gitlab.gnome.org/Archive/clutter-gst
+clutter-gst:
diff --git a/libraries/clutter-gtk/README b/libraries/clutter-gtk/README
new file mode 100644
index 0000000000..6df2827a6b
--- /dev/null
+++ b/libraries/clutter-gtk/README
@@ -0,0 +1,10 @@
+Clutter-GTK package is a library providing facilities to integrate
+Clutter into GTK+ applications and vice versa.
+
+Clutter-GTK provides a GTK+ widget, GtkClutterEmbed, for embedding
+a Clutter stage into any GtkContainer; and GtkClutterActor, a Clutter
+actor for embedding any GtkWidget inside a Clutter stage.
+
+Below variables can be used to configure the build:
+ GTKDOC=yes : Use gtk-doc to build documentation
+ INTROSPECTION=no : Disable introspection for this build
diff --git a/libraries/clutter-gtk/clutter-gtk.SlackBuild b/libraries/clutter-gtk/clutter-gtk.SlackBuild
new file mode 100644
index 0000000000..fc904aa12a
--- /dev/null
+++ b/libraries/clutter-gtk/clutter-gtk.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for clutter-gtk
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=clutter-gtk
+VERSION=${VERSION:-1.8.4}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GTKDOC=${GTKDOC:-no}
+INTROSPECTION=${INTROSPECTION:-yes}
+
+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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-gtk-doc="$GTKDOC" \
+ --enable-introspection="$INTROSPECTION" \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ ABOUT-NLS COPYING 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
diff --git a/libraries/clutter-gtk/clutter-gtk.info b/libraries/clutter-gtk/clutter-gtk.info
new file mode 100644
index 0000000000..a2b07b5255
--- /dev/null
+++ b/libraries/clutter-gtk/clutter-gtk.info
@@ -0,0 +1,10 @@
+PRGNAM="clutter-gtk"
+VERSION="1.8.4"
+HOMEPAGE="https://wiki.gnome.org/Projects/Clutter"
+DOWNLOAD="https://download.gnome.org/sources/clutter-gtk/1.8/clutter-gtk-1.8.4.tar.xz"
+MD5SUM="b363ac9878e2337be887b8ee9e1da00e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="clutter"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/clutter-gtk/slack-desc b/libraries/clutter-gtk/slack-desc
new file mode 100644
index 0000000000..bdbffff623
--- /dev/null
+++ b/libraries/clutter-gtk/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------------------------------------------------------|
+clutter-gtk: clutter-gtk (GTK+ Integration library for Clutter)
+clutter-gtk:
+clutter-gtk: Clutter-GTK package is a library providing facilities to integrate
+clutter-gtk: Clutter into GTK+ applications and vice versa.
+clutter-gtk:
+clutter-gtk: Clutter-GTK provides a GTK+ widget, GtkClutterEmbed, for embedding
+clutter-gtk: a Clutter stage into any GtkContainer; and GtkClutterActor, a Clutter
+clutter-gtk: actor for embedding any GtkWidget inside a Clutter stage.
+clutter-gtk:
+clutter-gtk: https://wiki.gnome.org/Projects/Clutter
+clutter-gtk:
diff --git a/libraries/clutter/README b/libraries/clutter/README
new file mode 100644
index 0000000000..df5d24828c
--- /dev/null
+++ b/libraries/clutter/README
@@ -0,0 +1,17 @@
+Clutter is an open source (LGPL 2.1) software library for creating fast,
+compelling, portable, and dynamic graphical user interfaces. It is a
+core part of Gnome3, it is used by the GnomeShell, and is supported by
+the open source community.
+
+Clutter uses OpenGL for rendering (and optionally OpenGL ES for use on
+mobile and embedded platforms), but wraps an easy to use, efficient,
+flexible API around GL's complexity.
+
+Clutter enforces no particular user interface style, but provides a
+rich, generic foundation for higher-level toolkits tailored to specific
+needs.
+
+Below variables can be used to configure the build:
+ GCOV=yes : Enable gcov
+ INTROSPECTION=no : Disable introspection for this build
+ GTKDOC=yes : Use gtk-doc to build documentation
diff --git a/libraries/clutter/clutter.SlackBuild b/libraries/clutter/clutter.SlackBuild
new file mode 100644
index 0000000000..09a31d4772
--- /dev/null
+++ b/libraries/clutter/clutter.SlackBuild
@@ -0,0 +1,128 @@
+#!/bin/bash
+
+# Slackware build script for clutter
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=clutter
+VERSION=${VERSION:-1.26.4}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GCOV=${GCOV:-no}
+INTROSPECTION=${INTROSPECTION:-yes}
+GTKDOC=${GTKDOC:-no}
+
+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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-mir-backend \
+ --disable-cex100-backend \
+ --disable-win32-backend \
+ --enable-x11-backend \
+ --enable-gdk-backend \
+ --enable-wayland-backend \
+ --enable-egl-backend \
+ --enable-evdev-input \
+ --enable-wayland-compositor \
+ --enable-xinput \
+ --enable-gdk-pixbuf \
+ --enable-gcov="$GCOV" \
+ --enable-introspection="$INTROSPECTION" \
+ --enable-gtk-doc="$GTKDOC" \
+ --enable-gtk-doc-html="$GTKDOCK" \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ ABOUT-NLS CONTRIBUTING.md COPYING ChangeLog 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/libraries/clutter/clutter.info b/libraries/clutter/clutter.info
new file mode 100644
index 0000000000..1713a024df
--- /dev/null
+++ b/libraries/clutter/clutter.info
@@ -0,0 +1,10 @@
+PRGNAM="clutter"
+VERSION="1.26.4"
+HOMEPAGE="https://wiki.gnome.org/Projects/Clutter"
+DOWNLOAD="https://download.gnome.org/sources/clutter/1.26/clutter-1.26.4.tar.xz"
+MD5SUM="624dd776a5159de0267587b1df6b97b2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="cogl"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/clutter/slack-desc b/libraries/clutter/slack-desc
new file mode 100644
index 0000000000..50cd65d25f
--- /dev/null
+++ b/libraries/clutter/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------------------------------------------------------|
+clutter: clutter (OpenGL based interactive canvas library)
+clutter:
+clutter: Clutter is an open source software library for creating fast, visually
+clutter: rich and animated graphical user interfaces using OpenGL or OpenGL ES
+clutter: for rendering.
+clutter:
+clutter: https://wiki.gnome.org/Projects/Clutter
+clutter:
+clutter:
+clutter:
+clutter:
diff --git a/libraries/cmark/cmark.SlackBuild b/libraries/cmark/cmark.SlackBuild
index c47455d296..a0cc6b6dca 100644
--- a/libraries/cmark/cmark.SlackBuild
+++ b/libraries/cmark/cmark.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cmark
# Copyright 2018, 2019 Skaendo <skaendo@linuxmail.org>
+# Maintained 2024 by Jay Lanagan (j@lngn.net), Detroit, MI, USA.
# 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=cmark
-VERSION=${VERSION:-0.29.0}
+VERSION=${VERSION:-0.31.0}
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}
@@ -49,6 +60,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=""
@@ -75,9 +89,8 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_MANDIR=/usr/man \
- -DCMARK_STATIC=OFF \
+ -DBUILD_SHARED_LIBS=YES \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -90,7 +103,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README* changelog* \
+cp -a COPYING *.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -98,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/libraries/cmark/cmark.info b/libraries/cmark/cmark.info
index 058f622b7a..f85a6f0251 100644
--- a/libraries/cmark/cmark.info
+++ b/libraries/cmark/cmark.info
@@ -1,10 +1,10 @@
PRGNAM="cmark"
-VERSION="0.29.0"
+VERSION="0.31.0"
HOMEPAGE="https://github.com/commonmark/cmark"
-DOWNLOAD="https://github.com/commonmark/cmark/archive/0.29.0/cmark-0.29.0.tar.gz"
-MD5SUM="3bde2e450f46d3eb1494e2e6e8305d65"
+DOWNLOAD="https://github.com/commonmark/cmark/archive/0.31.0/cmark-0.31.0.tar.gz"
+MD5SUM="0f18ad50f77cc20e048316857f187da2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Skaendo"
-EMAIL="skaendo@linuxmail.org"
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/libraries/coeurl/README b/libraries/coeurl/README
new file mode 100644
index 0000000000..b970f30ab6
--- /dev/null
+++ b/libraries/coeurl/README
@@ -0,0 +1,3 @@
+coeurl is an asynchronous C++ wrapper for libcurl
+
+It is one of the nheko dependencies.
diff --git a/libraries/coeurl/coeurl.SlackBuild b/libraries/coeurl/coeurl.SlackBuild
new file mode 100644
index 0000000000..9a494490fb
--- /dev/null
+++ b/libraries/coeurl/coeurl.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for coeurl
+
+# 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=coeurl
+VERSION=${VERSION:-0.3.0}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+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 {} \;
+
+patch -p1 < $CWD/831e2ee8e9cf08ea1ee9736cde8370f9d0312abc.patch
+
+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 ..
+
+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.md LICENSE docs \
+CMakeLists.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/libraries/coeurl/coeurl.info b/libraries/coeurl/coeurl.info
new file mode 100644
index 0000000000..26ec4aa1e4
--- /dev/null
+++ b/libraries/coeurl/coeurl.info
@@ -0,0 +1,12 @@
+PRGNAM="coeurl"
+VERSION="0.3.0"
+HOMEPAGE="https://nheko.im/Nheko-Reborn/coeurl/"
+DOWNLOAD="https://nheko.im/nheko-reborn/coeurl/-/archive/v0.3.0/coeurl-v0.3.0.tar.gz \
+https://nheko.im/nheko-reborn/coeurl/-/commit/831e2ee8e9cf08ea1ee9736cde8370f9d0312abc.patch"
+MD5SUM="4b36d70d0f21d8bf8ae89db60784502e \
+f5f773dd996619dc1631be117f861f89"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="spdlog"
+MAINTAINER="Lockywolf"
+EMAIL="for_coeurl.2023-10-18@lockywolf.net"
diff --git a/libraries/coeurl/slack-desc b/libraries/coeurl/slack-desc
new file mode 100644
index 0000000000..6368e28c45
--- /dev/null
+++ b/libraries/coeurl/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------------------------------------------------------|
+coeurl: coeurl (curl wrappers for C++)
+coeurl:
+coeurl: Simple library to do http requests asynchronously via CURL in C++.
+coeurl: (Eventually as coroutines, once all the compilers I need to support
+coeurl: support them.) This is based on the CURL-libevent example.
+coeurl:
+coeurl:
+coeurl:
+coeurl:
+coeurl:
+coeurl:
diff --git a/libraries/cogl/README b/libraries/cogl/README
new file mode 100644
index 0000000000..d43b00edda
--- /dev/null
+++ b/libraries/cogl/README
@@ -0,0 +1,11 @@
+Cogl is a small open source library for using 3D graphics hardware for
+rendering. The API departs from the flat state machine style of OpenGL
+and is designed to make it easy to write orthogonal components that
+can render without stepping on each others toes.
+
+Having other backends, besides OpenGL, such as drm, Gallium or D3D are
+options we are interested in for the future.
+
+Below variables can be used to configure the build:
+ GTKDOC=yes : Use gtk-doc to build documentation
+ INTROSPECTION=no : Disable introspection for this build
diff --git a/libraries/cogl/cogl.SlackBuild b/libraries/cogl/cogl.SlackBuild
new file mode 100644
index 0000000000..58d6bd83b4
--- /dev/null
+++ b/libraries/cogl/cogl.SlackBuild
@@ -0,0 +1,133 @@
+#!/bin/bash
+
+# Slackware build script for cogl
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=cogl
+VERSION=${VERSION:-1.22.8}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GTKDOC=${GTKDOC:-no}
+INTROSPECTION=${INTROSPECTION:-yes}
+
+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 {} \;
+
+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 \
+ --disable-silent-rules \
+ --disable-profile \
+ --enable-glib \
+ --enable-gdk-pixbuf \
+ --enable-cogl-pango \
+ --enable-cogl-gst \
+ --enable-cogl-path \
+ --enable-gles1 \
+ --enable-gles2 \
+ --enable-gl \
+ --enable-cogl-gles2 \
+ --enable-glx \
+ --enable-sdl2 \
+ --enable-gtk-doc="$GTKDOC" \
+ --enable-introspection="$INTROSPECTION" \
+ --enable-xlib-egl-platform \
+ --enable-wayland-egl-server \
+ --enable-wayland-egl-platform \
+ --enable-kms-egl-platform \
+ --enable-examples-install=no \
+ --with-x \
+ --build=$ARCH-slackware-linux
+
+make -j1
+make install -j1 DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ ABOUT-NLS 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
diff --git a/libraries/cogl/cogl.info b/libraries/cogl/cogl.info
new file mode 100644
index 0000000000..597ba4ed6a
--- /dev/null
+++ b/libraries/cogl/cogl.info
@@ -0,0 +1,10 @@
+PRGNAM="cogl"
+VERSION="1.22.8"
+HOMEPAGE="https://www.gnome.org/"
+DOWNLOAD="https://download.gnome.org/sources/cogl/1.22/cogl-1.22.8.tar.xz"
+MD5SUM="7dd8b2e24171ef7399f851cea144b569"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/cogl/slack-desc b/libraries/cogl/slack-desc
new file mode 100644
index 0000000000..e1d719e179
--- /dev/null
+++ b/libraries/cogl/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------------------------------------------------------|
+cogl: cogl (3D graphics API)
+cogl:
+cogl: Cogl is a small open source library for using 3D graphics hardware for
+cogl: rendering. The API departs from the flat state machine style of OpenGL
+cogl: and is designed to make it easy to write orthogonal components that
+cogl: can render without stepping on each others toes.
+cogl:
+cogl: Having other backends, besides OpenGL, such as drm, Gallium or D3D are
+cogl: options we are interested in for the future.
+cogl:
+cogl: https://www.gnome.org/
diff --git a/libraries/collada-dom/collada-dom.SlackBuild b/libraries/collada-dom/collada-dom.SlackBuild
index 6703558450..ce47535655 100644
--- a/libraries/collada-dom/collada-dom.SlackBuild
+++ b/libraries/collada-dom/collada-dom.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for klaatu@member.fsf.org
# Copyright 2014 klaatu Wellington New Zealand
@@ -8,10 +8,13 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=collada-dom
VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -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}
@@ -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/libraries/compface/compface.SlackBuild b/libraries/compface/compface.SlackBuild
index 8346022c86..4d25547fc3 100644
--- a/libraries/compface/compface.SlackBuild
+++ b/libraries/compface/compface.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for compface
@@ -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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip shared library.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=compface
VERSION=${VERSION:-1.5.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ];then
case "$( uname -m )" in
- i?86) ARCH=486 ;;
+ 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"
@@ -69,9 +79,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" \
@@ -90,7 +100,7 @@ install -s -m 0755 compface uncompface $PKG/usr/bin
gzip -c compface.1 > $PKG/usr/man/man1/compface.1.gz
gzip -c compface.3 > $PKG/usr/man/man3/compface.3.gz
install -m 0644 compface.h $PKG/usr/include
-install -m 0644 libcompface.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/libcompface.so.$VERSION
+install -s -m 0755 libcompface.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/libcompface.so.$VERSION
cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -sf libcompface.so.$VERSION libcompface.so.1
cd $PKG/usr/man/man1 ; ln -sf compface.1.gz uncompface.1.gz
cd $TMP/$PRGNAM-$VERSION
@@ -99,8 +109,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog 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/libraries/compiz-bcop/README b/libraries/compiz-bcop/README
index 7d0e4126cf..a1c8e5d8b2 100644
--- a/libraries/compiz-bcop/README
+++ b/libraries/compiz-bcop/README
@@ -1,23 +1,16 @@
compiz-bcop is a code generator that provides an easy way to handle
plugin options by generating parts of the plugin code directly from
-the xml metadata file. It is used for most of the Compiz Fusion plugins.
-
-PLEASE read the README.Slackware file BEFORE you install any of the
-compiz packages. The install order is listed below but there are
-some important notes you need to be aware of before you install/use
-compiz.
+the xml metadata file. It is used for most of the Compiz plugins.
For correct installation, build in this order:
- 1. compiz (not available at SBo, see the README.Slackware file)
- 2. compiz-bcop
- 3. protobuf (optional but recommended)
- 4. libcompizconfig
- 5. compiz (optional, see the README.Slackware file)
- 6. compizconfig-python
- 7. ccsm
- 8. compiz-plugins-main
- 9. compiz-plugins-extra (optional)
-10. compiz-plugins-experimental (optional)
-11. emerald (optional)
-12. emerald-themes (optional)
-13. fusion-icon (optional)
+compiz-bcop
+protobuf3 (optional but recommended)
+libcompizconfig
+compizconfig-python
+ccsm
+compiz-plugins-main
+compiz-plugins-extra (optional)
+compiz-plugins-experimental (optional)
+emerald (optional)
+emerald-themes (optional)
+fusion-icon (optional)
diff --git a/libraries/compiz-bcop/README.Slackware b/libraries/compiz-bcop/README.Slackware
deleted file mode 100644
index cb4f9f8c01..0000000000
--- a/libraries/compiz-bcop/README.Slackware
+++ /dev/null
@@ -1,46 +0,0 @@
-1) Slackware still ships the old 0.8.8 release of compiz that was
- released back in 2011. The project has recently been picked up
- and is being actively maintained by the compiz-reloaded team.
- You can still use the 0.8.8 version of the compiz that ships
- with Slackware with the companion packages since there has not been
- any ABI changes to the code. But there is a good chance you will run
- into stabilty issues if you do, so it is HIGHLY recommended you use
- the version of compiz that matches the companion packages. Because
- you will be replacing a stock Slackware package the SlackBuild is
- not hosted at www.slackbuilds.org. You can download the SlackBuild
- from the link below.
-
- https://www.dropbox.com/s/t08cb1u00he4cyo/compiz-0.8.14-SlackBuild.tar.gz
-
- This SlackBuild is based off the 14.2 stock Slackware SlackBuild so you
- shouldn't run into any problems. If you do use this version of compiz you
- will need to blacklist compiz in your /etc/slackpkg/blacklist file to keep
- slackpkg from reverting the package back to 0.8.8
-
-2) Compiz now has basic support for the MATE desktop. You will have to install
- MATE before you install compiz for support. The MATE slackware project
- website is located here https://mateslackbuilds.github.io/
-
-3) The compizconfig-backend-kconfig4 package has been removed from the
- project so if you are upgrading from a previous version you will want
- to remove this package. Also compiz-plugins-unsupported has now been
- renamed to compiz-plugins-experimental so you will need to remove
- compiz-plugins-unsupported before you upgrade to the newest packages.
-
-4) The install order has compiz listed twice. libcompizconfig depends
- on compiz, but compiz has some extra window decorator related features
- that depend on libcompizconfig. So if you want these extra features you
- will have to recompile compiz again AFTER you build and install
- libcompizconfig. This is not required it is just an option if you want
- to do it.
-
-5) After you install compiz and the companion packages you will need to
- launch CCSM and enable "Move", "Resize Window", and "Window Decorations"
- before you start compiz. This way you can manage your windows. After
- you enable those three options you can start compiz and customize to
- your liking.
-
-
-
-
-
diff --git a/libraries/compiz-bcop/compiz-bcop.SlackBuild b/libraries/compiz-bcop/compiz-bcop.SlackBuild
index c84cc02f2f..e63febc065 100644
--- a/libraries/compiz-bcop/compiz-bcop.SlackBuild
+++ b/libraries/compiz-bcop/compiz-bcop.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for compiz-bcop
-# Copyright 2016 Matt Dinslage, Springfield, MO
+# Copyright 2021 Matt Dinslage, Springfield, MO
# 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=compiz-bcop
-VERSION=${VERSION:-0.8.14}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.18}
+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}
@@ -89,8 +99,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS 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/libraries/compiz-bcop/compiz-bcop.info b/libraries/compiz-bcop/compiz-bcop.info
index c86da72523..23f3353592 100644
--- a/libraries/compiz-bcop/compiz-bcop.info
+++ b/libraries/compiz-bcop/compiz-bcop.info
@@ -1,8 +1,8 @@
PRGNAM="compiz-bcop"
-VERSION="0.8.14"
-HOMEPAGE="https://github.com/raveit65/compiz-bcop/"
-DOWNLOAD="https://github.com/compiz-reloaded/compiz-bcop/releases/download/v0.8.14/compiz-bcop-0.8.14.tar.xz"
-MD5SUM="1988199d2b1c8aa8c6e2e0b0bf0883ea"
+VERSION="0.8.18"
+HOMEPAGE="https://github.com/compiz-reloaded/compiz-bcop"
+DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.18/compiz-bcop-0.8.18.tar.xz"
+MD5SUM="18dc8b751a3d9811c8532c910bacd566"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/compiz-plugins-experimental/README b/libraries/compiz-plugins-experimental/README
index 7b3c2b164e..f75b4c98f6 100644
--- a/libraries/compiz-plugins-experimental/README
+++ b/libraries/compiz-plugins-experimental/README
@@ -1,21 +1,14 @@
-This is an optional plugin package for Compiz Fusion.
-
-PLEASE read the README.Slackware file BEFORE you install any of the
-compiz packages. The install order is listed below but there are
-some important notes you need to be aware of before you install/use
-compiz.
+This is an optional and unsupported plugin package for Compiz.
For correct installation, build in this order:
- 1. compiz (not available at SBo, see the README.Slackware file)
- 2. compiz-bcop
- 3. protobuf (optional but recommended)
- 4. libcompizconfig
- 5. compiz (optional, see the README.Slackware file)
- 6. compizconfig-python
- 7. ccsm
- 8. compiz-plugins-main
- 9. compiz-plugins-extra (optional)
-10. compiz-plugins-experimental (optional)
-11. emerald (optional)
-12. emerald-themes (optional)
-13. fusion-icon (optional)
+compiz-bcop
+protobuf3 (optional but recommended)
+libcompizconfig
+compizconfig-python
+ccsm
+compiz-plugins-main
+compiz-plugins-extra (optional)
+compiz-plugins-experimental (optional)
+emerald (optional)
+emerald-themes (optional)
+fusion-icon (optional)
diff --git a/libraries/compiz-plugins-experimental/README.Slackware b/libraries/compiz-plugins-experimental/README.Slackware
deleted file mode 100644
index cb4f9f8c01..0000000000
--- a/libraries/compiz-plugins-experimental/README.Slackware
+++ /dev/null
@@ -1,46 +0,0 @@
-1) Slackware still ships the old 0.8.8 release of compiz that was
- released back in 2011. The project has recently been picked up
- and is being actively maintained by the compiz-reloaded team.
- You can still use the 0.8.8 version of the compiz that ships
- with Slackware with the companion packages since there has not been
- any ABI changes to the code. But there is a good chance you will run
- into stabilty issues if you do, so it is HIGHLY recommended you use
- the version of compiz that matches the companion packages. Because
- you will be replacing a stock Slackware package the SlackBuild is
- not hosted at www.slackbuilds.org. You can download the SlackBuild
- from the link below.
-
- https://www.dropbox.com/s/t08cb1u00he4cyo/compiz-0.8.14-SlackBuild.tar.gz
-
- This SlackBuild is based off the 14.2 stock Slackware SlackBuild so you
- shouldn't run into any problems. If you do use this version of compiz you
- will need to blacklist compiz in your /etc/slackpkg/blacklist file to keep
- slackpkg from reverting the package back to 0.8.8
-
-2) Compiz now has basic support for the MATE desktop. You will have to install
- MATE before you install compiz for support. The MATE slackware project
- website is located here https://mateslackbuilds.github.io/
-
-3) The compizconfig-backend-kconfig4 package has been removed from the
- project so if you are upgrading from a previous version you will want
- to remove this package. Also compiz-plugins-unsupported has now been
- renamed to compiz-plugins-experimental so you will need to remove
- compiz-plugins-unsupported before you upgrade to the newest packages.
-
-4) The install order has compiz listed twice. libcompizconfig depends
- on compiz, but compiz has some extra window decorator related features
- that depend on libcompizconfig. So if you want these extra features you
- will have to recompile compiz again AFTER you build and install
- libcompizconfig. This is not required it is just an option if you want
- to do it.
-
-5) After you install compiz and the companion packages you will need to
- launch CCSM and enable "Move", "Resize Window", and "Window Decorations"
- before you start compiz. This way you can manage your windows. After
- you enable those three options you can start compiz and customize to
- your liking.
-
-
-
-
-
diff --git a/libraries/compiz-plugins-experimental/compiz-plugins-experimental.SlackBuild b/libraries/compiz-plugins-experimental/compiz-plugins-experimental.SlackBuild
index 38a08822c7..620857d696 100644
--- a/libraries/compiz-plugins-experimental/compiz-plugins-experimental.SlackBuild
+++ b/libraries/compiz-plugins-experimental/compiz-plugins-experimental.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for compiz-plugins-experimental
-# Copyright 2016 Matt Dinslage, Springfield, MO
+# Copyright 2021 Matt Dinslage, Springfield, MO
# 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=compiz-plugins-experimental
-VERSION=${VERSION:-0.8.14}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.18}
+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,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/gcc13.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,6 +95,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+find $PKG -type f -iname '*.la' -exec rm -rf {} \+
+
find $PKG -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,8 +105,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS $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/libraries/compiz-plugins-experimental/compiz-plugins-experimental.info b/libraries/compiz-plugins-experimental/compiz-plugins-experimental.info
index 29ad705e99..d156fd451c 100644
--- a/libraries/compiz-plugins-experimental/compiz-plugins-experimental.info
+++ b/libraries/compiz-plugins-experimental/compiz-plugins-experimental.info
@@ -1,8 +1,8 @@
PRGNAM="compiz-plugins-experimental"
-VERSION="0.8.14"
-HOMEPAGE="https://github.com/raveit65/compiz-plugins-experimental"
-DOWNLOAD="https://github.com/compiz-reloaded/compiz-plugins-experimental/releases/download/v0.8.14/compiz-plugins-experimental-0.8.14.tar.xz"
-MD5SUM="915343e14173ba413c51eb64ff996902"
+VERSION="0.8.18"
+HOMEPAGE="https://github.com/compiz-reloaded/compiz-plugins-experimental"
+DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.18/compiz-plugins-experimental-0.8.18.tar.xz"
+MD5SUM="9de0d7f4751c386db5b204eb186cd96d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="compiz-plugins-main"
diff --git a/libraries/compiz-plugins-experimental/gcc13.patch b/libraries/compiz-plugins-experimental/gcc13.patch
new file mode 100644
index 0000000000..8edce5b67e
--- /dev/null
+++ b/libraries/compiz-plugins-experimental/gcc13.patch
@@ -0,0 +1,169 @@
+https://bbs.archlinux.org/viewtopic.php?id=290483
+
+diff --git a/src/anaglyph/anaglyph.c b/src/anaglyph/anaglyph.c
+index 5ee0b32..94dec30 100644
+--- a/src/anaglyph/anaglyph.c
++++ b/src/anaglyph/anaglyph.c
+@@ -21,6 +21,7 @@
+ #include <compiz-core.h>
+ #include "anaglyph_options.h"
+
++#include <stdlib.h>
+
+ #define GET_ANAGLYPH_CORE(c) \
+ ((AnaglyphCore *) (c)->base.privates[corePrivateIndex].ptr)
+diff --git a/src/atlantis/atlantis-internal.h b/src/atlantis/atlantis-internal.h
+index 4b3e903..4ce80cd 100644
+--- a/src/atlantis/atlantis-internal.h
++++ b/src/atlantis/atlantis-internal.h
+@@ -104,6 +104,7 @@
+
+ #include <math.h>
+ #include <float.h>
++#include <stdlib.h>
+
+ /* some constants */
+ #define PI M_PI
+diff --git a/src/elements/elements.c b/src/elements/elements.c
+index 9c3d61f..f24ebc0 100644
+--- a/src/elements/elements.c
++++ b/src/elements/elements.c
+@@ -50,6 +50,9 @@
+
+ #include <compiz-core.h>
+ #include "elements_options.h"
++
++#include <stdlib.h>
++
+ #define GET_DISPLAY(d) \
+ ((eDisplay *) (d)->base.privates[displayPrivateIndex].ptr)
+
+diff --git a/src/fakeargb/fakeargb.c b/src/fakeargb/fakeargb.c
+index 1c8c241..c76c1b7 100644
+--- a/src/fakeargb/fakeargb.c
++++ b/src/fakeargb/fakeargb.c
+@@ -22,6 +22,8 @@
+ #include <compiz-core.h>
+ #include "fakeargb_options.h"
+
++#include <stdlib.h>
++
+ static int displayPrivateIndex;
+
+ typedef struct _FakeDisplay
+diff --git a/src/fireflies/fireflies.c b/src/fireflies/fireflies.c
+index 6d271c2..6f7b1a9 100644
+--- a/src/fireflies/fireflies.c
++++ b/src/fireflies/fireflies.c
+@@ -32,6 +32,8 @@
+ #include <compiz-core.h>
+ #include "fireflies_options.h"
+
++#include <stdlib.h>
++
+ #define GET_SNOW_DISPLAY(d) \
+ ((SnowDisplay *) (d)->base.privates[displayPrivateIndex].ptr)
+
+diff --git a/src/freewins/freewins.c b/src/freewins/freewins.c
+index bd55f56..fffc337 100644
+--- a/src/freewins/freewins.c
++++ b/src/freewins/freewins.c
+@@ -50,6 +50,8 @@
+
+ #include "freewins.h"
+
++#include <stdlib.h>
++
+ static CompMetadata freewinsMetadata;
+
+ /* Information on window resize */
+diff --git a/src/freewins/input.c b/src/freewins/input.c
+index 96a9009..7c35d1e 100644
+--- a/src/freewins/input.c
++++ b/src/freewins/input.c
+@@ -50,6 +50,8 @@
+ #include "freewins.h"
+ #include <cairo/cairo-xlib.h>
+
++#include <stdlib.h>
++
+ /* ------ Input Prevention -------------------------------------------*/
+
+ /* Shape the IPW
+diff --git a/src/smartput/smartput.c b/src/smartput/smartput.c
+index a43f4c1..05bcbf1 100644
+--- a/src/smartput/smartput.c
++++ b/src/smartput/smartput.c
+@@ -50,6 +50,8 @@
+ #include <compiz-core.h>
+ #include "smartput_options.h"
+
++#include <stdlib.h>
++
+ typedef struct _SmartputUndoInfo {
+ Window window;
+
+diff --git a/src/snow/snow.c b/src/snow/snow.c
+index 80e94aa..fb6566a 100644
+--- a/src/snow/snow.c
++++ b/src/snow/snow.c
+@@ -32,6 +32,8 @@
+ #include <compiz-core.h>
+ #include "snow_options.h"
+
++#include <stdlib.h>
++
+ #define GET_SNOW_DISPLAY(d) \
+ ((SnowDisplay *) (d)->base.privates[displayPrivateIndex].ptr)
+
+diff --git a/src/snowglobe/snowglobe-internal.h b/src/snowglobe/snowglobe-internal.h
+index 9ca51ff..f6d89af 100644
+--- a/src/snowglobe/snowglobe-internal.h
++++ b/src/snowglobe/snowglobe-internal.h
+@@ -8,6 +8,7 @@
+
+ #include <math.h>
+ #include <float.h>
++#include <stdlib.h>
+
+ /* some constants */
+ #define PI M_PI
+diff --git a/src/stars/star.c b/src/stars/star.c
+index 96a26c1..59aa7d9 100644
+--- a/src/stars/star.c
++++ b/src/stars/star.c
+@@ -43,6 +43,8 @@
+ #include <compiz-core.h>
+ #include "star_options.h"
+
++#include <stdlib.h>
++
+ #define GET_SNOW_DISPLAY(d) \
+ ((SnowDisplay *) (d)->base.privates[displayPrivateIndex].ptr)
+
+diff --git a/src/tile/tile.c b/src/tile/tile.c
+index d58cac5..98c0ad0 100644
+--- a/src/tile/tile.c
++++ b/src/tile/tile.c
+@@ -30,6 +30,8 @@
+ #include <compiz-core.h>
+ #include "tile_options.h"
+
++#include <stdlib.h>
++
+ static int displayPrivateIndex = 0;
+
+ typedef enum {
+diff --git a/src/wizard/wizard.c b/src/wizard/wizard.c
+index d60ff94..d90f9cc 100644
+--- a/src/wizard/wizard.c
++++ b/src/wizard/wizard.c
+@@ -30,6 +30,8 @@
+ #include "wizard_options.h"
+ #include "wizard_tex.h"
+
++#include <stdlib.h>
++
+ #define GET_WIZARD_DISPLAY(d) \
+ ((WizardDisplay *) (d)->base.privates[displayPrivateIndex].ptr)
+
diff --git a/libraries/compiz-plugins-extra/README b/libraries/compiz-plugins-extra/README
index 7b3c2b164e..084dd6084d 100644
--- a/libraries/compiz-plugins-extra/README
+++ b/libraries/compiz-plugins-extra/README
@@ -1,21 +1,14 @@
-This is an optional plugin package for Compiz Fusion.
-
-PLEASE read the README.Slackware file BEFORE you install any of the
-compiz packages. The install order is listed below but there are
-some important notes you need to be aware of before you install/use
-compiz.
+This is an optional plugin package for Compiz.
For correct installation, build in this order:
- 1. compiz (not available at SBo, see the README.Slackware file)
- 2. compiz-bcop
- 3. protobuf (optional but recommended)
- 4. libcompizconfig
- 5. compiz (optional, see the README.Slackware file)
- 6. compizconfig-python
- 7. ccsm
- 8. compiz-plugins-main
- 9. compiz-plugins-extra (optional)
-10. compiz-plugins-experimental (optional)
-11. emerald (optional)
-12. emerald-themes (optional)
-13. fusion-icon (optional)
+compiz-bcop
+protobuf3 (optional but recommended)
+libcompizconfig
+compizconfig-python
+ccsm
+compiz-plugins-main
+compiz-plugins-extra (optional)
+compiz-plugins-experimental (optional)
+emerald (optional)
+emerald-themes (optional)
+fusion-icon (optional)
diff --git a/libraries/compiz-plugins-extra/README.Slackware b/libraries/compiz-plugins-extra/README.Slackware
deleted file mode 100644
index cb4f9f8c01..0000000000
--- a/libraries/compiz-plugins-extra/README.Slackware
+++ /dev/null
@@ -1,46 +0,0 @@
-1) Slackware still ships the old 0.8.8 release of compiz that was
- released back in 2011. The project has recently been picked up
- and is being actively maintained by the compiz-reloaded team.
- You can still use the 0.8.8 version of the compiz that ships
- with Slackware with the companion packages since there has not been
- any ABI changes to the code. But there is a good chance you will run
- into stabilty issues if you do, so it is HIGHLY recommended you use
- the version of compiz that matches the companion packages. Because
- you will be replacing a stock Slackware package the SlackBuild is
- not hosted at www.slackbuilds.org. You can download the SlackBuild
- from the link below.
-
- https://www.dropbox.com/s/t08cb1u00he4cyo/compiz-0.8.14-SlackBuild.tar.gz
-
- This SlackBuild is based off the 14.2 stock Slackware SlackBuild so you
- shouldn't run into any problems. If you do use this version of compiz you
- will need to blacklist compiz in your /etc/slackpkg/blacklist file to keep
- slackpkg from reverting the package back to 0.8.8
-
-2) Compiz now has basic support for the MATE desktop. You will have to install
- MATE before you install compiz for support. The MATE slackware project
- website is located here https://mateslackbuilds.github.io/
-
-3) The compizconfig-backend-kconfig4 package has been removed from the
- project so if you are upgrading from a previous version you will want
- to remove this package. Also compiz-plugins-unsupported has now been
- renamed to compiz-plugins-experimental so you will need to remove
- compiz-plugins-unsupported before you upgrade to the newest packages.
-
-4) The install order has compiz listed twice. libcompizconfig depends
- on compiz, but compiz has some extra window decorator related features
- that depend on libcompizconfig. So if you want these extra features you
- will have to recompile compiz again AFTER you build and install
- libcompizconfig. This is not required it is just an option if you want
- to do it.
-
-5) After you install compiz and the companion packages you will need to
- launch CCSM and enable "Move", "Resize Window", and "Window Decorations"
- before you start compiz. This way you can manage your windows. After
- you enable those three options you can start compiz and customize to
- your liking.
-
-
-
-
-
diff --git a/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild b/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild
index 132ff0578c..bd933df6ae 100644
--- a/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild
+++ b/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for compiz-plugins-extra
-# Copyright 2016 Matt Dinslage, Springfield, MO
+# Copyright 2021 Matt Dinslage, Springfield, MO
# 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=compiz-plugins-extra
-VERSION=${VERSION:-0.8.14}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.18}
+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,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/gcc13.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,6 +95,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+find $PKG -type f -iname '*.la' -exec rm -rf {} \+
+
find $PKG -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,8 +105,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL 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/libraries/compiz-plugins-extra/compiz-plugins-extra.info b/libraries/compiz-plugins-extra/compiz-plugins-extra.info
index 3eaf92e6fe..d1ecdebcf5 100644
--- a/libraries/compiz-plugins-extra/compiz-plugins-extra.info
+++ b/libraries/compiz-plugins-extra/compiz-plugins-extra.info
@@ -1,8 +1,8 @@
PRGNAM="compiz-plugins-extra"
-VERSION="0.8.14"
-HOMEPAGE="https://github.com/raveit65/compiz-plugins-extra"
-DOWNLOAD="https://github.com/compiz-reloaded/compiz-plugins-extra/releases/download/v0.8.14/compiz-plugins-extra-0.8.14.tar.xz"
-MD5SUM="db0727c99e18c17e72ff9b8c12316da9"
+VERSION="0.8.18"
+HOMEPAGE="https://github.com/compiz-reloaded/compiz-plugins-extra"
+DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.18/compiz-plugins-extra-0.8.18.tar.xz"
+MD5SUM="2822efbdde41f2a69d9f946b7a7fbc01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ccsm"
diff --git a/libraries/compiz-plugins-extra/gcc13.patch b/libraries/compiz-plugins-extra/gcc13.patch
new file mode 100644
index 0000000000..5500445b4b
--- /dev/null
+++ b/libraries/compiz-plugins-extra/gcc13.patch
@@ -0,0 +1,203 @@
+https://bbs.archlinux.org/viewtopic.php?id=290483
+
+diff --git a/src/addhelper/addhelper.c b/src/addhelper/addhelper.c
+index 3bc8a6b..78242e9 100644
+--- a/src/addhelper/addhelper.c
++++ b/src/addhelper/addhelper.c
+@@ -24,6 +24,9 @@
+ */
+
+ #include <compiz-core.h>
++
++#include <stdlib.h>
++
+ #include "addhelper_options.h"
+
+ #define GET_ADD_DISPLAY(d) \
+diff --git a/src/bench/bench.c b/src/bench/bench.c
+index 9cdef8c..4610021 100644
+--- a/src/bench/bench.c
++++ b/src/bench/bench.c
+@@ -22,6 +22,8 @@
+
+ #include <compiz-core.h>
+
++#include <stdlib.h>
++
+ #include "bench_tex.h"
+ #include "bench_options.h"
+
+diff --git a/src/firepaint/firepaint.c b/src/firepaint/firepaint.c
+index b147b03..cb8a508 100644
+--- a/src/firepaint/firepaint.c
++++ b/src/firepaint/firepaint.c
+@@ -21,6 +21,8 @@
+
+ #include <compiz-core.h>
+
++#include <stdlib.h>
++
+ #include "firepaint_options.h"
+ #include "firepaint_tex.h"
+
+diff --git a/src/grid/grid.c b/src/grid/grid.c
+index a8d5152..cb827e6 100644
+--- a/src/grid/grid.c
++++ b/src/grid/grid.c
+@@ -23,7 +23,10 @@
+ */
+
+ #include <compiz-core.h>
++
++#include <stdlib.h>
+ #include <string.h>
++
+ #include "grid_options.h"
+
+ #define GRID_DEBUG 0
+diff --git a/src/highlightcontent/highlightcontent.c b/src/highlightcontent/highlightcontent.c
+index 33bf932..5d66978 100644
+--- a/src/highlightcontent/highlightcontent.c
++++ b/src/highlightcontent/highlightcontent.c
+@@ -21,6 +21,7 @@
+ */
+
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #include <compiz-core.h>
+diff --git a/src/loginout/loginout.c b/src/loginout/loginout.c
+index e2889d2..466f7df 100644
+--- a/src/loginout/loginout.c
++++ b/src/loginout/loginout.c
+@@ -21,6 +21,8 @@
+
+ #include <compiz-core.h>
+
++#include <stdlib.h>
++
+ #include "loginout_options.h"
+
+ static int displayPrivateIndex = 0;
+diff --git a/src/mblur/mblur.c b/src/mblur/mblur.c
+index 103cd32..4e15c6d 100644
+--- a/src/mblur/mblur.c
++++ b/src/mblur/mblur.c
+@@ -20,6 +20,7 @@
+ */
+
+ #include <math.h>
++#include <stdlib.h>
+
+ #include <compiz-core.h>
+
+diff --git a/src/reflex/reflex.c b/src/reflex/reflex.c
+index 8c6ebc3..648c9c9 100644
+--- a/src/reflex/reflex.c
++++ b/src/reflex/reflex.c
+@@ -20,6 +20,8 @@
+ */
+ #include <compiz-core.h>
+
++#include <stdlib.h>
++
+ #include "reflex_options.h"
+
+
+diff --git a/src/scalefilter/scalefilter.c b/src/scalefilter/scalefilter.c
+index 55e2a96..c10c5d1 100644
+--- a/src/scalefilter/scalefilter.c
++++ b/src/scalefilter/scalefilter.c
+@@ -25,6 +25,7 @@
+
+ #define _GNU_SOURCE
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <wchar.h>
+ #include <locale.h>
+diff --git a/src/shelf/shelf.c b/src/shelf/shelf.c
+index cd17839..e4fd09c 100644
+--- a/src/shelf/shelf.c
++++ b/src/shelf/shelf.c
+@@ -33,6 +33,7 @@
+ #include <X11/extensions/shape.h>
+ #include <X11/cursorfont.h>
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include "shelf_options.h"
+
+diff --git a/src/showmouse/showmouse.c b/src/showmouse/showmouse.c
+index fe972a2..32c3cb9 100644
+--- a/src/showmouse/showmouse.c
++++ b/src/showmouse/showmouse.c
+@@ -25,6 +25,7 @@
+ */
+
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #include <compiz-core.h>
+diff --git a/src/splash/splash.c b/src/splash/splash.c
+index c72b9b0..986a3ec 100644
+--- a/src/splash/splash.c
++++ b/src/splash/splash.c
+@@ -20,6 +20,7 @@
+ */
+
+ #include <math.h>
++#include <stdlib.h>
+
+ #include <compiz-core.h>
+ #include <X11/Xatom.h>
+diff --git a/src/trailfocus/trailfocus.c b/src/trailfocus/trailfocus.c
+index ecfa84d..05c50f4 100644
+--- a/src/trailfocus/trailfocus.c
++++ b/src/trailfocus/trailfocus.c
+@@ -25,6 +25,7 @@
+ *
+ */
+
++#include <stdlib.h>
+ #include <string.h>
+ #include <compiz-core.h>
+ #include "trailfocus_options.h"
+diff --git a/src/vidcap/vidcap.c b/src/vidcap/vidcap.c
+index 10157b2..a08126d 100644
+--- a/src/vidcap/vidcap.c
++++ b/src/vidcap/vidcap.c
+@@ -27,6 +27,7 @@
+
+ #define _GNU_SOURCE /* For asprintf */
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+diff --git a/src/wallpaper/wallpaper.c b/src/wallpaper/wallpaper.c
+index fd23b69..2c47fa7 100644
+--- a/src/wallpaper/wallpaper.c
++++ b/src/wallpaper/wallpaper.c
+@@ -23,6 +23,7 @@
+ */
+
+ #include <stdarg.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <math.h>
+ #include <dirent.h>
+diff --git a/src/widget/widget.c b/src/widget/widget.c
+index ce7d4f0..6d146fa 100644
+--- a/src/widget/widget.c
++++ b/src/widget/widget.c
+@@ -26,6 +26,7 @@
+ *
+ */
+
++#include <stdlib.h>
+ #include <string.h>
+ #include <compiz-core.h>
+ #include <X11/Xatom.h>
diff --git a/libraries/compiz-plugins-main/README b/libraries/compiz-plugins-main/README
index bd81b036f2..ca0636b81e 100644
--- a/libraries/compiz-plugins-main/README
+++ b/libraries/compiz-plugins-main/README
@@ -1,21 +1,14 @@
-This is the main plugin package for Compiz Fusion.
-
-PLEASE read the README.Slackware file BEFORE you install any of the
-compiz packages. The install order is listed below but there are
-some important notes you need to be aware of before you install/use
-compiz.
+This is the main plugin package for Compiz.
For correct installation, build in this order:
- 1. compiz (not available at SBo, see the README.Slackware file)
- 2. compiz-bcop
- 3. protobuf (optional but recommended)
- 4. libcompizconfig
- 5. compiz (optional, see the README.Slackware file)
- 6. compizconfig-python
- 7. ccsm
- 8. compiz-plugins-main
- 9. compiz-plugins-extra (optional)
-10. compiz-plugins-experimental (optional)
-11. emerald (optional)
-12. emerald-themes (optional)
-13. fusion-icon (optional)
+compiz-bcop
+protobuf3 (optional but recommended)
+libcompizconfig
+compizconfig-python
+ccsm
+compiz-plugins-main
+compiz-plugins-extra (optional)
+compiz-plugins-experimental (optional)
+emerald (optional)
+emerald-themes (optional)
+fusion-icon (optional)
diff --git a/libraries/compiz-plugins-main/README.Slackware b/libraries/compiz-plugins-main/README.Slackware
deleted file mode 100644
index cb4f9f8c01..0000000000
--- a/libraries/compiz-plugins-main/README.Slackware
+++ /dev/null
@@ -1,46 +0,0 @@
-1) Slackware still ships the old 0.8.8 release of compiz that was
- released back in 2011. The project has recently been picked up
- and is being actively maintained by the compiz-reloaded team.
- You can still use the 0.8.8 version of the compiz that ships
- with Slackware with the companion packages since there has not been
- any ABI changes to the code. But there is a good chance you will run
- into stabilty issues if you do, so it is HIGHLY recommended you use
- the version of compiz that matches the companion packages. Because
- you will be replacing a stock Slackware package the SlackBuild is
- not hosted at www.slackbuilds.org. You can download the SlackBuild
- from the link below.
-
- https://www.dropbox.com/s/t08cb1u00he4cyo/compiz-0.8.14-SlackBuild.tar.gz
-
- This SlackBuild is based off the 14.2 stock Slackware SlackBuild so you
- shouldn't run into any problems. If you do use this version of compiz you
- will need to blacklist compiz in your /etc/slackpkg/blacklist file to keep
- slackpkg from reverting the package back to 0.8.8
-
-2) Compiz now has basic support for the MATE desktop. You will have to install
- MATE before you install compiz for support. The MATE slackware project
- website is located here https://mateslackbuilds.github.io/
-
-3) The compizconfig-backend-kconfig4 package has been removed from the
- project so if you are upgrading from a previous version you will want
- to remove this package. Also compiz-plugins-unsupported has now been
- renamed to compiz-plugins-experimental so you will need to remove
- compiz-plugins-unsupported before you upgrade to the newest packages.
-
-4) The install order has compiz listed twice. libcompizconfig depends
- on compiz, but compiz has some extra window decorator related features
- that depend on libcompizconfig. So if you want these extra features you
- will have to recompile compiz again AFTER you build and install
- libcompizconfig. This is not required it is just an option if you want
- to do it.
-
-5) After you install compiz and the companion packages you will need to
- launch CCSM and enable "Move", "Resize Window", and "Window Decorations"
- before you start compiz. This way you can manage your windows. After
- you enable those three options you can start compiz and customize to
- your liking.
-
-
-
-
-
diff --git a/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild b/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
index a468d1b559..a680107e4f 100644
--- a/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
+++ b/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for compiz-plugins-main
-# Copyright 2016 Matt Dinslage, Springfield, MO
+# Copyright 2021 Matt Dinslage, Springfield, MO
# 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=compiz-plugins-main
-VERSION=${VERSION:-0.8.14}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.18}
+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 {} \;
+# Fix focus position on some situations with ATK >= 2.36
+patch -p1 < $CWD/fix_focus_position.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,6 +96,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+find $PKG -type f -iname '*.la' -exec rm -rf {} \+
+
find $PKG -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,8 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL 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/libraries/compiz-plugins-main/compiz-plugins-main.info b/libraries/compiz-plugins-main/compiz-plugins-main.info
index 14cf9c1ca7..380363aaa7 100644
--- a/libraries/compiz-plugins-main/compiz-plugins-main.info
+++ b/libraries/compiz-plugins-main/compiz-plugins-main.info
@@ -1,8 +1,8 @@
PRGNAM="compiz-plugins-main"
-VERSION="0.8.14"
-HOMEPAGE="https://github.com/raveit65/compiz-plugins-main"
-DOWNLOAD="https://github.com/compiz-reloaded/compiz-plugins-main/releases/download/v0.8.14/compiz-plugins-main-0.8.14.tar.xz"
-MD5SUM="b39a9a250931285574ef296542ceb6cc"
+VERSION="0.8.18"
+HOMEPAGE="https://github.com/compiz-reloaded/compiz-plugins-main"
+DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.18/compiz-plugins-main-0.8.18.tar.xz"
+MD5SUM="d981f1c2606e07f8f0e5e52372f7d7bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ccsm"
diff --git a/libraries/compiz-plugins-main/fix_focus_position.patch b/libraries/compiz-plugins-main/fix_focus_position.patch
new file mode 100644
index 0000000000..d774f12b83
--- /dev/null
+++ b/libraries/compiz-plugins-main/fix_focus_position.patch
@@ -0,0 +1,49 @@
+diff --git a/src/focuspoll/accessibilitywatcher.cpp b/src/focuspoll/accessibilitywatcher.cpp
+index 9952755..840763e 100644
+--- a/src/focuspoll/accessibilitywatcher.cpp
++++ b/src/focuspoll/accessibilitywatcher.cpp
+@@ -595,7 +595,7 @@ AccessibilityWatcher::activityEvent (const AtspiEvent *event, const gchar *type)
+ }
+
+ // still no offset, it's probably a newline and we're at bugzilla #1319273 (with new paragraph obj)
+- if (res->x == 0 && res->y == 0 &&
++ if (((res->x == 0 && res->y == 0) || (res->x == -1 && res->y == -1)) &&
+ (strcmp (event->type, "object:text-changed:insert") == 0 ||
+ strcmp (event->type, "object:text-changed:removed") == 0 ||
+ strcmp (event->type, "object:text-caret-moved") == 0 ||
+@@ -698,7 +698,7 @@ AccessibilityWatcher::appSpecificFilter (FocusInfo *focus, const AtspiEvent* eve
+ focus->w = focus->wAlt;
+ focus->h = focus->hAlt;
+ }
+- if (!(focus->x == 0 && focus->y == 0))
++ if (!((focus->x == 0 && focus->y == 0) || (focus->x == -1 && focus->y == -1)))
+ { // prevents compose window loss of tracking in HTML mode (active flag ok, but no focused flag)
+ queueFocus (focus);
+ return true;
+@@ -743,14 +743,14 @@ AccessibilityWatcher::appSpecificFilter (FocusInfo *focus, const AtspiEvent* eve
+ isEditableText = atspi_state_set_contains (stateSet.get (), ATSPI_STATE_EDITABLE);
+ }
+ if ((strcmp (focus->type, "caret") == 0 || isEditableText) &&
+- !(focus->x == 0 && focus->y == 0))
++ !((focus->x == 0 && focus->y == 0) || (focus->x == -1 && focus->y == -1)))
+ {
+ queueFocus (focus);
+ return true;
+ }
+ getAlternativeCaret (focus, event);
+ if ((strcmp (focus->type, "caret") == 0 || isEditableText) &&
+- !(focus->xAlt == 0 && focus->yAlt == 0))
++ !((focus->xAlt == 0 && focus->yAlt == 0) || (focus->xAlt == -1 && focus->yAlt == -1)))
+ {
+ focus->x = focus->xAlt;
+ focus->y = focus->yAlt;
+@@ -865,7 +865,7 @@ AccessibilityWatcher::getAlternativeCaret (FocusInfo *focus, const AtspiEvent* e
+ string = unique_gmem (atspi_text_get_string_at_offset (text.get (), offset - charIndex, ATSPI_TEXT_GRANULARITY_CHAR, NULL));
+ caretChar = string.get ()->content[0];
+ // if we found a caret, check we're at beginning of line (or of text) to extrapolate position
+- if (size.get ()->x != 0 || size.get ()->y != 0)
++ if ((size.get ()->x != 0 || size.get ()->y != 0) && (size.get ()->x != -1 || size.get ()->y != -1))
+ {
+ if (offset - charIndex -1 >= 0 && unique_gmem (atspi_text_get_string_at_offset (text.get (), offset - charIndex -1, ATSPI_TEXT_GRANULARITY_CHAR, NULL)).get ()->content[0] == '\n')
+ {
+
diff --git a/libraries/compizconfig-python/README b/libraries/compizconfig-python/README
index 365b071e3f..662d585fb1 100644
--- a/libraries/compizconfig-python/README
+++ b/libraries/compizconfig-python/README
@@ -1,21 +1,14 @@
Python bindings for the compizconfig library.
-PLEASE read the README.Slackware file BEFORE you install any of the
-compiz packages. The install order is listed below but there are
-some important notes you need to be aware of before you install/use
-compiz.
-
For correct installation, build in this order:
- 1. compiz (not available at SBo, see the README.Slackware file)
- 2. compiz-bcop
- 3. protobuf (optional but recommended)
- 4. libcompizconfig
- 5. compiz (optional, see the README.Slackware file)
- 6. compizconfig-python
- 7. ccsm
- 8. compiz-plugins-main
- 9. compiz-plugins-extra (optional)
-10. compiz-plugins-experimental (optional)
-11. emerald (optional)
-12. emerald-themes (optional)
-13. fusion-icon (optional)
+compiz-bcop
+protobuf3 (optional but recommended)
+libcompizconfig
+compizconfig-python
+ccsm
+compiz-plugins-main
+compiz-plugins-extra (optional)
+compiz-plugins-experimental (optional)
+emerald (optional)
+emerald-themes (optional)
+fusion-icon (optional)
diff --git a/libraries/compizconfig-python/README.Slackware b/libraries/compizconfig-python/README.Slackware
deleted file mode 100644
index cb4f9f8c01..0000000000
--- a/libraries/compizconfig-python/README.Slackware
+++ /dev/null
@@ -1,46 +0,0 @@
-1) Slackware still ships the old 0.8.8 release of compiz that was
- released back in 2011. The project has recently been picked up
- and is being actively maintained by the compiz-reloaded team.
- You can still use the 0.8.8 version of the compiz that ships
- with Slackware with the companion packages since there has not been
- any ABI changes to the code. But there is a good chance you will run
- into stabilty issues if you do, so it is HIGHLY recommended you use
- the version of compiz that matches the companion packages. Because
- you will be replacing a stock Slackware package the SlackBuild is
- not hosted at www.slackbuilds.org. You can download the SlackBuild
- from the link below.
-
- https://www.dropbox.com/s/t08cb1u00he4cyo/compiz-0.8.14-SlackBuild.tar.gz
-
- This SlackBuild is based off the 14.2 stock Slackware SlackBuild so you
- shouldn't run into any problems. If you do use this version of compiz you
- will need to blacklist compiz in your /etc/slackpkg/blacklist file to keep
- slackpkg from reverting the package back to 0.8.8
-
-2) Compiz now has basic support for the MATE desktop. You will have to install
- MATE before you install compiz for support. The MATE slackware project
- website is located here https://mateslackbuilds.github.io/
-
-3) The compizconfig-backend-kconfig4 package has been removed from the
- project so if you are upgrading from a previous version you will want
- to remove this package. Also compiz-plugins-unsupported has now been
- renamed to compiz-plugins-experimental so you will need to remove
- compiz-plugins-unsupported before you upgrade to the newest packages.
-
-4) The install order has compiz listed twice. libcompizconfig depends
- on compiz, but compiz has some extra window decorator related features
- that depend on libcompizconfig. So if you want these extra features you
- will have to recompile compiz again AFTER you build and install
- libcompizconfig. This is not required it is just an option if you want
- to do it.
-
-5) After you install compiz and the companion packages you will need to
- launch CCSM and enable "Move", "Resize Window", and "Window Decorations"
- before you start compiz. This way you can manage your windows. After
- you enable those three options you can start compiz and customize to
- your liking.
-
-
-
-
-
diff --git a/libraries/compizconfig-python/compizconfig-python.SlackBuild b/libraries/compizconfig-python/compizconfig-python.SlackBuild
index 6e1572918b..4b7864f709 100644
--- a/libraries/compizconfig-python/compizconfig-python.SlackBuild
+++ b/libraries/compizconfig-python/compizconfig-python.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for compizconfig-python
-# Copyright 2016 Matt Dinslage, Springfield, MO
+# Copyright 2021 Matt Dinslage, Springfield, MO
# 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=compizconfig-python
-VERSION=${VERSION:-0.8.14}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.18}
+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}
@@ -71,6 +81,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+PYTHON=python3 \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -83,6 +94,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+find $PKG -type f -iname '*.la' -exec rm -rf {} \;
+
find $PKG -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,8 +104,10 @@ 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
+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/libraries/compizconfig-python/compizconfig-python.info b/libraries/compizconfig-python/compizconfig-python.info
index a2903e2e27..949b7d931f 100644
--- a/libraries/compizconfig-python/compizconfig-python.info
+++ b/libraries/compizconfig-python/compizconfig-python.info
@@ -1,8 +1,8 @@
PRGNAM="compizconfig-python"
-VERSION="0.8.14"
-HOMEPAGE="https://github.com/raveit65/compizconfig-python"
-DOWNLOAD="https://github.com/compiz-reloaded/compizconfig-python/releases/download/v0.8.14/compizconfig-python-0.8.14.tar.xz"
-MD5SUM="27ed8f37c0b5db6c9b32fa94c829ba72"
+VERSION="0.8.18"
+HOMEPAGE="https://github.com/compiz-reloaded/compizconfig-python"
+DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.18/compizconfig-python-0.8.18.tar.xz"
+MD5SUM="3a1681e098c784c52a08daafaa626b14"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libcompizconfig"
diff --git a/libraries/configobj/README b/libraries/configobj/README
index 38f6ea522a..e253bee94f 100644
--- a/libraries/configobj/README
+++ b/libraries/configobj/README
@@ -2,6 +2,3 @@ configobj (configuration file python module)
A python module for ultra simple handling of configuration files.
Also useful for human readable data persistence. Flexible and simple.
-
-Optional dependency: if python3 is installed, the configobj package will
-contain the python3 module.
diff --git a/libraries/configobj/configobj.SlackBuild b/libraries/configobj/configobj.SlackBuild
index 155ef66a64..cbe977f848 100644
--- a/libraries/configobj/configobj.SlackBuild
+++ b/libraries/configobj/configobj.SlackBuild
@@ -1,11 +1,14 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for configobj
-# Written by Luis Henrique <lmello.009@gmail.com>
+# Written by Luis Henrique <email removed>
-# Modified by B. Watson <yalhcru@gmail.com>
+# Modified by B. Watson <urchlay@slackware.uk>
+# 20230520 bkw: python => python2 (no other changes).
+# 20230510 bkw: update for v5.0.8
+# 20200811 bkw: add missing "six" dep, pointed out by jc_anatole
# 20200117 bkw: update for v5.0.6
# 20140915 bkw:
# - Took over maintenance
@@ -13,10 +16,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=configobj
-VERSION=${VERSION:-5.0.6}
+VERSION=${VERSION:-5.0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# ARCH doesn't really matter except x86_64 will get stuff
# installed to lib64. We don't need LIBDIRSUFFIX because setup.py
@@ -29,7 +35,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,7 +56,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 {} \+
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
which python3 &> /dev/null && python3 setup.py install --root=$PKG
@@ -59,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/libraries/configobj/configobj.info b/libraries/configobj/configobj.info
index ce83c43e7a..a965ff8f47 100644
--- a/libraries/configobj/configobj.info
+++ b/libraries/configobj/configobj.info
@@ -1,10 +1,10 @@
PRGNAM="configobj"
-VERSION="5.0.6"
+VERSION="5.0.8"
HOMEPAGE="https://pypi.org/project/configobj/"
-DOWNLOAD="https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz"
-MD5SUM="e472a3a1c2a67bb0ec9b5d54c13a47d6"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/c/configobj/configobj-5.0.8.tar.gz"
+MD5SUM="8dda7b31bb3aea87ecfe3b7a87812b17"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/confuse/README b/libraries/confuse/README
index 4277fc6ec2..fc81c206a2 100644
--- a/libraries/confuse/README
+++ b/libraries/confuse/README
@@ -1,11 +1,12 @@
-Confuse is a configuration file parser library, licensed under the terms of
-the LGPL, and written in C. It supports sections and (lists of) values
-(strings, integers, floats, booleans or other sections), as well as some other
-features (such as single/double-quoted strings, environment variable expansion,
-functions and nested include statements). It makes it very easy to add
-configuration file capability to a program using a simple API.
-
-The goal of Confuse is not to be the configuration file parser library
-with a gazillion features. Instead, it aims to be easy to use and quick
-to integrate with your code. Confuse was called libcfg before, but was
-changed to not confuse with other similar libraries.
+Confuse is a configuration file parser library, licensed under the
+terms of the LGPL, and written in C. It supports sections and (lists
+of) values (strings, integers, floats, booleans or other sections), as
+well as some other features (such as single/double-quoted strings,
+environment variable expansion, functions and nested include
+statements). It makes it very easy to add configuration file
+capability to a program using a simple API.
+
+The goal of Confuse is not to be the configuration file parser library
+with a gazillion features. Instead, it aims to be easy to use and
+quick to integrate with your code. Confuse was called libcfg before,
+but was changed to not confuse with other similar libraries.
diff --git a/libraries/confuse/confuse.SlackBuild b/libraries/confuse/confuse.SlackBuild
index 730f9699a7..3da9cd5fb5 100644
--- a/libraries/confuse/confuse.SlackBuild
+++ b/libraries/confuse/confuse.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libConfuse
#
-# Copyright 2009-2017 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2022 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220414 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - get rid of /usr/share/doc, put docs in right place.
+# - i486 => i586.
+# - use "set -e" in script, instead of littering "|| exit 1" everywhere.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=confuse
-VERSION=${VERSION:-3.2}
+VERSION=${VERSION:-3.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"
@@ -54,18 +66,20 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
-cd $PRGNAM-$VERSION || exit 1
+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 \
+ -exec chmod 755 {} \+ -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 {} \+
# The "-Wno-unused" is needed on 13.0, but won't hurt anything for 12.2
CFLAGS="-Wno-unused $SLKCFLAGS" \
@@ -76,29 +90,26 @@ CFLAGS="-Wno-unused $SLKCFLAGS" \
--localstatedir=/var \
--enable-shared=yes \
--enable-static=no \
- --build=$ARCH-slackware-linux \
- || exit 1
-
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+ --build=$ARCH-slackware-linux
-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
mkdir -p $PKG/usr/man/man3
cp -a doc/man/man3/* $PKG/usr/man/man3/
gzip -9 $PKG/usr/man/man3/*
-rmdir $PKG/usr/bin
+rm -rf $PKG/usr/bin
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ABOUT-NLS AUTHORS COPYING INSTALL NEWS README \
- $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
+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/libraries/confuse/confuse.info b/libraries/confuse/confuse.info
index 043801e59b..5e1a6ff0c9 100644
--- a/libraries/confuse/confuse.info
+++ b/libraries/confuse/confuse.info
@@ -1,8 +1,8 @@
PRGNAM="confuse"
-VERSION="3.2"
+VERSION="3.3"
HOMEPAGE="https://github.com/martinh/libconfuse"
-DOWNLOAD="https://github.com/martinh/libconfuse/releases/download/v3.2/confuse-3.2.tar.gz"
-MD5SUM="85f2c36da317fd2d92d3fd4813cbdcfb"
+DOWNLOAD="https://github.com/martinh/libconfuse/releases/download/v3.3/confuse-3.3.tar.gz"
+MD5SUM="f590564c6ea4879db0c8f692bf12f42a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/console_bridge/README b/libraries/console_bridge/README
index 3e5dc2d2d5..d7403a995d 100644
--- a/libraries/console_bridge/README
+++ b/libraries/console_bridge/README
@@ -1,4 +1,5 @@
-console_bridge is a Robot OS library for connecting console logging types.
-It is a ROS-independent, pure CMake (i.e. non-catkin and
-non-rosbuild package) that provides logging calls that mirror those found
-in rosconsole, but for applications that are not necessarily using ROS.
+console_bridge is a Robot OS library for connecting console logging
+types. It is a ROS-independent, pure CMake (i.e. non-catkin and
+non-rosbuild package) that provides logging calls that mirror those
+found in rosconsole, but for applications that are not necessarily
+using ROS.
diff --git a/libraries/console_bridge/console_bridge.SlackBuild b/libraries/console_bridge/console_bridge.SlackBuild
index 01850d860a..4bd19075d7 100644
--- a/libraries/console_bridge/console_bridge.SlackBuild
+++ b/libraries/console_bridge/console_bridge.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for console_bridge
@@ -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=console_bridge
VERSION=${VERSION:-0.3.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}
@@ -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/libraries/console_bridge/console_bridge.info b/libraries/console_bridge/console_bridge.info
index fe291ac8a3..56b41c1cb7 100644
--- a/libraries/console_bridge/console_bridge.info
+++ b/libraries/console_bridge/console_bridge.info
@@ -1,7 +1,7 @@
PRGNAM="console_bridge"
VERSION="0.3.2"
HOMEPAGE="http://wiki.ros.org/console_bridge"
-DOWNLOAD="https://github.com/ros/console_bridge/archive/0.3.2.tar.gz"
+DOWNLOAD="https://github.com/ros/console_bridge/archive/0.3.2/console_bridge-0.3.2.tar.gz"
MD5SUM="6c525353efe6f386fa25d58eafa72869"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/cpp-httplib/README b/libraries/cpp-httplib/README
new file mode 100644
index 0000000000..480868e37f
--- /dev/null
+++ b/libraries/cpp-httplib/README
@@ -0,0 +1,8 @@
+A C++11 single-file header-only cross platform HTTP/HTTPS library.
+
+It's extremely easy to setup. Just include the httplib.h file in your
+code!
+
+NOTE: This library uses 'blocking' socket I/O. If you are looking for
+a library with 'non-blocking' socket I/O, this is not the one that you
+want.
diff --git a/libraries/cpp-httplib/cpp-httplib.SlackBuild b/libraries/cpp-httplib/cpp-httplib.SlackBuild
new file mode 100644
index 0000000000..a03373e069
--- /dev/null
+++ b/libraries/cpp-httplib/cpp-httplib.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for cpp-httplib
+
+# Copyright 2022-2023 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=cpp-httplib
+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=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson setup .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --prefix=/usr \
+ -Dstrip=true
+ install -Dm644 $TMP/$PRGNAM-$VERSION/build/meson-private/$PRGNAM.pc \
+ $PKG/usr/share/pkgconfig/$PRGNAM.pc
+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/libraries/cpp-httplib/cpp-httplib.info b/libraries/cpp-httplib/cpp-httplib.info
new file mode 100644
index 0000000000..07cbeea908
--- /dev/null
+++ b/libraries/cpp-httplib/cpp-httplib.info
@@ -0,0 +1,10 @@
+PRGNAM="cpp-httplib"
+VERSION="0.14.0"
+HOMEPAGE="https://github.com/yhirose/cpp-httplib"
+DOWNLOAD="https://github.com/yhirose/cpp-httplib/archive/v0.14.0/cpp-httplib-0.14.0.tar.gz"
+MD5SUM="f0d8631a6e5fb624ebf7c378101f3d40"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/cpp-httplib/slack-desc b/libraries/cpp-httplib/slack-desc
new file mode 100644
index 0000000000..3fc307ac16
--- /dev/null
+++ b/libraries/cpp-httplib/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------------------------------------------------------|
+cpp-httplib: cpp-httplib (C++ header-only HTTP/S Library)
+cpp-httplib:
+cpp-httplib: A C++11 single-file header-only cross platform HTTP/HTTPS library.
+cpp-httplib:
+cpp-httplib: Homepage: https://github.com/yhirose/cpp-httplib
+cpp-httplib:
+cpp-httplib:
+cpp-httplib:
+cpp-httplib:
+cpp-httplib:
+cpp-httplib:
diff --git a/libraries/cpp-jwt/README b/libraries/cpp-jwt/README
new file mode 100644
index 0000000000..080ceaef3d
--- /dev/null
+++ b/libraries/cpp-jwt/README
@@ -0,0 +1,8 @@
+JSON Web Token library for C++
+
+For the uninitiated, JSON Web Token(JWT) is a JSON based standard
+(RFC-7519) for creating assertions or access tokens that consists of
+some claims (encoded within the assertion). This assertion can be used
+in some kind of bearer authentication mechanism that the server will
+provide to clients, and the clients can make use of the provided
+assertion for accessing resources.
diff --git a/libraries/cpp-jwt/cpp-jwt.SlackBuild b/libraries/cpp-jwt/cpp-jwt.SlackBuild
new file mode 100644
index 0000000000..e2244cce45
--- /dev/null
+++ b/libraries/cpp-jwt/cpp-jwt.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for cpp-jwt
+
+# Copyright 2022-2023 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=cpp-jwt
+VERSION=${VERSION:-1.4}
+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 {} \;
+
+#Fix version so cmake can fine the proper files.
+sed -i "s/1.2.0/1.4.0/g" CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCPP_JWT_BUILD_EXAMPLES=OFF \
+ -DCPP_JWT_BUILD_TESTS=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rmdir $PKG/usr/include/jwt/test
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/cpp-jwt/cpp-jwt.info b/libraries/cpp-jwt/cpp-jwt.info
new file mode 100644
index 0000000000..d83fe70a7e
--- /dev/null
+++ b/libraries/cpp-jwt/cpp-jwt.info
@@ -0,0 +1,10 @@
+PRGNAM="cpp-jwt"
+VERSION="1.4"
+HOMEPAGE="https://github.com/arun11299/cpp-jwt"
+DOWNLOAD="https://github.com/arun11299/cpp-jwt/archive/v1.4/cpp-jwt-1.4.tar.gz"
+MD5SUM="9464d20c2e0c316a0adf6e035f7bfaf5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="nlohmann_json"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/cpp-jwt/slack-desc b/libraries/cpp-jwt/slack-desc
new file mode 100644
index 0000000000..afd021655c
--- /dev/null
+++ b/libraries/cpp-jwt/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------------------------------------------------------|
+cpp-jwt: cpp-jwt (JWT for C++)
+cpp-jwt:
+cpp-jwt: JSON Web Token library for C++
+cpp-jwt:
+cpp-jwt: Homepage: https://github.com/arun11299/cpp-jwt
+cpp-jwt:
+cpp-jwt:
+cpp-jwt:
+cpp-jwt:
+cpp-jwt:
+cpp-jwt:
diff --git a/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch b/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch
deleted file mode 100644
index 816097d2fc..0000000000
--- a/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- deps/asio/asio/include/asio/ssl/impl/context.ipp
-+++ deps/asio/asio/include/asio/ssl/impl/context.ipp
-@@ -89,6 +89,14 @@ context::context(context::method m)
- handle_ = ::SSL_CTX_new(::SSLv2_server_method());
- break;
- #endif // defined(OPENSSL_NO_SSL2)
-+#if defined(OPENSSL_NO_SSL3)
-+ case context::sslv3:
-+ case context::sslv3_client:
-+ case context::sslv3_server:
-+ asio::detail::throw_error(
-+ asio::error::invalid_argument, "context");
-+ break;
-+#else // defined(OPENSSL_NO_SSL3)
- case context::sslv3:
- handle_ = ::SSL_CTX_new(::SSLv3_method());
- break;
-@@ -98,6 +106,7 @@ context::context(context::method m)
- case context::sslv3_server:
- handle_ = ::SSL_CTX_new(::SSLv3_server_method());
- break;
-+#endif // defined(OPENSSL_NO_SSL3)
- case context::tlsv1:
- handle_ = ::SSL_CTX_new(::TLSv1_method());
- break;
diff --git a/libraries/cpp-netlib/cpp-netlib.SlackBuild b/libraries/cpp-netlib/cpp-netlib.SlackBuild
index 63f221d69d..0f2e1db079 100644
--- a/libraries/cpp-netlib/cpp-netlib.SlackBuild
+++ b/libraries/cpp-netlib/cpp-netlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cpp-netlib
@@ -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=cpp-netlib
-VERSION=${VERSION:-0.12.0}
+VERSION=${VERSION:-0.13.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,8 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -Np0 < $CWD/OPENSSL_NO_SSL3.patch
-
mkdir -p build
cd build
cmake \
@@ -97,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/libraries/cpp-netlib/cpp-netlib.info b/libraries/cpp-netlib/cpp-netlib.info
index 150b08db20..dea4cea076 100644
--- a/libraries/cpp-netlib/cpp-netlib.info
+++ b/libraries/cpp-netlib/cpp-netlib.info
@@ -1,8 +1,8 @@
PRGNAM="cpp-netlib"
-VERSION="0.12.0"
+VERSION="0.13.0"
HOMEPAGE="https://cpp-netlib.org/"
-DOWNLOAD="http://downloads.cpp-netlib.org/0.12.0/cpp-netlib-0.12.0-final.tar.gz"
-MD5SUM="29b87c0e8c1a9e7fbdea5afcec947d53"
+DOWNLOAD="http://downloads.cpp-netlib.org/0.13.0/cpp-netlib-0.13.0-final.tar.gz"
+MD5SUM="002b0922bc7028d585c4975db748399d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/cpprestsdk/cpprestsdk.SlackBuild b/libraries/cpprestsdk/cpprestsdk.SlackBuild
index 6482c6239a..2d1047eebd 100644
--- a/libraries/cpprestsdk/cpprestsdk.SlackBuild
+++ b/libraries/cpprestsdk/cpprestsdk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Microsoft cpprestsdk
@@ -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.
+# 20220304 bkw: Modified by SlackBuilds.org: fix conflict with libwebsocketpp.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cpprestsdk
-VERSION=${VERSION:-2.9.1}
+VERSION=${VERSION:-20201210_eb6801f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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,38 +69,38 @@ 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
-patch -p1 < $CWD/cpprestsdk.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 {} \+
+# 20220304 bkw: explicitly disable websockets. attempting to build with
+# libwebsocketpp installed will fail, otherwise.
mkdir -p Release/build
cd Release/build
cmake \
+ -DCPPREST_EXCLUDE_WEBSOCKETS=ON \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=format-truncation=" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_BINDIR=/usr/bin \
+ -DCMAKE_INSTALL_LIBDIR=/usr/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
+ make install/strip DESTDIR=$PKG
+cd -
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar CONTRIBUTORS.txt README.md ThirdPartyNotices.txt license.txt Release/samples \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTORS.txt README.md ThirdPartyNotices.txt license.txt Release/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/libraries/cpprestsdk/cpprestsdk.info b/libraries/cpprestsdk/cpprestsdk.info
index 58b9f3945a..ccff5876c0 100644
--- a/libraries/cpprestsdk/cpprestsdk.info
+++ b/libraries/cpprestsdk/cpprestsdk.info
@@ -1,8 +1,8 @@
PRGNAM="cpprestsdk"
-VERSION="2.9.1"
+VERSION="20201210_eb6801f"
HOMEPAGE="https://github.com/Microsoft/cpprestsdk/"
-DOWNLOAD="https://github.com/Microsoft/cpprestsdk/archive/v2.9.1/cpprestsdk-2.9.1.tar.gz"
-MD5SUM="0c0e86ef413a05773ffad9de663f8889"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/cpprestsdk-20201210_eb6801f.tar.xz"
+MD5SUM="dd06c04b302de7e9543e8485034176a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/cpprestsdk/cpprestsdk.patch b/libraries/cpprestsdk/cpprestsdk.patch
deleted file mode 100644
index cd6035db8a..0000000000
--- a/libraries/cpprestsdk/cpprestsdk.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ur cpprestsdk-2.9.0.old/Release/src/CMakeLists.txt cpprestsdk-2.9.0/Release/src/CMakeLists.txt
---- cpprestsdk-2.9.0.old/Release/src/CMakeLists.txt 2016-10-18 17:30:28.000000000 -0200
-+++ cpprestsdk-2.9.0/Release/src/CMakeLists.txt 2016-12-20 22:36:53.079208022 -0200
-@@ -147,7 +147,7 @@
-
- install(
- TARGETS cpprest
-- LIBRARY DESTINATION lib
-- ARCHIVE DESTINATION lib
-+ LIBRARY DESTINATION lib${LIB_SUFFIX}
-+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
- )
- endif()
diff --git a/libraries/cpprestsdk/slack-desc b/libraries/cpprestsdk/slack-desc
index ee3144f5cc..8e0da05681 100644
--- a/libraries/cpprestsdk/slack-desc
+++ b/libraries/cpprestsdk/slack-desc
@@ -13,7 +13,7 @@ cpprestsdk: client-server communication in native code using a modern
cpprestsdk: asynchronous C++ API design. This project aims to help
cpprestsdk: C++ developers connect to and interact with services.
cpprestsdk:
+cpprestsdk: Homepage: https://github.com/Microsoft/cpprestsdk
cpprestsdk:
cpprestsdk:
-cpprestsdk: https://github.com/Microsoft/cpprestsdk
cpprestsdk:
diff --git a/libraries/cppzmq/README b/libraries/cppzmq/README
new file mode 100644
index 0000000000..510b5a4abd
--- /dev/null
+++ b/libraries/cppzmq/README
@@ -0,0 +1,16 @@
+cppzmq is a C++ binding for libzmq. It has the following design goals:
+
+* cppzmq maps the libzmq C API to C++ concepts. In particular:
+ - it is type-safe (the libzmq C API exposes various class-like
+ concepts as void*)
+ - it provides exception-based error handling (the libzmq C API
+ provides errno-based error handling)
+ - it provides RAII-style classes that automate resource management
+ (the libzmq C API requires the user to take care to free resources
+ explicitly)
+* cppzmq is a light-weight, header-only binding. You only need to
+ include the header file zmq.hpp (and maybe zmq_addon.hpp) to use it.
+* zmq.hpp is meant to contain direct mappings of the abstractions
+ provided by the libzmq C API, while zmq_addon.hpp provides additional
+ higher-level abstractions.
+
diff --git a/libraries/cppzmq/cppzmq.SlackBuild b/libraries/cppzmq/cppzmq.SlackBuild
new file mode 100644
index 0000000000..346d856549
--- /dev/null
+++ b/libraries/cppzmq/cppzmq.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for cppzmq
+
+# Copyright 2022-23 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=cppzmq
+VERSION=${VERSION:-4.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/cppzmq/cppzmq.info b/libraries/cppzmq/cppzmq.info
new file mode 100644
index 0000000000..f87812a348
--- /dev/null
+++ b/libraries/cppzmq/cppzmq.info
@@ -0,0 +1,10 @@
+PRGNAM="cppzmq"
+VERSION="4.10.0"
+HOMEPAGE="https://github.com/zeromq/cppzmq"
+DOWNLOAD="https://github.com/zeromq/cppzmq/archive/refs/tags/v4.10.0/cppzmq-4.10.0.tar.gz"
+MD5SUM="443c9752276da2d9ea78d8b41a158b91"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="zeromq Catch"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/libraries/cppzmq/slack-desc b/libraries/cppzmq/slack-desc
new file mode 100644
index 0000000000..e2f5dc6f6d
--- /dev/null
+++ b/libraries/cppzmq/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------------------------------------------------------|
+cppzmq: cppzmq (C++ binding for zmq)
+cppzmq:
+cppzmq: cppzmq is a C++ binding for libzmq. It has the following design goals:
+cppzmq: It maps the libzmq C API to C++ concepts.
+cppzmq: It is a light-weight, header-only binding. You only need to include
+cppzmq: the header file zmq.hpp (and maybe zmq_addon.hpp) to use it.
+cppzmq: zmq.hpp is meant to contain direct mappings of the abstractions
+cppzmq: provided by the libzmq C API, while zmq_addon.hpp provides additional
+cppzmq: higher-level abstractions.
+cppzmq:
+cppzmq:
diff --git a/libraries/cracklib/README b/libraries/cracklib/README
deleted file mode 100644
index ab5ef98d14..0000000000
--- a/libraries/cracklib/README
+++ /dev/null
@@ -1,12 +0,0 @@
-CrackLib is a library containing a C function (well, lots of functions
-really, but you only need to use one of them) which may be used in a
-"passwd"-like program.
-
-The idea is simple: try to prevent users from choosing passwords that
-could guessed by "Crack" by filtering them out at the source.
-
-An example of its use can be located in the SAMBA examples directory.
-The crackcheck program included with SAMBA will use the library to ensure
-that the user doesn't pick a weak password.
-
-A larger dictionary is included.
diff --git a/libraries/cracklib/cracklib.SlackBuild b/libraries/cracklib/cracklib.SlackBuild
deleted file mode 100644
index 5bab9933a9..0000000000
--- a/libraries/cracklib/cracklib.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for cracklib
-
-# Copyright (c) 2011-2012 Chris Walker <kris240376@gmail.com>
-# 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.
-#
-# 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.
-
-PRGNAM=cracklib
-VERSION=${VERSION:-2.9.6}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-DICT=${DICT:-cracklib-words-$VERSION}
-
-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 -mcpu=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} \
- --mandir=/usr/man \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-shared \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Install large cracklib dictionary file if it exists
-if [ -e $CWD/${DICT}.gz ]; then
- zcat $CWD/${DICT}.gz > $PKG/usr/share/cracklib/$PRGNAM-large
-elif [ -e $CWD/${DICT} ]; then
- cat $CWD/${DICT} > $PKG/usr/share/cracklib/$PRGNAM-large
-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 AUTHORS INSTALL NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
-
-sh ./util/cracklib-format dicts/cracklib-small \
- | sh ./util/cracklib-packer $PKG/usr/share/cracklib/pw_dict
-
-mkdir $PKG/install
-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/libraries/cracklib/cracklib.info b/libraries/cracklib/cracklib.info
deleted file mode 100644
index da40b276c7..0000000000
--- a/libraries/cracklib/cracklib.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="cracklib"
-VERSION="2.9.6"
-HOMEPAGE="https://github.com/cracklib/cracklib"
-DOWNLOAD="https://ftp.osuosl.org/pub/blfs/conglomeration/cracklib/cracklib-2.9.6.tar.gz \
- https://ftp.osuosl.org/pub/blfs/conglomeration/cracklib/cracklib-words-2.9.6.gz"
-MD5SUM="c52f463585d85924b28cdc1e373ae06d \
- cae1257e3a9f95c917cc9dbbab852316"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Christopher Walker"
-EMAIL="kris240376@gmail.com"
diff --git a/libraries/cracklib/slack-desc b/libraries/cracklib/slack-desc
deleted file mode 100644
index 99d278b04c..0000000000
--- a/libraries/cracklib/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------------------------------------------------------|
-cracklib: cracklib (password crack library)
-cracklib:
-cracklib: CrackLib is a library containing a C function (well, lots of functions
-cracklib: really, but you only need to use one of them) which may be used in a
-cracklib: "passwd"-like program.
-cracklib:
-cracklib: The idea is simple: try to prevent users from choosing passwords that
-cracklib: could be guessed by "Crack" by filtering them out, at source.
-cracklib:
-cracklib:
-cracklib:
diff --git a/libraries/crossguid/Makefile.crossguid b/libraries/crossguid/Makefile.crossguid
deleted file mode 100644
index a9e10b8ee3..0000000000
--- a/libraries/crossguid/Makefile.crossguid
+++ /dev/null
@@ -1,33 +0,0 @@
-override CXXFLAGS += -std=c++11 -DGUID_LIBUUID -fPIC
-override LDFLAGS += -luuid
-MAJOR := 0
-MINOR := 0
-VERSION := $(MAJOR).$(MINOR)
-NAME = crossguid
-
-INCLUDEDIR = /usr/include
-LIBDIR = /usr/lib
-
-LINK.o = $(LINK.cc)
-
-SRC = $(wildcard *.cpp)
-OBJ = $(SRC:.cpp=.o)
-LIB = lib$(NAME).so.$(VERSION)
-
-$(LIB): guid.o
- $(CXX) $(LDFLAGS) -shared -Wl,-soname,lib$(NAME).so.$(MAJOR) $^ -o $@
-
-test: $(OBJ)
-
-install: guid.h $(LIB)
- install -dm 0755 $(DESTDIR)$(INCLUDEDIR)
- install -pm 0644 guid.h $(DESTDIR)$(INCLUDEDIR)
- install -dm 0755 $(DESTDIR)$(LIBDIR)
- install -pm 0755 $(LIB) $(DESTDIR)$(LIBDIR)
- ln -sf $(LIB) $(DESTDIR)$(LIBDIR)/lib$(NAME).so
- ln -sf $(LIB) $(DESTDIR)$(LIBDIR)/lib$(NAME).so.$(MAJOR)
-
-clean:
- $(RM) $(OBJ) $(LIB) test
-
-.PHONY: run-test install clean
diff --git a/libraries/crossguid/README b/libraries/crossguid/README
index 06bdd5027a..635b56971d 100644
--- a/libraries/crossguid/README
+++ b/libraries/crossguid/README
@@ -1,3 +1,4 @@
-CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best
-native GUID/UUID generator on the given platform and had a generic class for
-parsing, stringifying, and comparing IDs.
+CrossGuid is a minimal, cross platform, C++ GUID library. It uses
+the best native GUID/UUID generator on the given platform and has a
+generic class for parsing, stringifying, and comparing IDs. The guid
+generation technique is determined by your platform.
diff --git a/libraries/crossguid/crossguid.SlackBuild b/libraries/crossguid/crossguid.SlackBuild
index b313576706..801b3875e3 100644
--- a/libraries/crossguid/crossguid.SlackBuild
+++ b/libraries/crossguid/crossguid.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for crossguid
+# Copyright 2023 Steven Voges <Oregon, USA>
# Copyright 2016 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
@@ -22,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=crossguid
-VERSION=${VERSION:-20160705}
-MD5LONG=fef89a4174a7bf8cd99fa9154864ce9e8e3bf989
+VERSION=${VERSION:-20190529_ca1bf4b}
+SRCVER=${SRCVER:-ca1bf4b810e2d188d04cb6286f957008ee1b7681}
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}
@@ -60,9 +68,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$MD5LONG
-tar xvf $CWD/$PRGNAM-$MD5LONG.tar.gz
-cd $PRGNAM-$MD5LONG
+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 \
@@ -70,21 +78,32 @@ 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/Makefile.$PRGNAM Makefile
+#Fix compile on -current/gcc13
+sed -i '26i #include <cstdint>' src/guid.cpp
+sed -i '1i #include <cstdint>' test/TestMain.cpp
+sed -i '1i #include <cstdint>' test/Test.cpp
-CXXFLAGS="$SLKCFLAGS" \
-make
-make install DESTDIR=$PKG LIBDIR=/usr/lib${LIBDIRSUFFIX}
+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 ..
find $PKG -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 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/crossguid/crossguid.info b/libraries/crossguid/crossguid.info
index 4e7879811d..b89cdcb22f 100644
--- a/libraries/crossguid/crossguid.info
+++ b/libraries/crossguid/crossguid.info
@@ -1,10 +1,10 @@
PRGNAM="crossguid"
-VERSION="20160705"
+VERSION="20190529_ca1bf4b"
HOMEPAGE="https://github.com/graeme-hill/crossguid"
-DOWNLOAD="https://github.com/graeme-hill/crossguid/archive/fef89a4/crossguid-fef89a4174a7bf8cd99fa9154864ce9e8e3bf989.tar.gz"
-MD5SUM="6fde62abebeab99b8e960ae65e4aa3f3"
+DOWNLOAD="https://github.com/graeme-hill/crossguid/archive/ca1bf4b810e2d188d04cb6286f957008ee1b7681/crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz"
+MD5SUM="d4a8d62f3f8d6d946be75cf5bfa92687"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/crossguid/slack-desc b/libraries/crossguid/slack-desc
index 5e971dff6f..60d70d8c52 100644
--- a/libraries/crossguid/slack-desc
+++ b/libraries/crossguid/slack-desc
@@ -9,11 +9,11 @@
crossguid: crossguid (Lightweight cross platform C++ GUID/UUID library)
crossguid:
crossguid: CrossGuid is a minimal, cross platform, C++ GUID library. It uses the
-crossguid: best native GUID/UUID generator on the given platform and had a
-crossguid: generic class for parsing, stringifying, and comparing IDs.
+crossguid: best native GUID/UUID generator on the given platform and has a
+crossguid: generic class for parsing, stringifying, and comparing IDs. The guid
+crossguid: generation technique is determined by your platform.
crossguid:
crossguid: Homepage: https://github.com/graeme-hill/crossguid
crossguid:
crossguid:
crossguid:
-crossguid:
diff --git a/libraries/cryptopp/README b/libraries/cryptopp/README
deleted file mode 100644
index 3efbfacbaf..0000000000
--- a/libraries/cryptopp/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Crypto++ Library is a free C++ class library of cryptographic schemes.
-
-Pass DOC=yes to the script to create proper documentation (html), in
-case you want man 3 pages created too, check the buildscript for hints.
diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild
deleted file mode 100644
index b981acd403..0000000000
--- a/libraries/cryptopp/cryptopp.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for cryptopp
-# Written by Iskar Enev (iskar.enev@gmail.com)
-#
-# Maintained by Markus Reichelt <slackbuilds@mareichelt.de> 0xCCEEF115
-
-PRGNAM=cryptopp
-VERSION=${VERSION:-8.2.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
-unzip -a -d $PRGNAM-$VERSION $CWD/${PRGNAM}$(echo $VERSION | tr -d .).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 {} \;
-
-# Fix Makefile to install correctly on x86_64.
-sed -i "s%(PREFIX)/lib%(PREFIX)/lib${LIBDIRSUFFIX}%g" GNUmakefile
-
-make dynamic CFLAGS="$SLKCFLAGS" CXXFLAGS="-DNDEBUG $SLKCFLAGS"
-make install PREFIX=$PKG/usr
-ln -s libcryptopp.so $PKG/usr/lib${LIBDIRSUFFIX}/libcryptopp-${VERSION}.so.0
-
-find $PKG -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 a pkgconfig file
-mkdir $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
-sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/$PRGNAM.pc \
- > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
-sed -i "s/5.6.2/${VERSION}/" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
-
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-if [ "$DOC" = "yes" ]; then
- # Fix Doxyfile to create man pages
- #sed -i "s/GENERATE_MAN = NO/GENERATE_MAN = YES/" Doxyfile
- #sed -i "s/MAN_LINKS = NO/MAN_LINKS = YES/" Doxyfile
-
- doxygen Doxyfile
-
- cp -a html-docs $PKG/usr/doc/$PRGNAM-$VERSION
-
- # uncomment the following to also have the prepared man 3 pages properly installed
- #mv $PKG/usr/doc/$PRGNAM-$VERSION/html-docs/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
-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:-tgz}
diff --git a/libraries/cryptopp/cryptopp.info b/libraries/cryptopp/cryptopp.info
deleted file mode 100644
index 95c3dc6b59..0000000000
--- a/libraries/cryptopp/cryptopp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="cryptopp"
-VERSION="8.2.0"
-HOMEPAGE="https://www.cryptopp.com/"
-DOWNLOAD="https://www.cryptopp.com/cryptopp820.zip"
-MD5SUM="8a8bcb436af83e16d2227bd4ac642243"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
diff --git a/libraries/cryptopp/cryptopp.pc b/libraries/cryptopp/cryptopp.pc
deleted file mode 100644
index 45d65d071b..0000000000
--- a/libraries/cryptopp/cryptopp.pc
+++ /dev/null
@@ -1,13 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${prefix}/lib@LIBDIRSUFFIX@
-includedir=${prefix}/include/cryptopp
-
-Name: Crypto++
-Description: A free C++ class library of cryptographic schemes
-Version: 5.6.2
-URL: http://www.cryptopp.com
-Requires:
-Conflicts:
-Libs: -L${libdir} -lcryptopp
-Cflags: -I${includedir}
diff --git a/libraries/cryptopp/slack-desc b/libraries/cryptopp/slack-desc
deleted file mode 100644
index 3dfed21c6b..0000000000
--- a/libraries/cryptopp/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------------------------------------------------------|
-cryptopp: cryptopp (library of cryptographic schemes)
-cryptopp:
-cryptopp: Crypto++ Library is a free C++ class library of cryptographic schemes.
-cryptopp:
-cryptopp: Homepage: http://www.cryptopp.com/
-cryptopp:
-cryptopp:
-cryptopp:
-cryptopp:
-cryptopp:
-cryptopp:
diff --git a/libraries/ctemplate/ctemplate.SlackBuild b/libraries/ctemplate/ctemplate.SlackBuild
index 9b2d60abc1..1a67c52b48 100644
--- a/libraries/ctemplate/ctemplate.SlackBuild
+++ b/libraries/ctemplate/ctemplate.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ctemplate
-# Copyright (C) 2012-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright (C) 2012-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip shared libraries.
+# - use correct github URL.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ctemplate
-VERSION=${VERSION:-2.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.4}
+BUILD=${BUILD:-2}
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,10 +76,11 @@ 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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 {} \+
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,7 +92,13 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
-make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
+make install docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
+
+# 20220419 bkw: install-strip is broken, /usr/bin/* are scripts.
+strip $PKG/usr/lib*/lib$PRGNAM*.so.*.*.*
+
+# Remove .la files
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -88,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/libraries/ctemplate/ctemplate.info b/libraries/ctemplate/ctemplate.info
index 2e987f4fc5..b4debe1381 100644
--- a/libraries/ctemplate/ctemplate.info
+++ b/libraries/ctemplate/ctemplate.info
@@ -1,8 +1,8 @@
PRGNAM="ctemplate"
-VERSION="2.3"
+VERSION="2.4"
HOMEPAGE="https://github.com/OlafvdSpek/ctemplate/"
-DOWNLOAD="https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-2.3.tar.gz"
-MD5SUM="3b91f3c1e7aa55cb4c2957acf77d6b9a"
+DOWNLOAD="https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-2.4/ctemplate-ctemplate-2.4.tar.gz"
+MD5SUM="4dae8e9d3329d20826a94dcc092ce65e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/cuneiform/cuneiform-gcc.patch b/libraries/cuneiform/cuneiform-gcc.patch
new file mode 100644
index 0000000000..4b51da8e84
--- /dev/null
+++ b/libraries/cuneiform/cuneiform-gcc.patch
@@ -0,0 +1,98 @@
+diff -wbBur cuneiform-linux-1.1.0/cuneiform_src/Kern/include/utf8-tables.h cuneiform-linux-1.1.0.q/cuneiform_src/Kern/include/utf8-tables.h
+--- cuneiform-linux-1.1.0/cuneiform_src/Kern/include/utf8-tables.h 2011-04-19 16:49:57.000000000 +0400
++++ cuneiform-linux-1.1.0.q/cuneiform_src/Kern/include/utf8-tables.h 2017-07-05 16:35:34.338871445 +0300
+@@ -68,7 +68,7 @@
+ #endif
+
+
+-const char win1250_to_utf8[][4] = {
++const unsigned char win1250_to_utf8[][4] = {
+ {0, 0, 0, 0},
+ {1, 0, 0, 0},
+ {2, 0, 0, 0},
+@@ -328,7 +328,7 @@
+ };
+
+
+-const char win1251_to_utf8[][4] = {
++const unsigned char win1251_to_utf8[][4] = {
+ {0, 0, 0, 0},
+ {1, 0, 0, 0},
+ {2, 0, 0, 0},
+@@ -587,7 +587,7 @@
+ {209, 143, 0, 0},
+ };
+
+-const char win1252_to_utf8[][4] = {
++const unsigned char win1252_to_utf8[][4] = {
+ {0, 0, 0, 0},
+ {1, 0, 0, 0},
+ {2, 0, 0, 0},
+@@ -847,7 +847,7 @@
+ };
+
+
+-const char win1254_to_utf8[][4] = {
++const unsigned char win1254_to_utf8[][4] = {
+ {0, 0, 0, 0},
+ {1, 0, 0, 0},
+ {2, 0, 0, 0},
+@@ -1107,7 +1107,7 @@
+ };
+
+
+-const char win1257_to_utf8[][4] = {
++const unsigned char win1257_to_utf8[][4] = {
+ {0, 0, 0, 0},
+ {1, 0, 0, 0},
+ {2, 0, 0, 0},
+diff -wbBur cuneiform-linux-1.1.0/cuneiform_src/Kern/rfrmt/sources/main/stdafx.h
+cuneiform-linux-1.1.0.q/cuneiform_src/Kern/rfrmt/sources/main/stdafx.h
+--- cuneiform-linux-1.1.0/cuneiform_src/Kern/rfrmt/sources/main/stdafx.h 2011-04-19 16:49:57.000000000 +0400
++++ cuneiform-linux-1.1.0.q/cuneiform_src/Kern/rfrmt/sources/main/stdafx.h 2017-07-05 16:37:23.528866265 +0300
+@@ -74,6 +74,9 @@
+ //отключаем warning о слишком длинных stl'ных именах
+ #pragma warning(disable:4786)
+
++#undef min
++#undef max
++
+ #include <vector>
+ typedef std::vector<uint16_t> vectorWord;
+
+diff -wbBur cuneiform-linux-1.1.0/cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp
+cuneiform-linux-1.1.0.q/cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp
+--- cuneiform-linux-1.1.0/cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp 2011-04-19 16:49:57.000000000 +0400
++++ cuneiform-linux-1.1.0.q/cuneiform_src/Kern/rimage/sources/main/cricontrol.cpp 2017-07-05 16:33:02.962211959 +0300
+@@ -594,8 +594,8 @@
+ return FALSE;
+ }
+
+- wNewHeight = (mbMarginsFlag ? abs(mrMargins.rmBottomMarg - mrMargins.rmTopMarg) : mpSourceDIB->GetLinesNumber());
+- wNewWidth = (mbMarginsFlag ? abs(mrMargins.rmLeftMarg - mrMargins.rmRightMarg) : mpSourceDIB->GetLineWidth());
++ wNewHeight = (mbMarginsFlag ? std::abs((long int)(mrMargins.rmBottomMarg - mrMargins.rmTopMarg)) : mpSourceDIB->GetLinesNumber());
++ wNewWidth = (mbMarginsFlag ? std::abs((long int)(mrMargins.rmLeftMarg - mrMargins.rmRightMarg)) : mpSourceDIB->GetLineWidth());
+ mpSourceDIB->GetResolutionDPM( &wXResolution, &wYResolution);
+
+ if ( !mpDestinationDIB->CreateDIBBegin( wNewWidth, wNewHeight, BitCount) )
+diff -wbBur cuneiform-linux-1.1.0/cuneiform_src/Kern/rout/src/codetables.cpp cuneiform-linux-1.1.0.q/cuneiform_src/Kern/rout/src/codetables.cpp
+--- cuneiform-linux-1.1.0/cuneiform_src/Kern/rout/src/codetables.cpp 2011-04-19 16:49:57.000000000 +0400
++++ cuneiform-linux-1.1.0.q/cuneiform_src/Kern/rout/src/codetables.cpp 2017-07-05 16:36:05.178869982 +0300
+@@ -939,11 +939,11 @@
+
+ const char * getUTF8Str(const unsigned char in, const int codepage) {
+ switch(codepage) {
+- case 1250 : return win1250_to_utf8[in];
+- case 1251 : return win1251_to_utf8[in];
+- case 1252 : return win1252_to_utf8[in];
+- case 1254 : return win1254_to_utf8[in];
+- case 1257 : return win1257_to_utf8[in];
++ case 1250 : return (const char *)win1250_to_utf8[in];
++ case 1251 : return (const char *)win1251_to_utf8[in];
++ case 1252 : return (const char *)win1252_to_utf8[in];
++ case 1254 : return (const char *)win1254_to_utf8[in];
++ case 1257 : return (const char *)win1257_to_utf8[in];
+ default : return "?";
+ }
+ }
+
diff --git a/libraries/cuneiform/cuneiform.SlackBuild b/libraries/cuneiform/cuneiform.SlackBuild
index 10103d58f8..c3f9e38b33 100644
--- a/libraries/cuneiform/cuneiform.SlackBuild
+++ b/libraries/cuneiform/cuneiform.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for cuneiform
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cuneiform
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=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"
@@ -53,11 +63,18 @@ find -L . \
sed -i 's/\r//g' cuneiform_src/Addfiles/license.txt
+# Thanks to Debian
+patch -p1 < $CWD/strings.patch
+# Thanks to ARCH Linux
+patch -p1 < $CWD/cuneiform-gcc.patch
+# Thanks to Gentoo
+patch -p1 < $CWD/gcc11.patch
+
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -fcommon" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_SKIP_RPATH:BOOL=YES \
-DCMAKE_BUILD_TYPE=Release ..
@@ -79,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/libraries/cuneiform/gcc11.patch b/libraries/cuneiform/gcc11.patch
new file mode 100644
index 0000000000..47677507b2
--- /dev/null
+++ b/libraries/cuneiform/gcc11.patch
@@ -0,0 +1,30 @@
+--- cuneiform-linux-1.1.0/cuneiform_src/Kern/hh/internal.h.orig 2021-05-23 10:45:12.714043888 +0300
++++ cuneiform-linux-1.1.0/cuneiform_src/Kern/hh/internal.h 2021-05-23 10:45:47.233178549 +0300
+@@ -84,6 +84,7 @@
+ #endif
+
+ #if !defined(__MATH_H) && !defined(_INC_MATH)
++ #undef _GLIBCXX_USE_STD_SPEC_FUNCS
+ #include <math.h>
+ #endif
+
+--- cuneiform-linux-1.1.0/cuneiform_src/Kern/ced/sources/main/ced_func_rtf.cpp.orig 2021-05-23 10:51:00.757379453 +0300
++++ cuneiform-linux-1.1.0/cuneiform_src/Kern/ced/sources/main/ced_func_rtf.cpp 2021-05-23 10:51:22.445461911 +0300
+@@ -212,7 +212,7 @@
+ }
+ */
+ // write the text lines
+- for (;sect>0;sect=sect->next)
++ for (;sect;sect=sect->next)
+ {
+ if (!WriteRtfSection(rtf,sect)) goto WRITE_END; //write section properties
+ // int sectNum=0;
+@@ -897,7 +897,7 @@
+ // if (curChar->fontNum>=rtf->page->fontsUsed || (prevChar&&prevChar->fontNum>=rtf->page->fontsUsed)) return TRUE;
+
+ // extract value for comparison
+- if (prevChar>0) {
++ if (prevChar) {
+ // lstrcpy(PrevTypeFace,TerFont[PrevFont].TypeFace);
+ PrevFamily=rtf->table[rtf->page->GetFontByNum(prevChar->fontNum)];
+ PrevStyle=prevChar->fontAttribs;
diff --git a/libraries/cuneiform/strings.patch b/libraries/cuneiform/strings.patch
new file mode 100644
index 0000000000..d7b585eab7
--- /dev/null
+++ b/libraries/cuneiform/strings.patch
@@ -0,0 +1,19 @@
+Author: Andreas Beckmann <anbe@debian.org>
+Description: avoid strings.h collision
+
+--- a/cuneiform_src/Kern/hhh/tigerh/h/strings.h
++++ b/cuneiform_src/Kern/hhh/tigerh/h/strings.h
+@@ -75,6 +75,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * *
+ ***************************************************************************/
+
++#include_next <strings.h>
++#if 0
+ # ifndef __STRINGS_H_INCLUDE
+ # define __STRINGS_H_INCLUDE
+
+@@ -154,3 +156,4 @@ extern STRING *pStringsListEnd;
+ extern STRING *pStringsUpList;
+ extern STRING *pStringsDownList;
+ # endif
++#endif
diff --git a/libraries/curses_ex/README b/libraries/curses_ex/README
index 8dd3cfb8bd..5a0664ceb6 100644
--- a/libraries/curses_ex/README
+++ b/libraries/curses_ex/README
@@ -1,2 +1,2 @@
-curses_ex is Python extension module to provides some funtions not supported
-by standard curses package.
+curses_ex is Python extension module to provides some funtions not
+supported by standard curses package.
diff --git a/libraries/curses_ex/curses_ex.SlackBuild b/libraries/curses_ex/curses_ex.SlackBuild
index df9d3eb072..a5c3ae1e68 100644
--- a/libraries/curses_ex/curses_ex.SlackBuild
+++ b/libraries/curses_ex/curses_ex.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for curses_ex
@@ -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=curses_ex
VERSION=${VERSION:-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}
@@ -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/libraries/curses_ex/curses_ex.info b/libraries/curses_ex/curses_ex.info
index 6dc3dbf504..a8c81494cc 100644
--- a/libraries/curses_ex/curses_ex.info
+++ b/libraries/curses_ex/curses_ex.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/c/curses_ex/curses_ex-0.3.tar.
MD5SUM="da1ed306679423c29227f8541b207bda"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/cutefish-kwin-plugins/README b/libraries/cutefish-kwin-plugins/README
new file mode 100644
index 0000000000..9c8bbaf3b2
--- /dev/null
+++ b/libraries/cutefish-kwin-plugins/README
@@ -0,0 +1,2 @@
+Kwin plugins and configurations for cutefish Desktop Environment.
+
diff --git a/libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.SlackBuild b/libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.SlackBuild
new file mode 100644
index 0000000000..eba68c094c
--- /dev/null
+++ b/libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for cutefish-kwin-plugins
+
+# 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=cutefish-kwin-plugins
+VERSION=${VERSION:-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=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/kwin-plugins-$VERSION.tar.gz
+mv kwin-plugins-$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 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/strip DESTDIR=$PKG
+cd ..
+
+gzip -9 LICENSE
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md LICENSE.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/libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.info b/libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.info
new file mode 100644
index 0000000000..d2bbab3edc
--- /dev/null
+++ b/libraries/cutefish-kwin-plugins/cutefish-kwin-plugins.info
@@ -0,0 +1,10 @@
+PRGNAM="cutefish-kwin-plugins"
+VERSION="0.8"
+HOMEPAGE="https://github.com/cutefishos/kwin-plugins"
+DOWNLOAD="https://github.com/cutefishos/kwin-plugins/archive/0.8/kwin-plugins-0.8.tar.gz"
+MD5SUM="0a5bbd9d3eb76de781bfa259811f5246"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="fishui"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/cutefish-kwin-plugins/slack-desc b/libraries/cutefish-kwin-plugins/slack-desc
new file mode 100644
index 0000000000..dbc8fc0155
--- /dev/null
+++ b/libraries/cutefish-kwin-plugins/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------------------------------------------------------|
+cutefish-kwin-plugins: cutefish-kwin-plugins (cutefish plugins for KWin)
+cutefish-kwin-plugins:
+cutefish-kwin-plugins:
+cutefish-kwin-plugins: Kwin plugins and configurations for cutefish DE
+cutefish-kwin-plugins: for more info visit: https://github.com/cutefishos/kwin-plugins
+cutefish-kwin-plugins:
+cutefish-kwin-plugins:
+cutefish-kwin-plugins:
+cutefish-kwin-plugins:
+cutefish-kwin-plugins:
+cutefish-kwin-plugins:
diff --git a/libraries/cutefish-qt-plugins/README b/libraries/cutefish-qt-plugins/README
new file mode 100644
index 0000000000..944dcc5bc9
--- /dev/null
+++ b/libraries/cutefish-qt-plugins/README
@@ -0,0 +1 @@
+Unify Qt application style of CutefishOS
diff --git a/libraries/cutefish-qt-plugins/cutefish-qt-plugins.SlackBuild b/libraries/cutefish-qt-plugins/cutefish-qt-plugins.SlackBuild
new file mode 100644
index 0000000000..5e92902d49
--- /dev/null
+++ b/libraries/cutefish-qt-plugins/cutefish-qt-plugins.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for cutefish-qt-plugins
+
+# 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=cutefish-qt-plugins
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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/qt-plugins-$VERSION.tar.gz
+mv qt-plugins-$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 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 ..
+
+gzip -9 LICENSE
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.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/libraries/cutefish-qt-plugins/cutefish-qt-plugins.info b/libraries/cutefish-qt-plugins/cutefish-qt-plugins.info
new file mode 100644
index 0000000000..e14ad0a5a9
--- /dev/null
+++ b/libraries/cutefish-qt-plugins/cutefish-qt-plugins.info
@@ -0,0 +1,10 @@
+PRGNAM="cutefish-qt-plugins"
+VERSION="0.5"
+HOMEPAGE="https://github.com/cutefishos/qt-plugins"
+DOWNLOAD="https://github.com/cutefishos/qt-plugins/archive/0.5/qt-plugins-0.5.tar.gz"
+MD5SUM="1df722a0b9310d8c575640d3936ebdbe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libqtxdg"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/cutefish-qt-plugins/slack-desc b/libraries/cutefish-qt-plugins/slack-desc
new file mode 100644
index 0000000000..68f4cee22d
--- /dev/null
+++ b/libraries/cutefish-qt-plugins/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------------------------------------------------------|
+cutefish-qt-plugins: cutefish-qt-plugins (Cutefish Qt integration library)
+cutefish-qt-plugins:
+cutefish-qt-plugins: Unify Qt application style of CutefishOS
+cutefish-qt-plugins: https://github.com/cutefishos/qt-plugins
+cutefish-qt-plugins:
+cutefish-qt-plugins:
+cutefish-qt-plugins:
+cutefish-qt-plugins:
+cutefish-qt-plugins:
+cutefish-qt-plugins:
+cutefish-qt-plugins:
diff --git a/libraries/cyrus-sasl-xoauth2/README b/libraries/cyrus-sasl-xoauth2/README
new file mode 100644
index 0000000000..7edd227f2e
--- /dev/null
+++ b/libraries/cyrus-sasl-xoauth2/README
@@ -0,0 +1,2 @@
+This plugin is for the Cyrus SASL library for implementation of the
+XOAUTH2 framework.
diff --git a/libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.SlackBuild b/libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.SlackBuild
new file mode 100644
index 0000000000..00d414ca7e
--- /dev/null
+++ b/libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for cyrus-sasl-xoath2
+
+# Copyright 2020-2022 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=cyrus-sasl-xoauth2
+VERSION=${VERSION:-0.2}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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" \
+./autogen.sh
+
+# Patch Makefile.am that autoconf does not figure out
+sed -i -e "s/{CYRUS_SASL_PREFIX}\/lib\/sasl2/{CYRUS_SASL_PREFIX}\/lib$LIBDIRSUFFIX\/sasl2/" Makefile.am
+
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-static=no \
+ --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 COPYING INSTALL 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
diff --git a/libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.info b/libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.info
new file mode 100644
index 0000000000..5d5578976f
--- /dev/null
+++ b/libraries/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2.info
@@ -0,0 +1,10 @@
+PRGNAM="cyrus-sasl-xoauth2"
+VERSION="0.2"
+HOMEPAGE="https://github.com/moriyoshi/cyrus-sasl-xoauth2"
+DOWNLOAD="https://github.com/moriyoshi/cyrus-sasl-xoauth2/archive/v0.2/cyrus-sasl-xoauth2-0.2.tar.gz"
+MD5SUM="c0a25ec411c9ad2ea95da338d14c87d1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/libraries/cyrus-sasl-xoauth2/slack-desc b/libraries/cyrus-sasl-xoauth2/slack-desc
new file mode 100644
index 0000000000..cb2592af0c
--- /dev/null
+++ b/libraries/cyrus-sasl-xoauth2/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------------------------------------------------------|
+cyrus-sasl-xoauth2: cyrus-sasl-xoauth2 (Cyrus SASL XOAUTH2 Plugin)
+cyrus-sasl-xoauth2:
+cyrus-sasl-xoauth2: This plugin is for the Cyrus SASL library for implementation
+cyrus-sasl-xoauth2: of the XOAUTH2 framework.
+cyrus-sasl-xoauth2:
+cyrus-sasl-xoauth2: Project URL: https://github.com/moriyoshi/cyrus-sasl-xoauth2
+cyrus-sasl-xoauth2:
+cyrus-sasl-xoauth2:
+cyrus-sasl-xoauth2:
+cyrus-sasl-xoauth2:
+cyrus-sasl-xoauth2:
diff --git a/libraries/daq/daq.SlackBuild b/libraries/daq/daq.SlackBuild
index da33449e73..ffd685e347 100644
--- a/libraries/daq/daq.SlackBuild
+++ b/libraries/daq/daq.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for daq
# Data Acquisition library
@@ -25,10 +25,13 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=daq
VERSION=${VERSION:-2.0.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -93,8 +103,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog 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/libraries/darcsver/README b/libraries/darcsver/README
deleted file mode 100644
index 2ac2fa0410..0000000000
--- a/libraries/darcsver/README
+++ /dev/null
@@ -1,3 +0,0 @@
-darcsver generate a version number from darcs history.
-
-This package does NOT require darcs :)
diff --git a/libraries/darcsver/darcsver.SlackBuild b/libraries/darcsver/darcsver.SlackBuild
deleted file mode 100644
index fbf414466e..0000000000
--- a/libraries/darcsver/darcsver.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for darcsver.
-
-# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2012 Markus Reichelt, Aachen, 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.
-#
-# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
-
-PRGNAM=darcsver
-VERSION=${VERSION:-1.7.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}
-
-DOCS="README.rst"
-
-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"
-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 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" \
- -e "current ar archive" | grep ELF | cut -f 1 -d : | xargs \
- strip --strip-unneeded 2> /dev/null || true
-
-rm -rf $PKG/usr/share # dupes here
-
-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/libraries/darcsver/darcsver.info b/libraries/darcsver/darcsver.info
deleted file mode 100644
index 4df185521b..0000000000
--- a/libraries/darcsver/darcsver.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="darcsver"
-VERSION="1.7.4"
-HOMEPAGE="https://pypi.python.org/pypi/darcsver/"
-DOWNLOAD="https://pypi.python.org/packages/source/d/darcsver/darcsver-1.7.4.tar.gz"
-MD5SUM="e38aecd1343ab8447888a479ab12cb59"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
diff --git a/libraries/darcsver/slack-desc b/libraries/darcsver/slack-desc
deleted file mode 100644
index 69e8c67973..0000000000
--- a/libraries/darcsver/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------------------------------------------------------|
-darcsver: darcsver (Python darcs versioning utility)
-darcsver:
-darcsver: darcsver generate a version number from darcs history.
-darcsver:
-darcsver: http://pypi.python.org/pypi/darcsver/
-darcsver:
-darcsver:
-darcsver:
-darcsver:
-darcsver:
-darcsver:
diff --git a/libraries/date/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch b/libraries/date/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch
new file mode 100644
index 0000000000..d7edfa0a4b
--- /dev/null
+++ b/libraries/date/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch
@@ -0,0 +1,29 @@
+From 052eebaf0086e6bbc5ead01c3f1a8f02496aa701 Mon Sep 17 00:00:00 2001
+From: Howard Hinnant <howard.hinnant@gmail.com>
+Date: Tue, 18 May 2021 16:17:37 -0400
+Subject: [PATCH] When comparing sys_info in test... only compare whether the
+ saves are equal to 0 and not their actual values.
+
+This allows one to compare against the binary database
+which does not contain actual values of save.
+---
+ test/posix/ptz.pass.cpp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/test/posix/ptz.pass.cpp b/test/posix/ptz.pass.cpp
+index 5601c21d..9e15e3a9 100644
+--- a/test/posix/ptz.pass.cpp
++++ b/test/posix/ptz.pass.cpp
+@@ -29,10 +29,11 @@
+ bool
+ is_equal(date::sys_info const& x, date::sys_info const& y)
+ {
++ using namespace std::chrono;
+ return x.begin == y.begin &&
+ x.end == y.end &&
+ x.offset == y.offset &&
+- x.save == y.save &&
++ (x.save == minutes{0}) == (y.save == minutes{0}) &&
+ x.abbrev == y.abbrev;
+ }
+
diff --git a/libraries/date/538-output-date-pc-for-pkg-config.patch b/libraries/date/538-output-date-pc-for-pkg-config.patch
new file mode 100644
index 0000000000..d20af66b16
--- /dev/null
+++ b/libraries/date/538-output-date-pc-for-pkg-config.patch
@@ -0,0 +1,60 @@
+From e56b2dce7e89a92e1b9b35caa13b3e938c4cedea Mon Sep 17 00:00:00 2001
+From: Cole Mickens <cole.mickens@gmail.com>
+Date: Sun, 26 Jan 2020 01:27:08 -0800
+Subject: [PATCH] CMakeLists.txt: output date.pc for pkg-config
+
+---
+ CMakeLists.txt | 15 +++++++++++++++
+ date.pc.in | 10 ++++++++++
+ 2 files changed, 25 insertions(+)
+ create mode 100644 date.pc.in
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f30c473..fe778e8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -128,6 +128,15 @@ if( BUILD_TZ_LIB )
+ endif( )
+ endif( )
+
++if ( BUILD_TZ_LIB )
++ # Cflags: -I${includedir} @TZ_COMPILE_DEFINITIONS@
++ set( TZ_COMPILE_DEFINITIONS "$<IF:$<TARGET_EXISTS:date-tz>,-D$<JOIN:$<TARGET_PROPERTY:date-tz,INTERFACE_COMPILE_DEFINITIONS>, -D>,>" )
++ configure_file(date.pc.in date.pc.cf @ONLY)
++ file( GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/date.pc"
++ INPUT "${CMAKE_CURRENT_BINARY_DIR}/date.pc.cf" )
++
++endif( )
++
+ #[===================================================================[
+ installation
+ #]===================================================================]
+@@ -171,6 +180,12 @@ install (
+ FILES cmake/dateConfig.cmake "${version_config}"
+ DESTINATION ${CONFIG_LOC})
+
++if ( BUILD_TZ_LIB )
++ install(
++ FILES ${CMAKE_BINARY_DIR}/date.pc
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
++endif( )
++
+ #[===================================================================[
+ testing
+ #]===================================================================]
+diff --git a/date.pc.in b/date.pc.in
+new file mode 100644
+index 0000000..b9c4623
+--- /dev/null
++++ b/date.pc.in
+@@ -0,0 +1,10 @@
++prefix=@CMAKE_INSTALL_PREFIX@
++exec_prefix=@CMAKE_INSTALL_BINDIR@
++libdir=@CMAKE_INSTALL_LIB@
++includedir=@CMAKE_INSTALL_INCLUDE@
++
++Name: date
++Description: A date and time library based on the C++11/14/17 <chrono> header
++Version: @PACKAGE_VERSION@
++Libs: -L${libdir} -ldate-tz
++Cflags: -I${includedir} @TZ_COMPILE_DEFINITIONS@
diff --git a/libraries/date/README b/libraries/date/README
new file mode 100644
index 0000000000..6ab91e8d4a
--- /dev/null
+++ b/libraries/date/README
@@ -0,0 +1,26 @@
+This is actually several separate C++11/C++14/C++17 libraries:
+
+"date.h" is a header-only library which builds upon <chrono>. It adds
+some new duration types, and new time_point types. It also adds
+"field" types such as year_month_day which is a struct
+{year, month, day}. And it provides convenient means to convert between
+the "field" types and the time_point types.
+
+"tz.h" / "tz.cpp" are a timezone library built on top of the "date.h"
+library.
+This timezone library is a complete parser of the IANA timezone
+database. It provides for an easy way to access all of the data in this
+database, using the types from "date.h" and <chrono>. The IANA database
+ also includes data on leap seconds, and this library provides utilities
+to compute with that information as well.
+
+"iso_week.h" is a header-only library built on top of the "date.h"
+library which implements the ISO week date calendar.
+
+"julian.h" is a header-only library built on top of the "date.h" library
+which implements a proleptic Julian calendar which is fully
+interoperable with everything above.
+
+"islamic.h" is a header-only library built on top of the "date.h"
+library which implements a proleptic Islamic calendar which is fully
+interoperable with everything above.
diff --git a/libraries/date/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch b/libraries/date/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch
new file mode 100644
index 0000000000..5ce6f15f6d
--- /dev/null
+++ b/libraries/date/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch
@@ -0,0 +1,24 @@
+From b49a7575ebbe127e8bd344900a52c14b5d69dd7b Mon Sep 17 00:00:00 2001
+From: Howard Hinnant <howard.hinnant@gmail.com>
+Date: Tue, 18 May 2021 16:15:31 -0400
+Subject: [PATCH] Zero initialize local_info in get_info
+
+* Even when the result is unique, the second sys_info
+ should be zero initialized.
+---
+ src/tz.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/tz.cpp b/src/tz.cpp
+index 26babbd9..1592bc8f 100644
+--- a/src/tz.cpp
++++ b/src/tz.cpp
+@@ -2164,7 +2164,7 @@ time_zone::get_info_impl(local_seconds tp) const
+ {
+ using namespace std::chrono;
+ init();
+- local_info i;
++ local_info i{};
+ i.result = local_info::unique;
+ auto tr = upper_bound(transitions_.begin(), transitions_.end(), tp,
+ [](const local_seconds& x, const transition& t)
diff --git a/libraries/date/date.SlackBuild b/libraries/date/date.SlackBuild
new file mode 100644
index 0000000000..f26c3536db
--- /dev/null
+++ b/libraries/date/date.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for date
+
+# Copyright 2022 Damian Perticone Berisso, Argentina
+# All rights reserved.
+# thanks for the cmake hint OXBG!
+
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=date
+VERSION=${VERSION:-3.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 {} \;
+
+# fix failing test
+patch -p1 < $CWD/052eebaf0086e6bbc5ead01c3f1a8f02496aa701.patch
+patch -p1 < $CWD/b49a7575ebbe127e8bd344900a52c14b5d69dd7b.patch
+# Modified to link against date-tz as newer releases of date changed the library.
+patch -p1 < $CWD/538-output-date-pc-for-pkg-config.patch
+# fix one particular test suite will fail; according to the date author,
+# GCC's std::time_get is buggy and bugs should be raised to that project.
+patch -p1 < $CWD/disable_buggy_libstdc++_tests.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_DATE_TESTING=ON \
+ -DBUILD_TZ_LIB=ON \
+ -DUSE_SYSTEM_TZ_DB=ON \
+ -DBUILD_SHARED_LIBS=ON ..
+ 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
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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/libraries/date/date.info b/libraries/date/date.info
new file mode 100644
index 0000000000..5ffb5a0375
--- /dev/null
+++ b/libraries/date/date.info
@@ -0,0 +1,10 @@
+PRGNAM="date"
+VERSION="3.0.1"
+HOMEPAGE="https://github.com/HowardHinnant/date"
+DOWNLOAD="https://github.com/HowardHinnant/date/archive/v3.0.1/date-3.0.1.tar.gz"
+MD5SUM="78902f47f7931a3ae8a320e0dea1f20a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/date/disable_buggy_libstdc++_tests.patch b/libraries/date/disable_buggy_libstdc++_tests.patch
new file mode 100644
index 0000000000..d6257c4c30
--- /dev/null
+++ b/libraries/date/disable_buggy_libstdc++_tests.patch
@@ -0,0 +1,30 @@
+--- a/test/date_test/parse.pass.cpp 2020-06-02 18:08:57.000000000 -0700
++++ b/test/date_test/parse.pass.cpp 2020-07-11 19:35:35.349377734 -0700
+@@ -874,27 +874,20 @@
+ int
+ main()
+ {
+- test_a();
+- test_b();
+- test_c();
+ test_C();
+ test_d();
+ test_D();
+ test_F();
+ test_H();
+- test_Ip();
+ test_j();
+ test_m();
+ test_M();
+- test_p();
+- test_r();
+ test_R();
+ test_S();
+ test_T();
+ test_U();
+ test_W();
+ test_GV();
+- test_x();
+ test_X();
+ test_z();
+ test_Z();
diff --git a/libraries/date/slack-desc b/libraries/date/slack-desc
new file mode 100644
index 0000000000..a1413b99e9
--- /dev/null
+++ b/libraries/date/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------------------------------------------------------|
+date: date (date and time library)
+date:
+date: Date is a date and time library
+date: based on the C++11/14/17 <chrono> header
+date:
+date:
+date: Home: https://github.com/HowardHinnant/date
+date:
+date:
+date:
+date:
diff --git a/libraries/dav1d/README b/libraries/dav1d/README
deleted file mode 100644
index ac7d248eec..0000000000
--- a/libraries/dav1d/README
+++ /dev/null
@@ -1,7 +0,0 @@
-dav1d is an AV1 Decoder being developed by the VideoLAN,
-VLC and FFmpeg communities for use with AV1,the new video
-codec created by the Alliance for Open Media.
-
-This SlackBuild builds the binary decoder dav1d as well
-as libraries suitable for use by other applications such
-as FFmpeg and VLC.
diff --git a/libraries/dav1d/dav1d.SlackBuild b/libraries/dav1d/dav1d.SlackBuild
deleted file mode 100644
index 65b83b5f05..0000000000
--- a/libraries/dav1d/dav1d.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------
-# Slackware build script for dav1d
-#
-# Copyright (c) 2019-2020 Andrew Strong, Blue Mountains, Australia.
-#
-# Permission to use, copy, modify, and distribute this software for
-# any purpose with or without fee is hereby granted, provided that
-# the above copyright notice and this permission notice appear in all
-# copies.
-#
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
-# 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.
-# ----------------------------------------------------------------------
-
-PRGNAM=dav1d
-VERSION=${VERSION:-0.5.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=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
-rm -rf $TMP/$PRGNAM-$VERSION
-cd $TMP
-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 {} \;
-
-# 14.2 has a version of nasm that is .01 away from the required nasm version
-# so this is adjusted here with no issues that I can see. Courtesy of Alien Bob:
-sed -i meson.build -e 's/2.13.02/2.13.01/'
-
-mkdir build
-cd build
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- meson .. \
- --buildtype=release \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --prefix=/usr
- 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 COPYING NEWS *.md doc/PATENTS $PKG/usr/doc/$PRGNAM-$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/libraries/dav1d/dav1d.info b/libraries/dav1d/dav1d.info
deleted file mode 100644
index 776b1505fa..0000000000
--- a/libraries/dav1d/dav1d.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dav1d"
-VERSION="0.5.2"
-HOMEPAGE="https://code.videolan.org/videolan/dav1d"
-DOWNLOAD="http://downloads.videolan.org/pub/videolan/dav1d/0.5.2/dav1d-0.5.2.tar.xz"
-MD5SUM="26f3e7661b73d0f82098570313e0128e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="meson"
-MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.strong@gmail.com"
diff --git a/libraries/dav1d/slack-desc b/libraries/dav1d/slack-desc
deleted file mode 100644
index b9ef7d3079..0000000000
--- a/libraries/dav1d/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------------------------------------------------------|
-dav1d: dav1d (AV1 decoder)
-dav1d:
-dav1d: dav1d is an AV1 decoder focused on speed and correctness.
-dav1d:
-dav1d: Homepage: https://code.videolan.org/videolan/dav1d
-dav1d:
-dav1d:
-dav1d:
-dav1d:
-dav1d:
-dav1d:
diff --git a/libraries/db46/README b/libraries/db46/README
deleted file mode 100644
index 611e547ad9..0000000000
--- a/libraries/db46/README
+++ /dev/null
@@ -1,12 +0,0 @@
-db4 (Berkeley database library version 4.6.x)
-
-The Berkeley Database (Berkeley DB) library provides embedded database
-support for both traditional and client/server applications.
-
-This package should be installed if compatibility is needed with
-databases created with the Berkeley DB version 4.6.x.
-
-Note that the resulting package will overwrite some symlinks included
-in Slackware's db44 package; this shouldn't cause any problems, but
-in case you remove this package for whatever reason, you'll need to
-reinstall db44, and anything that linked db46 will no longer work.
diff --git a/libraries/db46/db46.SlackBuild b/libraries/db46/db46.SlackBuild
deleted file mode 100644
index dfe42bb985..0000000000
--- a/libraries/db46/db46.SlackBuild
+++ /dev/null
@@ -1,152 +0,0 @@
-#!/bin/sh
-# Slackware build script for Oracle Berkeley DB 4.6
-
-# Original Copyright 2008, 2009 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.
-
-# db-4.6 modifications of Slackware.com db4.4 script by John Clizbe
-# John.Clizbe@gmail.com
-
-PRGNAM=db46
-VERSION=${VERSION:-4.6.21}
-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 db-$VERSION
-tar xvf $CWD/db-$VERSION.tar.gz
-cd db-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 {} \;
-
-# Official patches:
-patch -p0 < $CWD/patches/patch.4.6.21.1
-patch -p0 < $CWD/patches/patch.4.6.21.2
-patch -p0 < $CWD/patches/patch.4.6.21.3
-patch -p0 < $CWD/patches/patch.4.6.21.4
-
-mkdir build-dir
-cd build-dir
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ../dist/configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --enable-shared \
- --enable-rpc \
- --enable-cxx \
- --enable-compat185 \
- --build=$ARCH-slackware-linux
- 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
-
-# Remove WAY TOO LARGE (and misplaced) docs:
-rm -rf $PKG/usr/docs
-mkdir -p $PKG/usr/doc/db-$VERSION
-cp -a \
- LICENSE README \
- $PKG/usr/doc/db-$VERSION
-cat << EOF > $PKG/usr/doc/db-$VERSION/README-DOCS
-
- For a ton of additional documentation (too large to include
- here) on writing source code that uses libdb46, please see
- the source tarball db-$VERSION.tar.gz, which can be found
- on Oracle's Berkeley DB web site:
- http://www.oracle.com/technology/products/berkeley-db/db/index.html.
-
-EOF
-
-# Move include files:
-( cd $PKG/usr/include
- mkdir db46
- mv *.h db46
- for file in db46/* ; do
- ln -sf $file .
- done
- # Better add this symlink, too, just to be safe...
- ln -sf db46 db4
-)
-
-# Put libdb-4.6.so into /lib${LIBDIRSUFFIX} since it might be needed
-# before /usr is mounted (eg, nsswitch.conf can be set up to
-# use databases instead of flat files)
-mkdir -p $PKG/lib${LIBDIRSUFFIX}
-mv $PKG/usr/lib${LIBDIRSUFFIX}/libdb-4.6.so $PKG/lib${LIBDIRSUFFIX}/libdb-4.6.so
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf /lib${LIBDIRSUFFIX}/libdb-4.6.so .
-)
-
-# Some things might look for these libraries by other names.
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf libdb-4.6.a libdb-4.a
- ln -sf libdb-4.6.a libdb4.a
- ln -sf libdb-4.6.a libdb.a
- ln -sf libdb_cxx-4.6.a libdb_cxx-4.a
- ln -sf libdb_cxx-4.6.a libdb_cxx.a
- ln -sf libdb-4.6.so libdb4.so
- ln -sf libdb-4.6.so libdb.so
-)
-
-chmod 755 $PKG/usr/bin/*
-
-mkdir -p $PKG/install
-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/libraries/db46/db46.info b/libraries/db46/db46.info
deleted file mode 100644
index bf2c19d180..0000000000
--- a/libraries/db46/db46.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="db46"
-VERSION="4.6.21"
-HOMEPAGE="http://www.oracle.com/technology/products/berkeley-db/index.html"
-DOWNLOAD="http://download.oracle.com/berkeley-db/db-4.6.21.tar.gz"
-MD5SUM="718082e7e35fc48478a2334b0bc4cd11"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="John Clizbe"
-EMAIL="John.Clizbe@gmail.com"
diff --git a/libraries/db46/patches/patch.4.6.21.1 b/libraries/db46/patches/patch.4.6.21.1
deleted file mode 100644
index 636bc51c7d..0000000000
--- a/libraries/db46/patches/patch.4.6.21.1
+++ /dev/null
@@ -1,90 +0,0 @@
-*** dbinc/mp.h 2007-09-28 01:28:25.000000000 +1000
---- dbinc/mp.h 2008-02-14 01:22:09.000000000 +1100
-***************
-*** 639,644 ****
---- 639,647 ----
- */
- #define MP_TRUNC_RECOVER 0x01
-
-+ /* Private flags to DB_MPOOLFILE->close. */
-+ #define DB_MPOOL_NOLOCK 0x002 /* Already have mpf locked. */
-+
- #if defined(__cplusplus)
- }
- #endif
-*** mp/mp_fopen.c 2007-05-18 03:18:01.000000000 +1000
---- mp/mp_fopen.c 2008-02-12 16:09:42.000000000 +1100
-***************
-*** 888,894 ****
- * when we try to flush them.
- */
- deleted = 0;
-! MUTEX_LOCK(dbenv, mfp->mutex);
- if (F_ISSET(dbmfp, MP_MULTIVERSION))
- --mfp->multiversion;
- if (--mfp->mpf_cnt == 0 || LF_ISSET(DB_MPOOL_DISCARD)) {
---- 888,895 ----
- * when we try to flush them.
- */
- deleted = 0;
-! if (!LF_ISSET(DB_MPOOL_NOLOCK))
-! MUTEX_LOCK(dbenv, mfp->mutex);
- if (F_ISSET(dbmfp, MP_MULTIVERSION))
- --mfp->multiversion;
- if (--mfp->mpf_cnt == 0 || LF_ISSET(DB_MPOOL_DISCARD)) {
-***************
-*** 909,921 ****
- }
- }
- if (mfp->block_cnt == 0) {
- if ((t_ret =
- __memp_mf_discard(dbmp, mfp)) != 0 && ret == 0)
- ret = t_ret;
- deleted = 1;
- }
- }
-! if (!deleted)
- MUTEX_UNLOCK(dbenv, mfp->mutex);
-
- done: /* Discard the DB_MPOOLFILE structure. */
---- 910,928 ----
- }
- }
- if (mfp->block_cnt == 0) {
-+ /*
-+ * We should never discard this mp file if our caller
-+ * is holding the lock on it. See comment in
-+ * __memp_sync_file.
-+ */
-+ DB_ASSERT(dbenv, !LF_ISSET(DB_MPOOL_NOLOCK));
- if ((t_ret =
- __memp_mf_discard(dbmp, mfp)) != 0 && ret == 0)
- ret = t_ret;
- deleted = 1;
- }
- }
-! if (!deleted && !LF_ISSET(DB_MPOOL_NOLOCK))
- MUTEX_UNLOCK(dbenv, mfp->mutex);
-
- done: /* Discard the DB_MPOOLFILE structure. */
-*** mp/mp_sync.c 2007-06-02 04:32:44.000000000 +1000
---- mp/mp_sync.c 2008-02-12 16:09:42.000000000 +1100
-***************
-*** 755,761 ****
- * This is important since we are called with the hash bucket
- * locked. The mfp will get freed via the cleanup pass.
- */
-! if (dbmfp != NULL && (t_ret = __memp_fclose(dbmfp, 0)) != 0 && ret == 0)
- ret = t_ret;
-
- --mfp->mpf_cnt;
---- 755,762 ----
- * This is important since we are called with the hash bucket
- * locked. The mfp will get freed via the cleanup pass.
- */
-! if (dbmfp != NULL &&
-! (t_ret = __memp_fclose(dbmfp, DB_MPOOL_NOLOCK)) != 0 && ret == 0)
- ret = t_ret;
-
- --mfp->mpf_cnt;
-
diff --git a/libraries/db46/patches/patch.4.6.21.2 b/libraries/db46/patches/patch.4.6.21.2
deleted file mode 100644
index 4e59f18afe..0000000000
--- a/libraries/db46/patches/patch.4.6.21.2
+++ /dev/null
@@ -1,27 +0,0 @@
-*** mp/mp_region.c 2007-05-18 03:18:01.000000000 +1000
---- mp/mp_region.c 2008-06-24 13:15:56.000000000 +1000
-***************
-*** 249,256 ****
- mtx_base = htab[0].mtx_hash;
- }
-
- if (mtx_base != MUTEX_INVALID)
-! mtx_base += reginfo_off * htab_buckets;
-
- /* Allocate hash table space and initialize it. */
- if ((ret = __env_alloc(infop,
---- 249,262 ----
- mtx_base = htab[0].mtx_hash;
- }
-
-+ /*
-+ * We preallocated all of the mutexes in a block, so for regions after
-+ * the first, we skip mutexes in use in earlier regions. Each region
-+ * has the same number of buckets and there are two mutexes per hash
-+ * bucket (the bucket mutex and the I/O mutex).
-+ */
- if (mtx_base != MUTEX_INVALID)
-! mtx_base += reginfo_off * htab_buckets * 2;
-
- /* Allocate hash table space and initialize it. */
- if ((ret = __env_alloc(infop,
diff --git a/libraries/db46/patches/patch.4.6.21.3 b/libraries/db46/patches/patch.4.6.21.3
deleted file mode 100644
index e23a27a02f..0000000000
--- a/libraries/db46/patches/patch.4.6.21.3
+++ /dev/null
@@ -1,53 +0,0 @@
-*** sequence/sequence.c.orig 2007-05-17 10:18:04.000000000 -0700
---- sequence/sequence.c 2008-08-14 12:24:23.000000000 -0700
-***************
-*** 252,257 ****
---- 252,262 ----
- if ((ret != DB_NOTFOUND && ret != DB_KEYEMPTY) ||
- !LF_ISSET(DB_CREATE))
- goto err;
-+ if (IS_REP_CLIENT(dbenv) &&
-+ !F_ISSET(dbp, DB_AM_NOT_DURABLE)) {
-+ ret = __db_rdonly(dbenv, "DB_SEQUENCE->open");
-+ goto err;
-+ }
- ret = 0;
-
- rp = &seq->seq_record;
-***************
-*** 304,310 ****
- */
- rp = seq->seq_data.data;
- if (rp->seq_version == DB_SEQUENCE_OLDVER) {
-! oldver: rp->seq_version = DB_SEQUENCE_VERSION;
- if (__db_isbigendian()) {
- if (IS_DB_AUTO_COMMIT(dbp, txn)) {
- if ((ret =
---- 309,320 ----
- */
- rp = seq->seq_data.data;
- if (rp->seq_version == DB_SEQUENCE_OLDVER) {
-! oldver: if (IS_REP_CLIENT(dbenv) &&
-! !F_ISSET(dbp, DB_AM_NOT_DURABLE)) {
-! ret = __db_rdonly(dbenv, "DB_SEQUENCE->open");
-! goto err;
-! }
-! rp->seq_version = DB_SEQUENCE_VERSION;
- if (__db_isbigendian()) {
- if (IS_DB_AUTO_COMMIT(dbp, txn)) {
- if ((ret =
-***************
-*** 713,718 ****
---- 723,734 ----
-
- MUTEX_LOCK(dbenv, seq->mtx_seq);
-
-+ if (handle_check && IS_REP_CLIENT(dbenv) &&
-+ !F_ISSET(dbp, DB_AM_NOT_DURABLE)) {
-+ ret = __db_rdonly(dbenv, "DB_SEQUENCE->get");
-+ goto err;
-+ }
-+
- if (rp->seq_min + delta > rp->seq_max) {
- __db_errx(dbenv, "Sequence overflow");
- ret = EINVAL;
diff --git a/libraries/db46/patches/patch.4.6.21.4 b/libraries/db46/patches/patch.4.6.21.4
deleted file mode 100644
index 7c1f7e2a12..0000000000
--- a/libraries/db46/patches/patch.4.6.21.4
+++ /dev/null
@@ -1,1414 +0,0 @@
-*** dbinc/repmgr.h 2007-10-31 10:23:52.000000000 -0700
---- dbinc/repmgr.h 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 36,41 ****
---- 36,55 ----
- #endif
-
- /*
-+ * The (arbitrary) maximum number of outgoing messages we're willing to hold, on
-+ * a queue per connection, waiting for TCP buffer space to become available in
-+ * the kernel. Rather than exceeding this limit, we simply discard additional
-+ * messages (since this is always allowed by the replication protocol).
-+ * As a special dispensation, if a message is destined for a specific remote
-+ * site (i.e., it's not a broadcast), then we first try blocking the sending
-+ * thread, waiting for space to become available (though we only wait a limited
-+ * time). This is so as to be able to handle the immediate flood of (a
-+ * potentially large number of) outgoing messages that replication generates, in
-+ * a tight loop, when handling PAGE_REQ, LOG_REQ and ALL_REQ requests.
-+ */
-+ #define OUT_QUEUE_LIMIT 10
-+
-+ /*
- * The system value is available from sysconf(_SC_HOST_NAME_MAX).
- * Historically, the maximum host name was 256.
- */
-***************
-*** 47,52 ****
---- 61,71 ----
- #define MAX_SITE_LOC_STRING (MAXHOSTNAMELEN+20)
- typedef char SITE_STRING_BUFFER[MAX_SITE_LOC_STRING+1];
-
-+ /* Default timeout values, in seconds. */
-+ #define DB_REPMGR_DEFAULT_ACK_TIMEOUT (1 * US_PER_SEC)
-+ #define DB_REPMGR_DEFAULT_CONNECTION_RETRY (30 * US_PER_SEC)
-+ #define DB_REPMGR_DEFAULT_ELECTION_RETRY (10 * US_PER_SEC)
-+
- struct __repmgr_connection;
- typedef struct __repmgr_connection REPMGR_CONNECTION;
- struct __repmgr_queue; typedef struct __repmgr_queue REPMGR_QUEUE;
-***************
-*** 171,178 ****
- #ifdef DB_WIN32
- WSAEVENT event_object;
- #endif
-! #define CONN_CONNECTING 0x01 /* nonblocking connect in progress */
-! #define CONN_DEFUNCT 0x02 /* socket close pending */
- u_int32_t flags;
-
- /*
---- 190,198 ----
- #ifdef DB_WIN32
- WSAEVENT event_object;
- #endif
-! #define CONN_CONGESTED 0x01 /* msg thread wait has exceeded timeout */
-! #define CONN_CONNECTING 0x02 /* nonblocking connect in progress */
-! #define CONN_DEFUNCT 0x04 /* socket close pending */
- u_int32_t flags;
-
- /*
-***************
-*** 180,189 ****
- * send() function's thread. But if TCP doesn't have enough network
- * buffer space for us when we first try it, we instead allocate some
- * memory, and copy the message, and then send it as space becomes
-! * available in our main select() thread.
- */
- OUT_Q_HEADER outbound_queue;
- int out_queue_length;
-
- /*
- * Input: while we're reading a message, we keep track of what phase
---- 200,215 ----
- * send() function's thread. But if TCP doesn't have enough network
- * buffer space for us when we first try it, we instead allocate some
- * memory, and copy the message, and then send it as space becomes
-! * available in our main select() thread. In some cases, if the queue
-! * gets too long we wait until it's drained, and then append to it.
-! * This condition variable's associated mutex is the normal per-repmgr
-! * db_rep->mutex, because that mutex is always held anyway whenever the
-! * output queue is consulted.
- */
- OUT_Q_HEADER outbound_queue;
- int out_queue_length;
-+ cond_var_t drained;
-+ int blockers; /* ref count of msg threads waiting on us */
-
- /*
- * Input: while we're reading a message, we keep track of what phase
-*** dbinc_auto/int_def.in 2007-10-31 10:23:52.000000000 -0700
---- dbinc_auto/int_def.in 2007-10-31 10:23:52.000000000 -0700
-***************
-*** 1420,1425 ****
---- 1420,1428 ----
- #define __repmgr_wake_waiting_senders __repmgr_wake_waiting_senders@DB_VERSION_UNIQUE_NAME@
- #define __repmgr_await_ack __repmgr_await_ack@DB_VERSION_UNIQUE_NAME@
- #define __repmgr_compute_wait_deadline __repmgr_compute_wait_deadline@DB_VERSION_UNIQUE_NAME@
-+ #define __repmgr_await_drain __repmgr_await_drain@DB_VERSION_UNIQUE_NAME@
-+ #define __repmgr_alloc_cond __repmgr_alloc_cond@DB_VERSION_UNIQUE_NAME@
-+ #define __repmgr_free_cond __repmgr_free_cond@DB_VERSION_UNIQUE_NAME@
- #define __repmgr_init_sync __repmgr_init_sync@DB_VERSION_UNIQUE_NAME@
- #define __repmgr_close_sync __repmgr_close_sync@DB_VERSION_UNIQUE_NAME@
- #define __repmgr_net_init __repmgr_net_init@DB_VERSION_UNIQUE_NAME@
-*** dbinc_auto/repmgr_ext.h 2007-10-31 10:23:52.000000000 -0700
---- dbinc_auto/repmgr_ext.h 2007-10-31 10:23:52.000000000 -0700
-***************
-*** 21,30 ****
- int __repmgr_handle_event __P((DB_ENV *, u_int32_t, void *));
- void __repmgr_stash_generation __P((DB_ENV *));
- int __repmgr_send __P((DB_ENV *, const DBT *, const DBT *, const DB_LSN *, int, u_int32_t));
-! int __repmgr_send_one __P((DB_ENV *, REPMGR_CONNECTION *, u_int, const DBT *, const DBT *));
- int __repmgr_is_permanent __P((DB_ENV *, const DB_LSN *));
-! int __repmgr_bust_connection __P((DB_ENV *, REPMGR_CONNECTION *, int));
-! void __repmgr_cleanup_connection __P((DB_ENV *, REPMGR_CONNECTION *));
- int __repmgr_find_site __P((DB_ENV *, const char *, u_int));
- int __repmgr_pack_netaddr __P((DB_ENV *, const char *, u_int, ADDRINFO *, repmgr_netaddr_t *));
- int __repmgr_getaddr __P((DB_ENV *, const char *, u_int, int, ADDRINFO **));
---- 21,30 ----
- int __repmgr_handle_event __P((DB_ENV *, u_int32_t, void *));
- void __repmgr_stash_generation __P((DB_ENV *));
- int __repmgr_send __P((DB_ENV *, const DBT *, const DBT *, const DB_LSN *, int, u_int32_t));
-! int __repmgr_send_one __P((DB_ENV *, REPMGR_CONNECTION *, u_int, const DBT *, const DBT *, int));
- int __repmgr_is_permanent __P((DB_ENV *, const DB_LSN *));
-! int __repmgr_bust_connection __P((DB_ENV *, REPMGR_CONNECTION *));
-! int __repmgr_cleanup_connection __P((DB_ENV *, REPMGR_CONNECTION *));
- int __repmgr_find_site __P((DB_ENV *, const char *, u_int));
- int __repmgr_pack_netaddr __P((DB_ENV *, const char *, u_int, ADDRINFO *, repmgr_netaddr_t *));
- int __repmgr_getaddr __P((DB_ENV *, const char *, u_int, int, ADDRINFO **));
-***************
-*** 39,44 ****
---- 39,47 ----
- int __repmgr_wake_waiting_senders __P((DB_ENV *));
- int __repmgr_await_ack __P((DB_ENV *, const DB_LSN *));
- void __repmgr_compute_wait_deadline __P((DB_ENV*, struct timespec *, db_timeout_t));
-+ int __repmgr_await_drain __P((DB_ENV *, REPMGR_CONNECTION *, db_timeout_t));
-+ int __repmgr_alloc_cond __P((cond_var_t *));
-+ int __repmgr_free_cond __P((cond_var_t *));
- int __repmgr_init_sync __P((DB_ENV *, DB_REP *));
- int __repmgr_close_sync __P((DB_ENV *));
- int __repmgr_net_init __P((DB_ENV *, DB_REP *));
-*** repmgr/repmgr_method.c 2007-10-31 10:23:52.000000000 -0700
---- repmgr/repmgr_method.c 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 196,204 ****
- int ret;
-
- /* Set some default values. */
-! db_rep->ack_timeout = 1 * US_PER_SEC; /* 1 second */
-! db_rep->connection_retry_wait = 30 * US_PER_SEC; /* 30 seconds */
-! db_rep->election_retry_wait = 10 * US_PER_SEC; /* 10 seconds */
- db_rep->config_nsites = 0;
- db_rep->peer = DB_EID_INVALID;
- db_rep->perm_policy = DB_REPMGR_ACKS_QUORUM;
---- 196,204 ----
- int ret;
-
- /* Set some default values. */
-! db_rep->ack_timeout = DB_REPMGR_DEFAULT_ACK_TIMEOUT;
-! db_rep->connection_retry_wait = DB_REPMGR_DEFAULT_CONNECTION_RETRY;
-! db_rep->election_retry_wait = DB_REPMGR_DEFAULT_ELECTION_RETRY;
- db_rep->config_nsites = 0;
- db_rep->peer = DB_EID_INVALID;
- db_rep->perm_policy = DB_REPMGR_ACKS_QUORUM;
-***************
-*** 238,243 ****
---- 238,244 ----
- DB_ENV *dbenv;
- {
- DB_REP *db_rep;
-+ REPMGR_CONNECTION *conn;
- int ret;
-
- db_rep = dbenv->rep_handle;
-***************
-*** 254,259 ****
---- 255,266 ----
-
- if ((ret = __repmgr_signal(&db_rep->queue_nonempty)) != 0)
- goto unlock;
-+
-+ TAILQ_FOREACH(conn, &db_rep->connections, entries) {
-+ if (conn->blockers > 0 &&
-+ ((ret = __repmgr_signal(&conn->drained)) != 0))
-+ goto unlock;
-+ }
- UNLOCK_MUTEX(db_rep->mutex);
-
- return (__repmgr_wake_main_thread(dbenv));
-*** repmgr/repmgr_msg.c 2007-10-31 10:23:52.000000000 -0700
---- repmgr/repmgr_msg.c 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 183,192 ****
-
- /*
- * Acknowledges a message.
-- *
-- * !!!
-- * Note that this cannot be called from the select() thread, in case we call
-- * __repmgr_bust_connection(..., FALSE).
- */
- static int
- ack_message(dbenv, generation, lsn)
---- 183,188 ----
-***************
-*** 227,235 ****
- rec2.size = 0;
-
- conn = site->ref.conn;
- if ((ret = __repmgr_send_one(dbenv, conn, REPMGR_ACK,
-! &control2, &rec2)) == DB_REP_UNAVAIL)
-! ret = __repmgr_bust_connection(dbenv, conn, FALSE);
- }
-
- UNLOCK_MUTEX(db_rep->mutex);
---- 223,236 ----
- rec2.size = 0;
-
- conn = site->ref.conn;
-+ /*
-+ * It's hard to imagine anyone would care about a lost ack if
-+ * the path to the master is so congested as to need blocking;
-+ * so pass "blockable" argument as FALSE.
-+ */
- if ((ret = __repmgr_send_one(dbenv, conn, REPMGR_ACK,
-! &control2, &rec2, FALSE)) == DB_REP_UNAVAIL)
-! ret = __repmgr_bust_connection(dbenv, conn);
- }
-
- UNLOCK_MUTEX(db_rep->mutex);
-*** repmgr/repmgr_net.c 2007-10-31 10:23:52.000000000 -0700
---- repmgr/repmgr_net.c 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 63,69 ****
- static void setup_sending_msg
- __P((struct sending_msg *, u_int, const DBT *, const DBT *));
- static int __repmgr_send_internal
-! __P((DB_ENV *, REPMGR_CONNECTION *, struct sending_msg *));
- static int enqueue_msg
- __P((DB_ENV *, REPMGR_CONNECTION *, struct sending_msg *, size_t));
- static int flatten __P((DB_ENV *, struct sending_msg *));
---- 63,69 ----
- static void setup_sending_msg
- __P((struct sending_msg *, u_int, const DBT *, const DBT *));
- static int __repmgr_send_internal
-! __P((DB_ENV *, REPMGR_CONNECTION *, struct sending_msg *, int));
- static int enqueue_msg
- __P((DB_ENV *, REPMGR_CONNECTION *, struct sending_msg *, size_t));
- static int flatten __P((DB_ENV *, struct sending_msg *));
-***************
-*** 73,85 ****
- * __repmgr_send --
- * The send function for DB_ENV->rep_set_transport.
- *
-- * !!!
-- * This is only ever called as the replication transport call-back, which means
-- * it's either on one of our message processing threads or an application
-- * thread. It mustn't be called from the select() thread, because we might call
-- * __repmgr_bust_connection(..., FALSE) here, and that's not allowed in the
-- * select() thread.
-- *
- * PUBLIC: int __repmgr_send __P((DB_ENV *, const DBT *, const DBT *,
- * PUBLIC: const DB_LSN *, int, u_int32_t));
- */
---- 73,78 ----
-***************
-*** 126,134 ****
- }
-
- conn = site->ref.conn;
- if ((ret = __repmgr_send_one(dbenv, conn, REPMGR_REP_MESSAGE,
-! control, rec)) == DB_REP_UNAVAIL &&
-! (t_ret = __repmgr_bust_connection(dbenv, conn, FALSE)) != 0)
- ret = t_ret;
- if (ret != 0)
- goto out;
---- 119,128 ----
- }
-
- conn = site->ref.conn;
-+ /* Pass the "blockable" argument as TRUE. */
- if ((ret = __repmgr_send_one(dbenv, conn, REPMGR_REP_MESSAGE,
-! control, rec, TRUE)) == DB_REP_UNAVAIL &&
-! (t_ret = __repmgr_bust_connection(dbenv, conn)) != 0)
- ret = t_ret;
- if (ret != 0)
- goto out;
-***************
-*** 222,228 ****
- if (site->state != SITE_CONNECTED)
- return (NULL);
-
-! if (F_ISSET(site->ref.conn, CONN_CONNECTING))
- return (NULL);
- return (site);
- }
---- 216,222 ----
- if (site->state != SITE_CONNECTED)
- return (NULL);
-
-! if (F_ISSET(site->ref.conn, CONN_CONNECTING|CONN_DEFUNCT))
- return (NULL);
- return (site);
- }
-***************
-*** 235,244 ****
- *
- * !!!
- * Caller must hold dbenv->mutex.
-- *
-- * !!!
-- * Note that this cannot be called from the select() thread, in case we call
-- * __repmgr_bust_connection(..., FALSE).
- */
- static int
- __repmgr_send_broadcast(dbenv, control, rec, nsitesp, npeersp)
---- 229,234 ----
-***************
-*** 268,281 ****
- !IS_VALID_EID(conn->eid))
- continue;
-
-! if ((ret = __repmgr_send_internal(dbenv, conn, &msg)) == 0) {
- site = SITE_FROM_EID(conn->eid);
- nsites++;
- if (site->priority > 0)
- npeers++;
- } else if (ret == DB_REP_UNAVAIL) {
-! if ((ret = __repmgr_bust_connection(
-! dbenv, conn, FALSE)) != 0)
- return (ret);
- } else
- return (ret);
---- 258,277 ----
- !IS_VALID_EID(conn->eid))
- continue;
-
-! /*
-! * Broadcast messages are either application threads committing
-! * transactions, or replication status message that we can
-! * afford to lose. So don't allow blocking for them (pass
-! * "blockable" argument as FALSE).
-! */
-! if ((ret = __repmgr_send_internal(dbenv,
-! conn, &msg, FALSE)) == 0) {
- site = SITE_FROM_EID(conn->eid);
- nsites++;
- if (site->priority > 0)
- npeers++;
- } else if (ret == DB_REP_UNAVAIL) {
-! if ((ret = __repmgr_bust_connection(dbenv, conn)) != 0)
- return (ret);
- } else
- return (ret);
-***************
-*** 301,339 ****
- * intersperse writes that are part of two single messages.
- *
- * PUBLIC: int __repmgr_send_one __P((DB_ENV *, REPMGR_CONNECTION *,
-! * PUBLIC: u_int, const DBT *, const DBT *));
- */
- int
-! __repmgr_send_one(dbenv, conn, msg_type, control, rec)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
- u_int msg_type;
- const DBT *control, *rec;
- {
- struct sending_msg msg;
-
- setup_sending_msg(&msg, msg_type, control, rec);
-! return (__repmgr_send_internal(dbenv, conn, &msg));
- }
-
- /*
- * Attempts a "best effort" to send a message on the given site. If there is an
-! * excessive backlog of message already queued on the connection, we simply drop
-! * this message, and still return 0 even in this case.
- */
- static int
-! __repmgr_send_internal(dbenv, conn, msg)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
- struct sending_msg *msg;
- {
-! #define OUT_QUEUE_LIMIT 10 /* arbitrary, for now */
- REPMGR_IOVECS iovecs;
- SITE_STRING_BUFFER buffer;
- int ret;
- size_t nw;
- size_t total_written;
-
- DB_ASSERT(dbenv, !F_ISSET(conn, CONN_CONNECTING));
- if (!STAILQ_EMPTY(&conn->outbound_queue)) {
- /*
---- 297,355 ----
- * intersperse writes that are part of two single messages.
- *
- * PUBLIC: int __repmgr_send_one __P((DB_ENV *, REPMGR_CONNECTION *,
-! * PUBLIC: u_int, const DBT *, const DBT *, int));
- */
- int
-! __repmgr_send_one(dbenv, conn, msg_type, control, rec, blockable)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
- u_int msg_type;
- const DBT *control, *rec;
-+ int blockable;
- {
- struct sending_msg msg;
-
- setup_sending_msg(&msg, msg_type, control, rec);
-! return (__repmgr_send_internal(dbenv, conn, &msg, blockable));
- }
-
- /*
- * Attempts a "best effort" to send a message on the given site. If there is an
-! * excessive backlog of message already queued on the connection, what shall we
-! * do? If the caller doesn't mind blocking, we'll wait (a limited amount of
-! * time) for the queue to drain. Otherwise we'll simply drop the message. This
-! * is always allowed by the replication protocol. But in the case of a
-! * multi-message response to a request like PAGE_REQ, LOG_REQ or ALL_REQ we
-! * almost always get a flood of messages that instantly fills our queue, so
-! * blocking improves performance (by avoiding the need for the client to
-! * re-request).
-! *
-! * How long shall we wait? We could of course create a new timeout
-! * configuration type, so that the application could set it directly. But that
-! * would start to overwhelm the user with too many choices to think about. We
-! * already have an ACK timeout, which is the user's estimate of how long it
-! * should take to send a message to the client, have it be processed, and return
-! * a message back to us. We multiply that by the queue size, because that's how
-! * many messages have to be swallowed up by the client before we're able to
-! * start sending again (at least to a rough approximation).
- */
- static int
-! __repmgr_send_internal(dbenv, conn, msg, blockable)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
- struct sending_msg *msg;
-+ int blockable;
- {
-! DB_REP *db_rep;
- REPMGR_IOVECS iovecs;
- SITE_STRING_BUFFER buffer;
-+ db_timeout_t drain_to;
- int ret;
- size_t nw;
- size_t total_written;
-
-+ db_rep = dbenv->rep_handle;
-+
- DB_ASSERT(dbenv, !F_ISSET(conn, CONN_CONNECTING));
- if (!STAILQ_EMPTY(&conn->outbound_queue)) {
- /*
-***************
-*** 344,358 ****
- RPRINT(dbenv, (dbenv, "msg to %s to be queued",
- __repmgr_format_eid_loc(dbenv->rep_handle,
- conn->eid, buffer)));
- if (conn->out_queue_length < OUT_QUEUE_LIMIT)
- return (enqueue_msg(dbenv, conn, msg, 0));
- else {
- RPRINT(dbenv, (dbenv, "queue limit exceeded"));
- STAT(dbenv->rep_handle->
- region->mstat.st_msgs_dropped++);
-! return (0);
- }
- }
-
- /*
- * Send as much data to the site as we can, without blocking. Keep
---- 360,393 ----
- RPRINT(dbenv, (dbenv, "msg to %s to be queued",
- __repmgr_format_eid_loc(dbenv->rep_handle,
- conn->eid, buffer)));
-+ if (conn->out_queue_length >= OUT_QUEUE_LIMIT &&
-+ blockable && !F_ISSET(conn, CONN_CONGESTED)) {
-+ RPRINT(dbenv, (dbenv,
-+ "block msg thread, await queue space"));
-+
-+ if ((drain_to = db_rep->ack_timeout) == 0)
-+ drain_to = DB_REPMGR_DEFAULT_ACK_TIMEOUT;
-+ conn->blockers++;
-+ ret = __repmgr_await_drain(dbenv,
-+ conn, drain_to * OUT_QUEUE_LIMIT);
-+ conn->blockers--;
-+ if (db_rep->finished)
-+ return (DB_TIMEOUT);
-+ if (ret != 0)
-+ return (ret);
-+ if (STAILQ_EMPTY(&conn->outbound_queue))
-+ goto empty;
-+ }
- if (conn->out_queue_length < OUT_QUEUE_LIMIT)
- return (enqueue_msg(dbenv, conn, msg, 0));
- else {
- RPRINT(dbenv, (dbenv, "queue limit exceeded"));
- STAT(dbenv->rep_handle->
- region->mstat.st_msgs_dropped++);
-! return (blockable ? DB_TIMEOUT : 0);
- }
- }
-+ empty:
-
- /*
- * Send as much data to the site as we can, without blocking. Keep
-***************
-*** 498,521 ****
-
- /*
- * Abandons a connection, to recover from an error. Upon entry the conn struct
-! * must be on the connections list.
-! *
-! * If the 'do_close' flag is true, we do the whole job; the clean-up includes
-! * removing the struct from the list and freeing all its memory, so upon return
-! * the caller must not refer to it any further. Otherwise, we merely mark the
-! * connection for clean-up later by the main thread.
- *
- * PUBLIC: int __repmgr_bust_connection __P((DB_ENV *,
-! * PUBLIC: REPMGR_CONNECTION *, int));
- *
- * !!!
- * Caller holds mutex.
- */
- int
-! __repmgr_bust_connection(dbenv, conn, do_close)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
-- int do_close;
- {
- DB_REP *db_rep;
- int connecting, ret, eid;
---- 533,553 ----
-
- /*
- * Abandons a connection, to recover from an error. Upon entry the conn struct
-! * must be on the connections list. For now, just mark it as unusable; it will
-! * be fully cleaned up in the top-level select thread, as soon as possible.
- *
- * PUBLIC: int __repmgr_bust_connection __P((DB_ENV *,
-! * PUBLIC: REPMGR_CONNECTION *));
- *
- * !!!
- * Caller holds mutex.
-+ *
-+ * Must be idempotent
- */
- int
-! __repmgr_bust_connection(dbenv, conn)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
- {
- DB_REP *db_rep;
- int connecting, ret, eid;
-***************
-*** 526,537 ****
- DB_ASSERT(dbenv, !TAILQ_EMPTY(&db_rep->connections));
- eid = conn->eid;
- connecting = F_ISSET(conn, CONN_CONNECTING);
-! if (do_close)
-! __repmgr_cleanup_connection(dbenv, conn);
-! else {
-! F_SET(conn, CONN_DEFUNCT);
-! conn->eid = -1;
-! }
-
- /*
- * When we first accepted the incoming connection, we set conn->eid to
---- 558,566 ----
- DB_ASSERT(dbenv, !TAILQ_EMPTY(&db_rep->connections));
- eid = conn->eid;
- connecting = F_ISSET(conn, CONN_CONNECTING);
-!
-! F_SET(conn, CONN_DEFUNCT);
-! conn->eid = -1;
-
- /*
- * When we first accepted the incoming connection, we set conn->eid to
-***************
-*** 557,563 ****
- dbenv, ELECT_FAILURE_ELECTION)) != 0)
- return (ret);
- }
-! } else if (!do_close) {
- /*
- * One way or another, make sure the main thread is poked, so
- * that we do the deferred clean-up.
---- 586,592 ----
- dbenv, ELECT_FAILURE_ELECTION)) != 0)
- return (ret);
- }
-! } else {
- /*
- * One way or another, make sure the main thread is poked, so
- * that we do the deferred clean-up.
-***************
-*** 568,577 ****
- }
-
- /*
-! * PUBLIC: void __repmgr_cleanup_connection
- * PUBLIC: __P((DB_ENV *, REPMGR_CONNECTION *));
- */
-! void
- __repmgr_cleanup_connection(dbenv, conn)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
---- 597,610 ----
- }
-
- /*
-! * PUBLIC: int __repmgr_cleanup_connection
- * PUBLIC: __P((DB_ENV *, REPMGR_CONNECTION *));
-+ *
-+ * !!!
-+ * Idempotent. This can be called repeatedly as blocking message threads (of
-+ * which there could be multiples) wake up in case of error on the connection.
- */
-! int
- __repmgr_cleanup_connection(dbenv, conn)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
-***************
-*** 580,596 ****
- QUEUED_OUTPUT *out;
- REPMGR_FLAT *msg;
- DBT *dbt;
-
- db_rep = dbenv->rep_handle;
-
-! TAILQ_REMOVE(&db_rep->connections, conn, entries);
- if (conn->fd != INVALID_SOCKET) {
-! (void)closesocket(conn->fd);
- #ifdef DB_WIN32
-! (void)WSACloseEvent(conn->event_object);
- #endif
- }
-
- /*
- * Deallocate any input and output buffers we may have.
- */
---- 613,643 ----
- QUEUED_OUTPUT *out;
- REPMGR_FLAT *msg;
- DBT *dbt;
-+ int ret;
-
- db_rep = dbenv->rep_handle;
-
-! DB_ASSERT(dbenv, F_ISSET(conn, CONN_DEFUNCT) || db_rep->finished);
-!
- if (conn->fd != INVALID_SOCKET) {
-! ret = closesocket(conn->fd);
-! conn->fd = INVALID_SOCKET;
-! if (ret == SOCKET_ERROR) {
-! ret = net_errno;
-! __db_err(dbenv, ret, "closing socket");
-! }
- #ifdef DB_WIN32
-! if (!WSACloseEvent(conn->event_object) && ret != 0)
-! ret = net_errno;
- #endif
-+ if (ret != 0)
-+ return (ret);
- }
-
-+ if (conn->blockers > 0)
-+ return (__repmgr_signal(&conn->drained));
-+
-+ TAILQ_REMOVE(&db_rep->connections, conn, entries);
- /*
- * Deallocate any input and output buffers we may have.
- */
-***************
-*** 614,620 ****
---- 661,669 ----
- __os_free(dbenv, out);
- }
-
-+ ret = __repmgr_free_cond(&conn->drained);
- __os_free(dbenv, conn);
-+ return (ret);
- }
-
- static int
-***************
-*** 1063,1069 ****
-
- while (!TAILQ_EMPTY(&db_rep->connections)) {
- conn = TAILQ_FIRST(&db_rep->connections);
-! __repmgr_cleanup_connection(dbenv, conn);
- }
-
- for (i = 0; i < db_rep->site_cnt; i++) {
---- 1112,1118 ----
-
- while (!TAILQ_EMPTY(&db_rep->connections)) {
- conn = TAILQ_FIRST(&db_rep->connections);
-! (void)__repmgr_cleanup_connection(dbenv, conn);
- }
-
- for (i = 0; i < db_rep->site_cnt; i++) {
-*** repmgr/repmgr_posix.c 2007-10-31 10:23:52.000000000 -0700
---- repmgr/repmgr_posix.c 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 21,26 ****
---- 21,28 ----
- size_t __repmgr_guesstimated_max = (128 * 1024);
- #endif
-
-+ static int __repmgr_conn_work __P((DB_ENV *,
-+ REPMGR_CONNECTION *, fd_set *, fd_set *, int));
- static int finish_connecting __P((DB_ENV *, REPMGR_CONNECTION *));
-
- /*
-***************
-*** 189,194 ****
---- 191,284 ----
- }
-
- /*
-+ * PUBLIC: int __repmgr_await_drain __P((DB_ENV *,
-+ * PUBLIC: REPMGR_CONNECTION *, db_timeout_t));
-+ *
-+ * Waits for space to become available on the connection's output queue.
-+ * Various ways we can exit:
-+ *
-+ * 1. queue becomes non-full
-+ * 2. exceed time limit
-+ * 3. connection becomes defunct (due to error in another thread)
-+ * 4. repmgr is shutting down
-+ * 5. any unexpected system resource failure
-+ *
-+ * In cases #3 and #5 we return an error code. Caller is responsible for
-+ * distinguishing the remaining cases if desired.
-+ *
-+ * !!!
-+ * Caller must hold repmgr->mutex.
-+ */
-+ int
-+ __repmgr_await_drain(dbenv, conn, timeout)
-+ DB_ENV *dbenv;
-+ REPMGR_CONNECTION *conn;
-+ db_timeout_t timeout;
-+ {
-+ DB_REP *db_rep;
-+ struct timespec deadline;
-+ int ret;
-+
-+ db_rep = dbenv->rep_handle;
-+
-+ __repmgr_compute_wait_deadline(dbenv, &deadline, timeout);
-+
-+ ret = 0;
-+ while (conn->out_queue_length >= OUT_QUEUE_LIMIT) {
-+ ret = pthread_cond_timedwait(&conn->drained,
-+ &db_rep->mutex, &deadline);
-+ switch (ret) {
-+ case 0:
-+ if (db_rep->finished)
-+ goto out; /* #4. */
-+ /*
-+ * Another thread could have stumbled into an error on
-+ * the socket while we were waiting.
-+ */
-+ if (F_ISSET(conn, CONN_DEFUNCT)) {
-+ ret = DB_REP_UNAVAIL; /* #3. */
-+ goto out;
-+ }
-+ break;
-+ case ETIMEDOUT:
-+ F_SET(conn, CONN_CONGESTED);
-+ ret = 0;
-+ goto out; /* #2. */
-+ default:
-+ goto out; /* #5. */
-+ }
-+ }
-+ /* #1. */
-+
-+ out:
-+ return (ret);
-+ }
-+
-+ /*
-+ * PUBLIC: int __repmgr_alloc_cond __P((cond_var_t *));
-+ *
-+ * Initialize a condition variable (in allocated space).
-+ */
-+ int
-+ __repmgr_alloc_cond(c)
-+ cond_var_t *c;
-+ {
-+ return (pthread_cond_init(c, NULL));
-+ }
-+
-+ /*
-+ * PUBLIC: int __repmgr_free_cond __P((cond_var_t *));
-+ *
-+ * Clean up a previously initialized condition variable.
-+ */
-+ int
-+ __repmgr_free_cond(c)
-+ cond_var_t *c;
-+ {
-+ return (pthread_cond_destroy(c));
-+ }
-+
-+ /*
- * PUBLIC: int __repmgr_init_sync __P((DB_ENV *, DB_REP *));
- *
- * Allocate/initialize all data necessary for thread synchronization. This
-***************
-*** 443,449 ****
- REPMGR_RETRY *retry;
- db_timespec timeout;
- fd_set reads, writes;
-! int ret, flow_control, maxfd, nready;
- u_int8_t buf[10]; /* arbitrary size */
-
- flow_control = FALSE;
---- 533,539 ----
- REPMGR_RETRY *retry;
- db_timespec timeout;
- fd_set reads, writes;
-! int ret, flow_control, maxfd;
- u_int8_t buf[10]; /* arbitrary size */
-
- flow_control = FALSE;
-***************
-*** 477,482 ****
---- 567,575 ----
- * each one.
- */
- TAILQ_FOREACH(conn, &db_rep->connections, entries) {
-+ if (F_ISSET(conn, CONN_DEFUNCT))
-+ continue;
-+
- if (F_ISSET(conn, CONN_CONNECTING)) {
- FD_SET((u_int)conn->fd, &reads);
- FD_SET((u_int)conn->fd, &writes);
-***************
-*** 533,616 ****
- return (ret);
- }
- }
-- nready = ret;
--
- LOCK_MUTEX(db_rep->mutex);
-
-- /*
-- * The first priority thing we must do is to clean up any
-- * pending defunct connections. Otherwise, if they have any
-- * lingering pending input, we get very confused if we try to
-- * process it.
-- *
-- * The TAILQ_FOREACH macro would be suitable here, except that
-- * it doesn't allow unlinking the current element, which is
-- * needed for cleanup_connection.
-- */
-- for (conn = TAILQ_FIRST(&db_rep->connections);
-- conn != NULL;
-- conn = next) {
-- next = TAILQ_NEXT(conn, entries);
-- if (F_ISSET(conn, CONN_DEFUNCT))
-- __repmgr_cleanup_connection(dbenv, conn);
-- }
--
- if ((ret = __repmgr_retry_connections(dbenv)) != 0)
- goto out;
-- if (nready == 0)
-- continue;
-
- /*
-! * Traverse the linked list. (Again, like TAILQ_FOREACH, except
-! * that we need the ability to unlink an element along the way.)
- */
- for (conn = TAILQ_FIRST(&db_rep->connections);
- conn != NULL;
- conn = next) {
- next = TAILQ_NEXT(conn, entries);
-! if (F_ISSET(conn, CONN_CONNECTING)) {
-! if (FD_ISSET((u_int)conn->fd, &reads) ||
-! FD_ISSET((u_int)conn->fd, &writes)) {
-! if ((ret = finish_connecting(dbenv,
-! conn)) == DB_REP_UNAVAIL) {
-! if ((ret =
-! __repmgr_bust_connection(
-! dbenv, conn, TRUE)) != 0)
-! goto out;
-! } else if (ret != 0)
-! goto out;
-! }
-! continue;
-! }
-!
-! /*
-! * Here, the site is connected, and the FD_SET's are
-! * valid.
-! */
-! if (FD_ISSET((u_int)conn->fd, &writes)) {
-! if ((ret = __repmgr_write_some(
-! dbenv, conn)) == DB_REP_UNAVAIL) {
-! if ((ret =
-! __repmgr_bust_connection(dbenv,
-! conn, TRUE)) != 0)
-! goto out;
-! continue;
-! } else if (ret != 0)
-! goto out;
-! }
-!
-! if (!flow_control &&
-! FD_ISSET((u_int)conn->fd, &reads)) {
-! if ((ret = __repmgr_read_from_site(dbenv, conn))
-! == DB_REP_UNAVAIL) {
-! if ((ret =
-! __repmgr_bust_connection(dbenv,
-! conn, TRUE)) != 0)
-! goto out;
-! continue;
-! } else if (ret != 0)
-! goto out;
-! }
- }
-
- /*
---- 626,650 ----
- return (ret);
- }
- }
- LOCK_MUTEX(db_rep->mutex);
-
- if ((ret = __repmgr_retry_connections(dbenv)) != 0)
- goto out;
-
- /*
-! * Examine each connection, to see what work needs to be done.
-! *
-! * The TAILQ_FOREACH macro would be suitable here, except that
-! * it doesn't allow unlinking the current element, which is
-! * needed for cleanup_connection.
- */
- for (conn = TAILQ_FIRST(&db_rep->connections);
- conn != NULL;
- conn = next) {
- next = TAILQ_NEXT(conn, entries);
-! if ((ret = __repmgr_conn_work(dbenv,
-! conn, &reads, &writes, flow_control)) != 0)
-! goto out;
- }
-
- /*
-***************
-*** 637,642 ****
---- 671,719 ----
- }
-
- static int
-+ __repmgr_conn_work(dbenv, conn, reads, writes, flow_control)
-+ DB_ENV *dbenv;
-+ REPMGR_CONNECTION *conn;
-+ fd_set *reads, *writes;
-+ int flow_control;
-+ {
-+ int ret;
-+ u_int fd;
-+
-+ if (F_ISSET(conn, CONN_DEFUNCT)) {
-+ /*
-+ * Deferred clean-up, from an error that happened in another
-+ * thread, while we were sleeping in select().
-+ */
-+ return (__repmgr_cleanup_connection(dbenv, conn));
-+ }
-+
-+ ret = 0;
-+ fd = (u_int)conn->fd;
-+
-+ if (F_ISSET(conn, CONN_CONNECTING)) {
-+ if (FD_ISSET(fd, reads) || FD_ISSET(fd, writes))
-+ ret = finish_connecting(dbenv, conn);
-+ } else {
-+ /*
-+ * Here, the site is connected, and the FD_SET's are valid.
-+ */
-+ if (FD_ISSET(fd, writes))
-+ ret = __repmgr_write_some(dbenv, conn);
-+
-+ if (ret == 0 && !flow_control && FD_ISSET(fd, reads))
-+ ret = __repmgr_read_from_site(dbenv, conn);
-+ }
-+
-+ if (ret == DB_REP_UNAVAIL) {
-+ if ((ret = __repmgr_bust_connection(dbenv, conn)) != 0)
-+ return (ret);
-+ ret = __repmgr_cleanup_connection(dbenv, conn);
-+ }
-+ return (ret);
-+ }
-+
-+ static int
- finish_connecting(dbenv, conn)
- DB_ENV *dbenv;
- REPMGR_CONNECTION *conn;
-***************
-*** 657,662 ****
---- 734,740 ----
- goto err_rpt;
- }
-
-+ DB_ASSERT(dbenv, F_ISSET(conn, CONN_CONNECTING));
- F_CLR(conn, CONN_CONNECTING);
- return (__repmgr_send_handshake(dbenv, conn));
-
-***************
-*** 671,690 ****
- "connecting to %s", __repmgr_format_site_loc(site, buffer));
-
- /* If we've exhausted the list of possible addresses, give up. */
-! if (ADDR_LIST_NEXT(&site->net_addr) == NULL)
- return (DB_REP_UNAVAIL);
-
- /*
- * This is just like a little mini-"bust_connection", except that we
- * don't reschedule for later, 'cuz we're just about to try again right
-! * now.
- *
- * !!!
- * Which means this must only be called on the select() thread, since
- * only there are we allowed to actually close a connection.
- */
- DB_ASSERT(dbenv, !TAILQ_EMPTY(&db_rep->connections));
-! __repmgr_cleanup_connection(dbenv, conn);
- ret = __repmgr_connect_site(dbenv, eid);
- DB_ASSERT(dbenv, ret != DB_REP_UNAVAIL);
- return (ret);
---- 749,773 ----
- "connecting to %s", __repmgr_format_site_loc(site, buffer));
-
- /* If we've exhausted the list of possible addresses, give up. */
-! if (ADDR_LIST_NEXT(&site->net_addr) == NULL) {
-! STAT(db_rep->region->mstat.st_connect_fail++);
- return (DB_REP_UNAVAIL);
-+ }
-
- /*
- * This is just like a little mini-"bust_connection", except that we
- * don't reschedule for later, 'cuz we're just about to try again right
-! * now. (Note that we don't have to worry about message threads
-! * blocking on a full output queue: that can't happen when we're only
-! * just connecting.)
- *
- * !!!
- * Which means this must only be called on the select() thread, since
- * only there are we allowed to actually close a connection.
- */
- DB_ASSERT(dbenv, !TAILQ_EMPTY(&db_rep->connections));
-! if ((ret = __repmgr_cleanup_connection(dbenv, conn)) != 0)
-! return (ret);
- ret = __repmgr_connect_site(dbenv, eid);
- DB_ASSERT(dbenv, ret != DB_REP_UNAVAIL);
- return (ret);
-*** repmgr/repmgr_sel.c 2007-10-31 10:23:52.000000000 -0700
---- repmgr/repmgr_sel.c 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 36,45 ****
-
- /*
- * PUBLIC: int __repmgr_accept __P((DB_ENV *));
-- *
-- * !!!
-- * Only ever called in the select() thread, since we may call
-- * __repmgr_bust_connection(..., TRUE).
- */
- int
- __repmgr_accept(dbenv)
---- 36,41 ----
-***************
-*** 133,139 ****
- case 0:
- return (0);
- case DB_REP_UNAVAIL:
-! return (__repmgr_bust_connection(dbenv, conn, TRUE));
- default:
- return (ret);
- }
---- 129,135 ----
- case 0:
- return (0);
- case DB_REP_UNAVAIL:
-! return (__repmgr_bust_connection(dbenv, conn));
- default:
- return (ret);
- }
-***************
-*** 254,263 ****
- * starting with the "current" element of its address list and trying as many
- * addresses as necessary until the list is exhausted.
- *
-- * !!!
-- * Only ever called in the select() thread, since we may call
-- * __repmgr_bust_connection(..., TRUE).
-- *
- * PUBLIC: int __repmgr_connect_site __P((DB_ENV *, u_int eid));
- */
- int
---- 250,255 ----
-***************
-*** 332,338 ****
- case 0:
- break;
- case DB_REP_UNAVAIL:
-! return (__repmgr_bust_connection(dbenv, con, TRUE));
- default:
- return (ret);
- }
---- 324,330 ----
- case 0:
- break;
- case DB_REP_UNAVAIL:
-! return (__repmgr_bust_connection(dbenv, con));
- default:
- return (ret);
- }
-***************
-*** 437,443 ****
-
- DB_SET_DBT(rec, my_addr->host, strlen(my_addr->host) + 1);
-
-! return (__repmgr_send_one(dbenv, conn, REPMGR_HANDSHAKE, &cntrl, &rec));
- }
-
- /*
---- 429,443 ----
-
- DB_SET_DBT(rec, my_addr->host, strlen(my_addr->host) + 1);
-
-! /*
-! * It would of course be disastrous to block the select() thread, so
-! * pass the "blockable" argument as FALSE. Fortunately blocking should
-! * never be necessary here, because the hand-shake is always the first
-! * thing we send. Which is a good thing, because it would be almost as
-! * disastrous if we allowed ourselves to drop a handshake.
-! */
-! return (__repmgr_send_one(dbenv,
-! conn, REPMGR_HANDSHAKE, &cntrl, &rec, FALSE));
- }
-
- /*
-***************
-*** 854,859 ****
---- 854,872 ----
- conn->out_queue_length--;
- if (--msg->ref_count <= 0)
- __os_free(dbenv, msg);
-+
-+ /*
-+ * We've achieved enough movement to free up at least
-+ * one space in the outgoing queue. Wake any message
-+ * threads that may be waiting for space. Clear the
-+ * CONGESTED status so that when the queue reaches the
-+ * high-water mark again, the filling thread will be
-+ * allowed to try waiting again.
-+ */
-+ F_CLR(conn, CONN_CONGESTED);
-+ if (conn->blockers > 0 &&
-+ (ret = __repmgr_signal(&conn->drained)) != 0)
-+ return (ret);
- }
- }
-
-*** repmgr/repmgr_util.c 2007-10-31 10:23:52.000000000 -0700
---- repmgr/repmgr_util.c 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 103,108 ****
---- 103,113 ----
- db_rep = dbenv->rep_handle;
- if ((ret = __os_malloc(dbenv, sizeof(REPMGR_CONNECTION), &c)) != 0)
- return (ret);
-+ if ((ret = __repmgr_alloc_cond(&c->drained)) != 0) {
-+ __os_free(dbenv, c);
-+ return (ret);
-+ }
-+ c->blockers = 0;
-
- c->fd = s;
- c->flags = flags;
-*** repmgr/repmgr_windows.c 2007-10-31 10:23:52.000000000 -0700
---- repmgr/repmgr_windows.c 2007-10-31 10:23:53.000000000 -0700
-***************
-*** 11,16 ****
---- 11,19 ----
- #define __INCLUDE_NETWORKING 1
- #include "db_int.h"
-
-+ /* Convert time-out from microseconds to milliseconds, rounding up. */
-+ #define DB_TIMEOUT_TO_WINDOWS_TIMEOUT(t) (((t) + (US_PER_MS - 1)) / US_PER_MS)
-+
- typedef struct __ack_waiter {
- HANDLE event;
- const DB_LSN *lsnp;
-***************
-*** 120,136 ****
- {
- DB_REP *db_rep;
- ACK_WAITER *me;
-! DWORD ret;
-! DWORD timeout;
-
- db_rep = dbenv->rep_handle;
-
- if ((ret = allocate_wait_slot(dbenv, &me)) != 0)
- goto err;
-
-- /* convert time-out from microseconds to milliseconds, rounding up */
- timeout = db_rep->ack_timeout > 0 ?
-! ((db_rep->ack_timeout + (US_PER_MS - 1)) / US_PER_MS) : INFINITE;
- me->lsnp = lsnp;
- if ((ret = SignalObjectAndWait(db_rep->mutex, me->event, timeout,
- FALSE)) == WAIT_FAILED) {
---- 123,137 ----
- {
- DB_REP *db_rep;
- ACK_WAITER *me;
-! DWORD ret, timeout;
-
- db_rep = dbenv->rep_handle;
-
- if ((ret = allocate_wait_slot(dbenv, &me)) != 0)
- goto err;
-
- timeout = db_rep->ack_timeout > 0 ?
-! DB_TIMEOUT_TO_WINDOWS_TIMEOUT(db_rep->ack_timeout) : INFINITE;
- me->lsnp = lsnp;
- if ((ret = SignalObjectAndWait(db_rep->mutex, me->event, timeout,
- FALSE)) == WAIT_FAILED) {
-***************
-*** 211,216 ****
---- 212,296 ----
- db_rep->waiters->first_free = slot;
- }
-
-+ /* (See requirements described in repmgr_posix.c.) */
-+ int
-+ __repmgr_await_drain(dbenv, conn, timeout)
-+ DB_ENV *dbenv;
-+ REPMGR_CONNECTION *conn;
-+ db_timeout_t timeout;
-+ {
-+ DB_REP *db_rep;
-+ db_timespec deadline, delta, now;
-+ db_timeout_t t;
-+ DWORD duration, ret;
-+ int round_up;
-+
-+ db_rep = dbenv->rep_handle;
-+
-+ __os_gettime(dbenv, &deadline);
-+ DB_TIMEOUT_TO_TIMESPEC(timeout, &delta);
-+ timespecadd(&deadline, &delta);
-+
-+ while (conn->out_queue_length >= OUT_QUEUE_LIMIT) {
-+ if (!ResetEvent(conn->drained))
-+ return (GetLastError());
-+
-+ /* How long until the deadline? */
-+ __os_gettime(dbenv, &now);
-+ if (timespeccmp(&now, &deadline, >=)) {
-+ F_SET(conn, CONN_CONGESTED);
-+ return (0);
-+ }
-+ delta = deadline;
-+ timespecsub(&delta, &now);
-+ round_up = TRUE;
-+ DB_TIMESPEC_TO_TIMEOUT(t, &delta, round_up);
-+ duration = DB_TIMEOUT_TO_WINDOWS_TIMEOUT(t);
-+
-+ ret = SignalObjectAndWait(db_rep->mutex,
-+ conn->drained, duration, FALSE);
-+ LOCK_MUTEX(db_rep->mutex);
-+ if (ret == WAIT_FAILED)
-+ return (GetLastError());
-+ else if (ret == WAIT_TIMEOUT) {
-+ F_SET(conn, CONN_CONGESTED);
-+ return (0);
-+ } else
-+ DB_ASSERT(dbenv, ret == WAIT_OBJECT_0);
-+
-+ if (db_rep->finished)
-+ return (0);
-+ if (F_ISSET(conn, CONN_DEFUNCT))
-+ return (DB_REP_UNAVAIL);
-+ }
-+ return (0);
-+ }
-+
-+ /*
-+ * Creates a manual reset event, which is usually our best choice when we may
-+ * have multiple threads waiting on a single event.
-+ */
-+ int
-+ __repmgr_alloc_cond(c)
-+ cond_var_t *c;
-+ {
-+ HANDLE event;
-+
-+ if ((event = CreateEvent(NULL, TRUE, FALSE, NULL)) == NULL)
-+ return (GetLastError());
-+ *c = event;
-+ return (0);
-+ }
-+
-+ int
-+ __repmgr_free_cond(c)
-+ cond_var_t *c;
-+ {
-+ if (CloseHandle(*c))
-+ return (0);
-+ return (GetLastError());
-+ }
-+
- /*
- * Make resource allocation an all-or-nothing affair, outside of this and the
- * close_sync function. db_rep->waiters should be non-NULL iff all of these
-***************
-*** 488,493 ****
---- 568,576 ----
- * don't hurt anything flow-control-wise.
- */
- TAILQ_FOREACH(conn, &db_rep->connections, entries) {
-+ if (F_ISSET(conn, CONN_DEFUNCT))
-+ continue;
-+
- if (F_ISSET(conn, CONN_CONNECTING) ||
- !STAILQ_EMPTY(&conn->outbound_queue) ||
- (!flow_control || !IS_VALID_EID(conn->eid))) {
-***************
-*** 534,541 ****
- conn != NULL;
- conn = next) {
- next = TAILQ_NEXT(conn, entries);
-! if (F_ISSET(conn, CONN_DEFUNCT))
-! __repmgr_cleanup_connection(dbenv, conn);
- }
-
- /*
---- 617,626 ----
- conn != NULL;
- conn = next) {
- next = TAILQ_NEXT(conn, entries);
-! if (F_ISSET(conn, CONN_DEFUNCT) &&
-! (ret = __repmgr_cleanup_connection(dbenv,
-! conn)) != 0)
-! goto unlock;
- }
-
- /*
-***************
-*** 587,597 ****
- return (ret);
- }
-
-- /*
-- * !!!
-- * Only ever called on the select() thread, since we may call
-- * __repmgr_bust_connection(..., TRUE).
-- */
- static int
- handle_completion(dbenv, conn)
- DB_ENV *dbenv;
---- 672,677 ----
-***************
-*** 651,660 ****
- }
- }
-
-! return (0);
-!
-! err: if (ret == DB_REP_UNAVAIL)
-! return (__repmgr_bust_connection(dbenv, conn, TRUE));
- return (ret);
- }
-
---- 731,742 ----
- }
- }
-
-! err:
-! if (ret == DB_REP_UNAVAIL) {
-! if ((ret = __repmgr_bust_connection(dbenv, conn)) != 0)
-! return (ret);
-! ret = __repmgr_cleanup_connection(dbenv, conn);
-! }
- return (ret);
- }
-
-***************
-*** 708,714 ****
- }
-
- DB_ASSERT(dbenv, !TAILQ_EMPTY(&db_rep->connections));
-! __repmgr_cleanup_connection(dbenv, conn);
- ret = __repmgr_connect_site(dbenv, eid);
- DB_ASSERT(dbenv, ret != DB_REP_UNAVAIL);
- return (ret);
---- 790,797 ----
- }
-
- DB_ASSERT(dbenv, !TAILQ_EMPTY(&db_rep->connections));
-! if ((ret = __repmgr_cleanup_connection(dbenv, conn)) != 0)
-! return (ret);
- ret = __repmgr_connect_site(dbenv, eid);
- DB_ASSERT(dbenv, ret != DB_REP_UNAVAIL);
- return (ret);
diff --git a/libraries/db46/slack-desc b/libraries/db46/slack-desc
deleted file mode 100644
index c2bdddc1ab..0000000000
--- a/libraries/db46/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------------------------------------------------------|
-db46: db46 (Berkeley database library version 4.6.x)
-db46:
-db46: The Berkeley Database (Berkeley DB) library provides embedded database
-db46: support for both traditional and client/server applications.
-db46:
-db46: This package should be installed if compatibility is needed with
-db46: databases created with the Berkeley DB version 4.6.x.
-db46:
-db46:
-db46:
-db46:
diff --git a/libraries/dbcsr/README b/libraries/dbcsr/README
new file mode 100644
index 0000000000..6f8f02d0da
--- /dev/null
+++ b/libraries/dbcsr/README
@@ -0,0 +1,12 @@
+ DBCSR is a library designed to efficiently perform sparse
+matrix-matrix multiplication, among other operations.
+ It is MPI and OpenMP parallel and can exploit Nvidia and AMD GPUs via
+CUDA and HIP.
+ DBCSR was developed as a part of CP2K, where it provides core
+functionality for linear scaling electronic structure theory. It is
+now released as a standalone library for integration in other projects.
+
+This requires a MPI implementation, however the package isn't working
+with mpich. Use openmpi instead.
+
+* HIP and OpenCL still experimental
diff --git a/libraries/dbcsr/dbcsr.SlackBuild b/libraries/dbcsr/dbcsr.SlackBuild
new file mode 100644
index 0000000000..2e661a3616
--- /dev/null
+++ b/libraries/dbcsr/dbcsr.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for dbcsr
+
+# 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=dbcsr
+VERSION=${VERSION:-2.2.0}
+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
+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_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -aR ../examples ../tools \
+ $PKG/usr/share/$PRGNAM-$VERSION
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ../{AUTHORS,CONTRIBUTING.md,DBCSR.md,LICENSE,README.md,VERSION} \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -aR ../docs/guide \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/dbcsr/dbcsr.info b/libraries/dbcsr/dbcsr.info
new file mode 100644
index 0000000000..9c11309b33
--- /dev/null
+++ b/libraries/dbcsr/dbcsr.info
@@ -0,0 +1,10 @@
+PRGNAM="dbcsr"
+VERSION="2.2.0"
+HOMEPAGE="https://github.com/cp2k/dbcsr"
+DOWNLOAD="https://github.com/cp2k/dbcsr/archive/v2.2.0/dbcsr-2.2.0.tar.gz"
+MD5SUM="25bf0021c98d56fd81eeb2690715551f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lapack openmpi python3-fypp"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/dbcsr/slack-desc b/libraries/dbcsr/slack-desc
new file mode 100644
index 0000000000..7695a594ed
--- /dev/null
+++ b/libraries/dbcsr/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------------------------------------------------------|
+dbcsr: dbcsr (Distributed Block Compressed Sparse Row matrix library)
+dbcsr:
+dbcsr: DBCSR is a library designed to efficiently perform sparse
+dbcsr: matrix-matrix multiplication, among other operations. It is MPI and
+dbcsr: OpenMP parallel and can exploit Nvidia and AMD GPUs via CUDA and HIP.
+dbcsr:
+dbcsr:
+dbcsr:
+dbcsr:
+dbcsr:
+dbcsr:
diff --git a/libraries/dbus-cpp/dbus-cpp.SlackBuild b/libraries/dbus-cpp/dbus-cpp.SlackBuild
index 45ac7acc3a..97b7fb7220 100644
--- a/libraries/dbus-cpp/dbus-cpp.SlackBuild
+++ b/libraries/dbus-cpp/dbus-cpp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dbus-cpp
-# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2017-2023 Jeremy Hansen <jebrhansen+SBo -at- 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=dbus-cpp
-VERSION=${VERSION:-5.0.0}
-SRCVER=${SRCVER:-5.0.0+16.10.20160809}
+VERSION=${VERSION:-5.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,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}
@@ -61,11 +67,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-# Tarball does not have a parent directory, so we'll create one and cd
-# into it before extracting.
-mkdir -p $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
cd $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_${SRCVER}.orig.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,10 +86,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release \
- -DDBUS_CPP_VERSION_MAJOR=5 \
- -DDBUS_CPP_VERSION_MINOR=0 \
- -DDBUS_CPP_VERSION_PATCH=0 ..
+ -DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
@@ -102,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/libraries/dbus-cpp/dbus-cpp.info b/libraries/dbus-cpp/dbus-cpp.info
index 56492d5eff..e408c8b185 100644
--- a/libraries/dbus-cpp/dbus-cpp.info
+++ b/libraries/dbus-cpp/dbus-cpp.info
@@ -1,8 +1,8 @@
PRGNAM="dbus-cpp"
-VERSION="5.0.0"
-HOMEPAGE="https://code.launchpad.net/dbus-cpp"
-DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+files/dbus-cpp_5.0.0+16.10.20160809.orig.tar.gz"
-MD5SUM="1ca6e981f4a53de0ca5dee6a314da7f6"
+VERSION="5.0.3"
+HOMEPAGE="https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp/"
+DOWNLOAD="https://gitlab.com/ubports/development/core/lib-cpp/dbus-cpp/-/archive/5.0.3/dbus-cpp-5.0.3.tar.gz"
+MD5SUM="574ff83c7f3b2ad9400724dda0a0c41a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="process-cpp"
diff --git a/libraries/dbus-sharp-glib/README b/libraries/dbus-sharp-glib/README
deleted file mode 100644
index 2d5237ea07..0000000000
--- a/libraries/dbus-sharp-glib/README
+++ /dev/null
@@ -1,6 +0,0 @@
-This is a fork of ndesk-dbus-glib, which provides GLib main loop
-integration for Managed D-Bus.
-
-D-Bus is an inter-process communication framework that lets
-applications interface with the system event bus as well as allowing
-them to talk to one another in a peer-to-peer configuration.
diff --git a/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild b/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild
deleted file mode 100644
index 4a9e9a22eb..0000000000
--- a/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dbus-sharp-glib
-
-# Copyright 2017 Donald Cooley, South Haven, Indiana, USA
-# Copyright 2013 Donald Cooley La Porte, IN 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=dbus-sharp-glib
-VERSION=${VERSION:-0.6.0}
-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.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 set libdir to /usr/lib because that is where mono lives.
-# We will fix the pkgconfig location on 64bit later.
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-GMCS=/usr/bin/mcs \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib \
- --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
-
-# Fix pkgconfig location on x86_64.
-if [ "$ARCH" = "x86_64" ]; then
- mkdir -p $PKG/usr/lib64
- mv $PKG/usr/lib/pkgconfig $PKG/usr/lib64
-fi
-
-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
-
-mkdir -p $PKG/install
-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/libraries/dbus-sharp-glib/dbus-sharp-glib.info b/libraries/dbus-sharp-glib/dbus-sharp-glib.info
deleted file mode 100644
index 646b56446c..0000000000
--- a/libraries/dbus-sharp-glib/dbus-sharp-glib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dbus-sharp-glib"
-VERSION="0.6.0"
-HOMEPAGE="https://github.com/mono/dbus-sharp-glib"
-DOWNLOAD="https://github.com/mono/dbus-sharp-glib/releases/download/v0.6/dbus-sharp-glib-0.6.0.tar.gz"
-MD5SUM="398475a4ed7793eb587c4f0eb913bb7f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="dbus-sharp"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/libraries/dbus-sharp-glib/slack-desc b/libraries/dbus-sharp-glib/slack-desc
deleted file mode 100644
index bad3dc8b69..0000000000
--- a/libraries/dbus-sharp-glib/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------------------------------------------------------|
-dbus-sharp-glib: dbus-sharp-glib (a C# implementation of dbus-glib)
-dbus-sharp-glib:
-dbus-sharp-glib: This is a fork of ndesk-dbus-glib, which provides GLib main loop
-dbus-sharp-glib: integration for dbus-sharp.
-dbus-sharp-glib:
-dbus-sharp-glib: D-Bus is an inter-process communication framework that lets
-dbus-sharp-glib: applications interface with the system event bus as well as
-dbus-sharp-glib: allowing them to talk to one another in a peer-to-peer
-dbus-sharp-glib: configuration.
-dbus-sharp-glib:
-dbus-sharp-glib:
diff --git a/libraries/dbus-sharp/README b/libraries/dbus-sharp/README
deleted file mode 100644
index 086cb8f556..0000000000
--- a/libraries/dbus-sharp/README
+++ /dev/null
@@ -1,7 +0,0 @@
-This is a fork of ndesk-dbus, which is a C# implementation of D-Bus.
-It's often referred to as "managed D-Bus" to avoid confusion with
-existing bindings (which wrap libdbus).
-
-D-Bus is an inter-process communication framework that lets
-applications interface with the system event bus as well as allowing
-them to talk to one another in a peer-to-peer configuration.
diff --git a/libraries/dbus-sharp/dbus-sharp.SlackBuild b/libraries/dbus-sharp/dbus-sharp.SlackBuild
deleted file mode 100644
index f58ba24e86..0000000000
--- a/libraries/dbus-sharp/dbus-sharp.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dbus-sharp
-
-# Copyright 2017 Donald Cooley, South Haven, Indiana USA
-# Copyright 2013 Donald Cooley La Porte, IN 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=dbus-sharp
-VERSION=${VERSION:-0.8.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 {} \;
-
-# We set libdir to /usr/lib because that is where mono lives.
-# We will fix the pkgconfig location on 64bit later.
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-GMCS=/usr/bin/mcs \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib \
- --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
-
-# Fix pkgconfig location on x86_64.
-if [ "$ARCH" = "x86_64" ]; then
- mkdir -p $PKG/usr/lib64
- mv $PKG/usr/lib/pkgconfig $PKG/usr/lib64
-fi
-
-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
-
-mkdir -p $PKG/install
-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/libraries/dbus-sharp/dbus-sharp.info b/libraries/dbus-sharp/dbus-sharp.info
deleted file mode 100644
index 6556b1656a..0000000000
--- a/libraries/dbus-sharp/dbus-sharp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dbus-sharp"
-VERSION="0.8.1"
-HOMEPAGE="https://github.com/mono/dbus-sharp"
-DOWNLOAD="https://github.com/mono/dbus-sharp/releases/download/v0.8.1/dbus-sharp-0.8.1.tar.gz"
-MD5SUM="bb94ab3d9703342a2e936e52c87c783a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="mono"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
diff --git a/libraries/dbus-sharp/slack-desc b/libraries/dbus-sharp/slack-desc
deleted file mode 100644
index 25801b0922..0000000000
--- a/libraries/dbus-sharp/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------------------------------------------------------|
-dbus-sharp: dbus-sharp (C# implementation of D-Bus)
-dbus-sharp:
-dbus-sharp: This is a fork of ndesk-dbus, which is a C# implementation of D-Bus.
-dbus-sharp: It's often referred to as "managed D-Bus" to avoid confusion with
-dbus-sharp: existing bindings (which wrap libdbus).
-dbus-sharp:
-dbus-sharp: D-Bus is an inter-process communication framework that lets
-dbus-sharp: applications interface with the system event bus as well as
-dbus-sharp: allowing them to talk to one another in a peer-to-peer
-dbus-sharp: configuration.
-dbus-sharp:
diff --git a/libraries/dcadec/README b/libraries/dcadec/README
index c3052b188c..5335e56254 100644
--- a/libraries/dcadec/README
+++ b/libraries/dcadec/README
@@ -1,4 +1,4 @@
-dcadec is a free DTS Coherent Acoustics decoder with support for HD extensions.
+dcadec is a free DTS Coherent Acoustics decoder with support for HD
+extensions.
-NOTE:
-dcadec binary is also found in libdca package.
+NOTE: dcadec binary is also found in libdca package.
diff --git a/libraries/dcadec/dcadec.SlackBuild b/libraries/dcadec/dcadec.SlackBuild
index 4ebd2ba818..e995df5b23 100644
--- a/libraries/dcadec/dcadec.SlackBuild
+++ b/libraries/dcadec/dcadec.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dcadec
@@ -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=dcadec
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}
@@ -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/libraries/dcmtk/README b/libraries/dcmtk/README
index 9f0d283feb..c9495e0434 100644
--- a/libraries/dcmtk/README
+++ b/libraries/dcmtk/README
@@ -1,6 +1,6 @@
-The DICOM (Digital Imaging and Communications in Medicine) ToolKit (DCMTK)
-package consists of source code, documentation and installation instructions
-for a set of software libraries and applications implementing part of the
-DICOM/MEDICOM Standard.
+The DICOM (Digital Imaging and Communications in Medicine)
+ToolKit (DCMTK) package consists of source code, documentation
+and installation instructions for a set of software libraries and
+applications implementing part of the DICOM/MEDICOM Standard.
This package is an optional requirement for OpenSceneGraph.
diff --git a/libraries/dcmtk/dcmtk.SlackBuild b/libraries/dcmtk/dcmtk.SlackBuild
index 32f0c69a34..5315e24d13 100644
--- a/libraries/dcmtk/dcmtk.SlackBuild
+++ b/libraries/dcmtk/dcmtk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dcmtk
-# Copyright 2018-2019 Christoph Willing, Brisbane Australia
+# Copyright 2018-2023 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230203 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install ANNOUNCE in doc dir without +x permission.
+# 20220408 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty html dir from doc dir.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dcmtk
SRCNAM=dcmtk-DCMTK
-VERSION=${VERSION:-3.6.5}
+VERSION=${VERSION:-3.6.8}
BUILD=${BUILD:-1}
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}
@@ -66,9 +79,9 @@ 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 {} \+
mkdir build
cd build
@@ -84,22 +97,24 @@ cd build
-DDCMTK_ENABLE_CXX11=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
+gzip -9 $PKG/usr/man/man*/*
+chmod 644 ANNOUNCE # 20230203 bkw: does not need +x permission
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCE CHANGES COPYRIGHT CREDITS FAQ HISTORY INSTALL README VERSION \
+cp -a ANNOUNCE CHANGES COPYRIGHT CREDITS FAQ HISTORY README VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20220408 bkw: this dir is empty... but I suspect it's possible that
+# it might not always be (some optional dep that's required for HTML
+# docs). So only remove if it really is empty.
+rmdir $PKG/usr/doc/$PRGNAM-$VERSION/html 2>/dev/null || true
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/dcmtk/dcmtk.info b/libraries/dcmtk/dcmtk.info
index 09e0222bfb..4d1e7b7439 100644
--- a/libraries/dcmtk/dcmtk.info
+++ b/libraries/dcmtk/dcmtk.info
@@ -1,8 +1,8 @@
PRGNAM="dcmtk"
-VERSION="3.6.5"
+VERSION="3.6.8"
HOMEPAGE="https://dicom.offis.de/dcmtk"
-DOWNLOAD="https://github.com/DCMTK/dcmtk/archive/DCMTK-3.6.5/dcmtk-DCMTK-3.6.5.tar.gz"
-MD5SUM="5e16d05ed958fd1089dfd6cc7ce9a569"
+DOWNLOAD="https://github.com/DCMTK/dcmtk/archive/DCMTK-3.6.8/dcmtk-DCMTK-3.6.8.tar.gz"
+MD5SUM="ce3e878c05165f1a3322c29e67f2426f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/dietlibc/README b/libraries/dietlibc/README
index d314ab4270..bc684eb286 100644
--- a/libraries/dietlibc/README
+++ b/libraries/dietlibc/README
@@ -1,2 +1,5 @@
-dietlibc is a libc that is optimized for small size. It can be used to
-create small statically linked binaries for Linux on various platforms.
+dietlibc (a libc optimized for small size)
+
+dietlibc is a libc that is optimized for small size. It can be used
+to create small statically linked binaries for Linux on various
+platforms.
diff --git a/libraries/dietlibc/dietlibc.SlackBuild b/libraries/dietlibc/dietlibc.SlackBuild
index ad498abce5..9ecae89321 100644
--- a/libraries/dietlibc/dietlibc.SlackBuild
+++ b/libraries/dietlibc/dietlibc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dietlibc
@@ -23,10 +23,16 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+# 20230709 bkw: BUILD=2
+# - new maintainer.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dietlibc
VERSION=${VERSION:-0.34}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,24 +42,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
+# 20230709 bkw: no SLKCFLAGS or LIBDIRSUFFIX needed, use upstream's
+# default CFLAGS.
set -e
@@ -64,11 +63,8 @@ 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 {} +
make
make install DESTDIR=$PKG
@@ -78,20 +74,18 @@ cat $CWD/profile.d/dietlibc.sh > $PKG/etc/profile.d/dietlibc.sh
cat $CWD/profile.d/dietlibc.csh > $PKG/etc/profile.d/dietlibc.csh
chmod 0755 $PKG/etc/profile.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
+strip $PKG/opt/diet/bin/*
-find $PKG/opt/diet/man -type f -exec gzip -9 {} \;
+gzip -9 $PKG/opt/diet/man/*/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHOR* BUGS* CAVEAT* CHANGES* COPYING* FAQ* PORTING* README* SECURITY* THANKS* TODO* \
- $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
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHOR* BUGS* C* FAQ* PORTING* README* SECURITY* THANKS* TODO* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+cat $CWD/README.SLACKWARE > $PKGDOC/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/libraries/dietlibc/dietlibc.info b/libraries/dietlibc/dietlibc.info
index 50928648e5..fa3f2e1c16 100644
--- a/libraries/dietlibc/dietlibc.info
+++ b/libraries/dietlibc/dietlibc.info
@@ -6,5 +6,5 @@ MD5SUM="4f04a6f642548cc5be716a6e0de6b631"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/digimend-kernel-drivers/README b/libraries/digimend-kernel-drivers/README
new file mode 100644
index 0000000000..93d7b7c8cc
--- /dev/null
+++ b/libraries/digimend-kernel-drivers/README
@@ -0,0 +1,29 @@
+DIGImend graphics tablet drivers for the Linux kernel
+
+This package offers better hardware support than the drivers provided
+in the Linux kernel, such as pencil's pressure sensitivity and tablet's
+button mapping.
+
+List of supported tablets can be seen at
+https://digimend.github.io/drivers/digimend/tablets/
+
+NOTE:
+This will overwrite some existing kernel modules in Slackware kernel
+- hid-kye.ko
+- hid-uclogic.ko
+- hid-polostar.ko (Linux kernel 5.4.x+)
+- hid-viewsonic.ko (Linux kernel 5.4.x+)
+
+You must rebuilt this package if you upgrade your kernel.
+You can simply remove this package and reinstall kernel-modules to
+switch back to original kernel modules.
+
+If you are rebuilding this driver, you can simply run this command
+to reload the new drivers instead of rebooting the machine:
+
+for stable:
+ modprobe -r hid-kye hid-uclogic
+for current:
+ modprobe -r hid-kye hid-uclogic hid-polostar hid-viewsonic
+
+This driver is tested on Huion Inspiroy H430P
diff --git a/libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild
new file mode 100644
index 0000000000..e720ec814d
--- /dev/null
+++ b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for digimend-kernel-drivers
+
+# Copyright 2020-2023 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=digimend-kernel-drivers
+VERSION=${VERSION:-11}
+GITVER=eca6e1b701bffb80a293234a485ebf6b4bc85562
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+KERNEL=${KERNEL:-$(uname -r)}
+KERNELPATH=${KERNELPATH:-/lib/modules/$KERNEL/build}
+PKG_VERS=${VERSION}_$(echo $KERNEL | tr - _)
+
+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-$PKG_VERS-$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-$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 {} \;
+
+# don't run depmod here
+sed -i '/depmod -a$/d' Makefile
+# don't run udevadm here
+sed -i '/^install:/s/ udev_rules_install / udev_rules_install_files /' Makefile
+make KVERSION=$KERNEL
+make install DESTDIR=$PKG KVERSION=$KERNEL
+
+mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/hid/
+cp hid*.ko $PKG/lib/modules/$KERNEL/kernel/drivers/hid/
+
+find $PKG -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-$PKG_VERS
+cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$PKG_VERS
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKG_VERS/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKG_VERS-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/digimend-kernel-drivers/digimend-kernel-drivers.info b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.info
new file mode 100644
index 0000000000..17ae14316e
--- /dev/null
+++ b/libraries/digimend-kernel-drivers/digimend-kernel-drivers.info
@@ -0,0 +1,10 @@
+PRGNAM="digimend-kernel-drivers"
+VERSION="11"
+HOMEPAGE="https://github.com/DIGImend/digimend-kernel-drivers"
+DOWNLOAD="https://github.com/DIGImend/digimend-kernel-drivers/archive/eca6e1b701bffb80a293234a485ebf6b4bc85562/digimend-kernel-drivers-eca6e1b701bffb80a293234a485ebf6b4bc85562.zip"
+MD5SUM="047a6b06b377fb4f179b07a7e0c5abe6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="%README%"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/digimend-kernel-drivers/doinst.sh b/libraries/digimend-kernel-drivers/doinst.sh
new file mode 100644
index 0000000000..893d0a386e
--- /dev/null
+++ b/libraries/digimend-kernel-drivers/doinst.sh
@@ -0,0 +1,5 @@
+chroot . /sbin/depmod -a @KERNEL@
+
+if [ -x /sbin/udevadm ]; then
+ /sbin/udevadm control --reload
+fi
diff --git a/libraries/digimend-kernel-drivers/slack-desc b/libraries/digimend-kernel-drivers/slack-desc
new file mode 100644
index 0000000000..892ac4c16a
--- /dev/null
+++ b/libraries/digimend-kernel-drivers/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------------------------------------------------------|
+digimend-kernel-drivers: digimend-kernel-drivers (Digimend graphics tablet drivers)
+digimend-kernel-drivers:
+digimend-kernel-drivers:
+digimend-kernel-drivers: DIGImend graphics tablet drivers for the Linux kernel
+digimend-kernel-drivers:
+digimend-kernel-drivers:
+digimend-kernel-drivers:
+digimend-kernel-drivers: Project URL:
+digimend-kernel-drivers: https://github.com/DIGImend/digimend-kernel-drivers
+digimend-kernel-drivers:
+digimend-kernel-drivers:
diff --git a/libraries/discogs-client/README b/libraries/discogs-client/README
deleted file mode 100644
index f34c2e1c00..0000000000
--- a/libraries/discogs-client/README
+++ /dev/null
@@ -1,6 +0,0 @@
-This is the official Discogs API client for Python. It enables you
-to query the Discogs database for information on artists, releases,
-labels, users, Marketplace listings, and more. It also supports
-OAuth 1.0a authorization, which allows you to change user data such
-as profile information, collections and wantlists, inventory,
-and orders.
diff --git a/libraries/discogs-client/discogs-client.SlackBuild b/libraries/discogs-client/discogs-client.SlackBuild
deleted file mode 100644
index 380f2cd12f..0000000000
--- a/libraries/discogs-client/discogs-client.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for discogs-client
-
-# 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=discogs-client
-VERSION=${VERSION:-2.2.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 {} \;
-
-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/doc/$PRGNAM-$VERSION
-cp -a 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/libraries/discogs-client/discogs-client.info b/libraries/discogs-client/discogs-client.info
deleted file mode 100644
index 96a96d5270..0000000000
--- a/libraries/discogs-client/discogs-client.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="discogs-client"
-VERSION="2.2.1"
-HOMEPAGE="https://github.com/discogs/discogs_client"
-DOWNLOAD="https://pypi.python.org/packages/source/d/discogs-client/discogs-client-2.2.1.tar.gz"
-MD5SUM="c82be8006e1c02fcfc2bb42a2e312151"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python-oauthlib python-requests six"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/discogs-client/slack-desc b/libraries/discogs-client/slack-desc
deleted file mode 100644
index 99bf58feb8..0000000000
--- a/libraries/discogs-client/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------------------------------------------------------|
-discogs-client: discogs-client (Official Python API client for Discogs)
-discogs-client:
-discogs-client: This is the official Discogs API client for Python. It enables
-discogs-client: you to query the Discogs database for information on artists,
-discogs-client: releases, labels, users, Marketplace listings, and more. It also
-discogs-client: supports OAuth 1.0a authorization, which allows you to change user
-discogs-client: data such as profile information, collections and wantlists,
-discogs-client: inventory, and orders.
-discogs-client:
-discogs-client: Homepage: https://github.com/discogs/discogs_client
-discogs-client:
diff --git a/libraries/dlib/README b/libraries/dlib/README
index 6ccb0e49bd..53f2aff75a 100644
--- a/libraries/dlib/README
+++ b/libraries/dlib/README
@@ -7,6 +7,6 @@ allows you to use it in any application, free of charge.
Auto detected optional dependencies:
- Blas: An implementation of Blas such as blas and atlas
-- Lapack: An implementation of Lapack such as lapack and lapack-atlas
+- Lapack: An implementation of Lapack such as lapack
- cblas
- cudatoolkit
diff --git a/libraries/dlib/dlib.SlackBuild b/libraries/dlib/dlib.SlackBuild
index 46618229ec..915640449e 100644
--- a/libraries/dlib/dlib.SlackBuild
+++ b/libraries/dlib/dlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dlib
@@ -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=dlib
VERSION=${VERSION:-19.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}
@@ -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/libraries/dmlc-core/README b/libraries/dmlc-core/README
new file mode 100644
index 0000000000..f6948f2be2
--- /dev/null
+++ b/libraries/dmlc-core/README
@@ -0,0 +1,3 @@
+ DMLC-Core is the backbone library to support all DMLC projects,
+offers the bricks to build efficient and scalable distributed
+machine learning libraries.
diff --git a/libraries/dmlc-core/dmlc-core.SlackBuild b/libraries/dmlc-core/dmlc-core.SlackBuild
new file mode 100644
index 0000000000..c5bc1551c4
--- /dev/null
+++ b/libraries/dmlc-core/dmlc-core.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for dmlc-core
+
+# 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=dmlc-core
+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.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 \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DCMAKE_INSTALL_DATAROOTDIR=/usr \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -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 -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE 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/libraries/dmlc-core/dmlc-core.info b/libraries/dmlc-core/dmlc-core.info
new file mode 100644
index 0000000000..20d40b03c6
--- /dev/null
+++ b/libraries/dmlc-core/dmlc-core.info
@@ -0,0 +1,10 @@
+PRGNAM="dmlc-core"
+VERSION="0.5"
+HOMEPAGE="https://github.com/dmlc/dmlc-core"
+DOWNLOAD="https://github.com/dmlc/dmlc-core/archive/v0.5/dmlc-core-0.5.tar.gz"
+MD5SUM="5b2b24ab4dd39db51c53ef5e780ed8e2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/dmlc-core/slack-desc b/libraries/dmlc-core/slack-desc
new file mode 100644
index 0000000000..04b55ff652
--- /dev/null
+++ b/libraries/dmlc-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------------------------------------------------------|
+dmlc-core: dmlc-core (library for DMLC projects)
+dmlc-core:
+dmlc-core:
+dmlc-core:
+dmlc-core: DMLC-Core is the backbone library to support all DMLC projects,
+dmlc-core: offers the bricks to build efficient and scalable distributed
+dmlc-core: machine learning libraries.
+dmlc-core:
+dmlc-core:
+dmlc-core:
+dmlc-core:
diff --git a/libraries/dotconf/README b/libraries/dotconf/README
deleted file mode 100644
index 2ddae26f2a..0000000000
--- a/libraries/dotconf/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Dot.conf is a lightweight and simple configuration file parser that
-contains many features.
diff --git a/libraries/dotconf/dotconf.SlackBuild b/libraries/dotconf/dotconf.SlackBuild
deleted file mode 100644
index 87d4e0d2b8..0000000000
--- a/libraries/dotconf/dotconf.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for dotconf
-
-# Copyright 2016 Edward W. Koenig, Vancouver, WA <kingbeowulf@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=dotconf
-VERSION=${VERSION:-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" = "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 {} \;
-
-autoreconf -fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --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 INSTALL 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/libraries/dotconf/dotconf.info b/libraries/dotconf/dotconf.info
deleted file mode 100644
index 5fac8a6d04..0000000000
--- a/libraries/dotconf/dotconf.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dotconf"
-VERSION="1.3"
-HOMEPAGE="https://github.com/williamh/dotconf/"
-DOWNLOAD="https://github.com/williamh/dotconf/archive/v1.3/dotconf-1.3.tar.gz"
-MD5SUM="b3ba921e45b05e89bf69835c0f30bc14"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
diff --git a/libraries/dotconf/slack-desc b/libraries/dotconf/slack-desc
deleted file mode 100644
index c018dd8cce..0000000000
--- a/libraries/dotconf/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------------------------------------------------------|
-dotconf: dotconf (configuration file parser)
-dotconf:
-dotconf: Dot.conf is a lightweight and simple configuration file parser that
-dotconf: contains many features.
-dotconf:
-dotconf: Homepage: https://github.com/williamh/dotconf/
-dotconf:
-dotconf:
-dotconf:
-dotconf:
-dotconf:
diff --git a/libraries/double-conversion/README b/libraries/double-conversion/README
index 2357add844..058f4fed14 100644
--- a/libraries/double-conversion/README
+++ b/libraries/double-conversion/README
@@ -1,12 +1,13 @@
-Efficient binary-decimal and decimal-binary conversion routines for
-IEEE doubles.
+double-conversion provides efficient binary-decimal and decimal-binary
+conversion routines for IEEE doubles.
The library consists of efficient conversion routines that have been
extracted from the V8 JavaScript engine. The code has been refactored
and improved so that it can be used more easily in other projects.
There is extensive documentation in
- double-conversion/double-conversion.h
+ double-conversion/string-to-double.h
+ double-conversion/double-to-string.h
Other examples can be found in
test/cctest/test-conversions.cc
diff --git a/libraries/double-conversion/double-conversion.SlackBuild b/libraries/double-conversion/double-conversion.SlackBuild
index a27d8514ab..b6ef196642 100644
--- a/libraries/double-conversion/double-conversion.SlackBuild
+++ b/libraries/double-conversion/double-conversion.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Google double-conversion
+# Copyright 2023 Steven Voges <Oregon, USA>
# Copyright 2016 Andre Barboza, Belo Horizonte - Brazil
# All rights reserved.
#
@@ -22,10 +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=double-conversion
-VERSION=${VERSION:-3.0.0}
+VERSION=${VERSION:-3.3.0}
+TESTING=${TESTING:-OFF}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -75,7 +84,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DINSTALL_CMAKE_DIR=/usr/lib${LIBDIRSUFFIX}/cmake \
+ -DBUILD_TESTING=$TESTING \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -85,11 +94,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 -ra AUTHORS BUILD COPYING Changelog LICENSE README.md WORKSPACE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS BUILD COPYING 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/double-conversion/double-conversion.info b/libraries/double-conversion/double-conversion.info
index abc95f0c75..a2ca1e07f7 100644
--- a/libraries/double-conversion/double-conversion.info
+++ b/libraries/double-conversion/double-conversion.info
@@ -1,10 +1,10 @@
PRGNAM="double-conversion"
-VERSION="3.0.0"
+VERSION="3.3.0"
HOMEPAGE="https://github.com/google/double-conversion/"
-DOWNLOAD="https://github.com/google/double-conversion/archive/v3.0.0/double-conversion-3.0.0.tar.gz"
-MD5SUM="7c8e8bcaae6c9def83b7ee7396f18e5e"
+DOWNLOAD="https://github.com/google/double-conversion/archive/v3.3.0/double-conversion-3.3.0.tar.gz"
+MD5SUM="b344abb64084a4a1d98a43e67752989b"
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/libraries/double-conversion/slack-desc b/libraries/double-conversion/slack-desc
index c8c7cd0fb7..a1c3df7809 100644
--- a/libraries/double-conversion/slack-desc
+++ b/libraries/double-conversion/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-double-conversion: double-conversion (Efficient binary<->decimal double conversions)
+double-conversion: double-conversion (Efficient binary<->decimal conversions)
+double-conversion:
+double-conversion: Efficient binary-decimal and decimal-binary conversion routines for
+double-conversion: IEEE doubles.
+double-conversion:
+double-conversion: Homepage: https://github.com/google/double-conversion
+double-conversion:
double-conversion:
-double-conversion: This project provides binary-decimal and decimal-binary routines for
-double-conversion: IEEE doubles.
-double-conversion: The library consists of efficient conversion routines that have been
-double-conversion: extracted from the V8 JavaScript engine. The code has been refactored
-double-conversion: and improved so that it can be used more easily in other projects.
double-conversion:
double-conversion:
-double-conversion: https://github.com/google/double-conversion/
double-conversion:
diff --git a/libraries/dpdk/README b/libraries/dpdk/README
new file mode 100644
index 0000000000..debc64c3dc
--- /dev/null
+++ b/libraries/dpdk/README
@@ -0,0 +1,16 @@
+DPDK is a set of libraries and drivers for fast packet processing.
+It supports many processor architectures and both FreeBSD and Linux.
+
+The DPDK uses the Open Source BSD-3-Clause license for the core
+libraries
+and drivers. The kernel components are GPL-2.0 licensed.
+
+Please check the doc directory for release notes,
+API documentation, and sample application information.
+
+For questions and usage discussions, subscribe to: users@dpdk.org
+Report bugs and issues to the development mailing list: dev@dpdk.org
+
+Dependencies which are not on SBo, but can be added are: libmlx5,
+libmusdk, libxdp, mlx4,libwd, libisal, and cudatoolkit newer that the
+one on SBo
diff --git a/libraries/dpdk/dpdk.SlackBuild b/libraries/dpdk/dpdk.SlackBuild
new file mode 100644
index 0000000000..3cec0dbc98
--- /dev/null
+++ b/libraries/dpdk/dpdk.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+# Slackware build script for dpdk
+# Copyright 2023 Lockywolf Earth
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=dpdk
+VERSION=${VERSION:-22.11.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 dpdk-stable-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd dpdk-stable-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 -Dtests=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
+find $PKG -type f -name '*.a' -print -delete
+rm -rf "$PKG/usr/share/doc"
+
+
+
+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
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/dpdk/dpdk.info b/libraries/dpdk/dpdk.info
new file mode 100644
index 0000000000..ff79f99b25
--- /dev/null
+++ b/libraries/dpdk/dpdk.info
@@ -0,0 +1,10 @@
+PRGNAM="dpdk"
+VERSION="22.11.1"
+HOMEPAGE="https://fast.dpdk.org/rel/"
+DOWNLOAD="https://fast.dpdk.org/rel/dpdk-22.11.1.tar.xz"
+MD5SUM="0594708fe42ce186a55b0235c6e20cfe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="device-tree-compiler libbsd libbpf pyelftools"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.libbpf_2023-05-10@lockywolf.net"
diff --git a/libraries/dpdk/slack-desc b/libraries/dpdk/slack-desc
new file mode 100644
index 0000000000..2d0cdea8b2
--- /dev/null
+++ b/libraries/dpdk/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------------------------------------------------------|
+dpdk: dpdk (a set of libraries and drivers for fast packet processing)
+dpdk:
+dpdk: DPDK is a set of libraries and drivers for fast packet processing.
+dpdk: It supports many processor architectures and both FreeBSD and Linux.
+dpdk:
+dpdk:
+dpdk:
+dpdk:
+dpdk:
+dpdk:
+dpdk:
diff --git a/libraries/dropbox-python/README b/libraries/dropbox-python/README
index f87416e916..2da12fb763 100644
--- a/libraries/dropbox-python/README
+++ b/libraries/dropbox-python/README
@@ -1,4 +1,2 @@
Official Dropbox REST API Client. Dropbox Core SDK for Python.
A Python library that for Dropbox's HTTP-based Core and Datastore APIs.
-
-NOTE: for python3 build python3 and python3-six requires.
diff --git a/libraries/dropbox-python/dropbox-python.SlackBuild b/libraries/dropbox-python/dropbox-python.SlackBuild
index 11f45dab81..ed3c73d17d 100644
--- a/libraries/dropbox-python/dropbox-python.SlackBuild
+++ b/libraries/dropbox-python/dropbox-python.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dropbox-python
-# 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,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=dropbox-python
SCRNAM=$(printf $PRGNAM | cut -c1-7)
-VERSION=${VERSION:-9.4.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-11.36.2}
+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,12 +80,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
-
-# 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
@@ -88,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/libraries/dropbox-python/dropbox-python.info b/libraries/dropbox-python/dropbox-python.info
index 05a9a95933..2a98e4c1ff 100644
--- a/libraries/dropbox-python/dropbox-python.info
+++ b/libraries/dropbox-python/dropbox-python.info
@@ -1,10 +1,10 @@
PRGNAM="dropbox-python"
-VERSION="9.4.0"
+VERSION="11.36.2"
HOMEPAGE="https://www.dropbox.com/"
-DOWNLOAD="https://files.pythonhosted.org/packages/88/c9/899c5d112eb4aa48fb611153c2f2eadafd859cbdee637b376d140a60e50d/dropbox-9.4.0.tar.gz"
-MD5SUM="25f2106e9d4ee7b063749c8f22a567dc"
+DOWNLOAD="https://files.pythonhosted.org/packages/8d/0f/2059c5ef8669e625a533661a2054a82241696954df6662aeee51a34b1022/dropbox-11.36.2.tar.gz"
+MD5SUM="82a0b35467b23ba51780ddbc008f005c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pytest-runner six python-requests"
+REQUIRES="python3-stone"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/dumb/README b/libraries/dumb/README
new file mode 100644
index 0000000000..13b06f4789
--- /dev/null
+++ b/libraries/dumb/README
@@ -0,0 +1,4 @@
+DUMB is a module audio renderer library.
+
+It reads module files and outputs audio that can be dumped to the actual
+audio playback library.
diff --git a/libraries/dumb/dumb.SlackBuild b/libraries/dumb/dumb.SlackBuild
new file mode 100644
index 0000000000..5b70ea158d
--- /dev/null
+++ b/libraries/dumb/dumb.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for dumb
+
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=dumb
+VERSION=${VERSION:-2.0.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+rm -rf $TMP/$PRGNAM-$VERSION
+mkdir -p $TMP $PKG $OUTPUT
+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 {} \;
+
+mkdir build
+cd build
+cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_ALLEGRO4:BOOL=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+make install DESTDIR=$PKG
+cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS:BOOL=OFF \
+ -DBUILD_ALLEGRO4:BOOL=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+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 *.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/libraries/dumb/dumb.info b/libraries/dumb/dumb.info
new file mode 100644
index 0000000000..b7efd699e3
--- /dev/null
+++ b/libraries/dumb/dumb.info
@@ -0,0 +1,10 @@
+PRGNAM="dumb"
+VERSION="2.0.3"
+HOMEPAGE="https://github.com/kode54/dumb"
+DOWNLOAD="https://github.com/kode54/dumb/archive/2.0.3/dumb-2.0.3.tar.gz"
+MD5SUM="367fe8a04a7d102ed57810c757694403"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="allegro4 argtable"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/dumb/slack-desc b/libraries/dumb/slack-desc
new file mode 100644
index 0000000000..a57d4b6839
--- /dev/null
+++ b/libraries/dumb/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------------------------------------------------------|
+dumb: dumb (Dynamic Universal Music Bibliotheque)
+dumb:
+dumb: DUMB is a module audio renderer library.
+dumb:
+dumb: It reads module files and outputs audio that can be dumped to the
+dumb: actual audio playback library.
+dumb:
+dumb:
+dumb:
+dumb:
+dumb:
diff --git a/libraries/edelib/README b/libraries/edelib/README
index 8b02dcf27a..4c9a39e1d5 100644
--- a/libraries/edelib/README
+++ b/libraries/edelib/README
@@ -1,3 +1,3 @@
-edelib is small and portable C++ library for EDE (Equinox Desktop Environment).
-Aims are to provide enough background for easier EDE components construction
-and development.
+edelib is small and portable C++ library for EDE (Equinox Desktop
+Environment). Aims are to provide enough background for easier EDE
+components construction and development.
diff --git a/libraries/edelib/edelib.SlackBuild b/libraries/edelib/edelib.SlackBuild
index f5d856a0be..4c59a6b561 100644
--- a/libraries/edelib/edelib.SlackBuild
+++ b/libraries/edelib/edelib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for edelib
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - use correct Slackware doc dir.
+# - remove useless INSTALL from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=edelib
VERSION=${VERSION:-2.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"
@@ -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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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/edelib.patch
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
@@ -93,11 +105,16 @@ jam -sDESTDIR=$PKG -slibdir=$PKG/usr/lib${LIBDIRSUFFIX} \
find $PKG -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 ChangeLog $PKG/usr/doc/$PRGNAM-${VERSION}.0
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-${VERSION}.0/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKGDOC.0 $PKGDOC
+rm -f $PKGDOC/INSTALL
+cp ChangeLog $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/edelib/edelib.info b/libraries/edelib/edelib.info
index 5b962aeb53..2c9405c22f 100644
--- a/libraries/edelib/edelib.info
+++ b/libraries/edelib/edelib.info
@@ -1,7 +1,7 @@
PRGNAM="edelib"
VERSION="2.1"
-HOMEPAGE="http://edeproject.org/"
-DOWNLOAD="http://sourceforge.mirrorservice.org/e/ed/ede/edelib/2.1/edelib-2.1.tar.gz"
+HOMEPAGE="https://edeproject.org/"
+DOWNLOAD="https://sourceforge.net/projects/ede/files/edelib/2.1/edelib-2.1.tar.gz"
MD5SUM="2e6ee2e1ceaea327967ed55868a1cb9f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/efivar/README b/libraries/efivar/README
deleted file mode 100644
index 18459b204f..0000000000
--- a/libraries/efivar/README
+++ /dev/null
@@ -1 +0,0 @@
-efivar - Tools and libraries to manipulate EFI variables
diff --git a/libraries/efivar/efivar.SlackBuild b/libraries/efivar/efivar.SlackBuild
deleted file mode 100644
index 19ab3ecf46..0000000000
--- a/libraries/efivar/efivar.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for efivar
-
-# Copyright 2017-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=efivar
-VERSION=${VERSION:-37}
-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
-
-SLKCFLAGS="$SLKCFLAGS -flto"
-
-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 -j1 libdir=/usr/lib$LIBDIRSUFFIX/ mandir=/usr/man/
-make -j1 install DESTDIR=$PKG/ libdir=/usr/lib$LIBDIRSUFFIX/ mandir=/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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING 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:-tgz}
diff --git a/libraries/efivar/efivar.info b/libraries/efivar/efivar.info
deleted file mode 100644
index 9858916849..0000000000
--- a/libraries/efivar/efivar.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="efivar"
-VERSION="37"
-HOMEPAGE="https://github.com/rhboot/efivar"
-DOWNLOAD="https://github.com/rhboot/efivar/archive/37/efivar-37.tar.gz"
-MD5SUM="c47be879853137b6493fe49dd9c70e1d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Clemons"
-EMAIL="andrew.clemons@gmail.com"
diff --git a/libraries/efivar/slack-desc b/libraries/efivar/slack-desc
deleted file mode 100644
index f2eca450ba..0000000000
--- a/libraries/efivar/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------------------------------------------------------|
-efivar: efivar (Tools and library to manipulate EFI variables.)
-efivar:
-efivar: Tools and libraries to manipulate EFI variables
-efivar:
-efivar: https://github.com/rhboot/efivar
-efivar:
-efivar:
-efivar:
-efivar:
-efivar:
-efivar:
diff --git a/libraries/efl/README b/libraries/efl/README
index 723af18d3b..491477e53b 100644
--- a/libraries/efl/README
+++ b/libraries/efl/README
@@ -2,10 +2,5 @@ Enlightenment Foundation Library
It provides the basic building blocks for creating applications and
user interfaces.
-This package supersedes the following obsolete packages:
- e_dbus ecore edje eet efreet eina eio elementary embryo emotion ethumb evas
-
-Please remove the above packages before installing this one.
-
-NOTE: You must remove any previous installation of efl before running this
-script, otherwise the build will fail.
+NOTE: You must remove any previous installation of efl before running
+this script, otherwise the build will fail.
diff --git a/libraries/efl/doinst.sh b/libraries/efl/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/libraries/efl/doinst.sh
+++ b/libraries/efl/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/libraries/efl/efl.SlackBuild b/libraries/efl/efl.SlackBuild
index 356c593ad0..601e5b724f 100644
--- a/libraries/efl/efl.SlackBuild
+++ b/libraries/efl/efl.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for efl
-# Erik Falor | Logan, UT | ewfalor@gmail.com
+# Erik Falor | Logan, UT, USA | ewfalor@gmail.com | January 2024
+# All rights reserved.
# 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
@@ -21,10 +22,13 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=efl
-VERSION=${VERSION:-1.21.1}
+VERSION=${VERSION:-1.27.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}
@@ -53,13 +64,8 @@ else
LIBDIRSUFFIX=""
fi
-if [ -e /usr/bin/elementary_run ]; then
- echo "A previous installation of efl has been detected."
- echo "Please uninstall it before running this script."
- exit 1
-fi
-
-DOCS="ABOUT-NLS AUTHORS COMPLIANCE COPYING ChangeLog NEWS README"
+DOCS="AUTHORS COMPLIANCE COPYING README.md"
+LICENSES="licenses/COPYING.ASL licenses/COPYING.BSD licenses/COPYING.DNS licenses/COPYING.FTL licenses/COPYING.GPL licenses/COPYING.LGPL licenses/COPYING.NGINX-MIT licenses/COPYING.SMALL"
set -e
@@ -76,26 +82,36 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i '1i msgid ""\nmsgstr ""\n"Content-Type: text/plain; charset=UTF-8"\n' src/examples/edje/*/*.po
+
+meson . build \
+ --prefix=/usr/ \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ -Dsystemd=false \
+ -Decore-imf-loaders-disabler=scim \
+ -Dglib=true \
+ -Dbuild-id="$ARCH"-slackware-linux
+
+# 20200416 bkw: vita_cell on IRC reported missing DSO errors for -lm
+# and -ldl. efl has a LOT of optional/autodetected libraries, I couldn't
+# duplicate his problem, but it looks like some optional library normally
+# adds the -lm -ldl in its pkgconfig file and he was missing whatever
+# it was. In any case, adding them here won't hurt anything.
+LIBS="-lm -ldl" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-systemd \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+"${NINJA:=ninja}" -C build -v
+
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/licenses
+cp -a $LICENSES $PKG/usr/doc/$PRGNAM-$VERSION/licenses
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -103,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/libraries/efl/efl.info b/libraries/efl/efl.info
index 6ecc703b39..36e7549b14 100644
--- a/libraries/efl/efl.info
+++ b/libraries/efl/efl.info
@@ -1,8 +1,8 @@
PRGNAM="efl"
-VERSION="1.21.1"
+VERSION="1.27.0"
HOMEPAGE="https://www.enlightenment.org/"
-DOWNLOAD="https://download.enlightenment.org/rel/libs/efl/efl-1.21.1.tar.xz"
-MD5SUM="275ae48d6fdd1ebd47c1f2d0426d5dfc"
+DOWNLOAD="https://download.enlightenment.org/rel/libs/efl/efl-1.27.0.tar.xz"
+MD5SUM="0efa0cbdb915752c99861eb91933f59f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="luajit bullet"
diff --git a/libraries/efl/setup.sh b/libraries/efl/setup.sh
new file mode 100644
index 0000000000..1c2a1c929b
--- /dev/null
+++ b/libraries/efl/setup.sh
@@ -0,0 +1,30 @@
+PRGNAM=efl
+VERSION=${VERSION:-1.21.1}
+ARCH=$( uname -m )
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+SLKCFLAGS="-O2 -fPIC"
+LIBDIRSUFFIX="64"
+
+
+tar xvf /mnt/mysbo/efl/$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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-systemd \
+ --build=$ARCH-slackware-linux
diff --git a/libraries/ell/README b/libraries/ell/README
new file mode 100644
index 0000000000..4772d79eb6
--- /dev/null
+++ b/libraries/ell/README
@@ -0,0 +1,2 @@
+Embedded Linux Library provides core, low-level functionality for
+system daemons.
diff --git a/libraries/ell/ell.SlackBuild b/libraries/ell/ell.SlackBuild
new file mode 100644
index 0000000000..0944559867
--- /dev/null
+++ b/libraries/ell/ell.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for ell
+
+# Copyright 2024 Thibaut Notteboom, Paris, FRANCE
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ell
+VERSION=${VERSION:-0.64}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ell/ell.info b/libraries/ell/ell.info
new file mode 100644
index 0000000000..f421ac83e9
--- /dev/null
+++ b/libraries/ell/ell.info
@@ -0,0 +1,10 @@
+PRGNAM="ell"
+VERSION="0.64"
+HOMEPAGE="https://git.kernel.org/pub/scm/libs/ell/ell.git"
+DOWNLOAD="https://mirrors.edge.kernel.org/pub/linux/libs/ell/ell-0.64.tar.gz"
+MD5SUM="8172c03f912bfa800b61bdbb4cb5ab3f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Thibaut Notteboom"
+EMAIL="thibaut.notteboom@gmail.com"
diff --git a/libraries/ell/slack-desc b/libraries/ell/slack-desc
new file mode 100644
index 0000000000..63036d7301
--- /dev/null
+++ b/libraries/ell/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ell: ell (Embedded Linux library)
+ell:
+ell: Embedded Linux Library provides core, low-level functionality for
+ell: system daemons.
+ell:
+ell:
+ell:
+ell:
+ell:
+ell:
+ell:
diff --git a/libraries/enca/enca.SlackBuild b/libraries/enca/enca.SlackBuild
index 38d2ebd4fc..67c9b5ee4d 100644
--- a/libraries/enca/enca.SlackBuild
+++ b/libraries/enca/enca.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for enca
@@ -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=enca
VERSION=${VERSION:-1.19}
-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}
@@ -96,8 +106,10 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
(cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s ../../share/gtk-doc/html/libenca html)
+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/libraries/enchant2/README b/libraries/enchant2/README
deleted file mode 100644
index ebd9776e3f..0000000000
--- a/libraries/enchant2/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Enchant aims to provide a simple but comprehensive abstraction for
-dealing with different spell checking libraries in a consistent way.
-
-NOTE: This package can coexist with Slackware's enchant package.
diff --git a/libraries/enchant2/enchant2.SlackBuild b/libraries/enchant2/enchant2.SlackBuild
deleted file mode 100644
index 46308a938e..0000000000
--- a/libraries/enchant2/enchant2.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for enchant2
-
-# Copyright 2018-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=enchant2
-SRCNAM=enchant
-VERSION=${VERSION:-2.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 $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 xvf $CWD/gnulib-20180922.tar.gz
-
-./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
-cp -a AUTHORS COPYING.LIB ChangeLog HACKING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-# Removed enchant.ordering which conflict with Slackware's enchant
-rm -rf $PKG/usr/share/
-
-# Removed shared and static library
-rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.a
-rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.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}
diff --git a/libraries/enchant2/enchant2.info b/libraries/enchant2/enchant2.info
deleted file mode 100644
index b0f60126a6..0000000000
--- a/libraries/enchant2/enchant2.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="enchant2"
-VERSION="2.2.7"
-HOMEPAGE="https://github.com/AbiWord/enchant"
-DOWNLOAD="https://github.com/AbiWord/enchant/archive/v2.2.7/enchant-2.2.7.tar.gz \
- https://sourceforge.net/projects/slackbuildsdirectlinks/files/enchant2/gnulib-20180922.tar.gz"
-MD5SUM="a4af0a6d751cf95705594c4278c2d72c \
- 92f099bb383ba5e706c7c78a437b2222"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/enchant2/slack-desc b/libraries/enchant2/slack-desc
deleted file mode 100644
index 7e7aba299d..0000000000
--- a/libraries/enchant2/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------------------------------------------------------|
-enchant2: enchant2 (enchant spellchecking library)
-enchant2:
-enchant2: Enchant aims to provide a simple but comprehensive abstraction for
-enchant2: dealing with different spell checking libraries in a consistent way.
-enchant2:
-enchant2:
-enchant2:
-enchant2:
-enchant2: Project URL: https://github.com/AbiWord/enchant
-enchant2:
-enchant2:
diff --git a/libraries/enum34/README b/libraries/enum34/README
deleted file mode 100644
index 511af98413..0000000000
--- a/libraries/enum34/README
+++ /dev/null
@@ -1,2 +0,0 @@
-enum34 is the new Python stdlib enum module available in Python 3.4
-backported for previous versions of Python from 2.4 to 3.3.
diff --git a/libraries/enum34/enum34.SlackBuild b/libraries/enum34/enum34.SlackBuild
deleted file mode 100644
index 8e4f662533..0000000000
--- a/libraries/enum34/enum34.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for enum34
-
-# 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=enum34
-VERSION=${VERSION:-1.1.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 {} \;
-
-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/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO enum/LICENSE enum/README enum/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/libraries/enum34/enum34.info b/libraries/enum34/enum34.info
deleted file mode 100644
index bad09b3250..0000000000
--- a/libraries/enum34/enum34.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="enum34"
-VERSION="1.1.6"
-HOMEPAGE="https://pypi.python.org/pypi/enum34"
-DOWNLOAD="https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz"
-MD5SUM="5f13a0841a61f7fc295c514490d120d0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/enum34/slack-desc b/libraries/enum34/slack-desc
deleted file mode 100644
index d9ce9cd84a..0000000000
--- a/libraries/enum34/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------------------------------------------------------|
-enum34: enum34 (backported Python 3.4 Enum)
-enum34:
-enum34: An enumeration is a set of symbolic names (members) bound to unique,
-enum34: constant values. Within an enumeration, the members can be compared
-enum34: by identity, and the enumeration itself can be iterated over.
-enum34:
-enum34: Homepage : https://pypi.python.org/pypi/enum34
-enum34:
-enum34:
-enum34:
-enum34:
diff --git a/libraries/eris/README b/libraries/eris/README
index 1d5121d055..5228f532e8 100644
--- a/libraries/eris/README
+++ b/libraries/eris/README
@@ -1,4 +1,5 @@
-Eris is designed to simplify client development (and avoid duplicating effort)
-by providing a common framework to deal with server communications. Notably,
-Eris encapsulates most of the work in getting Atlas entities available on your
-client, logging into a server, and managing updates from the server.
+Eris is designed to simplify client development (and avoid duplicating
+effort) by providing a common framework to deal with server
+communications. Notably, Eris encapsulates most of the work in getting
+Atlas entities available on your client, logging into a server, and
+managing updates from the server.
diff --git a/libraries/eris/eris.SlackBuild b/libraries/eris/eris.SlackBuild
index 42e54b4208..a0a66d8374 100644
--- a/libraries/eris/eris.SlackBuild
+++ b/libraries/eris/eris.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for eris
@@ -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=eris
VERSION=${VERSION:-1.3.23}
-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}
@@ -70,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -90,8 +100,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGES-1.4 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/libraries/evernote-python/README b/libraries/evernote-python/README
index 9cdd605c48..27f744aed3 100644
--- a/libraries/evernote-python/README
+++ b/libraries/evernote-python/README
@@ -1,7 +1,8 @@
Evernote SDK for Python.
-This SDK contains wrapper code used to call the Evernote Cloud API from Python.
+This SDK contains wrapper code used to call the Evernote Cloud API
+from Python.
-The SDK also contains a sample script.The code demonstrates the basic use of
-the SDK for single-user scripts. Real web applications must use OAuth to
-authenticate to the Evernote service.
+The SDK also contains a sample script. The code demonstrates the basic
+use of the SDK for single-user scripts. Real web applications must use
+OAuth to authenticate to the Evernote service.
diff --git a/libraries/evernote-python/evernote-python.SlackBuild b/libraries/evernote-python/evernote-python.SlackBuild
index b5dc37ec14..584bc599de 100644
--- a/libraries/evernote-python/evernote-python.SlackBuild
+++ b/libraries/evernote-python/evernote-python.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for evernote-python
@@ -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=evernote-python
SRCNAM=evernote
VERSION=${VERSION:-1.25.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}
@@ -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/libraries/evernote-python/evernote-python.info b/libraries/evernote-python/evernote-python.info
index 721a1c9e48..7ae260e067 100644
--- a/libraries/evernote-python/evernote-python.info
+++ b/libraries/evernote-python/evernote-python.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/3b/8e/dba34913e7dbccd868cdf228c5104f9
MD5SUM="e7bfe937a2636ec24f08bb66b4653133"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-oauth2"
+REQUIRES="python2-oauth2"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/exempi/exempi.SlackBuild b/libraries/exempi/exempi.SlackBuild
index 85d2ce485f..d854ec7a78 100644
--- a/libraries/exempi/exempi.SlackBuild
+++ b/libraries/exempi/exempi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for exempi
# Copyright 2007-2012 Michiel van Wessem, Leicester, United Kingdom
@@ -24,17 +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.
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
+# 20230823 bkw: update for v2.6.4
+# 20221225 bkw: update for v2.6.3
+# 20210801 bkw: update for v2.5.2
# 20200101 bkw:
# - take over maintenance
# - update for v2.5.1
# - various cleanups/changes in script, slack-desc, README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exempi
-VERSION=${VERSION:-2.5.1}
+VERSION=${VERSION:-2.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,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}
@@ -89,16 +99,17 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
# could install samples/, but it's big & complex, not gonna.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS TODO *.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/libraries/exempi/exempi.info b/libraries/exempi/exempi.info
index c018deaa6a..716d9136cc 100644
--- a/libraries/exempi/exempi.info
+++ b/libraries/exempi/exempi.info
@@ -1,10 +1,10 @@
PRGNAM="exempi"
-VERSION="2.5.1"
+VERSION="2.6.4"
HOMEPAGE="https://libopenraw.freedesktop.org/exempi/"
-DOWNLOAD="https://libopenraw.freedesktop.org/download/exempi-2.5.1.tar.bz2"
-MD5SUM="c32bcd9feed5a0c1523d5652ef1804b0"
+DOWNLOAD="https://libopenraw.freedesktop.org/download/exempi-2.6.4.tar.xz"
+MD5SUM="c2bd12b5773f35c3832dcd1169fac3dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/exiftool/README b/libraries/exiftool/README
index d68156fa90..43be30b693 100644
--- a/libraries/exiftool/README
+++ b/libraries/exiftool/README
@@ -1,7 +1,8 @@
-ExifTool is a platform-independent Perl library (Image::ExifTool) plus a
-command-line application (exiftool) for reading, writing, and editing
-meta information in image, audio, and video files.
+ExifTool is a platform-independent Perl library (Image::ExifTool) plus
+a command-line application (exiftool) for reading, writing, and
+editing meta information in image, audio, and video files.
-ExifTool supports many different types of metadata including EXIF, GPS,
-IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, AFCP,
-and ID3, as well as the maker notes of many digital cameras.
+ExifTool supports many different types of metadata including EXIF,
+GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix,
+AFCP, ID3, and Lyrics3, as well as the maker notes of many digital
+cameras.
diff --git a/libraries/exiftool/exiftool.SlackBuild b/libraries/exiftool/exiftool.SlackBuild
index 89777e4b9b..8060f01431 100644
--- a/libraries/exiftool/exiftool.SlackBuild
+++ b/libraries/exiftool/exiftool.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for Exiftool
+# Slackware build script for exiftool
# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
+# Copyright 2022-2024 Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,20 +23,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=exiftool
-VERSION=${VERSION:-11.11}
+VERSION=${VERSION:-12.76}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=Image-ExifTool
+
+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}
@@ -45,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf Image-ExifTool-$VERSION
-tar xvf $CWD/Image-ExifTool-$VERSION.tar.gz
-cd Image-ExifTool-$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 \
@@ -55,30 +59,30 @@ 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 {} \;
-perl Makefile.PL INSTALLDIRS=vendor
-make test
-make install INSTALLDIRS=vendor DESTDIR=$PKG
+chmod 644 config_files/frameCount.config
-mv $PKG/usr/share/man $PKG/usr/man
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install 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
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-# Kill some empty directories
-eval $(perl '-V:archlib')
-eval $(perl '-V:vendorarch')
-rmdir -p $PKG/$vendorarch/auto/Image/ExifTool $PKG/$archlib 2>/dev/null || true
+find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Changes README html/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes README arg_files config_files fmt_files 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/libraries/exiftool/exiftool.info b/libraries/exiftool/exiftool.info
index 45fb34d498..7b3addf325 100644
--- a/libraries/exiftool/exiftool.info
+++ b/libraries/exiftool/exiftool.info
@@ -1,10 +1,10 @@
PRGNAM="exiftool"
-VERSION="11.11"
-HOMEPAGE="https://www.sno.phy.queensu.ca/~phil/exiftool/"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/E/EX/EXIFTOOL/Image-ExifTool-11.11.tar.gz"
-MD5SUM="336b640f885f7807070436bcf12c8912"
+VERSION="12.76"
+HOMEPAGE="https://exiftool.org"
+DOWNLOAD="https://exiftool.org/Image-ExifTool-12.76.tar.gz"
+MD5SUM="685dd43e540a651efaae5af6730d6893"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/exiftool/slack-desc b/libraries/exiftool/slack-desc
index 5aa3eef8ea..149d98401e 100644
--- a/libraries/exiftool/slack-desc
+++ b/libraries/exiftool/slack-desc
@@ -12,8 +12,8 @@ exiftool: ExifTool is a platform-independent Perl library (Image::ExifTool)
exiftool: plus a command-line application (exiftool) for reading, writing,
exiftool: and editing meta information in image, audio, and video files.
exiftool: ExifTool supports many different types of metadata including EXIF,
-exiftool: GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, AFCP,
-exiftool: FlashPix, AFCP, and ID3, and maker notes of many digital cameras.
-exiftool:
-exiftool: Homepage: http://www.sno.phy.queensu.ca/~phil/exiftool/
+exiftool: GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix,
+exiftool: AFCP, ID3, and Lyrics3, as well as the maker notes of many digital
+exiftool: cameras.
exiftool:
+exiftool: Homepage: https://exiftool.org
diff --git a/libraries/facebook-python/README b/libraries/facebook-python/README
deleted file mode 100644
index e0b73b3932..0000000000
--- a/libraries/facebook-python/README
+++ /dev/null
@@ -1,5 +0,0 @@
-This client library is designed to support the Facebook Graph API and the
-official Facebook JavaScript SDK, which is the canonical way to implement
-Facebook authentication. You can read more about the Graph API by accessing its
-official documentation.
-
diff --git a/libraries/facebook-python/facebook-python.SlackBuild b/libraries/facebook-python/facebook-python.SlackBuild
deleted file mode 100644
index 38e9828efe..0000000000
--- a/libraries/facebook-python/facebook-python.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for facebook-python
-
-# 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=facebook-python
-SCRNAM=facebook-sdk
-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}
-
-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 $SCRNAM-$VERSION
-tar xvf $CWD/$SCRNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $SCRNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 $(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 $PKG/usr/doc/$PRGNAM-$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/libraries/facebook-python/facebook-python.info b/libraries/facebook-python/facebook-python.info
deleted file mode 100644
index c2dd6a13b1..0000000000
--- a/libraries/facebook-python/facebook-python.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="facebook-python"
-VERSION="1.0.0"
-HOMEPAGE="https://github.com/pythonforfacebook/facebook-sdk"
-DOWNLOAD="https://pypi.python.org/packages/source/f/facebook-sdk/facebook-sdk-1.0.0.tar.gz"
-MD5SUM="82494594fdc207e2a53780d4b7dddd89"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python-requests"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/facebook-python/slack-desc b/libraries/facebook-python/slack-desc
deleted file mode 100644
index b0eca85eb0..0000000000
--- a/libraries/facebook-python/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------------------------------------------------------|
-facebook-python: facebook-python (Client library for Facebook SDK)
-facebook-python:
-facebook-python: This client library is designed to support the Facebook Graph
-facebook-python: PI and the official Facebook JavaScript SDK, which is the
-facebook-python: canonical way to implement Facebook authentication.
-facebook-python:
-facebook-python: Homepage: https://github.com/pythonforfacebook/facebook-sdk
-facebook-python:
-facebook-python:
-facebook-python:
-facebook-python:
diff --git a/libraries/fast_float/README b/libraries/fast_float/README
new file mode 100644
index 0000000000..5d2aa3bfa4
--- /dev/null
+++ b/libraries/fast_float/README
@@ -0,0 +1,7 @@
+The fast_float library provides fast header-only implementations for
+the C++ from_chars functions for float and double types. These
+functions convert ASCII strings representing decimal values (e.g.,
+1.3e10) into binary types. We provide exact rounding (including round
+to even). In our experience, these fast_float functions many times
+faster than comparable number-parsing functions from existing C++
+standard libraries.
diff --git a/libraries/fast_float/fast_float.SlackBuild b/libraries/fast_float/fast_float.SlackBuild
new file mode 100644
index 0000000000..e844a6d8b2
--- /dev/null
+++ b/libraries/fast_float/fast_float.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for fast_float
+
+# Copyright 2022-2023 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=fast_float
+VERSION=${VERSION:-4.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip 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/lib${LIBDIRSUFFIX}
+mv $PKG/usr/share/cmake $PKG/usr/lib${LIBDIRSUFFIX}/
+rm -r $PKG/usr/share
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS CONTRIBUTORS 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
diff --git a/libraries/fast_float/fast_float.info b/libraries/fast_float/fast_float.info
new file mode 100644
index 0000000000..fedaf23d53
--- /dev/null
+++ b/libraries/fast_float/fast_float.info
@@ -0,0 +1,10 @@
+PRGNAM="fast_float"
+VERSION="4.0.0"
+HOMEPAGE="https://github.com/fastfloat/fast_float"
+DOWNLOAD="https://github.com/fastfloat/fast_float/archive/v4.0.0/fast_float-4.0.0.tar.gz"
+MD5SUM="52c300b1e1413ee58dd700b3448dd1fe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/fast_float/slack-desc b/libraries/fast_float/slack-desc
new file mode 100644
index 0000000000..d7c892deec
--- /dev/null
+++ b/libraries/fast_float/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------------------------------------------------------|
+fast_float: fast_float (Number parsing library)
+fast_float:
+fast_float: Fast and exact implementation of the C++ from_chars functions for
+fast_float: float and double types: 4x faster than strtod.
+fast_float:
+fast_float: Homepage: https://github.com/fastfloat/fast_float
+fast_float:
+fast_float:
+fast_float:
+fast_float:
+fast_float:
diff --git a/libraries/faun/README b/libraries/faun/README
new file mode 100644
index 0000000000..afa30d84a7
--- /dev/null
+++ b/libraries/faun/README
@@ -0,0 +1,6 @@
+faun (audio playback library)
+
+Faun is a high-level C API for playback of sound & music in games &
+demos. It is a modestly sized library designed to use pre-packaged
+audio and is not intended for synthesizer or audio manipulation
+applications.
diff --git a/libraries/faun/faun.SlackBuild b/libraries/faun/faun.SlackBuild
new file mode 100644
index 0000000000..21d6e054ce
--- /dev/null
+++ b/libraries/faun/faun.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Slackware build script for faun
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Note: This exists because it's a dependency of xu4. I probably won't
+# update it unless/until an xu4 update requires a newer version of
+# faun. I will not update it, if the update would break the xu4 build.
+# I'm not sure anything else uses faun, anyway.
+
+# 20230712 bkw: updated for v0.1.3.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=faun
+VERSION=${VERSION:-0.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 /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 support standard options.
+# Also the Makefile doesn't use DESTDIR in the canonical way (it's
+# more like PREFIX).
+./configure --prefix /usr
+make
+make install DESTDIR=$PKG/usr
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a COPYING README* example $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/faun/faun.info b/libraries/faun/faun.info
new file mode 100644
index 0000000000..d2826cc834
--- /dev/null
+++ b/libraries/faun/faun.info
@@ -0,0 +1,10 @@
+PRGNAM="faun"
+VERSION="0.1.3"
+HOMEPAGE="https://github.com/WickedSmoke/faun/"
+DOWNLOAD="https://github.com/WickedSmoke/faun/archive/v0.1.3/faun-0.1.3.tar.gz"
+MD5SUM="4c067fc1ea0da300abaf31b85565fe6e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/faun/slack-desc b/libraries/faun/slack-desc
new file mode 100644
index 0000000000..463deb6de4
--- /dev/null
+++ b/libraries/faun/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------------------------------------------------------|
+faun: faun (audio playback library)
+faun:
+faun: Faun is a high-level C API for playback of sound & music in games &
+faun: demos. It is a modestly sized library designed to use pre-packaged
+faun: audio and is not intended for synthesizer or audio manipulation
+faun: applications.
+faun:
+faun:
+faun:
+faun:
+faun:
diff --git a/libraries/fcft/README b/libraries/fcft/README
new file mode 100644
index 0000000000..b3c5c7be37
--- /dev/null
+++ b/libraries/fcft/README
@@ -0,0 +1,20 @@
+fcft is a small font loading and glyph rasterization library built
+on-top of FontConfig, FreeType2 and pixman.
+It can load and cache fonts from a fontconfig-formatted name string,
+ e.g. Monospace:size=12, optionally with user configured fallback fonts.
+
+After a font has been loaded, you can rasterize glyphs. When doing so,
+the primary font is first considered. If it does not have the requested
+glyph, the user configured fallback fonts (if any) are considered.
+If none of the user configured fallback fonts has the requested glyph,
+the FontConfig generated list of fallback fonts are checked.
+The API is documented as man pages.
+Starting with 2.3.0, fcft gained the ability to do text shaping using
+HarfBuzz (an optional dependency). Initially, only individual grapheme
+clusters could be shaped. With 2.4.0, the ability to shape whole
+text-runs were added. It should be noted however, that fcft does
+not aim to compete with e.g. Pango, and that the text shaping support
+may not be (and perhaps never will be) sufficient for “professional”
+text layout.
+
+if you have to rebuild the package delete /tmp/SBo/fcft directory.
diff --git a/libraries/fcft/fcft.SlackBuild b/libraries/fcft/fcft.SlackBuild
new file mode 100644
index 0000000000..3b3992b00e
--- /dev/null
+++ b/libraries/fcft/fcft.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for fcft
+
+# 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=fcft
+VERSION=${VERSION:-3.1.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"
+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.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -Dsvg-backend=nanosvg \
+ -Ddocs=enabled \
+ -Dgrapheme-shaping=enabled \
+ -Drun-shaping=enabled \
+ -Dtest-text-shaping=true \
+ -Dexamples=false \
+
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+
+rm -r $PKG/usr/share
+
+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.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/libraries/fcft/fcft.info b/libraries/fcft/fcft.info
new file mode 100644
index 0000000000..36b88c4aeb
--- /dev/null
+++ b/libraries/fcft/fcft.info
@@ -0,0 +1,10 @@
+PRGNAM="fcft"
+VERSION="3.1.6"
+HOMEPAGE="https://codeberg.org/dnkl/fcft"
+DOWNLOAD="https://codeberg.org/dnkl/fcft/archive/3.1.6.tar.gz"
+MD5SUM="033c9eb7a56f8f2b964def193c3be627"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="scdoc tllist"
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/fcft/slack-desc b/libraries/fcft/slack-desc
new file mode 100644
index 0000000000..a6a1983dee
--- /dev/null
+++ b/libraries/fcft/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------------------------------------------------------|
+fcft: fcft (font loading and glyph rasterization library)
+fcft:
+fcft: Fcft is a library for font loading and glyph rasterization using
+fcft: FontConfig, FreeType and pixman.
+fcft:
+fcft:
+fcft:
+fcft:
+fcft:
+fcft: Homepage: https://codeberg.org/dnkl/fcft
+fcft:
diff --git a/libraries/fcgi/README b/libraries/fcgi/README
index 8b8f261dbc..99b821430d 100644
--- a/libraries/fcgi/README
+++ b/libraries/fcgi/README
@@ -1 +1,2 @@
-fcgi is a library implementing Fast CGI. A simple server is also included.
+fcgi is a library implementing Fast CGI. A simple server is also
+included.
diff --git a/libraries/fcgi/fcgi.SlackBuild b/libraries/fcgi/fcgi.SlackBuild
index 7eaed0e162..804db3e62b 100644
--- a/libraries/fcgi/fcgi.SlackBuild
+++ b/libraries/fcgi/fcgi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fcgi
# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
@@ -21,26 +21,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix doc permissions (they were *really* bad).
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fcgi
VERSION=${VERSION:-2.4.0}
-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"
@@ -55,18 +66,17 @@ fi
set -e
+# 20220419 bkw: tarball permissions are *horrible*, do not remove
+# --no-same-permissions nor revert find/chmod to template please.
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.gz --no-same-permissions
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 . -type f -exec chmod 644 {} \+
+find . -type d -exec chmod 755 {} \+
# Fix compilation by recent gcc (thanks to Debian)
cat $CWD/fcgi-2.4.0-gcc44-fix-include.patch | patch -p1
@@ -81,7 +91,7 @@ autoreconf -vif
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+sh ./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -92,16 +102,12 @@ CXXFLAGS="$SLKCFLAGS" \
--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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/man/man{1,3}
cp -a doc/*.1 $PKG/usr/man/man1/
cp -a doc/*.3 $PKG/usr/man/man3/
-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 \
@@ -111,8 +117,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/fcl/fcl.SlackBuild b/libraries/fcl/fcl.SlackBuild
index a7a59d837c..a2a01009d4 100644
--- a/libraries/fcl/fcl.SlackBuild
+++ b/libraries/fcl/fcl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fcl
@@ -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=fcl
VERSION=${VERSION:-0.5.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/libraries/ffms2/586d87de3f896d0c4ff01b21f572375e11f9c3f1.patch b/libraries/ffms2/586d87de3f896d0c4ff01b21f572375e11f9c3f1.patch
new file mode 100644
index 0000000000..bae70e486e
--- /dev/null
+++ b/libraries/ffms2/586d87de3f896d0c4ff01b21f572375e11f9c3f1.patch
@@ -0,0 +1,27 @@
+From 586d87de3f896d0c4ff01b21f572375e11f9c3f1 Mon Sep 17 00:00:00 2001
+From: Derek Buitenhuis <derek.buitenhuis@gmail.com>
+Date: Tue, 4 May 2021 14:20:47 +0100
+Subject: [PATCH] configure: Remove deprecated API use
+
+Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b35ef80bcd..d19714d0f6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -102,10 +102,10 @@ CFLAGS="$_CFLAGS $FFMPEG_CFLAGS"
+
+ AC_DEFUN([TEST_FFMPEG],
+ [AC_LINK_IFELSE([AC_LANG_PROGRAM([[
+- #include <libavcodec/avcodec.h>
++ #include <libavformat/avformat.h>
+ #include <libswscale/swscale.h>
+ ]],[[
+- avcodec_register_all();
++ avformat_network_init();
+ swscale_version();
+ ]])], [eval $1=yes], [eval $1=no])
+ ])
diff --git a/libraries/ffms2/ffms2.SlackBuild b/libraries/ffms2/ffms2.SlackBuild
index 245c2aa578..433793dd71 100644
--- a/libraries/ffms2/ffms2.SlackBuild
+++ b/libraries/ffms2/ffms2.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Copyright 2014-2017 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
@@ -20,10 +20,17 @@
# OTHERWISE) ARISING IN ANY WAY OUTPUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add missing SlackBuild to doc dir.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ffms2
-VERSION=${VERSION:-2.23}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.40}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +51,11 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
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,10 +71,14 @@ 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/586d87de3f896d0c4ff01b21f572375e11f9c3f1.patch
+mkdir -p src/config
+autoreconf -fiv
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -73,16 +88,16 @@ find -L . \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+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
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp COPYING INSTALL doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ffms2/ffms2.info b/libraries/ffms2/ffms2.info
index a0ceb3c5c5..307147c833 100644
--- a/libraries/ffms2/ffms2.info
+++ b/libraries/ffms2/ffms2.info
@@ -1,10 +1,10 @@
PRGNAM="ffms2"
-VERSION="2.23"
+VERSION="2.40"
HOMEPAGE="https://github.com/FFMS/ffms2"
-DOWNLOAD="https://github.com/FFMS/ffms2/archive/2.23/ffms2-2.23.tar.gz"
-MD5SUM="e7728ae581e278ade6bc9f204faaff9e"
+DOWNLOAD="https://github.com/FFMS/ffms2/archive/2.40/ffms2-2.40.tar.gz"
+MD5SUM="141f194432d70bbf5456a847043f332a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/field3d/README b/libraries/field3d/README
new file mode 100644
index 0000000000..5bf1851afa
--- /dev/null
+++ b/libraries/field3d/README
@@ -0,0 +1,6 @@
+Field3D is an open source library for storing voxel data. It provides
+C++ classes that handle in-memory storage and a file format based on
+HDF5 that allows the C++ objects to be written to and read from disk.
+
+Field3d is an optional run-time dependency of Houdini, which is not
+available on SBo, but can be downloaded and used free of charge.
diff --git a/libraries/field3d/field3d.SlackBuild b/libraries/field3d/field3d.SlackBuild
new file mode 100644
index 0000000000..2a42e9e294
--- /dev/null
+++ b/libraries/field3d/field3d.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for field3d
+
+# 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=field3d
+TARNAM=Field3D
+COMMIT=b0ff0cd67893a4cbfa322676eb3eef10100d904d
+VERSION=${VERSION:-1.7.3.20230509}
+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-$COMMIT
+tar xvf $CWD/$TARNAM-$COMMIT.tar.gz
+cd $TARNAM-$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 {} \;
+
+sed -i '/FIND_PACKAGE (HDF5/ a add_compile_options(-DH5_USE_110_API=1)' CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -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 \
+ CHANGES COPYING README docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/docs $PKG/usr/doc/$PRGNAM-$VERSION/docs2
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/field3d/field3d.info b/libraries/field3d/field3d.info
new file mode 100644
index 0000000000..06de52e87e
--- /dev/null
+++ b/libraries/field3d/field3d.info
@@ -0,0 +1,10 @@
+PRGNAM="field3d"
+VERSION="1.7.3.20230509"
+HOMEPAGE="https://github.com/imageworks/Field3D/"
+DOWNLOAD="https://github.com/imageworks/Field3D/archive/b0ff0cd67893a4cbfa322676eb3eef10100d904d/Field3D-b0ff0cd67893a4cbfa322676eb3eef10100d904d.tar.gz"
+MD5SUM="67f0ab9d3cf0805c9ada4b4c7405dd72"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="hdf5"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.field3d_2023-11-28@lockywolf.net"
diff --git a/libraries/field3d/slack-desc b/libraries/field3d/slack-desc
new file mode 100644
index 0000000000..e369536b95
--- /dev/null
+++ b/libraries/field3d/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------------------------------------------------------|
+field3d: field3d (library for storing voxel data)
+field3d:
+field3d: Field3D is an open source library for storing voxel data. It
+field3d: provides C++ classes that handle in-memory storage and a file format
+field3d: based on HDF5 that allows the C++ objects to be written to and read
+field3d: from disk.
+field3d:
+field3d:
+field3d:
+field3d:
+field3d:
diff --git a/libraries/fifechan/README b/libraries/fifechan/README
index 3f1f328b02..bd23fde075 100644
--- a/libraries/fifechan/README
+++ b/libraries/fifechan/README
@@ -1,5 +1,4 @@
-Fifechan is a lightweight cross platform GUI library written in C++ specifically
-designed for games. It has a small yet powerful built in set of extendable GUI
-Widgets allowing users to create virtually unlimited types of widgets.
-
-Optional dependency: SDL2_ttf
+Fifechan is a lightweight cross platform GUI library written in C++
+specifically designed for games. It has a small yet powerful built
+in set of extendable GUI Widgets allowing users to create virtually
+unlimited types of widgets.
diff --git a/libraries/fifechan/fifechan.SlackBuild b/libraries/fifechan/fifechan.SlackBuild
index 2bd71917ce..35e544cd2c 100644
--- a/libraries/fifechan/fifechan.SlackBuild
+++ b/libraries/fifechan/fifechan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fifechan
@@ -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=fifechan
-VERSION=${VERSION:-0.1.4}
+VERSION=${VERSION:-0.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}
@@ -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/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -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 {} \;
-sed -i "s| lib | lib${LIBDIRSUFFIX} |" CMakeLists.txt
+sed -i "s/SET(LIB_SUFFIX \"\"/SET(LIB_SUFFIX \"$LIBDIRSUFFIX\"/" CMakeLists.txt
mkdir -p build
cd build
cmake \
@@ -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/libraries/fifechan/fifechan.info b/libraries/fifechan/fifechan.info
index da4f9db277..de6b245386 100644
--- a/libraries/fifechan/fifechan.info
+++ b/libraries/fifechan/fifechan.info
@@ -1,10 +1,10 @@
PRGNAM="fifechan"
-VERSION="0.1.4"
-HOMEPAGE="http://fifengine.github.io/fifechan/"
-DOWNLOAD="https://github.com/fifengine/fifechan/archive/0.1.4.tar.gz"
-MD5SUM="163142907031eea0fd76bd2737afc780"
+VERSION="0.1.5"
+HOMEPAGE="https://fifengine.github.io/fifechan/"
+DOWNLOAD="https://github.com/fifengine/fifechan/archive/0.1.5/fifechan-0.1.5.tar.gz"
+MD5SUM="990206d6f41dcd1b10de7dd30fbb4482"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="allegro4 SDL2_image SDL2_ttf"
+REQUIRES="allegro4"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/fishui/README b/libraries/fishui/README
new file mode 100644
index 0000000000..d16431d3c3
--- /dev/null
+++ b/libraries/fishui/README
@@ -0,0 +1,9 @@
+FishUI is a GUI library based on QQC2 (Qt Quick Controls 2), every
+Cutefish application uses it.
+Provides the following features:
+* Light and Dark Mode
+* Borderless window (XCB Window move & resize)
+* Blurred window
+* Window shadow
+* Desktop-level menu
+* Style of Qt Quick controls
diff --git a/libraries/fishui/fishui.SlackBuild b/libraries/fishui/fishui.SlackBuild
new file mode 100644
index 0000000000..77c61a9968
--- /dev/null
+++ b/libraries/fishui/fishui.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for fishui
+
+# 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=fishui
+VERSION=${VERSION:-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"
+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} \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+gzip -9 LICENSE
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.gz README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/fishui/fishui.info b/libraries/fishui/fishui.info
new file mode 100644
index 0000000000..9252d3ebee
--- /dev/null
+++ b/libraries/fishui/fishui.info
@@ -0,0 +1,10 @@
+PRGNAM="fishui"
+VERSION="0.8"
+HOMEPAGE="https://github.com/cutefishos/fishui"
+DOWNLOAD="https://github.com/cutefishos/fishui/archive/0.8/fishui-0.8.tar.gz"
+MD5SUM="8bd6678f78cabd16524c12cd249b4091"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/fishui/slack-desc b/libraries/fishui/slack-desc
new file mode 100644
index 0000000000..8bc33a5a7f
--- /dev/null
+++ b/libraries/fishui/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------------------------------------------------------|
+fishui: fishui (base library for cutefish DE)
+fishui:
+fishui: FishUI is a GUI library based on QQC2 (Qt Quick Controls 2), every
+fishui: Cutefish application uses it.
+fishui:
+fishui: https://github.com/cutefishos/fishui
+fishui:
+fishui:
+fishui:
+fishui:
+fishui:
diff --git a/libraries/flashplugin-lahf-fix/README b/libraries/flashplugin-lahf-fix/README
deleted file mode 100644
index 2f53e12b7a..0000000000
--- a/libraries/flashplugin-lahf-fix/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Simple work-around for running the 64-bit Adobe Flash plug-in version 10
-on Athlon64 processors without support for the lahf instruction.
-
-Compile with:
-cc -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so flashplugin-lahf-fix.c
-
-Then place the .so file in the plug-in directory (e.g. $HOME/.mozilla/plugins)
-or use LD_PRELOAD to force Firefox to load the library.
-
-This slackbuild will put the flashplugin-lahf-fix.so file into
-/usr/lib64/mozilla/plugins directory
diff --git a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild b/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild
deleted file mode 100644
index f16f217d70..0000000000
--- a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.SlackBuild
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for LAHF fix for flash plugin
-# Written by Ken Roberts using code scrounged from the net
-
-PRGNAM=flashplugin-lahf-fix
-VERSION=${VERSION:-0.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "${ARCH}" ]; then
- ARCH="$(uname -m)"
-fi
-if [ "${ARCH}" != "x86_64" ] ; then
- echo "This only works for x86_64 cpu's"
- exit 1
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=${TMP}/package-${PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-rm -rf $PKG
-mkdir -p $PKG/usr/lib64/mozilla/plugins $OUTPUT
-
-cc -fPIC -shared -nostdlib -lc \
- -o $PKG/usr/lib64/mozilla/plugins/flashplugin-lahf-fix.so \
- $CWD/flashplugin-lahf-fix.c
-chmod 0755 $PKG/usr/lib64/mozilla/plugins/flashplugin-lahf-fix.so
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info b/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info
deleted file mode 100644
index d38bbc8024..0000000000
--- a/libraries/flashplugin-lahf-fix/flashplugin-lahf-fix.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="flashplugin-lahf-fix"
-VERSION="0.2"
-HOMEPAGE="http://slackbuilds.org/result/?search=flashplugin-lahf-fix"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="http://harrier.slackbuilds.org/misc/flashplugin-lahf-fix.c"
-MD5SUM_x86_64="223b356f606aa4eea36e663d07f7a1d1"
-REQUIRES="flashplayer-plugin"
-MAINTAINER="Ken Roberts"
-EMAIL="alisonken1@juno.com"
diff --git a/libraries/flashplugin-lahf-fix/slack-desc b/libraries/flashplugin-lahf-fix/slack-desc
deleted file mode 100644
index 5fe201ed0f..0000000000
--- a/libraries/flashplugin-lahf-fix/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------------------------------------------------------|
-flashplugin-lahf-fix: flashplugin-lahf-fix (Fix early x86_64 cpu missing LAHF instruction)
-flashplugin-lahf-fix:
-flashplugin-lahf-fix: Early x86_64 cpu's did not have the lahf instruction. Unfortunately,
-flashplugin-lahf-fix: Adobe wrote their flash using this instruction.
-flashplugin-lahf-fix: This fix basically traps interrupts to see if it's due to lahf
-flashplugin-lahf-fix: missing, then either returns OK or let's the interrupt continue for
-flashplugin-lahf-fix: further processing.
-flashplugin-lahf-fix:
-flashplugin-lahf-fix: C-Code courtesy of:
-flashplugin-lahf-fix: Maks Verver <maksverver@geocities.com> July 2009
-flashplugin-lahf-fix:
diff --git a/libraries/flatbuffers/README b/libraries/flatbuffers/README
index df4703a18a..1f5f7537e4 100644
--- a/libraries/flatbuffers/README
+++ b/libraries/flatbuffers/README
@@ -1,26 +1,27 @@
-FlatBuffers is an efficient cross platform serialization
-library for games and other memory constrained apps. It
-allows you to directly access serialized data without
-unpacking/parsing it first, while still having great
+FlatBuffers is a cross platform serialization library architected for
+maximum memory efficiency. It allows you to directly access serialized
+data without parsing/unpacking it first, while still having great
forwards/backwards compatibility.
-Features:
- - Access to serialized data without parsing/unpacking
- - Memory efficiency and speed. The only memory needed to
- access your data is that of the buffer.
- - Flexible. Optional fields provides forwards and backwards
- compatibility.
- - Tiny code footprint. Small amounts of generated code, and
- just a single small header as the minimum dependency.
- - Strongly typed. Errors happen at compile time.
- - Convenient to use. Generated C++ code allows for terse
- access & construction code.
- - Cross platform code with no dependencies.
+Why use FlatBuffers?
+ * Access to serialized data without parsing/unpacking
+ * Memory efficiency and speed
+ * Flexible
+ * Tiny code footprint
+ * Strongly typed
+ * Convenient to use
+ * Cross platform code with no dependencies
-Protocol Buffers is indeed relatively similar to FlatBuffers,
-with the primary difference being that FlatBuffers does not
-need a parsing/unpacking step to a secondary representation
-before you can access data, often coupled with per-object
-memory allocation. The code is an order of magnitude bigger,
-too. Protocol Buffers has neither optional text import/export
-nor schema language features like unions.
+Why not use Protocol Buffers, or .. ?
+Protocol Buffers is indeed relatively similar to FlatBuffers, with the
+primary difference being that FlatBuffers does not need a parsing/
+unpacking step to a secondary representation before you can access
+data, often coupled with per-object memory allocation. The code is an
+order of magnitude bigger, too. Protocol Buffers has no optional text
+import/export.
+
+If you would like to build the HTML documentation, pass DOCS=yes to
+the build script.
+
+If you would like to include the samples, pass SAMPLES=yes to the
+build script.
diff --git a/libraries/flatbuffers/flatbuffers.SlackBuild b/libraries/flatbuffers/flatbuffers.SlackBuild
index 0553016c62..89fda633da 100644
--- a/libraries/flatbuffers/flatbuffers.SlackBuild
+++ b/libraries/flatbuffers/flatbuffers.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for Google Flatbuffers
+# Slackware build script for flatbuffers
+# Copyright 2022-2023 Steven Voges <Oregon, USA>
# Copyright 2016 Andre Barboza, Belo Horizonte - Brazil
# All rights reserved.
#
@@ -22,10 +23,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=flatbuffers
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-23.5.26}
+DOCS=${DOCS:-no}
+SAMPLES=${SAMPLES:-no}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -69,15 +79,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 {} \;
-patch -p1 < $CWD/flatbuffers.patch
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DFLATBUFFERS_BUILD_FLATC=ON \
-DFLATBUFFERS_BUILD_FLATHASH=ON \
-DFLATBUFFERS_BUILD_FLATLIB=ON \
@@ -86,29 +92,35 @@ cd build
-DFLATBUFFERS_BUILD_TESTS=OFF \
-DFLATBUFFERS_CODE_COVERAGE=OFF \
-DFLATBUFFERS_INSTALL=ON \
- ..
+ -DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
+rm $PKG/usr/lib$LIBDIRSUFFIX/lib$PRGNAM.a
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-find docs/ -type f -exec chmod 644 {} \;
-find samples/ -type f -exec chmod 644 {} \;
-( cd docs/source
- doxygen
-)
-rm docs/source/CONTRIBUTING.md
-cp -rav docs/html docs/source/*.{md,txt} samples/ \
- CONTRIBUTING.md LICENSE.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-install -m644 readme.md $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
+if [ "$DOCS" = "yes" ]; then
+ cd docs/source
+ doxygen
+ cd ../..
+ cp -rav docs/html $PKG/usr/doc/$PRGNAM-$VERSION
+fi
+
+if [ "$SAMPLES" = "yes" ]; then
+ cp -a samples $PKG/usr/doc/$PRGNAM-$VERSION
+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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/flatbuffers/flatbuffers.info b/libraries/flatbuffers/flatbuffers.info
index e17e5d52f0..4fec295adb 100644
--- a/libraries/flatbuffers/flatbuffers.info
+++ b/libraries/flatbuffers/flatbuffers.info
@@ -1,10 +1,10 @@
PRGNAM="flatbuffers"
-VERSION="1.7.1"
-HOMEPAGE="https://github.com/google/flatbuffers/"
-DOWNLOAD="https://github.com/google/flatbuffers/archive/v1.7.1/flatbuffers-1.7.1.tar.gz"
-MD5SUM="81934736f31fbd2cfdb513e71b53b358"
+VERSION="23.5.26"
+HOMEPAGE="https://google.github.io/flatbuffers"
+DOWNLOAD="https://github.com/google/flatbuffers/archive/v23.5.26/flatbuffers-23.5.26.tar.gz"
+MD5SUM="2ef00eaaa86ab5e9ad5eafe09c2e7b60"
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/libraries/flatbuffers/flatbuffers.patch b/libraries/flatbuffers/flatbuffers.patch
deleted file mode 100644
index ffa0a99208..0000000000
--- a/libraries/flatbuffers/flatbuffers.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -ur flatbuffers-1.5.0.old/CMakeLists.txt flatbuffers-1.5.0/CMakeLists.txt
---- flatbuffers-1.5.0.old/CMakeLists.txt 2017-01-03 20:56:44.000000000 -0200
-+++ flatbuffers-1.5.0/CMakeLists.txt 2017-01-05 18:41:09.742061141 -0200
-@@ -224,13 +224,13 @@
- if(FLATBUFFERS_INSTALL)
- install(DIRECTORY include/flatbuffers DESTINATION include)
- if(FLATBUFFERS_BUILD_FLATLIB)
-- install(TARGETS flatbuffers DESTINATION lib)
-+ install(TARGETS flatbuffers DESTINATION lib${LIB_SUFFIX})
- endif()
- if(FLATBUFFERS_BUILD_FLATC)
- install(TARGETS flatc DESTINATION bin)
- endif()
- if(FLATBUFFERS_BUILD_SHAREDLIB)
-- install(TARGETS flatbuffers_shared DESTINATION lib)
-+ install(TARGETS flatbuffers_shared DESTINATION lib${LIB_SUFFIX})
- endif()
- endif()
-
diff --git a/libraries/flatbuffers/slack-desc b/libraries/flatbuffers/slack-desc
index 3ab4cc661f..644d8a3541 100644
--- a/libraries/flatbuffers/slack-desc
+++ b/libraries/flatbuffers/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-flatbuffers: flatbuffers (Efficient cross platform serialization library)
+flatbuffers: flatbuffers (Serialization Library)
+flatbuffers:
+flatbuffers: FlatBuffers: Memory Efficient Serialization Library
+flatbuffers:
+flatbuffers: https://google.github.io/flatbuffers
+flatbuffers:
flatbuffers:
-flatbuffers: FlatBuffers is an efficient cross platform serialization library
-flatbuffers: for games and other memory constrained apps. It allows you to
-flatbuffers: directly access serialized data without unpacking/parsing it
-flatbuffers: first, while still having great forwards/backwards compatibility.
flatbuffers:
flatbuffers:
flatbuffers:
-flatbuffers: https://github.com/google/flatbuffers
flatbuffers:
diff --git a/libraries/flatzebra/flatzebra.SlackBuild b/libraries/flatzebra/flatzebra.SlackBuild
index 47146fa665..c77dff2d7e 100644
--- a/libraries/flatzebra/flatzebra.SlackBuild
+++ b/libraries/flatzebra/flatzebra.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flatzebra
-# 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.
+# 20211005 bkw: update for v0.1.7.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flatzebra
-VERSION=${VERSION:-0.1.6}
+VERSION=${VERSION:-0.1.7}
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}
@@ -47,12 +56,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -70,6 +75,7 @@ sed -i '/^docdir/s,datadir,prefix,' Makefile
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
# 'make install-strip' created the doc dir already
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -81,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/libraries/flatzebra/flatzebra.info b/libraries/flatzebra/flatzebra.info
index d39ae556b4..b5fa113935 100644
--- a/libraries/flatzebra/flatzebra.info
+++ b/libraries/flatzebra/flatzebra.info
@@ -1,10 +1,10 @@
PRGNAM="flatzebra"
-VERSION="0.1.6"
+VERSION="0.1.7"
HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/flatzebra-0.1.6.tar.gz"
-MD5SUM="68cbaa37b88de639ceb6e4c46807fc01"
+DOWNLOAD="https://slackware.uk/~urchlay/src/flatzebra-0.1.7.tar.gz"
+MD5SUM="2cae300b3d8c75d6c810be0292ef201c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/flickcurl/flickcurl.SlackBuild b/libraries/flickcurl/flickcurl.SlackBuild
index b083a1a9a6..0b6390ac91 100644
--- a/libraries/flickcurl/flickcurl.SlackBuild
+++ b/libraries/flickcurl/flickcurl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flickcurl
@@ -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=flickcurl
VERSION=${VERSION:-1.26}
-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"
@@ -94,8 +104,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/flint/README b/libraries/flint/README
new file mode 100644
index 0000000000..39a3a1a4cd
--- /dev/null
+++ b/libraries/flint/README
@@ -0,0 +1,14 @@
+FLINT (Fast Library for Number Theory) is a C library in support of
+computations in number theory. It's also a research project into
+algorithms in number theory.
+
+FLINT supports arithmetic with numbers, polynomials, power series and
+matrices over many base rings, including:
+ * Multiprecision integers and rationals
+ * Integers modulo n
+ * p-adic numbers
+ * Finite fields (prime and non-prime order)
+ * Real and complex numbers (via the Arb extension library)
+
+FLINT was licensed GPL v2+ up to and including version 2.5. New version
+are licensed LGPL v2.1+.
diff --git a/libraries/flint/flint.SlackBuild b/libraries/flint/flint.SlackBuild
new file mode 100644
index 0000000000..de5a59cd89
--- /dev/null
+++ b/libraries/flint/flint.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for FLINT
+
+# Copyright 2020, R. Jesus, 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=flint
+VERSION=${VERSION:-2.6.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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" \
+./configure \
+ --prefix=/usr \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# FLINT doesn't have an option to set the library path, so we adjust it here
+test -z "$LIBDIRSUFFIX" || mv -v "$PKG/usr/lib" "$PKG/usr/lib${LIBDIRSUFFIX}"
+
+find $PKG -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 doc/. $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -av examples $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
diff --git a/libraries/flint/flint.info b/libraries/flint/flint.info
new file mode 100644
index 0000000000..3226b5adf1
--- /dev/null
+++ b/libraries/flint/flint.info
@@ -0,0 +1,10 @@
+PRGNAM="flint"
+VERSION="2.6.3"
+HOMEPAGE="http://www.flintlib.org/"
+DOWNLOAD="http://www.flintlib.org/flint-2.6.3.tar.gz"
+MD5SUM="ed3a6cab37fe2298d9cfaead6ccd1dc7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="R. Jesus"
+EMAIL="rj dot bcjesus at gmail dot com"
diff --git a/libraries/flint/slack-desc b/libraries/flint/slack-desc
new file mode 100644
index 0000000000..3e3df86d46
--- /dev/null
+++ b/libraries/flint/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------------------------------------------------------|
+flint: flint (Fast Library for Number Theory)
+flint:
+flint: FLINT (Fast Library for Number Theory) is a C library in support of
+flint: computations in number theory. It's also a research project into
+flint: algorithms in number theory.
+flint:
+flint: http://www.flintlib.org/
+flint:
+flint:
+flint:
+flint:
diff --git a/libraries/fltk/README b/libraries/fltk/README
index 67c4abfb87..c934a7b76a 100644
--- a/libraries/fltk/README
+++ b/libraries/fltk/README
@@ -1,9 +1,10 @@
-The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a a cross-platform
-C++ GUI toolkit for UNIX(r)/Linux(r) (X11), Microsoft(r) Windows(r), and
-MacOS(r) X. FLTK provides modern GUI functionality without the bloat and
-supports 3D graphics via OpenGL(r) and its built-in GLUT emulation. It was
-originally developed by Mr. Bill Spitzak and is currently maintained by a
-small group of developers across the world with a central repository in the US.
+The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a
+a cross-platform C++ GUI toolkit for UNIX(r)/Linux(r) (X11),
+Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides modern GUI
+functionality without the bloat and supports 3D graphics via OpenGL(r)
+and its built-in GLUT emulation. It was originally developed by
+Mr. Bill Spitzak and is currently maintained by a small group of
+developers across the world with a central repository in the US.
-If you want to disable cairo support, you need to pass CAIRO=0 to the build
-script.
+If you want to disable cairo support, you need to pass CAIRO=0 to the
+build script.
diff --git a/libraries/fltk/fltk.SlackBuild b/libraries/fltk/fltk.SlackBuild
index d672f8d0a7..5aa3c9cbb8 100644
--- a/libraries/fltk/fltk.SlackBuild
+++ b/libraries/fltk/fltk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fltk13
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230621 bkw: Modified by SlackBuilds.org, BUILD=2:
+#- install static libs # without +x permission.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fltk
-VERSION=${VERSION:-1.3.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.3.8}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -67,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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 linking when --libdir=/usr/lib64
sed -i \
@@ -110,6 +120,7 @@ CXXFLAGS="$SLKCFLAGS" \
# but not here... :)
make docdir=/usr/doc/$PRGNAM-$VERSION
make install docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
+chmod 644 $PKG/usr/lib*/*.a
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -124,8 +135,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $DOCFILES $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/libraries/fltk/fltk.info b/libraries/fltk/fltk.info
index 0f9ee83437..373c0f0d00 100644
--- a/libraries/fltk/fltk.info
+++ b/libraries/fltk/fltk.info
@@ -1,8 +1,8 @@
PRGNAM="fltk"
-VERSION="1.3.5"
+VERSION="1.3.8"
HOMEPAGE="http://www.fltk.org"
-DOWNLOAD="https://www.fltk.org/pub/fltk/1.3.5/fltk-1.3.5-source.tar.gz"
-MD5SUM="e85017defd5a03ae82e634311db87bbf"
+DOWNLOAD="https://www.fltk.org/pub/fltk/1.3.8/fltk-1.3.8-source.tar.gz"
+MD5SUM="84907602c2e50fadec3bc40fb61935cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/fmodapi/fmodapi.SlackBuild b/libraries/fmodapi/fmodapi.SlackBuild
index 7a59e28d33..d43f04a859 100644
--- a/libraries/fmodapi/fmodapi.SlackBuild
+++ b/libraries/fmodapi/fmodapi.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fmodapi
# Originally written by Pablo Santamaria (email removed)
-# Modified and now maintained by B. Watson <yalhcru@gmail.com>.
+# Modified and 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.
@@ -23,11 +23,14 @@
# use the designer API. If you need it, please let me know and I'll
# revisit it.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fmodapi
VERSION=${VERSION:-4.44.61}
SRCVER=$( echo $VERSION | sed 's/\.//g' )
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}
@@ -57,11 +64,8 @@ rm -rf ${PRGNAM}${SRCVER}linux
tar xvf $CWD/${PRGNAM}${SRCVER}linux.tar.gz
cd ${PRGNAM}${SRCVER}linux
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 {} \+
PKGLIB=$PKG/usr/lib${LIBDIRSUFFIX}
LIBNAM=libfmodex$LIBDIRSUFFIX
@@ -83,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/libraries/fmodapi/fmodapi.info b/libraries/fmodapi/fmodapi.info
index f6efdf7ee4..2adeaa8065 100644
--- a/libraries/fmodapi/fmodapi.info
+++ b/libraries/fmodapi/fmodapi.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/libraries/fmt/README b/libraries/fmt/README
deleted file mode 100644
index aac25b6316..0000000000
--- a/libraries/fmt/README
+++ /dev/null
@@ -1,2 +0,0 @@
-{fmt} is an open-source formatting library for C++. It can be used as a
-safe and fast alternative to (s)printf and iostreams.
diff --git a/libraries/fmt/fmt.SlackBuild b/libraries/fmt/fmt.SlackBuild
deleted file mode 100644
index 0ea76506b9..0000000000
--- a/libraries/fmt/fmt.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for fmt
-
-# Copyright 2019-2020 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=fmt
-VERSION=${VERSION:-6.1.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 -eu
-
-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} \
- -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 CONTRIBUTING.md ChangeLog.rst LICENSE.rst 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/libraries/fmt/fmt.info b/libraries/fmt/fmt.info
deleted file mode 100644
index a1431eba7b..0000000000
--- a/libraries/fmt/fmt.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="fmt"
-VERSION="6.1.2"
-HOMEPAGE="https://fmt.dev/latest/index.html"
-DOWNLOAD="https://github.com/fmtlib/fmt/archive/6.1.2/fmt-6.1.2.tar.gz"
-MD5SUM="2914e3ac33595103d6b27c87364b034f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/libraries/fmt/slack-desc b/libraries/fmt/slack-desc
deleted file mode 100644
index 01b96bb24d..0000000000
--- a/libraries/fmt/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------------------------------------------------------|
-fmt: fmt (A modern formatting library)
-fmt:
-fmt: {fmt} is an open-source formatting library for C++. It can be used as
-fmt: a safe and fast alternative to (s)printf and iostreams.
-fmt:
-fmt: Homepage: https://fmt.dev/
-fmt:
-fmt:
-fmt:
-fmt:
-fmt:
diff --git a/libraries/folks/README b/libraries/folks/README
new file mode 100644
index 0000000000..7f532b86e7
--- /dev/null
+++ b/libraries/folks/README
@@ -0,0 +1,3 @@
+Folks is a contact aggregation library. It retrieves contacts from
+various sources (including Telepathy IM accounts, and local contact
+stores) and compiles them into fully-fledged people objects.
diff --git a/libraries/folks/doinst.sh b/libraries/folks/doinst.sh
new file mode 100644
index 0000000000..6922dbb756
--- /dev/null
+++ b/libraries/folks/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/folks/folks.SlackBuild b/libraries/folks/folks.SlackBuild
new file mode 100644
index 0000000000..3cb79e6741
--- /dev/null
+++ b/libraries/folks/folks.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for folks
+
+# 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=folks
+VERSION=${VERSION:-0.15.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 \
+ -Dtests=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 CONTRIBUTING.md 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/folks/folks.info b/libraries/folks/folks.info
new file mode 100644
index 0000000000..2efedd8835
--- /dev/null
+++ b/libraries/folks/folks.info
@@ -0,0 +1,10 @@
+PRGNAM="folks"
+VERSION="0.15.5"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/folks"
+DOWNLOAD="https://download.gnome.org/sources/folks/0.15/folks-0.15.5.tar.xz"
+MD5SUM="62db936e9601e33268e2019b6eb0684e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="evolution-data-server telepathy-glib"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/folks/slack-desc b/libraries/folks/slack-desc
new file mode 100644
index 0000000000..ab036b42f2
--- /dev/null
+++ b/libraries/folks/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------------------------------------------------------|
+folks: folks (Folks contact aggregation library)
+folks:
+folks: Folks is a library that aggregates people from multiple sources (eg,
+folks: Telepathy connection managers) to create metacontacts.
+folks:
+folks:
+folks:
+folks:
+folks:
+folks: https://gitlab.gnome.org/GNOME/folks
+folks:
diff --git a/libraries/folly/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch b/libraries/folly/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch
new file mode 100644
index 0000000000..87c0fa6a25
--- /dev/null
+++ b/libraries/folly/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch
@@ -0,0 +1,30 @@
+From 85422b744ae2294d60fdae9074ad8eae53323e66 Mon Sep 17 00:00:00 2001
+From: Ebben Aries <exa@dscp.org>
+Date: Thu, 16 Jun 2022 08:18:06 -0700
+Subject: [PATCH] Fix CMakeLists.txt to honor CMAKE_INSTALL_LIBDIR
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 21d24ba6e..8f83f22c4 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,11 +52,11 @@ project(${PACKAGE_NAME} CXX C ASM)
+
+ set(INCLUDE_INSTALL_DIR include CACHE STRING
+ "The subdirectory where header files should be installed")
+-set(LIB_INSTALL_DIR lib CACHE STRING
++set(LIB_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR} CACHE STRING
+ "The subdirectory where libraries should be installed")
+ set(BIN_INSTALL_DIR bin CACHE STRING
+ "The subdirectory where binaries should be installed")
+-set(CMAKE_INSTALL_DIR lib/cmake/folly CACHE STRING
++set(CMAKE_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/folly CACHE STRING
+ "The subdirectory where CMake package config files should be installed")
+
+ option(BUILD_SHARED_LIBS
+--
+2.36.1
+
diff --git a/libraries/folly/README b/libraries/folly/README
index f5adb773f1..9dea6f4127 100644
--- a/libraries/folly/README
+++ b/libraries/folly/README
@@ -1,6 +1,6 @@
Folly (acronymed loosely after Facebook Open Source Library) is a
-library of C++11 components designed with practicality and efficiency
-in mind. Folly contains a variety of core library components used
+library of C++14 components designed with practicality and efficiency in
+mind. Folly contains a variety of core library components used
extensively at Facebook. In particular, it's often a dependency of
-Facebook's other open source C++ efforts and place where those
-projects can share code.
+Facebook's other open source C++ efforts and place where those projects
+can share code.
diff --git a/libraries/folly/folly.SlackBuild b/libraries/folly/folly.SlackBuild
index 47a8c8074b..8b4e80784d 100644
--- a/libraries/folly/folly.SlackBuild
+++ b/libraries/folly/folly.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for Folly
+# Slackware build script for folly
-# Copyright 2016 Andre Barboza, Belo Horizonte - Brazil
+# Copyright 2022 Ebben Aries <slackbuilds@dscp.org>
# 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=folly
-VERSION=${VERSION:-2017.09.25.00}
+VERSION=${VERSION:-20220722_437b29d}
+GITHASH=${GITHASH:-437b29dd062a40c741b2147827025a2f413b76c7}
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-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GITHASH
+mkdir $PRGNAM-$GITHASH
+tar xvf $CWD/$PRGNAM-$GITHASH.tar.gz
+cd $PRGNAM-$GITHASH
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,33 +81,38 @@ 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 {} \;
-pushd folly
-autoreconf -ivf
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="-lunwind" \
-./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
-popd
+# Fix for CMAKE_INSTALL_LIBDIR
+# https://github.com/facebook/folly/pull/1796
+patch -p1 < $CWD/0001-Fix-CMakeLists.txt-to-honor-CMAKE_INSTALL_LIBDIR.patch
+
+mkdir -p _build
+cd _build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=ON \
+ ..
+
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG -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 -ra LICENSE README.md folly/docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/ $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
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/libraries/folly/folly.info b/libraries/folly/folly.info
index d044091158..d117806b6c 100644
--- a/libraries/folly/folly.info
+++ b/libraries/folly/folly.info
@@ -1,10 +1,10 @@
PRGNAM="folly"
-VERSION="2017.09.25.00"
+VERSION="20220722_437b29d"
HOMEPAGE="https://github.com/facebook/folly"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/facebook/folly/archive/v2017.09.25.00/folly-2017.09.25.00.tar.gz"
-MD5SUM_x86_64="d0bb2de297039da3cc2ac1a6aecf4333"
-REQUIRES="gtest double-conversion glog gflags libunwind"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+DOWNLOAD="https://github.com/facebook/folly/archive/437b29d/folly-437b29dd062a40c741b2147827025a2f413b76c7.tar.gz"
+MD5SUM="c4ac1fa2f76c8c8291c5abb3643b3741"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="double-conversion glog gflags fmt"
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/libraries/folly/slack-desc b/libraries/folly/slack-desc
index d35dd7c844..51dcacc036 100644
--- a/libraries/folly/slack-desc
+++ b/libraries/folly/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-folly: folly (library of C++11 components)
+folly: folly (Facebook Open-source Library)
folly:
-folly: Folly (acronymed loosely after Facebook Open Source Library) is a
-folly: library of C++11 components designed with practicality and
-folly: efficiency in mind. Folly contains a variety of core library
-folly: components used extensively at Facebook. In particular,
-folly: it's often a dependency of Facebook's other open source C++
-folly: efforts and place where those projects can share code.
+folly: Folly is a library of C++14 components designed with practicality and
+folly: efficiency in mind. It complements (as opposed to competing against)
+folly: offerings such as Boost and of course std.
folly:
-folly: https://github.com/facebook/folly
+folly:
+folly:
+folly:
+folly: Homepage: https://github.com/facebook/folly
folly:
diff --git a/libraries/fox-toolkit-devel/README b/libraries/fox-toolkit-devel/README
index c8c662dad2..da1670ed56 100644
--- a/libraries/fox-toolkit-devel/README
+++ b/libraries/fox-toolkit-devel/README
@@ -1,6 +1,6 @@
-FOX is a C++ based Toolkit for developing Graphical User Interfaces
-easily and effectively. The FOX toolkit is fast and memory-efficient
+FOX is a C++ based Toolkit for developing Graphical User Interfaces
+easily and effectively. The FOX toolkit is fast and memory-efficient
and has a large selection of Controls available to programmers.
-This is a development version. If you need stable release use fox-toolkit.
-DO NOT INSTALL BOTH
+This is a development version. If you need a stable release, use
+fox-toolkit. DO NOT INSTALL BOTH.
diff --git a/libraries/fox-toolkit-devel/fox-toolkit-devel.SlackBuild b/libraries/fox-toolkit-devel/fox-toolkit-devel.SlackBuild
index 7c93721651..fde820fee8 100644
--- a/libraries/fox-toolkit-devel/fox-toolkit-devel.SlackBuild
+++ b/libraries/fox-toolkit-devel/fox-toolkit-devel.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fox-toolkit-devel
-# Copyright 2006-2017 Robby Workman, Tuscaloosa, AL, USA
+# Copyright 2006-2021 Robby Workman, Tuscaloosa, AL, 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=fox-toolkit-devel
-VERSION=${VERSION:-1.7.59}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.7.77}
+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}
@@ -101,8 +111,10 @@ cp -a ADDITIONS AUTHORS INSTALL LICENSE LICENSE_ADDENDUM README TRACING \
$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/libraries/fox-toolkit-devel/fox-toolkit-devel.info b/libraries/fox-toolkit-devel/fox-toolkit-devel.info
index 4321a38f71..da5afda23f 100644
--- a/libraries/fox-toolkit-devel/fox-toolkit-devel.info
+++ b/libraries/fox-toolkit-devel/fox-toolkit-devel.info
@@ -1,8 +1,8 @@
PRGNAM="fox-toolkit-devel"
-VERSION="1.7.59"
+VERSION="1.7.77"
HOMEPAGE="http://www.fox-toolkit.org/"
-DOWNLOAD="ftp://ftp.fox-toolkit.org/pub/fox-1.7.59.tar.gz"
-MD5SUM="64293ca558964b76222987badda507f6"
+DOWNLOAD="https://fox-toolkit.org/ftp/fox-1.7.77.tar.gz"
+MD5SUM="22418639ffcf826050263371134ebcec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild
index f3415aec1f..f170d07bcf 100644
--- a/libraries/fox-toolkit/fox-toolkit.SlackBuild
+++ b/libraries/fox-toolkit/fox-toolkit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fox-toolkit
-# Copyright 2006-2017 Robby Workman, Tuscaloosa, AL, USA
+# Copyright 2006-2021 Robby Workman, Tuscaloosa, AL, 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=fox-toolkit
-VERSION=${VERSION:-1.6.54}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.6.57}
+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}
@@ -102,8 +112,10 @@ cp -a ADDITIONS AUTHORS INSTALL LICENSE LICENSE_ADDENDUM README TRACING \
$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/libraries/fox-toolkit/fox-toolkit.info b/libraries/fox-toolkit/fox-toolkit.info
index ce95806807..b7b2ccc5b7 100644
--- a/libraries/fox-toolkit/fox-toolkit.info
+++ b/libraries/fox-toolkit/fox-toolkit.info
@@ -1,8 +1,8 @@
PRGNAM="fox-toolkit"
-VERSION="1.6.54"
+VERSION="1.6.57"
HOMEPAGE="http://www.fox-toolkit.org/"
-DOWNLOAD="ftp://ftp.fox-toolkit.org/pub/fox-1.6.54.tar.gz"
-MD5SUM="f9b557635049f96f76baa2a6ed3c82c6"
+DOWNLOAD="http://fox-toolkit.org/ftp/fox-1.6.57.tar.gz"
+MD5SUM="675ddeac64eef88d9f7360abaa56b995"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/fpconst/fpconst.SlackBuild b/libraries/fpconst/fpconst.SlackBuild
index 732ddbd066..eb8080b6f9 100644
--- a/libraries/fpconst/fpconst.SlackBuild
+++ b/libraries/fpconst/fpconst.SlackBuild
@@ -1,23 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fpconst
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fpconst
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}
@@ -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/libraries/freealut/freealut.SlackBuild b/libraries/freealut/freealut.SlackBuild
index 9c037f63d5..f6ac17411e 100644
--- a/libraries/freealut/freealut.SlackBuild
+++ b/libraries/freealut/freealut.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for freealut
#
@@ -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=freealut
VERSION=${VERSION:-1.1.0}
-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"
@@ -79,6 +89,9 @@ CFLAGS="$SLKCFLAGS" \
make || exit 1
make install DESTDIR=$PKG || exit 1
+# Don't ship .la files:
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -91,8 +104,10 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README examples/ \
rm -rf $PKG/usr/doc/freealut-$VERSION/examples/.{deps,libs}
cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html
+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/libraries/freealut/freealut.info b/libraries/freealut/freealut.info
index 2f35e0f327..51f620e189 100644
--- a/libraries/freealut/freealut.info
+++ b/libraries/freealut/freealut.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/freealut/freealut-1.1.0.tar.gz
MD5SUM="e089b28a0267faabdb6c079ee173664a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL"
+REQUIRES=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
diff --git a/libraries/freexl/README b/libraries/freexl/README
index c29c657e3b..07bad6fc90 100644
--- a/libraries/freexl/README
+++ b/libraries/freexl/README
@@ -6,6 +6,6 @@ Excel (.xls) spreadsheet. FreeXL design goals:
* completely ignoring any GUI-related oddity
Note that the final goal means that FreeXL ignores at all fonts, sizes
-and alignments, and most formats. It ignores Pivot Table, Charts, Formulas,
-Visual Basic macros and so on. FreeXL is structurally simple and quite
-light-weight (typically 40-80K of object code, stripped).
+and alignments, and most formats. It ignores Pivot Table, Charts,
+Formulas, Visual Basic macros and so on. FreeXL is structurally simple
+and quite light-weight (typically 40-80K of object code, stripped).
diff --git a/libraries/freexl/freexl.SlackBuild b/libraries/freexl/freexl.SlackBuild
index 4e741ca0ff..d1f4c6161c 100644
--- a/libraries/freexl/freexl.SlackBuild
+++ b/libraries/freexl/freexl.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FreeXL
+# Copyright 2023 Gregory J. L. Tourte <artourter@gmail.com>
# Copyright 2012-2015 Alexander Bruy <alexander.bruy@gmail.com>
# All rights reserved.
#
@@ -22,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=freexl
-VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.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"
@@ -64,10 +75,8 @@ 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 /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -87,12 +96,14 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING README INSTALL \
+ 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/libraries/freexl/freexl.info b/libraries/freexl/freexl.info
index 3e76166c9b..d44c3fb87d 100644
--- a/libraries/freexl/freexl.info
+++ b/libraries/freexl/freexl.info
@@ -1,10 +1,10 @@
PRGNAM="freexl"
-VERSION="1.0.2"
+VERSION="2.0.0"
HOMEPAGE="https://www.gaia-gis.it/fossil/freexl/index"
-DOWNLOAD="http://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-1.0.2.tar.gz"
-MD5SUM="9954640e5fed76a5d9deb9b02b0169a0"
+DOWNLOAD="http://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-2.0.0.tar.gz"
+MD5SUM="cc3711ef54fd2dabea1eafa1a6e5af56"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Alexander Bruy"
-EMAIL="alexander.bruy@gmail.com"
+REQUIRES="libminizip"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/libraries/frei0r/README b/libraries/frei0r/README
deleted file mode 100644
index 903e6aad22..0000000000
--- a/libraries/frei0r/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Frei0r is a minimalistic plugin API for video sources and filters. The
-behaviour of the effects can be controlled from the host by simple parameters.
-The intent is to solve the recurring reimplementation or adaptation issue of
-standard effects.
-
-Optional dependencies are opencv and gavl.
diff --git a/libraries/frei0r/frei0r.SlackBuild b/libraries/frei0r/frei0r.SlackBuild
deleted file mode 100644
index a78fc62f3f..0000000000
--- a/libraries/frei0r/frei0r.SlackBuild
+++ /dev/null
@@ -1,126 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for frei0r
-
-# Copyright 2009, Jonathan Larsen (agentc0re), SLC, UT
-# Contact Info: agentc0re 'AT' learnix 'DOT' net
-# Copyright 2012-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.
-
-# Change Log
-#
-# Mar 3rd, 2010
-# *Revised to build "2" - fixed the "strip" for bash 4
-# *compatibility and removed the man page section
-# Mar 12th, 2013
-# *Updated for 1.4
-# Sep 7th, 2015
-# *Patch for opencv-3.0
-# Dec 29th, 2016
-# *Updated for 1.5.0
-# May 25th, 2017
-# *Updated for 1.6.0
-# Mar 14th, 2018
-# *Updated for 1.6.1
-# Jan 1st, 2020
-# *Updated for 1.7.0
-# Jan 20th, 2020
-# *Disabled opencv support
-
-PRGNAM=frei0r
-VERSION=${VERSION:-1.7.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 $PRGNAM-plugins-$VERSION
-tar xvf $CWD/$PRGNAM-plugins-$VERSION.tar.gz
-cd $PRGNAM-plugins-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 upstream patches if present
-if [ -d $CWD/patches ]; then
- for i in $CWD/patches/* ; do patch -p1 < $i ; done
-fi
-
-# Disable opencv support, not compatible with 4.2.x
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib$LIBDIRSUFFIX \
- -DWITHOUT_OPENCV=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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS.txt COPYING* ChangeLog.txt README.txt 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/libraries/frei0r/frei0r.info b/libraries/frei0r/frei0r.info
deleted file mode 100644
index f50f66034b..0000000000
--- a/libraries/frei0r/frei0r.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="frei0r"
-VERSION="1.7.0"
-HOMEPAGE="https://frei0r.dyne.org"
-DOWNLOAD="https://files.dyne.org/frei0r/releases/frei0r-plugins-1.7.0.tar.gz"
-MD5SUM="78a7c7511cbda93013147563dc7a3618"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/frei0r/slack-desc b/libraries/frei0r/slack-desc
deleted file mode 100644
index c1c1dc1dd6..0000000000
--- a/libraries/frei0r/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------------------------------------------------------|
-frei0r: frei0r (a minimalistic plugin API for video sources and filters)
-frei0r:
-frei0r: Frei0r is a minimalistic plugin API for video sources and filters.
-frei0r: The behaviour of the effects can be controlled from the host by
-frei0r: simple parameters. The intent is to solve the recurring
-frei0r: reimplementation or adaptation issue of standard effects.
-frei0r:
-frei0r: homepage: https://frei0r.dyne.org
-frei0r:
-frei0r:
-frei0r:
diff --git a/libraries/fstrcmp/README b/libraries/fstrcmp/README
new file mode 100644
index 0000000000..358264dc39
--- /dev/null
+++ b/libraries/fstrcmp/README
@@ -0,0 +1,7 @@
+The fstrcmp project provides a library that is used to make fuzzy
+comparisons of strings and byte arrays, including multi-byte character
+strings.
+
+This can be useful in error messages, enabling the suggestion of likely
+valid alternatives. In compilers, this can reduce the cascade of
+secondary errors.
diff --git a/libraries/fstrcmp/fstrcmp.SlackBuild b/libraries/fstrcmp/fstrcmp.SlackBuild
new file mode 100644
index 0000000000..a54926695f
--- /dev/null
+++ b/libraries/fstrcmp/fstrcmp.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for fstrcmp
+
+# Copyright 2023 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=fstrcmp
+VERSION=${VERSION:-0.7.D001}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+make
+make install DESTDIR=$PKG
+
+chmod +x $PKG/usr/lib${LIBDIRSUFFIX}/lib$PRGNAM.so*
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a
+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 \
+ $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 -R $PKG/usr/share
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/fstrcmp/fstrcmp.info b/libraries/fstrcmp/fstrcmp.info
new file mode 100644
index 0000000000..2c1727d003
--- /dev/null
+++ b/libraries/fstrcmp/fstrcmp.info
@@ -0,0 +1,10 @@
+PRGNAM="fstrcmp"
+VERSION="0.7.D001"
+HOMEPAGE="https://fstrcmp.sourceforge.net"
+DOWNLOAD="https://fstrcmp.sourceforge.net/fstrcmp-0.7.D001.tar.gz"
+MD5SUM="9c440bbdfcad9fd22e38f2388715b0cc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/fstrcmp/slack-desc b/libraries/fstrcmp/slack-desc
new file mode 100644
index 0000000000..6cd4d251b1
--- /dev/null
+++ b/libraries/fstrcmp/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------------------------------------------------------|
+fstrcmp: fstrcmp (Fuzzy compare Library)
+fstrcmp:
+fstrcmp: The fstrcmp project provides a library that is used to make fuzzy
+fstrcmp: comparisons of strings and byte arrays, including multi-byte character
+fstrcmp: strings.
+fstrcmp:
+fstrcmp: Homepage: https://fstrcmp.sourceforge.net/
+fstrcmp:
+fstrcmp:
+fstrcmp:
+fstrcmp:
diff --git a/libraries/ftgl/README b/libraries/ftgl/README
index 38ead6cc5e..f7b12ee5ea 100644
--- a/libraries/ftgl/README
+++ b/libraries/ftgl/README
@@ -1,10 +1,15 @@
-FTGL is a font rendering library for OpenGL applications.
+ftgl (font rendering library for OpenGL applications)
FTGL is a free, open source library to enable developers to use
-arbitrary fonts in their OpenGL (www.opengl.org) applications.
-Unlike other OpenGL font libraries FTGL uses standard font file
-formats so doesn't need a preprocessing step to convert the high
-quality font data into a lesser quality, proprietary format.
-FTGL uses the Freetype (www.freetype.org) font library to open and
-'decode' the fonts. It then takes that output and stores it in a
-format most efficient for OpenGL rendering.
+arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike
+other OpenGL font libraries FTGL uses standard font file formats so
+doesn't need a preprocessing step to convert the high quality font
+data into a lesser quality, proprietary format. FTGL uses the Freetype
+(www.freetype.org) font library to open and 'decode' the fonts. It
+then takes that output and stores it in a format most efficient for
+OpenGL rendering.
+
+By default, the HTML and PDF API documentation for ftgl is not
+included in the package. If you want to build the docs, export
+DOCS=yes in the script's environment. You only need this if you're
+developing software that uses ftgl.
diff --git a/libraries/ftgl/ftgl.SlackBuild b/libraries/ftgl/ftgl.SlackBuild
index a7be37d4eb..deb648f898 100644
--- a/libraries/ftgl/ftgl.SlackBuild
+++ b/libraries/ftgl/ftgl.SlackBuild
@@ -1,32 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ftgl
-#
-# Copyright 2020 Johannes Schoepfer, Germany
-# Copyright 2007 Niklas "Nille" Åkerström
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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 Niklas "Nille" Åkerström, formerly maintained
+# by Johannes Schoepfer.
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20220207 bkw: BUILD=2.
+# - take over maintenance.
+# - relicense as WTFPL with permission.
+# - add option to build the docs, now that we have texlive.
+# - do not install useless INSTALL in doc dir.
+# - remove .la file.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ftgl
VERSION=${VERSION:-2.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,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}
@@ -65,37 +63,41 @@ 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 {} \+
./autogen.sh
-# docs requires texlive, tetex is not sufficient
+# docs require texlive, tetex is not sufficient. we have texlive in
+# 15.0, so we can build the docs, but don't by default (most users
+# won't need them).
+DOCOPT="--disable-doc"
+[ "${DOCS:-no}" = "yes" ] && DOCOPT="--enable-doc"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=gnu++11" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
- --disable-doc
+ $DOCOPT
make GLUT_LIBS="-lglut -lGLU -lGL -lm"
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
cp src/FT{Face,Size}.h $PKG/usr/include/FTGL
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp AUTHORS BUGS COPYING ChangeLog NEWS README TODO $PKGDOC
+mv $PKG/usr/share/doc/$PRGNAM/* $PKGDOC
rm -rf $PKG/usr/share
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/libraries/ftgl/ftgl.info b/libraries/ftgl/ftgl.info
index cc9f95648b..7073014c7f 100644
--- a/libraries/ftgl/ftgl.info
+++ b/libraries/ftgl/ftgl.info
@@ -6,5 +6,5 @@ MD5SUM="fba1e1c548ebe3ab362495e96a7a0670"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Johannes Schoepfer"
-EMAIL="slackbuilds@schoepfer.info"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/ftplib/README b/libraries/ftplib/README
index 70ba5fbf77..ad660b7431 100644
--- a/libraries/ftplib/README
+++ b/libraries/ftplib/README
@@ -1,3 +1,4 @@
-ftplib is a set of routines that implement the FTP protocol. They allow
-applications to create and access remote files through function calls, instead
-of forking and executing an interactive ftp client program.
+ftplib is a set of routines that implement the FTP protocol. They
+allow applications to create and access remote files through function
+calls, instead of forking and executing an interactive ftp client
+program.
diff --git a/libraries/ftplib/ftplib.SlackBuild b/libraries/ftplib/ftplib.SlackBuild
index ff4ca677c2..b9f8c5d019 100644
--- a/libraries/ftplib/ftplib.SlackBuild
+++ b/libraries/ftplib/ftplib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ftplib
@@ -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=ftplib
VERSION=${VERSION:-4.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Replace third level revision separator for the source version.
SRCVER=$(echo $VERSION | sed "s~\.\([0-9]*\)\.\([0-9]*\)$~\.\1-\2~")
@@ -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,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/libraries/function2/README b/libraries/function2/README
new file mode 100644
index 0000000000..c2155162db
--- /dev/null
+++ b/libraries/function2/README
@@ -0,0 +1,20 @@
+function2 improved and configurable drop-in replacement header to
+std::function that supports move only types, multiple overloads
+and more
+
+benefits and improvements over std::function:
+
+ * const, volatile, reference and noexcept correct (qualifiers are part
+ of the operator() signature)
+ * convertible to and from std::function as well as other callable
+ types
+ * adaptable through fu2::function_base (internal capacity,
+ copyable and exception guarantees)
+ * overloadable with an arbitrary count of signatures
+ (fu2::function<bool(int), bool(float)>)
+ * full allocator support in contrast to std::function, which doesn't
+ provide support anymore
+ * covered by many unit tests and continuous integration services
+ (GCC, Clang and MSVC)
+ * header only, just copy and include function.hpp in your project
+ * permissively licensed under the boost license
diff --git a/libraries/function2/function2.SlackBuild b/libraries/function2/function2.SlackBuild
new file mode 100644
index 0000000000..06fb44ad5d
--- /dev/null
+++ b/libraries/function2/function2.SlackBuild
@@ -0,0 +1,88 @@
+#!/bin/bash
+
+# Slackware build script for function2
+
+# Copyright 2022 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=function2
+VERSION=${VERSION:-4.2.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 {} \;
+
+sed -i 's|"${CMAKE_CURRENT_LIST_DIR}/googletest/googletest/src/gtest-all.cc"|"/usr/src/googletest/src/gtest-all.cc"|g' test/CMakeLists.txt
+sed -i 's|"${CMAKE_CURRENT_LIST_DIR}/googletest/googletest/src/gtest_main.cc")|"/usr/src/googletest/src/gtest_main.cc")|g' test/CMakeLists.txt
+sed -i 's|"${CMAKE_CURRENT_LIST_DIR}/googletest/googletest"|"/usr/src/googletest"|g' test/CMakeLists.txt
+sed -i 's|"${CMAKE_CURRENT_LIST_DIR}/googletest/googletest/include")|"/usr/include/gtest")|g' test/CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/LICENSE.txt $PKG/usr/Readme.md \
+$PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/function2/function2.info b/libraries/function2/function2.info
new file mode 100644
index 0000000000..ed496d9727
--- /dev/null
+++ b/libraries/function2/function2.info
@@ -0,0 +1,10 @@
+PRGNAM="function2"
+VERSION="4.2.3"
+HOMEPAGE="https://github.com/Naios/function2"
+DOWNLOAD="https://github.com/Naios/function2/archive/4.2.3/function2-4.2.3.tar.gz"
+MD5SUM="24519882c41ec083c080ae79016add3c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gtest"
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/libraries/function2/slack-desc b/libraries/function2/slack-desc
new file mode 100644
index 0000000000..10a01a9739
--- /dev/null
+++ b/libraries/function2/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------------------------------------------------------|
+function2: function2 (Improved drop-in replacement to std::function)
+function2:
+function2: Improved and configurable drop-in replacement header to std::function
+function2: that supports move only types, multiple overloads and more. I'ts one
+function2: headers only no compilation is required.
+function2:
+function2:
+function2:
+function2:
+function2:
+function2:
diff --git a/libraries/futures/README b/libraries/futures/README
index 9e51da8fc2..2d2634bb0e 100644
--- a/libraries/futures/README
+++ b/libraries/futures/README
@@ -1,5 +1,6 @@
-This is a backport of the concurrent.futures standard library module to Python
-2.
+This is a backport of the concurrent.futures standard library module
+to Python 2.
-It should not be installed on Python 3, although there should be no harm in
-doing so, as the standard library takes precedence over third party libraries.
+It should not be installed on Python 3, although there should be no
+harm in doing so, as the standard library takes precedence over third
+party libraries.
diff --git a/libraries/futures/futures.SlackBuild b/libraries/futures/futures.SlackBuild
index f6174fb88c..5d17f0095f 100644
--- a/libraries/futures/futures.SlackBuild
+++ b/libraries/futures/futures.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for futures
@@ -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=futures
VERSION=${VERSION:-3.2.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}
@@ -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/libraries/fuzzylite/doinst.sh b/libraries/fuzzylite/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/fuzzylite/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/libraries/fuzzylite/fuzzylite.SlackBuild b/libraries/fuzzylite/fuzzylite.SlackBuild
index 70961c4d7c..f0e6d0ad43 100644
--- a/libraries/fuzzylite/fuzzylite.SlackBuild
+++ b/libraries/fuzzylite/fuzzylite.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fuzzylite
@@ -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=fuzzylite
-VERSION=${VERSION:-5.1}
+VERSION=${VERSION:-6.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}
@@ -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/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -91,12 +101,11 @@ fi
rm $PKG/usr/lib${LIBDIRSUFFIX}/libfuzzylite-static.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHOR ChangeLog README.md LICENSE COPYING* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHOR README.md LICENSE 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
-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/libraries/fuzzylite/fuzzylite.info b/libraries/fuzzylite/fuzzylite.info
index f81b2e5914..ee96c5ed57 100644
--- a/libraries/fuzzylite/fuzzylite.info
+++ b/libraries/fuzzylite/fuzzylite.info
@@ -1,8 +1,8 @@
PRGNAM="fuzzylite"
-VERSION="5.1"
+VERSION="6.0"
HOMEPAGE="https://www.fuzzylite.com"
-DOWNLOAD="https://github.com/fuzzylite/fuzzylite/archive/v5.1.tar.gz"
-MD5SUM="fcee03636fa417847d703e55cf11e34f"
+DOWNLOAD="https://github.com/fuzzylite/fuzzylite/archive/v6.0/fuzzylite-6.0.tar.gz"
+MD5SUM="34f3e1b27aa2abd9210b7d90f9d45785"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/gallerize/gallerize.SlackBuild b/libraries/gallerize/gallerize.SlackBuild
index 49e5c5bf6a..10d6aed776 100644
--- a/libraries/gallerize/gallerize.SlackBuild
+++ b/libraries/gallerize/gallerize.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gallerize
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2021 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=gallerize
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.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}
@@ -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/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,17 +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 {} \;
-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 LICENSE README.rst $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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gallerize/gallerize.info b/libraries/gallerize/gallerize.info
index 5d424bc11f..01a2952c59 100644
--- a/libraries/gallerize/gallerize.info
+++ b/libraries/gallerize/gallerize.info
@@ -1,10 +1,10 @@
PRGNAM="gallerize"
-VERSION="0.3.2"
+VERSION="0.4"
HOMEPAGE="http://homework.nwsnet.de/releases/cc0e/#gallerize"
-DOWNLOAD="https://github.com/homeworkprod/gallerize/archive/v0.3.2.tar.gz"
-MD5SUM="49a047b003b65a3b828d2266cb58badf"
+DOWNLOAD="https://github.com/homeworkprod/gallerize/archive/v0.4/gallerize-0.4.tar.gz"
+MD5SUM="42c011e97a629e697bf9635b6f11cdf0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Jinja2"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/gamemode/README b/libraries/gamemode/README
new file mode 100644
index 0000000000..0db7af7570
--- /dev/null
+++ b/libraries/gamemode/README
@@ -0,0 +1,59 @@
+gamemode (Optimise Linux system performance on demand)
+
+GameMode is a daemon/lib combo for Linux that allows games to request
+a set of optimisations be temporarily applied to the host OS and/or
+a game process.
+
+GameMode was designed primarily as a stop-gap solution to problems
+with the Intel and AMD CPU powersave or ondemand governors, but is
+now host to a range of optimisation features and configurations.
+
+GameMode is automatically activated on the games/apps below. For
+others, you will need to request GameMode when running the game. That
+can be done by launching the game through gamemoderun:
+
+ gamemoderun $location/$to/$game
+
+Or edit the Steam launch options:
+
+ gamemoderun %command%
+
+The daemon is configured with a gamemode.ini file. A default file is
+installed in /usr/share/gamemode/gamemode.ini. This file may get
+overwritten when the package is updated, so it is recommended to save
+changes in /etc/.
+
+Configuration files are loaded and merged from the following
+directories, from highest to lowest priority:
+
+ 1. $PWD ("unsafe" - [gpu] settings take no effect in this file)
+ 2. $XDG_CONFIG_HOME or $HOME/.config/ ("unsafe" - [gpu] settings take
+ no effect in this file)
+ 3. /etc/
+ 4. /usr/share/gamemode/ (provided by package - may be overwritten on
+ future updates... store changes elsewhere)
+
+The following games are known to integrate GameMode support (meaning
+they don't require any additional configuration to activate GameMode
+while running):
+
+ -DiRT 4
+ -Rise of the Tomb Raider
+ -Shadow of the Tomb Raider
+ -Total War Saga: Thrones of Britannia
+ -Total War: ROME REMASTERED
+ -Total War: Three Kingdoms
+ -Total War: WARHAMMER II
+ -Total War: WARHAMMER III
+
+Other apps which can integrate with GameMode include:
+
+ -ATLauncher Minecraft launcher
+ -PolyMC Minecraft launcher
+ -GNOME Shell (via extension) - indicates when GameMode is active in
+ the top panel.
+ -Lutris - Enables GameMode for all games by default if available
+ (must have both 32- and 64-bit GameMode libraries installed),
+ configurable in preferences.
+ -RetroArch - is a frontend for emulators, game engines and media
+ players.
diff --git a/libraries/gamemode/gamemode.SlackBuild b/libraries/gamemode/gamemode.SlackBuild
new file mode 100644
index 0000000000..af7b660419
--- /dev/null
+++ b/libraries/gamemode/gamemode.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for gamemode
+
+# Copyright 2023 Jeremy Hansen jebrhansen+SBo@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=gamemode
+VERSION=${VERSION:-1.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dwith-sd-bus-provider=elogind \
+ -Dstrip=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 ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.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/libraries/gamemode/gamemode.info b/libraries/gamemode/gamemode.info
new file mode 100644
index 0000000000..00cc1079a5
--- /dev/null
+++ b/libraries/gamemode/gamemode.info
@@ -0,0 +1,10 @@
+PRGNAM="gamemode"
+VERSION="1.8.1"
+HOMEPAGE="https://github.com/FeralInteractive/gamemode"
+DOWNLOAD="https://github.com/FeralInteractive/gamemode/archive/refs/tags/1.8.1/gamemode-1.8.1.tar.gz"
+MD5SUM="12e169fd3502c1832f222b68afc7050a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/gamemode/slack-desc b/libraries/gamemode/slack-desc
new file mode 100644
index 0000000000..43c8662d36
--- /dev/null
+++ b/libraries/gamemode/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------------------------------------------------------|
+gamemode: gamemode (Optimise Linux system performance on demand)
+gamemode:
+gamemode: GameMode is a daemon/lib combo for Linux that allows games to request
+gamemode: a set of optimisations be temporarily applied to the host OS and/or
+gamemode: a game process.
+gamemode:
+gamemode: GameMode was designed primarily as a stop-gap solution to problems
+gamemode: with the Intel and AMD CPU powersave or ondemand governors, but is
+gamemode: now host to a range of optimisation features and configurations.
+gamemode:
+gamemode: HOMEPAGE: https://github.com/FeralInteractive/gamemode
diff --git a/libraries/ganv/ganv.SlackBuild b/libraries/ganv/ganv.SlackBuild
index e5624bb447..d10eda7be9 100644
--- a/libraries/ganv/ganv.SlackBuild
+++ b/libraries/ganv/ganv.SlackBuild
@@ -1,47 +1,54 @@
-#!/bin/sh
-#
-# Slackware build script for ganv
-#
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+#!/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
-# 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.
+# Slackware build script for ganv
-# 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.
+# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Copyright 2022 Johannes Schoepfer, Germany
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 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=ganv
-VERSION=${VERSION:-1.4.2}
+VERSION=${VERSION:-1.8.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"
@@ -54,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,25 +76,32 @@ 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 -std=c++11" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --docdir=/usr/doc/$PRGNAM-$VERSION
-
-./waf
-./waf install --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 \
+ -Dstrip=true
+ "${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 INSTALL NEWS README $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
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ganv/ganv.info b/libraries/ganv/ganv.info
index 31bc537cbd..815c87bd4f 100644
--- a/libraries/ganv/ganv.info
+++ b/libraries/ganv/ganv.info
@@ -1,10 +1,10 @@
PRGNAM="ganv"
-VERSION="1.4.2"
-HOMEPAGE="http://drobilla.net/software/ganv/"
-DOWNLOAD="http://download.drobilla.net/ganv-1.4.2.tar.bz2"
-MD5SUM="30c2c36d0c64d0a3b73e0bc7c564861c"
+VERSION="1.8.2"
+HOMEPAGE="https://drobilla.net/software/ganv.html"
+DOWNLOAD="http://download.drobilla.net/ganv-1.8.2.tar.xz"
+MD5SUM="0c0955e674e9cbd6a493a6c6b5717640"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Ryan P.C. McQuen"
-EMAIL="ryanpcmcquen@member.fsf.org"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/libraries/ganv/slack-desc b/libraries/ganv/slack-desc
index de41bcf58f..881d9c71ba 100644
--- a/libraries/ganv/slack-desc
+++ b/libraries/ganv/slack-desc
@@ -12,7 +12,7 @@ ganv: Ganv is an interactive Gtk widget for interactive "boxes and lines"
ganv: or graph-like environments (e.g. modular synths or finite
ganv: state machine diagrams).
ganv:
-ganv: http://drobilla.net/software/ganv/
+ganv: https://drobilla.net/software/ganv.html
ganv:
ganv:
ganv:
diff --git a/libraries/gaphas/README b/libraries/gaphas/README
deleted file mode 100644
index bb67ca6cbb..0000000000
--- a/libraries/gaphas/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Gaphas is a MVC canvas that uses Cairo for rendering. One of the
-nicer things of this widget is that the user (model) is not bothered
-with bounding box calculations: this is all done through Cairo.
diff --git a/libraries/gaphas/gaphas.SlackBuild b/libraries/gaphas/gaphas.SlackBuild
deleted file mode 100644
index 78059932b1..0000000000
--- a/libraries/gaphas/gaphas.SlackBuild
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gaphas
-
-# Copyright 2011 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=gaphas
-VERSION=${VERSION:-0.7.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 COPYING 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/libraries/gaphas/gaphas.info b/libraries/gaphas/gaphas.info
deleted file mode 100644
index ba89164b08..0000000000
--- a/libraries/gaphas/gaphas.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gaphas"
-VERSION="0.7.2"
-HOMEPAGE="https://pypi.python.org/pypi/gaphas"
-DOWNLOAD="https://pypi.python.org/packages/source/g/gaphas/gaphas-0.7.2.tar.gz"
-MD5SUM="8a18fa17a7f4df29d9e7762eb430816e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="decorator nose setuptools-git simplegeneric"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
diff --git a/libraries/gaphas/slack-desc b/libraries/gaphas/slack-desc
deleted file mode 100644
index 0467c96496..0000000000
--- a/libraries/gaphas/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------------------------------------------------------|
-gaphas: gaphas (GTK+ based diagramming widget)
-gaphas:
-gaphas: Gaphas is a MVC canvas that uses Cairo for rendering. One of the
-gaphas: nicer things of this widget is that the user (model) is not bothered
-gaphas: with bounding box calculations: this is all done through Cairo.
-gaphas:
-gaphas:
-gaphas:
-gaphas:
-gaphas:
-gaphas:
diff --git a/libraries/gavl/gavl.SlackBuild b/libraries/gavl/gavl.SlackBuild
index 503719cff0..f85b4e5d0c 100644
--- a/libraries/gavl/gavl.SlackBuild
+++ b/libraries/gavl/gavl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gavl
@@ -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=gavl
VERSION=${VERSION:-1.4.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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,8 +115,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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/libraries/gazebo/README b/libraries/gazebo/README
deleted file mode 100644
index 57680eb0f6..0000000000
--- a/libraries/gazebo/README
+++ /dev/null
@@ -1,19 +0,0 @@
-Gazebo - A dynamic multi-robot simulator. Gazebo simulates multiple
-robots in a 3D environment, with extensive dynamic interaction between
-objects.
-
-Optional dependencies
-
-hdf5 - HDF support
-gts - CSG support
-bullet - Oculus Rift support
-gdal - digital elevation terrain support
-graphviz - model editor schematic view and OpenSource Virtual
- Reality (OSVR)
-
-Optional dependencies not available at SlackBuilds.org
-
-Simbody https://simtk.org/projects/simbody
-DART http://dartsim.github.io/index.html
-Player http://playerstage.sourceforge.net
-ronn https://github.com/rtomayko/ronn
diff --git a/libraries/gazebo/gazebo-tinyxml2.patch b/libraries/gazebo/gazebo-tinyxml2.patch
deleted file mode 100644
index 0e52a83259..0000000000
--- a/libraries/gazebo/gazebo-tinyxml2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- gazebo/util/LogPlay.cc 2017-06-09 03:51:31.000000000 +0100
-+++ gazebo/util/LogPlay.cc.new 2018-02-12 16:52:06.382230361 +0000
-@@ -118,8 +118,8 @@
- {
- gzerr << "Unable to load file[" << _logFile << "]. "
- << "Check the Gazebo server log file for more information.\n";
-- const char *errorStr1 = this->dataPtr->xmlDoc.GetErrorStr1();
-- const char *errorStr2 = this->dataPtr->xmlDoc.GetErrorStr2();
-+ const char *errorStr1 = this->dataPtr->xmlDoc.ErrorStr();
-+ const char *errorStr2 = this->dataPtr->xmlDoc.ErrorStr();
- if (errorStr1)
- gzlog << "Log Error 1:\n" << errorStr1 << std::endl;
- if (errorStr2)
diff --git a/libraries/gazebo/gazebo.SlackBuild b/libraries/gazebo/gazebo.SlackBuild
deleted file mode 100644
index 81884c1f13..0000000000
--- a/libraries/gazebo/gazebo.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gazebo
-
-# Copyright 2016 Nikolay Nikolov <nikobnikolov[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.
-
-PRGNAM=gazebo
-VERSION=${VERSION:-7.1.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 {} \;
-
-# Make gazebo-config.cmake look for ogre in lib64
-sed -i -e "s#/lib/#/lib${LIBDIRSUFFIX}/#" cmake/gazebo-config.cmake.in
-
-# Fix build failure with tinyxml-2.6.2
-# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835427
-sed -i -e 's/XML_NO_ERROR/XML_SUCCESS/g' gazebo/util/LogPlay.cc
-
-# Fix build failure with tinyxml2-7.0.1
-# https://github.com/ros/ros-overlay/issues/323
-patch -p0 < $CWD/gazebo-tinyxml2.patch
-
-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
-
-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/$PRGNAM-$VERSION
-cp -a README 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/libraries/gazebo/gazebo.info b/libraries/gazebo/gazebo.info
deleted file mode 100644
index d5cedb4bc8..0000000000
--- a/libraries/gazebo/gazebo.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gazebo"
-VERSION="7.1.0"
-HOMEPAGE="http://gazebosim.org/"
-DOWNLOAD="http://osrf-distributions.s3.amazonaws.com/gazebo/releases/gazebo-7.1.0.tar.bz2"
-MD5SUM="7ab4fa6ca7fd853ae9269ebee983e480"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ignition-transport FreeImage tinyxml2 libtar tbb ogre sdformat"
-MAINTAINER="Nikolay Nikolov"
-EMAIL="nikobnikolov[at]gmail[dot]com"
diff --git a/libraries/gazebo/slack-desc b/libraries/gazebo/slack-desc
deleted file mode 100644
index ef2b3ef8e3..0000000000
--- a/libraries/gazebo/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------------------------------------------------------|
-gazebo: gazebo (dynamic multi-robot simulator)
-gazebo:
-gazebo: This is the Gazebo simulator. Gazebo simulates multiple robots in a
-gazebo: 3D environment, with extensive dynamic interaction between objects.
-gazebo:
-gazebo: http://gazebosim.org
-gazebo:
-gazebo:
-gazebo:
-gazebo:
-gazebo:
diff --git a/libraries/gcab/gcab.SlackBuild b/libraries/gcab/gcab.SlackBuild
index d9c205a962..5bcdae7954 100644
--- a/libraries/gcab/gcab.SlackBuild
+++ b/libraries/gcab/gcab.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "gcab".
@@ -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=gcab
VERSION=${VERSION:-0.6}
-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"
@@ -93,8 +103,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING NEWS $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/libraries/gcab/gcab.info b/libraries/gcab/gcab.info
index 2a389b5326..aa752ab5e8 100644
--- a/libraries/gcab/gcab.info
+++ b/libraries/gcab/gcab.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gcab/0.6/gcab-0.6.tar.xz"
MD5SUM="dd7333644cb88995693f043da9bf55d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vala"
+REQUIRES=""
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch b/libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch
new file mode 100644
index 0000000000..026a28aab0
--- /dev/null
+++ b/libraries/gconfmm/gconfmm-2.28.3-no-extern-c-glib-includes.patch
@@ -0,0 +1,45 @@
+diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/callback.h gconfmm-2.28.3/gconf/gconfmm/callback.h
+--- gconfmm-2.28.3-original/gconf/gconfmm/callback.h 2011-10-18 11:33:49.000000000 -0400
++++ gconfmm-2.28.3/gconf/gconfmm/callback.h 2021-02-13 09:21:06.167235506 -0500
+@@ -22,10 +22,7 @@
+ #ifndef GCONFMM_CALLBACK_H
+ #define GCONFMM_CALLBACK_H
+
+-extern "C"
+-{
+ #include <gconf/gconf-client.h>
+-}
+
+ #include <glibmm/object.h>
+ #include <gconfmm/entry.h>
+diff -Naur gconfmm-2.28.3-original/gconf/gconfmm/schema.h gconfmm-2.28.3/gconf/gconfmm/schema.h
+--- gconfmm-2.28.3-original/gconf/gconfmm/schema.h 2011-10-21 04:51:27.000000000 -0400
++++ gconfmm-2.28.3/gconf/gconfmm/schema.h 2021-02-13 09:21:24.616354041 -0500
+@@ -31,10 +31,8 @@
+ #include <gconfmm/value.h>
+
+
+-extern "C" {
+- // TODO: do not include this.
++// TODO: do not include this.
+ #include <gconf/gconf-schema.h>
+-}
+
+ namespace Gnome
+ {
+diff -Naur gconfmm-2.28.3-original/gconf/src/schema.hg gconfmm-2.28.3/gconf/src/schema.hg
+--- gconfmm-2.28.3-original/gconf/src/schema.hg 2011-10-18 11:33:49.000000000 -0400
++++ gconfmm-2.28.3/gconf/src/schema.hg 2021-02-13 09:21:58.002568546 -0500
+@@ -24,10 +24,8 @@
+
+ _DEFS(gconfmm,gconf)
+
+-extern "C" {
+- // TODO: do not include this.
++// TODO: do not include this.
+ #include <gconf/gconf-schema.h>
+-}
+
+ namespace Gnome
+ {
+ \ No newline at end of file
diff --git a/libraries/gconfmm/gconfmm.SlackBuild b/libraries/gconfmm/gconfmm.SlackBuild
index eceae4c5a1..657cff3849 100644
--- a/libraries/gconfmm/gconfmm.SlackBuild
+++ b/libraries/gconfmm/gconfmm.SlackBuild
@@ -1,30 +1,60 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gconfmm
+# Updated 2021 Petar Petrov slackalaxy@gmail.com
# Written by crocket (crockabiscuit@gmail.com)
# Maintained by Christoph Willing <chris.willing@linux.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.
+
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - put HTML API docs in correct directory.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gconfmm
VERSION=${VERSION:-2.28.3}
-BUILD=${BUILD:-1}
+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"
@@ -43,14 +73,17 @@ 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.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 {} \+
+
+# Thanks to Petar Petrov and Gentoo!
+patch -p1 -i $CWD/gconfmm-2.28.3-no-extern-c-glib-includes.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
@@ -68,12 +101,17 @@ make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING* ChangeLog INSTALL NEWS README \
+ AUTHORS COPYING* ChangeLog NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/share/doc/$PRGNAM-*/reference/html $PKG/usr/doc/$PRGNAM-$VERSION || true
+rm -rf $PKG/usr/share/doc
+
+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/libraries/gdata/gdata.SlackBuild b/libraries/gdata/gdata.SlackBuild
index a669058d0c..21edeb38b7 100644
--- a/libraries/gdata/gdata.SlackBuild
+++ b/libraries/gdata/gdata.SlackBuild
@@ -1,23 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gdata
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gdata
VERSION=${VERSION:-2.0.18}
-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}
@@ -33,15 +44,15 @@ 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 {} \+
python setup.py install --root=$PKG --no-compile
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- INSTALL.txt PKG-INFO README.txt RELEASE_NOTES.txt \
+install -m0644 \
+ PKG-INFO README.txt RELEASE_NOTES.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -49,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/libraries/gdl/gdl.SlackBuild b/libraries/gdl/gdl.SlackBuild
index 6ad5f2032c..f59ee628ae 100644
--- a/libraries/gdl/gdl.SlackBuild
+++ b/libraries/gdl/gdl.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gdl
# Copyright 2012-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2021 Matteo Bernardini <ponce@slackbuilds.org>
# 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=gdl
-VERSION=${VERSION:-3.26.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.34.0}
+BUILD=${BUILD:-3}
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}
@@ -69,6 +80,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 {} \;
+# Don't create the __pycache__ directory.
+export PYTHONDONTWRITEBYTECODE=1
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -88,12 +102,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 ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS $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/libraries/gdl/gdl.info b/libraries/gdl/gdl.info
index c4667a0207..cadf2359c3 100644
--- a/libraries/gdl/gdl.info
+++ b/libraries/gdl/gdl.info
@@ -1,10 +1,10 @@
PRGNAM="gdl"
-VERSION="3.26.0"
+VERSION="3.34.0"
HOMEPAGE="https://www.gnome.org/"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gdl/3.26/gdl-3.26.0.tar.xz"
-MD5SUM="1366cbca43242336f5e61b010145d76e"
+DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gdl/3.34/gdl-3.34.0.tar.xz"
+MD5SUM="d624f2ca85555402828d5c4a98912b82"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/genshi/genshi.SlackBuild b/libraries/genshi/genshi.SlackBuild
index d35ffc300f..951d65fdee 100644
--- a/libraries/genshi/genshi.SlackBuild
+++ b/libraries/genshi/genshi.SlackBuild
@@ -1,42 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Genshi
# Written by Eugene Suter <easuter at gmail.com>
# Maintained by James Geboski <jgeboski@gmail.com>
# now by Matteo Bernardini <ponce@slackbuilds.org>
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip shared library.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=genshi
SRCNAM=Genshi
VERSION=${VERSION:-0.7}
-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"
- 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
+# 20220419 bkw: nothing was using SLKCFLAGS, delete...
set -e
@@ -49,12 +48,15 @@ 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 {} \+
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/doc/$PRGNAM-$VERSION
cp -a doc/* COPYING ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -63,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/libraries/geocode-glib/README b/libraries/geocode-glib/README
new file mode 100644
index 0000000000..10db582b42
--- /dev/null
+++ b/libraries/geocode-glib/README
@@ -0,0 +1,10 @@
+geocode-glib is a convenience library for the geocoding (finding
+longitude, and latitude from an address) and reverse geocoding
+(finding an address from coordinates). It uses Nominatim service to
+achieve that. It also caches (reverse-)geocoding requests for faster
+results and to avoid unnecessary server load.
+
+Below variables can be used to configure the build:
+ GTKDOC=yes : Builds gtkdocs
+ INTROSPECTION=no : Disables the introspection generation
+ TESTS=yes : Build & install test programs
diff --git a/libraries/geocode-glib/doinst.sh b/libraries/geocode-glib/doinst.sh
new file mode 100644
index 0000000000..6c7c1b11b5
--- /dev/null
+++ b/libraries/geocode-glib/doinst.sh
@@ -0,0 +1,6 @@
+
+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/libraries/geocode-glib/geocode-glib.SlackBuild b/libraries/geocode-glib/geocode-glib.SlackBuild
new file mode 100644
index 0000000000..603a426aa6
--- /dev/null
+++ b/libraries/geocode-glib/geocode-glib.SlackBuild
@@ -0,0 +1,138 @@
+#!/bin/bash
+
+# Slackware build script for geocode-glib
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=geocode-glib
+VERSION=${VERSION:-3.26.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GTKDOC=${GTKDOC:-no}
+INTROSPECTION=${INTROSPECTION:-yes}
+TESTS=${TESTS:-no}
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+else
+ GTKDOCP="false"
+fi
+
+if [ "$INTROSPECTION" = "yes" ]; then
+ INTROSPECTIONP="true"
+else
+ INTROSPECTIONP="false"
+fi
+
+if [ "$TESTS" = "yes" ]; then
+ TESTSP="true"
+else
+ TESTSP="false"
+fi
+
+
+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 \
+ -Denable-introspection="$INTROSPECTIONP" \
+ -Denable-gtk-doc="$GTKDOCP" \
+ -Denable-installed-tests="$TESTSP"
+ "${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 \
+ AUTHORS COPYING.LIB ChangeLog 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
diff --git a/libraries/geocode-glib/geocode-glib.info b/libraries/geocode-glib/geocode-glib.info
new file mode 100644
index 0000000000..b9b60b2022
--- /dev/null
+++ b/libraries/geocode-glib/geocode-glib.info
@@ -0,0 +1,10 @@
+PRGNAM="geocode-glib"
+VERSION="3.26.4"
+HOMEPAGE="https://git.gnome.org/browse/geocode-glib"
+DOWNLOAD="https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.4.tar.xz"
+MD5SUM="4c0dcdb7ee1222435b20acd3d7b68cd1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/geocode-glib/slack-desc b/libraries/geocode-glib/slack-desc
new file mode 100644
index 0000000000..a71cb2d3b9
--- /dev/null
+++ b/libraries/geocode-glib/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------------------------------------------------------|
+geocode-glib: geocode-glib (convenience library for the geocoding)
+geocode-glib:
+geocode-glib: geocode-glib is a convenience library for the geocoding (finding
+geocode-glib: longitude, and latitude from an address) and reverse geocoding
+geocode-glib: (finding an address from coordinates). It uses Nominatim service to
+geocode-glib: achieve that. It also caches (reverse-)geocoding requests for faster
+geocode-glib: results and to avoid unnecessary server load.
+geocode-glib:
+geocode-glib: https://git.gnome.org/browse/geocode-glib
+geocode-glib:
+geocode-glib:
diff --git a/libraries/geocode-glib2/README b/libraries/geocode-glib2/README
new file mode 100644
index 0000000000..b821201716
--- /dev/null
+++ b/libraries/geocode-glib2/README
@@ -0,0 +1,13 @@
+geocode-glib2 is a convenience library for the geocoding (finding
+longitude, and latitude from an address) and reverse geocoding
+(finding an address from coordinates). It uses Nominatim service to
+achieve that. It also caches (reverse-)geocoding requests for faster
+results and to avoid unnecessary server load.
+
+This script will build library that uses soup3 API. It can reside with
+geocode-glib in the same system.
+
+Below variables can be used to configure the build:
+ GTKDOC=yes : Builds gtkdocs
+ INTROSPECTION=no : Disables the introspection generation
+ TESTS=yes : Build & install test programs
diff --git a/libraries/geocode-glib2/doinst.sh b/libraries/geocode-glib2/doinst.sh
new file mode 100644
index 0000000000..6c7c1b11b5
--- /dev/null
+++ b/libraries/geocode-glib2/doinst.sh
@@ -0,0 +1,6 @@
+
+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/libraries/geocode-glib2/geocode-glib2.SlackBuild b/libraries/geocode-glib2/geocode-glib2.SlackBuild
new file mode 100644
index 0000000000..dc3c8c5ca3
--- /dev/null
+++ b/libraries/geocode-glib2/geocode-glib2.SlackBuild
@@ -0,0 +1,142 @@
+#!/bin/bash
+
+# Slackware build script for geocode-glib
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=geocode-glib2
+VERSION=${VERSION:-3.26.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GTKDOC=${GTKDOC:-no}
+INTROSPECTION=${INTROSPECTION:-yes}
+TESTS=${TESTS:-no}
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+else
+ GTKDOCP="false"
+fi
+
+if [ "$INTROSPECTION" = "yes" ]; then
+ INTROSPECTIONP="true"
+else
+ INTROSPECTIONP="false"
+fi
+
+if [ "$TESTS" = "yes" ]; then
+ TESTSP="true"
+else
+ TESTSP="false"
+fi
+
+# Same code base provides two libraries: one uses soup2 and other uses soup3.
+# They both have different so names and pkg-config files.
+PRGNAM1=geocode-glib
+
+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 $PRGNAM1-$VERSION
+tar xvf $CWD/$PRGNAM1-$VERSION.tar.xz
+cd $PRGNAM1-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -Denable-introspection="$INTROSPECTIONP" \
+ -Denable-gtk-doc="$GTKDOCP" \
+ -Denable-installed-tests="$TESTSP" \
+ -Dsoup2=false
+ "${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 \
+ AUTHORS COPYING.LIB ChangeLog 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
diff --git a/libraries/geocode-glib2/geocode-glib2.info b/libraries/geocode-glib2/geocode-glib2.info
new file mode 100644
index 0000000000..c76b328b2e
--- /dev/null
+++ b/libraries/geocode-glib2/geocode-glib2.info
@@ -0,0 +1,10 @@
+PRGNAM="geocode-glib2"
+VERSION="3.26.4"
+HOMEPAGE="https://git.gnome.org/browse/geocode-glib"
+DOWNLOAD="https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.4.tar.xz"
+MD5SUM="4c0dcdb7ee1222435b20acd3d7b68cd1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libsoup3"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/geocode-glib2/slack-desc b/libraries/geocode-glib2/slack-desc
new file mode 100644
index 0000000000..10b95552a0
--- /dev/null
+++ b/libraries/geocode-glib2/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------------------------------------------------------|
+geocode-glib2: geocode-glib2 (convenience library for the geocoding)
+geocode-glib2:
+geocode-glib2: geocode-glib2 is a convenience library for the geocoding (finding
+geocode-glib2: longitude, and latitude from an address) and reverse geocoding
+geocode-glib2: (finding an address from coordinates). It uses Nominatim service to
+geocode-glib2: achieve that. It also caches (reverse-)geocoding requests for faster
+geocode-glib2: results and to avoid unnecessary server load.
+geocode-glib2:
+geocode-glib2: geocode-glib2 uses soup3 API.
+geocode-glib2:
+geocode-glib2: https://git.gnome.org/browse/geocode-glib
diff --git a/libraries/geshi/geshi.SlackBuild b/libraries/geshi/geshi.SlackBuild
index 4fa035d47d..b169946492 100644
--- a/libraries/geshi/geshi.SlackBuild
+++ b/libraries/geshi/geshi.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GeSHi
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geshi
VERSION=${VERSION:-1.0.8.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=GeSHi
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=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
@@ -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/libraries/gevent/gevent.SlackBuild b/libraries/gevent/gevent.SlackBuild
index adcfadc1ce..dc38b5aed4 100644
--- a/libraries/gevent/gevent.SlackBuild
+++ b/libraries/gevent/gevent.SlackBuild
@@ -1,11 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Gevent
#
-# $Revision: fbd2bb006bbd $
-# $Date: 2015/01/21 22:22:35 $
-#
# Copyright (C) 2014-2015 Adis Nezirovic <adis_at_linux.org.ba>
+# Copyright 2021-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,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=gevent
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-22.10.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"
@@ -72,17 +77,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
+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 LICENSE README.rst TODO changelog.rst doc/*.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE README.rst 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gevent/gevent.info b/libraries/gevent/gevent.info
index ac1aeb69ca..d886ce6de8 100644
--- a/libraries/gevent/gevent.info
+++ b/libraries/gevent/gevent.info
@@ -1,10 +1,10 @@
PRGNAM="gevent"
-VERSION="1.0.1"
+VERSION="22.10.2"
HOMEPAGE="http://www.gevent.org/"
-DOWNLOAD="https://pypi.python.org/packages/source/g/gevent/gevent-1.0.1.tar.gz"
-MD5SUM="7b952591d1a0174d6eb6ac47bd975ab6"
+DOWNLOAD="https://files.pythonhosted.org/packages/9f/4a/e9e57cb9495f0c7943b1d5965c4bdd0d78bc4a433a7c96ee034b16c01520/gevent-22.10.2.tar.gz"
+MD5SUM="9a29b3d7e17fc32bc70858116d76fa6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="greenlet"
-MAINTAINER="Adis Nezirović"
-EMAIL="adis_at_linux.org.ba"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/gf2x/README b/libraries/gf2x/README
index 43795c2717..5667081a55 100644
--- a/libraries/gf2x/README
+++ b/libraries/gf2x/README
@@ -1,3 +1,7 @@
gf2x is a C/C++ software package containing routines for fast
arithmetic in GF(2)[x] (multiplication, squaring, GCD) and searching
for irreducible/primitive trinomials.
+
+gf2x requires a CPU with SSE2 support. All x86_64 CPUs are OK, and
+most 32-bit x86 CPUs still in use in 2022 are OK. If in doubt, run
+e.g. "grep sse2 /proc/cpuinfo" to find out.
diff --git a/libraries/gf2x/gf2x.SlackBuild b/libraries/gf2x/gf2x.SlackBuild
index bbaa2bdb22..fa7262721d 100644
--- a/libraries/gf2x/gf2x.SlackBuild
+++ b/libraries/gf2x/gf2x.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gf2x
@@ -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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - add note to README about SSE2.
+# - remove empty/useless docs from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gf2x
VERSION=${VERSION:-1.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-4}
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}
@@ -60,16 +71,21 @@ 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
+mv $PRGNAM-$PRGNAM-$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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 -msse2" \
+SLKCFLAGS+=" -msse2"
+autoreconf -fi
+rm -Rf autom4te.cache
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -83,17 +99,16 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS BUGS COPYING 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/libraries/gf2x/gf2x.info b/libraries/gf2x/gf2x.info
index f324033cc1..7b99ed6769 100644
--- a/libraries/gf2x/gf2x.info
+++ b/libraries/gf2x/gf2x.info
@@ -1,8 +1,8 @@
PRGNAM="gf2x"
VERSION="1.3.0"
-HOMEPAGE="http://gf2x.gforge.inria.fr"
-DOWNLOAD="https://gforge.inria.fr/frs/download.php/file/38243/gf2x-1.3.0.tar.gz"
-MD5SUM="842f087ce423c279dced26b85b0fd1d0"
+HOMEPAGE="https://gitlab.inria.fr/gf2x/gf2x/"
+DOWNLOAD="https://gitlab.inria.fr/gf2x/gf2x/-/archive/gf2x-1.3.0/gf2x-gf2x-1.3.0.tar.gz"
+MD5SUM="18bccf5efd998424da5e99d4575de0ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/gfbgraph/README b/libraries/gfbgraph/README
new file mode 100644
index 0000000000..51592bab99
--- /dev/null
+++ b/libraries/gfbgraph/README
@@ -0,0 +1 @@
+A GObject library for Facebook Graph API
diff --git a/libraries/gfbgraph/gfbgraph.SlackBuild b/libraries/gfbgraph/gfbgraph.SlackBuild
new file mode 100644
index 0000000000..0716ec1245
--- /dev/null
+++ b/libraries/gfbgraph/gfbgraph.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libgfbgraph
+
+# 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=gfbgraph
+VERSION=${VERSION:-0.2.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+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
+
+find $PKG -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 some extraneous documentation that is installed to the wrong directory:
+rm -rf $PKG/usr/doc/libgfbgraph
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING 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
diff --git a/libraries/gfbgraph/gfbgraph.info b/libraries/gfbgraph/gfbgraph.info
new file mode 100644
index 0000000000..6423dd243b
--- /dev/null
+++ b/libraries/gfbgraph/gfbgraph.info
@@ -0,0 +1,10 @@
+PRGNAM="gfbgraph"
+VERSION="0.2.5"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libgfbgraph"
+DOWNLOAD="https://download.gnome.org/sources/gfbgraph/0.2/gfbgraph-0.2.5.tar.xz"
+MD5SUM="05af5bd8af691a8e8de265fe061f6705"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gnome-online-accounts"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/gfbgraph/slack-desc b/libraries/gfbgraph/slack-desc
new file mode 100644
index 0000000000..a7484bbf76
--- /dev/null
+++ b/libraries/gfbgraph/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------------------------------------------------------|
+gfbgraph: gfbgraph (GObject library for Facebook Graph API)
+gfbgraph:
+gfbgraph: libgfbgraph is a GObject library for Facebook Graph API.
+gfbgraph:
+gfbgraph:
+gfbgraph:
+gfbgraph:
+gfbgraph:
+gfbgraph:
+gfbgraph: https://gitlab.gnome.org/GNOME/libgfbgraph
+gfbgraph:
diff --git a/libraries/gflags/gflags.SlackBuild b/libraries/gflags/gflags.SlackBuild
index 1a3aa8d208..470ed8b0de 100644
--- a/libraries/gflags/gflags.SlackBuild
+++ b/libraries/gflags/gflags.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GFlags
@@ -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=gflags
VERSION=${VERSION:-2.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}
@@ -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/libraries/ghc_filesystem/README b/libraries/ghc_filesystem/README
new file mode 100644
index 0000000000..7f173566d7
--- /dev/null
+++ b/libraries/ghc_filesystem/README
@@ -0,0 +1,17 @@
+This is a header-only single-file std::filesystem compatible helper
+library, based on the C++17 and C++20 specs, but implemented for C++11,
+C++14, C++17 or C++20 (tightly following the C++17 standard with very
+few documented exceptions).
+
+It is currently tested on macOS 10.12/10.14/10.15/11.6, Windows 10,
+Ubuntu 18.04, Ubuntu 20.04, CentOS 7, CentOS 8, FreeBSD 12,
+Alpine ARM/ARM64 Linux and Solaris 10 but should work on other
+systems too, as long as you have at least a C++11 compatible compiler.
+It should work with Android NDK, Emscripten and I even had reports of
+it being used on iOS (within sandboxing constraints) and with v1.5.6
+there is experimental support for QNX. The support of Android NDK,
+Emscripten and QNX is not backed up by automated testing but PRs and
+bug reports are welcome for those too. It is of course in its own
+namespace ghc::filesystem to not interfere with a regular
+std::filesystem should you use it in a mixed C++17 environment
+(which is possible).
diff --git a/libraries/ghc_filesystem/ghc_filesystem.SlackBuild b/libraries/ghc_filesystem/ghc_filesystem.SlackBuild
new file mode 100644
index 0000000000..48fdc34e81
--- /dev/null
+++ b/libraries/ghc_filesystem/ghc_filesystem.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Slackware build script for ghc::filesystem
+
+# Copyright 2022 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=ghc_filesystem
+VERSION=${VERSION:-1.5.14}
+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 filesystem-$VERSION
+tar xvf $CWD/filesystem-$VERSION.tar.gz
+cd filesystem-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None ..
+ cmake --build .
+ ctest --test-dir test
+ DESTDIR=$PKG cmake --install .
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md \
+$PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ghc_filesystem/ghc_filesystem.info b/libraries/ghc_filesystem/ghc_filesystem.info
new file mode 100644
index 0000000000..453c21e0b9
--- /dev/null
+++ b/libraries/ghc_filesystem/ghc_filesystem.info
@@ -0,0 +1,10 @@
+PRGNAM="ghc_filesystem"
+VERSION="1.5.14"
+HOMEPAGE="https://github.com/gulrak/filesystem"
+DOWNLOAD="https://github.com/gulrak/filesystem/archive/v1.5.14/filesystem-1.5.14.tar.gz"
+MD5SUM="bbd0250475eb1dbb54e9fc162126d1df"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/libraries/ghc_filesystem/slack-desc b/libraries/ghc_filesystem/slack-desc
new file mode 100644
index 0000000000..b468fe8ad6
--- /dev/null
+++ b/libraries/ghc_filesystem/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------------------------------------------------------|
+ghc_filesystem: ghc_filesystem (header-only std::filesystem helper library)
+ghc_filesystem:
+ghc_filesystem: An implementation of C++17 std::filesystem for C++11,C++14,C++17
+ghc_filesystem: and C++20 on Windows, macOS, Linux and FreeBSD. Test coverage is
+ghc_filesystem: well above 90%, and starting with v1.3.6 and in v1.5.0 more time
+ghc_filesystem: was invested in benchmarking and optimizing parts of the library.
+ghc_filesystem:
+ghc_filesystem:
+ghc_filesystem:
+ghc_filesystem:
+ghc_filesystem:
diff --git a/libraries/giblib/fix-configure_ac-imlib2.patch b/libraries/giblib/fix-configure_ac-imlib2.patch
new file mode 100644
index 0000000000..33e86765cc
--- /dev/null
+++ b/libraries/giblib/fix-configure_ac-imlib2.patch
@@ -0,0 +1,20 @@
+--- giblib-1.2.4/configure.ac.dist 2022-06-03 02:18:31.377935260 -0400
++++ giblib-1.2.4/configure.ac 2022-06-03 02:19:07.737316688 -0400
+@@ -17,16 +17,7 @@
+ AM_MAINTAINER_MODE
+ AM_WITH_DMALLOC
+
+-AC_PATH_GENERIC(imlib2, 1.0.0, [
+- AC_SUBST(IMLIB_LIBS)
+- AC_SUBST(IMLIB_CFLAGS) ],
+- AC_MSG_ERROR(Cannot find imlib2: Is imlib2-config in the path?) )
+-
+-dnl the above doesn't work for some reason :/
+-IMLIB_LIBS=`imlib2-config --libs`
+-IMLIB_CFLAGS=`imlib2-config --cflags`
+-AC_SUBST(IMLIB_LIBS)
+-AC_SUBST(IMLIB_CFLAGS)
++PKG_CHECK_MODULES([IMLIB],[imlib2])
+
+ LIBS="$LIBS -lm"
+ CFLAGS="$CFLAGS -Wall"
diff --git a/libraries/giblib/giblib.SlackBuild b/libraries/giblib/giblib.SlackBuild
index 1ec8dbf685..35befab080 100644
--- a/libraries/giblib/giblib.SlackBuild
+++ b/libraries/giblib/giblib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for giblib
# Klaatu | Wellington, NZ | klaatu@member.fsf.org
@@ -22,26 +22,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=5:
+# - remove empty TODO from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=giblib
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-6}
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"
@@ -67,9 +78,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 -Np1 -i $CWD/fix-configure_ac-imlib2.patch
+autoreconf -fvi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -87,12 +101,14 @@ make install DESTDIR=$PKG docsdir=/usr/doc/$PRGNAM-$VERSION
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/TODO
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/libraries/girara/README b/libraries/girara/README
index c1047f7e65..cc10585b00 100644
--- a/libraries/girara/README
+++ b/libraries/girara/README
@@ -2,9 +2,8 @@ girara (GTK+ based GUI for text-oriented applications)
girara is a library that implements a user interface that focuses on
simplicity and minimalism. girara was designed to replace and enhance
-the user interface that is used by zathura and jumanji and other features
-that those applications share.
+the user interface that is used by zathura and jumanji and other
+features that those applications share.
-Note: Previous version of girara were based on gtk+-2.x. This version
-is based on 3.x, so any software that uses girara will likely need to
-be rebuilt when girara is upgraded.
+Note: this is not the latest version of girara; the latest version
+requires a newer pango than Slackware 15.0 has.
diff --git a/libraries/girara/girara.SlackBuild b/libraries/girara/girara.SlackBuild
index bf5ad679c2..a422527a3c 100644
--- a/libraries/girara/girara.SlackBuild
+++ b/libraries/girara/girara.SlackBuild
@@ -1,20 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for girara
-# 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.
+# 20240319 bkw: update for v0.4.2 (*not* 0.4.3, it needs a newer pango).
+# 20230105 bkw: update for v0.3.8.
+# 20221114 bkw: update for v0.3.7.
+# 20211225 bkw: update for v0.3.6.
# 20180903 bkw: Fix build with Russian (and possibly other non-English) locale.
-
# 20180619 bkw: Update for v0.3.0. Upstream switched from make to meson,
# so this script's no longer compatible with older versions of girara.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=girara
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.4.2}
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}
@@ -55,6 +65,10 @@ 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 {} \+
+# 20240319 bkw: upstream decided we needed a newer meson, but this
+# builds just fine with our older one.
+sed -i '/meson_version/s,>=0\.61,>=0.59,' meson.build
+
# Something in the ninja/meson build stuff is grepping the output of
# some command, looking for a specific string in English. Building with
# e.g. ru_RU.UTF-8 locale breaks it. Meson and ninja are totally new to
@@ -81,18 +95,17 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix /usr \
--buildtype=plain \
build
-
-DESTDIR="$PKG" ninja -C build install
+DESTDIR="$PKG" "${NINJA:=ninja}" -C build install
# strip it, strip it good
strip $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE README $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/girara/girara.info b/libraries/girara/girara.info
index 340fbcf384..5f5a770e13 100644
--- a/libraries/girara/girara.info
+++ b/libraries/girara/girara.info
@@ -1,10 +1,10 @@
PRGNAM="girara"
-VERSION="0.3.0"
+VERSION="0.4.2"
HOMEPAGE="https://github.com/pwmt/girara"
-DOWNLOAD="https://github.com/pwmt/girara/archive/0.3.0/girara-0.3.0.tar.gz"
-MD5SUM="7f419ce20326dd7c9ef5118bb6d628b1"
+DOWNLOAD="https://github.com/pwmt/girara/archive/0.4.2/girara-0.4.2.tar.gz"
+MD5SUM="aa179b65ab0dcafcd3a768efcd7bbade"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
+REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/gismo/README b/libraries/gismo/README
new file mode 100644
index 0000000000..b8292a0d09
--- /dev/null
+++ b/libraries/gismo/README
@@ -0,0 +1,23 @@
+ G+Smo (pronounced gismo or gizmo) is a C++ library for isogeometric
+analysis (IGA). Geometry plus simulation modules aims at the seamless
+integration of Computer-aided Design (CAD) and Finite Element
+Analysis (FEA).
+
+ G+Smo (Geometry + Simulation Modules, pronounced "gismo") is an
+open-source C++ library that brings together mathematical tools for
+geometric design and numerical simulation. It implements the
+relatively new paradigm of isogeometric analysis, which suggests the
+use of a unified framework in the design and analysis pipeline. G+Smo
+is an object-oriented, cross-platform, template C++ library and
+follows the generic programming principle, with a focus on both
+efficiency and ease of use. The library aims at providing access to
+high quality, open-source software to the forming isogeometric
+numerical simulation community and beyond.
+
+
+Optional building modes set with environment variables:
+ - QTAPP=yes : build the QT application
+ - OMP=yes : building with OpenMP
+ - MPI=yes : build with MPI support (requires mpich or openmpi)
+ - HYBRID=yes : OpenMP+MPI (requires mpich or openmpi)
+ - VTK=yes : use VTK, requires VTK package.
diff --git a/libraries/gismo/gismo.SlackBuild b/libraries/gismo/gismo.SlackBuild
new file mode 100644
index 0000000000..75cb4f8b71
--- /dev/null
+++ b/libraries/gismo/gismo.SlackBuild
@@ -0,0 +1,147 @@
+#!/bin/bash
+
+# Slackware build script for gismo
+
+# 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=gismo
+VERSION=${VERSION:-21.12.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 [ "${QTAPP:-no}" == "yes" ]; then
+ OPT_BUILD="-DGISMO_BUILD_QT_APP=ON"
+fi
+
+if [ "${OMP:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DGISMO_WITH_OPENMP=ON"
+fi
+
+if [ "${MPI:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DGISMO_WITH_MPI=ON"
+fi
+
+if [ "${HYBRID:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DGISMO_WITH_OPENMP=ON -DGISMO_WITH_MPI=ON"
+fi
+
+if [ "${VTK:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DGISMO_WITH_VTK:BOOL=ON"
+fi
+
+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 \
+ -DGISMO_BUILD_LIB:BOOL=ON \
+ -DGISMO_BUILD_EXAMPLES:BOOL=OFF \
+ $OPT_BUILD \
+ -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
+
+# fix cmakefile for examples
+sed -i '18,21s/^#//' $PKG/usr/share/$PRGNAM-$VERSION/examples/CMakeLists.txt
+
+# fix cmake to find library
+sed -i '33s/_static//' $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/gismoUse.cmake
+
+
+# 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 LICENSE.txt 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/libraries/gismo/gismo.info b/libraries/gismo/gismo.info
new file mode 100644
index 0000000000..4f0c88adf3
--- /dev/null
+++ b/libraries/gismo/gismo.info
@@ -0,0 +1,10 @@
+PRGNAM="gismo"
+VERSION="21.12.0"
+HOMEPAGE="https://gismo.github.io"
+DOWNLOAD="https://github.com/gismo/gismo/archive/v21.12.0/gismo-21.12.0.tar.gz"
+MD5SUM="0d02efd5d9b13726c1d6db6b48499519"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/gismo/slack-desc b/libraries/gismo/slack-desc
new file mode 100644
index 0000000000..469af22276
--- /dev/null
+++ b/libraries/gismo/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------------------------------------------------------|
+gismo: gismo (C++ library for isogeometric analysis)
+gismo:
+gismo:
+gismo:
+gismo: G+Smo (pronounced gismo or gizmo) is a C++ library for isogeometric
+gismo: analysis (IGA). Geometry plus simulation modules aims at the seamless
+gismo: integration of Computer-aided Design (CAD) and Finite Element
+gismo: Analysis (FEA).
+gismo:
+gismo:
+gismo:
diff --git a/libraries/gitdb/README b/libraries/gitdb/README
index 7d4321ee72..01b6cdaf00 100644
--- a/libraries/gitdb/README
+++ b/libraries/gitdb/README
@@ -2,7 +2,8 @@ Git Object Database.
GitDB is a pure-Python git object database.
-GitDB allows you to access bare git repositories for reading and writing.
-It aims at allowing full access to loose objects as well as packs with
-performance and scalability in mind. It operates exclusively on streams,
-allowing to operate on large objects with a small memory footprint.
+GitDB allows you to access bare git repositories for reading and
+writing. It aims at allowing full access to loose objects as well
+as packs with performance and scalability in mind. It operates
+exclusively on streams, allowing to operate on large objects with a
+small memory footprint.
diff --git a/libraries/gitdb/gitdb.SlackBuild b/libraries/gitdb/gitdb.SlackBuild
index fc4324e0f2..3a7f44c879 100644
--- a/libraries/gitdb/gitdb.SlackBuild
+++ b/libraries/gitdb/gitdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gitdb
@@ -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=gitdb
VERSION=${VERSION:-0.6.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/libraries/gitdb2/README b/libraries/gitdb2/README
index afb6160ee6..d87dfd0943 100644
--- a/libraries/gitdb2/README
+++ b/libraries/gitdb2/README
@@ -1,4 +1,5 @@
-GitDB allows you to access bare git repositories for reading and writing.
-It aims at allowing full access to loose objects as well as packs with
-performance and scalability in mind. It operates exclusively on streams,
-allowing to handle large objects with a small memory footprint.
+GitDB allows you to access bare git repositories for reading
+and writing. It aims at allowing full access to loose objects as
+well as packs with performance and scalability in mind. It operates
+exclusively on streams, allowing to handle large objects with a small
+memory footprint.
diff --git a/libraries/gitdb2/gitdb2.SlackBuild b/libraries/gitdb2/gitdb2.SlackBuild
index d6a091ae71..2b42a0ad87 100644
--- a/libraries/gitdb2/gitdb2.SlackBuild
+++ b/libraries/gitdb2/gitdb2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gitdb2
@@ -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=gitdb2
VERSION=${VERSION:-2.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}
@@ -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/libraries/gl2ps/README b/libraries/gl2ps/README
index 86a263c763..d6d75e1244 100644
--- a/libraries/gl2ps/README
+++ b/libraries/gl2ps/README
@@ -1,8 +1,9 @@
-GL2PS is a C library providing high quality vector output for any OpenGL
-application.
+GL2PS is a C library providing high quality vector output for any
+OpenGL application.
+
+The main difference between GL2PS and other similar libraries is
+the use of sorting algorithms capable of handling intersecting and
+stretched polygons, as well as non manifold objects.
-The main difference between GL2PS and other similar libraries is the use of
-sorting algorithms capable of handling intersecting and stretched polygons,
-as well as non manifold objects.
GL2PS provides advanced smooth shading and text rendering, culling of
invisible primitives, mixed vector/bitmap output, and much more...
diff --git a/libraries/gl2ps/gl2ps.SlackBuild b/libraries/gl2ps/gl2ps.SlackBuild
index 6d0f8973fb..b8c7b99788 100644
--- a/libraries/gl2ps/gl2ps.SlackBuild
+++ b/libraries/gl2ps/gl2ps.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gl2ps
@@ -24,26 +24,36 @@
# revision date 2012/09/14
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gl2ps
VERSION=${VERSION:-1.3.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"
@@ -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/libraries/glfw/README b/libraries/glfw/README
deleted file mode 100644
index c0f61deb77..0000000000
--- a/libraries/glfw/README
+++ /dev/null
@@ -1,10 +0,0 @@
-GLFW is a free, Open Source, multi-platform library for opening a
-window, creating an OpenGL context and managing input. It is easy to
-integrate into existing applications and does not lay claim to the
-main loop.
-
-GLFW is written in C and has native support for Windows, Mac OS X and
-many Unix-like systems using the X Window System, such as Linux and
-FreeBSD.
-
-GLFW is licensed under the zlib/libpng license.
diff --git a/libraries/glfw/glfw.SlackBuild b/libraries/glfw/glfw.SlackBuild
deleted file mode 100644
index 7e9fe77150..0000000000
--- a/libraries/glfw/glfw.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for glfw
-
-# Copyright 2013 Jeffrey T. Read <bitwize@gmail.com> 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=glfw
-VERSION=${VERSION:-2.7.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 xvjf $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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-sh ./compile.sh
-
-make
-make x11-dist-install PREFIX=$PKG/usr
-
-if [ "$ARCH" = "x86_64" ]; then
- mv $PKG/usr/lib $PKG/usr/lib64
-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/*.pdf \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/glfw/glfw.info b/libraries/glfw/glfw.info
deleted file mode 100644
index 8f00b436cd..0000000000
--- a/libraries/glfw/glfw.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="glfw"
-VERSION="2.7.8"
-HOMEPAGE="http://www.glfw.org"
-DOWNLOAD="http://downloads.sourceforge.net/project/glfw/glfw/2.7.8/glfw-2.7.8.tar.bz2"
-MD5SUM="a2e1b13e46a7c637a7760c94b72896cd"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jeffrey T. Read"
-EMAIL="bitwize@gmail.com"
diff --git a/libraries/glfw/slack-desc b/libraries/glfw/slack-desc
deleted file mode 100644
index 9c34665d4c..0000000000
--- a/libraries/glfw/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------------------------------------------------------|
-glfw: glfw (OpenGL framework)
-glfw:
-glfw: GLFW is a free, Open Source, multi-platform library for opening a
-glfw: window, creating an OpenGL context and managing input. It is easy to
-glfw: integrate into existing applications and does not lay claim to the
-glfw: main loop.
-glfw:
-glfw: GLFW is written in C and has native support for Windows, Mac OS X and
-glfw: many Unix-like systems using the X Window System, such as Linux and
-glfw: FreeBSD.
-glfw:
diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild
index 8d22394a31..8a03956876 100644
--- a/libraries/glfw3/glfw3.SlackBuild
+++ b/libraries/glfw3/glfw3.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for glfw3
-# Copyright 2015 Jeffrey T. Read <bitwize@gmail.com> USA
+# Copyright 2023-2024 Steven Voges <Oregon, USA>
# Copyright 2018-2020 Hunter Sezen California, USA
+# Copyright 2015 Jeffrey T. Read <bitwize@gmail.com> USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,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=glfw3
SRCNAM=${PRGNAM%3}
-VERSION=${VERSION:-3.3.2}
+VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -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}
@@ -72,7 +80,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# glfw3 doesn't install documentation or examples so don't build them.
-
mkdir -p build
cd build
cmake \
@@ -91,11 +98,13 @@ find $PKG -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.md README.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/libraries/glfw3/glfw3.info b/libraries/glfw3/glfw3.info
index 74eb52c7f4..d5177a65c9 100644
--- a/libraries/glfw3/glfw3.info
+++ b/libraries/glfw3/glfw3.info
@@ -1,10 +1,10 @@
PRGNAM="glfw3"
-VERSION="3.3.2"
+VERSION="3.4"
HOMEPAGE="https://www.glfw.org/"
-DOWNLOAD="https://github.com/glfw/glfw/archive/3.3.2/glfw-3.3.2.tar.gz"
-MD5SUM="865e54ff0a100e9041a40429db98be0b"
+DOWNLOAD="https://github.com/glfw/glfw/archive/3.4/glfw-3.4.tar.gz"
+MD5SUM="7470db601fcf36f0604d32b537281a70"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/glfw3/slack-desc b/libraries/glfw3/slack-desc
index b4565d2c2a..110df9c944 100644
--- a/libraries/glfw3/slack-desc
+++ b/libraries/glfw3/slack-desc
@@ -12,7 +12,7 @@ glfw3: GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES
glfw3: and Vulkan development on the desktop. It provides a simple API for
glfw3: creating windows, contexts and surfaces, receiving input and events.
glfw3:
-glfw3: Homepage: https://www.glfw.org/
+glfw3: Homepage: https://www.glfw.org
glfw3:
glfw3:
glfw3:
diff --git a/libraries/glktermw/README b/libraries/glktermw/README
index 62a513284e..be8faa507f 100644
--- a/libraries/glktermw/README
+++ b/libraries/glktermw/README
@@ -1,7 +1,7 @@
glktermw (library for textmode interactive fiction)
Glk defines a portable API (programming interface) for applications with
-text UIs (user interfaces.) It was primarily designed for interactive
+text UIs (user interfaces). It was primarily designed for interactive
fiction, but it should be suitable for many interactive text utilities,
particularly those based on a command line.
diff --git a/libraries/glktermw/glktermw.SlackBuild b/libraries/glktermw/glktermw.SlackBuild
index 852a4ac82b..c75f815dd3 100644
--- a/libraries/glktermw/glktermw.SlackBuild
+++ b/libraries/glktermw/glktermw.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for glktermw
-# 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.
@@ -26,10 +26,13 @@
# glk implementation) wants to install slightly different headers in
# the same place... so both get subdirectories.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=glktermw
VERSION=${VERSION:-1.0.4}
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}
@@ -103,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/libraries/glktermw/glktermw.info b/libraries/glktermw/glktermw.info
index 855a5e8c0b..556d2cbbc9 100644
--- a/libraries/glktermw/glktermw.info
+++ b/libraries/glktermw/glktermw.info
@@ -1,10 +1,10 @@
PRGNAM="glktermw"
VERSION="1.0.4"
-HOMEPAGE="http://www.ifarchive.org/if-archive/programming/glk/glk-spec.txt"
-DOWNLOAD="http://www.ifarchive.org/if-archive/programming/glk/implementations/glktermw-104.tar.gz"
+HOMEPAGE="https://www.ifarchive.org/if-archive/programming/glk/glk-spec.txt"
+DOWNLOAD="https://www.ifarchive.org/if-archive/programming/glk/implementations/glktermw-104.tar.gz"
MD5SUM="050aeb964140f7e11f555e06a23ccb1d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/glktermw/slack-desc b/libraries/glktermw/slack-desc
index 39d8e3b028..6ce8b83edc 100644
--- a/libraries/glktermw/slack-desc
+++ b/libraries/glktermw/slack-desc
@@ -9,7 +9,7 @@
glktermw: glktermw (library for textmode interactive fiction)
glktermw:
glktermw: Glk defines a portable API (programming interface) for applications
-glktermw: with text UIs (user interfaces.) It was primarily designed for
+glktermw: with text UIs (user interfaces). It was primarily designed for
glktermw: interactive fiction, but it should be suitable for many interactive
glktermw: text utilities, particularly those based on a command line.
glktermw:
diff --git a/libraries/glog/glog.SlackBuild b/libraries/glog/glog.SlackBuild
index 9f77936fdf..b4bd10d7fa 100644
--- a/libraries/glog/glog.SlackBuild
+++ b/libraries/glog/glog.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Google GLog
@@ -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=glog
VERSION=${VERSION:-0.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}
@@ -70,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -92,8 +102,10 @@ mv $PKG/usr/share/doc/$PRGNAM-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/ $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
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/libraries/gloox/README b/libraries/gloox/README
index 5d05d9bff0..7433d7ecdc 100644
--- a/libraries/gloox/README
+++ b/libraries/gloox/README
@@ -2,4 +2,4 @@ gloox is a rock-solid, full-featured Jabber/XMPP client library,
written in clean ANSI C++. It makes writing spec-compliant clients
easy and allows for hassle-free integration of Jabber/XMPP
functionality into existing applications. gloox is released under the
-GNU GPL. Commercial licensing and support are available.
+GNU GPL3. Commercial licensing and support are available.
diff --git a/libraries/gloox/gloox.SlackBuild b/libraries/gloox/gloox.SlackBuild
index 7f7f9c498c..c3bf75e293 100644
--- a/libraries/gloox/gloox.SlackBuild
+++ b/libraries/gloox/gloox.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gloox
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2020-2023 Tim Dickson dickson.tim@googlemail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,27 +23,44 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+#note update to 1.0.24 breaks binary compatability but maintains source compatability.
+#ie. you'll need to recreate packages that use gloox. eg currently 0ad and licq
+#update to 1.0.26 just fixes bugs etc.
+#update to 1.0.27 fixes bugs.
+#update to 1.0.28 fixes bugs.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gloox
-VERSION=${VERSION:-1.0.13}
+VERSION=${VERSION:-1.0.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}
-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,12 +110,14 @@ 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 LICENSE README* TODO UPGRADING \
+cp -a AUTHORS COPYING ChangeLog LICENSE README* TODO UPGRADING \
$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/libraries/gloox/gloox.info b/libraries/gloox/gloox.info
index 471ed5ebef..7a086ccceb 100644
--- a/libraries/gloox/gloox.info
+++ b/libraries/gloox/gloox.info
@@ -1,10 +1,10 @@
PRGNAM="gloox"
-VERSION="1.0.13"
+VERSION="1.0.28"
HOMEPAGE="https://camaya.net/gloox/"
-DOWNLOAD="https://camaya.net/download/gloox-1.0.13.tar.bz2"
-MD5SUM="953b96ce14c9c1b8a262b52fce9e757f"
+DOWNLOAD="https://camaya.net/download/gloox-1.0.28.tar.bz2"
+MD5SUM="598121704086fe54af18abaabad2db7a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
+MAINTAINER="Tim Dickson"
+EMAIL="dickson.tim@googlemail.com"
diff --git a/libraries/glw/01-fix_lib_inc_dir.patch b/libraries/glw/01-fix_lib_inc_dir.patch
new file mode 100644
index 0000000000..a6d983c040
--- /dev/null
+++ b/libraries/glw/01-fix_lib_inc_dir.patch
@@ -0,0 +1,12 @@
+diff -Nur glw-master/Makefile.am glw-master.new/Makefile.am
+--- glw-master/Makefile.am 2018-07-18 19:05:24.000000000 +0200
++++ glw-master.new/Makefile.am 2022-10-13 22:38:37.276257964 +0200
+@@ -35,7 +35,7 @@
+ libGLw_la_CFLAGS += $(MOTIF_CFLAGS)
+ libGLw_la_LIBADD += $(MOTIF_LIBS)
+ endif
+-library_includedir=$(includedir)/GL/
++library_includedir=$(includedir)
+ library_include_HEADERS=GLwDrawA.h GLwDrawAP.h GLwMDrawA.h GLwMDrawAP.h
+
+ clean:
diff --git a/libraries/glw/README b/libraries/glw/README
new file mode 100644
index 0000000000..edccd2ecce
--- /dev/null
+++ b/libraries/glw/README
@@ -0,0 +1,2 @@
+SGI's OpenGL Xt/Motif widgets, slightly modified by
+Jeroen van der Zijp to work better with Mesa.
diff --git a/libraries/glw/glw.SlackBuild b/libraries/glw/glw.SlackBuild
new file mode 100644
index 0000000000..aecb6133d6
--- /dev/null
+++ b/libraries/glw/glw.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for glw
+
+# Copyright 2022 Zbigniew Baniewski, 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=glw
+VERSION=${VERSION:-8.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-master
+tar xvf $CWD/$PRGNAM-master.tar.gz
+cd $PRGNAM-master
+patch -p1 < $CWD/01-fix_lib_inc_dir.patch
+./autogen.sh
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 [ -d /usr/include/Xm ]; then
+ SLKCFLAGS="$SLKCFLAGS -D __GLX_MOTIF"
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --includedir=/usr/include/X11/GLw \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib{,64}/*.la
+
+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
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/glw/glw.info b/libraries/glw/glw.info
new file mode 100644
index 0000000000..cb97d4f4d5
--- /dev/null
+++ b/libraries/glw/glw.info
@@ -0,0 +1,10 @@
+PRGNAM="glw"
+VERSION="8.0.0"
+HOMEPAGE="https://gitlab.freedesktop.org/mesa/glw"
+DOWNLOAD="https://gitlab.freedesktop.org/mesa/glw/-/archive/master/glw-master.tar.gz"
+MD5SUM="b3022b9cd08c6aad081efcd10522bba7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Zbigniew Baniewski"
+EMAIL="Zbigniew [dot] Baniewski [at] gmail [dot] com"
diff --git a/libraries/glw/slack-desc b/libraries/glw/slack-desc
new file mode 100644
index 0000000000..0a046c3f22
--- /dev/null
+++ b/libraries/glw/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------------------------------------------------------|
+glw: glw (SGI's OpenGL Xt/Motif widgets)
+glw:
+glw: glw brings SGI's OpenGL Xt/Motif widgets, slightly modified by
+glw: Jeroen van der Zijp to work better with Mesa.
+glw:
+glw: Homepage: https://gitlab.freedesktop.org/mesa/glw
+glw:
+glw:
+glw:
+glw:
+glw:
diff --git a/libraries/gmtk/gmtk.SlackBuild b/libraries/gmtk/gmtk.SlackBuild
index 8dd81ef37d..d429eb929c 100644
--- a/libraries/gmtk/gmtk.SlackBuild
+++ b/libraries/gmtk/gmtk.SlackBuild
@@ -1,28 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gmtk
# Written by Phillip Warner <pc_warner@yahoo.com>
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty/useless docs from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gmtk
VERSION=${VERSION:-1.0.8}
-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"
@@ -46,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 {} \;
+ -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -62,15 +73,17 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip 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
+# 20220419 bkw: 0-byte placeholders.
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/{INSTALL,NEWS,AUTHORS,README}
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/libraries/gnet/gnet.SlackBuild b/libraries/gnet/gnet.SlackBuild
index efa5b7fdbd..3c958769eb 100644
--- a/libraries/gnet/gnet.SlackBuild
+++ b/libraries/gnet/gnet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GNet
# Written by Menno Duursma <druiloor@zonnet.nl>
@@ -11,26 +11,36 @@
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnet
VERSION=${VERSION:-2.0.8}
-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"
@@ -80,8 +90,10 @@ cp -a [A-Z]* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html
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/libraries/gnome-autoar/README b/libraries/gnome-autoar/README
new file mode 100644
index 0000000000..faaa474f81
--- /dev/null
+++ b/libraries/gnome-autoar/README
@@ -0,0 +1,19 @@
+gnome-autoar provides functions and widgets for GNOME applications
+which want to use archives as a method to transfer directories over
+the Internet.
+
+Creating and extracting archives is easy, safe, and automatic.
+One module is created (gnome-autoar) and three modules are modified
+(Epiphany, Evolution, Empathy). The two major steps of this project
+are:
+ * An wrapper for libarchive, GIO, and GTK+, provides GObject-based
+ C API for archives and a few common widgets.
+ * Integrate archives into applications. I try to use existing
+ widgets in applications to show archive works and user
+ preferences settings.
+
+Below variables can be used to configure the build:
+ INTROSPECTION=no : Don't build introspection support
+ GTKDOC=yes : Build GTK Doc reference
+ TESTS=yes : Build tests
+ VAPI=no : Don't build vala bindings
diff --git a/libraries/gnome-autoar/gnome-autoar.SlackBuild b/libraries/gnome-autoar/gnome-autoar.SlackBuild
new file mode 100644
index 0000000000..dbc0522671
--- /dev/null
+++ b/libraries/gnome-autoar/gnome-autoar.SlackBuild
@@ -0,0 +1,150 @@
+#!/bin/bash
+
+# Slackware build script for gnome-autoar
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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-autoar
+VERSION=${VERSION:-0.4.3}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+INTROSPECTION=${INTROSPECTION:-yes}
+GTKDOC=${GTKDOC:-no}
+TESTS=${TESTS:-no}
+VAPI=${VAPI:-yes}
+
+if [ "$INTROSPECTION" = "yes" ]; then
+ INTROSPECTIONP="enabled"
+else
+ INTROSPECTIONP="disabled"
+fi
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+else
+ GTKDOCP="false"
+fi
+
+if [ "$TESTS" = "yes" ]; then
+ TESTSP="true"
+else
+ TESTSP="false"
+fi
+
+if [ "$VAPI" = "yes" ]; then
+ VAPIP="true"
+else
+ VAPIP="false"
+fi
+
+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
+
+# This symlink points at /tmp and needs removing or the find line will go
+# outside of the build tree
+rm -vf tests/files/extract/test-symlink-parent/reference/arextract
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -Dintrospection="$INTROSPECTIONP" \
+ -Dvapi="$VAPIP" \
+ -Dtests="$TESTSP" \
+ -Dgtk_doc="$GTKDOCP"
+ "${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 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/libraries/gnome-autoar/gnome-autoar.info b/libraries/gnome-autoar/gnome-autoar.info
new file mode 100644
index 0000000000..bd5b6a8d85
--- /dev/null
+++ b/libraries/gnome-autoar/gnome-autoar.info
@@ -0,0 +1,10 @@
+PRGNAM="gnome-autoar"
+VERSION="0.4.3"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-autoar"
+DOWNLOAD="https://download.gnome.org/sources/gnome-autoar/0.4/gnome-autoar-0.4.3.tar.xz"
+MD5SUM="fa664dd9735297c517d6aa9417b3d3e8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/gnome-autoar/slack-desc b/libraries/gnome-autoar/slack-desc
new file mode 100644
index 0000000000..8bde4c1f8f
--- /dev/null
+++ b/libraries/gnome-autoar/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------------------------------------------------------|
+gnome-autoar: gnome-autoar (Automatic archives creating and extracting library)
+gnome-autoar:
+gnome-autoar: Creating and extracting archives is easy, safe, and automatic. One
+gnome-autoar: module is created (gnome-autoar) and three modules are modified
+gnome-autoar: (Epiphany, Evolution, Empathy). The two major steps of this project
+gnome-autoar: are:
+gnome-autoar: * An wrapper for libarchive, GIO, and GTK+, provides GObject-based
+gnome-autoar: C API for archives and a few common widgets.
+gnome-autoar: * Integrate archives into applications. I try to use existing
+gnome-autoar: widgets in applications to show archive works and user
+gnome-autoar: preferences settings.
diff --git a/libraries/gnome-desktop/README b/libraries/gnome-desktop/README
index 65134e4e1b..1efb5d41f0 100644
--- a/libraries/gnome-desktop/README
+++ b/libraries/gnome-desktop/README
@@ -1,7 +1,7 @@
+gnome-desktop (libgnome-desktop library)
+
gnome-desktop contains the libgnome-desktop library as well as a data
file that exports the "GNOME" version to the Settings Details panel.
-The libgnome-desktop library provides API shared by several applications
-on the desktop, but that cannot live in the platform for various
-reasons. There is no API or ABI guarantee, although we are doing our
-best to provide stability.
+The libgnome-desktop library provides API shared by several
+applications on the desktop.
diff --git a/libraries/gnome-desktop/gnome-desktop.SlackBuild b/libraries/gnome-desktop/gnome-desktop.SlackBuild
index 960ec82ddd..d59a545943 100644
--- a/libraries/gnome-desktop/gnome-desktop.SlackBuild
+++ b/libraries/gnome-desktop/gnome-desktop.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnome-desktop
@@ -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.
+# Updated to version 40.2 by Igor Alexandrov <igor.alexandrov@outlook.com>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnome-desktop
-VERSION=${VERSION:-3.18.2}
+VERSION=${VERSION:-41.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -54,7 +66,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -62,7 +74,6 @@ 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 \
@@ -70,28 +81,31 @@ 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 \
- --build=$ARCH-slackware-linux \
- --disable-maintainer-mode \
- --disable-desktop-docs
-
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --buildtype=release \
+ -Dsystemd=disabled \
+ -Ddesktop_docs=false \
+ -Dgtk_doc=true
+ "${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 COPYING-DOCS COPYING.LIB HACKING MAINTAINERS NEWS README ChangeLog \
+ AUTHORS CONTRIBUTING.md COPYING COPYING-DOCS COPYING.LIB NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -99,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/libraries/gnome-desktop/gnome-desktop.info b/libraries/gnome-desktop/gnome-desktop.info
index 4efa96b41f..a46fed9e01 100644
--- a/libraries/gnome-desktop/gnome-desktop.info
+++ b/libraries/gnome-desktop/gnome-desktop.info
@@ -1,8 +1,8 @@
PRGNAM="gnome-desktop"
-VERSION="3.18.2"
-HOMEPAGE="http://download.gnome.org/sources/gnome-desktop/"
-DOWNLOAD="https://download.gnome.org/sources/gnome-desktop/3.18/gnome-desktop-3.18.2.tar.xz"
-MD5SUM="9a5875247abdb99bad93f1c4230d1d6d"
+VERSION="41.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-desktop/"
+DOWNLOAD="https://download-fallback.gnome.org/sources/gnome-desktop/41/gnome-desktop-41.1.tar.xz"
+MD5SUM="249b3bb432d819f40ae05bc9305051b6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/gnome-desktop/slack-desc b/libraries/gnome-desktop/slack-desc
index 30279a32e5..53a5c9eb5c 100644
--- a/libraries/gnome-desktop/slack-desc
+++ b/libraries/gnome-desktop/slack-desc
@@ -15,5 +15,5 @@ gnome-desktop: The libgnome-desktop library provides API shared by several
gnome-desktop: applications on the desktop.
gnome-desktop:
gnome-desktop:
-gnome-desktop: http://download.gnome.org/sources/gnome-desktop/
+gnome-desktop: https://gitlab.gnome.org/GNOME/gnome-desktop/
gnome-desktop:
diff --git a/libraries/gnome-media/gnome-media.SlackBuild b/libraries/gnome-media/gnome-media.SlackBuild
index 11871a5398..180e4f1378 100644
--- a/libraries/gnome-media/gnome-media.SlackBuild
+++ b/libraries/gnome-media/gnome-media.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnome-media
# Written by crocket (crockabiscuit@yahoo.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnome-media
VERSION=${VERSION:-2.32.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
USE_GRECORD=${USE_GRECORD:-no}
USE_GSTPROP=${USE_GSTPROP:-yes}
@@ -15,19 +18,26 @@ USE_GSTMIX=${USE_GSTMIX:-no}
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,9 +92,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* ChangeLog* INSTALL 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/libraries/gnome-media/gnome-media.info b/libraries/gnome-media/gnome-media.info
index 739160c2be..e6d999e81f 100644
--- a/libraries/gnome-media/gnome-media.info
+++ b/libraries/gnome-media/gnome-media.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gnome-media/2.32/gnome-media-2.
MD5SUM="06fc8c67add34c98bc484e0dbc404d41"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libunique"
+REQUIRES="libunique gstreamer0"
MAINTAINER="Erwin van Zanten"
EMAIL="e.van.zanten.evz@gmail.com"
diff --git a/libraries/gnome-python2-gconf/README b/libraries/gnome-python2-gconf/README
deleted file mode 100644
index d5ecaf1a37..0000000000
--- a/libraries/gnome-python2-gconf/README
+++ /dev/null
@@ -1,5 +0,0 @@
-This build GConf bindings for Python2.
-
-The gnome-python package also contains the GConf bindings, but
-many users only need the GConf bindings, so this allows them
-without all of the other unnecessary bindings.
diff --git a/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild b/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild
deleted file mode 100644
index 8d4d20862e..0000000000
--- a/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for gnome-python
-#
-# Copyright 2009-2011 Erik W. Hanson, Minneapolis, 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 by Robby Workman to build only GConf bindings
-
-PRGNAM=gnome-python2-gconf
-VERSION=${VERSION:-2.28.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=gnome-python
-
-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.bz2
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-allbindings \
- --enable-gconf \
- --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/libraries/gnome-python2-gconf/gnome-python2-gconf.info b/libraries/gnome-python2-gconf/gnome-python2-gconf.info
deleted file mode 100644
index 5a53e170ec..0000000000
--- a/libraries/gnome-python2-gconf/gnome-python2-gconf.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gnome-python2-gconf"
-VERSION="2.28.1"
-HOMEPAGE="https://www.gnome.org/"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gnome-python/2.28/gnome-python-2.28.1.tar.bz2"
-MD5SUM="a17ad952813ed86f520de8e07194a2bf"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
diff --git a/libraries/gnome-python2-gconf/slack-desc b/libraries/gnome-python2-gconf/slack-desc
deleted file mode 100644
index 9caa54305b..0000000000
--- a/libraries/gnome-python2-gconf/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-python2-gconf: gnome-python2-gconf (GConf bindings for Python2)
-gnome-python2-gconf:
-gnome-python2-gconf: gnome-python2-gconf contains GConf bindings for Python2.
-gnome-python2-gconf:
-gnome-python2-gconf:
-gnome-python2-gconf:
-gnome-python2-gconf:
-gnome-python2-gconf:
-gnome-python2-gconf:
-gnome-python2-gconf:
-gnome-python2-gconf:
diff --git a/libraries/gnome-sharp/gnome-sharp.SlackBuild b/libraries/gnome-sharp/gnome-sharp.SlackBuild
index 6f595fb23d..236883bb84 100644
--- a/libraries/gnome-sharp/gnome-sharp.SlackBuild
+++ b/libraries/gnome-sharp/gnome-sharp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Gnome#
-# Written by Andr Barboza <bmg.andre@gmail.com>
+# 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:
@@ -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=gnome-sharp
VERSION=${VERSION:-2.24.5}
-BUILD=${BUILD:-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}
@@ -89,8 +99,10 @@ 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
+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/libraries/gnome-vfsmm/gnome-vfsmm.SlackBuild b/libraries/gnome-vfsmm/gnome-vfsmm.SlackBuild
index 78d5ed9dc4..98cb9ed558 100644
--- a/libraries/gnome-vfsmm/gnome-vfsmm.SlackBuild
+++ b/libraries/gnome-vfsmm/gnome-vfsmm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for gnome-vfsmm
#
@@ -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=gnome-vfsmm
VERSION=${VERSION:-2.26.0}
-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"
@@ -93,8 +103,10 @@ cp -a AUTHORS 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gnonlin/README b/libraries/gnonlin/README
deleted file mode 100644
index 8178f41a1f..0000000000
--- a/libraries/gnonlin/README
+++ /dev/null
@@ -1,11 +0,0 @@
-gnonlin (a library for creating non-linear video editors)
-
-Gnonlin is a set of GStreamer elements to ease the creation of
-non-linear multimedia editors. It works together with the GStreamer
-multimedia framework to give developers a powerfull and flexible set
-of tools for quickly assembling applications which needs to handle
-non-linear multimedia editing. Gnonlin is released under the LGPL.
-
-To build the gnonlin developer documentation, pass DOC=yes to the
-script. This is only useful for developers who are planning to use
-gnonlin in their own code.
diff --git a/libraries/gnonlin/gnonlin.SlackBuild b/libraries/gnonlin/gnonlin.SlackBuild
deleted file mode 100644
index e9460e7d3a..0000000000
--- a/libraries/gnonlin/gnonlin.SlackBuild
+++ /dev/null
@@ -1,159 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gnonlin
-
-# Formerly maintained by:
-# Ryan P.C. McQuen | Everett, WA | <email removed>
-
-# Now maintained by B. Watson (yalhcru@gmail.com)
-
-# Copyright 2010-2011 Binh Nguyen <email removed>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# 20180915 bkw: stop building the 1.4.0 source twice!
-
-# 20170310 bkw:
-# - take over maintenance
-# - i486 => i586
-# - add option to build API docs (off by default)
-# - include legacy gnonlin-0.10.17 plugins for gstreamer0, which is
-# what's required for jokosher (modern gnonlin is gstreamer1 only).
-# - BUILD=2
-
-PRGNAM=gnonlin
-VERSION=${VERSION:-1.4.0}
-OLDVER=${OLDVER:-0.10.17}
-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
-
-# First, the 'legacy' gstreamer0 stuff.
-cd $TMP
-rm -rf $PRGNAM-$OLDVER
-tar xvf $CWD/$PRGNAM-$OLDVER.tar.bz2
-cd $PRGNAM-$OLDVER
-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" \
-./configure \
- "$DOCOPT" \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --localedir=/usr/share/locale \
- --disable-static \
- --enable-shared \
- --build=$ARCH-slackware-linux
-
-make #V=1
-make install-strip DESTDIR=$PKG
-
-# Now, the modern gnonlin gstreamer1 stuff.
-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 {} \+
-
-DOC="${DOC:-no}"
-if [ "$DOC" = "yes" ]; then
- DOCOPT="--enable-gtk-doc"
- WITHDOC="with"
-else
- WITHDOC="without"
-fi
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- "$DOCOPT" \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --localedir=/usr/share/locale \
- --disable-static \
- --enable-shared \
- --build=$ARCH-slackware-linux
-
-make #V=1
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-
-# /usr/share/gtk-doc/html is the standard place for gtk-doc stuff, but
-# let's symlink it into our docdir as well.
-# The version number in the HTML doc path doesn't match VERSION, so:
-if [ "$DOC" = "yes" ]; then
- DOCVER="$( echo $PKG/usr/share/gtk-doc/html/$PRGNAM-* | sed 's,.*-,,' )"
- ln -s ../../share/gtk-doc/html/$PRGNAM-$DOCVER \
- $PKG/usr/doc/$PRGNAM-$VERSION/html
-fi
-
-cp -a AUTHORS COPYING ChangeLog NEWS README RELEASE \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-sed "s,@WITHDOC@,$WITHDOC," $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/libraries/gnonlin/gnonlin.info b/libraries/gnonlin/gnonlin.info
deleted file mode 100644
index 45cb343815..0000000000
--- a/libraries/gnonlin/gnonlin.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="gnonlin"
-VERSION="1.4.0"
-HOMEPAGE="http://gnonlin.sourceforge.net/"
-DOWNLOAD="https://gstreamer.freedesktop.org/src/gnonlin/gnonlin-1.4.0.tar.xz \
- https://gstreamer.freedesktop.org/src/gnonlin/gnonlin-0.10.17.tar.bz2"
-MD5SUM="106899d1ee36e18f92bb838244d585eb \
- 0c9e5a8f771b087fac9afa459399112e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/libraries/gnonlin/slack-desc b/libraries/gnonlin/slack-desc
deleted file mode 100644
index 901c4ab8d4..0000000000
--- a/libraries/gnonlin/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------------------------------------------------------|
-gnonlin: gnonlin (a library for creating non-linear video editors)
-gnonlin:
-gnonlin: Gnonlin is a set of GStreamer elements to ease the creation of
-gnonlin: non-linear multimedia editors. It works together with the GStreamer
-gnonlin: multimedia framework to give developers a powerfull and flexible set
-gnonlin: of tools for quickly assembling applications which needs to handle
-gnonlin: non-linear multimedia editing. Gnonlin is released under the LGPL.
-gnonlin:
-gnonlin: This package built @WITHDOC@ API documentation.
-gnonlin:
-gnonlin:
diff --git a/libraries/goffice/README b/libraries/goffice/README
index 1678137a54..cdc51a7c6c 100644
--- a/libraries/goffice/README
+++ b/libraries/goffice/README
@@ -1 +1 @@
-GOffice -- A glib/gtk set of document centric objects and utilities
+GOffice -- A glib/gtk set of document centric objects and utilities.
diff --git a/libraries/goffice/goffice.SlackBuild b/libraries/goffice/goffice.SlackBuild
index f027638cee..39282e2f9d 100644
--- a/libraries/goffice/goffice.SlackBuild
+++ b/libraries/goffice/goffice.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for goffice
@@ -24,10 +24,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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix broken symlink to html docs.
+# - remove useless INSTALL doc.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=goffice
-VERSION=${VERSION:-0.10.34}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.10.56}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,20 +44,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}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
LIBDIRSUFFIX=""
+ CONFIG_ARGS="--without-long-double"
+ NEED_PATCHES=T
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ CONFIG_ARGS=
+ NEED_PATCHES=F
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
+ CONFIG_ARGS=
+ NEED_PATCHES=F
fi
set -e
@@ -61,16 +78,28 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+
+if [ "$NEED_PATCHES" = T ]
+then
+ for i in $CWD/patches/*
+ do
+ patch -p0 < $i
+ done
+ cp $CWD/import-ryu tools/
+ chmod 755 tools/import-ryu
+fi
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -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" \
./configure \
+ $CONFIG_ARGS \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -82,14 +111,17 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING ChangeLog INSTALL MAINTAINERS NEWS README \
+cp -a AUTHORS BUGS COPYING ChangeLog MAINTAINERS NEWS README \
$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 {} \;
-(cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s /usr/share/gtk-doc/html/goffice html)
+find $PKG/usr/doc -type f -exec chmod 644 {} \+
+ln -s ../../share/gtk-doc/html/goffice-$( echo $VERSION | cut -d. -f1-2 ) \
+ $PKG/usr/doc/$PRGNAM-$VERSION/html
+
+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/libraries/goffice/goffice.info b/libraries/goffice/goffice.info
index da13d11fb0..209e7365ab 100644
--- a/libraries/goffice/goffice.info
+++ b/libraries/goffice/goffice.info
@@ -1,10 +1,10 @@
PRGNAM="goffice"
-VERSION="0.10.34"
-HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/goffice/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/goffice/0.10/goffice-0.10.34.tar.xz"
-MD5SUM="d6520936468a96179a03b27b54c9215e"
+VERSION="0.10.56"
+HOMEPAGE="https://download.gnome.org/sources/goffice/"
+DOWNLOAD="https://download.gnome.org/sources/goffice/0.10/goffice-0.10.56.tar.xz"
+MD5SUM="50555440e0e4ccef4651193e5e0b5f62"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
+MAINTAINER="Jim Diamond"
+EMAIL="zsd@jdvb.ca"
diff --git a/libraries/goffice/import-ryu b/libraries/goffice/import-ryu
new file mode 100644
index 0000000000..e99f022e0b
--- /dev/null
+++ b/libraries/goffice/import-ryu
@@ -0,0 +1,97 @@
+#!/usr/bin/perl -w
+# -----------------------------------------------------------------------------
+
+my $ryu = $ARGV[0];
+
+my @files = (# "ryu.h",
+ "common.h",
+ "digit_table.h",
+ "d2s_intrinsics.h",
+ "d2s_small_table.h",
+ 'd2s.c',
+ 'WITH_LONG_DOUBLE',
+ 'ryu_generic_128.h',
+ 'generic_128.h',
+ 'generic_128.c');
+
+print "#define RYU_OPTIMIZE_SIZE 1\n\n";
+print "#define bool int\n\n";
+print "#include \"go-ryu.h\"\n";
+print "#include <inttypes.h>\n";
+print "\n";
+
+my $with_long_double = 0;
+
+foreach my $f (@files) {
+ if ($f eq 'WITH_LONG_DOUBLE') {
+ $with_long_double = 1;
+ next;
+ }
+
+ my $fn = "$ryu/ryu/$f";
+
+ my $in_conditional = 0;
+
+ print STDERR "Importing $f...\n";
+ open my $fh, "<", $fn or die "$0: cannot read $fn:$!\n";
+
+ print "#ifdef GOFFICE_WITH_LONG_DOUBLE\n" if $with_long_double;
+
+ print "// File $f imported from ryu\n";
+ while (<$fh>) {
+ next if /^\s*#\s*include\s*"ryu.*"/;
+
+ s/\b((float|double|long_double)_to_fd128|generic_binary_to_decimal|generic_to_chars|(d|f)2(s|exp|fixed)(|_buffered_n|_buffered))\b/go_ryu_$1/g;
+
+ if (/\b(go_ryu_d2s_buffered|go_ryu_d2s|go_ryu_f2s_buffered_n|go_ryu_f2s_buffered|go_ryu_f2s|go_ryu_d2fixed_buffered_n|go_ryu_d2fixed_buffered|go_ryu_d2fixed|go_ryu_d2exp_buffered_n|go_ryu_d2exp_buffered|go_ryu_d2exp)\s*\([a-z]+\s.*\)(;|\s*\{)$/) {
+ print "#if 0\n";
+ $_ = "static $_";
+ $in_conditional = 1;
+ }
+
+ if (/\b(go_ryu_long_double_to_fd128|go_ryu_generic_to_chars)\s*\([a-z]+\s.*\)(;|\s*\{)$/) {
+ $_ = "static $_";
+ }
+
+ if (/struct floating_decimal_128 go_ryu_generic_binary_to_decimal\(/) {
+ $_ = "static $_";
+ }
+
+
+ if ($f =~ /128/) {
+ s/\b(pow5bits|pow5Factor|multipleOfPowerOf[25]|log10Pow[25]|copy_special_str|POW5_TABLE_SIZE)\b/$1l/g;
+
+ if (/go_ryu_float_to_fd128\(float/) {
+ print "#if 0\n";
+ $_ = "static $_";
+ $in_conditional = 1;
+ }
+
+ if (/go_ryu_double_to_fd128\(double/) {
+ print "#if 0\n";
+ $_ = "static $_";
+ $in_conditional = 1;
+ }
+ }
+
+ if ($in_conditional && (/^[a-z].*\);$/ || /^}/)) {
+ $_ = "$_#endif\n";
+ $in_conditional = 0;
+ }
+
+ print;
+ }
+ print "// End of file $f imported from ryu\n";
+ print "#endif // GOFFICE_WITH_LONG_DOUBLE\n" if $with_long_double;
+ print "\n";
+
+ die "Trouble" if $in_conditional;
+}
+
+print "\n";
+print "#ifdef GOFFICE_WITH_LONG_DOUBLE\n";
+print "int go_ryu_ld2s_buffered_n (long double d, char *dst) {\n";
+print " struct floating_decimal_128 fd128 = go_ryu_long_double_to_fd128(d);\n";
+print " return go_ryu_generic_to_chars(fd128, dst);\n";
+print "}\n";
+print "#endif\n";
diff --git a/libraries/goffice/patches/NEWS.patch b/libraries/goffice/patches/NEWS.patch
new file mode 100644
index 0000000000..773bb5a77b
--- /dev/null
+++ b/libraries/goffice/patches/NEWS.patch
@@ -0,0 +1,11 @@
+--- NEWS 2023-12-27 18:37:51.129423722 -0400
++++ NEWS.patched 2023-12-27 18:36:14.000000000 -0400
+@@ -1,3 +1,8 @@
++goffice 0.10.57:
++
++ * Excise long double parts of ryu unless --with-long-double.
++
++--------------------------------------------------------------------------
+ goffice 0.10.56:
+
+ B.S.:
diff --git a/libraries/goffice/patches/configure.ac.patch b/libraries/goffice/patches/configure.ac.patch
new file mode 100644
index 0000000000..1b82b29215
--- /dev/null
+++ b/libraries/goffice/patches/configure.ac.patch
@@ -0,0 +1,29 @@
+--- configure.ac 2023-05-19 22:19:44.000000000 -0300
++++ configure.ac.fixed 2023-12-27 16:38:43.520064640 -0400
+@@ -560,14 +560,23 @@
+ GOFFICE_CHECK_FUNC(acosh)
+ GOFFICE_CHECK_FUNC(atanh)
+
++AC_TYPE_LONG_DOUBLE
++dnl go-ryu needs __uint128_t for long double support.
++AC_CHECK_TYPES([__uint128_t], [], [], [[#include <inttypes.h>
++#include <stdint.h>]])
++if test $ac_cv_type_long_double.$ac_cv_type___uint128_t = yes.yes; then
++ with_long_double_default=yes
++else
++ with_long_double_default=no
++fi
++
+ float_msg=no
+ AC_ARG_WITH(long-double,
+ [ --without-long-double disable support for long double],
+- , [ with_long_double=yes])
++ , [ with_long_double=$with_long_double_default])
+
+ if test "x$with_long_double" = "xyes"; then
+- AC_TYPE_LONG_DOUBLE
+- if test $ac_cv_type_long_double = yes; then
++ if test $with_long_double_default = yes; then
+ have_mandatory_funcs=yes
+ need_sunmath=0
+ ss_ccprog=`echo $CC | sed -e 's/ .*//'`
diff --git a/libraries/goffice/patches/go-dtoa.c.patch b/libraries/goffice/patches/go-dtoa.c.patch
new file mode 100644
index 0000000000..525d2893b8
--- /dev/null
+++ b/libraries/goffice/patches/go-dtoa.c.patch
@@ -0,0 +1,19 @@
+--- goffice/math/go-dtoa.c 2023-05-21 13:08:07.000000000 -0300
++++ goffice/math/go-dtoa.c.patched 2023-12-27 19:28:35.623167312 -0400
+@@ -464,9 +464,14 @@
+ GString const *dec = go_locale_get_decimal();
+
+ g_string_set_size (dst, 53 + oldlen + dec->len);
+- if (is_long)
++ if (is_long) {
++#ifdef GOFFICE_WITH_LONG_DOUBLE
+ n = go_ryu_ld2s_buffered_n (d, dst->str + oldlen);
+- else
++#else
++ g_critical ("Compiled with long-double, then asked to use it");
++ return;
++#endif
++ } else
+ n = go_ryu_d2s_buffered_n ((double)d, dst->str + oldlen);
+ g_string_set_size (dst, oldlen + n);
+ dpos = strchr (dst->str + oldlen, '.');
diff --git a/libraries/goffice/patches/go-ryu.c.patch b/libraries/goffice/patches/go-ryu.c.patch
new file mode 100644
index 0000000000..6d0513c752
--- /dev/null
+++ b/libraries/goffice/patches/go-ryu.c.patch
@@ -0,0 +1,204 @@
+--- goffice/math/go-ryu.c 2023-05-20 20:02:02.000000000 -0300
++++ goffice/math/go-ryu.c.patched 2023-12-27 19:28:35.623167312 -0400
+@@ -3,55 +3,8 @@
+ #define bool int
+
+ #include "go-ryu.h"
+-// File ryu.h imported from ryu
+-// Copyright 2018 Ulf Adams
+-//
+-// The contents of this file may be used under the terms of the Apache License,
+-// Version 2.0.
+-//
+-// (See accompanying file LICENSE-Apache or copy at
+-// http://www.apache.org/licenses/LICENSE-2.0)
+-//
+-// Alternatively, the contents of this file may be used under the terms of
+-// the Boost Software License, Version 1.0.
+-// (See accompanying file LICENSE-Boost or copy at
+-// https://www.boost.org/LICENSE_1_0.txt)
+-//
+-// Unless required by applicable law or agreed to in writing, this software
+-// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-// KIND, either express or implied.
+-#ifndef RYU_H
+-#define RYU_H
+-
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+ #include <inttypes.h>
+
+-int go_ryu_d2s_buffered_n(double f, char* result);
+-void go_ryu_d2s_buffered(double f, char* result);
+-char* go_ryu_d2s(double f);
+-
+-int go_ryu_f2s_buffered_n(float f, char* result);
+-void go_ryu_f2s_buffered(float f, char* result);
+-char* go_ryu_f2s(float f);
+-
+-int go_ryu_d2fixed_buffered_n(double d, uint32_t precision, char* result);
+-void go_ryu_d2fixed_buffered(double d, uint32_t precision, char* result);
+-char* go_ryu_d2fixed(double d, uint32_t precision);
+-
+-int go_ryu_d2exp_buffered_n(double d, uint32_t precision, char* result);
+-void go_ryu_d2exp_buffered(double d, uint32_t precision, char* result);
+-char* go_ryu_d2exp(double d, uint32_t precision);
+-
+-#ifdef __cplusplus
+-}
+-#endif
+-
+-#endif // RYU_H
+-// End of file ryu.h imported from ryu
+-
+ // File common.h imported from ryu
+ // Copyright 2018 Ulf Adams
+ //
+@@ -1242,20 +1195,25 @@
+ return to_chars(v, ieeeSign, result);
+ }
+
+-void go_ryu_d2s_buffered(double f, char* result) {
++#if 0
++static void go_ryu_d2s_buffered(double f, char* result) {
+ const int index = go_ryu_d2s_buffered_n(f, result);
+
+ // Terminate the string.
+ result[index] = '\0';
+ }
++#endif
+
+-char* go_ryu_d2s(double f) {
++#if 0
++static char* go_ryu_d2s(double f) {
+ char* const result = (char*) malloc(25);
+ go_ryu_d2s_buffered(f, result);
+ return result;
+ }
++#endif
+ // End of file d2s.c imported from ryu
+
++#ifdef GOFFICE_WITH_LONG_DOUBLE
+ // File ryu_generic_128.h imported from ryu
+ // Copyright 2018 Ulf Adams
+ //
+@@ -1303,16 +1261,20 @@
+ bool sign;
+ };
+
+-struct floating_decimal_128 go_ryu_float_to_fd128(float f);
+-struct floating_decimal_128 go_ryu_double_to_fd128(double d);
++#if 0
++static struct floating_decimal_128 go_ryu_float_to_fd128(float f);
++#endif
++#if 0
++static struct floating_decimal_128 go_ryu_double_to_fd128(double d);
++#endif
+
+ // According to wikipedia (https://en.wikipedia.org/wiki/Long_double), this likely only works on
+ // x86 with specific compilers (clang?). May need an ifdef.
+-struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d);
++static struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d);
+
+ // Converts the given binary floating point number to the shortest decimal floating point number
+ // that still accurately represents it.
+-struct floating_decimal_128 go_ryu_generic_binary_to_decimal(
++static struct floating_decimal_128 go_ryu_generic_binary_to_decimal(
+ const __uint128_t bits, const uint32_t mantissaBits, const uint32_t exponentBits, const bool explicitLeadingBit);
+
+ // Converts the given decimal floating point number to a string, writing to result, and returning
+@@ -1322,7 +1284,7 @@
+ // Maximal char buffer requirement:
+ // sign + mantissa digits + decimal dot + 'E' + exponent sign + exponent digits
+ // = 1 + 39 + 1 + 1 + 1 + 10 = 53
+-int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result);
++static int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result);
+
+ #ifdef __cplusplus
+ }
+@@ -1330,7 +1292,9 @@
+
+ #endif // RYU_GENERIC_128_H
+ // End of file ryu_generic_128.h imported from ryu
++#endif // GOFFICE_WITH_LONG_DOUBLE
+
++#ifdef GOFFICE_WITH_LONG_DOUBLE
+ // File generic_128.h imported from ryu
+ // Copyright 2018 Ulf Adams
+ //
+@@ -1852,7 +1816,9 @@
+
+ #endif // RYU_GENERIC128_H
+ // End of file generic_128.h imported from ryu
++#endif // GOFFICE_WITH_LONG_DOUBLE
+
++#ifdef GOFFICE_WITH_LONG_DOUBLE
+ // File generic_128.c imported from ryu
+ // Copyright 2018 Ulf Adams
+ //
+@@ -1903,25 +1869,29 @@
+ #define FLOAT_MANTISSA_BITS 23
+ #define FLOAT_EXPONENT_BITS 8
+
+-struct floating_decimal_128 go_ryu_float_to_fd128(float f) {
++#if 0
++static struct floating_decimal_128 go_ryu_float_to_fd128(float f) {
+ uint32_t bits = 0;
+ memcpy(&bits, &f, sizeof(float));
+ return go_ryu_generic_binary_to_decimal(bits, FLOAT_MANTISSA_BITS, FLOAT_EXPONENT_BITS, false);
+ }
++#endif
+
+ #define DOUBLE_MANTISSA_BITS 52
+ #define DOUBLE_EXPONENT_BITS 11
+
+-struct floating_decimal_128 go_ryu_double_to_fd128(double d) {
++#if 0
++static struct floating_decimal_128 go_ryu_double_to_fd128(double d) {
+ uint64_t bits = 0;
+ memcpy(&bits, &d, sizeof(double));
+ return go_ryu_generic_binary_to_decimal(bits, DOUBLE_MANTISSA_BITS, DOUBLE_EXPONENT_BITS, false);
+ }
++#endif
+
+ #define LONG_DOUBLE_MANTISSA_BITS 64
+ #define LONG_DOUBLE_EXPONENT_BITS 15
+
+-struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d) {
++static struct floating_decimal_128 go_ryu_long_double_to_fd128(long double d) {
+ uint128_t bits = 0;
+ memcpy(&bits, &d, sizeof(long double));
+ #ifdef RYU_DEBUG
+@@ -1934,7 +1904,7 @@
+ return go_ryu_generic_binary_to_decimal(bits, LONG_DOUBLE_MANTISSA_BITS, LONG_DOUBLE_EXPONENT_BITS, true);
+ }
+
+-struct floating_decimal_128 go_ryu_generic_binary_to_decimal(
++static struct floating_decimal_128 go_ryu_generic_binary_to_decimal(
+ const uint128_t bits, const uint32_t mantissaBits, const uint32_t exponentBits, const bool explicitLeadingBit) {
+ #ifdef RYU_DEBUG
+ printf("IN=");
+@@ -2147,7 +2117,7 @@
+ return fd.sign + 8;
+ }
+
+-int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result) {
++static int go_ryu_generic_to_chars(const struct floating_decimal_128 v, char* const result) {
+ if (v.exponent == FD128_EXCEPTIONAL_EXPONENT) {
+ return copy_special_strl(result, v);
+ }
+@@ -2200,9 +2170,12 @@
+ return index;
+ }
+ // End of file generic_128.c imported from ryu
++#endif // GOFFICE_WITH_LONG_DOUBLE
+
+
++#ifdef GOFFICE_WITH_LONG_DOUBLE
+ int go_ryu_ld2s_buffered_n (long double d, char *dst) {
+ struct floating_decimal_128 fd128 = go_ryu_long_double_to_fd128(d);
+ return go_ryu_generic_to_chars(fd128, dst);
+ }
++#endif
diff --git a/libraries/goffice/patches/go-ryu.h.patch b/libraries/goffice/patches/go-ryu.h.patch
new file mode 100644
index 0000000000..623da14e36
--- /dev/null
+++ b/libraries/goffice/patches/go-ryu.h.patch
@@ -0,0 +1,12 @@
+--- goffice/math/go-ryu.h 2023-05-20 19:48:32.000000000 -0300
++++ goffice/math/go-ryu.h.patched 2023-12-27 19:28:35.623167312 -0400
+@@ -9,7 +9,9 @@
+ /* ------------------------------------------------------------------------- */
+
+ int go_ryu_d2s_buffered_n (double d, char *dst);
++#ifdef GOFFICE_WITH_LONG_DOUBLE
+ int go_ryu_ld2s_buffered_n (long double d, char *dst);
++#endif
+
+ /* ------------------------------------------------------------------------- */
+
diff --git a/libraries/goffice0.8/README b/libraries/goffice0.8/README
index bbea279ad7..4e19bb6ed1 100644
--- a/libraries/goffice0.8/README
+++ b/libraries/goffice0.8/README
@@ -1 +1,2 @@
-GOffice 0.8.x -- A glib/gtk set of document centric objects and utilities
+GOffice 0.8.x -- A glib/gtk set of document centric objects and
+utilities
diff --git a/libraries/goffice0.8/goffice0.8.SlackBuild b/libraries/goffice0.8/goffice0.8.SlackBuild
index 8aeddf47e0..e7fa5532e8 100644
--- a/libraries/goffice0.8/goffice0.8.SlackBuild
+++ b/libraries/goffice0.8/goffice0.8.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for goffice
@@ -24,28 +24,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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix broken symlink to html docs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=goffice0.8
VERSION=${VERSION:-0.8.17}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=goffice
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"
@@ -69,9 +79,9 @@ 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 {} \+
# https://bugzilla.gnome.org/show_bug.cgi?id=670316
patch -p1 < $CWD/disable-linking-pcre.patch
@@ -93,18 +103,21 @@ CXXFLAGS="$SLKCFLAGS" \
# https://mail.gnome.org/archives/commits-list/2011-November/msg05571.html
cp $CWD/go-conf-gsettings.c goffice/app/
-make
+make CFLAGS="${CFLAGS} -Wno-error"
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING ChangeLog INSTALL MAINTAINERS NEWS README \
+cp -a AUTHORS BUGS COPYING ChangeLog MAINTAINERS NEWS README \
$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 {} \;
-(cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s /usr/share/gtk-doc/html/goffice html)
+find $PKG/usr/doc -type f -exec chmod 0644 {} \+
+ln -s ../../share/gtk-doc/html/goffice-$( echo $VERSION | cut -d. -f1-2 ) \
+ $PKG/usr/doc/$PRGNAM-$VERSION/html
+
+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/libraries/goffice0.8/goffice0.8.info b/libraries/goffice0.8/goffice0.8.info
index 6be8dd6c12..0a7ab7862b 100644
--- a/libraries/goffice0.8/goffice0.8.info
+++ b/libraries/goffice0.8/goffice0.8.info
@@ -1,7 +1,7 @@
PRGNAM="goffice0.8"
VERSION="0.8.17"
-HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/goffice/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/goffice/0.8/goffice-0.8.17.tar.xz"
+HOMEPAGE="https://download.gnome.org/sources/goffice/"
+DOWNLOAD="https://download.gnome.org/sources/goffice/0.8/goffice-0.8.17.tar.xz"
MD5SUM="e2bc2d2f51220d6883f0797d74c385b8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/gom/README b/libraries/gom/README
new file mode 100644
index 0000000000..fd65113574
--- /dev/null
+++ b/libraries/gom/README
@@ -0,0 +1,6 @@
+libgom - GObject Data Mapper
+
+This is an attempt to make a DataMapper for GObject. Mostly because I'm
+sick of doing this by hand in C. It would be cool if it would work
+across language boundries using GObject Introspection too.
+
diff --git a/libraries/gom/gom.SlackBuild b/libraries/gom/gom.SlackBuild
new file mode 100644
index 0000000000..1766a29b51
--- /dev/null
+++ b/libraries/gom/gom.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for gom
+
+# Copyright 2023, 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=gom
+VERSION=${VERSION:-0.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.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
+ "${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 ChangeLog 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gom/gom.info b/libraries/gom/gom.info
new file mode 100644
index 0000000000..323b5bc938
--- /dev/null
+++ b/libraries/gom/gom.info
@@ -0,0 +1,10 @@
+PRGNAM="gom"
+VERSION="0.4"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gom"
+DOWNLOAD="https://download.gnome.org/sources/gom/0.4/gom-0.4.tar.xz"
+MD5SUM="0cc4debe208cb4c91b013e5e57a99808"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/gom/slack-desc b/libraries/gom/slack-desc
new file mode 100644
index 0000000000..2f53e20ad7
--- /dev/null
+++ b/libraries/gom/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------------------------------------------------------|
+gom: gom (GObject Data Mapper)
+gom:
+gom: This is an attempt to make a DataMapper for GObject.
+gom:
+gom:
+gom:
+gom:
+gom:
+gom:
+gom: https://gitlab.gnome.org/GNOME/gom
+gom:
diff --git a/libraries/google-fruit/google-fruit.SlackBuild b/libraries/google-fruit/google-fruit.SlackBuild
index b16800b97f..5a3aafe763 100644
--- a/libraries/google-fruit/google-fruit.SlackBuild
+++ b/libraries/google-fruit/google-fruit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Google Fruit
@@ -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=google-fruit
SRCNAM=fruit
-VERSION=${VERSION:-3.0.0}
+VERSION=${VERSION:-3.6.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}
@@ -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/libraries/google-fruit/google-fruit.info b/libraries/google-fruit/google-fruit.info
index 649c08a0cf..3afde5aa61 100644
--- a/libraries/google-fruit/google-fruit.info
+++ b/libraries/google-fruit/google-fruit.info
@@ -1,8 +1,8 @@
PRGNAM="google-fruit"
-VERSION="3.0.0"
+VERSION="3.6.0"
HOMEPAGE="https://github.com/google/fruit/"
-DOWNLOAD="https://github.com/google/fruit/archive/v3.0.0/fruit-3.0.0.tar.gz"
-MD5SUM="43bed252f4466f76ab9815dd96aaadec"
+DOWNLOAD="https://github.com/google/fruit/archive/v3.6.0/fruit-3.6.0.tar.gz"
+MD5SUM="f998a57a1dea9e9662f1f432fe77186c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/googlebenchmark/README b/libraries/googlebenchmark/README
new file mode 100644
index 0000000000..b39143dc76
--- /dev/null
+++ b/libraries/googlebenchmark/README
@@ -0,0 +1,5 @@
+Google microbenchmarking library.
+
+Define a function that executes the code to measure, register it as
+a benchmark function using the BENCHMARK macro, and ensure an
+appropriate main function is available.
diff --git a/libraries/googlebenchmark/googlebenchmark.SlackBuild b/libraries/googlebenchmark/googlebenchmark.SlackBuild
new file mode 100644
index 0000000000..fdfa6c16b8
--- /dev/null
+++ b/libraries/googlebenchmark/googlebenchmark.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for googlebenchmark
+
+# Copyright 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=googlebenchmark
+VERSION=${VERSION:-1.8.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" || "$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
+TARNAM=benchmark
+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 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive -fno-strict-aliasing -Wno-error=lto-type-mismatch -std=c++11 -lgtest -lgtest_main" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DBENCHMARK_ENABLE_EXCEPTIONS=ON \
+ -DBENCHMARK_ENABLE_GTEST_TESTS=OFF \
+ -DBENCHMARK_ENABLE_LTO=ON \
+ -DBENCHMARK_ENABLE_ASSEMBLY_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 \
+ AUTHORS CONTRIBUTORS LICENSE README.md docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/googlebenchmark/googlebenchmark.info b/libraries/googlebenchmark/googlebenchmark.info
new file mode 100644
index 0000000000..5802cdb767
--- /dev/null
+++ b/libraries/googlebenchmark/googlebenchmark.info
@@ -0,0 +1,10 @@
+PRGNAM="googlebenchmark"
+VERSION="1.8.0"
+HOMEPAGE="https://github.com/google/benchmark/"
+DOWNLOAD="https://github.com/google/benchmark/archive/v1.8.0/benchmark-1.8.0.tar.gz"
+MD5SUM="8ddf8571d3f6198d37852bcbd964f817"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gtest gflags"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.googlebenchmark_2023-05-28@lockywolf.net"
diff --git a/libraries/googlebenchmark/slack-desc b/libraries/googlebenchmark/slack-desc
new file mode 100644
index 0000000000..83bdb8fa68
--- /dev/null
+++ b/libraries/googlebenchmark/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------------------------------------------------------|
+googlebenchmark: googlebenchmark (Google tiny benchmarking library)
+googlebenchmark:
+googlebenchmark: A library for measuring program's performance.
+googlebenchmark: Define a function that executes the code to measure, register it as
+googlebenchmark: a benchmark function using the BENCHMARK macro, and ensure an
+googlebenchmark: appropriate main function is available.
+googlebenchmark:
+googlebenchmark:
+googlebenchmark:
+googlebenchmark:
+googlebenchmark:
diff --git a/libraries/gperftools/gperftools.SlackBuild b/libraries/gperftools/gperftools.SlackBuild
index 48d5633e86..ca600cfad0 100644
--- a/libraries/gperftools/gperftools.SlackBuild
+++ b/libraries/gperftools/gperftools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gperftools
@@ -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=gperftools
-VERSION=${VERSION:-2.6.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.9.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}
@@ -95,8 +105,10 @@ cp -a AUTHORS COPYING ChangeLog NEWS README README_windows.txt 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/libraries/gperftools/gperftools.info b/libraries/gperftools/gperftools.info
index ecb5b66719..afc6610ded 100644
--- a/libraries/gperftools/gperftools.info
+++ b/libraries/gperftools/gperftools.info
@@ -1,8 +1,8 @@
PRGNAM="gperftools"
-VERSION="2.6.1"
+VERSION="2.9.1"
HOMEPAGE="https://github.com/gperftools/gperftools/"
-DOWNLOAD="https://github.com/gperftools/gperftools/archive/gperftools-2.6.1/gperftools-gperftools-2.6.1.tar.gz"
-MD5SUM="26cdb889bb3532aee0e8129a2d2c3ee2"
+DOWNLOAD="https://github.com/gperftools/gperftools/archive/gperftools-2.9.1/gperftools-gperftools-2.9.1.tar.gz"
+MD5SUM="e340f1b247ff512119a2db98c1538dc1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/granite/README b/libraries/granite/README
new file mode 100644
index 0000000000..fae89442b6
--- /dev/null
+++ b/libraries/granite/README
@@ -0,0 +1,10 @@
+# Granite
+
+Granite is a companion library for GTK and GLib. Among other things, it
+provides complex widgets and convenience functions designed for use in
+apps built for elementary OS.
+
+## Documentation
+
+Documentation for all of the classes and functions in Granite is
+available on Valadoc (https://valadoc.org/granite/Granite.html)
diff --git a/libraries/bwidget/doinst.sh b/libraries/granite/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/libraries/bwidget/doinst.sh
+++ b/libraries/granite/doinst.sh
diff --git a/libraries/granite/granite.SlackBuild b/libraries/granite/granite.SlackBuild
new file mode 100644
index 0000000000..16026f3316
--- /dev/null
+++ b/libraries/granite/granite.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+# Slackware build script for granite
+# 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=granite
+VERSION=${VERSION:-6.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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
+ 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 ..
+)
+find $PKG -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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/granite/granite.info b/libraries/granite/granite.info
new file mode 100644
index 0000000000..b42e205b11
--- /dev/null
+++ b/libraries/granite/granite.info
@@ -0,0 +1,10 @@
+PRGNAM="granite"
+VERSION="6.2.0"
+HOMEPAGE="https://github.com/elementary/granite"
+DOWNLOAD="https://github.com/elementary/granite/archive/6.2.0/granite-6.2.0.tar.gz"
+MD5SUM="b5cb2159d784020667c87d21f82157c1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.granite_2023-05-11@lockywolf.net"
diff --git a/libraries/granite/slack-desc b/libraries/granite/slack-desc
new file mode 100644
index 0000000000..5777f1747d
--- /dev/null
+++ b/libraries/granite/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------------------------------------------------------|
+granite: granite (Granite is a companion library for GTK and GLib.)
+granite:
+granite: Granite is a companion library for GTK and GLib.
+granite: Among other things, it provides complex widgets and convenience
+granite: functions designed for use in apps built for elementary OS.
+granite:
+granite:
+granite:
+granite:
+granite:
+granite:
diff --git a/libraries/grantlee-qt5/README b/libraries/grantlee-qt5/README
deleted file mode 100644
index 276b9ca53a..0000000000
--- a/libraries/grantlee-qt5/README
+++ /dev/null
@@ -1,8 +0,0 @@
-Grantlee is a set of Free Software libraries written using the Qt
-framework. Currently two libraries are shipped with Grantlee: Grantlee
-Templates and Grantlee TextDocument.
-
-The goal of Grantlee Templates is to make it easier for application
-developers to separate the structure of documents from the data they
-contain, opening the door for theming and advanced generation of other
-text such as code.
diff --git a/libraries/grantlee-qt5/grantlee-5.1.0-install_headers_into_versioned_directory.patch b/libraries/grantlee-qt5/grantlee-5.1.0-install_headers_into_versioned_directory.patch
deleted file mode 100644
index 8788469924..0000000000
--- a/libraries/grantlee-qt5/grantlee-5.1.0-install_headers_into_versioned_directory.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -up grantlee-5.1.0/CMakeLists.txt.orig grantlee-5.1.0/CMakeLists.txt
---- grantlee-5.1.0/CMakeLists.txt.orig 2016-04-19 01:33:17.000000000 -0500
-+++ grantlee-5.1.0/CMakeLists.txt 2016-04-19 06:44:06.371122149 -0500
-@@ -100,7 +100,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define
- set( LIB_INSTALL_DIR lib${LIB_SUFFIX} )
- set( PLUGIN_INSTALL_DIR ${LIB_INSTALL_DIR}/grantlee/${Grantlee5_MAJOR_MINOR_VERSION_STRING} )
- set( BIN_INSTALL_DIR bin )
--set( INCLUDE_INSTALL_DIR include )
-+set( INCLUDE_INSTALL_DIR include/Grantlee5 )
- set( DATA_INSTALL_DIR share/apps )
-
- # set up RPATH/install_name_dir
-diff -up grantlee-5.1.0/templates/lib/CMakeLists.txt.orig grantlee-5.1.0/templates/lib/CMakeLists.txt
---- grantlee-5.1.0/templates/lib/CMakeLists.txt.orig 2016-04-19 06:44:06.371122149 -0500
-+++ grantlee-5.1.0/templates/lib/CMakeLists.txt 2016-04-19 06:44:55.763336264 -0500
-@@ -107,6 +107,10 @@ if (Qt5Script_FOUND)
-
- target_sources(Grantlee_Templates PRIVATE ${scriptabletags_SRCS})
- target_include_directories(Grantlee_Templates PRIVATE ../scriptabletags)
-+ target_include_directories(Grantlee_Templates
-+ INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>"
-+ )
-+
- target_link_libraries(Grantlee_Templates
- LINK_PRIVATE Qt5::Script
- )
-diff -up grantlee-5.1.0/textdocument/lib/CMakeLists.txt.orig grantlee-5.1.0/textdocument/lib/CMakeLists.txt
---- grantlee-5.1.0/textdocument/lib/CMakeLists.txt.orig 2016-04-19 06:44:06.371122149 -0500
-+++ grantlee-5.1.0/textdocument/lib/CMakeLists.txt 2016-04-19 06:45:56.268598553 -0500
-@@ -43,6 +43,10 @@ if (CMAKE_GENERATOR MATCHES "Visual Stud
- endforeach()
- endif()
-
-+target_include_directories(Grantlee_TextDocument
-+ INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>"
-+)
-+
- target_link_libraries(Grantlee_TextDocument
- LINK_PUBLIC Qt5::Gui
- )
diff --git a/libraries/grantlee-qt5/grantlee-qt5.SlackBuild b/libraries/grantlee-qt5/grantlee-qt5.SlackBuild
deleted file mode 100644
index 1fae96c48c..0000000000
--- a/libraries/grantlee-qt5/grantlee-qt5.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for grantlee-qt5
-
-# Copyright 2016 Larry Hajali <larryhaja[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.
-
-PRGNAM=grantlee-qt5
-SRCNAM=grantlee
-VERSION=${VERSION:-5.1.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 $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 {} \;
-
-## upstreamable patches
-# Install headers into a versioned directory to be parallel-installable
-# based on:
-# https://github.com/steveire/grantlee/pull/1
-patch -p1 < $CWD/grantlee-5.1.0-install_headers_into_versioned_directory.patch
-
-mkdir build
-cd build
- cmake -G "Unix Makefiles" \
- -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DBUILD_TESTS:BOOL=FALSE \
- -DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" \
- -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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGELOG COPYING.LIB 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/libraries/grantlee-qt5/grantlee-qt5.info b/libraries/grantlee-qt5/grantlee-qt5.info
deleted file mode 100644
index 6d49364b8f..0000000000
--- a/libraries/grantlee-qt5/grantlee-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="grantlee-qt5"
-VERSION="5.1.0"
-HOMEPAGE="https://github.com/steveire/grantlee"
-DOWNLOAD="https://github.com/steveire/grantlee/archive/v5.1.0/grantlee-5.1.0.tar.gz"
-MD5SUM="3ce1e53cca2b5cad27d07ee82880e4c3"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/libraries/grantlee-qt5/slack-desc b/libraries/grantlee-qt5/slack-desc
deleted file mode 100644
index 1aa092f454..0000000000
--- a/libraries/grantlee-qt5/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------------------------------------------------------|
-grantlee-qt5: grantlee-qt5 (A string template engine written in Qt5)
-grantlee-qt5:
-grantlee-qt5: Grantlee is a set of Free Software libraries written using the Qt
-grantlee-qt5: framework. Currently two libraries are shipped with Grantlee:
-grantlee-qt5: Grantlee Templates and Grantlee TextDocument.
-grantlee-qt5:
-grantlee-qt5: The goal of Grantlee Templates is to make it easier for application
-grantlee-qt5: developers to separate the structure of documents from the data they
-grantlee-qt5: contain, opening the door for theming and advanced generation of other
-grantlee-qt5: text such as code.
-grantlee-qt5: Homepage: https://github.com/steveire/grantlee
diff --git a/libraries/greenlet/greenlet.SlackBuild b/libraries/greenlet/greenlet.SlackBuild
index cb35426bb3..19803a82d6 100644
--- a/libraries/greenlet/greenlet.SlackBuild
+++ b/libraries/greenlet/greenlet.SlackBuild
@@ -1,11 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Greenlet
#
-# $Revision: 305928f153da $
-# $Date: 2015/01/21 22:52:29 $
-#
# Copyright (C) 2014-2015 Adis Nezirović <adis_at_linux.org.ba>
+# Copyright 2021-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,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=greenlet
-VERSION=${VERSION:-0.4.15}
+VERSION=${VERSION:-2.0.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"
@@ -72,22 +77,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
-
-# 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS NEWS README.rst doc/greenlet.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS 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/libraries/greenlet/greenlet.info b/libraries/greenlet/greenlet.info
index 0b571dc2f8..201a68ba4d 100644
--- a/libraries/greenlet/greenlet.info
+++ b/libraries/greenlet/greenlet.info
@@ -1,10 +1,10 @@
PRGNAM="greenlet"
-VERSION="0.4.15"
+VERSION="2.0.2"
HOMEPAGE="https://github.com/python-greenlet/greenlet"
-DOWNLOAD="https://files.pythonhosted.org/packages/f8/e8/b30ae23b45f69aa3f024b46064c0ac8e5fcb4f22ace0dca8d6f9c8bbe5e7/greenlet-0.4.15.tar.gz"
-MD5SUM="10fa304f673fc18b28fa6d8c6658cb80"
+DOWNLOAD="https://files.pythonhosted.org/packages/1e/1e/632e55a04d732c8184201238d911207682b119c35cecbb9a573a6c566731/greenlet-2.0.2.tar.gz"
+MD5SUM="e6637d59015cba7e86f2111e6aa8168b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Adis Nezirović"
-EMAIL="adis_at_linux.org.ba"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/grilo-plugins/README b/libraries/grilo-plugins/README
new file mode 100644
index 0000000000..03e7abfc62
--- /dev/null
+++ b/libraries/grilo-plugins/README
@@ -0,0 +1,3 @@
+grilo-plugins is a collection of plugins for Grilo implementing
+Grilo's API for various multimedia content providers.
+
diff --git a/libraries/grilo-plugins/grilo-plugins.SlackBuild b/libraries/grilo-plugins/grilo-plugins.SlackBuild
new file mode 100644
index 0000000000..b6bda5bdba
--- /dev/null
+++ b/libraries/grilo-plugins/grilo-plugins.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for grilo-plugins
+
+# Copyright 2023, 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=grilo-plugins
+VERSION=${VERSION:-0.3.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+ "${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 \
+ AUTHORS 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
+#cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/grilo-plugins/grilo-plugins.info b/libraries/grilo-plugins/grilo-plugins.info
new file mode 100644
index 0000000000..4b8cb68887
--- /dev/null
+++ b/libraries/grilo-plugins/grilo-plugins.info
@@ -0,0 +1,10 @@
+PRGNAM="grilo-plugins"
+VERSION="0.3.15"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/grilo-plugins"
+DOWNLOAD="https://download.gnome.org/sources/grilo-plugins/0.3/grilo-plugins-0.3.15.tar.xz"
+MD5SUM="b2a12b3a244b4a8841dd56f1511586d3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="grilo libgdata libmediaart lua53 tracker-miners"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/grilo-plugins/slack-desc b/libraries/grilo-plugins/slack-desc
new file mode 100644
index 0000000000..6fed92c465
--- /dev/null
+++ b/libraries/grilo-plugins/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------------------------------------------------------|
+grilo-plugins: grilo-plugins (Plugins using Grilo's API)
+grilo-plugins:
+grilo-plugins: Grilo is a framework for browsing and searching media content from
+grilo-plugins: various sources using a single API.
+grilo-plugins:
+grilo-plugins: grilo-plugins is a collection of plugins for Grilo implementing
+grilo-plugins: Grilo's API for various multimedia content providers.
+grilo-plugins:
+grilo-plugins:
+grilo-plugins: https://gitlab.gnome.org/GNOME/grilo-plugins
+grilo-plugins:
diff --git a/libraries/grilo/README b/libraries/grilo/README
new file mode 100644
index 0000000000..be0d9c41e0
--- /dev/null
+++ b/libraries/grilo/README
@@ -0,0 +1,11 @@
+Grilo is a framework for browsing and searching media content from
+various sources using a single API.
+
+Note: This SlackBuild defaults to building with 'soup2' to keep
+compatibility with other GNOME software on slackbuilds.org that depend
+on soup2 still. If you would like to build against libsoup3 then you
+will have to install the dependency and pass the build the following
+environment variable to allow building against libsoup3:
+
+ SOUP3=true
+
diff --git a/libraries/grilo/grilo.SlackBuild b/libraries/grilo/grilo.SlackBuild
new file mode 100644
index 0000000000..e715d7d6ca
--- /dev/null
+++ b/libraries/grilo/grilo.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for grilo
+
+# 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.
+
+# 2023 Apr 9 - Set build to default to soup2 for compatibility with other GNOME
+# software on slackbuilds.org. This can be switched back to soup3 at next
+# slackware release, which will allow GNOME to be updated to newer soup3 versions
+# across the board. Also bumped build number, since version is the same. - Bob Funk
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=grilo
+VERSION=${VERSION:-0.3.15}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SOUP3=${SOUP3:-false}
+
+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 \
+ -Dsoup3=$SOUP3 \
+ -Dstrip=true
+ "${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 \
+ AUTHORS 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/libraries/grilo/grilo.info b/libraries/grilo/grilo.info
new file mode 100644
index 0000000000..3a14e2c43d
--- /dev/null
+++ b/libraries/grilo/grilo.info
@@ -0,0 +1,10 @@
+PRGNAM="grilo"
+VERSION="0.3.15"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/grilo"
+DOWNLOAD="https://download.gnome.org/sources/grilo/0.3/grilo-0.3.15.tar.xz"
+MD5SUM="df4e68e2bba461f0aed61874d8e4e05a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="liboauth totem-pl-parser"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/grilo/slack-desc b/libraries/grilo/slack-desc
new file mode 100644
index 0000000000..4aac75ae08
--- /dev/null
+++ b/libraries/grilo/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------------------------------------------------------|
+grilo: grilo (Grilo media discovery framework)
+grilo:
+grilo: Grilo is a framework focused on making media discovery and browsing
+grilo: easy for applications and application developers.
+grilo:
+grilo:
+grilo:
+grilo:
+grilo:
+grilo: https://gitlab.gnome.org/GNOME/grilo
+grilo:
diff --git a/libraries/grpc/README b/libraries/grpc/README
index ed21fd9f2e..03152b0b7c 100644
--- a/libraries/grpc/README
+++ b/libraries/grpc/README
@@ -1,5 +1,7 @@
-gRPC is a modern, open source, high-performance remote procedure call (RPC)
-framework that can run anywhere. gRPC enables client and server applications to
-communicate transparently, and simplifies the building of connected systems.
+gRPC is a modern, open source, high-performance remote procedure call
+(RPC) framework that can run anywhere. gRPC enables client and server
+applications to communicate transparently, and simplifies the building
+of connected systems.
-Optional: python3-Cython
+This SlackBuild builds gRPC in C++. python3-grpcio contains the Python 3
+build of gRPC.
diff --git a/libraries/grpc/grpc-use-shell-loop-instead-makefile-function.patch b/libraries/grpc/grpc-use-shell-loop-instead-makefile-function.patch
deleted file mode 100644
index 2d1c98fe1d..0000000000
--- a/libraries/grpc/grpc-use-shell-loop-instead-makefile-function.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From fe221f7d6fcf04e296f3b8598f57abc9e3dea821 Mon Sep 17 00:00:00 2001
-From: Sergey Avseyev <sergey.avseyev@gmail.com>
-Date: Wed, 16 Jan 2019 20:00:40 +0300
-Subject: [PATCH 3/4] use shell loop instead makefile function
-
-this avoids failure when too long string passed to exec
----
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 2bdfa6395d..51614620af 100644
---- a/Makefile
-+++ b/Makefile
-@@ -2950,7 +2950,7 @@ install-headers_c:
- install-headers_cxx:
- $(E) "[INSTALL] Installing public C++ headers"
- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
-+ $(Q) for h in $(PUBLIC_HEADERS_CXX); do $(INSTALL) $$h $(prefix)/$$h; done || exit 1
-
- install-static: install-static_c install-static_cxx
-
---
-2.21.0
diff --git a/libraries/grpc/grpc.SlackBuild b/libraries/grpc/grpc.SlackBuild
index ac9cc25af0..520fe59c11 100644
--- a/libraries/grpc/grpc.SlackBuild
+++ b/libraries/grpc/grpc.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for grpc
-# Copyright 2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2019-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +24,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=grpc
-VERSION=${VERSION:-1.24.1}
-UPB_VERSION=${UPB_VERSION:-931bbecbd3230ae7f22efa5d203639facc47f719}
+VERSION=${VERSION:-1.62.2}
+OPENCENSUS_VERSION=${OPENCENSUS_VERSION:-0.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -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}
@@ -64,9 +72,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-rm -rf third_party/upb
-tar xvf $CWD/upb-${UPB_VERSION}.tar.gz -C third_party
-ln -s upb-${UPB_VERSION} third_party/upb
+
+# Use third party opencensus-proto tarball
+rm -rf third_party/opencensus-proto
+tar xvf $CWD/opencensus-proto-${OPENCENSUS_VERSION}.tar.gz -C third_party
+ln -s opencensus-proto-${OPENCENSUS_VERSION} third_party/opencensus-proto
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -74,48 +85,62 @@ 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 Makefile
-# Ref: https://github.com/grpc/grpc/issues/14844
-patch -p1 < $CWD/grpc-use-shell-loop-instead-makefile-function.patch
-
-sed -i 's|^prefix ?= .*|prefix ?= /usr|' Makefile
-sed -i "s|\$(prefix)/lib|\$(prefix)/lib${LIBDIRSUFFIX}|" Makefile
-sed -i "/libdir/s|/lib|/lib${LIBDIRSUFFIX}|" Makefile
-sed -i 's|^GTEST_LIB =.*||' Makefile
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make shared plugins V=1
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make install prefix=$PKG/usr V=1
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make install-grpc-cli prefix=$PKG/usr V=1
-
-if $(python3 -c 'import Cython' 2>/dev/null); then
- GRPC_PYTHON_BUILD_WITH_CYTHON=True \
- GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True \
- GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True \
- GRPC_PYTHON_BUILD_SYSTEM_CARES=True \
- CFLAGS="$SLKCFLAGS" \
- python3 setup.py install --root=$PKG
-fi
+sed -i 's|^prefix ?= /usr/local|prefix ?= /usr|' Makefile
+
+# Build instructions adapted from the Arch Linux PKGBUILD:
+# https://gitlab.archlinux.org/archlinux/packaging/packages/grpc/-/blob/main/PKGBUILD
+# However, this SlackBuild does not build tests (therefore, grpc-cli will not be installed)
+cmake -Bbuild \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DgRPC_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DgRPC_INSTALL_CMAKEDIR=lib${LIBDIRSUFFIX}/cmake/$PRGNAM \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DgRPC_INSTALL=ON \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_CXX_STANDARD=17 \
+ -DCMAKE_SKIP_INSTALL_RPATH=ON \
+ -DgRPC_BUILD_TESTS=OFF \
+ -DgRPC_BUILD_CODEGEN=ON \
+ -DgRPC_BUILD_CSHARP_EXT=ON \
+ -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF \
+ -DgRPC_ZLIB_PROVIDER='package' \
+ -DgRPC_CARES_PROVIDER='package' \
+ -DgRPC_RE2_PROVIDER='package' \
+ -DgRPC_SSL_PROVIDER='package' \
+ -DgRPC_PROTOBUF_PROVIDER='package' \
+ -DgRPC_PROTOBUF_PACKAGE_TYPE='MODULE' \
+ -DgRPC_BENCHMARK_PROVIDER:STRING='package' \
+ -DgRPC_ABSL_PROVIDER:STRING='package' \
+ -DgRPC_USE_PROTO_LITE=OFF \
+ -DgRPC_BUILD_GRPC_CPP_PLUGIN=ON \
+ -DgRPC_BUILD_GRPC_CSHARP_PLUGIN=ON \
+ -DgRPC_BUILD_GRPC_NODE_PLUGIN=ON \
+ -DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=ON \
+ -DgRPC_BUILD_GRPC_PHP_PLUGIN=ON \
+ -DgRPC_BUILD_GRPC_PYTHON_PLUGIN=ON \
+ -DgRPC_BUILD_GRPC_RUBY_PLUGIN=ON \
+ -GNinja
+
+cd build
+ cmake --build .
+ cmake --install . --prefix "$PKG/usr"
+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
-# Clean up
-find $PKG -type f -name '*.a' -exec rm -f {} \;
-find $PKG/usr/include -type f -exec chmod 0644 {} \;
-find $PKG/usr/share -type f -exec chmod 0644 {} \;
+# All the .md files
+MD=( BUILDING.md CODE-OF-CONDUCT.md CONCEPTS.md CONTRIBUTING.md \
+ GOVERNANCE.md MAINTAINERS.md MANIFEST.md README.md SECURITY.md TROUBLESHOOTING.md)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS *.md LICENSE OWNERS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ${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/libraries/grpc/grpc.info b/libraries/grpc/grpc.info
index 5047b17c49..7aea95c747 100644
--- a/libraries/grpc/grpc.info
+++ b/libraries/grpc/grpc.info
@@ -1,12 +1,12 @@
PRGNAM="grpc"
-VERSION="1.24.1"
+VERSION="1.62.2"
HOMEPAGE="https://grpc.io/"
-DOWNLOAD="https://github.com/grpc/grpc/archive/v1.24.1/grpc-1.24.1.tar.gz \
- https://github.com/protocolbuffers/upb/archive/931bbecbd3230ae7f22efa5d203639facc47f719/upb-931bbecbd3230ae7f22efa5d203639facc47f719.tar.gz"
-MD5SUM="907baa235c152a05e83a198403f336c6 \
- bf1e541dd7467e0621e2c2e6241ced2b"
+DOWNLOAD="https://github.com/grpc/grpc/archive/v1.62.2/grpc-1.62.2.tar.gz \
+ https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0/opencensus-proto-0.3.0.tar.gz"
+MD5SUM="0cabd7727133de65d9d1c7d521b6b05f \
+ 0b208800a68548cbf2d4bff763c050a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="c-ares protobuf3 gflags"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES="protobuf3 re2"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/grx/grx.SlackBuild b/libraries/grx/grx.SlackBuild
index 2eee534673..aeedd0ccc6 100644
--- a/libraries/grx/grx.SlackBuild
+++ b/libraries/grx/grx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GRX
@@ -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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - no executable .bat file in doc dir.
+# - add -j1 to make commands (parallel builds are randomly broken).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=grx
VERSION=${VERSION:-249}
-BUILD=${BUILD:-1}
+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}
@@ -66,13 +77,13 @@ 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 {} \+
# Lots of places with this, and probably only one matters, but I'm too lazy
# to figure out which one, so let's use the big hammer:
-find . -type f -exec sed -i "s,-O2,$SLKCFLAGS,g" {} \;
+find . -type f -exec sed -i "s,-O2,$SLKCFLAGS,g" {} \+
./configure \
--prefix=/usr \
@@ -84,18 +95,21 @@ find . -type f -exec sed -i "s,-O2,$SLKCFLAGS,g" {} \;
--enable-tiff \
$EXTRAOPTS
-make
-make install INSTALLDIR="$PKG/usr" DESTDIR="$PKG"
+make -j1
+make -j1 install INSTALLDIR="$PKG/usr" DESTDIR="$PKG"
# move the static library to the right place
[ -n "$LIBDIRSUFFIX" ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
+chmod 644 doc/tex/*.bat # 20220419 bkw: don't need +x permission.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar copying* doc/* 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/libraries/gsm/Makefile.patch b/libraries/gsm/Makefile.patch
new file mode 100644
index 0000000000..d3061b355d
--- /dev/null
+++ b/libraries/gsm/Makefile.patch
@@ -0,0 +1,159 @@
+--- Makefile.orig 2022-08-04 19:46:46.107815841 +0100
++++ Makefile 2022-08-05 14:43:30.765000000 +0100
+@@ -64,6 +64,8 @@
+ # LDLIB = -lgcc
+ ######### Additional libraries needed by $(LD)
+
++# What's this release's version?.
++VER ?= 1.0.22
+
+ # Where do you want to install libraries, binaries, a header file
+ # and the manual pages?
+@@ -96,7 +98,7 @@
+ # Other tools
+
+ SHELL = /bin/sh
+-LN = ln
++LN = ln -s
+ BASENAME = basename
+ AR = ar
+ ARFLAGS = cr
+@@ -140,6 +142,7 @@
+ # Targets
+
+ LIBGSM = $(LIB)/libgsm.a
++LIBGSMSO= $(LIB)/libgsm.so
+
+ TOAST = $(BIN)/toast
+ UNTOAST = $(BIN)/untoast
+@@ -203,24 +206,43 @@
+
+ # Object files
+
+-GSM_OBJECTS = $(SRC)/add.o \
+- $(SRC)/code.o \
+- $(SRC)/debug.o \
+- $(SRC)/decode.o \
+- $(SRC)/long_term.o \
+- $(SRC)/lpc.o \
+- $(SRC)/preprocess.o \
+- $(SRC)/rpe.o \
+- $(SRC)/gsm_destroy.o \
+- $(SRC)/gsm_decode.o \
+- $(SRC)/gsm_encode.o \
+- $(SRC)/gsm_explode.o \
+- $(SRC)/gsm_implode.o \
+- $(SRC)/gsm_create.o \
+- $(SRC)/gsm_print.o \
+- $(SRC)/gsm_option.o \
+- $(SRC)/short_term.o \
+- $(SRC)/table.o
++STATIC_GSM_OBJECTS = $(SRC)/add.o \
++ $(SRC)/code.o \
++ $(SRC)/debug.o \
++ $(SRC)/decode.o \
++ $(SRC)/long_term.o \
++ $(SRC)/lpc.o \
++ $(SRC)/preprocess.o \
++ $(SRC)/rpe.o \
++ $(SRC)/gsm_destroy.o \
++ $(SRC)/gsm_decode.o \
++ $(SRC)/gsm_encode.o \
++ $(SRC)/gsm_explode.o \
++ $(SRC)/gsm_implode.o \
++ $(SRC)/gsm_create.o \
++ $(SRC)/gsm_print.o \
++ $(SRC)/gsm_option.o \
++ $(SRC)/short_term.o \
++ $(SRC)/table.o
++
++SHARED_GSM_OBJECTS = $(SRC)/add.lo \
++ $(SRC)/code.lo \
++ $(SRC)/debug.lo \
++ $(SRC)/decode.lo \
++ $(SRC)/long_term.lo \
++ $(SRC)/lpc.lo \
++ $(SRC)/preprocess.lo \
++ $(SRC)/rpe.lo \
++ $(SRC)/gsm_destroy.lo \
++ $(SRC)/gsm_decode.lo \
++ $(SRC)/gsm_encode.lo \
++ $(SRC)/gsm_explode.lo \
++ $(SRC)/gsm_implode.lo \
++ $(SRC)/gsm_create.lo \
++ $(SRC)/gsm_print.lo \
++ $(SRC)/gsm_option.lo \
++ $(SRC)/short_term.lo \
++ $(SRC)/table.lo
+
+ TOAST_OBJECTS = $(SRC)/toast.o \
+ $(SRC)/toast_lin.o \
+@@ -228,7 +250,7 @@
+ $(SRC)/toast_alaw.o \
+ $(SRC)/toast_audio.o
+
+-OBJECTS = $(GSM_OBJECTS) $(TOAST_OBJECTS)
++OBJECTS = $(STATIC_GSM_OBJECTS) $(SHARED_GSM_OBJECTS) $(TOAST_OBJECTS)
+
+ # Manuals
+
+@@ -277,9 +299,12 @@
+ $(CC) $(CFLAGS) $?
+ @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
+
++%.lo: %.c
++ $(CC) $(CFLAGS) -fPIC -c $< -o $@
++
+ # Target rules
+
+-all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
++all: $(LIBGSM) $(LIBGSMSO) $(TOAST) $(TCAT) $(UNTOAST)
+ @-echo $(ROOT): Done.
+
+ tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
+@@ -299,24 +324,29 @@
+
+ # The basic API: libgsm
+
+-$(LIBGSM): $(LIB) $(GSM_OBJECTS)
++$(LIBGSMSO): $(LIB) $(SHARED_GSM_OBJECTS)
++ $(LD) $(LFLAGS) -o $@.${VER} -shared -Xlinker -soname -Xlinker libgsm.so.1 $(SHARED_GSM_OBJECTS) -lc
++ ln -fs libgsm.so.${VER} lib/libgsm.so.1
++ ln -fs libgsm.so.${VER} lib/libgsm.so
++
++$(LIBGSM): $(LIB) $(STATIC_GSM_OBJECTS)
+ -rm $(RMFLAGS) $(LIBGSM)
+- $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
++ $(AR) $(ARFLAGS) $(LIBGSM) $(STATIC_GSM_OBJECTS)
+ $(RANLIB) $(LIBGSM)
+
+
+ # Toast, Untoast and Tcat -- the compress-like frontends to gsm.
+
+ $(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
+- $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
++ $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSMSO) $(LDLIB)
+
+ $(UNTOAST): $(BIN) $(TOAST)
+ -rm $(RMFLAGS) $(UNTOAST)
+- $(LN) $(TOAST) $(UNTOAST)
++ $(LN) toast $(UNTOAST)
+
+ $(TCAT): $(BIN) $(TOAST)
+ -rm $(RMFLAGS) $(TCAT)
+- $(LN) $(TOAST) $(TCAT)
++ $(LN) toast $(TCAT)
+
+
+ # The local bin and lib directories
+@@ -426,7 +456,9 @@
+
+ clean: semi-clean
+ -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
+- $(TOAST) $(TCAT) $(UNTOAST) \
++ $(LIBGSMSO) $(LIB)/libgsm.so.${VER} \
++ $(LIB)libgsm.so.1 \
++ $(TOAST) $(TCAT) $(UNTOAST) \
+ $(ROOT)/gsm-1.0.tar.gz
+
+
diff --git a/libraries/gsm/gsm.SlackBuild b/libraries/gsm/gsm.SlackBuild
index c8963554a0..fd369edbbf 100644
--- a/libraries/gsm/gsm.SlackBuild
+++ b/libraries/gsm/gsm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gsm
@@ -22,27 +22,44 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add -j1 to the 'make install' command. without this, the tcat
+# binary wasn't getting installed.
+# - i486 => i586.
+# 20220619 tim dickson: updated to 1.0.19. source url and homepage updated, and take over maintainership..
+# patched patch, removed rm error messages and fixed script as
+# version labling in source is modified.
+#note to self: update patching to sed or similar for next release.
+# 20220722 tim dickson: got rm patched added upstream. combined larger patch
+# into easier to maintain patch, and a few sed commands.
+# 20220904 tim dickson: version bump to 1.0.22 (1.0-pl21). updated patch file.
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gsm
-VERSION=${VERSION:-1.0.13}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,19 +78,27 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+ALTVER=`echo $VERSION|awk -F"." '{print $1 "." $2 "-pl" $3 }'`
+rm -rf $PRGNAM-$ALTVER
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$ALTVER
chown -R root: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 {} \;
-
-# Patches ripped off from gentoo...
-patch -p1 < $CWD/patches/gsm-1.0.13-shared.patch
-patch -p1 < $CWD/patches/gsm-1.0.12-memcpy.patch
-patch -p1 < $CWD/patches/gsm-1.0.12-64bit.patch
+ -exec chmod 644 {} \+
+
+#the following patch and seds's are required but won't be fixed upstream due
+#to the fact that the library supports ancient 16bit processors
+#and the developer doesn't have all the hardware to test with any more.
+#"shared" patch (modified and updated from a gentoo patch).
+#the Makefile patch allowd for static and shared libs.
+patch < $CWD/Makefile.patch
+#these sed's fix 64bit compiling (but will break 16bit compiling)
+#which is only relevant for DOS, so is ok here.
+sed -i 's/typedef long/typedef int/g' inc/private.h
+sed -i 's/typedef unsigned long/typedef unsigned int/g' inc/private.h
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
@@ -81,27 +106,27 @@ mkdir -p $PKG/usr/include/{gsm,libgsm}
mkdir -p $PKG/usr/man/man{1,3}
# Parallel builds are broken
-make CCINC="$SLKCFLAGS" -j1
-make install \
+make CCINC="$SLKCFLAGS" VER="$VERSION" -j1
+make -j1 install \
INSTALL_ROOT=$PKG/usr \
+ VER="$VERSION" \
GSM_INSTALL_LIB=$PKG/usr/lib$LIBDIRSUFFIX \
GSM_INSTALL_INC=$PKG/usr/include/gsm \
GSM_INSTALL_MAN=$PKG/usr/man/man3 \
TOAST_INSTALL_MAN=$PKG/usr/man/man1
-
cp -p lib/libgsm.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX
( cd $PKG/usr/lib$LIBDIRSUFFIX
ln -s libgsm.so.$VERSION libgsm.so.1
ln -s libgsm.so.$VERSION libgsm.so
) || exit 1
-
# some apps look for this in /usr/include
( cd $PKG/usr/include/libgsm ; ln -s ../gsm/gsm.h gsm.h ) || exit 1
-# Replace hardlinks with softlinks
+# Replace fullpath links with relative links,
+# so autocreated doinst.sh is not broken
( cd $PKG/usr/bin
- rm -f toast ; ln -s tcat toast
- rm -f untoast ; ln -s tcat untoast
+ rm -f tcat; ln -s toast tcat
+ rm -f untoast; ln -s toast untoast
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -122,4 +147,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gsm/gsm.info b/libraries/gsm/gsm.info
index 1a26744e6a..b5400ff6c3 100644
--- a/libraries/gsm/gsm.info
+++ b/libraries/gsm/gsm.info
@@ -1,10 +1,10 @@
PRGNAM="gsm"
-VERSION="1.0.13"
-HOMEPAGE="http://www.quut.com/gsm/"
-DOWNLOAD="http://www.imagemagick.org/download/delegates/ffmpeg/gsm-1.0.13.tar.bz2"
-MD5SUM="9a01ad263f8c7646c32c39cb4b8024c1"
+VERSION="1.0.22"
+HOMEPAGE="https://www.quut.com/gsm/"
+DOWNLOAD="https://www.quut.com/gsm/gsm-1.0.22.tar.gz"
+MD5SUM="fcca74c770a341d78ea4604418c1264b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Somero"
-EMAIL="dsomero@hotmail.com"
+MAINTAINER="Tim Dickson"
+EMAIL="dickson.tim@googlemail.com"
diff --git a/libraries/gsm/patches/gsm-1.0.12-64bit.patch b/libraries/gsm/patches/gsm-1.0.12-64bit.patch
deleted file mode 100644
index bc28c5099c..0000000000
--- a/libraries/gsm/patches/gsm-1.0.12-64bit.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ur gsm-1.0-pl12.orig/inc/private.h gsm-1.0-pl12/inc/private.h
---- gsm-1.0-pl12.orig/inc/private.h 2006-04-26 22:17:01.000000000 +0300
-+++ gsm-1.0-pl12/inc/private.h 2007-08-19 12:23:02.000000000 +0300
-@@ -10,10 +10,10 @@
- #define PRIVATE_H
-
- typedef short word; /* 16 bit signed int */
--typedef long longword; /* 32 bit signed int */
-+typedef int longword; /* 32 bit signed int */
-
- typedef unsigned short uword; /* unsigned word */
--typedef unsigned long ulongword; /* unsigned longword */
-+typedef unsigned int ulongword; /* unsigned longword */
-
- struct gsm_state {
-
diff --git a/libraries/gsm/patches/gsm-1.0.12-memcpy.patch b/libraries/gsm/patches/gsm-1.0.12-memcpy.patch
deleted file mode 100644
index fc3c1ce232..0000000000
--- a/libraries/gsm/patches/gsm-1.0.12-memcpy.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur gsm-1.0-pl12.orig/src/code.c gsm-1.0-pl12/src/code.c
---- gsm-1.0-pl12.orig/src/code.c 2006-04-26 22:16:50.000000000 +0300
-+++ gsm-1.0-pl12/src/code.c 2007-08-19 12:18:01.000000000 +0300
-@@ -8,6 +8,7 @@
-
- #include "config.h"
-
-+#include <string.h>
-
- #ifdef HAS_STDLIB_H
- #include <stdlib.h>
diff --git a/libraries/gsm/patches/gsm-1.0.13-shared.patch b/libraries/gsm/patches/gsm-1.0.13-shared.patch
deleted file mode 100644
index fc99e2c304..0000000000
--- a/libraries/gsm/patches/gsm-1.0.13-shared.patch
+++ /dev/null
@@ -1,151 +0,0 @@
-diff -ur gsm-1.0-pl13.orig/Makefile gsm-1.0-pl13/Makefile
---- gsm-1.0-pl13.orig/Makefile 2006-04-26 22:14:26.000000000 +0300
-+++ gsm-1.0-pl13/Makefile 2009-09-08 14:50:02.000000000 +0300
-@@ -96,7 +96,7 @@
- # Other tools
-
- SHELL = /bin/sh
--LN = ln
-+LN = ln -s
- BASENAME = basename
- AR = ar
- ARFLAGS = cr
-@@ -140,6 +140,7 @@
- # Targets
-
- LIBGSM = $(LIB)/libgsm.a
-+LIBGSMSO= $(LIB)/libgsm.so
-
- TOAST = $(BIN)/toast
- UNTOAST = $(BIN)/untoast
-@@ -203,24 +204,43 @@
-
- # Object files
-
--GSM_OBJECTS = $(SRC)/add.o \
-- $(SRC)/code.o \
-- $(SRC)/debug.o \
-- $(SRC)/decode.o \
-- $(SRC)/long_term.o \
-- $(SRC)/lpc.o \
-- $(SRC)/preprocess.o \
-- $(SRC)/rpe.o \
-- $(SRC)/gsm_destroy.o \
-- $(SRC)/gsm_decode.o \
-- $(SRC)/gsm_encode.o \
-- $(SRC)/gsm_explode.o \
-- $(SRC)/gsm_implode.o \
-- $(SRC)/gsm_create.o \
-- $(SRC)/gsm_print.o \
-- $(SRC)/gsm_option.o \
-- $(SRC)/short_term.o \
-- $(SRC)/table.o
-+STATIC_GSM_OBJECTS = $(SRC)/add.o \
-+ $(SRC)/code.o \
-+ $(SRC)/debug.o \
-+ $(SRC)/decode.o \
-+ $(SRC)/long_term.o \
-+ $(SRC)/lpc.o \
-+ $(SRC)/preprocess.o \
-+ $(SRC)/rpe.o \
-+ $(SRC)/gsm_destroy.o \
-+ $(SRC)/gsm_decode.o \
-+ $(SRC)/gsm_encode.o \
-+ $(SRC)/gsm_explode.o \
-+ $(SRC)/gsm_implode.o \
-+ $(SRC)/gsm_create.o \
-+ $(SRC)/gsm_print.o \
-+ $(SRC)/gsm_option.o \
-+ $(SRC)/short_term.o \
-+ $(SRC)/table.o
-+
-+SHARED_GSM_OBJECTS = $(SRC)/add.lo \
-+ $(SRC)/code.lo \
-+ $(SRC)/debug.lo \
-+ $(SRC)/decode.lo \
-+ $(SRC)/long_term.lo \
-+ $(SRC)/lpc.lo \
-+ $(SRC)/preprocess.lo \
-+ $(SRC)/rpe.lo \
-+ $(SRC)/gsm_destroy.lo \
-+ $(SRC)/gsm_decode.lo \
-+ $(SRC)/gsm_encode.lo \
-+ $(SRC)/gsm_explode.lo \
-+ $(SRC)/gsm_implode.lo \
-+ $(SRC)/gsm_create.lo \
-+ $(SRC)/gsm_print.lo \
-+ $(SRC)/gsm_option.lo \
-+ $(SRC)/short_term.lo \
-+ $(SRC)/table.lo
-
- TOAST_OBJECTS = $(SRC)/toast.o \
- $(SRC)/toast_lin.o \
-@@ -228,7 +248,7 @@
- $(SRC)/toast_alaw.o \
- $(SRC)/toast_audio.o
-
--OBJECTS = $(GSM_OBJECTS) $(TOAST_OBJECTS)
-+OBJECTS = $(STATIC_GSM_OBJECTS) $(SHARED_GSM_OBJECTS) $(TOAST_OBJECTS)
-
- # Manuals
-
-@@ -277,9 +297,12 @@
- $(CC) $(CFLAGS) $?
- @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1
-
-+%.lo: %.c
-+ $(CC) $(CFLAGS) -fPIC -c $< -o $@
-+
- # Target rules
-
--all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
-+all: $(LIBGSM) $(LIBGSMSO) $(TOAST) $(TCAT) $(UNTOAST)
- @-echo $(ROOT): Done.
-
- tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
-@@ -299,24 +322,29 @@
-
- # The basic API: libgsm
-
--$(LIBGSM): $(LIB) $(GSM_OBJECTS)
-+$(LIBGSMSO): $(LIB) $(SHARED_GSM_OBJECTS)
-+ $(LD) $(LFLAGS) -o $@.1.0.13 -shared -Xlinker -soname -Xlinker libgsm.so.1 $(SHARED_GSM_OBJECTS) -lc
-+ ln -fs libgsm.so.1.0.13 lib/libgsm.so.1
-+ ln -fs libgsm.so.1.0.13 lib/libgsm.so
-+
-+$(LIBGSM): $(LIB) $(STATIC_GSM_OBJECTS)
- -rm $(RMFLAGS) $(LIBGSM)
-- $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
-+ $(AR) $(ARFLAGS) $(LIBGSM) $(STATIC_GSM_OBJECTS)
- $(RANLIB) $(LIBGSM)
-
-
- # Toast, Untoast and Tcat -- the compress-like frontends to gsm.
-
- $(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
-- $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
-+ $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSMSO) $(LDLIB)
-
- $(UNTOAST): $(BIN) $(TOAST)
- -rm $(RMFLAGS) $(UNTOAST)
-- $(LN) $(TOAST) $(UNTOAST)
-+ $(LN) toast $(UNTOAST)
-
- $(TCAT): $(BIN) $(TOAST)
- -rm $(RMFLAGS) $(TCAT)
-- $(LN) $(TOAST) $(TCAT)
-+ $(LN) toast $(TCAT)
-
-
- # The local bin and lib directories
-@@ -426,7 +454,9 @@
-
- clean: semi-clean
- -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
-- $(TOAST) $(TCAT) $(UNTOAST) \
-+ $(LIBGSMSO) $(LIB)/libgsm.so.1.0.13 \
-+ $(LIB)libgsm.so.1 \
-+ $(TOAST) $(TCAT) $(UNTOAST) \
- $(ROOT)/gsm-1.0.tar.Z
-
-
diff --git a/libraries/gsm/slack-desc b/libraries/gsm/slack-desc
index 04fd15ad2d..c3764fa6fc 100644
--- a/libraries/gsm/slack-desc
+++ b/libraries/gsm/slack-desc
@@ -13,7 +13,7 @@ gsm: of the European GSM 06.10 provisional standard for full-rate speech
gsm: transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse
gsm: excitation/long term prediction) coding at 13 kbit/s.
gsm:
-gsm: Homepage: http://kbs.cs.tu-berlin.de/~jutta/toast.html
+gsm: Homepage: http://www.quut.com/gsm/
gsm:
gsm:
gsm:
diff --git a/libraries/gsnmp/gsnmp.SlackBuild b/libraries/gsnmp/gsnmp.SlackBuild
index 944eda3748..237af4f6d8 100644
--- a/libraries/gsnmp/gsnmp.SlackBuild
+++ b/libraries/gsnmp/gsnmp.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gsnmp
# Written by Menno E. Duursma <druiloor@zonnet.nl>
# Modified by Robby Workman <rworkman@slackbuilds.org>
# Maintained by Ozan Türkyılmaz <ozan.turkyilmaz@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gsnmp
VERSION=${VERSION:-0.2.0}
-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,8 +82,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a [A-Z][A-Z]* 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/libraries/gsound/README b/libraries/gsound/README
new file mode 100644
index 0000000000..d628755945
--- /dev/null
+++ b/libraries/gsound/README
@@ -0,0 +1,3 @@
+GSound is a small library for playing system sounds. It's designed
+to be used via GObject Introspection, and is a thin wrapper around
+the libcanberra C library.
diff --git a/libraries/gsound/gsound.SlackBuild b/libraries/gsound/gsound.SlackBuild
new file mode 100644
index 0000000000..da356ee3f6
--- /dev/null
+++ b/libraries/gsound/gsound.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for gsound.
+
+# Copyright 2022 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.
+
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty NEWS and AUTHORS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gsound
+VERSION=${VERSION:-1.0.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}
+
+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
+ 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 ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING ChangeLog README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gsound/gsound.info b/libraries/gsound/gsound.info
new file mode 100644
index 0000000000..8eb2318858
--- /dev/null
+++ b/libraries/gsound/gsound.info
@@ -0,0 +1,10 @@
+PRGNAM="gsound"
+VERSION="1.0.3"
+HOMEPAGE="https://wiki.gnome.org/Projects/GSound"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/gsound/-/archive/1.0.3/gsound-1.0.3.tar.gz"
+MD5SUM="05682bce53a9dfee1b785870e8f5a6a3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/gsound/slack-desc b/libraries/gsound/slack-desc
new file mode 100644
index 0000000000..c74a5956f8
--- /dev/null
+++ b/libraries/gsound/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------------------------------------------------------|
+gsound: gsound (small library for playing system sounds)
+gsound:
+gsound: GSound is a small library for playing system sounds. It's designed to
+gsound: be used via GObject Introspection, and is a thin wrapper around the
+gsound: libcanberra C library.
+gsound:
+gsound: HOMEPAGE: https://wiki.gnome.org/Projects/GSound
+gsound:
+gsound:
+gsound:
+gsound:
diff --git a/libraries/gspell/README b/libraries/gspell/README
new file mode 100644
index 0000000000..f36221777b
--- /dev/null
+++ b/libraries/gspell/README
@@ -0,0 +1,4 @@
+gspell (spell checking library for GTK+ applications)
+
+gspell provides a flexible API to add spell-checking to a GTK+
+application.
diff --git a/libraries/gspell/gspell.SlackBuild b/libraries/gspell/gspell.SlackBuild
new file mode 100644
index 0000000000..5d79f30c6c
--- /dev/null
+++ b/libraries/gspell/gspell.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for gspell
+
+# Copyright 2021 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.
+
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix PRINT_PACKAGE_NAME (PKGTYPE wasn't set).
+# - remove useless ABOUT-NLS and INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gspell
+VERSION=${VERSION:-1.12.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 -eu
+
+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 {} \;
+
+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 \
+ --disable-debug \
+ --disable-static \
+ --enable-gtk-doc \
+ --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 -name '*.la' -delete
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog HACKING 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gspell/gspell.info b/libraries/gspell/gspell.info
new file mode 100644
index 0000000000..b7765def4a
--- /dev/null
+++ b/libraries/gspell/gspell.info
@@ -0,0 +1,10 @@
+PRGNAM="gspell"
+VERSION="1.12.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gspell"
+DOWNLOAD="https://download.gnome.org/sources/gspell/1.12/gspell-1.12.1.tar.xz"
+MD5SUM="6c1145a0d2a40c2266337a3975e0e8d5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Igor Alexandrov"
+EMAIL="igor.alexandrov@outlook.com"
diff --git a/libraries/gspell/slack-desc b/libraries/gspell/slack-desc
new file mode 100644
index 0000000000..63b73cefab
--- /dev/null
+++ b/libraries/gspell/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------------------------------------------------------|
+gspell: gspell (spell checking library for GTK+ applications)
+gspell:
+gspell: gspell provides a flexible API to add spell-checking to
+gspell: a GTK+ application.
+gspell:
+gspell: More details:
+gspell: https://gitlab.gnome.org/GNOME/gspell
+gspell:
+gspell:
+gspell:
+gspell:
diff --git a/libraries/gss-ntlmssp/README b/libraries/gss-ntlmssp/README
new file mode 100644
index 0000000000..88d8f795f8
--- /dev/null
+++ b/libraries/gss-ntlmssp/README
@@ -0,0 +1,2 @@
+GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that
+implements NTLM authentication.
diff --git a/libraries/gss-ntlmssp/doinst.sh b/libraries/gss-ntlmssp/doinst.sh
new file mode 100644
index 0000000000..f05cb6eae8
--- /dev/null
+++ b/libraries/gss-ntlmssp/doinst.sh
@@ -0,0 +1,13 @@
+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/gss/mech.d/gssntlmssp.conf.new
diff --git a/libraries/gss-ntlmssp/gss-ntlmssp.SlackBuild b/libraries/gss-ntlmssp/gss-ntlmssp.SlackBuild
new file mode 100644
index 0000000000..93eb0fe2bf
--- /dev/null
+++ b/libraries/gss-ntlmssp/gss-ntlmssp.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for gss-ntlmssp
+
+# Copyright 2023 Thibaut Notteboom, Paris, FRANCE
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gss-ntlmssp
+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"
+ 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 -fi
+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
+
+mkdir -p $PKG/etc/gss/mech.d
+install -m 0644 examples/mech.ntlmssp $PKG/etc/gss/mech.d/gssntlmssp.conf.new
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/gssntlmssp/*.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 \
+ BUILD.txt COPYING README.md TESTING.txt 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/libraries/gss-ntlmssp/gss-ntlmssp.info b/libraries/gss-ntlmssp/gss-ntlmssp.info
new file mode 100644
index 0000000000..1de326368c
--- /dev/null
+++ b/libraries/gss-ntlmssp/gss-ntlmssp.info
@@ -0,0 +1,10 @@
+PRGNAM="gss-ntlmssp"
+VERSION="1.2.0"
+HOMEPAGE="https://github.com/gssapi/gss-ntlmssp"
+DOWNLOAD="https://github.com/gssapi/gss-ntlmssp/archive/v1.2.0/gss-ntlmssp-1.2.0.tar.gz"
+MD5SUM="70ceabf05d26f4ad9e979eb8c486df0d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Thibaut Notteboom"
+EMAIL="thibaut.notteboom@gmail.com"
diff --git a/libraries/gss-ntlmssp/slack-desc b/libraries/gss-ntlmssp/slack-desc
new file mode 100644
index 0000000000..0fad4774b7
--- /dev/null
+++ b/libraries/gss-ntlmssp/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------------------------------------------------------|
+gss-ntlmssp: gss-ntlmssp (A GSSAPI Mechanism that implements NTLMSSP)
+gss-ntlmssp:
+gss-ntlmssp: GSS-NTLMSSP is a mechglue plugin for the GSSAPI library that
+gss-ntlmssp: implements NTLM authentication.
+gss-ntlmssp:
+gss-ntlmssp:
+gss-ntlmssp:
+gss-ntlmssp:
+gss-ntlmssp:
+gss-ntlmssp:
+gss-ntlmssp:
diff --git a/libraries/gssdp/README b/libraries/gssdp/README
index 63e97c9977..259c01c7a8 100644
--- a/libraries/gssdp/README
+++ b/libraries/gssdp/README
@@ -1,4 +1,2 @@
A GObject-based API for handling resource discovery and announcement
over SSDP.
-
-vala is an optional dependency.
diff --git a/libraries/gssdp/gssdp.SlackBuild b/libraries/gssdp/gssdp.SlackBuild
index 18cf5bbc18..3e46e2562f 100644
--- a/libraries/gssdp/gssdp.SlackBuild
+++ b/libraries/gssdp/gssdp.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GSSDP
# Copyright 2010 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
-# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-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=gssdp
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.6.3}
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,30 +77,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 \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-introspection=yes \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+
+meson --prefix=/usr \
+ --buildtype=release \
+ --localstatedir=/var \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ -Dgtk_doc=false \
+ -Dmanpages=false \
+ ../
+"${NINJA:=ninja}"
+DESTDIR=$PKG $NINJA install
+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 AUTHORS COPYING INSTALL NEWS README doc/html/* $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
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gssdp/gssdp.info b/libraries/gssdp/gssdp.info
index d8536dd066..0e6f9fd907 100644
--- a/libraries/gssdp/gssdp.info
+++ b/libraries/gssdp/gssdp.info
@@ -1,10 +1,10 @@
PRGNAM="gssdp"
-VERSION="1.0.2"
-HOMEPAGE="http://gupnp.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gssdp/1.0/gssdp-1.0.2.tar.xz"
-MD5SUM="b30c9a406853c6a3a012d151d6e7ad2c"
+VERSION="1.6.3"
+HOMEPAGE="https://gupnp.org/"
+DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gssdp/1.6/gssdp-1.6.3.tar.xz"
+MD5SUM="dda8a67916b17882ce6bc214d1defd53"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libsoup3"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/gstreamer-editing-services/README b/libraries/gst-editing-services/README
index 1bd84bb750..1bd84bb750 100644
--- a/libraries/gstreamer-editing-services/README
+++ b/libraries/gst-editing-services/README
diff --git a/libraries/gst-editing-services/gst-editing-services.SlackBuild b/libraries/gst-editing-services/gst-editing-services.SlackBuild
new file mode 100644
index 0000000000..6305893611
--- /dev/null
+++ b/libraries/gst-editing-services/gst-editing-services.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for gst-editing-services
+
+# Copyright 2017-2022 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gst-editing-services
+VERSION=${VERSION:-1.18.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.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
+ 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 AUTHORS COPYING ChangeLog NEWS README RELEASE $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
diff --git a/libraries/gst-editing-services/gst-editing-services.info b/libraries/gst-editing-services/gst-editing-services.info
new file mode 100644
index 0000000000..ee1062198a
--- /dev/null
+++ b/libraries/gst-editing-services/gst-editing-services.info
@@ -0,0 +1,10 @@
+PRGNAM="gst-editing-services"
+VERSION="1.18.5"
+HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-editing-services.html"
+DOWNLOAD="https://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-1.18.5.tar.xz"
+MD5SUM="a9a6af515cc46f3847a43538105c9931"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/gst-editing-services/slack-desc b/libraries/gst-editing-services/slack-desc
new file mode 100644
index 0000000000..35eb6c824b
--- /dev/null
+++ b/libraries/gst-editing-services/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------------------------------------------------------|
+gst-editing-services: gst-editing-services (Library for creating editors)
+gst-editing-services:
+gst-editing-services: Library for creating audio/video editors.
+gst-editing-services:
+gst-editing-services: Homepage:
+gst-editing-services: https://gstreamer.freedesktop.org/modules/gst-editing-services.html
+gst-editing-services:
+gst-editing-services:
+gst-editing-services:
+gst-editing-services:
+gst-editing-services:
diff --git a/libraries/gstreamer-editing-services/gstreamer-editing-services.SlackBuild b/libraries/gstreamer-editing-services/gstreamer-editing-services.SlackBuild
deleted file mode 100644
index 6ba6fb2d4d..0000000000
--- a/libraries/gstreamer-editing-services/gstreamer-editing-services.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gstreamer-editing-services
-
-# Copyright 2017 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=gstreamer-editing-services
-VERSION=${VERSION:-1.6.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.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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README RELEASE $PKG/usr/doc/$PRGNAM-$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/libraries/gstreamer-editing-services/gstreamer-editing-services.info b/libraries/gstreamer-editing-services/gstreamer-editing-services.info
deleted file mode 100644
index e58125ace5..0000000000
--- a/libraries/gstreamer-editing-services/gstreamer-editing-services.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gstreamer-editing-services"
-VERSION="1.6.2"
-HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-editing-services.html"
-DOWNLOAD="https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gstreamer-editing-services-1.6.2.tar.xz"
-MD5SUM="76a1aa3f08af4c56b08d784aea46b712"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/gstreamer-editing-services/slack-desc b/libraries/gstreamer-editing-services/slack-desc
deleted file mode 100644
index 7a298825dd..0000000000
--- a/libraries/gstreamer-editing-services/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------------------------------------------------------|
-gstreamer-editing-services: gstreamer-editing-services (Library for creating editors)
-gstreamer-editing-services:
-gstreamer-editing-services: Library for creating audio/video editors.
-gstreamer-editing-services:
-gstreamer-editing-services: Homepage:
-gstreamer-editing-services: https://gstreamer.freedesktop.org/modules/gst-editing-services.html
-gstreamer-editing-services:
-gstreamer-editing-services:
-gstreamer-editing-services:
-gstreamer-editing-services:
-gstreamer-editing-services:
diff --git a/libraries/gstreamermm/fix_warnings.patch b/libraries/gstreamermm/fix_warnings.patch
new file mode 100644
index 0000000000..fccb480a11
--- /dev/null
+++ b/libraries/gstreamermm/fix_warnings.patch
@@ -0,0 +1,15 @@
+Author: Marcin Kolny <marcin.kolny@gmail.com>
+Description: Fix warnings
+Origin: https://git.gnome.org/browse/gstreamermm/commit/gstreamer/gstreamermm/check.cc?id=c5006faf05bc4b46767d30f42bcb6157836b7540
+Last-update: 2016-09-25
+--- a/gstreamer/gstreamermm/check.cc
++++ b/gstreamer/gstreamermm/check.cc
+@@ -54,7 +54,7 @@
+
+ element = ElementFactory::create_element (factory, factory);
+
+- ThrowIf (element, "Could not create a '" + factory + "' element");
++ ThrowIf (!!element, "Could not create a '" + factory + "' element");
+ CheckRefCount (element->gobj(), factory, 1);
+
+ return element;
diff --git a/libraries/gstreamermm/gstreamermm-volatile.patch b/libraries/gstreamermm/gstreamermm-volatile.patch
new file mode 100644
index 0000000000..c9da689fce
--- /dev/null
+++ b/libraries/gstreamermm/gstreamermm-volatile.patch
@@ -0,0 +1,12 @@
+diff -up gstreamermm-1.10.0/gstreamer/gstreamermm/register.h.vol gstreamermm-1.10.0/gstreamer/gstreamermm/register.h
+--- gstreamermm-1.10.0/gstreamer/gstreamermm/register.h.vol 2017-10-20 11:26:46.000000000 +0200
++++ gstreamermm-1.10.0/gstreamer/gstreamermm/register.h 2021-07-25 14:22:10.275157229 +0200
+@@ -110,7 +110,7 @@ register_mm_type(const gchar * type_name
+ /* The typedef for GType may be gulong or gsize, depending on the
+ * system and whether the compiler is c++ or not. The g_once_init_*
+ * functions always take a gsize * though ... */
+- static volatile gsize gonce_data = 0;
++ static gsize gonce_data = 0;
+ if (g_once_init_enter (&gonce_data)) {
+ GTypeInfo info;
+
diff --git a/libraries/gstreamermm/gstreamermm.SlackBuild b/libraries/gstreamermm/gstreamermm.SlackBuild
index 73ece14f12..658da9e9cb 100644
--- a/libraries/gstreamermm/gstreamermm.SlackBuild
+++ b/libraries/gstreamermm/gstreamermm.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gstreamermm
# Copyright (C) 2010 Juan Valencia <jvalenciae@gmail.com>
+# Copyright 2012-2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=gstreamermm
-VERSION=${VERSION:-1.4.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.10.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"
@@ -67,31 +78,36 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -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/gstreamermm-volatile.patch
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++11" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --enable-unittests=no \
--build=$ARCH-slackware-linux
make libdocdir=/usr/doc/$PRGNAM-$VERSION
make libdocdir=/usr/doc/$PRGNAM-$VERSION 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \
+cp -a AUTHORS COPYING NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/libraries/gstreamermm/gstreamermm.info b/libraries/gstreamermm/gstreamermm.info
index 396b84e976..b5f77e4613 100644
--- a/libraries/gstreamermm/gstreamermm.info
+++ b/libraries/gstreamermm/gstreamermm.info
@@ -1,8 +1,8 @@
PRGNAM="gstreamermm"
-VERSION="1.4.3"
+VERSION="1.10.0"
HOMEPAGE="https://www.gnome.org/"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gstreamermm/1.4/gstreamermm-1.4.3.tar.xz"
-MD5SUM="8f6c4b85083308def933eab1433a1865"
+DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gstreamermm/1.10/gstreamermm-1.10.0.tar.xz"
+MD5SUM="57e9300f247ad27a4ef4df4fecc137c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
index f3f38a86e5..f484119cb4 100644
--- a/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
+++ b/libraries/gtk-aurora-engine/gtk-aurora-engine.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for aurora gtk engine
#
@@ -29,10 +29,13 @@
#
# 1 - Initial release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtk-aurora-engine
VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,7 +45,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,6 +115,8 @@ 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
@@ -116,4 +128,4 @@ find -L . \
\( -perm 666 -o -perm 664 -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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gtk-layer-shell/README b/libraries/gtk-layer-shell/README
new file mode 100644
index 0000000000..4f6cf59685
--- /dev/null
+++ b/libraries/gtk-layer-shell/README
@@ -0,0 +1,21 @@
+gtk-layer-shell is a library to write GTK applications that
+use Layer Shell.
+Layer Shell is a Wayland protocol for desktop shell components,
+such as panels, notifications and wallpapers. You can use it to anchor
+your windows to a corner or edge of the output, or stretch them across
+the entire output. It supports all Layer Shell features including popups
+and popovers (GTK popups Just Work™). This Library is compatible with
+C, C++ and any language that supports GObject introspection files
+(Python, Vala, etc,).
+
+This library only works on Wayland, and only on Wayland compositors
+that support the Layer Shell protcol. Layer shell is supported on:
+
+•wlroots based compositors (such as Sway)
+•Mir-based compositors (some may not enable the protocol by default
+and require --add-wayland-extension zwlr_layer_shell_v1)
+
+Layer shell is not supported on:
+
+•Gnome-on-Wayland
+•Any X11 desktop
diff --git a/libraries/gtk-layer-shell/gtk-layer-shell.SlackBuild b/libraries/gtk-layer-shell/gtk-layer-shell.SlackBuild
new file mode 100644
index 0000000000..9917f557cd
--- /dev/null
+++ b/libraries/gtk-layer-shell/gtk-layer-shell.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for gtk-layer-shell
+
+# 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=gtk-layer-shell
+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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -Dexamples=true \
+ -Ddocs=true \
+ -Dtests=false \
+ -Dintrospection=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 -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md LICENSE_GPL.txt LICENSE_LGPL.txt LICENSE_MIT.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a $PKG/usr/share/gtk-doc/html/gtk-layer-shell/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -r $PKG/usr/share/gtk-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/libraries/gtk-layer-shell/gtk-layer-shell.info b/libraries/gtk-layer-shell/gtk-layer-shell.info
new file mode 100644
index 0000000000..46f9f1efad
--- /dev/null
+++ b/libraries/gtk-layer-shell/gtk-layer-shell.info
@@ -0,0 +1,10 @@
+PRGNAM="gtk-layer-shell"
+VERSION="0.7.0"
+HOMEPAGE="https://github.com/wmww/gtk-layer-shell"
+DOWNLOAD="https://github.com/wmww/gtk-layer-shell/archive/refs/tags/v0.7.0/gtk-layer-shell-0.7.0.tar.gz"
+MD5SUM="d6edf452c8b2e74f44bd6a1057581356"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/gtk-layer-shell/slack-desc b/libraries/gtk-layer-shell/slack-desc
new file mode 100644
index 0000000000..8dd31e0cac
--- /dev/null
+++ b/libraries/gtk-layer-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------------------------------------------------------|
+gtk-layer-shell: gtk-layer-shell (Layer Shell GTK applications library)
+gtk-layer-shell:
+gtk-layer-shell: Gtk-layer-shell is a library to write GTK applications that use
+gtk-layer-shell: Layer Shell. Layer Shell is a Wayland protocol for desktop shell
+gtk-layer-shell: components, such as panels, notifications and wallpapers
+gtk-layer-shell:
+gtk-layer-shell:
+gtk-layer-shell:
+gtk-layer-shell: Home: https://github.com/wmww/gtk-layer-shell
+gtk-layer-shell:
+gtk-layer-shell:
diff --git a/libraries/gtk-qt-engine/README b/libraries/gtk-qt-engine/README
deleted file mode 100644
index 4fbb07c8e9..0000000000
--- a/libraries/gtk-qt-engine/README
+++ /dev/null
@@ -1,3 +0,0 @@
-gtk-qt-engine is a GTK theme engine to make GTK2 apps fit more
-nicely when used on a KDE/QT oriented desktop by using QT styles
-and widgets.
diff --git a/libraries/gtk-qt-engine/doinst.sh b/libraries/gtk-qt-engine/doinst.sh
deleted file mode 100644
index 22d4849bce..0000000000
--- a/libraries/gtk-qt-engine/doinst.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
-fi
-
diff --git a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild b/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild
deleted file mode 100644
index f61691a029..0000000000
--- a/libraries/gtk-qt-engine/gtk-qt-engine.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gtk-qt-engine
-# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
-# Copyright 2007-2009 Michiel van Wessem, Manchester, 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.
-
-# Modified by the SlackBuilds.org project
-# Updated for version 0.8 by ppr:kut <hmwiesinger@gmx.at>
-
-PRGNAM=gtk-qt-engine
-VERSION=${VERSION:-1.1}
-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
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Patch the source so it won't break while building
-patch -p4 < $CWD/include.patch
-
-# Fix for glib>=2.31
-sed -i "s|/glist||" src/qt_theme_draw.c
-
-cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} .
-
- 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 AUTHORS COPYING ChangeLog INSTALL $PKG/usr/doc/$PRGNAM-$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/libraries/gtk-qt-engine/gtk-qt-engine.info b/libraries/gtk-qt-engine/gtk-qt-engine.info
deleted file mode 100644
index 23d4096e5f..0000000000
--- a/libraries/gtk-qt-engine/gtk-qt-engine.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gtk-qt-engine"
-VERSION="1.1"
-HOMEPAGE="https://github.com/davidsansome/gtk-qt-engine"
-DOWNLOAD="https://ftp.mirrorservice.org/sites/download.salixos.org/i486/extra-14.2/source/libraries/gtk-qt-engine/gtk-qt-engine-1.1.tar.bz2"
-MD5SUM="de8048baef7dfe6c97cd97c463d66152"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Michiel van Wessem"
-EMAIL="michiel@slackbuilds.org"
diff --git a/libraries/gtk-qt-engine/include.patch b/libraries/gtk-qt-engine/include.patch
deleted file mode 100644
index b60e70046e..0000000000
--- a/libraries/gtk-qt-engine/include.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur /tmp/SBo/gtk-qt-engine.orig/src/qt_theme_draw.c /tmp/SBo/gtk-qt-engine/src/qt_theme_draw.c
---- /tmp/SBo/gtk-qt-engine.orig/src/qt_theme_draw.c 2008-03-11 01:30:19.000000000 +0000
-+++ /tmp/SBo/gtk-qt-engine/src/qt_theme_draw.c 2009-07-11 14:33:46.000000000 +0000
-@@ -19,6 +19,7 @@
- ***************************************************************************/
-
- #include <math.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <gtk/gtkprogressbar.h>
- #include <gdk/gdk.h>
diff --git a/libraries/gtk-qt-engine/slack-desc b/libraries/gtk-qt-engine/slack-desc
deleted file mode 100644
index 8b2d183891..0000000000
--- a/libraries/gtk-qt-engine/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------------------------------------------------------|
-gtk-qt-engine: gtk-qt-engine (GTK QT theme engine)
-gtk-qt-engine:
-gtk-qt-engine: gtk-qt-engine is a GTK theme engine to make GTK2
-gtk-qt-engine: apps fit more nicely when used on a KDE/QT oriented
-gtk-qt-engine: desktop by using QT styles and widgets.
-gtk-qt-engine:
-gtk-qt-engine:
-gtk-qt-engine:
-gtk-qt-engine:
-gtk-qt-engine:
-gtk-qt-engine:
diff --git a/libraries/gtk-session-lock/README b/libraries/gtk-session-lock/README
new file mode 100644
index 0000000000..b4c374bded
--- /dev/null
+++ b/libraries/gtk-session-lock/README
@@ -0,0 +1,5 @@
+gtk-session-lock (Wayland GTK3 session-lock protocol)
+
+This is a library to use GTK 3 to build screen lockers using the
+secure ext-session-lock-v1 protocol. This Library is compatible with
+C, C++ and any language that supports GObject introspection files.
diff --git a/libraries/gtk-session-lock/gtk-session-lock.SlackBuild b/libraries/gtk-session-lock/gtk-session-lock.SlackBuild
new file mode 100644
index 0000000000..055cbc3ca1
--- /dev/null
+++ b/libraries/gtk-session-lock/gtk-session-lock.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for gtk-session-lock
+
+# Copyright 2024 Jay Lanagan (j@lngn.net), Detroit, MI, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gtk-session-lock
+VERSION=${VERSION:-0.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p meson-build
+cd meson-build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson setup .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+
+"${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md LICENSE_* compatibility.md README.md release_process.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gtk-session-lock/gtk-session-lock.info b/libraries/gtk-session-lock/gtk-session-lock.info
new file mode 100644
index 0000000000..bf058b8350
--- /dev/null
+++ b/libraries/gtk-session-lock/gtk-session-lock.info
@@ -0,0 +1,10 @@
+PRGNAM="gtk-session-lock"
+VERSION="0.2.0"
+HOMEPAGE="http://github.com/Cu3PO42/gtk-session-lock/"
+DOWNLOAD="https://github.com/Cu3PO42/gtk-session-lock/archive/v0.2.0/gtk-session-lock-0.2.0.tar.gz"
+MD5SUM="6c9efb18c461ce91ac05d2e5a7b861e3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/libraries/gtk-session-lock/slack-desc b/libraries/gtk-session-lock/slack-desc
new file mode 100644
index 0000000000..6e60b55455
--- /dev/null
+++ b/libraries/gtk-session-lock/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gtk-session-lock: gtk-session-lock (Wayland GTK3 session-lock protocol)
+gtk-session-lock:
+gtk-session-lock: This is a library to use GTK 3 to build screen lockers using the
+gtk-session-lock: secure ext-session-lock-v1 protocol. This Library is compatible with
+gtk-session-lock: C, C++ and any language that supports GObject introspection files.
+gtk-session-lock:
+gtk-session-lock: Homepage: https://github.com/Cu3PO42/gtk-session-lock
+gtk-session-lock:
+gtk-session-lock:
+gtk-session-lock:
+gtk-session-lock:
diff --git a/libraries/gtk-sharp/gtk-sharp.SlackBuild b/libraries/gtk-sharp/gtk-sharp.SlackBuild
index 7a4aae7e0c..5c3372b205 100644
--- a/libraries/gtk-sharp/gtk-sharp.SlackBuild
+++ b/libraries/gtk-sharp/gtk-sharp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtk-sharp
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtk-sharp
VERSION=${VERSION:-2.12.45}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -65,9 +75,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 {} \+
+
+patch -p1 < $CWD/gtk-sharp2-2.12.12-gtkrange.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -91,13 +103,15 @@ find $PKG -name perllocal.pod \
| xargs rm -f
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
+install -m0644 \
AUTHORS COPYING ChangeLog HACKING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gtk-sharp/gtk-sharp2-2.12.12-gtkrange.patch b/libraries/gtk-sharp/gtk-sharp2-2.12.12-gtkrange.patch
new file mode 100644
index 0000000000..00e1790b94
--- /dev/null
+++ b/libraries/gtk-sharp/gtk-sharp2-2.12.12-gtkrange.patch
@@ -0,0 +1,30 @@
+diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs
+index 82fb811..29a8ee7 100644
+--- a/sample/test/TestRange.cs
++++ b/sample/test/TestRange.cs
+@@ -32,14 +32,14 @@ namespace WidgetViewer {
+
+ HScale hscale = new HScale (adjustment);
+ hscale.SetSizeRequest (150, -1);
+- ((Range) hscale).UpdatePolicy = UpdateType.Delayed;
++ ((Gtk.Range) hscale).UpdatePolicy = UpdateType.Delayed;
+
+ hscale.Digits = 1;
+ hscale.DrawValue = true;
+ box2.PackStart (hscale, true, true, 0);
+
+ HScrollbar hscrollbar = new HScrollbar (adjustment);
+- ((Range) hscrollbar).UpdatePolicy = UpdateType.Continuous;
++ ((Gtk.Range) hscrollbar).UpdatePolicy = UpdateType.Continuous;
+ box2.PackStart (hscrollbar, true, true, 0);
+
+ hscale = new HScale (adjustment);
+@@ -59,7 +59,7 @@ namespace WidgetViewer {
+ vscale.SetSizeRequest (-1, 200);
+ vscale.Digits = 2;
+ vscale.DrawValue = true;
+- ((Range) vscale).Inverted = true;
++ ((Gtk.Range) vscale).Inverted = true;
+ hbox.PackStart (vscale, true, true, 0);
+
+ vscale = new VScale (adjustment);
diff --git a/libraries/gtk-sharp3/README b/libraries/gtk-sharp3/README
new file mode 100644
index 0000000000..4d7a3cbb9e
--- /dev/null
+++ b/libraries/gtk-sharp3/README
@@ -0,0 +1,9 @@
+Gtk# is a Graphical User Interface Toolkit for mono and .Net. The
+project binds the gtk+ toolkit and assorted GNOME libraries, enabling
+fully native graphical Gnome application development using Mono and
+.Net development frameworks.
+
+Upstream has not had updates since 2014, so this is using a well-
+maintained fork by the GLibSharp team.
+
+This is able to be installed alongside gtk-sharp without conflicts.
diff --git a/libraries/gtk-sharp3/gtk-sharp3-nolibdir.patch b/libraries/gtk-sharp3/gtk-sharp3-nolibdir.patch
new file mode 100644
index 0000000000..43b9594cfb
--- /dev/null
+++ b/libraries/gtk-sharp3/gtk-sharp3-nolibdir.patch
@@ -0,0 +1,21 @@
+diff -up GtkSharp-3.22.2/Source/meson.build.nolibdir GtkSharp-3.22.2/Source/meson.build
+--- GtkSharp-3.22.2/Source/meson.build.nolibdir 2021-07-30 05:34:33.000000000 +0200
++++ GtkSharp-3.22.2/Source/meson.build 2022-08-07 14:27:13.414754013 +0200
+@@ -74,7 +74,7 @@ version_data.set('PACKAGE_VERSION', pkg_
+
+ install_infos = []
+ nuget_infos = []
+-lib_install_dir = join_paths(get_option('libdir'), 'mono', pkg_version)
++lib_install_dir = join_paths(get_option('prefix'), 'lib', 'mono', pkg_version)
+ pkg_install_dir = join_paths(get_option('libdir'), 'pkgconfig')
+ gapi_xml_installdir = join_paths(get_option('datadir'), 'gapi-3.0')
+
+diff -up GtkSharp-3.22.2/Source/parser/meson.build.nolibdir GtkSharp-3.22.2/Source/parser/meson.build
+--- GtkSharp-3.22.2/Source/parser/meson.build.nolibdir 2021-07-30 05:34:33.000000000 +0200
++++ GtkSharp-3.22.2/Source/parser/meson.build 2022-08-07 14:24:57.849163225 +0200
+@@ -1,4 +1,4 @@
+-gapi_installdir = join_paths(get_option('libdir'), 'gapi-3.0')
++gapi_installdir = join_paths(get_option('prefix'), 'lib', 'gapi-3.0')
+ pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
+
+ gapi_parser = executable('gapi-parser', 'gapi-parser.cs',
diff --git a/libraries/gtk-sharp3/gtk-sharp3.SlackBuild b/libraries/gtk-sharp3/gtk-sharp3.SlackBuild
new file mode 100644
index 0000000000..9682e956ef
--- /dev/null
+++ b/libraries/gtk-sharp3/gtk-sharp3.SlackBuild
@@ -0,0 +1,129 @@
+#!/bin/bash
+
+# Slackware build script for gtk-sharp3
+
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@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.
+
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gtk-sharp3
+SRCNAM=GtkSharp
+VERSION=${VERSION:-3.22.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 $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 {} \+
+
+# Correct outdated references
+sed -i 's|gdk_api_includes|gio_api_includes|' \
+ Source/{gdk,gio,gtk}/generated/meson.build \
+ Source/sample/valtest/generated/meson.build
+
+# Mono packages use /usr/lib regardless of arch
+patch -p 1 < $CWD/gtk-sharp3-nolibdir.patch
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dinstall=true \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+# Some packages expect a libcairo-2 library to be here
+# I'm not sure how frequently these folders change, so we will automate it
+APIVER=$(grep ^apiversion Source/meson.build | cut -d\' -f2)
+PUBTOKEN=$(grep assemblyIdentity Source/policy.config.in | cut -d\" -f4)
+ln -s /usr/lib${LIBDIRSUFFIX}/libcairo.so $PKG/usr/lib/mono/gac/cairo-sharp/${APIVER}__${PUBTOKEN}/libcairo-2.dll.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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 \
+ AUTHORS LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gtk-sharp3/gtk-sharp3.info b/libraries/gtk-sharp3/gtk-sharp3.info
new file mode 100644
index 0000000000..83e0d3c220
--- /dev/null
+++ b/libraries/gtk-sharp3/gtk-sharp3.info
@@ -0,0 +1,10 @@
+PRGNAM="gtk-sharp3"
+VERSION="3.22.2"
+HOMEPAGE="https://www.mono-project.com/docs/gui/gtksharp/"
+DOWNLOAD="https://github.com/GLibSharp/GtkSharp/archive/refs/tags/3.22.2/GtkSharp-3.22.2.tar.gz"
+MD5SUM="e328931e820216e3280bc5c9bdb1f426"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="mono"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/gtk-sharp3/slack-desc b/libraries/gtk-sharp3/slack-desc
new file mode 100644
index 0000000000..a3898d530e
--- /dev/null
+++ b/libraries/gtk-sharp3/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gtk-sharp3: gtk-sharp3 (GUI toolkit for mono for GTK3)
+gtk-sharp3:
+gtk-sharp3: Gtk# is a Graphical User Interface Toolkit for mono and .Net. The
+gtk-sharp3: project binds the gtk+ toolkit and assorted GNOME libraries, enabling
+gtk-sharp3: fully native graphical Gnome application development using Mono and
+gtk-sharp3: .Net development frameworks.
+gtk-sharp3:
+gtk-sharp3:
+gtk-sharp3:
+gtk-sharp3: Website: https://www.mono-project.com/docs/gui/gtksharp/
+gtk-sharp3:
diff --git a/libraries/gtk3-nocsd/gtk3-nocsd.SlackBuild b/libraries/gtk3-nocsd/gtk3-nocsd.SlackBuild
index 7080b918a7..950a190268 100644
--- a/libraries/gtk3-nocsd/gtk3-nocsd.SlackBuild
+++ b/libraries/gtk3-nocsd/gtk3-nocsd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtk3-nocsd
@@ -22,10 +22,16 @@
# 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=2:
+# - install shared library +x.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtk3-nocsd
VERSION=${VERSION:-20160617git}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
COMMIT_ID=${COMMIT_ID:-82ff5a0da54aa6da27232b55eb93e5f4b5de22f2}
@@ -37,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}
@@ -67,9 +77,9 @@ cd $PRGNAM-$COMMIT_ID
chown -R root: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 prefix=/usr \
libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -79,6 +89,8 @@ make install DESTDIR=$PKG \
libdir=/usr/lib${LIBDIRSUFFIX} \
mandir=/usr/man
+chmod +x $PKG/usr/lib*/*so.*
+
find $PKG -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 +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/libraries/gtkdatabox/README b/libraries/gtkdatabox/README
index 75b23a4108..50ac99b327 100644
--- a/libraries/gtkdatabox/README
+++ b/libraries/gtkdatabox/README
@@ -1,4 +1,4 @@
-GtkDatabox is a widget for live display of large amounts of fluctuating
-numerical data. Data presentation (e.g. on linear or logarithmic scales,
-as dots or lines, with markers/labels) as well as user interaction
-(e.g. measuring distances) is easy.
+GtkDatabox is a widget for live display of large amounts of
+fluctuating numerical data. Data presentation (e.g. on linear or
+logarithmic scales, as dots or lines, with markers/labels) as well as
+user interaction (e.g. measuring distances) is easy.
diff --git a/libraries/gtkdatabox/doinst.sh b/libraries/gtkdatabox/doinst.sh
new file mode 100644
index 0000000000..4110f5514d
--- /dev/null
+++ b/libraries/gtkdatabox/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/gtkdatabox/gtkdatabox.SlackBuild b/libraries/gtkdatabox/gtkdatabox.SlackBuild
index bbd7190800..1a8a8ed83f 100644
--- a/libraries/gtkdatabox/gtkdatabox.SlackBuild
+++ b/libraries/gtkdatabox/gtkdatabox.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GtkDatabox
-# Copyright 2015-2019 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2015-2021 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=gtkdatabox
-VERSION=${VERSION:-0.9.3.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.0.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,17 +38,21 @@ 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}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README 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
@@ -80,7 +87,6 @@ chmod -R u+w,go-w,a+rX-st .
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--disable-dependency-tracking \
- --enable-libglade \
--enable-glade \
--build=$ARCH-slackware-linux \
CFLAGS="$SLKCFLAGS" \
@@ -97,6 +103,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/libraries/gtkdatabox/gtkdatabox.info b/libraries/gtkdatabox/gtkdatabox.info
index 048687fccc..5d35374ef6 100644
--- a/libraries/gtkdatabox/gtkdatabox.info
+++ b/libraries/gtkdatabox/gtkdatabox.info
@@ -1,8 +1,8 @@
PRGNAM="gtkdatabox"
-VERSION="0.9.3.1"
+VERSION="1.0.0"
HOMEPAGE="https://sourceforge.net/projects/gtkdatabox/"
-DOWNLOAD="https://sourceforge.net/projects/gtkdatabox/files/gtkdatabox/0.9.3.1/gtkdatabox-0.9.3.1.tar.gz"
-MD5SUM="46c64813080a06a9a3111e283c62e4f2"
+DOWNLOAD="https://sourceforge.net/projects/gtkdatabox/files/gtkdatabox-1/gtkdatabox-1.0.0.tar.gz"
+MD5SUM="db3a37a4495e18533cfed42f556a59f6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/gtkglarea/README b/libraries/gtkglarea/README
index b2504507c4..9f4cc767fa 100644
--- a/libraries/gtkglarea/README
+++ b/libraries/gtkglarea/README
@@ -1,10 +1,11 @@
GtkGLArea is an OpenGL widget for GTK+ GUI toolkit.
-Just as GTK+ is built on top of GDK, GtkGLArea is built on top of gdkgl which
-is basically a wrapper around GLX functions. The widget itself is very
-similar to the GtkDrawingArea widget and adds only three extra functions.
-Lower level gdkgl functions make it easy to render on any OpenGL capable
-widget; rendering to off-screen pixmaps is also supported.
+Just as GTK+ is built on top of GDK, GtkGLArea is built on top of
+gdkgl which is basically a wrapper around GLX functions. The widget
+itself is very similar to the GtkDrawingArea widget and adds only
+three extra functions. Lower level gdkgl functions make it easy to
+render on any OpenGL capable widget; rendering to off-screen pixmaps
+is also supported.
This project appears to be abandoned in favor of GtkGLExt, but is still
required by a few programs.
diff --git a/libraries/gtkglarea/gtkglarea.SlackBuild b/libraries/gtkglarea/gtkglarea.SlackBuild
index 47ce2ce379..45a1d9949f 100644
--- a/libraries/gtkglarea/gtkglarea.SlackBuild
+++ b/libraries/gtkglarea/gtkglarea.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkglarea
@@ -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=gtkglarea
VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,17 +38,21 @@ 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}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README 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
@@ -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/libraries/gtkglarea/gtkglarea.info b/libraries/gtkglarea/gtkglarea.info
index 2b83fc0caa..f605e173d6 100644
--- a/libraries/gtkglarea/gtkglarea.info
+++ b/libraries/gtkglarea/gtkglarea.info
@@ -1,7 +1,7 @@
PRGNAM="gtkglarea"
VERSION="2.1.0"
-HOMEPAGE="https://github.com/GNOME/gtkglarea"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gtkglarea/2.1/gtkglarea-2.1.0.tar.xz"
+HOMEPAGE="https://www.mono-project.com/archived/gtkglarea/"
+DOWNLOAD="https://download.gnome.org/sources/gtkglarea/2.1/gtkglarea-2.1.0.tar.xz"
MD5SUM="60d4470107d4faa9fc916c9a0d05bb9f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/gtkglext/0002-GCC-8-fixes.patch b/libraries/gtkglext/0002-GCC-8-fixes.patch
new file mode 100644
index 0000000000..266f5fefc1
--- /dev/null
+++ b/libraries/gtkglext/0002-GCC-8-fixes.patch
@@ -0,0 +1,34 @@
+From 1fe275cd7dfa9f3a6db771b0cb945d96787e72cf Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu@fedoraproject.org>
+Date: Thu, 15 Mar 2018 15:56:20 +0100
+Subject: [PATCH 2/2] GCC-8 fixes.
+
+---
+ gdk/gdkglshapes.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gdk/gdkglshapes.c b/gdk/gdkglshapes.c
+index f72abba..9d1197f 100644
+--- a/gdk/gdkglshapes.c
++++ b/gdk/gdkglshapes.c
+@@ -544,7 +544,7 @@ static GLfloat idata[12][3] =
+ {-Z, -X, 0}
+ };
+
+-static int index[20][3] =
++static int iindex[20][3] =
+ {
+ {0, 4, 1},
+ {0, 9, 4},
+@@ -574,7 +574,7 @@ icosahedron(GLenum shadeType)
+ int i;
+
+ for (i = 19; i >= 0; i--) {
+- drawtriangle(i, idata, index, shadeType);
++ drawtriangle(i, idata, iindex, shadeType);
+ }
+ }
+
+--
+2.14.3
+
diff --git a/libraries/gtkglext/gtkglext.SlackBuild b/libraries/gtkglext/gtkglext.SlackBuild
index 4aa77fbbfe..1765c8c25c 100644
--- a/libraries/gtkglext/gtkglext.SlackBuild
+++ b/libraries/gtkglext/gtkglext.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkglext
-# Copyright 2007-2011 Robby Workman, Northport, Alabama (USA)
+# Copyright 2007-2021 Robby Workman, Northport, Alabama (USA)
# 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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=5:
+# - remove empty NEWS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkglext
VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-5}
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"
@@ -66,12 +76,14 @@ 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 {} \+
# Don't disable deprecated stuff
patch -p1 < $CWD/gtkglext-no-deprecated-flags.patch
+# From fedora - conflicting definition
+patch -p1 < $CWD/0002-GCC-8-fixes.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,24 +91,22 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
- --enable-gtk-doc \
--enable-debug=no \
--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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* ChangeLog NEWS README TODO \
+cp -a AUTHORS COPYING* ChangeLog README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
(cd $PKG/usr/doc/$PRGNAM-$VERSION; ln -s /usr/share/gtk-doc/html/gtkglext html)
+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/libraries/gtkglextmm/gtkglextmm.SlackBuild b/libraries/gtkglextmm/gtkglextmm.SlackBuild
index 6936491cdd..baef5dc5f6 100644
--- a/libraries/gtkglextmm/gtkglextmm.SlackBuild
+++ b/libraries/gtkglextmm/gtkglextmm.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkglextmm
# Written by Dugan Chen (dugan [underscore] c [at] fastmail [dot] fm)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkglextmm
VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +90,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gtkhotkey/0001-Disable-debug-mode.patch b/libraries/gtkhotkey/0001-Disable-debug-mode.patch
deleted file mode 100644
index 934541eda4..0000000000
--- a/libraries/gtkhotkey/0001-Disable-debug-mode.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 6fdad02e8bcf6876c8a5aa3512960311e8ea9fb7 Mon Sep 17 00:00:00 2001
-From: Nobuhiro Iwamatsu <iwamatsu@debian.org>
-Date: Tue, 19 Jan 2010 14:14:38 +0900
-Subject: [PATCH 1/2] Disable debug mode.
-
-Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
----
- src/x11/tomboykeybinder.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/x11/tomboykeybinder.c b/src/x11/tomboykeybinder.c
-index fe569a7..0edd476 100644
---- a/src/x11/tomboykeybinder.c
-+++ b/src/x11/tomboykeybinder.c
-@@ -12,7 +12,7 @@
- #include "tomboykeybinder.h"
-
- /* Uncomment the next line to print a debug trace. */
--#define DEBUG 1
-+/* #define DEBUG 1 */
-
- #ifdef DEBUG
- # define TRACE(x) x
---
-1.6.6
-
diff --git a/libraries/gtkhotkey/README b/libraries/gtkhotkey/README
deleted file mode 100644
index 9c244f6663..0000000000
--- a/libraries/gtkhotkey/README
+++ /dev/null
@@ -1,12 +0,0 @@
-gtkhotkey (hotkey handling for Gtk+ applications)
-
-GtkHotkey Library - Cross Platform Library For Using Desktop Wide Hotkeys.
-
-The idea of the library is to keep it as simple as possible, while
-sticking to an object oriented design, without falling back to C-isms
-(read: '#ifdefs') where it would otherwise be tempting.
-
-It can be argued that the code base is too small to be put in a separate
-library. However the functionality is very well defined and would
-probably appear oddly placed in some bigger helper library for GTk+ apps,
-where it would likely live in a hodge podge of unrelated functionality.
diff --git a/libraries/gtkhotkey/glib-single-include.patch b/libraries/gtkhotkey/glib-single-include.patch
deleted file mode 100644
index 76b0520efb..0000000000
--- a/libraries/gtkhotkey/glib-single-include.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Description: Fix build failure with glib 2.32
- where including invidual glib headers is no longer allowed.
-Author: Michael Biebl <biebl@debian.org>
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665548
-Index: gtkhotkey-0.2.1/src/gtk-hotkey-error.h
-===================================================================
---- gtkhotkey-0.2.1.orig/src/gtk-hotkey-error.h 2009-09-03 22:52:49.000000000 +0200
-+++ gtkhotkey-0.2.1/src/gtk-hotkey-error.h 2012-03-25 19:07:05.822268171 +0200
-@@ -23,7 +23,7 @@
- #ifndef __GTK_HOTKEY_ERROR_H__
- #define __GTK_HOTKEY_ERROR_H__
-
--#include <glib/gquark.h>
-+#include <glib.h>
-
- G_BEGIN_DECLS
-
-Index: gtkhotkey-0.2.1/src/x11/tomboykeybinder.h
-===================================================================
---- gtkhotkey-0.2.1.orig/src/x11/tomboykeybinder.h 2009-09-03 22:52:49.000000000 +0200
-+++ gtkhotkey-0.2.1/src/x11/tomboykeybinder.h 2012-03-25 19:07:05.914268168 +0200
-@@ -2,7 +2,7 @@
- #ifndef __TOMBOY_KEY_BINDER_H__
- #define __TOMBOY_KEY_BINDER_H__
-
--#include <glib/gtypes.h>
-+#include <glib.h>
-
- G_BEGIN_DECLS
-
diff --git a/libraries/gtkhotkey/gtkhotkey.SlackBuild b/libraries/gtkhotkey/gtkhotkey.SlackBuild
deleted file mode 100644
index 69508380c7..0000000000
--- a/libraries/gtkhotkey/gtkhotkey.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for gtkhotkey.
-#
-# 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=gtkhotkey
-VERSION=${VERSION:-0.2.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 [ "$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
-rm -rf $TMP/$PRGNAM-$VERSION
-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 {} \;
-
-patch -p1 < $CWD/0001-Disable-debug-mode.patch
-patch -p1 < $CWD/glib-single-include.patch
-
-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 \
- --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
-
-rm -rf $PKG/usr/doc/$PRGNAM
-DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README"
-
-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/libraries/gtkhotkey/gtkhotkey.info b/libraries/gtkhotkey/gtkhotkey.info
deleted file mode 100644
index 14c273dcad..0000000000
--- a/libraries/gtkhotkey/gtkhotkey.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gtkhotkey"
-VERSION="0.2.1"
-HOMEPAGE="https://launchpad.net/gtkhotkey/"
-DOWNLOAD="https://launchpad.net/gtkhotkey/0.2/0.2.1/+download/gtkhotkey-0.2.1.tar.gz"
-MD5SUM="bfdc73e68e9adbe0d506d31a25862914"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/gtkhotkey/slack-desc b/libraries/gtkhotkey/slack-desc
deleted file mode 100644
index f722e058eb..0000000000
--- a/libraries/gtkhotkey/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------------------------------------------------------|
-gtkhotkey: gtkhotkey (hotkey handling for Gtk+ applications)
-gtkhotkey:
-gtkhotkey: gtkhotkey is a platform independent hotkey handling for Gtk+
-gtkhotkey: applications.
-gtkhotkey:
-gtkhotkey: Home page: https://launchpad.net/gtkhotkey/
-gtkhotkey:
-gtkhotkey:
-gtkhotkey:
-gtkhotkey:
-gtkhotkey:
diff --git a/libraries/gtkhtml/doinst.sh b/libraries/gtkhtml/doinst.sh
deleted file mode 100644
index 682c942551..0000000000
--- a/libraries/gtkhtml/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-#we installed a library so run ldconfig
-/sbin/ldconfig
diff --git a/libraries/gtkhtml/enchant-2.patch b/libraries/gtkhtml/enchant-2.patch
new file mode 100644
index 0000000000..88a9d2c825
--- /dev/null
+++ b/libraries/gtkhtml/enchant-2.patch
@@ -0,0 +1,29 @@
+Description: Switch checks and functions for enchant-2
+ Existing sources check for and expect enchant-1. This patch switched the
+ pkg-config check to check for enchant-2, and updates one function to the
+ enchant-2 version.
+Author: Jonathon Fernyhough <jonathon at_manjaro_dot org>
+
+--- configure.ac 2018-02-24 10:33:32.311420000 +0000
++++ configure.ac 2018-02-24 10:32:33.630608000 +0000
+@@ -140,7 +140,7 @@ AC_SUBST(GAIL_MODULES)
+ dnl **********************************
+ dnl GTKHTML modules
+ dnl **********************************
+-GTKHTML_MODULES="gtk+-3.0 >= gtk_minimum_version enchant >= enchant_minimum_version gsettings-desktop-schemas iso-codes cairo >= cairo_minimum_version"
++GTKHTML_MODULES="gtk+-3.0 >= gtk_minimum_version enchant-2 >= enchant_minimum_version gsettings-desktop-schemas iso-codes cairo >= cairo_minimum_version"
+ PKG_CHECK_MODULES(GTKHTML, $GTKHTML_MODULES)
+ AC_SUBST(GTKHTML_CFLAGS)
+ AC_SUBST(GTKHTML_LIBS)
+
+--- components/editor/gtkhtml-spell-checker.c 2018-02-24 10:36:50.592732000 +0000
++++ components/editor/gtkhtml-spell-checker.c 2018-02-24 10:41:41.450950010 +0000
+@@ -375,7 +375,7 @@ gtkhtml_spell_checker_add_word (GtkhtmlS
+ if ((dict = spell_checker_request_dict (checker)) == NULL)
+ return;
+
+- enchant_dict_add_to_pwl (dict, word, length);
++ enchant_dict_add (dict, word, length);
+ g_signal_emit (G_OBJECT (checker), signals[ADDED], 0, word, length);
+ }
+
diff --git a/libraries/gtkhtml/gtkhtml.SlackBuild b/libraries/gtkhtml/gtkhtml.SlackBuild
index 3c8008e92d..1df1b12620 100644
--- a/libraries/gtkhtml/gtkhtml.SlackBuild
+++ b/libraries/gtkhtml/gtkhtml.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkhtml
@@ -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.
+# 20220519 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install doc in /usr/doc, not /usr/share/doc.
+# - rm doinst.sh: all it did was lfdconfig, and installpkg calls that already.
+# - get rid of useless INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkhtml
VERSION=${VERSION:-4.10.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
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,13 @@ 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 -p0 < $CWD/enchant-2.patch
+
+autoreconf -vif
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,19 +97,17 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+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
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS TODO BUGS NEWS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mkdir -p $PKG/usr/share/doc/$PRGNAM-$VERSION
-cp AUTHORS INSTALL TODO BUGS NEWS COPYING ChangeLog README $PKG/usr/share/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/share/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/libraries/gtkimageview/gtkimageview.SlackBuild b/libraries/gtkimageview/gtkimageview.SlackBuild
index 35f1e89ac5..66d332178e 100644
--- a/libraries/gtkimageview/gtkimageview.SlackBuild
+++ b/libraries/gtkimageview/gtkimageview.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkimageview
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkimageview
VERSION=${VERSION:-1.6.4}
-BUILD=${BUILD:-3}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -75,8 +85,10 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
(cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s /usr/share/gtk-doc/html/$PRGNAM html)
+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/libraries/gtkmm-utils/gtkmm-utils.SlackBuild b/libraries/gtkmm-utils/gtkmm-utils.SlackBuild
index f13b163b24..d0f0b7911a 100644
--- a/libraries/gtkmm-utils/gtkmm-utils.SlackBuild
+++ b/libraries/gtkmm-utils/gtkmm-utils.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtkmm-utils
@@ -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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty ChangeLog, useless INSTALL from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkmm-utils
VERSION=${VERSION:-0.4.1}
-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"
@@ -65,9 +76,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 {} \+
./autogen.sh
@@ -86,12 +97,14 @@ make libdocdir=/usr/doc/$PRGNAM-$VERSION
make install-strip DESTDIR=$PKG libdocdir=/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog COPYING HACKING INSTALL NEWS README TODO* \
+cp -a AUTHORS COPYING COPYING HACKING 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/libraries/gtksourceview/gtksourceview.SlackBuild b/libraries/gtksourceview/gtksourceview.SlackBuild
index 8d883affd6..34036e338c 100644
--- a/libraries/gtksourceview/gtksourceview.SlackBuild
+++ b/libraries/gtksourceview/gtksourceview.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gtksourceview
@@ -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=gtksourceview
VERSION=${VERSION:-2.10.5}
-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"
@@ -98,8 +108,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+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/libraries/gtksourceview3/gtksourceview3.SlackBuild b/libraries/gtksourceview3/gtksourceview3.SlackBuild
deleted file mode 100644
index adf532d033..0000000000
--- a/libraries/gtksourceview3/gtksourceview3.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gtksourceview
-
-# Copyright 2012-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.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:
-#
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# 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.
-
-PRGNAM=gtksourceview3
-SRCNAM=gtksourceview
-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.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 \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-glade-catalog \
- --build=$ARCH-slackware-linux
-
-# At the end of build process, the uninstalled gtksourceview.pc is
-# used. Let's make sure pkg-config can find it.
-PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$TMP/$PRGNAM-$VERSION 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* HACKING MAINTAINERS 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/libraries/gtksourceview3/gtksourceview3.info b/libraries/gtksourceview3/gtksourceview3.info
deleted file mode 100644
index 4f05f8d29b..0000000000
--- a/libraries/gtksourceview3/gtksourceview3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gtksourceview3"
-VERSION="3.18.4"
-HOMEPAGE="http://projects.gnome.org/gtksourceview/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/3.18/gtksourceview-3.18.4.tar.xz"
-MD5SUM="b2fa71fc6b63c9ffb7aaed6c20859f4d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="glade"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/gtksourceview3/slack-desc b/libraries/gtksourceview3/slack-desc
deleted file mode 100644
index 62d82504a6..0000000000
--- a/libraries/gtksourceview3/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------------------------------------------------------|
-gtksourceview3: gtksourceview3 (a GTK+ framework for source code editing)
-gtksourceview3:
-gtksourceview3: GtkSourceView is a portable C library that extends the standard
-gtksourceview3: GTK+ framework for multiline text editing with support for
-gtksourceview3: configurable syntax highlighting, unlimited undo/redo, UTF-8
-gtksourceview3: compliant caseless searching, printing and other features
-gtksourceview3: typical of a source code editor.
-gtksourceview3:
-gtksourceview3: Homepage: http://projects.gnome.org/gtksourceview/
-gtksourceview3:
-gtksourceview3:
diff --git a/libraries/gtksourceview3/README b/libraries/gtksourceview4/README
index 50bc5ddb9c..50bc5ddb9c 100644
--- a/libraries/gtksourceview3/README
+++ b/libraries/gtksourceview4/README
diff --git a/libraries/gtksourceview4/gtksourceview4.SlackBuild b/libraries/gtksourceview4/gtksourceview4.SlackBuild
new file mode 100644
index 0000000000..fc311fa761
--- /dev/null
+++ b/libraries/gtksourceview4/gtksourceview4.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for gtksourceview4
+
+# Copyright 2012-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.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:
+#
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gtksourceview4
+SRCNAM=gtksourceview
+VERSION=${VERSION:-4.8.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 $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 {} \;
+
+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 \
+ -Dglade_catalog=true
+ "${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 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/libraries/gtksourceview4/gtksourceview4.info b/libraries/gtksourceview4/gtksourceview4.info
new file mode 100644
index 0000000000..1f27c600e5
--- /dev/null
+++ b/libraries/gtksourceview4/gtksourceview4.info
@@ -0,0 +1,10 @@
+PRGNAM="gtksourceview4"
+VERSION="4.8.4"
+HOMEPAGE="http://projects.gnome.org/gtksourceview/"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/4.8/gtksourceview-4.8.4.tar.xz"
+MD5SUM="2bf056caaae27654ec3a5930dd5597d3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/gtksourceview4/slack-desc b/libraries/gtksourceview4/slack-desc
new file mode 100644
index 0000000000..5ceea4e49e
--- /dev/null
+++ b/libraries/gtksourceview4/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------------------------------------------------------|
+gtksourceview4: gtksourceview4 (a GTK+ framework for source code editing)
+gtksourceview4:
+gtksourceview4: GtkSourceView is a portable C library that extends the standard
+gtksourceview4: GTK+ framework for multiline text editing with support for
+gtksourceview4: configurable syntax highlighting, unlimited undo/redo, UTF-8
+gtksourceview4: compliant caseless searching, printing and other features
+gtksourceview4: typical of a source code editor.
+gtksourceview4:
+gtksourceview4: Homepage: http://projects.gnome.org/gtksourceview/
+gtksourceview4:
+gtksourceview4:
diff --git a/libraries/gtksourceview5/README b/libraries/gtksourceview5/README
new file mode 100644
index 0000000000..df1d59e64b
--- /dev/null
+++ b/libraries/gtksourceview5/README
@@ -0,0 +1,33 @@
+GtkSourceView is a GNOME library that extends GtkTextView, the
+standard GTK+ widget for multiline text editing. GtkSourceView adds
+support for syntax highlighting, undo/redo, file loading and saving,
+search and replace, a completion system, printing, displaying line
+numbers, and other features typical of a source code editor.
+
+Features:
+ * Accurate syntax highlighting for most popular programming languages
+ (C, C++, Java, C#, Fortran, etc.), scripting languages (sh, Python,
+ Perl, Ruby, PHP, TCL, etc.), markup languages (XML, HTML, DocBook,
+ LaTeX, etc.) and many others
+ * Customizable visual style using style schemes
+ * Unlimited Undo/Redo
+ * File loading and saving
+ * Extensible completion framework
+ * Search and replace, with regex support
+ * Line numbers
+ * Line marks (useful for bookmarks, breakpoints, etc.)
+ * Printing through easy integration with the GtkPrintOperation API
+ * Highlight the current line
+ * Highlight the matching bracket
+ * Right margin
+ * Represent whitespace characters with symbols
+ * A minimap, which shows an overview of the text
+ * Extended keyboard navigation (smart Home/End, smart backspace,
+ auto indentation, line moving, etc.)
+ * Can be used from many programming languages. Thanks to GObject
+ Introspection, automatic bindings are available for JavaScript,
+ Python, Vala and others. For C++, there is gtksourceviewmm
+
+If you would like to build the HTML documentation, pass DOCS=true
+to the build script. This introduces dependencies on gi-docgen and
+python-toml.
diff --git a/libraries/gtksourceview5/doinst.sh b/libraries/gtksourceview5/doinst.sh
new file mode 100644
index 0000000000..4110f5514d
--- /dev/null
+++ b/libraries/gtksourceview5/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/gtksourceview5/gtksourceview5.SlackBuild b/libraries/gtksourceview5/gtksourceview5.SlackBuild
new file mode 100644
index 0000000000..ca694aa958
--- /dev/null
+++ b/libraries/gtksourceview5/gtksourceview5.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for gtksourceview5
+
+# Copyright 2022 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=gtksourceview5
+SRCNAM=gtksourceview
+VERSION=${VERSION:-5.4.2}
+DOCS=${DOCS:-false}
+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.xz
+cd $SRCNAM-$VERSION
+sed -i "s/gtk_req_version = '4.5'/gtk_req_version = '4.4'/g" meson.build
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -Dgtk_doc=$DOCS \
+ -Dstrip=true
+ "${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 NEWS README.md docs/*.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+if [ "$DOCS" = "true" ]; then
+ mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html
+ rmdir $PKG/usr/share/doc
+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
diff --git a/libraries/gtksourceview5/gtksourceview5.info b/libraries/gtksourceview5/gtksourceview5.info
new file mode 100644
index 0000000000..58cd3fd2a9
--- /dev/null
+++ b/libraries/gtksourceview5/gtksourceview5.info
@@ -0,0 +1,10 @@
+PRGNAM="gtksourceview5"
+VERSION="5.4.2"
+HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView"
+DOWNLOAD="https://download.gnome.org/sources/gtksourceview/5.4/gtksourceview-5.4.2.tar.xz"
+MD5SUM="f0cba1f8f0552cb98f0b247bea3b1651"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/gtksourceview5/slack-desc b/libraries/gtksourceview5/slack-desc
new file mode 100644
index 0000000000..69e0f1ed98
--- /dev/null
+++ b/libraries/gtksourceview5/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------------------------------------------------------|
+gtksourceview5: gtksourceview5 (GTK+ framework for source code editing)
+gtksourceview5:
+gtksourceview5: GtkSourceView is a GNOME library that extends GtkTextView, the
+gtksourceview5: standard GTK+ widget for multiline text editing. GtkSourceView adds
+gtksourceview5: support for syntax highlighting, undo/redo, file loading and saving,
+gtksourceview5: search and replace, a completion system, printing, displaying line
+gtksourceview5: numbers, and other features typical of a source code editor.
+gtksourceview5:
+gtksourceview5: Homepage: https://wiki.gnome.org/Projects/GtkSourceView
+gtksourceview5:
+gtksourceview5:
diff --git a/libraries/gtkspell3/README b/libraries/gtkspell3/README
deleted file mode 100644
index 5cf59d3e24..0000000000
--- a/libraries/gtkspell3/README
+++ /dev/null
@@ -1,9 +0,0 @@
-GtkSpell provides word-processor-style highlighting and replacement
-of misspelled words in a GtkTextView widget.
-
-Right-clicking a misspelled word pops up a menu of suggested
-replacements.
-
-This package can co-exist with Slackware's gtkspell package
-
-Optional dependency: vala
diff --git a/libraries/gtkspell3/gtkspell3.SlackBuild b/libraries/gtkspell3/gtkspell3.SlackBuild
deleted file mode 100644
index da7ec16e8f..0000000000
--- a/libraries/gtkspell3/gtkspell3.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gtkspell3
-
-# Copyright 2014-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=gtkspell3
-VERSION=${VERSION:-3.0.10}
-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-static=no \
- --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 INSTALL README 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/libraries/gtkspell3/gtkspell3.info b/libraries/gtkspell3/gtkspell3.info
deleted file mode 100644
index 32d3325ad0..0000000000
--- a/libraries/gtkspell3/gtkspell3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gtkspell3"
-VERSION="3.0.10"
-HOMEPAGE="http://gtkspell.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/gtkspell/files/3.0.10/gtkspell3-3.0.10.tar.xz"
-MD5SUM="34ece0c8cd0f68e6e125624ec0953cba"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="enchant2"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/gtkspell3/slack-desc b/libraries/gtkspell3/slack-desc
deleted file mode 100644
index e6fd83f10c..0000000000
--- a/libraries/gtkspell3/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------------------------------------------------------|
-gtkspell3: gtkspell3 (GTK3 spell checker interface library)
-gtkspell3:
-gtkspell3: GtkSpell provides word-processor-style highlighting and replacement
-gtkspell3: of misspelled words in a GtkTextView widget.
-gtkspell3: Right-clicking a misspelled word pops up a menu of suggested
-gtkspell3: replacements.
-gtkspell3:
-gtkspell3:
-gtkspell3:
-gtkspell3: Homepage: http://gtkspell.sourceforge.net/
-gtkspell3:
diff --git a/libraries/gts/gts.SlackBuild b/libraries/gts/gts.SlackBuild
index a54da2535c..c7e669139f 100644
--- a/libraries/gts/gts.SlackBuild
+++ b/libraries/gts/gts.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GNU Triangulation Library
# Adapted by Dan LaRocque <dalaro@hopcount.org>
# from the slackbuilds.org default template
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gts
VERSION=${VERSION:-0.7.6}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
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}
@@ -72,8 +82,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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/libraries/guichan/guichan.SlackBuild b/libraries/guichan/guichan.SlackBuild
index 5f08f74a44..6f760f299e 100644
--- a/libraries/guichan/guichan.SlackBuild
+++ b/libraries/guichan/guichan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for guichan
#
@@ -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=guichan
VERSION=${VERSION:-0.8.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"
@@ -85,8 +95,10 @@ cp -ar AUTHORS 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gumbo-parser/README b/libraries/gumbo-parser/README
new file mode 100644
index 0000000000..db1f271bd5
--- /dev/null
+++ b/libraries/gumbo-parser/README
@@ -0,0 +1,5 @@
+Gumbo is an implementation of the HTML5 parsing algorithm implemented
+as a pure C99 library with no outside dependencies. It's designed
+to serve as a building block for other tools and libraries such
+as linters, validators, templating languages, and refactoring and
+analysis tools.
diff --git a/libraries/gumbo-parser/gumbo-parser.SlackBuild b/libraries/gumbo-parser/gumbo-parser.SlackBuild
new file mode 100644
index 0000000000..4123637a97
--- /dev/null
+++ b/libraries/gumbo-parser/gumbo-parser.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for gumbo-parser
+
+# Copyright 2020 Hunter Sezen California, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gumbo-parser
+VERSION=${VERSION:-0.10.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=""
+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.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 -fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --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 CHANGES.md CONTRIBUTING.md COPYING DEBUGGING.md README.md THANKS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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
diff --git a/libraries/gumbo-parser/gumbo-parser.info b/libraries/gumbo-parser/gumbo-parser.info
new file mode 100644
index 0000000000..2937052ec6
--- /dev/null
+++ b/libraries/gumbo-parser/gumbo-parser.info
@@ -0,0 +1,10 @@
+PRGNAM="gumbo-parser"
+VERSION="0.10.1"
+HOMEPAGE="https://github.com/google/gumbo-parser"
+DOWNLOAD="https://github.com/google/gumbo-parser/archive/v0.10.1/gumbo-parser-0.10.1.tar.gz"
+MD5SUM="c6f75c9eda65e897c242f8958a34aed0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/libraries/gumbo-parser/slack-desc b/libraries/gumbo-parser/slack-desc
new file mode 100644
index 0000000000..88c2f4059a
--- /dev/null
+++ b/libraries/gumbo-parser/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------------------------------------------------------|
+gumbo-parser: gumbo-parser (An HTML5 parsing library in pure C99)
+gumbo-parser:
+gumbo-parser: Gumbo is an implementation of the HTML5 parsing algorithm implemented
+gumbo-parser: as a pure C99 library with no outside dependencies. It's designed to
+gumbo-parser: serve as a building block for other tools and libraries such as
+gumbo-parser: linters, validators, templating languages, and refactoring and
+gumbo-parser: analysis tools.
+gumbo-parser:
+gumbo-parser: Homepage: https://github.com/google/gumbo-parser
+gumbo-parser:
+gumbo-parser:
diff --git a/libraries/gupnp-av/README b/libraries/gupnp-av/README
new file mode 100644
index 0000000000..63ecbc05c0
--- /dev/null
+++ b/libraries/gupnp-av/README
@@ -0,0 +1,9 @@
+GUPnP is an object-oriented open source framework for creating UPnP
+devices and control points, written in C using GObject and libsoup.
+The GUPnP API is intended to be easy to use, efficient and flexible.
+
+GUPnP A/V is a small utility library that aims to ease the handling and
+implementation of UPnP A/V profiles.
+
+GUPnP A/V is free software released under the GNU LGPL.
+
diff --git a/libraries/gupnp-av/gupnp-av.SlackBuild b/libraries/gupnp-av/gupnp-av.SlackBuild
new file mode 100644
index 0000000000..ca1c9a812f
--- /dev/null
+++ b/libraries/gupnp-av/gupnp-av.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for gupnp-av
+
+# Copyright 2023, 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=gupnp-av
+VERSION=${VERSION:-0.14.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 {} \;
+
+patch -Np1 -i "$CWD/use_xmlReadMemory_instead_of_xmlRecoverMemory.patch"
+
+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 ..
+
+find $PKG -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 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/libraries/gupnp-av/gupnp-av.info b/libraries/gupnp-av/gupnp-av.info
new file mode 100644
index 0000000000..87cf80c1a8
--- /dev/null
+++ b/libraries/gupnp-av/gupnp-av.info
@@ -0,0 +1,10 @@
+PRGNAM="gupnp-av"
+VERSION="0.14.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gupnp-av"
+DOWNLOAD="https://download.gnome.org/sources/gupnp-av/0.14/gupnp-av-0.14.1.tar.xz"
+MD5SUM="9987757b9e776c5fb11d2bfade1a8bad"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/gupnp-av/slack-desc b/libraries/gupnp-av/slack-desc
new file mode 100644
index 0000000000..5a840b1d4a
--- /dev/null
+++ b/libraries/gupnp-av/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------------------------------------------------------|
+gupnp-av: gupnp-av (GUPnP A/V)
+gupnp-av:
+gupnp-av: GUPnP A/V is a small utility library that aims to ease the handling
+gupnp-av: and implementation of UPnP A/V profiles.
+gupnp-av:
+gupnp-av:
+gupnp-av:
+gupnp-av:
+gupnp-av:
+gupnp-av: https://gitlab.gnome.org/GNOME/gupnp-av
+gupnp-av:
diff --git a/libraries/gupnp-av/use_xmlReadMemory_instead_of_xmlRecoverMemory.patch b/libraries/gupnp-av/use_xmlReadMemory_instead_of_xmlRecoverMemory.patch
new file mode 100644
index 0000000000..2dab98a9f8
--- /dev/null
+++ b/libraries/gupnp-av/use_xmlReadMemory_instead_of_xmlRecoverMemory.patch
@@ -0,0 +1,34 @@
+From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001
+From: David Anes <david.anes@suse.com>
+Date: Thu, 4 May 2023 11:54:02 +0200
+Subject: use xmlReadMemory instead of xmlRecoverMemory, as it's been
+ deprecated in libxml2 2.11.0
+
+Since version 2.11.0, some private symbols have been removed.
+---
+Index: gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c
+===================================================================
+--- gupnp-av-0.14.1.orig/libgupnp-av/gupnp-didl-lite-parser.c
++++ gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c
+@@ -230,7 +230,7 @@ gupnp_didl_lite_parser_parse_didl_recurs
+ GUPnPAVXMLDoc *xml_doc = NULL;
+ gboolean result;
+
+- doc = xmlRecoverMemory (didl, strlen (didl));
++ doc = xmlReadMemory (didl, strlen (didl), NULL, NULL, XML_PARSE_RECOVER);
+ if (doc == NULL) {
+ g_set_error (error,
+ G_MARKUP_ERROR,
+Index: gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c
+===================================================================
+--- gupnp-av-0.14.1.orig/libgupnp-av/gupnp-feature-list-parser.c
++++ gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c
+@@ -114,7 +114,7 @@ gupnp_feature_list_parser_parse_text
+ xmlNode *element;
+ GList *feature_list = NULL;
+
+- doc = xmlRecoverMemory (text, strlen (text));
++ doc = xmlReadMemory (text, strlen (text), NULL, NULL, XML_PARSE_RECOVER);
+ if (doc == NULL) {
+ g_set_error (error,
+ G_MARKUP_ERROR,
diff --git a/libraries/gupnp-dlna/README b/libraries/gupnp-dlna/README
new file mode 100644
index 0000000000..151f738798
--- /dev/null
+++ b/libraries/gupnp-dlna/README
@@ -0,0 +1,10 @@
+GUPnP is an object-oriented open source framework for creating UPnP
+devices and control points, written in C using GObject and libsoup. The
+GUPnP API is intended to be easy to use, efficient and flexible.
+
+GUPnP DLNA is a small utility library that aims to ease the DLNA-related
+tasks such as media profile guessing, transcoding to a given profile,
+etc.
+
+GUPnP DLNA is free software released under the GNU LGPL.
+
diff --git a/libraries/gupnp-dlna/gupnp-dlna.SlackBuild b/libraries/gupnp-dlna/gupnp-dlna.SlackBuild
new file mode 100644
index 0000000000..40940fc98d
--- /dev/null
+++ b/libraries/gupnp-dlna/gupnp-dlna.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for gupnp-dlna
+
+# Copyright 2023, 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=gupnp-dlna
+VERSION=${VERSION:-0.12.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.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
+ "${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 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/gupnp-dlna/gupnp-dlna.info b/libraries/gupnp-dlna/gupnp-dlna.info
new file mode 100644
index 0000000000..2e5a3699f7
--- /dev/null
+++ b/libraries/gupnp-dlna/gupnp-dlna.info
@@ -0,0 +1,10 @@
+PRGNAM="gupnp-dlna"
+VERSION="0.12.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/gupnp-dlna"
+DOWNLOAD="https://download.gnome.org/sources/gupnp-dlna/0.12/gupnp-dlna-0.12.0.tar.xz"
+MD5SUM="763703ddfa2660ed881296cab5e07047"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/gupnp-dlna/slack-desc b/libraries/gupnp-dlna/slack-desc
new file mode 100644
index 0000000000..57cd186990
--- /dev/null
+++ b/libraries/gupnp-dlna/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 ledlnae one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gupnp-dlna: gupnp-dlna (GUPnP DLNA)
+gupnp-dlna:
+gupnp-dlna: GUPnP DLNA is a small utility library that aims to ease the DLNA
+gupnp-dlna: related tasks such as media profile guessing, transcoding to a given
+gupnp-dlna: profile, etc.
+gupnp-dlna:
+gupnp-dlna:
+gupnp-dlna:
+gupnp-dlna:
+gupnp-dlna: https://gitlab.gnome.org/GNOME/gupnp-dlna
+gupnp-dlna:
diff --git a/libraries/gupnp/README b/libraries/gupnp/README
index 2501ac7b54..c826776106 100644
--- a/libraries/gupnp/README
+++ b/libraries/gupnp/README
@@ -4,5 +4,3 @@ creating UPnP devices and control points.
The GUPnP API is intended to be easy to use, efficient and flexible.
It provides the same set of features as libupnp, but shields the
developer from most of UPnP's internals.
-
-Note: Vala is an optional dependency
diff --git a/libraries/gupnp/gupnp.SlackBuild b/libraries/gupnp/gupnp.SlackBuild
index 61be96075b..d907dfaa95 100644
--- a/libraries/gupnp/gupnp.SlackBuild
+++ b/libraries/gupnp/gupnp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gupnp
-# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2022 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=gupnp
-VERSION=${VERSION:-1.0.3}
+VERSION=${VERSION:-1.6.6}
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}
@@ -69,27 +76,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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-introspection=yes \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+
+meson --prefix=/usr \
+ --buildtype=release \
+ --localstatedir=/var \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ ../
+DESTDIR=$PKG "${NINJA:=ninja}" install
+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 AUTHORS COPYING INSTALL NEWS README doc/html/* $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
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
@@ -98,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/libraries/gupnp/gupnp.info b/libraries/gupnp/gupnp.info
index a1c01de17c..f74c14adc2 100644
--- a/libraries/gupnp/gupnp.info
+++ b/libraries/gupnp/gupnp.info
@@ -1,8 +1,8 @@
PRGNAM="gupnp"
-VERSION="1.0.3"
+VERSION="1.6.6"
HOMEPAGE="https://wiki.gnome.org/GUPnP/"
-DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/gupnp/1.0/gupnp-1.0.3.tar.xz"
-MD5SUM="0d1a440a2b72bb1f468727e52f8735b9"
+DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/gupnp/1.6/gupnp-1.6.6.tar.xz"
+MD5SUM="85b5b797963f0616d06f66829c428ff3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gssdp"
diff --git a/libraries/guppy/guppy.SlackBuild b/libraries/guppy/guppy.SlackBuild
index 8098411032..e19e686994 100644
--- a/libraries/guppy/guppy.SlackBuild
+++ b/libraries/guppy/guppy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for guppy
@@ -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=guppy
VERSION=${VERSION:-0.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}
@@ -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/libraries/gwenhywfar/gwenhywfar.SlackBuild b/libraries/gwenhywfar/gwenhywfar.SlackBuild
index 3d67845373..4028c50406 100644
--- a/libraries/gwenhywfar/gwenhywfar.SlackBuild
+++ b/libraries/gwenhywfar/gwenhywfar.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gwenhywfar
-# Copyright 2013-2020 Heiko Rosemann Germany
+# Copyright 2013-2024 Heiko Rosemann Germany
# 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=gwenhywfar
-VERSION=${VERSION:-5.1.3}
+VERSION=${VERSION:-5.10.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}
@@ -74,8 +84,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --with-qt4-includes=/usr/lib${LIBDIRSUFFIX}/qt/include/ \
- --with-qt4-libs=/usr/lib${LIBDIRSUFFIX}/qt/lib \
+ --with-guis="qt5 gtk2 gtk3" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -90,11 +99,17 @@ 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 NEWS README TODO $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
+# Don't ship .la files:
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/plugins/79/configmgr/dir.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/plugins/79/ct/ohbci.la
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/plugins/79/dbio/*.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/libraries/gwenhywfar/gwenhywfar.info b/libraries/gwenhywfar/gwenhywfar.info
index f86a5ac2d4..fb0ad714a0 100644
--- a/libraries/gwenhywfar/gwenhywfar.info
+++ b/libraries/gwenhywfar/gwenhywfar.info
@@ -1,8 +1,8 @@
PRGNAM="gwenhywfar"
-VERSION="5.1.3"
+VERSION="5.10.2"
HOMEPAGE="https://www.aquamaniac.de/"
-DOWNLOAD="https://aquamaniac.de/rdm/attachments/download/242/gwenhywfar-5.1.3.tar.gz"
-MD5SUM="9cf13e0e0075912117e5912d8f712c9c"
+DOWNLOAD="https://www.aquamaniac.de/rdm/attachments/download/501/gwenhywfar-5.10.2.tar.gz"
+MD5SUM="a5d78549dcec73844d891c6a0a703e19"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/hdf/README b/libraries/hdf/README
index 10e86360f3..d2c0af2c48 100644
--- a/libraries/hdf/README
+++ b/libraries/hdf/README
@@ -1,5 +1,5 @@
-Hierarchical Data Format is a physical file format for storing scientific data.
-At its highest level, HDF is a collection of utilities and applications for
-manipulating, viewing, and analyzing data in HDF files. Between these levels,
-HDF is a software library that provides high-level APIs and a low-level data
-interface.
+Hierarchical Data Format is a physical file format for storing
+scientific data. At its highest level, HDF is a collection of
+utilities and applications for manipulating, viewing, and analyzing
+data in HDF files. Between these levels, HDF is a software library
+that provides high-level APIs and a low-level data interface.
diff --git a/libraries/hdf/hdf.SlackBuild b/libraries/hdf/hdf.SlackBuild
index 4a087e3bc6..cdc18724c6 100644
--- a/libraries/hdf/hdf.SlackBuild
+++ b/libraries/hdf/hdf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hdf
-# Copyright 2014-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2014-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# 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=hdf
-VERSION=${VERSION:-4.2.14}
+VERSION=${VERSION:-4.2.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}
@@ -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 -I/usr/include/tirpc -Wl,-ltirpc" \
CPPFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -99,8 +109,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README.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/libraries/hdf/hdf.info b/libraries/hdf/hdf.info
index d3bdddfd68..fef5d9dfeb 100644
--- a/libraries/hdf/hdf.info
+++ b/libraries/hdf/hdf.info
@@ -1,8 +1,8 @@
PRGNAM="hdf"
-VERSION="4.2.14"
+VERSION="4.2.15"
HOMEPAGE="https://www.hdfgroup.org/products/hdf4/"
-DOWNLOAD="https://support.hdfgroup.org/ftp/HDF/releases/HDF4.2.14/src/hdf-4.2.14.tar.bz2"
-MD5SUM="3f3bd5da84015e9221d26fb5a80094b4"
+DOWNLOAD="https://support.hdfgroup.org/ftp/HDF/releases/HDF4.2.15/src/hdf-4.2.15.tar.bz2"
+MD5SUM="27ab87b22c31906883a0bfaebced97cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/hdf5/hdf5.SlackBuild b/libraries/hdf5/hdf5.SlackBuild
index 8e2eac6a13..dd140a4225 100644
--- a/libraries/hdf5/hdf5.SlackBuild
+++ b/libraries/hdf5/hdf5.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hdf5
# Copyright 2007-2015 LukenShiro, Italy
-# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# 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=hdf5
-VERSION=${VERSION:-1.8.21}
+VERSION=${VERSION:-1.14.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}
@@ -55,7 +65,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCFILES="ACKNOWLEDGMENTS COPYING README.txt release_docs/RELEASE.txt \
+DOCFILES="ACKNOWLEDGMENTS COPYING* README.md release_docs/RELEASE.txt \
release_docs/HISTORY* release_docs/INSTALL"
set -e
@@ -63,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.?z*
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$VERSION-2
+tar xvf $CWD/$PRGNAM-$VERSION-2.tar.?z*
+cd $PRGNAM-$VERSION-2
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -73,6 +83,27 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Run cmake just to create the pkgconfig files
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DHDF5_INSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DBUILD_STATIC_LIBS=OFF \
+ -DHDF5_BUILD_HL_LIB=ON \
+ -DHDF5_BUILD_CPP_LIB=ON \
+ -DHDF5_BUILD_FORTRAN=ON \
+ -DHDF5_ENABLE_Z_LIB_SUPPORT=ON \
+ -DHDF5_ENABLE_SZIP_SUPPORT=ON \
+ -DHDF5_ENABLE_SZIP_ENCODING=ON \
+ -DUSE_LIBAEC=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+cd ..
+
+sed -e '/-Werror/d' -i configure
# --with-ssl option removed
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
@@ -81,29 +112,35 @@ CPPFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-pthread \
+ --enable-hl \
--enable-cxx \
--enable-fortran \
+ --with-pic \
--with-zlib \
- --without-szlib \
+ --with-szlib \
--enable-static=no \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+install -D -m 0644 build/CMakeFiles/hdf5{,_hl}{,_cpp,_fortran}.pc \
+ -t $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/
+sed -i '/Requires/ s/-/ = /g' $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/*.pc
+sed -e "s|-I/build/hdf5/src/hdf5-$VERSION/src/H5FDsubfiling||g" \
+ -i $PKG/usr/lib$LIBDIRSUFFIX/libhdf5.settings -i $PKG/usr/bin/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Remove unnecessary stuff
-rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.settings
-
find $PKG -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/libraries/hdf5/hdf5.info b/libraries/hdf5/hdf5.info
index 11ea1eff79..062ca3a79f 100644
--- a/libraries/hdf5/hdf5.info
+++ b/libraries/hdf5/hdf5.info
@@ -1,10 +1,10 @@
PRGNAM="hdf5"
-VERSION="1.8.21"
+VERSION="1.14.1"
HOMEPAGE="https://www.hdfgroup.org/"
-DOWNLOAD="https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.21/src/hdf5-1.8.21.tar.bz2"
-MD5SUM="2d2408f2a9dfb5c7b79998002e9a90e9"
+DOWNLOAD="https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.1/src/hdf5-1.14.1-2.tar.bz2"
+MD5SUM="e24b8c5c50a02e8ab5b80060d49cd6ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libaec"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/hidapi/configure.ac.patch b/libraries/hidapi/configure.ac.patch
new file mode 100644
index 0000000000..7aae59deff
--- /dev/null
+++ b/libraries/hidapi/configure.ac.patch
@@ -0,0 +1,13 @@
+diff -Naur hidapi-hidapi-0.8.0-rc1.orig/configure.ac hidapi-hidapi-0.8.0-rc1/configure.ac
+--- hidapi-hidapi-0.8.0-rc1.orig/configure.ac 2013-10-07 00:43:37.000000000 +0200
++++ hidapi-hidapi-0.8.0-rc1/configure.ac 2020-12-13 19:26:32.602903000 +0100
+@@ -18,8 +18,7 @@
+ lt_age="0"
+ LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
+
+-AC_CONFIG_MACRO_DIR([m4])
+-AM_INIT_AUTOMAKE([foreign -Wall -Werror])
++AM_INIT_AUTOMAKE([foreign -Wall])
+ AC_CONFIG_MACRO_DIR([m4])
+
+ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
diff --git a/libraries/hidapi/hidapi.SlackBuild b/libraries/hidapi/hidapi.SlackBuild
index 7d26d8d259..9bf00bc052 100644
--- a/libraries/hidapi/hidapi.SlackBuild
+++ b/libraries/hidapi/hidapi.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hidapi
-# Copyright 2015-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2023 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=hidapi
SRCNAM=hidapi-hidapi
-VERSION=${VERSION:-0.8.0_rc1}
+VERSION=${VERSION:-0.14.0}
SRCVER=$(echo $VERSION | tr _ -)
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,21 +78,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 {} \;
-./bootstrap
-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 \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+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 ..
+
+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
@@ -98,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/libraries/hidapi/hidapi.info b/libraries/hidapi/hidapi.info
index d6e7a8a5cb..e7dfab47df 100644
--- a/libraries/hidapi/hidapi.info
+++ b/libraries/hidapi/hidapi.info
@@ -1,8 +1,8 @@
PRGNAM="hidapi"
-VERSION="0.8.0_rc1"
-HOMEPAGE="https://github.com/signal11/hidapi/"
-DOWNLOAD="https://github.com/signal11/hidapi/archive/hidapi-0.8.0-rc1.tar.gz"
-MD5SUM="069f9dd746edc37b6b6d0e3656f47199"
+VERSION="0.14.0"
+HOMEPAGE="https://github.com/libusb/hidapi/"
+DOWNLOAD="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.14.0/hidapi-0.14.0.tar.gz"
+MD5SUM="d65a951df6f566f90bbeb4414caf2c1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/hidapi/slack-desc b/libraries/hidapi/slack-desc
index 2c5a3209aa..449bfd8075 100644
--- a/libraries/hidapi/slack-desc
+++ b/libraries/hidapi/slack-desc
@@ -13,7 +13,7 @@ hidapi: devices on Linux, Mac, and Windows.
hidapi:
hidapi:
hidapi:
-hidapi: Project URL: https://github.com/signal11/hidapi/
+hidapi: Project URL: https://github.com/libusb/hidapi/
hidapi:
hidapi:
hidapi:
diff --git a/libraries/highway/README b/libraries/highway/README
new file mode 100644
index 0000000000..45e5165d73
--- /dev/null
+++ b/libraries/highway/README
@@ -0,0 +1,4 @@
+Highway is a C++ Library that provides performance portable
+length-agnostic SIMD/Vector intrinsics. It is for engineers
+who want to reliably and economically push the boundaries
+of what is possible in software.
diff --git a/libraries/highway/changelog b/libraries/highway/changelog
new file mode 100644
index 0000000000..7b5e3a7be1
--- /dev/null
+++ b/libraries/highway/changelog
@@ -0,0 +1,18 @@
+Changelog for Highway SlackBuild Script
+--------------------------------------------------------------------
+
+25/09/2022:
+
+Added to SlackBuilds.org
+
+15/05/2023:
+
+Updated to version 1.0.4
+
+16/02/2024
+
+Updated to version 1.0.7
+
+19/02/2024
+
+Updated to version 1.1.0
diff --git a/libraries/highway/highway.SlackBuild b/libraries/highway/highway.SlackBuild
new file mode 100644
index 0000000000..72566af773
--- /dev/null
+++ b/libraries/highway/highway.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for highway
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=highway
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+
+cmake -B build -S $TMP/$PRGNAM-$VERSION \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_TESTING:BOOL=OFF \
+ -DHWY_SYSTEM_GTEST:BOOL=ON \
+ -DHWY_ENABLE_CONTRIB:BOOL=ON \
+ -DHWY_ENABLE_EXAMPLES:BOOL=ON \
+ -DHWY_ENABLE_INSTALL:BOOL=ON
+
+cmake --build build
+DESTDIR=$PKG cmake --install build
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a g3doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE LICENSE-BSD3 README.md CONTRIBUTING $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/highway/highway.info b/libraries/highway/highway.info
new file mode 100644
index 0000000000..3ab7ea09b4
--- /dev/null
+++ b/libraries/highway/highway.info
@@ -0,0 +1,10 @@
+PRGNAM="highway"
+VERSION="1.1.0"
+HOMEPAGE="https://github.com/google/highway"
+DOWNLOAD="https://github.com/google/highway/archive/1.1.0/highway-1.1.0.tar.gz"
+MD5SUM="6a5d433b66626afbd3fcc5884d2f270a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gtest"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/highway/slack-desc b/libraries/highway/slack-desc
new file mode 100644
index 0000000000..30a3231c17
--- /dev/null
+++ b/libraries/highway/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------------------------------------------------------|
+highway: highway (Efficient and Performance-Portable Vector Software)
+highway:
+highway: Highway is a C++ Library that provides performance portable
+highway: length-agnostic SIMD/Vector intrinsics. It is for engineers
+highway: who want to reliably and economically push the boundaries
+highway: of what is possible in software.
+highway:
+highway: Homepage:https://https://github.com/google/highway
+highway:
+highway:
+highway:
diff --git a/libraries/hinnant-date/CMakeLists.txt b/libraries/hinnant-date/CMakeLists.txt
deleted file mode 100644
index de22fa388b..0000000000
--- a/libraries/hinnant-date/CMakeLists.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-cmake_minimum_required(VERSION 3.2)
-
-project(date)
-set(LIBRARY_SHARED_OR_STATIC STATIC)
-
-set(header_files
- date.h
- tz.h tz_private.h
- chrono_io.h
- iso_week.h
- julian.h
- islamic.h)
-
-set(source_files
- tz.cpp)
-
-add_library(${PROJECT_NAME} ${LIBRARY_SHARED_OR_STATIC} ${header_files} ${souce_files})
-set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
-
-install(TARGETS ${PROJECT_NAME} DESTINATION lib${LIB_SUFFIX})
-install(FILES ${header_files} DESTINATION include)
-
-configure_file("libdate.pc.in" "libdate.pc" @ONLY)
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libdate.pc"
- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig")
diff --git a/libraries/hinnant-date/README b/libraries/hinnant-date/README
deleted file mode 100644
index fa21b3b670..0000000000
--- a/libraries/hinnant-date/README
+++ /dev/null
@@ -1,32 +0,0 @@
-This is actually several separate C++11/C++14 libraries:
-
- - date.h is a header-only library which builds upon <chrono>.
- It adds some new duration types, and new time_point types. It
- also adds field types such as year_month_day which is a
- struct {year, month, day}. And it provides convenient means
- to convert between the field types and the time_point types.
-
- - tz.h / tz.cpp are a timezone library built on top of the
- date.h library. This timezone library is a complete parser
- of the IANA timezone database. It provides for an easy way to
- access all of the data in this database, using the types from
- date.h and <chrono>. The IANA database also includes data
- on leap seconds, and this library provides utilities to compute
- with that information as well.
-
- - chrono_io.h is a header-only library for streaming out chrono
- durations.
-
- - iso_week.h is a header-only library built on top of the
- date.h library which implements the ISO week date calendar.
-
- - julian.h is a header-only library built on top of the date.h
- library which implements a proleptic Julian calendar which is
- fully interoperable with everything above.
-
- - islamic.h is a header-only library built on top of the
- date.h library which implements a proleptic Islamic calendar
- which is fully interoperable with everything above.
-
-date.h and tz.h are now being proposed for standardization:
-http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0355r1.html
diff --git a/libraries/hinnant-date/hinnant-date.SlackBuild b/libraries/hinnant-date/hinnant-date.SlackBuild
deleted file mode 100644
index b1d6eb6cf9..0000000000
--- a/libraries/hinnant-date/hinnant-date.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Hinnant Date Library
-
-# 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=hinnant-date
-SRCNAM=date
-VERSION=${VERSION:-2.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 $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-cat $CWD/CMakeLists.txt > CMakeLists.txt
-cat $CWD/libdate.pc.in > libdate.pc.in
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 ..
-
-find $PKG -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 README.md test/ $PKG/usr/doc/$PRGNAM-$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/libraries/hinnant-date/hinnant-date.info b/libraries/hinnant-date/hinnant-date.info
deleted file mode 100644
index 01e7f44e4f..0000000000
--- a/libraries/hinnant-date/hinnant-date.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="hinnant-date"
-VERSION="2.2"
-HOMEPAGE="https://github.com/HowardHinnant/date"
-DOWNLOAD="https://github.com/HowardHinnant/date/archive/v2.2/date-2.2.tar.gz"
-MD5SUM="528fbd9fe2c5d469de256637ca0d3022"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/hinnant-date/libdate.pc.in b/libraries/hinnant-date/libdate.pc.in
deleted file mode 100644
index fbf26d8efb..0000000000
--- a/libraries/hinnant-date/libdate.pc.in
+++ /dev/null
@@ -1,10 +0,0 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib@LIB_SUFFIX@
-includedir=${prefix}/include
-
-Name: @CMAKE_PROJECT_NAME@
-Description: A date and time library based on the C++11
-Version: @VERSION@
-Libs: -L${libdir} -ldate
-Cflags: -I${includedir}
diff --git a/libraries/hinnant-date/slack-desc b/libraries/hinnant-date/slack-desc
deleted file mode 100644
index 03120f9846..0000000000
--- a/libraries/hinnant-date/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------------------------------------------------------|
-hinnant-date: hinnant-date (A date and time library based on the C++11)
-hinnant-date:
-hinnant-date: This is actually several separate C++11/C++14 libraries:
-hinnant-date: date.h" is a header-only library which builds upon <chrono>.
-hinnant-date: tz.h are a timezone library built on top of the date.h library.
-hinnant-date: chrono_io.h is a library for streaming out chrono durations.
-hinnant-date: iso_week.h is a library which implements the ISO week date calendar.
-hinnant-date: julian.h library which implements a proleptic Julian calendar.
-hinnant-date: islamic.h library which implements a proleptic Islamic calendar.
-hinnant-date:
-hinnant-date: https://github.com/HowardHinnant/date
diff --git a/libraries/hiredict/README b/libraries/hiredict/README
new file mode 100644
index 0000000000..64f008b36b
--- /dev/null
+++ b/libraries/hiredict/README
@@ -0,0 +1,8 @@
+hiredict (Minimalistic C client for Redict)
+
+Hiredict is a minimalistic C client library for the Redict database.
+
+This is a fork of hiredis, since Redis licence change.
+It can install hiredis includes files, allowing it to be a drop-in
+replacement for hiredis, by setting the environment variable:
+INCLUDE_HIREDIS=ON
diff --git a/libraries/hiredict/hiredict.SlackBuild b/libraries/hiredict/hiredict.SlackBuild
new file mode 100644
index 0000000000..879b1e4e57
--- /dev/null
+++ b/libraries/hiredict/hiredict.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for hiredict
+
+# From the hiredis script by Kent Fritz
+# Copyright 2024 Yth | Pont-en-Royans, France | yth@ythogtha.org
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=hiredict
+VERSION=${VERSION:-1.3.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
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 OPTIMIZATION="" DEBUG="" ARCH="" CFLAGS="$SLKCFLAGS" \
+ PREFIX=/usr LIBRARY_PATH=lib${LIBDIRSUFFIX}
+make install DESTDIR=$PKG PREFIX=/usr LIBRARY_PATH=lib${LIBDIRSUFFIX}
+
+[ "${INCLUDE_HIREDIS:-OFF}" != "ON" ] && rm -r $PKG/usr/include/hiredis \
+ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/hiredis.pc
+
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.a
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/hiredict/hiredict.info b/libraries/hiredict/hiredict.info
new file mode 100644
index 0000000000..17b58141db
--- /dev/null
+++ b/libraries/hiredict/hiredict.info
@@ -0,0 +1,10 @@
+PRGNAM="hiredict"
+VERSION="1.3.1"
+HOMEPAGE="https://redict.io"
+DOWNLOAD="https://codeberg.org/redict/hiredict/archive/1.3.1.tar.gz"
+MD5SUM="09e37ab74d01aede0c0a9a0c1f73fe35"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/hiredict/slack-desc b/libraries/hiredict/slack-desc
new file mode 100644
index 0000000000..c195019c4d
--- /dev/null
+++ b/libraries/hiredict/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+hiredict: hiredict (Minimalistic C client for Redict)
+hiredict:
+hiredict: Hiredict is a minimalistic C client library for the Redict database.
+hiredict:
+hiredict:
+hiredict:
+hiredict:
+hiredict:
+hiredict:
+hiredict:
+hiredict:
diff --git a/libraries/hiredis/hiredis.SlackBuild b/libraries/hiredis/hiredis.SlackBuild
index d122932035..182dd7e813 100644
--- a/libraries/hiredis/hiredis.SlackBuild
+++ b/libraries/hiredis/hiredis.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hiredis
@@ -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=hiredis
-VERSION=${VERSION:-0.13.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.1.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}
@@ -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/libraries/hiredis/hiredis.info b/libraries/hiredis/hiredis.info
index 291fbd9767..fd4714b41a 100644
--- a/libraries/hiredis/hiredis.info
+++ b/libraries/hiredis/hiredis.info
@@ -1,8 +1,8 @@
PRGNAM="hiredis"
-VERSION="0.13.3"
+VERSION="1.1.0"
HOMEPAGE="https://github.com/redis/hiredis"
-DOWNLOAD="https://github.com/redis/hiredis/archive/v0.13.3/hiredis-0.13.3.tar.gz"
-MD5SUM="43dca1445ec6d3b702821dba36000279"
+DOWNLOAD="https://github.com/redis/hiredis/archive/v1.1.0/hiredis-1.1.0.tar.gz"
+MD5SUM="699faede056b6d5aea1c3f41f832e172"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/hoedown/hoedown.SlackBuild b/libraries/hoedown/hoedown.SlackBuild
index 4302a152e6..1aad182d00 100644
--- a/libraries/hoedown/hoedown.SlackBuild
+++ b/libraries/hoedown/hoedown.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hoedown
@@ -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=hoedown
VERSION=${VERSION:-3.0.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"
@@ -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/libraries/hoel/hoel.SlackBuild b/libraries/hoel/hoel.SlackBuild
index 23ebe60caa..1b410e5b56 100644
--- a/libraries/hoel/hoel.SlackBuild
+++ b/libraries/hoel/hoel.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hoel
#
# 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=hoel
-VERSION=${VERSION:-1.4.13}
+VERSION=${VERSION:-1.4.29}
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}
@@ -47,6 +57,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=""
@@ -97,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/libraries/hoel/hoel.info b/libraries/hoel/hoel.info
index a100be51f0..6185a1b2d5 100644
--- a/libraries/hoel/hoel.info
+++ b/libraries/hoel/hoel.info
@@ -1,8 +1,8 @@
PRGNAM="hoel"
-VERSION="1.4.13"
+VERSION="1.4.29"
HOMEPAGE="https://github.com/babelouest/hoel"
-DOWNLOAD="https://github.com/babelouest/hoel/archive/v1.4.13/hoel-1.4.13.tar.gz"
-MD5SUM="44082ee8192d6dc4dc0ffe3a70629e6d"
+DOWNLOAD="https://github.com/babelouest/hoel/archive/v1.4.29/hoel-1.4.29.tar.gz"
+MD5SUM="f164747011716cc49a12158412959704"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ulfius"
diff --git a/libraries/hptt/README b/libraries/hptt/README
new file mode 100644
index 0000000000..73d27e3b2e
--- /dev/null
+++ b/libraries/hptt/README
@@ -0,0 +1,19 @@
+ HPTT is a high-performance C++ library for out-of-place tensor
+transpositions.
+
+ Key features:
+
+ - Multi-threading support
+ - Explicit vectorization
+ - Auto-tuning (akin to FFTW)
+ - Loop order
+ - Parallelization
+ - Multi architecture support
+ - Explicitly vectorized kernels for (AVX and ARM)
+ - Supports float, double, complex and double complex data types
+ - Supports both column-major and row-major data layouts
+
+
+ By default it builds a scalar version, if you want to change it.
+Set the environment variable to AVX=yes or ARM=yes (arm only).
+ If you want to install the Python API set PYTHON=yes.
diff --git a/libraries/hptt/hptt.SlackBuild b/libraries/hptt/hptt.SlackBuild
new file mode 100644
index 0000000000..9429570227
--- /dev/null
+++ b/libraries/hptt/hptt.SlackBuild
@@ -0,0 +1,134 @@
+#!/bin/bash
+
+# Slackware build script for hptt
+
+# 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=hptt
+VERSION=${VERSION:-1.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 [ ${AVX:-no} == "yes" ]; then
+ OPT="avx"
+fi
+
+if [ ${ARM:-no} == "yes" ]; then
+ OPT="arm"
+fi
+
+# fix using declared flags
+sed -i '1s#=#?=#' Makefile
+
+# fix deprecated mcpu flag
+sed -i 's/-mcpu=native//' Makefile
+
+# disable static lib
+sed -i '16s#lib/libhptt.a##' Makefile
+
+CFLAGS="$SLKCFLAGS" \
+CXX_FLAGS="$SLKCFLAGS" \
+make $OPT
+make doc; cd doc/latex; make; cd -
+
+if [ ${PYTHON:-no} == "yes" ]; then
+ cd pythonAPI
+ python2 setup.py install --root=$PKG
+ cd -
+fi
+
+install -d $PKG/usr/lib${LIBDIRSUFFIX}
+install -m 0755 lib/libhptt.so $PKG/usr/lib${LIBDIRSUFFIX}
+
+install -d $PKG/usr/include/$PRGNAM
+install -m 0644 include/* $PKG/usr/include/$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
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.md doc/html doc/latex/refman.pdf \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/hptt/hptt.info b/libraries/hptt/hptt.info
new file mode 100644
index 0000000000..fbdf01c4be
--- /dev/null
+++ b/libraries/hptt/hptt.info
@@ -0,0 +1,10 @@
+PRGNAM="hptt"
+VERSION="1.0.5"
+HOMEPAGE="https://github.com/springer13/hptt"
+DOWNLOAD="https://github.com/springer13/hptt/archive/v1.0.5/hptt-1.0.5.tar.gz"
+MD5SUM="39395950bef9cc4cba90a6ebd8bc46dc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/hptt/slack-desc b/libraries/hptt/slack-desc
new file mode 100644
index 0000000000..3f29208f05
--- /dev/null
+++ b/libraries/hptt/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------------------------------------------------------|
+hptt: hptt (C++ library for out-of-place-tensor transpositions)
+hptt:
+hptt:
+hptt:
+hptt: HPTT is a high-performance C++ library for out-of-place tensor
+hptt: transpositions.
+hptt:
+hptt:
+hptt:
+hptt:
+hptt:
diff --git a/libraries/hpx/README b/libraries/hpx/README
deleted file mode 100644
index 95e30e83b2..0000000000
--- a/libraries/hpx/README
+++ /dev/null
@@ -1,23 +0,0 @@
-HPX is a C++ Standards Library for Concurrency and Parallelism. It
-implements all of the corresponding facilities as defined by the
-C++ Standard. Additionally, in HPX we implement functionalities
-proposed as part of the ongoing C++ standardization process. We also
-extend the C++ Standard APIs to the distributed case.
-
-The goal of HPX is to create a high quality, freely available, open
-source implementation of a new programming model for conventional
-systems, such as classic Linux based Beowulf clusters or multi-socket
-highly parallel SMP nodes. At the same time, we want to have a very
-modular and well designed runtime system architecture which would
-allow us to port our implementation onto new computer system
-architectures. We want to use real world applications to drive the
-development of the runtime system, coining out required
-functionalities and converging onto a stable API which will provide
-a smooth migration path for developers.
-
-The API exposed by HPX is not only modelled after the interfaces
-defined by the C++11/14 ISO standard, it also adheres to the
-programming guidelines used by the Boost collection of C++ libraries.
-We aim improve the scalability of today's applications and to expose
-new levels of parallelism which are necessary to take advantage of
-the exascale systems of the future.
diff --git a/libraries/hpx/hpx.SlackBuild b/libraries/hpx/hpx.SlackBuild
deleted file mode 100644
index 0dbdd285e9..0000000000
--- a/libraries/hpx/hpx.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for hpx
-
-# Copyright 2017 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=hpx
-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}
-
-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=lib${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release \
- -DHPX_PLATFORM=native \
- -DHPX_WITH_DOCUMENTATION=OFF \
- -DHPX_WITH_EXAMPLES=OFF \
- -DHPX_WITH_TESTS=OFF ..
-
- make
- make install DESTDIR=$PKG
-cd ..
-
-( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
- sed -i.bkp "s|libdir=\${exec_prefix}/lib|libdir=\${exec_prefix}/lib${LIBDIRSUFFIX}|" *.pc
- rm *.bkp
-)
-
-find $PKG -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_1_0.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM-$VERSION/docs/html $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}
diff --git a/libraries/hpx/hpx.info b/libraries/hpx/hpx.info
deleted file mode 100644
index d25a35a792..0000000000
--- a/libraries/hpx/hpx.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="hpx"
-VERSION="1.0.0"
-HOMEPAGE="https://github.com/STEllAR-GROUP/hpx/"
-DOWNLOAD="https://github.com/STEllAR-GROUP/hpx/archive/1.0.0/hpx-1.0.0.tar.gz"
-MD5SUM="16fd3d6eeb18758a493d38c2c46b2213"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="numactl hwloc gperftools"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/hpx/slack-desc b/libraries/hpx/slack-desc
deleted file mode 100644
index 15d0aada12..0000000000
--- a/libraries/hpx/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------------------------------------------------------|
-hpx: hpx (C++ Standards Library for Concurrency and Parallelism)
-hpx:
-hpx: HPX is a C++ Standards Library for Concurrency and Parallelism.
-hpx: It implements all of the corresponding facilities as defined by
-hpx: the C++ Standard. Additionally, in HPX we implement functionalities
-hpx: proposed as part of the ongoing C++ standardization process. We
-hpx: also extend the C++ Standard APIs to the distributed case.
-hpx:
-hpx:
-hpx: https://github.com/STEllAR-GROUP/hpx
-hpx:
diff --git a/libraries/html5lib/README b/libraries/html5lib/README
deleted file mode 100644
index e97c619b21..0000000000
--- a/libraries/html5lib/README
+++ /dev/null
@@ -1,12 +0,0 @@
-html5lib (HTML parser based on the HTML5 specification)
-
-HTML parser designed to follow the HTML5 specification. The parser is
-designed to handle all flavours of HTML and parses invalid documents
-using well-defined error handling rules compatible with the behaviour of
-major desktop web browsers.
-
-Output is to a tree structure; the current release supports output
-to DOM, ElementTree and lxml tree formats as well as a simple
-custom format.
-
-Optional: datrie, python-chardet, lxml and genshi
diff --git a/libraries/html5lib/html5lib.SlackBuild b/libraries/html5lib/html5lib.SlackBuild
deleted file mode 100644
index 60fb4d9aba..0000000000
--- a/libraries/html5lib/html5lib.SlackBuild
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for html5lib
-# Written by Šime Ramov <s@ramov.com>
-# Copyright 2017-2018 Larry Hajali <larryhaja[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.
-
-PRGNAM=html5lib
-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}
-
-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 CHANGES.rst 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/libraries/html5lib/html5lib.info b/libraries/html5lib/html5lib.info
deleted file mode 100644
index b9f29a8b44..0000000000
--- a/libraries/html5lib/html5lib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="html5lib"
-VERSION="1.0.1"
-HOMEPAGE="https://github.com/html5lib/"
-DOWNLOAD="https://pypi.io/packages/source/h/html5lib/html5lib-1.0.1.tar.gz"
-MD5SUM="942a0688d6bdf20d087c9805c40182ad"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="six python3-six python-webencodings"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/libraries/html5lib/slack-desc b/libraries/html5lib/slack-desc
deleted file mode 100644
index 4690761b92..0000000000
--- a/libraries/html5lib/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------------------------------------------------------|
-html5lib: html5lib (HTML parser based on the HTML5 specification)
-html5lib:
-html5lib: HTML parser designed to follow the HTML5 specification. The parser
-html5lib: is designed to handle all flavours of HTML and parses invalid
-html5lib: documents using well-defined error handling rules compatible with
-html5lib: the behaviour of major desktop web browsers.
-html5lib:
-html5lib: Output is to a tree structure; the current release supports output
-html5lib: to DOM, ElementTree and lxml tree formats as well as a simple
-html5lib: custom format.
-html5lib:
diff --git a/libraries/htmlcxx/htmlcxx.SlackBuild b/libraries/htmlcxx/htmlcxx.SlackBuild
index e815fd6060..1be7a7db63 100644
--- a/libraries/htmlcxx/htmlcxx.SlackBuild
+++ b/libraries/htmlcxx/htmlcxx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "htmlcxx".
# Yth | Pont-en-Royans, France | yth@ythogtha.org
@@ -25,26 +25,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=htmlcxx
VERSION=${VERSION:-0.87}
-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"
@@ -52,6 +62,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=""
@@ -77,7 +90,7 @@ sed -i '/#include <cassert>/a \
#include <cstddef>' html/tree.h
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -91,12 +104,14 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ASF-2.0 AUTHORS COPYING ChangeLog INSTALL LGPL_V2 README \
+cp -a ASF-2.0 AUTHORS COPYING ChangeLog LGPL_V2 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/libraries/htslib/README b/libraries/htslib/README
index 05556cf5bb..0ec918852b 100644
--- a/libraries/htslib/README
+++ b/libraries/htslib/README
@@ -1,8 +1,8 @@
-Prior to the introduction of HTSlib, SAMtools and BCFtools were distributed
-in a single samtools-0.1.x package. This old version remains available from
-SBo as samtools-legacy.
+Prior to the introduction of HTSlib, SAMtools and BCFtools were
+distributed in a single samtools-0.1.x package. This old version remains
+available from SBo as samtools-legacy.
-HTSlib has been distributed as a separate package to facilitate the writing
-of programs against the HTSlib API. HTSlib also provides the bgzip, htsfile,
-and tabix utilities, so the installation of HTSlib provides these utilities
-as well.
+HTSlib has been distributed as a separate package to facilitate the
+writing of programs against the HTSlib API. HTSlib also provides the
+bgzip, htsfile, and tabix utilities, so the installation of HTSlib
+provides these utilities as well.
diff --git a/libraries/htslib/htslib.SlackBuild b/libraries/htslib/htslib.SlackBuild
index b45a1bac01..b27ea38502 100644
--- a/libraries/htslib/htslib.SlackBuild
+++ b/libraries/htslib/htslib.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for htslib
-# Copyright 2018-2020 Rob van Nues # All rights reserved.
+# Copyright 2018-2024 Rob van Nues # All rights reserved.
#
# 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=htslib
-VERSION=${VERSION:-1.10.2}
+VERSION=${VERSION:-1.19.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,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}
@@ -91,6 +98,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.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
@@ -98,13 +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 \
- README LICENSE INSTALL NEWS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README LICENSE 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/htslib/htslib.info b/libraries/htslib/htslib.info
index 79a3d799d3..dd142db7c4 100644
--- a/libraries/htslib/htslib.info
+++ b/libraries/htslib/htslib.info
@@ -1,8 +1,8 @@
PRGNAM="htslib"
-VERSION="1.10.2"
+VERSION="1.19.1"
HOMEPAGE="http://www.htslib.org"
-DOWNLOAD="https://github.com/samtools/htslib/releases/download/1.10.2/htslib-1.10.2.tar.bz2"
-MD5SUM="9b03764c4809388625ab0b6352b13c93"
+DOWNLOAD="https://github.com/samtools/htslib/releases/download/1.19.1/htslib-1.19.1.tar.bz2"
+MD5SUM="f9b2f75e1e9ec6cc5c1e204d56fbee9e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/http-parser/README b/libraries/http-parser/README
index b6a8d90f01..be32d6c85c 100644
--- a/libraries/http-parser/README
+++ b/libraries/http-parser/README
@@ -1,2 +1,3 @@
-http-parser for HTTP messages written in C. It parses both requests and
-responses. The parser is designed to be used in performance HTTP applications.
+http-parser for HTTP messages written in C. It parses both requests
+and responses. The parser is designed to be used in performance HTTP
+applications.
diff --git a/libraries/http-parser/http-parser.SlackBuild b/libraries/http-parser/http-parser.SlackBuild
index 81e4b6fb4d..37a137a022 100644
--- a/libraries/http-parser/http-parser.SlackBuild
+++ b/libraries/http-parser/http-parser.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for http-parser
-# Copyright 2015-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2015-2020 Larry Hajali <larryhaja[at]gmail[dot]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=http-parser
-VERSION=${VERSION:-2.9.2}
+VERSION=${VERSION:-2.9.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}
@@ -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=implicit-fallthrough=" \
make install \
PREFIX=$PKG/usr \
LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX}
@@ -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/libraries/http-parser/http-parser.info b/libraries/http-parser/http-parser.info
index 4d446dc1a2..1b3db0879a 100644
--- a/libraries/http-parser/http-parser.info
+++ b/libraries/http-parser/http-parser.info
@@ -1,8 +1,8 @@
PRGNAM="http-parser"
-VERSION="2.9.2"
+VERSION="2.9.4"
HOMEPAGE="https://github.com/joyent/http-parser"
-DOWNLOAD="https://github.com/joyent/http-parser/archive/v2.9.2/http-parser-2.9.2.tar.gz"
-MD5SUM="aaf0421392e1c0d1f2d51ec9f0e08cc1"
+DOWNLOAD="https://github.com/joyent/http-parser/archive/v2.9.4/http-parser-2.9.4.tar.gz"
+MD5SUM="1b0f2371aabacbadaa03cc532cedcf92"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/hug/README b/libraries/hug/README
deleted file mode 100644
index 7cc014a539..0000000000
--- a/libraries/hug/README
+++ /dev/null
@@ -1,8 +0,0 @@
-The Highlevel Universal GUI abstraction layer (HUG) is a simple set
-of functions to allow BaCon setting up graphical user interfaces in
-a fast and efficient manner.
-
-See README.SLACKWARE in the docs directory for details on how to use HUG.
-
-Note: When a new version of HUG is released, the downloads will
-change and the md5sums won't match.
diff --git a/libraries/hug/README.SLACKWARE b/libraries/hug/README.SLACKWARE
deleted file mode 100644
index eebe61c2a4..0000000000
--- a/libraries/hug/README.SLACKWARE
+++ /dev/null
@@ -1,29 +0,0 @@
-README.SLACKWARE for hug
-
-To use HUG, put the following at the start of your BaCon program:
-
- SETENVIRON "LANG", "C"
- INCLUDE "/usr/include/hug_imports.bac"
-
- REM Initialize the HUG library:
- INIT
-
-For example, here's the classic "Hello World" program with HUG:
-
- SETENVIRON "LANG", "C"
- INCLUDE "/usr/include/hug_imports.bac"
-
- REM Initialize the HUG library:
- INIT
-
- REM Create widgets:
- window = WINDOW("Hello", 110, 30)
- text = MARK("Hello, world!", 100, 20)
-
- REM Attach text widget to main window:
- ATTACH(window, text, 5, 5)
-
- REM endless gtk loop
- DISPLAY
-
-The HUG documentation can be read online here: http://basic-converter.org/hugdoc.html
diff --git a/libraries/hug/hug.SlackBuild b/libraries/hug/hug.SlackBuild
deleted file mode 100644
index d27cd1ac7d..0000000000
--- a/libraries/hug/hug.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for hug
-
-# Written by Steve Pledger <spledger91@yahoo.com>
-
-PRGNAM=hug
-VERSION=${VERSION:-0.100}
-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}
-
-# Version number may change, so figure out the real version
-SRCVER=$(grep 'REM Version' $CWD/hug.bac | tail -n1 | cut -d' ' -f3)
-
-if [ "$VERSION" != "$SRCVER" ]; then
- cat <<EOF
-WARNING: The source version ($SRCVER) does not match the VERSION variable ($VERSION).
-To build anyway, run the SlackBuild like this:
-
- VERSION=$SRCVER ./$PRGNAM.SlackBuild
-
-exiting...
-EOF
-
- 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
-mkdir $PRGNAM-$VERSION
-
-cd $PRGNAM-$VERSION
-# Bacon creates a binary in the same location as the source, so copy the source file here.
-cat $CWD/hug.bac > hug.bac
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 shared object "hug.so"
-bacon -p -o $(echo $SLKCFLAGS | sed -e 's: : -o :g') -f hug.bac
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-install -m 0755 hug.so $PKG/usr/lib${LIBDIRSUFFIX}
-
-find $PKG -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/include
-sed -e 's:./hug.so:hug.so:' $CWD/hug_imports.bac > $PKG/usr/include/hug_imports.bac
-
-mkdir -p $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}
diff --git a/libraries/hug/hug.info b/libraries/hug/hug.info
deleted file mode 100644
index 3495a22406..0000000000
--- a/libraries/hug/hug.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="hug"
-VERSION="0.100"
-HOMEPAGE="http://basic-converter.org"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/hug/hug.bac \
- http://sourceforge.net/projects/slackbuildsdirectlinks/files/hug/hug_imports.bac"
-MD5SUM="0d219bbabaa739d412d013bee3bc6521 \
- 3ac6fb6dcb02826a1eb9839a201ee821"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="bacon"
-MAINTAINER="Steve Pledger"
-EMAIL="spledger91@yahoo.com"
diff --git a/libraries/hug/slack-desc b/libraries/hug/slack-desc
deleted file mode 100644
index 4b80e8751d..0000000000
--- a/libraries/hug/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------------------------------------------------------|
-hug: hug (easily build GUI's for BaCon programs)
-hug:
-hug: The Highlevel Universal GUI abstraction layer (HUG) is a simple set
-hug: of functions to allow BaCon setting up graphical user interfaces in
-hug: a fast and efficient manner.
-hug:
-hug: Homepage: http://basic-converter.org/
-hug:
-hug:
-hug:
-hug:
diff --git a/libraries/hurry-filesize/README b/libraries/hurry-filesize/README
index e66ff382df..56385d770e 100644
--- a/libraries/hurry-filesize/README
+++ b/libraries/hurry-filesize/README
@@ -1,5 +1,6 @@
-A simple Python library for human readable file sizes
-(or anything sized in bytes).
-hurry.filesize a simple Python library that can take a number of bytes
-and returns a human-readable string with the size in it, in kilobytes (K),
-megabytes (M), etc.
+A simple Python library for human readable file sizes (or anything
+sized in bytes).
+
+hurry-filesize is a simple Python library that can take a number of
+bytes and returns a human-readable string with the size in it, in
+kilobytes (K), megabytes (M), etc.
diff --git a/libraries/hurry-filesize/hurry-filesize.SlackBuild b/libraries/hurry-filesize/hurry-filesize.SlackBuild
index b7ebecd681..6be231fe7f 100644
--- a/libraries/hurry-filesize/hurry-filesize.SlackBuild
+++ b/libraries/hurry-filesize/hurry-filesize.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hurry-filesize
@@ -23,11 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hurry-filesize
SCRNAM=hurry.filesize
VERSION=${VERSION:-0.9}
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}
@@ -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/libraries/hyperscan/hyperscan.SlackBuild b/libraries/hyperscan/hyperscan.SlackBuild
index 2118f45b11..3ddfbb6b09 100644
--- a/libraries/hyperscan/hyperscan.SlackBuild
+++ b/libraries/hyperscan/hyperscan.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Hyperscan
-# Copyright 2018, 2019 Ebben Aries <e@dscp.org>
+# Copyright 2018-2023 Ebben Aries <slackbuilds@dscp.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=hyperscan
-VERSION=${VERSION:-5.1.1}
+VERSION=${VERSION:-5.4.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,8 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i -e 's/mktemp/mktemp-gnu/' cmake/build_wrapper.sh
-
mkdir -p build
cd build
cmake \
@@ -97,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/libraries/hyperscan/hyperscan.info b/libraries/hyperscan/hyperscan.info
index a7d59dcc21..787dcafaa9 100644
--- a/libraries/hyperscan/hyperscan.info
+++ b/libraries/hyperscan/hyperscan.info
@@ -1,10 +1,10 @@
PRGNAM="hyperscan"
-VERSION="5.1.1"
+VERSION="5.4.2"
HOMEPAGE="https://www.hyperscan.io"
-DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.1.1/hyperscan-5.1.1.tar.gz"
-MD5SUM="96f9cd558132dd65ec03648aaaba2a48"
+DOWNLOAD="https://github.com/intel/hyperscan/archive/v5.4.2/hyperscan-5.4.2.tar.gz"
+MD5SUM="202f4b42f5dd4a7bb2506445e51a33b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ragel"
MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+EMAIL="slackbuilds@dscp.org"
diff --git a/libraries/hyphen/README b/libraries/hyphen/README
deleted file mode 100644
index 97633624e6..0000000000
--- a/libraries/hyphen/README
+++ /dev/null
@@ -1 +0,0 @@
-Hyphenation library to use converted TeX hyphenation patterns.
diff --git a/libraries/hyphen/hyphen.SlackBuild b/libraries/hyphen/hyphen.SlackBuild
deleted file mode 100644
index 6dee782114..0000000000
--- a/libraries/hyphen/hyphen.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for hyphen
-
-# Copyright 2015, 2018 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=hyphen
-VERSION=${VERSION:-2.8.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 -eu
-
-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} \
- --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 COPYIN* ChangeLog INSTALL NEWS READM* 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/libraries/hyphen/hyphen.info b/libraries/hyphen/hyphen.info
deleted file mode 100644
index a897f30b17..0000000000
--- a/libraries/hyphen/hyphen.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="hyphen"
-VERSION="2.8.8"
-HOMEPAGE="https://hunspell.github.io/"
-DOWNLOAD="https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/hyphen-2.8.8.tar.gz"
-MD5SUM="5ade6ae2a99bc1e9e57031ca88d36dad"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/libraries/hyphen/slack-desc b/libraries/hyphen/slack-desc
deleted file mode 100644
index 003ab36875..0000000000
--- a/libraries/hyphen/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------------------------------------------------------|
-hyphen: hyphen (hyphenation library)
-hyphen:
-hyphen: Hyphenation library to use converted TeX hyphenation pattern
-hyphen:
-hyphen: Homepage: https://hunspell.github.io/
-hyphen:
-hyphen:
-hyphen:
-hyphen:
-hyphen:
-hyphen:
diff --git a/libraries/hypre/README b/libraries/hypre/README
new file mode 100644
index 0000000000..11ae16a682
--- /dev/null
+++ b/libraries/hypre/README
@@ -0,0 +1,8 @@
+ HYPRE is a library of high performance preconditioners and solvers
+featuring multigrid methods for the solution of large, sparse linear
+systems of equations on massively parallel computers.
+
+ Buildind options that can be set using the environment variables:
+ - OMP=yes, to build with openmp support
+ - MPI=yes, to build with MPI support, requires mpich or openmpi
+ - CUDA=yes, to enable CUDA, requires CUDA sdk > 8.0
diff --git a/libraries/hypre/hypre.SlackBuild b/libraries/hypre/hypre.SlackBuild
new file mode 100644
index 0000000000..8ea06b7c04
--- /dev/null
+++ b/libraries/hypre/hypre.SlackBuild
@@ -0,0 +1,171 @@
+#!/bin/bash
+
+# Slackware build script for hypre
+
+# 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=hypre
+VERSION=${VERSION:-2.26.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 [ "${OMP:-no}" == "yes" ]; then
+ OPT_BUILD="--with-openmp"
+fi
+
+if [ "${MPI:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD --with-MPI"
+else
+ OPT_BUILD="$OPT_BUILD --without-MPI"
+fi
+
+if [ "${CUDA:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD --with-cuda"
+fi
+
+if [ "${HIP:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD --with-hip"
+fi
+
+# for intel GPU, requires oneMKL
+if [ "${SYCL:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD --with-sycl"
+fi
+
+
+# fix building with openmp
+# "undefined reference "omp_get_max""
+# if user sets CFLAGS and CXXFLAGS to configure,
+# the Makefile use these flags and doesn't include
+# the fopenmp
+sed -i '1616aif test "$hypre_using_openmp" = "yes" \
+then \
+ LDFLAGS+=" -fopenmp" \
+fi\n' src/config/configure.in
+
+cd src
+autoconf config/configure.in > configure
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --htmldir=/usr/doc/$PRGNAM-$VERSION \
+ --pdfdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --with-blas \
+ --with-blas-libs=blas \
+ --with-blas-lib-dirs=/usr/lib${LIBDIRSUFFIX} \
+ --with-lapack \
+ --with-lapack-libs=lapack \
+ --with-lapack-lib-dirs=/usr/lib${LIBDIRSUFFIX} \
+ $OPT_BUILD \
+ --host=$(hostname) \
+ --build=$ARCH-slackware-linux
+make
+make test check
+make install HYPRE_LIB_INSTALL=$PKG/usr/lib${LIBDIRSUFFIX} HYPRE_INC_INSTALL=$PKG/usr/include/$PRGNAM
+cd ..
+
+# install examples
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a src/examples $PKG/usr/share/$PRGNAM-$VERSION
+
+# fix examples
+sed -i -e 's#^HYPRE_DIR = .*#HYPRE_DIR = /usr#' \
+ -e 's#$(HYPRE_DIR)/include#&/hypre#' \
+ -e 's#$[{(]HYPRE_DIR[})]/lib#&'${LIBDIRSUFFIX}'#' \
+ $PKG/usr/share/$PRGNAM-$VERSION/examples/Makefile
+
+
+# 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 COPYRIGHT LICENSE-APACHE LICENSE-MIT NOTICE SUPPORT.md src/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/libraries/hypre/hypre.info b/libraries/hypre/hypre.info
new file mode 100644
index 0000000000..d3c3100c59
--- /dev/null
+++ b/libraries/hypre/hypre.info
@@ -0,0 +1,10 @@
+PRGNAM="hypre"
+VERSION="2.26.0"
+HOMEPAGE="https://github.com/hypre-space/hypre"
+DOWNLOAD="https://github.com/hypre-space/hypre/archive/v2.26.0/hypre-2.26.0.tar.gz"
+MD5SUM="ee2183b101de344fefdd08d5dab48f85"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lapack"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/hypre/slack-desc b/libraries/hypre/slack-desc
new file mode 100644
index 0000000000..88824befdd
--- /dev/null
+++ b/libraries/hypre/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------------------------------------------------------|
+hypre: hypre (library for preconditioners and solvers)
+hypre:
+hypre:
+hypre:
+hypre: HYPRE is a library of high performance preconditioners and solvers
+hypre: featuring multigrid methods for the solution of large, sparse linear
+hypre: systems of equations on massively parallel computers.
+hypre:
+hypre:
+hypre:
+hypre:
diff --git a/libraries/id3lib/README b/libraries/id3lib/README
deleted file mode 100644
index f809127d2d..0000000000
--- a/libraries/id3lib/README
+++ /dev/null
@@ -1,10 +0,0 @@
-This package provides a software library for manipulating ID3v1
-and ID3v2 tags. It provides a convenient interface for software
-developers to include standards-compliant ID3v1/2 tagging
-capabilities in their applications.
-
-Features include identification of valid tags, automatic size
-conversions, (re)synchronisation of tag frames, seamless tag
-(de)compression, and optional padding facilities.
-
-This SlackBuild applies several patches provided by Debian team.
diff --git a/libraries/id3lib/id3lib.SlackBuild b/libraries/id3lib/id3lib.SlackBuild
deleted file mode 100644
index 9c036b3e4a..0000000000
--- a/libraries/id3lib/id3lib.SlackBuild
+++ /dev/null
@@ -1,121 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for id3lib
-
-# Heavily based on original slackbuild by AlienBOB.
-# Modified by Robby Workman <rworkman@slackbuilds.org>
-# Copyright 2006-2010 Halim Issa <yallaone@gmail.com>
-# Copyright 2020 Dominik Drobek <dominik.drobek (at) o2.pl>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=id3lib
-VERSION=${VERSION:-3.8.3}
-BUILD=${BUILD:-4}
-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 {} \;
-
-# Apply patches from Slackware-current:
-patch -p1 -i $CWD/patches/id3lib.cppheaders.patch
-patch -p1 -i $CWD/patches/id3lib.manpages.patch
-patch -p1 -i $CWD/patches/id3lib.utf8_writing.patch
-patch -p1 -i $CWD/patches/id3lib.mkstemp.patch
-patch -p1 -i $CWD/patches/id3lib.c_wrapper.patch
-patch -p1 -i $CWD/patches/id3lib.nullpointer_check.patch
-patch -p1 -i $CWD/patches/id3lib.vbr_stack_smash.patch
-
-# iomanip.h is obsolete; use the standard C++ header:
-sed -e "s%iomanip.h%iomanip%g" -i configure
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-static=no \
- --enable-debug=no \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/man/man1
-cp -a doc/man/* $PKG/usr/man/man1
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-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 HISTORY NEWS README THANKS TODO doc/*.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/libraries/id3lib/id3lib.info b/libraries/id3lib/id3lib.info
deleted file mode 100644
index 15fa568f65..0000000000
--- a/libraries/id3lib/id3lib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="id3lib"
-VERSION="3.8.3"
-HOMEPAGE="http://id3lib.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/id3lib/id3lib-3.8.3.tar.gz"
-MD5SUM="19f27ddd2dda4b2d26a559a4f0f402a7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dominik Drobek"
-EMAIL="dominik.drobek (at) o2.pl"
diff --git a/libraries/id3lib/patches/id3lib.c_wrapper.patch b/libraries/id3lib/patches/id3lib.c_wrapper.patch
deleted file mode 100644
index d72e81c0ec..0000000000
--- a/libraries/id3lib/patches/id3lib.c_wrapper.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-This patch adds C wrapper functions for field encoding.
-
-It was first introduced in version 3.8.3-8 and fixes
-http://bugs.debian.org/281292
---- a/include/id3.h
-+++ b/include/id3.h
-@@ -104,6 +104,9 @@
- ID3_C_EXPORT void CCONV ID3Field_GetBINARY (const ID3Field *field, uchar *buffer, size_t buffLength);
- ID3_C_EXPORT void CCONV ID3Field_FromFile (ID3Field *field, const char *fileName);
- ID3_C_EXPORT void CCONV ID3Field_ToFile (const ID3Field *field, const char *fileName);
-+ ID3_C_EXPORT bool CCONV ID3Field_SetEncoding (ID3Field *field, ID3_TextEnc enc);
-+ ID3_C_EXPORT ID3_TextEnc CCONV ID3Field_GetEncoding (const ID3Field *field);
-+ ID3_C_EXPORT bool CCONV ID3Field_IsEncodable (const ID3Field *field);
-
- /* field-info wrappers */
- ID3_C_EXPORT char* CCONV ID3FrameInfo_ShortName (ID3_FrameID frameid);
---- a/src/c_wrapper.cpp
-+++ b/src/c_wrapper.cpp
-@@ -681,6 +681,39 @@
- }
- }
-
-+ ID3_C_EXPORT bool CCONV
-+ ID3Field_SetEncoding(ID3Field *field, ID3_TextEnc enc)
-+ {
-+ bool changed = false;
-+ if (field)
-+ {
-+ ID3_CATCH(changed = reinterpret_cast<ID3_Field *>(field)->SetEncoding(enc));
-+ }
-+ return changed;
-+ }
-+
-+ ID3_C_EXPORT ID3_TextEnc CCONV
-+ ID3Field_GetEncoding(const ID3Field *field)
-+ {
-+ ID3_TextEnc enc = ID3TE_NONE;
-+ if (field)
-+ {
-+ ID3_CATCH(enc = reinterpret_cast<const ID3_Field *>(field)->GetEncoding());
-+ }
-+ return enc;
-+ }
-+
-+ ID3_C_EXPORT bool CCONV
-+ ID3Field_IsEncodable(const ID3Field *field)
-+ {
-+ bool isEncodable = false;
-+ if (field)
-+ {
-+ ID3_CATCH(isEncodable = reinterpret_cast<const ID3_Field *>(field)->IsEncodable());
-+ }
-+ return isEncodable;
-+ }
-+
- #ifdef __cplusplus
- }
- #endif /* __cplusplus */
diff --git a/libraries/id3lib/patches/id3lib.cppheaders.patch b/libraries/id3lib/patches/id3lib.cppheaders.patch
deleted file mode 100644
index a9b45ab02c..0000000000
--- a/libraries/id3lib/patches/id3lib.cppheaders.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-This patch imports the proper C++ headers
---- a/include/id3/id3lib_strings.h
-+++ b/include/id3/id3lib_strings.h
-@@ -30,6 +30,7 @@
- #define _ID3LIB_STRINGS_H_
-
- #include <string>
-+#include <cstring>
-
- #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000))
- namespace std
---- a/include/id3/writers.h
-+++ b/include/id3/writers.h
-@@ -30,7 +30,7 @@
-
- #include "id3/writer.h"
- #include "id3/id3lib_streams.h"
--//#include <string.h>
-+#include <cstring>
-
- class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer
- {
diff --git a/libraries/id3lib/patches/id3lib.manpages.patch b/libraries/id3lib/patches/id3lib.manpages.patch
deleted file mode 100644
index cebf3d4d40..0000000000
--- a/libraries/id3lib/patches/id3lib.manpages.patch
+++ /dev/null
@@ -1,198 +0,0 @@
-This patch adds debian-made man pages
---- /dev/null
-+++ b/doc/man/id3info.1
-@@ -0,0 +1,31 @@
-+.TH ID3INFO 1 "May 2000" local "User Command"
-+.SH NAME
-+id3info \- Display id3 tag information.
-+.SH SYNOPSIS
-+.B id3info
-+.RB [
-+.I OPTION
-+.RB ]
-+.RB [
-+.I FILE
-+.RB ]
-+.br
-+.SH DESCRIPTION
-+.B Id3info
-+displays both the id3v1 and id3v2 tag information for a file.
-+Id3info will not differentiate between the two types of tags.
-+.SH OPTIONS
-+.TP
-+.B \-h, \-\-help
-+Display help and exit
-+.TP
-+.B \-v, \-\-version
-+Display version information and exit
-+.SH SEE ALSO
-+id3convert(1), id3tag(1), id3v2(1)
-+.SH AUTHOR
-+.B id3lib
-+was originally designed and implemented by Dirk Mahoney and is
-+maintained by Scott Thomas Haug <sth2@cs.wustl.edu>. Manual page written for
-+Debian GNU/Linux by Robert Woodcock <rcw@debian.org>.
-+
---- /dev/null
-+++ b/doc/man/id3tag.1
-@@ -0,0 +1,69 @@
-+.TH ID3TAG 1 "May 2000" local "User Command"
-+.SH NAME
-+id3tag \- Tags an mp3 file with id3v1 and/or id3v2 tags.
-+.SH SYNOPSIS
-+.B id3tag
-+.RB [
-+.I OPTION
-+.RB ] ...
-+.RB [
-+.I FILE
-+.RB ] ...
-+.br
-+.SH DESCRIPTION
-+.B Id3tag
-+will render both types of tag by default. Only the last
-+tag type indicated in the option list will be used. Non-
-+rendered will remain unchanged in the original file. Will
-+also parse and convert Lyrics3 v2.0 frames, but will not
-+render them.
-+
-+.SH OPTIONS
-+.TP
-+.B \-1, \-\-v1tag
-+Render only the id3v1 tag
-+.TP
-+.B \-2, \-\-v2tag
-+Render only the id3v2 tag
-+.TP
-+.B \-h, \-\-help
-+Display help and exit
-+.TP
-+.B \-v, \-\-version
-+Display version information and exit
-+.TP
-+.B \-a, \-\-artist ARTIST
-+Set the artist information
-+.TP
-+.B \-s, \-\-song SONG
-+Set the song title information
-+.TP
-+.B \-A, \-\-album ALBUM
-+Set the album title information
-+.TP
-+.B \-c, \-\-comment COMMENT
-+Set the comment information
-+.TP
-+.B \-C, \-\-desc DESCRIPTION
-+Set the comment description
-+.TP
-+.B \-g, \-\-genre num
-+Set the genre number
-+.TP
-+.B \-y, \-\-year num
-+Set the year
-+.TP
-+.B \-t, \-\-track num
-+Set the track number
-+.TP
-+.B \-T, \-\-total num
-+Set the total number of tracks on the album
-+
-+.SH SEE ALSO
-+id3convert(1), id3info(1), id3v2(1)
-+.SH AUTHOR
-+.B id3lib
-+was originally designed and implemented by Dirk Mahoney and is
-+maintained by Scott Thomas Haug <sth2@cs.wustl.edu>. Manual page written for
-+Debian GNU/Linux by Robert Woodcock <rcw@debian.org>.
-+
---- /dev/null
-+++ b/doc/man/id3convert.1
-@@ -0,0 +1,47 @@
-+.TH ID3CONVERT 1 "May 2000" local "User Command"
-+.SH NAME
-+id3convert \- Converts between id3v1 and id3v2 tags of an mp3 file.
-+.SH SYNOPSIS
-+.B id3convert
-+.RB [
-+.I OPTION
-+.RB ]
-+.RB [
-+.I FILE
-+.RB ]
-+.br
-+.SH DESCRIPTION
-+.B Id3convert
-+converts between id3v1 and id3v2 tags of an mp3 file. Id3convert will render
-+both types of tag by default. Only the last tag type indicated in the option
-+list will be used. Non-rendered tags will remain unchanged in the original
-+file. Id3convert will also parse and convert Lyrics3 v2.0 frames, but will
-+not render them.
-+
-+.SH OPTIONS
-+.TP
-+.B \-1, \-\-v1tag
-+Render only the id3v1 tag
-+.TP
-+.B \-2, \-\-v2tag
-+Render only the id3v2 tag
-+.TP
-+.B \-s, \-\-strip
-+Strip, rather than render, the tags
-+.TP
-+.B \-p, \-\-padding
-+Use padding in the tag
-+.TP
-+.B \-h, \-\-help
-+Display help and exit
-+.TP
-+.B \-v, \-\-version
-+Display version information and exit
-+
-+.SH SEE ALSO
-+id3tag(1), id3info(1), id3v2(1)
-+.SH AUTHOR
-+.B id3lib
-+was originally designed and implemented by Dirk Mahoney and is
-+maintained by Scott Thomas Haug <sth2@cs.wustl.edu>. Manual page written for
-+Debian GNU/Linux by Robert Woodcock <rcw@debian.org>.
---- /dev/null
-+++ b/doc/man/id3cp.1
-@@ -0,0 +1,38 @@
-+.TH ID3CP 1 "July 2001" local "User Command"
-+.SH NAME
-+id3cp \- Copies tags from one file to another.
-+.SH SYNOPSIS
-+.B id3cp
-+.RB [
-+.I OPTION
-+.RB ] ...
-+.RB [
-+.I SOURCE
-+.RB ]
-+.RB [
-+.I DEST
-+.RB ]
-+.br
-+.SH DESCRIPTION
-+.B Id3cp
-+copies tags from SOURCE to DEST.
-+.SH OPTIONS
-+.TP
-+.B \-1, \-\-v1tag
-+Render only the id3v1 tag
-+.TP
-+.B \-2, \-\-v2tag
-+Render only the id3v2 tag
-+.TP
-+.B \-h, \-\-help
-+Display help and exit
-+.TP
-+.B \-v, \-\-version
-+Display version information and exit
-+.SH SEE ALSO
-+id3convert(1), id3info(1), id3v2(1)
-+.SH AUTHOR
-+.B id3lib
-+was originally designed and implemented by Dirk Mahoney and is
-+maintained by Scott Thomas Haug <sth2@cs.wustl.edu>. Manual page written for
-+Debian GNU/Linux by Robert Woodcock <rcw@debian.org>.
diff --git a/libraries/id3lib/patches/id3lib.mkstemp.patch b/libraries/id3lib/patches/id3lib.mkstemp.patch
deleted file mode 100644
index 36c84179fc..0000000000
--- a/libraries/id3lib/patches/id3lib.mkstemp.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-This patch fixes an issues where temporary files were created in an insecure
-way.
-
-It was first intruduced in version 3.8.3-7 and fixes
-http://bugs.debian.org/438540
---- a/src/tag_file.cpp
-+++ b/src/tag_file.cpp
-@@ -242,8 +242,8 @@
- strcpy(sTempFile, filename.c_str());
- strcat(sTempFile, sTmpSuffix.c_str());
-
--#if ((defined(__GNUC__) && __GNUC__ >= 3 ) || !defined(HAVE_MKSTEMP))
-- // This section is for Windows folk && gcc 3.x folk
-+#if !defined(HAVE_MKSTEMP)
-+ // This section is for Windows folk
- fstream tmpOut;
- createFile(sTempFile, tmpOut);
-
-@@ -257,7 +257,7 @@
- tmpOut.write((char *)tmpBuffer, nBytes);
- }
-
--#else //((defined(__GNUC__) && __GNUC__ >= 3 ) || !defined(HAVE_MKSTEMP))
-+#else //!defined(HAVE_MKSTEMP)
-
- // else we gotta make a temp file, copy the tag into it, copy the
- // rest of the old file after the tag, delete the old file, rename
-@@ -270,7 +270,7 @@
- //ID3_THROW_DESC(ID3E_NoFile, "couldn't open temp file");
- }
-
-- ofstream tmpOut(fd);
-+ ofstream tmpOut(sTempFile);
- if (!tmpOut)
- {
- tmpOut.close();
-@@ -285,14 +285,14 @@
- uchar tmpBuffer[BUFSIZ];
- while (file)
- {
-- file.read(tmpBuffer, BUFSIZ);
-+ file.read((char *)tmpBuffer, BUFSIZ);
- size_t nBytes = file.gcount();
-- tmpOut.write(tmpBuffer, nBytes);
-+ tmpOut.write((char *)tmpBuffer, nBytes);
- }
-
- close(fd); //closes the file
-
--#endif ////((defined(__GNUC__) && __GNUC__ >= 3 ) || !defined(HAVE_MKSTEMP))
-+#endif ////!defined(HAVE_MKSTEMP)
-
- tmpOut.close();
- file.close();
diff --git a/libraries/id3lib/patches/id3lib.nullpointer_check.patch b/libraries/id3lib/patches/id3lib.nullpointer_check.patch
deleted file mode 100644
index d4ca5d292f..0000000000
--- a/libraries/id3lib/patches/id3lib.nullpointer_check.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-This patch adds a check for a null pointer
---- a/src/header_tag.cpp
-+++ b/src/header_tag.cpp
-@@ -54,7 +54,7 @@
- {
- size_t bytesUsed = ID3_TagHeader::SIZE;
-
-- if (_info->is_extended)
-+ if (_info && _info->is_extended)
- {
- bytesUsed += _info->extended_bytes;
- }
diff --git a/libraries/id3lib/patches/id3lib.utf8_writing.patch b/libraries/id3lib/patches/id3lib.utf8_writing.patch
deleted file mode 100644
index 3d3f50fed6..0000000000
--- a/libraries/id3lib/patches/id3lib.utf8_writing.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Patch from 'Spoon' to fix issues with writing certain unicode characters
---- a/ChangeLog
-+++ b/ChangeLog
-@@ -1,3 +1,8 @@
-+2006-02-17 Jerome Couderc
-+
-+ * Patch from Spoon to fix UTF-16 writing bug
-+ http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979
-+
- 2003-03-02 Sunday 17:38 Thijmen Klok <thijmen@id3lib.org>
-
- * THANKS (1.20): added more people
---- a/src/io_helpers.cpp
-+++ b/src/io_helpers.cpp
-@@ -363,11 +363,22 @@
- // Write the BOM: 0xFEFF
- unicode_t BOM = 0xFEFF;
- writer.writeChars((const unsigned char*) &BOM, 2);
-+ // Patch from Spoon : 2004-08-25 14:17
-+ // http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979
-+ // Wrong code
-+ //for (size_t i = 0; i < size; i += 2)
-+ //{
-+ // unicode_t ch = (data[i] << 8) | data[i+1];
-+ // writer.writeChars((const unsigned char*) &ch, 2);
-+ //}
-+ // Right code
-+ unsigned char *pdata = (unsigned char *) data.c_str();
- for (size_t i = 0; i < size; i += 2)
- {
-- unicode_t ch = (data[i] << 8) | data[i+1];
-+ unicode_t ch = (pdata[i] << 8) | pdata[i+1];
- writer.writeChars((const unsigned char*) &ch, 2);
- }
-+ // End patch
- }
- return writer.getCur() - beg;
- }
diff --git a/libraries/id3lib/patches/id3lib.vbr_stack_smash.patch b/libraries/id3lib/patches/id3lib.vbr_stack_smash.patch
deleted file mode 100644
index 9bf33e9787..0000000000
--- a/libraries/id3lib/patches/id3lib.vbr_stack_smash.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Description: Fix crashes when reading VBR MP3 file.
-Bug-Ubuntu: https://launchpad.net/bugs/444466
-Origin: upstream, http://sourceforge.net/tracker/?func=detail&aid=937707&group_id=979&atid=300979
-Forwarded: yes
-Author: Urs Fleisch
-
-Index: id3lib3.8.3-3.8.3/src/mp3_parse.cpp
-===================================================================
---- id3lib3.8.3-3.8.3.orig/src/mp3_parse.cpp 2009-10-06 23:12:10.381250132 +0200
-+++ id3lib3.8.3-3.8.3/src/mp3_parse.cpp 2009-10-06 23:14:09.545252591 +0200
-@@ -465,7 +465,7 @@
- // from http://www.xingtech.com/developer/mp3/
-
- const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed
-- const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional
-+ const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional
-
- if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE)
- {
diff --git a/libraries/id3lib/slack-desc b/libraries/id3lib/slack-desc
deleted file mode 100644
index 2d363781b1..0000000000
--- a/libraries/id3lib/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------------------------------------------------------|
-id3lib: id3lib (ID3 tag manipulation library)
-id3lib:
-id3lib: This package provides a library for manipulating ID3v1 and ID3v2 tags.
-id3lib: Features include identification of valid tags, automatic size
-id3lib: conversions, (re)synchronisation of tag frames, seamless tag
-id3lib: (de)compression, and optional padding facilities. Additionally, it can
-id3lib: display mp3 header info such as bitrate.
-id3lib:
-id3lib: Homepage: http://id3lib.sourceforge.net/
-id3lib:
-id3lib:
diff --git a/libraries/iddawc/README b/libraries/iddawc/README
new file mode 100644
index 0000000000..ad4c01a0e8
--- /dev/null
+++ b/libraries/iddawc/README
@@ -0,0 +1,8 @@
+Iddawc - OAuth2 client library
+
+Handles the OAuth2 and OpenID Connect authentication process flow from
+the client side.
+
+- Genrates requests based on input parameters
+- Parses response
+- Validates response values
diff --git a/libraries/iddawc/iddawc.SlackBuild b/libraries/iddawc/iddawc.SlackBuild
new file mode 100644
index 0000000000..3f49ab3c81
--- /dev/null
+++ b/libraries/iddawc/iddawc.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+# Slackware build script for iddawc
+#
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=iddawc
+VERSION=${VERSION:-1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 -Wno-error=maybe-uninitialized"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -Wno-error=maybe-uninitialized"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2 -Wno-error=maybe-uninitialized"
+ 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_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install DESTDIR=$PKG
+cd ..
+
+pushd tools/idwcc/
+make
+make install DESTDIR=$PKG/usr
+popd
+
+find $PKG -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
+DOCS="LICENSE README.md"
+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/libraries/iddawc/iddawc.info b/libraries/iddawc/iddawc.info
new file mode 100644
index 0000000000..530570875b
--- /dev/null
+++ b/libraries/iddawc/iddawc.info
@@ -0,0 +1,10 @@
+PRGNAM="iddawc"
+VERSION="1.1.9"
+HOMEPAGE="https://github.com/babelouest/iddawc"
+DOWNLOAD="https://github.com/babelouest/iddawc/archive/v1.1.9/iddawc-1.1.9.tar.gz"
+MD5SUM="9df3adad70e50b3d8b4787b6b694ec5e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rhonabwy"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/iddawc/slack-desc b/libraries/iddawc/slack-desc
new file mode 100644
index 0000000000..d537d9b08d
--- /dev/null
+++ b/libraries/iddawc/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------------------------------------------------------|
+iddawc: iddawc (OAuth2 client library)
+iddawc:
+iddawc: Handles the OAuth2 and OpenID Connect authentication process flow
+iddawc: from client side.
+iddawc:
+iddawc:
+iddawc: Project URL: https://github.com/babelouest/iddawc
+iddawc:
+iddawc:
+iddawc:
+iddawc:
diff --git a/libraries/ignition-math2/ignition-math2.SlackBuild b/libraries/ignition-math2/ignition-math2.SlackBuild
index 68f5093c15..92a12a73e9 100644
--- a/libraries/ignition-math2/ignition-math2.SlackBuild
+++ b/libraries/ignition-math2/ignition-math2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ignition-math2
@@ -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=ignition-math2
VERSION=${VERSION:-2.5.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}
@@ -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/libraries/ignition-transport/README b/libraries/ignition-transport/README
deleted file mode 100644
index 3f8be7670e..0000000000
--- a/libraries/ignition-transport/README
+++ /dev/null
@@ -1,10 +0,0 @@
-The transport library combines ZeroMQ with Protobufs to create a fast and
-efficient message passing system. Asynchronous message publication and
-subscription is provided along with service calls and discovery.
-
-Part of the ignition-robotics libraries:
-Ignition is a set of simple libraries that provide useful functionality to
-bootstrap robot applications. The included libraries encapsulate all the
-essentials, such as common math data types, console logging, 3D mesh management,
-and asynchronous message passing. Grab the code, start developing, and easily
-access other applications like the Gazebo robot simulator.
diff --git a/libraries/ignition-transport/ignition-transport.SlackBuild b/libraries/ignition-transport/ignition-transport.SlackBuild
deleted file mode 100644
index c70f56c93c..0000000000
--- a/libraries/ignition-transport/ignition-transport.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ignition-transport
-
-# Copyright 2017 Nikolay Nikolov <nikobnikolov[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.
-
-PRGNAM=ignition-transport
-VERSION=${VERSION:-0.7.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-DEP=cppzmq
-DEPVER=${DEPVER:-git20170114}
-
-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
-rm -rf $DEP-$DEPVER
-
-# Install zeromq cpp bindings
-tar xvf $CWD/$DEP-$DEPVER.tar.gz
-
-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 -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -Dcppzmq_INCLUDE_DIRS=$TMP/$DEP-$DEPVER \
- -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:-tgz}
diff --git a/libraries/ignition-transport/ignition-transport.info b/libraries/ignition-transport/ignition-transport.info
deleted file mode 100644
index 217dcdcc01..0000000000
--- a/libraries/ignition-transport/ignition-transport.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="ignition-transport"
-VERSION="0.7.0"
-HOMEPAGE="https://ignitionrobotics.org/"
-DOWNLOAD="https://osrf-distributions.s3.us-east-1.amazonaws.com/ign-transport/releases/ignition-transport-0.7.0.tar.bz2 \
- https://github.com/nikonikolov/cppzmq/archive/git20170114/cppzmq-git20170114.tar.gz"
-MD5SUM="e7a69c622bf3145bdb7061f13eacd985 \
- d1be131f58bb8767df2e46b00fec8630"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="protobuf zeromq"
-MAINTAINER="Nikolay Nikolov"
-EMAIL="nikobnikolov[at]gmail[dot]com"
diff --git a/libraries/ignition-transport/slack-desc b/libraries/ignition-transport/slack-desc
deleted file mode 100644
index 56baca89da..0000000000
--- a/libraries/ignition-transport/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------------------------------------------------------|
-ignition-transport: ignition-transport (message passing system library)
-ignition-transport:
-ignition-transport: ignition-transport library combines ZeroMQ with Protobufs to create a
-ignition-transport: fast and efficient message passing system. Asynchronous message
-ignition-transport: publication and subscription is provided along with service calls
-ignition-transport: and discovery. Part of ignition-robotics
-ignition-transport:
-ignition-transport: Homepage: https://ignitionrobotics.org/libraries/transport
-ignition-transport: Ignition Robotics: https://ignitionrobotics.org/
-ignition-transport:
-ignition-transport:
diff --git a/libraries/iksemel/README b/libraries/iksemel/README
index ac3d5c6ba1..9dfa318653 100644
--- a/libraries/iksemel/README
+++ b/libraries/iksemel/README
@@ -3,9 +3,11 @@ iksemel (XML parser for Jabber apps)
iksemel is an XML (eXtensible Markup Language) parser library designed
for Jabber applications.
- * Highly portable, builds on all POSIX environments and Windows (via mingw).
+ * Highly portable, builds on all POSIX environments and Windows (via
+ mingw).
* Suitable for embedded systems. Code is small and highly modular,
- you can trim unneeded parts. Memory usage is low, parser is quite fast.
+ you can trim unneeded parts. Memory usage is low, parser is quite
+ fast.
* Provides SAX, DOM and XMPP parsers.
* TLS (via gnutls) and SASL support for XMPP security.
* Only UTF8 encoding is built-in supported.
diff --git a/libraries/iksemel/iksemel.SlackBuild b/libraries/iksemel/iksemel.SlackBuild
index fb5ec0b960..796f3b1bea 100644
--- a/libraries/iksemel/iksemel.SlackBuild
+++ b/libraries/iksemel/iksemel.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for iksemel - XML parser and library for Jabber
@@ -30,26 +30,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=iksemel
VERSION=${VERSION:-1.4}
-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"
@@ -103,8 +113,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/imageloader/imageloader.SlackBuild b/libraries/imageloader/imageloader.SlackBuild
index 39b61174b7..22cee4b5b6 100644
--- a/libraries/imageloader/imageloader.SlackBuild
+++ b/libraries/imageloader/imageloader.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imageloader
@@ -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=imageloader
VERSION=${VERSION:-0.0.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}
@@ -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/libraries/imgui/CMakeLists.txt b/libraries/imgui/CMakeLists.txt
new file mode 100644
index 0000000000..85544830c0
--- /dev/null
+++ b/libraries/imgui/CMakeLists.txt
@@ -0,0 +1,230 @@
+cmake_minimum_required(VERSION 3.16)
+project(imgui CXX)
+
+set(CMAKE_DEBUG_POSTFIX d)
+
+if(APPLE)
+ set(CMAKE_CXX_STANDARD 11)
+ enable_language(OBJCXX)
+endif()
+
+add_library(${PROJECT_NAME} "")
+add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
+target_include_directories(
+ ${PROJECT_NAME}
+ PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+ $<INSTALL_INTERFACE:include>
+)
+
+target_sources(
+ ${PROJECT_NAME}
+ PRIVATE
+ ${CMAKE_CURRENT_SOURCE_DIR}/imgui.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/imgui_demo.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/imgui_draw.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/imgui_tables.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/imgui_widgets.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/misc/cpp/imgui_stdlib.cpp
+)
+
+target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
+
+if(IMGUI_BUILD_ALLEGRO5_BINDING)
+ find_path(ALLEGRO5_INCLUDE_DIRS allegro5/allegro.h)
+ target_include_directories(${PROJECT_NAME} PRIVATE ${ALLEGRO5_INCLUDE_DIRS})
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_allegro5.cpp)
+endif()
+
+if(IMGUI_BUILD_DX9_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx9.cpp)
+endif()
+
+if(IMGUI_BUILD_DX10_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx10.cpp)
+endif()
+
+if(IMGUI_BUILD_DX11_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx11.cpp)
+endif()
+
+if(IMGUI_BUILD_DX12_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx12.cpp)
+endif()
+
+if(IMGUI_BUILD_GLFW_BINDING)
+ find_package(glfw3 CONFIG REQUIRED)
+ target_link_libraries(${PROJECT_NAME} PUBLIC glfw)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glfw.cpp)
+endif()
+
+if(IMGUI_BUILD_GLUT_BINDING)
+ find_package(GLUT REQUIRED)
+ target_link_libraries(${PROJECT_NAME} PUBLIC GLUT::GLUT)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glut.cpp)
+endif()
+
+if(IMGUI_BUILD_METAL_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_metal.mm)
+ set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_metal.mm PROPERTIES COMPILE_FLAGS -fobjc-weak)
+endif()
+
+if(IMGUI_BUILD_OPENGL2_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl2.cpp)
+endif()
+
+if(IMGUI_BUILD_OPENGL3_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl3.cpp)
+endif()
+
+if(IMGUI_BUILD_OSX_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_osx.mm)
+endif()
+
+if(IMGUI_BUILD_SDL2_BINDING)
+ find_package(SDL2 CONFIG REQUIRED)
+ target_link_libraries(${PROJECT_NAME} PUBLIC SDL2::SDL2)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdl.cpp)
+endif()
+
+if(IMGUI_BUILD_SDL2_RENDERER_BINDING)
+ find_package(SDL2 CONFIG REQUIRED)
+ target_link_libraries(${PROJECT_NAME} PUBLIC SDL2::SDL2)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdlrenderer.cpp)
+endif()
+
+if(IMGUI_BUILD_VULKAN_BINDING)
+ find_package(Vulkan REQUIRED)
+ target_link_libraries(${PROJECT_NAME} PUBLIC Vulkan::Vulkan)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_vulkan.cpp)
+endif()
+
+if(IMGUI_BUILD_WIN32_BINDING)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_win32.cpp)
+endif()
+
+if(IMGUI_FREETYPE)
+ find_package(freetype CONFIG REQUIRED)
+ target_link_libraries(${PROJECT_NAME} PUBLIC freetype)
+ target_sources(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/misc/freetype/imgui_freetype.cpp)
+ target_compile_definitions(${PROJECT_NAME} PUBLIC IMGUI_ENABLE_FREETYPE)
+endif()
+
+if(IMGUI_USE_WCHAR32)
+ target_compile_definitions(${PROJECT_NAME} PUBLIC IMGUI_USE_WCHAR32)
+endif()
+
+list(REMOVE_DUPLICATES BINDINGS_SOURCES)
+
+install(
+ TARGETS ${PROJECT_NAME}
+ EXPORT ${PROJECT_NAME}_target
+ ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
+)
+
+foreach(BINDING_TARGET ${BINDING_TARGETS})
+ install(
+ TARGETS ${BINDING_TARGET}
+ EXPORT ${PROJECT_NAME}_target
+ ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
+ )
+endforeach()
+
+if(NOT IMGUI_SKIP_HEADERS)
+ install(FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/imgui.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/imconfig.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/imgui_internal.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/imstb_textedit.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/imstb_rectpack.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/imstb_truetype.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/misc/cpp/imgui_stdlib.h
+ DESTINATION include
+ )
+
+ if(IMGUI_BUILD_ALLEGRO5_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_allegro5.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_DX9_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx9.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_DX10_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx10.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_DX11_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx11.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_DX12_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_dx12.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_GLFW_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glfw.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_GLUT_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glut.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_METAL_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_metal.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_OPENGL2_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl2.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_OPENGL3_BINDING)
+ install(
+ FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl3.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl3_loader.h
+ DESTINATION
+ include
+ )
+ endif()
+
+ if(IMGUI_BUILD_OSX_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_osx.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_SDL2_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdl.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_SDL2_RENDERER_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdlrenderer.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_VULKAN_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_vulkan.h DESTINATION include)
+ endif()
+
+ if(IMGUI_BUILD_WIN32_BINDING)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_win32.h DESTINATION include)
+ endif()
+
+ if(IMGUI_FREETYPE)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/misc/freetype/imgui_freetype.h DESTINATION include)
+ endif()
+endif()
+
+include(CMakePackageConfigHelpers)
+configure_package_config_file(imgui-config.cmake.in imgui-config.cmake INSTALL_DESTINATION share/imgui)
+
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/imgui-config.cmake DESTINATION share/imgui)
+
+install(
+ EXPORT ${PROJECT_NAME}_target
+ NAMESPACE ${PROJECT_NAME}::
+ FILE ${PROJECT_NAME}-targets.cmake
+ DESTINATION share/${PROJECT_NAME}
+)
diff --git a/libraries/imgui/README b/libraries/imgui/README
new file mode 100644
index 0000000000..dbffc9e81c
--- /dev/null
+++ b/libraries/imgui/README
@@ -0,0 +1,27 @@
+Dear ImGui is a bloat-free graphical user interface library for C++.
+It outputs optimized vertex buffers that you can render anytime in
+your 3D-pipeline enabled application. It is fast, portable, renderer
+agnostic and self-contained (no external dependencies).
+
+Dear ImGui is designed to enable fast iterations and to empower
+programmers to create content creation tools and visualization / debug
+tools (as opposed to UI for the average end-user). It favors
+simplicity and productivity toward this goal, and lacks certain
+features normally found in more high-level libraries.
+
+Dear ImGui is particularly suited to integration in games engine (for
+tooling), real-time 3D applications, fullscreen applications, embedded
+applications, or any applications on consoles platforms where
+operating system features are non-standard.
+
+ * Minimize state synchronization.
+ * Minimize state storage on user side.
+ * Minimize setup and maintenance.
+ * Easy to use to create code-driven and data-driven tools.
+ * Easy to use to create ad hoc short-lived tools and long-lived,
+ more elaborate tools.
+ * Easy to hack and improve.
+ * Portable, minimize dependencies, run on target (consoles, phones,
+ etc.).
+ * Efficient runtime and memory consumption.
+ * Battle-tested, used by many major actors in the game industry.
diff --git a/libraries/imgui/imgui-config.cmake.in b/libraries/imgui/imgui-config.cmake.in
new file mode 100644
index 0000000000..1ea694a10b
--- /dev/null
+++ b/libraries/imgui/imgui-config.cmake.in
@@ -0,0 +1,27 @@
+cmake_policy(SET CMP0012 NEW)
+
+@PACKAGE_INIT@
+
+include(CMakeFindDependencyMacro)
+
+if (@IMGUI_BUILD_GLFW_BINDING@)
+ find_dependency(glfw3 CONFIG)
+endif()
+
+if (@IMGUI_BUILD_GLUT_BINDING@)
+ find_dependency(GLUT)
+endif()
+
+if (@IMGUI_BUILD_SDL2_BINDING@ OR @IMGUI_BUILD_SDL2_RENDERER_BINDING@)
+ find_dependency(SDL2 CONFIG)
+endif()
+
+if (@IMGUI_BUILD_VULKAN_BINDING@)
+ find_dependency(Vulkan)
+endif()
+
+if (@IMGUI_FREETYPE@)
+ find_dependency(freetype CONFIG)
+endif()
+
+include("${CMAKE_CURRENT_LIST_DIR}/imgui-targets.cmake")
diff --git a/libraries/imgui/imgui.SlackBuild b/libraries/imgui/imgui.SlackBuild
new file mode 100644
index 0000000000..5d3f3b9ab2
--- /dev/null
+++ b/libraries/imgui/imgui.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for imgui
+
+# Copyright 2022-2023 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=imgui
+VERSION=${VERSION:-1.89.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
+cp $CWD/CMakeLists.txt .
+cp $CWD/imgui-config.cmake.in .
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+if [ "$LIBDIRSUFFIX" != "" ]; then
+ mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" $PKG/usr/share/$PRGNAM/$PRGNAM-targets-release.cmake
+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 \
+ LICENSE.txt 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/libraries/imgui/imgui.info b/libraries/imgui/imgui.info
new file mode 100644
index 0000000000..4e8f642f2f
--- /dev/null
+++ b/libraries/imgui/imgui.info
@@ -0,0 +1,10 @@
+PRGNAM="imgui"
+VERSION="1.89.8"
+HOMEPAGE="https://github.com/ocornut/imgui"
+DOWNLOAD="https://github.com/ocornut/imgui/archive/v1.89.8/imgui-1.89.8.tar.gz"
+MD5SUM="ccfa9476c4a2e60a4282d3b611f3f433"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/imgui/slack-desc b/libraries/imgui/slack-desc
new file mode 100644
index 0000000000..06c0f256fe
--- /dev/null
+++ b/libraries/imgui/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------------------------------------------------------|
+imgui: imgui (C++ GUI)
+imgui:
+imgui: "Dear ImGui" is a Bloat-free Graphical User interface for C++ with
+imgui: minimal dependencies
+imgui:
+imgui: Homepage: https://github.com/ocornut/imgui
+imgui:
+imgui:
+imgui:
+imgui:
+imgui:
diff --git a/libraries/imlib/README b/libraries/imlib/README
index cf046871dd..0af3dad3e5 100644
--- a/libraries/imlib/README
+++ b/libraries/imlib/README
@@ -1,2 +1,3 @@
Imlib is an advanced replacement library for libraries like libXpm
-that provides many more features with much greater flexibility and speed.
+that provides many more features with much greater flexibility and
+speed.
diff --git a/libraries/imlib/imlib.SlackBuild b/libraries/imlib/imlib.SlackBuild
index 74cdd6e7af..769c3737a9 100644
--- a/libraries/imlib/imlib.SlackBuild
+++ b/libraries/imlib/imlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imlib
@@ -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=imlib
VERSION=${VERSION:-1.9.15}
-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}
@@ -102,8 +112,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS 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/libraries/imlib2/imlib2.SlackBuild b/libraries/imlib2/imlib2.SlackBuild
index 8c6b015521..2561aff34d 100644
--- a/libraries/imlib2/imlib2.SlackBuild
+++ b/libraries/imlib2/imlib2.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imlib2
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# Copyright 2011 Grigorios Bouzakis <grbzks@imap.cc>
# Copyright 2011-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Copyright 2017-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2017-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -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=imlib2
-VERSION=${VERSION:-1.6.1}
+VERSION=${VERSION:-1.12.2}
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}
@@ -62,7 +69,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 . \
@@ -71,10 +78,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 {} \;
-if ! grep -q "my_libs" configure.ac 2>/dev/null; then
- sed -i 's|@my_libs@||' $PRGNAM-config.in
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -92,6 +95,9 @@ 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 -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*/*/*.la
+
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
@@ -100,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/libraries/imlib2/imlib2.info b/libraries/imlib2/imlib2.info
index fba6524b4f..61b34c0a37 100644
--- a/libraries/imlib2/imlib2.info
+++ b/libraries/imlib2/imlib2.info
@@ -1,8 +1,8 @@
PRGNAM="imlib2"
-VERSION="1.6.1"
+VERSION="1.12.2"
HOMEPAGE="https://www.enlightenment.org"
-DOWNLOAD="https://ufpr.dl.sourceforge.net/project/enlightenment/imlib2-src/1.6.1/imlib2-1.6.1.tar.gz"
-MD5SUM="f803909b3b482cdb47e8e94f942d19fb"
+DOWNLOAD="https://sourceforge.net/projects/enlightenment/files/imlib2-src/1.12.2/imlib2-1.12.2.tar.xz"
+MD5SUM="046e7b2c918ae612dbf61dea8b59f37a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/imlib2_loaders/README b/libraries/imlib2_loaders/README
index 369244ecfe..51323d4cce 100644
--- a/libraries/imlib2_loaders/README
+++ b/libraries/imlib2_loaders/README
@@ -1,2 +1,13 @@
+imlib2_loaders (xcf image loader for imlib2)
+
This package contains image loader plugins for Imlib 2 that are not
-distributed together with the Imlib 2 package itself.
+distributed together with the Imlib 2 package itself, for licensing
+reasons. Currently, the only plugin is for XCF, which is the Gimp's
+native file format.
+
+Note: the version number of this build should match the version number
+of imlib2. If you find that this is not the case, please contact the
+maintainer so I can update this.
+
+Note: if you're trying to add .xcf file support to qiv, this package
+won't help. Install xcf-pixbuf-loader instead.
diff --git a/libraries/imlib2_loaders/imlib2_loaders.SlackBuild b/libraries/imlib2_loaders/imlib2_loaders.SlackBuild
index 87ca14d778..5f1cfd065e 100644
--- a/libraries/imlib2_loaders/imlib2_loaders.SlackBuild
+++ b/libraries/imlib2_loaders/imlib2_loaders.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imlib2_loaders
-# Copyright 2017 Azure Zanculmarktum <zanculmarktum@gmail.com>
+# Copyright 2017 Azure Zanculmarktum <email removed>
+# Copyright 2020-2021 Igor Alexandrov <email removed>
+# Copyright 2023 B. Watson (urchlay@gmail.com), current maintainer.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +24,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230902 bkw: update for v1.11.1.
+# Note that the code didn't change between 1.10.0 and 1.11.1. In fact
+# there's a 1.12.0 and *it* has identical code. Basically, upstream
+# (re)releases this whenever the main imlib2 package updates, whether it
+# makes sense or not.
+
+# 20230213 bkw: update for v1.10.0.
+# - take over maintenance.
+# - expand README and slack-desc.
+# - simplify build.
+# - get rid of .la file.
+# - add imlib2 to REQUIRES. it really is a hard dep (always was).
+# - only package the license that actually applies.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imlib2_loaders
-VERSION=${VERSION:-1.4.10}
+VERSION=${VERSION:-1.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -54,20 +77,17 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
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 {} \;
+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" \
@@ -78,17 +98,46 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --disable-eet \
--build=$ARCH-slackware-linux
-
make
make install-strip DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING COPYING-PLAIN COPYING.loader_xcf ChangeLog INSTALL README README.in $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# we don't need this:
+rm -f $PKG/usr/lib*/imlib2/loaders/*.la
+
+# 20230213 bkw: A note about the multiple COPYING files:
+#
+# - COPYING is a BSD/MIT style license. It's the same as COPYING
+# for imlib2. However, the source no longer contains any of
+# the code this license once applied to, so I don't include
+# it in the package. It would be misleading to do so (see below).
+#
+# - COPYING-PLAIN is just the lawyer-to-English translation of
+# COPYING (again, same as imlib2). Not included for the same reason.
+#
+# - COPYING.loader_xcf is the actual license for the single plugin
+# this installs (xcf.so). It's a copy of the GPLv2, because the xcf
+# plugin incorporates code taken from the Gimp, which is GPLv2.
+#
+# If you're wondering about the ./configure message about the "eet"
+# format... it can't be built. Enabling it requires some Enlightenment
+# libraries. If you install those (or even if you don't), then build
+# with --enable-eet, the configure script will tell you "Eet loader
+# is broken". So there's no need to include whatever license the eet
+# loader uses, as we can't include the code anyway.
+#
+# This is more excruciating detail than anyone really cares about.
+# It's mostly a note to myself, to remind me why I didn't include all
+# 3 COPYING* files in the package.
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING.loader_xcf ChangeLog 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/libraries/imlib2_loaders/imlib2_loaders.info b/libraries/imlib2_loaders/imlib2_loaders.info
index 8d5350c15c..2e6fee3c0b 100644
--- a/libraries/imlib2_loaders/imlib2_loaders.info
+++ b/libraries/imlib2_loaders/imlib2_loaders.info
@@ -1,10 +1,10 @@
PRGNAM="imlib2_loaders"
-VERSION="1.4.10"
+VERSION="1.11.1"
HOMEPAGE="https://www.enlightenment.org"
-DOWNLOAD="https://downloads.sourceforge.net/enlightenment/imlib2_loaders-1.4.10.tar.bz2"
-MD5SUM="0c5f36bb2bc52179280536fc4d9a5636"
+DOWNLOAD="https://downloads.sourceforge.net/project/enlightenment/imlib2-src/1.11.1/imlib2_loaders-1.11.1.tar.xz"
+MD5SUM="7364c8390595bc996aa9d2f5e395cb65"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Azure Zanculmarktum"
-EMAIL="zanculmarktum@gmail.com"
+REQUIRES="imlib2"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/imlib2_loaders/slack-desc b/libraries/imlib2_loaders/slack-desc
index 80b8891366..fc65874196 100644
--- a/libraries/imlib2_loaders/slack-desc
+++ b/libraries/imlib2_loaders/slack-desc
@@ -6,12 +6,12 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-imlib2_loaders: imlib2_loaders (additional image loaders for imlib2)
+imlib2_loaders: imlib2_loaders (xcf image loader for imlib2)
imlib2_loaders:
imlib2_loaders: This package contains image loader plugins for Imlib 2 that are not
-imlib2_loaders: distributed together with the Imlib 2 package itself.
-imlib2_loaders:
-imlib2_loaders:
+imlib2_loaders: distributed together with the Imlib 2 package itself, for licensing
+imlib2_loaders: reasons. Currently, the only plugin is for XCF, which is the Gimp's
+imlib2_loaders: native file format.
imlib2_loaders:
imlib2_loaders:
imlib2_loaders:
diff --git a/libraries/iniparser/README b/libraries/iniparser/README
deleted file mode 100644
index f9cd696418..0000000000
--- a/libraries/iniparser/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Iniparser is a free stand-alone INI file parsing library.
-It is written in portable ANSI C and should compile anywhere.
-
-WARNING:
-This package will overwrite Samba's libiniparser.so
-If you remove this package, don't forget to reinstall samba
diff --git a/libraries/iniparser/iniparser.SlackBuild b/libraries/iniparser/iniparser.SlackBuild
deleted file mode 100644
index 17e42fecef..0000000000
--- a/libraries/iniparser/iniparser.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Iniparser
-
-# Copyright 2017, Steven King <kingrst@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=iniparser
-VERSION=${VERSION:-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"
- LDSHFLAGS="-shared -Wl,-Bsymbolic -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath,/usr/lib64"
- LDFLAGS="-Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath,/usr/lib64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar vxf $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" \
-CXFLAGS="$SLKCFLAGS" \
-
-make
-
-find $PKG -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
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-mkdir -p $PKG/usr/include
-
-cp -ar AUTHORS INSTALL LICENSE README.md html $PKG/usr/doc/$PRGNAM-$VERSION
-
-cp -a libiniparser.a libiniparser.so.0 $PKG/usr/lib${LIBDIRSUFFIX}
-
-cp -a ./src/dictionary.h ./src/iniparser.h $PKG/usr/include
-
-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-$(echo $VERSION | tr '-' '_')-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/iniparser/iniparser.info b/libraries/iniparser/iniparser.info
deleted file mode 100644
index de282c9c58..0000000000
--- a/libraries/iniparser/iniparser.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="iniparser"
-VERSION="4.0"
-HOMEPAGE="https://github.com/ndevilla/iniparser"
-DOWNLOAD="https://github.com/ndevilla/iniparser/archive/v4.0/iniparser-4.0.tar.gz"
-MD5SUM="94c7278f8d22de1a31320219b27634b0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Steven King"
-EMAIL="kingrst@gmail.com"
diff --git a/libraries/iniparser/slack-desc b/libraries/iniparser/slack-desc
deleted file mode 100644
index c410aaa786..0000000000
--- a/libraries/iniparser/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------------------------------------------------------|
-iniparser: iniparser (A free stand-alone INI file parsing library)
-iniparser:
-iniparser: It is written in portable ANSI C and should compile anywhere.
-iniparser: Iniparser is distributed under an MIT license.
-iniparser:
-iniparser: Homepage: http://ndevilla.free.fr/iniparser
-iniparser:
-iniparser:
-iniparser:
-iniparser:
-iniparser:
diff --git a/libraries/ipaddress/ipaddress.SlackBuild b/libraries/ipaddress/ipaddress.SlackBuild
index 912be2a00f..2b9ee81e5f 100644
--- a/libraries/ipaddress/ipaddress.SlackBuild
+++ b/libraries/ipaddress/ipaddress.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ipaddress
@@ -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=ipaddress
VERSION=${VERSION:-1.0.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}
@@ -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/libraries/irrlicht/README b/libraries/irrlicht/README
index 760c0776a0..b9bda79953 100644
--- a/libraries/irrlicht/README
+++ b/libraries/irrlicht/README
@@ -1,3 +1,3 @@
-The Irrlicht Engine is an open source high performance realtime 3D engine
-written and usable in C++. It is completely cross-platform, using D3D,
-OpenGL and its own software renderers.
+The Irrlicht Engine is an open source high performance realtime 3D
+engine written and usable in C++. It is completely cross-platform,
+using D3D, OpenGL and its own software renderers.
diff --git a/libraries/irrlicht/irrlicht.SlackBuild b/libraries/irrlicht/irrlicht.SlackBuild
index 71e740ad18..d8075454d0 100644
--- a/libraries/irrlicht/irrlicht.SlackBuild
+++ b/libraries/irrlicht/irrlicht.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for irrlicht
@@ -25,26 +25,36 @@
# Revision date 2013/03/28
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=irrlicht
VERSION=${VERSION:-1.8.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"
@@ -72,6 +82,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 {} \;
+# https://github.com/analogdevicesinc/buildroot/blob/master/package/irrlicht/0002-remove-sys-sysctl.h.patch
+sed -i '/sysctl\.h/d' source/Irrlicht/COSOperator.cpp
+
# Set maximum number of textures.
sed -i '/_IRR_MATERIAL_MAX_TEXTURES_/s|4|8|' include/IrrCompileConfig.h
@@ -104,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/libraries/irrlichtmt/README b/libraries/irrlichtmt/README
new file mode 100644
index 0000000000..7e3a5883c0
--- /dev/null
+++ b/libraries/irrlichtmt/README
@@ -0,0 +1,7 @@
+The Irrlicht Engine is an open source realtime 3D engine
+written in C++.
+
+This is a fork by the Minetest developers that was stripped-down
+and customized specifically for use in Minetest. It is intentionally
+not compatible to upstream and is planned to be eventually absorbed
+into Minetest.
diff --git a/libraries/irrlichtmt/irrlichtmt.SlackBuild b/libraries/irrlichtmt/irrlichtmt.SlackBuild
new file mode 100644
index 0000000000..7a43167dde
--- /dev/null
+++ b/libraries/irrlichtmt/irrlichtmt.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for irrlichtmt
+
+# Copyright 2022-2023 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=irrlichtmt
+SRCNAM=irrlicht
+VERSION=${VERSION:-1.9.0mt13}
+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 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip 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 -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || 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/libraries/irrlichtmt/irrlichtmt.info b/libraries/irrlichtmt/irrlichtmt.info
new file mode 100644
index 0000000000..08fad8e3cc
--- /dev/null
+++ b/libraries/irrlichtmt/irrlichtmt.info
@@ -0,0 +1,10 @@
+PRGNAM="irrlichtmt"
+VERSION="1.9.0mt13"
+HOMEPAGE="https://www.minetest.net/"
+DOWNLOAD="https://github.com/minetest/irrlicht/archive/1.9.0mt13/irrlicht-1.9.0mt13.tar.gz"
+MD5SUM="3fcf43213b0bc887283d8ac19c798122"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/irrlichtmt/slack-desc b/libraries/irrlichtmt/slack-desc
new file mode 100644
index 0000000000..6a0d81d9ca
--- /dev/null
+++ b/libraries/irrlichtmt/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------------------------------------------------------|
+irrlichtmt: irrlichtmt (realtime 3D engine)
+irrlichtmt:
+irrlichtmt: The Irrlicht Engine is an open source realtime 3D engine written in
+irrlichtmt: C++. This is a fork by the Minetest developers that was stripped-down
+irrlichtmt: and customized specifically for use in Minetest. It is intentionally
+irrlichtmt: not compatible to upstream and is planned to be eventually absorbed
+irrlichtmt: into Minetest.
+irrlichtmt:
+irrlichtmt: Homepage: https://www.minetest.net/
+irrlichtmt:
+irrlichtmt:
diff --git a/libraries/isl/README b/libraries/isl/README
deleted file mode 100644
index 342213d403..0000000000
--- a/libraries/isl/README
+++ /dev/null
@@ -1,8 +0,0 @@
-isl is a library for manipulating sets and relations of integer points
-bounded by linear constraints. Supported operations on sets include
-intersection, union, set difference, emptiness check, convex hull,
-(integer) affine hull, integer projection, computings the lexicographic
-minimum using parametric integer programming, coalescing and parametric
-vertex enumeration. It also includes an ILP solver based on generalized
-basis reduction, transitive closures on maps (which may encode infinite
-graphs), dependence analysis and bounds on piecewise step-polynomials.
diff --git a/libraries/isl/isl.SlackBuild b/libraries/isl/isl.SlackBuild
deleted file mode 100644
index 58173fad6d..0000000000
--- a/libraries/isl/isl.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for isl
-
-# Copyright 2017 Jan F. Chadima <jfch@jagda.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.
-
-PRGNAM=isl
-VERSION=${VERSION:-0.18}
-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
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="${SLKCFLAGS:--O2 -march=i586 -mtune=i686}"
- LIBDIRSUFFIX=""
- GNUEABI=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="${SLKCFLAGS:--O2 -march=i686 -mtune=i686}"
- LIBDIRSUFFIX=""
- GNUEABI=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="${SLKCFLAGS:--O2 -fPIC}"
- LIBDIRSUFFIX="64"
- GNUEABI=""
-elif [ "$ARCH" = "arm" ]; then
- SLKCFLAGS="${SLKCFLAGS:--O3 -march=armv4t -mtune=cortex-a6 -fPIC}"
- LIBDIRSUFFIX=""
- GNUEABI="-gnueabi"
-elif [ "$ARCH" = "armv7hl" ]; then
- SLKCFLAGS="${SLKCFLAGS:--O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon-vfpv4 -fPIC}"
- LIBDIRSUFFIX=""
- GNUEABI="-gnueabi"
-else
- SLKCFLAGS="${SLKCFLAGS:--O2}"
- LIBDIRSUFFIX=""
- GNUEABI=""
-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 \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux$GNUEABI
-
-make
-make install DESTDIR=$PKG
-
-# Move gdb extension to its place.
-mkdir -p $PKG/usr/share/gdb/auto-load/usr/lib$LIBDIRSUFFIX
-mv $PKG/usr/lib$LIBDIRSUFFIX/*-gdb.py* \
- $PKG/usr/share/gdb/auto-load/usr/lib$LIBDIRSUFFIX
-
-find $PKG -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 ChangeLog LICENSE README doc/*.bib doc/*.pdf doc/*.pod doc/*.tex \
- $PKG/usr/doc/$PRGNAM-$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/libraries/isl/isl.info b/libraries/isl/isl.info
deleted file mode 100644
index 1784d2ae24..0000000000
--- a/libraries/isl/isl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="isl"
-VERSION="0.18"
-HOMEPAGE="http://isl.gforge.inria.fr"
-DOWNLOAD="http://isl.gforge.inria.fr/isl-0.18.tar.xz"
-MD5SUM="5337cd4c29101fe8e8e1b0f5948f91e2"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Jan F. Chadima"
-EMAIL="jfch@jagda.eu"
diff --git a/libraries/isl/slack-desc b/libraries/isl/slack-desc
deleted file mode 100644
index 8bd67300f0..0000000000
--- a/libraries/isl/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------------------------------------------------------|
-isl: isl (Integer point manipulation library)
-isl:
-isl: isl is a library for manipulating sets and relations of integer
-isl: points bounded by linear constraints.
-isl:
-isl: Homepage: http://isl.gforge.inria.fr/
-isl:
-isl:
-isl:
-isl:
-isl:
diff --git a/libraries/isodate/README b/libraries/isodate/README
deleted file mode 100644
index cbc58d1165..0000000000
--- a/libraries/isodate/README
+++ /dev/null
@@ -1,6 +0,0 @@
-An ISO 8601 date/time/duration parser and formater.
-This module implements ISO 8601 date, time and duration parsing.
-The implementation follows ISO8601:2004 standard, and implements only
-date/time representations mentioned in the standard. If something is not
-mentioned there, then it is treated as non existent, and not as an allowed
-option.
diff --git a/libraries/isodate/isodate.SlackBuild b/libraries/isodate/isodate.SlackBuild
deleted file mode 100644
index 719b345f52..0000000000
--- a/libraries/isodate/isodate.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for isodate
-
-# Copyright 2014-2017 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=isodate
-VERSION=${VERSION:-0.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 {} \;
-
-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/doc/$PRGNAM-$VERSION
-cp -a CHANGES.txt PKG-INFO README.rst 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/libraries/isodate/isodate.info b/libraries/isodate/isodate.info
deleted file mode 100644
index a3eecce167..0000000000
--- a/libraries/isodate/isodate.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="isodate"
-VERSION="0.6.0"
-HOMEPAGE="https://pypi.python.org/pypi/isodate"
-DOWNLOAD="https://pypi.python.org/packages/b1/80/fb8c13a4cd38eb5021dc3741a9e588e4d1de88d895c1910c6fc8a08b7a70/isodate-0.6.0.tar.gz"
-MD5SUM="0e1203fce27ce65e2d01c5f21c4d428f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="six"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/isodate/slack-desc b/libraries/isodate/slack-desc
deleted file mode 100644
index 0760bfb82b..0000000000
--- a/libraries/isodate/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------------------------------------------------------|
-isodate: isodate (An ISO 8601 date/time/duration parser and formater)
-isodate:
-isodate: This module implements ISO 8601 date, time and duration parsing.
-isodate: The implementation follows ISO8601:2004 standard, and implements
-isodate: only date/time representations mentioned in the standard.
-isodate:
-isodate: Homepage: https://pypi.python.org/pypi/isodate
-isodate:
-isodate:
-isodate:
-isodate:
diff --git a/libraries/itcl/README b/libraries/itcl/README
index 08c815a7ed..8b3c479017 100644
--- a/libraries/itcl/README
+++ b/libraries/itcl/README
@@ -1,16 +1,17 @@
[incr Tcl] is an object system for the Tcl programming language.
-[incr Tcl] provides the extra language support needed to build large Tcl/Tk
-applications. It introduces the notion of objects, which act as building
-blocks for an application. Each object is a bag of data with a set of
-procedures or "methods" that are used to manipulate it. Objects are
-organized into "classes" with identical characteristics, and classes can
-inherit functionality from one another. This object-oriented paradigm adds
-another level of organization on top of the basic variable/procedure
-elements, and the resulting code is easier to understand and maintain.
+[incr Tcl] provides the extra language support needed to build
+large Tcl/Tk applications. It introduces the notion of objects,
+which act as building blocks for an application. Each object
+is a bag of data with a set of procedures or "methods" that are
+used to manipulate it. Objects are organized into "classes" with
+identical characteristics, and classes can inherit functionality
+from one another. This object-oriented paradigm adds another level of
+organization on top of the basic variable/procedure elements, and the
+resulting code is easier to understand and maintain.
The Tcl package of Slackware 14.1 contains itcl-4.0.0.
-This package contains the older itcl-3.4.0 which may be required by some
-programs like mcu8051ide. This package may be installed in a Slackware 14.1
-system without conflicting with the Slackware package.
+This package contains the older itcl-3.4.0 which may be required by
+some programs like mcu8051ide. This package may be installed in a
+Slackware 14.1 system without conflicting with the Slackware package.
diff --git a/libraries/itcl/itcl.SlackBuild b/libraries/itcl/itcl.SlackBuild
index 489679c071..0c596d2d98 100644
--- a/libraries/itcl/itcl.SlackBuild
+++ b/libraries/itcl/itcl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for itcl
# Originally written by Richard Ellis <rellis@dp100.com>
@@ -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=itcl
VERSION=${VERSION:-3.4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
TCL=${TCL:-8.5.11}
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"
@@ -117,8 +127,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a license.terms $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/libraries/jai-imageio/README b/libraries/jai-imageio/README
deleted file mode 100644
index 12a0dac163..0000000000
--- a/libraries/jai-imageio/README
+++ /dev/null
@@ -1,3 +0,0 @@
-JAI Image I/O Tools provides reader, writer, and stream plug-ins for the JavaTM
-Image I/O Framework and Image I/O-based read and write operations for JavaTM
-Advanced Imaging.
diff --git a/libraries/jai-imageio/jai-imageio.SlackBuild b/libraries/jai-imageio/jai-imageio.SlackBuild
deleted file mode 100644
index 1d76aee36a..0000000000
--- a/libraries/jai-imageio/jai-imageio.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for jai-imageio
-
-# Copyright 2014 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=jai-imageio
-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=x86_64 ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-SRCNAM=`echo $PRGNAM | tr - _`
-SRCVER=`echo $VERSION | tr . _`
-if [ "$ARCH" = "x86_64" ]; then
- PKGARCH=$ARCH
- SRCARCH=amd64
-elif [ "$ARCH" = "arm" ]; then
- printf "\narm is unsupported ...\n\n"
- exit 1
-else
- PKGARCH=$ARCH
- SRCARCH=i586
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCNAM-$SRCVER-lib-linux-$SRCARCH.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 {} \;
-
-mkdir -p $PKG/$JAVA_HOME/jre/lib/$SRCARCH
-cp -a lib/*.so $PKG/$JAVA_HOME/jre/lib/$SRCARCH
-
-mkdir -p $PKG/$JAVA_HOME/jre/lib/ext
-cp -a lib/*.jar $PKG/$JAVA_HOME/jre/lib/ext
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT-jai_imageio.txt DISTRIBUTIONREADME-jai_imageio.txt ENTITLEMENT-jai_imageio.txt LICENSE-jai_imageio.txt THIRDPARTYLICENSEREADME-jai_imageio.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir $PKG/install
-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/libraries/jai-imageio/jai-imageio.info b/libraries/jai-imageio/jai-imageio.info
deleted file mode 100644
index 87d2aeb733..0000000000
--- a/libraries/jai-imageio/jai-imageio.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jai-imageio"
-VERSION="1.1"
-HOMEPAGE="https://download.java.net/media/jai-imageio/builds/release/1.1/INSTALL-jai_imageio.html"
-DOWNLOAD="https://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-i586.tar.gz"
-MD5SUM="8f467118068a7dfefbe1c22ab43a22f3"
-DOWNLOAD_x86_64="https://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-amd64.tar.gz"
-MD5SUM_x86_64="163a33949d92930372dd1f59702f791e"
-REQUIRES="jai"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/jai-imageio/slack-desc b/libraries/jai-imageio/slack-desc
deleted file mode 100644
index 3e9594bd12..0000000000
--- a/libraries/jai-imageio/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------------------------------------------------------|
-jai-imageio: jai-imageio (Java Advanced Imaging Image I/O Tools)
-jai-imageio:
-jai-imageio: JAI Image I/O Tools provides reader, writer, and stream plug-ins for
-jai-imageio: the JavaTM Image I/O Framework and Image I/O-based read and write
-jai-imageio: operations for JavaTM Advanced Imaging.
-jai-imageio:
-jai-imageio:
-jai-imageio:
-jai-imageio:
-jai-imageio:
-jai-imageio:
diff --git a/libraries/jai/README b/libraries/jai/README
deleted file mode 100644
index 1cb05aec28..0000000000
--- a/libraries/jai/README
+++ /dev/null
@@ -1,3 +0,0 @@
-The Java Advanced Imaging API is an advanced image manipulation library built
-by Oracle. This package provides a native implementation which provides better
-performance than a pure Java version.
diff --git a/libraries/jai/jai.SlackBuild b/libraries/jai/jai.SlackBuild
deleted file mode 100644
index d148883624..0000000000
--- a/libraries/jai/jai.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for jai
-
-# Copyright 2014 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=jai
-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=x86_64 ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-SRCVER=`echo $VERSION | tr . _`
-if [ "$ARCH" = "x86_64" ]; then
- PKGARCH=$ARCH
- SRCARCH=amd64
-elif [ "$ARCH" = "arm" ]; then
- printf "\narm is unsupported ...\n\n"
- exit 1
-else
- PKGARCH=$ARCH
- SRCARCH=i586
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER-lib-linux-$SRCARCH.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 {} \;
-
-mkdir -p $PKG/$JAVA_HOME/jre/lib/$SRCARCH
-cp -a lib/*.so $PKG/$JAVA_HOME/jre/lib/$SRCARCH
-
-mkdir -p $PKG/$JAVA_HOME/jre/lib/ext
-cp -a lib/*.jar $PKG/$JAVA_HOME/jre/lib/ext
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT-jai.txt DISTRIBUTIONREADME-jai.txt LICENSE-jai.txt THIRDPARTYLICENSEREADME-jai.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/jai/jai.info b/libraries/jai/jai.info
deleted file mode 100644
index 3bb9bbea16..0000000000
--- a/libraries/jai/jai.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jai"
-VERSION="1.1.3"
-HOMEPAGE="https://download.java.net/media/jai/builds/release/1_1_3/README.html"
-DOWNLOAD="https://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-i586.tar.gz"
-MD5SUM="a2cbc155ef3899bcde9c74a8035764b3"
-DOWNLOAD_x86_64="https://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64.tar.gz"
-MD5SUM_x86_64="4a906db35612f668aeef2c0606d7075b"
-REQUIRES="jdk"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/jai/slack-desc b/libraries/jai/slack-desc
deleted file mode 100644
index b7a0d9f363..0000000000
--- a/libraries/jai/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------------------------------------------------------|
-jai: jai (native Java Advanced Imaging library)
-jai:
-jai: Native implementation of the Java Advanced Imaging library.
-jai:
-jai:
-jai:
-jai:
-jai:
-jai:
-jai:
-jai:
diff --git a/libraries/jansson/README b/libraries/jansson/README
deleted file mode 100644
index 658898eea1..0000000000
--- a/libraries/jansson/README
+++ /dev/null
@@ -1 +0,0 @@
-Jansson is a C library for encoding, decoding and manipulating JSON data.
diff --git a/libraries/jansson/jansson.SlackBuild b/libraries/jansson/jansson.SlackBuild
deleted file mode 100644
index 442ed044e0..0000000000
--- a/libraries/jansson/jansson.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for jansson
-
-# Copyright 2014-2018 Larry Hajali <larryhaja[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.
-
-PRGNAM=jansson
-VERSION=${VERSION:-2.12}
-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 \
- --enable-static=no \
- --disable-silent-rules \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES 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:-tgz}
diff --git a/libraries/jansson/jansson.info b/libraries/jansson/jansson.info
deleted file mode 100644
index edd491c9fd..0000000000
--- a/libraries/jansson/jansson.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="jansson"
-VERSION="2.12"
-HOMEPAGE="http://www.digip.org/jansson/"
-DOWNLOAD="http://www.digip.org/jansson/releases/jansson-2.12.tar.bz2"
-MD5SUM="317dbaf90a9f85ea0ec7b12d080d173d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/libraries/jansson/slack-desc b/libraries/jansson/slack-desc
deleted file mode 100644
index 9379939173..0000000000
--- a/libraries/jansson/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------------------------------------------------------|
-jansson: jansson (C library)
-jansson:
-jansson: Jansson is a C library for encoding, decoding and manipulating JSON
-jansson: data.
-jansson:
-jansson: Homepage: http://www.digip.org/jansson/
-jansson:
-jansson:
-jansson:
-jansson:
-jansson:
diff --git a/libraries/jbig2dec/README b/libraries/jbig2dec/README
index 214a0f08f4..f00bd01f83 100644
--- a/libraries/jbig2dec/README
+++ b/libraries/jbig2dec/README
@@ -1,6 +1,9 @@
-jbig2dec is a decoder implementation of the JBIG2 image compression format.
+jbig2dec (a JBIG2 decoder)
+
+jbig2dec is a decoder implementation of the JBIG2 image compression
+format.
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
-monochrome) images at moderately high resolution, and in particular scanned
-paper documents. In this domain it is very efficient, offering compression
-ratios on the order of 100:1.
+monochrome) images at moderately high resolution, and in particular
+scanned paper documents. In this domain it is very efficient, offering
+compression ratios on the order of 100:1.
diff --git a/libraries/jbig2dec/jbig2dec.SlackBuild b/libraries/jbig2dec/jbig2dec.SlackBuild
index b1fdac0dad..642b4c2e1c 100644
--- a/libraries/jbig2dec/jbig2dec.SlackBuild
+++ b/libraries/jbig2dec/jbig2dec.SlackBuild
@@ -1,15 +1,19 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jbig2dec
# Originally written by Hubert Hesse <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/
# for details.
+# 20231108 bkw: update for v0.20
+# 20211124 bkw: BUILD=2, remove .la file
+# 20201103 bkw: update for v0.19
+# 20200314 bkw: update for v0.18
# 20191208 bkw: update for v0.17
# 20180904 bkw: update for v0.15
@@ -37,10 +41,13 @@
# - Use 'make install-strip'
# - Added 'how to edit' stuff to slack-desc
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jbig2dec
-VERSION=${VERSION:-0.17}
+VERSION=${VERSION:-0.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -50,7 +57,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}
@@ -101,9 +112,8 @@ CXXFLAGS="$SLKCFLAGS" \
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
+gzip -9 $PKG/usr/man/man1/*
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README LICENSE COPYING CHANGES $PKG/usr/doc/$PRGNAM-$VERSION
@@ -113,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/jbig2dec/jbig2dec.info b/libraries/jbig2dec/jbig2dec.info
index 5313e785fa..71e8c17b9d 100644
--- a/libraries/jbig2dec/jbig2dec.info
+++ b/libraries/jbig2dec/jbig2dec.info
@@ -1,10 +1,10 @@
PRGNAM="jbig2dec"
-VERSION="0.17"
+VERSION="0.20"
HOMEPAGE="https://github.com/ArtifexSoftware/jbig2dec"
-DOWNLOAD="https://github.com/ArtifexSoftware/jbig2dec/archive/0.17/jbig2dec-0.17.tar.gz"
-MD5SUM="924c65c4c4f02baa6adb77c03bcb97db"
+DOWNLOAD="https://github.com/ArtifexSoftware/jbig2dec/archive/0.20/jbig2dec-0.20.tar.gz"
+MD5SUM="8777780b182830b2e4c65216f53a909e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/jbig2enc/configure.ac.patch b/libraries/jbig2enc/configure.ac.patch
new file mode 100644
index 0000000000..0f3908d931
--- /dev/null
+++ b/libraries/jbig2enc/configure.ac.patch
@@ -0,0 +1,20 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,7 +2,7 @@
+ AC_INIT([jbig2enc], [0.28], [agl@imperialviolet.org], [jbig2enc-0.28],
+ [https://github.com/agl/jbig2enc])
+ AC_CONFIG_MACRO_DIR([m4])
+-AM_INIT_AUTOMAKE([-Wall -Werror foreign no-dependencies])
++AM_INIT_AUTOMAKE([-Wall foreign no-dependencies])
+
+ # this should fix automake 1.12 build and compatible with automake 1.11
+ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+@@ -73,7 +73,7 @@
+ fi],
+ [libtool_patch_use_rpath=$enable_rpath])
+
+-AC_CHECK_LIB([lept], [findFileFormatStream], [], [
++AC_CHECK_LIB([leptonica], [findFileFormatStream], [], [
+ echo "Error! Leptonica not detected."
+ exit -1
+ ])
diff --git a/libraries/jbig2enc/jbig2enc-2019.09.08-leptonica-1.83.0.patch b/libraries/jbig2enc/jbig2enc-2019.09.08-leptonica-1.83.0.patch
new file mode 100644
index 0000000000..f80d41ccdd
--- /dev/null
+++ b/libraries/jbig2enc/jbig2enc-2019.09.08-leptonica-1.83.0.patch
@@ -0,0 +1,42 @@
+--- a/src/jbig2.cc
++++ b/src/jbig2.cc
+@@ -29,6 +29,8 @@
+ #endif
+
+ #include <leptonica/allheaders.h>
++#include <leptonica/array_internal.h>
++#include <leptonica/pix_internal.h>
+
+ #include "jbig2enc.h"
+
+--- a/src/jbig2enc.cc
++++ b/src/jbig2enc.cc
+@@ -24,6 +24,8 @@
+ #include <string.h>
+
+ #include <leptonica/allheaders.h>
++#include <leptonica/array_internal.h>
++#include <leptonica/pix_internal.h>
+
+ #include <math.h>
+ #if defined(sun)
+@@ -206,7 +208,7 @@
+ numaSetValue(ctx->classer->naclass, i, new_representant);
+ }
+ }
+- pixChangeRefcount(ctx->classer->pixat->pix[new_representant],pixGetRefcount(ctx->classer->pixat->pix[second_template]));
++ ctx->classer->pixat->pix[new_representant]->refcount += ctx->classer->pixat->pix[second_template]->refcount;
+ }
+ return 0;
+ }
+--- a/src/jbig2sym.cc
++++ b/src/jbig2sym.cc
+@@ -29,6 +29,8 @@
+ #include <stdio.h>
+
+ #include <leptonica/allheaders.h>
++#include <leptonica/array_internal.h>
++#include <leptonica/pix_internal.h>
+
+ #include <math.h>
+
diff --git a/libraries/jbig2enc/jbig2enc.SlackBuild b/libraries/jbig2enc/jbig2enc.SlackBuild
index eed23afbef..c095d1f88c 100644
--- a/libraries/jbig2enc/jbig2enc.SlackBuild
+++ b/libraries/jbig2enc/jbig2enc.SlackBuild
@@ -1,15 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jbig2enc
-# 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.
+# 20230104 bkw: BUILD=3, remove INSTALL
+# 20211124 bkw: BUILD=2, remove .la file
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jbig2enc
VERSION=${VERSION:-0.29}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-4}
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}
@@ -52,11 +62,11 @@ rm -rf $TARNAM
tar xvf $CWD/$TARNAM.tar.gz
cd $TARNAM
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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/jbig2enc-2019.09.08-leptonica-1.83.0.patch
+patch -p1 < $CWD/configure.ac.patch
autoreconf -if
@@ -75,6 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
# man pages written for this SlackBuild, submitted upstream for
# consideration.
@@ -86,11 +97,13 @@ for i in $MANPAGES; do
done
# docs already installed, except this one:
-cp -a fcd14492.pdf $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+cp -a fcd14492.pdf $PKGDOC
+rm -f $PKGDOC/INSTALL
+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/libraries/jbig2enc/jbig2enc.info b/libraries/jbig2enc/jbig2enc.info
index ef43beb47c..b9b514c1b9 100644
--- a/libraries/jbig2enc/jbig2enc.info
+++ b/libraries/jbig2enc/jbig2enc.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="leptonica"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/jbigkit/jbigkit.SlackBuild b/libraries/jbigkit/jbigkit.SlackBuild
index 9b76643d99..dd7811bd68 100644
--- a/libraries/jbigkit/jbigkit.SlackBuild
+++ b/libraries/jbigkit/jbigkit.SlackBuild
@@ -1,28 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jbigkit
# Written by Iskar Enev <iskar.enev[@]gmail.com>
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip binaries and libraries.
+# - rename INSTALL in doc dir (it's not useless; shut sbopkglint up).
+# Note to maintainer: you should consider getting rid of the static
+# libraries. Our policy is not to ship static libs unless they are
+# required by some other build.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jbigkit
VERSION=${VERSION:-2.1}
-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"
@@ -40,15 +54,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \+
# Build the shared library first
cd libjbig
@@ -62,9 +76,6 @@ cd -
# ... and all the rest
make CCFLAGS="$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
-
# There is no "install" target in the Makefile...
# The man 5 files in pbmtools are inclueded netpbm-10.35.2
@@ -74,14 +85,18 @@ cp -a pbmtools/{jbgtopbm,pbmtojbg,jbgtopbm85,pbmtojbg85} $PKG/usr/bin
cp -a pbmtools/*.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man1/*.1
cp -a libjbig/jbig.h libjbig/jbig85.h libjbig/jbig_ar.h $PKG/usr/include
-cp -a libjbig/libjbig.* $PKG/usr/lib$LIBDIRSUFFIX
+cp -a libjbig/libjbig.* libjbig/libjbig85.a $PKG/usr/lib$LIBDIRSUFFIX
+
+find $PKG -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 -a ANNOUNCE CHANGES INSTALL COPYING TODO libjbig/*.txt examples \
+cp -a ANNOUNCE CHANGES COPYING TODO libjbig/*.txt examples \
$PKG/usr/doc/$PRGNAM-$VERSION
+cp -a INSTALL $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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/jcal/jcal.SlackBuild b/libraries/jcal/jcal.SlackBuild
index badb9cb880..5ad6488c44 100644
--- a/libraries/jcal/jcal.SlackBuild
+++ b/libraries/jcal/jcal.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jcal
@@ -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=jcal
VERSION=${VERSION:-0.4.1}
-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,8 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL README TODO NEWS 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/libraries/jogamp/README b/libraries/jogamp/README
new file mode 100644
index 0000000000..67ab289db5
--- /dev/null
+++ b/libraries/jogamp/README
@@ -0,0 +1,54 @@
+JogAmp is a project that develops a collection of high performance
+Java™ libraries for 3D Graphics, Multimedia and Processing.
+This platform provide Java™ language bindings to the OpenGL®,
+OpenCL™, OpenAL and OpenMAX APIs.
+
+The platform consists of four modules:
+
+- Gluegen. This is a tool which automatically generates the Java code
+ and Java Native Interface code necessary to call C libraries. It is
+ also needed to build the other modules of JogAmp.
+- JOGL (Java OpenGL). It is the main module of JogAmp. It provides
+ access to the APIs in the OpenGL, ES, and EGL specifications. The
+ module includes also a native windowing toolkit, NEWT.
+- JOAL (Java OpenAL). It implements the Java bindings for OpenAL API
+ and is designed to provide hardware-supported 3D spatialized audio.
+- JOCL (Java OpenCL). It provides the Java bindings for OpenCL API.
+
+By default this script builds the package to install by default the
+modules Gluegen and JOGL. The build of JOAL is optional and enabled by
+default but can be disabled passing the following environment variable
+ JOAL=no ./jogamp.SlackBuild
+
+The build of module JOCL is optional and disabled by default. To
+enable it pass the following environment variable
+ JOCL=yes ./jogamp.SlackBuild
+
+Furthermore:
+
+1. The script requires the setting of the system environment
+ variable $JAVA_HOME that should be available with an usual
+ configuration. If not, please to set it before launch the script
+ export JAVA_HOME=<path to your JDK installation>
+ (for example: export JAVA_HOME=/usr/lib64/openjdk17)
+
+2. The path of Java executables (java, javac, ecc.) should be included
+ in the system environment variable $PATH of root user. If not you
+ have to set a full path to $JAVA_HOME/bin as following
+ export PATH=$JAVA_HOME/bin:$PATH
+
+3. The build requires an installed openJDK 17 compliant SDK available
+ in the SBo repository. This script is tested with the package
+ zulu-openJDK17 but it should work also with the openJDK17 package.
+ The build against jdk (8u361) or jdk19 packages is not sure.
+
+4. At the end, this slackbuild is still experimental because the
+ installation is not tested in runtime with the development of
+ applets and Java applications or the acquire as dependency by
+ packages that supports JogAmp. At the moment, the script installs
+ the JAR archives compatible with all platforms and the libraries,
+ but it is not sure if the compilers get access to these bindings.
+ So, it is possible that something still needs to be added or set in
+ the configuration post installation. If you would contribute,
+ please report to the mantainer for any issue or feedback to fix,
+ extend, and/or improve the slackbuild.
diff --git a/libraries/jogamp/jogamp.SlackBuild b/libraries/jogamp/jogamp.SlackBuild
new file mode 100644
index 0000000000..59b3154c07
--- /dev/null
+++ b/libraries/jogamp/jogamp.SlackBuild
@@ -0,0 +1,200 @@
+#!/bin/bash
+
+# Slackware build script for jogamp
+
+# Copyright 2023 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=jogamp
+VERSION=${VERSION:-2.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# The environment variable $JAVA_HOME is needed to pass the
+# path of the JDK installed. This should be available as
+# system environment variable. If not we have to pass it to
+# the script manually
+RTJAR=${RTJAR:-${JAVA_HOME}/lib/rt.jar}
+if [ "$JAVA_HOME" = "" ]; then
+ echo "* * * * * * * * * * * WARNING * * * * * * * * * * * *"
+ echo "* *"
+ echo "* CANNOT FIND THE HOME DIRECTORY OF JAVA SDK IN YOUR *"
+ echo "* SYSTEM. PLEASE LAUNCH THIS SCRIPT PASSING THE *"
+ echo "* ENVIRONMENT VARIABLE \$JAVA_HOME as following *"
+ echo "* *"
+ echo "* \$JAVA_HOME=<path of your SDK> ./jogamp.SlackBuild *"
+ echo "* *"
+ echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * *"
+ exit
+fi
+
+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
+mkdir $PRGNAM
+cd $PRGNAM
+tar xvf $CWD/gluegen-v$VERSION.tar.xz
+tar xvf $CWD/jcpp-v$VERSION.tar.xz
+cp -a jcpp-v$VERSION/src gluegen-v$VERSION/jcpp/
+mv gluegen-v$VERSION gluegen
+tar xvf $CWD/jogl-v$VERSION.tar.xz
+cp -a jcpp-v$VERSION/src jogl-v$VERSION/jcpp/
+mv jogl-v$VERSION jogl
+if [ "${JOAL:-yes}" = "yes" ]; then
+ tar xvf $CWD/joal-v$VERSION.tar.xz
+ cp -a jcpp-v$VERSION/src joal-v$VERSION/jcpp/
+ mv joal-v$VERSION joal
+fi
+if [ "${JOCL:-no}" != "no" ]; then
+ tar xvf $CWD/jocl-v$VERSION.tar.xz
+ cp -a jcpp-v$VERSION/src jocl-v$VERSION/jcpp/
+ mv jocl-v$VERSION jocl
+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 {} \;
+
+unset CLASSPATH
+export SOURCE_LEVEL=1.8
+export TARGET_LEVEL=1.8
+export TARGET_RT_JAR=$RTJAR
+
+echo "************ Building of gluegen module *********************"
+cd gluegen/make
+ant clean
+ant
+ant junit.run
+
+if [ "${JOAL}" != "no" ]; then
+echo "************ Building of Joal module *********************"
+ cd ../../joal/make
+ ant clean
+ ant
+else
+echo "************ Bulding of Joal module skipped *******************"
+fi
+
+echo "************ Building of Jogl module *********************"
+cd ../../jogl/make
+ant clean
+ant
+
+if [ "${JOCL}" = "yes" ]; then
+echo "************ Building of Jocl module *********************"
+ cd ../../jocl/make
+ ant
+else
+echo "************ Bulding of Jocl module skipped *******************"
+fi
+
+cd ../../
+
+# fix some bad perms in doc files that have to install
+chmod 644 gluegen/LICENSE.txt joal/LICENSE.txt
+
+# Prepare the three of package
+mkdir -p $PKG/usr/share/java
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/jogamp
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/gluegen
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/jogl
+if [ "${JOAL}" != "no" ]; then
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/joal
+fi
+if [ "${JOCL}" = "yes" ]; then
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/jocl
+fi
+
+( cp -a gluegen/build/gluegen-rt.jar $PKG/usr/share/java )
+( cp -a gluegen/build/obj/*.so $PKG/usr/lib${LIBDIRSUFFIX}/jogamp )
+( cp -a gluegen/LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION/gluegen )
+if [ "${JOAL}" != "no" ]; then
+ ( cp -a joal/build/jar/joal.jar $PKG/usr/share/java )
+ ( cp -a joal/build/obj/*.so $PKG/usr/lib${LIBDIRSUFFIX}/jogamp )
+ ( cp -a joal/LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION/joal )
+ ( cp -a joal/README.txt $PKG/usr/doc/$PRGNAM-$VERSION/joal )
+fi
+( cp -a jogl/build/jar/jogl-all.jar $PKG/usr/share/java )
+( cp -a jogl/build/lib/*.so $PKG/usr/lib${LIBDIRSUFFIX}/jogamp )
+( cp -a jogl/LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION/jogl )
+( cp -a jogl/README.txt $PKG/usr/doc/$PRGNAM-$VERSION/jogl )
+if [ "${JOCL}" = "yes" ]; then
+ ( cp -a jocl/build/jar/jocl.jar $PKG/usr/share/java )
+ ( cp -a jocl/build/obj/*.so $PKG/usr/lib${LIBDIRSUFFIX}/jogamp )
+ ( cp -a jocl/LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION/jocl )
+ ( cp -a jocl/README.txt $PKG/usr/doc/$PRGNAM-$VERSION/jocl )
+fi
+
+( cd $PKG/usr/share/java ; rm -f jogl.jar )
+( cd $PKG/usr/share/java ; ln -sf jogl-all.jar jogl.jar )
+
+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
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/jogamp/jogamp.info b/libraries/jogamp/jogamp.info
new file mode 100644
index 0000000000..7f838ba714
--- /dev/null
+++ b/libraries/jogamp/jogamp.info
@@ -0,0 +1,18 @@
+PRGNAM="jogamp"
+VERSION="2.4.0"
+HOMEPAGE="https://jogamp.org/"
+DOWNLOAD="https://jogamp.org/deployment/v2.4.0/archive/Sources/gluegen-v2.4.0.tar.xz \
+ https://jogamp.org/deployment/v2.4.0/archive/Sources/jcpp-v2.4.0.tar.xz \
+ https://jogamp.org/deployment/v2.4.0/archive/Sources/joal-v2.4.0.tar.xz \
+ https://jogamp.org/deployment/v2.4.0/archive/Sources/jocl-v2.4.0.tar.xz \
+ https://jogamp.org/deployment/v2.4.0/archive/Sources/jogl-v2.4.0.tar.xz"
+MD5SUM="8d86f1dddcbae130268215f1760dc461 \
+ fce6ee70e0fb6fa393ccbadf42361d20 \
+ 4464164eaf91f723dd65890d7ff8093a \
+ d3dae1dfe275431417be0a1a6800dddb \
+ 44ee4fa39d81366bedf1ead918f102eb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="apache-ant p7zip zulu-openjdk17"
+MAINTAINER="Giancarlo Dessì"
+EMAIL="slack@giand.it"
diff --git a/libraries/jogamp/slack-desc b/libraries/jogamp/slack-desc
new file mode 100644
index 0000000000..8f5c90f2e6
--- /dev/null
+++ b/libraries/jogamp/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------------------------------------------------------|
+jogamp: jogamp (Java libraries for 3D Graphics, Multimedia and Processing)
+jogamp:
+jogamp: JogAmp is a collection of high performance Java libraries for 3D
+jogamp: Graphics, Multimedia and Processing.
+jogamp: JOGL, JOCL and JOAL provide cross platform Java language bindings
+jogamp: to the OpenGL, OpenCL, OpenAL and OpenMAX APIs.
+jogamp:
+jogamp: Home page: https://jogamp.org/
+jogamp:
+jogamp:
+jogamp:
diff --git a/libraries/jreen/jreen.SlackBuild b/libraries/jreen/jreen.SlackBuild
index 1a1c4c4b67..bb037775f2 100644
--- a/libraries/jreen/jreen.SlackBuild
+++ b/libraries/jreen/jreen.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jreen
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jreen
VERSION=${VERSION:-1.3.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}
@@ -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/libraries/jreen/jreen.info b/libraries/jreen/jreen.info
index f15a8d90a0..d9fa5b85a5 100644
--- a/libraries/jreen/jreen.info
+++ b/libraries/jreen/jreen.info
@@ -1,10 +1,10 @@
PRGNAM="jreen"
VERSION="1.3.0"
HOMEPAGE="https://github.com/euroelessar/jreen"
-DOWNLOAD="https://github.com/euroelessar/jreen/archive/v1.3.0.tar.gz"
+DOWNLOAD="https://github.com/euroelessar/jreen/archive/v1.3.0/jreen-1.3.0.tar.gz"
MD5SUM="344d1d0b9b76ce64744c6d915ed125fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgsasl"
+REQUIRES="libgsasl qt4"
MAINTAINER="Thorn Inurcide"
EMAIL="thorn_inurcide@zoho.com"
diff --git a/libraries/json-glib/README b/libraries/json-glib/README
deleted file mode 100644
index 84d3d2669b..0000000000
--- a/libraries/json-glib/README
+++ /dev/null
@@ -1,3 +0,0 @@
-JSON-GLib is a library providing serialization and deserialization
-support for the JavaScript Object Notation (JSON) format described
-by RFC 4627.
diff --git a/libraries/json-glib/json-glib.SlackBuild b/libraries/json-glib/json-glib.SlackBuild
deleted file mode 100644
index acf870593e..0000000000
--- a/libraries/json-glib/json-glib.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for JSON-Glib
-#
-# Copyright 2009-2017 Erik W. Hanson, Minneapolis, 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=json-glib
-VERSION=${VERSION:-1.2.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 -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" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --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 ABOUT-NLS COPYING ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-ln -s /usr/share/gtk-doc/html/json-glib $PKG/usr/doc/$PRGNAM-$VERSION/html
-
-mkdir -p $PKG/install
-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/libraries/json-glib/json-glib.info b/libraries/json-glib/json-glib.info
deleted file mode 100644
index 50a013fe73..0000000000
--- a/libraries/json-glib/json-glib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="json-glib"
-VERSION="1.2.8"
-HOMEPAGE="http://live.gnome.org/JsonGlib"
-DOWNLOAD="http://ftp.acc.umu.se/pub/GNOME/sources/json-glib/1.2/json-glib-1.2.8.tar.xz"
-MD5SUM="ff31e7d0594df44318e12facda3d086e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
diff --git a/libraries/json-glib/slack-desc b/libraries/json-glib/slack-desc
deleted file mode 100644
index 3f96be22b3..0000000000
--- a/libraries/json-glib/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------------------------------------------------------|
-json-glib: json-glib (a de/serialization library for the JS Object Notation)
-json-glib:
-json-glib: JSON-GLib is a library providing serialization and deserialization
-json-glib: support for the JavaScript Object Notation (JSON) format described
-json-glib: by RFC 4627.
-json-glib:
-json-glib: Homepage: http://live.gnome.org/JsonGlib
-json-glib:
-json-glib:
-json-glib:
-json-glib:
diff --git a/libraries/json-parser/json-parser.SlackBuild b/libraries/json-parser/json-parser.SlackBuild
index 0829564b44..d3be065e10 100644
--- a/libraries/json-parser/json-parser.SlackBuild
+++ b/libraries/json-parser/json-parser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for json-parser
@@ -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=json-parser
VERSION=${VERSION:-1.1.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}
@@ -95,8 +105,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/jsoncpp/jsoncpp.SlackBuild b/libraries/jsoncpp/jsoncpp.SlackBuild
index 472f66ab38..ca6b445856 100644
--- a/libraries/jsoncpp/jsoncpp.SlackBuild
+++ b/libraries/jsoncpp/jsoncpp.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jsoncpp
-# Copyright 2014-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2023 Steven Voges <Oregon, USA>
+# Copyright 2014-2020 Larry Hajali <larryhaja[at]gmail[dot]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=jsoncpp
-VERSION=${VERSION:-1.9.1}
+VERSION=${VERSION:-1.9.5}
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}
@@ -81,19 +89,21 @@ cd build
--default-library=shared \
..
- ninja
- DESTDIR=$PKG ninja install
+ "${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 LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/jsoncpp/jsoncpp.info b/libraries/jsoncpp/jsoncpp.info
index 30c14c01e8..bd91bd95ef 100644
--- a/libraries/jsoncpp/jsoncpp.info
+++ b/libraries/jsoncpp/jsoncpp.info
@@ -1,10 +1,10 @@
PRGNAM="jsoncpp"
-VERSION="1.9.1"
+VERSION="1.9.5"
HOMEPAGE="https://github.com/open-source-parsers/jsoncpp"
-DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.9.1/jsoncpp-1.9.1.tar.gz"
-MD5SUM="da9e0427550e1377d88b471265a3bb3e"
+DOWNLOAD="https://github.com/open-source-parsers/jsoncpp/archive/1.9.5/jsoncpp-1.9.5.tar.gz"
+MD5SUM="d6c8c609f2162eff373db62b90a051c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/jsonrpc-glib/README b/libraries/jsonrpc-glib/README
new file mode 100644
index 0000000000..3ffb0dc645
--- /dev/null
+++ b/libraries/jsonrpc-glib/README
@@ -0,0 +1,7 @@
+Jsonrpc-GLib is a library to communicate with JSON-RPC based peers in
+either a synchronous or asynchronous fashion. It also allows
+communicating using the GVariant serialization format instead of
+JSON when both peers support it. You might want that when
+communicating on a single host to avoid parser overhead and
+memory-allocator fragmentation.
+
diff --git a/libraries/jsonrpc-glib/jsonrpc-glib.SlackBuild b/libraries/jsonrpc-glib/jsonrpc-glib.SlackBuild
new file mode 100644
index 0000000000..f6bfddb923
--- /dev/null
+++ b/libraries/jsonrpc-glib/jsonrpc-glib.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for jsonrpc-glib
+
+# 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=jsonrpc-glib
+VERSION=${VERSION:-3.43.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+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 \
+ -Dwith_vapi=true \
+ -Dwith_introspection=true \
+ -Denable_gtk_doc=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 NEWS AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
+# Move docs to correct place.
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+mv $PKG/usr/share/doc/jsonrpc-glib/* $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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/jsonrpc-glib/jsonrpc-glib.info b/libraries/jsonrpc-glib/jsonrpc-glib.info
new file mode 100644
index 0000000000..c0ec47e15a
--- /dev/null
+++ b/libraries/jsonrpc-glib/jsonrpc-glib.info
@@ -0,0 +1,10 @@
+PRGNAM="jsonrpc-glib"
+VERSION="3.43.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/jsonrpc-glib"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/jsonrpc-glib/-/archive/3.43.0/jsonrpc-glib-3.43.0.tar.bz2"
+MD5SUM="415b8e1d16db48812deb46f89f1823fc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gi-docgen"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/jsonrpc-glib/slack-desc b/libraries/jsonrpc-glib/slack-desc
new file mode 100644
index 0000000000..8f4fe3659e
--- /dev/null
+++ b/libraries/jsonrpc-glib/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------------------------------------------------------|
+jsonrpc-glib: jsonrpc-glib (a library to communicate using the JSON-RPC 2.0 spec)
+jsonrpc-glib:
+jsonrpc-glib: Jsonrpc-GLib is a library to communicate with JSON-RPC based peers in
+jsonrpc-glib: either a synchronous or asynchronous fashion. It also allows
+jsonrpc-glib: communicating using the GVariant serialization format instead of
+jsonrpc-glib: JSON when both peers support it. You might want that when
+jsonrpc-glib: communicating on a single host to avoid parser overhead and
+jsonrpc-glib: memory-allocator fragmentation.
+jsonrpc-glib:
+jsonrpc-glib: https://gitlab.gnome.org/GNOME/jsonrpc-glib
+jsonrpc-glib:
diff --git a/libraries/kaadbg/kaadbg.SlackBuild b/libraries/kaadbg/kaadbg.SlackBuild
index 3da4958d0a..d8c98f12d8 100644
--- a/libraries/kaadbg/kaadbg.SlackBuild
+++ b/libraries/kaadbg/kaadbg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kaadbg
@@ -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=kaadbg
VERSION=${VERSION:-0.3.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}
@@ -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/libraries/kaidan/README b/libraries/kaidan/README
new file mode 100644
index 0000000000..9cda61d69e
--- /dev/null
+++ b/libraries/kaidan/README
@@ -0,0 +1,15 @@
+Kaidan is a simple, user-friendly and modern chat client.
+
+
+It uses the open communication protocol XMPP (Jabber). The user
+interface makes use of Kirigami and QtQuick, while the back-end of
+Kaidan is entirely written in C++ using Qt and the Qt-based XMPP
+library QXmpp. Kaidan runs on mobile and desktop systems including
+Linux, Windows, macOS, Android, Plasma Mobile and Ubuntu Touch.
+
+ Kaidan does not have all basic features yet and has still some
+stability issues. Do not expect it to be as good as the currently
+dominating instant messaging clients.
+
+This version, 0.8.0 (2021) is the most recent supported on Slackware
+15.0
diff --git a/libraries/libftdi1/doinst.sh b/libraries/kaidan/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/libraries/libftdi1/doinst.sh
+++ b/libraries/kaidan/doinst.sh
diff --git a/libraries/kaidan/kaidan.SlackBuild b/libraries/kaidan/kaidan.SlackBuild
new file mode 100644
index 0000000000..b9c22e5c2a
--- /dev/null
+++ b/libraries/kaidan/kaidan.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for kaidan
+
+# 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=kaidan
+VERSION=${VERSION:-0.8.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-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.*z
+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 {} +
+
+sed -i 's/QR_CODE/QRCode/g' src/QrCodeDecoder.cpp src/QrCodeGenerator.cpp
+sed -i 's/TextUtfEncoding::ToUtf8(result.text())/result.text()/g' src/QrCodeDecoder.cpp
+
+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 \
+ -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 NEWS 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/kaidan/kaidan.info b/libraries/kaidan/kaidan.info
new file mode 100644
index 0000000000..47efcd6193
--- /dev/null
+++ b/libraries/kaidan/kaidan.info
@@ -0,0 +1,10 @@
+PRGNAM="kaidan"
+VERSION="0.8.0"
+HOMEPAGE="https://www.kaidan.im/"
+DOWNLOAD="https://invent.kde.org/network/kaidan/-/archive/v0.8.0/kaidan-v0.8.0.tar.gz"
+MD5SUM="8037bbb3c59d21c36c21f19299bb35fd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="kirigami-addons kquickimageeditor zxing-cpp qxmpp"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.kaidan_2023-11-17@lockywolf.net"
diff --git a/libraries/kaidan/slack-desc b/libraries/kaidan/slack-desc
new file mode 100644
index 0000000000..06f282e0af
--- /dev/null
+++ b/libraries/kaidan/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------------------------------------------------------|
+kaidan: kaidan (XMPP client for KDE)
+kaidan:
+kaidan: Kaidan is a simple, user-friendly and modern chat client. It
+kaidan: uses the open communication protocol XMPP (Jabber). The user
+kaidan: interface makes use of Kirigami and QtQuick, while the back-end
+kaidan: of Kaidan is entirely written in C++ using Qt and the Qt-based
+kaidan: XMPP library QXmpp.
+kaidan:
+kaidan:
+kaidan:
+kaidan:
diff --git a/libraries/kashmir/kashmir.SlackBuild b/libraries/kashmir/kashmir.SlackBuild
index b32580fd5e..89a24497be 100644
--- a/libraries/kashmir/kashmir.SlackBuild
+++ b/libraries/kashmir/kashmir.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Corvusoft Kashmir
@@ -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=kashmir
VERSION=${VERSION:-20150805}
COMMIT=${COMMIT:-2f3913f49c4ac7f9bff9224db5178f6f8f0ff3ee}
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}
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/kddockwidgets/README b/libraries/kddockwidgets/README
new file mode 100644
index 0000000000..e96ba6ae12
--- /dev/null
+++ b/libraries/kddockwidgets/README
@@ -0,0 +1,11 @@
+KDDockWidgets is a Qt dock widget library written by KDAB, suitable for
+replacing QDockWidget and implementing advanced functionalities missing
+in Qt.
+
+KDDockWidgets was created by KDAB’s senior software engineer, Sergio
+Martins. It was born from the frustration he experienced from working
+with QDockWidget on projects that needed extensive customization. (Read
+his blog about it). Specific requests increasingly made it clear that a
+better docking framework was needed.
+
+Successful build on AARCH64
diff --git a/libraries/kddockwidgets/doinst.sh b/libraries/kddockwidgets/doinst.sh
new file mode 100644
index 0000000000..d610379957
--- /dev/null
+++ b/libraries/kddockwidgets/doinst.sh
@@ -0,0 +1,4 @@
+( cd usr/lib64 ; rm -rf libkddockwidgets.so )
+( cd usr/lib64 ; ln -sf libkddockwidgets.so.1.7 libkddockwidgets.so )
+( cd usr/lib64 ; rm -rf libkddockwidgets.so.1.7 )
+( cd usr/lib64 ; ln -sf libkddockwidgets.so.1.7.0 libkddockwidgets.so.1.7 )
diff --git a/libraries/kddockwidgets/kddockwidgets.SlackBuild b/libraries/kddockwidgets/kddockwidgets.SlackBuild
new file mode 100644
index 0000000000..ec2044e617
--- /dev/null
+++ b/libraries/kddockwidgets/kddockwidgets.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for KDDockWidgets
+
+# 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=kddockwidgets
+VERSION=${VERSION:-1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+#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 CONTRIBUTORS.txt Changelog LICENSE.GPL.txt LICENSE.txt LICENSES README-QtQuick.md README-WASM.md README-Wayland.md README-bindings.md README-troubleshooting README.md docs/KDDockWidgets-CopyrightAssignmentForm.pdf $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/kddockwidgets/kddockwidgets.info b/libraries/kddockwidgets/kddockwidgets.info
new file mode 100644
index 0000000000..aa4247af9a
--- /dev/null
+++ b/libraries/kddockwidgets/kddockwidgets.info
@@ -0,0 +1,10 @@
+PRGNAM="kddockwidgets"
+VERSION="1.7.0"
+HOMEPAGE="https://www.kdab.com/development-resources/qt-tools/kddockwidgets/"
+DOWNLOAD="https://github.com/KDAB/KDDockWidgets/releases/download/v1.7.0/kddockwidgets-1.7.0.tar.gz"
+MD5SUM="fcf47cdfd2a05926e4d00832551ffd84"
+DOWNLOAD_x86_64="https://github.com/KDAB/KDDockWidgets/releases/download/v1.7.0/kddockwidgets-1.7.0.tar.gz"
+MD5SUM_x86_64="fcf47cdfd2a05926e4d00832551ffd84"
+REQUIRES=""
+MAINTAINER="Christopher Luck"
+EMAIL="kermitdafrog8@gmail.com"
diff --git a/libraries/kddockwidgets/slack-desc b/libraries/kddockwidgets/slack-desc
new file mode 100644
index 0000000000..f75c8e1178
--- /dev/null
+++ b/libraries/kddockwidgets/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------------------------------------------------------|
+kddockwidgets: kddockwidgets (KDAB's Dock Widget Framework for Qt)
+kddockwidgets:
+kddockwidgets: KDDockWidgets is a Qt dock widget library written by KDAB, suitable
+kddockwidgets: for replacing QDockWidget and implementing advanced functionalities
+kddockwidgets: missing in Qt.
+kddockwidgets:
+kddockwidgets:
+kddockwidgets:
+kddockwidgets:
+kddockwidgets:
+kddockwidgets:
diff --git a/libraries/keybinder/README b/libraries/keybinder/README
new file mode 100644
index 0000000000..4a7e8750a8
--- /dev/null
+++ b/libraries/keybinder/README
@@ -0,0 +1,5 @@
+keybinder is a library for registering global keyboard shortcuts.
+Keybinder works with GTK-based applications using the X Window System.
+This is the gtk+2 version.
+
+lua is an optional dependency.
diff --git a/libraries/keybinder/keybinder.SlackBuild b/libraries/keybinder/keybinder.SlackBuild
new file mode 100644
index 0000000000..4f4c77de0e
--- /dev/null
+++ b/libraries/keybinder/keybinder.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for keybinder
+
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=keybinder
+VERSION=${VERSION:-0.3.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=""
+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="AUTHORS COPYING* INSTALL NEWS README* examples"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --disable-python \
+ --disable-lua \
+ --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 $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
diff --git a/libraries/keybinder/keybinder.info b/libraries/keybinder/keybinder.info
new file mode 100644
index 0000000000..bb4b8c6cbd
--- /dev/null
+++ b/libraries/keybinder/keybinder.info
@@ -0,0 +1,10 @@
+PRGNAM="keybinder"
+VERSION="0.3.1"
+HOMEPAGE="https://github.com/kupferlauncher/keybinder/"
+DOWNLOAD="https://github.com/kupferlauncher/keybinder/releases/download/v0.3.1/keybinder-0.3.1.tar.gz"
+MD5SUM="a6d7caae0dcb040b08692b008a68a507"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/keybinder/slack-desc b/libraries/keybinder/slack-desc
new file mode 100644
index 0000000000..918225a0af
--- /dev/null
+++ b/libraries/keybinder/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------------------------------------------------------|
+keybinder: keybinder (keyboard shortcut library)
+keybinder:
+keybinder: keybinder is a library for registering global keyboard shortcuts.
+keybinder: Keybinder works with GTK-based applications using the X Window System.
+keybinder: This is the gtk+2 version.
+keybinder:
+keybinder: homepage: http://kaizer.se/wiki/keybinder/
+keybinder:
+keybinder:
+keybinder:
+keybinder:
diff --git a/libraries/kirigami-addons/README b/libraries/kirigami-addons/README
new file mode 100644
index 0000000000..117ddbb50f
--- /dev/null
+++ b/libraries/kirigami-addons/README
@@ -0,0 +1,9 @@
+kirigami-addons (Add-ons for the Kirigami framework)
+
+A set of "widgets" i.e visual end user components along with a code
+to support them. Components are usable by both touch and desktop
+experiences providing a native experience on both, and look native
+with any QQC2 style (qqc2-desktop-theme, Material or Plasma).
+
+NOTE: This is the latest supported version for Slackware 15.0 unless
+Plasma Framework is updated to 5.91 or higher.
diff --git a/libraries/kirigami-addons/kirigami-addons.SlackBuild b/libraries/kirigami-addons/kirigami-addons.SlackBuild
new file mode 100644
index 0000000000..3baaad845f
--- /dev/null
+++ b/libraries/kirigami-addons/kirigami-addons.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for kirigami-addons
+
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@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=kirigami-addons
+VERSION=${VERSION:-0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.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 \
+ -DKDE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -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 \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/kirigami-addons/kirigami-addons.info b/libraries/kirigami-addons/kirigami-addons.info
new file mode 100644
index 0000000000..49fdcc1d7b
--- /dev/null
+++ b/libraries/kirigami-addons/kirigami-addons.info
@@ -0,0 +1,10 @@
+PRGNAM="kirigami-addons"
+VERSION="0.2"
+HOMEPAGE="https://invent.kde.org/libraries/kirigami-addons"
+DOWNLOAD="https://github.com/KDE/kirigami-addons/archive/refs/tags/v0.2/kirigami-addons-0.2.tar.gz"
+MD5SUM="aec5730a5cfe061912b8b302bbf33b03"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/kirigami-addons/slack-desc b/libraries/kirigami-addons/slack-desc
new file mode 100644
index 0000000000..a556548d72
--- /dev/null
+++ b/libraries/kirigami-addons/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------------------------------------------------------|
+kirigami-addons: kirigami-addons (Add-ons for the Kirigami framework)
+kirigami-addons:
+kirigami-addons: A set of "widgets" i.e visual end user components along with a code
+kirigami-addons: to support them. Components are usable by both touch and desktop
+kirigami-addons: experiences providing a native experience on both, and look native
+kirigami-addons: with any QQC2 style (qqc2-desktop-theme, Material or Plasma).
+kirigami-addons:
+kirigami-addons: HOMEPAGE: https://invent.kde.org/libraries/kirigami-addons
+kirigami-addons:
+kirigami-addons:
+kirigami-addons:
diff --git a/libraries/kquickimageeditor/README b/libraries/kquickimageeditor/README
new file mode 100644
index 0000000000..c392095cf6
--- /dev/null
+++ b/libraries/kquickimageeditor/README
@@ -0,0 +1,2 @@
+KQuickImageEditor is a set of QtQuick components providing basic image
+editing capabilities.
diff --git a/libraries/kquickimageeditor/kquickimageeditor.SlackBuild b/libraries/kquickimageeditor/kquickimageeditor.SlackBuild
new file mode 100644
index 0000000000..0f3c1a71e5
--- /dev/null
+++ b/libraries/kquickimageeditor/kquickimageeditor.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script forkquickimageeditor
+
+# 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=kquickimageeditor
+VERSION=${VERSION:-0.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+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
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -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 \
+ README.md LICENSES 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/libraries/kquickimageeditor/kquickimageeditor.info b/libraries/kquickimageeditor/kquickimageeditor.info
new file mode 100644
index 0000000000..9d794b2573
--- /dev/null
+++ b/libraries/kquickimageeditor/kquickimageeditor.info
@@ -0,0 +1,10 @@
+PRGNAM="kquickimageeditor"
+VERSION="0.2.0"
+HOMEPAGE="https://invent.kde.org/libraries/kquickimageeditor/"
+DOWNLOAD="https://invent.kde.org/libraries/kquickimageeditor/-/archive/v0.2.0/kquickimageeditor-v0.2.0.tar.gz"
+MD5SUM="657346d901d89d8f904308ed04e16ff5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.kquickimageeditor_2023-11-15@lockywolf.net"
diff --git a/libraries/kquickimageeditor/slack-desc b/libraries/kquickimageeditor/slack-desc
new file mode 100644
index 0000000000..6003ff2c4a
--- /dev/null
+++ b/libraries/kquickimageeditor/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------------------------------------------------------|
+kquickimageeditor: kquickimageeditor (QtQuick components providing basic image editing)
+kquickimageeditor:
+kquickimageeditor: KDE bindings for QtQuick image editing interface.
+kquickimageeditor:
+kquickimageeditor:
+kquickimageeditor:
+kquickimageeditor:
+kquickimageeditor:
+kquickimageeditor:
+kquickimageeditor:
+kquickimageeditor:
diff --git a/libraries/lablgtk/README b/libraries/lablgtk/README
index aac7126de1..d48c3be271 100644
--- a/libraries/lablgtk/README
+++ b/libraries/lablgtk/README
@@ -1,7 +1,8 @@
LablGTK is an Objective Caml interface to gtk+/gtk+-2
-LablGTK uses the rich type system of Objective Caml 3 to provide a strongly
-typed, yet very comfortable, object-oriented interface to gtk+.
+LablGTK uses the rich type system of Objective Caml to provide a
+strongly typed, yet very comfortable, object-oriented interface to
+gtk+.
Some optional dependencies are libgnomecanvas, libgnomeui,
and gtksourceview.
diff --git a/libraries/lablgtk/lablgtk.SlackBuild b/libraries/lablgtk/lablgtk.SlackBuild
index 5cb0a33e18..88b3103736 100644
--- a/libraries/lablgtk/lablgtk.SlackBuild
+++ b/libraries/lablgtk/lablgtk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lablgtk
@@ -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.
+# 20220414 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lablgtk
-VERSION=${VERSION:-2.18.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.18.12}
+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"
@@ -66,9 +76,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 {} \+
./configure \
--prefix=/usr \
@@ -81,18 +91,20 @@ sed -i -e "s/\\(CFLAGS += -O\\)/CFLAGS +=/" src/Makefile
make -j1 world
make DESTDIR=$PKG install
+rm -f $PKG/usr/lib*/*.la
+
# remove file conflicting with ocaml's ones
-rm -f $PKG/usr/lib$LIBDIRSUFFIX/ocaml/ld.conf
+rm $PKG/usr/lib$LIBDIRSUFFIX/ocaml/ld.conf || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES CHANGES.API COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 CHANGES CHANGES.API 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/libraries/lablgtk/lablgtk.info b/libraries/lablgtk/lablgtk.info
index 24707f09b1..e67ee561db 100644
--- a/libraries/lablgtk/lablgtk.info
+++ b/libraries/lablgtk/lablgtk.info
@@ -1,10 +1,10 @@
PRGNAM="lablgtk"
-VERSION="2.18.4"
+VERSION="2.18.12"
HOMEPAGE="http://lablgtk.forge.ocamlcore.org"
-DOWNLOAD="https://forge.ocamlcore.org/frs/download.php/1602/lablgtk-2.18.4.tar.gz"
-MD5SUM="cb95497a3a34facd70d475892a806d02"
+DOWNLOAD="https://github.com/garrigue/lablgtk/archive/2.18.12/lablgtk-2.18.12.tar.gz"
+MD5SUM="96e5ee228ce26c7ec71a253f87e6d7f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ocaml-findlib"
-MAINTAINER="Markus Hutmacher"
-EMAIL="mailing@markhu.de"
+REQUIRES="camlp5 ocaml-findlib"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/lame/CVE-2017-15018.patch.gz b/libraries/lame/CVE-2017-15018.patch.gz
deleted file mode 100644
index 30d768d4f0..0000000000
--- a/libraries/lame/CVE-2017-15018.patch.gz
+++ /dev/null
Binary files differ
diff --git a/libraries/lame/README b/libraries/lame/README
deleted file mode 100644
index 6e4fe7db20..0000000000
--- a/libraries/lame/README
+++ /dev/null
@@ -1,5 +0,0 @@
-lame (LAME Ain't an Mp3 Encoder)
-
-LAME is an educational tool to be used for learning about MP3 encoding.
-The goal of the LAME project is to use the open source model to improve
-the psycho acoustics, noise shaping, and speed of MP3.
diff --git a/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild
deleted file mode 100644
index 368f47b1ee..0000000000
--- a/libraries/lame/lame.SlackBuild
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for lame
-
-# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
-# Copyright 2008,2010 Michiel van Wessem, Manchester, United Kingdom
-# Copyright 2019 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.
-
-# Now maintained by B. Watson <yalhcru@gmail.com>
-
-# 20191231 bkw:
-# - take over maintenance
-# - update for v3.100
-
-PRGNAM=lame
-VERSION=${VERSION:-3.100}
-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 {} \+
-
-# This stuff isn't needed for 3.100, but keep compatibility with the
-# old 3.99.5 version:
-if [ "$VERSION" = "3.99.5" ]; then
- # Fix for the newer gcc
- # http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html
- case "$ARCH" in
- i?86) sed -i -e '/xmmintrin\.h/d' configure ;;
- esac
-
- # Fix CVE-2017-15018
- zcat $CWD/CVE-2017-15018.patch.gz | patch -p1
-fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --htmldir=/usr/doc/$PRGNAM-$VERSION \
- --enable-nasm \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make pkgdocdir=/usr/doc/$PRGNAM-$VERSION
-make install-strip pkgdocdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
-
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a API COPYING ChangeLog DEFINES HACKING INSTALL* LICENSE README* \
- STYLEGUIDE TODO USAGE $PKG/usr/doc/$PRGNAM-$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/libraries/lame/lame.info b/libraries/lame/lame.info
deleted file mode 100644
index 3ce4d08494..0000000000
--- a/libraries/lame/lame.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lame"
-VERSION="3.100"
-HOMEPAGE="http://lame.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/lame/lame-3.100.tar.gz"
-MD5SUM="83e260acbe4389b54fe08e0bdbf7cddb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/libraries/lame/slack-desc b/libraries/lame/slack-desc
deleted file mode 100644
index c8c2c6d12e..0000000000
--- a/libraries/lame/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------------------------------------------------------|
-lame: lame (LAME Ain't an Mp3 Encoder)
-lame:
-lame: LAME is an educational tool to be used for learning about MP3
-lame: encoding. The goal of the LAME project is to use the open source
-lame: model to improve the psycho acoustics, noise shaping, and speed of
-lame: MP3.
-lame:
-lame:
-lame:
-lame:
-lame:
diff --git a/libraries/lapack-atlas/README b/libraries/lapack-atlas/README
deleted file mode 100644
index 815d03fcda..0000000000
--- a/libraries/lapack-atlas/README
+++ /dev/null
@@ -1,8 +0,0 @@
-LAPACK provides routines for solving systems of simultaneous linear
-equations, least-squares solutions of linear systems of equations,
-eigenvalue problems, and singular value problems.
-
-This script just installs the LAPACK sources such that the atlas.SlackBuild
-can find them (with its default settings) and build a full LAPACK
-library linked to its optimized BLAS routines. As such nothing gets
-build yet.
diff --git a/libraries/lapack-atlas/README.SLACKWARE b/libraries/lapack-atlas/README.SLACKWARE
deleted file mode 100644
index fccc6b12b6..0000000000
--- a/libraries/lapack-atlas/README.SLACKWARE
+++ /dev/null
@@ -1,49 +0,0 @@
-The following notes apply just for LAPACK built against ATLAS.
-
-IMPORTANT NOTES:
-
-
-1) If you update ATLAS, you MUST also rebuild and reinstall LAPACK, even if
- there is no update available for LAPACK! Otherwise you end up with a
- broken/incomplete LAPACK library!
-
-2) This SlackBuild conflicts with the lapack.SlackBuild which is meant mainly
- for compilation against the reference BLAS. You may install LAPACK by
- this SlackBuild in parallel with the LAPACK built against the reference BLAS
- if you use the SYS_DESTDIR and DEFAULT_DOCS variables (see below), but then
- you are on your own, especially when compiling other software against LAPACK
- and BLAS/ATLAS.
-
-3) There are a few extra variables which you may want or need to give
- appropriate values when calling the lapack-atlas.SlackBuild: SYS_DESTDIR,
- DEFAULT_DOCS, USE_ATLAS_PT_LIBS and TEST_LAPACK.
-
- SYS_DESTDIR is set by default to "/usr" and is the system destination
- directory. When installing the package produced by this SlackBuild,
- LAPACK's files will be written to $SYS_DESTDIR/lib (or lib64).
- Documentation files are written to /usr/doc/lapack-atlas-$VERSION if not
- otherwise stated (see below).
- You may want to change the value of SYS_DESTDIR to avoid conflicts (see
- the notes above). IMPORTANT: SYS_DESTDIR has to have an absolute
- path as value.
-
- DEFAULT_DOCS has the default value "yes", which means that docs go
- to /usr/doc/lapack-atlas-$VERSION, but you may want to let the docs to
- go to $SYS_DESTDIR/doc/lapack-atlas-$VERSION. For this, just set this
- variable to something like "no".
-
- USE_ATLAS_PT_LIBS is set by default to "yes" which means that this script
- will try to build LAPACK against the threaded ATLAS libs. On a single
- processor machine these are missing and you will get a WARNING which you
- can ignore, since ATLAS will not create these libraries on such a machine.
- On a multi processor machine the WARNING should not be there and you need to
- set this variable to "no" if you want to force LAPACK to build against the
- single threaded ATLAS libraries. At this point in time this is discouraged
- and you are on your own if you do it, especially when compiling other
- software which depends on LAPACK and ATLAS.
-
- TEST_LAPACK is set by default to "no" which means that this script will not
- try to run the LAPACK test suite. Set it to "yes" if you want the opposite.
-
- All these settings may be done the usual way on the command line when
- calling this SlackBuild, you do not have to edit the script.
diff --git a/libraries/lapack-atlas/lapack-atlas.SlackBuild b/libraries/lapack-atlas/lapack-atlas.SlackBuild
deleted file mode 100644
index 29a7be9b7a..0000000000
--- a/libraries/lapack-atlas/lapack-atlas.SlackBuild
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/bin/sh
-
-# Slackware build script to install the LAPACK sources needed for a full
-# LAPACK+ATLAS installation
-
-# Copyright 2010-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.
-
-PRGNAM=lapack-atlas
-VERSION=${VERSION:-3.6.1}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-SRCNAM=lapack
-
-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-${SRCNAM}-atlas"
-OUTPUT="${OUTPUT:-/tmp}"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH="$( uname -m )" ;;
- esac
-fi
-
-set -e
-DEST_DIR="usr/share/$PRGNAM"
-DOC_DIR="usr/doc/$PRGNAM-$VERSION"
-rm -rf "$PKG"
-mkdir -p "$TMP" "$PKG" "$OUTPUT"
-cd "$TMP"
-rm -rf "$SRCNAM-$VERSION"
-mkdir -p "${PKG}/${DEST_DIR}" "${PKG}/${DOC_DIR}"
-install -m644 "$CWD/README" "$CWD/lapack-atlas.SlackBuild" "${PKG}/${DOC_DIR}"
-cat "$CWD/${SRCNAM}-${VERSION}.tgz" > "${PKG}/${DEST_DIR}/${SRCNAM}-${VERSION}.tgz"
-cd "${PKG}/${DEST_DIR}"
-ln -s "${SRCNAM}-${VERSION}.tgz" lapack.tgz
-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 {} \;
-
-mkdir -p "$PKG/install"
-cat "$CWD/slack-desc" > "$PKG/install/slack-desc"
-/sbin/makepkg -l y -c n "$OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}"
diff --git a/libraries/lapack-atlas/lapack-atlas.info b/libraries/lapack-atlas/lapack-atlas.info
deleted file mode 100644
index e064f9150d..0000000000
--- a/libraries/lapack-atlas/lapack-atlas.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lapack-atlas"
-VERSION="3.6.1"
-HOMEPAGE="http://www.netlib.org/lapack/"
-DOWNLOAD="http://www.netlib.org/lapack/lapack-3.6.1.tgz"
-MD5SUM="421b2cb72e15f237e144428f9c460ee0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Serban Udrea"
-EMAIL="S.Udrea@gsi.de"
diff --git a/libraries/lapack-atlas/make.inc.atlas b/libraries/lapack-atlas/make.inc.atlas
deleted file mode 100644
index 48fe44c03f..0000000000
--- a/libraries/lapack-atlas/make.inc.atlas
+++ /dev/null
@@ -1,70 +0,0 @@
-# -*- Makefile -*-
-####################################################################
-# LAPACK make include file. #
-# LAPACK, Version 3.2.1 #
-# April 2009 #
-####################################################################
-#
-# See the INSTALL/ directory for more examples.
-#
-SHELL = /bin/sh
-#
-# The machine (platform) identifier to append to the library names
-#
-#PLAT = _LINUX
-#
-# Modify the FORTRAN and OPTS definitions to refer to the
-# compiler and desired compiler options for your machine. NOOPT
-# refers to the compiler options desired when NO OPTIMIZATION is
-# selected. Define LOADER and LOADOPTS to refer to the loader
-# and desired load options for your machine.
-#
-FORTRAN = XXX_FORTRAN_XXX
-OPTS =
-DRVOPTS = $(OPTS)
-NOOPT =
-LOADER = $(FORTRAN)
-LOADOPTS = $(OPTS)
-#
-# Timer for the SECOND and DSECND routines
-#
-# Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
-# TIMER = EXT_ETIME
-# For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
-# TIMER = EXT_ETIME_
-# For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
-# TIMER = INT_ETIME
-# If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
-# SECOND and DSECND will use a call to the Fortran standard INTERNAL FUNCTION CPU_TIME
-#TIMER = INT_CPU_TIME
-# If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
-TIMER = XXX_TIMER_XXX
-#
-# The archiver and the flag(s) to use when building archive (library)
-# If you system has no ranlib, set RANLIB = echo.
-#
-ARCH = ar
-ARCHFLAGS= cr
-RANLIB = ranlib
-#
-# The location of BLAS library for linking the testing programs.
-# The target's machine-specific, optimized BLAS library should be
-# used whenever possible.
-#
-BLASLIB = XXX_BLASLIB_XXX
-#
-# Location of the extended-precision BLAS (XBLAS) Fortran library
-# used for building and testing extended-precision routines. The
-# relevant routines will be compiled and XBLAS will be linked only if
-# USEXBLAS is defined.
-#
-# USEXBLAS = Yes
-XBLASLIB =
-# XBLASLIB = -lxblas
-#
-# Names of generated libraries.
-#
-LAPACKLIB = liblapack$(PLAT).a
-TMGLIB = libtmglib$(PLAT).a
-EIGSRCLIB = libeigsrc$(PLAT).a
-LINSRCLIB = liblinsrc$(PLAT).a
diff --git a/libraries/lapack-atlas/slack-desc b/libraries/lapack-atlas/slack-desc
deleted file mode 100644
index 4b204c217a..0000000000
--- a/libraries/lapack-atlas/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------------------------------------------------------|
-lapack-atlas: lapack-atlas (LAPACK sources for build against ATLAS)
-lapack-atlas:
-lapack-atlas: LAPACK provides routines for solving systems of simultaneous linear
-lapack-atlas: equations, least-squares solutions of linear systems of equations,
-lapack-atlas: eigenvalue problems, and singular value problems. The associated
-lapack-atlas: matrix factorizations (LU, Cholesky, QR, SVD, Schur, generalized
-lapack-atlas: Schur) are also provided, as are related computations such as
-lapack-atlas: reordering of the Schur factorizations and estimating condition
-lapack-atlas: numbers. Dense and banded matrices are handled, but not general sparse
-lapack-atlas: matrices. In all areas, similar functionality is provided for real and
-lapack-atlas: complex matrices, in both single and double precision.
diff --git a/libraries/lapack/README b/libraries/lapack/README
index 6cbfe89752..fb54ac26bb 100644
--- a/libraries/lapack/README
+++ b/libraries/lapack/README
@@ -2,8 +2,11 @@ LAPACK provides routines for solving systems of simultaneous linear
equations, least-squares solutions of linear systems of equations,
eigenvalue problems, and singular value problems.
+xblas is an optional dependency.
+
To build a static library in addition to the shared library,
pass STATIC=yes to the script.
-Note: If you want good performance, then use the BLAS libraries provided by
- your CPU vendor, or OpenBLAS or atlas provided by SlackBuilds.org.
+Note: If you want good performance, then use the BLAS libraries
+provided by your CPU vendor, or OpenBLAS or atlas provided by
+SlackBuilds.org.
diff --git a/libraries/lapack/lapack.SlackBuild b/libraries/lapack/lapack.SlackBuild
index 492a7c8673..1ec4de8555 100644
--- a/libraries/lapack/lapack.SlackBuild
+++ b/libraries/lapack/lapack.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LAPACK
-# Copyright 2014-2020 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2024 Kyle Guinn <elyk03@gmail.com>
# 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=lapack
SRCNAM=lapack
-VERSION=${VERSION:-3.9.0}
+VERSION=${VERSION:-3.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -36,16 +39,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="LICENSE README.md DOCS/lapack.png DOCS/lawn81.tex DOCS/org2.ps"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,6 +74,10 @@ chmod -R u+w,go-w,a+rX-st .
# Allow building only the LAPACK component.
patch -p1 < $CWD/patches/cmake-piecewise.diff
+if pkg-config --exists xblas; then
+ use_xblas='-DUSE_XBLAS=ON'
+fi
+
# Avoid adding an RPATH entry to the shared lib. It's unnecessary (except for
# running the test suite), and it's broken on 64-bit (needs LIBDIRSUFFIX).
mkdir -p shared
@@ -82,6 +91,7 @@ cd shared
-DUSE_OPTIMIZED_BLAS=ON \
-DBUILD_LAPACK=ON \
-DBUILD_DEPRECATED=ON \
+ $use_xblas \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_SKIP_RPATH=YES \
..
@@ -104,28 +114,47 @@ if [ "${STATIC:-no}" != "no" ]; then
-DUSE_OPTIMIZED_BLAS=ON \
-DBUILD_LAPACK=ON \
-DBUILD_DEPRECATED=ON \
+ $use_xblas \
..
make
make install/strip DESTDIR=$PKG
cd ..
fi
-# Generate man pages. Also requires some fix-ups:
+# Generate man pages. Since 3.12.0 there is no longer a Doxyfile
+# intended for man page creation (only html), so attempt to recreate it.
+# Note that CMake can generate a Doxyfile, but it may differ from the
+# supplied one, and is less convenient to edit.
# 0. Join all escaped newlines so the entire value is replaced.
+# 1. Turn off GENERATE_HTML.
+# 2. Turn on GENERATE_MAN.
+# 3. Turn off MAN_LINKS, see below.
+# 4. Turn off HAVE_DOT, disable all graph generation.
+# 5. Turn off CREATE_SUBDIRS, may interfere with output file locations.
+# 6. Turn off REPEAT_BRIEF's repetitive comments.
+# 7. Turn off FULL_PATH_NAMES, omit source code paths from man pages.
+# 8. Turn off INLINE_SOURCES, don't copy the code to the man pages.
+sed -i \
+ -e ':a;/\\$/N;s/\s*\\\n\s*/ /;ta' \
+ -e 's/^\(GENERATE_HTML *=\).*/\1 NO/' \
+ -e 's/^\(GENERATE_MAN *=\).*/\1 YES/' \
+ -e 's/^\(MAN_LINKS *=\).*/\1 NO/' \
+ -e 's/^\(HAVE_DOT *=\).*/\1 NO/' \
+ -e 's/^\(CREATE_SUBDIRS *=\).*/\1 NO/' \
+ -e 's/^\(REPEAT_BRIEF *=\).*/\1 NO/' \
+ -e 's/^\(FULL_PATH_NAMES *=\).*/\1 NO/' \
+ -e 's/^\(INLINE_SOURCES *=\).*/\1 NO/' \
+ DOCS/Doxyfile
+# Limit ourselves to the LAPACK functions:
# 1. Only generate on the LAPACK sources.
-# 2. Turn off recursion. Only operate on directories in INPUT.
-# 3. Turn off EXCLUDE to not conflict with INPUT.
-# 4. Turn off some repetitive comments.
-# 5. Turn off MAN_LINKS. See below.
+# 2. Turn off RECURSIVE, only operate on directories in INPUT.
+# 3. Turn off EXCLUDE, to not conflict with INPUT.
sed -i \
- -e ':a;/\\$/N;s/\\\n//;ta' \
- -e 's/^\(INPUT *=\).*/\1 SRC/' \
+ -e 's/^\(INPUT *=\).*/\1 SRC SRC\/DEPRECATED/' \
-e 's/^\(RECURSIVE *=\).*/\1 NO/' \
-e 's/^\(EXCLUDE *=\).*/\1/' \
- -e 's/^\(REPEAT_BRIEF *=\).*/\1 NO/' \
- -e 's/^\(MAN_LINKS *=\).*/\1 NO/' \
- DOCS/Doxyfile_man
-doxygen DOCS/Doxyfile_man
+ DOCS/Doxyfile
+doxygen DOCS/Doxyfile
# Doxygen generates manpages on a file-by-file basis (note the .f extensions).
# We want a page for each function, not each file. MAN_LINKS creates a page
# for each function that just sources the page for the corresponding file.
@@ -135,11 +164,19 @@ mkdir -p $PKG/usr/man/man3
for i in DOCS/man/man3/*.f.3; do
gzip -9c $i > $PKG/usr/man/man3/$(basename $i .f.3).3.gz
done
+for i in DOCS/man/man3/*.F.3; do
+ gzip -9c $i > $PKG/usr/man/man3/$(basename $i .F.3).3.gz
+done
+for i in DOCS/man/man3/*.f90.3; do
+ gzip -9c $i > $PKG/usr/man/man3/$(basename $i .f90.3).3.gz
+done
# Fix up some special cases where the mapping isn't 1:1.
ln -s sladiv.3.gz $PKG/usr/man/man3/sladiv1.3.gz
ln -s sladiv.3.gz $PKG/usr/man/man3/sladiv2.3.gz
ln -s dladiv.3.gz $PKG/usr/man/man3/dladiv1.3.gz
ln -s dladiv.3.gz $PKG/usr/man/man3/dladiv2.3.gz
+# Remove internal documentation.
+rm $PKG/usr/man/man3/la_constants.3.gz
# Remove files that are supplied by BLAS.
rm $PKG/usr/man/man3/xerbla.3.gz
rm $PKG/usr/man/man3/xerbla_array.3.gz
@@ -148,8 +185,8 @@ rm $PKG/usr/man/man3/xerbla_array.3.gz
# select few. Some are duplicated by BLAS (lsame.f), are unused (slamchf77.f,
# dlamchf77.f), or are test programs.
rm -rf DOCS/man
-sed -i 's/^\(INPUT *=\).*/\1 INSTALL/' DOCS/Doxyfile_man
-doxygen DOCS/Doxyfile_man
+sed -i 's/^\(INPUT *=\).*/\1 INSTALL/' DOCS/Doxyfile
+doxygen DOCS/Doxyfile
gzip -9c DOCS/man/man3/ilaver.f.3 > $PKG/usr/man/man3/ilaver.3.gz
gzip -9c DOCS/man/man3/slamch.f.3 > $PKG/usr/man/man3/slamch.3.gz
gzip -9c DOCS/man/man3/dlamch.f.3 > $PKG/usr/man/man3/dlamch.3.gz
@@ -174,4 +211,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/lapack/lapack.info b/libraries/lapack/lapack.info
index e7b7945dcb..78690e0214 100644
--- a/libraries/lapack/lapack.info
+++ b/libraries/lapack/lapack.info
@@ -1,8 +1,8 @@
PRGNAM="lapack"
-VERSION="3.9.0"
-HOMEPAGE="http://www.netlib.org/lapack/"
-DOWNLOAD="https://github.com/Reference-LAPACK/lapack/archive/v3.9.0/lapack-3.9.0.tar.gz"
-MD5SUM="0b251e2a8d5f949f99b50dd5e2200ee2"
+VERSION="3.12.0"
+HOMEPAGE="https://www.netlib.org/lapack/"
+DOWNLOAD="https://github.com/Reference-LAPACK/lapack/archive/v3.12.0/lapack-3.12.0.tar.gz"
+MD5SUM="c1b38bef123584d86a1bd8000784a7b2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="blas"
diff --git a/libraries/lapack/patches/cmake-piecewise.diff b/libraries/lapack/patches/cmake-piecewise.diff
index b1bdfaec1e..37cde2acaa 100644
--- a/libraries/lapack/patches/cmake-piecewise.diff
+++ b/libraries/lapack/patches/cmake-piecewise.diff
@@ -2,69 +2,37 @@ diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt
--- a/CBLAS/CMakeLists.txt
+++ b/CBLAS/CMakeLists.txt
@@ -1,8 +1,6 @@
- message(STATUS "CBLAS enable")
+ message(STATUS "CBLAS enabled")
enable_language(C)
--set(LAPACK_INSTALL_EXPORT_NAME cblas-targets)
+-set(LAPACK_INSTALL_EXPORT_NAME ${CBLASLIB}-targets)
-
# Create a header file cblas.h for the routines called in my C programs
- include(FortranCInterface)
- ## Ensure that the fortran compiler and c compiler specified are compatible
-@@ -41,54 +39,8 @@
- add_subdirectory(examples)
- endif()
-
--if(NOT BLAS_FOUND)
-- set(ALL_TARGETS ${ALL_TARGETS} blas)
--endif()
--
--# Export cblas targets from the
--# install tree, if any.
--set(_cblas_config_install_guard_target "")
--if(ALL_TARGETS)
-- install(EXPORT cblas-targets
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
-- COMPONENT Development
-- )
-- # Choose one of the cblas targets to use as a guard for
-- # cblas-config.cmake to load targets from the install tree.
-- list(GET ALL_TARGETS 0 _cblas_config_install_guard_target)
--endif()
--
--# Export cblas targets from the build tree, if any.
--set(_cblas_config_build_guard_target "")
--if(ALL_TARGETS)
-- export(TARGETS ${ALL_TARGETS} FILE cblas-targets.cmake)
--
-- # Choose one of the cblas targets to use as a guard
-- # for cblas-config.cmake to load targets from the build tree.
-- list(GET ALL_TARGETS 0 _cblas_config_build_guard_target)
--endif()
+ include(CheckLanguage)
+ check_language(Fortran)
+@@ -54,22 +52,3 @@
+ DESTINATION ${PKG_CONFIG_DIR}
+ COMPONENT Development
+ )
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cblas-config-version.cmake.in
-- ${LAPACK_BINARY_DIR}/cblas-config-version.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${CBLASLIB}-config-version.cmake @ONLY)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cblas-config-build.cmake.in
-- ${LAPACK_BINARY_DIR}/cblas-config.cmake @ONLY)
--
--
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cblas.pc.in ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc @ONLY)
- install(FILES
- ${CMAKE_CURRENT_BINARY_DIR}/cblas.pc
- DESTINATION ${PKG_CONFIG_DIR}
- )
+- ${LAPACK_BINARY_DIR}/${CBLASLIB}-config.cmake @ONLY)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cblas-config-install.cmake.in
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/cblas-config.cmake @ONLY)
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${CBLASLIB}-config.cmake @ONLY)
-install(FILES
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/cblas-config.cmake
-- ${LAPACK_BINARY_DIR}/cblas-config-version.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${CBLASLIB}-config.cmake
+- ${LAPACK_BINARY_DIR}/${CBLASLIB}-config-version.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CBLASLIB}-${LAPACK_VERSION}
+- COMPONENT Development
- )
-
--#install(EXPORT cblas-targets
--# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
--# COMPONENT Development
--# )
+-install(EXPORT ${CBLASLIB}-targets
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${CBLASLIB}-${LAPACK_VERSION}
+- COMPONENT Development
+- )
diff --git a/CBLAS/cmake/cblas-config-build.cmake.in b/CBLAS/cmake/cblas-config-build.cmake.in
deleted file mode 100644
--- a/CBLAS/cmake/cblas-config-build.cmake.in
@@ -76,41 +44,37 @@ deleted file mode 100644
-
-# Load lapack targets from the build tree, including lapacke targets.
-if(NOT TARGET lapacke)
-- include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
+- include("@LAPACK_BINARY_DIR@/@LAPACKLIB@-targets.cmake")
-endif()
-
-# Report cblas header search locations from build tree.
-set(CBLAS_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
-
-# Report cblas libraries.
--set(CBLAS_LIBRARIES cblas)
+-set(CBLAS_LIBRARIES @CBLASLIB@)
diff --git a/CBLAS/cmake/cblas-config-install.cmake.in b/CBLAS/cmake/cblas-config-install.cmake.in
deleted file mode 100644
--- a/CBLAS/cmake/cblas-config-install.cmake.in
+++ /dev/null
-@@ -1,23 +0,0 @@
+@@ -1,19 +0,0 @@
-# Compute locations from <prefix>/@{LIBRARY_DIR@/cmake/lapacke-<v>/<self>.cmake
-get_filename_component(_CBLAS_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
--get_filename_component(_CBLAS_PREFIX "${_CBLAS_SELF_DIR}" PATH)
--get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
--get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
-
-# Load the LAPACK package with which we were built.
--set(LAPACK_DIR "${_CBLAS_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/lapack-@LAPACK_VERSION@")
+-set(LAPACK_DIR "@CMAKE_INSTALL_FULL_LIBDIR@/cmake/@LAPACKLIB@-@LAPACK_VERSION@")
-find_package(LAPACK NO_MODULE)
-
-# Load lapacke targets from the install tree.
--if(NOT TARGET cblas)
-- include(${_CBLAS_SELF_DIR}/cblas-targets.cmake)
+-if(NOT TARGET @CBLASLIB@)
+- include(${_CBLAS_SELF_DIR}/@CBLASLIB@-targets.cmake)
-endif()
-
-# Report lapacke header search locations.
--set(CBLAS_INCLUDE_DIRS ${_CBLAS_PREFIX}/include)
+-set(CBLAS_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@)
-
-# Report lapacke libraries.
--set(CBLAS_LIBRARIES cblas)
+-set(CBLAS_LIBRARIES @CBLASLIB@)
-
--unset(_CBLAS_PREFIX)
-unset(_CBLAS_SELF_DIR)
diff --git a/CBLAS/cmake/cblas-config-version.cmake.in b/CBLAS/cmake/cblas-config-version.cmake.in
deleted file mode 100644
@@ -128,16 +92,16 @@ deleted file mode 100644
diff --git a/CBLAS/src/CMakeLists.txt b/CBLAS/src/CMakeLists.txt
--- a/CBLAS/src/CMakeLists.txt
+++ b/CBLAS/src/CMakeLists.txt
-@@ -120,9 +120,5 @@
- VERSION ${LAPACK_VERSION}
- SOVERSION ${LAPACK_MAJOR_VERSION}
- )
--target_include_directories(cblas PUBLIC
-- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
+@@ -172,9 +172,5 @@
+ if(HAS_ATTRIBUTE_WEAK_SUPPORT)
+ target_compile_definitions(${CBLASLIB} PRIVATE HAS_ATTRIBUTE_WEAK_SUPPORT)
+ endif()
+-target_include_directories(${CBLASLIB} PUBLIC
+- $<BUILD_INTERFACE:${LAPACK_BINARY_DIR}/include>
- $<INSTALL_INTERFACE:include>
-)
- target_link_libraries(cblas PRIVATE ${BLAS_LIBRARIES})
- lapack_install_library(cblas)
+ target_link_libraries(${CBLASLIB} PUBLIC ${BLAS_LIBRARIES})
+ lapack_install_library(${CBLASLIB})
diff --git a/CMAKE/lapack-config-build.cmake.in b/CMAKE/lapack-config-build.cmake.in
deleted file mode 100644
--- a/CMAKE/lapack-config-build.cmake.in
@@ -146,7 +110,7 @@ deleted file mode 100644
-# Load lapack targets from the build tree if necessary.
-set(_LAPACK_TARGET "@_lapack_config_build_guard_target@")
-if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
-- include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
+- include("@LAPACK_BINARY_DIR@/@LAPACKLIB@-targets.cmake")
-endif()
-unset(_LAPACK_TARGET)
-
@@ -168,7 +132,7 @@ deleted file mode 100644
-# Load lapack targets from the install tree if necessary.
-set(_LAPACK_TARGET "@_lapack_config_install_guard_target@")
-if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
-- include("${_LAPACK_SELF_DIR}/lapack-targets.cmake")
+- include("${_LAPACK_SELF_DIR}/@LAPACKLIB@-targets.cmake")
-endif()
-unset(_LAPACK_TARGET)
-
@@ -184,11 +148,11 @@ deleted file mode 100644
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -112,11 +112,8 @@
-
+@@ -155,11 +155,8 @@
+ endif()
# --------------------------------------------------
--set(LAPACK_INSTALL_EXPORT_NAME lapack-targets)
+-set(LAPACK_INSTALL_EXPORT_NAME ${LAPACKLIB}-targets)
-
macro(lapack_install_library lib)
install(TARGETS ${lib}
@@ -196,30 +160,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT RuntimeLibraries
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT RuntimeLibraries
-@@ -155,21 +152,6 @@
- include(CheckLAPACKCompilerFlags)
- CheckLAPACKCompilerFlags()
+@@ -218,8 +215,9 @@
--# --------------------------------------------------
--# Check second function
--
--include(CheckTimeFunction)
--set(TIME_FUNC NONE ${TIME_FUNC})
--CHECK_TIME_FUNCTION(NONE TIME_FUNC)
--CHECK_TIME_FUNCTION(INT_CPU_TIME TIME_FUNC)
--CHECK_TIME_FUNCTION(EXT_ETIME TIME_FUNC)
--CHECK_TIME_FUNCTION(EXT_ETIME_ TIME_FUNC)
--CHECK_TIME_FUNCTION(INT_ETIME TIME_FUNC)
--message(STATUS "--> Will use second_${TIME_FUNC}.f and dsecnd_${TIME_FUNC}.f as timing function.")
--
--set(SECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/second_${TIME_FUNC}.f)
--set(DSECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/dsecnd_${TIME_FUNC}.f)
--
- # deprecated LAPACK and LAPACKE routines
- option(BUILD_DEPRECATED "Build deprecated routines" OFF)
- message(STATUS "Build deprecated routines: ${BUILD_DEPRECATED}")
-@@ -193,8 +175,9 @@
- endif()
# --------------------------------------------------
-# Subdirectories that need to be processed
@@ -229,7 +171,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
# Check the usage of the user provided BLAS libraries
if(BLAS_LIBRARIES)
-@@ -205,113 +188,108 @@
+@@ -230,59 +228,41 @@
if(BLAS_FOUND)
message(STATUS "--> BLAS supplied by user is WORKING, will use ${BLAS_LIBRARIES}.")
else()
@@ -250,7 +192,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
- message(STATUS "Using supplied NETLIB BLAS implementation")
- add_subdirectory(BLAS)
+elseif(BUILD_BLAS)
- set(BLAS_LIBRARIES blas)
+ set(BLAS_LIBRARIES ${BLASLIB})
-else()
- set(CMAKE_EXE_LINKER_FLAGS
- "${CMAKE_EXE_LINKER_FLAGS} ${BLAS_LINKER_FLAGS}"
@@ -300,21 +242,28 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
# Check the usage of the user provided or automatically found LAPACK libraries
if(LAPACK_LIBRARIES)
- include(CheckFortranFunctionExists)
- set(CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES})
- # Check if new routine of 3.4.0 is in LAPACK_LIBRARIES
-- CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LATESTLAPACK_FOUND)
-+ CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LAPACK_FOUND)
- unset(CMAKE_REQUIRED_LIBRARIES)
-- if(LATESTLAPACK_FOUND)
-+ if(LAPACK_FOUND)
- message(STATUS "--> LAPACK supplied by user is WORKING, will use ${LAPACK_LIBRARIES}.")
+@@ -293,27 +273,28 @@
+ include(CheckFortranFunctionExists)
+ set(CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES})
+ # Check if new routine of 3.4.0 is in LAPACK_LIBRARIES
+- CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LATESTLAPACK_FOUND)
++ CHECK_FORTRAN_FUNCTION_EXISTS("dgeqrt" LAPACK_FOUND)
+ unset(CMAKE_REQUIRED_LIBRARIES)
+- if(LATESTLAPACK_FOUND)
++ if(LAPACK_FOUND)
+ message(STATUS "--> LAPACK supplied by user is WORKING, will use ${LAPACK_LIBRARIES}.")
+ else()
+- message(ERROR "--> LAPACK supplied by user is not WORKING or is older than LAPACK 3.4.0, CANNOT USE ${LAPACK_LIBRARIES}.")
+- message(ERROR "--> Will use REFERENCE LAPACK (by default)")
+- message(ERROR "--> Or Correct your LAPACK_LIBRARIES entry ")
+- message(ERROR "--> Or Consider checking USE_OPTIMIZED_LAPACK")
++ message(SEND_ERROR "--> LAPACK supplied by user is NOT WORKING or is older than LAPACK 3.4.0, cannot use ${LAPACK_LIBRARIES}.")
+ endif()
else()
-- message(ERROR "--> LAPACK supplied by user is not WORKING or is older than LAPACK 3.4.0, CANNOT USE ${LAPACK_LIBRARIES}.")
-- message(ERROR "--> Will use REFERENCE LAPACK (by default)")
-- message(ERROR "--> Or Correct your LAPACK_LIBRARIES entry ")
-- message(ERROR "--> Or Consider checking USE_OPTIMIZED_LAPACK")
-+ message(SEND_ERROR "--> LAPACK supplied by user is NOT WORKING or is older than LAPACK 3.4.0, cannot use ${LAPACK_LIBRARIES}.")
+ message(STATUS "--> LAPACK supplied by user is ${LAPACK_LIBRARIES}.")
+ message(STATUS "--> CMake couldn't find a Fortran compiler, so it cannot check if the provided LAPACK library works.")
+- set(LATESTLAPACK_FOUND TRUE)
++ set(LAPACK_FOUND TRUE)
endif()
-endif()
@@ -326,24 +275,16 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
+ find_package(LAPACK)
+
+elseif(BUILD_LAPACK)
- set(LAPACK_LIBRARIES lapack)
+ set(LAPACK_LIBRARIES ${LAPACKLIB})
+ set(LAPACK_FOUND TRUE)
+
+ set(NEED_BLAS TRUE)
-+
-+ # Check second function
-+ include(CheckTimeFunction)
-+ set(TIME_FUNC NONE ${TIME_FUNC})
-+ CHECK_TIME_FUNCTION(NONE TIME_FUNC)
-+ CHECK_TIME_FUNCTION(INT_CPU_TIME TIME_FUNC)
-+ CHECK_TIME_FUNCTION(EXT_ETIME TIME_FUNC)
-+ CHECK_TIME_FUNCTION(EXT_ETIME_ TIME_FUNC)
-+ CHECK_TIME_FUNCTION(INT_ETIME TIME_FUNC)
-+ message(STATUS "--> Will use second_${TIME_FUNC}.f and dsecnd_${TIME_FUNC}.f as timing function.")
-+
-+ set(SECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/second_${TIME_FUNC}.f)
-+ set(DSECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/dsecnd_${TIME_FUNC}.f)
-+
+
+ enable_language(Fortran)
+
+@@ -336,67 +317,38 @@
+ set(DSECOND_SRC ${LAPACK_SOURCE_DIR}/INSTALL/dsecnd_${TIME_FUNC}.f)
+
add_subdirectory(SRC)
-else()
- set(CMAKE_EXE_LINKER_FLAGS
@@ -363,9 +304,9 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
+ add_subdirectory(TESTING)
+ endif()
+
-+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc @ONLY)
++ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc @ONLY)
+ install(FILES
-+ ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc
++ ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc
+ DESTINATION ${PKG_CONFIG_DIR}
+ COMPONENT Development
+ )
@@ -381,11 +322,37 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
option(LAPACKE_WITH_TMG "Build LAPACKE with tmglib routines" OFF)
if(LAPACKE_WITH_TMG)
- set(LAPACKE ON)
+-endif()
+-
+-# TMGLIB
+-# Cache export target
+-set(LAPACK_INSTALL_EXPORT_NAME_CACHE ${LAPACK_INSTALL_EXPORT_NAME})
+-if(BUILD_TESTING OR LAPACKE_WITH_TMG)
+- enable_language(Fortran)
+- if(LATESTLAPACK_FOUND AND LAPACKE_WITH_TMG)
+- set(CMAKE_REQUIRED_LIBRARIES ${LAPACK_LIBRARIES})
+- # Check if dlatms (part of tmg) is found
+- include(CheckFortranFunctionExists)
+- CHECK_FORTRAN_FUNCTION_EXISTS("dlatms" LAPACK_WITH_TMGLIB_FOUND)
+- unset(CMAKE_REQUIRED_LIBRARIES)
+- if(NOT LAPACK_WITH_TMGLIB_FOUND)
+- # Build and install TMG as part of LAPACKE targets (as opposed to LAPACK
+- # targets)
+- set(LAPACK_INSTALL_EXPORT_NAME ${LAPACKELIB}-targets)
+- endif()
+- endif()
+- add_subdirectory(TESTING/MATGEN)
+ set(BUILD_LAPACKE ON)
endif()
- if(BUILD_TESTING OR LAPACKE_WITH_TMG) #already included, avoid double inclusion
- add_subdirectory(TESTING/MATGEN)
- endif()
+-# Reset export target
+-set(LAPACK_INSTALL_EXPORT_NAME ${LAPACK_INSTALL_EXPORT_NAME_CACHE})
+-unset(LAPACK_INSTALL_EXPORT_NAME_CACHE)
+-
+
+-#-------------------------------------
+-# LAPACKE
+ # Include lapack.h and lapacke_mangling.h even if LAPACKE is not built
+ add_subdirectory(LAPACKE/include)
-if(LAPACKE)
+if(BUILD_LAPACKE)
@@ -393,8 +360,12 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
add_subdirectory(LAPACKE)
endif()
-@@ -338,109 +316,12 @@
- _display_cpp_implementation_msg("LAPACK")
+-
+ #-------------------------------------
+ # BLAS++ / LAPACK++
+ option(BLAS++ "Build BLAS++" OFF)
+@@ -446,111 +398,16 @@
+ ExternalProject_Add_StepDependencies(lapackpp build blaspp ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES})
endif()
-# --------------------------------------------------
@@ -411,7 +382,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-set(CPACK_PACKAGE_INSTALL_DIRECTORY "LAPACK")
-if(WIN32 AND NOT UNIX)
- # There is a bug in NSI that does not handle full unix paths properly. Make
-- # sure there is at least one set of four (4) backlasshes.
+- # sure there is at least one set of four (4) backslashes.
- set(CPACK_NSIS_HELP_LINK "http:\\\\\\\\http://icl.cs.utk.edu/lapack-forum")
- set(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.netlib.org/lapack")
- set(CPACK_NSIS_CONTACT "lapack@eecs.utk.edu")
@@ -430,23 +401,19 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-# --------------------------------------------------
-
-if(NOT BLAS_FOUND)
-- set(ALL_TARGETS ${ALL_TARGETS} blas)
+- set(ALL_TARGETS ${ALL_TARGETS} ${BLASLIB})
-endif()
-
-if(NOT LATESTLAPACK_FOUND)
-- set(ALL_TARGETS ${ALL_TARGETS} lapack)
--endif()
--
--if(BUILD_TESTING OR LAPACKE_WITH_TMG)
-- set(ALL_TARGETS ${ALL_TARGETS} tmglib)
+- set(ALL_TARGETS ${ALL_TARGETS} ${LAPACKLIB})
-endif()
-
-# Export lapack targets, not including lapacke, from the
-# install tree, if any.
-set(_lapack_config_install_guard_target "")
-if(ALL_TARGETS)
-- install(EXPORT lapack-targets
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
+- install(EXPORT ${LAPACKLIB}-targets
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKLIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
-
@@ -457,12 +424,16 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-
-# Include cblas in targets exported from the build tree.
-if(CBLAS)
-- set(ALL_TARGETS ${ALL_TARGETS} cblas)
+- set(ALL_TARGETS ${ALL_TARGETS} ${CBLASLIB})
-endif()
-
-# Include lapacke in targets exported from the build tree.
-if(LAPACKE)
-- set(ALL_TARGETS ${ALL_TARGETS} lapacke)
+- set(ALL_TARGETS ${ALL_TARGETS} ${LAPACKELIB})
+-endif()
+-
+-if(NOT LAPACK_WITH_TMGLIB_FOUND AND LAPACKE_WITH_TMG)
+- set(ALL_TARGETS ${ALL_TARGETS} ${TMGLIB})
+# Neither user specified or optimized BLAS libraries can be used
+if(NEED_BLAS AND NOT BLAS_FOUND)
+ message(FATAL_ERROR "--> No BLAS library found. Specify BLAS_LIBRARIES or enable USE_OPTIMIZED_BLAS or BUILD_BLAS.")
@@ -471,7 +442,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
-# Export lapack and lapacke targets from the build tree, if any.
-set(_lapack_config_build_guard_target "")
-if(ALL_TARGETS)
-- export(TARGETS ${ALL_TARGETS} FILE lapack-targets.cmake)
+- export(TARGETS ${ALL_TARGETS} FILE ${LAPACKLIB}-targets.cmake)
-
- # Choose one of the lapack or lapacke targets to use as a guard
- # for lapack-config.cmake to load targets from the build tree.
@@ -480,84 +451,85 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
+if(NEED_LAPACK AND NOT LAPACK_FOUND)
+ message(FATAL_ERROR "--> No LAPACK library found. Specify LAPACK_LIBRARIES or enable USE_OPTIMIZED_LAPACK or BUILD_LAPACK.")
endif()
--
+
-configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-build.cmake.in
-- ${LAPACK_BINARY_DIR}/lapack-config.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${LAPACKLIB}-config.cmake @ONLY)
-
-
--configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc @ONLY)
+-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/lapack.pc.in ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc @ONLY)
- install(FILES
-- ${CMAKE_CURRENT_BINARY_DIR}/lapack.pc
+- ${CMAKE_CURRENT_BINARY_DIR}/${LAPACKLIB}.pc
- DESTINATION ${PKG_CONFIG_DIR}
- COMPONENT Development
- )
-
-configure_file(${LAPACK_SOURCE_DIR}/CMAKE/lapack-config-install.cmake.in
-- ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/CMakeFiles/${LAPACKLIB}-config.cmake @ONLY)
-
-include(CMakePackageConfigHelpers)
-write_basic_package_version_file(
-- ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
+- ${LAPACK_BINARY_DIR}/${LAPACKLIB}-config-version.cmake
- VERSION ${LAPACK_VERSION}
- COMPATIBILITY SameMajorVersion
- )
-
-install(FILES
-- ${LAPACK_BINARY_DIR}/CMakeFiles/lapack-config.cmake
-- ${LAPACK_BINARY_DIR}/lapack-config-version.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapack-${LAPACK_VERSION}
+- ${LAPACK_BINARY_DIR}/CMakeFiles/${LAPACKLIB}-config.cmake
+- ${LAPACK_BINARY_DIR}/${LAPACKLIB}-config-version.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKLIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
--
-\ No newline at end of file
+ if (LAPACK++)
+ install(
+ DIRECTORY "${LAPACK_BINARY_DIR}/lib/"
diff --git a/LAPACKE/CMakeLists.txt b/LAPACKE/CMakeLists.txt
--- a/LAPACKE/CMakeLists.txt
+++ b/LAPACKE/CMakeLists.txt
@@ -1,8 +1,6 @@
- message(STATUS "LAPACKE enable")
+ message(STATUS "LAPACKE enabled")
enable_language(C)
--set(LAPACK_INSTALL_EXPORT_NAME lapacke-targets)
+-set(LAPACK_INSTALL_EXPORT_NAME ${LAPACKELIB}-targets)
-
- # Create a header file lapacke_mangling.h for the routines called in my C programs
- include(FortranCInterface)
- ## Ensure that the fortran compiler and c compiler specified are compatible
-@@ -79,14 +77,6 @@
+ include_directories(include ${LAPACK_BINARY_DIR}/include)
+ add_subdirectory(src)
+ add_subdirectory(utils)
+@@ -74,14 +72,6 @@
VERSION ${LAPACK_VERSION}
SOVERSION ${LAPACK_MAJOR_VERSION}
)
--target_include_directories(lapacke PUBLIC
-- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+-target_include_directories(${LAPACKELIB} PUBLIC
+- $<BUILD_INTERFACE:${LAPACK_BINARY_DIR}/include>
- $<INSTALL_INTERFACE:include>
-)
-if(WIN32 AND NOT UNIX)
-- target_compile_definitions(lapacke PUBLIC HAVE_LAPACK_CONFIG_H LAPACK_COMPLEX_STRUCTURE)
+- target_compile_definitions(${LAPACKELIB} PUBLIC HAVE_LAPACK_CONFIG_H LAPACK_COMPLEX_STRUCTURE)
- message(STATUS "Windows BUILD")
-endif()
if(LAPACKE_WITH_TMG)
- target_link_libraries(lapacke PRIVATE tmglib)
-@@ -111,22 +101,3 @@
+ target_link_libraries(${LAPACKELIB} PRIVATE ${TMGLIB})
+@@ -106,22 +96,3 @@
DESTINATION ${PKG_CONFIG_DIR}
COMPONENT Development
)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/lapacke-config-version.cmake.in
-- ${LAPACK_BINARY_DIR}/lapacke-config-version.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${LAPACKELIB}-config-version.cmake @ONLY)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/lapacke-config-build.cmake.in
-- ${LAPACK_BINARY_DIR}/lapacke-config.cmake @ONLY)
+- ${LAPACK_BINARY_DIR}/${LAPACKELIB}-config.cmake @ONLY)
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/lapacke-config-install.cmake.in
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/lapacke-config.cmake @ONLY)
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${LAPACKELIB}-config.cmake @ONLY)
-install(FILES
-- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/lapacke-config.cmake
-- ${LAPACK_BINARY_DIR}/lapacke-config-version.cmake
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapacke-${LAPACK_VERSION}
+- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/${LAPACKELIB}-config.cmake
+- ${LAPACK_BINARY_DIR}/${LAPACKELIB}-config-version.cmake
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKELIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
-
--install(EXPORT lapacke-targets
-- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapacke-${LAPACK_VERSION}
+-install(EXPORT ${LAPACKELIB}-targets
+- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${LAPACKELIB}-${LAPACK_VERSION}
- COMPONENT Development
- )
diff --git a/LAPACKE/cmake/lapacke-config-build.cmake.in b/LAPACKE/cmake/lapacke-config-build.cmake.in
@@ -570,8 +542,8 @@ deleted file mode 100644
-find_package(LAPACK NO_MODULE)
-
-# Load lapack targets from the build tree, including lapacke targets.
--if(NOT TARGET lapacke)
-- include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
+-if(NOT TARGET @LAPACKELIB@)
+- include("@LAPACK_BINARY_DIR@/@LAPACKLIB@-targets.cmake")
-endif()
-
-# Hint for project building against lapack
@@ -581,37 +553,33 @@ deleted file mode 100644
-set(LAPACKE_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
-
-# Report lapacke libraries.
--set(LAPACKE_LIBRARIES lapacke ${LAPACK_LIBRARIES})
+-set(LAPACKE_LIBRARIES @LAPACKELIB@ ${LAPACK_LIBRARIES})
diff --git a/LAPACKE/cmake/lapacke-config-install.cmake.in b/LAPACKE/cmake/lapacke-config-install.cmake.in
deleted file mode 100644
--- a/LAPACKE/cmake/lapacke-config-install.cmake.in
+++ /dev/null
-@@ -1,26 +0,0 @@
+@@ -1,22 +0,0 @@
-# Compute locations from <prefix>/@{LIBRARY_DIR@/cmake/lapacke-<v>/<self>.cmake
-get_filename_component(_LAPACKE_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
--get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_SELF_DIR}" PATH)
--get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_PREFIX}" PATH)
--get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_PREFIX}" PATH)
-
-# Load the LAPACK package with which we were built.
--set(LAPACK_DIR "${_LAPACKE_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/lapack-@LAPACK_VERSION@")
+-set(LAPACK_DIR "@CMAKE_INSTALL_FULL_LIBDIR@/cmake/@LAPACKLIB@-@LAPACK_VERSION@")
-find_package(LAPACK NO_MODULE)
-
-# Load lapacke targets from the install tree.
--if(NOT TARGET lapacke)
-- include(${_LAPACKE_SELF_DIR}/lapacke-targets.cmake)
+-if(NOT TARGET @LAPACKELIB@)
+- include(${_LAPACKE_SELF_DIR}/@LAPACKELIB@-targets.cmake)
-endif()
-
-# Hint for project building against lapack
-set(LAPACKE_Fortran_COMPILER_ID ${LAPACK_Fortran_COMPILER_ID})
-
-# Report lapacke header search locations.
--set(LAPACKE_INCLUDE_DIRS ${_LAPACKE_PREFIX}/include)
+-set(LAPACKE_INCLUDE_DIRS @CMAKE_INSTALL_FULL_INCLUDEDIR@)
-
-# Report lapacke libraries.
--set(LAPACKE_LIBRARIES lapacke ${LAPACK_LIBRARIES})
+-set(LAPACKE_LIBRARIES @LAPACKELIB@ ${LAPACK_LIBRARIES})
-
--unset(_LAPACKE_PREFIX)
-unset(_LAPACKE_SELF_DIR)
diff --git a/LAPACKE/cmake/lapacke-config-version.cmake.in b/LAPACKE/cmake/lapacke-config-version.cmake.in
deleted file mode 100644
@@ -626,3 +594,20 @@ deleted file mode 100644
- endif()
-endif()
-
+diff --git a/LAPACKE/include/CMakeLists.txt b/LAPACKE/include/CMakeLists.txt
+--- a/LAPACKE/include/CMakeLists.txt
++++ b/LAPACKE/include/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ set(LAPACKE_INCLUDE lapack.h)
+-IF(LAPACKE)
++IF(BUILD_LAPACKE)
+ list(APPEND LAPACKE_INCLUDE lapacke.h lapacke_config.h lapacke_utils.h)
+ endif()
+
+@@ -23,4 +23,4 @@
+ message(WARNING "Reverting to pre-defined include/lapacke_mangling.h")
+ configure_file(lapacke_mangling_with_flags.h.in
+ ${LAPACK_BINARY_DIR}/include/lapacke_mangling.h)
+-endif()
+\ No newline at end of file
++endif()
diff --git a/libraries/lastfmlib/README b/libraries/lastfmlib/README
deleted file mode 100644
index 224c280307..0000000000
--- a/libraries/lastfmlib/README
+++ /dev/null
@@ -1,3 +0,0 @@
-lastfmlib is library that provides an implementation of the Last.fm
-Submissions Protocol v1.2. It allows you to scrobble your tracks on
-Last.fm
diff --git a/libraries/lastfmlib/lastfmlib.SlackBuild b/libraries/lastfmlib/lastfmlib.SlackBuild
deleted file mode 100644
index f819518b03..0000000000
--- a/libraries/lastfmlib/lastfmlib.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for lastfmlib
-
-# Copyright 2010 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=lastfmlib
-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 {} \;
-
-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-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL 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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/lastfmlib/lastfmlib.info b/libraries/lastfmlib/lastfmlib.info
deleted file mode 100644
index eab4bc143d..0000000000
--- a/libraries/lastfmlib/lastfmlib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lastfmlib"
-VERSION="0.4.0"
-HOMEPAGE="https://github.com/dirkvdb/lastfmlib"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/lastfmlib/lastfmlib-0.4.0.tar.gz"
-MD5SUM="f6f00882c15b8cc703718d22e1b1871f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/libraries/lastfmlib/slack-desc b/libraries/lastfmlib/slack-desc
deleted file mode 100644
index b7aa96e6a2..0000000000
--- a/libraries/lastfmlib/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------------------------------------------------------|
-lastfmlib: lastfmlib (Last.fm Submission Protocol Library)
-lastfmlib:
-lastfmlib: lastfmlib is library that provides an implementation of the
-lastfmlib: Last.fm Submissions Protocol v1.2. It allows you to scrobble
-lastfmlib: your tracks on Last.fm
-lastfmlib:
-lastfmlib: Homepage: https://github.com/dirkvdb/lastfmlib
-lastfmlib:
-lastfmlib:
-lastfmlib:
-lastfmlib:
diff --git a/libraries/lensfun/README b/libraries/lensfun/README
deleted file mode 100644
index f9ba83d9f5..0000000000
--- a/libraries/lensfun/README
+++ /dev/null
@@ -1,9 +0,0 @@
-lensfun is a library that provide a open source database of photographic
-lenses and their characteristics, also provides a set of algorithms for
-correcting images based on detailed knowledge of lens properties and
-calibration data.
-
-NOTE:
-There are 2 scripts that requires python3:
-- lensfun-add-adapter
-- lensfun-update-data
diff --git a/libraries/lensfun/lensfun-fix-python-install-dir.patch b/libraries/lensfun/lensfun-fix-python-install-dir.patch
deleted file mode 100644
index e6713f9bb6..0000000000
--- a/libraries/lensfun/lensfun-fix-python-install-dir.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 3b46bb2a4eada7f29e016d586229782f6d1c35bb Mon Sep 17 00:00:00 2001
-From: Pino Toscano <toscano.pino@tiscali.it>
-Date: Sat, 9 Jan 2016 11:47:37 +0100
-Subject: [PATCH] cmake: fix DESTDIR installation for python
-
-When running `setup.py install`, respect the value of the DESTDIR
-environment variable so staged installs (used by distros, for example)
-work.
----
- apps/CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
-index 70c77fd..2f6f8f1 100644
---- a/apps/CMakeLists.txt
-+++ b/apps/CMakeLists.txt
-@@ -42,5 +42,5 @@ IF(PYTHON)
- IF(NOT DEFINED SETUP_PY_INSTALL_PREFIX)
- SET(SETUP_PY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
- ENDIF()
-- INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=${SETUP_PY_INSTALL_PREFIX})")
-+ INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=\$ENV{DESTDIR}${SETUP_PY_INSTALL_PREFIX})")
- ENDIF(PYTHON)
---
-2.6.4
-
-
diff --git a/libraries/lensfun/lensfun.SlackBuild b/libraries/lensfun/lensfun.SlackBuild
deleted file mode 100644
index 6e9fc0a567..0000000000
--- a/libraries/lensfun/lensfun.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script of lensfun
-
-# Copyright 2009 Ricardson Williams <ricardsonwilliams at yahoo.com.br>
-# Copyright 2013-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=lensfun
-VERSION=${VERSION:-0.3.2}
-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 {} \;
-
-patch -p1 < $CWD/lensfun-fix-python-install-dir.patch
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DBUILD_FOR_SSE=ON \
- -DBUILD_FOR_SSE2=ON \
- -DBUILD_TESTS=OFF \
- -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 README* docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
-
-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}
diff --git a/libraries/lensfun/lensfun.info b/libraries/lensfun/lensfun.info
deleted file mode 100644
index 9f66e9188b..0000000000
--- a/libraries/lensfun/lensfun.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lensfun"
-VERSION="0.3.2"
-HOMEPAGE="http://lensfun.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/lensfun/files/0.3.2/lensfun-0.3.2.tar.gz"
-MD5SUM="247e59a0812ec451f6cd0d20b3379cb5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/lensfun/slack-desc b/libraries/lensfun/slack-desc
deleted file mode 100644
index 690364a276..0000000000
--- a/libraries/lensfun/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------------------------------------------------------|
-lensfun: lensfun (photographic lens characteristics database library)
-lensfun:
-lensfun: lensfun is a library that provide a open source database of
-lensfun: photographic lenses and their characteristics also provides
-lensfun: a set of algorithms for correcting images based on detailed
-lensfun: knowledge of lens properties and calibration data.
-lensfun:
-lensfun: Homepage: http://lensfun.sourceforge.net/
-lensfun:
-lensfun:
-lensfun:
diff --git a/libraries/leptonica/leptonica.SlackBuild b/libraries/leptonica/leptonica.SlackBuild
index fb1e02819e..9a74252535 100644
--- a/libraries/leptonica/leptonica.SlackBuild
+++ b/libraries/leptonica/leptonica.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for leptonica
@@ -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=leptonica
-VERSION=${VERSION:-1.79.0}
+VERSION=${VERSION:-1.84.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}
@@ -85,6 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
@@ -96,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/libraries/leptonica/leptonica.info b/libraries/leptonica/leptonica.info
index 671aa57f1d..91ad9561c0 100644
--- a/libraries/leptonica/leptonica.info
+++ b/libraries/leptonica/leptonica.info
@@ -1,8 +1,8 @@
PRGNAM="leptonica"
-VERSION="1.79.0"
+VERSION="1.84.1"
HOMEPAGE="http://www.leptonica.com/"
-DOWNLOAD="https://github.com/DanBloomberg/leptonica/archive/1.79.0/leptonica-1.79.0.tar.gz"
-MD5SUM="22f87191b5f35161598734a413d20cc2"
+DOWNLOAD="https://github.com/DanBloomberg/leptonica/archive/1.84.1/leptonica-1.84.1.tar.gz"
+MD5SUM="58f37c12b1e9473c0c7ac0b1259e6a5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/levmar/Makefile.SBo b/libraries/levmar/Makefile.SBo
index 7474a817f7..8583574967 100644
--- a/libraries/levmar/Makefile.SBo
+++ b/libraries/levmar/Makefile.SBo
@@ -41,6 +41,6 @@ depend:
install: $(ODIR)/liblevmar.so.$(MAJ).$(MIN)
install -Dpm 644 levmar.h $(DESTDIR)/usr/include/levmar/levmar.h
- install -Dpm 755 build/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN)
+ install -s -Dpm 755 build/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN)
ln -rs $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ)
ln -rs $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so
diff --git a/libraries/levmar/README b/libraries/levmar/README
index 85388f0795..1376d60ff7 100644
--- a/libraries/levmar/README
+++ b/libraries/levmar/README
@@ -1,4 +1,5 @@
levmar (Levenberg-Marquardt nonlinear least squares algorithm)
-GPL native ANSI C implementations of the Levenberg-Marquardt optimization
-algorithm, usable also from C++, Matlab, Perl, Python, Haskell and Tcl.
+GPL native ANSI C implementations of the Levenberg-Marquardt
+optimization algorithm, usable also from C++, Matlab, Perl, Python,
+Haskell and Tcl.
diff --git a/libraries/levmar/levmar.SlackBuild b/libraries/levmar/levmar.SlackBuild
index 6e59867b8a..ffbcb16e2f 100644
--- a/libraries/levmar/levmar.SlackBuild
+++ b/libraries/levmar/levmar.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for levmar
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220423 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add SlackBuild to doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=levmar
VERSION=${VERSION:-2.6}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
mkdir -p build
make -f $CWD/Makefile.SBo \
@@ -76,14 +86,12 @@ make -f $CWD/Makefile.SBo install \
DESTDIR=$PKG \
LIB_SUFFIX="$LIBDIRSUFFIX"
-find $PKG -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.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/libraries/lgi/lgi.SlackBuild b/libraries/lgi/lgi.SlackBuild
index 7480f9dc9f..7077cf00d5 100644
--- a/libraries/lgi/lgi.SlackBuild
+++ b/libraries/lgi/lgi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lgi
@@ -24,10 +24,13 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lgi
VERSION=${VERSION:-0.9.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}
@@ -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/libraries/libADLMIDI/README b/libraries/libADLMIDI/README
new file mode 100644
index 0000000000..29a0ad1f67
--- /dev/null
+++ b/libraries/libADLMIDI/README
@@ -0,0 +1,35 @@
+libADLMIDI is a free Software MIDI synthesizer library with OPL3
+emulation.
+
+Some Key features:
+
+OPL3 emulation with four-operator mode support
+FM patches from a number of known PC games, copied from files typical
+ to AIL = Miles Sound System / DMX / HMI = Human Machine Interfaces /
+ Creative IBK.
+Stereo sound
+Number of simulated OPL3 chips can be specified as 1-100 (maximum
+ channels 1800!)
+Pan (binary panning, i.e. left/right side on/off)
+Pitch-bender with adjustable range
+Vibrato that responds to RPN/NRPN parameters
+Sustain (a.k.a. Pedal hold) and Sostenuto enable/disable
+MIDI and RMI file support
+Real-Time MIDI API support
+loopStart / loopEnd tag support (Final Fantasy VII)
+111-th controller based loop start (RPG-Maker)
+Use automatic arpeggio with chords to relieve channel pressure
+Support for multiple concurrent MIDI synthesizers (per-track
+ device/port select FF 09 message), can be used to overcome 16 channel
+ limit
+Support for playing Id-software Music File format (IMF)
+Support for custom banks of WOPL format
+Partial support for GS and XG standards (having more instruments than
+ in one 128:128 GM set and ability to use multiple channels for
+ percussion purposes, and a support for some GS/XG exclusive
+ controllers)
+CC74 "Brightness" affects a modulator scale (to simulate frequency
+ cut-off on WT synths)
+Portamento support (CC5, CC37, and CC65)
+SysEx support that supports some generic, GS, and XG features
+Full-panning stereo option (works for emulators only)
diff --git a/libraries/libADLMIDI/libADLMIDI.SlackBuild b/libraries/libADLMIDI/libADLMIDI.SlackBuild
new file mode 100644
index 0000000000..b76204ef65
--- /dev/null
+++ b/libraries/libADLMIDI/libADLMIDI.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for libADLMIDI
+
+# Copyright 2022 Steven Voges <svoges.sbo@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=libADLMIDI
+VERSION=${VERSION:-1.5.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 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DlibADLMIDI_SHARED=ON \
+ -DlibADLMIDI_STATIC=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -R $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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.txt AUTHORS LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libADLMIDI/libADLMIDI.info b/libraries/libADLMIDI/libADLMIDI.info
new file mode 100644
index 0000000000..61ecd5a4cf
--- /dev/null
+++ b/libraries/libADLMIDI/libADLMIDI.info
@@ -0,0 +1,10 @@
+PRGNAM="libADLMIDI"
+VERSION="1.5.1"
+HOMEPAGE="https://github.com/Wohlstand/libADLMIDI"
+DOWNLOAD="https://github.com/Wohlstand/libADLMIDI/archive/v1.5.1/libADLMIDI-1.5.1.tar.gz"
+MD5SUM="35c4c7eb14cd56176dc0eb71098cce72"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/libADLMIDI/slack-desc b/libraries/libADLMIDI/slack-desc
new file mode 100644
index 0000000000..2a4e00acc5
--- /dev/null
+++ b/libraries/libADLMIDI/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------------------------------------------------------|
+libADLMIDI: libADLMIDI (MIDI Synthesizer)
+libADLMIDI:
+libADLMIDI: libADLMIDI is a free Software MIDI synthesizer library with OPL3
+libADLMIDI: emulation.
+libADLMIDI:
+libADLMIDI: Homepage: https://github.com/Wohlstand/libADLMIDI
+libADLMIDI:
+libADLMIDI:
+libADLMIDI:
+libADLMIDI:
+libADLMIDI:
diff --git a/libraries/libAfterImage/libAfterImage.SlackBuild b/libraries/libAfterImage/libAfterImage.SlackBuild
index a542f73809..2897d115b0 100644
--- a/libraries/libAfterImage/libAfterImage.SlackBuild
+++ b/libraries/libAfterImage/libAfterImage.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libAfterImage
# Written by Larry Hajali
# Now maintained by David Woodfall <dave@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libAfterImage
VERSION=${VERSION:-1.20}
BUILD=${BUILD:-2}
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}
@@ -55,9 +65,6 @@ find -L . \
# Patch for libpng16 (from Gentoo)
patch -p0 < $CWD/libafterimage-libpng15.patch
-# Get rid of ldconfig in Makefile
-find . -name "Makefile*" -exec sed -i '/LDCONFIG/d' {} \;
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-x \
--build=$ARCH-slackware-linux
-make
+make AR="ar cq"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -90,8 +97,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog 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/libraries/libAfterImage/libAfterImage.info b/libraries/libAfterImage/libAfterImage.info
index 5f32b9402b..137cdcbe81 100644
--- a/libraries/libAfterImage/libAfterImage.info
+++ b/libraries/libAfterImage/libAfterImage.info
@@ -6,5 +6,5 @@ MD5SUM="17a0ab8a2e6b253f222934418705963e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libEMF/README b/libraries/libEMF/README
index abe36ad29e..8e75015875 100644
--- a/libraries/libEMF/README
+++ b/libraries/libEMF/README
@@ -1,8 +1,5 @@
-libEMF is a C/C++ library which provides a drawing toolkit based on
-ECMA-234. The general purpose of this library is to create vector graphics
-files on POSIX systems which can be imported into StarOffice/OpenOffice.
-The library is also used by pstoedit to convert postscript and pdf files
-to EMF format.
-
-This might build with 32-bit compat libs on x86_64, but definitely not
-without them.
+libEMF is a C/C++ library which provides a drawing toolkit based on
+ECMA-234. The general purpose of this library is to create vector
+graphics files on POSIX systems which can be imported into
+StarOffice/OpenOffice. The library is also used by pstoedit to convert
+postscript and pdf files to EMF format.
diff --git a/libraries/libEMF/libEMF.SlackBuild b/libraries/libEMF/libEMF.SlackBuild
index fdf1ccd2dc..6a0cf19844 100644
--- a/libraries/libEMF/libEMF.SlackBuild
+++ b/libraries/libEMF/libEMF.SlackBuild
@@ -1,28 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libEMF
# written by <pedro@gepasi.org>, hereby in the public domain
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove .la files. Again.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libEMF
-VERSION=${VERSION:-1.0.7}
-BUILD=${BUILD:-1}
+SRCNAM=libemf
+VERSION=${VERSION:-1.0.13}
+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"
@@ -40,17 +52,18 @@ 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 {} \+
# static library is activated because the perl extension needs it
+# 20220418 bkw: I see "--disable-static" here. Also, what perl extension?
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -60,16 +73,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--enable-editing \
+ --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
+make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING COPYING.LIB INSTALL NEWS README \
+cp -a AUTHORS ChangeLog COPYING COPYING.LIB NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -77,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/libraries/libEMF/libEMF.info b/libraries/libEMF/libEMF.info
index 01125f1bf0..283805aa96 100644
--- a/libraries/libEMF/libEMF.info
+++ b/libraries/libEMF/libEMF.info
@@ -1,9 +1,9 @@
PRGNAM="libEMF"
-VERSION="1.0.7"
+VERSION="1.0.13"
HOMEPAGE="http://libemf.sourceforge.net"
-DOWNLOAD="http://sourceforge.net/projects/libemf/files/libemf/1.0.7/libEMF-1.0.7.tar.gz"
-MD5SUM="f1011f5cc254aa228be78704fe5f9960"
-DOWNLOAD_x86_64="UNSUPPORTED"
+DOWNLOAD="http://downloads.sourceforge.net/libemf/libemf-1.0.13.tar.gz"
+MD5SUM="023e2d718e3829d9858647a97ba53eb6"
+DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Pedro Mendes"
diff --git a/libraries/libQuotient/README b/libraries/libQuotient/README
new file mode 100644
index 0000000000..664573a875
--- /dev/null
+++ b/libraries/libQuotient/README
@@ -0,0 +1,5 @@
+The Quotient project aims to produce a Qt5-based SDK to develop
+applications for Matrix. libQuotient is a library that enables client
+applications. It is the backbone of Quaternion, Spectral and other
+projects. Versions 0.5.x and older use the previous name -
+libQMatrixClient.
diff --git a/libraries/libQuotient/libQuotient.SlackBuild b/libraries/libQuotient/libQuotient.SlackBuild
new file mode 100644
index 0000000000..a2274c2858
--- /dev/null
+++ b/libraries/libQuotient/libQuotient.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for libQuotient
+
+# Copyright 2020 Charles Daniels, 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=libQuotient
+VERSION=${VERSION:-0.5.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libQuotient/libQuotient.info b/libraries/libQuotient/libQuotient.info
new file mode 100644
index 0000000000..1f0e7f4044
--- /dev/null
+++ b/libraries/libQuotient/libQuotient.info
@@ -0,0 +1,10 @@
+PRGNAM="libQuotient"
+VERSION="0.5.3.2"
+HOMEPAGE="https://github.com/quotient-im/libQuotient"
+DOWNLOAD="https://github.com/quotient-im/libQuotient/archive/0.5.3.2/libQuotient-0.5.3.2.tar.gz"
+MD5SUM="21d8b4840f489715676e380517880f34"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Charles Daniels"
+EMAIL="charles@cdaniels.net"
diff --git a/libraries/libQuotient/slack-desc b/libraries/libQuotient/slack-desc
new file mode 100644
index 0000000000..4b15b19d3d
--- /dev/null
+++ b/libraries/libQuotient/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------------------------------------------------------|
+libQuotient: libQuotient (Qt5 library to write cross-platform clients for Matrix)
+libQuotient:
+libQuotient: The Quotient project aims to produce a Qt5-based SDK to develop
+libQuotient: applications for Matrix. libQuotient is a library that enables client
+libQuotient: applications. It is the backbone of Quaternion, Spectral and other
+libQuotient: projects. Versions 0.5.x and older use the previous name -
+libQuotient: libQMatrixClient.
+libQuotient:
+libQuotient: Homepage: https://github.com/quotient-im/libQuotient
+libQuotient:
+libQuotient:
diff --git a/libraries/libROM/README b/libraries/libROM/README
new file mode 100644
index 0000000000..1f353488e2
--- /dev/null
+++ b/libraries/libROM/README
@@ -0,0 +1,13 @@
+ libROM is a free, lightweight, scalable C++ library for data-driven
+physical simulation methods. It is the main tool box that the reduced
+order modeling team at LLNL uses to develop efficient model order
+reduction techniques and physics-constrained data-driven methods. We
+try to collect any useful reduced order model routines, which are
+separable to the high-fidelity physics solvers, into libROM. Plus,
+libROM is open source, so anyone is welcome to suggest new ideas or
+contribute to the development. Let's work together for better
+data-driven technology!
+
+
+ If you want to use MFEM set MFEM=yes, this requires the hypre, metis,
+parmetis and mfem package.
diff --git a/libraries/libROM/libROM.SlackBuild b/libraries/libROM/libROM.SlackBuild
new file mode 100644
index 0000000000..0ac8fc0089
--- /dev/null
+++ b/libraries/libROM/libROM.SlackBuild
@@ -0,0 +1,135 @@
+#!/bin/bash
+
+# Slackware build script for libROM
+
+# 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=libROM
+VERSION=${VERSION:-1.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ 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 [ ${MFEM:-no} == "yes" ]; then
+ OPTS="-DUSE_MFEM:BOOL=ON -DHYPRE_INCLUDES:STRING=/usr/include/hypre -DPARMETIS_INCLUDES:STRING=/usr/include/parmetis"
+ # don't build examples
+ sed -i '128s/if (USE_MFEM)/if ((USE_MFEM) AND (BUILD_EXAMPLES))/' CMakeLists.txt
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_STATIC:BOOL=OFF \
+ $OPTS \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ cd tests; for file in smoke_test test_include; do echo "Running $file"; ./$file; done; cd -
+ # none install rule
+cd ..
+
+install -d $PKG/usr/lib${LIBDIRSUFFIX}
+install -m 755 build/lib/libROM.so $PKG/usr/lib${LIBDIRSUFFIX}
+
+install -d $PKG/usr/include/$PRGNAM
+install -m 644 lib/{CAROM_config,FCMangle,librom}.h $PKG/usr/include/$PRGNAM
+cp -a lib/{algo,hyperreduction,linalg,mfem,utils} $PKG/usr/include/$PRGNAM
+
+# install examples
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -av examples $PKG/usr/share/$PRGNAM-$VERSION
+cat << EOF > $PKG/usr/share/$PRGNAM-$VERSION/examples/build-all.sh
+for file in \$(ls {dmd,prom}/*.cpp);do
+ echo "compiling \$file"
+ g++ -o \${file%%.*} \$file -I/usr/include -I/usr/include/hypre -I/usr/include/libROM -Wl,-rpath -Wl,/usr/lib${LIBDIRSUFFIX} -Wl,--enable-new-dtags -pthread -lROM -Wl,-rpath -Wl,/usr/lib64 -Wl,--enable-new-dtags -pthread -lscalapack -lmpi -lhdf5 -llapack -lblas -lmfem -lHYPRE -lparmetis -lmetis
+done
+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 LICENSE-APACHE LICENSE-MIT NOTICE 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/libraries/libROM/libROM.info b/libraries/libROM/libROM.info
new file mode 100644
index 0000000000..093602cd8f
--- /dev/null
+++ b/libraries/libROM/libROM.info
@@ -0,0 +1,10 @@
+PRGNAM="libROM"
+VERSION="1.0.0"
+HOMEPAGE="https://www.librom.net"
+DOWNLOAD="https://github.com/LLNL/libROM/archive/v1.0.0/libROM-1.0.0.tar.gz"
+MD5SUM="6a7365522766a61a89896e0f74a5b471"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="hdf5 scalapack"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libROM/slack-desc b/libraries/libROM/slack-desc
new file mode 100644
index 0000000000..ad42753f67
--- /dev/null
+++ b/libraries/libROM/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------------------------------------------------------|
+libROM: libROM (C++ library for data-driven physical simulation methods)
+libROM:
+libROM:
+libROM: libROM is a free, lightweight, scalable C++ library for data-driven
+libROM: physical simulation methods. It is the main tool box that the reduced
+libROM: order modeling team at LLNL uses to develop efficient model order
+libROM: reduction techniques and physics-constrained data-driven methods. We
+libROM: try to collect any useful reduced order model routines, which are
+libROM: separable to the high-fidelity physics solvers, into libROM.
+libROM:
+libROM:
diff --git a/libraries/libXCFun/README b/libraries/libXCFun/README
new file mode 100644
index 0000000000..85296962b7
--- /dev/null
+++ b/libraries/libXCFun/README
@@ -0,0 +1,5 @@
+ XCFun is a library of exchange-correlation (XC) functionals to be
+used in density-functional theory (DFT) codes. XCFun follows a unique
+implementation strategy which enables the computation of derivatives
+of the XC functional kernel up to arbitrary order. It does so by
+relying on forward-mode automatic differentiation.
diff --git a/libraries/libXCFun/libXCFun.SlackBuild b/libraries/libXCFun/libXCFun.SlackBuild
new file mode 100644
index 0000000000..0a6f1ffec4
--- /dev/null
+++ b/libraries/libXCFun/libXCFun.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for libXCFun
+
+# 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=libXCFun
+VERSION=${VERSION:-2.1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM="xcfun"
+
+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 {} \;
+
+# Not compiling with python enabled, keep it for testing later.
+#if [ "${PYTHON:-no}" == "yes" ]; then
+# OPT_BUILD="-DXCFUN_PYTHON_INTERFACE=ON"
+#fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release \
+ $OPT_BUILD \
+ ..
+ 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 -depth -type d -empty -delete || true
+
+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
diff --git a/libraries/libXCFun/libXCFun.info b/libraries/libXCFun/libXCFun.info
new file mode 100644
index 0000000000..c292605b8b
--- /dev/null
+++ b/libraries/libXCFun/libXCFun.info
@@ -0,0 +1,10 @@
+PRGNAM="libXCFun"
+VERSION="2.1.1"
+HOMEPAGE="https://github.com/dftlibs/xcfun"
+DOWNLOAD="https://github.com/dftlibs/xcfun/archive/v2.1.1/xcfun-2.1.1.tar.gz"
+MD5SUM="c346a287d488921029fcc26e96509692"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libXCFun/slack-desc b/libraries/libXCFun/slack-desc
new file mode 100644
index 0000000000..3c12d78783
--- /dev/null
+++ b/libraries/libXCFun/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------------------------------------------------------|
+libXCFun: libXCFun (A library of exchange-correlation functionals)
+libXCFun:
+libXCFun:
+libXCFun: XCFun is a library of exchange-correlation (XC) functionals to be
+libXCFun: used in density-functional theory (DFT) codes. XCFun follows a unique
+libXCFun: implementation strategy which enables the computation of derivatives
+libXCFun: of the XC functional kernel up to arbitrary order. It does so by
+libXCFun: relying on forward-mode automatic differentiation.
+libXCFun:
+libXCFun:
+libXCFun:
diff --git a/libraries/libaacs/README b/libraries/libaacs/README
index 35172eac0f..07e1db98ed 100644
--- a/libraries/libaacs/README
+++ b/libraries/libaacs/README
@@ -1,5 +1,5 @@
-libaacs is a research project to implement the Advanced Access Content System
-specification.
+libaacs is a research project to implement the Advanced Access Content
+System specification.
-Note: libaacs doesn't offer any key or certificate that could be used to decode
-encrypted copyrighted material.
+Note: libaacs doesn't offer any key or certificate that could be used
+to decode encrypted copyrighted material.
diff --git a/libraries/libaacs/libaacs.SlackBuild b/libraries/libaacs/libaacs.SlackBuild
index 201b60e4d6..fa2d613d3a 100644
--- a/libraries/libaacs/libaacs.SlackBuild
+++ b/libraries/libaacs/libaacs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libaacs
@@ -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=libaacs
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.11.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}
@@ -90,11 +100,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 ChangeLog COPYING KEYDB.cfg README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog COPYING KEYDB.cfg 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/libraries/libaacs/libaacs.info b/libraries/libaacs/libaacs.info
index bded5201a4..9a75068a23 100644
--- a/libraries/libaacs/libaacs.info
+++ b/libraries/libaacs/libaacs.info
@@ -1,8 +1,8 @@
PRGNAM="libaacs"
-VERSION="0.9.0"
+VERSION="0.11.0"
HOMEPAGE="http://www.videolan.org/developers/libaacs.html"
-DOWNLOAD="http://ftp.videolan.org/pub/videolan/libaacs/0.9.0/libaacs-0.9.0.tar.bz2"
-MD5SUM="f6730eefc31f53b5e5b82032c424c7e3"
+DOWNLOAD="http://ftp.videolan.org/pub/videolan/libaacs/0.11.0/libaacs-0.11.0.tar.bz2"
+MD5SUM="9594fadca77a4010986d43f92e0959e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libaaio/libaaio.SlackBuild b/libraries/libaaio/libaaio.SlackBuild
index ccd14ba8d4..0c5d148121 100644
--- a/libraries/libaaio/libaaio.SlackBuild
+++ b/libraries/libaaio/libaaio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild for libaaio, 5 January 2017
# awg <awg@cock.li>
@@ -26,10 +26,13 @@
## COPYING or README in the libaaio source distribution for more on
## this.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libaaio
VERSION=${VERSION:-0.3.1}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
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}
@@ -106,8 +116,10 @@ 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
+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/libraries/libaal/libaal.SlackBuild b/libraries/libaal/libaal.SlackBuild
index 53ed14a9ed..67542eb110 100644
--- a/libraries/libaal/libaal.SlackBuild
+++ b/libraries/libaal/libaal.SlackBuild
@@ -1,13 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libaal
-# Written by Kurt Erickson <kurt_erickson@att.net>
+# 20220414 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - get rid of empty/useless files in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libaal
-VERSION=${VERSION:-1.0.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.0.7}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,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}
@@ -63,18 +71,17 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING CREDITS ChangeLog INSTALL README THANKS TODO \
+cp -a AUTHORS BUGS COPYING CREDITS ChangeLog 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/libraries/libaal/libaal.info b/libraries/libaal/libaal.info
index 2e9c3d748f..a88757f54c 100644
--- a/libraries/libaal/libaal.info
+++ b/libraries/libaal/libaal.info
@@ -1,10 +1,10 @@
PRGNAM="libaal"
-VERSION="1.0.6"
-HOMEPAGE="https://sourceforge.net/projects/reiser4/"
-DOWNLOAD="https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/libaal-1.0.6.tar.gz"
-MD5SUM="6fd5c2471e1fd3972fb23ac5dc1b77e3"
+VERSION="1.0.7"
+HOMEPAGE="https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/"
+DOWNLOAD="https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/libaal-1.0.7.tar.gz"
+MD5SUM="144b5ef9f13cb43cb053cb09aef63390"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Kurt Erickson"
-EMAIL="kerickson@lavabit.com"
+MAINTAINER="Pierre-Philipp Braun"
+EMAIL="pbraun@nethence.com"
diff --git a/libraries/libabw/libabw.SlackBuild b/libraries/libabw/libabw.SlackBuild
index 688fff97ce..d4f72dd9eb 100644
--- a/libraries/libabw/libabw.SlackBuild
+++ b/libraries/libabw/libabw.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libabw
@@ -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=libabw
VERSION=${VERSION:-0.1.3}
-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}
@@ -95,8 +105,10 @@ cp -a COPYING.MPL CREDITS ChangeLog HACKING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libadwaita/README b/libraries/libadwaita/README
new file mode 100644
index 0000000000..82c462be4e
--- /dev/null
+++ b/libraries/libadwaita/README
@@ -0,0 +1,35 @@
+Libadwaita is a GTK4 library implementing the GNOME HIG, complementing
+GTK. Libadwaita is the successor of libhandy, but for GTK4.
+
+Among other things, libadwaita provides a set of widgets built on top of
+GTK4 as well as the "Adwaita" theme, a coloring API, and a mechanism to
+make apps linked against it fit in with a system-wide dark mode
+preference.
+
+NOTE:
+This version of libadwaita for Slackware 15.0 has been patched to
+support GTK 4.4. libadwaita upstream advertises its minimum version as
+4.6, although it does not use any C API that is not provided by version
+4.4. However, according to the libadwaita git logs, it libadwaita relies
+on some fixes from GTK 4.6+ to work 100% correctly. I have found
+libadwaita to work perfectly reasonably with GTK 4.4. Adding one patch
+to suppress a CSS runtime warning, the only issue I have run into is
+that some fonts may render as larger than the developers have intended,
+and window widths and heights are slightly larger as well.
+
+As well, starting with libadwaita 1.2, more GObject properties are
+starting to get used that only exist on GTK >= 4.6. I have patched out
+one such usage that I have observed. However, continuing to patch
+libadwaita will not be maintainable in the long run. For that reason,
+libadwaita 1.2.x will be the end of the line for Slackware 15.0.
+
+If you wish to use libadwaita as fully intended by the developers, you
+can build a local copy of GTK 4 >= 4.6 on your system.
+
+Build options:
+
+BUILDTYPE => customize build type by setting to a value recognized by
+meson; eg, BUILDTYPE=debug (defaults to 'release').
+
+GTK_DOC => set to 'true' to build API documentation; requires
+`gi-docgen` (defaults to 'false').
diff --git a/libraries/libadwaita/doinst.sh b/libraries/libadwaita/doinst.sh
new file mode 100644
index 0000000000..76de420f48
--- /dev/null
+++ b/libraries/libadwaita/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/gtk4-update-icon-cache ]; then
+ /usr/bin/gtk4-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/libraries/libadwaita/libadwaita-1.0.5-support-gtk-4.4.patch b/libraries/libadwaita/libadwaita-1.0.5-support-gtk-4.4.patch
new file mode 100644
index 0000000000..e85ed58ca0
--- /dev/null
+++ b/libraries/libadwaita/libadwaita-1.0.5-support-gtk-4.4.patch
@@ -0,0 +1,12 @@
+diff -Naur libadwaita-1.0.5/src/meson.build libadwaita-1.0.5.new/src/meson.build
+--- libadwaita-1.0.5/src/meson.build 2022-06-01 06:48:47.000000000 -0400
++++ libadwaita-1.0.5.new/src/meson.build 2022-06-13 22:37:56.670269324 -0400
+@@ -222,7 +222,7 @@
+ ]
+
+ glib_min_version = '>= 2.66'
+-gtk_min_version = '>= 4.5.0'
++gtk_min_version = '>= 4.4.0'
+
+ gio_dep = dependency('gio-2.0', version: glib_min_version)
+ gtk_dep = dependency('gtk4', version: gtk_min_version)
diff --git a/libraries/libadwaita/libadwaita-1.0.5-suppress-line-break-warnings.patch b/libraries/libadwaita/libadwaita-1.0.5-suppress-line-break-warnings.patch
new file mode 100644
index 0000000000..c68e9cfb53
--- /dev/null
+++ b/libraries/libadwaita/libadwaita-1.0.5-suppress-line-break-warnings.patch
@@ -0,0 +1,12 @@
+diff --git a/src/stylesheet/widgets/_trees.scss b/src/stylesheet/widgets/_trees.scss
+index 8b137968..a067bd4a 100644
+--- a/src/stylesheet/widgets/_trees.scss
++++ b/src/stylesheet/widgets/_trees.scss
+@@ -73,7 +73,6 @@ treeview.view {
+ padding-bottom: 3px;
+ border-radius: 0;
+ box-shadow: none;
+- line-height: 100%;
+
+ > box {
+ color: gtkalpha(currentColor, if($contrast == 'high', .6, .4));
diff --git a/libraries/libadwaita/libadwaita-1.2.0-dont-use-titlebar-property.patch b/libraries/libadwaita/libadwaita-1.2.0-dont-use-titlebar-property.patch
new file mode 100644
index 0000000000..4b1f004b9a
--- /dev/null
+++ b/libraries/libadwaita/libadwaita-1.2.0-dont-use-titlebar-property.patch
@@ -0,0 +1,15 @@
+diff -Naur libadwaita-1.2.0/src/adw-message-dialog.ui libadwaita-1.2.0.new/src/adw-message-dialog.ui
+--- libadwaita-1.2.0/src/adw-message-dialog.ui 2022-09-14 20:41:34.000000000 -0400
++++ libadwaita-1.2.0.new/src/adw-message-dialog.ui 2023-01-25 18:00:34.228428374 -0500
+@@ -5,11 +5,6 @@
+ <style>
+ <class name="messagedialog"/>
+ </style>
+- <property name="titlebar">
+- <object class="GtkBox">
+- <property name="visible">False</property>
+- </object>
+- </property>
+ <property name="child">
+ <object class="GtkWindowHandle">
+ <property name="child">
diff --git a/libraries/libadwaita/libadwaita.SlackBuild b/libraries/libadwaita/libadwaita.SlackBuild
new file mode 100644
index 0000000000..92e6e5de08
--- /dev/null
+++ b/libraries/libadwaita/libadwaita.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for libadwaita
+
+# Copyright © 2022-2023 Logan Rathbone, Province of Ontario, 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=libadwaita
+VERSION=${VERSION:-1.2.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+
+patch -p1 < $CWD/libadwaita-1.0.5-support-gtk-4.4.patch
+patch -p1 < $CWD/libadwaita-1.0.5-suppress-line-break-warnings.patch
+patch -p1 < $CWD/libadwaita-1.2.0-dont-use-titlebar-property.patch
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+meson \
+ --buildtype=${BUILDTYPE:-release} \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dgtk_doc=${GTK_DOC:-false} \
+ build/
+
+${NINJA:=ninja} -v -C build/
+DESTDIR=$PKG $NINJA -C build/ install
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# strip, unless debug build requested
+if [[ "$BUILDTYPE" != *"debug"* ]]; then
+ find $PKG -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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS HACKING* README* COPYING 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/libraries/libadwaita/libadwaita.info b/libraries/libadwaita/libadwaita.info
new file mode 100644
index 0000000000..e68d3b3ef3
--- /dev/null
+++ b/libraries/libadwaita/libadwaita.info
@@ -0,0 +1,10 @@
+PRGNAM="libadwaita"
+VERSION="1.2.5"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libadwaita"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/1.2.5/libadwaita-1.2.5.tar.gz"
+MD5SUM="2036469b45424f2592248b628e3fccec"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Logan Rathbone"
+EMAIL="poprocks@gmail.com"
diff --git a/libraries/libadwaita/slack-desc b/libraries/libadwaita/slack-desc
new file mode 100644
index 0000000000..b8d9292faa
--- /dev/null
+++ b/libraries/libadwaita/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------------------------------------------------------|
+libadwaita: libadwaita (GTK 4 library implementing the GNOME HIG)
+libadwaita:
+libadwaita: Libadwaita is a GTK 4 library implementing the GNOME HIG,
+libadwaita: complementing GTK.
+libadwaita:
+libadwaita:
+libadwaita:
+libadwaita:
+libadwaita:
+libadwaita: Homepage: https://gitlab.gnome.org/GNOME/libadwaita
+libadwaita:
diff --git a/libraries/libaec/README b/libraries/libaec/README
index ce12cde722..7b877fef1f 100644
--- a/libraries/libaec/README
+++ b/libraries/libaec/README
@@ -1,9 +1,10 @@
-Libaec provides fast lossless compression of 1 up to 32 bit wide signed or
-unsigned integers (samples). The library achieves best results for low entropy
-data as often encountered in space imaging instrument data or numerical model
-output from weather or climate simulations. While floating point
-representations are not directly supported, they can also be efficiently coded
-by grouping exponents and mantissa.
+Libaec provides fast lossless compression of 1 up to 32 bit wide
+signed or unsigned integers (samples). The library achieves best
+results for low entropy data as often encountered in space imaging
+instrument data or numerical model output from weather or climate
+simulations. While floating point representations are not directly
+supported, they can also be efficiently coded by grouping exponents
+and mantissa.
Libaec implements Golomb-Rice coding as defined in the Space Data System
Standard documents [121.0-B-2][1] and [120.0-G-2][2].
diff --git a/libraries/libaec/libaec.SlackBuild b/libraries/libaec/libaec.SlackBuild
index f90b96c2a6..4f7037615a 100644
--- a/libraries/libaec/libaec.SlackBuild
+++ b/libraries/libaec/libaec.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libaec
-# Copyright 2020 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2020-2024 Gregory J. L. Tourte <artourter@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=libaec
-VERSION=${VERSION:-1.0.4}
+VERSION=${VERSION:-1.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}
@@ -66,10 +76,8 @@ 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 {} \;
+ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
mkdir -p build
( cd build
@@ -84,15 +92,19 @@ mkdir -p build
make install DESTDIR=$PKG
)
+# Remove static libs
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a
+
+# Move cmake files to more sensible location
+mkdir $PKG/usr/lib${LIBDIRSUFFIX}/cmake
+mv $PKG/usr/cmake $PKG/usr/lib${LIBDIRSUFFIX}/cmake/${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
-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 CHANGELOG.md INSTALL README.md README.SZIP THANKS doc/patent.txt \
+ AUTHORS CHANGELOG.md LICENSE.txt README.md README.SZIP THANKS doc/patent.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -100,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/libraries/libaec/libaec.info b/libraries/libaec/libaec.info
index bb9ef1cdcf..ff22009b11 100644
--- a/libraries/libaec/libaec.info
+++ b/libraries/libaec/libaec.info
@@ -1,8 +1,8 @@
PRGNAM="libaec"
-VERSION="1.0.4"
+VERSION="1.1.3"
HOMEPAGE="https://gitlab.dkrz.de/k202009/libaec"
-DOWNLOAD="https://gitlab.dkrz.de/k202009/libaec/uploads/ea0b7d197a950b0c110da8dfdecbb71f/libaec-1.0.4.tar.gz"
-MD5SUM="3635461bbb8d81a95049f7d6821fd4f0"
+DOWNLOAD="https://gitlab.dkrz.de/k202009/libaec/uploads/dc5fc087b645866c14fa22320d91fb27/libaec-1.1.3.tar.gz"
+MD5SUM="5df72a762cec7e9de1140d96e63153dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libaec/slack-desc b/libraries/libaec/slack-desc
index 991de83c37..8d3b6ceb9d 100644
--- a/libraries/libaec/slack-desc
+++ b/libraries/libaec/slack-desc
@@ -15,5 +15,5 @@ libaec: instrument data or numerical model output from weather or climate
libaec: simulations. While floating point representations are not directly
libaec: supported, they can also be efficiently coded by grouping exponents
libaec: and mantissa.
-libaec:
+libaec:
libaec: Libaec can replace SZIP.
diff --git a/libraries/libagentcrypt/libagentcrypt.SlackBuild b/libraries/libagentcrypt/libagentcrypt.SlackBuild
index 598554d479..792b2af175 100644
--- a/libraries/libagentcrypt/libagentcrypt.SlackBuild
+++ b/libraries/libagentcrypt/libagentcrypt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libagentcrypt
-# Copyright 2019, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-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=libagentcrypt
-VERSION=${VERSION:-1.0.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.0.6}
+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}
@@ -95,8 +102,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog 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/libraries/libagentcrypt/libagentcrypt.info b/libraries/libagentcrypt/libagentcrypt.info
index ff478b8ff9..c5b07c6d78 100644
--- a/libraries/libagentcrypt/libagentcrypt.info
+++ b/libraries/libagentcrypt/libagentcrypt.info
@@ -1,10 +1,10 @@
PRGNAM="libagentcrypt"
-VERSION="1.0.5"
+VERSION="1.0.6"
HOMEPAGE="https://github.com/ndilieto/libagentcrypt"
-DOWNLOAD="https://github.com/ndilieto/libagentcrypt/archive/v1.0.5/libagentcrypt-1.0.5.tar.gz"
-MD5SUM="4bfe5be56d2df3dd572091251de3fea1"
+DOWNLOAD="https://github.com/ndilieto/libagentcrypt/archive/v1.0.6/libagentcrypt-1.0.6.tar.gz"
+MD5SUM="1e278d6707628a710d6989d3d034befc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libsodium"
+REQUIRES=""
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/libraries/libalkimia/README b/libraries/libalkimia/README
deleted file mode 100644
index eecb1195b8..0000000000
--- a/libraries/libalkimia/README
+++ /dev/null
@@ -1,3 +0,0 @@
-libalkimia is a library with common classes and functionality used by KDE
-finance applications. Currently it supports a common class to represent
-monetary values with arbitrary precision.
diff --git a/libraries/libalkimia/libalkimia.SlackBuild b/libraries/libalkimia/libalkimia.SlackBuild
deleted file mode 100644
index 7db1569dfb..0000000000
--- a/libraries/libalkimia/libalkimia.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for libalkimia
-
-# Copyright 2011 Gilcio Amaral <gilcio.amaral@gmail.com>
-# 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.
-#
-# 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.
-
-PRGNAM=libalkimia
-VERSION=${VERSION:-5.0.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
-rm -rf $TMP/$PRGNAM-$VERSION
-cd $TMP
-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 {} \;
-
-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 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir $PKG/install
-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/libraries/libalkimia/libalkimia.info b/libraries/libalkimia/libalkimia.info
deleted file mode 100644
index 5c3f807eb0..0000000000
--- a/libraries/libalkimia/libalkimia.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libalkimia"
-VERSION="5.0.0"
-HOMEPAGE="http://kde-apps.org/content/show.php/libalkimia?content=137323"
-DOWNLOAD="http://download.kde.org/stable/alkimia/5.0.0/src/libalkimia-5.0.0.tar.xz"
-MD5SUM="910c153bc6a15aed678fcafb773dd389"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Christophe Nguyen"
-EMAIL="cnguyenminhtan@free.fr"
diff --git a/libraries/libalkimia/slack-desc b/libraries/libalkimia/slack-desc
deleted file mode 100644
index c6df59f83e..0000000000
--- a/libraries/libalkimia/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------------------------------------------------------|
-libalkimia: libalkimia (library used by KDE finance applications)
-libalkimia:
-libalkimia: libalkimia is a library with common classes and functionality used by
-libalkimia: KDE finance applications.
-libalkimia:
-libalkimia:
-libalkimia:
-libalkimia: Homepage:
-libalkimia: http://kde-apps.org/content/show.php/libalkimia?content=137323
-libalkimia:
-libalkimia:
diff --git a/libraries/libantlr3c/libantlr3c.SlackBuild b/libraries/libantlr3c/libantlr3c.SlackBuild
index d3d73b33ad..74a6363a13 100644
--- a/libraries/libantlr3c/libantlr3c.SlackBuild
+++ b/libraries/libantlr3c/libantlr3c.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libantlr3c
# Was written by Euan Thoms <euan at potensol dot com>
@@ -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=libantlr3c
VERSION=${VERSION:-3.4}
-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"
@@ -99,8 +109,10 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+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/libraries/libaom/README b/libraries/libaom/README
deleted file mode 100644
index 5d92532e29..0000000000
--- a/libraries/libaom/README
+++ /dev/null
@@ -1,12 +0,0 @@
-AOMedia Video 1 (AV1) is an Open Source video codec designed for
-video transmission over the Internet. AV1 is planned to surpass
-VP9 and also to eventually be a competitor with HEVC/H.265.
-
-This libaom SlackBuild builds two 'reference' applications:
-
- 1. aomenc: an AV1 encoder
- 2. aomdec: an AV1 decoder
-
-Libraries are available for those who wish to build an AV1 encoder
-(libaom-av1) with a recent version of FFmpeg by specifying
-'--enable-libaom' in the FFmpeg ./configure string.
diff --git a/libraries/libaom/libaom.SlackBuild b/libraries/libaom/libaom.SlackBuild
deleted file mode 100644
index 398cc3d52d..0000000000
--- a/libraries/libaom/libaom.SlackBuild
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------
-# Copyright (c) 2018-2020 Andrew Strong, Blue Mountains, Australia.
-#
-# Permission to use, copy, modify, and distribute this software for
-# any purpose with or without fee is hereby granted, provided that
-# the above copyright notice and this permission notice appear in all
-# copies.
-#
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
-# 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.
-# ----------------------------------------------------------------------
-
-# Version setting is extracted from the git source using the following:
-#
-# Revision: git rev-list --count --all
-# Short Hash: git rev-parse --short HEAD
-#
-# Borrowed from our Arch colleagues with thanks :).
-
-PRGNAM=libaom
-VERSION=${VERSION:-1.0.0.r29281.10cdc996a}
-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 {} \;
-
-cd build
-
- # I don't build either the HTML or the Latex docs as IMHO at this early
- # stage of aom development they are not terribly useful for non-developers.
- # To enable these change '-DENABLE_DOCS:BOOL=OFF' to 'ON' and then uncomment
- # the 'extra docs' section below to install them...
-
- cmake \
- -G "Unix Makefiles" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/lib${LIBDIRSUFFIX} \
- -DCMAKE_INSTALL_INCLUDEDIR=/include \
- -DCMAKE_BUILD_TYPE=Release \
- -DENABLE_NASM=ON \
- -DENABLE_DOCS=OFF \
- -DBUILD_SHARED_LIBS=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 AUTHORS CHANGELOG LICENSE PATENTS README.md $PKG/usr/doc/$PRGNAM-$VERSION
-
-# These are the 'extra docs', more details above...
-# mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{html,latex}
-# cp -a build/docs/html/* $PKG/usr/doc/$PRGNAM-$VERSION/html
-# cp -a build/docs/latex/* $PKG/usr/doc/$PRGNAM-$VERSION/latex
-
-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/libraries/libaom/libaom.info b/libraries/libaom/libaom.info
deleted file mode 100644
index 12bfd5b4fb..0000000000
--- a/libraries/libaom/libaom.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libaom"
-VERSION="1.0.0.r29281.10cdc996a"
-HOMEPAGE="https://aomedia.googlesource.com/aom"
-DOWNLOAD="http://www.andrews-corner.org/downloads/libaom-1.0.0.r29281.10cdc996a.tar.gz"
-MD5SUM="2a2c8163e2b74a0eb838492f0cbb3077"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.strong@gmail.com"
diff --git a/libraries/libaom/slack-desc b/libraries/libaom/slack-desc
deleted file mode 100644
index 59c23736e0..0000000000
--- a/libraries/libaom/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------------------------------------------------------|
-libaom: libaom (Open Source Video Codec)
-libaom:
-libaom: AOMedia Video 1 (AV1) is designed to be the successor to VP9 and
-libaom: also to eventually be a direct competitor for HEVC/H.265.
-libaom: This Slackbuild builds the 'reference' encoder aomenc as well as
-libaom: the 'reference' decoder aomdec.
-libaom:
-libaom: Homepage: https://aomedia.googlesource.com/aom
-libaom:
-libaom:
-libaom:
diff --git a/libraries/libaosd/libaosd.SlackBuild b/libraries/libaosd/libaosd.SlackBuild
index 80439f184d..e8a73dda0d 100644
--- a/libraries/libaosd/libaosd.SlackBuild
+++ b/libraries/libaosd/libaosd.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libaosd
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libaosd
VERSION=${VERSION:-0.2.7}
-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"
@@ -78,8 +88,10 @@ 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
+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/libraries/libappimage/README b/libraries/libappimage/README
new file mode 100644
index 0000000000..ff7a770e5a
--- /dev/null
+++ b/libraries/libappimage/README
@@ -0,0 +1,3 @@
+This library is part of the AppImage project.
+It implements functionality for dealing with
+AppImage files. It is written in C++ and is using Boost.
diff --git a/libraries/libappimage/libappimage.SlackBuild b/libraries/libappimage/libappimage.SlackBuild
new file mode 100644
index 0000000000..fcb2d4730f
--- /dev/null
+++ b/libraries/libappimage/libappimage.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for libappimage
+
+# Copyright 2022 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=libappimage
+VERSION=${VERSION:-1.0.4.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GVER=${GVER:-1.0.4-5}
+
+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
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$GVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$GVER.tar.gz
+cd $PRGNAM-$GVER
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 -B build -S $TMP/$PRGNAM-$GVER \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUSE_SYSTEM_XZ=ON \
+ -DUSE_SYSTEM_SQUASHFUSE=ON \
+ -DUSE_SYSTEM_LIBARCHIVE=ON \
+ -DUSE_SYSTEM_BOOST=ON \
+ -DUSE_SYSTEM_XDGUTILS=ON \
+ -DBUILD_TESTING=OFF \
+ -DLIBAPPIMAGE_DESKTOP_INTEGRATION_ENABLED=ON \
+ -DLIBAPPIMAGE_THUMBNAILER_ENABLED=ON
+
+cmake --build build
+DESTDIR=$PKG cmake --install build
+
+# 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 LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libappimage/libappimage.info b/libraries/libappimage/libappimage.info
new file mode 100644
index 0000000000..2ac30b72ea
--- /dev/null
+++ b/libraries/libappimage/libappimage.info
@@ -0,0 +1,10 @@
+PRGNAM="libappimage"
+VERSION="1.0.4.5"
+HOMEPAGE="https://github.com/AppImage/libappimage/"
+DOWNLOAD="https://github.com/AppImage/libappimage/archive/v1.0.4-5/libappimage-1.0.4-5.tar.gz"
+MD5SUM="0d662d873351e71c13f9fd78e403289c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="xdg-utils-cxx squashfuse"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libappimage/slack-desc b/libraries/libappimage/slack-desc
new file mode 100644
index 0000000000..a58db44cc1
--- /dev/null
+++ b/libraries/libappimage/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------------------------------------------------------|
+libappimage: libappimage (AppImage Library)
+libappimage:
+libappimage: libappimage is part of AppImage Project. It implements
+libappimage: functionality for appimage files. It is written in c++
+libappimage: and uses BOOST library.
+libappimage:
+libappimage:
+libappimage: Homepage:https://appimage.org
+libappimage:
+libappimage:
+libappimage:
diff --git a/libraries/libappindicator3/README b/libraries/libappindicator3/README
deleted file mode 100644
index c2e657520c..0000000000
--- a/libraries/libappindicator3/README
+++ /dev/null
@@ -1,3 +0,0 @@
-A library to allow applications to export a menu into the Unity Menu
-bar. Based on KSNI it also works in KDE and will fallback to generic
-Systray support if none of those are available.
diff --git a/libraries/libappindicator3/libappindicator3.SlackBuild b/libraries/libappindicator3/libappindicator3.SlackBuild
deleted file mode 100644
index 3e5f643a49..0000000000
--- a/libraries/libappindicator3/libappindicator3.SlackBuild
+++ /dev/null
@@ -1,129 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libappindicator
-# Copyright 2017 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=libappindicator3
-SRCNAM=libappindicator
-VERSION=${VERSION:-16.10}
-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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Force autogen.sh to use gtk3 or it errors out
-patch -p1 --verbose < $CWD/patches/gtk3.patch
-
-# The next 3 patches shamelessly pinched from Arch
-patch -p1 --verbose < $CWD/patches/0001-Glib.Timeout-fix.patch
-patch -p1 --verbose < $CWD/patches/0002-Fix-mono-nunit-pkgconfig-name.patch
-patch -p1 --verbose < $CWD/patches/0003-Fix-Mono-assemblies-directory.patch
-
-# This one is also from Arch(ish), but had to be recreated best it could
-patch -p1 --verbose < $CWD/patches/improved-plasma-support.patch
-
-# Patch pinched from Gentoo
-patch -p1 --verbose < $CWD/patches/conditional-py-bindings.patch
-
-# Removed a function which had no declaration
-patch -p1 --verbose < $CWD/patches/badfunction.patch
-
-# Having mono or gtk-sharp installed kills this build
-patch -p1 --verbose < $CWD/patches/disable-mono.patch
-
-# Don't use -Werror
-sed -i -e 's/ -Werror//' src/Makefile.am
-
-./autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++11" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --with-gtk=3 \
- --disable-mono-test \
- --disable-static \
- --disable-gtk-doc-html \
- --disable-tests \
- --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 \
- AUTHORS COPYING COPYING.LGPL.2.1 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/libraries/libappindicator3/libappindicator3.info b/libraries/libappindicator3/libappindicator3.info
deleted file mode 100644
index 491ca05d7f..0000000000
--- a/libraries/libappindicator3/libappindicator3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libappindicator3"
-VERSION="16.10"
-HOMEPAGE="https://launchpad.net/libappindicator"
-DOWNLOAD="http://unrealize.co.uk/source/libappindicator-16.10.tar.gz"
-MD5SUM="5dae1ab64184702cbe724cd8c3e48f8f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libindicator3 libdbusmenu"
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libappindicator3/patches/0001-Glib.Timeout-fix.patch b/libraries/libappindicator3/patches/0001-Glib.Timeout-fix.patch
deleted file mode 100644
index 27744c4117..0000000000
--- a/libraries/libappindicator3/patches/0001-Glib.Timeout-fix.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From f949448c898b2428e146d18e0821fa242a7099f6 Mon Sep 17 00:00:00 2001
-From: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-Date: Tue, 7 Oct 2014 17:21:42 -0400
-Subject: [PATCH 1/3] Glib.Timeout fix
-
----
- example/simple-client-vala.vala | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/example/simple-client-vala.vala b/example/simple-client-vala.vala
-index f8cd874..6d8d71b 100644
---- a/example/simple-client-vala.vala
-+++ b/example/simple-client-vala.vala
-@@ -20,6 +20,7 @@ You should have received a copy of the GNU General Public License along
- with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-+using GLib;
- using Gtk;
- using AppIndicator;
-
---
-2.1.2
-
diff --git a/libraries/libappindicator3/patches/0002-Fix-mono-nunit-pkgconfig-name.patch b/libraries/libappindicator3/patches/0002-Fix-mono-nunit-pkgconfig-name.patch
deleted file mode 100644
index 0398698e3e..0000000000
--- a/libraries/libappindicator3/patches/0002-Fix-mono-nunit-pkgconfig-name.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 72de73f8d90fa54b884086dddf3b06a1d14b9e59 Mon Sep 17 00:00:00 2001
-From: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-Date: Tue, 7 Oct 2014 17:22:16 -0400
-Subject: [PATCH 2/3] Fix mono-nunit pkgconfig name
-
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index d131c9e..c8e480f 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -160,7 +160,7 @@ AC_ARG_ENABLE([mono-test],
- [enable_mono_test=auto])
-
- if test x"$enable_mono_test" != x"no" ; then
-- PKG_CHECK_MODULES(NUNIT, nunit >= 2.4.7,
-+ PKG_CHECK_MODULES(NUNIT, mono-nunit >= 2.4.7,
- [have_nunit=yes],
- [PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit,
- [have_nunit=yes],
---
-2.1.2
-
diff --git a/libraries/libappindicator3/patches/0003-Fix-Mono-assemblies-directory.patch b/libraries/libappindicator3/patches/0003-Fix-Mono-assemblies-directory.patch
deleted file mode 100644
index 42bfacc94e..0000000000
--- a/libraries/libappindicator3/patches/0003-Fix-Mono-assemblies-directory.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From c31b285b856fdf4a131baab5e0a2397a375ac24f Mon Sep 17 00:00:00 2001
-From: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-Date: Tue, 7 Oct 2014 17:23:43 -0400
-Subject: [PATCH 3/3] Fix Mono assemblies directory
-
----
- bindings/mono/Makefile.am | 2 +-
- bindings/mono/appindicator-sharp-0.1.pc.in | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am
-index 6f8e8a9..e1bd6e5 100644
---- a/bindings/mono/Makefile.am
-+++ b/bindings/mono/Makefile.am
-@@ -31,7 +31,7 @@ TARGET = \
- $(DLLPOLICY1) \
- $(POLICY1).config
-
--assemblydir = $(libdir)/cli/appindicator-sharp-0.1
-+assemblydir = $(libdir)/appindicator-sharp-0.1
- assembly_DATA = $(TARGET)
-
- CLEANFILES = \
-diff --git a/bindings/mono/appindicator-sharp-0.1.pc.in b/bindings/mono/appindicator-sharp-0.1.pc.in
-index f63c01e..ca09a6d 100644
---- a/bindings/mono/appindicator-sharp-0.1.pc.in
-+++ b/bindings/mono/appindicator-sharp-0.1.pc.in
-@@ -1,7 +1,7 @@
- prefix=@prefix@
- exec_prefix=@exec_prefix@
- libdir=@libdir@
--assemblies_dir=${prefix}/lib/cli/appindicator-sharp-0.1
-+assemblies_dir=${prefix}/lib/appindicator-sharp-0.1
-
- Name: appindicator-sharp
- Description: application indicators for .NET
---
-2.1.2
-
diff --git a/libraries/libappindicator3/patches/badfunction.patch b/libraries/libappindicator3/patches/badfunction.patch
deleted file mode 100644
index 21a7fa502c..0000000000
--- a/libraries/libappindicator3/patches/badfunction.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur a/src/app-indicator.c b/src/app-indicator.c
---- a/src/app-indicator.c 2017-10-23 07:03:29.000000000 +0000
-+++ b/src/app-indicator.c 2017-10-23 13:08:25.530191393 +0000
-@@ -2577,7 +2577,7 @@
-
- g_return_if_fail(priv->shorties != NULL);
-
-- indicator_desktop_shortcuts_nick_exec_with_context(priv->shorties, nick, NULL);
-+// indicator_desktop_shortcuts_nick_exec_with_context(priv->shorties, nick, NULL);
-
- return;
- }
diff --git a/libraries/libappindicator3/patches/conditional-py-bindings.patch b/libraries/libappindicator3/patches/conditional-py-bindings.patch
deleted file mode 100644
index c916d9ba2c..0000000000
--- a/libraries/libappindicator3/patches/conditional-py-bindings.patch
+++ /dev/null
@@ -1,72 +0,0 @@
---- a/bindings/Makefile.am 2015-07-10 10:04:18.091199191 +0200
-+++ b/bindings/Makefile.am 2015-07-10 10:19:47.047974439 +0200
-@@ -3,8 +3,10 @@
- vala
- else
- SUBDIRS = \
-- python \
- vala
-+if HAS_PYTHON
-+SUBDIRS += python
-+endif
- endif
-
- if HAS_MONO
---- a/configure.ac 2015-07-16 13:28:41.007502838 +0200
-+++ b/configure.ac_new 2015-07-16 13:53:18.118602877 +0200
-@@ -188,25 +188,37 @@
- PYGTK_REQUIRED=2.14.0
- PYGOBJECT_REQUIRED=0.22
-
--AM_PATH_PYTHON(2.3.5)
--AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
-+AC_ARG_ENABLE([python],
-+ AC_HELP_STRING([--enable-python], [Enable python for GTK2 build]),,
-+ [enable_python=yes])
-
--PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
-+if test x"$with_gtk" = x"3" ; then
-+ enable_python=no
-+fi
-+
-+AM_CONDITIONAL(HAS_PYTHON, test x"${enable_python}" != x"no")
-+
-+if test x"$enable_python" != x"no" ; then
-+ AM_PATH_PYTHON(2.3.5)
-+ AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
-+
-+ PKG_CHECK_MODULES(APPINDICATOR_PYTHON,
- [
- pygtk-2.0 >= $PYGTK_REQUIRED
- gtk+-2.0 >= $GTK_REQUIRED_VERSION
- pygobject-2.0 >= $PYGOBJECT_REQUIRED
- ])
-
--AC_MSG_CHECKING(for pygtk defs)
--PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
--AC_SUBST(PYGTK_DEFSDIR)
--AC_MSG_RESULT($PYGTK_DEFSDIR)
--
--AC_MSG_CHECKING(for pygtk codegen)
--PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
--AC_SUBST(PYGTK_CODEGEN)
--AC_MSG_RESULT($PYGTK_CODEGEN)
-+ AC_MSG_CHECKING(for pygtk defs)
-+ PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
-+ AC_SUBST(PYGTK_DEFSDIR)
-+ AC_MSG_RESULT($PYGTK_DEFSDIR)
-+
-+ AC_MSG_CHECKING(for pygtk codegen)
-+ PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py"
-+ AC_SUBST(PYGTK_CODEGEN)
-+ AC_MSG_RESULT($PYGTK_CODEGEN)
-+fi
-
- #########################
- # Check if build tests
-@@ -278,4 +290,5 @@
- Tests: $enable_tests
- Mono tests: $have_nunit
- gcov: $use_gcov
-+ Python: $enable_python
- ])
diff --git a/libraries/libappindicator3/patches/disable-mono.patch b/libraries/libappindicator3/patches/disable-mono.patch
deleted file mode 100644
index a8da053aa9..0000000000
--- a/libraries/libappindicator3/patches/disable-mono.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur a/configure.ac b/configure.ac
---- a/configure.ac 2017-10-23 14:05:48.291548000 +0000
-+++ b/configure.ac 2017-10-23 15:37:41.434800880 +0000
-@@ -104,7 +104,7 @@
- # Check for Mono support
- ###########################
-
--MONO_REQUIRED_VERSION=1.0
-+MONO_REQUIRED_VERSION=9999
- PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
- AM_CONDITIONAL(HAS_MONO, [test "x$has_mono" = "xtrue"])
-
-@@ -143,7 +143,7 @@
- AC_SUBST(GENERATED_SOURCES)
-
- GLIB_SHARP_REQ_VERSION=2.12.1
--GTK_SHARP_REQ_VERSION=2.12
-+GTK_SHARP_REQ_VERSION=9999
- PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= $GTK_SHARP_REQ_VERSION, has_gtksharp=true, has_gtksharp=false)
-
- PKG_CHECK_MODULES(GAPI, gapi-2.0 >= $GLIB_SHARP_REQ_VERSION, has_gapi=true, has_gapi=false)
diff --git a/libraries/libappindicator3/patches/gtk3.patch b/libraries/libappindicator3/patches/gtk3.patch
deleted file mode 100644
index 068af900fc..0000000000
--- a/libraries/libappindicator3/patches/gtk3.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-diff -Naur a/autogen.sh b/autogen.sh
---- a/autogen.sh 2017-10-23 08:03:29.000000000 +0100
-+++ b/autogen.sh 2017-10-23 10:26:05.918283577 +0100
-@@ -10,4 +10,4 @@
- gtkdocize || exit 1
- USE_GNOME2_MACROS=1 \
- USE_COMMON_DOC_BUILD=yes \
--gnome-autogen.sh --enable-gtk-doc $@
-+gnome-autogen.sh --enable-gtk-doc --with-gtk=3 $@
diff --git a/libraries/libappindicator3/patches/improved-plasma-support.patch b/libraries/libappindicator3/patches/improved-plasma-support.patch
deleted file mode 100644
index f41a18652c..0000000000
--- a/libraries/libappindicator3/patches/improved-plasma-support.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Naur a/src/app-indicator.c b/src/app-indicator.c
---- a/src/app-indicator.c 2017-10-23 07:03:29.000000000 +0000
-+++ b/src/app-indicator.c 2017-10-23 13:25:03.332259298 +0000
-@@ -1178,7 +1178,8 @@
- delta = ABS(delta);
- g_signal_emit(app, signals[SCROLL_EVENT], 0, delta, direction);
-
-- } else if (g_strcmp0(method, "SecondaryActivate") == 0 ||
-+ } else if (g_strcmp0(method, "Activate") == 0 ||
-+ g_strcmp0(method, "SecondaryActivate") == 0 ||
- g_strcmp0(method, "XAyatanaSecondaryActivate") == 0) {
- GtkWidget *menuitem = priv->sec_activate_target;
-
-diff -Naur a/src/notification-item.xml b/src/notification-item.xml
---- a/src/notification-item.xml 2017-10-23 07:03:29.000000000 +0000
-+++ b/src/notification-item.xml 2017-10-23 13:24:48.252258271 +0000
-@@ -20,6 +20,10 @@
- <property name="XAyatanaOrderingIndex" type="u" access="read" />
-
- <!-- Methods -->
-+ <method name="Activate">
-+ <arg type="i" name="x" direction="in" />
-+ <arg type="i" name="y" direction="in" />
-+ </method>
- <method name="Scroll">
- <arg type="i" name="delta" direction="in" />
- <arg type="s" name="orientation" direction="in" />
diff --git a/libraries/libappindicator3/patches/vala-inherit.patch b/libraries/libappindicator3/patches/vala-inherit.patch
deleted file mode 100644
index e71cb690c1..0000000000
--- a/libraries/libappindicator3/patches/vala-inherit.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-# http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244
-=== modified file 'bindings/vala/appindicator-0.1-custom.vala'
---- a/bindings/vala/appindicator-0.1-custom.vala 2011-09-23 15:46:27 +0000
-+++ b/bindings/vala/appindicator-0.1-custom.vala 2012-10-10 23:33:35 +0000
-@@ -23,7 +23,7 @@
- */
-
- namespace AppIndicator {
-- [CCode (type_check_function = "IS_APP_INDICATOR")]
-+ [CCode (type_check_function = "IS_APP_INDICATOR", type_id = "app_indicator_get_type ()")]
- public class Indicator : GLib.Object {
- }
- }
-
diff --git a/libraries/libappindicator3/slack-desc b/libraries/libappindicator3/slack-desc
deleted file mode 100644
index 587d1a2ab9..0000000000
--- a/libraries/libappindicator3/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------------------------------------------------------|
-libappindicator3: libappindicator3 (Menu Library)
-libappindicator3:
-libappindicator3: A library to allow applications to export a menu into the Unity Menu
-libappindicator3: bar. Based on KSNI it also works in KDE and will fallback to generic
-libappindicator3: Systray support if none of those are available.
-libappindicator3:
-libappindicator3: https://launchpad.net/libappindicator
-libappindicator3:
-libappindicator3:
-libappindicator3:
-libappindicator3:
diff --git a/libraries/libart-lgpl/README b/libraries/libart-lgpl/README
new file mode 100644
index 0000000000..1dfaf798f6
--- /dev/null
+++ b/libraries/libart-lgpl/README
@@ -0,0 +1,3 @@
+Libart is a library for high-performance 2D graphics. It was used by
+both KDE and GNOME. This is the LGPL'd component of the library.
+Raph Levien <raph@acm.org> is the author of libart.
diff --git a/libraries/libart-lgpl/libart-lgpl.SlackBuild b/libraries/libart-lgpl/libart-lgpl.SlackBuild
new file mode 100644
index 0000000000..05c1662d91
--- /dev/null
+++ b/libraries/libart-lgpl/libart-lgpl.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libart-lgpl
+
+# Copyright 2018 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=libart-lgpl
+VERSION=${VERSION:-r14.0.4}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+DOCS="AUTHORS COPYING ChangeLog NEWS README"
+
+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 {} \;
+
+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 $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
diff --git a/libraries/libart-lgpl/libart-lgpl.info b/libraries/libart-lgpl/libart-lgpl.info
new file mode 100644
index 0000000000..13a7454980
--- /dev/null
+++ b/libraries/libart-lgpl/libart-lgpl.info
@@ -0,0 +1,10 @@
+PRGNAM="libart-lgpl"
+VERSION="r14.0.4"
+HOMEPAGE="http://mirror.git.trinitydesktop.org/cgit/libart-lgpl/"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/libart-lgpl-r14.0.4.tar.xz"
+MD5SUM="12e8ee49a6c843fad3a4be9b3514104a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libart-lgpl/slack-desc b/libraries/libart-lgpl/slack-desc
new file mode 100644
index 0000000000..dbb0dac386
--- /dev/null
+++ b/libraries/libart-lgpl/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------------------------------------------------------|
+libart-lgpl: libart-lgpl (graphics library)
+libart-lgpl:
+libart-lgpl: Libart is a library for high-performance 2D graphics. It was used by
+libart-lgpl: both KDE and GNOME. This is the LGPL'd component of the library.
+libart-lgpl: Raph Levien <raph@acm.org> is the author of libart.
+libart-lgpl:
+libart-lgpl: homepage: http://mirror.git.trinitydesktop.org/cgit/libart-lgpl/
+libart-lgpl:
+libart-lgpl:
+libart-lgpl:
+libart-lgpl:
diff --git a/libraries/libasr/libasr.SlackBuild b/libraries/libasr/libasr.SlackBuild
index 159762547e..5064e96c10 100644
--- a/libraries/libasr/libasr.SlackBuild
+++ b/libraries/libasr/libasr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libasr
@@ -22,10 +22,16 @@
# 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=3:
+# - fix man page permissions (0622, really?)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libasr
VERSION=${VERSION:-1.0.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,23 +92,20 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/man/man3
-install -m0622 src/asr_run.3 $PKG/usr/man/man3
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+gzip -9c < src/asr_run.3 > $PKG/usr/man/man3/asr_run.3.gz
-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
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a ChangeLog LICENCE README* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENCE README* $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION
+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/libraries/libass/README b/libraries/libass/README
deleted file mode 100644
index e65b08e6c1..0000000000
--- a/libraries/libass/README
+++ /dev/null
@@ -1,5 +0,0 @@
-libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation
-Alpha/Substation Alpha) subtitle format. It is mostly compatible with
-VSFilter.
-
-enca is an optional dependency.
diff --git a/libraries/libass/libass.SlackBuild b/libraries/libass/libass.SlackBuild
deleted file mode 100644
index 80ad9a1161..0000000000
--- a/libraries/libass/libass.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libass
-
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2011-2018 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=libass
-VERSION=${VERSION:-0.14.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.?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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --enable-static=no \
- --disable-silent-rules \
- --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 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/libraries/libass/libass.info b/libraries/libass/libass.info
deleted file mode 100644
index 666cb9ea1c..0000000000
--- a/libraries/libass/libass.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libass"
-VERSION="0.14.0"
-HOMEPAGE="https://github.com/libass/libass"
-DOWNLOAD="https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz"
-MD5SUM="5b8c23340654587b8a472cb74ee9366b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libass/slack-desc b/libraries/libass/slack-desc
deleted file mode 100644
index d64a3d90f2..0000000000
--- a/libraries/libass/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------------------------------------------------------|
-libass: libass (Subtitle renderer for the ASS/SSA)
-libass:
-libass: libass is a portable subtitle renderer for the ASS/SSA (Advanced
-libass: Substation Alpha/Substation Alpha) subtitle format. It is mostly
-libass: compatible with VSFilter.
-libass:
-libass: Homepage: http://code.google.com/p/libass/
-libass:
-libass:
-libass:
-libass:
diff --git a/libraries/libast/README b/libraries/libast/README
deleted file mode 100644
index cc28f6968e..0000000000
--- a/libraries/libast/README
+++ /dev/null
@@ -1,8 +0,0 @@
-LibAST is the Library of Assorted Spiffy Things. It contains many
-spiffy things, and it is a library. Thus, the ever-so-creative name.
-LibAST has been previously known as libmej, the Eterm helper library
-which nobody really understood and certainly never used. My current
-plan is to gradually remove some of the neat stuff from Eterm that
-could be made generic (things like the theme parsing engine, the
-command-line options parser, perhaps the event engine, ...) and place
-it here in the hopes that others will find them useful.
diff --git a/libraries/libast/libast.SlackBuild b/libraries/libast/libast.SlackBuild
deleted file mode 100644
index 324f1c27d2..0000000000
--- a/libraries/libast/libast.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libast
-
-# 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=libast
-VERSION=${VERSION:-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
-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} \
- --disable-static \
- --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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog README DESIGN $PKG/usr/doc/$PRGNAM-$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/libraries/libast/libast.info b/libraries/libast/libast.info
deleted file mode 100644
index 5c1239afda..0000000000
--- a/libraries/libast/libast.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libast"
-VERSION="0.7"
-HOMEPAGE="https://www.enlightenment.org/"
-DOWNLOAD="http://www.eterm.org/download/libast-0.7.tar.gz"
-MD5SUM="a9ec3b2da317f35869316e6d9571d296"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/libast/slack-desc b/libraries/libast/slack-desc
deleted file mode 100644
index d50532ea10..0000000000
--- a/libraries/libast/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------------------------------------------------------|
-libast: libast (Library of Assorted Spiffy Things)
-libast:
-libast: LibAST is the Library of Assorted Spiffy Things. It contains many
-libast: spiffy things, and it is a library. Thus, the ever-so-creative name.
-libast: LibAST has been previously known as libmej, the Eterm helper library
-libast: which nobody really understood and certainly never used. My current
-libast: plan is to gradually remove some of the neat stuff from Eterm that
-libast: could be made generic (things like the theme parsing engine, the
-libast: command-line options parser, perhaps the event engine, ...) and place
-libast: it here in the hopes that others will find them useful.
-libast:
diff --git a/libraries/libaudclient/libaudclient.SlackBuild b/libraries/libaudclient/libaudclient.SlackBuild
index 2f88f048cd..c844d17b60 100644
--- a/libraries/libaudclient/libaudclient.SlackBuild
+++ b/libraries/libaudclient/libaudclient.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libaudclient
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libaudclient
VERSION=${VERSION:-3.5_rc2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$(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"
@@ -87,8 +97,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS 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/libraries/libavc1394/README b/libraries/libavc1394/README
index 3f1c83e870..d001f3ecc3 100644
--- a/libraries/libavc1394/README
+++ b/libraries/libavc1394/README
@@ -1,3 +1,3 @@
-libavc1394 is a programming interface for the 1394 Trade Association AV/C
-(Audio/Video Control) Digital Interface Command Set. It is intended for
-use with GNU/Linux IEEE-1394.
+libavc1394 is a programming interface for the 1394 Trade Association
+AV/C (Audio/Video Control) Digital Interface Command Set. It is
+intended for use with GNU/Linux IEEE-1394.
diff --git a/libraries/libavc1394/libavc1394.SlackBuild b/libraries/libavc1394/libavc1394.SlackBuild
index 5e15f71b78..8f9dfdad86 100644
--- a/libraries/libavc1394/libavc1394.SlackBuild
+++ b/libraries/libavc1394/libavc1394.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Pierre Cazenave revision date 11/11/2007
# Updated for Slackware64 28/05/2009
@@ -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=libavc1394
VERSION=${VERSION:-0.5.4}
-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"
@@ -98,8 +108,10 @@ cp -a ChangeLog AUTHORS COPYING INSTALL NEWS README TODO \
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
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/libraries/libavc1394/libavc1394.info b/libraries/libavc1394/libavc1394.info
index d956f9ff0d..7df6738e53 100644
--- a/libraries/libavc1394/libavc1394.info
+++ b/libraries/libavc1394/libavc1394.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/libraries/libavif/README b/libraries/libavif/README
new file mode 100644
index 0000000000..c7c9ec425e
--- /dev/null
+++ b/libraries/libavif/README
@@ -0,0 +1,26 @@
+This library aims to be a portable C implementation of
+AV1 image file format.It can encode and decode all AOM
+supported YUV formats and bit depths.
+
+It builds an decoder avifdec and encoder avifenc.
+avifdec can convert from avif to jpeg or png image.
+avifenc can encode jpeg or png to avif image.
+
+By default man page generation is turned off hence from
+now on pandoc is an optional dependency.Alternative
+documentation for avifdec and avifenc is provided in
+/usr/doc/libavif-$VERSION in the form of markdown files.
+
+If you enable tests in the build script then gtest needs
+to be installed. By default this is also turned off.
+
+usage:
+-------
+
+avifdec [-options] input.avif output.jpeg|jpeg|png|y4m
+
+avifdec -h will show help
+
+avifenc [-options] input.jpg|jpeg|png|y4m output.avif
+
+avifenc -h will show help
diff --git a/libraries/libavif/changelog b/libraries/libavif/changelog
new file mode 100644
index 0000000000..2540c6b659
--- /dev/null
+++ b/libraries/libavif/changelog
@@ -0,0 +1,40 @@
+Changelog for libavif slackbuild script
+--------------------------------------------------------------------
+
+01/10/2022:
+
+Added to slackbuilds.org
+
+06/01/2023:
+
+Updated README
+Updated to github commit 93035c1
+
+Pandoc is used by libavif to build man pages. If you don't need
+manpages don't install pandoc and change the appropriate
+build option.
+
+For x86 architecture pandoc will be an optional dependency.
+pandoc needs to be built from sources for x86 architecture
+since it takes much time to build, I'm not building
+the manpages by default. If you need manpages
+install pandoc and then customize the slackbuild script by
+changing the build option for manpages from OFF to ON.
+
+15/05/2023:
+
+updated to github commit 94352e0
+updated Deps in info file and README
+
+From this build onward man pages are not built by default
+hence pandoc will now be an optional dependency for all
+architectures. Gtest needs to be installed if want to build
+test during compile time, by default this is turned off.
+
+06/02/2024:
+
+Updated to version 1.0.3
+
+19/02/2024:
+
+Updated to version 1.0.4
diff --git a/libraries/libavif/libavif.SlackBuild b/libraries/libavif/libavif.SlackBuild
new file mode 100644
index 0000000000..4a695be48b
--- /dev/null
+++ b/libraries/libavif/libavif.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for libavif
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libavif
+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=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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 {} \;
+
+cmake -B build -S $TMP/$PRGNAM-$VERSION \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DAVIF_ENABLE_WERROR:BOOL=ON \
+ -DAVIF_CODEC_AOM:BOOL=ON \
+ -DAVIF_CODEC_AOM_DECODE:BOOL=ON \
+ -DAVIF_CODEC_AOM_ENCODE:BOOL=ON \
+ -DAVIF_CODEC_DAV1D:BOOL=ON \
+ -DAVIF_CODEC_LIBGAV1:BOOL=OFF \
+ -DAVIF_CODEC_RAV1E:BOOL=OFF \
+ -DAVIF_CODEC_AVM:BOOL=OFF \
+ -DAVIF_CODEC_SVT:BOOL=ON \
+ -DAVIF_BUILD_APPS:BOOL=ON \
+ -DAVIF_BUILD_TESTS:BOOL=OFF \
+ -DAVIF_ENABLE_GTEST:BOOL=OFF \
+ -DAVIF_ENABLE_COVERAGE:BOOL=OFF \
+ -DAVIF_BUILD_MAN_PAGES:BOOL=OFF \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release
+
+make -C build
+make -C build install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md CHANGELOG.md SECURITY.md doc/avifdec.1.md doc/avifenc.1.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libavif/libavif.info b/libraries/libavif/libavif.info
new file mode 100644
index 0000000000..c629421348
--- /dev/null
+++ b/libraries/libavif/libavif.info
@@ -0,0 +1,10 @@
+PRGNAM="libavif"
+VERSION="1.0.4"
+HOMEPAGE="https://github.com/AOMediaCodec/libavif"
+DOWNLOAD="https://github.com/AOMediaCodec/libavif/archive/v1.0.4/libavif-1.0.4.tar.gz"
+MD5SUM="8c786fd21f8757ace8cc011401e4d420"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="aom dav1d svt-av1 libyuv"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libavif/slack-desc b/libraries/libavif/slack-desc
new file mode 100644
index 0000000000..9adac23b00
--- /dev/null
+++ b/libraries/libavif/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------------------------------------------------------|
+libavif: libavif (AVIF Encoding and Decoding Library)
+libavif:
+libavif: This library aims to be a portable C implementation of
+libavif: AV1 image file format.It can encode and decode all AOM
+libavif: supported YUV formats and bit depths.
+libavif:
+libavif: Homepage:https://github.com/AOMediaCodec/libavif
+libavif:
+libavif:
+libavif:
+libavif:
diff --git a/libraries/libayatana-appindicator/README b/libraries/libayatana-appindicator/README
new file mode 100644
index 0000000000..23a186b86f
--- /dev/null
+++ b/libraries/libayatana-appindicator/README
@@ -0,0 +1,4 @@
+libayatana-appindicator (Ayatana Indicators Shared Library )
+
+A library to allow applications to export a menu into the an
+Application Indicators aware menu bar.
diff --git a/libraries/libayatana-appindicator/doinst.sh b/libraries/libayatana-appindicator/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/libraries/libayatana-appindicator/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/libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild b/libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild
new file mode 100644
index 0000000000..055102a92d
--- /dev/null
+++ b/libraries/libayatana-appindicator/libayatana-appindicator.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+#
+# Slackware build script for libayatana-appindicator.
+#
+# Copyright 2023 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libayatana-appindicator
+VERSION=${VERSION:-0.5.93}
+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
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DENABLE_BINDINGS_MONO=OFF \
+ -DENABLE_BINDINGS_VALA=ON \
+ -DENABLE_COVERAGE=OFF \
+ -DENABLE_GTKDOC=ON \
+ -DENABLE_TESTS=OFF \
+ -DENABLE_WERROR=OFF \
+ -DFLAVOUR_GTK2=OFF \
+ -DFLAVOUR_GTK3=ON \
+ -DGLIB_GENMARSHAL=/usr/bin/glib-genmarshal \
+ -DGLIB_MKENUMS=/usr/bin/glib-mkenums \
+ -DGTKDOC=/usr/bin/gtkdoc-scan \
+ ..
+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 AUTHORS ChangeLog 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libayatana-appindicator/libayatana-appindicator.info b/libraries/libayatana-appindicator/libayatana-appindicator.info
new file mode 100644
index 0000000000..ed09354088
--- /dev/null
+++ b/libraries/libayatana-appindicator/libayatana-appindicator.info
@@ -0,0 +1,10 @@
+PRGNAM="libayatana-appindicator"
+VERSION="0.5.93"
+HOMEPAGE="https://github.com/AyatanaIndicators/libayatana-appindicator"
+DOWNLOAD="https://github.com/AyatanaIndicators/libayatana-appindicator/archive/0.5.93/libayatana-appindicator-0.5.93.tar.gz"
+MD5SUM="eb3121198bb7757c9aaf6482221a45de"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libayatana-indicator"
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/libraries/libayatana-appindicator/slack-desc b/libraries/libayatana-appindicator/slack-desc
new file mode 100644
index 0000000000..b407412609
--- /dev/null
+++ b/libraries/libayatana-appindicator/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------------------------------------------------------|
+libayatana-appindicator: libayatana-appindicator (Ayatana Indicators Shared Library )
+libayatana-appindicator:
+libayatana-appindicator: A library to allow applications to export a menu into the an
+libayatana-appindicator: Application Indicators aware menu bar.
+libayatana-appindicator:
+libayatana-appindicator: https://github.com/AyatanaIndicators/libayatana-appindicator
+libayatana-appindicator:
+libayatana-appindicator:
+libayatana-appindicator:
+libayatana-appindicator:
+libayatana-appindicator:
diff --git a/libraries/libayatana-indicator/README b/libraries/libayatana-indicator/README
new file mode 100644
index 0000000000..67c84c3a9b
--- /dev/null
+++ b/libraries/libayatana-indicator/README
@@ -0,0 +1,4 @@
+libayatana-indicator (Ayatana Indicators Shared Library)
+
+Modern desktop panels find out about indicators by looking at
+indicator service files in /usr/share/ayatana/indicators.
diff --git a/libraries/libayatana-indicator/doinst.sh b/libraries/libayatana-indicator/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/libraries/libayatana-indicator/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/libraries/libayatana-indicator/libayatana-indicator.SlackBuild b/libraries/libayatana-indicator/libayatana-indicator.SlackBuild
new file mode 100644
index 0000000000..482712bcc0
--- /dev/null
+++ b/libraries/libayatana-indicator/libayatana-indicator.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+#
+# Slackware build script for libayatana-indicator.
+#
+# Copyright 2023 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libayatana-indicator
+VERSION=${VERSION:-0.9.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.?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
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DENABLE_IDO=ON \
+ -DENABLE_LOADER=ON \
+ -DENABLE_TESTS=OFF \
+ -DENABLE_WERROR=OFF \
+ -DFLAVOUR_GTK2=OFF \
+ -DFLAVOUR_GTK3=ON \
+ -DGLIB_GENMARSHAL=/usr/bin/glib-genmarshal \
+ -DGLIB_MKENUMS=/usr/bin/glib-mkenums \
+ ..
+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 AUTHORS ChangeLog 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libayatana-indicator/libayatana-indicator.info b/libraries/libayatana-indicator/libayatana-indicator.info
new file mode 100644
index 0000000000..b4b702400f
--- /dev/null
+++ b/libraries/libayatana-indicator/libayatana-indicator.info
@@ -0,0 +1,10 @@
+PRGNAM="libayatana-indicator"
+VERSION="0.9.4"
+HOMEPAGE="https://github.com/AyatanaIndicators/libayatana-indicator"
+DOWNLOAD="https://github.com/AyatanaIndicators/libayatana-indicator/archive/0.9.4/libayatana-indicator-0.9.4.tar.gz"
+MD5SUM="6279246c978a0d7fa582ada35bb315ef"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ayatana-ido"
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/libraries/libayatana-indicator/slack-desc b/libraries/libayatana-indicator/slack-desc
new file mode 100644
index 0000000000..7a05faec4e
--- /dev/null
+++ b/libraries/libayatana-indicator/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------------------------------------------------------|
+libayatana-indicator: libayatana-indicator (Ayatana Indicators Shared Library)
+libayatana-indicator:
+libayatana-indicator: Modern desktop panels find out about indicators by looking at
+libayatana-indicator: indicator service files in /usr/share/ayatana/indicators.
+libayatana-indicator:
+libayatana-indicator: Home page: https://github.com/AyatanaIndicators/libayatana-indicator
+libayatana-indicator:
+libayatana-indicator:
+libayatana-indicator:
+libayatana-indicator:
+libayatana-indicator:
diff --git a/libraries/libb64/README b/libraries/libb64/README
index 13f621dacf..f5b8befb6f 100644
--- a/libraries/libb64/README
+++ b/libraries/libb64/README
@@ -1,7 +1,8 @@
-libb64 is a library of ANSI C routines for fast encoding/decoding data into and
-from a base64-encoded format. C++ wrappers are included, as well as the source
-code for standalone encoding and decoding executables.
+libb64 is a library of ANSI C routines for fast encoding/decoding data
+into and from a base64-encoded format. C++ wrappers are included,
+as well as the source code for standalone encoding and decoding
+executables.
-Base64 uses a subset of displayable ASCII characters, and is therefore a useful
-encoding for storing binary data in a text file, such as XML, or sending binary
-data over text-only email.
+Base64 uses a subset of displayable ASCII characters, and is therefore
+a useful encoding for storing binary data in a text file, such as XML,
+or sending binary data over text-only email.
diff --git a/libraries/libb64/libb64.SlackBuild b/libraries/libb64/libb64.SlackBuild
index ddc45518bd..93923597d9 100644
--- a/libraries/libb64/libb64.SlackBuild
+++ b/libraries/libb64/libb64.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libb64
@@ -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.
+# 20220209 bkw: Modified by SlackBuilds.org, to fix the build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libb64
VERSION=${VERSION:-1.2.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"
+# 20220209 bkw: src/Makefile has "CFLAGS += -O3" which overrides our
+# -O2. Not going to "fix" it.
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -74,7 +85,8 @@ sed -i 's|-Werror||' */Makefile
# Build shared library.
patch -p0 < $CWD/shared-library.patch
-CFLAGS="$SLKCFLAGS" make
+# 20220209 bkw: leave the -j1 here please, it's necessary.
+CFLAGS="$SLKCFLAGS" make -j1
# Manually install.
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
@@ -96,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/libraries/libbass/README b/libraries/libbass/README
new file mode 100644
index 0000000000..0e053e3ec9
--- /dev/null
+++ b/libraries/libbass/README
@@ -0,0 +1,6 @@
+BASS is an audio library for use in software on several platforms.
+Its purpose is to provide developers with powerful and efficient
+sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and
+more via OS codecs and add-ons), MOD music (XM, IT, S3M, MOD, MTM,
+UMX), MO3 music (MP3/OGG compressed MODs), and recording functions.
+All in a compact .SO that won't bloat your distribution.
diff --git a/libraries/libbass/libbass.SlackBuild b/libraries/libbass/libbass.SlackBuild
new file mode 100644
index 0000000000..3e52931b84
--- /dev/null
+++ b/libraries/libbass/libbass.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libbass
+
+# Copyright 2022 Steven Voges <svoges.sbo@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=libbass
+SRCNAM=bass
+VERSION=${VERSION:-2.4.17}
+SRCVER=${SRCVER:-24}
+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"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM$SRCVER
+mkdir -p $TMP/$SRCNAM$SRCVER
+unzip $CWD/$SRCNAM$SRCVER-linux.zip -d $TMP/$SRCNAM$SRCVER
+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 {} \;
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+if [ "$ARCH" = "i586" ]; then
+ cp libs/x86/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+elif [ "$ARCH" = "arm" ]; then
+ cp libs/armhf/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+else
+ cp libs/$ARCH/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+fi
+
+install -D -m644 $SRCNAM.h $PKG/usr/include/$SRCNAM.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 \
+ $SRCNAM.chm $SRCNAM.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libbass/libbass.info b/libraries/libbass/libbass.info
new file mode 100644
index 0000000000..6079096f0c
--- /dev/null
+++ b/libraries/libbass/libbass.info
@@ -0,0 +1,10 @@
+PRGNAM="libbass"
+VERSION="2.4.17"
+HOMEPAGE="https://www.un4seen.com"
+DOWNLOAD="http://www.un4seen.com/files/bass24-linux.zip"
+MD5SUM="a9ea0bca8e1da1d3759cc0d0dc7e6bbe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/libbass/slack-desc b/libraries/libbass/slack-desc
new file mode 100644
index 0000000000..57cf8d3b2e
--- /dev/null
+++ b/libraries/libbass/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------------------------------------------------------|
+libbass: libbass (Audio Library)
+libbass:
+libbass: BASS is an audio library for use in software on several platforms.
+libbass: Its purpose is to provide developers with powerful and efficient
+libbass: sample, stream (MP3, MP2, MP1, OGG, WAV, AIFF, custom generated, and
+libbass: more via OS codecs and add-ons), MOD music (XM, IT, S3M, MOD, MTM,
+libbass: UMX), MO3 music (MP3/OGG compressed MODs), and recording functions.
+libbass: All in a compact .SO that won't bloat your distribution.
+libbass:
+libbass: Homepage: https://www.un4seen.com/bass.html
+libbass:
diff --git a/libraries/libbassmidi/README b/libraries/libbassmidi/README
new file mode 100644
index 0000000000..d6875feb7f
--- /dev/null
+++ b/libraries/libbassmidi/README
@@ -0,0 +1,3 @@
+An extension enabling the playback of MIDI files and custom event
+sequences, using SF2 and SFZ soundfonts to provide the sounds,
+including support for packed soundfonts. MIDI input is also supported.
diff --git a/libraries/libbassmidi/libbassmidi.SlackBuild b/libraries/libbassmidi/libbassmidi.SlackBuild
new file mode 100644
index 0000000000..8cacdcbf7f
--- /dev/null
+++ b/libraries/libbassmidi/libbassmidi.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libbassmidi
+
+# Copyright 2022-2023 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=libbassmidi
+SRCNAM=bassmidi
+VERSION=${VERSION:-2.4.14.1}
+SRCVER=${SRCVER:-24}
+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$SRCVER
+mkdir -p $TMP/$SRCNAM$SRCVER
+unzip $CWD/$SRCNAM$SRCVER-linux.zip -d $TMP/$SRCNAM$SRCVER
+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 {} \;
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+if [ "$ARCH" = "x86_64" ]; then
+ cp libs/x86_64/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+elif [ "$ARCH" = "arm" ]; then
+ cp libs/armhf/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+elif [ "$ARCH" = "aarch64" ]; then
+ cp libs/aarch64/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+else
+ cp libs/x86/$PRGNAM.so $PKG/usr/lib${LIBDIRSUFFIX}
+fi
+
+mkdir -p $PKG/usr/include
+cp $SRCNAM.h $PKG/usr/include/$SRCNAM.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 \
+ $SRCNAM.chm $SRCNAM.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libbassmidi/libbassmidi.info b/libraries/libbassmidi/libbassmidi.info
new file mode 100644
index 0000000000..3e186a9f19
--- /dev/null
+++ b/libraries/libbassmidi/libbassmidi.info
@@ -0,0 +1,10 @@
+PRGNAM="libbassmidi"
+VERSION="2.4.14.1"
+HOMEPAGE="https://www.un4seen.com"
+DOWNLOAD="http://www.un4seen.com/files/bassmidi24-linux.zip"
+MD5SUM="4985968621722888acbb639de9cffd06"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libbass"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/libbassmidi/slack-desc b/libraries/libbassmidi/slack-desc
new file mode 100644
index 0000000000..3854fd23fa
--- /dev/null
+++ b/libraries/libbassmidi/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------------------------------------------------------|
+libbassmidi: libbassmidi (BASS MIDI extension)
+libbassmidi:
+libbassmidi: An extension enabling the playback of MIDI files and custom event
+libbassmidi: sequences, using SF2 and SFZ soundfonts to provide the sounds,
+libbassmidi: including support for packed soundfonts. MIDI input is also supported.
+libbassmidi:
+libbassmidi: Homepage: https://www.un4seen.com/bass.html#addons
+libbassmidi:
+libbassmidi:
+libbassmidi:
+libbassmidi:
diff --git a/libraries/libbde/README b/libraries/libbde/README
index 309265709b..022ca6687b 100644
--- a/libraries/libbde/README
+++ b/libraries/libbde/README
@@ -1,13 +1,14 @@
libbde (libYAL BitLocker library)
-Library and tools to access the BitLocker Drive Encryption (BDE) format.
-The BDE format is used by Windows, as of Vista, to encrypt data on a storage
-media volume.
+Library and tools to access the BitLocker Drive Encryption (BDE)
+format. The BDE format is used by Windows, as of Vista, to encrypt
+data on a storage media volume.
Supported BDE formats:
-BitLocker Windows Vista
-BitLocker Windows 7
- -BitLocker Windows 8 (Consumer Preview)
+ -BitLocker Windows 8
+ -BitLocker Windows 10
-BitLocker To Go
Supported protection methods:
@@ -17,6 +18,15 @@ Supported protection methods:
-start-up key
-FKEV and/or TWEAK key data
+Unsupported BDE formats:
+
+* Bitlocker Used Disk Space Only encryption
+
+Unsupported protection methods:
+
+* Trusted Platform Module (TPM)
+* SID-based protector)
+
Additional features:
-support for partial encrypted volumes
-zeros out the BDE metadata, matches behavior seen on Windows
diff --git a/libraries/libbde/libbde.SlackBuild b/libraries/libbde/libbde.SlackBuild
index 8ced24e9e2..17ff2dc609 100644
--- a/libraries/libbde/libbde.SlackBuild
+++ b/libraries/libbde/libbde.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libbde
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated v20221031, July 2023
-# Updated v20190102, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libbde
+VERSION=${VERSION:-20221031}
STATUS=${STATUS:-alpha}
-VERSION=${VERSION:-20190102}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS ChangeLog 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/libraries/libbde/libbde.info b/libraries/libbde/libbde.info
index 7a73016690..0c8b233d7f 100644
--- a/libraries/libbde/libbde.info
+++ b/libraries/libbde/libbde.info
@@ -1,8 +1,8 @@
PRGNAM="libbde"
-VERSION="20190102"
+VERSION="20221031"
HOMEPAGE="https://github.com/libyal/libbde"
-DOWNLOAD="https://github.com/libyal/libbde/releases/download/20190102/libbde-alpha-20190102.tar.gz"
-MD5SUM="edc20ee6c2dd7f927726f20c54c0d378"
+DOWNLOAD="https://linuxleo.com/Source/libbde-alpha-20221031.tar.gz"
+MD5SUM="b7c6c665a693244665e2c6aa20749ac0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libbdplus/README b/libraries/libbdplus/README
index 2b0df6634a..4989b4ca40 100644
--- a/libraries/libbdplus/README
+++ b/libraries/libbdplus/README
@@ -1,3 +1,4 @@
-libbdplus is a research project to implement the BD+ System Specifications.
+libbdplus is a research project to implement the BD+ System
+Specifications.
Optional dependency: libaacs
diff --git a/libraries/libbdplus/libbdplus.SlackBuild b/libraries/libbdplus/libbdplus.SlackBuild
index 10fb601d75..08dff04bde 100644
--- a/libraries/libbdplus/libbdplus.SlackBuild
+++ b/libraries/libbdplus/libbdplus.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libbdplus
@@ -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=libbdplus
VERSION=${VERSION:-0.1.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"
@@ -88,8 +98,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog COPYING README.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/libraries/libbluray/README b/libraries/libbluray/README
deleted file mode 100644
index aab8dd8f96..0000000000
--- a/libraries/libbluray/README
+++ /dev/null
@@ -1,15 +0,0 @@
-libbluray is an open-source library designed for Blu-Ray Discs playback for
-media players, like VLC or MPlayer. libbluray integrates navigation, playlist
-parsing, menus and BD-J. libbluray is DRM-circumvention free, and thus, safe to
-integrate in your software.
-
-Optional runtime dependencies: libaacs and libbdplus
-
-Optional build time dependency is graphviz, apache-ant and jdk. To build the
-extra bdjava capabilities, apache-ant and jdk are needed. Then run the
-slackbuild as:
-
- BDJAVA=yes sh libbluray.SlackBuild
-
-Most commercial Blu-Ray are protected by AACS or BD+ technologies and this
-library is not enough to playback those discs.
diff --git a/libraries/libbluray/libbluray.SlackBuild b/libraries/libbluray/libbluray.SlackBuild
deleted file mode 100644
index f0b5ad6834..0000000000
--- a/libraries/libbluray/libbluray.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libbluray
-
-# Copyright 2011-2019 Larry Hajali <larryhaja[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.
-
-PRGNAM=libbluray
-VERSION=${VERSION:-1.1.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 {} \;
-
-# Hack for compiling xine plugin bindings for libbluray.
-sed -i -e '/pkg-config libbluray/d' -e 's|0644|0755|' player_wrappers/xine/Makefile
-
-# If you want bdjava enabled then set BDAJVA=yes to the slackbuild.
-if [ "${BDJAVA:-no}" == 'yes' ]; then
- OPT_ARGS="--enable-bdjava-jar"
-else
- OPT_ARGS="--disable-bdjava-jar"
-fi
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-silent-rules \
- --enable-static=no \
- $OPT_ARGS \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Install the xine bluray plugin
-CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
-LDFLAGS="-L$PKG/usr/lib$LIBDIRSUFFIX" \
-LIBS_BD="-lbluray" \
-make -C player_wrappers/xine 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 COPYING README.txt player_wrappers/xine/HOWTO $PKG/usr/doc/$PRGNAM-$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/libraries/libbluray/libbluray.info b/libraries/libbluray/libbluray.info
deleted file mode 100644
index bde3dbcde3..0000000000
--- a/libraries/libbluray/libbluray.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libbluray"
-VERSION="1.1.0"
-HOMEPAGE="http://www.videolan.org/developers/libbluray.html"
-DOWNLOAD="http://ftp.videolan.org/pub/videolan/libbluray/1.1.0/libbluray-1.1.0.tar.bz2"
-MD5SUM="ba1aa5803a55e89f813090ec6d238635"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/libraries/libbluray/slack-desc b/libraries/libbluray/slack-desc
deleted file mode 100644
index 920e26f2a7..0000000000
--- a/libraries/libbluray/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------------------------------------------------------|
-libbluray: libbluray (Blu-Ray Disc playback library)
-libbluray:
-libbluray: libbluray is an open-source library designed for Blu-Ray Discs
-libbluray: playback for media players, like VLC or MPlayer.
-libbluray:
-libbluray: Homepage: http://www.videolan.org/developers/libbluray.html
-libbluray:
-libbluray:
-libbluray:
-libbluray:
-libbluray:
diff --git a/libraries/libbonobo/libbonobo.SlackBuild b/libraries/libbonobo/libbonobo.SlackBuild
index 449ec2a1e3..4f68eb8639 100644
--- a/libraries/libbonobo/libbonobo.SlackBuild
+++ b/libraries/libbonobo/libbonobo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libbonobo
#
@@ -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=libbonobo
VERSION=${VERSION:-2.32.1}
-BUILD=${BUILD:-3}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +105,10 @@ cp -a AUTHORS COPYING* ChangeLog MAINTAINERS 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/libraries/libbonoboui/libbonoboui.SlackBuild b/libraries/libbonoboui/libbonoboui.SlackBuild
index e49637fdba..29fa781584 100644
--- a/libraries/libbonoboui/libbonoboui.SlackBuild
+++ b/libraries/libbonoboui/libbonoboui.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libbonoboui
#
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220411 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - make .desktop file validate.
+# - remove empty AUTHORS from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libbonoboui
VERSION=${VERSION:-2.24.5}
-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"
@@ -65,9 +77,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 \
+ -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 {} \+
+
+# 20220412 bkw: shut desktop-file-validate up.
+sed -i '/^Encoding/d' tools/browser/bonobo-browser.desktop.in
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,14 +97,17 @@ CFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+# 20220412 bkw: AUTHORS is a 0-byte placeholder.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING COPYING.LIB ChangeLog MAINTAINERS \
+cp -a COPYING COPYING.LIB ChangeLog 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/libraries/libbpf/README b/libraries/libbpf/README
new file mode 100644
index 0000000000..44bf04cc53
--- /dev/null
+++ b/libraries/libbpf/README
@@ -0,0 +1,3 @@
+libbpf is a userspace part of the kernel's BPF subsystem.
+
+This is a standalone, kernel-agnostic build.
diff --git a/libraries/libbpf/libbpf.SlackBuild b/libraries/libbpf/libbpf.SlackBuild
new file mode 100644
index 0000000000..5fd164f909
--- /dev/null
+++ b/libraries/libbpf/libbpf.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for libbpf
+
+# 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=libbpf
+VERSION=${VERSION:-1.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+set -e
+
+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 {} \;
+
+(
+ cd src
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+BUILD_SHARED_ONLY=y \
+make
+make install DESTDIR=$PKG
+)
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ 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/libraries/libbpf/libbpf.info b/libraries/libbpf/libbpf.info
new file mode 100644
index 0000000000..28485c0aaf
--- /dev/null
+++ b/libraries/libbpf/libbpf.info
@@ -0,0 +1,10 @@
+PRGNAM="libbpf"
+VERSION="1.2.0"
+HOMEPAGE="https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next"
+DOWNLOAD="https://github.com/libbpf/libbpf/archive/v1.2.0/libbpf-1.2.0.tar.gz"
+MD5SUM="99c94606189ad9718e051737a4209b54"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.libbpf_2023-05-10@lockywolf.net"
diff --git a/libraries/libbpf/slack-desc b/libraries/libbpf/slack-desc
new file mode 100644
index 0000000000..4b8dca0a99
--- /dev/null
+++ b/libraries/libbpf/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------------------------------------------------------|
+libbpf: libbpf (kernel-agnostic library for writing BPF programs)
+libbpf:
+libbpf: This is the (recommended) version from the github repository, which
+libbpf: is synced from the kernel tree by a complicated script.
+libbpf:
+libbpf:
+libbpf:
+libbpf:
+libbpf:
+libbpf:
+libbpf:
diff --git a/libraries/libbpg/README b/libraries/libbpg/README
new file mode 100644
index 0000000000..31f6a26015
--- /dev/null
+++ b/libraries/libbpg/README
@@ -0,0 +1,16 @@
+Better Portable Grapgics is a new image format to
+replace JPEG when quality or size is an issue. It
+has high compression ratio and supported by most web
+browsers with small javascript decoder.It is based on
+the subset of HEVC Open Video Compression Standard.
+
+An HTML demonstration is available
+in /usr/doc/libbpg-0.9.8/html/index.html
+you can access it by using the Falkon web browser or
+using chrome with --allow-file-access-from-files option
+
+The BPG file format is specified in
+/usr/doc/libbpg-0.9.8/doc/bpg_spec.txt.
+
+This is an optional dependency for VLC media player.
+It is supported only on 64-bit platforms only.
diff --git a/libraries/libbpg/libbpg.SlackBuild b/libraries/libbpg/libbpg.SlackBuild
new file mode 100644
index 0000000000..9b33550520
--- /dev/null
+++ b/libraries/libbpg/libbpg.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libbpg
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libbpg
+VERSION=${VERSION:-0.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="-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 -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+
+sed -i 's/$(CMAKE_OPTS)/$(CMAKE_OPTS) -DENABLE_LIBNUMA=OFF/' "Makefile"
+sed -i 's/^CFLAGS+=-I.$/CFLAGS+=-I. -fPIC/' "Makefile"
+
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make USE_JCTVC=y USE_JCTVC_HIGH_BIT_DEPTH=y USE_X265=y USE_BPGVIEW=y prefix=/usr
+
+install -Dm755 bpgdec "$PKG/usr/bin/bpgdec"
+install -Dm755 bpgenc "$PKG/usr/bin/bpgenc"
+install -Dm755 bpgview "$PKG/usr/bin/bpgview"
+install -Dm644 libbpg.a "$PKG/usr/lib${LIBDIRSUFFIX}/libbpg.a"
+install -Dm644 libbpg.h "$PKG/usr/include/libbpg.h"
+install -Dm644 bpgenc.h "$PKG/usr/include/bpgenc.h"
+
+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 README html 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/libraries/libbpg/libbpg.info b/libraries/libbpg/libbpg.info
new file mode 100644
index 0000000000..d9c8f9dd74
--- /dev/null
+++ b/libraries/libbpg/libbpg.info
@@ -0,0 +1,10 @@
+PRGNAM="libbpg"
+VERSION="0.9.8"
+HOMEPAGE="https://bellard.org/bpg/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://bellard.org/bpg/libbpg-0.9.8.tar.gz"
+MD5SUM_x86_64="1c8258bc6de26bbae7c688944a2023ac"
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libbpg/slack-desc b/libraries/libbpg/slack-desc
new file mode 100644
index 0000000000..e2f471c0f9
--- /dev/null
+++ b/libraries/libbpg/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------------------------------------------------------|
+libbpg: libbpg (BPG Image Library and Utilities)
+libbpg:
+libbpg: Better Portable Graphics is a new image format to
+libbpg: replace JPEG when quality or size is an issue. It
+libbpg: has high compression ratio and supported by most web
+libbpg: browsers with small javascript decoder.It is based on
+libbpg: the subset of HEVC Open Video Compression Standard.
+libbpg:
+libbpg: Homepage:https://bellard.org/bpg
+libbpg:
+libbpg:
diff --git a/libraries/libbroadvoice/README b/libraries/libbroadvoice/README
new file mode 100644
index 0000000000..b90627f1b7
--- /dev/null
+++ b/libraries/libbroadvoice/README
@@ -0,0 +1,5 @@
+libbroadvoice (broadvoice codec)
+
+This package provides support for implementing the Broadvoice codec
+for applications such as FreeSWITCH. RFC 4298 specifies the RTP
+payload format for Broadvoice.
diff --git a/libraries/libbroadvoice/libbroadvoice.SlackBuild b/libraries/libbroadvoice/libbroadvoice.SlackBuild
new file mode 100644
index 0000000000..91e63f553a
--- /dev/null
+++ b/libraries/libbroadvoice/libbroadvoice.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for libbroadvoice
+#
+# Copyright 2023 Yossi Neiman, mishehu+sbo@shavedgoats.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=libbroadvoice
+VERSION=${VERSION:-20230821_85752d8}
+FULLCOMMIT=${FULLCOMMIT:-85752d8cd3347ce09355729dca6283f59a3c616c}
+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-$FULLCOMMIT
+tar xvf $CWD/$PRGNAM-$FULLCOMMIT.tar.gz
+cd $PRGNAM-$FULLCOMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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 {} \;
+
+./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-strip DESTDIR=$PKG
+
+rm -f $PKG/usr/lib*/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp AUTHORS COPYING README ChangeLog NEWS $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/libraries/libbroadvoice/libbroadvoice.info b/libraries/libbroadvoice/libbroadvoice.info
new file mode 100644
index 0000000000..1accf3ff7e
--- /dev/null
+++ b/libraries/libbroadvoice/libbroadvoice.info
@@ -0,0 +1,10 @@
+PRGNAM="libbroadvoice"
+VERSION="20230821_85752d8"
+HOMEPAGE="https://github.com/freeswitch/libbroadvoice"
+DOWNLOAD="https://github.com/freeswitch/libbroadvoice/archive/85752d8cd3347ce09355729dca6283f59a3c616c/libbroadvoice-85752d8cd3347ce09355729dca6283f59a3c616c.tar.gz"
+MD5SUM="102fa31995fbace547569855eae20d9f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yossi Neiman"
+EMAIL="mishehu+sbo@shavedgoats.net"
diff --git a/libraries/libbroadvoice/slack-desc b/libraries/libbroadvoice/slack-desc
new file mode 100644
index 0000000000..7658b01879
--- /dev/null
+++ b/libraries/libbroadvoice/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------------------------------------------------------|
+libbroadvoice: libbroadvoice (broadvoice codec)
+libbroadvoice:
+libbroadvoice: This package provides support for implementing the Broadvoice codec
+libbroadvoice: for applications such as FreeSWITCH. RFC 4298 specifies the RTP
+libbroadvoice: payload format for Broadvoice.
+libbroadvoice:
+libbroadvoice:
+libbroadvoice:
+libbroadvoice:
+libbroadvoice:
+libbroadvoice:
diff --git a/libraries/libbsd/README b/libraries/libbsd/README
index e263cefefe..50be4a0082 100644
--- a/libraries/libbsd/README
+++ b/libraries/libbsd/README
@@ -1,4 +1,4 @@
-This library provides useful functions commonly found on BSD systems, and
-lacking on others like GNU systems, thus making it easier to port projects
-with strong BSD origins, without needing to embed the same code over and
-over again on each project.
+This library provides useful functions commonly found on BSD systems,
+and lacking on others like GNU systems, thus making it easier to port
+projects with strong BSD origins, without needing to embed the same
+code over and over again on each project.
diff --git a/libraries/libbsd/libbsd.SlackBuild b/libraries/libbsd/libbsd.SlackBuild
index f86dd621de..bcd909ea1f 100644
--- a/libraries/libbsd/libbsd.SlackBuild
+++ b/libraries/libbsd/libbsd.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libbsd
-# Copyright 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright (c) 2010-2020 LEVAI Daniel
# All rights reserved.
#
@@ -28,10 +28,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=libbsd
-VERSION=${VERSION:-0.10.0}
+VERSION=${VERSION:-0.11.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,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,6 +85,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 {} \;
+# Debian/upstream patches
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
+autoreconf -vif
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -85,7 +99,10 @@ CFLAGS="$SLKCFLAGS" \
make install-strip DESTDIR=$PKG
+rm -rf $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 ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION/
@@ -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/libraries/libbsd/libbsd.info b/libraries/libbsd/libbsd.info
index d2e82cac1a..486a365bf0 100644
--- a/libraries/libbsd/libbsd.info
+++ b/libraries/libbsd/libbsd.info
@@ -1,10 +1,10 @@
PRGNAM="libbsd"
-VERSION="0.10.0"
+VERSION="0.11.7"
HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
-DOWNLOAD="https://libbsd.freedesktop.org/releases/libbsd-0.10.0.tar.xz"
-MD5SUM="ead96d240d02faa5b921c0aa50c812b5"
+DOWNLOAD="https://libbsd.freedesktop.org/releases/libbsd-0.11.7.tar.xz"
+MD5SUM="2c5e63b5bb7771bbe4f572c7788e0bb8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libmd"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libbsd/patches/0001-build-Use-yes-instead-of-true-for-AC_CHECK_FUNCS-cac.patch b/libraries/libbsd/patches/0001-build-Use-yes-instead-of-true-for-AC_CHECK_FUNCS-cac.patch
new file mode 100644
index 0000000000..f73d8efe6a
--- /dev/null
+++ b/libraries/libbsd/patches/0001-build-Use-yes-instead-of-true-for-AC_CHECK_FUNCS-cac.patch
@@ -0,0 +1,32 @@
+From 5cfa39e5cde6b64ccf3d1335cee4d4744d4ce242 Mon Sep 17 00:00:00 2001
+From: Guillem Jover <guillem@hadrons.org>
+Date: Wed, 23 Nov 2022 23:42:49 +0100
+Subject: [PATCH] =?UTF-8?q?build:=20Use=20=C2=AByes=C2=BB=20instead=20of?=
+ =?UTF-8?q?=20=C2=ABtrue=C2=BB=20for=20AC=5FCHECK=5FFUNCS=20cache=20value?=
+Origin: upstream, commit:5cfa39e5cde6b64ccf3d1335cee4d4744d4ce242
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This autoconf macro sets the ac_cv_func_ cached variable to «yes» not
+«true» so we were checking for an impossible condition.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 17d113c..842f5d6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -246,7 +246,7 @@ AC_LINK_IFELSE(
+ AC_CHECK_FUNCS([clearenv dirfd fopencookie __fpurge \
+ getauxval getentropy getexecname getline \
+ pstat_getproc sysconf])
+-AM_CONDITIONAL([HAVE_GETENTROPY], [test "x$ac_cv_func_getentropy" = "xtrue"])
++AM_CONDITIONAL([HAVE_GETENTROPY], [test "x$ac_cv_func_getentropy" = "xyes"])
+
+ AC_SUBST([MD5_LIBS])
+ AC_SUBST([LIBBSD_LIBS])
+--
+2.39.2
+
diff --git a/libraries/libbsd/patches/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch b/libraries/libbsd/patches/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch
new file mode 100644
index 0000000000..6a9892acda
--- /dev/null
+++ b/libraries/libbsd/patches/0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch
@@ -0,0 +1,39 @@
+From ec88b7bbbc9ef262b22302419ae14fce5fc7b1d8 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Thu, 15 Dec 2022 09:02:22 -0800
+Origin: upstream, commit:ec88b7bbbc9ef262b22302419ae14fce5fc7b1d8
+Subject: [PATCH] funopen: Replace off64_t with off_t in funopen_seek()
+
+AC_SYS_LARGEFILE in configure.ac is setting needed defines to make
+64bit off_t on relevant platforms.
+
+Fixes build on musl:
+
+| src/funopen.c:68:28: error: unknown type name 'off64_t'; did you mean 'off_t'?
+| funopen_seek(void *cookie, off64_t *offset, int whence)
+| ^~~~~~~
+| off_t
+
+Closes: !24
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Signed-off-by: Guillem Jover <guillem@hadrons.org>
+---
+ src/funopen.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/funopen.c b/src/funopen.c
+index 01b63b3..0513e38 100644
+--- a/src/funopen.c
++++ b/src/funopen.c
+@@ -65,7 +65,7 @@ funopen_write(void *cookie, const char *buf, size_t size)
+ }
+
+ static int
+-funopen_seek(void *cookie, off64_t *offset, int whence)
++funopen_seek(void *cookie, off_t *offset, int whence)
+ {
+ struct funopen_cookie *cookiewrap = cookie;
+ off_t soff = *offset;
+--
+2.39.2
+
diff --git a/libraries/libbsd/patches/0001-include-Adjust-closefrom-per-glibc-adoption.patch b/libraries/libbsd/patches/0001-include-Adjust-closefrom-per-glibc-adoption.patch
new file mode 100644
index 0000000000..41b2b496af
--- /dev/null
+++ b/libraries/libbsd/patches/0001-include-Adjust-closefrom-per-glibc-adoption.patch
@@ -0,0 +1,33 @@
+From 7b4ebd6521a693f236cad4170fce1bb5237ecae5 Mon Sep 17 00:00:00 2001
+From: Callum Farmer <callumjfarmer13@gmail.com>
+Date: Thu, 16 Feb 2023 21:26:05 +0000
+Origin: upstream, commit:7b4ebd6521a693f236cad4170fce1bb5237ecae5
+Subject: [PATCH] include: Adjust closefrom() per glibc adoption
+
+Added in glibc 2.34
+https://sourceware.org/git/?p=glibc.git;a=commit;h=607449506f197cc9514408908f41f22537a47a8c
+
+Signed-off-by: Guillem Jover <guillem@hadrons.org>
+---
+ include/bsd/unistd.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/include/bsd/unistd.h b/include/bsd/unistd.h
+index 167241b..20b0993 100644
+--- a/include/bsd/unistd.h
++++ b/include/bsd/unistd.h
+@@ -59,7 +59,11 @@ int bsd_getopt(int argc, char * const argv[], const char *shortopts);
+ mode_t getmode(const void *set, mode_t mode);
+ void *setmode(const char *mode_str);
+
++#if !defined(__GLIBC__) || \
++ !__GLIBC_PREREQ(2, 34) || \
++ !defined(_DEFAULT_SOURCE)
+ void closefrom(int lowfd);
++#endif
+
+ /* Compatibility with sendmail implementations. */
+ #define initsetproctitle(c, a, e) setproctitle_init((c), (a), (e))
+--
+2.39.2
+
diff --git a/libraries/libbsd/patches/0001-man-Update-STANDARDS-and-HISTORY-sections.patch b/libraries/libbsd/patches/0001-man-Update-STANDARDS-and-HISTORY-sections.patch
new file mode 100644
index 0000000000..d743f05c46
--- /dev/null
+++ b/libraries/libbsd/patches/0001-man-Update-STANDARDS-and-HISTORY-sections.patch
@@ -0,0 +1,279 @@
+From 59a21c7fb846c483460979be74c546edab0d185e Mon Sep 17 00:00:00 2001
+From: Guillem Jover <guillem@hadrons.org>
+Date: Mon, 20 Feb 2023 00:11:10 +0100
+Origin: upstream, commit:59a21c7fb846c483460979be74c546edab0d185e
+Subject: [PATCH] man: Update STANDARDS and HISTORY sections
+
+Include BSD versions when functions were introduced. Add mention
+whether these are BSD extensions.
+---
+ man/arc4random.3bsd | 6 ++++++
+ man/closefrom.3bsd | 13 +++++++++++--
+ man/fparseln.3bsd | 4 +++-
+ man/getpeereid.3bsd | 5 ++++-
+ man/humanize_number.3bsd | 4 +++-
+ man/pidfile.3bsd | 14 ++++++++++++++
+ man/pwcache.3bsd | 6 +++---
+ man/readpassphrase.3bsd | 6 ++++--
+ man/reallocarray.3bsd | 10 ++++++++--
+ man/setproctitle.3bsd | 2 ++
+ man/strlcpy.3bsd | 2 ++
+ man/strnstr.3bsd | 5 +++++
+ man/strtonum.3bsd | 4 ++--
+ man/tree.3bsd | 3 +++
+ man/wcslcpy.3bsd | 11 +++++++++++
+ 15 files changed, 81 insertions(+), 14 deletions(-)
+
+diff --git a/man/arc4random.3bsd b/man/arc4random.3bsd
+index 547bd54..f1dc254 100644
+--- a/man/arc4random.3bsd
++++ b/man/arc4random.3bsd
+@@ -135,6 +135,12 @@ These functions first appeared in
+ .Nx 1.6 ,
+ and
+ .Dx 1.0 .
++The functions
++.Fn arc4random ,
++.Fn arc4random_buf
++and
++.Fn arc4random_uniform
++appeared in glibc 2.36.
+ .Pp
+ The original version of this random number generator used the
+ RC4 (also known as ARC4) algorithm.
+diff --git a/man/closefrom.3bsd b/man/closefrom.3bsd
+index 9e1b0db..5f930f5 100644
+--- a/man/closefrom.3bsd
++++ b/man/closefrom.3bsd
+@@ -51,8 +51,17 @@ from the per-process object reference table.
+ Any errors encountered while closing file descriptors are ignored.
+ .Sh SEE ALSO
+ .Xr close 2
++.Sh STANDARDS
++.Fn closefrom
++is a
++.Bx
++and Solaris extension.
+ .Sh HISTORY
+ The
+ .Fn closefrom
+-function first appeared in
+-.Fx 8.0 .
++function first appeared in Solaris 9,
++.Ox 3.5 ,
++.Dx 1.2 ,
++.Nx 3.0 ,
++.Fx 8.0
++and glibc 2.34.
+diff --git a/man/fparseln.3bsd b/man/fparseln.3bsd
+index ab8ad7b..b227f0d 100644
+--- a/man/fparseln.3bsd
++++ b/man/fparseln.3bsd
+@@ -150,4 +150,6 @@ if it runs out of memory.
+ The
+ .Fn fparseln
+ function first appeared in
+-.Nx 1.4 .
++.Nx 1.4
++and
++.Fx 4.0 .
+diff --git a/man/getpeereid.3bsd b/man/getpeereid.3bsd
+index eafa4b4..4cc7cc6 100644
+--- a/man/getpeereid.3bsd
++++ b/man/getpeereid.3bsd
+@@ -139,4 +139,7 @@ or the kernel returned invalid data.
+ The
+ .Fn getpeereid
+ function appeared in
+-.Fx 4.6 .
++.Fx 4.6 ,
++.Nx 5.0
++and
++.Ox 3.0 .
+diff --git a/man/humanize_number.3bsd b/man/humanize_number.3bsd
+index 45b1d68..02ce9af 100644
+--- a/man/humanize_number.3bsd
++++ b/man/humanize_number.3bsd
+@@ -166,7 +166,9 @@ represented a number that does not fit in
+ .Sh HISTORY
+ .Fn humanize_number
+ first appeared in
+-.Nx 2.0 .
++.Nx 2.0
++and
++.Fx 5.3 .
+ .Pp
+ .Fn dehumanize_number
+ first appeared in
+diff --git a/man/pidfile.3bsd b/man/pidfile.3bsd
+index 634ac81..547c556 100644
+--- a/man/pidfile.3bsd
++++ b/man/pidfile.3bsd
+@@ -292,6 +292,20 @@ Probably called not from the process which used
+ .Xr open 2 ,
+ .Xr daemon 3 ,
+ .Xr flopen 3bsd
++.Sh HISTORY
++The functions
++.Fn pidfile_open ,
++.Fn pidfile_write ,
++.Fn pidfile_close
++and
++.Fn pidfile_remove
++first appeared in
++.Fx 5.5 .
++.Pp
++The function
++.Fn pidfile_fileno
++first appeared in
++.Fx 10.0 .
+ .Sh AUTHORS
+ .An -nosplit
+ The
+diff --git a/man/pwcache.3bsd b/man/pwcache.3bsd
+index 366c0b2..06c54e1 100644
+--- a/man/pwcache.3bsd
++++ b/man/pwcache.3bsd
+@@ -137,7 +137,7 @@ The
+ .Fn uid_from_user
+ and
+ .Fn gid_from_group
+-functions were ported from
+-.Nx
+-and first appeared in
++functions first appeared in
++.Nx 1.4
++and
+ .Ox 6.4 .
+diff --git a/man/readpassphrase.3bsd b/man/readpassphrase.3bsd
+index 23e5e4c..3c9275d 100644
+--- a/man/readpassphrase.3bsd
++++ b/man/readpassphrase.3bsd
+@@ -165,10 +165,12 @@ will reprint the prompt and the user may then enter a passphrase.
+ The
+ .Fn readpassphrase
+ function is an
+-.Ox
++.Bx
+ extension and should not be used if portability is desired.
+ .Sh HISTORY
+ The
+ .Fn readpassphrase
+ function first appeared in
+-.Ox 2.9 .
++.Ox 2.9
++and
++.Fx 4.6 .
+diff --git a/man/reallocarray.3bsd b/man/reallocarray.3bsd
+index f4dbf2b..a63de81 100644
+--- a/man/reallocarray.3bsd
++++ b/man/reallocarray.3bsd
+@@ -283,12 +283,18 @@ The
+ .Fn reallocarray
+ function appeared in
+ .Ox 5.6 ,
++.Dx 5.5
+ and glibc 2.26.
++.Pp
+ The
+ .Fn recallocarray
+ function appeared in
+-.Ox 6.1 .
++.Ox 6.1
++and
++.Dx 5.5 .
+ The
+ .Fn freezero
+ function appeared in
+-.Ox 6.2 .
++.Ox 6.2
++and
++.Dx 5.5 .
+diff --git a/man/setproctitle.3bsd b/man/setproctitle.3bsd
+index 4a6609f..c8aeb4b 100644
+--- a/man/setproctitle.3bsd
++++ b/man/setproctitle.3bsd
+@@ -112,6 +112,8 @@ The
+ .Fn setproctitle
+ function
+ first appeared in
++.Nx 1.0
++and
+ .Fx 2.2 .
+ Other operating systems have
+ similar functions.
+diff --git a/man/strlcpy.3bsd b/man/strlcpy.3bsd
+index 19aaa75..ebc9758 100644
+--- a/man/strlcpy.3bsd
++++ b/man/strlcpy.3bsd
+@@ -192,4 +192,6 @@ and
+ functions first appeared in
+ .Ox 2.4 ,
+ and made their appearance in
++.Nx 1.4.3
++and
+ .Fx 3.3 .
+diff --git a/man/strnstr.3bsd b/man/strnstr.3bsd
+index 44756e6..95e729e 100644
+--- a/man/strnstr.3bsd
++++ b/man/strnstr.3bsd
+@@ -112,3 +112,8 @@ ptr = strnstr(largestring, smallstring, 4);
+ .Xr strspn 3 ,
+ .Xr strtok 3 ,
+ .Xr wcsstr 3
++.Sh HISTORY
++The
++.Fn strnstr
++function originated in
++.Fx .
+diff --git a/man/strtonum.3bsd b/man/strtonum.3bsd
+index 44107b1..1041782 100644
+--- a/man/strtonum.3bsd
++++ b/man/strtonum.3bsd
+@@ -141,8 +141,8 @@ The string did not consist solely of digit characters.
+ .Xr strtoull 3
+ .Sh STANDARDS
+ .Fn strtonum
+-is an
+-.Ox
++is a
++.Bx
+ extension.
+ .Sh HISTORY
+ .ds doc-operating-system-NetBSD-8.0 8.0
+diff --git a/man/tree.3bsd b/man/tree.3bsd
+index 2bd4f17..4c9dfb6 100644
+--- a/man/tree.3bsd
++++ b/man/tree.3bsd
+@@ -562,6 +562,9 @@ main(void)
+ .Ed
+ .Sh SEE ALSO
+ .Xr queue 3bsd
++.Sh HISTORY
++The tree macros first appeared in
++.Fx 4.6 .
+ .Sh NOTES
+ Trying to free a tree in the following way is a common error:
+ .Bd -literal -offset indent
+diff --git a/man/wcslcpy.3bsd b/man/wcslcpy.3bsd
+index f7ed5a2..3a6169c 100644
+--- a/man/wcslcpy.3bsd
++++ b/man/wcslcpy.3bsd
+@@ -69,3 +69,14 @@ counterpart, such as
+ and
+ .Fn wcslcpy ,
+ which are BSD extensions.
++.Sh HISTORY
++The
++.Fn wcslcpy
++and
++.Fn wcslcat
++functions first appeared in
++.Ox 3.8 ,
++.Nx 1.6 ,
++.Fx 5.0
++and
++.Dx 2.1 .
+--
+2.39.2
+
diff --git a/libraries/libbtbb/README b/libraries/libbtbb/README
index b65b68dc12..bd7e3a0299 100644
--- a/libraries/libbtbb/README
+++ b/libraries/libbtbb/README
@@ -1,3 +1,4 @@
-This is the Bluetooth baseband decoding library, forked from the GR-Bluetooth
-project. It can be used to extract Bluetooth packet and piconet information
-from Ubertooth devices as well as GR-Bluetooth/USRP.
+This is the Bluetooth baseband decoding library, forked from
+the GR-Bluetooth project. It can be used to extract Bluetooth
+packet and piconet information from Ubertooth devices as well as
+GR-Bluetooth/USRP.
diff --git a/libraries/libbtbb/libbtbb.SlackBuild b/libraries/libbtbb/libbtbb.SlackBuild
index 4107250286..af93b61357 100644
--- a/libraries/libbtbb/libbtbb.SlackBuild
+++ b/libraries/libbtbb/libbtbb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libbtbb
@@ -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=libbtbb
-VERSION=${VERSION:-2018_12_R1}
+VERSION=${VERSION:-2020.12.R1}
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}
@@ -59,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 $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 \
@@ -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/libraries/libbtbb/libbtbb.info b/libraries/libbtbb/libbtbb.info
index 7cde2947ef..c4f9917f6d 100644
--- a/libraries/libbtbb/libbtbb.info
+++ b/libraries/libbtbb/libbtbb.info
@@ -1,8 +1,8 @@
PRGNAM="libbtbb"
-VERSION="2018_12_R1"
+VERSION="2020.12.R1"
HOMEPAGE="https://github.com/greatscottgadgets/libbtbb"
-DOWNLOAD="https://github.com/greatscottgadgets/libbtbb/archive/2018-12-R1/libbtbb-2018_12_R1.tar.gz"
-MD5SUM="cfb0dd9d0af7e19d4526758d3bb203e2"
+DOWNLOAD="https://github.com/greatscottgadgets/libbtbb/archive/2020-12-R1/libbtbb-2020-12-R1.tar.gz"
+MD5SUM="d1c01829b1f32926065e72095641a6be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libburn/README b/libraries/libburn/README
deleted file mode 100644
index 010a2d1a61..0000000000
--- a/libraries/libburn/README
+++ /dev/null
@@ -1,3 +0,0 @@
-libburn is a library by which preformatted data gets onto optical
-media. libburn also offers a facility for reading data blocks from
-its drives without using the normal block device i/o.
diff --git a/libraries/libburn/libburn.SlackBuild b/libraries/libburn/libburn.SlackBuild
deleted file mode 100644
index 57eb12999f..0000000000
--- a/libraries/libburn/libburn.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libburn
-
-# Copyright 2008-2013 Robby Workman, Northport, Alabama, USA
-# All rights reserved.
-#
-# Copyright 2014-2018 Nishant Limbachia, Hoffman Estates, IL, 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="libburn"
-VERSION=${VERSION:-1.5.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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --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
-
-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 CONTRIBUTORS COPYING COPYRIGHT 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/libraries/libburn/libburn.info b/libraries/libburn/libburn.info
deleted file mode 100644
index b6a9adc8fb..0000000000
--- a/libraries/libburn/libburn.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libburn"
-VERSION="1.5.0"
-HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/Libburn"
-DOWNLOAD="http://files.libburnia-project.org/releases/libburn-1.5.0.tar.gz"
-MD5SUM="b32edefdd9a978edc65aacddfe7c588a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Nishant Limbachia"
-EMAIL="nishant@mnspace.net"
diff --git a/libraries/libburn/slack-desc b/libraries/libburn/slack-desc
deleted file mode 100644
index ade13ac0c7..0000000000
--- a/libraries/libburn/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------------------------------------------------------|
-libburn: libburn (optical media writing library)
-libburn:
-libburn: libburn is a library by which preformatted data gets onto optical
-libburn: media. libburn also offers a facility for reading data blocks from
-libburn: its drives without using the normal block device i/o.
-libburn:
-libburn: Homepage: https://dev.lovelyhq.com/libburnia/web/wikis/Libburn
-libburn:
-libburn:
-libburn:
-libburn:
diff --git a/libraries/libc++/README b/libraries/libc++/README
deleted file mode 100644
index 6573443a04..0000000000
--- a/libraries/libc++/README
+++ /dev/null
@@ -1,5 +0,0 @@
-libc++ is the LLVM C++ standard library, targeting C++11.
-This SlackBuild will produce a version of libc++ that uses the
-libc++abi ABI interface.
-
-Note that the experimental library is NOT built by this script.
diff --git a/libraries/libc++/libc++.SlackBuild b/libraries/libc++/libc++.SlackBuild
deleted file mode 100644
index 8df3cbd82a..0000000000
--- a/libraries/libc++/libc++.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libc++
-
-# Copyright 2017 Coastal Carolina University
-# Copyright 2020 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=libc++
-VERSION=${VERSION:-3.8.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 -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-tar xvf $CWD/llvm-$VERSION.src.tar.xz
-cd llvm-$VERSION.src
-
-(
- cd projects
- tar xvf $CWD/libcxx-$VERSION.src.tar.xz
- mv libcxx-$VERSION.src libcxx
- tar xvf $CWD/libcxxabi-$VERSION.src.tar.xz
- mv libcxxabi-$VERSION.src libcxxabi
-)
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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_COMPILER="clang" \
- -DCMAKE_CXX_COMPILER="clang++" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLLVM_LIBDIR_SUFFIX=${LIBDIRSUFFIX} \
- -DLIBCXX_INCLUDE_DOCS=ON \
- -DCMAKE_BUILD_TYPE=Release ..
- make install-libcxx install-libcxxabi 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 projects/libcxx/CREDITS.TXT \
- $PKG/usr/doc/$PRGNAM-$VERSION/libcxx-CREDITS.TXT
-cp projects/libcxx/LICENSE.TXT \
- $PKG/usr/doc/$PRGNAM-$VERSION/libcxx-LICENSE.TXT
-cp projects/libcxxabi/CREDITS.TXT \
- $PKG/usr/doc/$PRGNAM-$VERSION/libcxxabi-CREDITS.TXT
-cp projects/libcxxabi/LICENSE.TXT \
- $PKG/usr/doc/$PRGNAM-$VERSION/libcxxabi-LICENSE.TXT
-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/libraries/libc++/libc++.info b/libraries/libc++/libc++.info
deleted file mode 100644
index 9fd41afe86..0000000000
--- a/libraries/libc++/libc++.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="libc++"
-VERSION="3.8.0"
-HOMEPAGE="http://libcxx.llvm.org/"
-DOWNLOAD="http://releases.llvm.org/3.8.0/llvm-3.8.0.src.tar.xz \
- http://releases.llvm.org/3.8.0/libcxx-3.8.0.src.tar.xz \
- http://releases.llvm.org/3.8.0/libcxxabi-3.8.0.src.tar.xz"
-MD5SUM="07a7a74f3c6bd65de4702bf941b511a0 \
- d6e0bdbbee39f7907ad74fd56d03b88a \
- bbe6b4d72c7c5978550d370af529bcf7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libunwind"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/libraries/libc++/slack-desc b/libraries/libc++/slack-desc
deleted file mode 100644
index 3991a810fa..0000000000
--- a/libraries/libc++/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------------------------------------------------------|
-libc++: libc++ (LLVM C++ standard library implementation)
-libc++:
-libc++: libc++ is a new implementation of the C++ standard library,
-libc++: targeting C++11.
-libc++:
-libc++: Homepage: http://libcxx.llvm.org/
-libc++:
-libc++:
-libc++:
-libc++:
-libc++:
diff --git a/libraries/libcacard/libcacard.SlackBuild b/libraries/libcacard/libcacard.SlackBuild
index ecf365c1c8..d1c1ce5a1b 100644
--- a/libraries/libcacard/libcacard.SlackBuild
+++ b/libraries/libcacard/libcacard.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcacard
-# Copyright 2012-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2012-2023 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=libcacard
-VERSION=${VERSION:-2.7.0}
+VERSION=${VERSION:-2.8.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,8 +103,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/libraries/libcacard/libcacard.info b/libraries/libcacard/libcacard.info
index a80496c923..43c061a827 100644
--- a/libraries/libcacard/libcacard.info
+++ b/libraries/libcacard/libcacard.info
@@ -1,8 +1,8 @@
PRGNAM="libcacard"
-VERSION="2.7.0"
+VERSION="2.8.1"
HOMEPAGE="https://www.spice-space.org"
-DOWNLOAD="https://www.spice-space.org/download/libcacard/libcacard-2.7.0.tar.xz"
-MD5SUM="b4cd5746c05d92169aa96f6ed4027dec"
+DOWNLOAD="https://www.spice-space.org/download/libcacard/libcacard-2.8.1.tar.xz"
+MD5SUM="2a431d2fbd76a3e294fc254b496cdc70"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pcsc-lite"
diff --git a/libraries/libcaes/README b/libraries/libcaes/README
new file mode 100644
index 0000000000..16f53d904b
--- /dev/null
+++ b/libraries/libcaes/README
@@ -0,0 +1,7 @@
+libcaes (libYAL AES encryption library)
+
+libcaes is a library to support cross-platform AES encryption.
+
+Project information:
+* Status: alpha
+* Licence: LGPLv3+
diff --git a/libraries/libcaes/libcaes.SlackBuild b/libraries/libcaes/libcaes.SlackBuild
new file mode 100644
index 0000000000..362c4e402e
--- /dev/null
+++ b/libraries/libcaes/libcaes.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for libcaes
+
+# Copyright 2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Initial version 20230406, July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libcaes
+VERSION=${VERSION:-20230406}
+STATUS=${STATUS:-alpha}
+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"-"$STATUS"-"$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libcaes/libcaes.info b/libraries/libcaes/libcaes.info
new file mode 100644
index 0000000000..200b6ccbf7
--- /dev/null
+++ b/libraries/libcaes/libcaes.info
@@ -0,0 +1,10 @@
+PRGNAM="libcaes"
+VERSION="20230406"
+HOMEPAGE="https://github.com/libyal/libcaes"
+DOWNLOAD="https://linuxleo.com/Source/libcaes-alpha-20230406.tar.gz"
+MD5SUM="ac2c771c1afb65795288ec77fdbed465"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy [AT] linuxleo.com"
diff --git a/libraries/libcaes/slack-desc b/libraries/libcaes/slack-desc
new file mode 100644
index 0000000000..ab5358b571
--- /dev/null
+++ b/libraries/libcaes/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------------------------------------------------------|
+libcaes: libcaes (libYAL AES library)
+libcaes:
+libcaes: libcaes is a library to support cross-platform AES encryption.
+libcaes:
+libcaes:
+libcaes:
+libcaes:
+libcaes:
+libcaes:
+libcaes:
+libcaes:
diff --git a/libraries/libcangjie/README b/libraries/libcangjie/README
index 7bda1aa904..e6c87acfa0 100644
--- a/libraries/libcangjie/README
+++ b/libraries/libcangjie/README
@@ -2,8 +2,9 @@ libcangjie (Library for Cangjie input method)
Libcangjie is a C library implementing the Cangjie input method.
-This library is based on Wan Leung Wong's original libcangjie and forked
-by Cangjians team. The library handles all the mappings between the input
-codes and the desired characters and provides some filtering options.
+This library is based on Wan Leung Wong's original libcangjie and
+forked by Cangjians team. The library handles all the mappings between
+the input codes and the desired characters and provides some filtering
+options.
Libcangjie is licensed under LGPLv3 or later.
diff --git a/libraries/libcangjie/libcangjie.SlackBuild b/libraries/libcangjie/libcangjie.SlackBuild
index 0e76585eed..7512f89b61 100644
--- a/libraries/libcangjie/libcangjie.SlackBuild
+++ b/libraries/libcangjie/libcangjie.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcangjie
@@ -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=libcangjie
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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -90,8 +100,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $TMP/$PRGNAM-$VERSION/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/libraries/libcapsimage/README b/libraries/libcapsimage/README
new file mode 100644
index 0000000000..76fd1da196
--- /dev/null
+++ b/libraries/libcapsimage/README
@@ -0,0 +1,12 @@
+libcapsimage (decoder library for KyroFlux CTR and IPF disk images)
+
+libcapsimage is a support library that allows applications to access
+low-level disk image files stored in the IPF (Interchange Preservation
+Format) and CTR ("CT Raw") formats. This library is also known as the
+"SPS Decoder Library", spsdeclib, and was formerly known as ipflib.
+
+In particular, this library allows hatari (and various other emulators)
+to use the low-level IPF and CTR dumps found on many ST archive sites.
+
+This isn't free software: see /usr/doc/libcapsimage-$VERSION/LICENCE.txt
+for details. The short version is that it's free for non-commercial use.
diff --git a/libraries/libcapsimage/libcapsimage.SlackBuild b/libraries/libcapsimage/libcapsimage.SlackBuild
new file mode 100644
index 0000000000..ef1d6dab04
--- /dev/null
+++ b/libraries/libcapsimage/libcapsimage.SlackBuild
@@ -0,0 +1,135 @@
+#!/bin/bash
+
+# Slackware build script for libcapsimage
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# This software goes by many names. I've chosen to name the package
+# after the shared library it installs.
+
+# Currently this only exists for hatari to use. If you're going to use
+# it as a dep for your SlackBuild:
+# - You'll want to make sure it looks for headers in /usr/include/caps5,
+# probly with a -I option in CFLAGS.
+# - The library is in the normal place, /usr/lib(64), so the only linker
+# flag you'll need (if it's not there already) is -lcapsimage.
+# - Some software might want to call it -lcapsimg, just sed your Makefile
+# or whatever's needed.
+# - The license for libcapsimage isn't GPL-compatible: it's "free for
+# non-commercial use". This shouldn't stop you or your users from
+# building and using packages, but you should note in your README if
+# the package is non-redistributable. I don't know if this affects
+# other licenses such as BSD or MIT.
+# - The only other problem you might run into is that your software
+# might be written for version 4.x, which is totally different (this
+# script can't build it). If there's any interest, I'll do a build
+# for that as well.
+# If you do use this as a dependency for your build, let me know, I'm
+# interested.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libcapsimage
+VERSION=${VERSION:-5.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=spsdeclib
+
+# Yo dawg, I herd you like zip files, so I put a zip file in your zip
+# file, so you can unzip while you unzip.
+INNERDIR=capsimg_source_linux_macosx
+INNERZIP="$INNERDIR.zip"
+
+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
+unzip -a $CWD/${SRCNAM}_${VERSION}_source.zip $INNERZIP '*.txt'
+unzip -a $INNERZIP
+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 $INNERDIR/CAPSImg
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+sh ./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' is useless, so:
+PKGLIB=$PKG/usr/lib$LIBDIRSUFFIX
+mkdir -p $PKGLIB
+install -s -m0755 $PRGNAM.so.$VERSION $PKGLIB
+ln -s $PRGNAM.so.$VERSION $PKGLIB/$PRGNAM.so
+# The .so.5 link is made by ldconfig at package install time.
+
+# List of headers came from peeking at the windows binary build. Also it's
+# the same set of headers hatari's readme.txt says it needs. I'm installing
+# them where hatari expects to find them. Since this stuff was ported from
+# Windows, it's littered with MS-specific __cdecl attributes which we
+# don't need on Linux, so zap them.
+mkdir -p $PKG/usr/include/caps5
+cd ..
+install -m0644 LibIPF/*.h Core/CommonTypes.h $PKG/usr/include/caps5
+sed -i 's,__cdecl,,g' $PKG/usr/include/caps5/*.h
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd ..
+cp -a *.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
diff --git a/libraries/libcapsimage/libcapsimage.info b/libraries/libcapsimage/libcapsimage.info
new file mode 100644
index 0000000000..c9536834fa
--- /dev/null
+++ b/libraries/libcapsimage/libcapsimage.info
@@ -0,0 +1,10 @@
+PRGNAM="libcapsimage"
+VERSION="5.1"
+HOMEPAGE="https://www.kryoflux.com/"
+DOWNLOAD="https://www.kryoflux.com/download/spsdeclib_5.1_source.zip"
+MD5SUM="27710eb05d4391560addeeb970ea1d45"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libcapsimage/slack-desc b/libraries/libcapsimage/slack-desc
new file mode 100644
index 0000000000..43795935b2
--- /dev/null
+++ b/libraries/libcapsimage/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------------------------------------------------------|
+libcapsimage: libcapsimage (decoder library for KyroFlux CTR and IPF disk images)
+libcapsimage:
+libcapsimage: libcapsimage is a support library that allows applications to access
+libcapsimage: low-level disk image files stored in the IPF (Interchange Preservation
+libcapsimage: Format) and CTR ("CT Raw") formats. This library is also known as the
+libcapsimage: "SPS Decoder Library", spsdeclib, and was formerly known as ipflib.
+libcapsimage:
+libcapsimage:
+libcapsimage:
+libcapsimage:
+libcapsimage:
diff --git a/libraries/libcbor/README b/libraries/libcbor/README
index 48210d800e..8e8442cad5 100644
--- a/libraries/libcbor/README
+++ b/libraries/libcbor/README
@@ -1,5 +1,5 @@
-libcbor is a C library for parsing and generating CBOR, the general-purpose
-schema-less binary data format.
+libcbor is a C library for parsing and generating CBOR, the
+general-purpose schema-less binary data format.
Main features:
Complete RFC conformance
diff --git a/libraries/libcbor/libcbor.SlackBuild b/libraries/libcbor/libcbor.SlackBuild
index 9af63b8ef9..8e51710d74 100644
--- a/libraries/libcbor/libcbor.SlackBuild
+++ b/libraries/libcbor/libcbor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcbor
#
# 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=libcbor
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.11.0}
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}
@@ -47,6 +57,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=""
@@ -92,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/libraries/libcbor/libcbor.info b/libraries/libcbor/libcbor.info
index 9d598f3678..caabecd675 100644
--- a/libraries/libcbor/libcbor.info
+++ b/libraries/libcbor/libcbor.info
@@ -1,8 +1,8 @@
PRGNAM="libcbor"
-VERSION="0.5.0"
+VERSION="0.11.0"
HOMEPAGE="https://github.com/PJK/libcbor"
-DOWNLOAD="https://github.com/PJK/libcbor/archive/v0.5.0/libcbor-0.5.0.tar.gz"
-MD5SUM="801a17e95592b39beecb2406604f5ba3"
+DOWNLOAD="https://github.com/PJK/libcbor/archive/v0.11.0/libcbor-0.11.0.tar.gz"
+MD5SUM="dd39ecd3e3c7adf2eccc585e5c2c2265"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libccd/libccd.SlackBuild b/libraries/libccd/libccd.SlackBuild
index 1ff8cb6de6..e4bc303c93 100644
--- a/libraries/libccd/libccd.SlackBuild
+++ b/libraries/libccd/libccd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libccd
@@ -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=libccd
COMMIT=f658f88f3d86a4069e1f7229156810c8bb2e10ad
VERSION=${VERSION:-git_f658f88}
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/libraries/libcdaudio/libcdaudio.SlackBuild b/libraries/libcdaudio/libcdaudio.SlackBuild
index fce532f11a..35d462d23a 100644
--- a/libraries/libcdaudio/libcdaudio.SlackBuild
+++ b/libraries/libcdaudio/libcdaudio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcdaudio
@@ -26,26 +26,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=libcdaudio
VERSION=${VERSION:-0.99.12p2}
-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"
@@ -97,8 +107,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libcdr/libcdr.SlackBuild b/libraries/libcdr/libcdr.SlackBuild
index 0c73931890..3bed69ecc2 100644
--- a/libraries/libcdr/libcdr.SlackBuild
+++ b/libraries/libcdr/libcdr.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcdr
-# Copyright 2015-2017, 2019 Hunter Sezen California, USA
+# Copyright 2015-2017, 2019-2020 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=libcdr
-VERSION=${VERSION:-0.1.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.1.6}
+BUILD=${BUILD:-3}
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,6 +90,12 @@ else
cppunit='--disable-tests'
fi
+# Fix build with icu4c-68.1
+# https://unicode-org.atlassian.net/browse/ICU-21267
+sed -i 's/TRUE/true/' src/lib/libcdr_utils.cpp
+
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -100,8 +116,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING.MPL ChangeLog 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libcdr/libcdr.info b/libraries/libcdr/libcdr.info
index 957132b8c1..f777365553 100644
--- a/libraries/libcdr/libcdr.info
+++ b/libraries/libcdr/libcdr.info
@@ -1,8 +1,8 @@
PRGNAM="libcdr"
-VERSION="0.1.5"
+VERSION="0.1.6"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
-DOWNLOAD="http://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.5.tar.xz"
-MD5SUM="3040295f7a027c5bcdffbdb5bbdfd00a"
+DOWNLOAD="http://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.6.tar.xz"
+MD5SUM="5543719c505002e9da0535c7e4cf2321"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libcec/README b/libraries/libcec/README
index 7edda116eb..cbdeb36763 100644
--- a/libraries/libcec/README
+++ b/libraries/libcec/README
@@ -1,4 +1,2 @@
-libCEC is an open-source dual licensed library designed for communicating
-with the Pulse-Eight USB - HDMI CEC Adaptor.
-
-Optional dependency: python3
+libCEC is an open-source dual licensed library designed for
+communicating with the Pulse-Eight USB - HDMI CEC Adaptor.
diff --git a/libraries/libcec/libcec.SlackBuild b/libraries/libcec/libcec.SlackBuild
index 7c1d57140c..5ba5ad724f 100644
--- a/libraries/libcec/libcec.SlackBuild
+++ b/libraries/libcec/libcec.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcec
-# Copyright 2011-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2011-2020 Larry Hajali <larryhaja[at]gmail[dot]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=libcec
-VERSION=${VERSION:-4.0.3}
+VERSION=${VERSION:-4.0.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}
@@ -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/libraries/libcec/libcec.info b/libraries/libcec/libcec.info
index 9a7551bbea..b1b08d4473 100644
--- a/libraries/libcec/libcec.info
+++ b/libraries/libcec/libcec.info
@@ -1,8 +1,8 @@
PRGNAM="libcec"
-VERSION="4.0.3"
+VERSION="4.0.4"
HOMEPAGE="http://libcec.pulse-eight.com/"
-DOWNLOAD="https://github.com/Pulse-Eight/libcec/archive/libcec-4.0.3/libcec-libcec-4.0.3.tar.gz"
-MD5SUM="37671243f29241ca070c8c795b265b19"
+DOWNLOAD="https://github.com/Pulse-Eight/libcec/archive/libcec-4.0.4/libcec-libcec-4.0.4.tar.gz"
+MD5SUM="68bb5aa90857fb5436795f2cfc163e0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="platform"
diff --git a/libraries/libchamplain/README b/libraries/libchamplain/README
new file mode 100644
index 0000000000..e05db47c11
--- /dev/null
+++ b/libraries/libchamplain/README
@@ -0,0 +1,17 @@
+libchamplain is a C library providing a ClutterActor to display maps.
+It also provides a Gtk+ widget to display maps in Gtk+ applications.
+Python and Perl bindings are also available. It supports numerous free
+map sources such as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps
+for free.
+
+libchamplain is named after Samuel de Champlain, famous French
+navigator, explorer and cartographer. He is the "father of New-France"
+and founder of Québec City, which was the 400th anniversary in 2008,
+the year this library was created.
+
+Below variables can be used to configure the build:
+ INTROSPECTION=no : Don't generate introspection data
+ Needs building clutter and clutter-gtk built with
+ INTROSPECTION=yes
+ VAPI=no : Don't generate vapi data
+ GTKDOC=yes : Build reference manual
diff --git a/libraries/libchamplain/libchamplain.SlackBuild b/libraries/libchamplain/libchamplain.SlackBuild
new file mode 100644
index 0000000000..550454023a
--- /dev/null
+++ b/libraries/libchamplain/libchamplain.SlackBuild
@@ -0,0 +1,143 @@
+#!/bin/bash
+
+# Slackware build script for libchamplain
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libchamplain
+VERSION=${VERSION:-0.12.20}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+INTROSPECTION=${INTROSPECTION:-yes}
+VAPI=${VAPI:-yes}
+GTKDOC=${GTKDOC:-no}
+
+if [ "$INTROSPECTION" = "yes" ]; then
+ INTROSPECTIONP="true"
+else
+ INTROSPECTIONP="false"
+fi
+
+if [ "$VAPI" = "yes" ]; then
+ VAPIP="true"
+else
+ VAPIP="false"
+fi
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+else
+ GTKDOCP="false"
+fi
+
+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 \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --sysconfdir=/etc \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --wrap-mode=nodownload \
+ -Dintrospection="$INTROSPECTIONP" \
+ -Dvapi="$VAPIP" \
+ -Dwidgetry=true \
+ -Dgtk_doc="$GTKDOCP" \
+ -Dstrip=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 \
+ AUTHORS 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/libraries/libchamplain/libchamplain.info b/libraries/libchamplain/libchamplain.info
new file mode 100644
index 0000000000..58232ee5ab
--- /dev/null
+++ b/libraries/libchamplain/libchamplain.info
@@ -0,0 +1,10 @@
+PRGNAM="libchamplain"
+VERSION="0.12.20"
+HOMEPAGE="https://wiki.gnome.org/Projects/libchamplain"
+DOWNLOAD="https://download.gnome.org/sources/libchamplain/0.12/libchamplain-0.12.20.tar.xz"
+MD5SUM="e58b364ffc2ea6bba9e58f95ee2a5229"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="clutter-gtk"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/libchamplain/slack-desc b/libraries/libchamplain/slack-desc
new file mode 100644
index 0000000000..f75c72c1c8
--- /dev/null
+++ b/libraries/libchamplain/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------------------------------------------------------|
+libchamplain: libchamplain (C library providing ClutterActor to display maps)
+libchamplain:
+libchamplain: libchamplain is a C library providing a ClutterActor to display
+libchamplain: maps. It also provides a Gtk+ widget to display maps in Gtk+
+libchamplain: applications. Python and Perl bindings are also available. It
+libchamplain: supports numerous free map sources such as OpenStreetMap,
+libchamplain: OpenCycleMap, OpenAerialMap and Maps for free.
+libchamplain:
+libchamplain:
+libchamplain:
+libchamplain:
diff --git a/libraries/libchardet/README b/libraries/libchardet/README
new file mode 100644
index 0000000000..4e5cffa092
--- /dev/null
+++ b/libraries/libchardet/README
@@ -0,0 +1,5 @@
+Libchardet is Mozilla's universal charset
+detection library and detects the
+character set used to encode data.
+
+It is licensed under the MPL version 1.1
diff --git a/libraries/libchardet/libchardet.SlackBuild b/libraries/libchardet/libchardet.SlackBuild
new file mode 100644
index 0000000000..dd11b5d72c
--- /dev/null
+++ b/libraries/libchardet/libchardet.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for libchardet
+
+# Copyright 2022 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=libchardet
+VERSION=${VERSION:-1.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 ;;
+ *) 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
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+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
+
+# 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
+
+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 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/libraries/libchardet/libchardet.info b/libraries/libchardet/libchardet.info
new file mode 100644
index 0000000000..efde0f68da
--- /dev/null
+++ b/libraries/libchardet/libchardet.info
@@ -0,0 +1,10 @@
+PRGNAM="libchardet"
+VERSION="1.0.6"
+HOMEPAGE="http://oops.org/"
+DOWNLOAD="https://github.com/Joungkyun/libchardet/archive/1.0.6/libchardet-1.0.6.tar.gz"
+MD5SUM="646b88dc93ff9799d17f9cec721f86ba"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libchardet/slack-desc b/libraries/libchardet/slack-desc
new file mode 100644
index 0000000000..a19c7f2d02
--- /dev/null
+++ b/libraries/libchardet/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------------------------------------------------------|
+libchardet: libchardet (Mozilla Universal Charset Detector)
+libchardet:
+libchardet: libchardet is based on mozilla universal charset
+libchardet: detector library and detects the character set
+libchardet: used to encode data.
+libchardet:
+libchardet: Homepage:http://oops.org
+libchardet:
+libchardet:
+libchardet:
+libchardet:
diff --git a/libraries/libchewing/README b/libraries/libchewing/README
index 9765869752..e01b48a84d 100644
--- a/libraries/libchewing/README
+++ b/libraries/libchewing/README
@@ -1,2 +1,2 @@
-libchewing is a library required by New Chewing Input Method, which is a good
-Traditional Chinese intelligent phonetic input method.
+libchewing is a library required by New Chewing Input Method, which is
+a good Traditional Chinese intelligent phonetic input method.
diff --git a/libraries/libchewing/libchewing.SlackBuild b/libraries/libchewing/libchewing.SlackBuild
index d095d44a59..76c46c65a3 100644
--- a/libraries/libchewing/libchewing.SlackBuild
+++ b/libraries/libchewing/libchewing.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libchewing
@@ -23,10 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220411 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - move info docs to /usr/info (not /usr/share/info).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libchewing
VERSION=${VERSION:-0.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,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}
@@ -66,9 +76,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -80,10 +90,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -91,11 +98,14 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/share/info/dir
-gzip -9 $PKG/usr/share/info/*.info*
+mv $PKG/usr/share/info $PKG/usr/info
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
+
+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/libraries/libcifpp/README b/libraries/libcifpp/README
new file mode 100644
index 0000000000..98edc55d64
--- /dev/null
+++ b/libraries/libcifpp/README
@@ -0,0 +1 @@
+Library containing code to manipulate mmCIF and PDB files
diff --git a/libraries/libcifpp/libcifpp.SlackBuild b/libraries/libcifpp/libcifpp.SlackBuild
new file mode 100644
index 0000000000..a6d67c082e
--- /dev/null
+++ b/libraries/libcifpp/libcifpp.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for libcifpp
+
+# Copyright 2021 Petar Petrov slackalaxy@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=libcifpp
+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.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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libcifpp/libcifpp.info b/libraries/libcifpp/libcifpp.info
new file mode 100644
index 0000000000..4a302a6eef
--- /dev/null
+++ b/libraries/libcifpp/libcifpp.info
@@ -0,0 +1,10 @@
+PRGNAM="libcifpp"
+VERSION="3.0.0"
+HOMEPAGE="https://github.com/PDB-REDO/libcifpp"
+DOWNLOAD="https://github.com/PDB-REDO/libcifpp/archive/v3.0.0/libcifpp-3.0.0.tar.gz"
+MD5SUM="82ca063ecb81b747527e8b76f1ba45ec"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/libraries/libcifpp/slack-desc b/libraries/libcifpp/slack-desc
new file mode 100644
index 0000000000..43fcdac757
--- /dev/null
+++ b/libraries/libcifpp/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------------------------------------------------------|
+libcifpp: libcifpp (libcif++: manipulate mmCIF and PDB files)
+libcifpp:
+libcifpp: Library containing code to manipulate mmCIF and PDB files.
+libcifpp:
+libcifpp:
+libcifpp:
+libcifpp:
+libcifpp:
+libcifpp:
+libcifpp:
+libcifpp:
diff --git a/libraries/libcint/README b/libraries/libcint/README
new file mode 100644
index 0000000000..b54838120c
--- /dev/null
+++ b/libraries/libcint/README
@@ -0,0 +1,7 @@
+ libcint is an open source library for analytical Gaussian integrals.
+It provides C/Fortran API to evaluate one-electron / two-electron
+integrals for Cartesian / real-spheric / spinor Gaussian type
+functions.
+
+* Package maintained for building the python-pyscf which is only
+building with libcint version 4.4.6.
diff --git a/libraries/libcint/libcint.SlackBuild b/libraries/libcint/libcint.SlackBuild
new file mode 100644
index 0000000000..b856d322ed
--- /dev/null
+++ b/libraries/libcint/libcint.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for libcint
+
+# 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=libcint
+VERSION=${VERSION:-4.4.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 [ "${EXAMPLE:-no}" == "yes" ]; then
+ OPT_BUILD="-DENABLE_EXAMPLE=ON"
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ $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
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+#cp -a {AUTHORS,ChangeLog,README.rst} $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/libraries/libcint/libcint.info b/libraries/libcint/libcint.info
new file mode 100644
index 0000000000..9d4dfb5184
--- /dev/null
+++ b/libraries/libcint/libcint.info
@@ -0,0 +1,10 @@
+PRGNAM="libcint"
+VERSION="4.4.6"
+HOMEPAGE="https://github.com/sunqm/libcint"
+DOWNLOAD="https://github.com/sunqm/libcint/archive/v4.4.6/libcint-4.4.6.tar.gz"
+MD5SUM="b382455c507e98cfde0135eb3149ff51"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="blas"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libcint/slack-desc b/libraries/libcint/slack-desc
new file mode 100644
index 0000000000..5611aa0752
--- /dev/null
+++ b/libraries/libcint/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------------------------------------------------------|
+libcint: libcint (an open source library for analytical Gaussian integrals)
+libcint:
+libcint:
+libcint: libcint is an open source library for analytical Gaussian integrals.
+libcint: It provides C/Fortran API to evaluate one-electron / two-electron
+libcint: integrals for Cartesian / real-spheric / spinor Gaussian type
+libcint: functions.
+libcint:
+libcint:
+libcint:
+libcint:
diff --git a/libraries/libcitadel/libcitadel.SlackBuild b/libraries/libcitadel/libcitadel.SlackBuild
index 44644d37a0..6c1849f7c6 100644
--- a/libraries/libcitadel/libcitadel.SlackBuild
+++ b/libraries/libcitadel/libcitadel.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ejabberd
@@ -23,26 +23,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip library.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libcitadel
VERSION=${VERSION:-8.22}
-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"
@@ -66,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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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" \
@@ -78,17 +89,21 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --disable-static \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+strip $PKG/usr/lib*/$PRGNAM.so.*.*.*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README.txt config.log \
$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/libraries/libclaw/doinst.sh b/libraries/libclaw/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/libclaw/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/libraries/libclaw/lib.patch b/libraries/libclaw/lib.patch
deleted file mode 100644
index 8ea8694e1a..0000000000
--- a/libraries/libclaw/lib.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libclaw-1.7.4/CMakeLists.orig.txt 2015-05-14 17:54:05.443919651 +0300
-+++ libclaw-1.7.4/CMakeLists.txt 2015-05-14 17:54:22.925701098 +0300
-@@ -30,7 +30,7 @@
- set( CLAW_CODE_DIR claw/code/ )
- set( CLAW_INCLUDE_DIRECTORY "${CMAKE_INSTALL_PREFIX}/include/" )
- set( CLAW_INSTALLDIR_SOURCE include/claw/ )
--set( CLAW_INSTALLDIR_LIB lib/ )
-+set( CLAW_INSTALLDIR_LIB lib64/ )
- set( CLAW_INSTALLDIR_DOC share/doc/libclaw${CLAW_VERSION_MAJOR}/ )
- set( CLAW_TRANSLATIONS_INSTALL_DIR "share/locale" )
- set( CLAW_EXECUTABLE_DIR bin/ )
diff --git a/libraries/libclaw/libclaw.SlackBuild b/libraries/libclaw/libclaw.SlackBuild
index 1cee1fa691..770d2a0de1 100644
--- a/libraries/libclaw/libclaw.SlackBuild
+++ b/libraries/libclaw/libclaw.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libclaw
@@ -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.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - move HTML API docs to proper Slackware doc dir.
+# - get rid of static libraries.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libclaw
VERSION=${VERSION:-1.7.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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,13 +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 {} \+
-if [ "$ARCH" = "x86_64" ]; then
- patch -p1 < $CWD/lib.patch
-fi
+# Apply some patches from fedora
+for i in $CWD/patches/*.patch ; do patch -p1 < $i ; done
mkdir -p build
cd build
@@ -79,21 +89,25 @@ cd build
-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
+ make install/strip 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
+# 20220418 bkw: no option to disable building static libs.
+# there are no dependees for this build, so it's not going to break anything.
+rm -f $PKG/usr/lib*/*.a
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog COPYING 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
+mv $PKG/usr/share/doc/libclaw1/html $PKGDOC/html || true
+rm -rf $PKG/usr/share/doc
+cp -a ChangeLog COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libclaw/patches/01_libclaw-1.7.4-libdir.patch b/libraries/libclaw/patches/01_libclaw-1.7.4-libdir.patch
new file mode 100644
index 0000000000..7e1172f22b
--- /dev/null
+++ b/libraries/libclaw/patches/01_libclaw-1.7.4-libdir.patch
@@ -0,0 +1,36 @@
+diff -up libclaw-1.7.4/claw-config.in.libdir libclaw-1.7.4/claw-config.in
+--- libclaw-1.7.4/claw-config.in.libdir 2013-07-03 13:34:38.000000000 -0600
++++ libclaw-1.7.4/claw-config.in 2016-12-29 16:58:52.140591117 -0700
+@@ -140,7 +140,7 @@ while test $# -gt 0; do
+ echo -I$CLAW_INCLUDE_DIRECTORY
+ ;;
+ --libs)
+- libdirs="-L${exec_prefix}/lib "
++ libdirs="-L${exec_prefix}/@CLAW_INSTALLDIR_LIB@ "
+
+ echo -n "$libdirs"
+ echo $(print_libraries)
+diff -up libclaw-1.7.4/CMakeLists.txt.libdir libclaw-1.7.4/CMakeLists.txt
+--- libclaw-1.7.4/CMakeLists.txt.libdir 2016-12-29 16:50:24.124507641 -0700
++++ libclaw-1.7.4/CMakeLists.txt 2016-12-29 16:50:24.137508590 -0700
+@@ -30,7 +30,7 @@ endif(SVN_ENTRIES)
+ set( CLAW_CODE_DIR claw/code/ )
+ set( CLAW_INCLUDE_DIRECTORY "${CMAKE_INSTALL_PREFIX}/include/" )
+ set( CLAW_INSTALLDIR_SOURCE include/claw/ )
+-set( CLAW_INSTALLDIR_LIB lib/ )
++set( CLAW_INSTALLDIR_LIB "lib${LIB_SUFFIX}/" )
+ set( CLAW_INSTALLDIR_DOC share/doc/libclaw${CLAW_VERSION_MAJOR}/ )
+ set( CLAW_TRANSLATIONS_INSTALL_DIR "share/locale" )
+ set( CLAW_EXECUTABLE_DIR bin/ )
+diff -up libclaw-1.7.4/cmake-module/CMakeLists.txt.libdir libclaw-1.7.4/cmake-module/CMakeLists.txt
+--- libclaw-1.7.4/cmake-module/CMakeLists.txt.libdir 2013-07-03 13:34:38.000000000 -0600
++++ libclaw-1.7.4/cmake-module/CMakeLists.txt 2016-12-29 16:50:24.148509393 -0700
+@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6)
+ project(claw:cmake-modules)
+
+ if( NOT CLAW_CMAKE_MODULES_INSTALL_PATH )
+- set( CLAW_CMAKE_MODULES_INSTALL_PATH "share/cmake/libclaw" )
++ set( CLAW_CMAKE_MODULES_INSTALL_PATH "lib${LIB_SUFFIX}/cmake/libclaw" )
+ endif( NOT CLAW_CMAKE_MODULES_INSTALL_PATH )
+
+ set( CLAW_CMAKE_MODULES
diff --git a/libraries/libclaw/patches/02_libclaw-1.7.4-gcc62.patch b/libraries/libclaw/patches/02_libclaw-1.7.4-gcc62.patch
new file mode 100644
index 0000000000..e1da77043d
--- /dev/null
+++ b/libraries/libclaw/patches/02_libclaw-1.7.4-gcc62.patch
@@ -0,0 +1,89 @@
+From a13a75306bba55538ba7d5188ffc1a7eb34f173b Mon Sep 17 00:00:00 2001
+From: Lubomir Rintel <lkundrak@v3.sk>
+Date: Mon, 28 Nov 2016 10:21:33 +0100
+Subject: [PATCH 1/2] Deal with correct getline() type
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+ libclaw-1.7.4/claw/code/configuration_file.cpp:
+ In member function ‘bool claw::configuration_file::get_line(std::istream&,
+ const claw::configuration_file::syntax_description&, std::__cxx11::string&) const’:
+ libclaw-1.7.4/claw/code/configuration_file.cpp:444:39: error: cannot convert
+ ‘std::basic_istream<char>’ to ‘bool’ in initialization
+ bool result = text::getline(is, line);
+---
+ claw/code/configuration_file.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/claw/code/configuration_file.cpp b/claw/code/configuration_file.cpp
+index e7bb26a..3839cff 100644
+--- a/claw/code/configuration_file.cpp
++++ b/claw/code/configuration_file.cpp
+@@ -441,7 +441,7 @@ claw::configuration_file::file_end() const
+ bool claw::configuration_file::get_line
+ ( std::istream& is, const syntax_description& syntax, std::string& line ) const
+ {
+- bool result = text::getline(is, line);
++ bool result = text::getline(is, line).good();
+
+ if ( result )
+ {
+--
+2.9.3
+
+From cadc97d9626307d2f1fcf113099c9c4ca0f7cf6b Mon Sep 17 00:00:00 2001
+From: Lubomir Rintel <lkundrak@v3.sk>
+Date: Mon, 28 Nov 2016 10:09:33 +0100
+Subject: [PATCH 2/2] Do something random to make C++ happy
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+ In file included from /usr/include/boost/bind.hpp:22:0, libclaw-1.7.4/claw/code/tween/single_tweener.cpp:32:
+ /usr/include/boost/bind/bind.hpp: In instantiation of ‘void boost::_bi::list2<A1, A2>::operator()(boost::_bi::type<void>, F&, A&, int) [with F = void (*)(double&, double&); A = boost::_bi::rrlist1<double>; A1 = boost::reference_wrapper<double>; A2 = boost::arg<1>]’:
+ /usr/include/boost/bind/bind.hpp:1234:50: required from ‘boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, L>::operator()(A1&&) [with A1 = double; R = void; F = void (*)(double&, double&); L = boost::_bi::list2<boost::reference_wrapper<double>, boost::arg<1> >; boost::_bi::bind_t<R, F, L>::result_type = void]’
+ /usr/include/boost/function/function_template.hpp:159:11: required from ‘static void boost::detail::function::void_function_obj_invoker1<FunctionObj, R, T0>::invoke(boost::detail::function::function_buffer&, T0) [with FunctionObj = boost::_bi::bind_t<void, void (*)(double&, double&), boost::_bi::list2<boost::reference_wrapper<double>, boost::arg<1> > >; R = void; T0 = double]’
+ /usr/include/boost/function/function_template.hpp:937:38: required from ‘void boost::function1<R, T1>::assign_to(Functor) [with Functor = boost::_bi::bind_t<void, void (*)(double&, double&), boost::_bi::list2<boost::reference_wrapper<double>, boost::arg<1> > >; R = void; T0 = double]’
+ /usr/include/boost/function/function_template.hpp:727:7: required from ‘boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::_bi::bind_t<void, void (*)(double&, double&), boost::_bi::list2<boost::reference_wrapper<double>, boost::arg<1> > >; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’
+ /usr/include/boost/function/function_template.hpp:1073:16: required from ‘boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type) [with Functor = boost::_bi::bind_t<void, void (*)(double&, double&), boost::_bi::list2<boost::reference_wrapper<double>, boost::arg<1> > >; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), int>::type = int]’
+ /usr/include/boost/function/function_template.hpp:1126:5: required from ‘typename boost::enable_if_c<(! boost::is_integral<Functor>::value), boost::function<R(T0)>&>::type boost::function<R(T0)>::operator=(Functor) [with Functor = boost::_bi::bind_t<void, void (*)(double&, double&), boost::_bi::list2<boost::reference_wrapper<double>, boost::arg<1> > >; R = void; T0 = double; typename boost::enable_if_c<(! boost::is_integral<Functor>::value), boost::function<R(T0)>&>::type = boost::function<void(double)>&]’
+ libclaw-1.7.4/claw/code/tween/single_tweener.cpp:125:62: required from here
+ /usr/include/boost/bind/bind.hpp:319:35: error: invalid initialization of non-const reference of type ‘double&’ from an rvalue of type ‘double’
+ unwrapper<F>::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CMakeFiles/claw_tween-static.dir/build.make:89: recipe for target 'CMakeFiles/claw_tween-static.dir/claw/code/tween/single_tweener.cpp.o' failed
+---
+ claw/code/tween/single_tweener.cpp | 2 +-
+ claw/tween/single_tweener.hpp | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/claw/code/tween/single_tweener.cpp b/claw/code/tween/single_tweener.cpp
+index 2a3c7fe..d173eec 100644
+--- a/claw/code/tween/single_tweener.cpp
++++ b/claw/code/tween/single_tweener.cpp
+@@ -241,7 +241,7 @@ double claw::tween::single_tweener::do_update( double dt )
+ const double result = dt - t;
+ m_date += t;
+
+- const double val( get_value() );
++ double val( get_value() );
+
+ m_callback(val);
+
+diff --git a/claw/tween/single_tweener.hpp b/claw/tween/single_tweener.hpp
+index 9f05671..f730cfa 100644
+--- a/claw/tween/single_tweener.hpp
++++ b/claw/tween/single_tweener.hpp
+@@ -51,7 +51,7 @@ namespace claw
+ public:
+ /** \brief The type of the function called when the single_tweener is
+ updated. */
+- typedef boost::function<void (double)> update_function;
++ typedef boost::function<void (double&)> update_function;
+
+ /** \brief The type of the function used to compute the new value. */
+ typedef boost::function<double (double)> easing_function;
+--
+2.9.3
+
diff --git a/libraries/libclaw/patches/03_libclaw-1.7.4-gcc7.patch b/libraries/libclaw/patches/03_libclaw-1.7.4-gcc7.patch
new file mode 100644
index 0000000000..dd89e3e256
--- /dev/null
+++ b/libraries/libclaw/patches/03_libclaw-1.7.4-gcc7.patch
@@ -0,0 +1,36 @@
+Patch taken from upstream and edited for use in Fedora:
+
+commit 6033275773313fe052f6e222321a8ec87587fbe6
+Author: Julien Jorge <julien.jorge@iscool-e.com>
+Date: Thu Apr 24 20:39:18 2014 +0200
+
+ Fix various errors pointed by clang on iOS.
+
+diff --git a/claw/impl/box_2d.tpp b/claw/impl/box_2d.tpp
+index e4b6936..71f3883 100644
+--- a/claw/impl/box_2d.tpp
++++ b/claw/impl/box_2d.tpp
+@@ -136,8 +136,8 @@ template<typename U>
+ claw::math::box_2d<U> claw::math::box_2d<T>::cast_value_type_to() const
+ {
+ return claw::math::box_2d<U>
+- ( first_point.cast_value_type_to<U>(),
+- second_point.cast_value_type_to<U>() );
++ ( first_point.template cast_value_type_to<U>(),
++ second_point.template cast_value_type_to<U>() );
+ } // box_2d::cast_value_type_to()
+
+ /*----------------------------------------------------------------------------*/
+diff --git a/claw/impl/rectangle.tpp b/claw/impl/rectangle.tpp
+index 9e6f14a..3c3c8f3 100644
+--- a/claw/impl/rectangle.tpp
++++ b/claw/impl/rectangle.tpp
+@@ -140,7 +140,7 @@ template<typename U>
+ claw::math::rectangle<U> claw::math::rectangle<T>::cast_value_type_to() const
+ {
+ return claw::math::rectangle<U>
+- ( position.cast_value_type_to<U>(), (U)width, (U)height );
++ ( position.template cast_value_type_to<U>(), (U)width, (U)height );
+ } // rectangle::cast_value_type_to()
+
+ /*----------------------------------------------------------------------------*/
diff --git a/libraries/libcli/README b/libraries/libcli/README
index 95642a898e..3e6bda4d44 100644
--- a/libraries/libcli/README
+++ b/libraries/libcli/README
@@ -1,4 +1,4 @@
-Libcli provides a shared library for including a Cisco-like command-line
-interface into other software. It's a telnet interface which supports
-command-line editing, history, authentication and callbacks for a user
-definable function tree.
+Libcli provides a shared library for including a Cisco-like
+command-line interface into other software. It's a telnet interface
+which supports command-line editing, history, authentication and
+callbacks for a user definable function tree.
diff --git a/libraries/libcli/libcli.SlackBuild b/libraries/libcli/libcli.SlackBuild
index bc6faa7d8e..4bd91aa55d 100644
--- a/libraries/libcli/libcli.SlackBuild
+++ b/libraries/libcli/libcli.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcli
-# Copyright 2009-2014 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2021 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=libcli
-VERSION=${VERSION:-1.9.7}
+VERSION=${VERSION:-1.10.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"
@@ -59,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf dparrish-libcli-ae56ebc
-tar xvf $CWD/dparrish-libcli-v$VERSION-0-gae56ebc.tar.gz
-cd dparrish-libcli-ae56ebc
+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 \
@@ -83,15 +93,19 @@ make \
DESTDIR=$PKG \
install
+# Don't ship .la/.a files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libcli/libcli.info b/libraries/libcli/libcli.info
index f81d7f6b1c..5e4ea7caa4 100644
--- a/libraries/libcli/libcli.info
+++ b/libraries/libcli/libcli.info
@@ -1,10 +1,10 @@
PRGNAM="libcli"
-VERSION="1.9.7"
-HOMEPAGE="http://sites.dparrish.com/libcli"
-DOWNLOAD="https://github.com/dparrish/libcli/tarball/v1.9.7/dparrish-libcli-v1.9.7-0-gae56ebc.tar.gz"
-MD5SUM="e4d45fb1b2315ce65bfe2fe44d081e7a"
+VERSION="1.10.7"
+HOMEPAGE="https://dparrish.com/pages/libcli"
+DOWNLOAD="https://github.com/dparrish/libcli/archive/V1.10.7/libcli-1.10.7.tar.gz"
+MD5SUM="98c68e07babb3cc5ecc7c36c1ada4ab7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libcli/slack-desc b/libraries/libcli/slack-desc
index 7fac711a42..271ae16963 100644
--- a/libraries/libcli/slack-desc
+++ b/libraries/libcli/slack-desc
@@ -13,7 +13,7 @@ libcli: line interface into other software.
libcli: It's a telnet interface which supports command-line editing, history,
libcli: authentication and callbacks for a user-definable function tree.
libcli:
-libcli: Homepage: http://code.google.com/p/libcli/
+libcli: Homepage: https://dparrish.com/pages/libcli
libcli:
libcli:
libcli:
diff --git a/libraries/libcmis/libcmis.SlackBuild b/libraries/libcmis/libcmis.SlackBuild
index ecbd0a88dd..f08308527a 100644
--- a/libraries/libcmis/libcmis.SlackBuild
+++ b/libraries/libcmis/libcmis.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Libcmis
@@ -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=libcmis
VERSION=${VERSION:-0.5.2}
-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}
@@ -101,8 +111,10 @@ mkdir -p $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
+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/libraries/libcoap/README b/libraries/libcoap/README
index 676011c62e..6ecdf3944d 100644
--- a/libraries/libcoap/README
+++ b/libraries/libcoap/README
@@ -2,3 +2,8 @@ libcoap implements a lightweight application-protocol for devices
that are constrained in their resources such as computing power,
RF range, memory, bandwith, or network packet sizes.
This protocol, CoAP, was standardized in the IETF as RFC 7252.
+
+By default, the API documentation is not built, as it's rather
+resource-intensive, and not required unless you're a developer. If
+you need the API docs, install graphviz, then run this build with
+APIDOC=yes in the environment.
diff --git a/libraries/libcoap/libcoap.SlackBuild b/libraries/libcoap/libcoap.SlackBuild
index b9eb3c2ad0..e3dcf1c902 100644
--- a/libraries/libcoap/libcoap.SlackBuild
+++ b/libraries/libcoap/libcoap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcoap
@@ -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.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove broken symlink.
+# - make API docs optional.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libcoap
-VERSION=${VERSION:-4.2.1}
+VERSION=${VERSION:-4.3.4a}
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,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 {} \+
+
+apidocopt="--disable-doxygen"
+[ "${APIDOC:-no}" = "yes" ] && apidocopt="--enable-doxygen"
./autogen.sh
@@ -82,24 +97,25 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--enable-examples \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ $apidocopt \
--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
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/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
+# 20220418 bkw: broken symlink when we use --disable-static:
+rm -f $PKG/usr/lib*/*.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a BUILDING COPYING ChangeLog INSTALL LICENSE README.md TODO \
+cp -a BUILDING COPYING ChangeLog LICENSE README.md 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/libraries/libcoap/libcoap.info b/libraries/libcoap/libcoap.info
index 7a4e653288..d1a5f8bbf5 100644
--- a/libraries/libcoap/libcoap.info
+++ b/libraries/libcoap/libcoap.info
@@ -1,8 +1,8 @@
PRGNAM="libcoap"
-VERSION="4.2.1"
+VERSION="4.3.4a"
HOMEPAGE="https://libcoap.net/"
-DOWNLOAD="https://github.com/obgm/libcoap/archive/v4.2.1/libcoap-4.2.1.tar.gz"
-MD5SUM="ddd35fed3b44e20d6d456c9901334dae"
+DOWNLOAD="https://github.com/obgm/libcoap/archive/v4.3.4a/libcoap-4.3.4a.tar.gz"
+MD5SUM="c0de2c977c6bc42356750e6bd10b2d81"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libcompizconfig/README b/libraries/libcompizconfig/README
index 40d8baadcc..ef94e05644 100644
--- a/libraries/libcompizconfig/README
+++ b/libraries/libcompizconfig/README
@@ -1,21 +1,14 @@
-CompizConfig is an alternative configuration system for Compiz Fusion.
-
-PLEASE read the README.Slackware file BEFORE you install any of the
-compiz packages. The install order is listed below but there are
-some important notes you need to be aware of before you install/use
-compiz.
+CompizConfig is an alternative configuration system for Compiz.
For correct installation, build in this order:
- 1. compiz (not available at SBo, see the README.Slackware file)
- 2. compiz-bcop
- 3. protobuf (optional but recommended)
- 4. libcompizconfig
- 5. compiz (optional, see the README.Slackware file)
- 6. compizconfig-python
- 7. ccsm
- 8. compiz-plugins-main
- 9. compiz-plugins-extra (optional)
-10. compiz-plugins-experimental (optional)
-11. emerald (optional)
-12. emerald-themes (optional)
-13. fusion-icon (optional)
+compiz-bcop
+protobuf3 (optional but recommended)
+libcompizconfig
+compizconfig-python
+ccsm
+compiz-plugins-main
+compiz-plugins-extra (optional)
+compiz-plugins-experimental (optional)
+emerald (optional)
+emerald-themes (optional)
+fusion-icon (optional)
diff --git a/libraries/libcompizconfig/README.Slackware b/libraries/libcompizconfig/README.Slackware
deleted file mode 100644
index cb4f9f8c01..0000000000
--- a/libraries/libcompizconfig/README.Slackware
+++ /dev/null
@@ -1,46 +0,0 @@
-1) Slackware still ships the old 0.8.8 release of compiz that was
- released back in 2011. The project has recently been picked up
- and is being actively maintained by the compiz-reloaded team.
- You can still use the 0.8.8 version of the compiz that ships
- with Slackware with the companion packages since there has not been
- any ABI changes to the code. But there is a good chance you will run
- into stabilty issues if you do, so it is HIGHLY recommended you use
- the version of compiz that matches the companion packages. Because
- you will be replacing a stock Slackware package the SlackBuild is
- not hosted at www.slackbuilds.org. You can download the SlackBuild
- from the link below.
-
- https://www.dropbox.com/s/t08cb1u00he4cyo/compiz-0.8.14-SlackBuild.tar.gz
-
- This SlackBuild is based off the 14.2 stock Slackware SlackBuild so you
- shouldn't run into any problems. If you do use this version of compiz you
- will need to blacklist compiz in your /etc/slackpkg/blacklist file to keep
- slackpkg from reverting the package back to 0.8.8
-
-2) Compiz now has basic support for the MATE desktop. You will have to install
- MATE before you install compiz for support. The MATE slackware project
- website is located here https://mateslackbuilds.github.io/
-
-3) The compizconfig-backend-kconfig4 package has been removed from the
- project so if you are upgrading from a previous version you will want
- to remove this package. Also compiz-plugins-unsupported has now been
- renamed to compiz-plugins-experimental so you will need to remove
- compiz-plugins-unsupported before you upgrade to the newest packages.
-
-4) The install order has compiz listed twice. libcompizconfig depends
- on compiz, but compiz has some extra window decorator related features
- that depend on libcompizconfig. So if you want these extra features you
- will have to recompile compiz again AFTER you build and install
- libcompizconfig. This is not required it is just an option if you want
- to do it.
-
-5) After you install compiz and the companion packages you will need to
- launch CCSM and enable "Move", "Resize Window", and "Window Decorations"
- before you start compiz. This way you can manage your windows. After
- you enable those three options you can start compiz and customize to
- your liking.
-
-
-
-
-
diff --git a/libraries/libcompizconfig/libcompizconfig.SlackBuild b/libraries/libcompizconfig/libcompizconfig.SlackBuild
index 26e4106783..99a92d2f7e 100644
--- a/libraries/libcompizconfig/libcompizconfig.SlackBuild
+++ b/libraries/libcompizconfig/libcompizconfig.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcompizconfig
-# Copyright 2016 Matt Dinslage, Springfield, MO
+# Copyright 2021 Matt Dinslage, Springfield, MO
# 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=libcompizconfig
-VERSION=${VERSION:-0.8.14}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.8.18}
+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}
@@ -54,7 +61,6 @@ else
LIBDIRSUFFIX=""
fi
-
set -e
rm -rf $PKG
@@ -84,15 +90,20 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+find $PKG -type f -iname '*.la' -exec rm -rf {} \+
+
find $PKG -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 INSTALL NEWS README.md $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/libraries/libcompizconfig/libcompizconfig.info b/libraries/libcompizconfig/libcompizconfig.info
index 48c7e85ba2..0c83b1d880 100644
--- a/libraries/libcompizconfig/libcompizconfig.info
+++ b/libraries/libcompizconfig/libcompizconfig.info
@@ -1,10 +1,10 @@
PRGNAM="libcompizconfig"
-VERSION="0.8.14"
-HOMEPAGE="https://github.com/raveit65/libcompizconfig"
-DOWNLOAD="https://github.com/compiz-reloaded/libcompizconfig/releases/download/v0.8.14/libcompizconfig-0.8.14.tar.xz"
-MD5SUM="962a93def3d753c8664fd1a0c1b2ec52"
+VERSION="0.8.18"
+HOMEPAGE="https://github.com/compiz-reloaded/libcompizconfig"
+DOWNLOAD="http://www.northfield.ws/projects/compiz/releases/0.8.18/libcompizconfig-0.8.18.tar.xz"
+MD5SUM="b17c374b1c5d385b992ad9cd3d607f60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="compiz-bcop protobuf"
+REQUIRES="compiz-bcop protobuf3"
MAINTAINER="M.Dinslage"
EMAIL="daedra1980@gmail.com"
diff --git a/libraries/libconfig/README b/libraries/libconfig/README
index cad1772a5e..dec6ebf5a1 100644
--- a/libraries/libconfig/README
+++ b/libraries/libconfig/README
@@ -1,3 +1,5 @@
+libconfig (library for processing structured configuration files)
+
Libconfig is a simple library for processing structured configuration
files. This file format is more compact and more readable than XML and
unlike XML, it is type-aware, so it is not necessary to do string
@@ -10,12 +12,7 @@ The library includes bindings for both the C and C++ languages. It
works on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X, Solaris,
FreeBSD) and Windows (2000, XP and later).
-To install the library documentation (html and pdf) pass DOC=yes to
-the slackbuild as
+To install the library documentation (HTML and PDF) pass DOC=yes to
+the SlackBuild in the environment, e.g.:
DOC=yes ./libconfig.SlackBuild
-
-To install the example programs and configuration files pass
-EXAMPLES=yes to the slackbuild as
-
- EXAMPLES=yes ./libconfig.SlackBuild
diff --git a/libraries/libconfig/doinst.sh b/libraries/libconfig/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/libraries/libconfig/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/libraries/libconfig/libconfig.SlackBuild b/libraries/libconfig/libconfig.SlackBuild
index f961e8e2dc..4cb4e94962 100644
--- a/libraries/libconfig/libconfig.SlackBuild
+++ b/libraries/libconfig/libconfig.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libconfig
-# Copyright 2017 Manuel Argüelles <manuel.arguelles@gmail.com>
-# Copyright 2017-2018 Jason Graham <jgraha8@gmail.com>
+# Copyright 2017 Manuel Argüelles <email removed>
+# Copyright 2017-2018 Jason Graham <email removed>
+# Copyright 2023 B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231127 bkw:
+# - update for v1.7.3.
+# - take over maintenance.
+# - add doinst.sh and douninst.sh for GNU info file.
+# - remove the EXAMPLE option; the examples are tiny, always include them.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libconfig
-VERSION=${VERSION:-1.7.2}
+VERSION=${VERSION:-1.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,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}
@@ -55,9 +69,6 @@ else
LIBDIRSUFFIX=""
fi
-DOC=${DOC:-no}
-EXAMPLES=${EXAMPLES:-no}
-
set -e
rm -rf $PKG
@@ -67,11 +78,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
autoreconf -if
@@ -90,32 +98,31 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.LIB INSTALL ChangeLog LICENSE README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-if [ "${DOC}" = "yes" ]; then
- make html pdf
- cp -a doc/libconfig.{html,pdf} $PKG/usr/doc/$PRGNAM-$VERSION/
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/examples/{c,c++}
+cp -a AUTHORS COPYING.LIB ChangeLog LICENSE README TODO $PKGDOC
+cp -a examples/c/*.{cfg,c} $PKG/usr/doc/$PRGNAM-$VERSION/examples/c/
+cp -a examples/c++/*.{cfg,cpp} $PKG/usr/doc/$PRGNAM-$VERSION/examples/c++/
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+INCLUDES="does NOT include"
+if [ "${DOC:-no}" = "yes" ]; then
+ make html pdf
+ cp -a doc/libconfig.{html,pdf} $PKGDOC
+ INCLUDES="includes"
fi
-if [ "${EXAMPLES}" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples/{c,c++}
- cp -a examples/c/*.{cfg,c} $PKG/usr/doc/$PRGNAM-$VERSION/examples/c/
- cp -a examples/c++/*.{cfg,cpp} $PKG/usr/doc/$PRGNAM-$VERSION/examples/c++/
-fi
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@INCLUDES@,$INCLUDES," < $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/libraries/libconfig/libconfig.info b/libraries/libconfig/libconfig.info
index 0d6fc59ed0..bff7993ee5 100644
--- a/libraries/libconfig/libconfig.info
+++ b/libraries/libconfig/libconfig.info
@@ -1,10 +1,10 @@
PRGNAM="libconfig"
-VERSION="1.7.2"
+VERSION="1.7.3"
HOMEPAGE="https://github.com/hyperrealm/libconfig"
-DOWNLOAD="https://github.com/hyperrealm/libconfig/archive/v1.7.2/libconfig-1.7.2.tar.gz"
-MD5SUM="d666f0ca093906d34d6e1e4890053e62"
+DOWNLOAD="https://github.com/hyperrealm/libconfig/archive/v1.7.3/libconfig-1.7.3.tar.gz"
+MD5SUM="898fbd4ccac2eb3913a86883ab9b2e6c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Jason Graham"
-EMAIL="jgraha8@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libconfig/remove_scanner.patch.gz b/libraries/libconfig/remove_scanner.patch.gz
deleted file mode 100644
index bceebc69b5..0000000000
--- a/libraries/libconfig/remove_scanner.patch.gz
+++ /dev/null
Binary files differ
diff --git a/libraries/libconfig/slack-desc b/libraries/libconfig/slack-desc
index 21eeb02885..6b2bf1aaf5 100644
--- a/libraries/libconfig/slack-desc
+++ b/libraries/libconfig/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-libconfig: libconfig (Library for processing structured configuration files)
+libconfig: libconfig (library for processing structured configuration files)
libconfig:
libconfig: Libconfig is a simple library for processing structured configuration
libconfig: files. This file format is more compact and more readable than XML
libconfig: and unlike XML, it is type-aware, so it is not necessary to do string
libconfig: parsing in application code. It is very compact and well-suited for
-libconfig: memory-constrained systems like handheld devices.
-libconfig:
-libconfig: The library includes bindings for both the C and C++ languages.
+libconfig: memory-constrained systems like handheld devices. Includes bindings
+libconfig: for both C and C++.
libconfig:
+libconfig: This package @INCLUDES@ the API documentation.
libconfig:
diff --git a/libraries/libcpuid/README b/libraries/libcpuid/README
index 80e031c94c..6184ae2206 100644
--- a/libraries/libcpuid/README
+++ b/libraries/libcpuid/README
@@ -1,13 +1,13 @@
libcpuid (library for x86 CPU detection)
-libcpuid is a small C library for x86 CPU detection and feature extraction.
-Using it, you can:
+libcpuid is a small C library for x86 CPU detection and feature
+extraction. Using it, you can:
* get the processor vendor, model, brand string, code name
* get information about CPU features such as: number of cores or logical
CPUs, cache sizes, CPU clock
-* check if the processor implements a specific instruction set such as SSE2
- or 3DNow!
+* check if the processor implements a specific instruction set such as
+ SSE2 or 3DNow!
* execute the CPUID and RDTSC instructions (portably!)
* and have this all in your commercial application, without getting into
trouble.
diff --git a/libraries/libcpuid/libcpuid.SlackBuild b/libraries/libcpuid/libcpuid.SlackBuild
index e9b12c4503..46c85264ab 100644
--- a/libraries/libcpuid/libcpuid.SlackBuild
+++ b/libraries/libcpuid/libcpuid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcpuid
@@ -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=libcpuid
-VERSION=${VERSION:-0.4.1}
+VERSION=${VERSION:-0.6.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}
@@ -96,8 +106,10 @@ 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
+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/libraries/libcpuid/libcpuid.info b/libraries/libcpuid/libcpuid.info
index 322b1d6c7b..55a61967b6 100644
--- a/libraries/libcpuid/libcpuid.info
+++ b/libraries/libcpuid/libcpuid.info
@@ -1,8 +1,8 @@
PRGNAM="libcpuid"
-VERSION="0.4.1"
+VERSION="0.6.4"
HOMEPAGE="http://libcpuid.sourceforge.net"
-DOWNLOAD="https://github.com/anrieff/libcpuid/archive/v0.4.1/libcpuid-0.4.1.tar.gz"
-MD5SUM="e9ffa7413e14039823ddd7452500ded9"
+DOWNLOAD="https://github.com/anrieff/libcpuid/archive/v0.6.4/libcpuid-0.6.4.tar.gz"
+MD5SUM="dad029ee90ed683ee07bf83a2b32304d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libcreg/README b/libraries/libcreg/README
new file mode 100644
index 0000000000..089989eb0f
--- /dev/null
+++ b/libraries/libcreg/README
@@ -0,0 +1,13 @@
+libcreg (libYAL CREG library)
+
+Library to access the Windows 9x/Me Registry File CREG format
+system format.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libcreg/wiki/Home
diff --git a/libraries/libcreg/libcreg.SlackBuild b/libraries/libcreg/libcreg.SlackBuild
new file mode 100644
index 0000000000..ce3b245cb2
--- /dev/null
+++ b/libraries/libcreg/libcreg.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libcreg
+#
+# Copyright 2016-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Updated for version v20221022 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libcreg
+VERSION=${VERSION:-20221022}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libcreg/libcreg.info b/libraries/libcreg/libcreg.info
new file mode 100644
index 0000000000..2648d4cb09
--- /dev/null
+++ b/libraries/libcreg/libcreg.info
@@ -0,0 +1,10 @@
+PRGNAM="libcreg"
+VERSION="20221022"
+HOMEPAGE="https://github.com/libyal/libcreg"
+DOWNLOAD="https://linuxleo.com/Source/libcreg-experimental-20221022.tar.gz"
+MD5SUM="e9ec7a7981a7bb9f0295bcab5c2683fb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libcreg/slack-desc b/libraries/libcreg/slack-desc
new file mode 100644
index 0000000000..3da25dbee6
--- /dev/null
+++ b/libraries/libcreg/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------------------------------------------------------|
+libcreg: libcreg (libYAL CREG library)
+libcreg:
+libcreg: Library to access the Windows 9x/Me Registry File CREG format.
+libcreg:
+libcreg:
+libcreg: Homepage: https://github.com/libyal/libcreg
+libcreg:
+libcreg:
+libcreg:
+libcreg:
+libcreg:
diff --git a/libraries/libcryptui/doinst.sh b/libraries/libcryptui/doinst.sh
new file mode 100644
index 0000000000..6922dbb756
--- /dev/null
+++ b/libraries/libcryptui/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/libcryptui/libcryptui.SlackBuild b/libraries/libcryptui/libcryptui.SlackBuild
index cdeada12b7..a09faec62b 100644
--- a/libraries/libcryptui/libcryptui.SlackBuild
+++ b/libraries/libcryptui/libcryptui.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libcryptui
# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
@@ -21,26 +21,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add doinst.sh, because we need a glib-compile-schemas at install time.
+# - resize 2 of the icons to match the directory names.
+# Note to maintainer: I think the icons may belong in /usr/share/icons,
+# you might want to check into this.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libcryptui
VERSION=${VERSION:-3.12.2}
-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"
@@ -61,14 +74,14 @@ 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.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 \
+ -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" \
@@ -84,20 +97,25 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/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
+# 20220418 bkw: a couple of the icons are slightly the wrong size.
+for i in bad ok; do
+ icon=$PKG/usr/share/pixmaps/cryptui/22x22/seahorse-sign-$i.png
+ convert -background none -extent 22x22 -gravity center $icon new.png
+ mv new.png $icon
+done
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
+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/libraries/libcsv/Makefile.patch b/libraries/libcsv/Makefile.patch
deleted file mode 100644
index bb2aedbd13..0000000000
--- a/libraries/libcsv/Makefile.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -Nur libcsv-3.0.0.orig//Makefile libcsv-3.0.0/Makefile
---- libcsv-3.0.0.orig//Makefile 2008-07-26 20:48:28.000000000 -0500
-+++ libcsv-3.0.0/Makefile 2010-05-11 00:01:39.900783556 -0500
-@@ -17,6 +17,7 @@
- install_static: install_headers install_static_lib
-
- install_man: csv.3.gz
-+ mkdir -p $(DESTDIR)$(MANDIR)/
- cp -f $^ $(DESTDIR)$(MANDIR)/
-
- install_headers: csv.h
-@@ -24,11 +25,13 @@
- cp -f $^ $(DESTDIR)$(INCDIR)/libcsv/
-
- install_shared_lib: libcsv.so
-+ mkdir -p $(DESTDIR)$(LIBDIR)
- cp -f $< $(DESTDIR)$(LIBDIR)/$<.$(VERSION)
- ln -sf $<.$(VERSION) $(DESTDIR)$(LIBDIR)/$<.3
- ln -sf $<.3 $(DESTDIR)$(LIBDIR)/$<
-
- install_static_lib: libcsv.a
-+ mkdir -p $(DESTDIR)$(LIBDIR)
- cp -f $< $(DESTDIR)$(LIBDIR)/$<
-
- libcsv.o: libcsv.c csv.h
diff --git a/libraries/libcsv/README b/libraries/libcsv/README
index 3807591eab..5aa5a05aeb 100644
--- a/libraries/libcsv/README
+++ b/libraries/libcsv/README
@@ -1,4 +1,11 @@
-libcsv is a small, simple and fast CSV library written in pure ANSI C89 that
-can read and write CSV data. It provides a straight-forward interface using
-callback functions to handle parsed fields and rows and can parse improperly
-formatted CSV files.
+libcsv (library to read/write comma-separated-value data)
+
+libcsv is a small, simple and fast CSV library written in pure ANSI
+C89 that can read and write CSV[*] data. It provides a straightforward
+interface using callback functions to handle fields and rows, and can
+parse improperly formatted CSV files.
+
+[*] libcsv is capable of using any delimter, not just commas.
+
+For command-line tools that use this library to manipulate CSV files,
+see system/csvutils.
diff --git a/libraries/libcsv/git2tarxz.sh b/libraries/libcsv/git2tarxz.sh
new file mode 100644
index 0000000000..fe2851eff9
--- /dev/null
+++ b/libraries/libcsv/git2tarxz.sh
@@ -0,0 +1,48 @@
+#!/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=libcsv
+CLONE_URL=https://github.com/rgamble/libcsv
+
+# upstream doesn't use tags. libcsv was moved to github after
+# this release.
+OLDVER=3.0.3
+
+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=$OLDVER+${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/libraries/libcsv/libcsv.SlackBuild b/libraries/libcsv/libcsv.SlackBuild
index 6dc1cb713e..fadbdaabf3 100644
--- a/libraries/libcsv/libcsv.SlackBuild
+++ b/libraries/libcsv/libcsv.SlackBuild
@@ -1,47 +1,54 @@
-#!/bin/sh
-
-# Copyright 2008, 2009, 2010 Tarantino Antonino, Palermo, 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.
+#!/bin/bash
+
+# Originally written by Tarantino Antonino.
+# Modified and now maintained by B. Watson <urchlay@slackware.uk>
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# This project used to live on sourceforge, where it hadn't been
+# updated in years. However the author moved to github, and started
+# maintaining it there... there hasn't been a new release yet, but
+# there have been some bugfixes that are worth having.
+
+# 20220412 bkw: BUILD=2
+# - add SlackBuild to doc dir.
+
+# 20220126 bkw:
+# - take over maintenance.
+# - relicense as WTFPL, with permission from Tarantino.
+# - update for v3.0.3 + latest git.
+# - rework script for autotools.
+# - don't install INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libcsv
-VERSION=${VERSION:-"3.0.0"}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-"3.0.3+20210820_b1d5212"}
+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 ;;
*) 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" = "s390" ]; then
- SLKCFLAGS="-O2"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
@@ -51,44 +58,43 @@ 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.?z* || exit 1
-cd $PRGNAM-$VERSION || exit 1
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Make sure the Makefile creates all needed directories before installing
-patch -p1 < $CWD/Makefile.patch
-
-make \
- CC="gcc $SLKCFLAGS" \
- LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- MANDIR=/usr/man/man3
-
-make install \
- CC="gcc $SLKCFLAGS" \
- LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- MANDIR=/usr/man/man3 \
- 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 \
- Changelog FAQ INSTALL LICENSE README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+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 \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+gzip -9 $PKG/usr/man/man*/*
+
+# don't bother with csv.pdf: it's just the man page.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a examples COPYING* ChangeLog FAQ README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libcsv/libcsv.info b/libraries/libcsv/libcsv.info
index 252aa8056d..664a755f96 100644
--- a/libraries/libcsv/libcsv.info
+++ b/libraries/libcsv/libcsv.info
@@ -1,10 +1,10 @@
PRGNAM="libcsv"
-VERSION="3.0.0"
-HOMEPAGE="https://sourceforge.net/projects/libcsv/"
-DOWNLOAD="https://downloads.sourceforge.net/libcsv/libcsv-3.0.0.tar.gz"
-MD5SUM="04ade4e8198c920c7e7857c47e24b818"
+VERSION="3.0.3+20210820_b1d5212"
+HOMEPAGE="https://github.com/rgamble/libcsv"
+DOWNLOAD="https://slackware.uk/~urchlay/src/libcsv-3.0.3+20210820_b1d5212.tar.xz"
+MD5SUM="773f34c4fd7976791dc6cdb8f9f0d4a5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Tarantino Antonino"
-EMAIL="metrofox9@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libcsv/slack-desc b/libraries/libcsv/slack-desc
index 3d161cf305..04a1f0bdfa 100644
--- a/libraries/libcsv/slack-desc
+++ b/libraries/libcsv/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-libcsv: libcsv (CSV's Library)
+libcsv: libcsv (library to read/write comma-separated-value data)
+libcsv:
+libcsv: libcsv is a small, simple and fast CSV library written in pure ANSI
+libcsv: C89 that can read and write CSV data. It provides a straightforward
+libcsv: interface using callback functions to handle fields and rows, and can
+libcsv: parse improperly formatted CSV files.
libcsv:
-libcsv: libcsv is a small, simple and fast CSV library written in pure
-libcsv: ANSI C89 that can read and write CSV data. It provides a
-libcsv: straight-forward interface using callback functions to handle
-libcsv: fields and rows and can parse improperly formatted CSV files.
libcsv:
libcsv:
libcsv:
-libcsv: Homepage: http://sourceforge.net/projects/libcsv/
libcsv:
diff --git a/libraries/libctl/README b/libraries/libctl/README
index 4b02fd4e28..4ab50fcea0 100644
--- a/libraries/libctl/README
+++ b/libraries/libctl/README
@@ -1,5 +1,23 @@
-libctl is a Guile (http://www.gnu.org/software/guile/)
-based library for supporting flexible control in
-files in scientific simulations. It is used by the
-scheme-based interface to the electromagnetic
+libctl (flexible control of scientific simulations)
+
+libctl is a Guile (http://www.gnu.org/software/guile/) based library
+for supporting flexible control in files in scientific simulations.
+It is used by the scheme-based interface to the electromagnetic
simulation software programs MPB and MEEP.
+
+Configuration:
+
+The configure options "enable-shared" and "disable-static" are built
+into this slackbuild script. You can add additional options to the
+command line using the environment variable SBOPTIONS_LIBCTL; e.g. to
+install to a chosen location use e.g.:
+
+SBOPTIONS_LIBCTL="--prefix=/usr/local" ./libctl.Slackbuild
+
+Alternatively, if building non-interactively (e.g. if using slpkg),
+use/create the file /etc/sbo_pkg_options.conf since this slackbuild
+script will search it for options instead of using SBOPTIONS_LIBCTL.
+Simply include a line starting "libctl:" followed by options, e.g.:
+
+libctl: --prefix=/usr/local
+
diff --git a/libraries/libctl/libctl.SlackBuild b/libraries/libctl/libctl.SlackBuild
index 9169f4aca1..6043ec01b7 100644
--- a/libraries/libctl/libctl.SlackBuild
+++ b/libraries/libctl/libctl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libctl
@@ -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=libctl
-VERSION=${VERSION:-4.4.0}
+VERSION=${VERSION:-4.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}
@@ -54,13 +64,13 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
# change annoying underscores into hyphens
SVERSION=$(echo $VERSION | tr '_' '-')
# make a custom list of doc files in advance
DOCFILES="AUTHORS COPYING COPYRIGHT NEWS.md README.md doc/docs/*.md "
-set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -74,7 +84,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 {} \;
+
LOCALCONFIGS="--enable-shared"
+XDBFILE=/etc/sbo_pkg_options.conf
+if [ -f ${XDBFILE} ] ; then
+ LOCALCONFIGS=${LOCALCONFIGS}" "$(grep "^${PRGNAM}:" ${XDBFILE} | grep -v '^#' | awk -F: '{print$2}')
+ echo Build options selected by file: LOCALCONFIGS=${LOCALCONFIGS}
+fi
+if [ -n "${SBOPTIONS_LIBCTL}" ] ; then
+ LOCALCONFIGS=${LOCALCONFIGS}" "${SBOPTIONS_LIBCTL}
+ echo Build options selected by environment: LOCALCONFIGS=${LOCALCONFIGS}
+fi
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
@@ -100,8 +120,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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*/*.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/libraries/libctl/libctl.info b/libraries/libctl/libctl.info
index bc3b1e4ae5..bf29fa5e2e 100644
--- a/libraries/libctl/libctl.info
+++ b/libraries/libctl/libctl.info
@@ -1,8 +1,8 @@
PRGNAM="libctl"
-VERSION="4.4.0"
+VERSION="4.5.1"
HOMEPAGE="https://github.com/NanoComp/libctl"
-DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.4.0/libctl-4.4.0.tar.gz"
-MD5SUM="948a818ddd6dfb8256dcdc1e9fa1dc1e"
+DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.5.1/libctl-4.5.1.tar.gz"
+MD5SUM="9671363c5a9eb4e0aebf5b140acd486d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libcue/README b/libraries/libcue/README
deleted file mode 100644
index 1284d6e548..0000000000
--- a/libraries/libcue/README
+++ /dev/null
@@ -1 +0,0 @@
-This is the CUE Sheet Parser Library project ("libcue").
diff --git a/libraries/libcue/libcue.SlackBuild b/libraries/libcue/libcue.SlackBuild
deleted file mode 100644
index cdc656418d..0000000000
--- a/libraries/libcue/libcue.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for libcue
-#
-# Copyright 2010-2015 Erik W. Hanson, Minneapolis, 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=libcue
-VERSION=${VERSION:-1.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 -eu
-
-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 \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-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/libraries/libcue/libcue.info b/libraries/libcue/libcue.info
deleted file mode 100644
index 12dc15bbf6..0000000000
--- a/libraries/libcue/libcue.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libcue"
-VERSION="1.4.0"
-HOMEPAGE="https://github.com/lipnitsk/libcue"
-DOWNLOAD="https://github.com/lipnitsk/libcue/releases/download/v1.4.0/libcue-1.4.0.tar.bz2"
-MD5SUM="5f5045f00e6ac92d9a057fe5b0982c69"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
diff --git a/libraries/libcue/slack-desc b/libraries/libcue/slack-desc
deleted file mode 100644
index 8f3c749094..0000000000
--- a/libraries/libcue/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------------------------------------------------------|
-libcue: libcue (CUE Sheet Parser Library)
-libcue:
-libcue: This is the CUE Sheet Parser Library project ("libcue")
-libcue:
-libcue:
-libcue:
-libcue:
-libcue:
-libcue:
-libcue:
-libcue:
diff --git a/libraries/libcuefile/libcuefile.SlackBuild b/libraries/libcuefile/libcuefile.SlackBuild
index 4111753fbb..eded3fa9d8 100644
--- a/libraries/libcuefile/libcuefile.SlackBuild
+++ b/libraries/libcuefile/libcuefile.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for libreplaygain
+# Slackware build script for libcuefile
# Written by Šime Ramov <s@ramov.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libcuefile
VERSION=${VERSION:-r475}
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"
@@ -45,10 +55,10 @@ 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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 {} \;
# adding missing include files to CMakeLists.txt
echo 'INSTALL(FILES ${libcuefile_SOURCE_DIR}/include/cuetools/cuefile.h ${libcuefile_SOURCE_DIR}/include/cuetools/cd.h ${libcuefile_SOURCE_DIR}/include/cuetools/cdtext.h DESTINATION include/cuetools)' >> src/CMakeLists.txt
@@ -59,12 +69,12 @@ cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX}
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} .
make
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -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/libraries/libcurl-gnutls/README b/libraries/libcurl-gnutls/README
new file mode 100644
index 0000000000..d4a5ef43e2
--- /dev/null
+++ b/libraries/libcurl-gnutls/README
@@ -0,0 +1,5 @@
+libcurl-gnutls (An URL retrieval library linked against gnutls)
+
+An URL retrieval library (linked against gnutls)
+
+
diff --git a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild
new file mode 100644
index 0000000000..f803491e73
--- /dev/null
+++ b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild
@@ -0,0 +1,140 @@
+#!/bin/bash
+#
+# Slackware build script for libcurl-gnutls
+#
+# Copyright 2020-2022 Corrado Franco (https://corradofranco.it)
+# Copyright 2022 marav Paris, France
+# Copyright 2023-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# All rights reserved.
+#
+# 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/>.
+#
+
+# 20230515 bkw: Modified by SlackBuilds.org. Align with template, and
+# s/PKGNAM/SRCNAM/g (sorry, PRGNAM and PKGNAM look too similar in too
+# many fonts).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libcurl-gnutls
+SRCNAM=curl
+VERSION=${VERSION:-8.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ -z ${ARCH:=""} ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i686 ;;
+ 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
+
+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 -pipe -fomit-frame-pointer"
+ 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
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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 {} \;
+
+LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \
+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 \
+ --enable-shared=yes \
+ --disable-manual \
+ --without-libssh2 \
+ --without-gssapi \
+ --without-ca-bundle \
+ --with-ca-path=/etc/ssl/certs \
+ --with-gnutls="/usr" \
+ --host=$ARCH-slackware-linux \
+ --build=$ARCH-slackware-linux
+
+make -C lib
+make -C lib DESTDIR=$PKG install
+
+# don't break if $PKG contains a full stop.
+CURLLIB=$(echo $PKG/usr/lib$LIBDIRSUFFIX/libcurl.so.4.?.? | rev | cut -d/ -f1 | rev | cut -d. -f3-)
+
+mv ${PKG}/usr/lib${LIBDIRSUFFIX}/libcurl{,-gnutls}.so.$CURLLIB
+rm ${PKG}/usr/lib${LIBDIRSUFFIX}/libcurl.so*
+for VERSIONLIB in 3 4 4.0.0 4.1.0 4.2.0 4.3.0 4.4.0 4.5.0 4.6.0; do
+ ln -s libcurl-gnutls.so.$CURLLIB $PKG/usr/lib${LIBDIRSUFFIX}/libcurl-gnutls.so.${VERSIONLIB}
+done
+
+# Don't ship .la files:
+rm -fv $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs -r strip --strip-unneeded 2> /dev/null || true
+find $PKG | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs -r strip -g 2> /dev/null || true
+
+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/libraries/libcurl-gnutls/libcurl-gnutls.info b/libraries/libcurl-gnutls/libcurl-gnutls.info
new file mode 100644
index 0000000000..d7220759ce
--- /dev/null
+++ b/libraries/libcurl-gnutls/libcurl-gnutls.info
@@ -0,0 +1,10 @@
+PRGNAM="libcurl-gnutls"
+VERSION="8.6.0"
+HOMEPAGE="https://curl.haxx.se"
+DOWNLOAD="https://curl.se/download/curl-8.6.0.tar.xz"
+MD5SUM="8f28f7e08c91cc679a45fccf66184fbc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/libraries/libcurl-gnutls/slack-desc b/libraries/libcurl-gnutls/slack-desc
new file mode 100644
index 0000000000..9402edfe8b
--- /dev/null
+++ b/libraries/libcurl-gnutls/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------------------------------------------------------|
+libcurl-gnutls: libcurl-gnutls (An URL retrieval library linked against gnutls)
+libcurl-gnutls:
+libcurl-gnutls: An URL retrieval library (linked against gnutls)
+libcurl-gnutls:
+libcurl-gnutls:
+libcurl-gnutls:
+libcurl-gnutls:
+libcurl-gnutls:
+libcurl-gnutls:
+libcurl-gnutls:
+libcurl-gnutls:
diff --git a/libraries/libcutefish/01-outputmodel.patch b/libraries/libcutefish/01-outputmodel.patch
new file mode 100644
index 0000000000..c6d97fe163
--- /dev/null
+++ b/libraries/libcutefish/01-outputmodel.patch
@@ -0,0 +1,21 @@
+diff -u3 libcutefish-0.7/screen/outputmodel.cpp libcutefish-0.7-patched/screen/outputmodel.cpp
+--- libcutefish-0.7/screen/outputmodel.cpp 2021-12-27 14:50:55.000000000 -0300
++++ libcutefish-0.7-patched/screen/outputmodel.cpp 2022-09-17 02:50:59.687552439 -0300
+@@ -603,7 +603,7 @@
+ return false;
+ }
+ m_config->setReplicationSource(output.ptr, nullptr);
+- output.ptr->setLogicalSize(QSizeF());
++ output.ptr->setExplicitLogicalSize(QSizeF());
+ resetPosition(output);
+ } else {
+ const auto source = m_outputs[sourceIndex].ptr;
+@@ -614,7 +614,7 @@
+ m_config->setReplicationSource(output.ptr, source);
+ output.posReset = output.ptr->pos();
+ output.ptr->setPos(source->pos());
+- output.ptr->setLogicalSize(source->logicalSize());
++ output.ptr->setExplicitLogicalSize(source->explicitLogicalSize());
+ }
+
+ reposition();
diff --git a/libraries/libcutefish/README b/libraries/libcutefish/README
new file mode 100644
index 0000000000..49912033a9
--- /dev/null
+++ b/libraries/libcutefish/README
@@ -0,0 +1 @@
+System library for Cutefish applications
diff --git a/libraries/libcutefish/libcutefish.SlackBuild b/libraries/libcutefish/libcutefish.SlackBuild
new file mode 100644
index 0000000000..54d495c94d
--- /dev/null
+++ b/libraries/libcutefish/libcutefish.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for libcutefish
+
+# 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=libcutefish
+VERSION=${VERSION:-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"
+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 {} \;
+
+cat $CWD/01-outputmodel.patch | patch -p1
+
+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 ..
+
+gzip -9 LICENSE
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.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/libraries/libcutefish/libcutefish.info b/libraries/libcutefish/libcutefish.info
new file mode 100644
index 0000000000..407e2f35e8
--- /dev/null
+++ b/libraries/libcutefish/libcutefish.info
@@ -0,0 +1,10 @@
+PRGNAM="libcutefish"
+VERSION="0.7"
+HOMEPAGE="https://github.com/cutefishos/libcutefish"
+DOWNLOAD="https://github.com/cutefishos/libcutefish/archive/0.7/libcutefish-0.7.tar.gz"
+MD5SUM="d88f59c8fe1e6e54d64eb5096c59df4a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/libcutefish/slack-desc b/libraries/libcutefish/slack-desc
new file mode 100644
index 0000000000..5b77e2c776
--- /dev/null
+++ b/libraries/libcutefish/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------------------------------------------------------|
+libcutefish: libcutefish (System libraries for Cutefish applications)
+libcutefish:
+libcutefish: System libraries for Cutefish applications
+libcutefish: https://github.com/cutefishos/libcutefish
+libcutefish:
+libcutefish:
+libcutefish:
+libcutefish:
+libcutefish:
+libcutefish:
+libcutefish:
diff --git a/libraries/libdaemon/libdaemon.SlackBuild b/libraries/libdaemon/libdaemon.SlackBuild
index da3dedaaa2..777a3395d6 100644
--- a/libraries/libdaemon/libdaemon.SlackBuild
+++ b/libraries/libdaemon/libdaemon.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2007 by ktabic (rdc@ktabic.co.uk)
# Copyright 2010 by Niels Horn <niels.horn@gmail.com>
@@ -23,26 +23,36 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdaemon
VERSION=${VERSION:-0.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"
@@ -84,6 +94,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -97,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/libraries/libdart/libdart.SlackBuild b/libraries/libdart/libdart.SlackBuild
index 137081da8c..eaa3d937d4 100644
--- a/libraries/libdart/libdart.SlackBuild
+++ b/libraries/libdart/libdart.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdart (Dynamic Animation and Robotics Toolkit)
@@ -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=libdart
SRCNAM=dart
VERSION=${VERSION:-6.2.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}
@@ -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/libraries/libdart/libdart.info b/libraries/libdart/libdart.info
index 00cbd5d813..e35f645049 100644
--- a/libraries/libdart/libdart.info
+++ b/libraries/libdart/libdart.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/dartsim/dart/archive/v6.2.0/dart-6.2.0.tar.gz"
MD5SUM="952636ef8794fe8f867a81546a864d6b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="assimp libccd fcl OpenSceneGraph ode"
+REQUIRES="assimp fcl OpenSceneGraph ode"
MAINTAINER="Nikolay Nikolov"
EMAIL="nikobnikolov[at]gmail[dot]com"
diff --git a/libraries/libdatrie/libdatrie.SlackBuild b/libraries/libdatrie/libdatrie.SlackBuild
index adeb0471a3..aad62392f7 100644
--- a/libraries/libdatrie/libdatrie.SlackBuild
+++ b/libraries/libdatrie/libdatrie.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdatrie
@@ -22,10 +22,16 @@
# 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=3:
+# - move HTML API docs to correct Slackware doc location.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdatrie
VERSION=${VERSION:-0.2.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,19 +92,22 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv $PKG/usr/share/doc/datrie/html $PKGDOC || true
+rm -rf $PKG/usr/share
+cp -a AUTHORS COPYING ChangeLog NEWS README* $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdatrie/libdatrie.info b/libraries/libdatrie/libdatrie.info
index 4ef79eac20..9dc03731de 100644
--- a/libraries/libdatrie/libdatrie.info
+++ b/libraries/libdatrie/libdatrie.info
@@ -1,7 +1,7 @@
PRGNAM="libdatrie"
VERSION="0.2.11"
HOMEPAGE="https://linux.thai.net/~thep/datrie/datrie.html"
-DOWNLOAD="ftp://linux.thai.net/pub/ThaiLinux/software/libthai/libdatrie-0.2.11.tar.xz"
+DOWNLOAD="https://linux.thai.net/pub/ThaiLinux/software/libthai/libdatrie-0.2.11.tar.xz"
MD5SUM="486a3a9cda1265ddedbea61fe5c7f3cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libdazzle/README b/libraries/libdazzle/README
new file mode 100644
index 0000000000..bb97284005
--- /dev/null
+++ b/libraries/libdazzle/README
@@ -0,0 +1 @@
+The libdazzle library is a companion library to GObject and Gtk+.
diff --git a/libraries/libdazzle/libdazzle.SlackBuild b/libraries/libdazzle/libdazzle.SlackBuild
new file mode 100644
index 0000000000..0392be31a1
--- /dev/null
+++ b/libraries/libdazzle/libdazzle.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libdazzle
+
+# 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=libdazzle
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+ "${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 CONTRIBUTING.md 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/libraries/libdazzle/libdazzle.info b/libraries/libdazzle/libdazzle.info
new file mode 100644
index 0000000000..6ce692250b
--- /dev/null
+++ b/libraries/libdazzle/libdazzle.info
@@ -0,0 +1,10 @@
+PRGNAM="libdazzle"
+VERSION="3.44.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libdazzle/"
+DOWNLOAD="https://download.gnome.org/sources/libdazzle/3.44/libdazzle-3.44.0.tar.xz"
+MD5SUM="203815dd90239ff732c19fc700417c74"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/libdazzle/slack-desc b/libraries/libdazzle/slack-desc
new file mode 100644
index 0000000000..d0aef753b7
--- /dev/null
+++ b/libraries/libdazzle/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------------------------------------------------------|
+libdazzle: libdazzle (Dazzle Library)
+libdazzle:
+libdazzle: The libdazzle library is a companion library to GObject and Gtk+.
+libdazzle:
+libdazzle:
+libdazzle:
+libdazzle:
+libdazzle:
+libdazzle:
+libdazzle: https://gitlab.gnome.org/GNOME/libdazzle/
+libdazzle:
diff --git a/libraries/libdbh2/README b/libraries/libdbh2/README
index b20f7fc9ae..f94b281ec8 100644
--- a/libraries/libdbh2/README
+++ b/libraries/libdbh2/README
@@ -1 +1,2 @@
-Libdbh2 is a small library to create and manage 64-bit disk based hash tables.
+Libdbh2 is a small library to create and manage 64-bit disk based hash
+tables.
diff --git a/libraries/libdbh2/libdbh2.SlackBuild b/libraries/libdbh2/libdbh2.SlackBuild
index c228419548..b974a190cd 100644
--- a/libraries/libdbh2/libdbh2.SlackBuild
+++ b/libraries/libdbh2/libdbh2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdbh2
@@ -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=libdbh2
VERSION=${VERSION:-5.0.19}
-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"
@@ -93,8 +103,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING 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/libraries/libdbi-drivers/README b/libraries/libdbi-drivers/README
index e4a1b41c6a..1693b1baac 100644
--- a/libraries/libdbi-drivers/README
+++ b/libraries/libdbi-drivers/README
@@ -2,7 +2,7 @@ The libdbi-drivers project maintains drivers for the libdbi database
abstraction layer written in C. Drivers are distributed separately
from the library itself.
-This includes the drivers for mysql and sqlite by default.
+This includes the drivers for mysql and sqlite by default.
If the optional dependecy postgresql is installed and the
PGSQL="true" variable is set, then driver for it will be built
as well.
diff --git a/libraries/libdbi-drivers/libdbi-drivers.SlackBuild b/libraries/libdbi-drivers/libdbi-drivers.SlackBuild
index 0c9bbc57c6..f70cf7238f 100644
--- a/libraries/libdbi-drivers/libdbi-drivers.SlackBuild
+++ b/libraries/libdbi-drivers/libdbi-drivers.SlackBuild
@@ -1,25 +1,36 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdbi-drivers
# Written by Michal Bialozor <bialyy@o2.pl>
# Modified by Vincent Batts, vbatts@hashbangbash.com, http://hashbangbash.com/
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix doc permissions.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdbi-drivers
VERSION=${VERSION:-0.9.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(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 [ ! -z "${PRINT_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,8 +38,8 @@ OUTPUT=${OUTPUT:-/tmp}
PGSQL=${PGSQL:-false}
OPT_ARGS=""
-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 +53,7 @@ else
fi
if [ "$PGSQL" = "true" ] ; then
- OPT_ARGS=" --with-pgsql --with-pgsql-dir=/usr/lib${LIBDIRSUFFIX}/pgsql "
+ OPT_ARGS=" --with-pgsql"
fi
set -e
@@ -56,9 +67,9 @@ cd $PRGNAM-$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 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,13 +91,15 @@ make docdir=/usr/doc/$PRGNAM-$VERSION
make docdir=/usr/doc/$PRGNAM-$VERSION install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
+install -m0644 \
AUTHORS ChangeLog COPYING README* NEWS 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/libraries/libdbi/libdbi.SlackBuild b/libraries/libdbi/libdbi.SlackBuild
index 49790439a4..644f008a24 100644
--- a/libraries/libdbi/libdbi.SlackBuild
+++ b/libraries/libdbi/libdbi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdbi
@@ -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=libdbi
VERSION=${VERSION:-0.9.0}
-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"
@@ -88,8 +98,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdbus-c++/gcc47.patch b/libraries/libdbus-c++/gcc47.patch
deleted file mode 100644
index 6a82773006..0000000000
--- a/libraries/libdbus-c++/gcc47.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/eventloop-integration.cpp.orig 2012-05-09 11:22:09.683290763 +0200
-+++ src/eventloop-integration.cpp 2012-05-09 11:22:44.313288912 +0200
-@@ -38,6 +38,7 @@
- #include <cassert>
- #include <sys/poll.h>
- #include <fcntl.h>
-+#include <unistd.h>
-
- using namespace DBus;
- using namespace std;
diff --git a/libraries/libdbus-c++/libdbus-c++.SlackBuild b/libraries/libdbus-c++/libdbus-c++.SlackBuild
index 3df02abcb3..76397a87bf 100644
--- a/libraries/libdbus-c++/libdbus-c++.SlackBuild
+++ b/libraries/libdbus-c++/libdbus-c++.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdbus-c++
-# Copyright 2013-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2013-2021 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.
+
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty/useless doc files.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libdbus-c++
-VERSION=${VERSION:-0.9.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20160924_e3455d2}
+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"
@@ -60,22 +70,20 @@ 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 . \
\( -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 compiling with newer gcc versions
-patch -p0 -i $CWD/gcc47.patch
+# Apply some patches (thanks opensuse!)
+for i in $CWD/patches/*.patch ; do patch -p0 < $i ; done
-# Fix https://sourceforge.net/p/dbus-cplusplus/bugs/5/
-patch -p1 -i $CWD/nested_variant_map.patch
+./bootstrap
-LDFLAGS="-lpthread" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -92,8 +100,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
+cp -a AUTHORS COPYING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -101,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/libraries/libdbus-c++/libdbus-c++.info b/libraries/libdbus-c++/libdbus-c++.info
index df6ec8de77..1c21c93e3c 100644
--- a/libraries/libdbus-c++/libdbus-c++.info
+++ b/libraries/libdbus-c++/libdbus-c++.info
@@ -1,10 +1,10 @@
PRGNAM="libdbus-c++"
-VERSION="0.9.0"
+VERSION="20160924_e3455d2"
HOMEPAGE="http://dbus-cplusplus.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/dbus-cplusplus/libdbus-c++-0.9.0.tar.gz"
-MD5SUM="e752116f523fa88ef041e63d3dee4de2"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/libdbus-c++-20160924_e3455d2.tar.xz"
+MD5SUM="f6aa26e23d73fa0f02d03e68932f8be7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libdbus-c++/nested_variant_map.patch b/libraries/libdbus-c++/nested_variant_map.patch
deleted file mode 100644
index 8b41ed3a3a..0000000000
--- a/libraries/libdbus-c++/nested_variant_map.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libdbus-c++-0.9.0/src/message.cpp 2016-02-20 12:15:52.069704535 +0100
-+++ libdbus-c++-0.9.0-patch/src/message.cpp 2016-02-20 12:31:34.159854472 +0100
-@@ -347,6 +347,7 @@
- (
- (DBusMessageIter *) & (to._iter),
- from.type(),
-- from.type() == DBUS_TYPE_VARIANT ? NULL : sig,
-+ from.type() == DBUS_TYPE_DICT_ENTRY ||
-+ from.type() == DBUS_TYPE_STRUCT ? NULL : sig,
- (DBusMessageIter *) & (to_container._iter)
- );
diff --git a/libraries/libdbus-c++/patches/libdbus-c++-gcc7.patch b/libraries/libdbus-c++/patches/libdbus-c++-gcc7.patch
new file mode 100644
index 0000000000..42efd3ab8a
--- /dev/null
+++ b/libraries/libdbus-c++/patches/libdbus-c++-gcc7.patch
@@ -0,0 +1,11 @@
+Index: src/pipe.cpp
+===================================================================
+--- src/pipe.cpp.orig 2011-11-30 00:16:31.000000000 +0200
++++ src/pipe.cpp 2017-03-27 10:34:55.261175583 +0200
+@@ -83,5 +83,5 @@ ssize_t Pipe::read(void *buffer, unsigne
+ void Pipe::signal()
+ {
+ // TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work...
+- ::write(_fd_write, '\0', 1);
++ ::write(_fd_write, 0, 1);
+ }
diff --git a/libraries/libdbus-c++/patches/libdbus-c++-glibmm-2.43.patch b/libraries/libdbus-c++/patches/libdbus-c++-glibmm-2.43.patch
new file mode 100644
index 0000000000..56bce80d17
--- /dev/null
+++ b/libraries/libdbus-c++/patches/libdbus-c++-glibmm-2.43.patch
@@ -0,0 +1,13 @@
+--- examples/glib/dbus-browser.h.orig 2016-09-24 11:03:56.000000000 +0200
++++ examples/glib/dbus-browser.h 2017-06-21 14:58:48.350046047 +0200
+@@ -1,9 +1,9 @@
+ #ifndef __DEMO_DBUS_BROWSER_H
+ #define __DEMO_DBUS_BROWSER_H
+
++#include <gtkmm.h>
+ #include <dbus-c++/dbus.h>
+ #include <dbus-c++/glib-integration.h>
+-#include <gtkmm.h>
+
+ #include "dbus-glue.h"
+
diff --git a/libraries/libdbus-c++/patches/libdbus-c++-nodocdatetime.patch b/libraries/libdbus-c++/patches/libdbus-c++-nodocdatetime.patch
new file mode 100644
index 0000000000..68684c8add
--- /dev/null
+++ b/libraries/libdbus-c++/patches/libdbus-c++-nodocdatetime.patch
@@ -0,0 +1,25 @@
+Index: doc/foot.html
+===================================================================
+--- doc/foot.html.orig 2016-09-24 11:03:56.000000000 +0200
++++ doc/foot.html 2017-04-10 15:51:55.951931300 +0200
+@@ -10,7 +10,6 @@
+ <table><tr>
+ <td></td>
+ <td class="copyright">Copyright &copy;$year DBus-C++ Project</td>
+- <td class="generated">Docs generated $datetime</td>
+ </tr></table>
+ </div>
+
+Index: doc/Doxyfile.in
+===================================================================
+--- doc/Doxyfile.in.orig 2016-09-24 11:03:56.000000000 +0200
++++ doc/Doxyfile.in 2017-04-10 15:54:18.748279756 +0200
+@@ -836,7 +836,7 @@ HTML_STYLESHEET = @srcdir@/dbus-c
+ # 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.
+
+-HTML_TIMESTAMP = YES
++HTML_TIMESTAMP = NO
+
+ # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
+ # files or namespaces will be aligned in HTML using tables. If set to
diff --git a/libraries/libdbus-c++/patches/libdbus-c++-noreturn.patch b/libraries/libdbus-c++/patches/libdbus-c++-noreturn.patch
new file mode 100644
index 0000000000..b87abf331f
--- /dev/null
+++ b/libraries/libdbus-c++/patches/libdbus-c++-noreturn.patch
@@ -0,0 +1,21 @@
+Index: include/dbus-c++/util.h
+===================================================================
+--- include/dbus-c++/util.h.orig 2011-11-28 17:03:19.000000000 +0200
++++ include/dbus-c++/util.h 2012-03-11 13:21:18.851849466 +0200
+@@ -243,6 +243,7 @@ public:
+ // TODO: think about return type in this case
+ // this assert should help me to find the use case where it's needed...
+ //assert (false);
++ return _cb->call(param);
+ }
+
+ R call(P param) const
+@@ -255,6 +256,8 @@ public:
+ // TODO: think about return type in this case
+ // this assert should help me to find the use case where it's needed...
+ //assert (false);
++ return _cb->call(param);
++
+ }
+
+ bool empty() const
diff --git a/libraries/libdbus-c++/patches/libdbus-c++-pthread.patch b/libraries/libdbus-c++/patches/libdbus-c++-pthread.patch
new file mode 100644
index 0000000000..38b3878ac2
--- /dev/null
+++ b/libraries/libdbus-c++/patches/libdbus-c++-pthread.patch
@@ -0,0 +1,11 @@
+Index: dbus-c++-1.pc.in
+===================================================================
+--- dbus-c++-1.pc.in.orig 2011-11-28 22:52:01.000000000 +0200
++++ dbus-c++-1.pc.in 2012-03-11 15:49:36.452603560 +0200
+@@ -7,5 +7,5 @@ Name: @PACKAGE@
+ Description: Native C++ bindings for D-Bus
+ Requires: dbus-1
+ Version: @VERSION@
+-Libs: -L${libdir} -ldbus-c++-1
++Libs: -L${libdir} -ldbus-c++-1 -lpthread
+ Cflags: -I${includedir}/dbus-c++-1 -DDBUS_API_SUBJECT_TO_CHANGE
diff --git a/libraries/libdbus-c++/patches/libdbus-c++-sover.patch b/libraries/libdbus-c++/patches/libdbus-c++-sover.patch
new file mode 100644
index 0000000000..3517991846
--- /dev/null
+++ b/libraries/libdbus-c++/patches/libdbus-c++-sover.patch
@@ -0,0 +1,28 @@
+Index: src/Makefile.am
+===================================================================
+--- src/Makefile.am.orig 2016-09-24 11:03:56.000000000 +0200
++++ src/Makefile.am 2017-03-28 14:53:22.941031645 +0200
+@@ -28,6 +28,9 @@ libdbus_c___1_la_CXXFLAGS = \
+ -I$(top_srcdir)/include \
+ -Wno-unused-parameter
+
++libdbus_c___1_la_LDFLAGS= \
++ -version-info "$(SOVER)"
++
+ libdbus_c___1_la_LIBADD = \
+ $(dbus_LIBS)
+
+Index: src/integration/glib/Makefile.am
+===================================================================
+--- src/integration/glib/Makefile.am.orig 2016-09-24 11:03:56.000000000 +0200
++++ src/integration/glib/Makefile.am 2017-03-28 15:04:24.695822590 +0200
+@@ -16,6 +16,9 @@ libdbus_c___glib_1_la_LIBADD = \
+ $(dbus_LIBS) \
+ $(glib_LIBS)
+
++libdbus_c___glib_1_la_LDFLAGS= \
++ -version-info "$(SOVER)"
++
+ AM_CPPFLAGS = \
+ $(dbus_CFLAGS) \
+ $(glib_CFLAGS)
diff --git a/libraries/libdbusmenu/0001_no-deprecated-gnome-common-macros.patch b/libraries/libdbusmenu/0001_no-deprecated-gnome-common-macros.patch
deleted file mode 100644
index fbe7ca334c..0000000000
--- a/libraries/libdbusmenu/0001_no-deprecated-gnome-common-macros.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Description: Drop deprecated gnome-common variables.
-Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
-
---- a/autogen.sh
-+++ b/autogen.sh
-@@ -9,6 +9,4 @@
-
- gtkdocize || exit 1
-
--USE_GNOME2_MACROS=1 \
--USE_COMMON_DOC_BUILD=yes \
- gnome-autogen.sh --enable-gtk-doc $@
diff --git a/libraries/libdbusmenu/README b/libraries/libdbusmenu/README
deleted file mode 100644
index cad08910ee..0000000000
--- a/libraries/libdbusmenu/README
+++ /dev/null
@@ -1,8 +0,0 @@
-libdbusmenu (library for passing menus over DBus)
-
-libdbusmenu is a small little library that was created by
-pulling some common code out of indicator-applet.
-
-It passes a menu structure across DBus so that a program
-can create a menu simply without worrying about how it is
-displayed on the other side of the bus.
diff --git a/libraries/libdbusmenu/libdbusmenu.SlackBuild b/libraries/libdbusmenu/libdbusmenu.SlackBuild
deleted file mode 100644
index 554247df9c..0000000000
--- a/libraries/libdbusmenu/libdbusmenu.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for libdbusmenu.
-#
-# Copyright 2020 Donald Cooley, South Haven, Indiana, USA
-# Copyright 2015-2019 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=libdbusmenu
-VERSION=${VERSION:-18.10.20180917~bzr492}
-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=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
-
-SRCVER=${SRCVER:-18.10.20180917~bzr492+repack1}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir -p $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_${SRCVER}.orig.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 {} \;
-
-patch -p1 < $CWD/0001_no-deprecated-gnome-common-macros.patch
-
-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
-
-DOCS="COPYING* INSTALL NEWS README"
-
-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
-
-mkdir -p $PKG/install
-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/libraries/libdbusmenu/libdbusmenu.info b/libraries/libdbusmenu/libdbusmenu.info
deleted file mode 100644
index b340fe3630..0000000000
--- a/libraries/libdbusmenu/libdbusmenu.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libdbusmenu"
-VERSION="18.10.20180917~bzr492"
-HOMEPAGE="https://launchpad.net/libdbusmenu/"
-DOWNLOAD="http://cdn-fastly.deb.debian.org/debian/pool/main/libd/libdbusmenu/libdbusmenu_18.10.20180917~bzr492+repack1.orig.tar.xz"
-MD5SUM="8ae2fedae25a862a3bf79855955c2540"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="json-glib gnome-common"
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeus@protonmail.com"
diff --git a/libraries/libdbusmenu/slack-desc b/libraries/libdbusmenu/slack-desc
deleted file mode 100644
index e71e4833f1..0000000000
--- a/libraries/libdbusmenu/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------------------------------------------------------|
-libdbusmenu: libdbusmenu (library for passing menus over DBus)
-libdbusmenu:
-libdbusmenu: libdbusmenu passes a menu structure across DBus so that a program can
-libdbusmenu: create a menu simply without worrying about how it is displayed on
-libdbusmenu: the other side of the bus.
-libdbusmenu:
-libdbusmenu: Home page: https://launchpad.net/libdbusmenu/
-libdbusmenu:
-libdbusmenu:
-libdbusmenu:
-libdbusmenu:
diff --git a/libraries/libdc1394/README b/libraries/libdc1394/README
index f284b2547c..e6296b537e 100644
--- a/libraries/libdc1394/README
+++ b/libraries/libdc1394/README
@@ -1,5 +1,5 @@
libdc1394 is a library that provides a complete high level application
-programming interface (API) for developers who wish to control IEEE 1394
-based cameras that conform to the 1394-based Digital Camera Specifications
-(also known as the IIDC or DCAM Specifications). The library currently
-works on Linux, Mac OSX and (soon) Windows.
+programming interface (API) for developers who wish to control IEEE
+1394 based cameras that conform to the 1394-based Digital Camera
+Specifications (also known as the IIDC or DCAM Specifications). The
+library currently works on Linux, Mac OSX and (soon) Windows.
diff --git a/libraries/libdc1394/libdc1394.SlackBuild b/libraries/libdc1394/libdc1394.SlackBuild
index ded4cd97c8..8783d20911 100644
--- a/libraries/libdc1394/libdc1394.SlackBuild
+++ b/libraries/libdc1394/libdc1394.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdc1394
@@ -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=libdc1394
VERSION=${VERSION:-2.2.6}
-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 AUTHORS ChangeLog COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdca/README b/libraries/libdca/README
index ce58412adf..186ce025dd 100644
--- a/libraries/libdca/README
+++ b/libraries/libdca/README
@@ -2,18 +2,18 @@ libdca - a free DTS Coherent Acoustics decoder (previously libdts)
libdca is a free library for decoding DTS Coherent Acoustics streams.
The code is written by Gildas Bazin and was based on the a52dec
-project. The DTS Coherent Acoustics standard is used in a variety of
-applications , including DVD, DTS audio CD and radio broadcasting.
-It includes libdts. It is released under the terms of the GPL license.
+project. The DTS Coherent Acoustics standard is used in a variety of
+applications, including DVD, DTS audio CD and radio broadcasting. It
+includes libdts. It is released under the terms of the GPL license.
WARNING: libdca is still in early development stage so don't expect too
much of it.
-Provisional Warning: DTS Incorporated claims that use of libdca software
-to decode DTS compressed sound data on a DVD could violate DTS's patent rights.
-If you are unsure about the legality of using and distributing this code in
-your country, in particular in the USA, please consult your lawyer before
-downloading it.
+Provisional Warning: DTS Incorporated claims that use of libdca
+software to decode DTS compressed sound data on a DVD could violate
+DTS's patent rights. If you are unsure about the legality of using
+and distributing this code in your country, in particular in the USA,
+please consult your lawyer before downloading it.
NOTE:
dcadec binary is also found in dcadec package.
diff --git a/libraries/libdca/libdca.SlackBuild b/libraries/libdca/libdca.SlackBuild
index e135814924..dd3a0b8d89 100644
--- a/libraries/libdca/libdca.SlackBuild
+++ b/libraries/libdca/libdca.SlackBuild
@@ -1,9 +1,14 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdca
#
# Copyright 2007 Niklas "Nille" Åkerström
# All rights reserved.
+# Modified by Robby Workman <rworkman@slackbuilds.org> for version 0.0.5
+# Maintained 2020 Didier Spaier
+# Copyright 2022 Christoph Willing Brisbane, Australia
+# Copyright 2022 Bill Kirkpatrick, Bay City, Texas, USA
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -22,28 +27,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Robby Workman <rworkman@slackbuilds.org> for version 0.0.5
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove broken symlink to nonexistent static lib.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libdca
-VERSION=${VERSION:-0.0.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.0.7}
+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"
@@ -67,9 +81,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 {} \+
+
+./bootstrap
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,14 +95,13 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--program-prefix="" \
--program-suffix="" \
+ --disable-static \
--enable-shared
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
cp -a libdca/dca_internal.h $PKG/usr/include
-
-find $PKG | xargs 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*/lib*.a # 20220418 bkw: broken symlink
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
@@ -94,16 +109,14 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
)
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 -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
-if [ "$1" = "--cleanup" ]; then
- rm -rf $PKG $TMP/$PRGNAM-$VERSION
-fi
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdca/libdca.info b/libraries/libdca/libdca.info
index cf117bcbcb..681f7e5bd7 100644
--- a/libraries/libdca/libdca.info
+++ b/libraries/libdca/libdca.info
@@ -1,10 +1,10 @@
PRGNAM="libdca"
-VERSION="0.0.5"
+VERSION="0.0.7"
HOMEPAGE="http://www.videolan.org/developers/libdca.html"
-DOWNLOAD="http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2"
-MD5SUM="dab6b2795c66a82a6fcd4f8343343021"
+DOWNLOAD="http://download.videolan.org/pub/videolan/libdca/0.0.7/libdca-0.0.7.tar.bz2"
+MD5SUM="68916db60e3017d92841f77908518a11"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Didier Spaier"
-EMAIL="didier at slint dot fr"
+MAINTAINER="Bill Kirkpatrick"
+EMAIL="bkirkp@gmail.com"
diff --git a/libraries/libde265/README b/libraries/libde265/README
new file mode 100644
index 0000000000..17f0530044
--- /dev/null
+++ b/libraries/libde265/README
@@ -0,0 +1,8 @@
+libde265 is an open source implementation of the h.265 video codec. It
+is written from scratch and has a plain C API to enable a simple
+integration into other software.
+
+By default, sherlock265 visual inspection program is not built.
+
+Building of sherlock265 can be enabled by setting the SHERLOCK265
+environment variable to "yes": SHERLOCK265=yes ./libde265.SlackBuild
diff --git a/libraries/libde265/libde265.SlackBuild b/libraries/libde265/libde265.SlackBuild
new file mode 100644
index 0000000000..64bb269bf8
--- /dev/null
+++ b/libraries/libde265/libde265.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libde265
+
+# Copyright 2020-2023, 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=libde265
+VERSION=${VERSION:-1.0.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+SHERLOCK265="${SHERLOCK265:-no}"
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-sherlock265=$SHERLOCK265 \
+ --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 README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+rm -f $PKG/usr/lib*/*.la
+
+# useless
+rm -f $PKG/usr/bin/tests
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libde265/libde265.info b/libraries/libde265/libde265.info
new file mode 100644
index 0000000000..41bf8164d1
--- /dev/null
+++ b/libraries/libde265/libde265.info
@@ -0,0 +1,10 @@
+PRGNAM="libde265"
+VERSION="1.0.15"
+HOMEPAGE="https://github.com/strukturag/libde265"
+DOWNLOAD="https://github.com/strukturag/libde265/releases/download/v1.0.15/libde265-1.0.15.tar.gz"
+MD5SUM="d61e9fb8052b8d90d76ab67fd84e018d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/libde265/slack-desc b/libraries/libde265/slack-desc
new file mode 100644
index 0000000000..348db4000f
--- /dev/null
+++ b/libraries/libde265/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------------------------------------------------------|
+libde265: libde265 (open h.265 codec implementation)
+libde265:
+libde265:
+libde265: libde265 is an open source implementation of the h.265 video codec.
+libde265: It is written from scratch and has a plain C API to enable a simple
+libde265: integration into other software.
+libde265:
+libde265:
+libde265: Homepage: https://github.com/strukturag/libde265
+libde265:
+libde265:
diff --git a/libraries/libdesktop-agnostic/README b/libraries/libdesktop-agnostic/README
deleted file mode 100644
index e67476dd1b..0000000000
--- a/libraries/libdesktop-agnostic/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Libdesktop-agnostic provides an extensible configuration API, a unified
-virtual file system API, and a desktop item editor (all with pluggable
-backends) for GLib-based projects. It is not tied to any one desktop
-environment, although there are desktop-specific modules.
diff --git a/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild b/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
deleted file mode 100644
index de96cfcbfa..0000000000
--- a/libraries/libdesktop-agnostic/libdesktop-agnostic.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libdesktop-agnostic
-
-# Originally by Roberto Metere
-# Currently maintained by Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
-
-# Copyright (c) 2011 Roberto Metere. 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.
-#
-# 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.
-
-PRGNAM=libdesktop-agnostic
-VERSION=${VERSION:-20160503}
-SRCVERSION=${SRCVERSION:-be0f0cb99ee292616e0159b3aed918ffbac5d75d}
-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-$SRCVERSION
-if [ -e $CWD/$SRCVERSION.tar.gz ]; then
- tar xvf $CWD/$SRCVERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-fi
-cd $PRGNAM-$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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --config-backends=gconf \
- --vfs-backends=gio \
- --desktop-entry-backends=glib
-
-./waf
-./waf 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
-( cd $PKG/usr/doc/$PRGNAM-$VERSION
- ln -s ../../share/gtk-doc/html/libawn html
-)
-
-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}
diff --git a/libraries/libdesktop-agnostic/libdesktop-agnostic.info b/libraries/libdesktop-agnostic/libdesktop-agnostic.info
deleted file mode 100644
index c2054061e2..0000000000
--- a/libraries/libdesktop-agnostic/libdesktop-agnostic.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libdesktop-agnostic"
-VERSION="20160503"
-HOMEPAGE="https://github.com/p12tic/libdesktop-agnostic"
-DOWNLOAD="https://github.com/p12tic/libdesktop-agnostic/archive/be0f0cb99ee292616e0159b3aed918ffbac5d75d.tar.gz"
-MD5SUM="70499fe5276517668a44270ba7abc8c9"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="vala"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/libdesktop-agnostic/slack-desc b/libraries/libdesktop-agnostic/slack-desc
deleted file mode 100644
index 10b55241fc..0000000000
--- a/libraries/libdesktop-agnostic/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------------------------------------------------------|
-libdesktop-agnostic: libdesktop-agnostic (desktop framework)
-libdesktop-agnostic:
-libdesktop-agnostic: Libdesktop-agnostic provides an extensible configuration
-libdesktop-agnostic: API, a unified virtual file system API, and a desktop
-libdesktop-agnostic: item editor (all with pluggable backends) for GLib-based
-libdesktop-agnostic: projects. It is not tied to any one desktop environment,
-libdesktop-agnostic: although there are desktop-specific modules.
-libdesktop-agnostic:
-libdesktop-agnostic:
-libdesktop-agnostic:
-libdesktop-agnostic:
diff --git a/libraries/libdex/README b/libraries/libdex/README
new file mode 100644
index 0000000000..c743014fb9
--- /dev/null
+++ b/libraries/libdex/README
@@ -0,0 +1,8 @@
+While Dex is using GObject and GIO, it implements it's own fundamental
+type (DexObject) for which all other types inherit.
+Dex is a library supporting "Deferred Execution" with the explicit
+goal of integrating with GNOME and GTK-based applications.
+It provides primatives for supporting futures in a variety of ways
+with both read-only and writable views. Additionally, integration
+with existing asynchronous-based APIs is provided through the use of
+wrapper promises.
diff --git a/libraries/libdex/libdex.SlackBuild b/libraries/libdex/libdex.SlackBuild
new file mode 100644
index 0000000000..883e987d4c
--- /dev/null
+++ b/libraries/libdex/libdex.SlackBuild
@@ -0,0 +1,134 @@
+#!/bin/bash
+
+# Slackware build script for libdex
+
+# Copyright 2023 Nathaniel Russell <naterussell83@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=libdex
+VERSION=${VERSION:-0.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+sed -i -- 's/0.62.0/0.59.4/g' meson.build
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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 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 \
+ -Dvapi=true \
+ -Ddocs=false \
+ -Dexamples=false \
+ -Dintrospection=enabled \
+ -Dsysprof=false \
+ -Dtests=false
+ "${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
+
+# Compress and link manpages, if any:
+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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md TODO.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdex/libdex.info b/libraries/libdex/libdex.info
new file mode 100644
index 0000000000..e05269abf5
--- /dev/null
+++ b/libraries/libdex/libdex.info
@@ -0,0 +1,10 @@
+PRGNAM="libdex"
+VERSION="0.2.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex/"
+DOWNLOAD="https://download.gnome.org/sources/libdex/0.2/libdex-0.2.0.tar.xz"
+MD5SUM="9bf5640e7c9011112eb95b91e7cfa23d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Nathaniel Russell"
+EMAIL="naterussell83@gmail.com"
diff --git a/libraries/libdex/slack-desc b/libraries/libdex/slack-desc
new file mode 100644
index 0000000000..5483a65a65
--- /dev/null
+++ b/libraries/libdex/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------------------------------------------------------|
+libdex: libdex ("Deferred Execution")
+libdex:
+libdex: Dex is a library supporting "Deferred Execution" with the explicit
+libdex: goal of integrating with GNOME and GTK-based applications.
+libdex: It provides primatives for supporting futures in a variety of ways
+libdex: with both read-only and writable views. Additionally, integration
+libdex: with existing asynchronous-based APIs is provided through the use of
+libdex: wrapper promises.
+libdex:
+libdex: https://gitlab.gnome.org/chergert/libdex
+libdex:
diff --git a/libraries/libdispatch/README b/libraries/libdispatch/README
new file mode 100644
index 0000000000..200d007986
--- /dev/null
+++ b/libraries/libdispatch/README
@@ -0,0 +1,2 @@
+Grand Central Dispatch (GCD or libdispatch) provides comprehensive
+support for concurrent code execution on multicore hardware.
diff --git a/libraries/libdispatch/libdispatch.SlackBuild b/libraries/libdispatch/libdispatch.SlackBuild
new file mode 100644
index 0000000000..a23f419f99
--- /dev/null
+++ b/libraries/libdispatch/libdispatch.SlackBuild
@@ -0,0 +1,124 @@
+#!/bin/bash
+
+# Slackware build script for libdispatch
+
+# Copyright 2020 Hunter Sezen California, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20220304 bkw: Modified by SlackBuilds.org: fix conflict with libkqueue.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libdispatch
+VERSION=${VERSION:-5.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 swift-corelibs-$PRGNAM-swift-$VERSION-RELEASE
+tar xvf $CWD/swift-corelibs-$PRGNAM-swift-$VERSION-RELEASE.tar.gz
+cd swift-corelibs-$PRGNAM-swift-$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 {} \+
+
+# Disable -Werror.
+sed -i 's/-Werror//' src/CMakeLists.txt
+sed -i '/-Werror/d' cmake/modules/DispatchCompilerWarnings.cmake
+
+# 20220304 bkw: Fix the build, if libkqueue is installed. Normally,
+# if kqueue's sys/event.h is detected, that means BSD, which just has
+# the include (no need to link a library). On Linux, kqueue isn't part
+# of the kernel or libc, it's a 3rd party package and not commonly
+# installed. Anything using it needs to link with -lkqueue. Upstream
+# never considered this possibility, so we have to force the issue on
+# the cmake command line:
+
+pkg-config --exists libkqueue && extra="-DCMAKE_EXE_LINKER_FLAGS=-lkqueue"
+
+# apple software really wants clang
+
+mkdir -p build
+cd build
+ cmake \
+ $extra \
+ -DCMAKE_C_COMPILER=clang \
+ -DCMAKE_CXX_COMPILER=clang++ \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+gzip -9 $PKG/usr/man/man*/*
+
+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/libraries/libdispatch/libdispatch.info b/libraries/libdispatch/libdispatch.info
new file mode 100644
index 0000000000..ef5494940b
--- /dev/null
+++ b/libraries/libdispatch/libdispatch.info
@@ -0,0 +1,10 @@
+PRGNAM="libdispatch"
+VERSION="5.5"
+HOMEPAGE="https://apple.github.io/swift-corelibs-libdispatch/"
+DOWNLOAD="https://github.com/apple/swift-corelibs-libdispatch/archive/swift-5.5-RELEASE/swift-corelibs-libdispatch-swift-5.5-RELEASE.tar.gz"
+MD5SUM="865c9d5225e29cbeebb903faa5e29a2c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/libraries/libdispatch/slack-desc b/libraries/libdispatch/slack-desc
new file mode 100644
index 0000000000..338d4380e2
--- /dev/null
+++ b/libraries/libdispatch/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------------------------------------------------------|
+libdispatch: libdispatch (Grand Central Dispatch)
+libdispatch:
+libdispatch: Grand Central Dispatch (GCD or libdispatch) provides comprehensive
+libdispatch: support for concurrent code execution on multicore hardware.
+libdispatch:
+libdispatch: Homepage: https://apple.github.io/swift-corelibs-libdispatch/
+libdispatch:
+libdispatch:
+libdispatch:
+libdispatch:
+libdispatch:
diff --git a/libraries/libdisplay-info/README b/libraries/libdisplay-info/README
new file mode 100644
index 0000000000..44dbcbd8ae
--- /dev/null
+++ b/libraries/libdisplay-info/README
@@ -0,0 +1,7 @@
+EDID and DisplayID library.
+Goals:
+
+Provide a set of high-level, easy-to-use, opinionated functions
+as well as low-level functions to access detailed information.
+Simplicity and correctness over performance and resource usage.
+Well-tested and fuzzed.
diff --git a/libraries/libdisplay-info/libdisplay-info.SlackBuild b/libraries/libdisplay-info/libdisplay-info.SlackBuild
new file mode 100644
index 0000000000..e348754dbb
--- /dev/null
+++ b/libraries/libdisplay-info/libdisplay-info.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for libdisplay-info
+
+# 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=libdisplay-info
+VERSION=${VERSION:-0.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
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -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 \
+
+
+ "${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 -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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdisplay-info/libdisplay-info.info b/libraries/libdisplay-info/libdisplay-info.info
new file mode 100644
index 0000000000..242255d927
--- /dev/null
+++ b/libraries/libdisplay-info/libdisplay-info.info
@@ -0,0 +1,10 @@
+PRGNAM="libdisplay-info"
+VERSION="0.1.1"
+HOMEPAGE="https://gitlab.freedesktop.org/emersion/libdisplay-info"
+DOWNLOAD="https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/0.1.1/libdisplay-info-0.1.1.tar.gz"
+MD5SUM="f214fc05b8294ef26aec00a66e20f3d8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/libdisplay-info/slack-desc b/libraries/libdisplay-info/slack-desc
new file mode 100644
index 0000000000..2c28ede803
--- /dev/null
+++ b/libraries/libdisplay-info/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------------------------------------------------------|
+libdisplay-info: libdisplay-info (EDID and DisplayID library)
+libdisplay-info:
+libdisplay-info: Libdisplay-info is a extended display identification data library and
+libdisplay-info: displayID library
+libdisplay-info:
+libdisplay-info:
+libdisplay-info:
+libdisplay-info:
+libdisplay-info: Home: https://gitlab.freedesktop.org/emersion/libdisplay-info
+libdisplay-info:
+libdisplay-info:
diff --git a/libraries/libdivecomputer/libdivecomputer.SlackBuild b/libraries/libdivecomputer/libdivecomputer.SlackBuild
index c4e09bb4bf..4f186c210e 100644
--- a/libraries/libdivecomputer/libdivecomputer.SlackBuild
+++ b/libraries/libdivecomputer/libdivecomputer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdivecomputer
@@ -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=libdivecomputer
VERSION=${VERSION:-0.6.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}
@@ -99,8 +109,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdmapsharing/libdmapsharing.SlackBuild b/libraries/libdmapsharing/libdmapsharing.SlackBuild
index 03690bf2b1..aaaf437758 100644
--- a/libraries/libdmapsharing/libdmapsharing.SlackBuild
+++ b/libraries/libdmapsharing/libdmapsharing.SlackBuild
@@ -1,29 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdmapsharing
# Written by crocket (crockabiscuit@gmail.com)
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - remove empty NEWS from doc dir.
+# - symlink html docs to doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdmapsharing
VERSION=${VERSION:-2.1.9}
-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"
@@ -47,9 +59,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 {} \+
# Starting with glib 2.32 it is now mandatory to
# include glib.h instead of individual headers.
@@ -73,12 +85,15 @@ make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
+ AUTHORS COPYING ChangeLog README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
+ln -s ../../share/gtk-doc/html/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html
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/libraries/libdmapsharing/libdmapsharing.info b/libraries/libdmapsharing/libdmapsharing.info
index 5158c3c380..fe3b3fa9a7 100644
--- a/libraries/libdmapsharing/libdmapsharing.info
+++ b/libraries/libdmapsharing/libdmapsharing.info
@@ -1,7 +1,7 @@
PRGNAM="libdmapsharing"
VERSION="2.1.9"
HOMEPAGE="https://www.flyn.org/projects/libdmapsharing/"
-DOWNLOAD="https://www.flyn.org/projects/libdmapsharing/libdmapsharing-2.1.9.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/libdmapsharing-2.1.9.tar.gz"
MD5SUM="04f722d08f56a01f3c985bfdeb4b28ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libdmtx/README b/libraries/libdmtx/README
deleted file mode 100644
index 653db41736..0000000000
--- a/libraries/libdmtx/README
+++ /dev/null
@@ -1,7 +0,0 @@
-libdmtx (Data Matrix barcode library and utilities)
-
-libdmtx is open source software for reading and writing Data Matrix barcodes
-on Linux, Unix, OS X, Windows, and some mobile devices. At its core libdmtx
-is a shared library, allowing C/C++ programs to use its capabilities without
-restrictions or overhead. The included utility programs, dmtxread and
-dmtxwrite, serve as the official interface to libdmtx from the command line.
diff --git a/libraries/libdmtx/libdmtx.SlackBuild b/libraries/libdmtx/libdmtx.SlackBuild
deleted file mode 100644
index b50ea62188..0000000000
--- a/libraries/libdmtx/libdmtx.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libdmtx
-
-# Written by David Miller dave@frop.net
-# This script is released into the public domain
-
-PRGNAM=libdmtx
-VERSION=${VERSION:-0.7.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
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man
-
-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
-
-( 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
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL KNOWNBUG 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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libdmtx/libdmtx.info b/libraries/libdmtx/libdmtx.info
deleted file mode 100644
index b38ced7120..0000000000
--- a/libraries/libdmtx/libdmtx.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libdmtx"
-VERSION="0.7.2"
-HOMEPAGE="http://www.libdmtx.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/libdmtx/libdmtx/0.7.2/libdmtx-0.7.2.tar.bz2"
-MD5SUM="0684cf3857591e777b57248d652444ae"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Miller"
-EMAIL="dave@frop.net"
diff --git a/libraries/libdmtx/slack-desc b/libraries/libdmtx/slack-desc
deleted file mode 100644
index f9cb669663..0000000000
--- a/libraries/libdmtx/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------------------------------------------------------|
-libdmtx: libdmtx (Data Matrix barcode library and utilities)
-libdmtx:
-libdmtx: libdmtx is open source software for reading and writing Data Matrix
-libdmtx: barcodes on Linux, Unix, OS X, Windows, and some mobile devices. At
-libdmtx: its core libdmtx is a shared library, allowing C/C++ programs
-libdmtx: to use its capabilities without restrictions or overhead. The
-libdmtx: included utility programs, dmtxread and dmtxwrite, serve as the
-libdmtx: official interface to libdmtx from the command line.
-libdmtx:
-libdmtx:
-libdmtx:
diff --git a/libraries/libdockapp/libdockapp.SlackBuild b/libraries/libdockapp/libdockapp.SlackBuild
index 14acf78dcc..c75a499c4d 100644
--- a/libraries/libdockapp/libdockapp.SlackBuild
+++ b/libraries/libdockapp/libdockapp.SlackBuild
@@ -1,14 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdockapp
# Originally written by Cezary M. Kruk (email removed)
# Modified by the SlackBuilds.org project.
-# Modified and now maintained by B. Watson <yalhcru@gmail.com>.
+# Modified and now maintained by B. Watson <urchlay@slackware.uk>.
# Original script had no license. Modified version released under
# the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211019 bkw: update for v0.7.3.
# 20180930 bkw:
# - Take over maintenance, BUILD=2.
# - Add doinst.sh with mkfontdir stuff. Specifically, the old version
@@ -19,10 +20,13 @@
# - Minor script tweaks/cleanups.
# - s/Window Maker/WindowMaker/ in README and slack-desc.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdockapp
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,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}
@@ -60,7 +68,7 @@ rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd dockapps-*
+cd dockapps-* 2>/dev/null || cd libdockapp-*
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 {} \+
@@ -81,8 +89,7 @@ CFLAGS="$SLKCFLAGS" \
make XFONTDIR="/usr/share/fonts"
make install-strip DESTDIR=$PKG XFONTDIR="\$(DESTDIR)/usr/share/fonts"
-# When 15.0 comes along, uncomment this line:
-# rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
# Stop installing broken fonts.dir. doinst.sh will generate a correct one.
rm -rf $PKG/usr/share/fonts/misc/fonts.dir
@@ -97,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/libraries/libdockapp/libdockapp.info b/libraries/libdockapp/libdockapp.info
index 71868aad0e..1b05a732d2 100644
--- a/libraries/libdockapp/libdockapp.info
+++ b/libraries/libdockapp/libdockapp.info
@@ -1,10 +1,10 @@
PRGNAM="libdockapp"
-VERSION="0.7.2"
+VERSION="0.7.3"
HOMEPAGE="https://www.dockapps.net/libdockapp"
-DOWNLOAD="https://www.dockapps.net/download/libdockapp-0.7.2.tar.gz"
-MD5SUM="219e042f8200448eaa34bdf4fc4aa820"
+DOWNLOAD="https://www.dockapps.net/download/libdockapp-0.7.3.tar.gz"
+MD5SUM="7b029c2b2542d1974085690427354501"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libdraco/README b/libraries/libdraco/README
new file mode 100644
index 0000000000..2242002a98
--- /dev/null
+++ b/libraries/libdraco/README
@@ -0,0 +1,12 @@
+Draco is a library for compressing and decompressing 3D geometric
+meshes and point clouds. It is intended to improve the storage and
+transmission of 3D graphics.
+
+Draco was designed and built for compression efficiency and speed. The
+code supports compressing points, connectivity information, texture
+coordinates, color information, normals, and any other generic
+attributes associated with geometry.
+
+Draco is supported as optional dependency by applications that can take
+advantage by strong compression of 3D graphics (Blender, qgis, pdal,
+for example).
diff --git a/libraries/libdraco/gltf_decoder_cc.patch b/libraries/libdraco/gltf_decoder_cc.patch
new file mode 100644
index 0000000000..8d0e52e78f
--- /dev/null
+++ b/libraries/libdraco/gltf_decoder_cc.patch
@@ -0,0 +1,23 @@
+--- ./src/draco/io/gltf_decoder.cc
++++ ./src/draco/io/gltf_decoder.cc
+@@ -438,6 +438,12 @@
+ return WriteBufferToFile(contents.data(), contents.size(), filepath);
+ }
+
++bool GetFileSizeInBytes(size_t *out, std::string * /*err*/,
++ const std::string &filepath, void * /*user_data*/) {
++ *out = GetFileSize(filepath);
++ return true;
++}
++
+ } // namespace
+
+ GltfDecoder::GltfDecoder()
+@@ -497,6 +497,7 @@
+ // TinyGLTF's ExpandFilePath does not do filesystem i/o, so it's safe to
+ // use in all environments.
+ &tinygltf::ExpandFilePath, &ReadWholeFile, &WriteWholeFile,
++ &GetFileSizeInBytes,
+ reinterpret_cast<void *>(input_files)};
+
+ loader.SetFsCallbacks(fs_callbacks);
diff --git a/libraries/libdraco/gltf_utils_h.patch b/libraries/libdraco/gltf_utils_h.patch
new file mode 100644
index 0000000000..5d1ad089e0
--- /dev/null
+++ b/libraries/libdraco/gltf_utils_h.patch
@@ -0,0 +1,10 @@
+--- ./src/draco/io/gltf_utils.h 2023-02-07 18:30:00.000000000 +0100
++++ ./src/draco/io/gltf_utils.h 2023-11-10 19:04:39.726881566 +0100
+@@ -21,6 +21,7 @@
+ #include <iomanip>
+ #include <sstream>
+ #include <string>
++#include <cstdint>
+
+ namespace draco {
+
diff --git a/libraries/libdraco/libdraco.SlackBuild b/libraries/libdraco/libdraco.SlackBuild
new file mode 100644
index 0000000000..68d40a97e6
--- /dev/null
+++ b/libraries/libdraco/libdraco.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for libdraco
+
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libdraco
+SRCNAM=draco
+VERSION=${VERSION:-1.5.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
+
+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 {} \;
+
+sed -i -e 's:FindPythonInterp:FindPython3:g' CMakeLists.txt
+
+# Fix build errors in the source against gltf so allow the support to
+# TRANSCODER. Thanks to Timo Röhling maintainer of draco package for Ubuntu
+# https://answers.launchpad.net/ubuntu/+source/draco/1.5.6+dfsg-3
+patch -p1 < $CWD/gltf_decoder_cc.patch
+
+# Fix build errors with gcc 13 on Slackware current,
+# not needed on Slackware 15.0
+if [ -f /usr/bin/gcc-13* ]; then
+ patch -p1 < $CWD/gltf_utils_h.patch
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDRACO_TRANSCODER_SUPPORTED=ON \
+ -DDRACO_EIGEN_PATH=/usr/include/eigen3 \
+ -DDRACO_FILESYSTEM_PATH=/usr/include \
+ -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 AUTHORS CONTRIBUTING.md 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/libraries/libdraco/libdraco.info b/libraries/libdraco/libdraco.info
new file mode 100644
index 0000000000..b140110d88
--- /dev/null
+++ b/libraries/libdraco/libdraco.info
@@ -0,0 +1,10 @@
+PRGNAM="libdraco"
+VERSION="1.5.7"
+HOMEPAGE="https://google.github.io/draco/"
+DOWNLOAD="https://github.com/google/draco/archive/1.5.7/draco-1.5.7.tar.gz"
+MD5SUM="b91def257264152be35c62f82f805d25"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ghc_filesystem tinygltf"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/libdraco/slack-desc b/libraries/libdraco/slack-desc
new file mode 100644
index 0000000000..c9dee424e8
--- /dev/null
+++ b/libraries/libdraco/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------------------------------------------------------|
+libdraco: libdraco (3D graphics data compression)
+libdraco:
+libdraco: Draco is a library for compressing and decompressing 3D geometric
+libdraco: meshes and point clouds. It is intended to improve the storage
+libdraco: and transmission of 3D graphics.
+libdraco:
+libdraco: Home page: https://google.github.io/draco/
+libdraco:
+libdraco:
+libdraco:
+libdraco:
diff --git a/libraries/libdsk/libdsk.SlackBuild b/libraries/libdsk/libdsk.SlackBuild
index c717affeee..a4296cfbac 100644
--- a/libraries/libdsk/libdsk.SlackBuild
+++ b/libraries/libdsk/libdsk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdsk
@@ -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=libdsk
-VERSION=${VERSION:-1.4.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.5.18}
+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,9 +104,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog README TODO doc/*.pdf $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/libraries/libdsk/libdsk.info b/libraries/libdsk/libdsk.info
index 3371973aff..b376cb584b 100644
--- a/libraries/libdsk/libdsk.info
+++ b/libraries/libdsk/libdsk.info
@@ -1,8 +1,8 @@
PRGNAM="libdsk"
-VERSION="1.4.0"
+VERSION="1.5.18"
HOMEPAGE="http://www.seasip.info/Unix/LibDsk/"
-DOWNLOAD="http://www.seasip.info/Unix/LibDsk/libdsk-1.4.0.tar.gz"
-MD5SUM="56c28bc4d847b1485fc9da35f034047a"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/libdsk-1.5.18.tar.gz"
+MD5SUM="73acef984a7e78658c152b914ef4c88a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libdv/README b/libraries/libdv/README
index bbdc57db97..76d7961626 100644
--- a/libraries/libdv/README
+++ b/libraries/libdv/README
@@ -1,4 +1,5 @@
-The Quasar DV codec (libdv) is a software codec for DV video. DV is the
-encoding format used by most digital camcorders, typically those that support
-the IEEE 1394 (aka FireWire or i.Link) interface. libdv was developed
-according to the official standards for DV video, IEC 61834 and SMPTE 314M.
+The Quasar DV codec (libdv) is a software codec for DV video.
+DV is the encoding format used by most digital camcorders, typically
+those that support the IEEE 1394 (aka FireWire or i.Link) interface.
+libdv was developed according to the official standards for DV video,
+IEC 61834 and SMPTE 314M.
diff --git a/libraries/libdv/libdv.SlackBuild b/libraries/libdv/libdv.SlackBuild
index 470bd42103..94d6cf2aaa 100644
--- a/libraries/libdv/libdv.SlackBuild
+++ b/libraries/libdv/libdv.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdv
-# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 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=libdv
VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -81,11 +91,16 @@ CXXFLAGS="$SLKCFLAGS" \
--without-debug \
--disable-gtk \
--disable-gtktest \
+ --disable-static \
--build=$ARCH-slackware-linux
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
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -98,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/libraries/libdv/libdv.info b/libraries/libdv/libdv.info
index 41111391c4..ad151c5e6f 100644
--- a/libraries/libdv/libdv.info
+++ b/libraries/libdv/libdv.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libdvbcsa/libdvbcsa.SlackBuild b/libraries/libdvbcsa/libdvbcsa.SlackBuild
index 973d9d09bc..ba97182bf4 100644
--- a/libraries/libdvbcsa/libdvbcsa.SlackBuild
+++ b/libraries/libdvbcsa/libdvbcsa.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdvbcsa
@@ -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=libdvbcsa
VERSION=${VERSION:-1.1.0}
-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"
@@ -98,8 +108,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/libraries/libdvbpsi/libdvbpsi.SlackBuild b/libraries/libdvbpsi/libdvbpsi.SlackBuild
index 73a9d674bf..0976359b17 100644
--- a/libraries/libdvbpsi/libdvbpsi.SlackBuild
+++ b/libraries/libdvbpsi/libdvbpsi.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdvbpsi
-# Copyright 2006-2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2006-2021 Robby Workman, Tuscaloosa, Alabama, 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=libdvbpsi
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.3.3}
+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 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libdvbpsi/libdvbpsi.info b/libraries/libdvbpsi/libdvbpsi.info
index df0dbfbce5..67e6102087 100644
--- a/libraries/libdvbpsi/libdvbpsi.info
+++ b/libraries/libdvbpsi/libdvbpsi.info
@@ -1,8 +1,8 @@
PRGNAM="libdvbpsi"
-VERSION="1.3.1"
+VERSION="1.3.3"
HOMEPAGE="http://www.videolan.org/developers/libdvbpsi.html"
-DOWNLOAD="http://download.videolan.org/pub/libdvbpsi/1.3.1/libdvbpsi-1.3.1.tar.bz2"
-MD5SUM="4e525af846c50742a1d3945b5d31f0a2"
+DOWNLOAD="http://download.videolan.org/pub/libdvbpsi/1.3.3/libdvbpsi-1.3.3.tar.bz2"
+MD5SUM="9b556ab08bb62a8bec61f5c1649bc9a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libdvdcss/libdvdcss.SlackBuild b/libraries/libdvdcss/libdvdcss.SlackBuild
index a217969ae9..56f89e4d95 100644
--- a/libraries/libdvdcss/libdvdcss.SlackBuild
+++ b/libraries/libdvdcss/libdvdcss.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdvdcss
-# Copyright 2006-2016 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2006-2021 Robby Workman, Tuscaloosa, Alabama, 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=libdvdcss
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.4.3}
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,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch
-patch -p1 < $CWD/patches/0002-Improve-error-reporting-when-cache-directory-creatio.patch
-patch -p1 < $CWD/patches/0003-Check-for-empty-strings.patch
-patch -p1 < $CWD/patches/0004-Fix-check-for-empty-home-dir.patch
-patch -p1 < $CWD/patches/0005-Don-t-close-any-handle-if-callback-functions-are-use.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -99,8 +103,10 @@ cp -a AUTHORS COPYING INSTALL NEWS README 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/libraries/libdvdcss/libdvdcss.info b/libraries/libdvdcss/libdvdcss.info
index a0628d0944..5ba54b8a18 100644
--- a/libraries/libdvdcss/libdvdcss.info
+++ b/libraries/libdvdcss/libdvdcss.info
@@ -1,8 +1,8 @@
PRGNAM="libdvdcss"
-VERSION="1.4.0"
+VERSION="1.4.3"
HOMEPAGE="http://www.videolan.org/developers/libdvdcss.html"
-DOWNLOAD="http://download.videolan.org/pub/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2"
-MD5SUM="2edba36e6af3f0223c4f0454cdf3d159"
+DOWNLOAD="http://download.videolan.org/pub/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2"
+MD5SUM="e98239a88af9b2204f9b9d987c2bc71a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch b/libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch
deleted file mode 100644
index 3e9f13e65e..0000000000
--- a/libraries/libdvdcss/patches/0001-Fix-using-DVDCSS_CACHE-environment-variable.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 98c66a5b51db1e7a3a056deaafcb9a76d09afbeb Mon Sep 17 00:00:00 2001
-From: Petri Hintukainen <phintuka@gmail.com>
-Date: Fri, 11 Mar 2016 12:00:05 +0200
-Subject: [PATCH 1/5] Fix using DVDCSS_CACHE environment variable
-
----
- src/libdvdcss.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/libdvdcss.c b/src/libdvdcss.c
-index 2f78b78..7d86a08 100644
---- a/src/libdvdcss.c
-+++ b/src/libdvdcss.c
-@@ -274,6 +274,11 @@ static int set_cache_directory( dvdcss_t dvdcss )
- }
- #endif /* ! defined( _WIN32 ) */
- }
-+ else
-+ {
-+ strncpy( dvdcss->psz_cachefile, psz_cache, PATH_MAX );
-+ dvdcss->psz_cachefile[PATH_MAX - 1] = '\0';
-+ }
-
- /* Check that there is enough space for the cache directory path and the
- * block filename. The +1s are path separators. */
---
-2.10.0
-
diff --git a/libraries/libdvdcss/patches/0002-Improve-error-reporting-when-cache-directory-creatio.patch b/libraries/libdvdcss/patches/0002-Improve-error-reporting-when-cache-directory-creatio.patch
deleted file mode 100644
index 3621d7dfec..0000000000
--- a/libraries/libdvdcss/patches/0002-Improve-error-reporting-when-cache-directory-creatio.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 22cb2d442fecf4dd8122347309dbf27ad79e5559 Mon Sep 17 00:00:00 2001
-From: Petri Hintukainen <phintuka@gmail.com>
-Date: Fri, 11 Mar 2016 12:04:34 +0200
-Subject: [PATCH 2/5] Improve error reporting when cache directory creation
- fails
-
----
- src/libdvdcss.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/libdvdcss.c b/src/libdvdcss.c
-index 7d86a08..408ec2f 100644
---- a/src/libdvdcss.c
-+++ b/src/libdvdcss.c
-@@ -305,7 +305,7 @@ static int init_cache_dir( dvdcss_t dvdcss )
- i_ret = mkdir( dvdcss->psz_cachefile, 0755 );
- if( i_ret < 0 && errno != EEXIST )
- {
-- print_error( dvdcss, "failed creating cache directory" );
-+ print_error( dvdcss, "failed creating cache directory '%s'", dvdcss->psz_cachefile );
- dvdcss->psz_cachefile[0] = '\0';
- return -1;
- }
---
-2.10.0
-
diff --git a/libraries/libdvdcss/patches/0003-Check-for-empty-strings.patch b/libraries/libdvdcss/patches/0003-Check-for-empty-strings.patch
deleted file mode 100644
index 2f21bf370e..0000000000
--- a/libraries/libdvdcss/patches/0003-Check-for-empty-strings.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 100ac1a3762915042ee65b1bf370399966f61be5 Mon Sep 17 00:00:00 2001
-From: Petri Hintukainen <phintuka@gmail.com>
-Date: Fri, 11 Mar 2016 12:07:03 +0200
-Subject: [PATCH 3/5] Check for empty strings
-
----
- src/libdvdcss.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/libdvdcss.c b/src/libdvdcss.c
-index 408ec2f..ac90030 100644
---- a/src/libdvdcss.c
-+++ b/src/libdvdcss.c
-@@ -234,7 +234,7 @@ static int set_cache_directory( dvdcss_t dvdcss )
-
- /* Try looking in password file for home dir. */
- p_pwd = getpwuid(getuid());
-- if( p_pwd )
-+ if( p_pwd && p_pwd[ 0 ] )
- {
- psz_home = p_pwd->pw_dir;
- }
-@@ -248,7 +248,7 @@ static int set_cache_directory( dvdcss_t dvdcss )
- }
-
- /* Cache our keys in ${HOME}/.dvdcss/ */
-- if( psz_home )
-+ if( psz_home && psz_home[ 0 ] )
- {
- int home_pos = 0;
-
---
-2.10.0
-
diff --git a/libraries/libdvdcss/patches/0004-Fix-check-for-empty-home-dir.patch b/libraries/libdvdcss/patches/0004-Fix-check-for-empty-home-dir.patch
deleted file mode 100644
index ccb112fc60..0000000000
--- a/libraries/libdvdcss/patches/0004-Fix-check-for-empty-home-dir.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 5fd2b38c343a94407863d9fa0820aa251c3d354c Mon Sep 17 00:00:00 2001
-From: Petri Hintukainen <phintuka@gmail.com>
-Date: Sun, 13 Mar 2016 12:27:02 +0200
-Subject: [PATCH 4/5] Fix check for empty home dir
-
----
- src/libdvdcss.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/libdvdcss.c b/src/libdvdcss.c
-index ac90030..6e5d6e1 100644
---- a/src/libdvdcss.c
-+++ b/src/libdvdcss.c
-@@ -234,7 +234,7 @@ static int set_cache_directory( dvdcss_t dvdcss )
-
- /* Try looking in password file for home dir. */
- p_pwd = getpwuid(getuid());
-- if( p_pwd && p_pwd[ 0 ] )
-+ if( p_pwd && p_pwd->pw_dir && p_pwd->pw_dir[ 0 ] )
- {
- psz_home = p_pwd->pw_dir;
- }
---
-2.10.0
-
diff --git a/libraries/libdvdcss/patches/0005-Don-t-close-any-handle-if-callback-functions-are-use.patch b/libraries/libdvdcss/patches/0005-Don-t-close-any-handle-if-callback-functions-are-use.patch
deleted file mode 100644
index ab67c0e0ba..0000000000
--- a/libraries/libdvdcss/patches/0005-Don-t-close-any-handle-if-callback-functions-are-use.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 5bec036cfee3950d002f3c46c17bbd4e375d5bd6 Mon Sep 17 00:00:00 2001
-From: Hannes Domani <ssbssa@yahoo.de>
-Date: Thu, 25 Feb 2016 21:03:29 +0100
-Subject: [PATCH 5/5] Don't close any handle if callback functions are used
-
-Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
----
- src/device.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/src/device.c b/src/device.c
-index af735e0..baa4bc5 100644
---- a/src/device.c
-+++ b/src/device.c
-@@ -406,6 +406,11 @@ int dvdcss_open_device ( dvdcss_t dvdcss )
-
- int dvdcss_close_device ( dvdcss_t dvdcss )
- {
-+ if( dvdcss->p_stream )
-+ {
-+ return 0;
-+ }
-+
- #if defined( _WIN32 )
- /* Free readv temporary buffer */
- free( dvdcss->p_readv_buffer );
---
-2.10.0
-
diff --git a/libraries/libdwarf/README b/libraries/libdwarf/README
new file mode 100644
index 0000000000..4931a4ce82
--- /dev/null
+++ b/libraries/libdwarf/README
@@ -0,0 +1,9 @@
+libdwarf (DWARF parser/generator library)
+
+Libdwarf is a library and a set of command-line tools for reading and
+writing DWARF2 and later debugging information. Libdwarf handles the
+details of the actual format so coders can focus on the content.
+- Abstracts away implementation details of DWARF information
+- Includes DWARF pretty printer (dwarfdump)
+- tsearch implementations included
+- Reads elf, mach-o dSYM, and PE object DWARF2-5 information
diff --git a/libraries/libdwarf/libdwarf.SlackBuild b/libraries/libdwarf/libdwarf.SlackBuild
new file mode 100644
index 0000000000..a8b97f2aa9
--- /dev/null
+++ b/libraries/libdwarf/libdwarf.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libdwarf
+
+# Copyright 2020 Andy Goth <andrew.m.goth@gmail.com> 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=libdwarf
+VERSION=${VERSION:-20200114}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $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 \
+ --enable-shared --disable-static \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --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 NEWS AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/share/libdwarf/libdwarf-devel/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/libdwarf
+
+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
diff --git a/libraries/libdwarf/libdwarf.info b/libraries/libdwarf/libdwarf.info
new file mode 100644
index 0000000000..799c594b43
--- /dev/null
+++ b/libraries/libdwarf/libdwarf.info
@@ -0,0 +1,10 @@
+PRGNAM="libdwarf"
+VERSION="20200114"
+HOMEPAGE="https://www.prevanders.net/dwarf.html"
+DOWNLOAD="https://www.prevanders.net/libdwarf-20200114.tar.gz"
+MD5SUM="fa710b5e4662330cbbf55a565e5c497b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andy Goth"
+EMAIL="andrew.m.goth@gmail.com"
diff --git a/libraries/libdwarf/slack-desc b/libraries/libdwarf/slack-desc
new file mode 100644
index 0000000000..cc58388981
--- /dev/null
+++ b/libraries/libdwarf/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------------------------------------------------------|
+libdwarf: libdwarf (DWARF parser/generator library)
+libdwarf:
+libdwarf: Libdwarf is a library and a set of command-line tools for reading and
+libdwarf: writing DWARF2 and later debugging information. Libdwarf handles the
+libdwarf: details of the actual format so coders can focus on the content.
+libdwarf: - Abstracts away implementation details of DWARF information
+libdwarf: - Includes DWARF pretty printer (dwarfdump)
+libdwarf: - tsearch implementations included
+libdwarf: - Reads elf, mach-o dSYM, and PE object DWARF2-5 information
+libdwarf:
+libdwarf: Project Site: https://www.prevanders.net/dwarf.html
diff --git a/libraries/libdynamite/libdynamite.SlackBuild b/libraries/libdynamite/libdynamite.SlackBuild
index c6fa4a712b..69215242c5 100644
--- a/libraries/libdynamite/libdynamite.SlackBuild
+++ b/libraries/libdynamite/libdynamite.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libdynamite
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdynamite
VERSION=${VERSION:-0.1.1}
-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"
@@ -77,8 +87,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libe-book/libe-book.SlackBuild b/libraries/libe-book/libe-book.SlackBuild
index 6204e52c82..e48278648d 100644
--- a/libraries/libe-book/libe-book.SlackBuild
+++ b/libraries/libe-book/libe-book.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libe-book
-# Copyright 2015, 2017-2018 Hunter Sezen California, USA
+# Copyright 2015, 2017-2018, 2020 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=libe-book
VERSION=${VERSION:-0.1.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
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,6 +90,13 @@ else
cppunit='--disable-tests'
fi
+# Fix build with icu4c-68.1
+# https://unicode-org.atlassian.net/browse/ICU-21267
+sed -i 's/TRUE/true/g' src/lib/EBOOKCharsetConverter.cpp
+
+autoreconf -fi
+
+CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -93,15 +110,17 @@ CXXFLAGS="$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
+find $PKG -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 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/libraries/libearth/libearth.SlackBuild b/libraries/libearth/libearth.SlackBuild
index 7e86b3c9fb..0ed70c83a0 100644
--- a/libraries/libearth/libearth.SlackBuild
+++ b/libraries/libearth/libearth.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libearth
@@ -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=libearth
VERSION=${VERSION:-0.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}
@@ -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/libraries/libeatmydata/README b/libraries/libeatmydata/README
index 2436e2fb1f..53459e3969 100644
--- a/libraries/libeatmydata/README
+++ b/libraries/libeatmydata/README
@@ -1,7 +1,7 @@
-libeatmydata is a small LD_PRELOAD library designed to (transparently) disable
-fsync (and friends, like open(O_SYNC)). This has two side-effects: making
-software that writes data safely to disk a lot quicker and making this
-software no longer crash safe.
+libeatmydata is a small LD_PRELOAD library designed to (transparently)
+disable fsync (and friends, like open(O_SYNC)). This has two
+side-effects: making software that writes data safely to disk a lot
+quicker and making this software no longer crash safe.
-DO NOT use libeatmydata on software where you care about what it stores.
-It's called libEAT-MY-DATA for a reason.
+DO NOT use libeatmydata on software where you care about what it
+stores. It's called libEAT-MY-DATA for a reason.
diff --git a/libraries/libeatmydata/libeatmydata.SlackBuild b/libraries/libeatmydata/libeatmydata.SlackBuild
index 0d62270cec..38221ef8fb 100644
--- a/libraries/libeatmydata/libeatmydata.SlackBuild
+++ b/libraries/libeatmydata/libeatmydata.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libeatmydata
#
-# Copyright 2013-2017 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2013-2022 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - Fix PRINT_PACKAGE_NAME.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libeatmydata
-VERSION=${VERSION:-105}
+VERSION=${VERSION:-129}
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 [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,9 +76,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,12 +92,14 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog README \
+cp -a AUTHORS COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libeatmydata/libeatmydata.info b/libraries/libeatmydata/libeatmydata.info
index ba204c5676..1529398463 100644
--- a/libraries/libeatmydata/libeatmydata.info
+++ b/libraries/libeatmydata/libeatmydata.info
@@ -1,8 +1,8 @@
PRGNAM="libeatmydata"
-VERSION="105"
+VERSION="129"
HOMEPAGE="https://www.flamingspork.com/projects/libeatmydata/"
-DOWNLOAD="https://www.flamingspork.com/projects/libeatmydata/libeatmydata-105.tar.gz"
-MD5SUM="6681166466e589eb0d71177709361256"
+DOWNLOAD="https://www.flamingspork.com/projects/libeatmydata/libeatmydata-129.tar.gz"
+MD5SUM="b534af90894134face41ee5c5632dfc8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libebml/README b/libraries/libebml/README
index 429af8b8e1..c2a9887a6a 100644
--- a/libraries/libebml/README
+++ b/libraries/libebml/README
@@ -1,6 +1,3 @@
libebml is a C++ libary to parse EBML files. EBML (Extensible Binary
Meta-Language library) is a simple XML like binary language for
describing data in structured style.
-
-Interested parties can build static libs by passing STATICLIB=yes to the
-script.
diff --git a/libraries/libebml/libebml.SlackBuild b/libraries/libebml/libebml.SlackBuild
index 1af1d755aa..a0cd2a15de 100644
--- a/libraries/libebml/libebml.SlackBuild
+++ b/libraries/libebml/libebml.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libebml
@@ -24,26 +24,36 @@
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libebml
-VERSION=${VERSION:-1.3.6}
+VERSION=${VERSION:-1.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}
-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,15 +81,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/patch.patch
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
@@ -88,11 +98,11 @@ make install/strip DESTDIR=$PKG
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENSE.LGPL $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a NEWS.md README.md LICENSE.LGPL $PKG/usr/doc/$PRGNAM-$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/libraries/libebml/libebml.info b/libraries/libebml/libebml.info
index 17ef491720..c6b168c8f7 100644
--- a/libraries/libebml/libebml.info
+++ b/libraries/libebml/libebml.info
@@ -1,8 +1,8 @@
PRGNAM="libebml"
-VERSION="1.3.6"
+VERSION="1.4.4"
HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix/source.html"
-DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-1.3.6.tar.xz"
-MD5SUM="3e2bc574bb22582c724ab659652fe0db"
+DOWNLOAD="http://dl.matroska.org/downloads/libebml/libebml-1.4.4.tar.xz"
+MD5SUM="d521691cad7200850a78ddc1264e9ef9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libebml/patch.patch b/libraries/libebml/patch.patch
deleted file mode 100644
index 3e341d0792..0000000000
--- a/libraries/libebml/patch.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From e46906b80e7662fb78d305f576412f9fa4a22218 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
-Date: Mon, 23 Apr 2018 12:05:42 +0200
-Subject: [PATCH] EbmlSInteger: Use <limits> instead of <climits>
-
-The former is the proper header to use for std::numerical_limits
----
- src/EbmlSInteger.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/EbmlSInteger.cpp b/src/EbmlSInteger.cpp
-index 33f3637..b930f7d 100644
---- a/src/EbmlSInteger.cpp
-+++ b/src/EbmlSInteger.cpp
-@@ -33,7 +33,7 @@
- \author Moritz Bunkus <moritz @ bunkus.org>
- */
- #include <cassert>
--#include <climits>
-+#include <limits>
-
- #include "ebml/EbmlSInteger.h"
-
diff --git a/libraries/libechonest/README b/libraries/libechonest/README
deleted file mode 100644
index a2c17f82e1..0000000000
--- a/libraries/libechonest/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Qt library for communicating with The Echo Nest. It currently supports
-almost all of the features of the Echo Nest API, including all API
-functions.
diff --git a/libraries/libechonest/libechonest-fix-double-encoding-on-qt4.patch b/libraries/libechonest/libechonest-fix-double-encoding-on-qt4.patch
deleted file mode 100644
index 0ebee8b1e5..0000000000
--- a/libraries/libechonest/libechonest-fix-double-encoding-on-qt4.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 009514f65044823ef29045397d4b58dd04d09977 Mon Sep 17 00:00:00 2001
-From: Leo Franchi <lfranchi@dropbox.com>
-Date: Mon, 18 May 2015 22:08:31 -0400
-Subject: Don't double-encode on Qt4
-
-Fixes issue #27
----
- src/Util.cpp | 4 +++-
- tests/PlaylistTest.cpp | 22 ++++++++++++++++++++++
- tests/PlaylistTest.h | 1 +
- 3 files changed, 26 insertions(+), 1 deletion(-)
-
-diff --git a/src/Util.cpp b/src/Util.cpp
-index 8401e8c..595435b 100644
---- a/src/Util.cpp
-+++ b/src/Util.cpp
-@@ -150,7 +150,9 @@ void Echonest::urlAddQueryItem(QUrl& url, const QString& key, const QString& val
- urlQuery.addQueryItem( key, value );
- url.setQuery( urlQuery );
- #else
-- url.addQueryItem( key, value );
-+ // We assume here that the key and values, though QStrings, are actually latin1 and not UTF-8.
-+ // That is, they've already gone through playlistParamToString(). This is terrible.
-+ url.addEncodedQueryItem( key.toLatin1(), value.toLatin1() );
- #endif
- }
-
-diff --git a/tests/PlaylistTest.cpp b/tests/PlaylistTest.cpp
-index 6f7c606..2ec7eb2 100644
---- a/tests/PlaylistTest.cpp
-+++ b/tests/PlaylistTest.cpp
-@@ -201,6 +201,28 @@ void PlaylistTest::testStaticXSPF()
- }
-
-
-+void PlaylistTest::testStaticWithSpecialChars()
-+{
-+ DynamicPlaylist::PlaylistParams p;
-+ p.append( DynamicPlaylist::PlaylistParamData( Echonest::DynamicPlaylist::Artist, QString::fromUtf8( "Björk" ) ) );
-+ p.append( DynamicPlaylist::PlaylistParamData( Echonest::DynamicPlaylist::Type, Echonest::DynamicPlaylist::ArtistRadioType ) );
-+ p.append( DynamicPlaylist::PlaylistParamData( Echonest::DynamicPlaylist::Results, 10 ) );
-+
-+ QNetworkReply* reply = DynamicPlaylist::staticPlaylist( p );
-+
-+ QVERIFY( reply->url().toEncoded() == "http://developer.echonest.com/api/v4/playlist/static?api_key=JGJCRKWLXLBZIFAZB&format=xml&artist=Bj%C3%B6rk&type=artist-radio&results=10" );
-+
-+ QEventLoop loop;
-+ loop.connect( reply, SIGNAL(finished()), SLOT(quit()) );
-+ loop.exec();
-+ SongList songs = DynamicPlaylist::parseStaticPlaylist( reply );
-+
-+ QVERIFY( songs.size() == 10 );
-+ Q_FOREACH( const Song& song, songs )
-+ QVERIFY( !song.id().isEmpty() );
-+
-+}
-+
- void PlaylistTest::testDynamic1()
- {
- DynamicPlaylist::PlaylistParams p;
-diff --git a/tests/PlaylistTest.h b/tests/PlaylistTest.h
-index 9d75c05..71c21d6 100644
---- a/tests/PlaylistTest.h
-+++ b/tests/PlaylistTest.h
-@@ -30,6 +30,7 @@ private slots:
- void testStaticArtistYears();
- void testStaticWithSongType();
- void testStaticXSPF();
-+ void testStaticWithSpecialChars();
- void testDynamic1();
- void testDynamic2();
- void testNewDynamicAPI();
---
-cgit v0.11.2
-
diff --git a/libraries/libechonest/libechonest.SlackBuild b/libraries/libechonest/libechonest.SlackBuild
deleted file mode 100644
index 59b03bf995..0000000000
--- a/libraries/libechonest/libechonest.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libechonest
-
-# Copyright 2011 James Axl <axlrose112@gmail.com>
-# Copyright 2014-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=libechonest
-VERSION=${VERSION:-2.3.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 [ "$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 {} \;
-
-# Upstream fix - git revision 009514f
-patch -p1 -i $CWD/libechonest-fix-double-encoding-on-qt4.patch
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- ..
-
- 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS 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/libraries/libechonest/libechonest.info b/libraries/libechonest/libechonest.info
deleted file mode 100644
index 7a18e43ba7..0000000000
--- a/libraries/libechonest/libechonest.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libechonest"
-VERSION="2.3.1"
-HOMEPAGE="https://projects.kde.org/projects/playground/libs/libechonest"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/libechonest-2.3.1.tar.bz2"
-MD5SUM="d8c60545b056145dc66882971a0acf9c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/libraries/libechonest/slack-desc b/libraries/libechonest/slack-desc
deleted file mode 100644
index da65cc34c5..0000000000
--- a/libraries/libechonest/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------------------------------------------------------|
-libechonest: libechonest (Echo Nest communication library)
-libechonest:
-libechonest: Qt library for communicating with The Echo Nest.
-libechonest: It currently supports almost all of the features of the Echo Nest API,
-libechonest: including all API functions.
-libechonest:
-libechonest:
-libechonest:
-libechonest:
-libechonest:
-libechonest:
diff --git a/libraries/libedit/README b/libraries/libedit/README
deleted file mode 100644
index 026d498ff5..0000000000
--- a/libraries/libedit/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This is an autotool- and libtoolized port of the NetBSD Editline
-library (libedit). This Berkeley-style licensed command line editor
-library provides generic line editing, history, and tokenization
-functions, similar to those found in GNU Readline.
-
-The slackbuild has a build time variable called LIBEDIT_WIDEC, which if set to
-`yes', turns on the wide character support of the built libedit library.
-Although the support is there, initial testing shows that it acts weird, and
-displays Unicode byte sequences instead of the real typed-in characters. You
-can experiment with it, but don't count on it until it is cleared up.
-The default build option was and is disabled widechar support.
diff --git a/libraries/libedit/libedit.SlackBuild b/libraries/libedit/libedit.SlackBuild
deleted file mode 100644
index f27b861524..0000000000
--- a/libraries/libedit/libedit.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libedit
-
-# Copyright 2011 Mikko Värri, Finland
-# Copyright 2013-2019 LEVAI Daniel <leva@ecentrum.hu>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libedit
-VERSION=${VERSION:-20190324_3.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}
-
-SRC_VERSION=$(echo $VERSION | tr _ -)
-
-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-$SRC_VERSION
-tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz
-cd $PRGNAM-$SRC_VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 {} \;
-
-if [ "${LIBEDIT_WIDEC}" = 'yes' ];then
- LIBEDIT_WIDEC='--enable-widec'
-else
- LIBEDIT_WIDEC='--disable-widec'
-fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --disable-static \
- --build=$ARCH-slackware-linux \
- "${LIBEDIT_WIDEC}"
-
-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 COPYING ChangeLog INSTALL 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/libraries/libedit/libedit.info b/libraries/libedit/libedit.info
deleted file mode 100644
index c9a4f11e3e..0000000000
--- a/libraries/libedit/libedit.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libedit"
-VERSION="20190324_3.1"
-HOMEPAGE="http://www.thrysoee.dk/editline/"
-DOWNLOAD="http://thrysoee.dk/editline/libedit-20190324-3.1.tar.gz"
-MD5SUM="bec755c8044ad84b752dfe49a0b371d8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="LEVAI Daniel"
-EMAIL="leva@ecentrum.hu"
diff --git a/libraries/libedit/slack-desc b/libraries/libedit/slack-desc
deleted file mode 100644
index e500ae85a3..0000000000
--- a/libraries/libedit/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------------------------------------------------------|
-libedit: libedit (Command line editor library)
-libedit:
-libedit: This is an autotool- and libtoolized port of the NetBSD Editline
-libedit: library (libedit). This Berkeley-style licensed command line editor
-libedit: library provides generic line editing, history, and tokenization
-libedit: functions, similar to those found in GNU Readline.
-libedit:
-libedit: Homepage: http://www.thrysoee.dk/editline/
-libedit:
-libedit:
-libedit:
diff --git a/libraries/libeditline/README b/libraries/libeditline/README
new file mode 100644
index 0000000000..aa7ce7d357
--- /dev/null
+++ b/libraries/libeditline/README
@@ -0,0 +1,7 @@
+This is a line-editing library. It can be linked into almost
+any program to provide command-line editing and recall.
+It is call-compatible with a subset of the FSF readline library,
+but it is a fraction of the size (and offers fewer features).
+This package contains the runtime library only.
+
+by ~red
diff --git a/libraries/libeditline/libeditline.SlackBuild b/libraries/libeditline/libeditline.SlackBuild
new file mode 100644
index 0000000000..0d4ec600a6
--- /dev/null
+++ b/libraries/libeditline/libeditline.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for libeditline
+
+# Copyright 2019-2021 Pouria Rezaei <Pouria.rz@outlook.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libeditline
+VERSION=${VERSION:-1.17.1}
+SRCNAM=editline
+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.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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-silent-rules \
+ --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
+
+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
diff --git a/libraries/libeditline/libeditline.info b/libraries/libeditline/libeditline.info
new file mode 100644
index 0000000000..87fb1dcf95
--- /dev/null
+++ b/libraries/libeditline/libeditline.info
@@ -0,0 +1,10 @@
+PRGNAM="libeditline"
+VERSION="1.17.1"
+HOMEPAGE="https://troglobit.com/projects/editline/"
+DOWNLOAD="https://github.com/troglobit/editline/releases/download/1.17.1/editline-1.17.1.tar.gz"
+MD5SUM="732fb25b3777f089e18a32725712e9c4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Pouria Rezaei"
+EMAIL="Pouria.rz@outlook.com"
diff --git a/libraries/libeditline/slack-desc b/libraries/libeditline/slack-desc
new file mode 100644
index 0000000000..11403932b6
--- /dev/null
+++ b/libraries/libeditline/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------------------------------------------------------|
+libeditline: libeditline (Line editing library)
+libeditline:
+libeditline: This is a line-editing library. It can be linked into almost
+libeditline: any program to provide command-line editing and recall.
+libeditline: It is call-compatible with a subset of the FSF readline library,
+libeditline: but it is a fraction of the size (and offers fewer features).
+libeditline: This package contains the runtime library only.
+libeditline:
+libeditline: Homepage: https://troglobit.com/projects/editline/
+libeditline:
+libeditline:
diff --git a/libraries/libee/libee.SlackBuild b/libraries/libee/libee.SlackBuild
index 2044fc4991..05297f3f1c 100644
--- a/libraries/libee/libee.SlackBuild
+++ b/libraries/libee/libee.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libee
@@ -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=libee
VERSION=${VERSION:-0.4.1}
-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"
@@ -91,8 +101,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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/libraries/libei/0001-oeffis-OEFFIS_DEVICE_ALL_DEVICES-should-translate-to.patch b/libraries/libei/0001-oeffis-OEFFIS_DEVICE_ALL_DEVICES-should-translate-to.patch
new file mode 100644
index 0000000000..f56d9a7bc6
--- /dev/null
+++ b/libraries/libei/0001-oeffis-OEFFIS_DEVICE_ALL_DEVICES-should-translate-to.patch
@@ -0,0 +1,36 @@
+From 5812782885624648d3d198edab5af314abadfee4 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Wed, 13 Dec 2023 13:31:00 +1000
+Subject: [PATCH] oeffis: OEFFIS_DEVICE_ALL_DEVICES should translate to "all"
+
+As the portal documentation [1] says:
+ Bitmask of what device types to request remote controlling of. Default is all.
+
+The default is only triggered if we do not submit the types at all, the
+current behavior of sending a value of 0 means "none". Fix this by
+skipping the "types" key if we try to select for all devices.
+
+[1] https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.RemoteDesktop.html
+
+Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+---
+ src/liboeffis.c | 2 +-
+ test/test_oeffis.py | 24 ++++++++++++++++++++++++
+ 2 files changed, 25 insertions(+), 1 deletion(-)
+
+diff --git a/src/liboeffis.c b/src/liboeffis.c
+index 93b83176..7d2ec353 100644
+--- a/src/liboeffis.c
++++ b/src/liboeffis.c
+@@ -560,7 +560,7 @@ portal_select_devices(struct oeffis *oeffis)
+ &response,
+ "oa{sv}",
+ oeffis->session_path,
+- 2,
++ oeffis->devices == OEFFIS_DEVICE_ALL_DEVICES ? 1 : 2,
+ "handle_token", /* string key */
+ "s", token, /* variant string */
+ "types", /* string key */
+--
+2.43.0
+
diff --git a/libraries/libei/README b/libraries/libei/README
new file mode 100644
index 0000000000..7d50f4af03
--- /dev/null
+++ b/libraries/libei/README
@@ -0,0 +1,6 @@
+libei is a library for Emulated Input, primarily aimed at the
+Wayland stack. It provides three parts:
+* EI (Emulated Input) for the client side (libei)
+* EIS (Emulated Input Server) for the server side (libeis)
+* oeffis is an optional helper library for DBus communication
+with the XDG RemoteDesktop portal (liboeffis)
diff --git a/libraries/libei/libei.SlackBuild b/libraries/libei/libei.SlackBuild
new file mode 100644
index 0000000000..661c0a4e47
--- /dev/null
+++ b/libraries/libei/libei.SlackBuild
@@ -0,0 +1,133 @@
+#!/bin/bash
+
+# Slackware build script for libei
+
+# Copyright 2023-2024 Nathaniel Russell <naterussell83@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=libei
+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"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+patch -Np1 -i $CWD/0001-oeffis-OEFFIS_DEVICE_ALL_DEVICES-should-translate-to.patch
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 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 \
+ -Dsd-bus-provider=libelogind \
+ -Ddocumentation=api \
+ -Dliboeffis=auto \
+ -Dtests=disabled
+ "${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
+
+# Compress and link manpages, if any:
+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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libei/libei.info b/libraries/libei/libei.info
new file mode 100644
index 0000000000..e181622da0
--- /dev/null
+++ b/libraries/libei/libei.info
@@ -0,0 +1,10 @@
+PRGNAM="libei"
+VERSION="1.2.0"
+HOMEPAGE="https://gitlab.freedesktop.org/libinput/libei"
+DOWNLOAD="https://gitlab.freedesktop.org/libinput/libei/-/archive/1.2.0/libei-1.2.0.tar.gz"
+MD5SUM="b0dcf2325c3c0cc51ebdd1aca51c4a55"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-attrs"
+MAINTAINER="Nathaniel Russell"
+EMAIL="naterussell83@gmail.com"
diff --git a/libraries/libei/slack-desc b/libraries/libei/slack-desc
new file mode 100644
index 0000000000..ed9f47b23f
--- /dev/null
+++ b/libraries/libei/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------------------------------------------------------|
+libei: libei (library for Emulated Input)
+libei:
+libei: libei is a library for Emulated Input, primarily aimed at the Wayland
+libei: stack. It provides three parts:
+libei: * EI (Emulated Input) for the client side (libei)
+libei: * EIS (Emulated Input Server) for the server side (libeis)
+libei: * oeffis is an optional helper library for DBus communication with the
+libei: XDG RemoteDesktop portal (liboeffis)
+libei:
+libei: https://gitlab.freedesktop.org/libinput/libei
+libei:
diff --git a/libraries/libeot/libeot.SlackBuild b/libraries/libeot/libeot.SlackBuild
index 931651a657..392f76c46f 100644
--- a/libraries/libeot/libeot.SlackBuild
+++ b/libraries/libeot/libeot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libeot
@@ -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=libeot
VERSION=${VERSION:-0.01}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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,8 +97,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE PATENTS $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/libraries/libepubgen/libepubgen.SlackBuild b/libraries/libepubgen/libepubgen.SlackBuild
index 57f3ce7e89..ee6f1c2ce9 100644
--- a/libraries/libepubgen/libepubgen.SlackBuild
+++ b/libraries/libepubgen/libepubgen.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libepubgen
@@ -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=libepubgen
VERSION=${VERSION:-0.1.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}
@@ -100,8 +110,10 @@ 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
+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/libraries/libesedb/README b/libraries/libesedb/README
index 61843f5fae..00c8916e56 100644
--- a/libraries/libesedb/README
+++ b/libraries/libesedb/README
@@ -1,6 +1,6 @@
libesedb (libYAL library for ESE databases)
-Library and tools to access the Extensible Storage Engine (ESE) Database File
-(EDB) format. ESEDB is used in may different applications like Windows Search,
-Windows Mail, Exchange, Active Directory, etc.
-
+Library and tools to access the Extensible Storage Engine (ESE)
+Database File (EDB) format. ESEDB is used in may different
+applications like Windows Search, Windows Mail, Exchange, Active
+Directory, etc.
diff --git a/libraries/libesedb/libesedb.SlackBuild b/libraries/libesedb/libesedb.SlackBuild
index c8f690bca7..e4949f3277 100644
--- a/libraries/libesedb/libesedb.SlackBuild
+++ b/libraries/libesedb/libesedb.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libesedb
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20230318, July 2023
-# Updated v20181229 March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libesedb
+VERSION=${VERSION:-20230318}
STATUS=${STATUS:-experimental}
-VERSION=${VERSION:-20181229}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libesedb/libesedb.info b/libraries/libesedb/libesedb.info
index f5038c4661..e3eeaeec01 100644
--- a/libraries/libesedb/libesedb.info
+++ b/libraries/libesedb/libesedb.info
@@ -1,8 +1,8 @@
PRGNAM="libesedb"
-VERSION="20181229"
+VERSION="20230318"
HOMEPAGE="https://github.com/libyal/libesedb"
-DOWNLOAD="https://github.com/libyal/libesedb/releases/download/20181229/libesedb-experimental-20181229.tar.gz"
-MD5SUM="998a37b07418292e7ba8ea7f51343366"
+DOWNLOAD="https://linuxleo.com/Source/libesedb-experimental-20230318.tar.gz"
+MD5SUM="32836fbeb8146026770f5f7d13f727fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libesmtp/README b/libraries/libesmtp/README
index de042ea2b9..610329666c 100644
--- a/libraries/libesmtp/README
+++ b/libraries/libesmtp/README
@@ -1,7 +1,7 @@
-LibESMTP is a library to manage posting (or submission of) electronic mail
-using SMTP to a preconfigured Mail Transport Agent (MTA) such as Exim. It may
-be used as part of a Mail User Agent (MUA) or another program that must be
-able to post electronic mail but where mail functionality is not the
-program's primary purpose. LibESMTP is not intended to be used as part of a
-program that implements a Mail Transport Agent.
-
+LibESMTP is a library to manage posting (or submission of) electronic
+mail using SMTP to a preconfigured Mail Transport Agent (MTA) such as
+Exim. It may be used as part of a Mail User Agent (MUA) or another
+program that must be able to post electronic mail but where mail
+functionality is not the program's primary purpose. LibESMTP is
+not intended to be used as part of a program that implements a Mail
+Transport Agent.
diff --git a/libraries/libesmtp/libesmtp.SlackBuild b/libraries/libesmtp/libesmtp.SlackBuild
index a9aeedaa42..c677a12a0b 100644
--- a/libraries/libesmtp/libesmtp.SlackBuild
+++ b/libraries/libesmtp/libesmtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libesmtp
# Written by Vasilis Papavasileiou <el03020 at mail dot ntua dot gr>
@@ -6,10 +6,13 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libesmtp
VERSION=${VERSION:-1.0.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -72,8 +82,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/libraries/libestr/libestr.SlackBuild b/libraries/libestr/libestr.SlackBuild
index bac35c9055..de6761b76a 100644
--- a/libraries/libestr/libestr.SlackBuild
+++ b/libraries/libestr/libestr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libestr
@@ -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=libestr
VERSION=${VERSION:-0.1.9}
-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"
@@ -91,8 +101,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog 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/libraries/libetonyek/libetonyek.SlackBuild b/libraries/libetonyek/libetonyek.SlackBuild
index 4eeb23a12d..a11ac527b4 100644
--- a/libraries/libetonyek/libetonyek.SlackBuild
+++ b/libraries/libetonyek/libetonyek.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libetonyek
-# Copyright 2015-2019 Hunter Sezen California, USA
+# Copyright 2015-2020 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=libetonyek
-VERSION=${VERSION:-0.1.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.1.10}
+BUILD=${BUILD:-4}
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,7 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-mdds=1.5 \
+ --with-mdds=2.0 \
--build=$ARCH-slackware-linux \
$cppunit $doc
@@ -103,8 +113,10 @@ cp -a AUTHORS COPYING ChangeLog FEATURES 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/libraries/libetonyek/libetonyek.info b/libraries/libetonyek/libetonyek.info
index 413aaa912f..eab805d6d3 100644
--- a/libraries/libetonyek/libetonyek.info
+++ b/libraries/libetonyek/libetonyek.info
@@ -1,8 +1,8 @@
PRGNAM="libetonyek"
-VERSION="0.1.9"
+VERSION="0.1.10"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
-DOWNLOAD="https://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.9.tar.xz"
-MD5SUM="b891c14c5233f93fb7db052b5762a692"
+DOWNLOAD="https://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.10.tar.xz"
+MD5SUM="c29792ef7d4cb98463e3c3ec3e56ace6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="glm liblangtag mdds"
diff --git a/libraries/libetpan/libetpan.SlackBuild b/libraries/libetpan/libetpan.SlackBuild
index 4304acbabc..5258d598e6 100644
--- a/libraries/libetpan/libetpan.SlackBuild
+++ b/libraries/libetpan/libetpan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libetpan
#
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty AUTHORS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libetpan
-VERSION=${VERSION:-1.9.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.9.4}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
NOCONFIGURE=yes ./autogen.sh
@@ -84,12 +94,14 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYRIGHT ChangeLog NEWS README.md \
+cp -a COPYRIGHT ChangeLog 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/libraries/libetpan/libetpan.info b/libraries/libetpan/libetpan.info
index 5e71264cd5..cda729c1b6 100644
--- a/libraries/libetpan/libetpan.info
+++ b/libraries/libetpan/libetpan.info
@@ -1,8 +1,8 @@
PRGNAM="libetpan"
-VERSION="1.9.3"
+VERSION="1.9.4"
HOMEPAGE="https://www.etpan.org/"
-DOWNLOAD="https://github.com/dinhviethoa/libetpan/archive/1.9.3/libetpan-1.9.3.tar.gz"
-MD5SUM="42462e839b7d78c057e485dcb80d7d1c"
+DOWNLOAD="https://github.com/dinhviethoa/libetpan/archive/1.9.4/libetpan-1.9.4.tar.gz"
+MD5SUM="66bc8ccb241123aa61d405a576763a44"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libev/README b/libraries/libev/README
deleted file mode 100644
index f7826e9dd5..0000000000
--- a/libraries/libev/README
+++ /dev/null
@@ -1,12 +0,0 @@
-libev (a high-performance event loop/model)
-
-Libev is modelled (very loosely) after libevent and the Event perl
-module, but is faster, scales better and is more correct, and also
-more featureful. And also smaller. Yay.
-
-Note: libev and libevent both have a usr/include/event.h
-header file. This could have lead to compile problems if both
-packages were installed at the same time, so it has been moved to
-usr/include/libev/event.h. Add CPPFLAGS="-I/usr/include/libev" to
-the SlackBuild if the software you're building over this needs the
-libevent compatibility layer (lighttpd2 and i3 don't).
diff --git a/libraries/libev/libev.SlackBuild b/libraries/libev/libev.SlackBuild
deleted file mode 100644
index a740e2ed67..0000000000
--- a/libraries/libev/libev.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libev
-
-# Written by Šime Ramov <s@ramov.com>
-# Maintained (2012-2020) by Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libev
-VERSION=${VERSION:-4.31}
-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 {} \;
-
-# Force CFLAGS
-sed -i "s|-g -O3|$SLKCFLAGS|" configure || exit 1
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# avoid conflicting with libevent, we move an header in a subfolder
-# and we will explicitly add CPPFLAGS="-I/usr/include/libev" when
-# building software depending on this, if needed: lighttpd2 and i3,
-# for example, don't need this header.
-mkdir -p $PKG/usr/include/libev
-mv $PKG/usr/include/event.h $PKG/usr/include/libev/
-
-find $PKG -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 LICENSE Changes $PKG/usr/doc/$PRGNAM-$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/libraries/libev/libev.info b/libraries/libev/libev.info
deleted file mode 100644
index 1e9e187cf3..0000000000
--- a/libraries/libev/libev.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libev"
-VERSION="4.31"
-HOMEPAGE="http://software.schmorp.de/pkg/libev.html"
-DOWNLOAD="http://dist.schmorp.de/libev/Attic/libev-4.31.tar.gz"
-MD5SUM="20111fda0df0a289c152faa2aac91b08"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libev/slack-desc b/libraries/libev/slack-desc
deleted file mode 100644
index 67d4ce48e7..0000000000
--- a/libraries/libev/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------------------------------------------------------|
-libev: libev (a high-performance event loop/model)
-libev:
-libev: Libev is modelled (very loosely) after libevent and the Event perl
-libev: module, but is faster, scales better and is more correct, and also
-libev: more featureful. And also smaller. Yay.
-libev:
-libev: Website: <http://software.schmorp.de/pkg/libev.html>
-libev:
-libev:
-libev:
-libev:
diff --git a/libraries/libevhtp/libevhtp.SlackBuild b/libraries/libevhtp/libevhtp.SlackBuild
index 4b6993221c..daef8877d6 100644
--- a/libraries/libevhtp/libevhtp.SlackBuild
+++ b/libraries/libevhtp/libevhtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libevhtp".
@@ -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=libevhtp
-VERSION=${VERSION:-1.2.10}
+VERSION=${VERSION:-1.2.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"
@@ -74,6 +84,8 @@ find -L . \
# fix wrong version number
sed -i "s/@PROJECT_VERSION@/${VERSION}/" evhtp.pc.in
+sed -i "s|/lib/pkgconfig|/lib$LIBDIRSUFFIX/pkgconfig|" CMakeLists.txt
+
mkdir -p build
cd build
cmake \
@@ -96,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/libraries/libevhtp/libevhtp.info b/libraries/libevhtp/libevhtp.info
index 64efb10f0f..cdd66ddc85 100644
--- a/libraries/libevhtp/libevhtp.info
+++ b/libraries/libevhtp/libevhtp.info
@@ -1,8 +1,8 @@
PRGNAM="libevhtp"
-VERSION="1.2.10"
+VERSION="1.2.16"
HOMEPAGE="https://github.com/criticalstack/libevhtp"
-DOWNLOAD="https://github.com/criticalstack/libevhtp/archive/1.2.10/libevhtp-1.2.10.tar.gz"
-MD5SUM="e7261c7e34654f78047431d169b88806"
+DOWNLOAD="https://github.com/criticalstack/libevhtp/archive/1.2.16/libevhtp-1.2.16.tar.gz"
+MD5SUM="6eebc21fe41201612ac814764bf7474a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libevt/libevt.SlackBuild b/libraries/libevt/libevt.SlackBuild
index 41cb969864..e7abb3bdbf 100644
--- a/libraries/libevt/libevt.SlackBuild
+++ b/libraries/libevt/libevt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libevt
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20221022 July 2023
-# Updated v20181227 March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libevt
+VERSION=${VERSION:-20221022}
STATUS=${STATUS:-alpha}
-VERSION=${VERSION:-20181227}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libevt/libevt.info b/libraries/libevt/libevt.info
index 7bc0253096..5e61217ff0 100644
--- a/libraries/libevt/libevt.info
+++ b/libraries/libevt/libevt.info
@@ -1,8 +1,8 @@
PRGNAM="libevt"
-VERSION="20181227"
+VERSION="20221022"
HOMEPAGE="https://github.com/libyal/libevt"
-DOWNLOAD="https://github.com/libyal/libevt/releases/download/20181227/libevt-alpha-20181227.tar.gz"
-MD5SUM="b3fbb99c97da20da42c135346ba0f9ba"
+DOWNLOAD="https://linuxleo.com/Source/libevt-alpha-20221022.tar.gz"
+MD5SUM="a7e204d482d9bd1d10ebd68fdf2496d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libevtx/libevtx.SlackBuild b/libraries/libevtx/libevtx.SlackBuild
index a3f0cf4751..ab5cf66883 100644
--- a/libraries/libevtx/libevtx.SlackBuild
+++ b/libraries/libevtx/libevtx.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libevtx
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20221101 July 2023
-# Updated v20181227 March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libevtx
STATUS=${STATUS:-alpha}
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20221101}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libevtx/libevtx.info b/libraries/libevtx/libevtx.info
index fbd66c6373..e68a8e09ee 100644
--- a/libraries/libevtx/libevtx.info
+++ b/libraries/libevtx/libevtx.info
@@ -1,8 +1,8 @@
PRGNAM="libevtx"
-VERSION="20181227"
+VERSION="20221101"
HOMEPAGE="https://github.com/libyal/libevtx"
-DOWNLOAD="https://github.com/libyal/libevtx/releases/download/20181227/libevtx-alpha-20181227.tar.gz"
-MD5SUM="438ab1f45ec931e091a3eecca4d7b9cf"
+DOWNLOAD="https://linuxleo.com/Source/libevtx-alpha-20221101.tar.gz"
+MD5SUM="2e074139362ed29fac89803b9edab1cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libewf/libewf.SlackBuild b/libraries/libewf/libewf.SlackBuild
index 866e5fc1f7..3c30c185c8 100644
--- a/libraries/libewf/libewf.SlackBuild
+++ b/libraries/libewf/libewf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libewf
@@ -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.
-# Updated v20140806, March 2019
+# Updated v20140814, July 2023. Barry J. Grundy (bgrundy<at>linuxleo.com)
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libewf
-VERSION=${VERSION:-20140806}
+VERSION=${VERSION:-20140814}
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,6 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--disable-static \
--enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -90,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README* documents/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS ChangeLog COPYING README documents/* $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/libraries/libewf/libewf.info b/libraries/libewf/libewf.info
index c0c738c78c..ae40b11f24 100644
--- a/libraries/libewf/libewf.info
+++ b/libraries/libewf/libewf.info
@@ -1,8 +1,8 @@
PRGNAM="libewf"
-VERSION="20140806"
-HOMEPAGE="https://github.com/libyal/libewf/"
-DOWNLOAD="https://github.com/libyal/libewf-legacy/releases/download/20140806/libewf-20140806.tar.gz"
-MD5SUM="e5e09e368c3891340d69c955a3d6c9ec"
+VERSION="20140814"
+HOMEPAGE="https://github.com/libyal/libewf-legacy/"
+DOWNLOAD="https://github.com/libyal/libewf-legacy/releases/download/20140814/libewf-20140814.tar.gz"
+MD5SUM="848032467f748344151469f86df67239"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libexe/README b/libraries/libexe/README
index 3b0ab1c657..fe75372829 100644
--- a/libraries/libexe/README
+++ b/libraries/libexe/README
@@ -2,7 +2,7 @@ libexe (libYAL EXE library)
libexe is a library to access the executable (EXE) format.
-At the moment the goal of this project is to provide functionality to parse
-EXE (PE/COFF) and the resources stored in them using libwrc.
-This functionality is used in libevt and libevtx to parse EventLog messages
+At the moment the goal of this project is to provide functionality to
+parse EXE (PE/COFF) and the resources stored in them using libwrc. This
+functionality is used in libevt and libevtx to parse EventLog messages
from PE/COFF message files.
diff --git a/libraries/libexe/libexe.SlackBuild b/libraries/libexe/libexe.SlackBuild
index e473c70c1c..d0433f1051 100644
--- a/libraries/libexe/libexe.SlackBuild
+++ b/libraries/libexe/libexe.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libexe
-
-# Copyright 2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20230318 July 2023
-# New Submission v20181128 Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libexe
-VERSION=${VERSION:-20181128}
+VERSION=${VERSION:-20230318}
STATUS=${STATUS:-experimental}
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"
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libexe/libexe.info b/libraries/libexe/libexe.info
index 254d83368d..96d8135585 100644
--- a/libraries/libexe/libexe.info
+++ b/libraries/libexe/libexe.info
@@ -1,8 +1,8 @@
PRGNAM="libexe"
-VERSION="20181128"
+VERSION="20230318"
HOMEPAGE="https://github.com/libyal/libexe"
-DOWNLOAD="https://github.com/libyal/libexe/releases/download/20181128/libexe-experimental-20181128.tar.gz"
-MD5SUM="0d878c436a842f60eadfe308211efd45"
+DOWNLOAD="https://linuxleo.com/Source/libexe-experimental-20230318.tar.gz"
+MD5SUM="95b1cc5f13fdc462d8c99d589797c7cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libexif-gtk/libexif-gtk.SlackBuild b/libraries/libexif-gtk/libexif-gtk.SlackBuild
index 6e6a307967..ec352e3763 100644
--- a/libraries/libexif-gtk/libexif-gtk.SlackBuild
+++ b/libraries/libexif-gtk/libexif-gtk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Build Script for libexif-gtk
@@ -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=libexif-gtk
VERSION=${VERSION:-0.3.5}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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="ABOUT-NLS COPYING ChangeLog INSTALL"
-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"
@@ -90,8 +100,10 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/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/libraries/libexttextcat/libexttextcat.SlackBuild b/libraries/libexttextcat/libexttextcat.SlackBuild
index e713ad19ce..0c41836eda 100644
--- a/libraries/libexttextcat/libexttextcat.SlackBuild
+++ b/libraries/libexttextcat/libexttextcat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libexttextcat
@@ -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=libexttextcat
VERSION=${VERSION:-3.4.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}
@@ -88,8 +98,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE 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/libraries/libfabric/README b/libraries/libfabric/README
new file mode 100644
index 0000000000..da8ef50c64
--- /dev/null
+++ b/libraries/libfabric/README
@@ -0,0 +1,4 @@
+The Open Fabrics Interfaces (OFI) is a framework focused
+on exporting fabric communication services to applications.
+
+This is an optional dependency of QEMU
diff --git a/libraries/libfabric/changelog b/libraries/libfabric/changelog
new file mode 100644
index 0000000000..936fd485a4
--- /dev/null
+++ b/libraries/libfabric/changelog
@@ -0,0 +1,24 @@
+Changelog for libfabric SlackBuild Script
+--------------------------------------------------------------------
+
+03/09/2022:
+
+Added to slackbuilds.org
+
+18/02/2023:
+
+libfabric slackbuild script fixed by B.Watson
+
+16/05/2023:
+
+Updated to version 1.18.0
+From this build onwards it will only build
+on x86_64 platform only.
+
+19/02/2024:
+
+Updated to version 1.20.1
+
+23/04/2024:
+
+Updated to version 1.21.0
diff --git a/libraries/libfabric/libfabric.SlackBuild b/libraries/libfabric/libfabric.SlackBuild
new file mode 100644
index 0000000000..6043fa3371
--- /dev/null
+++ b/libraries/libfabric/libfabric.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for libfabric
+
+# Copyright 2022-2024 Vijay Marcel
+
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libfabric
+VERSION=${VERSION:-1.21.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+sys_arch=${sys_arch:-$(uname -m)}
+
+case "$sys_arch" in
+ x86_64) export ARCH=x86_64 ;;
+ *) echo "This program will not build on $sys_arch platform" && 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}
+
+if [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ echo "This program will not build on $sys_arch platform" && exit 1
+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
+rm -rf $PKG
+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 \
+ --mandir=/usr/man \
+ --enable-shared \
+ --with-valgrind \
+ --disable-static \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CONTRIBUTORS README.md README COPYING NEWS.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libfabric/libfabric.info b/libraries/libfabric/libfabric.info
new file mode 100644
index 0000000000..e8b5d73c79
--- /dev/null
+++ b/libraries/libfabric/libfabric.info
@@ -0,0 +1,10 @@
+PRGNAM="libfabric"
+VERSION="1.21.0"
+HOMEPAGE="https://libfabric.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/ofiwg/libfabric/archive/v1.21.0/libfabric-1.21.0.tar.gz"
+MD5SUM_x86_64="43e7a7e473a9afc7b5af88fe56f06d17"
+REQUIRES="numactl rdma-core valgrind"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libfabric/slack-desc b/libraries/libfabric/slack-desc
new file mode 100644
index 0000000000..d7887a3265
--- /dev/null
+++ b/libraries/libfabric/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------------------------------------------------------|
+libfabric: libfabric (Open Fabrics Interface)
+libfabric:
+libfabric: The open fabrics interface is a framework based on
+libfabric: exporting fabric communication services to
+libfabric: applications.
+libfabric:
+libfabric:
+libfabric: Homepage:https://github.com/ofiwg/libfabric
+libfabric:
+libfabric:
+libfabric:
diff --git a/libraries/libfaketime/README b/libraries/libfaketime/README
index cec958c321..75c5be3705 100644
--- a/libraries/libfaketime/README
+++ b/libraries/libfaketime/README
@@ -1,10 +1,11 @@
libfaketime intercepts various system calls which programs use to
-retrieve the current date and time. It can then report faked dates and times
-(as specified by you, the user) to these programs. This means you can modify
-the system time a program sees without having to change the time system-wide.
+retrieve the current date and time. It can then report faked dates and
+times (as specified by you, the user) to these programs. This means
+you can modify the system time a program sees without having to change
+the time system-wide.
-libfaketime allows you to specify both absolute dates (e.g., 01/01/2004) and
-relative dates (e.g., 10 days ago).
+libfaketime allows you to specify both absolute dates (e.g.,
+01/01/2004) and relative dates (e.g., 10 days ago).
libfaketime might be used for various purposes, for example
diff --git a/libraries/libfaketime/libfaketime.SlackBuild b/libraries/libfaketime/libfaketime.SlackBuild
index d6aba11ab7..70ce838f4a 100644
--- a/libraries/libfaketime/libfaketime.SlackBuild
+++ b/libraries/libfaketime/libfaketime.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfaketime
-# Copyright 2016-2017 Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
+# Copyright 2016-2021 Giuseppe Di Terlizzi <giuseppe.diterlizzi@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=libfaketime
-VERSION=${VERSION:-0.9.7}
+VERSION=${VERSION:-0.9.9}
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/libraries/libfaketime/libfaketime.info b/libraries/libfaketime/libfaketime.info
index 52144d4a38..6b7bed9c56 100644
--- a/libraries/libfaketime/libfaketime.info
+++ b/libraries/libfaketime/libfaketime.info
@@ -1,8 +1,8 @@
PRGNAM="libfaketime"
-VERSION="0.9.7"
+VERSION="0.9.9"
HOMEPAGE="https://github.com/wolfcw/libfaketime"
-DOWNLOAD="https://github.com/wolfcw/libfaketime/archive/v0.9.7/libfaketime-0.9.7.tar.gz"
-MD5SUM="8617e2c6caf0977b3ce9a271f867302c"
+DOWNLOAD="https://github.com/wolfcw/libfaketime/archive/v0.9.9/libfaketime-0.9.9.tar.gz"
+MD5SUM="1f784c9c0ec7807b9d1107d1730dbb41"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfastjson/libfastjson.SlackBuild b/libraries/libfastjson/libfastjson.SlackBuild
index 995fc2cbd4..1d0426e692 100644
--- a/libraries/libfastjson/libfastjson.SlackBuild
+++ b/libraries/libfastjson/libfastjson.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfastjson
-# Copyright (c) 2017, Christophe Trussardi, Paris, France
+# Copyright (c) 2023, Christophe Trussardi, Paris, France
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -21,10 +21,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.
+# 20220418 bkw: Modified by SlackBuilds.org:
+# - remove useless empty README from doc dir.
+# - add useful docs to doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libfastjson
-VERSION=${VERSION:-0.99.8}
+VERSION=${VERSION:-1.2304.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,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}
@@ -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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,12 +95,13 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
+install -m0644 AUTHORS COPYING ChangeLog README.html $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/libraries/libfastjson/libfastjson.info b/libraries/libfastjson/libfastjson.info
index 24f5030e51..ca559f3013 100644
--- a/libraries/libfastjson/libfastjson.info
+++ b/libraries/libfastjson/libfastjson.info
@@ -1,8 +1,8 @@
PRGNAM="libfastjson"
-VERSION="0.99.8"
+VERSION="1.2304.0"
HOMEPAGE="https://www.rsyslog.com/"
-DOWNLOAD="http://download.rsyslog.com/libfastjson/libfastjson-0.99.8.tar.gz"
-MD5SUM="fe7b4eae1bf40499f6f92b51d7e5899e"
+DOWNLOAD="https://download.rsyslog.com/libfastjson/libfastjson-1.2304.0.tar.gz"
+MD5SUM="d949467b3ad51a258cf693c3c3f94112"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfdk-aac/libfdk-aac.SlackBuild b/libraries/libfdk-aac/libfdk-aac.SlackBuild
index 24698dddc9..976b275c0b 100644
--- a/libraries/libfdk-aac/libfdk-aac.SlackBuild
+++ b/libraries/libfdk-aac/libfdk-aac.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfdk-aac
# Copyright 2015, Andrew Strong, Blue Mountains Australia.
-# Copyright 2016-2019, Christoph Willing, Brisbane Australia
+# Copyright 2016-2023, Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=libfdk-aac
SRCNAM=fdk-aac
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.0.3}
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}
@@ -88,6 +98,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
@@ -99,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/libraries/libfdk-aac/libfdk-aac.info b/libraries/libfdk-aac/libfdk-aac.info
index 0f6b7af7c5..c7e472b9ef 100644
--- a/libraries/libfdk-aac/libfdk-aac.info
+++ b/libraries/libfdk-aac/libfdk-aac.info
@@ -1,8 +1,8 @@
PRGNAM="libfdk-aac"
-VERSION="2.0.1"
+VERSION="2.0.3"
HOMEPAGE="https://github.com/mstorsjo/fdk-aac"
-DOWNLOAD="https://github.com/mstorsjo/fdk-aac/archive/v2.0.1/fdk-aac-2.0.1.tar.gz"
-MD5SUM="5b85f858ee416a058574a1028a3e1b85"
+DOWNLOAD="https://github.com/mstorsjo/fdk-aac/archive/v2.0.3/fdk-aac-2.0.3.tar.gz"
+MD5SUM="fbaf688a6fd6ddf63c68566909a178b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libffado/doinst.sh b/libraries/libffado/doinst.sh
index 2a90c874a7..2e82bb7622 100644
--- a/libraries/libffado/doinst.sh
+++ b/libraries/libffado/doinst.sh
@@ -1,9 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
-
-if [ -x /usr/bin/gtk-update-icon-cache ] \
- && [ -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
-
diff --git a/libraries/libffado/libffado-mixer.patch b/libraries/libffado/libffado-mixer.patch
deleted file mode 100644
index 30ab57ce1d..0000000000
--- a/libraries/libffado/libffado-mixer.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/tests/test-enhanced-mixer.cpp
-+++ b/tests/test-enhanced-mixer.cpp
-@@ -77,7 +77,7 @@
- exit(0);
- }
-
-- int errno = 0;
-+ extern int errno;
- char* tail;
- int node_id = strtol( argv[1], &tail, 0 );
- int fb_id = strtol( argv[2], &tail, 0 );
---- a/tests/test-mixer.cpp
-+++ b/tests/test-mixer.cpp
-@@ -227,7 +227,7 @@
- exit(0);
- }
-
-- int errno = 0;
-+ extern int errno;
- char* tail;
- int port = strtol( argv[1], &tail, 0 );
- int node_id = strtol( argv[2], &tail, 0 );
---- a/tests/test-pan.cpp
-+++ b/tests/test-pan.cpp
-@@ -131,7 +131,7 @@
- exit(0);
- }
-
-- int errno = 0;
-+ extern int errno;
- char* tail;
- int node_id = strtol( argv[1], &tail, 0 );
- int fb_id = strtol( argv[2], &tail, 0 );
---- a/tests/test-volume.cpp
-+++ b/tests/test-volume.cpp
-@@ -127,7 +127,7 @@
- exit(0);
- }
-
-- int errno = 0;
-+ extern int errno;
- char* tail;
- int node_id = strtol( argv[1], &tail, 0 );
- int fb_id = strtol( argv[2], &tail, 0 );
-
diff --git a/libraries/libffado/libffado.SlackBuild b/libraries/libffado/libffado.SlackBuild
index f0bc67fb3b..3b2467b36b 100644
--- a/libraries/libffado/libffado.SlackBuild
+++ b/libraries/libffado/libffado.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libffado
-# Copyright 2010-2013 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,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=libffado
-VERSION=${VERSION:-2.2.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.4.4}
+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=""
TARGET="i386"
elif [ "$ARCH" = "i686" ]; then
@@ -54,6 +64,8 @@ elif [ "$ARCH" = "x86_64" ]; then
TARGET="x86_64"
fi
+PYTHON_VERSION=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+
set -e
rm -rf $PKG
@@ -69,32 +81,36 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Use our CFLAGS
-sed -i "s/-O2 -DNDEBUG/$SLKCFLAGS -DNDEBUG/" SConstruct
+# fix icon name, so it's coherent with XDG desktop file name
+sed -i 's/hi64-apps-ffado/ffado-mixer/g' \
+ support/xdg/ffado.org-ffadomixer.desktop
-patch -p1 < $CWD/libffado-mixer.patch
+# fix id, so it's coherent with XDG desktop file name
+sed -i 's/ffado.org-ffadomixer.desktop/ffado-mixer.desktop/g' \
+ support/xdg/ffado-mixer.appdata.xml
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++11 -Wno-deprecated-declarations" \
scons \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DIST_TARGET="$TARGET" \
- COMPILE_FLAGS="$CFLAGS -std=gnu++11" \
- DEBUG="False"
+ PYTHON_INTERPRETER='/usr/bin/python3' \
+ PYPKGDIR="/usr/lib$LIBDIRSUFFIX/python${PYTHON_VERSION}/site-packages" \
+ CUSTOM_ENV="True" \
+ DEBUG="False" \
+ UDEVDIR='/lib/udev/rules.d'
scons \
- --implicit-deps-unchanged \
- PREFIX=/usr \
- LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- DIST_TARGET="$TARGET" \
- DEBUG="False" \
DESTDIR=$PKG \
+ WILL_DEAL_WITH_XDG_MYSELF="True" \
install
mkdir -p $PKG/usr/share/{applications,pixmaps}
install -m 0644 support/xdg/ffado.org-ffadomixer.desktop \
- $PKG/usr/share/applications/ffadomixer.desktop
+ $PKG/usr/share/applications/ffado-mixer.desktop
install -m 0644 support/xdg/hi64-apps-ffado.png \
- $PKG/usr/share/pixmaps/ffado.png
+ $PKG/usr/share/pixmaps/ffado-mixer.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
@@ -111,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/libraries/libffado/libffado.info b/libraries/libffado/libffado.info
index 04eee7ed85..e37e503c0f 100644
--- a/libraries/libffado/libffado.info
+++ b/libraries/libffado/libffado.info
@@ -1,10 +1,10 @@
PRGNAM="libffado"
-VERSION="2.2.1"
+VERSION="2.4.4"
HOMEPAGE="http://www.ffado.org/"
-DOWNLOAD="http://www.ffado.org/files/libffado-2.2.1.tgz"
-MD5SUM="e113d828835051f835fb4a329cb0cbd4"
+DOWNLOAD="http://www.ffado.org/files/libffado-2.4.4.tgz"
+MD5SUM="f27970e21a80a1e9ccc1842c4a6a3c62"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libconfig libiec61883 libxml++"
+REQUIRES="libconfig libdbus-c++ libiec61883 libxml++3"
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libfido2/README b/libraries/libfido2/README
new file mode 100644
index 0000000000..8723f2dfd6
--- /dev/null
+++ b/libraries/libfido2/README
@@ -0,0 +1,3 @@
+libfido2 provides library functionality and command-line tools to
+communicate with a FIDO device over USB, and to verify attestation
+and assertion signatures.
diff --git a/libraries/libfido2/libfido2.SlackBuild b/libraries/libfido2/libfido2.SlackBuild
new file mode 100644
index 0000000000..4ef871efbe
--- /dev/null
+++ b/libraries/libfido2/libfido2.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libfido2
+
+# Copyright 2021-2023 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=libfido2
+VERSION=${VERSION:-1.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 ;;
+ *) 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 -lcbor -lcrypto -ludev" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_STATIC_LIBS=ON \
+ -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUDEV_RULES_DIR=/etc/udev/rules.d/ \
+ -S ..
+ make VERBOSE=1
+ make install DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+rm -rf $PKG/usr/share
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libfido2/libfido2.info b/libraries/libfido2/libfido2.info
new file mode 100644
index 0000000000..dab724471c
--- /dev/null
+++ b/libraries/libfido2/libfido2.info
@@ -0,0 +1,10 @@
+PRGNAM="libfido2"
+VERSION="1.14.0"
+HOMEPAGE="https://github.com/Yubico/libfido2"
+DOWNLOAD="https://developers.yubico.com/libfido2/Releases/libfido2-1.14.0.tar.gz"
+MD5SUM="6aa04c6e9d029e595397fe026a3a03ce"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libcbor"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libfido2/slack-desc b/libraries/libfido2/slack-desc
new file mode 100644
index 0000000000..989fbc8e36
--- /dev/null
+++ b/libraries/libfido2/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------------------------------------------------------|
+libfido2: libfido2 (Yubico 2UF C Library)
+libfido2:
+libfido2: libfido2 provides library functionality and command-line tools to
+libfido2: communicate with a FIDO device over USB, and to verify attestation
+libfido2: and assertion signatures.
+libfido2:
+libfido2:
+libfido2:
+libfido2: Project URL: https://github.com/Yubico/libfido2
+libfido2:
+libfido2:
diff --git a/libraries/libfilezilla/libfilezilla.SlackBuild b/libraries/libfilezilla/libfilezilla.SlackBuild
index 7b78cb007d..b7d4ae4754 100644
--- a/libraries/libfilezilla/libfilezilla.SlackBuild
+++ b/libraries/libfilezilla/libfilezilla.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfilezilla
-# Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=libfilezilla
-VERSION=${VERSION:-0.16.0}
+VERSION=${VERSION:-0.47.0}
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-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -84,6 +91,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
@@ -95,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/libraries/libfilezilla/libfilezilla.info b/libraries/libfilezilla/libfilezilla.info
index a8fcd5e7ef..fcee3f1bf7 100644
--- a/libraries/libfilezilla/libfilezilla.info
+++ b/libraries/libfilezilla/libfilezilla.info
@@ -1,8 +1,8 @@
PRGNAM="libfilezilla"
-VERSION="0.16.0"
+VERSION="0.47.0"
HOMEPAGE="https://lib.filezilla-project.org/"
-DOWNLOAD="https://download.filezilla-project.org/libfilezilla/libfilezilla-0.16.0.tar.bz2"
-MD5SUM="045c8358067e48d8a2584284e8676139"
+DOWNLOAD="https://download.filezilla-project.org/libfilezilla/libfilezilla-0.47.0.tar.xz"
+MD5SUM="b8fcecd37d95c903410f016ef3edb0e2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfilteraudio/libfilteraudio.SlackBuild b/libraries/libfilteraudio/libfilteraudio.SlackBuild
index cfe83b7bf6..37d19eba20 100644
--- a/libraries/libfilteraudio/libfilteraudio.SlackBuild
+++ b/libraries/libfilteraudio/libfilteraudio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfilteraudio
@@ -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=libfilteraudio
VERSION=${VERSION:-20161122_ada2f4f}
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/libraries/libfilteraudio/libfilteraudio.info b/libraries/libfilteraudio/libfilteraudio.info
index 603ebdc22e..815776e392 100644
--- a/libraries/libfilteraudio/libfilteraudio.info
+++ b/libraries/libfilteraudio/libfilteraudio.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://mirror.slackware.hr/sources/libfilteraudio/libfilteraudio-20161
MD5SUM="10e6168cbfba801ba9bae9456ff43401"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL"
+REQUIRES=""
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/libraries/libfishsound/README b/libraries/libfishsound/README
index 9482b27193..2924b766c9 100644
--- a/libraries/libfishsound/README
+++ b/libraries/libfishsound/README
@@ -1,13 +1,11 @@
libfishsound (unified API for xiph.org audio codecs)
-libfishsound provides a simple programming interface for decoding and
-encoding audio data using Xiph.Org codecs (FLAC, Speex and Vorbis).
+libfishsound provides a simple programming interface for decoding and
+encoding audio data using Xiph.Org codecs (FLAC, Speex and Vorbis).
-libfishsound is a wrapper around the existing codec libraries and provides
-a consistent, higher-level programming interface. It has been designed for
-use in a wide variety of applications; it has no direct dependencies on
-Ogg encapsulation, though it is most commonly used in conjunction with
-liboggz to decode or encode FLAC, Speex or Vorbis audio tracks in Ogg files,
-including Ogg Theora and Annodex.
-
-Optional dependency: speex. Autodetected at build time.
+libfishsound is a wrapper around the existing codec libraries and
+provides a consistent, higher-level programming interface. It has been
+designed for use in a wide variety of applications; it has no direct
+dependencies on Ogg encapsulation, though it is most commonly used
+in conjunction with liboggz to decode or encode FLAC, Speex or Vorbis
+audio tracks in Ogg files, including Ogg Theora and Annodex.
diff --git a/libraries/libfishsound/libfishsound.SlackBuild b/libraries/libfishsound/libfishsound.SlackBuild
index 1ba41ad840..e1630cc049 100644
--- a/libraries/libfishsound/libfishsound.SlackBuild
+++ b/libraries/libfishsound/libfishsound.SlackBuild
@@ -1,18 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfishsound
-# 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.
# 20191213 bkw: New package.
# This only exists as a required dep for sonic-visualiser >= 4.0.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libfishsound
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -22,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}
@@ -50,11 +57,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 {} \+
sh autogen.sh
@@ -105,4 +109,4 @@ mkdir -p $PKG/install
sed "s,@WITHSPEEX@,$WITHSPEEX," $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libfishsound/libfishsound.info b/libraries/libfishsound/libfishsound.info
index 7ae295f75f..1575b5a7db 100644
--- a/libraries/libfishsound/libfishsound.info
+++ b/libraries/libfishsound/libfishsound.info
@@ -1,10 +1,10 @@
PRGNAM="libfishsound"
VERSION="1.0.0"
-HOMEPAGE="http://github.com/kfish/libfishsound/"
+HOMEPAGE="https://github.com/kfish/libfishsound/"
DOWNLOAD="https://github.com/kfish/libfishsound/archive/1.0.0/libfishsound-1.0.0.tar.gz"
MD5SUM="f7f3f4d9e8afb2a832b4a5d19d533ed3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libfixposix/README b/libraries/libfixposix/README
index b106e433a7..8f5f59c171 100644
--- a/libraries/libfixposix/README
+++ b/libraries/libfixposix/README
@@ -1,4 +1,4 @@
The purpose of libfixposix is to offer replacements for parts of POSIX
whose behaviour is inconsistent across *NIX flavours.
-Libfixposix required by 'iolib' common-lisp library. \ No newline at end of file
+Libfixposix is required by the 'iolib' common-lisp library.
diff --git a/libraries/libfixposix/libfixposix.SlackBuild b/libraries/libfixposix/libfixposix.SlackBuild
index 10926e935c..79a5ab2688 100644
--- a/libraries/libfixposix/libfixposix.SlackBuild
+++ b/libraries/libfixposix/libfixposix.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfixposix
@@ -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=libfixposix
-VERSION=${VERSION:-0.4.1}
+VERSION=${VERSION:-0.5.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}
@@ -88,8 +98,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENCE $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/libraries/libfixposix/libfixposix.info b/libraries/libfixposix/libfixposix.info
index f3e7cce6f0..e857bdd655 100644
--- a/libraries/libfixposix/libfixposix.info
+++ b/libraries/libfixposix/libfixposix.info
@@ -1,8 +1,8 @@
PRGNAM="libfixposix"
-VERSION="0.4.1"
+VERSION="0.5.1"
HOMEPAGE="https://github.com/sionescu/libfixposix"
-DOWNLOAD="https://github.com/sionescu/libfixposix/releases/download/v0.4.1/libfixposix-0.4.1.tar.gz"
-MD5SUM="53d5ec36b7442d6019c0bb9457f8235d"
+DOWNLOAD="https://github.com/sionescu/libfixposix/archive/v0.5.1/libfixposix-0.5.1.tar.gz"
+MD5SUM="0459e0a98cc07372daca0b0614293e15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfm-extra/libfm-extra.SlackBuild b/libraries/libfm-extra/libfm-extra.SlackBuild
index 4ef42b2ceb..482e5e6806 100644
--- a/libraries/libfm-extra/libfm-extra.SlackBuild
+++ b/libraries/libfm-extra/libfm-extra.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfm-extra
-# Copyright 2014-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2014-2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# 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=libfm-extra
SRCNAM=libfm
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.3.2}
+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}
@@ -93,8 +103,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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/libraries/libfm-extra/libfm-extra.info b/libraries/libfm-extra/libfm-extra.info
index 1e765af005..1ca4ae995d 100644
--- a/libraries/libfm-extra/libfm-extra.info
+++ b/libraries/libfm-extra/libfm-extra.info
@@ -1,8 +1,8 @@
PRGNAM="libfm-extra"
-VERSION="1.3.1"
+VERSION="1.3.2"
HOMEPAGE="https://wiki.lxde.org/en/Libfm"
-DOWNLOAD="https://downloads.sf.net/pcmanfm/libfm-1.3.1.tar.xz"
-MD5SUM="c15ecd2c9317e2c385cd3f046d0b61ba"
+DOWNLOAD="https://downloads.sf.net/pcmanfm/libfm-1.3.2.tar.xz"
+MD5SUM="c87a0ff41ae77825079b2f785ec0741e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfm-qt/README b/libraries/libfm-qt/README
new file mode 100644
index 0000000000..51c1b113c2
--- /dev/null
+++ b/libraries/libfm-qt/README
@@ -0,0 +1,4 @@
+libfm-qt is the Qt port of libfm, a library providing components to
+build desktop file managers.
+
+libfm-qt is a dependency of PCManFM-Qt, the Qt port of PCManFM.
diff --git a/libraries/WebOb/doinst.sh b/libraries/libfm-qt/doinst.sh
index 9a8ded3c60..9a8ded3c60 100644
--- a/libraries/WebOb/doinst.sh
+++ b/libraries/libfm-qt/doinst.sh
diff --git a/libraries/libfm-qt/libfm-qt.SlackBuild b/libraries/libfm-qt/libfm-qt.SlackBuild
new file mode 100644
index 0000000000..8286e5db27
--- /dev/null
+++ b/libraries/libfm-qt/libfm-qt.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for libfm-qt
+
+# 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=libfm-qt
+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 $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
+ 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 AUTHORS 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libfm-qt/libfm-qt.info b/libraries/libfm-qt/libfm-qt.info
new file mode 100644
index 0000000000..ff737a96d2
--- /dev/null
+++ b/libraries/libfm-qt/libfm-qt.info
@@ -0,0 +1,10 @@
+PRGNAM="libfm-qt"
+VERSION="1.4.0"
+HOMEPAGE="https://github.com/lxqt/libfm-qt"
+DOWNLOAD="https://github.com/lxqt/libfm-qt/releases/download/1.4.0/libfm-qt-1.4.0.tar.xz"
+MD5SUM="d018e160cefdbccfea8bd550f2d7b517"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lxqt-build-tools lxqt-menu-data menu-cache"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/libfm-qt/slack-desc b/libraries/libfm-qt/slack-desc
new file mode 100644
index 0000000000..3d83026cbf
--- /dev/null
+++ b/libraries/libfm-qt/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------------------------------------------------------|
+libfm-qt: libfm-qt (PCManFM-Qt library)
+libfm-qt:
+libfm-qt: libfm-qt is the Qt port of libfm, a library providing components to
+libfm-qt: build desktop file managers.
+libfm-qt:
+libfm-qt:
+libfm-qt:
+libfm-qt:
+libfm-qt:
+libfm-qt:
+libfm-qt:
diff --git a/libraries/libfm/README b/libraries/libfm/README
index 17d6d7cc0f..d8dc092950 100644
--- a/libraries/libfm/README
+++ b/libraries/libfm/README
@@ -1,15 +1,11 @@
LibFM provides file management functions built on top of Glib/GIO,
giving a convenient higher-level API.
-vala is an optional dependency (for custom file manager actions).
+You can choose which version of gtk the library will build against:
-you can choose between which version of gtk the library will build
-against:
+ GTK3=yes link with gtk+3 (default)
+ GTK3=no link with gtk+2
+ GTK3=- don't link against gtk at all
- GTK=2 link with gtk+2 (default)
- GTK=3 link with gtk+3
- GTK=0 don't link against gtk at all
-
-pass the script the parameter you prefer, like
-
- GTK=3 ./libfm.SlackBuild
+Pass the script the parameter you prefer, like
+ GTK3=no ./libfm.SlackBuild
diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild
index 1555253ffb..99a22733f4 100644
--- a/libraries/libfm/libfm.SlackBuild
+++ b/libraries/libfm/libfm.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfm
# Copyright 2010 Chris Abela <chris.abela@maltats.com>
-# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=libfm
-VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.3.2}
+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}
@@ -55,13 +62,10 @@ else
LIBDIRSUFFIX=""
fi
-# Enable custom actions if we have vala available
-if [ -h /usr/bin/vapigen ]; then actions=""; else actions="--disable-actions"; fi
-
-case "$GTK" in
- 3) gtk="--with-gtk=3 --enable-gtk-doc" ;;
- 0) gtk="--without-gtk" ;;
- *) gtk="--with-gtk=2 --enable-gtk-doc" ;;
+case "${GTK3:-yes}" in
+ "no") gtk="--with-gtk=2 --enable-gtk-doc" ;;
+ "-") gtk="--without-gtk" ;;
+ *) gtk="--with-gtk=3 --enable-gtk-doc" ;;
esac
set -e
@@ -92,7 +96,6 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--enable-udisks \
$gtk \
- $actions \
--build=$ARCH-slackware-linux
make
@@ -107,8 +110,10 @@ make install-strip DESTDIR=$PKG
cd $PKG/usr/lib$LIBDIRSUFFIX
rm -f libfm-extra.so* pkgconfig/libfm-extra.pc libfm-extra.la )
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+if [ -d $PKG/usr/man ]; then
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+fi
# add handlers for terminal and archiver from LXDE components to the default config
sed -i -e 's|\[ui\]|terminal=lxterminal -e %s\narchiver=file-roller %s\n\n[ui]|' \
@@ -119,9 +124,11 @@ cp -a AUTHORS COPYING 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/libraries/libfm/libfm.info b/libraries/libfm/libfm.info
index dd5fd90d6b..33d95cb239 100644
--- a/libraries/libfm/libfm.info
+++ b/libraries/libfm/libfm.info
@@ -1,8 +1,8 @@
PRGNAM="libfm"
-VERSION="1.3.1"
+VERSION="1.3.2"
HOMEPAGE="https://wiki.lxde.org/en/Libfm"
-DOWNLOAD="https://downloads.sf.net/pcmanfm/libfm-1.3.1.tar.xz"
-MD5SUM="c15ecd2c9317e2c385cd3f046d0b61ba"
+DOWNLOAD="https://downloads.sf.net/pcmanfm/libfm-1.3.2.tar.xz"
+MD5SUM="c87a0ff41ae77825079b2f785ec0741e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lxmenu-data menu-cache"
diff --git a/libraries/libfprint/libfprint.SlackBuild b/libraries/libfprint/libfprint.SlackBuild
index 652c09a6fa..c1590efd58 100644
--- a/libraries/libfprint/libfprint.SlackBuild
+++ b/libraries/libfprint/libfprint.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfprint
# Written by Terry Laundos <terry.laundos@s1solucoes.com.br>
-set -e
+# 20220423 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip shared library.
+# - symlink html docs to doc dir.
+# - remove doc source from doc dir (it's used to generate the html).
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfprint
-VERSION=${VERSION:-0.0.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.94.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -38,39 +48,45 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-v$VERSION
+tar -xvf $CWD/$PRGNAM-v$VERSION.tar.bz2
+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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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" \
-./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
+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 \
+ -Dstrip=true \
+ --sysconfdir=/etc
+ DESTDIR=$PKG "${NINJA:=ninja}" install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING HACKING INSTALL NEWS README THANKS INSTALL TODO doc/ \
+cp -a AUTHORS COPYING HACKING* NEWS README THANKS TODO \
examples/ $PKG/usr/doc/$PRGNAM-$VERSION
+ln -s ../../share/gtk-doc/html/$PRGNAM-2 $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libfprint/libfprint.info b/libraries/libfprint/libfprint.info
index 021b931b1c..af00c71b61 100644
--- a/libraries/libfprint/libfprint.info
+++ b/libraries/libfprint/libfprint.info
@@ -1,10 +1,10 @@
PRGNAM="libfprint"
-VERSION="0.0.6"
-HOMEPAGE="http://reactivated.net/fprint/wiki/Libfprint"
-DOWNLOAD="http://downloads.sourceforge.net/fprint/libfprint-0.0.6.tar.bz2"
-MD5SUM="4f47b46021b186488b60aaa97f90fe43"
+VERSION="1.94.2"
+HOMEPAGE="https://fprint.freedesktop.org"
+DOWNLOAD="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v1.94.2/libfprint-v1.94.2.tar.bz2"
+MD5SUM="1589f6e84fc1ec21ffacf45c8388a93a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libgusb"
MAINTAINER="Terry Laundos"
EMAIL="terry@s1solucoes.com.br"
diff --git a/libraries/libfprint/slack-desc b/libraries/libfprint/slack-desc
index a88e84f548..9e9404988c 100644
--- a/libraries/libfprint/slack-desc
+++ b/libraries/libfprint/slack-desc
@@ -12,8 +12,8 @@ libfprint: libfprint is an open source software library designed to make it easy
libfprint: for application developers to add support for consumer fingerprint
libfprint: readers to their software.
libfprint:
+libfprint: Homepage: https://fprint.freedesktop.org
libfprint:
-libfprint: Homepage: http://reactivated.net/fprint/wiki/Libfprint
libfprint:
libfprint:
libfprint:
diff --git a/libraries/libfreehand/0001-Add-missing-semicolon-to-fix-build-with-icu-65.1.patch b/libraries/libfreehand/0001-Add-missing-semicolon-to-fix-build-with-icu-65.1.patch
new file mode 100644
index 0000000000..5d9c6b2da9
--- /dev/null
+++ b/libraries/libfreehand/0001-Add-missing-semicolon-to-fix-build-with-icu-65.1.patch
@@ -0,0 +1,28 @@
+From af3197f795625f5188602073205a34369698b6df Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Fri, 4 Oct 2019 01:46:12 +0200
+Subject: [PATCH] Add missing semicolon to fix build with icu 65.1
+
+Change-Id: I7a0b0d600e9f7770245a7485813a944bfac4f088
+Reviewed-on: https://gerrit.libreoffice.org/80224
+Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
+Tested-by: Miklos Vajna <vmiklos@collabora.com>
+---
+ src/lib/libfreehand_utils.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/lib/libfreehand_utils.cpp b/src/lib/libfreehand_utils.cpp
+index 439c457..32f23e0 100644
+--- a/src/lib/libfreehand_utils.cpp
++++ b/src/lib/libfreehand_utils.cpp
+@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString &text, std::vector<unsigne
+ while (j < length)
+ {
+ UChar32 c;
+- U16_NEXT(s, j, length, c)
++ U16_NEXT(s, j, length, c);
+ unsigned char outbuf[U8_MAX_LENGTH+1];
+ int i = 0;
+ U8_APPEND_UNSAFE(&outbuf[0], i, c);
+--
+2.23.0
diff --git a/libraries/libfreehand/libfreehand.SlackBuild b/libraries/libfreehand/libfreehand.SlackBuild
index 59c1ad8258..a2fd4cc81f 100644
--- a/libraries/libfreehand/libfreehand.SlackBuild
+++ b/libraries/libfreehand/libfreehand.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfreehand
-# Copyright 2015, 2017 Hunter Sezen California, USA
+# Copyright 2015, 2017, 2020 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=libfreehand
VERSION=${VERSION:-0.1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,10 +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=""
@@ -79,6 +90,12 @@ else
cppunit='--disable-tests'
fi
+# Add missing semicolon to fix build with icu 65.1
+# https://gerrit.libreoffice.org/c/libfreehand/+/80224/
+patch -p1 < $CWD/0001-Add-missing-semicolon-to-fix-build-with-icu-65.1.patch
+
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,15 +110,17 @@ CXXFLAGS="$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
+find $PKG -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 $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/libraries/libfsapfs/README b/libraries/libfsapfs/README
index 8c34d3dd05..95b00aeaf3 100644
--- a/libraries/libfsapfs/README
+++ b/libraries/libfsapfs/README
@@ -1,6 +1,9 @@
-libfsapfs (libYAL APFS library)
+libfsapfs is a library to access the Apple File System (APFS).
-Library to access the Apple File System (APFS)
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
Read-only supported APFS formats:
@@ -11,10 +14,17 @@ Supported APFS format features:
* ZLIB (DEFLATE) compression
* LZVN compression
* encryption
+* extended attributes
Unsupported APFS format features:
* APFS version 1
+* Fusion drive (NX_INCOMPAT_FUSION)
+* snapshots
* LZFSE compression, compression methods 11 and 12
* "uncompressed", compression methods 1, 9 and 10
-* snapshots
+* T2 encryption
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libfsapfs/wiki/Home
diff --git a/libraries/libfsapfs/libfsapfs.SlackBuild b/libraries/libfsapfs/libfsapfs.SlackBuild
index af5246b954..ae0335790b 100644
--- a/libraries/libfsapfs/libfsapfs.SlackBuild
+++ b/libraries/libfsapfs/libfsapfs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfsapfs
-# Copyright 2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated to v20221102 July 2023
-# New Submission v20181215 Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfsapfs
-VERSION=${VERSION:-20181215}
+VERSION=${VERSION:-20221102}
STATUS=${STATUS:-experimental}
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"
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libfsapfs/libfsapfs.info b/libraries/libfsapfs/libfsapfs.info
index cc52c91c5e..b6b1f79860 100644
--- a/libraries/libfsapfs/libfsapfs.info
+++ b/libraries/libfsapfs/libfsapfs.info
@@ -1,8 +1,8 @@
PRGNAM="libfsapfs"
-VERSION="20181215"
+VERSION="20221102"
HOMEPAGE="https://github.com/libyal/libfsapfs"
-DOWNLOAD="https://github.com/libyal/libfsapfs/releases/download/20181215/libfsapfs-experimental-20181215.tar.gz"
-MD5SUM="5340363f14e89bc0542084ff7e23e30d"
+DOWNLOAD="https://linuxleo.com/Source/libfsapfs-experimental-20221102.tar.gz"
+MD5SUM="b3504b3471e04a2f6b71ea96edd27c3c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfsext/README b/libraries/libfsext/README
new file mode 100644
index 0000000000..9a76048e78
--- /dev/null
+++ b/libraries/libfsext/README
@@ -0,0 +1,27 @@
+libfsext is a library to access the Extended File System (ext).
+
+Read-only supported ext formats:
+
+* ext2 (version 2)
+* ext3 (version 3)
+* ext4 (version 4)
+
+Supported ext format features:
+
+* extended attributes
+* inline data
+
+Unsupported ext format features:
+
+* ext (version 1)
+* compression
+* encryption
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libfsext/wiki/Home
diff --git a/libraries/libfsext/libfsext.SlackBuild b/libraries/libfsext/libfsext.SlackBuild
new file mode 100644
index 0000000000..037e36b44c
--- /dev/null
+++ b/libraries/libfsext/libfsext.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libfsext
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Updated for version: v20220829 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libfsext
+VERSION=${VERSION:-20220829}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libfsext/libfsext.info b/libraries/libfsext/libfsext.info
new file mode 100644
index 0000000000..173262b1dc
--- /dev/null
+++ b/libraries/libfsext/libfsext.info
@@ -0,0 +1,10 @@
+PRGNAM="libfsext"
+VERSION="20220829"
+HOMEPAGE="https://github.com/libyal/libfsext"
+DOWNLOAD="https://linuxleo.com/Source/libfsext-experimental-20220829.tar.gz"
+MD5SUM="ccc86b81c9f40130c99b57bbc6e030f1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libfsext/slack-desc b/libraries/libfsext/slack-desc
new file mode 100644
index 0000000000..67f07a05ac
--- /dev/null
+++ b/libraries/libfsext/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------------------------------------------------------|
+libfsext: libfsext (libYAL EXT file system library)
+libfsext:
+libfsext: Library to access the Linux Extended File System (EXT)
+libfsext:
+libfsext:
+libfsext: Homepage: https://github.com/libyal/libfsext
+libfsext:
+libfsext:
+libfsext:
+libfsext:
+libfsext:
diff --git a/libraries/libfsfat/README b/libraries/libfsfat/README
new file mode 100644
index 0000000000..efbd994e65
--- /dev/null
+++ b/libraries/libfsfat/README
@@ -0,0 +1,14 @@
+libfsfat is a library to access the File Allocation Table (FAT) file
+system format.
+
+Note that this project currently only focuses on the analysis of the
+format.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libfsfat/wiki/Home
diff --git a/libraries/libfsfat/libfsfat.SlackBuild b/libraries/libfsfat/libfsfat.SlackBuild
new file mode 100644
index 0000000000..54e95a02ff
--- /dev/null
+++ b/libraries/libfsfat/libfsfat.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libfsfat
+#
+# Copyright 2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Initial version: v20220925 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libfsfat
+VERSION=${VERSION:-20220925}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libfsfat/libfsfat.info b/libraries/libfsfat/libfsfat.info
new file mode 100644
index 0000000000..544b9d1c0a
--- /dev/null
+++ b/libraries/libfsfat/libfsfat.info
@@ -0,0 +1,10 @@
+PRGNAM="libfsfat"
+VERSION="20220925"
+HOMEPAGE="https://github.com/libyal/libfsfat"
+DOWNLOAD="https://linuxleo.com/Source/libfsfat-experimental-20220925.tar.gz"
+MD5SUM="aeb3ec60ace9bad6708d26bc2ba10a82"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libfsfat/slack-desc b/libraries/libfsfat/slack-desc
new file mode 100644
index 0000000000..bdb154ac95
--- /dev/null
+++ b/libraries/libfsfat/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------------------------------------------------------|
+libfsfat: libfsfat (libYAL FAT file system library)
+libfsfat:
+libfsfat:
+libfsfat: Library to access the File Allocation Table (FAT) file system format
+libfsfat:
+libfsfat:
+libfsfat: Homepage: https://github.com/libyal/libfsfat
+libfsfat:
+libfsfat:
+libfsfat:
+libfsfat:
diff --git a/libraries/libfshfs/README b/libraries/libfshfs/README
new file mode 100644
index 0000000000..9dac4eb7f8
--- /dev/null
+++ b/libraries/libfshfs/README
@@ -0,0 +1,38 @@
+libfshfs is a library to access the Mac OS Hierarchical File System
+(HFS).
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+Read-only supported HFS formats:
+
+* HFS+, Mac OS 10.3 and later (Unicode 3.2 case-insensitive)
+* HFSX, Mac OS 10.3 and later (Unicode 3.2 case-sensitive)
+
+Unsupported HFS formats:
+
+* (traditional) HFS
+* HFS+, Mac OS 8.1 through 10.2 (Unicode 2.1 case-insensitive)
+* HFSX, Mac OS 8.1 through 10.2 (Unicode 2.1 case-sensitive)
+
+Supported HFS format features:
+
+* ZLIB (DEFLATE) compression
+* LZVN compression
+* extended attributes
+
+Unsupported HFS format features:
+
+* LZFSE compression, compression methods 11 and 12
+* "uncompressed", compression methods 1, 9 and 10
+
+Planned:
+
+* Complete resource fork support
+* Complete named fork (extended attributes) support
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libfshfs/wiki/home
diff --git a/libraries/libfshfs/libfshfs.SlackBuild b/libraries/libfshfs/libfshfs.SlackBuild
new file mode 100644
index 0000000000..c83c3c4058
--- /dev/null
+++ b/libraries/libfshfs/libfshfs.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libfshfs
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Updated for version: v20220831 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libfshfs
+VERSION=${VERSION:-20220831}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libfshfs/libfshfs.info b/libraries/libfshfs/libfshfs.info
new file mode 100644
index 0000000000..c1c0e2807c
--- /dev/null
+++ b/libraries/libfshfs/libfshfs.info
@@ -0,0 +1,10 @@
+PRGNAM="libfshfs"
+VERSION="20220831"
+HOMEPAGE="https://github.com/libyal/libfshfs"
+DOWNLOAD="https://linuxleo.com/Source/libfshfs-experimental-20220831.tar.gz"
+MD5SUM="75991d9dc3854cd364a3d339b2617089"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libfshfs/slack-desc b/libraries/libfshfs/slack-desc
new file mode 100644
index 0000000000..c03867a5e4
--- /dev/null
+++ b/libraries/libfshfs/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------------------------------------------------------|
+libfshfs: libfshfs (libYAL HFS file system library)
+libfshfs:
+libfshfs: Library to access the Mac OS Hierarchical File System (HFS).
+libfshfs:
+libfshfs:
+libfshfs: Homepage: https://github.com/libyal/libfshfs
+libfshfs:
+libfshfs:
+libfshfs:
+libfshfs:
+libfshfs:
diff --git a/libraries/libfsntfs/libfsntfs.SlackBuild b/libraries/libfsntfs/libfsntfs.SlackBuild
index cc06e4e8a8..d23a43eb0c 100644
--- a/libraries/libfsntfs/libfsntfs.SlackBuild
+++ b/libraries/libfsntfs/libfsntfs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfsntfs
-# Copyright 2016-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+# Copyright 2016-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated to v20230427 July 2023
-# Updated to v20190104 Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfsntfs
-VERSION=${VERSION:-20190104}
+VERSION=${VERSION:-20230427}
STATUS=${STATUS:-experimental}
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"
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libfsntfs/libfsntfs.info b/libraries/libfsntfs/libfsntfs.info
index fe16540945..0d32342170 100644
--- a/libraries/libfsntfs/libfsntfs.info
+++ b/libraries/libfsntfs/libfsntfs.info
@@ -1,8 +1,8 @@
PRGNAM="libfsntfs"
-VERSION="20190104"
+VERSION="20230427"
HOMEPAGE="https://github.com/libyal/libfsntfs"
-DOWNLOAD="https://github.com/libyal/libfsntfs/releases/download/20190104/libfsntfs-experimental-20190104.tar.gz"
-MD5SUM="ccd38f5e3391c468121a57659066ed90"
+DOWNLOAD="https://linuxleo.com/Source/libfsntfs-experimental-20230427.tar.gz"
+MD5SUM="d59092cf5362906a14bda85004010774"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfsxfs/README b/libraries/libfsxfs/README
new file mode 100644
index 0000000000..3adf7446e2
--- /dev/null
+++ b/libraries/libfsxfs/README
@@ -0,0 +1,19 @@
+libfsxfs is a library to access the SGI X File System (XFS)
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+Read-only supported XFS formats:
+
+* version 4 and 5
+* extended attributes
+
+Unsupported XFS format features:
+
+* XFS version 1, 2 or 3
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libfsxfs/wiki/Home)
diff --git a/libraries/libfsxfs/libfsxfs.SlackBuild b/libraries/libfsxfs/libfsxfs.SlackBuild
new file mode 100644
index 0000000000..ead4675883
--- /dev/null
+++ b/libraries/libfsxfs/libfsxfs.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libfsxfs
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Updated for version: v20220829 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libfsxfs
+VERSION=${VERSION:-20220829}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libfsxfs/libfsxfs.info b/libraries/libfsxfs/libfsxfs.info
new file mode 100644
index 0000000000..8b96b048cc
--- /dev/null
+++ b/libraries/libfsxfs/libfsxfs.info
@@ -0,0 +1,10 @@
+PRGNAM="libfsxfs"
+VERSION="20220829"
+HOMEPAGE="https://github.com/libyal/libfsxfs"
+DOWNLOAD="https://linuxleo.com/Source/libfsxfs-experimental-20220829.tar.gz"
+MD5SUM="a982827fc9cbf97fea9f634c4633b013"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libfsxfs/slack-desc b/libraries/libfsxfs/slack-desc
new file mode 100644
index 0000000000..a5cf9bf6c7
--- /dev/null
+++ b/libraries/libfsxfs/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------------------------------------------------------|
+libfsxfs: libfsxfs (libYAL XFS file system library)
+libfsxfs:
+libfsxfs:
+libfsxfs: Library to access the SGI X File System (XFS)
+libfsxfs:
+libfsxfs:
+libfsxfs: Homepage: https://github.com/libyal/libfsxfs
+libfsxfs:
+libfsxfs:
+libfsxfs:
+libfsxfs:
diff --git a/libraries/libftdi/libftdi.SlackBuild b/libraries/libftdi/libftdi.SlackBuild
index b230df31a9..d9dea1f722 100644
--- a/libraries/libftdi/libftdi.SlackBuild
+++ b/libraries/libftdi/libftdi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libftdi
@@ -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=libftdi
VERSION=${VERSION:-0.20}
-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}
@@ -100,8 +110,10 @@ cp -a doc/html packages/99-libftdi.rules AUTHORS ChangeLog COPYING{-CMAKE-SCRIPT
$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/libraries/libftdi1/libftdi1.SlackBuild b/libraries/libftdi1/libftdi1.SlackBuild
index 6ba1c561fe..5cd2e519b9 100644
--- a/libraries/libftdi1/libftdi1.SlackBuild
+++ b/libraries/libftdi1/libftdi1.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libftdi1
@@ -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=libftdi1
-VERSION=${VERSION:-1.4}
+VERSION=${VERSION:-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}
@@ -77,11 +87,15 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DSTATICLIBS:BOOL=OFF \
+ -DFTDIPP=ON \
+ -DDOCUMENTATION=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
+# fix a wrong library name in the pkgconfig file
+sed -i "s|libftdipp1|$PRGNAM|" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -89,22 +103,22 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING.* README.* LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv ./build/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
+mv ./build/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
rm -r $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp -a examples/*.c examples/*.cpp python/examples/*.py ftdi_eeprom/example.conf \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
mv ./build/doc/man $PKG/usr
-rm -f $PKG/usr/man/man3/*SBo*
-
+mv $PKG/usr/man/man3/{,ftdi_}deprecated.3
+mv $PKG/usr/man/man3/{,ftdi_}size_and_time.3
+rm -f $PKG/usr/man/man3/*{SBo,CMake}*
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/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/libraries/libftdi1/libftdi1.info b/libraries/libftdi1/libftdi1.info
index 42543c4cab..26a3a68d0c 100644
--- a/libraries/libftdi1/libftdi1.info
+++ b/libraries/libftdi1/libftdi1.info
@@ -1,8 +1,8 @@
PRGNAM="libftdi1"
-VERSION="1.4"
+VERSION="1.5"
HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/download.php"
-DOWNLOAD="https://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.4.tar.bz2"
-MD5SUM="0c09fb2bb19a57c839fa6845c6c780a2"
+DOWNLOAD="https://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.5.tar.bz2"
+MD5SUM="f515d7d69170a9afc8b273e8f1466a80"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="confuse"
diff --git a/libraries/libfvde/libfvde.SlackBuild b/libraries/libfvde/libfvde.SlackBuild
index 13c0bd3d8f..3368a95cb0 100644
--- a/libraries/libfvde/libfvde.SlackBuild
+++ b/libraries/libfvde/libfvde.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfvde
-# Copyright 2016 Barry J. Grundy (bgrundy<at>linuxleo.com)
+# Copyright 2016-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated version 20220915, July 2023
-# Updated version 20190104, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfvde
-VERSION=${VERSION:-20190104}
+VERSION=${VERSION:-20220915}
STATUS=${STATUS:-experimental}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libfvde/libfvde.info b/libraries/libfvde/libfvde.info
index 4beeaabf47..4b0230ec13 100644
--- a/libraries/libfvde/libfvde.info
+++ b/libraries/libfvde/libfvde.info
@@ -1,8 +1,8 @@
PRGNAM="libfvde"
-VERSION="20190104"
+VERSION="20220915"
HOMEPAGE="https://github.com/libyal/libfvde"
-DOWNLOAD="https://github.com/libyal/libfvde/releases/download/20190104/libfvde-experimental-20190104.tar.gz"
-MD5SUM="ffa4c35f14a3b4c1977fe7825bf0bdef"
+DOWNLOAD="https://linuxleo.com/Source/libfvde-experimental-20220915.tar.gz"
+MD5SUM="1bfb29cf62ec7e10bcd72815dc3aa57c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfwnt/libfwnt.SlackBuild b/libraries/libfwnt/libfwnt.SlackBuild
index 1a09cac12a..889d8cf69e 100644
--- a/libraries/libfwnt/libfwnt.SlackBuild
+++ b/libraries/libfwnt/libfwnt.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfwnt
-# Copyright 2016-2019 Barry Grundy <bgrundy[at]linuxleo.com>
+
+# Copyright 2016-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,13 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# Updated to version 20181227, March 2019
+# Updated to v20220922 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfwnt
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20220922}
STATUS=${STATUS:-alpha}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -71,19 +82,32 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-export CC="gcc $SLKCFLAGS $(pkg-config --cflags talloc)"
+CFLAGS="$SLKCFLAGS -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --build=$ARCH-slackware-linux
-python setup.py install --root=$PKG
+make
+make install-strip 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libfwnt/libfwnt.info b/libraries/libfwnt/libfwnt.info
index 14bdbfddf7..921ff7433d 100644
--- a/libraries/libfwnt/libfwnt.info
+++ b/libraries/libfwnt/libfwnt.info
@@ -1,8 +1,8 @@
PRGNAM="libfwnt"
-VERSION="20181227"
+VERSION="20220922"
HOMEPAGE="https://github.com/libyal/libfwnt"
-DOWNLOAD="https://github.com/libyal/libfwnt/releases/download/20181227/libfwnt-alpha-20181227.tar.gz"
-MD5SUM="4af5a64b1603ef19c22c2a90162cf114"
+DOWNLOAD="https://linuxleo.com/Source/libfwnt-alpha-20220922.tar.gz"
+MD5SUM="2ded7b9676b0d5c80b0e9ebb66ac9561"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfwsi/libfwsi.SlackBuild b/libraries/libfwsi/libfwsi.SlackBuild
index d1928ee714..1ee8f357d0 100644
--- a/libraries/libfwsi/libfwsi.SlackBuild
+++ b/libraries/libfwsi/libfwsi.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfwsi
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20230114, July 2023
-# Updated v20181227, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfwsi
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20230114}
STATUS=${STATUS:-experimental}
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}
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libfwsi/libfwsi.info b/libraries/libfwsi/libfwsi.info
index 082980d48e..820f95b41f 100644
--- a/libraries/libfwsi/libfwsi.info
+++ b/libraries/libfwsi/libfwsi.info
@@ -1,8 +1,8 @@
PRGNAM="libfwsi"
-VERSION="20181227"
+VERSION="20230114"
HOMEPAGE="https://github.com/libyal/libfwsi"
-DOWNLOAD="https://github.com/libyal/libfwsi/releases/download/20181227/libfwsi-experimental-20181227.tar.gz"
-MD5SUM="f508d3fd18b012dcfacd494696a814af"
+DOWNLOAD="https://linuxleo.com/Source/libfwsi-experimental-20230114.tar.gz"
+MD5SUM="ca791bf4e41d4eb2099eb0c51cffd1f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libfxt/README b/libraries/libfxt/README
new file mode 100644
index 0000000000..ffec3003f3
--- /dev/null
+++ b/libraries/libfxt/README
@@ -0,0 +1,9 @@
+ FxT stands for both FKT (Fast Kernel Tracing) and FUT (Fast User
+Tracing). This library provides efficient support for recording
+traces.
+
+OPTIONS:
+
+Set X11=no to disable X11 support. E.G.:
+
+X11=no ./libfxt.SlackBuild
diff --git a/libraries/libfxt/libfxt.SlackBuild b/libraries/libfxt/libfxt.SlackBuild
new file mode 100644
index 0000000000..23aa6eb399
--- /dev/null
+++ b/libraries/libfxt/libfxt.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for libfxt
+
+# 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=libfxt
+VERSION=${VERSION:-0.3.14}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM="fxt"
+
+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 [ "${X11:-yes}" == "no" ]; then
+ OPTS="--disable-x"
+else
+ OPTS="--with-x"
+fi
+
+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 -j1 install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 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/doc/$PRGNAM-$VERSION/fxt
+cp -a \
+ COPYING ChangeLog README doc/manuel.pdf \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libfxt/libfxt.info b/libraries/libfxt/libfxt.info
new file mode 100644
index 0000000000..3d2023b75c
--- /dev/null
+++ b/libraries/libfxt/libfxt.info
@@ -0,0 +1,10 @@
+PRGNAM="libfxt"
+VERSION="0.3.14"
+HOMEPAGE="http://savannah.nongnu.org/projects/fkt"
+DOWNLOAD="http://download.savannah.nongnu.org/releases/fkt/fxt-0.3.14.tar.gz"
+MD5SUM="52905bd3d937df13f988e1e4520012a6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libfxt/slack-desc b/libraries/libfxt/slack-desc
new file mode 100644
index 0000000000..07972d427b
--- /dev/null
+++ b/libraries/libfxt/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------------------------------------------------------|
+libfxt: libfxt (Library for recording User and Kernel traces)
+libfxt:
+libfxt: FxT stands for both FKT (Fast Kernel Tracing) and FUT (Fast User
+libfxt: Tracing). This library provides efficient support for recording
+libfxt: traces.
+libfxt:
+libfxt:
+libfxt:
+libfxt:
+libfxt:
+libfxt:
diff --git a/libraries/libg15/README b/libraries/libg15/README
index ce7191dae3..7fcf58c960 100644
--- a/libraries/libg15/README
+++ b/libraries/libg15/README
@@ -1,3 +1,3 @@
-The libg15 library gives applications low-level access to the G15 and G11
-keyboards and the Z10 speakers. G15Daemon requires it to be installed.
-It uses libusb for access to the usb bus.
+The libg15 library gives applications low-level access to the G15
+and G11 keyboards and the Z10 speakers. G15Daemon requires it to be
+installed. It uses libusb for access to the usb bus.
diff --git a/libraries/libg15/libg15.SlackBuild b/libraries/libg15/libg15.SlackBuild
index b5a95f3f3e..8c246c596a 100644
--- a/libraries/libg15/libg15.SlackBuild
+++ b/libraries/libg15/libg15.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libg15
@@ -24,28 +24,38 @@
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libg15
VERSION=${VERSION:-1.2.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCS="README AUTHORS ChangeLog NEWS COPYING"
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"
@@ -91,8 +101,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/libraries/libg15render/README b/libraries/libg15render/README
index 9c70911af9..eae0b84d51 100644
--- a/libraries/libg15render/README
+++ b/libraries/libg15render/README
@@ -1,3 +1,3 @@
-libG15Render is a library to render text and shapes into a buffer usable by
-the Logitech G15 Gaming Keyboard. This library probably isn't very useful
-without libg15 and/or g15daemon.
+libG15Render is a library to render text and shapes into a buffer
+usable by the Logitech G15 Gaming Keyboard. This library probably
+isn't very useful without libg15 and/or g15daemon.
diff --git a/libraries/libg15render/libg15render.SlackBuild b/libraries/libg15render/libg15render.SlackBuild
index 6f02ee3f0d..801cf88b85 100644
--- a/libraries/libg15render/libg15render.SlackBuild
+++ b/libraries/libg15render/libg15render.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libg15render
@@ -24,26 +24,36 @@
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libg15render
VERSION=${VERSION:-1.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" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -92,8 +102,10 @@ make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
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/libraries/libg3d/libg3d.SlackBuild b/libraries/libg3d/libg3d.SlackBuild
index 56537751fe..010a320252 100644
--- a/libraries/libg3d/libg3d.SlackBuild
+++ b/libraries/libg3d/libg3d.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libg3d
@@ -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.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - get rid of empty/useless docs.
+# - symlink html docs to Slackware doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libg3d
VERSION=${VERSION:-0.0.8}
-BUILD=${BUILD:-1}
+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,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" \
@@ -78,23 +89,22 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- --enable-static=yes \
- --enable-gtk-doc=yes
+ --enable-static=yes
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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ AUTHORS COPYING ChangeLog README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
+ln -s ../../share/gtk-doc/html/libg3d $PKG/usr/doc/$PRGNAM-$VERSION/html
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/libraries/libg7221/README b/libraries/libg7221/README
new file mode 100644
index 0000000000..ee39e90d57
--- /dev/null
+++ b/libraries/libg7221/README
@@ -0,0 +1,4 @@
+libg7221 (ITU G.722.1 Siren codecs)
+
+This package provides support for implementing the Siren 7 and
+Siren 14 codecs for applications such as FreeSWITCH.
diff --git a/libraries/libg7221/libg7221.SlackBuild b/libraries/libg7221/libg7221.SlackBuild
new file mode 100644
index 0000000000..27fd914a17
--- /dev/null
+++ b/libraries/libg7221/libg7221.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for libg7221
+#
+# Copyright 2023 Yossi Neiman, mishehu+sbo@shavedgoats.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=libg7221
+VERSION=${VERSION:-20170711_e7db1cc}
+FULLCOMMIT=${FULLCOMMIT:-e7db1cc39e3fe37d8dda328a69eb523115f0fd32}
+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-$FULLCOMMIT
+tar xvf $CWD/$PRGNAM-$FULLCOMMIT.tar.gz
+cd $PRGNAM-$FULLCOMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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 {} \;
+
+./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-strip DESTDIR=$PKG
+
+rm -f $PKG/usr/lib*/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp AUTHORS COPYING README ChangeLog NEWS $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/libraries/libg7221/libg7221.info b/libraries/libg7221/libg7221.info
new file mode 100644
index 0000000000..9da094c46c
--- /dev/null
+++ b/libraries/libg7221/libg7221.info
@@ -0,0 +1,10 @@
+PRGNAM="libg7221"
+VERSION="20170711_e7db1cc"
+HOMEPAGE="https://github.com/freeswitch/libg7221"
+DOWNLOAD="https://github.com/freeswitch/libg7221/archive/e7db1cc39e3fe37d8dda328a69eb523115f0fd32/libg7221-e7db1cc39e3fe37d8dda328a69eb523115f0fd32.tar.gz"
+MD5SUM="08e834a87b3799eaf6889b5da47e6268"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yossi Neiman"
+EMAIL="mishehu+sbo@shavedgoats.net"
diff --git a/libraries/libg7221/slack-desc b/libraries/libg7221/slack-desc
new file mode 100644
index 0000000000..bb57db8f47
--- /dev/null
+++ b/libraries/libg7221/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------------------------------------------------------|
+libg7221: libg7221 (Siren 7 & 14 codec)
+libg7221:
+libg7221: This package provides support for implementing the Siren 7 & Siren
+libg7221: 14 codecs for applications such as FreeSWITCH. These codecs are a
+libg7221: part of ITU G.722.1.
+libg7221:
+libg7221:
+libg7221:
+libg7221:
+libg7221:
+libg7221:
diff --git a/libraries/libgadu/libgadu.SlackBuild b/libraries/libgadu/libgadu.SlackBuild
index 44067b8848..34fdec87c8 100644
--- a/libraries/libgadu/libgadu.SlackBuild
+++ b/libraries/libgadu/libgadu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgadu
@@ -23,10 +23,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgadu
VERSION=${VERSION:-1.12.2}
-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}
@@ -100,8 +110,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgaiagraphics/README b/libraries/libgaiagraphics/README
deleted file mode 100644
index bfb8d6db6c..0000000000
--- a/libraries/libgaiagraphics/README
+++ /dev/null
@@ -1,7 +0,0 @@
-libgaiagraphics is an open source library supporting common-utility raster
-handling methods. It is built on the top of the following well known graphics
-libraries:
- * libjpeg
- * libpng
- * libtiff / libgeotiff
- * cairo
diff --git a/libraries/libgaiagraphics/libgaiagraphics.SlackBuild b/libraries/libgaiagraphics/libgaiagraphics.SlackBuild
deleted file mode 100644
index ef849abbc1..0000000000
--- a/libraries/libgaiagraphics/libgaiagraphics.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libgaiagraphics
-# Copyright 2012-2015 Alexander Bruy <alexander.bruy@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=libgaiagraphics
-VERSION=${VERSION:-0.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
-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" \
-LDFLAGS="-ldl" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --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 INSTALL $PKG/usr/doc/$PRGNAM-$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/libraries/libgaiagraphics/libgaiagraphics.info b/libraries/libgaiagraphics/libgaiagraphics.info
deleted file mode 100644
index cf9b8dbebd..0000000000
--- a/libraries/libgaiagraphics/libgaiagraphics.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libgaiagraphics"
-VERSION="0.5"
-HOMEPAGE="https://www.gaia-gis.it/fossil/libgaiagraphics/index"
-DOWNLOAD="http://www.gaia-gis.it/gaia-sins/libgaiagraphics-0.5.tar.gz"
-MD5SUM="2fdc2f155718e9f20dcdf10e474fc225"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libgeotiff"
-MAINTAINER="Alexander Bruy"
-EMAIL="alexander.bruy@gmail.com"
diff --git a/libraries/libgaiagraphics/slack-desc b/libraries/libgaiagraphics/slack-desc
deleted file mode 100644
index 3bb8523442..0000000000
--- a/libraries/libgaiagraphics/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------------------------------------------------------|
-libgaiagraphics: libgaiagraphics (graphics utility library)
-libgaiagraphics:
-libgaiagraphics: libgaiagraphics is an open source library supporting common-utility
-libgaiagraphics: raster handling methods. It is built on the top of the following well
-libgaiagraphics: known graphics libraries: libjpeg, libpng, libtiff / libgeotiff and
-libgaiagraphics: cairo.
-libgaiagraphics:
-libgaiagraphics: Project home: https://www.gaia-gis.it/fossil/libgaiagraphics/index
-libgaiagraphics:
-libgaiagraphics:
-libgaiagraphics:
diff --git a/libraries/libgaminggear/libgaminggear.SlackBuild b/libraries/libgaminggear/libgaminggear.SlackBuild
index 2b4ed5a9b3..3a14d99f5f 100644
--- a/libraries/libgaminggear/libgaminggear.SlackBuild
+++ b/libraries/libgaminggear/libgaminggear.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgaminggear
@@ -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.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add missing doc dir and docs.
+# - add SlackBuild to doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgaminggear
VERSION=${VERSION:-0.15.1}
-BUILD=${BUILD:-2}
+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}
@@ -75,26 +86,23 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -isystem /usr/include/harfbuzz" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -isystem /usr/include/harfbuzz" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
-
# setup udev rules for uinput and uhid modules
mkdir -p $PKG/lib/udev/rules.d
install -m 644 $CWD/90-uinput.rules $PKG/lib/udev/rules.d/
@@ -104,8 +112,13 @@ if [ "$GROUP" != "uinput-users" ]; then
sed -i "s|uinput-users|$GROUP|g" $PKG/lib/udev/rules.d/90-uinput.rules
fi
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a COPYING Changelog 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/libraries/libgbinder/README b/libraries/libgbinder/README
new file mode 100644
index 0000000000..906e52647c
--- /dev/null
+++ b/libraries/libgbinder/README
@@ -0,0 +1,46 @@
+GLib-style interface to binder (Android IPC mechanism)
+
+Key features:
+
+1. Integration with GLib event loop
+2. Detection of 32 vs 64 bit kernel at runtime
+3. Asynchronous transactions that don't block the event thread
+4. Stable service manager and low-level transaction APIs
+
+Android keeps changing both low-level RPC and service manager
+protocols from version to version. To counter that, libgbinder
+implements configirable backends for different variants of those,
+and yet keeping its own API unchanged.
+
+Configuration is loaded from [Protocol] and [ServiceManager] sections
+of /etc/gbinder.conf file. The keys are binder device names or the
+special Default value, the value is the identifier of the protocol
+or service manager variant, respectively.
+
+In addition to reading /etc/gbinder.conf if it exists, /etc/gbinder.d
+directory is scanned for .conf files, the file list is sorted, files are
+loaded one by one, overwriting the entries loaded from /etc/gbinder.conf
+or from the previously processed file.
+
+Known protocol and service manager variants are aidl, aidl2, aidl3 and
+hidl. This list is expected to expand further in the future. The default
+configuration is as follows:
+
+ [Protocol]
+ Default = aidl
+ /dev/binder = aidl
+ /dev/hwbinder = hidl
+
+ [ServiceManager]
+ Default = aidl
+ /dev/binder = aidl
+ /dev/hwbinder = hidl
+
+Alternatively and preferably, one can specify the desired Android API
+level:
+
+ [General]
+ ApiLevel = 29
+
+and let libgbinder pick the appropriate preset. Full list of presets can
+be found in src/gbinder_config.c
diff --git a/libraries/libgbinder/libgbinder.SlackBuild b/libraries/libgbinder/libgbinder.SlackBuild
new file mode 100644
index 0000000000..570cb17051
--- /dev/null
+++ b/libraries/libgbinder/libgbinder.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for libgbinder
+
+# Copyright 2024 juanma1980 <juanma1980@disroot.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=libgbinder
+VERSION=${VERSION:-1.1.35}
+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 zxvf $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"
+LIB=/usr/lib${LIBDIRSUFFIX}
+LIBDIR=$LIB make
+LIBDIR=$LIB make install-dev DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+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
+
+# make all symbolic links relative
+# (code from https://unix.stackexchange.com/a/100955/16829)
+for link in $(find . -lname '/*'); do
+ target=$(readlink "$link")
+ link=${link#./}
+ echo "READ $link"
+ root=$(echo $link | sed -E 's|[^/](.[^/]*)|..|g'); root=${root#/}; root=${root%..}
+ echo "AS $root"
+ echo "LN $root${target#/}"
+ rm "$link"
+ echo $PWD
+ cd $(dirname link)
+ #The install creates a hard link with wrong path
+ #Dirty fix
+ target=${target/$PWD/}
+ ln -s "$root${target#/}" "$link"
+ cd $OLDPWD
+done
+rm -rf usr/share/doc
+rm -rf usr/share/man
+
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgbinder/libgbinder.info b/libraries/libgbinder/libgbinder.info
new file mode 100644
index 0000000000..cfc61c7ab2
--- /dev/null
+++ b/libraries/libgbinder/libgbinder.info
@@ -0,0 +1,10 @@
+PRGNAM="libgbinder"
+VERSION="1.1.35"
+HOMEPAGE="https://github.com/mer-hybris/libgbinder"
+DOWNLOAD="http://github.com/mer-hybris/libgbinder/archive/1.1.35/libgbinder-1.1.35.tar.gz"
+MD5SUM="6bdc0641856bfaaa3726f3df97f92375"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libglibutil"
+MAINTAINER="juanma1980"
+EMAIL="juanma1980@disroot.org"
diff --git a/libraries/libgbinder/slack-desc b/libraries/libgbinder/slack-desc
new file mode 100644
index 0000000000..3700fcd188
--- /dev/null
+++ b/libraries/libgbinder/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------------------------------------------------------|
+libgbinder: libgbinder (short desc)
+libgbinder: GLib-style interface to binder (Android IPC mechanism)
+libgbinder:
+libgbinder:
+libgbinder:
+libgbinder:
+libgbinder:
+libgbinder:
+libgbinder:
+libgbinder:
+libgbinder: https://github.com/waydroid/gbinder-python
diff --git a/libraries/libgcrypt15/README b/libraries/libgcrypt15/README
deleted file mode 100644
index 7e46b2d603..0000000000
--- a/libraries/libgcrypt15/README
+++ /dev/null
@@ -1,3 +0,0 @@
-libgcrypt15 is a legacy build with just the lib,
-needed for some applications. It is installable
-alongside Slackware's own libgcrypt.
diff --git a/libraries/libgcrypt15/libgcrypt15.SlackBuild b/libraries/libgcrypt15/libgcrypt15.SlackBuild
deleted file mode 100644
index 3df9db813b..0000000000
--- a/libraries/libgcrypt15/libgcrypt15.SlackBuild
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libgcrypt 1.5 (legacy)
-
-# Copyright 2006-2009 Robby Workman, Northport, AL, USA
-# Copyright 2007, 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2010-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Copyright 2017 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=libgcrypt15
-SRCNAM=libgcrypt
-VERSION=${VERSION:-1.5.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
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-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 \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --infodir=/usr/info \
- --mandir=/usr/man \
- --docdir=/usr/doc/libgcrypt-$VERSION \
- --enable-shared=yes \
- --enable-static=no \
- --program-prefix="" \
- --program-suffix="" \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Move the shared library to $PKG/lib${LIBDIRSUFFIX}:
-mkdir -p $PKG/lib${LIBDIRSUFFIX}
-( cd $PKG/usr/lib${LIBDIRSUFFIX}
- for file in lib*.so.??.* ; do
- mv $file ../../lib${LIBDIRSUFFIX}
- ln -sf ../../lib${LIBDIRSUFFIX}/$file .
- done
- cp -a lib*.so.?? ../../lib${LIBDIRSUFFIX}
-)
-
-find $PKG -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/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-## clean up since we only need the libs
-rm -v $PKG/usr/lib${LIBDIRSUFFIX}/${SRCNAM}.so
-rm -rfv $PKG/usr/{include,doc,bin,share,info}
-rm -v $PKG/usr/lib${LIBDIRSUFFIX}/*.la
-
-mkdir -p $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/libraries/libgcrypt15/libgcrypt15.info b/libraries/libgcrypt15/libgcrypt15.info
deleted file mode 100644
index 4e3f7415b3..0000000000
--- a/libraries/libgcrypt15/libgcrypt15.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libgcrypt15"
-VERSION="1.5.6"
-HOMEPAGE="https://www.gnu.org/software/libgcrypt/"
-DOWNLOAD="ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.6.tar.bz2"
-MD5SUM="a6208579e346b1d57fc2a00402181361"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libgcrypt15/slack-desc b/libraries/libgcrypt15/slack-desc
deleted file mode 100644
index 36d2b61851..0000000000
--- a/libraries/libgcrypt15/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------------------------------------------------------|
-libgcrypt15: libgcrypt15 (General purpose crypto library)
-libgcrypt15:
-libgcrypt15: libgcrypt15 is a general purpose crypto library based on the code
-libgcrypt15: used in GnuPG. This is the 1.5.x branch needed for some apps.
-libgcrypt15:
-libgcrypt15:
-libgcrypt15:
-libgcrypt15:
-libgcrypt15:
-libgcrypt15:
-libgcrypt15:
diff --git a/libraries/libgda/README b/libraries/libgda/README
deleted file mode 100644
index 2e6719277c..0000000000
--- a/libraries/libgda/README
+++ /dev/null
@@ -1,3 +0,0 @@
-Data abstraction layer with mysql, pgsql, xml, sqlite providers.
-
-jdk is an optional dependency.
diff --git a/libraries/libgda/doinst.sh b/libraries/libgda/doinst.sh
deleted file mode 100644
index f3676c9606..0000000000
--- a/libraries/libgda/doinst.sh
+++ /dev/null
@@ -1,25 +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...
-}
-
-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
-
-config etc/libgda-5.0/config.new
-
diff --git a/libraries/libgda/libgda.SlackBuild b/libraries/libgda/libgda.SlackBuild
deleted file mode 100644
index e3df94df22..0000000000
--- a/libraries/libgda/libgda.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libgda
-
-# Copyright 2012-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=libgda
-VERSION=${VERSION:-5.2.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.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 \
- --disable-static \
- --enable-binreloc \
- --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
-
-mv $PKG/etc/libgda-5.0/config $PKG/etc/libgda-5.0/config.new
-
-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 $PKG/usr/doc/$PRGNAM-$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/libraries/libgda/libgda.info b/libraries/libgda/libgda.info
deleted file mode 100644
index 98129f6f35..0000000000
--- a/libraries/libgda/libgda.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libgda"
-VERSION="5.2.9"
-HOMEPAGE="https://www.gnome.org/"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-5.2.9.tar.xz"
-MD5SUM="29bfbf4787a05a150fc506a7e1f38523"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libgee"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libgda/slack-desc b/libraries/libgda/slack-desc
deleted file mode 100644
index 00b6ea2351..0000000000
--- a/libraries/libgda/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------------------------------------------------------|
-libgda: libgda (GNOME DB)
-libgda:
-libgda: libgda provides data abstraction layer with mysql, pgsql, xml,
-libgda: sqlite providers.
-libgda:
-libgda: Project Site: http://www.gnome-db.org/
-libgda:
-libgda:
-libgda:
-libgda:
-libgda:
diff --git a/libraries/libgdata/README b/libraries/libgdata/README
new file mode 100644
index 0000000000..94614677be
--- /dev/null
+++ b/libraries/libgdata/README
@@ -0,0 +1,12 @@
+libgdata is a GLib-based library for accessing online service APIs
+using the GData protocol most notably, Google's services. It provides
+APIs to access the common Google services, and has full asynchronous
+support.
+
+Below variables can be used to configure the build:
+ GTKDOC=yes : Builds gtkdocs
+ INSTROSPECTION=no : Disable the introspection generation
+ TESTS=yes : Build & install test programs
+ VAPI=no : Disable creation of vapi files
+ OAUTH=yes : Enable OAuth 1.0 support (deprecated)
+ MAN=yes : Generate man pages
diff --git a/libraries/libgdata/libgdata.SlackBuild b/libraries/libgdata/libgdata.SlackBuild
new file mode 100644
index 0000000000..cdd98dfef5
--- /dev/null
+++ b/libraries/libgdata/libgdata.SlackBuild
@@ -0,0 +1,168 @@
+#!/bin/bash
+
+# Slackware build script for libgdata
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libgdata
+VERSION=${VERSION:-0.18.1}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TESTS=${TESTS:-no}
+GTKDOC=${GTKDOC:-no}
+INTROSPECTION=${INTROSPECTION:-yes}
+VAPI=${VAPI:-yes}
+OAUTH1=${OAUTH1=no}
+MAN=${MAN:-no}
+
+if [ "$TESTS" = "yes" ]; then
+ TESTSP="true"
+else
+ TESTSP="false"
+fi
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+else
+ GTKDOCP="false"
+fi
+
+if [ "$INTROSPECTION" = "yes" ]; then
+ INTROSPECTIONP="true"
+else
+ INTROSPECTIONP="false"
+fi
+
+if [ "$VAPI" = "yes" ]; then
+ VAPIP="true"
+else
+ VAPIP="false"
+fi
+
+if [ "$OAUTH1" = "yes" ]; then
+ OAUTH1P="enabled"
+else
+ OAUTH1P="disabled"
+fi
+
+if [ "$MAN" = "yes" ]; then
+ MANP="true"
+else
+ MANP="false"
+fi
+
+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 \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ -Dstrip=true \
+ -Dgtk=enabled \
+ -Dgnome=disabled \
+ -Dgoa=enabled \
+ -Dalways_build_tests="$TESTSP" \
+ -Dgtk_doc="$GTKDOCP" \
+ -Dintrospection="$INTROSPECTIONP" \
+ -Dvapi="$VAPIP" \
+ -Doauth1="$OAUTH1P" \
+ -Dman="$MANP"
+ "${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 \
+ AUTHORS COPYING 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
diff --git a/libraries/libgdata/libgdata.info b/libraries/libgdata/libgdata.info
new file mode 100644
index 0000000000..fc897a8d0a
--- /dev/null
+++ b/libraries/libgdata/libgdata.info
@@ -0,0 +1,10 @@
+PRGNAM="libgdata"
+VERSION="0.18.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libgdata/"
+DOWNLOAD="https://download.gnome.org/sources/libgdata/0.18/libgdata-0.18.1.tar.xz"
+MD5SUM="92b058d1a0af5d1b96c86c21820f1eff"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="uhttpmock gnome-online-accounts"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/libgdata/slack-desc b/libraries/libgdata/slack-desc
new file mode 100644
index 0000000000..939283212a
--- /dev/null
+++ b/libraries/libgdata/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------------------------------------------------------|
+libgdata: libgdata (online services APIs access)
+libgdata:
+libgdata: libgdata is a GLib-based library for accessing online services APIs
+libgdata: using the GData protocol - most notably, Google's services. It
+libgdata: provides APIs to access the common Google services, and has full
+libgdata: assynchronous support.
+libgdata:
+libgdata: https://gitlab.gnome.org/GNOME/libgdata/
+libgdata:
+libgdata:
+libgdata:
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild
index 1b1c3948e3..cb4ab7f0d4 100644
--- a/libraries/libgdiplus/libgdiplus.SlackBuild
+++ b/libraries/libgdiplus/libgdiplus.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgdiplus
-# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
-# Copyright 2017 Andre Barboza <bmg.andre@gmail.com>
+# Copyright 2023 Steven Voges <Oregon, USA>
+# Copyright 2017 Andre Barboza <bmg.andre@gmail.com>
+# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,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=libgdiplus
-VERSION=${VERSION:-5.4}
+VERSION=${VERSION:-6.1}
+GOOGLETEST=${GOOGLETEST:-1.11.0}
+#GOOGLETEST=${GOOGLETEST:-703bd9caab50b139428cea1aaff9974ebee5742e}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,10 +42,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}
+DEPS=$TMP/$PRGNAM-$VERSION/external
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -63,6 +74,10 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+tar xvf $CWD/googletest-release-$GOOGLETEST.tar.gz -C \
+ $DEPS/googletest --strip-components 1
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -82,12 +97,14 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux
-
make
make install-strip DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE MPL-1.1.html NEWS README TODO \
+cp -a \
+ *.md docs/* AUTHORS COPYING ChangeLog LICENSE NEWS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -95,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/libraries/libgdiplus/libgdiplus.info b/libraries/libgdiplus/libgdiplus.info
index 26b465ed12..5ed1dbe360 100644
--- a/libraries/libgdiplus/libgdiplus.info
+++ b/libraries/libgdiplus/libgdiplus.info
@@ -1,10 +1,12 @@
PRGNAM="libgdiplus"
-VERSION="5.4"
-HOMEPAGE="http://www.go-mono.org"
-DOWNLOAD="https://github.com/mono/libgdiplus/archive/5.4/libgdiplus-5.4.tar.gz"
-MD5SUM="900a68e2e97e45a62011b79a623ce324"
+VERSION="6.1"
+HOMEPAGE="https://github.com/mono/libgdiplus"
+DOWNLOAD="https://github.com/mono/libgdiplus/archive/6.1/libgdiplus-6.1.tar.gz \
+ https://github.com/google/googletest/archive/release-1.11.0/googletest-release-1.11.0.tar.gz"
+MD5SUM="b5490be9511269c85dcda0f45f17508b \
+ e8a8df240b6938bb6384155d4c37d937"
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/libraries/libgdiplus/slack-desc b/libraries/libgdiplus/slack-desc
index d8a11bb743..5cb8ae8d3a 100644
--- a/libraries/libgdiplus/slack-desc
+++ b/libraries/libgdiplus/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
libgdiplus: libgdiplus (Open Source implementation of the GDI+ API)
libgdiplus:
-libgdiplus: An Open Source implementation of the GDI+ API.
-libgdiplus: This package is part of the Mono project.
+libgdiplus: C-based implementation of the GDI+ API
libgdiplus:
+libgdiplus: Homepage: https://github.com/mono/libgdiplus
libgdiplus:
libgdiplus:
libgdiplus:
diff --git a/libraries/libgdsii/README b/libraries/libgdsii/README
new file mode 100644
index 0000000000..51955f7ac9
--- /dev/null
+++ b/libraries/libgdsii/README
@@ -0,0 +1,13 @@
+libGDSII is a C++ library for working with GDSII binary data files,
+intended primarily for use with the computational electromagnetism
+codes scuff-em and meep but sufficiently general-purpose to allow
+other uses as well.
+
+The packages consists of
+
+a C++ library (libGDSII) with API functions for reading, processing,
+and exporting GDSII files
+
+a command-line executable code (GDSIIConvert) for reporting statistics
+on GDSII geometries and exporting them to other file formats, notably
+including the GMSH geometry format.
diff --git a/libraries/libgdsii/libgdsii.SlackBuild b/libraries/libgdsii/libgdsii.SlackBuild
new file mode 100644
index 0000000000..8a27d8a16f
--- /dev/null
+++ b/libraries/libgdsii/libgdsii.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for libgdsii
+
+# 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=libgdsii
+VERSION=${VERSION:-0.21}
+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 build
+cd build
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PKGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux || exit 1
+
+make
+make install DESTDIR=$PKG
+)
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS \
+COPYING \
+COPYRIGHT README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgdsii/libgdsii.info b/libraries/libgdsii/libgdsii.info
new file mode 100644
index 0000000000..b23f04fba4
--- /dev/null
+++ b/libraries/libgdsii/libgdsii.info
@@ -0,0 +1,10 @@
+PRGNAM="libgdsii"
+VERSION="0.21"
+HOMEPAGE="https://github.com/HomerReid/libGDSII/"
+DOWNLOAD="https://github.com/HomerReid/libGDSII/releases/download/v0.21/libgdsii-0.21.tar.gz"
+MD5SUM="42547d2e63e3f566923bda895a25f2ad"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.libgdsii_2023-07-12@lockywolf.net"
diff --git a/libraries/libgdsii/slack-desc b/libraries/libgdsii/slack-desc
new file mode 100644
index 0000000000..41df1e7a27
--- /dev/null
+++ b/libraries/libgdsii/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------------------------------------------------------|
+libgdsii: libgdsii (library and utility for reading GDSII geometry files)
+libgdsii:
+libgdsii: libGDSII is a C++ library for working with GDSII binary data files,
+libgdsii: intended primarily for use with the computational electromagnetism
+libgdsii: codes scuff-em and meep but sufficiently general-purpose to allow
+libgdsii: other uses as well.
+libgdsii:
+libgdsii:
+libgdsii:
+libgdsii:
+libgdsii:
diff --git a/libraries/libgedit-amtk/README b/libraries/libgedit-amtk/README
new file mode 100644
index 0000000000..ab9edb9624
--- /dev/null
+++ b/libraries/libgedit-amtk/README
@@ -0,0 +1,7 @@
+Amtk is the acronym for “Actions, Menus and Toolbars Kit”.
+It is a basic GtkUIManager replacement based on GAction
+targetting GTK+ 3.
+
+It is suitable for both a traditional UI or a modern UI
+with a GtkHeaderBar.
+
diff --git a/libraries/libgedit-amtk/libgedit-amtk.SlackBuild b/libraries/libgedit-amtk/libgedit-amtk.SlackBuild
new file mode 100644
index 0000000000..3a1cf414e4
--- /dev/null
+++ b/libraries/libgedit-amtk/libgedit-amtk.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for libgedit-amtk
+
+# 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
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libgedit-amtk
+VERSION=${VERSION:-5.8.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.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 {} \;
+
+# circunvent meson version mismtach (fs.copyfile not available)
+# and also avoid gtk_doc, which uses fs.copyfile
+sed -i "s/meson_version: '>= 0.64'/meson_version: '>= 0.59'/" meson.build
+
+# minor change: use default Gio.ApplicationFlags value upto version 2.74
+sed -i 's/G_APPLICATION_DEFAULT_FLAGS/G_APPLICATION_FLAGS_NONE/' \
+ tests/interactive-tests/{test-headerbar,test-traditional-ui}.c
+
+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 \
+ -Dgtk_doc=false \
+ -Dstrip=true
+"${NINJA:=ninja}"
+DESTDIR=$PKG $NINJA install
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md NEWS LICENSES/LGPL-3.0-or-later.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgedit-amtk/libgedit-amtk.info b/libraries/libgedit-amtk/libgedit-amtk.info
new file mode 100644
index 0000000000..99a97cb69a
--- /dev/null
+++ b/libraries/libgedit-amtk/libgedit-amtk.info
@@ -0,0 +1,10 @@
+PRGNAM="libgedit-amtk"
+VERSION="5.8.0"
+HOMEPAGE="https://gedit-technology.net/"
+DOWNLOAD="https://gedit-technology.net/tarballs/libgedit-amtk/libgedit-amtk-5.8.0.tar.xz"
+MD5SUM="1b2ad96c189dd1749b6526c6026e0618"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/libgedit-amtk/slack-desc b/libraries/libgedit-amtk/slack-desc
new file mode 100644
index 0000000000..21104bb934
--- /dev/null
+++ b/libraries/libgedit-amtk/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------------------------------------------------------|
+libgedit-amtk: libgedit-amtk (Actions, Menus and Toolbars Kit)
+libgedit-amtk:
+libgedit-amtk: It is a basic GtkUIManager replacement based on GAction
+libgedit-amtk: targetting GTK+ 3.
+libgedit-amtk: It is suitable for both a traditional UI or a modern UI
+libgedit-amtk: with a GtkHeaderBar.
+libgedit-amtk:
+libgedit-amtk:
+libgedit-amtk:
+libgedit-amtk: for more info see: https://gedit-technology.net/
+libgedit-amtk:
diff --git a/libraries/libgedit-gtksourceview/README b/libraries/libgedit-gtksourceview/README
new file mode 100644
index 0000000000..471e04dbda
--- /dev/null
+++ b/libraries/libgedit-gtksourceview/README
@@ -0,0 +1,6 @@
+libgedit-gtksourceview is a library that extends GtkTextView,
+the standard GTK widget for multiline text editing. This
+library adds support for syntax highlighting, undo/redo, file
+loading and saving, search and replace, a completion system,
+printing, displaying line numbers, and other features typical
+of a source code editor.
diff --git a/libraries/libgedit-gtksourceview/libgedit-gtksourceview.SlackBuild b/libraries/libgedit-gtksourceview/libgedit-gtksourceview.SlackBuild
new file mode 100644
index 0000000000..dd45b51bac
--- /dev/null
+++ b/libraries/libgedit-gtksourceview/libgedit-gtksourceview.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for libgedit-gtksourceview
+
+# 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
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libgedit-gtksourceview
+VERSION=${VERSION:-299.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+# 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" \
+ 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 ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgedit-gtksourceview/libgedit-gtksourceview.info b/libraries/libgedit-gtksourceview/libgedit-gtksourceview.info
new file mode 100644
index 0000000000..b6d1f2684c
--- /dev/null
+++ b/libraries/libgedit-gtksourceview/libgedit-gtksourceview.info
@@ -0,0 +1,10 @@
+PRGNAM="libgedit-gtksourceview"
+VERSION="299.0.5"
+HOMEPAGE="https://gedit-technology.github.io/"
+DOWNLOAD="https://github.com/gedit-technology/libgedit-gtksourceview/archive/299.0.5/libgedit-gtksourceview-299.0.5.tar.gz"
+MD5SUM="2f20bcc19e72a370021d4144019af770"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/libgedit-gtksourceview/slack-desc b/libraries/libgedit-gtksourceview/slack-desc
new file mode 100644
index 0000000000..6656890884
--- /dev/null
+++ b/libraries/libgedit-gtksourceview/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------------------------------------------------------|
+libgedit-gtksourceview: libgedit-gtksourceview (GTK+ text editing widget)
+libgedit-gtksourceview:
+libgedit-gtksourceview: libgedit-gtksourceview is a library that extends GtkTextView,
+libgedit-gtksourceview: the standard GTK widget for multiline text editing. This
+libgedit-gtksourceview: library adds support for syntax highlighting, undo/redo, file
+libgedit-gtksourceview: loading and saving, search and replace, a completion system,
+libgedit-gtksourceview: printing, displaying line numbers, and other features typical
+libgedit-gtksourceview: of a source code editor.
+libgedit-gtksourceview:
+libgedit-gtksourceview: for more information, see: https://gedit-technology.net/
+libgedit-gtksourceview:
diff --git a/libraries/libgee/README b/libraries/libgee/README
deleted file mode 100644
index e5f6093a12..0000000000
--- a/libraries/libgee/README
+++ /dev/null
@@ -1,4 +0,0 @@
-libgee is a collection library providing GObject-based interfaces
-and classes for commonly used data structures.
-
-This package can be installed alongside with libgee1
diff --git a/libraries/libgee/libgee.SlackBuild b/libraries/libgee/libgee.SlackBuild
deleted file mode 100644
index b9c5911fea..0000000000
--- a/libraries/libgee/libgee.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libgee
-
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2011-2019 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=libgee
-VERSION=${VERSION:-0.20.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.?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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-silent-rules \
- --enable-introspection=auto \
- --disable-dependency-tracking \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog COPYING MAINTAINERS 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/libraries/libgee/libgee.info b/libraries/libgee/libgee.info
deleted file mode 100644
index 66009642dc..0000000000
--- a/libraries/libgee/libgee.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libgee"
-VERSION="0.20.2"
-HOMEPAGE="https://live.gnome.org/Libgee"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libgee/0.20/libgee-0.20.2.tar.xz"
-MD5SUM="45db478f2b300ada8e039ebc6c9458de"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="vala"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libgee/slack-desc b/libraries/libgee/slack-desc
deleted file mode 100644
index 50a1a339ea..0000000000
--- a/libraries/libgee/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------------------------------------------------------|
-libgee: libgee (GObject-based interfaces and classes)
-libgee:
-libgee: libgee is a collection library providing GObject-based interfaces and
-libgee: classes for commonly used data structures.
-libgee:
-libgee: Homepage: http://live.gnome.org/Libgee
-libgee:
-libgee:
-libgee:
-libgee:
-libgee:
diff --git a/libraries/libgee1/libgee1.SlackBuild b/libraries/libgee1/libgee1.SlackBuild
index 77856055f4..6fc4920801 100644
--- a/libraries/libgee1/libgee1.SlackBuild
+++ b/libraries/libgee1/libgee1.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgee1
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgee1
SRCNAM=libgee
VERSION=${VERSION:-0.6.8}
-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"
@@ -73,8 +83,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgee1/libgee1.info b/libraries/libgee1/libgee1.info
index 325fffecde..f04d5dbc66 100644
--- a/libraries/libgee1/libgee1.info
+++ b/libraries/libgee1/libgee1.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libgee/0.6/libgee-0.6.8.tar.xz"
MD5SUM="2688c24f9a12e7616ee808f9092d0afe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vala"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libgexiv2/README b/libraries/libgexiv2/README
deleted file mode 100644
index 40c7cae33c..0000000000
--- a/libraries/libgexiv2/README
+++ /dev/null
@@ -1,3 +0,0 @@
-gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
-It allows for GNOME applications to easily inspect and update
-EXIF, IPTC, and XMP metadata in photo files of various formats.
diff --git a/libraries/libgexiv2/libgexiv2.SlackBuild b/libraries/libgexiv2/libgexiv2.SlackBuild
deleted file mode 100644
index be7abf73da..0000000000
--- a/libraries/libgexiv2/libgexiv2.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for entangle
-
-# Copyright 2014 Soydaner Ulker Istanbul,Turkey
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libgexiv2
-SRCNAM=gexiv2
-VERSION=${VERSION:-0.10.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 -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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --enable-introspection \
- --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 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/libraries/libgexiv2/libgexiv2.info b/libraries/libgexiv2/libgexiv2.info
deleted file mode 100644
index 6942a4f407..0000000000
--- a/libraries/libgexiv2/libgexiv2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libgexiv2"
-VERSION="0.10.3"
-HOMEPAGE="https://wiki.gnome.org/gexiv2"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gexiv2/0.10/gexiv2-0.10.3.tar.xz"
-MD5SUM="f255100a009027d4eaa0f075bb79c655"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="vala"
-MAINTAINER="Soydaner Ulker"
-EMAIL="soydaner@kahverengi.com"
diff --git a/libraries/libgexiv2/slack-desc b/libraries/libgexiv2/slack-desc
deleted file mode 100644
index ae4dcb9130..0000000000
--- a/libraries/libgexiv2/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------------------------------------------------------|
-libgexiv2: libgexiv2 (GObject wrapper around Exiv2 library)
-libgexiv2:
-libgexiv2: gexiv2 is a GObject wrapper around the Exiv2 photo metadata library.
-libgexiv2: It allows for GNOME applications to easily inspect and update EXIF,
-libgexiv2: IPTC, and XMP metadata in photo files of various formats.
-libgexiv2: Homepage: https://wiki.gnome.org/gexiv2
-libgexiv2:
-libgexiv2:
-libgexiv2:
-libgexiv2:
-libgexiv2:
diff --git a/libraries/libgig/libgig.SlackBuild b/libraries/libgig/libgig.SlackBuild
index 7026b615bc..ea9e2d151c 100644
--- a/libraries/libgig/libgig.SlackBuild
+++ b/libraries/libgig/libgig.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgig
# Written by Michales Michaloudes korgie@gmail.com
-# Copyright 2019 Johannes Schoepfer, Germany
+# Copyright 2019-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgig
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-4.4.1}
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}
@@ -67,9 +74,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 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,6 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
+# prevent excessive overlinking due to libtool
+sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make install DESTDIR=$PKG
@@ -91,18 +100,20 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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 {} \;
+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
cd $TMP/$PRGNAM-$VERSION/
cp -a \
- AUTHORS COPYING ChangeLog INSTALL TODO README NEWS \
+ AUTHORS COPYING ChangeLog TODO README NEWS \
$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/libraries/libgig/libgig.info b/libraries/libgig/libgig.info
index 6462f2d5be..ae12d0b8c7 100644
--- a/libraries/libgig/libgig.info
+++ b/libraries/libgig/libgig.info
@@ -1,8 +1,8 @@
PRGNAM="libgig"
-VERSION="4.2.0"
+VERSION="4.4.1"
HOMEPAGE="https://www.linuxsampler.org/libgig/"
-DOWNLOAD="https://download.linuxsampler.org/packages/libgig-4.2.0.tar.bz2"
-MD5SUM="5ab37d9d7532a4cd0ed5508b08b8d1d5"
+DOWNLOAD="https://download.linuxsampler.org/packages/libgig-4.4.1.tar.bz2"
+MD5SUM="c1c6302c49fa6368c4f2b543b0239700"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libgig/slack-desc b/libraries/libgig/slack-desc
index 4dc78ecded..5ac6eb6bcc 100644
--- a/libraries/libgig/slack-desc
+++ b/libraries/libgig/slack-desc
@@ -11,7 +11,7 @@ libgig:
libgig: C++ library for loading, modifying and creating .gig, .ksf, .kmp,
libgig: .sf2 and DLS files.
libgig:
-libgig: Homepage: https://www.linuxsampler.org/libgig/
+libgig: https://www.linuxsampler.org/libgig/
libgig:
libgig:
libgig:
diff --git a/libraries/libgit2-glib/README b/libraries/libgit2-glib/README
index 8cdaf65bea..9c41279a6b 100644
--- a/libraries/libgit2-glib/README
+++ b/libraries/libgit2-glib/README
@@ -1 +1,2 @@
-libgit2-glib is a glib wrapper library around the libgit2 git access library
+libgit2-glib is a glib wrapper library around the libgit2 git access
+library
diff --git a/libraries/libgit2-glib/detect-libgit2-version.patch b/libraries/libgit2-glib/detect-libgit2-version.patch
new file mode 100644
index 0000000000..5e285c9cff
--- /dev/null
+++ b/libraries/libgit2-glib/detect-libgit2-version.patch
@@ -0,0 +1,141 @@
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-clone-options.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-clone-options.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-clone-options.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-clone-options.c 2020-05-02 03:01:42.273450898 +0000
+@@ -149,7 +149,7 @@
+
+ if (error != NULL)
+ {
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_error_set_str (GIT_ERROR, error->message);
+ #else
+ giterr_set_str (GIT_ERROR, error->message);
+@@ -191,7 +191,7 @@
+
+ if (error)
+ {
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_error_set_str (GIT_ERROR, error->message);
+ #else
+ giterr_set_str (GIT_ERROR, error->message);
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-config.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-config.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-config.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-config.c 2020-05-02 03:10:08.034437972 +0000
+@@ -191,7 +191,7 @@
+ if (git_config_find_global (&buf) == GIT_OK)
+ {
+ path = g_file_new_for_path (buf.ptr);
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
+@@ -224,7 +224,7 @@
+ if (git_config_find_system (&buf) == GIT_OK)
+ {
+ path = g_file_new_for_path (buf.ptr);
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
+@@ -303,7 +303,7 @@
+ ret = git_config_add_file_ondisk (_ggit_native_get (config),
+ path,
+ (git_config_level_t)level,
+-#if LIBGIT2_SOVERSION >= 27
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 27)
+ NULL,
+ #endif
+ force);
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-diff.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-diff.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-diff.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-diff.c 2020-05-02 03:04:17.745446924 +0000
+@@ -786,7 +786,7 @@
+
+ if (ret != GIT_OK)
+ {
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
+@@ -796,7 +796,7 @@
+ }
+
+ retval = g_strndup (buf.ptr, buf.size);
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-error.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-error.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-error.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-error.c 2020-05-02 03:05:09.952445590 +0000
+@@ -51,7 +51,7 @@
+ g_return_if_fail (err < 0);
+
+ /* TODO: add more kind of errors, see git_error_t */
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git2_err = git_error_last ();
+ #else
+ git2_err = giterr_last ();
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-message.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-message.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-message.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-message.c 2020-05-02 03:05:44.877444697 +0000
+@@ -46,7 +46,7 @@
+ git_message_prettify (&buf, message, strip_comments, comment_char);
+
+ d = g_strdup (buf.ptr);
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-patch.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-patch.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-patch.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-patch.c 2020-05-02 03:06:32.489443481 +0000
+@@ -194,7 +194,7 @@
+ if (ret == GIT_OK)
+ {
+ result = g_strdup (buf.ptr);
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-remote-callbacks.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-remote-callbacks.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-remote-callbacks.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-remote-callbacks.c 2020-05-02 03:07:14.164442416 +0000
+@@ -160,7 +160,7 @@
+ {
+ if (error)
+ {
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_error_set_str (GIT_ERROR, error->message);
+ #else
+ giterr_set_str (GIT_ERROR, error->message);
+diff -Naur libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-repository.c libgit2-glib-0.28.0.1/libgit2-glib/ggit-repository.c
+--- libgit2-glib-0.28.0.1.orig/libgit2-glib/ggit-repository.c 2019-04-24 04:18:53.000000000 +0000
++++ libgit2-glib-0.28.0.1/libgit2-glib/ggit-repository.c 2020-05-02 03:08:08.018441039 +0000
+@@ -1013,7 +1013,7 @@
+ if (ret == GIT_OK)
+ {
+ rep = g_file_new_for_path (buf.ptr);
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
+@@ -3684,7 +3684,7 @@
+ }
+
+ ref = g_strdup (buf.ptr);
+-#if LIBGIT2_SOVERSION >= 28
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28)
+ git_buf_dispose (&buf);
+ #else
+ git_buf_free (&buf);
diff --git a/libraries/libgit2-glib/libgit2-glib.SlackBuild b/libraries/libgit2-glib/libgit2-glib.SlackBuild
index 6c30ce25b8..0ddbedf416 100644
--- a/libraries/libgit2-glib/libgit2-glib.SlackBuild
+++ b/libraries/libgit2-glib/libgit2-glib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgit2-glib
@@ -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=libgit2-glib
VERSION=${VERSION:-0.28.0.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,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 {} \;
+# Build against libgit2 version >= 1.0
+patch -p1 < $CWD/detect-libgit2-version.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson build \
@@ -80,8 +93,7 @@ meson build \
--buildtype=release \
-Dgtk_doc=true
-ninja -C build
-DESTDIR=$PKG ninja -C build install
+DESTDIR=$PKG "${NINJA:=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
@@ -94,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/libraries/libgit2-glib/libgit2-glib.info b/libraries/libgit2-glib/libgit2-glib.info
index 4e8e02bab0..1f17833f44 100644
--- a/libraries/libgit2-glib/libgit2-glib.info
+++ b/libraries/libgit2-glib/libgit2-glib.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libgit2-glib/0.28/libgit2-glib
MD5SUM="04c4cf24291c16406bddb5760449ab52"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgit2 vala meson"
+REQUIRES="libgit2"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libgit2/README b/libraries/libgit2/README
index bd1fbdf41f..bd0ff7921b 100644
--- a/libraries/libgit2/README
+++ b/libraries/libgit2/README
@@ -1,5 +1,6 @@
-libgit2 is a portable, pure C implementation of the Git core methods provided as
-a re-entrant linkable library with a solid API, allowing you to write native
-speed custom Git applications in any language which supports C bindings.
+libgit2 is a portable, pure C implementation of the Git core methods
+provided as a re-entrant linkable library with a solid API, allowing
+you to write native speed custom Git applications in any language
+which supports C bindings.
Optional: http-parser
diff --git a/libraries/libgit2/libgit2.SlackBuild b/libraries/libgit2/libgit2.SlackBuild
index 1415b0a664..02134245d6 100644
--- a/libraries/libgit2/libgit2.SlackBuild
+++ b/libraries/libgit2/libgit2.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgit2
-# Copyright 2014-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2020 Larry Hajali <larryhaja[at]gmail[dot]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=libgit2
-VERSION=${VERSION:-0.28.3}
+VERSION=${VERSION:-1.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}
@@ -75,7 +85,10 @@ cd build
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DUSE_ICONV:BOOL=ON \
+ -DREGEX_BACKEND=pcre \
+ -DUSE_SHA1=HTTPS \
+ -DUSE_HTTPS=OpenSSL \
+ -DUSE_NTLMCLIENT=OFF \
-DLIB_INSTALL_DIR:PATH="lib${LIBDIRSUFFIX}" \
-DCMAKE_BUILD_TYPE=Release ..
@@ -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/libraries/libgit2/libgit2.info b/libraries/libgit2/libgit2.info
index d41170e588..d32bf1ebb1 100644
--- a/libraries/libgit2/libgit2.info
+++ b/libraries/libgit2/libgit2.info
@@ -1,8 +1,8 @@
PRGNAM="libgit2"
-VERSION="0.28.3"
+VERSION="1.0.0"
HOMEPAGE="https://libgit2.github.com/"
-DOWNLOAD="https://github.com/libgit2/libgit2/archive/v0.28.3/libgit2-0.28.3.tar.gz"
-MD5SUM="f9f2a2a2da09b4cdb8b1a596eb799179"
+DOWNLOAD="https://github.com/libgit2/libgit2/archive/v1.0.0/libgit2-1.0.0.tar.gz"
+MD5SUM="5ce9b630203573e544d663cbd750040f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libgksu/doinst.sh b/libraries/libgksu/doinst.sh
index 6c507d15da..b013ff9ce7 100644
--- a/libraries/libgksu/doinst.sh
+++ b/libraries/libgksu/doinst.sh
@@ -4,10 +4,9 @@ chroot . gconftool-2 --makefile-install-rule \
1>/dev/null 2>/dev/null
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database &> /dev/null
+ /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
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-
diff --git a/libraries/libgksu/libgksu.SlackBuild b/libraries/libgksu/libgksu.SlackBuild
index 6bdbbe3bb9..d08788d763 100644
--- a/libraries/libgksu/libgksu.SlackBuild
+++ b/libraries/libgksu/libgksu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <libgksu>
@@ -23,26 +23,40 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+# 20220412 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - fix .desktop file.
+# - remove broken gtk-doc symlink (since we already build with
+# --disable-gtk-doc, there's no need for it).
+# - i486 => i586.
+# - remove useless INSTALL and ABOUT-NLS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgksu
VERSION=${VERSION:-2.0.12}
-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"
@@ -66,9 +80,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 {} \+
# Patches from gentoo.
patch -p1 < $CWD/patches/libgksu-2.0.0-fbsd.patch
@@ -99,32 +113,32 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-schemas-install \
--enable-shared \
--disable-static \
+ --disable-gtk-doc \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
-mkdir -p $PKG/etc/gconf/gconf.xml.defaults
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+sed -i -e '/^Encoding/d' \
+ -e '/^Categories/s,Application;,,' \
+ -e '/^Categories/s,AdvancedSettings;,,' \
+ -e '/^Icon=/s,=,=/usr/share/pixmaps/,' \
+ $PKG/usr/share/applications/gksu-properties.desktop
-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/etc/gconf/gconf.xml.defaults
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- INSTALL ChangeLog COPYING AUTHORS ABOUT-NLS \
+ ChangeLog COPYING AUTHORS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/doc/$PRGNAM-$VERSION
- ln -s /usr/share/gtk-doc/html/libgksu html
-)
+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 -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/libraries/libgksu/libgksu.info b/libraries/libgksu/libgksu.info
index b000d8b269..b366f564b6 100644
--- a/libraries/libgksu/libgksu.info
+++ b/libraries/libgksu/libgksu.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://people.debian.org/~kov/gksu/libgksu-2.0.12.tar.gz"
MD5SUM="c7154c8806f791c10e7626ff123049d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgtop"
+REQUIRES=""
MAINTAINER="Didier Spaier"
EMAIL="didier at slint dot fr"
diff --git a/libraries/libglademm/libglademm.SlackBuild b/libraries/libglademm/libglademm.SlackBuild
index 85c8041e7c..a284f76683 100644
--- a/libraries/libglademm/libglademm.SlackBuild
+++ b/libraries/libglademm/libglademm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libglademm
@@ -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=libglademm
VERSION=${VERSION:-2.6.7}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +102,10 @@ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
# We don't need all the reference docs - they're in the source
rm -rf $PKG/usr/share/doc
+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/libraries/libglibutil/README b/libraries/libglibutil/README
new file mode 100644
index 0000000000..f2c8387211
--- /dev/null
+++ b/libraries/libglibutil/README
@@ -0,0 +1,3 @@
+This is the slackbuild for libglibutil
+
+Library of glib utilities.
diff --git a/libraries/libglibutil/libglibutil.SlackBuild b/libraries/libglibutil/libglibutil.SlackBuild
new file mode 100644
index 0000000000..b370d85b3f
--- /dev/null
+++ b/libraries/libglibutil/libglibutil.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for libglibutil
+
+# Copyright 2024 juanma1980 <juanma1980@disroot.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=libglibutil
+VERSION=${VERSION:-1.0.75}
+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 zxvf $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"
+LIB=/usr/lib${LIBDIRSUFFIX}
+LIBDIR=$LIB make
+LIBDIR=$LIB make install-dev DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+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
+
+# make all symbolic links relative
+# (code from https://unix.stackexchange.com/a/100955/16829)
+for link in $(find . -lname '/*'); do
+ target=$(readlink "$link")
+ link=${link#./}
+ echo "READ $link"
+ root=$(echo $link | sed -E 's|[^/](.[^/]*)|..|g'); root=${root#/}; root=${root%..}
+ echo "AS $root"
+ echo "LN $root${target#/}"
+ rm "$link"
+ echo $PWD
+ cd $(dirname link)
+ #The install creates a hard link with wrong path
+ #Dirty fix
+ target=${target/$PWD/}
+ ln -s "$root${target#/}" "$link"
+ cd $OLDPWD
+done
+rm -rf usr/share/doc
+rm -rf usr/share/man
+
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libglibutil/libglibutil.info b/libraries/libglibutil/libglibutil.info
new file mode 100644
index 0000000000..d95470b263
--- /dev/null
+++ b/libraries/libglibutil/libglibutil.info
@@ -0,0 +1,10 @@
+PRGNAM="libglibutil"
+VERSION="1.0.75"
+HOMEPAGE="https://github.com/sailfishos/libglibutil"
+DOWNLOAD="https://github.com/sailfishos/libglibutil/archive/1.0.75/libglibutil-1.0.75.tar.gz"
+MD5SUM="e7d64a1b8e0d994b0d9bede3a9f2e174"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="juanma1980"
+EMAIL="juanma1980@disroot.org"
diff --git a/libraries/libglibutil/slack-desc b/libraries/libglibutil/slack-desc
new file mode 100644
index 0000000000..4111ff92c4
--- /dev/null
+++ b/libraries/libglibutil/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------------------------------------------------------|
+libglibutil: libglibutil (short desc)
+libglibutil: libglibutil is a Library of glib utilities.
+libglibutil:
+libglibutil:
+libglibutil:
+libglibutil:
+libglibutil:
+libglibutil:
+libglibutil:
+libglibutil:
+libglibutil: https://github.com/sailfishos/libglibutil
diff --git a/libraries/libglpng/libglpng.SlackBuild b/libraries/libglpng/libglpng.SlackBuild
index 38f1875fac..80bd940a77 100644
--- a/libraries/libglpng/libglpng.SlackBuild
+++ b/libraries/libglpng/libglpng.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libglpng
#
@@ -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=libglpng
VERSION=${VERSION:-1.45}
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"
@@ -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/libraries/libgltf/README b/libraries/libgltf/README
deleted file mode 100644
index c81fbac675..0000000000
--- a/libraries/libgltf/README
+++ /dev/null
@@ -1,11 +0,0 @@
-LIBGLTF is a C++ library for rendering OpenGL models stored in glTF
-format.
-
-The glTF, the GL Transmission Format, is the runtime asset format for
-the GL APIs: WebGL, OpenGL ES, and OpenGL. glTF bridges the gap between
-formats used by modeling tools and the GL APIs.
-
-LIBGLTF provides methods to load the OpenGL scene from glTF format and
-render it into an existing OpenGL context. LIBGLTF also allows to change
-the camera position so the scene can be displayed from different points
-of view.
diff --git a/libraries/libgltf/libgltf.SlackBuild b/libraries/libgltf/libgltf.SlackBuild
deleted file mode 100644
index e3359ce345..0000000000
--- a/libraries/libgltf/libgltf.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libgltf
-
-# Copyright 2015, 2017 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=libgltf
-VERSION=${VERSION:-0.1.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 -eu
-
-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} \
- --disable-static \
- --disable-werror \
- --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 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}
diff --git a/libraries/libgltf/libgltf.info b/libraries/libgltf/libgltf.info
deleted file mode 100644
index 1ecc6d5a65..0000000000
--- a/libraries/libgltf/libgltf.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libgltf"
-VERSION="0.1.0"
-HOMEPAGE="https://wiki.documentfoundation.org/Development/libgltf"
-DOWNLOAD="http://dev-www.libreoffice.org/src/libgltf/libgltf-0.1.0.tar.gz"
-MD5SUM="63ae962d0c436909979826fce0fca2fd"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="glm"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/libraries/libgltf/slack-desc b/libraries/libgltf/slack-desc
deleted file mode 100644
index a83e233a21..0000000000
--- a/libraries/libgltf/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------------------------------------------------------|
-libgltf: libgltf (rendering library for glTF models)
-libgltf:
-libgltf: LIBGLTF is a C++ library for rendering OpenGL models stored in glTF
-libgltf: format.
-libgltf:
-libgltf: Homepage: https://wiki.documentfoundation.org/Development/libgltf
-libgltf:
-libgltf:
-libgltf:
-libgltf:
-libgltf:
diff --git a/libraries/libgme/libgme.SlackBuild b/libraries/libgme/libgme.SlackBuild
index aff3006026..dd408df8b9 100644
--- a/libraries/libgme/libgme.SlackBuild
+++ b/libraries/libgme/libgme.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgme
@@ -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=libgme
_PRGNAM=game-music-emu
-VERSION=${VERSION:-0.6.2}
+VERSION=${VERSION:-0.6.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}
@@ -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/libraries/libgme/libgme.info b/libraries/libgme/libgme.info
index 9b59d4ba1a..5e21edd6ba 100644
--- a/libraries/libgme/libgme.info
+++ b/libraries/libgme/libgme.info
@@ -1,8 +1,8 @@
PRGNAM="libgme"
-VERSION="0.6.2"
-HOMEPAGE="https://bitbucket.org/mpyne/game-music-emu/wiki/Home"
-DOWNLOAD="https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.2.tar.xz"
-MD5SUM="057ddaff2af5f8b4a7c8d11c45e1ea00"
+VERSION="0.6.3"
+HOMEPAGE="https://github.com/libgme/game-music-emu"
+DOWNLOAD="https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.3.tar.xz"
+MD5SUM="c96c65efbadc9acb10c0f9382ba66e0d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libgme/slack-desc b/libraries/libgme/slack-desc
index 90e75e054a..9f3d8f1bd8 100644
--- a/libraries/libgme/slack-desc
+++ b/libraries/libgme/slack-desc
@@ -11,7 +11,7 @@ libgme:
libgme: libgme/game-music-emu is a library that handles processing of
libgme: multiple video game music formats.
libgme:
-libgme: Homepage: https://bitbucket.org/mpyne/game-music-emu/wiki/Home
+libgme: Homepage: https://github.com/libgme/game-music-emu
libgme:
libgme:
libgme:
diff --git a/libraries/libgnome-games-support/README b/libraries/libgnome-games-support/README
new file mode 100644
index 0000000000..ffbb1c8fa6
--- /dev/null
+++ b/libraries/libgnome-games-support/README
@@ -0,0 +1,2 @@
+libgnome-games-support is a small library intended for internal use by
+GNOME Games, but it may be used by others.
diff --git a/libraries/libgnome-games-support/doinst.sh b/libraries/libgnome-games-support/doinst.sh
new file mode 100644
index 0000000000..b123c0cd8d
--- /dev/null
+++ b/libraries/libgnome-games-support/doinst.sh
@@ -0,0 +1,14 @@
+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
+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/libraries/libgnome-games-support/libgnome-games-support.SlackBuild b/libraries/libgnome-games-support/libgnome-games-support.SlackBuild
new file mode 100644
index 0000000000..589b0db935
--- /dev/null
+++ b/libraries/libgnome-games-support/libgnome-games-support.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for libgnome-games-support
+
+# Copyright 2022 Nathaniel Russell <naterussell83@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=libgnome-games-support
+VERSION=${VERSION:-1.8.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.?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 {} \;
+
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc build
+ meson compile -C build
+ meson install -C build --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 -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+DOCS="COPYING COPYING.LESSER NEWS README"
+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/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/libraries/libgnome-games-support/libgnome-games-support.info b/libraries/libgnome-games-support/libgnome-games-support.info
new file mode 100644
index 0000000000..568d53823a
--- /dev/null
+++ b/libraries/libgnome-games-support/libgnome-games-support.info
@@ -0,0 +1,10 @@
+PRGNAM="libgnome-games-support"
+VERSION="1.8.2"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libgnome-games-support"
+DOWNLOAD="https://download.gnome.org/sources/libgnome-games-support/1.8/libgnome-games-support-1.8.2.tar.xz"
+MD5SUM="afa0d00efe8aca0cbdbbfbf30940acd4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Nathaniel Russell"
+EMAIL="naterussell83@gmail.com"
diff --git a/libraries/libgnome-games-support/slack-desc b/libraries/libgnome-games-support/slack-desc
new file mode 100644
index 0000000000..f0b1c40c49
--- /dev/null
+++ b/libraries/libgnome-games-support/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------------------------------------------------------|
+libgnome-games-support: libgnome-games-support ( is a small library for Gnome retro games )
+libgnome-games-support:
+libgnome-games-support: A small library intended for internal use
+libgnome-games-support: by GNOME Games, but it may be used by others.
+libgnome-games-support:
+libgnome-games-support: Homepage: https://gitlab.gnome.org/GNOME/libgnome-games-support
+libgnome-games-support:
+libgnome-games-support:
+libgnome-games-support:
+libgnome-games-support:
+libgnome-games-support:
diff --git a/libraries/libgnome/libgnome.SlackBuild b/libraries/libgnome/libgnome.SlackBuild
index 15083db758..4f087d8a9b 100644
--- a/libraries/libgnome/libgnome.SlackBuild
+++ b/libraries/libgnome/libgnome.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libgnome
#
@@ -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=libgnome
VERSION=${VERSION:-2.32.1}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,6 +79,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# https://github.com/voidlinux/void-packages/commit/f16a2d557e84f5d7f5ece8b2022aab4fd17aa0ce
+for f in $(find . -type f -exec file "{}" \; | grep "C source" | cut -d ':' -f1); do
+ echo "${f}"
+ recode ISO-8859-1..UTF-8 "${f}"
+done
+
# Fix for the newer glib
sed -i "/-DG_DISABLE_DEPRECATED/d" libgnome/Makefile.*
@@ -92,9 +108,11 @@ cp -a AUTHORS COPYING.LIB ChangeLog 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/libraries/libgnome/libgnome.info b/libraries/libgnome/libgnome.info
index 5b173bffdb..1fe704d75d 100644
--- a/libraries/libgnome/libgnome.info
+++ b/libraries/libgnome/libgnome.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libgnome/2.32/libgnome-2.32.1.
MD5SUM="a4345e6087ae6195d65a4674ffdca559"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gnome-vfs"
+REQUIRES="gnome-vfs recode"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
diff --git a/libraries/libgnomecanvas/README b/libraries/libgnomecanvas/README
index 5035cbf767..64fa337bb7 100644
--- a/libraries/libgnomecanvas/README
+++ b/libraries/libgnomecanvas/README
@@ -1,7 +1,8 @@
-The GNOME canvas is an engine for structured graphics that offers a rich
-imaging model, high performance rendering, and a powerful, high-level API.
-It offers a choice of two rendering back-ends: one based on Xlib for
-extremely fast display, and another based on Libart, a sophisticated,
-antialiased, alpha-compositing engine. Applications have a choice between
-the Xlib imaging model or a superset of the PostScript imaging model,
-depending on the level of graphic sophistication required.
+The GNOME canvas is an engine for structured graphics that offers
+a rich imaging model, high performance rendering, and a powerful,
+high-level API. It offers a choice of two rendering back-ends: one
+based on Xlib for extremely fast display, and another based on Libart,
+a sophisticated, antialiased, alpha-compositing engine. Applications
+have a choice between the Xlib imaging model or a superset of
+the PostScript imaging model, depending on the level of graphic
+sophistication required.
diff --git a/libraries/libgnomecanvas/libgnomecanvas.SlackBuild b/libraries/libgnomecanvas/libgnomecanvas.SlackBuild
index 555925ca18..4c7ac2edd5 100644
--- a/libraries/libgnomecanvas/libgnomecanvas.SlackBuild
+++ b/libraries/libgnomecanvas/libgnomecanvas.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgnomecanvas
#
# Written by James Rich james@chowhouse.com
@@ -9,26 +9,38 @@
#
# Maintained by Erik Hanson <erik@slackbuilds.org>
+# 20220412 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty file and useless INSTALL from doc dir.
+# - relative symlink for html doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgnomecanvas
VERSION=${VERSION:-2.30.3}
-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"
@@ -52,9 +64,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" \
@@ -71,13 +83,16 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING.LIB INSTALL NEWS README \
+rm -f docs/reference/libgnomecanvas-overrides.txt # 20220412 bkw: empty.
+cp -a AUTHORS ChangeLog COPYING.LIB NEWS README \
docs/reference/libgnomecanvas* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-ln -s /usr/share/gtk-doc/html/libgnomecanvas $PKG/usr/doc/$PRGNAM-$VERSION/html
+ln -s ../../share/gtk-doc/html/libgnomecanvas $PKG/usr/doc/$PRGNAM-$VERSION/html
+
+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/libraries/libgnomecanvas/libgnomecanvas.info b/libraries/libgnomecanvas/libgnomecanvas.info
index 5d5066e396..4c42aff604 100644
--- a/libraries/libgnomecanvas/libgnomecanvas.info
+++ b/libraries/libgnomecanvas/libgnomecanvas.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libgnomecanvas/2.30/libgnomecan
MD5SUM="ffcbb719c671ff5cd86e59aeba8d0b92"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="libart-lgpl"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
diff --git a/libraries/libgnomecanvasmm/libgnomecanvasmm.SlackBuild b/libraries/libgnomecanvasmm/libgnomecanvasmm.SlackBuild
index 7a550214b4..b8c1e687db 100644
--- a/libraries/libgnomecanvasmm/libgnomecanvasmm.SlackBuild
+++ b/libraries/libgnomecanvasmm/libgnomecanvasmm.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgnomecanvasmm
-# Copyright 2012 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,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=libgnomecanvasmm
VERSION=${VERSION:-2.26.0}
-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"
@@ -82,6 +92,9 @@ CXXFLAGS="$SLKCFLAGS -std=c++11" \
make
make install-strip DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
@@ -91,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/libraries/libgnomecanvasmm/libgnomecanvasmm.info b/libraries/libgnomecanvasmm/libgnomecanvasmm.info
index c403d09683..8feb2c615b 100644
--- a/libraries/libgnomecanvasmm/libgnomecanvasmm.info
+++ b/libraries/libgnomecanvasmm/libgnomecanvasmm.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgnomecanvas"
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libgnomecups/README b/libraries/libgnomecups/README
index a443095075..11d08da262 100644
--- a/libraries/libgnomecups/README
+++ b/libraries/libgnomecups/README
@@ -1 +1,2 @@
-libgnomecups is a library for accessing CUPS from GTK/Gnome applications.
+libgnomecups is a library for accessing CUPS from GTK/Gnome
+applications.
diff --git a/libraries/libgnomecups/libgnomecups.SlackBuild b/libraries/libgnomecups/libgnomecups.SlackBuild
index aa699f9b70..e59b16c2eb 100644
--- a/libraries/libgnomecups/libgnomecups.SlackBuild
+++ b/libraries/libgnomecups/libgnomecups.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgnomecups
@@ -24,26 +24,38 @@
# Modified by the SlackBuilds.org project
+# 20220301 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip library.
+# - remove useless/empty doc files.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgnomecups
VERSION=${VERSION:-0.2.3}
-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" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -65,9 +77,9 @@ cd $PRGNAM-$VERSION || 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 \
+ -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 {} \+
patch -p0 -i $CWD/patches/enablenet.patch
@@ -95,15 +107,17 @@ CXXFLAGS="$SLKCFLAGS" \
--host=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* ChangeLog INSTALL NEWS README \
+cp -a AUTHORS COPYING* ChangeLog NEWS \
$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/libraries/libgnomekbd/README b/libraries/libgnomekbd/README
new file mode 100644
index 0000000000..cec3606911
--- /dev/null
+++ b/libraries/libgnomekbd/README
@@ -0,0 +1,6 @@
+libgnomekbd
+
+Keyboard management library for GNOME. It is used for things like
+displaying the current keyboard layout in the GNOME desktop
+environment.
+
diff --git a/libraries/libgnomekbd/doinst.sh b/libraries/libgnomekbd/doinst.sh
new file mode 100644
index 0000000000..f6a6676883
--- /dev/null
+++ b/libraries/libgnomekbd/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 [ -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/libraries/libgnomekbd/libgnomekbd.SlackBuild b/libraries/libgnomekbd/libgnomekbd.SlackBuild
new file mode 100644
index 0000000000..aab966dbae
--- /dev/null
+++ b/libraries/libgnomekbd/libgnomekbd.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for libgnomekbd
+
+# Copyright 2023, 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=libgnomekbd
+VERSION=${VERSION:-3.28.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.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
+ "${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.LIB ChangeLog MAINTAINERS 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/libraries/libgnomekbd/libgnomekbd.info b/libraries/libgnomekbd/libgnomekbd.info
new file mode 100644
index 0000000000..7302e31876
--- /dev/null
+++ b/libraries/libgnomekbd/libgnomekbd.info
@@ -0,0 +1,10 @@
+PRGNAM="libgnomekbd"
+VERSION="3.28.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libgnomekbd"
+DOWNLOAD="https://download.gnome.org/sources/libgnomekbd/3.28/libgnomekbd-3.28.1.tar.xz"
+MD5SUM="fe1c8072cea247d1e24e35dc13e4d67c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/libgnomekbd/slack-desc b/libraries/libgnomekbd/slack-desc
new file mode 100644
index 0000000000..e7c6684e0a
--- /dev/null
+++ b/libraries/libgnomekbd/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------------------------------------------------------|
+libgnomekbd: libgnomekbd (GNOME keyboard library)
+libgnomekbd:
+libgnomekbd: Keyboard management library for GNOME.
+libgnomekbd:
+libgnomekbd:
+libgnomekbd:
+libgnomekbd:
+libgnomekbd:
+libgnomekbd:
+libgnomekbd: https://gitlab.gnome.org/GNOME/libgnomekbd
+libgnomekbd:
diff --git a/libraries/libgnomemm/libgnomemm.SlackBuild b/libraries/libgnomemm/libgnomemm.SlackBuild
index 15f59ef3ea..28a8afebc1 100644
--- a/libraries/libgnomemm/libgnomemm.SlackBuild
+++ b/libraries/libgnomemm/libgnomemm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libgnomemm
#
@@ -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=libgnomemm
VERSION=${VERSION:-2.30.0}
-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"
@@ -93,8 +103,10 @@ cp -a AUTHORS 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgnomeprint/libgnomeprint.SlackBuild b/libraries/libgnomeprint/libgnomeprint.SlackBuild
index 931db6a313..15d8897186 100644
--- a/libraries/libgnomeprint/libgnomeprint.SlackBuild
+++ b/libraries/libgnomeprint/libgnomeprint.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgnomeprint
@@ -24,26 +24,36 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgnomeprint
VERSION=${VERSION:-2.18.8}
-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" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -85,6 +95,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
+ --disable-gtk-doc \
--build=$ARCH-slackware-linux
make
@@ -98,8 +109,10 @@ cp -a AUTHORS BUGS COPYING* ChangeLog INSTALL NEWS README \
)
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/libraries/libgnomeprint/libgnomeprint.info b/libraries/libgnomeprint/libgnomeprint.info
index 348444b4cb..789c856c58 100644
--- a/libraries/libgnomeprint/libgnomeprint.info
+++ b/libraries/libgnomeprint/libgnomeprint.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/libgnomepri
MD5SUM="63b05ffb5386e131487c6af30f4c56ac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgnomecups"
+REQUIRES="libart-lgpl libgnomecups"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
diff --git a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild
index aa61f32cfd..3166fbeade 100644
--- a/libraries/libgnomeprintui/libgnomeprintui.SlackBuild
+++ b/libraries/libgnomeprintui/libgnomeprintui.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgnomeprintui
@@ -24,26 +24,36 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgnomeprintui
VERSION=${VERSION:-2.18.6}
-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" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -84,7 +94,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
- --enable-gtk-doc=yes \
+ --enable-gtk-doc=no \
--build=$ARCH-slackware-linux
make
@@ -98,8 +108,10 @@ cp -a AUTHORS COPYING* ChangeLog INSTALL MAINTAINERS NEWS README \
)
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/libraries/libgnomeui/libgnomeui.SlackBuild b/libraries/libgnomeui/libgnomeui.SlackBuild
index d048a25b90..b1dee1c06e 100644
--- a/libraries/libgnomeui/libgnomeui.SlackBuild
+++ b/libraries/libgnomeui/libgnomeui.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libgnomeui
#
@@ -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=libgnomeui
VERSION=${VERSION:-2.24.5}
-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"
@@ -69,6 +79,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# https://github.com/voidlinux/void-packages/commit/f16a2d557e84f5d7f5ece8b2022aab4fd17aa0ce
+for f in $(find . -type f -exec file "{}" \; | grep "C source" | cut -d ':' -f1); do
+ echo "${f}"
+ recode ISO-8859-1..UTF-8 "${f}"
+done
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -87,8 +103,10 @@ cp -a AUTHORS COPYING.LIB ChangeLog INSTALL 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgnomeuimm/libgnomeuimm.SlackBuild b/libraries/libgnomeuimm/libgnomeuimm.SlackBuild
index 84380510d3..45441f7831 100644
--- a/libraries/libgnomeuimm/libgnomeuimm.SlackBuild
+++ b/libraries/libgnomeuimm/libgnomeuimm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libgnomeuimm
#
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty/useless docs.
+# - use https URL for DOWNLOAD.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgnomeuimm
VERSION=${VERSION:-2.28.0}
-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"
@@ -60,14 +72,14 @@ 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.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 \
+ -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 {} \+
# Move a generated header between the others
sed -i "s|(libdir)/libgnomeuimm-2\.6/include|(includedir)/libgnomeuimm-2.6|" \
@@ -89,12 +101,14 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+cp -a AUTHORS COPYING ChangeLog NEWS 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/libraries/libgnomeuimm/libgnomeuimm.info b/libraries/libgnomeuimm/libgnomeuimm.info
index 6207c2da9e..88c907b95b 100644
--- a/libraries/libgnomeuimm/libgnomeuimm.info
+++ b/libraries/libgnomeuimm/libgnomeuimm.info
@@ -1,7 +1,7 @@
PRGNAM="libgnomeuimm"
VERSION="2.28.0"
HOMEPAGE="https://www.gtkmm.org"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libgnomeuimm/2.28/libgnomeuimm-2.28.0.tar.bz2"
+DOWNLOAD="https://download.gnome.org/sources/libgnomeuimm/2.28/libgnomeuimm-2.28.0.tar.bz2"
MD5SUM="6c34dbe07cf9835c36f7d0b7bc38d4fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libgraphqlparser/libgraphqlparser.SlackBuild b/libraries/libgraphqlparser/libgraphqlparser.SlackBuild
index 01a3e86442..a3596b1526 100644
--- a/libraries/libgraphqlparser/libgraphqlparser.SlackBuild
+++ b/libraries/libgraphqlparser/libgraphqlparser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GraphQL parser library
@@ -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=libgraphqlparser
VERSION=${VERSION:-0.6.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/libraries/libgringotts/libgringotts.SlackBuild b/libraries/libgringotts/libgringotts.SlackBuild
index 3b2398c995..6e2b50c207 100644
--- a/libraries/libgringotts/libgringotts.SlackBuild
+++ b/libraries/libgringotts/libgringotts.SlackBuild
@@ -1,13 +1,19 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgringotts
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty NEWS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libgringotts
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
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}
@@ -47,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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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" \
@@ -63,21 +73,21 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
# Fix pkg-config file
sed -i -e "s#/lib#/lib$LIBDIRSUFFIX#" $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libgringotts.pc
# Fix documentation location
mv $PKG/usr/share/doc $PKG/usr && rm -rf $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
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
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/libraries/libgrss/README b/libraries/libgrss/README
new file mode 100644
index 0000000000..f2584c5062
--- /dev/null
+++ b/libraries/libgrss/README
@@ -0,0 +1,10 @@
+LibGRSS is a library for easy management of RSS/Atom/Pie feeds.
+
+Includes methods to fetch, parse and handle XML documents, an
+implementation of PubSubHubBub client, an OPML parser and some more
+utility.
+
+LibGRSS is written in C.
+
+Tracker can use libgrss to parse feeds.
+
diff --git a/libraries/libgrss/libgrss.SlackBuild b/libraries/libgrss/libgrss.SlackBuild
new file mode 100644
index 0000000000..e993fdef75
--- /dev/null
+++ b/libraries/libgrss/libgrss.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libgrss
+
+# 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=libgrss
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+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
+
+find $PKG -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 NEWS COPYING README 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/libraries/libgrss/libgrss.info b/libraries/libgrss/libgrss.info
new file mode 100644
index 0000000000..44e2b1dbff
--- /dev/null
+++ b/libraries/libgrss/libgrss.info
@@ -0,0 +1,10 @@
+PRGNAM="libgrss"
+VERSION="0.7.0"
+HOMEPAGE="https://wiki.gnome.org/Projects/Libgrss"
+DOWNLOAD="https://download.gnome.org/sources/libgrss/0.7/libgrss-0.7.0.tar.xz"
+MD5SUM="7c0ee46a82dc0e9610183fe9ef8c7c1d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.libgrss_2023-05-30@lockywolf.net"
diff --git a/libraries/libgrss/slack-desc b/libraries/libgrss/slack-desc
new file mode 100644
index 0000000000..9bf18310cb
--- /dev/null
+++ b/libraries/libgrss/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------------------------------------------------------|
+libgrss: libgrss (an rss parser for the tracker desktop search)
+libgrss:
+libgrss: LibGRSS is a library for easy management of RSS/Atom/Pie feeds.
+libgrss: Includes methods to fetch, parse and handle XML documents, an
+libgrss: implementation of PubSubHubBub client, an OPML parser and some more
+libgrss: utility.
+libgrss:
+libgrss: LibGRSS is written in C.
+libgrss:
+libgrss: Tracker can use libgrss to parse feeds.
+libgrss:
diff --git a/libraries/libgsasl/README b/libraries/libgsasl/README
index a4d6694e72..685bdde3a5 100644
--- a/libraries/libgsasl/README
+++ b/libraries/libgsasl/README
@@ -1,6 +1,6 @@
-GNU SASL is an implementation of the Simple Authentication and Security Layer
-framework and a few common SASL mechanisms. The library includes support for
-the SASL framework (with authentication functions and application data privacy
-and integrity functions) and at least partial support for the CRAM-MD5,
-EXTERNAL, GSSAPI, ANONYMOUS, PLAIN, SECURID, DIGEST-MD5, LOGIN, NTLM and
-KERBEROS_V5 mechanisms.
+GNU SASL is an implementation of the Simple Authentication and
+Security Layer framework and a few common SASL mechanisms. The
+library includes support for the SASL framework (with authentication
+functions and application data privacy and integrity functions) and at
+least partial support for the CRAM-MD5, EXTERNAL, GSSAPI, ANONYMOUS,
+PLAIN, SECURID, DIGEST-MD5, LOGIN, NTLM and KERBEROS_V5 mechanisms.
diff --git a/libraries/libgsasl/libgsasl.SlackBuild b/libraries/libgsasl/libgsasl.SlackBuild
index 2f247f5bb9..d2a266c243 100644
--- a/libraries/libgsasl/libgsasl.SlackBuild
+++ b/libraries/libgsasl/libgsasl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libgsasl".
@@ -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=libgsasl
VERSION=${VERSION:-1.8.0}
-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"
@@ -92,8 +102,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgta/libgta.SlackBuild b/libraries/libgta/libgta.SlackBuild
index 4ec48717f7..5eb7fca7ff 100644
--- a/libraries/libgta/libgta.SlackBuild
+++ b/libraries/libgta/libgta.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgta
@@ -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=libgta
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}
@@ -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/libraries/libgtop/README b/libraries/libgtop/README
deleted file mode 100644
index 1fb9b091be..0000000000
--- a/libraries/libgtop/README
+++ /dev/null
@@ -1,3 +0,0 @@
-A library that fetches information about the running system such as
-cpu and memory usage, active processes etc. The information is taken
-directly from the /proc filesystem.
diff --git a/libraries/libgtop/libgtop.SlackBuild b/libraries/libgtop/libgtop.SlackBuild
deleted file mode 100644
index 9d8d0cc27a..0000000000
--- a/libraries/libgtop/libgtop.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libgtop
-
-# Copyright 2008 Stylianos Tsampas <ztsampas@otenet.gr>
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libgtop
-VERSION=${VERSION:-2.38.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.?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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --enable-shared \
- --disable-static \
- --disable-debug \
- --with-x \
- --disable-hacker-mode \
- --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
-
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
-
-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
-
-( cd $PKG/usr/doc/$PRGNAM-$VERSION
- ln -s /usr/share/gtk-doc/html/libgtop html
-)
-
-mkdir -p $PKG/install
-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/libraries/libgtop/libgtop.info b/libraries/libgtop/libgtop.info
deleted file mode 100644
index 6e36646542..0000000000
--- a/libraries/libgtop/libgtop.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libgtop"
-VERSION="2.38.0"
-HOMEPAGE="http://library.gnome.org/devel/libgtop/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libgtop/2.38/libgtop-2.38.0.tar.xz"
-MD5SUM="bb0ce7de6b28694b40405eedac8a31b5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Didier Spaier"
-EMAIL="didier at slint dot fr"
diff --git a/libraries/libgtop/slack-desc b/libraries/libgtop/slack-desc
deleted file mode 100644
index 28fe9f389f..0000000000
--- a/libraries/libgtop/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------------------------------------------------------|
-libgtop: libgtop (a top-like library)
-libgtop:
-libgtop: A library that fetches information about the running system such
-libgtop: as cpu and memory usage, active processes etc. The information is
-libgtop: taken directly from the /proc filesystem.
-libgtop:
-libgtop: http://library.gnome.org/devel/libgtop/
-libgtop:
-libgtop:
-libgtop:
-libgtop:
diff --git a/libraries/libgusb/libgusb.SlackBuild b/libraries/libgusb/libgusb.SlackBuild
index 83def17a29..519a936acf 100644
--- a/libraries/libgusb/libgusb.SlackBuild
+++ b/libraries/libgusb/libgusb.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgusb
-# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=libgusb
-VERSION=${VERSION:-0.2.11}
+VERSION=${VERSION:-0.4.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}
@@ -69,20 +76,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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
+mkdir -p build
+cd build
+ meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
+ --buildtype=release \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --build=$ARCH-slackware-linux
+ -Ddocs=false \
+ ..
+
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
-make
-make install DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -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/libraries/libgusb/libgusb.info b/libraries/libgusb/libgusb.info
index c39cb23ca9..23dba9393a 100644
--- a/libraries/libgusb/libgusb.info
+++ b/libraries/libgusb/libgusb.info
@@ -1,10 +1,10 @@
PRGNAM="libgusb"
-VERSION="0.2.11"
+VERSION="0.4.9"
HOMEPAGE="https://github.com/hughsie/libgusb"
-DOWNLOAD="https://people.freedesktop.org/~hughsient/releases/libgusb-0.2.11.tar.xz"
-MD5SUM="fa2b41b828c749f9190edf888948a77b"
+DOWNLOAD="https://github.com/hughsie/libgusb/releases/download/0.4.9/libgusb-0.4.9.tar.xz"
+MD5SUM="354a3227334991ea4e924843c144bd82"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vala"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libgweather/README b/libraries/libgweather/README
new file mode 100644
index 0000000000..d79ead3b37
--- /dev/null
+++ b/libraries/libgweather/README
@@ -0,0 +1,8 @@
+libgweather is a library to access weather information from online
+services for numerous locations.
+
+Below variables can be used to configure the build:
+ GTKDOC=yes : Generate the API reference
+ OWNAPI=APIKEY : Specify an API key for OpenWeatherMap
+ GLADE_CATALOG=yes : Install a glade catalog file
+ VALA=no : Don't generate vala files
diff --git a/libraries/libgweather/doinst.sh b/libraries/libgweather/doinst.sh
new file mode 100644
index 0000000000..3202f07b18
--- /dev/null
+++ b/libraries/libgweather/doinst.sh
@@ -0,0 +1,6 @@
+
+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/libraries/libgweather/libgweather.SlackBuild b/libraries/libgweather/libgweather.SlackBuild
new file mode 100644
index 0000000000..197efad560
--- /dev/null
+++ b/libraries/libgweather/libgweather.SlackBuild
@@ -0,0 +1,146 @@
+#!/bin/bash
+
+# Slackware build script for libgweather
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libgweather
+VERSION=${VERSION:-40.0}
+BUILD=${BUILD:-4}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+OWNAPI=${OWPAPI:-no}
+VALA=${VALA:-yes}
+GTKDOC=${GTKDOC:-no}
+GLADE_CATALOG=${GLADE_CATALOG:-no}
+
+if [ "$VALA" = "yes" ]; then
+ VALAP="true"
+else
+ VALAP="false"
+fi
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+else
+ GTKDOCP="false"
+fi
+
+if [ "$GLADE_CATALOG" = "yes" ]; then
+ GLADE_CATALOGP="true"
+else
+ GLADE_CATALOGP="false"
+fi
+
+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
+
+if [ "$OWNAPI" = "no" ]; then
+ OWNAPILINE="-Dstrip=true"
+else
+ OWNAPILINE="-Dowm_apikey=$OWNAPI"
+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 \
+ $OWNAPILINE \
+ -Denable_vala="$VALAP" \
+ -Dgtk_doc="$GTKDOCP" \
+ -Dglade_catalog="$GLADE_CATALOGP"
+
+ "${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 \
+ AUTHORS HACKING.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
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgweather/libgweather.info b/libraries/libgweather/libgweather.info
new file mode 100644
index 0000000000..274779dbf0
--- /dev/null
+++ b/libraries/libgweather/libgweather.info
@@ -0,0 +1,10 @@
+PRGNAM="libgweather"
+VERSION="40.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libgweather"
+DOWNLOAD="https://download.gnome.org/sources/libgweather/40/libgweather-40.0.tar.xz"
+MD5SUM="a9c0989890a837982defd8238e1eb356"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="geocode-glib"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/libgweather/slack-desc b/libraries/libgweather/slack-desc
new file mode 100644
index 0000000000..088bc633ef
--- /dev/null
+++ b/libraries/libgweather/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------------------------------------------------------|
+libgweather: libgweather (weather library for GNOME)
+libgweather:
+libgweather: libgweather is a library to access weather information from online
+libgweather: services for numerous locations.
+libgweather:
+libgweather: https://gitlab.gnome.org/GNOME/libgweather
+libgweather:
+libgweather:
+libgweather:
+libgweather:
+libgweather:
diff --git a/libraries/libgweather4/README b/libraries/libgweather4/README
new file mode 100644
index 0000000000..5bc6021e80
--- /dev/null
+++ b/libraries/libgweather4/README
@@ -0,0 +1,14 @@
+libgweather is a library to access weather information from online
+services for numerous locations.
+
+libgweather4 is the latest version of libgweather. libgweather4 can be
+installed together with libgweather also avaiable in SBo.
+
+Below variables can be used to configure the build
+ GTKDOC=yes : Whether to generate the API reference
+ Requires gi-docgen and enabling INTROSPECTION
+ INTROSPECTION=no : Whether to generate introspection data
+ VALA=no : Don't install vala bindings
+ VALA requires enabling INTROSPECTION
+ TESTS=yes : Whether to build the tests and tools
+ OWNAPIKEY=APIKEY : Specify an API key for OpenWeatherMap
diff --git a/libraries/libgweather4/doinst.sh b/libraries/libgweather4/doinst.sh
new file mode 100644
index 0000000000..6922dbb756
--- /dev/null
+++ b/libraries/libgweather4/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/libgweather4/libgweather4.SlackBuild b/libraries/libgweather4/libgweather4.SlackBuild
new file mode 100644
index 0000000000..8d2f5fa7ec
--- /dev/null
+++ b/libraries/libgweather4/libgweather4.SlackBuild
@@ -0,0 +1,176 @@
+#!/bin/bash
+
+# Slackware build script for libgweather4
+
+# Copyright 2022 Ozan Türkyılmaz, İzmir
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20230515 bkw: Modified by SlackBuilds.org to match our template.
+# PRGNAM1 renamed to SRCNAM, and derive PKG from PRGNAM, not PRGNAM1.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libgweather4
+VERSION=${VERSION:-4.2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# In purist sense, it's still libgweather but version 4 has different
+# API and seen as a seperate library than version 3. It can be even installed
+# next to version 3.
+SRCNAM=libgweather
+
+GTKDOC=${GTKDOC:-no}
+INTROSPECTION=${INTROSPECTION:-yes}
+TESTS=${TESTS:-no}
+VALA=${VALA:-yes}
+OWNAPIKEY=${OWNAPIKEY:-no}
+
+if [ "$GTKDOC" = "yes" ]; then
+ GTKDOCP="true"
+ INTROSPECTION="yes"
+else
+ GTKDOCP="false"
+fi
+
+if [ "$VALA" = "yes" ]; then
+ VALAP="true"
+ INTROSPECTION="yes"
+else
+ VALAP="false"
+fi
+
+if [ "$INTROSPECTION" = "yes" ]; then
+ INTROSPECTIONP="true"
+else
+ INTROSPECTIONP="false"
+fi
+
+if [ "$TESTS" = "yes" ]; then
+ TESTSP="true"
+else
+ TESTSP="false"
+fi
+
+if [ "$OWNAPIKEY" = "no" ]; then
+ OWNAPIKEYLINE="-Dstrip=true"
+else
+ OWNAPIKEYLINE="-Dowm_apikey=$OWNAPIKEY"
+fi
+
+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.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 {} \;
+
+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 \
+ $OWNAPIKEYLINE \
+ -Denable_vala=$VALAP \
+ -Dgtk_doc=$GTKDOCP \
+ -Dintrospection=$INTROSPECTIONP \
+ -Dtests=$TESTSP \
+ -Dsoup2=true \
+ -Dwrap_mode=nodownload \
+ -Dstrip=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
+if [ "$GTKDOC" = "yes" ]; then
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+ mv $PKG/usr/share/doc/libgweather-4.0/* $PKG/usr/doc/$PRGNAM-$VERSION/html
+ rmdir $PKG/usr/share/doc/libgweather-4.0
+fi
+
+cp -a \
+ CONTRIBUTING.md NEWS 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+# Before we makepkg, we need to remove stray doc dir if GTKDOC=yes
+if [ "$GTKDOC" = "yes" ]; then
+ rmdir $PKG/usr/share/doc
+fi
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgweather4/libgweather4.info b/libraries/libgweather4/libgweather4.info
new file mode 100644
index 0000000000..bbbe24da43
--- /dev/null
+++ b/libraries/libgweather4/libgweather4.info
@@ -0,0 +1,10 @@
+PRGNAM="libgweather4"
+VERSION="4.2.0"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libgweather"
+DOWNLOAD="https://download.gnome.org/sources/libgweather/4.2/libgweather-4.2.0.tar.xz"
+MD5SUM="4c0c46102dcb5e813ff698e5f713e4bb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="geocode-glib"
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/libgweather4/slack-desc b/libraries/libgweather4/slack-desc
new file mode 100644
index 0000000000..e47a664920
--- /dev/null
+++ b/libraries/libgweather4/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------------------------------------------------------|
+libgweather4: libgweather4 (weather library for GNOME)
+libgweather4:
+libgweather4:
+libgweather4: libgweather is a library to access weather information from online
+libgweather4: services for numerous locations.
+libgweather4:
+libgweather4: https://gitlab.gnome.org/GNOME/libgweather
+libgweather4:
+libgweather4:
+libgweather4:
+libgweather4:
diff --git a/libraries/libgxps/libgxps.SlackBuild b/libraries/libgxps/libgxps.SlackBuild
index 2248a71757..dbcf5e7221 100644
--- a/libraries/libgxps/libgxps.SlackBuild
+++ b/libraries/libgxps/libgxps.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libgxps
-# Copyright 2019 Igor Alexandrov <igor.s.alexandrov@gmail.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=libgxps
-VERSION=${VERSION:-0.3.1}
+VERSION=${VERSION:-0.3.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}
@@ -80,9 +90,11 @@ cd build
--localstatedir=/var \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
- --infodir=/usr/info
- ninja
- DESTDIR=$PKG ninja install
+ --infodir=/usr/info \
+ -Denable-gtk-doc=true \
+ -Denable-man=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -92,11 +104,11 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; 2> /dev/null || true
for i in $(find $PKG/usr/man -type l 2> /dev/null) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $(find -maxdepth 1 -type f -name '[^a-z]*' | grep -iv make) $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING MAINTAINERS NEWS README RELEASING 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libgxps/libgxps.info b/libraries/libgxps/libgxps.info
index 09e2a31144..088e8b50fa 100644
--- a/libraries/libgxps/libgxps.info
+++ b/libraries/libgxps/libgxps.info
@@ -1,10 +1,10 @@
PRGNAM="libgxps"
-VERSION="0.3.1"
+VERSION="0.3.2"
HOMEPAGE="https://wiki.gnome.org/Projects/libgxps"
-DOWNLOAD="https://download.gnome.org/sources/libgxps/0.3/libgxps-0.3.1.tar.xz"
-MD5SUM="ade83c264b3af2551a0dff9144478df8"
+DOWNLOAD="https://download.gnome.org/sources/libgxps/0.3/libgxps-0.3.2.tar.xz"
+MD5SUM="0527ac7c8c405445e96a5baa6019a0c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
+REQUIRES=""
MAINTAINER="Igor Alexandrov"
-EMAIL="igor.s.alexandrov@gmail.com"
+EMAIL="igor.alexandrov@outlook.com"
diff --git a/libraries/libharu/README b/libraries/libharu/README
index c788ae8647..443ad2c049 100644
--- a/libraries/libharu/README
+++ b/libraries/libharu/README
@@ -1 +1,2 @@
-libHaru is a free, cross platform, open source library for generating PDF files.
+libHaru is a free, cross platform, open source library for generating
+PDF files.
diff --git a/libraries/libharu/libharu.SlackBuild b/libraries/libharu/libharu.SlackBuild
index 04188505b8..d6fe379433 100644
--- a/libraries/libharu/libharu.SlackBuild
+++ b/libraries/libharu/libharu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libharu
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libharu
VERSION=${VERSION:-2.3.0}
TARVERSION=RELEASE_$(echo $VERSION | tr . _)
-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"
@@ -103,8 +113,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES 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/libraries/libharu/libharu.info b/libraries/libharu/libharu.info
index bdaffa00e5..4e8d22dd2d 100644
--- a/libraries/libharu/libharu.info
+++ b/libraries/libharu/libharu.info
@@ -1,7 +1,7 @@
PRGNAM="libharu"
VERSION="2.3.0"
HOMEPAGE="http://libharu.org/"
-DOWNLOAD="https://github.com/libharu/libharu/archive/RELEASE_2_3_0.tar.gz"
+DOWNLOAD="https://github.com/libharu/libharu/archive/RELEASE_2_3_0/libharu-RELEASE_2_3_0.tar.gz"
MD5SUM="4f916aa49c3069b3a10850013c507460"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libheif/README b/libraries/libheif/README
new file mode 100644
index 0000000000..31c7d0442d
--- /dev/null
+++ b/libraries/libheif/README
@@ -0,0 +1,12 @@
+libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File
+Format) file format decoder and encoder. There is partial support for
+ISO/IEC 23008-12:2022 (2nd Edition) capabilities.
+
+HEIF and AVIF are new image file formats employing HEVC (h.265) or AV1
+image coding, respectively, for the best compression ratios currently
+possible. HEIF is the default image file format on Apple devices. This
+library comes with some example programs including heif-convert that
+converts HEIF/AVIF images to JPEG or PNG.
+
+libheif makes use of libde265 for HEIF image decoding and x265 for
+encoding. For AVIF, aom, dav1d, svt-av1, or rav1e are used as codecs.
diff --git a/libraries/libheif/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch b/libraries/libheif/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch
new file mode 100644
index 0000000000..e3f337419f
--- /dev/null
+++ b/libraries/libheif/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch
@@ -0,0 +1,22 @@
+From a911b26a902c5f89fee2dc20ac4dfaafcb8144ec Mon Sep 17 00:00:00 2001
+From: Andrey Semashev <Lastique@users.noreply.github.com>
+Date: Fri, 15 Mar 2024 17:46:48 +0300
+Subject: [PATCH] Fix compilation with libsvtav1 2.0.0.
+
+---
+ libheif/plugins/encoder_svt.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libheif/plugins/encoder_svt.cc b/libheif/plugins/encoder_svt.cc
+index 4597d7b8fc..1ff3bce2d5 100644
+--- a/libheif/plugins/encoder_svt.cc
++++ b/libheif/plugins/encoder_svt.cc
+@@ -646,7 +646,7 @@ struct heif_error svt_encode_image(void* encoder_raw, const struct heif_image* i
+
+ if (nclx) {
+ svt_config.color_description_present_flag = true;
+-#if SVT_AV1_VERSION_MAJOR == 1
++#if SVT_AV1_VERSION_MAJOR >= 1
+ svt_config.color_primaries = static_cast<EbColorPrimaries>(nclx->color_primaries);
+ svt_config.transfer_characteristics = static_cast<EbTransferCharacteristics>(nclx->transfer_characteristics);
+ svt_config.matrix_coefficients = static_cast<EbMatrixCoefficients>(nclx->matrix_coefficients);
diff --git a/libraries/libheif/doinst.sh b/libraries/libheif/doinst.sh
new file mode 100644
index 0000000000..aa30ae34d7
--- /dev/null
+++ b/libraries/libheif/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
diff --git a/libraries/libheif/libheif.SlackBuild b/libraries/libheif/libheif.SlackBuild
new file mode 100644
index 0000000000..b961a74b1e
--- /dev/null
+++ b/libraries/libheif/libheif.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for libheif
+
+# Copyright 2020-2023, 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=libheif
+VERSION=${VERSION:-1.17.6}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/a911b26a902c5f89fee2dc20ac4dfaafcb8144ec.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ --preset=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
+
+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 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/libraries/libheif/libheif.info b/libraries/libheif/libheif.info
new file mode 100644
index 0000000000..29dc0867dd
--- /dev/null
+++ b/libraries/libheif/libheif.info
@@ -0,0 +1,10 @@
+PRGNAM="libheif"
+VERSION="1.17.6"
+HOMEPAGE="https://github.com/strukturag/libheif"
+DOWNLOAD="https://github.com/strukturag/libheif/releases/download/v1.17.6/libheif-1.17.6.tar.gz"
+MD5SUM="563e2ecd15f1ca98ccb13388ee873ebe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libde265 x265 aom rav1e kvazaar dav1d svt-av1"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/libheif/slack-desc b/libraries/libheif/slack-desc
new file mode 100644
index 0000000000..433360b87f
--- /dev/null
+++ b/libraries/libheif/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------------------------------------------------------|
+libheif: libheif (HEIF and AVIF file format decoder and encoder)
+libheif:
+libheif: libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File
+libheif: Format) file format decoder and encoder. HEIF and AVIF are new image
+libheif: file formats employing HEVC (h.265) or AV1 image coding, respectively,
+libheif: for the best compression ratios currently possible. HEIF is the
+libheif: default image file format on Apple devices. libheif makes use of
+libheif: libde265 for HEIF image decoding and x265 for encoding. For AVIF,
+libheif: aom , dav1d, svt-av1, or rav1e are used as codecs.
+libheif:
+libheif: homepage: https://github.com/strukturag/libheif
diff --git a/libraries/libhid/README b/libraries/libhid/README
index a986601a54..dc98909c14 100644
--- a/libraries/libhid/README
+++ b/libraries/libhid/README
@@ -1,4 +1,5 @@
-libhid is a rewrite of libHID and aims to provide the same functionality
-from a more organised framework. It aims to provide a layer of abstraction
-for accessing HID-class devices over USB or serial lines (similar to what
-libusb provides for the base USB protocol).
+libhid is a rewrite of libHID and aims to provide the same
+functionality from a more organised framework. It aims to provide
+a layer of abstraction for accessing HID-class devices over USB
+or serial lines (similar to what libusb provides for the base USB
+protocol).
diff --git a/libraries/libhid/libhid.SlackBuild b/libraries/libhid/libhid.SlackBuild
index a313e189fa..c009ae593a 100644
--- a/libraries/libhid/libhid.SlackBuild
+++ b/libraries/libhid/libhid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libhid
@@ -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=libhid
VERSION=${VERSION:-0.2.16}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -99,8 +109,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libhoard/libhoard.SlackBuild b/libraries/libhoard/libhoard.SlackBuild
index b4947fb730..0abb1ee001 100644
--- a/libraries/libhoard/libhoard.SlackBuild
+++ b/libraries/libhoard/libhoard.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libhoard
-# Copyright 2012-2018 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,38 +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=libhoard
-VERSION=${VERSION:-3.12}
-HEAP_LAYERS_VERSION=${HEAP_LAYERS_VERSION:-85c0fb1ea3f6073fed579afe31da1e047d3c3a89}
+VERSION=${VERSION:-3.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=""
TARGET="x86"
elif [ "$ARCH" = "i686" ]; then
@@ -60,13 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf Hoard-$VERSION
-tar xvf $CWD/Hoard-$VERSION.tar.gz
-cd Hoard-$VERSION/src/
-rm -rf Heap-Layers
-tar xvf $CWD/Heap-Layers-$HEAP_LAYERS_VERSION.tar.gz
-mv Heap-Layers-$HEAP_LAYERS_VERSION Heap-Layers
-cd $TMP/Hoard-$VERSION
+rm -rf Hoard
+tar xvf $CWD/hoard-release.tar.gz
+cd Hoard
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -97,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/libraries/libhoard/libhoard.info b/libraries/libhoard/libhoard.info
index f1e1e0ffc6..f498079c0e 100644
--- a/libraries/libhoard/libhoard.info
+++ b/libraries/libhoard/libhoard.info
@@ -1,12 +1,10 @@
PRGNAM="libhoard"
-VERSION="3.12"
+VERSION="3.13"
HOMEPAGE="http://hoard.org/"
-DOWNLOAD="https://github.com/emeryberger/Hoard/archive/3.12/Hoard-3.12.tar.gz \
- https://github.com/emeryberger/Heap-Layers/archive/85c0fb1ea3f6073fed579afe31da1e047d3c3a89/Heap-Layers-85c0fb1ea3f6073fed579afe31da1e047d3c3a89.tar.gz"
-MD5SUM="f4ade479bbc1585388dad2b8d98ab4d7 \
- dd44790eef0d765dce30443595665d43"
+DOWNLOAD="https://github.com/emeryberger/Hoard/releases/download/3.13/hoard-release.tar.gz"
+MD5SUM="4d6e0dad508b7383da85fbdb342d5aa0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libhtp/README b/libraries/libhtp/README
index 21bef3e171..51c3cf16a8 100644
--- a/libraries/libhtp/README
+++ b/libraries/libhtp/README
@@ -1,2 +1,2 @@
-LibHTP is a security-aware parser for the HTTP protocol and the related bits
-and pieces.
+LibHTP is a security-aware parser for the HTTP protocol and the
+related bits and pieces.
diff --git a/libraries/libhtp/libhtp.SlackBuild b/libraries/libhtp/libhtp.SlackBuild
index 1f0e9eee57..3e2e1d3b41 100644
--- a/libraries/libhtp/libhtp.SlackBuild
+++ b/libraries/libhtp/libhtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libhtp
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty/useless docs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libhtp
VERSION=${VERSION:-0.5.23}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -83,17 +93,16 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog 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/libraries/libhtp/libhtp.info b/libraries/libhtp/libhtp.info
index 4ebf3e4f8a..a8d88b7f42 100644
--- a/libraries/libhtp/libhtp.info
+++ b/libraries/libhtp/libhtp.info
@@ -1,7 +1,7 @@
PRGNAM="libhtp"
VERSION="0.5.23"
HOMEPAGE="https://github.com/OISF/libhtp"
-DOWNLOAD="https://github.com/OISF/libhtp/archive/0.5.23.tar.gz"
+DOWNLOAD="https://github.com/OISF/libhtp/archive/0.5.23/libhtp-0.5.23.tar.gz"
MD5SUM="5a0a9e2f8ee47b5f9293ea28cda28540"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libicns/libicns.SlackBuild b/libraries/libicns/libicns.SlackBuild
index f4c3fdf6a4..002ddd537d 100644
--- a/libraries/libicns/libicns.SlackBuild
+++ b/libraries/libicns/libicns.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libicns
-# 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.
+# 20211019 bkw: BUILD=2, get rid of .la file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libicns
VERSION=${VERSION:-0.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,11 +24,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}
+DOC=/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/$DOC
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -47,38 +59,32 @@ 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 {} \;
-
-CFLAGS="$SLKCFLAGS $PNGHACK" \
-CXXFLAGS="$SLKCFLAGS $PNGHACK" \
+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 \
+ --docdir=$DOC \
--disable-static \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man?/*.*
+rm -f $PKG/usr/lib*/*.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 DEVNOTES NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING* ChangeLog DEVNOTES NEWS 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libicns/libicns.info b/libraries/libicns/libicns.info
index 878b6967fd..d2e150e23d 100644
--- a/libraries/libicns/libicns.info
+++ b/libraries/libicns/libicns.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/libraries/libidn2/README b/libraries/libidn2/README
deleted file mode 100644
index 972855606d..0000000000
--- a/libraries/libidn2/README
+++ /dev/null
@@ -1,5 +0,0 @@
-GNU Libidn is a fully documented implementation of the Stringprep,
-Punycode and IDNA 2003 specifications. Libidn's purpose is to encode
-and decode internationalized domain names.
-
-The libidn2 package does not clash with Slackware's libidn package.
diff --git a/libraries/libidn2/libidn2.SlackBuild b/libraries/libidn2/libidn2.SlackBuild
deleted file mode 100644
index 8ccfaa4583..0000000000
--- a/libraries/libidn2/libidn2.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libidn2
-
-# Copyright 2017 Mohammad Etemaddar 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=libidn2
-VERSION=${VERSION:-2.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.lz
-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 -size 0 -delete
-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
-cp -a \
- ABOUT-NLS AUTHORS CONTRIBUTING.md COPYING* 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/libraries/libidn2/libidn2.info b/libraries/libidn2/libidn2.info
deleted file mode 100644
index b07454fe03..0000000000
--- a/libraries/libidn2/libidn2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libidn2"
-VERSION="2.0.4"
-HOMEPAGE="https://www.gnu.org/software/libidn/"
-DOWNLOAD="https://ftp.gnu.org/gnu/libidn/libidn2-2.0.4.tar.lz"
-MD5SUM="376e879081abe810449389ffcc300585"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mohammad Etemaddar"
-EMAIL="mohammad.etemaddar@gmail.com"
diff --git a/libraries/libidn2/slack-desc b/libraries/libidn2/slack-desc
deleted file mode 100644
index 251ce06f1c..0000000000
--- a/libraries/libidn2/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------------------------------------------------------|
-libidn2: libidn2 (GNU IDN Library version 2)
-libidn2:
-libidn2: GNU Libidn is a fully documented implementation of the Stringprep,
-libidn2: Punycode and IDNA 2003 specifications. Libidn's purpose is to encode
-libidn2: and decode internationalized domain names.
-libidn2:
-libidn2: The libidn2 package does not clash with Slackware's libidn package.
-libidn2:
-libidn2:
-libidn2:
-libidn2:
diff --git a/libraries/libido3/0001-Temporarily-disable-previous-button-drop-shadow-draw.patch b/libraries/libido3/0001-Temporarily-disable-previous-button-drop-shadow-draw.patch
deleted file mode 100644
index cd44da0922..0000000000
--- a/libraries/libido3/0001-Temporarily-disable-previous-button-drop-shadow-draw.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 9e672e82e01f0bbe11869a4b67bd0a26c9494c50 Mon Sep 17 00:00:00 2001
-From: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
-Date: Wed, 29 Oct 2014 00:36:15 -0400
-Subject: [PATCH] Temporarily disable previous-button drop-shadow drawing
-
-When indicator-sound is connected to a media player through mpris,
-a bug in either cairo or ido causes unity-panel-service to segfault
----
- src/idoplaybackmenuitem.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c
-index 11af9bb..5fb66da 100644
---- a/src/idoplaybackmenuitem.c
-+++ b/src/idoplaybackmenuitem.c
-@@ -1443,6 +1443,7 @@ ido_playback_menu_item_draw (GtkWidget* button, cairo_t *cr)
- MIDDLE_END);
- }
-
-+#if 0
- // draw previous-button drop-shadow
- if ((item->cur_pushed_button == BUTTON_PREVIOUS && item->keyboard_activated) ||
- item->cur_hover_button == BUTTON_PREVIOUS)
-@@ -1485,6 +1486,7 @@ ido_playback_menu_item_draw (GtkWidget* button, cairo_t *cr)
- _surface_blur (surf, 1);
- _finalize (cr, &cr_surf, &surf, abs_prev_x, PREV_Y + 1.0f);
- }
-+#endif
-
- // draw previous-button
- _setup (&cr_surf, &surf, PREV_WIDTH, PREV_HEIGHT);
---
-2.1.2
-
diff --git a/libraries/libido3/README b/libraries/libido3/README
deleted file mode 100644
index a7e0bcaaa1..0000000000
--- a/libraries/libido3/README
+++ /dev/null
@@ -1 +0,0 @@
-Widgets and other objects used for indicators.
diff --git a/libraries/libido3/ido-optional-ubuntu-private.patch b/libraries/libido3/ido-optional-ubuntu-private.patch
deleted file mode 100644
index 8f69d48eb7..0000000000
--- a/libraries/libido3/ido-optional-ubuntu-private.patch
+++ /dev/null
@@ -1,69 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -140,6 +140,16 @@ dnl = GTK Doc Check ====================
-
- GTK_DOC_CHECK([1.8])
-
-+dnl = GTK+ Ubuntu Private API =================================================
-+
-+AC_ARG_ENABLE([ubuntu-private-api],
-+ [AS_HELP_STRING([--enable-ubuntu-private-api=@<:@no/yes@:>@],
-+ [Use Ubuntu GTK+ Private API @<:@default=yes@:>@])],
-+ [enable_ubuntu_private_api="$enableval"],
-+ [enable_ubuntu_private_api=yes])
-+
-+AM_CONDITIONAL([USE_UBUNTU_PRIVATE_API], [test "x$enable_ubuntu_private_api" != xno])
-+
- dnl ===========================================================================
-
- AC_CONFIG_FILES([
-@@ -160,6 +170,7 @@ echo ""
- echo " Prefix : ${prefix}"
- echo " gcov : ${use_gcov}"
- echo " introspection: ${enable_introspection}"
-+echo " ubuntu gtk+ : ${enable_ubuntu_private_api}"
- echo ""
- echo " Documentation: ${enable_gtk_doc}"
- echo ""
---- a/src/idomenuitemfactory.c
-+++ b/src/idomenuitemfactory.c
-@@ -17,6 +17,7 @@
- * Lars Uebernickel <lars.uebernickel@canonical.com>
- */
-
-+#ifdef USE_UBUNTU_PRIVATE_API
- #include <gtk/gtk.h>
- #include <gtk/ubuntu-private.h>
-
-@@ -117,3 +118,4 @@ static void
- ido_menu_item_factory_init (IdoMenuItemFactory *factory)
- {
- }
-+#endif
---- a/src/libido.c
-+++ b/src/libido.c
-@@ -28,9 +28,11 @@
- void
- ido_init (void)
- {
-+#ifdef USE_UBUNTU_PRIVATE_API
- GType ido_menu_item_factory_get_type (void);
-
- /* make sure this extension point is registered so that gtk calls it
- * when finding custom menu items */
- g_type_ensure (ido_menu_item_factory_get_type ());
-+#endif
- }
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -68,6 +68,10 @@ AM_CPPFLAGS = \
- $(MAINTAINER_CFLAGS) \
- -Wall -Werror -Wextra -Wno-unused-parameter -Wno-error=deprecated-declarations
-
-+if USE_UBUNTU_PRIVATE_API
-+AM_CPPFLAGS += -DUSE_UBUNTU_PRIVATE_API
-+endif
-+
- AM_CFLAGS = \
- $(COVERAGE_CFLAGS)
-
diff --git a/libraries/libido3/libido3.SlackBuild b/libraries/libido3/libido3.SlackBuild
deleted file mode 100644
index d642540364..0000000000
--- a/libraries/libido3/libido3.SlackBuild
+++ /dev/null
@@ -1,111 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libido3
-# Copyright 2017 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=libido3
-VERSION=${VERSION:-16.10}
-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 {} \;
-
-# This is from Arch
-patch -p1 --verbose \
- <$CWD/0001-Temporarily-disable-previous-button-drop-shadow-draw.patch
-
-# We want to disable the gtk-ubuntu stuff
-# Pinched from Manjaro
-patch -p1 --verbose < $CWD/ido-optional-ubuntu-private.patch
-
-./autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --disable-static \
- --disable-gtk-doc \
- --enable-ubuntu-private-api=no \
- --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 \
- AUTHORS COPYING COPYING.LGPL.2.1 ChangeLog INSTALL 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
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libido3/libido3.info b/libraries/libido3/libido3.info
deleted file mode 100644
index bc669f60c9..0000000000
--- a/libraries/libido3/libido3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libido3"
-VERSION="16.10"
-HOMEPAGE="https://launchpad.net/ido"
-DOWNLOAD="http://unrealize.co.uk/source/libido3-16.10.tar.gz"
-MD5SUM="0f834f81ef5aed1a2468aff335ff497e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="gnome-common vala"
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libido3/slack-desc b/libraries/libido3/slack-desc
deleted file mode 100644
index dfc5d6e45f..0000000000
--- a/libraries/libido3/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------------------------------------------------------|
-libido3: libido3 (Indicator Display Objects)
-libido3:
-libido3: Widgets and other objects used for indicators.
-libido3:
-libido3: https://launchpad.net/ido
-libido3:
-libido3:
-libido3:
-libido3:
-libido3:
-libido3:
diff --git a/libraries/libiec61883/README b/libraries/libiec61883/README
index d9ca447af8..40fd40816a 100644
--- a/libraries/libiec61883/README
+++ b/libraries/libiec61883/README
@@ -1,8 +1,9 @@
-This library is an implementation of IEC 61883, part 1 (CIP, plug registers
-and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6 (AMDTP). Outside of
-IIDC, nearly all FireWire multimedia devices use IEC 61883 protocols.
+This library is an implementation of IEC 61883, part 1 (CIP, plug
+registers and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6
+(AMDTP). Outside of IIDC, nearly all FireWire multimedia devices use
+IEC 61883 protocols.
-The libiec61883 library provides a higher level API for streaming DV, MPEG-2
-and audio over Linux IEEE 1394. This includes both reception and transmission.
-It uses the new "rawiso" API of libraw1394, which transparently provides
-mmap-ed DMA for efficient data transfer.
+The libiec61883 library provides a higher level API for streaming DV,
+MPEG-2 and audio over Linux IEEE 1394. This includes both reception
+and transmission. It uses the new "rawiso" API of libraw1394, which
+transparently provides mmap-ed DMA for efficient data transfer.
diff --git a/libraries/libiec61883/libiec61883.SlackBuild b/libraries/libiec61883/libiec61883.SlackBuild
index bdf98c5cd4..fb9f47a32e 100644
--- a/libraries/libiec61883/libiec61883.SlackBuild
+++ b/libraries/libiec61883/libiec61883.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Pierre Cazenave revision date 11/11/2007
# Updated for Slackware64 28/05/2009
@@ -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=libiec61883
VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +108,10 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+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/libraries/libiec61883/libiec61883.info b/libraries/libiec61883/libiec61883.info
index 5c7295179a..4e53454de5 100644
--- a/libraries/libiec61883/libiec61883.info
+++ b/libraries/libiec61883/libiec61883.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/libraries/libiio/libiio.SlackBuild b/libraries/libiio/libiio.SlackBuild
index c1abdc1809..d86c3f2b9e 100644
--- a/libraries/libiio/libiio.SlackBuild
+++ b/libraries/libiio/libiio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libiio
@@ -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=libiio
VERSION=${VERSION:-0.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}
@@ -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/libraries/libilbc/libilbc.SlackBuild b/libraries/libilbc/libilbc.SlackBuild
index 1c6b0bd4d7..986366d03a 100644
--- a/libraries/libilbc/libilbc.SlackBuild
+++ b/libraries/libilbc/libilbc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libilbc
# Copyright 2013 David Woodfall <dave@slackbuilds.org>
@@ -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=libilbc
-VERSION=${VERSION:-2.0.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ABSEILVER=20211102.0
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}
@@ -59,8 +70,12 @@ 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.gz
cd $PRGNAM-$VERSION
+tar xvf $CWD/abseil-cpp-$ABSEILVER.tar.gz \
+ --transform="s|^abseil-cpp-$ABSEILVER|abseil-cpp|" \
+ --show-transformed-names
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -68,27 +83,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 {} \;
-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 DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -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 COPYING INSTALL README.md NEWS.md \
+cp -a \
+ AUTHORS COPYING PATENTS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,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/libraries/libilbc/libilbc.info b/libraries/libilbc/libilbc.info
index f4d287f2ee..5678b2b221 100644
--- a/libraries/libilbc/libilbc.info
+++ b/libraries/libilbc/libilbc.info
@@ -1,10 +1,12 @@
PRGNAM="libilbc"
-VERSION="2.0.2"
+VERSION="3.0.4"
HOMEPAGE="https://github.com/dekkers/libilbc"
-DOWNLOAD="https://github.com/TimothyGu/libilbc/releases/download/v2.0.2/libilbc-2.0.2.tar.bz2"
-MD5SUM="a5d354249c599cb92d4a93202a54c273"
+DOWNLOAD="https://github.com/TimothyGu/libilbc/archive/v3.0.4/libilbc-3.0.4.tar.gz \
+ https://github.com/abseil/abseil-cpp/archive/20211102.0/abseil-cpp-20211102.0.tar.gz"
+MD5SUM="0aa7c3d20d4d6901ad50e42b5d12201d \
+ bdca561519192543378b7cade101ec43"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libindi-drivers/README b/libraries/libindi-drivers/README
index fe21a24a44..fcd818f758 100644
--- a/libraries/libindi-drivers/README
+++ b/libraries/libindi-drivers/README
@@ -5,7 +5,14 @@ instrumentation. INDI is small, flexible, easy to parse, and scalable.
It supports common DCS functions such as remote control, data
acquisition, monitoring, and a lot more.
-This script builds several third party hardware drivers.
+This script builds several third party hardware drivers. The required
+build and install sequence is:
+
+libindi -> libindi-libraries -> libindi-drivers
+
+Some optional hardware dependecies are:
+fxload download firmware into FX, FX2, and FX2LP EZ-USB devices
+ and devices and I2C serial EEPROMs (SBo)
Notes:
1. Some of the drivers will need additional configuration of their
diff --git a/libraries/libindi-drivers/doinst.sh b/libraries/libindi-drivers/doinst.sh
new file mode 100644
index 0000000000..47e1cb12cb
--- /dev/null
+++ b/libraries/libindi-drivers/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /sbin/udevadm ]; then
+ /sbin/udevadm control --reload-rules >/dev/null 2>&1 && /sbin/udevadm trigger >/dev/null 2>&1
+fi
diff --git a/libraries/libindi-drivers/libindi-drivers.SlackBuild b/libraries/libindi-drivers/libindi-drivers.SlackBuild
index c17a333835..50428f9309 100644
--- a/libraries/libindi-drivers/libindi-drivers.SlackBuild
+++ b/libraries/libindi-drivers/libindi-drivers.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libindi
-# Copyright 2018 Edward W. Koenig, Vancouver, WA, USA
+# Copyright 2018, 2022 Edward W. Koenig, Vancouver, WA, USA
# 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=libindi-drivers
-SRCNAM="libindi_3rdparty_"
-DRIVER=3rdparty
-VERSION=${VERSION:-1.6.2}
+SRCNAM="indi-3rdparty"
+VERSION=${VERSION:-2.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +39,20 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+case "$ARCH" in
+ x86_64) ;;
+ arm*) ;;
+ *) echo "Unsupported ARCH '$ARCH'"; exit 1 ;;
+esac
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 +76,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DRIVER
-tar xvf $CWD/$SRCNAM$VERSION.tar.gz
-cd $DRIVER
+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 \
@@ -71,33 +86,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 {} \;
-# Note: Some drivers disabled since no buildscripts exist on SBo yet.
-# libqhy: SDK including firmware and drivers for QHY astronomy camaras.
-# libqsi: support for Quantum Scientific Imaging CCDs & Filter Wheels driver
-# libsbigudev: firmware for Santa Barbra Instruments Group line of CCDs & Filter Wheels
-# libinovasdk: support for i.Nova PLx series CCD/CMOS cameras driver
-# libfli: support for Finger Lakes Instruments CCD and Focuser driver
-# libapogee: support for Apogee Alta (U & E) line of CCDs
-# libfishcamp: support for Fishcamp Engineering's Starfish CMOS autoguider
-# libdspau: support for Realtek RTL2832U chip driven receivers
-#
-# These libraries, some included in the 3rdparty source, will be added as I create
-# the install scripts.
+sed -i '/#include <stdint.h>/a #include <cstddef>' indi-celestronaux/auxproto.h
+
+# Note: Some drivers (limesdr) disabled since no buildscripts exist on SBo yet.
+# There may be other runtime dependencies.
+
+# cmakelists bug preventing build of libmeadecam and libahp-gt? Well, skip
+# those drivers as well for now - and hope no one notices ;-)
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
-mkdir -p build
-cd build
+ mkdir -p build
+cd $TMP/$SRCNAM-$VERSION/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_QHY:OPTION=OFF \
- -DWITH_QSI:OPTION=OFF \
- -DWITH_SBIG:OPTION=OFF \
- -DWITH_INOVAPLX:OPTION=OFF \
- -DWITH_FLI:OPTION=OFF \
- -DWITH_APOGEE:OPTION=OFF \
- -DWITH_FISHCAMP:OPTION=OFF \
- -DWITH_RTLSDR:OPTION=OFF \
+ -DWITH_LIMESDR:OPTION=OFF \
+ -DWITH_TOUPBASE:OPTION=OFF \
+ -DWITH_AHP_GT:OPTION=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -106,16 +111,13 @@ 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
-# fixup udev rules in the wrong dir
-mv $PKG/etc/udev/rules.d/99-meadedsi.rules $PKG/lib/udev/rules.d/
-rm -rf $PKG/etc
-
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
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/libraries/libindi-drivers/libindi-drivers.info b/libraries/libindi-drivers/libindi-drivers.info
index 3207b5f791..6a5cc60636 100644
--- a/libraries/libindi-drivers/libindi-drivers.info
+++ b/libraries/libindi-drivers/libindi-drivers.info
@@ -1,10 +1,10 @@
PRGNAM="libindi-drivers"
-VERSION="1.6.2"
+VERSION="2.0.6"
HOMEPAGE="https://www.indilib.org/"
-DOWNLOAD="https://github.com/indilib/indi/releases/download/v1.6.2/libindi_3rdparty_1.6.2.tar.gz"
-MD5SUM="189ebc46abf04889a26c4a6a5b835709"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libindi libftdi1 gpsd"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/indilib/indi-3rdparty/archive/v2.0.6/indi-3rdparty-2.0.6.tar.gz"
+MD5SUM_x86_64="120a5ee4a53d87b536b334f62baf87fe"
+REQUIRES="libindi-libraries"
MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/libraries/libindi-libraries/README b/libraries/libindi-libraries/README
new file mode 100644
index 0000000000..cfa839e3f8
--- /dev/null
+++ b/libraries/libindi-libraries/README
@@ -0,0 +1,20 @@
+INDI Third Party Device Libraries
+
+INDI is a distributed control protocol designed to operate astronomical
+instrumentation. INDI is small, flexible, easy to parse, and scalable.
+It supports common DCS functions such as remote control, data
+acquisition, monitoring, and a lot more.
+
+This script builds several third party libraries required by the
+drivers.
+
+Some optional hardware dependecies are:
+fxload download firmware into FX, FX2, and FX2LP EZ-USB devices
+ and devices and I2C serial EEPROMs (SBo)
+
+Notes:
+1. Some of the drivers will need additional configuration of their
+ dependencies, e.g. gpsd for GPS devices.
+2. Not all device drivers are implemented yet since their dependencies
+ are not yet available on Slackbuilds.org. This is a work in
+ progress.
diff --git a/libraries/libindi-libraries/doinst.sh b/libraries/libindi-libraries/doinst.sh
new file mode 100644
index 0000000000..47e1cb12cb
--- /dev/null
+++ b/libraries/libindi-libraries/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /sbin/udevadm ]; then
+ /sbin/udevadm control --reload-rules >/dev/null 2>&1 && /sbin/udevadm trigger >/dev/null 2>&1
+fi
diff --git a/libraries/libindi-libraries/libindi-libraries.SlackBuild b/libraries/libindi-libraries/libindi-libraries.SlackBuild
new file mode 100644
index 0000000000..14941cc676
--- /dev/null
+++ b/libraries/libindi-libraries/libindi-libraries.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for libindi
+
+# Copyright 2018 2022 Edward W. Koenig, Vancouver, WA, 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=libindi-libraries
+SRCNAM="indi-3rdparty"
+VERSION=${VERSION:-2.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 ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+case "$ARCH" in
+ x86_64) ;;
+ arm*) ;;
+ *) echo "Unsupported ARCH '$ARCH'"; exit 1 ;;
+esac
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+# Note: Some libraris may require addition sotware not yet availabe on SBo
+
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_LIBS=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
+
+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
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libindi-libraries/libindi-libraries.info b/libraries/libindi-libraries/libindi-libraries.info
new file mode 100644
index 0000000000..3dfb09cf45
--- /dev/null
+++ b/libraries/libindi-libraries/libindi-libraries.info
@@ -0,0 +1,10 @@
+PRGNAM="libindi-libraries"
+VERSION="2.0.6"
+HOMEPAGE="https://www.indilib.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/indilib/indi-3rdparty/archive/v2.0.6/indi-3rdparty-2.0.6.tar.gz"
+MD5SUM_x86_64="120a5ee4a53d87b536b334f62baf87fe"
+REQUIRES="libindi libdc1394 libftdi1 gpsd zeromq"
+MAINTAINER="Edward W. Koenig"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/libraries/libindi-libraries/slack-desc b/libraries/libindi-libraries/slack-desc
new file mode 100644
index 0000000000..95ad3ea4c3
--- /dev/null
+++ b/libraries/libindi-libraries/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------------------------------------------------------|
+libindi-libraries: libindi-libraries (Instrument Neutral Distributed Interface)
+libindi-libraries:
+libindi-libraries: INDI is a distributed control protocol designed to operate
+libindi-libraries: astronomical instrumentation. This script builds the third party
+libindi-libraries: libraries for instrument control and data acquisition.
+libindi-libraries:
+libindi-libraries:
+libindi-libraries: https://www.indilib.org/
+libindi-libraries:
+libindi-libraries:
+libindi-libraries:
diff --git a/libraries/libindi/README b/libraries/libindi/README
deleted file mode 100644
index eaaf714086..0000000000
--- a/libraries/libindi/README
+++ /dev/null
@@ -1,9 +0,0 @@
-INDI is a distributed control protocol designed to operate astronomical
-instrumentation. INDI is small, flexible, easy to parse, and scalable.
-It supports common DCS functions such as remote control, data acquisition,
-monitoring, and a lot more.
-
-This script builds the library that KDE KStars and similar programs can
-use for image capture in astrophotography, telescope control, etc.
-
-You will need libindi-drivers (also on SBo) to fully utilize INDI hardware.
diff --git a/libraries/libindi/libindi.SlackBuild b/libraries/libindi/libindi.SlackBuild
deleted file mode 100644
index a0f02c7d41..0000000000
--- a/libraries/libindi/libindi.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libindi
-
-# Copyright 2018 Edward W. Koenig, Vancouver, WA, 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=libindi
-VERSION=${VERSION:-1.6.2}
-SRC=${PRGNAM}_${VERSION}
-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 $P
-tar xvf $CWD/$SRC.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 {} \;
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-export LDFLAGS="-lbz2"
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DINCLUDE_INSTALL_DIR=/usr/include \
- -DUDEVRULES_INSTALL_DIR=/lib/udev/rules.d \
- -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.* 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/libraries/libindi/libindi.info b/libraries/libindi/libindi.info
deleted file mode 100644
index afd74b44bb..0000000000
--- a/libraries/libindi/libindi.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libindi"
-VERSION="1.6.2"
-HOMEPAGE="https://www.indilib.org/"
-DOWNLOAD="https://github.com/indilib/indi/releases/download/v1.6.2/libindi_1.6.2.tar.gz"
-MD5SUM="56dd859175312a2f6af7b359578e9edb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libnova cfitsio"
-MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
diff --git a/libraries/libindi/slack-desc b/libraries/libindi/slack-desc
deleted file mode 100644
index c8394dc76e..0000000000
--- a/libraries/libindi/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------------------------------------------------------|
-libindi: libindi (Instrument Neutral Distributed Interface)
-libindi:
-libindi: INDI is a distributed control protocol designed to operate
-libindi: astronomical instrumentation. INDI is small, flexible, easy to parse,
-libindi: and scalable. It supports common DCS functions such as remote control,
-libindi: data acquisition, monitoring, and a lot more.
-libindi:
-libindi: https://www.indilib.org/
-libindi:
-libindi:
-libindi:
diff --git a/libraries/libindicator3/README b/libraries/libindicator3/README
deleted file mode 100644
index 22b90de1fc..0000000000
--- a/libraries/libindicator3/README
+++ /dev/null
@@ -1,3 +0,0 @@
-A set of symbols and convience functions that all indicators would
-like to use. Not of real use outside of the Ayatana indicators
-project.
diff --git a/libraries/libindicator3/libindicator3.SlackBuild b/libraries/libindicator3/libindicator3.SlackBuild
deleted file mode 100644
index c47ccefa2a..0000000000
--- a/libraries/libindicator3/libindicator3.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libindicator3
-# Copyright 2017 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=libindicator3
-SRCNAM=libindicator
-VERSION=${VERSION:-16.10}
-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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 -Wno-deprecated -Wno-deprecated-declarations" \
-CXXFLAGS="$SLKCFLAGS -Wno-deprecated -Wno-deprecated-declarations" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --disable-static \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-# --enable-deprecations \
-
-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 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/libraries/libindicator3/libindicator3.info b/libraries/libindicator3/libindicator3.info
deleted file mode 100644
index af910b5cf5..0000000000
--- a/libraries/libindicator3/libindicator3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libindicator3"
-VERSION="16.10"
-HOMEPAGE="https://launchpad.net/libindicator"
-DOWNLOAD="http://unrealize.co.uk/source/libindicator-16.10.tar.gz"
-MD5SUM="60db9d0c59c125b6cbcac8df146bdc83"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libido3"
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libindicator3/slack-desc b/libraries/libindicator3/slack-desc
deleted file mode 100644
index 976d13ac69..0000000000
--- a/libraries/libindicator3/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------------------------------------------------------|
-libindicator3: libindicator3 (Indicator Functions)
-libindicator3:
-libindicator3: A set of symbols and convience functions that all indicators would
-libindicator3: like to use. Not of real use outside of the Ayatana indicators
-libindicator3: project.
-libindicator3:
-libindicator3: https://launchpad.net/libindicator
-libindicator3:
-libindicator3:
-libindicator3:
-libindicator3:
diff --git a/libraries/libinfinity/README b/libraries/libinfinity/README
deleted file mode 100644
index 73225e029f..0000000000
--- a/libraries/libinfinity/README
+++ /dev/null
@@ -1,4 +0,0 @@
-libinfinity provides an implementation of the Infinote protocol
-used by collaborative editing programs like Gobby and Kobby.
-
-avahi and libdaemon are optional dependencies.
diff --git a/libraries/libinfinity/doinst.sh b/libraries/libinfinity/doinst.sh
deleted file mode 100644
index 19400050fd..0000000000
--- a/libraries/libinfinity/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/libraries/libinfinity/libinfinity.SlackBuild b/libraries/libinfinity/libinfinity.SlackBuild
deleted file mode 100644
index ef26915c0c..0000000000
--- a/libraries/libinfinity/libinfinity.SlackBuild
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libinfinity, GooseYArd@gmail.com
-
-PRGNAM=libinfinity
-VERSION=${VERSION:-0.5.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-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --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
-
-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 \
- $PKG/usr/doc/$PRGNAM-$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/libraries/libinfinity/libinfinity.info b/libraries/libinfinity/libinfinity.info
deleted file mode 100644
index e855ec1d9d..0000000000
--- a/libraries/libinfinity/libinfinity.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libinfinity"
-VERSION="0.5.4"
-HOMEPAGE="http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity"
-DOWNLOAD="http://releases.0x539.de/libinfinity/libinfinity-0.5.4.tar.gz"
-MD5SUM="1e83ec8b3ed3159d0c883c056b153429"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libgsasl"
-MAINTAINER="Andy Bailey"
-EMAIL="GooseYArd@gmail.com"
diff --git a/libraries/libinfinity/slack-desc b/libraries/libinfinity/slack-desc
deleted file mode 100644
index 02be1e12e4..0000000000
--- a/libraries/libinfinity/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------------------------------------------------------|
-libinfinity: libinfinity (Infinote library and daemon)
-libinfinity:
-libinfinity: libinfinity is an implementation of the Infinote protocol
-libinfinity: written in GObject-based C.
-libinfinity:
-libinfinity:
-libinfinity:
-libinfinity:
-libinfinity:
-libinfinity:
-libinfinity:
diff --git a/libraries/libinklevel/README b/libraries/libinklevel/README
new file mode 100644
index 0000000000..b2f7587ecc
--- /dev/null
+++ b/libraries/libinklevel/README
@@ -0,0 +1,2 @@
+Libinklevel is a linux library to check the ink level of
+ink jet printers connected via USB or parallel port.
diff --git a/libraries/libinklevel/libinklevel.SlackBuild b/libraries/libinklevel/libinklevel.SlackBuild
new file mode 100644
index 0000000000..04a112b64b
--- /dev/null
+++ b/libraries/libinklevel/libinklevel.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libinklevel
+
+# Maintained by D Woodfall (2022-) <dave@slackbuilds.org>
+# Copyright 2006-2009 Robby Workman (http://rlworkman.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=libinklevel
+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
+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" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/usr/lib*/*.la
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ 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
diff --git a/libraries/libinklevel/libinklevel.info b/libraries/libinklevel/libinklevel.info
new file mode 100644
index 0000000000..3dfa8f00d0
--- /dev/null
+++ b/libraries/libinklevel/libinklevel.info
@@ -0,0 +1,10 @@
+PRGNAM="libinklevel"
+VERSION="0.9.3"
+HOMEPAGE="http://libinklevel.sourceforge.net/"
+DOWNLOAD="https://downloads.sourceforge.net/libinklevel/libinklevel-0.9.3.tar.gz"
+MD5SUM="572eda08cc561414673fd798b6c7bc2a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libinklevel/slack-desc b/libraries/libinklevel/slack-desc
new file mode 100644
index 0000000000..4fd95c5e17
--- /dev/null
+++ b/libraries/libinklevel/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------------------------------------------------------|
+libinklevel: libinklevel (library to check printer ink levels)
+libinklevel:
+libinklevel: Libinklevel is a linux library to check the ink level of
+libinklevel: ink jet printers connected via USB or parallel port.
+libinklevel:
+libinklevel: Homepage: http://libinklevel.sourceforge.net/
+libinklevel:
+libinklevel:
+libinklevel:
+libinklevel:
+libinklevel:
diff --git a/libraries/libinput/README b/libraries/libinput/README
deleted file mode 100644
index 6ffad5d887..0000000000
--- a/libraries/libinput/README
+++ /dev/null
@@ -1,11 +0,0 @@
-libinput (Input device library)
-
-libinput is a library to handle input devices in Wayland compositors
-and to provide a generic X.Org input driver.
-
-It provides device detection, device handling, input device event
-processing and abstraction so minimize the amount of custom input
-code compositors need to provide the common set of functionality
-that users expect. Input event processing includes scaling touch
-coordinates, generating pointer events from touchpads, pointer
-acceleration, etc.
diff --git a/libraries/libinput/libinput.SlackBuild b/libraries/libinput/libinput.SlackBuild
deleted file mode 100644
index 3fed79c32a..0000000000
--- a/libraries/libinput/libinput.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for libinput.
-#
-# Copyright 2016-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=libinput
-VERSION=${VERSION:-1.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-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; 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
-rm -rf $TMP/$PRGNAM-$VERSION
-cd $TMP
-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" \
-meson --prefix /usr --libdir lib${LIBDIRSUFFIX} --mandir /usr/man \
- build -Ddebug-gui="false" -Dtests="false" -Ddocumentation="false" \
--Dudev-dir="/lib/udev"
-
-DESTDIR=$PKG ninja -C build all 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 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -r COPYING 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:-tgz}
diff --git a/libraries/libinput/libinput.info b/libraries/libinput/libinput.info
deleted file mode 100644
index 60893c688f..0000000000
--- a/libraries/libinput/libinput.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libinput"
-VERSION="1.15.2"
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput"
-DOWNLOAD="https://www.freedesktop.org/software/libinput/libinput-1.15.2.tar.xz"
-MD5SUM="eb6bd2907ad33d53954d70dfb881a643"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libwacom meson graphviz python-evdev pyudev"
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
diff --git a/libraries/libinput/slack-desc b/libraries/libinput/slack-desc
deleted file mode 100644
index 385f7da66f..0000000000
--- a/libraries/libinput/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------------------------------------------------------|
-libinput: libinput (Input device library)
-libinput:
-libinput: libinput is a library to handle input devices in Wayland compositors
-libinput: and to provide a generic X.Org input driver.
-libinput:
-libinput: Home page: http://www.freedesktop.org/wiki/Software/libinput/
-libinput:
-libinput:
-libinput:
-libinput:
-libinput:
diff --git a/libraries/libinstpatch/libinstpatch.SlackBuild b/libraries/libinstpatch/libinstpatch.SlackBuild
index 01705e3e25..17a92c1a92 100644
--- a/libraries/libinstpatch/libinstpatch.SlackBuild
+++ b/libraries/libinstpatch/libinstpatch.SlackBuild
@@ -1,25 +1,35 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <libinstpatch>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libinstpatch
-VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-2}
+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=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,23 +52,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 {} \;
-
-LDFLAGS="-lgobject-2.0 -lglib-2.0" \
-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
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr
make
make install DESTDIR=$PKG
@@ -67,7 +69,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ABOUT-NLS CVS-HOWTO INSTALL NEWS AUTHORS COPYING ChangeLog README \
+ ABOUT-NLS AUTHORS COPYING ChangeLog README.md TODO.tasks \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -75,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/libraries/libinstpatch/libinstpatch.info b/libraries/libinstpatch/libinstpatch.info
index ab654aec86..9fe279a2eb 100644
--- a/libraries/libinstpatch/libinstpatch.info
+++ b/libraries/libinstpatch/libinstpatch.info
@@ -1,8 +1,8 @@
PRGNAM="libinstpatch"
-VERSION="1.0.0"
+VERSION="1.1.2"
HOMEPAGE="http://swamiproject.org"
-DOWNLOAD="http://downloads.sourceforge.net/swami/libinstpatch-1.0.0.tar.gz"
-MD5SUM="eca9c505fd0c47fd1f59d40598e8eb63"
+DOWNLOAD="https://github.com/swami/libinstpatch/archive/v1.1.2/libinstpatch-1.1.2.tar.gz"
+MD5SUM="1987bec70432b308ad161e0618c51160"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libiptcdata/README b/libraries/libiptcdata/README
index d2ff0998b0..adceaa1bef 100644
--- a/libraries/libiptcdata/README
+++ b/libraries/libiptcdata/README
@@ -1,12 +1,13 @@
-libiptcdata is a library, written in C, for manipulating the International
-Press Telecommunications Council (IPTC) metadata stored within multimedia
-files such as images. This metadata can include captions and keywords,
-often used by popular photo management applications. The library provides
-routines for parsing, viewing, modifying, and saving this metadata. The
-library is licensed under the GNU Library General Public License (GNU LGPL).
+libiptcdata is a library, written in C, for manipulating the
+International Press Telecommunications Council (IPTC) metadata
+stored within multimedia files such as images. This metadata can
+include captions and keywords, often used by popular photo management
+applications. The library provides routines for parsing, viewing,
+modifying, and saving this metadata. The library is licensed under the
+GNU Library General Public License (GNU LGPL).
The libiptcdata package also includes a command-line utility, iptc, for
editing IPTC data in JPEG files.
-Python bindings are included by default but can be turned off by invoking
-script with PY_BINDINGS=no
+Python bindings are included by default but can be turned off by
+invoking script with PY_BINDINGS=no
diff --git a/libraries/libiptcdata/libiptcdata.SlackBuild b/libraries/libiptcdata/libiptcdata.SlackBuild
index 84a87d78ef..349f8d4966 100644
--- a/libraries/libiptcdata/libiptcdata.SlackBuild
+++ b/libraries/libiptcdata/libiptcdata.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for libiptcdata
# Home Page http://libiptcdata.sourceforge.net/
@@ -24,20 +24,32 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - fix broken symlink in doc dir.
+# - remove useless INSTALL doc.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libiptcdata
-VERSION=${VERSION:-1.0.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.0.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}
@@ -48,8 +60,8 @@ else
py_option="--disable"
fi
-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,10 +85,10 @@ cd $TMP/$PRGNAM-$VERSION
chown -R root.root .
find -L . \
\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
find -L . \
\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \
- -exec chmod 755 {} \;
+ -exec chmod 755 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -96,15 +108,18 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cp -a python/examples $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
install -m 0644 python/README $PKG/usr/doc/$PRGNAM-$VERSION/README.PYTHON-BINDINGS
### link html docs
-ln -s $PKG/usr/share/gtk-doc/html/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html
+ln -s ../../share/gtk-doc/html/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html
+
+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/libraries/libiptcdata/libiptcdata.info b/libraries/libiptcdata/libiptcdata.info
index 1059a4dc96..c8fb736c21 100644
--- a/libraries/libiptcdata/libiptcdata.info
+++ b/libraries/libiptcdata/libiptcdata.info
@@ -1,8 +1,8 @@
PRGNAM="libiptcdata"
-VERSION="1.0.4"
+VERSION="1.0.5"
HOMEPAGE="http://libiptcdata.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libiptcdata/libiptcdata-1.0.4.tar.gz"
-MD5SUM="af886556ecb129b694f2d365d03d95a8"
+DOWNLOAD="https://github.com/ianw/libiptcdata/releases/download/release_1_0_5/libiptcdata-1.0.5.tar.gz"
+MD5SUM="c04bc1375c280d41c0106255d1df711a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libircclient/README b/libraries/libircclient/README
index beadfacfc1..eb9b7b9ef1 100644
--- a/libraries/libircclient/README
+++ b/libraries/libircclient/README
@@ -1,3 +1,3 @@
-libircclient is a small but powerful library, which implements client-server
-IRC protocol. It is designed to be small, fast, portable and compatible to
-RFC standards, and most IRC clients.
+libircclient is a small but powerful library, which implements
+client-server IRC protocol. It is designed to be small, fast, portable
+and compatible to RFC standards, and most IRC clients.
diff --git a/libraries/libircclient/libircclient.SlackBuild b/libraries/libircclient/libircclient.SlackBuild
index 70d4361559..d0c67f5f93 100644
--- a/libraries/libircclient/libircclient.SlackBuild
+++ b/libraries/libircclient/libircclient.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libircclient
#
@@ -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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix PRINT_PACKAGE_NAME.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libircclient
VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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 [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,14 +76,18 @@ 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 {} \+
# Add rfc include to main header to avoid build failures of packages using it
# example: error: 'LIBIRC_RFC_RPL_ENDOFNAMES' was not declared in this scope
patch -p1 < $CWD/libircclient-1.6-rfc.patch
+# for openssl-1.1.x
+sed -i "s|SSL_library_init|OPENSSL_init_ssl|" configure.in
+autoreconf -vif
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -97,8 +112,10 @@ cp -a Changelog LICENSE README THANKS \
$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/libraries/libisoburn/README b/libraries/libisoburn/README
index de7682bc9d..60a4e249c6 100644
--- a/libraries/libisoburn/README
+++ b/libraries/libisoburn/README
@@ -1,9 +1,10 @@
-libisoburn is a frontend for libraries libburn and libisofs which enables
-creation and expansion of ISO-9660 filesystems on all CD/DVD/BD media
-supported by libburn. This includes media like DVD+RW, which do not support
-multi-session management on media level and even plain disk files or block
-devices. The price for that is thorough specialization on data files in
-ISO-9660 filesystem images, so libisoburn is not suitable for audio (CD-DA)
-or any other CD layout which does not entirely consist of ISO-9660 sessions.
-There is a command line and dialog application xorriso which allows to use
-large parts of libisoburn's feature set.
+libisoburn is a frontend for libraries libburn and libisofs
+which enables creation and expansion of ISO-9660 filesystems on
+all CD/DVD/BD media supported by libburn. This includes media like
+DVD+RW, which do not support multi-session management on media level
+and even plain disk files or block devices. The price for that is
+thorough specialization on data files in ISO-9660 filesystem images,
+so libisoburn is not suitable for audio (CD-DA) or any other CD layout
+which does not entirely consist of ISO-9660 sessions. There is a
+command line and dialog application xorriso which allows to use large
+parts of libisoburn's feature set.
diff --git a/libraries/libisoburn/libisoburn.SlackBuild b/libraries/libisoburn/libisoburn.SlackBuild
index a35283d691..6e79652982 100644
--- a/libraries/libisoburn/libisoburn.SlackBuild
+++ b/libraries/libisoburn/libisoburn.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libisoburn
# Home Page: https://dev.lovelyhq.com/libburnia/web/wikis/Libisoburn
@@ -7,10 +7,13 @@
# New Maintainer - Nishant Limbachia <nishant _AT_ mnspace _DOT_ net> - 11/04/2011
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="libisoburn"
VERSION=${VERSION:-1.5.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -20,7 +23,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,8 +98,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libisoburn/libisoburn.info b/libraries/libisoburn/libisoburn.info
index cd76be9410..923a1a9e18 100644
--- a/libraries/libisoburn/libisoburn.info
+++ b/libraries/libisoburn/libisoburn.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://files.libburnia-project.org/releases/libisoburn-1.5.0.tar.gz"
MD5SUM="760258ca2b7edf95109ee44de4665daf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libburn libisofs"
+REQUIRES="libisofs"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
diff --git a/libraries/libisofs/libisofs.SlackBuild b/libraries/libisofs/libisofs.SlackBuild
index 6d342a36a2..ea973ac3a0 100644
--- a/libraries/libisofs/libisofs.SlackBuild
+++ b/libraries/libisofs/libisofs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libisofs
@@ -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="libisofs"
VERSION=${VERSION:-1.5.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -93,8 +103,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libixion/fmt.patch b/libraries/libixion/fmt.patch
deleted file mode 100644
index c97576bbf4..0000000000
--- a/libraries/libixion/fmt.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 0891528c3ebbf59b0634d01b57499183bac1974b Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Mon, 23 Sep 2019 12:09:37 -0700
-Subject: [PATCH] Fix build with gcc and an external fmt.
-
----
- src/libixion/Makefile.am | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/libixion/Makefile.am b/src/libixion/Makefile.am
-index 1121e5f0..bb310b3f 100644
---- a/src/libixion/Makefile.am
-+++ b/src/libixion/Makefile.am
-@@ -3,6 +3,7 @@ AM_CPPFLAGS = \
- -I$(top_srcdir)/include \
- -I$(top_srcdir)/src/include \
- -DIXION_BUILD \
-+ -DFMT_HEADER_ONLY \
- $(MDDS_CFLAGS) \
- $(SPDLOG_CFLAGS) \
- $(BOOST_CPPFLAGS)
---
-2.22.0
-
diff --git a/libraries/libixion/libixion.SlackBuild b/libraries/libixion/libixion.SlackBuild
index 3b9407fa1e..394ff63d51 100644
--- a/libraries/libixion/libixion.SlackBuild
+++ b/libraries/libixion/libixion.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libixion
-# Copyright 2015-2019 Hunter Sezen California, USA
+# Copyright 2015-2020 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=libixion
-VERSION=${VERSION:-0.15.0}
+VERSION=${VERSION:-0.17.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}
@@ -69,16 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix build with clang.
-# https://gitlab.com/ixion/ixion/merge_requests/9
-# https://gitlab.com/ixion/ixion/commit/a8fe2c542b16ee30723ab3d7f3b643ee479e9723
-sed -i 's/nullptr_t/std::nullptr_t/' include/ixion/model_context.hpp
-
-# Fix build with gcc and an external fmt.
-# https://gitlab.com/ixion/ixion/merge_requests/10
-# https://gitlab.com/ixion/ixion/commit/0891528c3ebbf59b0634d01b57499183bac1974b
-patch -p1 < $CWD/fmt.patch
-
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
@@ -99,8 +99,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE $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/libraries/libixion/libixion.info b/libraries/libixion/libixion.info
index ff67d2d7f5..4cc64062c8 100644
--- a/libraries/libixion/libixion.info
+++ b/libraries/libixion/libixion.info
@@ -1,10 +1,10 @@
PRGNAM="libixion"
-VERSION="0.15.0"
+VERSION="0.17.0"
HOMEPAGE="https://gitlab.com/ixion/ixion"
-DOWNLOAD="https://kohei.us/files/ixion/src/libixion-0.15.0.tar.xz"
-MD5SUM="68edc5952ee1b172d83e5926ecc0554a"
+DOWNLOAD="https://kohei.us/files/ixion/src/libixion-0.17.0.tar.xz"
+MD5SUM="bdb1aeaaf93dc0b4ffd0772d309a0f58"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="mdds python3 spdlog"
+REQUIRES="mdds"
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/libraries/libixp/libixp.SlackBuild b/libraries/libixp/libixp.SlackBuild
index 0ebd57e1dc..365d79f44c 100644
--- a/libraries/libixp/libixp.SlackBuild
+++ b/libraries/libixp/libixp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libixp
@@ -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=libixp
VERSION=${VERSION:-0.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"
@@ -71,7 +81,7 @@ find -L . \
# Fix cflags value
sed -i 's:^CFLAGS =:CFLAGS += :' config.mk
-CFLAGS="$SLKCFLAGS" make \
+CFLAGS="$SLKCFLAGS -fcommon" make \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
MAN=/usr/man \
@@ -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/libraries/libjcat/README b/libraries/libjcat/README
new file mode 100644
index 0000000000..a740136b76
--- /dev/null
+++ b/libraries/libjcat/README
@@ -0,0 +1 @@
+libjcat - Library for reading and writing Jcat files
diff --git a/libraries/libjcat/libjcat.SlackBuild b/libraries/libjcat/libjcat.SlackBuild
new file mode 100644
index 0000000000..2f7fe7d24e
--- /dev/null
+++ b/libraries/libjcat/libjcat.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for libjcat
+
+# Copyright 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=libjcat
+VERSION=${VERSION:-0.2.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 {} \;
+
+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 ..
+
+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 \
+ CODE_OF_CONDUCT.md LICENSE MAINTAINERS NEWS README.md RELEASE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libjcat/libjcat.info b/libraries/libjcat/libjcat.info
new file mode 100644
index 0000000000..f7cfc2307c
--- /dev/null
+++ b/libraries/libjcat/libjcat.info
@@ -0,0 +1,10 @@
+PRGNAM="libjcat"
+VERSION="0.2.1"
+HOMEPAGE="https://github.com/hughsie/libjcat"
+DOWNLOAD="https://github.com/hughsie/libjcat/archive/0.2.1/libjcat-0.2.1.tar.gz"
+MD5SUM="759d4ecb8c2bcc0d7460d9bba4c0f571"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/libraries/libjcat/slack-desc b/libraries/libjcat/slack-desc
new file mode 100644
index 0000000000..a3708daf9c
--- /dev/null
+++ b/libraries/libjcat/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------------------------------------------------------|
+libjcat: libjcat (Library for reading and writing Jcat files)
+libjcat:
+libjcat: This library allows reading and writing gzip-compressed JSON catalog
+libjcat: files, which can be used to store GPG, PKCS-7 and SHA-256 checksums
+libjcat: for each file.
+libjcat:
+libjcat: This provides equivalent functionality to the catalog files supported
+libjcat: in Microsoft Windows.
+libjcat:
+libjcat: https://github.com/hughsie/libjcat
+libjcat:
diff --git a/libraries/libjodycode/README b/libraries/libjodycode/README
new file mode 100644
index 0000000000..d660df1852
--- /dev/null
+++ b/libraries/libjodycode/README
@@ -0,0 +1,3 @@
+libjodycode is a software code library containing code shared among
+several of the programs written by Jody Bruchon such as imagepile,
+jdupes, winregfs, and zeromerge.
diff --git a/libraries/libjodycode/libjodycode.SlackBuild b/libraries/libjodycode/libjodycode.SlackBuild
new file mode 100644
index 0000000000..21bc910c63
--- /dev/null
+++ b/libraries/libjodycode/libjodycode.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+# Slackware build script for libjodycode.
+#
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libjodycode
+VERSION=${VERSION:-3.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=""
+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
+
+DOCFILES="*.txt *.md"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 -e 's|share/man|man|' Makefile
+sed -i -e 's|usr/local|usr|' Makefile
+sed -i -e 's|/lib|/lib'${LIBDIRSUFFIX}'|' Makefile
+sed -i -e 's|.*@. "$(ON_WINDOWS)" = "1".*||g' Makefile
+
+make PREFIX=/usr CFLAGS_EXTRA="$SLKCFLAGS"
+mkdir -p $PKG/usr/include
+make install DESTDIR=$PKG
+
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.a
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+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 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+# man-page is empty, for now, removing it
+rm -rf $PKG/usr/man
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libjodycode/libjodycode.info b/libraries/libjodycode/libjodycode.info
new file mode 100644
index 0000000000..8d42b22691
--- /dev/null
+++ b/libraries/libjodycode/libjodycode.info
@@ -0,0 +1,10 @@
+PRGNAM="libjodycode"
+VERSION="3.1"
+HOMEPAGE="https://codeberg.org/jbruchon/libjodycode"
+DOWNLOAD="https://codeberg.org/jbruchon/libjodycode/archive/v3.1.tar.gz"
+MD5SUM="b775aa9da7ef990950acc54235549d7d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/libjodycode/slack-desc b/libraries/libjodycode/slack-desc
new file mode 100644
index 0000000000..2c97a0b0ba
--- /dev/null
+++ b/libraries/libjodycode/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------------------------------------------------------|
+libjodycode: libjodycode (library for tools like jdupes)
+libjodycode:
+libjodycode: libjodycode is a software code library containing code shared among
+libjodycode: several of the programs written by Jody Bruchon such as imagepile,
+libjodycode: jdupes, winregfs, and zeromerge.
+libjodycode:
+libjodycode: https://github.com/jbruchon/libjodycode
+libjodycode:
+libjodycode:
+libjodycode:
+libjodycode:
diff --git a/libraries/libjson-rpc-cpp/libjson-rpc-cpp.SlackBuild b/libraries/libjson-rpc-cpp/libjson-rpc-cpp.SlackBuild
index a4db63fc3a..196c4448d0 100644
--- a/libraries/libjson-rpc-cpp/libjson-rpc-cpp.SlackBuild
+++ b/libraries/libjson-rpc-cpp/libjson-rpc-cpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libjson-rpc-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=libjson-rpc-cpp
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-1.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}
@@ -106,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/libraries/libjson-rpc-cpp/libjson-rpc-cpp.info b/libraries/libjson-rpc-cpp/libjson-rpc-cpp.info
index 0a1c30c6d4..6d60dac615 100644
--- a/libraries/libjson-rpc-cpp/libjson-rpc-cpp.info
+++ b/libraries/libjson-rpc-cpp/libjson-rpc-cpp.info
@@ -1,10 +1,10 @@
PRGNAM="libjson-rpc-cpp"
-VERSION="0.7.0"
+VERSION="1.4.1"
HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp"
-DOWNLOAD="https://github.com/cinemast/libjson-rpc-cpp/archive/v0.7.0/libjson-rpc-cpp-0.7.0.tar.gz"
-MD5SUM="6f17018d2f09227ad2855b48e4b7a844"
+DOWNLOAD="https://github.com/cinemast/libjson-rpc-cpp/archive/v1.4.1/libjson-rpc-cpp-1.4.1.tar.gz"
+MD5SUM="d48afeeda8f59abef859d5b0902cfbcb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libmicrohttpd jsoncpp argtable"
+REQUIRES="libmicrohttpd jsoncpp argtable hiredis"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/libraries/libjwt/libjwt.SlackBuild b/libraries/libjwt/libjwt.SlackBuild
index 62c031c507..a57e098c54 100644
--- a/libraries/libjwt/libjwt.SlackBuild
+++ b/libraries/libjwt/libjwt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libjwt
#
# 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=libjwt
-VERSION=${VERSION:-1.12.0}
+VERSION=${VERSION:-1.17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,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}
@@ -47,6 +54,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=""
@@ -93,12 +103,14 @@ 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
-DOCS="COPYING* MPL-2.0 README*"
+DOCS="LICENSE README*"
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/libraries/libjwt/libjwt.info b/libraries/libjwt/libjwt.info
index 2f9ce87440..4dd89dd049 100644
--- a/libraries/libjwt/libjwt.info
+++ b/libraries/libjwt/libjwt.info
@@ -1,10 +1,10 @@
PRGNAM="libjwt"
-VERSION="1.12.0"
+VERSION="1.17.0"
HOMEPAGE="https://github.com/benmcollins/libjwt"
-DOWNLOAD="https://github.com/benmcollins/libjwt/archive/v1.12.0/libjwt-1.12.0.tar.gz"
-MD5SUM="72a77907af61337d492c5621e3c41dab"
+DOWNLOAD="https://github.com/benmcollins/libjwt/archive/v1.17.0/libjwt-1.17.0.tar.gz"
+MD5SUM="65120b600165290193858db6e2654e07"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jansson"
+REQUIRES=""
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"
diff --git a/libraries/libjxl/README b/libraries/libjxl/README
new file mode 100644
index 0000000000..6bfc0e0a17
--- /dev/null
+++ b/libraries/libjxl/README
@@ -0,0 +1,23 @@
+JPEG XL image coding system is particularly optimised for
+responsive web environments so that content renders well on
+a wide range of devices.Existing JPEG files can be losslessly
+transcoded to JPEG XL and can also restored to exact same JPEG
+file ensuring backward compatibility.
+
+JPEG XL is designed to meet the needs of image delivery on the
+web and professional photography. It supports wide colour gamut
+as well as high dynamic range and high bit depth images. JPEG XL
+further includes features such as animation, alpha channels, layers,
+thumbnails, lossless and progressive coding to support a wide range
+of use cases including but not limited to photo galleries, e-commerce,
+social media, user interfaces and cloud storage. To enable novel
+applications, it also adds support for 360 degree images,
+image bursts, large panoramas/mosaics, and printing.
+
+Optional dependencies:
+
+Sphinx and sphinx-rtd-theme is needed for building the html
+documentation.
+
+qt6 is needed if you want comparison tool,flicker test tool
+and directory viewer.
diff --git a/libraries/libjxl/changelog b/libraries/libjxl/changelog
new file mode 100644
index 0000000000..6aa28de968
--- /dev/null
+++ b/libraries/libjxl/changelog
@@ -0,0 +1,39 @@
+Changelog for libjxl SlackBuild Script
+--------------------------------------------------------------------
+
+25/09/2022:
+
+Added to slackbuilds.org
+
+16/05/2023:
+
+Updated to commit version 8ec9ed1.
+
+24/05/2023:
+
+Resubmitted to SBo.
+Optional dependencies are qt6,Sphinx ans sphinx-rtd-theme.
+
+26/05/2023:
+
+Resubmitted to SBo
+Mentioned why the Optional dependencies is needed for.
+
+29/11/2023:
+
+Upgraded to version 0.8.2
+Removed support for JNI java wrapper and also removed
+zulu-openjdk8 as dependency since the SlackBuild fails
+to build. Thanks to B.Watson for pointing this out.
+
+21/02/2024:
+
+Updated to version 0.9.2
+
+15/04/2024:
+
+Updated to version 0.10.2
+Enabled plugin and jpegli support.
+This adds cjpegli and djpegli tools for encoding and
+decoding jpeg files.
+
diff --git a/libraries/libjxl/libjxl.SlackBuild b/libraries/libjxl/libjxl.SlackBuild
new file mode 100644
index 0000000000..35c38b61a1
--- /dev/null
+++ b/libraries/libjxl/libjxl.SlackBuild
@@ -0,0 +1,147 @@
+#!/bin/bash
+
+# Slackware build script for libjxl
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libjxl
+VERSION=${VERSION:-0.10.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+JPG=${JPG:-libjpeg-turbo}
+JPGVER=${JPGVER:-3.0.2}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+rm -rvf $TMP/$PRGNAM-$VERSION/third_party/libjpeg-turbo/
+tar -xvf $CWD/$JPG-$JPGVER.tar.gz
+cp -av $TMP/$PRGNAM-$VERSION/$JPG-$JPGVER/ $TMP/$PRGNAM-$VERSION/third_party/libjpeg-turbo
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 -B build -S $TMP/$PRGNAM-$VERSION \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \
+ -DCMAKE_INSTALL_MANDIR:PATH=/usr/man \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DJPEGXL_VERSION=$VERSION \
+ -DJPEGXL_STATIC:BOOL=OFF \
+ -DBUILD_TESTING:BOOL=OFF \
+ -DENABLE_FUZZERS_DEFAULT:BOOL=OFF \
+ -DBUNDLE_LIBPNG_DEFAULT:BOOL=OFF \
+ -DJPEGXL_ENABLE_JNI:BOOL=OFF \
+ -DJPEGXL_ENABLE_DEVTOOLS:BOOL=OFF \
+ -DJPEGXL_ENABLE_DOXYGEN:BOOL=OFF \
+ -DJPEGXL_ENABLE_SKCMS:BOOL=OFF \
+ -DJPEGXL_BUNDLE_SKCMS:BOOL=OFF \
+ -DJPEGXL_ENABLE_BENCHMARK:BOOL=OFF \
+ -DJPEGXL_ENABLE_EXAMPLES:BOOL=OFF \
+ -DJPEGXL_ENABLE_FUZZERS:BOOL=OFF \
+ -DJPEGXL_ENABLE_VIEWERS:BOOL=OFF \
+ -DJPEGXL_ENABLE_SIZELESS_VECTORS:BOOL=OFF \
+ -DJPEGXL_WARNINGS_AS_ERRORS:BOOL=OFF \
+ -DJPEGXL_ENABLE_SJPEG:BOOL=OFF \
+ -DCMAKE_DISABLE_FIND_PACKAGE_JPEG:BOOL=OFF \
+ -DJPEGXL_ENABLE_JPEGLI_LIBJPEG:BOOL=OFF \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DJPEGXL_ENABLE_MANPAGES:BOOL=ON \
+ -DJPEGXL_ENABLE_PLUGINS:BOOL=ON \
+ -DJPEGXL_ENABLE_TOOLS:BOOL=ON \
+ -DJPEGXL_ENABLE_JPEGLI:BOOL=ON \
+ -DJPEGXL_ENABLE_TCMALLOC:BOOL=ON \
+ -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF:BOOL=ON \
+ -DJPEGXL_ENABLE_OPENEXR:BOOL=ON \
+ -DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL=ON \
+ -DJPEGXL_FORCE_SYSTEM_GTEST:BOOL=ON \
+ -DJPEGXL_FORCE_SYSTEM_HWY:BOOL=ON \
+ -DJPEGXL_FORCE_SYSTEM_LCMS2:BOOL=ON
+
+make -C build DESTDIR="$PKG" install
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS README.md SECURITY.md BUILDING.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libjxl/libjxl.info b/libraries/libjxl/libjxl.info
new file mode 100644
index 0000000000..06cb3ed317
--- /dev/null
+++ b/libraries/libjxl/libjxl.info
@@ -0,0 +1,12 @@
+PRGNAM="libjxl"
+VERSION="0.10.2"
+HOMEPAGE="https://jpeg.org/jpegxl/"
+DOWNLOAD="https://github.com/libjxl/libjxl/archive/v0.10.2/libjxl-0.10.2.tar.gz \
+ https://github.com/libjpeg-turbo/libjpeg-turbo/archive/3.0.2/libjpeg-turbo-3.0.2.tar.gz"
+MD5SUM="e383b622cb2caef4dfcc8047f5a0fe72 \
+ 94756db95bc2477f7f7dad1c2590b51f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gflags gperftools graphviz highway"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libjxl/slack-desc b/libraries/libjxl/slack-desc
new file mode 100644
index 0000000000..803e61b7a6
--- /dev/null
+++ b/libraries/libjxl/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------------------------------------------------------|
+libjxl: libjxl (JPEG XL Specification)
+libjxl:
+libjxl: JPEG XL image coding system is particularly optimised for
+libjxl: responsive web environments so that content renders well on
+libjxl: a wide range of devices.Existing JPEG files can be losslessly
+libjxl: transcoded to JPEG XL and can also restored to exact same JPEG
+libjxl: file ensuring backward compatibility.
+libjxl:
+libjxl: Homepage:https://www.jpeg.org/jpegxl
+libjxl:
+libjxl:
diff --git a/libraries/libkate/README b/libraries/libkate/README
index bbecfa741f..c53d1a63a8 100644
--- a/libraries/libkate/README
+++ b/libraries/libkate/README
@@ -1,6 +1,6 @@
-Kate is a codec for karaoke and text encapsulation for Ogg. Most of the time,
-this would be multiplexed with audio/video to carry subtitles, song lyrics
-(with or without karaoke data), etc.
+Kate is a codec for karaoke and text encapsulation for Ogg. Most
+of the time, this would be multiplexed with audio/video to carry
+subtitles, song lyrics (with or without karaoke data), etc.
-libkate is required if you want subtitles support while encoding files with
-ffmpeg2theora.
+libkate is required if you want subtitles support while encoding files
+with ffmpeg2theora.
diff --git a/libraries/libkate/libkate.SlackBuild b/libraries/libkate/libkate.SlackBuild
index c7e0dc2e16..da2596245d 100644
--- a/libraries/libkate/libkate.SlackBuild
+++ b/libraries/libkate/libkate.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for libkate
# Home Page http://code.google.com/p/libkate/
@@ -25,26 +25,39 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove static libs.
+# - add missing SlackBuild to doc dir.
+# - remove useless INSTALL from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libkate
VERSION=${VERSION:-0.4.1}
-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"
@@ -67,10 +80,10 @@ cd $TMP/$PRGNAM-$VERSION
chown -R root.root .
find -L . \
\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
find -L . \
\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \
- -exec chmod 755 {} \;
+ -exec chmod 755 {} \+
# Don't link against flex (fix for -current)
set -x
@@ -88,25 +101,23 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
+ --disable-static \
--build=$ARCH-slackware-linux
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 INSTALL README THANKS \
+cp -a AUTHORS COPYING ChangeLog README THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
rm -fr $PKG/usr/share
-### strip binaries
-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
+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/libraries/libkface/README b/libraries/libkface/README
deleted file mode 100644
index 8ccd70bdbc..0000000000
--- a/libraries/libkface/README
+++ /dev/null
@@ -1,2 +0,0 @@
-A Qt/C++ wrapper around LibFace library to perform face recognition
-and detection over pictures.
diff --git a/libraries/libkface/libkface.SlackBuild b/libraries/libkface/libkface.SlackBuild
deleted file mode 100644
index 600fc57eec..0000000000
--- a/libraries/libkface/libkface.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libkface
-
-# Copyright 2015-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=libkface
-VERSION=${VERSION:-15.08.3}
-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.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 OpenCV 3 and OpenCV 3.1
-patch -p1 < $CWD/opencv3.patch
-patch -p1 < $CWD/opencv3.1.patch
-
-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 \
- -DENABLE_OPENCV3=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 COPYING* AUTHORS 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/libraries/libkface/libkface.info b/libraries/libkface/libkface.info
deleted file mode 100644
index e1380d7787..0000000000
--- a/libraries/libkface/libkface.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libkface"
-VERSION="15.08.3"
-HOMEPAGE="https://www.digikam.org"
-DOWNLOAD="https://download.kde.org/Attic/applications/15.08.3/src/libkface-15.08.3.tar.xz"
-MD5SUM="a32a66218b61bf7092735d50fb78d20b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="opencv-legacy"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libkface/opencv3.1.patch b/libraries/libkface/opencv3.1.patch
deleted file mode 100644
index fb61812601..0000000000
--- a/libraries/libkface/opencv3.1.patch
+++ /dev/null
@@ -1,168 +0,0 @@
-diff --git a/src/recognition-opencv-lbph/facerec_borrowed.h b/src/recognition-opencv-lbph/facerec_borrowed.h
-index 27ad77a..f197d22 100644
---- a/libkface/recognition-opencv-lbph/facerec_borrowed.h
-+++ b/libkface/recognition-opencv-lbph/facerec_borrowed.h
-@@ -125,6 +125,8 @@ public:
- */
- void update(cv::InputArrayOfArrays src, cv::InputArray labels);
-
-+
-+#if OPENCV_TEST_VERSION(3,1,0)
- /**
- * Predicts the label of a query image in src.
- */
-@@ -134,6 +136,13 @@ public:
- * Predicts the label and confidence for a given sample.
- */
- void predict(cv::InputArray _src, int &label, double &dist) const;
-+#else
-+ using cv::face::FaceRecognizer::predict;
-+ /*
-+ * Predict
-+ */
-+ void predict(cv::InputArray src, cv::Ptr<cv::face::PredictCollector> collector, const int state = 0) const override;
-+#endif
-
- /**
- * See FaceRecognizer::load().
-diff --git a/src/recognition-opencv-lbph/facerec_borrowed.cpp b/src/recognition-opencv-lbph/facerec_borrowed.cpp
-index 748691e..3c37ce2 100644
---- a/libkface/recognition-opencv-lbph/facerec_borrowed.cpp
-+++ b/libkface/recognition-opencv-lbph/facerec_borrowed.cpp
-@@ -36,6 +36,8 @@
- *
- * ============================================================ */
-
-+#define QT_NO_EMIT
-+
- #include "facerec_borrowed.h"
-
- // C++ includes
-@@ -375,7 +377,11 @@ void LBPHFaceRecognizer::train(InputArrayOfArrays _in_src, InputArray _inm_label
- }
- }
-
-+#if OPENCV_TEST_VERSION(3,1,0)
- void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist) const
-+#else
-+void LBPHFaceRecognizer::predict(cv::InputArray _src, cv::Ptr<cv::face::PredictCollector> collector, const int state) const
-+#endif
- {
- if(m_histograms.empty())
- {
-@@ -394,8 +400,12 @@ void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist
- m_grid_y, /* grid size y */
- true /* normed histograms */
- );
-+#if OPENCV_TEST_VERSION(3,1,0)
- minDist = DBL_MAX;
- minClass = -1;
-+#else
-+ collector->init((int)m_histograms.size(), state);
-+#endif
-
- // This is the standard method
-
-@@ -406,11 +416,19 @@ void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist
- {
- double dist = compareHist(m_histograms[sampleIdx], query, CV_COMP_CHISQR);
-
-+#if OPENCV_TEST_VERSION(3,1,0)
- if((dist < minDist) && (dist < m_threshold))
- {
- minDist = dist;
- minClass = m_labels.at<int>((int) sampleIdx);
- }
-+#else
-+ int label = m_labels.at<int>((int) sampleIdx);
-+ if (!collector->emit(label, dist, state))
-+ {
-+ return;
-+ }
-+#endif
- }
- }
-
-@@ -422,7 +440,7 @@ void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist
- // Create map "label -> vector of distances to all histograms for this label"
- std::map<int, std::vector<int> > distancesMap;
-
-- for(size_t sampleIdx = 0; sampleIdx < m_histograms.size(); sampleIdx++)
-+ for(size_t sampleIdx = 0; sampleIdx < m_histograms.size(); sampleIdx++)
- {
- double dist = compareHist(m_histograms[sampleIdx], query, CV_COMP_CHISQR);
- std::vector<int>& distances = distancesMap[m_labels.at<int>((int) sampleIdx)];
-@@ -445,11 +463,18 @@ void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist
- double mean = sum / it->second.size();
- s += QString::fromLatin1("%1: %2 - ").arg(it->first).arg(mean);
-
-+#if OPENCV_TEST_VERSION(3,1,0)
- if((mean < minDist) && (mean < m_threshold))
- {
- minDist = mean;
- minClass = it->first;
- }
-+#else
-+ if (!collector->emit(it->first, mean, state))
-+ {
-+ return;
-+ }
-+#endif
- }
-
- qCDebug(LIBKFACE_LOG) << s;
-@@ -462,7 +487,7 @@ void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist
- // map "label -> number of histograms"
- std::map<int, int> countMap;
-
-- for(size_t sampleIdx = 0; sampleIdx < m_histograms.size(); sampleIdx++)
-+ for(size_t sampleIdx = 0; sampleIdx < m_histograms.size(); sampleIdx++)
- {
- int label = m_labels.at<int>((int) sampleIdx);
- double dist = compareHist(m_histograms[sampleIdx], query, CV_COMP_CHISQR);
-@@ -480,7 +505,9 @@ void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist
- scoreMap[it->second]++;
- }
-
-+#if OPENCV_TEST_VERSION(3,1,0)
- minDist = 0;
-+#endif
- QString s("Nearest Neighbor score: ");
-
- for (std::map<int,int>::iterator it = scoreMap.begin(); it != scoreMap.end(); ++it)
-@@ -488,17 +515,26 @@ void LBPHFaceRecognizer::predict(InputArray _src, int &minClass, double &minDist
- double score = double(it->second) / countMap.at(it->first);
- s += QString::fromLatin1("%1/%2 %3 ").arg(it->second).arg(countMap.at(it->first)).arg(score);
-
-+#if OPENCV_TEST_VERSION(3,1,0)
- if (score > minDist)
- {
- minDist = score;
- minClass = it->first;
- }
-+#else
-+ // large is better thus it is -score.
-+ if (!collector->emit(it->first, -score, state))
-+ {
-+ return;
-+ }
-+#endif
- }
-
- kDebug() << s;
- }
- }
-
-+#if OPENCV_TEST_VERSION(3,1,0)
- int LBPHFaceRecognizer::predict(InputArray _src) const
- {
- int label;
-@@ -506,6 +542,7 @@ int LBPHFaceRecognizer::predict(InputArray _src) const
- predict(_src, label, dummy);
- return label;
- }
-+#endif
-
- // Static method ----------------------------------------------------
-
-
diff --git a/libraries/libkface/opencv3.patch b/libraries/libkface/opencv3.patch
deleted file mode 100644
index 2dfe3b3093..0000000000
--- a/libraries/libkface/opencv3.patch
+++ /dev/null
@@ -1,483 +0,0 @@
-From: Gilles Caulier <caulier.gilles@gmail.com>
-Date: Sun, 06 Sep 2015 08:13:52 +0000
-Subject: use same OpenCV logic than digiKam and kipi-plugins
-X-Git-Url: http://quickgit.kde.org/?p=libkface.git&a=commitdiff&h=dc62c0e0ea55d189d918501cce4d92f4198a1a0c
----
-use same OpenCV logic than digiKam and kipi-plugins
-CCBUGS: 349601
----
-
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,13 +1,16 @@
- #
--# Copyright (c) 2010-2014, Gilles Caulier, <caulier dot gilles at gmail dot com>
-+# Copyright (c) 2010-2015, Gilles Caulier, <caulier dot gilles at gmail dot com>
- #
- # Redistribution and use is allowed according to the terms of the BSD license.
- # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-+cmake_minimum_required(VERSION 2.8.9)
- project(libkface)
-
- message(STATUS "----------------------------------------------------------------------------------")
- message(STATUS "Starting CMake configuration for: libkface")
-+
-+option(ENABLE_OPENCV3 "Build libkface with OpenCV3 instead OpenCV2 (default=OFF)" OFF)
-
- find_package(Qt4 4.6.0 REQUIRED)
- find_package(KDE4 REQUIRED)
-@@ -29,7 +32,26 @@
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
-
- include(MacroOpenCV)
--DETECT_OPENCV(2.4.9 core highgui objdetect contrib legacy imgproc)
-+
-+if(ENABLE_OPENCV3)
-+
-+ DETECT_OPENCV(3.0.0 core face highgui objdetect imgproc)
-+
-+ if(${OpenCV_FOUND} AND ${OpenCV_VERSION} VERSION_LESS 3.0.0)
-+ message(STATUS "ENABLE_OPENCV3 option is enabled and OpenCV < 3.0.0 have been found. Disabled ENABLE_OPENCV3")
-+ set(OpenCV_FOUND FALSE)
-+ endif()
-+
-+else()
-+
-+ DETECT_OPENCV(2.4.9 core highgui objdetect contrib legacy imgproc)
-+
-+ if(${OpenCV_FOUND} AND ${OpenCV_VERSION} VERSION_GREATER 2.4.99)
-+ message(STATUS "ENABLE_OPENCV3 option is disabled and OpenCV >= 3.0.0 have been found. Enabled ENABLE_OPENCV3")
-+ set(OpenCV_FOUND FALSE)
-+ endif()
-+
-+endif()
-
- include_directories(${OpenCV_INCLUDE_DIRS})
-
-@@ -48,11 +70,12 @@
- # 3.3.0 => 2.0.0 (Added a "simple" training method using image data directly for a single image)
- # 3.4.0 => 2.0.0 (Added a "simple" training method using image data directly for an image list)
- # 3.5.0 => 3.0.0 (Added d private internal container to reduce binary uncompatibility with Identity class)
-+ # 3.5.1 => 3.0.0 (Added OpenCV3 support)
-
- # Library API version
- set(KFACE_LIB_MAJOR_VERSION "3")
- set(KFACE_LIB_MINOR_VERSION "5")
-- set(KFACE_LIB_PATCH_VERSION "0")
-+ set(KFACE_LIB_PATCH_VERSION "1")
-
- # Suffix to add at end of version string. Usual values are:
- # "-git" : alpha code unstable from git. Do not use in production
-
---- a/README
-+++ b/README
-@@ -20,6 +20,11 @@
- libqt >= 4.6.x http://www.qtsoftware.com
- libkde >= 4.4.x http://www.kde.org
- libopencv >= 2.4.9 http://opencv.willowgarage.com/wiki (with opencv 'haarcascades' data files)
-+
-+CMake compilation options to custom libkface:
-+
-+Use CMake "-DENABLE_OPENCV3=on" flag to compile libkface source code using OpenCV3 instead OpenCV2 (disabled by default).
-+ OpenCV3 support needs extra contrib modules package, especially 'face' and 'legacy' components.
-
- -- INSTALL ------------------------------------------------------------
-
-
---- a/libkface/CMakeLists.txt
-+++ b/libkface/CMakeLists.txt
-@@ -1,5 +1,5 @@
- #
--# Copyright (c) 2010-2014, Gilles Caulier, <caulier dot gilles at gmail dot com>
-+# Copyright (c) 2010-2015, Gilles Caulier, <caulier dot gilles at gmail dot com>
- #
- # Redistribution and use is allowed according to the terms of the BSD license.
- # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
---- a/libkface/alignment-congealing/funnelreal.cpp
-+++ b/libkface/alignment-congealing/funnelreal.cpp
-@@ -426,7 +426,7 @@
-
- for(int k=0; k<numParams; k++)
- {
-- float dn = ((rand()%160)-80)/100.0f;
-+ float dn = ((qrand()%160)-80)/100.0f;
- if(k>1)
- {
- dn /= 100.0f;
-
---- a/libkface/detection/opencvfacedetector.cpp
-+++ b/libkface/detection/opencvfacedetector.cpp
-@@ -18,7 +18,7 @@
- * <a href="alexjironkin at gmail dot com">alexjironkin at gmail dot com</a>
- * @author Copyright (C) 2010 by Aditya Bhatt
- * <a href="adityabhatt at gmail dot com">adityabhatt at gmail dot com</a>
-- * @author Copyright (C) 2010-2014 by Gilles Caulier
-+ * @author Copyright (C) 2010-2015 by Gilles Caulier
- * <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
- * @author Copyright (C) 2010-2013 by Marcel Wiesweg
- * <a href="mailto:marcel dot wiesweg at gmx dot de">marcel dot wiesweg at gmx dot de</a>
-@@ -136,13 +136,14 @@
-
- cv::Size getOriginalWindowSize() const
- {
-+#if OPENCV_VERSION <= OPENCV_MAKE_VERSION(2,4,99)
- // This is a HACK which may break any time. Work around the fact that getOriginalWindowSize()
- // always returns (0,0) and we need these values.
- if (oldCascade)
- {
- return oldCascade->orig_window_size;
- }
--
-+#endif
- return cv::Size(0, 0);
- }
-
-
---- a/libkface/libopencv.h.cmake.in
-+++ b/libkface/libopencv.h.cmake.in
-@@ -7,7 +7,7 @@
- * @date 2010-06-16
- * @brief Wrapper for OpenCV header files
- *
-- * @author Copyright (C) 2012-2014 by Gilles Caulier
-+ * @author Copyright (C) 2012-2015 by Gilles Caulier
- * <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
- *
- * This program is free software; you can redistribute it
-@@ -31,16 +31,16 @@
-
- // Pragma directives to reduce warnings from OpenCV header files.
- #if not defined(__APPLE__) && defined(__GNUC__)
--#pragma GCC diagnostic push
--#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
--#pragma GCC diagnostic ignored "-Woverloaded-virtual"
-+# pragma GCC diagnostic push
-+# pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
-+# pragma GCC diagnostic ignored "-Woverloaded-virtual"
- #endif
-
- #if defined(__APPLE__) && defined(__clang__)
--#pragma clang diagnostic push
--#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
--#pragma clang diagnostic ignored "-Woverloaded-virtual"
--#pragma clang diagnostic ignored "-Wcast-align"
-+# pragma clang diagnostic push
-+# pragma clang diagnostic ignored "-Wnon-virtual-dtor"
-+# pragma clang diagnostic ignored "-Woverloaded-virtual"
-+# pragma clang diagnostic ignored "-Wcast-align"
- #endif
-
- // OpenCV includes
-@@ -49,25 +49,32 @@
-
- #define OPENCV_MAKE_VERSION(major,minor,patch) (((major) << 16) | ((minor) << 8) | (patch))
- #define OPENCV_VERSION OPENCV_MAKE_VERSION(CV_MAJOR_VERSION,CV_MINOR_VERSION,CV_SUBMINOR_VERSION)
--#define OPENCV_TEST_VERSION(major,minor,patch) ( OPENCV_VERSION >= OPENCV_MAKE_VERSION(major,minor,patch) )
-+#define OPENCV_TEST_VERSION(major,minor,patch) ( OPENCV_VERSION < OPENCV_MAKE_VERSION(major,minor,patch) )
-
--#include <opencv2/core/core.hpp>
--#include <opencv2/core/internal.hpp>
--#include <opencv2/contrib/contrib.hpp>
-+#if OPENCV_TEST_VERSION(3,0,0)
-+# include <opencv2/core/core.hpp>
-+# include <opencv2/core/internal.hpp>
-+# include <opencv2/contrib/contrib.hpp>
-+#else
-+# include <opencv2/face.hpp>
-+# include <opencv2/core.hpp>
-+#endif
-
- // for old-style code
-+#if OPENCV_VERSION <= OPENCV_MAKE_VERSION(2,4,99)
-+# include <opencv2/legacy/compat.hpp>
-+#endif
- #include <opencv2/opencv.hpp>
--#include <opencv2/legacy/compat.hpp>
- #include <opencv2/highgui/highgui_c.h>
- #include <opencv/cvaux.h>
-
- // Restore warnings
- #if not defined(__APPLE__) && defined(__GNUC__)
--#pragma GCC diagnostic pop
-+# pragma GCC diagnostic pop
- #endif
-
- #if defined(__APPLE__) && defined(__clang__)
--#pragma clang diagnostic pop
-+# pragma clang diagnostic pop
- #endif
-
- #endif // LIB_OPEN_CV_H
-
---- a/libkface/recognition-opencv-lbph/facerec_borrowed.cpp
-+++ b/libkface/recognition-opencv-lbph/facerec_borrowed.cpp
-@@ -531,15 +531,17 @@
- return ptr;
- }
-
--CV_INIT_ALGORITHM(LBPHFaceRecognizer, "FaceRecognizer.LBPH-KFaceIface",
-- obj.info()->addParam(obj, "radius", obj.m_radius);
-- obj.info()->addParam(obj, "neighbors", obj.m_neighbors);
-- obj.info()->addParam(obj, "grid_x", obj.m_grid_x);
-- obj.info()->addParam(obj, "grid_y", obj.m_grid_y);
-- obj.info()->addParam(obj, "threshold", obj.m_threshold);
-- obj.info()->addParam(obj, "histograms", obj.m_histograms); // modification: Make Read/Write
-- obj.info()->addParam(obj, "labels", obj.m_labels); // modification: Make Read/Write
-- obj.info()->addParam(obj, "statistic", obj.m_statisticsMode)); // modification: Add parameter
-+#if OPENCV_VERSION <= OPENCV_MAKE_VERSION(2,4,99)
-+ CV_INIT_ALGORITHM(LBPHFaceRecognizer, "FaceRecognizer.LBPH-KFaceIface",
-+ obj.info()->addParam(obj, "radius", obj.m_radius);
-+ obj.info()->addParam(obj, "neighbors", obj.m_neighbors);
-+ obj.info()->addParam(obj, "grid_x", obj.m_grid_x);
-+ obj.info()->addParam(obj, "grid_y", obj.m_grid_y);
-+ obj.info()->addParam(obj, "threshold", obj.m_threshold);
-+ obj.info()->addParam(obj, "histograms", obj.m_histograms); // modification: Make Read/Write
-+ obj.info()->addParam(obj, "labels", obj.m_labels); // modification: Make Read/Write
-+ obj.info()->addParam(obj, "statistic", obj.m_statisticsMode)); // modification: Add parameter
-+#endif
-
- } // namespace KFaceIface
-
-
---- a/libkface/recognition-opencv-lbph/facerec_borrowed.h
-+++ b/libkface/recognition-opencv-lbph/facerec_borrowed.h
-@@ -45,7 +45,11 @@
- namespace KFaceIface
- {
-
-+#if OPENCV_TEST_VERSION(3,0,0)
- class LBPHFaceRecognizer : public cv::FaceRecognizer
-+#else
-+class LBPHFaceRecognizer : public cv::face::FaceRecognizer
-+#endif
- {
- public:
-
-@@ -99,8 +103,13 @@
-
- ~LBPHFaceRecognizer() {}
-
-+#if OPENCV_TEST_VERSION(3,0,0)
- using cv::FaceRecognizer::save;
- using cv::FaceRecognizer::load;
-+#else
-+ using cv::face::FaceRecognizer::save;
-+ using cv::face::FaceRecognizer::load;
-+#endif
-
- static cv::Ptr<LBPHFaceRecognizer> create(int radius=1, int neighbors=8, int grid_x=8, int grid_y=8, double threshold = DBL_MAX, PredictionStatistics statistics = NearestNeighbor);
-
-@@ -139,6 +148,8 @@
- /**
- * Getter functions.
- */
-+#if OPENCV_TEST_VERSION(3,0,0)
-+
- int neighbors() const { return m_neighbors; }
- int radius() const { return m_radius; }
- int grid_x() const { return m_grid_x; }
-@@ -146,6 +157,34 @@
-
- // NOTE: Implementation done through CV_INIT_ALGORITHM macro from OpenCV.
- cv::AlgorithmInfo* info() const;
-+
-+#else
-+
-+ int getNeighbors() const { return m_neighbors; }
-+ void setNeighbors(int _neighbors) { m_neighbors = _neighbors; }
-+
-+ int getRadius() const { return m_radius; }
-+ void setRadius(int radius) { m_radius = radius; }
-+
-+ int getGrid_x() const { return m_grid_x; }
-+ void setGrid_x(int _grid_x) { m_grid_x = _grid_x; }
-+
-+ int getGrid_y() const { return m_grid_y; }
-+ void setGrid_y(int _grid_y) { m_grid_y = _grid_y; }
-+
-+ double getThreshold() const { return m_threshold; }
-+ void setThreshold(double _threshold) { m_threshold = _threshold; }
-+
-+ void setHistograms(std::vector<cv::Mat> _histograms) { m_histograms = _histograms; }
-+ std::vector<cv::Mat> getHistograms() const { return m_histograms; }
-+
-+ void setLabels(cv::Mat _labels) { m_labels = _labels; }
-+ cv::Mat getLabels() const { return m_labels; }
-+
-+ void setStatistic(int _statistic) { m_statisticsMode = _statistic; }
-+ int getStatistic() const { return m_statisticsMode; }
-+
-+#endif
-
- private:
-
-
---- a/libkface/recognition-opencv-lbph/lbphfacemodel.cpp
-+++ b/libkface/recognition-opencv-lbph/lbphfacemodel.cpp
-@@ -61,7 +61,11 @@
- : cv::Ptr<LBPHFaceRecognizer>(LBPHFaceRecognizer::create()),
- databaseId(0)
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- ptr()->set("threshold", 100.0);
-+#else
-+ ptr()->setThreshold(100.0);
-+#endif
- }
-
- LBPHFaceModel::~LBPHFaceModel()
-@@ -80,9 +84,13 @@
-
- const LBPHFaceRecognizer* LBPHFaceModel::ptr() const
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- const LBPHFaceRecognizer* const ptr = cv::Ptr<LBPHFaceRecognizer>::operator const KFaceIface::LBPHFaceRecognizer*();
--
-- if (!ptr)
-+#else
-+ const LBPHFaceRecognizer* const ptr = cv::Ptr<LBPHFaceRecognizer>::operator KFaceIface::LBPHFaceRecognizer*();
-+#endif
-+
-+ if (!ptr)
- kWarning() << "LBPHFaceRecognizer pointer is null";
-
- return ptr;
-@@ -90,47 +98,83 @@
-
- int LBPHFaceModel::radius() const
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- return ptr()->get<int>("radius");
-+#else
-+ return ptr()->getRadius();
-+#endif
- }
-
- void LBPHFaceModel::setRadius(int radius)
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- ptr()->set("radius", radius);
-+#else
-+ ptr()->setRadius(radius);
-+#endif
- }
-
- int LBPHFaceModel::neighbors() const
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- return ptr()->get<int>("neighbors");
-+#else
-+ return ptr()->getNeighbors();
-+#endif
- }
-
- void LBPHFaceModel::setNeighbors(int neighbors)
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- ptr()->set("neighbors", neighbors);
-+#else
-+ ptr()->setNeighbors(neighbors);
-+#endif
- }
-
- int LBPHFaceModel::gridX() const
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- return ptr()->get<int>("grid_x");
-+#else
-+ return ptr()->getGrid_x();
-+#endif
- }
-
- void LBPHFaceModel::setGridX(int grid_x)
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- ptr()->set("grid_x", grid_x);
-+#else
-+ ptr()->setGrid_x(grid_x);
-+#endif
- }
-
- int LBPHFaceModel::gridY() const
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- return ptr()->get<int>("grid_y");
-+#else
-+ return ptr()->getGrid_y();
-+#endif
- }
-
- void LBPHFaceModel::setGridY(int grid_y)
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- ptr()->set("grid_y", grid_y);
-+#else
-+ ptr()->setGrid_y(grid_y);
-+#endif
- }
-
- OpenCVMatData LBPHFaceModel::histogramData(int index) const
- {
-+#if OPENCV_TEST_VERSION(3,0,0)
- return OpenCVMatData(ptr()->get<std::vector<cv::Mat> >("histograms").at(index));
-+#else
-+ return OpenCVMatData(ptr()->getHistograms().at(index));
-+#endif
- }
-
- QList<LBPHistogramMetadata> LBPHFaceModel::histogramMetadata() const
-@@ -168,12 +212,24 @@
- m_histogramMetadata << metadata;
- }
-
-+#if OPENCV_TEST_VERSION(3,0,0)
- std::vector<cv::Mat> currentHistograms = ptr()->get<std::vector<cv::Mat> >("histograms");
- cv::Mat currentLabels = ptr()->get<cv::Mat>("labels");
-+#else
-+ std::vector<cv::Mat> currentHistograms = ptr()->getHistograms();
-+ cv::Mat currentLabels = ptr()->getLabels();
-+#endif
-+
- currentHistograms.insert(currentHistograms.end(), newHistograms.begin(), newHistograms.end());
- currentLabels.push_back(newLabels);
-+
-+#if OPENCV_TEST_VERSION(3,0,0)
- ptr()->set("histograms", currentHistograms);
-- ptr()->set("labels", currentLabels);
-+ ptr()->set("labels", currentLabels);
-+#else
-+ ptr()->setHistograms(currentHistograms);
-+ ptr()->setLabels(currentLabels);
-+#endif
-
- /*
- //Most cumbersome and inefficient way through a file storage which we were forced to use if we used standard OpenCV
-@@ -215,7 +271,11 @@
-
- // Update local information
- // We assume new labels are simply appended
-+#if OPENCV_TEST_VERSION(3,0,0)
- cv::Mat currentLabels = ptr()->get<cv::Mat>("labels");
-+#else
-+ cv::Mat currentLabels = ptr()->getLabels();
-+#endif
-
- for (int i = m_histogramMetadata.size() ; i < currentLabels.rows ; i++)
- {
-
---- a/tests/preprocess.cpp
-+++ b/tests/preprocess.cpp
-@@ -93,7 +93,7 @@
- // Draw images side-by-side for later display
- QSize size(left.cols, left.rows);
- size.scale(uiSize, uiSize, Qt::KeepAspectRatio);
-- cv::Size scaleSize(size.height(), size.width());
-+ cv::Size scaleSize(size.width(), size.height());
-
- const int top = currentRow*uiSize;
- cv::Mat scaledLeft, scaledRight;
-
-
diff --git a/libraries/libkface/slack-desc b/libraries/libkface/slack-desc
deleted file mode 100644
index d48907b19b..0000000000
--- a/libraries/libkface/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------------------------------------------------------|
-libkface: libkface (KDE face recognition wrapper library)
-libkface:
-libkface: A Qt/C++ wrapper around LibFace library to perform face recognition
-libkface: and detection over pictures.
-libkface: This library is used by kipi-plugins, digiKam and others.
-libkface:
-libkface:
-libkface:
-libkface:
-libkface: For more information, visit: https://www.digikam.org
-libkface:
diff --git a/libraries/libkgeomap4/README b/libraries/libkgeomap4/README
deleted file mode 100644
index e82fbb48a4..0000000000
--- a/libraries/libkgeomap4/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Libkgeomap is a wrapper around different world-map components,
-to browse and arrange photos over a map.
-
-Currently supported map engine are: Marble, OpenStreetMap, GoogleMap
diff --git a/libraries/libkgeomap4/libkgeomap4.SlackBuild b/libraries/libkgeomap4/libkgeomap4.SlackBuild
deleted file mode 100644
index ca3d51ed57..0000000000
--- a/libraries/libkgeomap4/libkgeomap4.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libkgeomap4
-
-# 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=libkgeomap4
-SRCNAM=libkgeomap
-VERSION=${VERSION:-15.08.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 $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 {} \;
-
-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 \
- -DKDE4_BUILD_TESTS=OFF \
- -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* 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/libraries/libkgeomap4/libkgeomap4.info b/libraries/libkgeomap4/libkgeomap4.info
deleted file mode 100644
index 918735cd1c..0000000000
--- a/libraries/libkgeomap4/libkgeomap4.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libkgeomap4"
-VERSION="15.08.3"
-HOMEPAGE="https://projects.kde.org/projects/kde/kdegraphics/libs/libkgeomap"
-DOWNLOAD="https://download.kde.org/Attic/applications/15.08.3/src/libkgeomap-15.08.3.tar.xz"
-MD5SUM="a2e8944371a4dfeae96dca5d5794b92e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libkgeomap4/slack-desc b/libraries/libkgeomap4/slack-desc
deleted file mode 100644
index 2dfe783e1b..0000000000
--- a/libraries/libkgeomap4/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------------------------------------------------------|
-libkgeomap4: libkgeomap4 (wrapper library)
-libkgeomap4:
-libkgeomap4: Libkgeomap is a wrapper around different world-map components,
-libkgeomap4: to browse and arrange photos over a map.
-libkgeomap4: Currently supported map engine are: Marble, OpenStreetMap, GoogleMap
-libkgeomap4:
-libkgeomap4:
-libkgeomap4: Project URL:
-libkgeomap4: https://projects.kde.org/projects/kde/kdegraphics/libs/libkgeomap
-libkgeomap4:
-libkgeomap4:
diff --git a/libraries/libkml/README b/libraries/libkml/README
index ff59e83704..db327e826e 100644
--- a/libraries/libkml/README
+++ b/libraries/libkml/README
@@ -1,3 +1,4 @@
-libkml is Google's reference implementation of OGC KML 2.2. It also includes
-implementations of Google's gx: extensions used by Google Earth, as well as
-several utility libraries for working with other formats.
+libkml is Google's reference implementation of OGC KML 2.2. It also
+includes implementations of Google's gx: extensions used by Google
+Earth, as well as several utility libraries for working with other
+formats.
diff --git a/libraries/libkml/libkml.SlackBuild b/libraries/libkml/libkml.SlackBuild
index c2abfc29a8..cb1971b54b 100644
--- a/libraries/libkml/libkml.SlackBuild
+++ b/libraries/libkml/libkml.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libkml
@@ -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=libkml
VERSION=${VERSION:-1.3.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}
@@ -71,6 +81,8 @@ find -L . \
sed -i -e "s#set(DEF_INSTALL_CMAKE_DIR lib/cmake/libkml)#set(DEF_INSTALL_CMAKE_DIR lib$LIBDIRSUFFIX/cmake/libkml)#" CMakeLists.txt
+patch -p0 < $CWD/patches/p1.patch
+
mkdir -p build
cd build
cmake \
@@ -96,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/libraries/libkml/patches/p1.patch b/libraries/libkml/patches/p1.patch
new file mode 100644
index 0000000000..8a918ddd53
--- /dev/null
+++ b/libraries/libkml/patches/p1.patch
@@ -0,0 +1,21 @@
+--- cmake/External_uriparser.cmake.modif 2015-12-21 19:23:05.000000000 +0200
++++ cmake/External_uriparser.cmake 2024-02-24 11:04:25.349773553 +0200
+@@ -1,16 +1,14 @@
+ ExternalProject_Add(URIPARSER
+ PREFIX URIPARSER
+- URL "http://sourceforge.net/projects/uriparser/files/Sources/0.7.5/uriparser-0.7.5.tar.bz2/download"
+- URL_MD5 4f4349085fe5de33bcae8d0f26649593
++ URL "http://sourceforge.net/projects/uriparser/files/Sources/0.9.7/uriparser-0.9.7.tar.bz2/download"
++ URL_MD5 db4de4763071e993be2621249a96afac
+ BINARY_DIR ${CMAKE_BINARY_DIR}/URIPARSER/build
+ DOWNLOAD_DIR ${DOWNLOAD_LOCATION}
+- PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/cmake/UriParser_cmake_lists_txt ${CMAKE_BINARY_DIR}/URIPARSER/src/URIPARSER/CMakeLists.txt
+ CMAKE_CACHE_ARGS
+ -DCMAKE_INSTALL_PREFIX:PATH=${INSTALL_DIR}
+ -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
+ -DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS} )
+
+-
+ if(MSVC)
+ include_project_vars(URIPARSER "uriparser")
+ else()
diff --git a/libraries/libkqueue/libkqueue.SlackBuild b/libraries/libkqueue/libkqueue.SlackBuild
index a989d26944..08af12f02a 100644
--- a/libraries/libkqueue/libkqueue.SlackBuild
+++ b/libraries/libkqueue/libkqueue.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for linkqueue
#
@@ -24,26 +24,36 @@
#
# Modified by the slackbuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libkqueue
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
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}
# Try to be gentle to the compiler, no optimizations:
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
@@ -75,22 +85,28 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var
+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 ..
-make -j1
-make install DESTDIR=$PKG
+# MAN_INSTALL_DIR is actually ignored ATM
+mv $PKG/usr/share/man $PKG/usr/man
+rm -fR $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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUGS ChangeLog LICENSE README.md TODO $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 {} \;
@@ -99,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/libraries/libkqueue/libkqueue.info b/libraries/libkqueue/libkqueue.info
index 6cd089bc9f..b446f003bf 100644
--- a/libraries/libkqueue/libkqueue.info
+++ b/libraries/libkqueue/libkqueue.info
@@ -1,8 +1,8 @@
PRGNAM="libkqueue"
-VERSION="2.0.1"
+VERSION="2.3.1"
HOMEPAGE="https://github.com/mheily/libkqueue"
-DOWNLOAD="http://sourceforge.net/projects/libkqueue/files/libkqueue-2.0/libkqueue-2.0.1.tar.gz"
-MD5SUM="3d939aa5fa83a870aee71f2181b22994"
+DOWNLOAD="https://github.com/mheily/libkqueue/archive/v2.3.1/libkqueue-2.3.1.tar.gz"
+MD5SUM="e64baefa000c5667f4a15ea93fe8356b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libks/README b/libraries/libks/README
new file mode 100644
index 0000000000..8f034e84a5
--- /dev/null
+++ b/libraries/libks/README
@@ -0,0 +1,3 @@
+libks (a cross platform kitchen sink library)
+
+libks is required for FreeSWITCH, to enable the mod_verto module.
diff --git a/libraries/libks/libks.SlackBuild b/libraries/libks/libks.SlackBuild
new file mode 100644
index 0000000000..eebe0541c8
--- /dev/null
+++ b/libraries/libks/libks.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for libks
+
+# Copyright 2023 Yossi Neiman, mishehu+sbo@shavedgoats.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=libks
+PRGPATHNAME=libks2
+VERSION=${VERSION:-2.0.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-${VERSION}.tar.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 '/install(/s,\<lib\>,'lib$LIBDIRSUFFIX',' CMakeLists.txt
+sed -i "/^libdir=/s,/lib,/lib$LIBDIRSUFFIX," libks.pc.in
+
+mkdir -p build
+cp copyright build/
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSYSCONFDIR=/etc \
+ -DCMAKE_BUILD_TYPE=release ..
+
+make
+make install/strip DESTDIR=$PKG
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/$PRGPATHNAME $PKGDOC
+rm -rf $PKG/usr/share
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libks/libks.info b/libraries/libks/libks.info
new file mode 100644
index 0000000000..fc6f7cb649
--- /dev/null
+++ b/libraries/libks/libks.info
@@ -0,0 +1,10 @@
+PRGNAM="libks"
+VERSION="2.0.2"
+HOMEPAGE="http://www.freeswitch.org"
+DOWNLOAD="https://github.com/signalwire/libks/archive/v2.0.2/libks-2.0.2.tar.gz"
+MD5SUM="e6e7596add90b72a4fb60bdd7e936a21"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yossi Neiman"
+EMAIL="mishehu+sbo@shavedgoats.net"
diff --git a/libraries/libks/slack-desc b/libraries/libks/slack-desc
new file mode 100644
index 0000000000..557cad2088
--- /dev/null
+++ b/libraries/libks/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------------------------------------------------------|
+libks: libks (a cross platform kitchen sink library)
+libks:
+libks: libks is required for freeswitch, to enable the mod_verto module.
+libks:
+libks:
+libks:
+libks:
+libks:
+libks:
+libks:
+libks:
diff --git a/libraries/libkvkontakte/README b/libraries/libkvkontakte/README
deleted file mode 100644
index 47a4c8067b..0000000000
--- a/libraries/libkvkontakte/README
+++ /dev/null
@@ -1 +0,0 @@
-KDE C++ library for asynchronous interaction with VK social network
diff --git a/libraries/libkvkontakte/libkvkontakte.SlackBuild b/libraries/libkvkontakte/libkvkontakte.SlackBuild
deleted file mode 100644
index 6fc86eba1b..0000000000
--- a/libraries/libkvkontakte/libkvkontakte.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libkvkontakte
-
-# Copyright 2015 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=libkvkontakte
-VERSION=${VERSION:-4.12.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 $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 {} \;
-
-# Patched to work with newer cmake
-sed -e "/^cmake_minimum_required/ a cmake_policy(SET CMP0022 OLD)\ncmake_policy(SET CMP0059 OLD)" -i 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 \
- -DBUILD_TESTING=OFF \
- -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 COPYING* 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/libraries/libkvkontakte/libkvkontakte.info b/libraries/libkvkontakte/libkvkontakte.info
deleted file mode 100644
index dbc3a6402d..0000000000
--- a/libraries/libkvkontakte/libkvkontakte.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libkvkontakte"
-VERSION="4.12.0"
-HOMEPAGE="https://www.digikam.org/"
-DOWNLOAD="https://download.kde.org/stable/libkvkontakte/4.12.0/src/libkvkontakte-4.12.0.tar.xz"
-MD5SUM="66384c06c3d4da129169eaf042f5daa0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libkvkontakte/slack-desc b/libraries/libkvkontakte/slack-desc
deleted file mode 100644
index c14cc0a6a7..0000000000
--- a/libraries/libkvkontakte/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------------------------------------------------------|
-libkvkontakte: libkvkontakte (C++ Library)
-libkvkontakte:
-libkvkontakte: KDE C++ library for asynchronous interaction with
-libkvkontakte: VK social network
-libkvkontakte:
-libkvkontakte:
-libkvkontakte:
-libkvkontakte:
-libkvkontakte:
-libkvkontakte:
-libkvkontakte:
diff --git a/libraries/liblangtag/liblangtag.SlackBuild b/libraries/liblangtag/liblangtag.SlackBuild
index 1e09aee83e..aebe04d1bb 100644
--- a/libraries/liblangtag/liblangtag.SlackBuild
+++ b/libraries/liblangtag/liblangtag.SlackBuild
@@ -1,9 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblangtag
# Copyright 2015, 2017, 2020 Hunter Sezen California, USA
# All rights reserved.
+# 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:
@@ -22,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=liblangtag
-VERSION=${VERSION:-0.6.3}
+VERSION=${VERSION:-0.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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,6 +74,10 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+
+sed -i -e '/#define __LANGTAG_H__/a#include <stdlib.h>' liblangtag/langtag.h
+sed -i -e '/#define __LT_TAG_H__/a#include <stdlib.h>' liblangtag/lt-tag.h
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -90,11 +106,13 @@ find $PKG -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
+cp -a AUTHORS COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liblangtag/liblangtag.info b/libraries/liblangtag/liblangtag.info
index 904b63d3b7..e71d19aa7f 100644
--- a/libraries/liblangtag/liblangtag.info
+++ b/libraries/liblangtag/liblangtag.info
@@ -1,10 +1,10 @@
PRGNAM="liblangtag"
-VERSION="0.6.3"
+VERSION="0.6.4"
HOMEPAGE="https://bitbucket.org/tagoh/liblangtag/wiki/Home"
-DOWNLOAD="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-0.6.3.tar.bz2"
-MD5SUM="015274eb284b1dc82bf7af1d1774ec64"
+DOWNLOAD="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-0.6.4.tar.bz2"
+MD5SUM="c93611c472b5875166b4a3a35a66a62d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/libraries/libldm/README b/libraries/libldm/README
new file mode 100644
index 0000000000..3af2a62a2f
--- /dev/null
+++ b/libraries/libldm/README
@@ -0,0 +1,21 @@
+libldm is a tool and library for
+managing Microsoft Windows Dynamic Disks.
+which use Microsoft's LDM metadata. It can inspect them
+and also create and remove device-mapper block devices
+which can be mounted.
+
+Although a filesystem can be mounted read-write
+and its contents modified, ldmtool is not able to
+modify the LDM metadata itself. That is, it cannot
+create, remove or edit dynamic disks.
+
+It is also not able to mount RAID5 volumes which
+have a partition missing, although it can mount mirrored
+volumes with a partition missing. However,
+mounting a volume with a missing partition is not recommended,
+as ldmtool does not update the LDM metadata in any way.
+This means Windows will have no way to determine that the partitions
+are not synchronised when it subsequently mounted,
+which may result in corruption.
+
+
diff --git a/libraries/libldm/libldm.SlackBuild b/libraries/libldm/libldm.SlackBuild
new file mode 100644
index 0000000000..53a073e7ef
--- /dev/null
+++ b/libraries/libldm/libldm.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for libldm
+
+# Copyright 2022 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=libldm
+VERSION=${VERSION:-0.2.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
+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-$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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+
+./autogen.sh
+
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 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
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+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
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libldm/libldm.info b/libraries/libldm/libldm.info
new file mode 100644
index 0000000000..d9a5efabd2
--- /dev/null
+++ b/libraries/libldm/libldm.info
@@ -0,0 +1,10 @@
+PRGNAM="libldm"
+VERSION="0.2.5"
+HOMEPAGE="https://github.com/mdbooth/libldm"
+DOWNLOAD="https://github.com/mdbooth/libldm/archive/libldm-0.2.5/libldm-libldm-0.2.5.tar.gz"
+MD5SUM="ab38c1a47275eebb9c9cbcaf16220636"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libldm/rc.ldm b/libraries/libldm/rc.ldm
new file mode 100644
index 0000000000..6faf46ff19
--- /dev/null
+++ b/libraries/libldm/rc.ldm
@@ -0,0 +1,44 @@
+#! /bin/sh
+
+
+PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
+NAME="ldm"
+BIN=@bindir@/ldmtool
+DESC="Windows Logical Disk Manager volumes"
+
+# Exit if package not installed
+
+[ -x "$BIN" ] || exit 0
+
+ldm_start() {
+ echo "Starting $DESC"
+ $BIN create all
+ echo "Started $DESC"
+}
+
+ldm_stop() {
+ echo "Stopping $DESC"
+ $BIN remove all
+ echo "Stopped $DESC"
+}
+
+ldm_restart() {
+ ldm_stop
+ sleep 3
+ ldm Start
+}
+
+
+case "$1" in
+'start')
+ldm_start
+;;
+'stop')
+ldm_stop
+;;
+'restart')
+ldm_restart
+;;
+*)
+ echo "usage $0 start|stop|restart"
+esac
diff --git a/libraries/libldm/slack-desc b/libraries/libldm/slack-desc
new file mode 100644
index 0000000000..c037ef3f17
--- /dev/null
+++ b/libraries/libldm/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------------------------------------------------------|
+libldm: libldm (Microsoft Windows Dynamic Disk Library)
+libldm:
+libldm: libldm is a tool for managing Microsoft Windows Dynamic
+libldm: disk library.
+libldm:
+libldm:
+libldm: Homepage:https://github.com/mdbooth/libldm
+libldm:
+libldm:
+libldm:
+libldm:
diff --git a/libraries/libliftoff/README b/libraries/libliftoff/README
new file mode 100644
index 0000000000..eb7caeed82
--- /dev/null
+++ b/libraries/libliftoff/README
@@ -0,0 +1,5 @@
+Lightweight KMS plane library.
+libliftoff eases the use of KMS planes from userspace without standing
+in your way. Users create "virtual planes" called layers, set
+KMS properties on them,
+and libliftoff will pick hardware planes for these layers if possible.
diff --git a/libraries/libliftoff/libliftoff.SlackBuild b/libraries/libliftoff/libliftoff.SlackBuild
new file mode 100644
index 0000000000..a27bf71e70
--- /dev/null
+++ b/libraries/libliftoff/libliftoff.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for libliftoff
+
+# 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=libliftoff
+COMMIT="e045589f37835d66e3ffe8130a597bb4eb9ee08f"
+VERSION=${VERSION:-0.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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-v$VERSION-$COMMIT
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM-v$VERSION-$COMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+
+
+ "${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 -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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libliftoff/libliftoff.info b/libraries/libliftoff/libliftoff.info
new file mode 100644
index 0000000000..4f240361bd
--- /dev/null
+++ b/libraries/libliftoff/libliftoff.info
@@ -0,0 +1,10 @@
+PRGNAM="libliftoff"
+VERSION="0.4.1"
+HOMEPAGE="https://gitlab.freedesktop.org/emersion/libliftoff"
+DOWNLOAD="https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/v0.4.1/libliftoff-0.4.1.tar.gz"
+MD5SUM="5c5ef466a63cf7e00822341e424d7412"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/libliftoff/slack-desc b/libraries/libliftoff/slack-desc
new file mode 100644
index 0000000000..9bf4cc6949
--- /dev/null
+++ b/libraries/libliftoff/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------------------------------------------------------|
+libliftoff: libliftoff (lightweight KMS plane library)
+libliftoff:
+libliftoff: Libliftoff is a light KMS plane library it eases the use of KMS
+libliftoff: planes from userspace.
+libliftoff:
+libliftoff:
+libliftoff:
+libliftoff:
+libliftoff: Home: https://gitlab.freedesktop.org/emersion/libliftoff
+libliftoff:
+libliftoff:
diff --git a/libraries/liblightgrep/README b/libraries/liblightgrep/README
index 943b9742c6..21ee0d6e38 100644
--- a/libraries/liblightgrep/README
+++ b/libraries/liblightgrep/README
@@ -1,15 +1,15 @@
-Lightgrep is a new regular expression engine, designed specifically for digital
-forensics. Why another regexp engine?
+Lightgrep is a new regular expression engine, designed specifically
+for digital forensics. Why another regexp engine?
Lightgrep:
- searches for many patterns simultaneously
- searches binary data as a stream, not as discrete lines of text
- - searches for patterns in many different encodings; give it dirty data,
- lightgrep don't care
- - never, ever, ever, never, never looks at a byte twice or backs up in your
- input
+ - searches for patterns in many different encodings; give it dirty
+ data, lightgrep don't care
+ - never, ever, ever, never, never looks at a byte twice or backs up
+ in your input
-Lightgrep is still pretty new and doesn't have all the regexp features you
-might be used to. But it has enough features to be more than a toy, and what
-is supported is well-tested.
+Lightgrep is still pretty new and doesn't have all the regexp features
+you might be used to. But it has enough features to be more than a
+toy, and what is supported is well-tested.
diff --git a/libraries/liblightgrep/liblightgrep.SlackBuild b/libraries/liblightgrep/liblightgrep.SlackBuild
index e87cdc81fa..de3225cef2 100644
--- a/libraries/liblightgrep/liblightgrep.SlackBuild
+++ b/libraries/liblightgrep/liblightgrep.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblightgrep
@@ -24,10 +24,13 @@
# Initial script for verions 1.4. November 2014, Barry J. Grundy
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liblightgrep
VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-1}
+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}
@@ -96,8 +106,10 @@ cp -ar BUILD.md COPYING INSTALL 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 {} \;
+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/libraries/liblightgrep/liblightgrep.info b/libraries/liblightgrep/liblightgrep.info
index 4585f0b27b..13d211fa20 100644
--- a/libraries/liblightgrep/liblightgrep.info
+++ b/libraries/liblightgrep/liblightgrep.info
@@ -1,7 +1,7 @@
PRGNAM="liblightgrep"
VERSION="1.4"
-HOMEPAGE="https://github.com/LightboxTech/liblightgrep"
-DOWNLOAD="https://github.com/LightboxTech/liblightgrep/archive/v1.4/liblightgrep-1.4.tar.gz"
+HOMEPAGE="https://github.com/jonstewart/liblightgrep"
+DOWNLOAD="https://github.com/jonstewart/liblightgrep/archive/v1.4/liblightgrep-1.4.tar.gz"
MD5SUM="5b12d04d5a1c5a42135a787f1c0d8232"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/liblinebreak/liblinebreak.SlackBuild b/libraries/liblinebreak/liblinebreak.SlackBuild
index 5adfdc77ba..4c51866aa8 100644
--- a/libraries/liblinebreak/liblinebreak.SlackBuild
+++ b/libraries/liblinebreak/liblinebreak.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblinebreak
@@ -6,26 +6,36 @@
# Maintained as of version 2.0 by Niels Horn <niels.horn@gmail.com>
# Revision date: 2011/05/29
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liblinebreak
VERSION=${VERSION:-2.1}
-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"
@@ -66,8 +76,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog LICENCE 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liblnk/liblnk.SlackBuild b/libraries/liblnk/liblnk.SlackBuild
index 14fce6bab0..c624159c3e 100644
--- a/libraries/liblnk/liblnk.SlackBuild
+++ b/libraries/liblnk/liblnk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblnk
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20230205, July 2023
-# Updated v20181227, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=liblnk
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20230205}
STATUS=${STATUS:-alpha}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/liblnk/liblnk.info b/libraries/liblnk/liblnk.info
index 76e6c61555..a680a8d1b8 100644
--- a/libraries/liblnk/liblnk.info
+++ b/libraries/liblnk/liblnk.info
@@ -1,8 +1,8 @@
PRGNAM="liblnk"
-VERSION="20181227"
+VERSION="20230205"
HOMEPAGE="https://github.com/libyal/liblnk"
-DOWNLOAD="https://github.com/libyal/liblnk/releases/download/20181227/liblnk-alpha-20181227.tar.gz"
-MD5SUM="a0aa04c9085d9e4888a1f4095cca2834"
+DOWNLOAD="http://linuxleo.com/Source/liblnk-alpha-20230205.tar.gz"
+MD5SUM="433a1bc369074432177aaae37f93ae65"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/liblo/liblo.SlackBuild b/libraries/liblo/liblo.SlackBuild
index f23fc1bdfd..19d03295d4 100644
--- a/libraries/liblo/liblo.SlackBuild
+++ b/libraries/liblo/liblo.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblo
# Copyright 2007-2014 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2018-2019 Matteo Bernardini, Pisa, Italy
+# Copyright 2018-2020 Matteo Bernardini, Pisa, Italy
# 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=liblo
-VERSION=${VERSION:-0.30}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.31}
+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}
@@ -88,8 +98,10 @@ cp -a AUTHORS ChangeLog 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/libraries/liblo/liblo.info b/libraries/liblo/liblo.info
index e211518857..ddbd4f1e34 100644
--- a/libraries/liblo/liblo.info
+++ b/libraries/liblo/liblo.info
@@ -1,8 +1,8 @@
PRGNAM="liblo"
-VERSION="0.30"
+VERSION="0.31"
HOMEPAGE="http://liblo.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/liblo/liblo-0.30.tar.gz"
-MD5SUM="fa1a9d45f86fc18fb54019f670ff2262"
+DOWNLOAD="http://downloads.sourceforge.net/liblo/liblo-0.31.tar.gz"
+MD5SUM="14378c1e74c58e777fbb4fcf33ac5315"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libloc/README b/libraries/libloc/README
new file mode 100644
index 0000000000..a17eb0119a
--- /dev/null
+++ b/libraries/libloc/README
@@ -0,0 +1,3 @@
+libloc (location library)
+
+A library to determine the location of someone on the Internet.
diff --git a/libraries/libloc/libloc.SlackBuild b/libraries/libloc/libloc.SlackBuild
new file mode 100644
index 0000000000..fc4ecc306c
--- /dev/null
+++ b/libraries/libloc/libloc.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for <appname>
+
+# Copyright 2023 Matthew A. Miller Salina,Kansas,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=libloc
+VERSION=${VERSION:-0.9.16}
+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 {} \;
+
+./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
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -R $PKG/usr/share/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
+
+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/libraries/libloc/libloc.info b/libraries/libloc/libloc.info
new file mode 100644
index 0000000000..369e5f85fa
--- /dev/null
+++ b/libraries/libloc/libloc.info
@@ -0,0 +1,10 @@
+PRGNAM="libloc"
+VERSION="0.9.16"
+HOMEPAGE="https://github.com/ipfire/libloc"
+DOWNLOAD="https://github.com/ipfire/libloc/archive/refs/tags/0.9.16/libloc-0.9.16.tar.gz"
+MD5SUM="9cf21d20210e66f1f6332871fbebffe2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matthew A. Miller"
+EMAIL="mattallmill@gmail.com"
diff --git a/libraries/libloc/slack-desc b/libraries/libloc/slack-desc
new file mode 100644
index 0000000000..38e4629b71
--- /dev/null
+++ b/libraries/libloc/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------------------------------------------------------|
+libloc: libloc (location library)
+libloc:
+libloc: A library to determine the location of someone on the Internet.
+libloc:
+libloc:
+libloc:
+libloc:
+libloc:
+libloc: Homepage: https://github.com/ipfire/libloc
+libloc:
+libloc:
diff --git a/libraries/liblogging/liblogging.SlackBuild b/libraries/liblogging/liblogging.SlackBuild
index 0fb84d7911..802d57fc1f 100644
--- a/libraries/liblogging/liblogging.SlackBuild
+++ b/libraries/liblogging/liblogging.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblogging
@@ -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=liblogging
VERSION=${VERSION:-1.0.6}
-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"
@@ -93,8 +103,10 @@ cp -a rfc3195/doc/html/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
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/libraries/liblqr/liblqr.SlackBuild b/libraries/liblqr/liblqr.SlackBuild
index 12c7624390..7748b3486e 100644
--- a/libraries/liblqr/liblqr.SlackBuild
+++ b/libraries/liblqr/liblqr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for liblqr
#
@@ -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=liblqr
SRCNAM=liblqr-1
VERSION=${VERSION:-0.4.2}
-BUILD=${BUILD:-1}
+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}
@@ -91,8 +101,10 @@ cp -a AUTHORS COPYING COPYING.LESSER 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liblrdf/liblrdf.SlackBuild b/libraries/liblrdf/liblrdf.SlackBuild
index d73dc358bb..7bafe9666d 100644
--- a/libraries/liblrdf/liblrdf.SlackBuild
+++ b/libraries/liblrdf/liblrdf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblrdf
@@ -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=liblrdf
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
@@ -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,8 +100,10 @@ cp -a AUTHORS ChangeLog COPYING INSTALL 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liblrdf/liblrdf.info b/libraries/liblrdf/liblrdf.info
index 4172065cc5..98f482ba78 100644
--- a/libraries/liblrdf/liblrdf.info
+++ b/libraries/liblrdf/liblrdf.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/swh/LRDF/archive/v0.6.1/liblrdf-0.6.1.tar.gz"
MD5SUM="8bb0ac7e8fe1a5a90083c89776bd3deb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ladspa_sdk"
+REQUIRES="ladspa_sdk raptor"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/liblscp/liblscp.SlackBuild b/libraries/liblscp/liblscp.SlackBuild
index 9b79c9c1ad..e63274c0d6 100644
--- a/libraries/liblscp/liblscp.SlackBuild
+++ b/libraries/liblscp/liblscp.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <liblscp>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liblscp
VERSION=${VERSION:-0.5.6}
-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"
@@ -73,8 +83,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libluksde/README b/libraries/libluksde/README
new file mode 100644
index 0000000000..20c60a4f54
--- /dev/null
+++ b/libraries/libluksde/README
@@ -0,0 +1,34 @@
+libluksde is a library to access LUKS Disk Encryption encrypted volumes.
+
+Read-only supported LUKS formats:
+
+* version 1
+
+Unsupported LUKS formats:
+
+* version 2
+
+Supported encryption methods:
+
+* AES (AES-CBC, AES-ECB, AES-XTS)
+* ARC4 (ARC4-ECB)
+* Serpent (Serpent-CBC, Serpent-ECB)
+
+Unsupported encryption methods:
+
+* anubis
+* ARC4-CBC
+* cast5
+* cast6
+* twofish
+
+Supported password hashing methods:
+
+* SHA1
+* SHA224
+* SHA256
+* SHA512
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libluksde/wiki/Home
diff --git a/libraries/libluksde/libluksde.SlackBuild b/libraries/libluksde/libluksde.SlackBuild
new file mode 100644
index 0000000000..fef3c403f2
--- /dev/null
+++ b/libraries/libluksde/libluksde.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libluksde
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Updated for version 20221103 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libluksde
+VERSION=${VERSION:-20221103}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libluksde/libluksde.info b/libraries/libluksde/libluksde.info
new file mode 100644
index 0000000000..c43be09be2
--- /dev/null
+++ b/libraries/libluksde/libluksde.info
@@ -0,0 +1,10 @@
+PRGNAM="libluksde"
+VERSION="20221103"
+HOMEPAGE="https://github.com/libyal/libluksde"
+DOWNLOAD="https://linuxleo.com/Source/libluksde-experimental-20221103.tar.gz"
+MD5SUM="cd8578c554a477ea99e9e8beb2c49f79"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libluksde/slack-desc b/libraries/libluksde/slack-desc
new file mode 100644
index 0000000000..28957d35a9
--- /dev/null
+++ b/libraries/libluksde/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------------------------------------------------------|
+libluksde: libluksde (libYAL LUKS Encryption library)
+libluksde:
+libluksde:
+libluksde: Library to access to access LUKS Disk Encryption encrypted volumes.
+libluksde:
+libluksde:
+libluksde: Homepage: https://github.com/libyal/libluksde
+libluksde:
+libluksde:
+libluksde:
+libluksde:
diff --git a/libraries/liblxi/README b/libraries/liblxi/README
index e6ec9baa05..35aa01369b 100644
--- a/libraries/liblxi/README
+++ b/libraries/liblxi/README
@@ -1,12 +1,15 @@
-liblxi is an open source software library which offers a simple API for
-communicating with LXI compatible instruments. The API allows applications to
-discover instruments on your network, send SCPI commands, and receive
-responses.
+liblxi is an open source software library which offers a simple API
+for communicating with LXI compatible instruments. The API allows
+applications to discover instruments on your network, send SCPI
+commands, and receive responses.
-Currently the library supports VXI-11/TCP and RAW/TCP connections. Future work
-include adding support for the newer and more efficient HiSlip protocol which
-is used by next generation LXI instruments.
+Currently the library supports VXI-11/TCP and RAW/TCP
+connections. Future work include adding support for the newer and
+more efficient HiSlip protocol which is used by next generation LXI
+instruments.
+
+The library is based on the VXI-11 RPC protocol implementation which
+is part of the asynDriver EPICS module, which, at time of writing, is
+available from:
-The library is based on the VXI-11 RPC protocol implementation which is part
-of the asynDriver EPICS module, which, at time of writing, is available from:
http://www.aps.anl.gov/epics/modules/soft/asyn/index.html
diff --git a/libraries/liblxi/liblxi.SlackBuild b/libraries/liblxi/liblxi.SlackBuild
index f133dd4bf6..eef1295fb0 100644
--- a/libraries/liblxi/liblxi.SlackBuild
+++ b/libraries/liblxi/liblxi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liblxi
@@ -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=liblxi
VERSION=${VERSION:-1.13}
-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}
@@ -90,8 +100,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog 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/libraries/liblxqt/README b/libraries/liblxqt/README
new file mode 100644
index 0000000000..d622fbc7f2
--- /dev/null
+++ b/libraries/liblxqt/README
@@ -0,0 +1,2 @@
+liblxqt represents the core library of LXQt providing essential
+functionality needed by nearly all of its components.
diff --git a/libraries/liblxqt/liblxqt.SlackBuild b/libraries/liblxqt/liblxqt.SlackBuild
new file mode 100644
index 0000000000..744872ac48
--- /dev/null
+++ b/libraries/liblxqt/liblxqt.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for liblxqt
+
+# 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=liblxqt
+VERSION=${VERSION:-1.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-$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
+ 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 AUTHORS CHANGELOG COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liblxqt/liblxqt.info b/libraries/liblxqt/liblxqt.info
new file mode 100644
index 0000000000..233c637fc6
--- /dev/null
+++ b/libraries/liblxqt/liblxqt.info
@@ -0,0 +1,10 @@
+PRGNAM="liblxqt"
+VERSION="1.3.0"
+HOMEPAGE="https://github.com/lxqt/liblxqt"
+DOWNLOAD="https://github.com/lxqt/liblxqt/releases/download/1.3.0/liblxqt-1.3.0.tar.xz"
+MD5SUM="da3c9bd5c262f8a9b02469947c996cfb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libqtxdg"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/liblxqt/slack-desc b/libraries/liblxqt/slack-desc
new file mode 100644
index 0000000000..94ffce92b6
--- /dev/null
+++ b/libraries/liblxqt/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------------------------------------------------------|
+liblxqt: liblxqt (LXQT library)
+liblxqt:
+liblxqt: liblxqt represents the core library of LXQt providing essential
+liblxqt: functionality needed by nearly all of its components.
+liblxqt:
+liblxqt:
+liblxqt:
+liblxqt:
+liblxqt:
+liblxqt:
+liblxqt:
diff --git a/libraries/liblxrad/README b/libraries/liblxrad/README
new file mode 100644
index 0000000000..ebf796ea45
--- /dev/null
+++ b/libraries/liblxrad/README
@@ -0,0 +1,3 @@
+ LXRAD means Linux X11 Rapid Application Development, LXRAD is
+written in c++ and uses wxwidgets library. The LXRAD is a library
+and an RAD tool.
diff --git a/libraries/liblxrad/liblxrad.SlackBuild b/libraries/liblxrad/liblxrad.SlackBuild
new file mode 100644
index 0000000000..905119f257
--- /dev/null
+++ b/libraries/liblxrad/liblxrad.SlackBuild
@@ -0,0 +1,133 @@
+#!/bin/bash
+
+# Slackware build script for liblxrad
+
+# 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=liblxrad
+VERSION=${VERSION:-0.8.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=lxrad
+
+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 {} \;
+
+
+# fixes for building with lunasvg installed at system
+sed -i 's#../../lunasvg/include/document.h#lunasvg.h#' lib/lxutils.cc
+sed -i 's#../../lunasvg/build/liblunasvg.a#-llunasvg#' lib/Makefile.in
+
+# fixes for using DESTDIR at make install
+sed -i 's#${libdir}#${DESTDIR}&#' lib/Makefile.in
+sed -i 's#${bindir}#${DESTDIR}&#' utils/Makefile.in
+mkdir -p $PKG/usr/{bin,lib${LIBDIRSUFFIX}}
+
+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
+
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a examples $PKG/usr/share/$PRGNAM-$VERSION
+
+# deleted any executable shipped at examples
+find $PKG/usr/share/$PRGNAM-$VERSION/examples -type f -executable -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 -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {AUTHORS,COPYING,ChangeLog,README,THANKS,TODO,VERSION} 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/libraries/liblxrad/liblxrad.info b/libraries/liblxrad/liblxrad.info
new file mode 100644
index 0000000000..1a39b9e975
--- /dev/null
+++ b/libraries/liblxrad/liblxrad.info
@@ -0,0 +1,10 @@
+PRGNAM="liblxrad"
+VERSION="0.8.9"
+HOMEPAGE="https://github.com/lcgamboa/lxrad"
+DOWNLOAD="https://github.com/lcgamboa/lxrad/archive/v0.8.9/lxrad-0.8.9.tar.gz"
+MD5SUM="94e81ab569ffc6d803c159fe10d9d579"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="wxWidgets lunasvg"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/liblxrad/slack-desc b/libraries/liblxrad/slack-desc
new file mode 100644
index 0000000000..297847c52d
--- /dev/null
+++ b/libraries/liblxrad/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------------------------------------------------------|
+liblxrad: liblxrad (Linux X11 Rapid Application Development (Graphic library))
+liblxrad:
+liblxrad:
+liblxrad:
+liblxrad: LXRAD means Linux X11 Rapid Application Development, LXRAD is
+liblxrad: written in c++ and uses wxwidgets library. The LXRAD is a library
+liblxrad: and an RAD tool.
+liblxrad:
+liblxrad:
+liblxrad:
+liblxrad:
diff --git a/libraries/liblzf/README b/libraries/liblzf/README
new file mode 100644
index 0000000000..c38f0014d2
--- /dev/null
+++ b/libraries/liblzf/README
@@ -0,0 +1 @@
+libLZF is a very small data compression library.
diff --git a/libraries/liblzf/liblzf-3.6-autoconf-20140314.patch b/libraries/liblzf/liblzf-3.6-autoconf-20140314.patch
new file mode 100644
index 0000000000..b7ed04e224
--- /dev/null
+++ b/libraries/liblzf/liblzf-3.6-autoconf-20140314.patch
@@ -0,0 +1,309 @@
+diff -uNr liblzf-3.6.ORIG/bootstrap.sh liblzf-3.6/bootstrap.sh
+--- liblzf-3.6.ORIG/bootstrap.sh 1970-01-01 00:00:00.000000000 +0000
++++ liblzf-3.6/bootstrap.sh 2014-03-13 08:10:49.132000000 +0000
+@@ -0,0 +1,10 @@
++#!/bin/sh
++set -x
++mkdir -p config
++aclocal -I config
++#aclocal-1.10 -I config
++autoheader
++libtoolize --automake
++automake --add-missing --copy --foreign
++#automake-1.10 --add-missing --copy
++autoconf
+diff -uNr liblzf-3.6.ORIG/config.h.in liblzf-3.6/config.h.in
+--- liblzf-3.6.ORIG/config.h.in 2014-03-13 08:10:30.234000000 +0000
++++ liblzf-3.6/config.h.in 2014-03-13 08:10:49.133000000 +0000
+@@ -1,16 +1,89 @@
+-/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
++/* config.h.in. Generated from configure.ac by autoheader. */
+
+-/* Define to empty if the keyword does not work. */
+-#undef const
++/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H
++
++/* Define to 1 if you have the <errno.h> header file. */
++#undef HAVE_ERRNO_H
++
++/* Define to 1 if you have the <fcntl.h> header file. */
++#undef HAVE_FCNTL_H
++
++/* Define to 1 if you have the <getopt.h> header file. */
++#undef HAVE_GETOPT_H
++
++/* Define to 1 if you have the `getopt_long' function. */
++#undef HAVE_GETOPT_LONG
++
++/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H
++
++/* Define to 1 if you have the <limits.h> header file. */
++#undef HAVE_LIMITS_H
++
++/* Define to 1 if you have the <memory.h> header file. */
++#undef HAVE_MEMORY_H
++
++/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H
++
++/* Define to 1 if you have the <stdio.h> header file. */
++#undef HAVE_STDIO_H
++
++/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H
++
++/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H
++
++/* Define to 1 if you have the <string.h> header file. */
++#undef HAVE_STRING_H
+
+-/* Define if you have the ANSI C header files. */
++/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H
++
++/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H
++
++/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H
++
++/* Define to the sub-directory in which libtool stores uninstalled libraries.
++ */
++#undef LT_OBJDIR
++
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the home page for this package. */
++#undef PACKAGE_URL
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
++/* Define to 1 if you have the ANSI C header files. */
+ #undef STDC_HEADERS
+
+-/* The number of bytes in a int. */
+-#undef SIZEOF_INT
++/* Number of bits in a file offset, on hosts where this is settable. */
++#undef _FILE_OFFSET_BITS
++
++/* Define for large files, on AIX-style hosts. */
++#undef _LARGE_FILES
+
+-/* The number of bytes in a long. */
+-#undef SIZEOF_LONG
++/* Define to empty if `const' does not conform to ANSI C. */
++#undef const
+
+-/* The number of bytes in a short. */
+-#undef SIZEOF_SHORT
++/* Define to `__inline__' or `__inline' if that's what the C compiler
++ calls it, or to nothing if 'inline' is not supported under any name. */
++#ifndef __cplusplus
++#undef inline
++#endif
+diff -uNr liblzf-3.6.ORIG/configure.ac liblzf-3.6/configure.ac
+--- liblzf-3.6.ORIG/configure.ac 2014-03-13 08:10:30.233000000 +0000
++++ liblzf-3.6/configure.ac 2014-03-13 08:10:49.133000000 +0000
+@@ -1,9 +1,65 @@
+-AC_INIT
+-AC_CONFIG_SRCDIR([lzfP.h])
++AC_INIT(lzf.c)
++
++AC_CONFIG_AUX_DIR(config)
++
++AC_CANONICAL_SYSTEM
++AM_CONFIG_HEADER(config.h)
++AC_CHECK_HEADERS(getopt.h)
++
++
++
++dnl uncomment when tagging
++#RELEASE=TRUE
++
++VER_ARCHITECTURE=3
++VER_MAJOR=6
++VER_MINOR=0
++VER_PATCH=0
++if test "A" = A$RELEASE; then
++ VER_PATCH=${VER_PATCH}_`date '+20%y%m%d%H'`
++fi
++
++AM_INIT_AUTOMAKE(liblzf,$VER_ARCHITECTURE.$VER_MAJOR.$VER_MINOR,"http://software.schmorp.de/pkg/liblzf")
++AC_SUBST(VER_ARCHITECTURE)
++AC_SUBST(VER_MAJOR)
++AC_SUBST(VER_MINOR)
++AC_SUBST(VER_PATCH)
++
++LIBRARY_VERSION="1:0:0"
++
++AC_SUBST(LIBRARY_VERSION)
++
++
++#
++# Wall
++#
++AC_CACHE_CHECK([for maximum warnings compiler flag],
++ ac_cv_cwflag,
++[case "${CC-cc}" in
++ *gcc*) ac_cv_cwflag="-Wall -pedantic -pipe -O3 -funroll-all-loops";;
++ *)
++ ;;
++esac])
++AC_SUBST([CWFLAG], [$ac_cv_cwflag])
++
++AM_PROG_LIBTOOL
++AC_PROG_LN_S
++AC_CHECK_HEADERS([limits.h])
++AC_CHECK_HEADERS([errno.h])
++AC_CHECK_HEADERS([fcntl.h])
++AC_CHECK_HEADERS([stdio.h])
++LT_INIT
++
++AC_CONFIG_SRCDIR([lzf_c.c])
++
++
++if test "${prefix}" = NONE ; then
++ liblzf_prefix=/usr/local
++else
++ liblzf_prefix=${prefix}
++fi
+
+-AC_CONFIG_HEADER(config.h)
+
+-AC_GNU_SOURCE
+ AC_SYS_LARGEFILE
+ AC_PROG_CC
+ AC_PROG_RANLIB
+@@ -14,12 +70,6 @@
+ AC_C_INLINE
+ AC_CHECK_HEADERS(getopt.h)
+ AC_CHECK_FUNCS(getopt_long)
++AC_SUBST(ac_aux_dir)
+
+-if test "$GCC" = yes; then
+- CFLAGS="$CFLAGS -O3 -funroll-all-loops"
+-else
+- AC_MSG_RESULT(no gcc)
+-fi
+-
+-AC_CONFIG_FILES([Makefile])
+-AC_OUTPUT
++AC_OUTPUT(Makefile liblzf.pc)
+diff -uNr liblzf-3.6.ORIG/liblzf.pc.in liblzf-3.6/liblzf.pc.in
+--- liblzf-3.6.ORIG/liblzf.pc.in 1970-01-01 00:00:00.000000000 +0000
++++ liblzf-3.6/liblzf.pc.in 2014-03-13 08:10:49.134000000 +0000
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: liblzf
++Description: Small data compression library
++URL: http://oldhome.schmorp.de/marc/liblzf.html
++Version: @VERSION@
++Libs: -L${libdir} -llzf
++Cflags: -I${includedir}
+diff -uNr liblzf-3.6.ORIG/Makefile.am liblzf-3.6/Makefile.am
+--- liblzf-3.6.ORIG/Makefile.am 1970-01-01 00:00:00.000000000 +0000
++++ liblzf-3.6/Makefile.am 2014-03-13 08:12:06.195000000 +0000
+@@ -0,0 +1,74 @@
++$(PROGRAMS): $(LDEPS)
++
++
++
++h_sources = lzf.h lzfP.h
++c_sources = lzf_c.c \
++ lzf_d.c \
++ crc32.h \
++ lzfP.h
++
++
++library_includedir="$(includedir)"
++
++
++INCLUDES = -I$(includedir) -DLOCALEDIR=\"$(localedir)\"
++
++library_include_HEADERS = $(h_sources)
++
++lib_LTLIBRARIES = liblzf.la
++
++liblzf_la_SOURCES = $(c_sources)
++liblzf_la_LDFLAGS = -no-undefined -version-info $(LIBRARY_VERSION)
++
++bin_PROGRAMS = lzf
++lzf_SOURCES = lzf.c
++lzf_LDADD = $(LDADDS) liblzf.la
++topdir=@RPM_DIR@
++
++
++AUX_DIST = $(ac_aux_dir)/config.guess \
++ $(ac_aux_dir)/config.sub \
++ $(ac_aux_dir)/install-sh \
++ $(ac_aux_dir)/ltmain.sh \
++ $(ac_aux_dir)/missing \
++ $(ac_aux_dir)/ltconfig \
++ $(ac_aux_dir)/ltmain.sh
++
++MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \
++ stamp-h.in $(AUX_DIST)
++
++ACLOCAL = aclocal -I $(ac_aux_dir)
++
++
++dist-hook:
++ (cd $(distdir); \
++ if [ -a $(ac_aux_dir) ]; then \
++ echo "config exist!"; \
++ else \
++ mkdir $(ac_aux_dir); \
++ fi)
++ (if [ -a $(ac_aux_dir)/depcomp ]; then \
++ echo "depcomp exist!"; \
++ else \
++ touch $(ac_aux_dir)/depcomp; \
++ fi)
++ for file in $(AUX_DIST) $(AUX_DIST_EXTRA); do \
++ cp $$file $(distdir)/$$file; \
++ done
++
++docfiles = \
++ LICENSE \
++ Changes \
++ README
++
++
++csCLZFfiles = \
++ cs/CLZF.cs \
++ cs/README
++
++EXTRA_DIST = $(docfiles) $(csCLZFfiles) bootstrap.sh
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = liblzf.pc
++
+diff -uNr liblzf-3.6.ORIG/Makefile.in liblzf-3.6/Makefile.in
+--- liblzf-3.6.ORIG/Makefile.in 2014-03-13 08:10:30.233000000 +0000
++++ liblzf-3.6/Makefile.in 2014-03-13 08:13:08.090000000 +0000
+@@ -41,6 +41,7 @@
+ $(INSTALL) -m 755 lzf $(bindir)
+ $(INSTALL) -d $(includedir)
+ $(INSTALL_DATA) lzf.h $(includedir)
++ $(INSTALL_DATA) lzfP.h $(includedir)
+ $(INSTALL) -d $(libdir)
+ $(INSTALL_DATA) liblzf.a $(libdir)
+
diff --git a/libraries/liblzf/liblzf.SlackBuild b/libraries/liblzf/liblzf.SlackBuild
new file mode 100644
index 0000000000..ac8fbd4cec
--- /dev/null
+++ b/libraries/liblzf/liblzf.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for liblzf
+
+# 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=liblzf
+VERSION=${VERSION:-3.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"
+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 {} \;
+
+# Apply autoconf patch from Fedora (build dynamic libraries, fix install locations):
+# https://src.fedoraproject.org/rpms/liblzf/blob/master/f/liblzf-3.6-autoconf-20140314.patch
+patch -p1 < $CWD/liblzf-3.6-autoconf-20140314.patch
+
+chmod +x bootstrap.sh && ./bootstrap.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
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# the binary does different things depending on the name it is called by
+ln -s lzf $PKG/usr/bin/unlzf
+
+find $PKG -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 LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liblzf/liblzf.info b/libraries/liblzf/liblzf.info
new file mode 100644
index 0000000000..fb7e316857
--- /dev/null
+++ b/libraries/liblzf/liblzf.info
@@ -0,0 +1,10 @@
+PRGNAM="liblzf"
+VERSION="3.6"
+HOMEPAGE="http://software.schmorp.de/pkg/liblzf.html"
+DOWNLOAD="http://dist.schmorp.de/liblzf/liblzf-3.6.tar.gz"
+MD5SUM="b8d23b8258d785707a61fc3dd159c04e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/liblzf/slack-desc b/libraries/liblzf/slack-desc
new file mode 100644
index 0000000000..c7bb53a16c
--- /dev/null
+++ b/libraries/liblzf/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------------------------------------------------------|
+liblzf: liblzf (data compression library)
+liblzf:
+liblzf: libLZF is is a very small data compression library.
+liblzf:
+liblzf:
+liblzf:
+liblzf:
+liblzf:
+liblzf:
+liblzf:
+liblzf:
diff --git a/libraries/libmaa/libmaa.SlackBuild b/libraries/libmaa/libmaa.SlackBuild
index 577c371d30..aa0ed06f40 100644
--- a/libraries/libmaa/libmaa.SlackBuild
+++ b/libraries/libmaa/libmaa.SlackBuild
@@ -1,28 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmaa
# Written by sercari <sercari@esdebian.org>
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip library.
+# - remove static library.
+# - i486 => i586.
+# - use -Wno-error in flags, as future-proofing.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmaa
VERSION=${VERSION:-1.3.2}
-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"
@@ -46,10 +59,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 {} \+
+SLKCFLAGS+=" -Wno-error"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -59,6 +73,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+strip $PKG/usr/lib*/$PRGNAM.so.*.*.*
+
+# 20220418 bkw: --disable-static is ignored, so:
+rm -f $PKG/usr/lib*/$PRGNAM.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -66,8 +84,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmatekbd/README b/libraries/libmatekbd/README
new file mode 100644
index 0000000000..13d5d00759
--- /dev/null
+++ b/libraries/libmatekbd/README
@@ -0,0 +1,2 @@
+libmatekbd contains xkb hooks, it is a fork of libgnomekbd for
+the MATE desktop
diff --git a/libraries/libmatekbd/doinst.sh b/libraries/libmatekbd/doinst.sh
new file mode 100644
index 0000000000..6922dbb756
--- /dev/null
+++ b/libraries/libmatekbd/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/libmatekbd/libmatekbd.SlackBuild b/libraries/libmatekbd/libmatekbd.SlackBuild
new file mode 100644
index 0000000000..7f6c997c0e
--- /dev/null
+++ b/libraries/libmatekbd/libmatekbd.SlackBuild
@@ -0,0 +1,116 @@
+#!/bin/bash
+
+# Slackware build script for libmatekbd
+
+# Copyright 2013 Chess Griffin Raleigh, NC
+# Copyright 2013-2021 Willy Sudiarto Raharjo
+# Copyright 2023-2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libmatekbd
+VERSION=${VERSION:-1.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" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.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 \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmatekbd/libmatekbd.info b/libraries/libmatekbd/libmatekbd.info
new file mode 100644
index 0000000000..36d968d730
--- /dev/null
+++ b/libraries/libmatekbd/libmatekbd.info
@@ -0,0 +1,10 @@
+PRGNAM="libmatekbd"
+VERSION="1.28.0"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/libraries/libmatekbd/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/libmatekbd-1.28.0.tar.xz"
+MD5SUM="ab55ef1483f6b0c8beb934763dbb23ce"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/libraries/libmatekbd/slack-desc b/libraries/libmatekbd/slack-desc
new file mode 100644
index 0000000000..7460be3a09
--- /dev/null
+++ b/libraries/libmatekbd/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------------------------------------------------------|
+libmatekbd: libmatekbd (fork of libgnomekbd for the MATE desktop)
+libmatekbd:
+libmatekbd: libmatekbd contains xkb hooks used by the MATE desktop.
+libmatekbd:
+libmatekbd:
+libmatekbd:
+libmatekbd:
+libmatekbd:
+libmatekbd: https://wiki.mate-desktop.org/mate-desktop/libraries/libmatekbd/
+libmatekbd:
+libmatekbd:
diff --git a/libraries/libmatemixer/README b/libraries/libmatemixer/README
new file mode 100644
index 0000000000..7eab60022b
--- /dev/null
+++ b/libraries/libmatemixer/README
@@ -0,0 +1,3 @@
+libmatemixer is a mixer library for MATE desktop.
+It provides an abstract API allowing access to mixer functionality
+available in the PulseAudio, ALSA and OSS sound systems.
diff --git a/libraries/libmatemixer/libmatemixer.SlackBuild b/libraries/libmatemixer/libmatemixer.SlackBuild
new file mode 100644
index 0000000000..b413d01346
--- /dev/null
+++ b/libraries/libmatemixer/libmatemixer.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for libmatemixer
+
+# Copyright 2014-2021 Willy Sudiarto Raharjo
+# Copyright 2023-2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libmatemixer
+VERSION=${VERSION:-1.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" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.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-shared \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING 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
diff --git a/libraries/libmatemixer/libmatemixer.info b/libraries/libmatemixer/libmatemixer.info
new file mode 100644
index 0000000000..6380002259
--- /dev/null
+++ b/libraries/libmatemixer/libmatemixer.info
@@ -0,0 +1,10 @@
+PRGNAM="libmatemixer"
+VERSION="1.28.0"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/libraries/libmatemixer/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/libmatemixer-1.28.0.tar.xz"
+MD5SUM="028324acb24c0ff30a740c435333fece"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/libraries/libmatemixer/slack-desc b/libraries/libmatemixer/slack-desc
new file mode 100644
index 0000000000..b2bbe26f6d
--- /dev/null
+++ b/libraries/libmatemixer/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------------------------------------------------------|
+libmatemixer: libmatemixer (Mixer library for MATE Desktop)
+libmatemixer:
+libmatemixer: libmatemixer is a mixer library for MATE desktop.
+libmatemixer: It provides an abstract API allowing access to mixer functionality
+libmatemixer: available in the PulseAudio, ALSA and OSS sound systems.
+libmatemixer:
+libmatemixer:
+libmatemixer:
+libmatemixer:
+libmatemixer: https://wiki.mate-desktop.org/mate-desktop/libraries/libmatemixer/
+libmatemixer:
diff --git a/libraries/libmateweather/README b/libraries/libmateweather/README
new file mode 100644
index 0000000000..e9ea6c5265
--- /dev/null
+++ b/libraries/libmateweather/README
@@ -0,0 +1,2 @@
+libmateweather is a library to access weather information from online
+services for numerous locations.
diff --git a/libraries/libmateweather/doinst.sh b/libraries/libmateweather/doinst.sh
new file mode 100644
index 0000000000..d6d225b6df
--- /dev/null
+++ b/libraries/libmateweather/doinst.sh
@@ -0,0 +1,11 @@
+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/libraries/libmateweather/libmateweather.SlackBuild b/libraries/libmateweather/libmateweather.SlackBuild
new file mode 100644
index 0000000000..90e6b74f6f
--- /dev/null
+++ b/libraries/libmateweather/libmateweather.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for libmateweather
+
+# Copyright 2013 Chess Griffin Raleigh, NC
+# Copyright 2013-2021 Willy Sudiarto Raharjo
+# Copyright 2023-2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libmateweather
+VERSION=${VERSION:-1.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" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.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 \
+ --disable-static \
+ --enable-shared \
+ --enable-locations-compression \
+ --disable-schemas-compile \
+ --disable-icon-update \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmateweather/libmateweather.info b/libraries/libmateweather/libmateweather.info
new file mode 100644
index 0000000000..2e5af9e2d6
--- /dev/null
+++ b/libraries/libmateweather/libmateweather.info
@@ -0,0 +1,10 @@
+PRGNAM="libmateweather"
+VERSION="1.28.0"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/libraries/libmateweather/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/libmateweather-1.28.0.tar.xz"
+MD5SUM="f42374dc7500ea7be0d8cb5793106b83"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/libraries/libmateweather/slack-desc b/libraries/libmateweather/slack-desc
new file mode 100644
index 0000000000..5b0a568952
--- /dev/null
+++ b/libraries/libmateweather/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------------------------------------------------------|
+libmateweather: libmateweather (fork of libgnomeweather for the MATE desktop)
+libmateweather:
+libmateweather: libmateweather is a library to access weather information from online
+libmateweather: services for numerous locations.
+libmateweather:
+libmateweather:
+libmateweather:
+libmateweather:
+libmateweather:
+libmateweather: https://wiki.mate-desktop.org/mate-desktop/libraries/libmateweather/
+libmateweather:
diff --git a/libraries/libmatheval/libmatheval.SlackBuild b/libraries/libmatheval/libmatheval.SlackBuild
index 7da48c848c..b4bd9ace33 100644
--- a/libraries/libmatheval/libmatheval.SlackBuild
+++ b/libraries/libmatheval/libmatheval.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmatheval
@@ -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=libmatheval
VERSION=${VERSION:-1.1.11}
-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}
@@ -84,6 +94,8 @@ fi
LOCALCONFIGS="--enable-shared"
+GUILE=/usr/bin/guile1.8 \
+GUILE_CONFIG=/usr/bin/guile-config1.8 \
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
./configure \
@@ -107,8 +119,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
install -m 0644 $DOCFILES $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/libraries/libmatheval/libmatheval.info b/libraries/libmatheval/libmatheval.info
index bd41c5abec..21742e7f90 100644
--- a/libraries/libmatheval/libmatheval.info
+++ b/libraries/libmatheval/libmatheval.info
@@ -2,11 +2,11 @@ PRGNAM="libmatheval"
VERSION="1.1.11"
HOMEPAGE="https://www.gnu.org/software/libmatheval/"
DOWNLOAD="http://ftp.gnu.org/gnu/libmatheval/libmatheval-1.1.11.tar.gz \
-https://github.com/easybuilders/easybuild-easyconfigs/raw/master/easybuild/easyconfigs/l/libmatheval/libmatheval-1.1.11_fix-matheval-test.patch"
+http://ponce.cc/slackware/sources/repo/libmatheval-1.1.11_fix-matheval-test.patch"
MD5SUM="595420ea60f6ddd75623847f46ca45c4 \
6f7aacbfcbf85920e0a8b275b05ae794"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="guile1.8"
MAINTAINER="PaulKinsler"
EMAIL="dr.paul@kinsler.org"
diff --git a/libraries/libmatroska/README b/libraries/libmatroska/README
index 86220bd123..d19cd3c6c9 100644
--- a/libraries/libmatroska/README
+++ b/libraries/libmatroska/README
@@ -1,5 +1,2 @@
libmatroska is a C++ libary to parse Matroska files (.mkv and .mka).
Matroska is an audio/video container based on EBML.
-
-Interested parties can build the library with staticlibs by passing
-STATICLIB=yes to the script.
diff --git a/libraries/libmatroska/libmatroska.SlackBuild b/libraries/libmatroska/libmatroska.SlackBuild
index bf81b38847..422fcc2e93 100644
--- a/libraries/libmatroska/libmatroska.SlackBuild
+++ b/libraries/libmatroska/libmatroska.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmatroska
@@ -23,28 +23,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=libmatroska
-VERSION=${VERSION:-1.4.8}
+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=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}
STATICLIB=${STATICLIB:-no}
-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,30 +82,30 @@ 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 \
- --build=$ARCH-slackware-linux \
- --enable-static=${STATICLIB}
+mkdir -p build
+
+cd build
+cmake -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -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 ChangeLog LICENSE.LGPL $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.LGPL NEWS.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/libraries/libmatroska/libmatroska.info b/libraries/libmatroska/libmatroska.info
index 1ab9dd3f9c..5ad2ed9682 100644
--- a/libraries/libmatroska/libmatroska.info
+++ b/libraries/libmatroska/libmatroska.info
@@ -1,8 +1,8 @@
PRGNAM="libmatroska"
-VERSION="1.4.8"
+VERSION="1.7.1"
HOMEPAGE="http://www.bunkus.org/videotools/mkvtoolnix/source.html"
-DOWNLOAD="http://dl.matroska.org/downloads/libmatroska/libmatroska-1.4.8.tar.xz"
-MD5SUM="45ffda84badb4e3da5d8f2535e54d511"
+DOWNLOAD="https://dl.matroska.org/downloads/libmatroska/libmatroska-1.7.1.tar.xz"
+MD5SUM="576ca1b6d2661f328a42192124135e86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libebml"
diff --git a/libraries/libmd/README b/libraries/libmd/README
new file mode 100644
index 0000000000..36606c1d75
--- /dev/null
+++ b/libraries/libmd/README
@@ -0,0 +1,4 @@
+This library provides message digest functions found on BSD systems
+either on their libc (NetBSD, OpenBSD) or libmd (FreeBSD,
+DragonflyBSD, macOS, Solaris) libraries and lacking on others
+like GNU systems.
diff --git a/libraries/libmd/libmd.SlackBuild b/libraries/libmd/libmd.SlackBuild
new file mode 100644
index 0000000000..1141afa9db
--- /dev/null
+++ b/libraries/libmd/libmd.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for libmd
+
+# Copyright 2022-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=libmd
+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.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" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make install-strip DESTDIR=$PKG
+
+rm -rf $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 COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmd/libmd.info b/libraries/libmd/libmd.info
new file mode 100644
index 0000000000..e84bff6b76
--- /dev/null
+++ b/libraries/libmd/libmd.info
@@ -0,0 +1,10 @@
+PRGNAM="libmd"
+VERSION="1.1.0"
+HOMEPAGE="https://www.hadrons.org/software/libmd/"
+DOWNLOAD="https://archive.hadrons.org/software/libmd/libmd-1.1.0.tar.xz"
+MD5SUM="b2a0650c78d92c7a9632a2a3cdd4f6a6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libmd/slack-desc b/libraries/libmd/slack-desc
new file mode 100644
index 0000000000..997989f0d7
--- /dev/null
+++ b/libraries/libmd/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------------------------------------------------------|
+libmd: libmd (Message Digest functions from BSD systems)
+libmd:
+libmd: This library provides message digest functions found on BSD systems
+libmd: either on their libc (NetBSD, OpenBSD) or libmd (FreeBSD,
+libmd: DragonflyBSD, macOS, Solaris) libraries and lacking on others
+libmd: like GNU systems.
+libmd:
+libmd: Homepage: https://www.hadrons.org/software/libmd/
+libmd:
+libmd:
+libmd:
diff --git a/libraries/libmediaart/README b/libraries/libmediaart/README
new file mode 100644
index 0000000000..eceb6b5fb5
--- /dev/null
+++ b/libraries/libmediaart/README
@@ -0,0 +1,2 @@
+Library tasked with managing, extracting and handling media art caches.
+
diff --git a/libraries/libmediaart/libmediaart.SlackBuild b/libraries/libmediaart/libmediaart.SlackBuild
new file mode 100644
index 0000000000..72e312c812
--- /dev/null
+++ b/libraries/libmediaart/libmediaart.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libmediaart
+
+# Copyright 2023, 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=libmediaart
+VERSION=${VERSION:-1.9.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"
+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
+ "${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 \
+ COPYING COPYING.LESSER 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/libraries/libmediaart/libmediaart.info b/libraries/libmediaart/libmediaart.info
new file mode 100644
index 0000000000..97d8b8bb76
--- /dev/null
+++ b/libraries/libmediaart/libmediaart.info
@@ -0,0 +1,10 @@
+PRGNAM="libmediaart"
+VERSION="1.9.6"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libmediaart"
+DOWNLOAD="https://download.gnome.org/sources/libmediaart/1.9/libmediaart-1.9.6.tar.xz"
+MD5SUM="d5f0a14af136de678248132f371c31ad"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/libmediaart/slack-desc b/libraries/libmediaart/slack-desc
new file mode 100644
index 0000000000..a32609d431
--- /dev/null
+++ b/libraries/libmediaart/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------------------------------------------------------|
+libmediaart: libmediaart (Media art extraction library)
+libmediaart:
+libmediaart: libmediaart is a library tasked with managing, extracting, and
+libmediaart: handling media art caches.
+libmediaart:
+libmediaart:
+libmediaart:
+libmediaart:
+libmediaart:
+libmediaart: https://gitlab.gnome.org/GNOME/libmediaart
+libmediaart:
diff --git a/libraries/libmediainfo/README b/libraries/libmediainfo/README
index b21fbacf6d..48209dd690 100644
--- a/libraries/libmediainfo/README
+++ b/libraries/libmediainfo/README
@@ -3,4 +3,4 @@ Library for mediainfo.
This package includes the shared library and the development support
files.
-Optional dependencies: tinyxml2 and libmms
+Optional autodetected dependencies: libmms, graphviz, and tinyxml2
diff --git a/libraries/libmediainfo/libmediainfo.SlackBuild b/libraries/libmediainfo/libmediainfo.SlackBuild
index 2212fe6f85..43ee81aec9 100644
--- a/libraries/libmediainfo/libmediainfo.SlackBuild
+++ b/libraries/libmediainfo/libmediainfo.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmediainfo
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2012-2017 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
-# Copyright 2017-2019 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
@@ -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=libmediainfo
-VERSION=${VERSION:-19.09}
+VERSION=${VERSION:-24.04}
SRCNAM=MediaInfoLib
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}
@@ -75,9 +85,10 @@ find -L . \
# We do not want to use the builtin libzen
patch -p1 < $CWD/remove-internal-libzen-support.patch
-# Autodetect tinyxml2 and libmms
-if pkg-config --exists tinyxml2 ; then tinyxml2="--with-libtinyxml2" ; else tinyxml2="" ; fi
+# Autodetect graphviz, libmms, and tinyxml2
+if pkg-config --exists libgvc ; then graphviz="--with-graphviz" ; else graphviz="--without-grapviz" ; fi
if pkg-config --exists libmms ; then libmms="--with-libmms" ; else libmms="--without-libmms" ; fi
+if pkg-config --exists tinyxml2 ; then tinyxml2="--with-libtinyxml2" ; else tinyxml2="" ; fi
cd Project/GNU/Library
./autogen.sh
@@ -99,6 +110,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-libcurl \
$tinyxml2 \
$libmms \
+ $graphviz \
--build=$ARCH-slackware-linux
make
@@ -121,8 +133,10 @@ cp -a *.{txt,html} Doc/ Source/Doc/Documentation.html $PKG/usr/doc/$PRGNAM-$VERS
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+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/libraries/libmediainfo/libmediainfo.info b/libraries/libmediainfo/libmediainfo.info
index 0361c4f9af..8d706d01a0 100644
--- a/libraries/libmediainfo/libmediainfo.info
+++ b/libraries/libmediainfo/libmediainfo.info
@@ -1,8 +1,8 @@
PRGNAM="libmediainfo"
-VERSION="19.09"
+VERSION="24.04"
HOMEPAGE="https://mediaarea.net/MediaInfo"
-DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v19.09/MediaInfoLib-19.09.tar.gz"
-MD5SUM="5d24b2fcc3c551e070b5dd6192424a4b"
+DOWNLOAD="https://github.com/MediaArea/MediaInfoLib/archive/v24.04/MediaInfoLib-24.04.tar.gz"
+MD5SUM="f9e82666260756031b0f2d3244971e50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libzen"
diff --git a/libraries/libmemcached/libmemcached.SlackBuild b/libraries/libmemcached/libmemcached.SlackBuild
index 3cc3e35ca1..91bb61462c 100644
--- a/libraries/libmemcached/libmemcached.SlackBuild
+++ b/libraries/libmemcached/libmemcached.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for libmemcached
# Home Page http://libmemcached.org/libMemcached.html
@@ -29,26 +29,36 @@
# pthread linking patch and added following configure switches
# --enable-libmemcachedprotocol --enable-memaslap --enable-dtrace
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="libmemcached"
VERSION=${VERSION:-1.0.18}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 @@ export PATH="/usr/libexec:$PATH"
# Fix bug: https://bugzilla.redhat.com/show_bug.cgi?id=1037707
patch -p1 < $CWD/patches/libmemcached-fix-linking-with-libpthread.patch
+# https://bugs.launchpad.net/libmemcached/+bug/1663985 + fix for gcc >= 10.x
+patch -p1 < $CWD/patches/libmemcached-build.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -109,8 +121,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmemcached/patches/libmemcached-build.patch b/libraries/libmemcached/patches/libmemcached-build.patch
new file mode 100644
index 0000000000..fcbe2fe31a
--- /dev/null
+++ b/libraries/libmemcached/patches/libmemcached-build.patch
@@ -0,0 +1,60 @@
+diff -up ./clients/memflush.cc.old ./clients/memflush.cc
+--- ./clients/memflush.cc.old 2017-02-12 10:12:59.615209225 +0100
++++ ./clients/memflush.cc 2017-02-12 10:13:39.998382783 +0100
+@@ -39,7 +39,7 @@ int main(int argc, char *argv[])
+ {
+ options_parse(argc, argv);
+
+- if (opt_servers == false)
++ if (!opt_servers)
+ {
+ char *temp;
+
+@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
+ opt_servers= strdup(temp);
+ }
+
+- if (opt_servers == false)
++ if (!opt_servers)
+ {
+ std::cerr << "No Servers provided" << std::endl;
+ exit(EXIT_FAILURE);
+diff -up ./clients/memaslap.c.old ./clients/memaslap.c
+--- ./clients/memaslap.c.old 2020-02-04 14:11:45.029205068 +0100
++++ ./clients/memaslap.c 2020-02-04 14:12:05.409115227 +0100
+@@ -32,6 +32,15 @@
+ #include "ms_setting.h"
+ #include "ms_thread.h"
+
++/* global structure */
++ms_global_t ms_global;
++
++/* global stats information structure */
++ms_stats_t ms_stats;
++
++/* global statistic structure */
++ms_statistic_t ms_statistic;
++
+ #define PROGRAM_NAME "memslap"
+ #define PROGRAM_DESCRIPTION \
+ "Generates workload against memcached servers."
+diff -up ./clients/ms_memslap.h.old ./clients/ms_memslap.h
+--- ./clients/ms_memslap.h.old 2020-02-04 14:11:50.072182835 +0100
++++ ./clients/ms_memslap.h 2020-02-04 14:12:13.268080586 +0100
+@@ -117,13 +117,13 @@ typedef struct global
+ } ms_global_t;
+
+ /* global structure */
+-ms_global_t ms_global;
++extern ms_global_t ms_global;
+
+ /* global stats information structure */
+-ms_stats_t ms_stats;
++extern ms_stats_t ms_stats;
+
+ /* global statistic structure */
+-ms_statistic_t ms_statistic;
++extern ms_statistic_t ms_statistic;
+
+ #ifdef __cplusplus
+ }
diff --git a/libraries/libmicrohttpd/README b/libraries/libmicrohttpd/README
index 671f627350..b8350d177e 100644
--- a/libraries/libmicrohttpd/README
+++ b/libraries/libmicrohttpd/README
@@ -1,7 +1,7 @@
-GNU libmicrohttpd is a small C library that is supposed to make it easy to run
-an HTTP server as part of another application. GNU libmicrohttpd is free
-software and part of the GNU project. Key features that distinguish
-libmicrohttpd from other projects are:
+GNU libmicrohttpd is a small C library that is supposed to make
+it easy to run an HTTP server as part of another application. GNU
+libmicrohttpd is free software and part of the GNU project. Key
+features that distinguish libmicrohttpd from other projects are:
* C library: fast and small
* API is simple, expressive and fully reentrant
@@ -11,17 +11,18 @@ libmicrohttpd from other projects are:
* Support for incremental processing of POST data
* Creates binary of only 30k (without TLS/SSL support)
* Three different threading models
-* Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32,
- Symbian and z/OS
+* Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD,
+ OS X, W32, Symbian and z/OS
* Optional support for SSL3 and TLS (requires libgcrypt)
-libmicrohttpd was started because the author needed an easy way to add a
-concurrent HTTP server to other projects. Existing alternatives were either
-non-free, not reentrant, standalone, of terrible code quality or a combination
-thereof. Do not use libmicrohttpd if you are looking for a standalone http
-server, there are many other projects out there that provide that kind of
-functionality already. However, if you want to be able to serve simple WWW
-pages from within your C or C++ application, check it out.
+libmicrohttpd was started because the author needed an easy way to add
+a concurrent HTTP server to other projects. Existing alternatives were
+either non-free, not reentrant, standalone, of terrible code quality
+or a combination thereof. Do not use libmicrohttpd if you are looking
+for a standalone http server, there are many other projects out there
+that provide that kind of functionality already. However, if you
+want to be able to serve simple WWW pages from within your C or C++
+application, check it out.
libmicrohttpd is licensed under the GNU LGPL. If you disable HTTPS/SSL
support, you can also choose the second license, the eCos License.
diff --git a/libraries/libmicrohttpd/doinst.sh b/libraries/libmicrohttpd/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/libraries/libmicrohttpd/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/libraries/libmicrohttpd/libmicrohttpd.SlackBuild b/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
index 668f5f9234..27bcb9db75 100644
--- a/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
+++ b/libraries/libmicrohttpd/libmicrohttpd.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmicrohttpd.
#
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2015,2017 Kent Fritz <fritz.kent@gmail.com>
+# Copyright 2015,2017,2020 Kent Fritz <fritz.kent@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,18 @@
# 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:
+# - move .png file out of /usr/info.
+# - add doinst.sh to handle /usr/info/dir.
+# - rm generic INSTALL instructions from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmicrohttpd
-VERSION=${VERSION:-0.9.55}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.9.75}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,12 +44,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 README"
+DOCS="AUTHORS COPYING ChangeLog README"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -69,9 +81,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 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -86,22 +98,28 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip 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 {} \;
+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 $DOCS $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 $DOCS $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+# 20230630 bkw: this is documentation, but not an .info file, put in the
+# main doc dir.
+mv $PKG/usr/info/*.png $PKGDOC
+
+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/libraries/libmicrohttpd/libmicrohttpd.info b/libraries/libmicrohttpd/libmicrohttpd.info
index 1d20cf833e..0524711ffa 100644
--- a/libraries/libmicrohttpd/libmicrohttpd.info
+++ b/libraries/libmicrohttpd/libmicrohttpd.info
@@ -1,8 +1,8 @@
PRGNAM="libmicrohttpd"
-VERSION="0.9.55"
+VERSION="0.9.75"
HOMEPAGE="http://www.gnu.org/software/libmicrohttpd/"
-DOWNLOAD="http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.55.tar.gz"
-MD5SUM="1c20f84a8b9cf692dd50b558b3571a3a"
+DOWNLOAD="http://ftpmirror.gnu.org/libmicrohttpd/libmicrohttpd-0.9.75.tar.gz"
+MD5SUM="aff64581937b53f3a23b05216ad2cd02"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libmigdb/libmigdb.SlackBuild b/libraries/libmigdb/libmigdb.SlackBuild
index 00f56de342..02b3d0f605 100644
--- a/libraries/libmigdb/libmigdb.SlackBuild
+++ b/libraries/libmigdb/libmigdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmigdb
@@ -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=libmigdb
VERSION=${VERSION:-0.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -63,6 +73,12 @@ cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 CFLAGS="$SLKCFLAGS -gstabs+3" CXXFLAGS="$SLKCFLAGS -gstabs+3"
@@ -82,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/libraries/libmikmod/libmikmod.SlackBuild b/libraries/libmikmod/libmikmod.SlackBuild
index 8e1627dcd0..264119fb10 100644
--- a/libraries/libmikmod/libmikmod.SlackBuild
+++ b/libraries/libmikmod/libmikmod.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmikmod
@@ -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=libmikmod
VERSION=${VERSION:-3.3.11.1}
-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}
@@ -99,8 +109,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmimedir/libmimedir.SlackBuild b/libraries/libmimedir/libmimedir.SlackBuild
index 83daab2659..d4ffddcd80 100644
--- a/libraries/libmimedir/libmimedir.SlackBuild
+++ b/libraries/libmimedir/libmimedir.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmimedir
# Written by redtricycle (redtricycle@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmimedir
VERSION=${VERSION:-0.5.1}
-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"
@@ -73,8 +83,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmimic/README b/libraries/libmimic/README
index f35a4c05ee..35e269f6da 100644
--- a/libraries/libmimic/README
+++ b/libraries/libmimic/README
@@ -1,3 +1,3 @@
-libmimic is an open source video encoding/decoding library for Mimic V2.x-
-encoded content (fourCC: ML20), which is the encoding used by MSN Messenger
-for webcam conversations.
+libmimic is an open source video encoding/decoding library for Mimic
+V2.x- encoded content (fourCC: ML20), which is the encoding used by
+MSN Messenger for webcam conversations.
diff --git a/libraries/libmimic/libmimic.SlackBuild b/libraries/libmimic/libmimic.SlackBuild
index 6c67b286d9..b60c8778aa 100644
--- a/libraries/libmimic/libmimic.SlackBuild
+++ b/libraries/libmimic/libmimic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmimic
@@ -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.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty/useless docs.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libmimic
VERSION=${VERSION:-1.0.4}
-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"
@@ -66,9 +76,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" \
@@ -80,19 +90,18 @@ CXXFLAGS="$SLKCFLAGS" \
--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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ 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/libraries/libminizip/libminizip.SlackBuild b/libraries/libminizip/libminizip.SlackBuild
index 6ea2db4bd7..cc807d482c 100644
--- a/libraries/libminizip/libminizip.SlackBuild
+++ b/libraries/libminizip/libminizip.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for minizip
# Copyright 2013 Daniil Bratashov <dn2010@gmail.com>
+# Copyright 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=libminizip
-VERSION=${VERSION:-1.2.11}
+VERSION=${VERSION:-1.2.13}
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}
@@ -90,6 +98,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
@@ -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/libraries/libminizip/libminizip.info b/libraries/libminizip/libminizip.info
index 2acee3c80f..aa3b02071c 100644
--- a/libraries/libminizip/libminizip.info
+++ b/libraries/libminizip/libminizip.info
@@ -1,10 +1,10 @@
PRGNAM="libminizip"
-VERSION="1.2.11"
-HOMEPAGE="http://www.winimage.com/zLibDll/minizip.html"
-DOWNLOAD="http://downloads.sourceforge.net/libpng/zlib-1.2.11.tar.xz"
-MD5SUM="85adef240c5f370b308da8c938951a68"
+VERSION="1.2.13"
+HOMEPAGE="http://www.zlib.net"
+DOWNLOAD="https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.xz"
+MD5SUM="7d9fc1d78ae2fa3e84fe98b77d006c63"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Daniil Bratashov"
-EMAIL="dn2010@gmail.com"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/libmirage/libmirage.SlackBuild b/libraries/libmirage/libmirage.SlackBuild
index 74e0ab5f14..eebb485e94 100644
--- a/libraries/libmirage/libmirage.SlackBuild
+++ b/libraries/libmirage/libmirage.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmirage
#
# Copyright 2008 Niklas "Nille" Åkerström
# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil <niels.horn@gmail.com>
-# Copyright 2018-2020 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2018-2024 Isaac Yu <isaacyu@protonmail.com>
# 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=libmirage
-VERSION=${VERSION:-3.2.4}
+VERSION=${VERSION:-3.2.7}
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}
@@ -62,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.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -97,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/libraries/libmirage/libmirage.info b/libraries/libmirage/libmirage.info
index ca2ae4928d..ec45b0ee2f 100644
--- a/libraries/libmirage/libmirage.info
+++ b/libraries/libmirage/libmirage.info
@@ -1,10 +1,10 @@
PRGNAM="libmirage"
-VERSION="3.2.4"
+VERSION="3.2.7"
HOMEPAGE="https://cdemu.sourceforge.io/about/libmirage/"
-DOWNLOAD="https://downloads.sourceforge.net/cdemu/libmirage-3.2.4.tar.bz2"
-MD5SUM="2be48cbe97ecfd886471038b6c2c3bf2"
+DOWNLOAD="https://downloads.sourceforge.net/cdemu/libmirage-3.2.7.tar.xz"
+MD5SUM="1b8c7e4de0aa117c8c4e01ef846f94fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/libmms/libmms.SlackBuild b/libraries/libmms/libmms.SlackBuild
index 5eae75230d..99ffdc9e84 100644
--- a/libraries/libmms/libmms.SlackBuild
+++ b/libraries/libmms/libmms.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmms
-# Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,37 +11,49 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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.
+
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix doc permissions.
+# - remove empty/useless docs.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libmms
VERSION=${VERSION:-0.6.4}
-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"
@@ -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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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" \
@@ -82,8 +94,12 @@ CXXFLAGS="$SLKCFLAGS" \
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 AUTHORS ChangeLog COPYING.LIB INSTALL NEWS README* \
+install -m0644 AUTHORS ChangeLog COPYING.LIB README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -91,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/libraries/libmms/libmms.info b/libraries/libmms/libmms.info
index 2970bc242d..6eb9b912a7 100644
--- a/libraries/libmms/libmms.info
+++ b/libraries/libmms/libmms.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libmodbus/libmodbus.SlackBuild b/libraries/libmodbus/libmodbus.SlackBuild
index d58e6f5430..eb4cbfb3f1 100644
--- a/libraries/libmodbus/libmodbus.SlackBuild
+++ b/libraries/libmodbus/libmodbus.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmodbus
@@ -22,10 +22,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmodbus
VERSION=${VERSION:-3.0.6}
-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}
@@ -87,8 +97,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* MIGRATION 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmodi/README b/libraries/libmodi/README
new file mode 100644
index 0000000000..994c2ee585
--- /dev/null
+++ b/libraries/libmodi/README
@@ -0,0 +1,35 @@
+libmodi is a library to access the Mac OS disk image formats.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+Supported Mac OS image formats:
+
+* Sparse bundle disk image
+* Sparse disk image
+* Universal Disk Image Format (UDIF) image
+* uncompressed
+* ADC compressed
+* bzip2 compressed
+* LZMA compressed
+* zlib/DEFLATE compressed
+
+Unsupported Mac OS image formats:
+
+* encrypted images
+* Disk Copy format(s)
+* New Disk Image Format (NDIF)
+* Universal Disk Image Format (UDIF) image
+* multi-segment
+* LZFSE compressed
+
+Work in progress:
+
+* Finish library
+* Finish Python bindings
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libmodi/wiki/Home
diff --git a/libraries/libmodi/libmodi.SlackBuild b/libraries/libmodi/libmodi.SlackBuild
new file mode 100644
index 0000000000..4d09d3e2e0
--- /dev/null
+++ b/libraries/libmodi/libmodi.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libmodi
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Updated for version: v20221023 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libmodi
+VERSION=${VERSION:-20221023}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libmodi/libmodi.info b/libraries/libmodi/libmodi.info
new file mode 100644
index 0000000000..2bd0825e49
--- /dev/null
+++ b/libraries/libmodi/libmodi.info
@@ -0,0 +1,10 @@
+PRGNAM="libmodi"
+VERSION="20221023"
+HOMEPAGE="https://github.com/libyal/libmodi"
+DOWNLOAD="https://linuxleo.com/Source/libmodi-experimental-20221023.tar.gz"
+MD5SUM="bde585f336608f49e2a2c47f84b2ca46"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libmodi/slack-desc b/libraries/libmodi/slack-desc
new file mode 100644
index 0000000000..4c098ddf18
--- /dev/null
+++ b/libraries/libmodi/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------------------------------------------------------|
+libmodi: libmodi (libYAL MacOS disk image formats library)
+libmodi:
+libmodi:
+libmodi: Library to access to access the Mac OS disk image formats.
+libmodi:
+libmodi:
+libmodi: Homepage: https://github.com/libyal/libmodi
+libmodi:
+libmodi:
+libmodi:
+libmodi:
diff --git a/libraries/libmodplug/libmodplug.SlackBuild b/libraries/libmodplug/libmodplug.SlackBuild
index 0f2fbdd3d5..c32217898b 100644
--- a/libraries/libmodplug/libmodplug.SlackBuild
+++ b/libraries/libmodplug/libmodplug.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmodplug
@@ -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=libmodplug
VERSION=${VERSION:-0.8.9.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}
@@ -102,8 +112,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmp3splt/README b/libraries/libmp3splt/README
index cbc45ad90f..e70ccd1d69 100644
--- a/libraries/libmp3splt/README
+++ b/libraries/libmp3splt/README
@@ -1,13 +1,16 @@
-Mp3Splt-project is a utility to split mp3 and ogg files selecting a begin
-and an end time position, without decoding. It's very useful to split
-large mp3/ogg to make smaller files or to split entire albums to obtain
-original tracks. If you want to split an album, you can select split
-points and filenames manually or you can get them automatically from CDDB
-(internet or a local file) or from .cue files. Supports also automatic
-silence split, that can be used also to adjust cddb/cue splitpoints. You
-can extract tracks from Mp3Wrap or AlbumWrap files in few seconds.
+libmp3splt (library from the mp3splt project)
-Mp3splt-project is divided in 3 parts (all available from SlackBuilds.org):
+The mp3splt project is a utility to split mp3 and ogg files, selecting
+a begin and an end time position, without decoding. It's very useful
+to split large mp3/ogg to make smaller files or to split entire
+albums to obtain original tracks. If you want to split an album,
+you can select split points and filenames manually or you can get
+them automatically from CDDB (internet or a local file) or from .cue
+files. Supports also automatic silence split, that can be used also
+to adjust cddb/cue splitpoints. You can extract tracks from Mp3Wrap or
+AlbumWrap files in few seconds.
+
+The mp3splt project is divided into 3 parts (all available from SBo):
- libmp3splt, a library (created from mp3splt version 2.1c)
- mp3splt, a command line program
- mp3splt-gtk, a gtk2 gui
diff --git a/libraries/libmp3splt/libmp3splt.SlackBuild b/libraries/libmp3splt/libmp3splt.SlackBuild
index 02a5710685..cd9cd3939a 100644
--- a/libraries/libmp3splt/libmp3splt.SlackBuild
+++ b/libraries/libmp3splt/libmp3splt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmp3splt
@@ -22,19 +22,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20211121 bkw: BUILD=2, remove .la files
+# 20150107 bkw: Updated for 0.9.2
# 20140819 bkw:
# - Updated for 0.9.1a
# - Include doc/examples in package
# - Get rid of a couple useless doc files
# - Use make install-strip insteaad of find/xargs/strip
-# 20150107 bkw:
-# - Updated for 0.9.2
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libmp3splt
VERSION=${VERSION:-0.9.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,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,6 +71,11 @@ fi
set -e
+# 20230110 bkw: this build fails if VERSION is set in the environment.
+# Apparently slapt-src always exports VERSION, so slint users had
+# problems.
+export -n VERSION
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -72,11 +83,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" \
@@ -90,6 +98,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/{*,*/*}.la
+
# leave off TODO, it's 0 bytes. also INSTALL is irrelevant.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING LIMITS NEWS README doc/examples \
@@ -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/libraries/libmp3splt/libmp3splt.info b/libraries/libmp3splt/libmp3splt.info
index 99b299bd45..e7e6f0f201 100644
--- a/libraries/libmp3splt/libmp3splt.info
+++ b/libraries/libmp3splt/libmp3splt.info
@@ -1,10 +1,10 @@
PRGNAM="libmp3splt"
VERSION="0.9.2"
HOMEPAGE="http://mp3splt.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mp3splt/libmp3splt-0.9.2.tar.gz"
+DOWNLOAD="https://downloads.sourceforge.net/mp3splt/libmp3splt-0.9.2.tar.gz"
MD5SUM="28009187c1cbd0bce50138029532647d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libmp4v2/libmp4v2-2.0.0-unsigned-int-cast.patch b/libraries/libmp4v2/libmp4v2-2.0.0-unsigned-int-cast.patch
new file mode 100644
index 0000000000..25830bc596
--- /dev/null
+++ b/libraries/libmp4v2/libmp4v2-2.0.0-unsigned-int-cast.patch
@@ -0,0 +1,96 @@
+From a5ca35b044bbf13c0b16f0066bf24646604bb218 Mon Sep 17 00:00:00 2001
+From: "Jason A. Donenfeld" <Jason@zx2c4.com>
+Date: Thu, 6 Aug 2020 15:22:04 +0200
+Subject: [PATCH] Static cast to unsigned int for cases
+
+Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
+---
+ libutil/Utility.cpp | 2 +-
+ util/mp4art.cpp | 2 +-
+ util/mp4chaps.cpp | 2 +-
+ util/mp4file.cpp | 2 +-
+ util/mp4subtitle.cpp | 2 +-
+ util/mp4track.cpp | 2 +-
+ 6 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/libutil/Utility.cpp b/libutil/Utility.cpp
+index 76cdd12..d6739d4 100644
+--- a/libutil/Utility.cpp
++++ b/libutil/Utility.cpp
+@@ -493,7 +493,7 @@ Utility::process_impl()
+ if( codes.find( code ) == codes.end() )
+ continue;
+
+- switch( code ) {
++ switch( static_cast<unsigned int>( code ) ) {
+ case 'z':
+ _optimize = true;
+ break;
+diff --git a/util/mp4art.cpp b/util/mp4art.cpp
+index add935e..6e7f531 100644
+--- a/util/mp4art.cpp
++++ b/util/mp4art.cpp
+@@ -376,7 +376,7 @@ ArtUtility::utility_option( int code, bool& handled )
+ {
+ handled = true;
+
+- switch( code ) {
++ switch( static_cast<unsigned int> ( code ) ) {
+ case LC_ART_ANY:
+ _artFilter = numeric_limits<uint32_t>::max();
+ break;
+diff --git a/util/mp4chaps.cpp b/util/mp4chaps.cpp
+index 98400f8..ccc8b70 100644
+--- a/util/mp4chaps.cpp
++++ b/util/mp4chaps.cpp
+@@ -632,7 +632,7 @@ ChapterUtility::utility_option( int code, bool& handled )
+ {
+ handled = true;
+
+- switch( code ) {
++ switch( static_cast<unsigned int> ( code ) ) {
+ case 'A':
+ case LC_CHPT_ANY:
+ _ChapterType = MP4ChapterTypeAny;
+diff --git a/util/mp4file.cpp b/util/mp4file.cpp
+index c27844b..b127cd1 100644
+--- a/util/mp4file.cpp
++++ b/util/mp4file.cpp
+@@ -189,7 +189,7 @@ FileUtility::utility_option( int code, bool& handled )
+ {
+ handled = true;
+
+- switch( code ) {
++ switch( static_cast<unsigned int>( code ) ) {
+ case LC_LIST:
+ _action = &FileUtility::actionList;
+ break;
+diff --git a/util/mp4subtitle.cpp b/util/mp4subtitle.cpp
+index 7462153..19d977d 100644
+--- a/util/mp4subtitle.cpp
++++ b/util/mp4subtitle.cpp
+@@ -164,7 +164,7 @@ SubtitleUtility::utility_option( int code, bool& handled )
+ {
+ handled = true;
+
+- switch( code ) {
++ switch( static_cast<unsigned int>( code ) ) {
+ case LC_LIST:
+ _action = &SubtitleUtility::actionList;
+ break;
+diff --git a/util/mp4track.cpp b/util/mp4track.cpp
+index d550506..cd63d7e 100644
+--- a/util/mp4track.cpp
++++ b/util/mp4track.cpp
+@@ -788,7 +788,7 @@ TrackUtility::utility_option( int code, bool& handled )
+ {
+ handled = true;
+
+- switch( code ) {
++ switch( static_cast<unsigned int>( code ) ) {
+ case LC_TRACK_WILDCARD:
+ _trackMode = TM_WILDCARD;
+ break;
+--
+2.28.0
+
diff --git a/libraries/libmp4v2/libmp4v2.SlackBuild b/libraries/libmp4v2/libmp4v2.SlackBuild
index a7e1eb8c40..f1606af79e 100644
--- a/libraries/libmp4v2/libmp4v2.SlackBuild
+++ b/libraries/libmp4v2/libmp4v2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmp4v2
@@ -34,10 +34,13 @@
# Modified by the SlackBuilds.org Project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmp4v2
VERSION=${VERSION:-20191108_9084868}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -47,7 +50,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,6 +91,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 {} \;
+# Fix gcc 'narrowing errors":
+patch -p1 < "$CWD/libmp4v2_gcc_narrowing.patch" || exit 1
+
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
@@ -107,8 +120,10 @@ find $PKG/usr/doc/$PRGNAM-$VERSION -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 -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/libraries/libmp4v2/libmp4v2_gcc_narrowing.patch b/libraries/libmp4v2/libmp4v2_gcc_narrowing.patch
new file mode 100644
index 0000000000..7c3bf692d3
--- /dev/null
+++ b/libraries/libmp4v2/libmp4v2_gcc_narrowing.patch
@@ -0,0 +1,20 @@
+#
+# libmp4v2_narrowing.patch
+#
+# Reduce LC_NONE by a power of 2 to prevent LongCode promotion to unsigned int
+# causing "narrowing" errors in recent GCC. The value is still sufficiently high
+# as not to clash with any character values.
+#
+
+diff -Nurp libmp4v2-20191108_9084868.orig/libutil/Utility.h libmp4v2-20191108_9084868/libutil/Utility.h
+--- libmp4v2-20191108_9084868.orig/libutil/Utility.h 2019-11-08 02:03:40.000000000 +0000
++++ libmp4v2-20191108_9084868/libutil/Utility.h 2021-08-19 23:40:34.724030480 +0100
+@@ -52,7 +52,7 @@ class MP4V2_EXPORT Utility
+ {
+ protected:
+ enum LongCode {
+- LC_NONE = 0xf0000000, // safe (cannot conflict with char values)
++ LC_NONE = 0x0f000000, // safe (cannot conflict with char values)
+ LC_DEBUG,
+ LC_VERBOSE,
+ LC_HELP,
diff --git a/libraries/libmpd/libmpd.SlackBuild b/libraries/libmpd/libmpd.SlackBuild
index 571295649f..52064d9cc1 100644
--- a/libraries/libmpd/libmpd.SlackBuild
+++ b/libraries/libmpd/libmpd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmpd
# Copyright 2014, Dhaby Xiloj, Guatemala C. A.
@@ -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=libmpd
VERSION=${VERSION:-11.8.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -96,8 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a 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/libraries/libmpdclient/README b/libraries/libmpdclient/README
index e99a7cd30a..fed9dde19a 100644
--- a/libraries/libmpdclient/README
+++ b/libraries/libmpdclient/README
@@ -1,2 +1,2 @@
-libmpdclient is a stable, documented, asynchronous API library for interfacing
-MPD in the C, C++, and Objective C languages.
+libmpdclient is a stable, documented, asynchronous API library for
+interfacing MPD in the C, C++, and Objective C languages.
diff --git a/libraries/libmpdclient/libmpdclient.SlackBuild b/libraries/libmpdclient/libmpdclient.SlackBuild
index a98de9050f..62ad83ada0 100644
--- a/libraries/libmpdclient/libmpdclient.SlackBuild
+++ b/libraries/libmpdclient/libmpdclient.SlackBuild
@@ -1,28 +1,54 @@
-#!/bin/sh
+#!/bin/bash
-# slackware build script for libmpdclient
-# Written Evandro Alves Rodrigues evandrofisico@gmail.com
+# Slackware build script for libmpdclient
+
+# Copyright 2022-2024 Eugene M., <damagedone at gmx 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=libmpdclient
-VERSION=${VERSION:-2.9}
+VERSION=${VERSION:-2.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -50,30 +76,34 @@ 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
+mkdir -p build && cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=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
-cp -a AUTHORS INSTALL NEWS $PKG/usr/doc/$PRGNAM
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM/$PRGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/share/doc/libmpdclient/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmpdclient/libmpdclient.info b/libraries/libmpdclient/libmpdclient.info
index 98d7242f2b..bf9eb9cfb5 100644
--- a/libraries/libmpdclient/libmpdclient.info
+++ b/libraries/libmpdclient/libmpdclient.info
@@ -1,10 +1,10 @@
PRGNAM="libmpdclient"
-VERSION="2.9"
+VERSION="2.22"
HOMEPAGE="https://www.musicpd.org/doc/libmpdclient/"
-DOWNLOAD="https://www.musicpd.org/download/libmpdclient/2/libmpdclient-2.9.tar.xz"
-MD5SUM="4b101a36e5c0cf967dc063391260ddbf"
+DOWNLOAD="https://www.musicpd.org/download/libmpdclient/2/libmpdclient-2.22.tar.xz"
+MD5SUM="3c9ddd62e1c97f5530733acf6b7bde9f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Evandro Alves Rodrigues"
-EMAIL="evandrofisico@gmail.com"
+MAINTAINER="Eugene M."
+EMAIL="damagedone@gmx.com"
diff --git a/libraries/libmpeg2/libmpeg2.SlackBuild b/libraries/libmpeg2/libmpeg2.SlackBuild
index 3fe6c7e6d2..c200a37840 100644
--- a/libraries/libmpeg2/libmpeg2.SlackBuild
+++ b/libraries/libmpeg2/libmpeg2.SlackBuild
@@ -1,47 +1,58 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmpeg2
# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com>
-# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 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.
+# 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.
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libmpeg2
VERSION=${VERSION:-0.5.1}
-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"
@@ -82,6 +93,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la/.a files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.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
@@ -97,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/libraries/libmpeg2/libmpeg2.info b/libraries/libmpeg2/libmpeg2.info
index 5fdf507352..a4a99548f8 100644
--- a/libraries/libmpeg2/libmpeg2.info
+++ b/libraries/libmpeg2/libmpeg2.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libmrss/libmrss.SlackBuild b/libraries/libmrss/libmrss.SlackBuild
index 56f5a3e71d..d3d3d19a3d 100644
--- a/libraries/libmrss/libmrss.SlackBuild
+++ b/libraries/libmrss/libmrss.SlackBuild
@@ -1,29 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmrss
# Written by e20100633 <e20100633@inbox.lv>
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip shared library.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmrss
VERSION=${VERSION:-0.19.2}
-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"
@@ -47,9 +58,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 {} \+
# Fix a bug with a patch from debian
patch -p1 < $CWD/atom-link.diff
@@ -66,14 +77,16 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
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
+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 -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/libraries/libmrss/libmrss.info b/libraries/libmrss/libmrss.info
index 63f054ec2b..b26195ac28 100644
--- a/libraries/libmrss/libmrss.info
+++ b/libraries/libmrss/libmrss.info
@@ -1,7 +1,7 @@
PRGNAM="libmrss"
VERSION="0.19.2"
-HOMEPAGE="http://www2.autistici.org/bakunin/codes.php"
-DOWNLOAD="http://www2.autistici.org/bakunin/libmrss/libmrss-0.19.2.tar.gz"
+HOMEPAGE="https://www.autistici.org/bakunin/codes.php"
+DOWNLOAD="https://www.autistici.org/bakunin/libmrss/libmrss-0.19.2.tar.gz"
MD5SUM="a6f66b72898d27270e3a68007f90d62b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libmseed/README b/libraries/libmseed/README
index c88a649b88..505c155c10 100644
--- a/libraries/libmseed/README
+++ b/libraries/libmseed/README
@@ -1,9 +1,11 @@
libmseed (C library framework for manipulating SEED data records)
-The Mini-SEED library provides a framework for manipulation of SEED
-data records including the unpacking and packing of data records.
-Functionality is also included for managing waveform data as continuous
-traces.
+The miniSEED library provides a framework for manipulation of SEED
+data records, a format commonly used for seismological time series
+and related data.
-The library should work in Linux, BSD (and derivatives like macOS),
-Solaris and Win32 environments.
+The library includes the functionality to read and write data records,
+in addition to reconstructing time series from multiple records.
+
+The library should work in Unix-like, Windows and potentially other
+environments.
diff --git a/libraries/libmseed/libmseed.SlackBuild b/libraries/libmseed/libmseed.SlackBuild
index 84fa697fd9..1ad49477c2 100644
--- a/libraries/libmseed/libmseed.SlackBuild
+++ b/libraries/libmseed/libmseed.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmseed
@@ -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=libmseed
-VERSION=${VERSION:-2.19.6}
+VERSION=${VERSION:-3.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}
@@ -74,15 +84,11 @@ make shared \
make install \
PREFIX=$PKG/usr \
LIBDIR=$PKG/usr/lib${LIBDIRSUFFIX} \
- MANDIR=$PKG/usr/man \
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog INSTALL.md README.md README.byteorder $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -91,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/libraries/libmseed/libmseed.info b/libraries/libmseed/libmseed.info
index 38cdfa8aa9..2e628c2539 100644
--- a/libraries/libmseed/libmseed.info
+++ b/libraries/libmseed/libmseed.info
@@ -1,8 +1,8 @@
PRGNAM="libmseed"
-VERSION="2.19.6"
-HOMEPAGE="https://github.com/iris-edu/libmseed"
-DOWNLOAD="https://github.com/iris-edu/libmseed/archive/v2.19.6/libmseed-2.19.6.tar.gz"
-MD5SUM="b40f7c52301ceb614ed9f1c3212353ec"
+VERSION="3.1.1"
+HOMEPAGE="https://github.com/EarthScope/libmseed"
+DOWNLOAD="https://github.com/EarthScope/libmseed/archive/v3.1.1/libmseed-3.1.1.tar.gz"
+MD5SUM="a56b9fa52638d656eece85db8417642a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libmseed/slack-desc b/libraries/libmseed/slack-desc
index f1d2cafcc0..f1244bb7d8 100644
--- a/libraries/libmseed/slack-desc
+++ b/libraries/libmseed/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
libmseed: libmseed (C library framework for manipulating SEED data records)
libmseed:
-libmseed: libmseed is a C library framework for manipulating and managing
-libmseed: SEED data records. The library should work in Linux, BSD (and
-libmseed: derivatives like macOS), Solaris and Win32 environments.
+libmseed: libmseed is a C library framework for manipulation of SEED data
+libmseed: records. The library should work in Unix-like, Windows and
+libmseed: potentially other environments.
libmseed:
-libmseed: Homepage: https://github.com/iris-edu/libmseed
+libmseed: Homepage: https://github.com/EarthScope/libmseed
libmseed:
libmseed:
libmseed:
diff --git a/libraries/libmsiecf/README b/libraries/libmsiecf/README
index 31e0dd1245..b00420b7f9 100644
--- a/libraries/libmsiecf/README
+++ b/libraries/libmsiecf/README
@@ -1,4 +1,4 @@
libmsiecf (libYAL MSIE Cache library)
-Library and tools to access the Microsoft Internet Explorer (MSIE) Cache File
-(index.dat) files.
+Library and tools to access the Microsoft Internet Explorer (MSIE)
+Cache File (index.dat) files.
diff --git a/libraries/libmsiecf/libmsiecf.SlackBuild b/libraries/libmsiecf/libmsiecf.SlackBuild
index 06fa5c3d35..4e55e01ac0 100644
--- a/libraries/libmsiecf/libmsiecf.SlackBuild
+++ b/libraries/libmsiecf/libmsiecf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmsiecf
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20221024, Aug 2023
-# Updated v2081227, Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libmsiecf
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20221024}
STATUS=${STATUS:-alpha}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libmsiecf/libmsiecf.info b/libraries/libmsiecf/libmsiecf.info
index df121c46ed..0ec14e4f6a 100644
--- a/libraries/libmsiecf/libmsiecf.info
+++ b/libraries/libmsiecf/libmsiecf.info
@@ -1,8 +1,8 @@
PRGNAM="libmsiecf"
-VERSION="20181227"
+VERSION="20221024"
HOMEPAGE="https://github.com/libyal/libmsiecf"
-DOWNLOAD="https://github.com/libyal/libmsiecf/releases/download/20181227/libmsiecf-alpha-20181227.tar.gz"
-MD5SUM="1207a58b9b1ef15a7c271e3c3800b427"
+DOWNLOAD="http://linuxleo.com/Source/libmsiecf-alpha-20221024.tar.gz"
+MD5SUM="4a6a66a5d1dea187462be7169ae20bd1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libmspack/README b/libraries/libmspack/README
index 9529166e60..9fea8a2ccd 100644
--- a/libraries/libmspack/README
+++ b/libraries/libmspack/README
@@ -1,4 +1,5 @@
-The purpose of libmspack is to provide both compression and decompression
-of some loosely related file formats used by Microsoft. The intention is to
-support all of the following formats: COMPRESS.EXE (.??_), Microsoft Help
-(.HLP), Microsoft Cabinet (.CAB), HTML Help (.CHM), Microsoft eBook (.LIT).
+The purpose of libmspack is to provide both compression and
+decompression of some loosely related file formats used by
+Microsoft. The intention is to support all of the following formats:
+COMPRESS.EXE (.??_), Microsoft Help (.HLP), Microsoft Cabinet (.CAB),
+HTML Help (.CHM), Microsoft eBook (.LIT).
diff --git a/libraries/libmspack/libmspack.SlackBuild b/libraries/libmspack/libmspack.SlackBuild
index 4b23f267c7..6b584ab503 100644
--- a/libraries/libmspack/libmspack.SlackBuild
+++ b/libraries/libmspack/libmspack.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libmspack
#
-# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2022 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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.
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty/useless docs.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmspack
-VERSION=${VERSION:-0.5alpha}
+VERSION=${VERSION:-0.10.1alpha}
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 +76,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 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -83,14 +94,16 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.LIB INSTALL NEWS README TODO \
+cp -a AUTHORS COPYING.LIB README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html
rm $PKG/usr/doc/$PRGNAM-$VERSION/html/{Makefile,Doxyfile}
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/libraries/libmspack/libmspack.info b/libraries/libmspack/libmspack.info
index 63644e7934..7f8321fcad 100644
--- a/libraries/libmspack/libmspack.info
+++ b/libraries/libmspack/libmspack.info
@@ -1,8 +1,8 @@
PRGNAM="libmspack"
-VERSION="0.5alpha"
+VERSION="0.10.1alpha"
HOMEPAGE="https://www.cabextract.org.uk/libmspack/"
-DOWNLOAD="https://www.cabextract.org.uk/libmspack/libmspack-0.5alpha.tar.gz"
-MD5SUM="3aa3f6b9ef101463270c085478fda1da"
+DOWNLOAD="https://www.cabextract.org.uk/libmspack/libmspack-0.10.1alpha.tar.gz"
+MD5SUM="12b96d707f25ea6e89b2b32cbad30940"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libmspub/libmspub.SlackBuild b/libraries/libmspub/libmspub.SlackBuild
index 378f667fbb..281f04cdcc 100644
--- a/libraries/libmspub/libmspub.SlackBuild
+++ b/libraries/libmspub/libmspub.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmspub
@@ -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=libmspub
VERSION=${VERSION:-0.1.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}
@@ -74,6 +84,9 @@ case "${DOC:-0}" in
*) doc='--with-docs' ;;
esac
+# https://github.com/LibreOffice/libmspub/commit/698bed8
+sed -i '/^#include <vector>$/a #include <stdint.h>' src/lib/MSPUBMetaData.h
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,8 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING.MPL ChangeLog 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmsym/README b/libraries/libmsym/README
new file mode 100644
index 0000000000..7e56165761
--- /dev/null
+++ b/libraries/libmsym/README
@@ -0,0 +1,5 @@
+libmsym is a C library to determine, symmetrize and generate molecules
+of any point group as well determine/select subgroups.
+Get symmetrically equivalent elements and symmetrize translation of
+any any element in a molecule.
+It is required as optional dependency of Avogadro Libraries.
diff --git a/libraries/libmsym/libmsym.SlackBuild b/libraries/libmsym/libmsym.SlackBuild
new file mode 100644
index 0000000000..f44935b06c
--- /dev/null
+++ b/libraries/libmsym/libmsym.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for <appname>
+
+# Copyright 2020-2022 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=libmsym
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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_INSTALL_PREFIX=/usr \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DINSTALL_LIB_DIR=/usr/lib$LIBDIRSUFFIX \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+#Build the python bindings
+ cd bindings/python
+ python3 setup.py install --root=$PKG
+ cd ../..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmsym/libmsym.info b/libraries/libmsym/libmsym.info
new file mode 100644
index 0000000000..32d9546cc6
--- /dev/null
+++ b/libraries/libmsym/libmsym.info
@@ -0,0 +1,10 @@
+PRGNAM="libmsym"
+VERSION="0.2.2"
+HOMEPAGE="https://github.com/mcodev31/libmsym"
+DOWNLOAD="https://github.com/mcodev31/libmsym/archive/v0.2.2/libmsym-0.2.2.tar.gz"
+MD5SUM="dce597efa8596d7a0a186222a4c0982a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giancarlo Dessì"
+EMAIL="slack@giand.it"
diff --git a/libraries/libmsym/slack-desc b/libraries/libmsym/slack-desc
new file mode 100644
index 0000000000..bc91fcfcd0
--- /dev/null
+++ b/libraries/libmsym/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------------------------------------------------------|
+libmsym: libmsym (molecular point group symmetry)
+libmsym:
+libmsym: libmsym is a C library dealing with point group symmetry in
+libmsym: molecules. Determine, symmetrize and generate molecules of any point
+libmsym: group as well determine and select subgroups.
+libmsym: Get symmetrically equivalent elements and symmetrize translation of
+libmsym: any element in a molecule.
+libmsym:
+libmsym: https://github.com/mcodev31/libmsym
+libmsym:
+libmsym:
diff --git a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
index e378f14ade..d41559af86 100644
--- a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
+++ b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <libmusicbrainz>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmusicbrainz
VERSION=${VERSION:-2.1.5}
-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"
@@ -52,7 +62,7 @@ find -L . \
patch -p1 < $CWD/libmusicbrainz-2.1.5-include_stringh.patch
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++14 -Wno-narrowing" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -73,8 +83,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmusicbrainz3/README b/libraries/libmusicbrainz3/README
index 5ad6850c13..77bfa7ef2a 100644
--- a/libraries/libmusicbrainz3/README
+++ b/libraries/libmusicbrainz3/README
@@ -1,9 +1,9 @@
-The libmusicbrainz (also known as mb_client or MusicBrainz Client Library)
-is a development library geared towards developers who wish to add
-MusicBrainz lookup capabilities to their applications.
+The libmusicbrainz (also known as mb_client or MusicBrainz Client
+Library) is a development library geared towards developers who wish
+to add MusicBrainz lookup capabilities to their applications.
cppunit is an optional build-time dependency.
-Note: This is a new library for libmusicbrainz, which is not backwards
-compatible with previous versions. It is safe to have version 2.X and
+Note: This is a new library for libmusicbrainz, which is not backwards
+compatible with previous versions. It is safe to have version 2.X and
version 3.X on the same system as they don't conflict with each other.
diff --git a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild
index 98263f0ebf..3b94f6e8c2 100644
--- a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild
+++ b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmusicbrainz3
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libmusicbrainz3
VERSION=${VERSION:-3.0.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=libmusicbrainz
@@ -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}
@@ -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/libraries/libmusicbrainz5/README b/libraries/libmusicbrainz5/README
index 17ce9156b9..18a1230e64 100644
--- a/libraries/libmusicbrainz5/README
+++ b/libraries/libmusicbrainz5/README
@@ -1,10 +1,10 @@
-The MusicBrainz Client Library (libmusicbrainz), also known as mb_client, is a
-development library geared towards developers who wish to add MusicBrainz
-lookup capabilities to their applications.
+The MusicBrainz Client Library (libmusicbrainz), also known as
+mb_client, is a development library geared towards developers who wish
+to add MusicBrainz lookup capabilities to their applications.
-Note: Version 5.x and greater support the latest version of the MusicBrainz
-web service and are not backwards compatible with earlier versions. As of
-2011, version 3.x and below have been deprecated.
+Note: Version 5.x and greater support the latest version of the
+MusicBrainz web service and are not backwards compatible with earlier
+versions. As of 2011, version 3.x and below have been deprecated.
-It is safe to have versions 2.x, 3.x, and 5.x on the same system as they don't
-conflict with each other.
+It is safe to have versions 2.x, 3.x, and 5.x on the same system as
+they don't conflict with each other.
diff --git a/libraries/libmusicbrainz5/libmusicbrainz5.SlackBuild b/libraries/libmusicbrainz5/libmusicbrainz5.SlackBuild
index 7ffe5dde0c..2894c5ad38 100644
--- a/libraries/libmusicbrainz5/libmusicbrainz5.SlackBuild
+++ b/libraries/libmusicbrainz5/libmusicbrainz5.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmusicbrainz3
@@ -21,12 +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=libmusicbrainz5
VERSION=${VERSION:-5.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=libmusicbrainz
+SRCNAM=libmusicbrainz-release
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}
@@ -62,7 +72,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-release-$VERSION
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,6 +80,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch for the newer cmake
+patch -p1 < $CWD/no_wildcards.patch
+
mkdir -p build
(
cd build
@@ -96,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/libraries/libmusicbrainz5/libmusicbrainz5.info b/libraries/libmusicbrainz5/libmusicbrainz5.info
index d3a182c91d..9110e44d35 100644
--- a/libraries/libmusicbrainz5/libmusicbrainz5.info
+++ b/libraries/libmusicbrainz5/libmusicbrainz5.info
@@ -1,7 +1,7 @@
PRGNAM="libmusicbrainz5"
VERSION="5.1.0"
HOMEPAGE="http://musicbrainz.org/doc/libmusicbrainz"
-DOWNLOAD="https://github.com/metabrainz/libmusicbrainz/archive/release-5.1.0/libmusicbrainz-5.1.0.tar.gz"
+DOWNLOAD="https://github.com/metabrainz/libmusicbrainz/archive/release-5.1.0/libmusicbrainz-release-5.1.0.tar.gz"
MD5SUM="af786baafb8298e3662903748c85bb89"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libmusicbrainz5/no_wildcards.patch b/libraries/libmusicbrainz5/no_wildcards.patch
new file mode 100644
index 0000000000..b14d17e745
--- /dev/null
+++ b/libraries/libmusicbrainz5/no_wildcards.patch
@@ -0,0 +1,24 @@
+From 36262d60fe92fe7a2c9bfb40e736bfcd29a6c3bd Mon Sep 17 00:00:00 2001
+From: Abderrahim Kitouni <a.kitouni@gmail.com>
+Date: Fri, 13 Apr 2018 09:56:57 +0100
+Subject: [PATCH] src/CMakelists.txt: do not use wildcards for dependencies
+
+This is discouraged by cmake's documentation and doesn't work with the ninja generator.
+---
+ src/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 68c04e3..f7439d3 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -37,7 +37,8 @@ ADD_CUSTOM_COMMAND(
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.cc ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h
+ COMMAND make-c-interface ${CMAKE_CURRENT_SOURCE_DIR} cinterface.xml ${CMAKE_CURRENT_BINARY_DIR} mb5_c.cc mb5_c.h
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_BINARY_DIR}/mb5_c.h ${CMAKE_CURRENT_BINARY_DIR}/../include/musicbrainz5/mb5_c.h
+- DEPENDS make-c-interface cinterface.xml *.inc
++ DEPENDS make-c-interface cinterface.xml c-int-medium-defines.inc c-int-query-source.inc c-int-source-funcs.inc
++ c-int-medium-source.inc c-int-release-defines.inc c-int-query-defines.inc c-int-release-source.inc
+ )
+
+ ADD_CUSTOM_TARGET(src_gen DEPENDS mb5_c.h)
diff --git a/libraries/libmwaw/libmwaw.SlackBuild b/libraries/libmwaw/libmwaw.SlackBuild
index 8019a62064..2b0dea4d52 100644
--- a/libraries/libmwaw/libmwaw.SlackBuild
+++ b/libraries/libmwaw/libmwaw.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmwaw
-# Copyright 2015-2019 Hunter Sezen California, USA
+# Copyright 2015-2020 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=libmwaw
-VERSION=${VERSION:-0.3.15}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.3.17}
+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,8 +84,10 @@ case "${DOC:-0}" in
*) doc='--with-docs' ;;
esac
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -Wno-error=implicit-fallthrough= -Wno-error=int-in-bool-context" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -96,8 +108,10 @@ cp -a CHANGES COPYING* CREDITS HACKING 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/libraries/libmwaw/libmwaw.info b/libraries/libmwaw/libmwaw.info
index 66d34fc3bd..19ff4c9b47 100644
--- a/libraries/libmwaw/libmwaw.info
+++ b/libraries/libmwaw/libmwaw.info
@@ -1,8 +1,8 @@
PRGNAM="libmwaw"
-VERSION="0.3.15"
+VERSION="0.3.17"
HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
-DOWNLOAD="https://sourceforge.net/projects/libmwaw/files/libmwaw/libmwaw-0.3.15/libmwaw-0.3.15.tar.xz"
-MD5SUM="ffe1479ecde9afd8ce86b791183183fd"
+DOWNLOAD="https://downloads.sourceforge.net/project/libmwaw/libmwaw/libmwaw-0.3.17/libmwaw-0.3.17.tar.xz"
+MD5SUM="44f219a1f758ca651f7610f182414b81"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libmygpo-qt/libmygpo-qt.SlackBuild b/libraries/libmygpo-qt/libmygpo-qt.SlackBuild
index 1c06adb30c..aa6cebce7b 100644
--- a/libraries/libmygpo-qt/libmygpo-qt.SlackBuild
+++ b/libraries/libmygpo-qt/libmygpo-qt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libmygpo-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=libmygpo-qt
VERSION=${VERSION:-1.1.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,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/libraries/libmysofa/README b/libraries/libmysofa/README
new file mode 100644
index 0000000000..5b7c531e4b
--- /dev/null
+++ b/libraries/libmysofa/README
@@ -0,0 +1,4 @@
+This is a simple set of C functions to read AES SOFA files,
+if they contain HRTFs stored according to the AES69-2015 standard.
+
+This is an optional dependency for FFmpeg.
diff --git a/libraries/libmysofa/changelog b/libraries/libmysofa/changelog
new file mode 100644
index 0000000000..447400a234
--- /dev/null
+++ b/libraries/libmysofa/changelog
@@ -0,0 +1,20 @@
+Changelog for libmysofa SlackBuild Script
+--------------------------------------------------------------------
+
+03/09/2022:
+
+Added to slackbuilds.org
+
+18/02/2023:
+
+libmysofa slackbuild script fixed by B.Watson
+
+16/05/2023:
+
+Updated to version 1.3.1.
+It does not recognize the extra CFLAGS probably due to hardcoded
+in the cmakelists file.so I have removed them in the script.
+
+19/02/2024:
+
+updated to version 1.3.2
diff --git a/libraries/libmysofa/libmysofa.SlackBuild b/libraries/libmysofa/libmysofa.SlackBuild
new file mode 100644
index 0000000000..6e88b4f7d1
--- /dev/null
+++ b/libraries/libmysofa/libmysofa.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for libmysofa
+
+# Copyright 2022-2024 Vijay Marcel,India
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libmysofa
+VERSION=${VERSION:-1.3.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+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
+ LIBDIRSUFFIX=""
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+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 {} \;
+
+
+cmake -B $TMP/$PRGNAM-$VERSION/build -S $TMP/$PRGNAM-$VERSION \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \
+ -DCMAKE_INSTALL_DOCDIR:PATH=/usr/doc \
+ -DCMAKE_INSTALL_INCLUDEDIR:PATH=/usr/include \
+ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_STATIC_LIBS:BOOL=OFF \
+ -DBUILD_TESTS:BOOL=OFF \
+ -DCODE_COVERAGE:BOOL=OFF \
+ -DADDRESS_SANITIZE:BOOL=OFF
+
+
+make -C build
+make -C build install DESTDIR=$PKG
+
+mkdir -pv $PKG/usr/include/$PRGNAM
+install -D -v -m0644 $TMP/$PRGNAM-$VERSION/build/src/config.h -t "$PKG/usr/include/$PRGNAM"
+install -D -v -m0644 $TMP/$PRGNAM-$VERSION/build/src/mysofa_export.h -t "$PKG/usr/include/$PRGNAM"
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md CODE_OF_CONDUCT.md SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -pv $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libmysofa/libmysofa.info b/libraries/libmysofa/libmysofa.info
new file mode 100644
index 0000000000..667656018d
--- /dev/null
+++ b/libraries/libmysofa/libmysofa.info
@@ -0,0 +1,10 @@
+PRGNAM="libmysofa"
+VERSION="1.3.2"
+HOMEPAGE="https://github.com/hoene/libmysofa"
+DOWNLOAD="https://github.com/hoene/libmysofa/archive/v1.3.2/libmysofa-1.3.2.tar.gz"
+MD5SUM="483878b0ed4dc177a64bdec3c3fe6f1e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="cunit"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libmysofa/slack-desc b/libraries/libmysofa/slack-desc
new file mode 100644
index 0000000000..2992289d22
--- /dev/null
+++ b/libraries/libmysofa/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------------------------------------------------------|
+libmysofa: libmysofa (Reader for AES SOFA Files)
+libmysofa:
+libmysofa: libmysofa is a simple set of C functions to read AES
+libmysofa: SOFA files, if they contain HRTF stored according to
+libmysofa: AES69-2015 standard.
+libmysofa:
+libmysofa: Homepage:https://github.com/hoene/libmysofa
+libmysofa:
+libmysofa:
+libmysofa:
+libmysofa:
diff --git a/libraries/libnbcompat/README b/libraries/libnbcompat/README
new file mode 100644
index 0000000000..ee2637ff95
--- /dev/null
+++ b/libraries/libnbcompat/README
@@ -0,0 +1,8 @@
+libnbcompat (a portable NetBSD compat library)
+
+libnbcompat is a portable NetBSD-compatibility library that supplies
+routines used by NetBSD bootstrap tools that are missing on other
+operating systems.
+
+By default, the static library is not included. If you need it, feel
+free to pass STATIC=yes to the build script.
diff --git a/libraries/libnbcompat/libnbcompat.SlackBuild b/libraries/libnbcompat/libnbcompat.SlackBuild
new file mode 100644
index 0000000000..71a316e8da
--- /dev/null
+++ b/libraries/libnbcompat/libnbcompat.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for libnbcompat
+
+# @(#)libnbcompat.SlackBuild 1.1 20/10/24 06:03:18
+
+# Copyright 2020 Pomfland
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=libnbcompat
+VERSION=${VERSION:-1.0.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+
+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
+
+# since it insists regardless of what we tell configure
+if test ${STATIC:-no} = no; then
+ rm $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM.a
+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 \
+ CHANGES 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
diff --git a/libraries/libnbcompat/libnbcompat.info b/libraries/libnbcompat/libnbcompat.info
new file mode 100644
index 0000000000..a73da7ae06
--- /dev/null
+++ b/libraries/libnbcompat/libnbcompat.info
@@ -0,0 +1,10 @@
+PRGNAM="libnbcompat"
+VERSION="1.0.1"
+HOMEPAGE="https://github.com/archiecobbs/libnbcompat"
+DOWNLOAD="https://github.com/archiecobbs/libnbcompat/archive/1.0.1/libnbcompat-1.0.1.tar.gz"
+MD5SUM="774e86650505714614fed02d4d2fae9d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Pomfland"
+EMAIL="pomfland@tfwno.gf"
diff --git a/libraries/libnbcompat/slack-desc b/libraries/libnbcompat/slack-desc
new file mode 100644
index 0000000000..e1f7a652a4
--- /dev/null
+++ b/libraries/libnbcompat/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------------------------------------------------------|
+libnbcompat: libnbcompat (a portable NetBSD compat library)
+libnbcompat:
+libnbcompat: libnbcompat is a portable NetBSD-compatibility library that supplies
+libnbcompat: routines used by NetBSD bootstrap tools that are missing on other
+libnbcompat: operating systems.
+libnbcompat:
+libnbcompat: Homepage: https://github.com/archiecobbs/libnbcompat
+libnbcompat:
+libnbcompat:
+libnbcompat:
+libnbcompat:
diff --git a/libraries/libnet/libnet.SlackBuild b/libraries/libnet/libnet.SlackBuild
index 095d6b8a9d..c5deac0d98 100644
--- a/libraries/libnet/libnet.SlackBuild
+++ b/libraries/libnet/libnet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for libnet
# Joe Rozner livinded@deabytes.net
@@ -7,26 +7,36 @@
# Modified by Roberto Neri <rneri@libero.it> to
# - remove CVS directories from source tree and miscellaneous script cleanup
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libnet
VERSION=${VERSION:-1.1.6}
-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"
@@ -78,8 +88,10 @@ cp -a \
cp -a doc/html/{*.png,*.html,*.css} $PKG/usr/doc/$PRGNAM-$VERSION/html
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/libraries/libnfc/README b/libraries/libnfc/README
new file mode 100644
index 0000000000..ff88d7ea96
--- /dev/null
+++ b/libraries/libnfc/README
@@ -0,0 +1,4 @@
+Free/Libre Near Field Communication (NFC) library.
+
+libnfc is a library which allows userspace application access to NFC
+devices.
diff --git a/libraries/libnfc/fixup-mandir.patch b/libraries/libnfc/fixup-mandir.patch
new file mode 100644
index 0000000000..5647dd94f6
--- /dev/null
+++ b/libraries/libnfc/fixup-mandir.patch
@@ -0,0 +1,10 @@
+diff -Nur libnfc-1.8.0.orig/utils/CMakeLists.txt libnfc-1.8.0/utils/CMakeLists.txt
+--- libnfc-1.8.0.orig/utils/CMakeLists.txt 2020-05-22 05:20:17.000000000 -0500
++++ libnfc-1.8.0/utils/CMakeLists.txt 2022-02-21 19:14:09.544499311 -0600
+@@ -61,5 +61,5 @@
+ IF(NOT WIN32)
+ # Manuals for the examples
+ FILE(GLOB manuals "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
+- INSTALL(FILES ${manuals} DESTINATION ${SHARE_INSTALL_PREFIX}/man/man1 COMPONENT manuals)
++ INSTALL(FILES ${manuals} DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1 COMPONENT manuals)
+ ENDIF(NOT WIN32)
diff --git a/libraries/libnfc/libnfc.SlackBuild b/libraries/libnfc/libnfc.SlackBuild
new file mode 100644
index 0000000000..2aa220c8f2
--- /dev/null
+++ b/libraries/libnfc/libnfc.SlackBuild
@@ -0,0 +1,142 @@
+#!/bin/bash
+
+# Slackware build script for libnfc
+
+# Copyright 2022 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
+# All rights reserved.
+#
+# Permission to use, copy, modify, and distribute this software for any purpose
+# with or without fee is hereby granted, provided that the above copyright
+# notice and this permission notice appear in all copies.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+# AUTHORS AND COPYRIGHT HOLDERS AND THEIR 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libnfc
+VERSION=${VERSION:-1.8.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-$PRGNAM-$VERSION.tar.g? 2>/dev/null || tar xvf $CWD/$PRGNAM-$VERSION.tar.g?
+mv $PRGNAM-$PRGNAM-$VERSION $PRGNAM-$VERSION 2>/dev/null || true
+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/fixup-mandir.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DBUILD_DEBPKG=ON \
+ -DBUILD_EXAMPLES=NO \
+ -DBUILD_UTILS=ON \
+ -DLIBNFC_DRIVER_PCSC=ON \
+ -DLIBNFC_DRIVER_ACR122_PCSC=ON \
+ -DLIBNFC_DRIVER_ACR122_USB=ON \
+ -DLIBNFC_DRIVER_PN53X_USB=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+# not used by project:
+# -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS"
+# -DMAN_INSTALL_DIR=/usr/man
+# available cmake options:
+# -DLIBNFC_CONFFILES_MODE
+# -DLIBNFC_DEBUG_MODE
+# -DLIBNFC_DRIVER_ACR122S
+# -DLIBNFC_DRIVER_ACR122_PCSC
+# -DLIBNFC_DRIVER_ACR122_USB
+# -DLIBNFC_DRIVER_ARYGON
+# -DLIBNFC_DRIVER_PCSC
+# -DLIBNFC_DRIVER_PN532_I2C
+# -DLIBNFC_DRIVER_PN532_SPI
+# -DLIBNFC_DRIVER_PN532_UART
+# -DLIBNFC_DRIVER_PN53X_USB
+# -DLIBNFC_ENVVARS
+# -DLIBNFC_LOG
+
+mkdir -p $PKG/etc/nfc
+install -Dm644 libnfc.conf.sample -t $PKG/etc/nfc/
+
+mkdir -p $PKG/lib/modprobe.d
+install -Dm644 contrib/linux/blacklist-libnfc.conf -t $PKG/lib/modprobe.d
+
+mkdir -p $PKG/lib/udev/rules.d
+install -Dm644 contrib/udev/93-pn53x.rules -t $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
+
+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 HACKING.md NEWS.md README.md manual-test-results.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libnfc/libnfc.info b/libraries/libnfc/libnfc.info
new file mode 100644
index 0000000000..4d71262bd9
--- /dev/null
+++ b/libraries/libnfc/libnfc.info
@@ -0,0 +1,10 @@
+PRGNAM="libnfc"
+VERSION="1.8.0"
+HOMEPAGE="http://www.libnfc.org/"
+DOWNLOAD="https://github.com/nfc-tools/libnfc/archive/refs/tags/libnfc-1.8.0.tar.gz"
+MD5SUM="4ce698f3fcb47c8c26186ff15c75c574"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pcsc-lite"
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/libnfc/slack-desc b/libraries/libnfc/slack-desc
new file mode 100644
index 0000000000..a59126174c
--- /dev/null
+++ b/libraries/libnfc/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------------------------------------------------------|
+libnfc: libnfc (Free/Libre Near Field Communication (NFC) library)
+libnfc:
+libnfc: libnfc is a library which allows userspace application access to NFC
+libnfc: devices.
+libnfc:
+libnfc:
+libnfc:
+libnfc:
+libnfc:
+libnfc:
+libnfc:
diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild
index 1ca62302c7..8c76d4fc18 100644
--- a/libraries/libnfs/libnfs.SlackBuild
+++ b/libraries/libnfs/libnfs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libnfs
@@ -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=libnfs
-VERSION=${VERSION:-4.0.0}
+VERSION=${VERSION:-5.0.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}
@@ -123,8 +133,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG COPYING LICENCE* 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/libraries/libnfs/libnfs.info b/libraries/libnfs/libnfs.info
index 33549bfd54..d01a3179ef 100644
--- a/libraries/libnfs/libnfs.info
+++ b/libraries/libnfs/libnfs.info
@@ -1,8 +1,8 @@
PRGNAM="libnfs"
-VERSION="4.0.0"
+VERSION="5.0.1"
HOMEPAGE="https://github.com/sahlberg/libnfs"
-DOWNLOAD="https://github.com/sahlberg/libnfs/archive/libnfs-4.0.0/libnfs-4.0.0.tar.gz"
-MD5SUM="623c6d5a4c514a9811c713effeaf68fb"
+DOWNLOAD="https://github.com/sahlberg/libnfs/archive/libnfs-5.0.1/libnfs-libnfs-5.0.1.tar.gz"
+MD5SUM="4bd3d1fc097c9ba51c7182980b44ab5f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libnice/README b/libraries/libnice/README
deleted file mode 100644
index 7dbda42b89..0000000000
--- a/libraries/libnice/README
+++ /dev/null
@@ -1,12 +0,0 @@
-The GLib ICE implementation
-
-Libnice is an implementation of the IETF's draft Interactice
-Connectivity Establishment standard (ICE). It provides GLib-based library,
-libnice and GStreamer elements.
-
-ICE is useful for applications that want to establish peer-to-peer UDP
-data streams. It automates the process of traversing NATs and provides
-security against some attacks.
-
-Existing standards that use ICE include Session Initiation Protocol
-(SIP) and XMPP Jingle.
diff --git a/libraries/libnice/libnice.SlackBuild b/libraries/libnice/libnice.SlackBuild
deleted file mode 100644
index 2508b5a3e2..0000000000
--- a/libraries/libnice/libnice.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libnice
-
-# Copyright 2009 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=libnice
-VERSION=${VERSION:-0.1.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
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --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 NEWS COPYING INSTALL README COPYING.LGPL TODO COPYING.MPL \
- $PKG/usr/doc/$PRGNAM-$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/libraries/libnice/libnice.info b/libraries/libnice/libnice.info
deleted file mode 100644
index c1bc56fcb7..0000000000
--- a/libraries/libnice/libnice.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libnice"
-VERSION="0.1.14"
-HOMEPAGE="https://nice.freedesktop.org"
-DOWNLOAD="https://nice.freedesktop.org/releases/libnice-0.1.14.tar.gz"
-MD5SUM="c9b9b74b8ae1b3890e4bd93f1b70e8ff"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libnice/slack-desc b/libraries/libnice/slack-desc
deleted file mode 100644
index 60b1ef2c70..0000000000
--- a/libraries/libnice/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------------------------------------------------------|
-libnice: libnice (The GLib ICE implementation)
-libnice:
-libnice: Libnice is an implementation of the IETF's draft Interactice
-libnice: Connectivity Establishment standard (ICE). It provides GLib-based
-libnice: library, libnice and GStreamer elements. ICE is useful for
-libnice: applications that want to establish peer-to-peer UDP data streams.
-libnice: It automates the process of traversing NATs and provides security
-libnice: against some attacks. Existing standards that use ICE include
-libnice: include Session Initiation Protocol (SIP) and XMPP Jingle.
-libnice:
-libnice: Homepage: http://nice.freedesktop.org
diff --git a/libraries/libnids/README b/libraries/libnids/README
index f6a7a02943..9b2fa9d65d 100644
--- a/libraries/libnids/README
+++ b/libraries/libnids/README
@@ -1,9 +1,10 @@
-Libnids is an implementation of an E-component of Network Intrusion Detection
-System. It emulates the IP stack of Linux 2.0.x. Libnids offers IP
-defragmentation, TCP stream assembly and TCP port scan detection. The most
-valuable feature of libnids is reliability. A number of tests were conducted,
-which proved that libnids predicts behaviour of protected Linux hosts as
-closely as possible. Libnids is highly configurable in run-time and offers a
-convenient interface. Currently it compiles on Linux, *BSD and Solaris.
-Using libnids, one has got a convenient access to data carried by a TCP
-stream, no matter how artfully obscured by an attacker.
+Libnids is an implementation of an E-component of Network Intrusion
+Detection System. It emulates the IP stack of Linux 2.0.x. Libnids
+offers IP defragmentation, TCP stream assembly and TCP port scan
+detection. The most valuable feature of libnids is reliability. A
+number of tests were conducted, which proved that libnids predicts
+behaviour of protected Linux hosts as closely as possible. Libnids is
+highly configurable in run-time and offers a convenient interface.
+Currently it compiles on Linux, *BSD and Solaris. Using libnids, one
+has got a convenient access to data carried by a TCP stream, no matter
+how artfully obscured by an attacker.
diff --git a/libraries/libnids/libnids.SlackBuild b/libraries/libnids/libnids.SlackBuild
index afaff9e645..c62aa5cb72 100644
--- a/libraries/libnids/libnids.SlackBuild
+++ b/libraries/libnids/libnids.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libnids.
#
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libnids
VERSION=${VERSION:-1.24}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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,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/libraries/libnodave/libnodave.SlackBuild b/libraries/libnodave/libnodave.SlackBuild
index edb8c641bf..aaed61fd07 100644
--- a/libraries/libnodave/libnodave.SlackBuild
+++ b/libraries/libnodave/libnodave.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libnodave
@@ -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=libnodave
VERSION=${VERSION:-0.8.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}
@@ -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/libraries/libnova/README b/libraries/libnova/README
deleted file mode 100644
index de58ecb423..0000000000
--- a/libraries/libnova/README
+++ /dev/null
@@ -1,7 +0,0 @@
-libnova is a general purpose, double precision, celestial mechanics,
-astrometry, and astrodynamics library. It is the calculation engine
-used by the Nova project.
-
-The intended audience of libnova are C / C++ programmers, astronomers
-and anyone else interested in calculating positions of astronomical
-objects or celestial mechanics.
diff --git a/libraries/libnova/libnova.SlackBuild b/libraries/libnova/libnova.SlackBuild
deleted file mode 100644
index 03b6292633..0000000000
--- a/libraries/libnova/libnova.SlackBuild
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libnova
-
-# Copyright 2013 Chris Abela
-# Copyright 2014 Ryan P.C. McQuen <ryanpcmcquen at member dot fsf dot org>
-# Copyright 2017 Philip Lacroix <slackph at posteo dot 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=libnova
-VERSION=${VERSION:-0.15.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 {} \;
-
-autoreconf -vif
-
-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 -C doc doc
-make install DESTDIR=$PKG
-rm -rf examples/.{deps,libs}
-
-find $PKG -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 -a doc/man $PKG/usr/man
-rm -f $PKG/usr/man/man3/_tmp*.3
-rm -f $PKG/usr/man/man3/version.3 # This conflicts with the Slackware perl package
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README doc/html 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/libraries/libnova/libnova.info b/libraries/libnova/libnova.info
deleted file mode 100644
index 5268ed8a90..0000000000
--- a/libraries/libnova/libnova.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libnova"
-VERSION="0.15.0"
-HOMEPAGE="http://libnova.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libnova/libnova-0.15.0.tar.gz"
-MD5SUM="756fdb55745cb78511f83a62c25f3be4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Philip Lacroix"
-EMAIL="slackph at posteo dot de"
diff --git a/libraries/libnova/slack-desc b/libraries/libnova/slack-desc
deleted file mode 100644
index ea5d1c0b89..0000000000
--- a/libraries/libnova/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------------------------------------------------------|
-libnova: libnova (celestial mechanics, astrometry and astrodynamics library)
-libnova:
-libnova: libnova is a general purpose, double precision, celestial mechanics,
-libnova: astrometry, and astrodynamics library. It is the calculation engine
-libnova: used by the Nova project.
-libnova:
-libnova: The intended audience of libnova are C / C++ programmers, astronomers
-libnova: and anyone else interested in calculating positions of astronomical
-libnova: objects or celestial mechanics.
-libnova:
-libnova: Homepage: http://libnova.sourceforge.net/
diff --git a/libraries/libnsgif/README b/libraries/libnsgif/README
new file mode 100644
index 0000000000..7ea6e67f8f
--- /dev/null
+++ b/libraries/libnsgif/README
@@ -0,0 +1,5 @@
+libnsgif (gif image decoder library)
+
+The functions provided by this library allow for efficient progressive
+GIF decoding. This library was originally part of the netsurf browser,
+before it was distributed as a standalone library.
diff --git a/libraries/libnsgif/git2tarxz.sh b/libraries/libnsgif/git2tarxz.sh
new file mode 100644
index 0000000000..f6ee06798b
--- /dev/null
+++ b/libraries/libnsgif/git2tarxz.sh
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+### Containg libnsgif specific stuff, do not use as-is for a template!
+
+# 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=libnsgif
+CLONE_URL=https://github.com/jcupitt/libnsgif-autotools
+
+# The version of libnsgif from the netsurf project, that this autotools
+# version was forked from. Have to keep track of this manually unless
+# upstream starts using git tags.
+MAINVER=0.2.1
+
+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=${MAINVER}+${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/libraries/libnsgif/libnsgif.SlackBuild b/libraries/libnsgif/libnsgif.SlackBuild
new file mode 100644
index 0000000000..b1476a6c53
--- /dev/null
+++ b/libraries/libnsgif/libnsgif.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for libnsgif
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# This build looks like it has no dependees, but graphics/imv lists it
+# as an optional dep, so don't remove this just yet.
+
+# 20230117 bkw: update for v0.2.1+20220113_105a920.
+# - There are two libnsgif's on github, the original and the autotools-ized
+# one. This build is libnsgif-autotools, use correct repo in .info file
+# and git2tarxz.sh.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libnsgif
+VERSION=${VERSION:-0.2.1+20220113_105a920}
+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 {} \+
+
+autoreconf -ivf
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+sed -i '/^includedir/s,$,/libnsgif,' \
+ $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
+
+# we don't need this:
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
+
+# examples/ has a broken perl script that doesn't even use libnsgif and
+# a shell script that doesn't work at all. Don't bother.
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* CHANGELOG 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/libraries/libnsgif/libnsgif.info b/libraries/libnsgif/libnsgif.info
new file mode 100644
index 0000000000..7b30c40e50
--- /dev/null
+++ b/libraries/libnsgif/libnsgif.info
@@ -0,0 +1,10 @@
+PRGNAM="libnsgif"
+VERSION="0.2.1+20220113_105a920"
+HOMEPAGE="https://github.com/jcupitt/libnsgif-autotools"
+DOWNLOAD="https://slackware.uk/~urchlay/src/libnsgif-0.2.1+20220113_105a920.tar.xz"
+MD5SUM="6dc1f4765febd0c767e19123debc5659"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libnsgif/slack-desc b/libraries/libnsgif/slack-desc
new file mode 100644
index 0000000000..3906632288
--- /dev/null
+++ b/libraries/libnsgif/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------------------------------------------------------|
+libnsgif: libnsgif (gif image decoder library)
+libnsgif:
+libnsgif: The functions provided by this library allow for efficient progressive
+libnsgif: GIF decoding. This library was originally part of the netsurf browser,
+libnsgif: before it was distributed as a standalone library.
+libnsgif:
+libnsgif:
+libnsgif:
+libnsgif:
+libnsgif:
+libnsgif:
diff --git a/libraries/libnumbertext/libnumbertext.SlackBuild b/libraries/libnumbertext/libnumbertext.SlackBuild
index 66ad3090b7..7b920a9ec5 100644
--- a/libraries/libnumbertext/libnumbertext.SlackBuild
+++ b/libraries/libnumbertext/libnumbertext.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libnumbertext
-# Copyright 2018 Hunter Sezen California, USA
+# Copyright 2018, 2020 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=libnumbertext
-VERSION=${VERSION:-1.0.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.0.6}
+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,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 {} \;
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,16 +93,18 @@ CXXFLAGS="$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
+find $PKG -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.md THANKS \
$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/libraries/libnumbertext/libnumbertext.info b/libraries/libnumbertext/libnumbertext.info
index f77ef1fd79..44db433d07 100644
--- a/libraries/libnumbertext/libnumbertext.info
+++ b/libraries/libnumbertext/libnumbertext.info
@@ -1,8 +1,8 @@
PRGNAM="libnumbertext"
-VERSION="1.0.5"
+VERSION="1.0.6"
HOMEPAGE="https://numbertext.github.io/"
-DOWNLOAD="https://github.com/Numbertext/libnumbertext/releases/download/1.0.5/libnumbertext-1.0.5.tar.xz"
-MD5SUM="845c7ca37a6738e301073ad19ddc2602"
+DOWNLOAD="https://github.com/Numbertext/libnumbertext/releases/download/1.0.6/libnumbertext-1.0.6.tar.xz"
+MD5SUM="d5e70dd61deb138add3fe3e8b102197c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libnxml/libnxml.SlackBuild b/libraries/libnxml/libnxml.SlackBuild
index ba041e37e7..59241b51fe 100644
--- a/libraries/libnxml/libnxml.SlackBuild
+++ b/libraries/libnxml/libnxml.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libnxml
# Written by Kristaps Esterlins <esterlinsh[at]gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libnxml
VERSION=${VERSION:-0.18.3}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +86,10 @@ cp -a AUTHORS COPYING ChangeLog INSTALL 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liboauth/liboauth-1.0.3-openssl-1.1.0-2.patch b/libraries/liboauth/liboauth-1.0.3-openssl-1.1.0-2.patch
new file mode 100644
index 0000000000..eafd3eb9bf
--- /dev/null
+++ b/libraries/liboauth/liboauth-1.0.3-openssl-1.1.0-2.patch
@@ -0,0 +1,147 @@
+Submitted by: DJ Lucas (dj_AT_linuxfromscratch_DOT_org)
+Date: 2017-05-27
+Initial Package Version: 1.0.3
+Update by: Bruce Dubbs
+Date: 2017-06-14
+Upstream Status: Submitted
+Origin: https://github.com/x42/liboauth/issues/9
+Description: Fixes build issue with OpenSSL-1.1.0.
+Update: Additional fix from upstream. Three lines changed.
+
+diff -Naurp liboauth-1.0.3-orig/src/hash.c liboauth-1.0.3/src/hash.c
+--- liboauth-1.0.3-orig/src/hash.c 2013-10-04 08:02:50.000000000 -0500
++++ liboauth-1.0.3/src/hash.c 2017-05-27 00:51:04.708633351 -0500
+@@ -362,6 +362,11 @@ looser:
+ #include "oauth.h" // base64 encode fn's.
+ #include <openssl/hmac.h>
+
++#if OPENSSL_VERSION_NUMBER < 0x10100000
++#define EVP_MD_CTX_new EVP_MD_CTX_create
++#define EVP_MD_CTX_free EVP_MD_CTX_destroy
++#endif
++
+ char *oauth_sign_hmac_sha1 (const char *m, const char *k) {
+ return(oauth_sign_hmac_sha1_raw (m, strlen(m), k, strlen(k)));
+ }
+@@ -386,7 +391,7 @@ char *oauth_sign_rsa_sha1 (const char *m
+ unsigned char *sig = NULL;
+ unsigned char *passphrase = NULL;
+ unsigned int len=0;
+- EVP_MD_CTX md_ctx;
++ EVP_MD_CTX *md_ctx;
+
+ EVP_PKEY *pkey;
+ BIO *in;
+@@ -399,24 +404,31 @@ char *oauth_sign_rsa_sha1 (const char *m
+ return xstrdup("liboauth/OpenSSL: can not read private key");
+ }
+
++ md_ctx = EVP_MD_CTX_new();
++ if (md_ctx == NULL) {
++ return xstrdup("liboauth/OpenSSL: failed to allocate EVP_MD_CTX");
++ }
++
+ len = EVP_PKEY_size(pkey);
+ sig = (unsigned char*)xmalloc((len+1)*sizeof(char));
+
+- EVP_SignInit(&md_ctx, EVP_sha1());
+- EVP_SignUpdate(&md_ctx, m, strlen(m));
+- if (EVP_SignFinal (&md_ctx, sig, &len, pkey)) {
++ EVP_SignInit(md_ctx, EVP_sha1());
++ EVP_SignUpdate(md_ctx, m, strlen(m));
++ if (EVP_SignFinal (md_ctx, sig, &len, pkey)) {
+ char *tmp;
+ sig[len] = '\0';
+ tmp = oauth_encode_base64(len,sig);
+ OPENSSL_free(sig);
+ EVP_PKEY_free(pkey);
++ EVP_MD_CTX_free(md_ctx);
+ return tmp;
+ }
++ EVP_MD_CTX_free(md_ctx);
+ return xstrdup("liboauth/OpenSSL: rsa-sha1 signing failed");
+ }
+
+ int oauth_verify_rsa_sha1 (const char *m, const char *c, const char *s) {
+- EVP_MD_CTX md_ctx;
++ EVP_MD_CTX *md_ctx;
+ EVP_PKEY *pkey;
+ BIO *in;
+ X509 *cert = NULL;
+@@ -437,13 +449,18 @@ int oauth_verify_rsa_sha1 (const char *m
+ return -2;
+ }
+
++ md_ctx = EVP_MD_CTX_new();
++ if (md_ctx == NULL) {
++ return -2;
++ }
++
+ b64d= (unsigned char*) xmalloc(sizeof(char)*strlen(s));
+ slen = oauth_decode_base64(b64d, s);
+
+- EVP_VerifyInit(&md_ctx, EVP_sha1());
+- EVP_VerifyUpdate(&md_ctx, m, strlen(m));
+- err = EVP_VerifyFinal(&md_ctx, b64d, slen, pkey);
+- EVP_MD_CTX_cleanup(&md_ctx);
++ EVP_VerifyInit(md_ctx, EVP_sha1());
++ EVP_VerifyUpdate(md_ctx, m, strlen(m));
++ err = EVP_VerifyFinal(md_ctx, b64d, slen, pkey);
++ EVP_MD_CTX_free(pkey);
+ EVP_PKEY_free(pkey);
+ xfree(b64d);
+ return (err);
+@@ -455,35 +472,41 @@ int oauth_verify_rsa_sha1 (const char *m
+ */
+ char *oauth_body_hash_file(char *filename) {
+ unsigned char fb[BUFSIZ];
+- EVP_MD_CTX ctx;
++ EVP_MD_CTX *ctx;
+ size_t len=0;
+ unsigned char *md;
+ FILE *F= fopen(filename, "r");
+ if (!F) return NULL;
+
+- EVP_MD_CTX_init(&ctx);
+- EVP_DigestInit(&ctx,EVP_sha1());
++ ctx = EVP_MD_CTX_new();
++ if (ctx == NULL) {
++ return xstrdup("liboauth/OpenSSL: failed to allocate EVP_MD_CTX");
++ }
++ EVP_DigestInit(ctx,EVP_sha1());
+ while (!feof(F) && (len=fread(fb,sizeof(char),BUFSIZ, F))>0) {
+- EVP_DigestUpdate(&ctx, fb, len);
++ EVP_DigestUpdate(ctx, fb, len);
+ }
+ fclose(F);
+ len=0;
+ md=(unsigned char*) xcalloc(EVP_MD_size(EVP_sha1()),sizeof(unsigned char));
+- EVP_DigestFinal(&ctx, md,(unsigned int*) &len);
+- EVP_MD_CTX_cleanup(&ctx);
++ EVP_DigestFinal(ctx, md,(unsigned int*) &len);
++ EVP_MD_CTX_free(ctx);
+ return oauth_body_hash_encode(len, md);
+ }
+
+ char *oauth_body_hash_data(size_t length, const char *data) {
+- EVP_MD_CTX ctx;
++ EVP_MD_CTX *ctx;
+ size_t len=0;
+ unsigned char *md;
+ md=(unsigned char*) xcalloc(EVP_MD_size(EVP_sha1()),sizeof(unsigned char));
+- EVP_MD_CTX_init(&ctx);
+- EVP_DigestInit(&ctx,EVP_sha1());
+- EVP_DigestUpdate(&ctx, data, length);
+- EVP_DigestFinal(&ctx, md,(unsigned int*) &len);
+- EVP_MD_CTX_cleanup(&ctx);
++ ctx = EVP_MD_CTX_new();
++ if (ctx == NULL) {
++ return xstrdup("liboauth/OpenSSL: failed to allocate EVP_MD_CTX");
++ }
++ EVP_DigestInit(ctx,EVP_sha1());
++ EVP_DigestUpdate(ctx, data, length);
++ EVP_DigestFinal(ctx, md,(unsigned int*) &len);
++ EVP_MD_CTX_free(ctx);
+ return oauth_body_hash_encode(len, md);
+ }
+
diff --git a/libraries/liboauth/liboauth.SlackBuild b/libraries/liboauth/liboauth.SlackBuild
index 819e22333a..984d7c95b1 100644
--- a/libraries/liboauth/liboauth.SlackBuild
+++ b/libraries/liboauth/liboauth.SlackBuild
@@ -1,6 +1,7 @@
-#!/bin/sh
+#!/bin/bash
-# Copyright (c) 2014, Симон Болоканов, Bulgaria <sbolokanov@abv.bg>
+# Copyright (c) 2014, S. S. Bolokanar, Bulgaria <bolokanar@bulgars.org>
+# С. С. Болоканаръ, България
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,31 @@
# Changelog:
# v1.0.3 - redone script completely and send to SBo
+# 20220418 bkw: Modified by SlackBuilds.org, BUILD=5:
+# - strip library.
+# - fix PRINT_PACKAGE_NAME when ARCH not set in environment.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liboauth
VERSION=${VERSION:-1.0.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-5}
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
NSS=${NSS:-no}
@@ -34,21 +56,20 @@ if [ "$NSS" = yes ]; then
OPTS="--enable-nss"
fi
-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=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -m32 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -m32 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -73,9 +94,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 {} \+
+
+# port to openssl-1.1.x
+patch -p1 < $CWD/liboauth-1.0.3-openssl-1.1.0-2.patch
# compile in clean dir
mkdir -v build
@@ -91,19 +115,19 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make DESTDIR=$PKG install
+make DESTDIR=$PKG install-strip
+gzip -9 $PKG/usr/man/man*/*
cd ..
mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog INSTALL README LICENSE.OpenSSL $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog README LICENSE.OpenSSL $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
+rm -f $PKG/usr/lib*/*.la
mkdir -pv $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liboauth/liboauth.info b/libraries/liboauth/liboauth.info
index 892f7b6105..4c0ec61d3f 100644
--- a/libraries/liboauth/liboauth.info
+++ b/libraries/liboauth/liboauth.info
@@ -6,5 +6,5 @@ MD5SUM="689b46c2b3ab1a39735ac33f714c4f7f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Симон Болоканов"
-EMAIL="sbolokanov@abv.bg"
+MAINTAINER="S. S. Bolokanar"
+EMAIL="bolokanar@bulgars.org"
diff --git a/libraries/libofa/libofa.SlackBuild b/libraries/libofa/libofa.SlackBuild
index ca60237541..404fc238d1 100644
--- a/libraries/libofa/libofa.SlackBuild
+++ b/libraries/libofa/libofa.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <libofa>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libofa
VERSION=${VERSION:-0.9.3}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -79,8 +89,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/libraries/libofx/libofx.SlackBuild b/libraries/libofx/libofx.SlackBuild
index 1749a7574e..f12e01d9f7 100644
--- a/libraries/libofx/libofx.SlackBuild
+++ b/libraries/libofx/libofx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libofx
#
@@ -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=libofx
VERSION=${VERSION:-0.9.11}
-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"
@@ -94,8 +104,10 @@ mv $PKG/usr/share/doc/libofx $PKG/usr/doc/$PRGNAM-$VERSION
rmdir $PKG/usr/share/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/libraries/liboglappth/README b/libraries/liboglappth/README
index e476afd828..943ef094ae 100644
--- a/libraries/liboglappth/README
+++ b/libraries/liboglappth/README
@@ -1,2 +1,3 @@
A library for creating portable OpenGL applications with easy-to-code
-scene setup and selection operations. It is part of the ghemical project.
+scene setup and selection operations. It is part of the ghemical
+project.
diff --git a/libraries/liboglappth/liboglappth.SlackBuild b/libraries/liboglappth/liboglappth.SlackBuild
index 6c8498c865..b05db20f7d 100644
--- a/libraries/liboglappth/liboglappth.SlackBuild
+++ b/libraries/liboglappth/liboglappth.SlackBuild
@@ -1,29 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liboglappth
# Written by Daniil Bratashov (dn2010@gmail.com)
+# 20220417 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - remove empty/useless files from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liboglappth
VERSION=${VERSION:-1.0.0}
-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"
LDFLAGS=""
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -51,9 +62,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" \
@@ -69,19 +80,16 @@ LDFLAGS="$LDFLAGS" \
--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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING 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/libraries/libolecf/README b/libraries/libolecf/README
index 4d57851d9e..8fdc2b6f16 100644
--- a/libraries/libolecf/README
+++ b/libraries/libolecf/README
@@ -1,5 +1,5 @@
libolecf (libYAL OLE 2 library)
-Library and tools to access the OLE 2 Compound File (OLECF) format. The OLE 2
-Compound File format is used to store certain versions of Microsoft Office
-files, thumbs.db and other file formats.
+Library and tools to access the OLE 2 Compound File (OLECF) format. The
+OLE 2 Compound File format is used to store certain versions of
+Microsoft Office files, thumbs.db and other file formats.
diff --git a/libraries/libolecf/libolecf.SlackBuild b/libraries/libolecf/libolecf.SlackBuild
index 5b5e356753..2b12719efc 100644
--- a/libraries/libolecf/libolecf.SlackBuild
+++ b/libraries/libolecf/libolecf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libolecf
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20221024, Aug 2023
-# Updated v20181231, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libolecf
-VERSION=${VERSION:-20181231}
+VERSION=${VERSION:-20221024}
STATUS=${STATUS:-alpha}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libolecf/libolecf.info b/libraries/libolecf/libolecf.info
index a3a689c3d8..15ac5f02ac 100644
--- a/libraries/libolecf/libolecf.info
+++ b/libraries/libolecf/libolecf.info
@@ -1,8 +1,8 @@
PRGNAM="libolecf"
-VERSION="20181231"
+VERSION="20221024"
HOMEPAGE="https://github.com/libyal/libolecf"
-DOWNLOAD="https://github.com/libyal/libolecf/releases/download/20181231/libolecf-alpha-20181231.tar.gz"
-MD5SUM="fe2bf4d84e62e7f3df80c95e2255a92d"
+DOWNLOAD="http://linuxleo.com/Source/libolecf-alpha-20221024.tar.gz"
+MD5SUM="82edef25aff0564f0ae1eee208f1147b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libomemo-c/README b/libraries/libomemo-c/README
new file mode 100644
index 0000000000..2c146e1303
--- /dev/null
+++ b/libraries/libomemo-c/README
@@ -0,0 +1,20 @@
+This is a fork of libsignal-protocol-c, an implementation of Signal's
+ratcheting forward secrecy protocol that works in synchronous and
+asynchronous messaging. The fork adds support for OMEMO as defined in
+XEP-0384 versions 0.3.0 and later.
+
+OMEMO version 0.3.0 uses the original libsignal-protocol-c
+implementation with its protocol versions 2 and 3.
+
+OMEMO version 0.4.0+ is implemented using a new protocol version 4
+internally.
+
+In comparison with protocol version 3, it changes:
+HKDF info strings
+Protocol buffer encoding
+Signature scheme (uses XEd25519 instead of custom
+"Curve25519 signatures")
+Specification-compliant double ratchet
+Support for Ed25519 public keys
+Various serializations
+Removes unused functionality
diff --git a/libraries/libomemo-c/libomemo-c.SlackBuild b/libraries/libomemo-c/libomemo-c.SlackBuild
new file mode 100644
index 0000000000..e348df4867
--- /dev/null
+++ b/libraries/libomemo-c/libomemo-c.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for libomemo-c
+
+# 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=libomemo-c
+VERSION=${VERSION:-0.5.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+COMMIT=8b6f2ebfe16c27e1037c9a3f4fcbb78ad9da10ea
+
+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-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$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} \
+ -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 \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libomemo-c/libomemo-c.info b/libraries/libomemo-c/libomemo-c.info
new file mode 100644
index 0000000000..4f1454bd49
--- /dev/null
+++ b/libraries/libomemo-c/libomemo-c.info
@@ -0,0 +1,10 @@
+PRGNAM="libomemo-c"
+VERSION="0.5.0"
+HOMEPAGE="https://github.com/dino/libomemo-c/"
+DOWNLOAD="https://github.com/dino/libomemo-c/archive/8b6f2ebfe16c27e1037c9a3f4fcbb78ad9da10ea/libomemo-c-8b6f2ebfe16c27e1037c9a3f4fcbb78ad9da10ea.tar.gz"
+MD5SUM="32c09f6bc1a2e43c0bcd3376037179f8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="protobuf-c"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.libomemo-c_2023-11-18@lockywolf.net"
diff --git a/libraries/libomemo-c/slack-desc b/libraries/libomemo-c/slack-desc
new file mode 100644
index 0000000000..c83608afe3
--- /dev/null
+++ b/libraries/libomemo-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------------------------------------------------------|
+libomemo-c: libomemo-c (Fork of libsignal-protocol-c for OMEMO XEP-0384 0.5.0+)
+libomemo-c:
+libomemo-c: This is a fork of libsignal-protocol-c, an implementation of Signal
+libomemo-c: ratcheting forward secrecy protocol that works in synchronous and
+libomemo-c: asynchronous messaging. The fork adds support for OMEMO as defined
+libomemo-c: in XEP-0384 versions 0.3.0 and later.
+libomemo-c:
+libomemo-c:
+libomemo-c:
+libomemo-c:
+libomemo-c:
diff --git a/libraries/liboop/README b/libraries/liboop/README
index 08dd15820a..7727ed461e 100644
--- a/libraries/liboop/README
+++ b/libraries/liboop/README
@@ -6,3 +6,7 @@ It replaces the "select() loop" and allows the registration of event
handlers for file and network I/O, timers and signals. Since processes
use these mechanisms for almost all external communication, liboop can
be used as the basis for almost any application.
+
+adns is optional dependency. When adns is installed, the script will
+build a liboop adns version. No additinal commands are needed.
+Configure will catch it automatically.
diff --git a/libraries/liboop/liboop.SlackBuild b/libraries/liboop/liboop.SlackBuild
index a0ce62f6d0..cfe6c7cf28 100644
--- a/libraries/liboop/liboop.SlackBuild
+++ b/libraries/liboop/liboop.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liboop
@@ -9,26 +9,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=liboop
-VERSION=${VERSION:-1.0}
+VERSION=${VERSION:-1.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}
-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"
@@ -56,6 +66,12 @@ 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 the configure etc so it can compile with Slackware's tcl.
+patch -p1 < $CWD/patches/tcl_dev.patch
+
+# Fool autotools so it won't complain and we can simple configure and make
+find . -exec touch -m {} +
+
# build including libwww adapter
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -69,7 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
-make -j1
+make
make install DESTDIR=$PKG
( cd $PKG || exit 1
@@ -77,8 +93,11 @@ make install DESTDIR=$PKG
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $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$TAG
@@ -86,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/libraries/liboop/liboop.info b/libraries/liboop/liboop.info
index 84d3176fb5..67d775c188 100644
--- a/libraries/liboop/liboop.info
+++ b/libraries/liboop/liboop.info
@@ -1,8 +1,8 @@
PRGNAM="liboop"
-VERSION="1.0"
-HOMEPAGE="http://liboop.ofb.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/liboop-1.0.tar.gz"
-MD5SUM="36cb971047d3af02369446f5e0b315a2"
+VERSION="1.0.1"
+HOMEPAGE="https://www.lysator.liu.se/liboop/"
+DOWNLOAD="https://ftp.lysator.liu.se/pub/liboop/liboop-1.0.1.tar.gz"
+MD5SUM="f2b3dff17355fd9a6e2229caca8993f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/liboop/patches/tcl_dev.patch b/libraries/liboop/patches/tcl_dev.patch
new file mode 100644
index 0000000000..8a93aeb502
--- /dev/null
+++ b/libraries/liboop/patches/tcl_dev.patch
@@ -0,0 +1,22 @@
+--- a/configure
++++ b/configure
+@@ -12666,7 +12666,7 @@ fi
+ fi
+
+ if test xno != x$with_tcl; then
+- for version in 8.4 8.3 8.2 8.1 8.0 ; do
++ for version in "" 8.4 8.3 8.2 8.1 8.0 ; do
+ CPPFLAGS="$save_cppflags -I/usr/include/tcl$version"
+ as_ac_Lib=`$as_echo "ac_cv_lib_tcl$version''_Tcl_Main" | $as_tr_sh`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl_Main in -ltcl$version" >&5
+--- a/configure.ac
++++ b/configure.ac
+@@ -71,7 +71,7 @@ if test xno != x$with_glib; then
+ fi
+
+ if test xno != x$with_tcl; then
+- for version in 8.4 8.3 8.2 8.1 8.0 ; do
++ for version in "" 8.4 8.3 8.2 8.1 8.0 ; do
+ CPPFLAGS="$save_cppflags -I/usr/include/tcl$version"
+ AC_CHECK_LIB(tcl$version,Tcl_Main,[
+ AC_CHECK_HEADER(tcl.h,[
diff --git a/libraries/libopenglrecorder/libopenglrecorder.SlackBuild b/libraries/libopenglrecorder/libopenglrecorder.SlackBuild
index 0031d0cc68..34d01a9781 100644
--- a/libraries/libopenglrecorder/libopenglrecorder.SlackBuild
+++ b/libraries/libopenglrecorder/libopenglrecorder.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libopenglrecorder
@@ -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=libopenglrecorder
VERSION=${VERSION:-0.1.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}
@@ -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/libraries/libopenmpt/README b/libraries/libopenmpt/README
new file mode 100644
index 0000000000..7573f7a1ac
--- /dev/null
+++ b/libraries/libopenmpt/README
@@ -0,0 +1,6 @@
+libopenmpt is a cross-platform C++ and C library to decode tracked
+music files (modules) into a raw PCM audio stream.
+Is based on the player code of the OpenMPT project (Open ModPlug
+Tracker).
+This script packages also openmpt123, a cross-platform command-line
+or terminal based module file player, shipped with the library.
diff --git a/libraries/libopenmpt/libopenmpt.SlackBuild b/libraries/libopenmpt/libopenmpt.SlackBuild
new file mode 100644
index 0000000000..80cca93571
--- /dev/null
+++ b/libraries/libopenmpt/libopenmpt.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libopenmpt
+
+# Copyright 2021-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=libopenmpt
+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=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+release.autotools
+tar xvf $CWD/$PRGNAM-$VERSION+release.autotools.tar.gz
+cd $PRGNAM-$VERSION+release.autotools
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ --enable-silent-rules \
+ --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
+
+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
diff --git a/libraries/libopenmpt/libopenmpt.info b/libraries/libopenmpt/libopenmpt.info
new file mode 100644
index 0000000000..33cf9624ec
--- /dev/null
+++ b/libraries/libopenmpt/libopenmpt.info
@@ -0,0 +1,10 @@
+PRGNAM="libopenmpt"
+VERSION="0.7.2"
+HOMEPAGE="https://lib.openmpt.org/"
+DOWNLOAD="https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.7.2+release.autotools.tar.gz"
+MD5SUM="eb08544fb401fcd5f409fa47026e4442"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="portaudio"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libopenmpt/slack-desc b/libraries/libopenmpt/slack-desc
new file mode 100644
index 0000000000..aa18695e29
--- /dev/null
+++ b/libraries/libopenmpt/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------------------------------------------------------|
+libopenmpt: libopenmpt (OpenMPT based module player library)
+libopenmpt:
+libopenmpt: libopenmpt is a cross-platform C++ and C library to decode tracked
+libopenmpt: music files (modules) into a raw PCM audio stream.
+libopenmpt: Is based on the player code of the OpenMPT project (Open ModPlug
+libopenmpt: Tracker).
+libopenmpt: This script packages also openmpt123, a cross-platform command-line
+libopenmpt: or terminal based module file player, shipped with the library.
+libopenmpt:
+libopenmpt: homepage: https://lib.openmpt.org
+libopenmpt:
diff --git a/libraries/libopenraw/README b/libraries/libopenraw/README
index 97b4cb9069..c9f61a4bfa 100644
--- a/libraries/libopenraw/README
+++ b/libraries/libopenraw/README
@@ -1,8 +1,10 @@
+libopenraw (a library for camera RAW file decoding)
+
libopenraw is an ongoing project to provide a free software
implementation for camera RAW files decoding. One of the main
-reason is that dcraw is not suited for easy integration into
+reasons is that dcraw is not suited for easy integration into
applications, and there is a need for an easy to use API to
build free software digital image processing application.
-It also has the goal to address missing feature from dcraw
+It also has the goal to address missing features from dcraw
like meta-data decoding and easy thumbnail extraction.
diff --git a/libraries/libopenraw/config.toml b/libraries/libopenraw/config.toml
new file mode 100644
index 0000000000..0236928964
--- /dev/null
+++ b/libraries/libopenraw/config.toml
@@ -0,0 +1,5 @@
+[source.crates-io]
+replace-with = "vendored-sources"
+
+[source.vendored-sources]
+directory = "vendor"
diff --git a/libraries/libopenraw/libopenraw.SlackBuild b/libraries/libopenraw/libopenraw.SlackBuild
index 7e3cc77c54..bbf5506468 100644
--- a/libraries/libopenraw/libopenraw.SlackBuild
+++ b/libraries/libopenraw/libopenraw.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libopenraw
# Copyright 2007-2011 Michiel van Wessem, Leicester, United Kingdom
-# Copyright 2019 B. Watson
+# Copyright 2019-2023 B. Watson
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,19 @@
# (INCLUDING NEGLIGENCE OR 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>
+
+# 20231005 bkw: update for v0.3.7.
+
+# 20230606 bkw: update for v0.3.5. upstream now provides the rust sources
+# in their tarball, so this script got a lot simpler.
+
+# 20230104 bkw: update for v0.3.3.
+
+# 20211124 bkw:
+# - update for v0.3.0. upstream started using rust, so:
+# - figure out how to use 'cargo vendor' so the build can be done
+# without network access. see mkvendored.sh for details.
# 20191231 bkw:
# - take over maintenance
@@ -35,10 +47,13 @@
# - --disable-static
# - add doinst.sh with update-gdk-pixbuf-loaders
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libopenraw
-VERSION=${VERSION:-0.1.3}
+VERSION=${VERSION:-0.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -48,7 +63,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,12 +92,29 @@ 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.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 {} \+
+# 20211124 bkw: prevent cargo from using the network.
+# this only works because we have a vendored sources tarball with
+# everything cargo would have downloaded.
+export CARGO_NET_OFFLINE=true
+
+# 20211124 bkw: prevent cargo from writing outside of $TMP
+export CARGO_HOME=$(pwd)/.cargo
+
+# 20230606 bkw: upstream includes the contents of the rust crates in
+# the tarball now, but we still need this stuff to make cargo actually
+# find them. probably if I were more familiar with rust and cargo, I
+# could come up with a simpler way to do this.
+for i in mp4 mp4/mp4parse mp4/mp4parse_capi; do
+ mkdir -p lib/$i/.cargo
+ cat $CWD/config.toml > lib/$i/.cargo/config.toml
+done
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -95,12 +131,16 @@ CXXFLAGS="$SLKCFLAGS" \
make V=1
make install-strip DESTDIR=$PKG
-# for whatever reason, upstream v0.0.9 calls itself v1.0 in pkg-config,
-# but v0.1.3 calls itself v0.1. this causes raw-thumbnailer builds to
-# fail. use symlinks as a workaround.
+# for whatever reason, upstream v0.0.9 calls itself v1.0 in
+# pkg-config, but v0.1.3 calls itself v0.1 (and v0.3.0 calls itself
+# v0.3). this causes raw-thumbnailer builds to fail. use symlinks as
+# a workaround.
+MMVER=$( echo $VERSION | cut -d. -f1,2 )
cd $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
for i in $PRGNAM $PRGNAM-gnome; do
- [ -e $i-0.1.pc ] && ln -s $i-0.1.pc $i-1.0.pc
+ pcfile=$i-$MMVER.pc
+ sed -i '/^Requires:/s,0\.1,'$MMVER',' $pcfile
+ ln -s $pcfile $i-1.0.pc
done
cd -
@@ -109,14 +149,17 @@ mkdir -p $PKG/usr/bin
install -s -m0755 -oroot -groot tools/.libs/ordiag $PKG/usr/bin
# the demos are example code, install just the sources.
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/demo
-cp -a AUTHORS COPYING* ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a demo/*.c demo/*.cpp $PKG/usr/doc/$PRGNAM-$VERSION/demo
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/demo
+cp -a AUTHORS COPYING* ChangeLog NEWS README RELEASE_NOTES TODO $PKGDOC
+cp -a demo/*.c demo/*.cpp $PKGDOC/demo
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+find $PKG/usr/lib$LIBDIRSUFFIX -name '*.la' -delete
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/libraries/libopenraw/libopenraw.info b/libraries/libopenraw/libopenraw.info
index e64dcae0d8..61ef4971d5 100644
--- a/libraries/libopenraw/libopenraw.info
+++ b/libraries/libopenraw/libopenraw.info
@@ -1,10 +1,10 @@
PRGNAM="libopenraw"
-VERSION="0.1.3"
+VERSION="0.3.7"
HOMEPAGE="https://libopenraw.freedesktop.org/libopenraw/"
-DOWNLOAD="http://libopenraw.freedesktop.org/download/libopenraw-0.1.3.tar.bz2"
-MD5SUM="ac147fea61af7e8a949e9cbeb5cb8aa5"
+DOWNLOAD="https://libopenraw.freedesktop.org/download/libopenraw-0.3.7.tar.bz2"
+MD5SUM="e86ffef428a7d547b0229a203a807113"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libopenshot-audio/README b/libraries/libopenshot-audio/README
index 243c48e8c2..166f83ca4d 100644
--- a/libraries/libopenshot-audio/README
+++ b/libraries/libopenshot-audio/README
@@ -1,3 +1,8 @@
-OpenShot Audio Library (libopenshot-audio) is a program that allows the
+OpenShot Audio Library (libopenshot-audio) is a library that allows the
high-quality editing and playback of audio, and is based on the amazing
JUCE library.
+
+By default, the API documentation is not built, as it's rather
+resource-intensive, and not required unless you're a developer. If
+you need the API docs, install graphviz, then run this build with
+APIDOC=yes in the environment.
diff --git a/libraries/libopenshot-audio/libopenshot-audio.SlackBuild b/libraries/libopenshot-audio/libopenshot-audio.SlackBuild
index 7f67a3c9ab..2533f78166 100644
--- a/libraries/libopenshot-audio/libopenshot-audio.SlackBuild
+++ b/libraries/libopenshot-audio/libopenshot-audio.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libopenshot-audio
-# Copyright 2016-2020 Christoph Willing Brisbane, Australia
+# Copyright 2016-2023 Christoph Willing Brisbane, Australia
# 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=libopenshot-audio
-VERSION=${VERSION:-0.1.9}
+VERSION=${VERSION:-0.3.2}
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}
@@ -65,9 +72,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 {} \+
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
mkdir -p build
cd build
@@ -75,26 +85,24 @@ cd build
-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
+ make install/strip DESTDIR=$PKG
+ if [ "${APIDOC:-no}" = "yes" ]; then
+ make doc
+ cp -a doc/html $PKGDOC/API
+ 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
-
-mv $PKG/usr/share/man $PKG/usr && 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
+mv $PKG/usr/share/man $PKG/usr
+gzip -9 $PKG/usr/man/man*/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share # 20220417 bkw: nothing left here but doc/
+cp -a AUTHORS COPYING 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libopenshot-audio/libopenshot-audio.info b/libraries/libopenshot-audio/libopenshot-audio.info
index 7a539000b8..45b5430443 100644
--- a/libraries/libopenshot-audio/libopenshot-audio.info
+++ b/libraries/libopenshot-audio/libopenshot-audio.info
@@ -1,8 +1,8 @@
PRGNAM="libopenshot-audio"
-VERSION="0.1.9"
+VERSION="0.3.2"
HOMEPAGE="https://github.com/OpenShot/libopenshot-audio"
-DOWNLOAD="https://github.com/OpenShot/libopenshot-audio/archive/v0.1.9/libopenshot-audio-0.1.9.tar.gz"
-MD5SUM="fc5c7b857c20f3fe48e3c05dcc96d5b9"
+DOWNLOAD="https://github.com/OpenShot/libopenshot-audio/archive/v0.3.2/libopenshot-audio-0.3.2.tar.gz"
+MD5SUM="0ddf9a6e49ea4e9a87c11f3b8e3f1282"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libopenshot/libopenshot.SlackBuild b/libraries/libopenshot/libopenshot.SlackBuild
index 3636b27ea6..bbbca9d82b 100644
--- a/libraries/libopenshot/libopenshot.SlackBuild
+++ b/libraries/libopenshot/libopenshot.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libopenshot
-# Copyright 2016-2020 Christoph Willing, Brisbane Australia
+# Copyright 2016-2023 Christoph Willing, Brisbane Australia
# 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=libopenshot
-VERSION=${VERSION:-0.2.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.3.2}
+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}
@@ -62,9 +69,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-patch -p1 < $CWD/limit-hwaccel.patch
-patch -p1 < $CWD/resolve-abs.patch
-cp -p $CWD/zmq.hpp include/
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,6 +76,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -e 's|CMAKE_CXX_STANDARD 14|CMAKE_CXX_STANDARD 17|' -i CMakeLists.txt
+#patch -p1 < $CWD/512.patch
mkdir -p build
cd build
cmake \
@@ -79,10 +85,10 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DZMQ_INCLUDE_DIR=$TMP/$PRGNAM-$VERSION/include \
-DENABLE_RUBY=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
+ make doc
make install DESTDIR=$PKG
cd ..
@@ -90,12 +96,12 @@ 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 INSTALL.md README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/API $PKG/usr/doc/$PRGNAM-$VERSION && rm -rf $PKG/usr/share
+cp -a AUTHORS INSTALL.md LICENSES 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/libraries/libopenshot/libopenshot.info b/libraries/libopenshot/libopenshot.info
index 32bf717cae..3625f7c8cc 100644
--- a/libraries/libopenshot/libopenshot.info
+++ b/libraries/libopenshot/libopenshot.info
@@ -1,12 +1,10 @@
PRGNAM="libopenshot"
-VERSION="0.2.4"
+VERSION="0.3.2"
HOMEPAGE="https://github.com/OpenShot/libopenshot"
-DOWNLOAD="https://github.com/OpenShot/libopenshot/archive/v0.2.4/libopenshot-0.2.4.tar.gz \
- https://raw.githubusercontent.com/zeromq/cppzmq/014628c/zmq.hpp"
-MD5SUM="91af3b0da2fbcffbef8fa78eeebec978 \
- 56f264ec5604a5576e0d836d89c38c77"
+DOWNLOAD="https://github.com/OpenShot/libopenshot/archive/v0.3.2/libopenshot-0.3.2.tar.gz"
+MD5SUM="75f25beb22296368ba2d54c2af615ef4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 python3 ffmpeg zeromq unittest-cpp libopenshot-audio"
+REQUIRES="cppzmq protobuf3 unittest-cpp libopenshot-audio"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/libraries/libopenshot/limit-hwaccel.patch b/libraries/libopenshot/limit-hwaccel.patch
deleted file mode 100644
index db6724228b..0000000000
--- a/libraries/libopenshot/limit-hwaccel.patch
+++ /dev/null
@@ -1,480 +0,0 @@
-From e74d71f5451c6f2be9c546d61fac412f2d55f851 Mon Sep 17 00:00:00 2001
-From: "FeRD (Frank Dana)" <ferdnyc@gmail.com>
-Date: Mon, 10 Feb 2020 01:50:31 -0500
-Subject: [PATCH] FFmpegReader/Writer: limit hwaccel to FFmpeg 3.4+
-
-Add a new #define HAVE_HW_ACCEL, which is only set on FFmpeg 3.4+,
-and use that to restrict the use of hw-accel features, leaving
-IS_FFMPEG_3_2 to determine only whether code is compatible with
-FFmpeg 3.2+.
----
- include/FFmpegReader.h | 7 ++--
- include/FFmpegUtilities.h | 4 +++
- src/FFmpegReader.cpp | 41 +++++++++++++----------
- src/FFmpegWriter.cpp | 70 +++++++++++++++++++++------------------
- 4 files changed, 68 insertions(+), 54 deletions(-)
-
-diff --git a/include/FFmpegReader.h b/include/FFmpegReader.h
-index 9faa86a3..cc782cd5 100644
---- a/include/FFmpegReader.h
-+++ b/include/FFmpegReader.h
-@@ -98,7 +98,7 @@ namespace openshot {
- AVFormatContext *pFormatCtx;
- int i, videoStream, audioStream;
- AVCodecContext *pCodecCtx, *aCodecCtx;
--#if (LIBAVFORMAT_VERSION_MAJOR >= 57)
-+#if HAVE_HW_ACCEL
- AVBufferRef *hw_device_ctx = NULL; //PM
- #endif
- AVStream *pStream, *aStream;
-@@ -147,12 +147,11 @@ namespace openshot {
- int64_t current_video_frame; // can't reliably use PTS of video to determine this
-
- int hw_de_supported = 0; // Is set by FFmpegReader
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- AVPixelFormat hw_de_av_pix_fmt = AV_PIX_FMT_NONE;
- AVHWDeviceType hw_de_av_device_type = AV_HWDEVICE_TYPE_NONE;
--#endif
--
- int IsHardwareDecodeSupported(int codecid);
-+#endif
-
- /// Check for the correct frames per second value by scanning the 1st few seconds of video packets.
- void CheckFPS();
-diff --git a/include/FFmpegUtilities.h b/include/FFmpegUtilities.h
-index c673305e..62d64df1 100644
---- a/include/FFmpegUtilities.h
-+++ b/include/FFmpegUtilities.h
-@@ -40,6 +40,10 @@
- #ifndef IS_FFMPEG_3_2
- #define IS_FFMPEG_3_2 (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 64, 101))
- #endif
-+
-+ #ifndef HAVE_HW_ACCEL
-+ #define HAVE_HW_ACCEL (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(57, 107, 100))
-+ #endif
-
- // Include the FFmpeg headers
- extern "C" {
-diff --git a/src/FFmpegReader.cpp b/src/FFmpegReader.cpp
-index 9234ecfe..b548fa8f 100644
---- a/src/FFmpegReader.cpp
-+++ b/src/FFmpegReader.cpp
-@@ -35,13 +35,13 @@
-
- #define ENABLE_VAAPI 0
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- #pragma message "You are compiling with experimental hardware decode"
- #else
- #pragma message "You are compiling only with software decode"
- #endif
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- #define MAX_SUPPORTED_WIDTH 1950
- #define MAX_SUPPORTED_HEIGHT 1100
-
-@@ -71,14 +71,14 @@ typedef struct VAAPIDecodeContext {
- enum AVPixelFormat surface_format;
- int surface_count;
- } VAAPIDecodeContext;
--#endif
--#endif
-+#endif // ENABLE_VAAPI
-+#endif // HAVE_HW_ACCEL
-
-
- using namespace openshot;
-
- int hw_de_on = 0;
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- AVPixelFormat hw_de_av_pix_fmt_global = AV_PIX_FMT_NONE;
- AVHWDeviceType hw_de_av_device_type_global = AV_HWDEVICE_TYPE_NONE;
- #endif
-@@ -153,7 +153,7 @@ bool AudioLocation::is_near(AudioLocation location, int samples_per_frame, int64
- return false;
- }
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
-
- // Get hardware pix format
- static enum AVPixelFormat get_hw_dec_format(AVCodecContext *ctx, const enum AVPixelFormat *pix_fmts)
-@@ -234,7 +234,7 @@ int FFmpegReader::IsHardwareDecodeSupported(int codecid)
- }
- return ret;
- }
--#endif
-+#endif // HAVE_HW_ACCEL
-
- void FFmpegReader::Open() {
- // Open reader if not already open
-@@ -287,7 +287,7 @@ void FFmpegReader::Open() {
- // If hw accel is selected but hardware cannot handle repeat with software decoding
- do {
- pCodecCtx = AV_GET_CODEC_CONTEXT(pStream, pCodec);
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_de_on && (retry_decode_open==2)) {
- // Up to here no decision is made if hardware or software decode
- hw_de_supported = IsHardwareDecodeSupported(pCodecCtx->codec_id);
-@@ -304,7 +304,7 @@ void FFmpegReader::Open() {
-
- // Init options
- av_dict_set(&opts, "strict", "experimental", 0);
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_de_on && hw_de_supported) {
- // Open Hardware Acceleration
- int i_decoder_hw = 0;
-@@ -433,13 +433,13 @@ void FFmpegReader::Open() {
- throw InvalidCodec("Hardware device create failed.", path);
- }
- }
--#endif
-+#endif // HAVE_HW_ACCEL
-
- // Open video codec
- if (avcodec_open2(pCodecCtx, pCodec, &opts) < 0)
- throw InvalidCodec("A video codec was found, but could not be opened.", path);
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_de_on && hw_de_supported) {
- AVHWFramesConstraints *constraints = NULL;
- void *hwconfig = NULL;
-@@ -449,7 +449,7 @@ void FFmpegReader::Open() {
- #if ENABLE_VAAPI
- ((AVVAAPIHWConfig *)hwconfig)->config_id = ((VAAPIDecodeContext *)(pCodecCtx->priv_data))->va_config;
- constraints = av_hwdevice_get_hwframe_constraints(hw_device_ctx,hwconfig);
--#endif
-+#endif // ENABLE_VAAPI
- if (constraints) {
- if (pCodecCtx->coded_width < constraints->min_width ||
- pCodecCtx->coded_height < constraints->min_height ||
-@@ -506,7 +506,7 @@ void FFmpegReader::Open() {
- }
- #else
- retry_decode_open = 0;
--#endif
-+#endif // HAVE_HW_ACCEL
- } while (retry_decode_open); // retry_decode_open
- // Free options
- av_dict_free(&opts);
-@@ -592,14 +592,14 @@ void FFmpegReader::Close() {
- if (info.has_video) {
- avcodec_flush_buffers(pCodecCtx);
- AV_FREE_CONTEXT(pCodecCtx);
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_de_on) {
- if (hw_device_ctx) {
- av_buffer_unref(&hw_device_ctx);
- hw_device_ctx = NULL;
- }
- }
--#endif
-+#endif // HAVE_HW_ACCEL
- }
- if (info.has_audio) {
- avcodec_flush_buffers(aCodecCtx);
-@@ -1100,19 +1100,22 @@ bool FFmpegReader::GetAVFrame() {
-
- ret = avcodec_send_packet(pCodecCtx, packet);
-
-+ #if HAVE_HW_ACCEL
- // Get the format from the variables set in get_hw_dec_format
- hw_de_av_pix_fmt = hw_de_av_pix_fmt_global;
- hw_de_av_device_type = hw_de_av_device_type_global;
--
-+ #endif // HAVE_HW_ACCEL
- if (ret < 0 || ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) {
- ZmqLogger::Instance()->AppendDebugMethod("FFmpegReader::GetAVFrame (Packet not sent)");
- }
- else {
- AVFrame *next_frame2;
-+ #if HAVE_HW_ACCEL
- if (hw_de_on && hw_de_supported) {
- next_frame2 = AV_ALLOCATE_FRAME();
- }
- else
-+ #endif // HAVE_HW_ACCEL
- {
- next_frame2 = next_frame;
- }
-@@ -1125,6 +1128,7 @@ bool FFmpegReader::GetAVFrame() {
- if (ret != 0) {
- ZmqLogger::Instance()->AppendDebugMethod("FFmpegReader::GetAVFrame (invalid return frame received)");
- }
-+ #if HAVE_HW_ACCEL
- if (hw_de_on && hw_de_supported) {
- int err;
- if (next_frame2->format == hw_de_av_pix_fmt) {
-@@ -1138,6 +1142,7 @@ bool FFmpegReader::GetAVFrame() {
- }
- }
- else
-+ #endif // HAVE_HW_ACCEL
- { // No hardware acceleration used -> no copy from GPU memory needed
- next_frame = next_frame2;
- }
-@@ -1151,9 +1156,11 @@ bool FFmpegReader::GetAVFrame() {
- (AVPixelFormat)(pStream->codecpar->format), info.width, info.height);
- }
- }
-+ #if HAVE_HW_ACCEL
- if (hw_de_on && hw_de_supported) {
- AV_FREE_FRAME(&next_frame2);
- }
-+ #endif // HAVE_HW_ACCEL
- }
- #else
- avcodec_decode_video2(pCodecCtx, next_frame, &frameFinished, packet);
-@@ -1169,7 +1176,7 @@ bool FFmpegReader::GetAVFrame() {
- av_picture_copy((AVPicture *) pFrame, (AVPicture *) next_frame, pCodecCtx->pix_fmt, info.width,
- info.height);
- }
--#endif
-+#endif // IS_FFMPEG_3_2
- }
-
- // deallocate the frame
-diff --git a/src/FFmpegWriter.cpp b/src/FFmpegWriter.cpp
-index 245bd9bd..8d060d77 100644
---- a/src/FFmpegWriter.cpp
-+++ b/src/FFmpegWriter.cpp
-@@ -35,7 +35,7 @@
-
- using namespace openshot;
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- #pragma message "You are compiling with experimental hardware encode"
- #else
- #pragma message "You are compiling only with software encode"
-@@ -44,7 +44,7 @@ using namespace openshot;
- // Multiplexer parameters temporary storage
- AVDictionary *mux_dict = NULL;
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- int hw_en_on = 1; // Is set in UI
- int hw_en_supported = 0; // Is set by FFmpegWriter
- AVPixelFormat hw_en_av_pix_fmt = AV_PIX_FMT_NONE;
-@@ -81,7 +81,7 @@ static int set_hwframe_ctx(AVCodecContext *ctx, AVBufferRef *hw_device_ctx, int6
- av_buffer_unref(&hw_frames_ref);
- return err;
- }
--#endif
-+#endif // HAVE_HW_ACCEL
-
- FFmpegWriter::FFmpegWriter(std::string path) :
- path(path), fmt(NULL), oc(NULL), audio_st(NULL), video_st(NULL), audio_pts(0), video_pts(0), samples(NULL),
-@@ -171,7 +171,7 @@ void FFmpegWriter::SetVideoOptions(bool has_video, std::string codec, Fraction f
- if (codec.length() > 0) {
- AVCodec *new_codec;
- // Check if the codec selected is a hardware accelerated codec
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- #if defined(__linux__)
- if (strstr(codec.c_str(), "_vaapi") != NULL) {
- new_codec = avcodec_find_encoder_by_name(codec.c_str());
-@@ -225,7 +225,7 @@ void FFmpegWriter::SetVideoOptions(bool has_video, std::string codec, Fraction f
- #endif //__linux__
- #else // not ffmpeg 3
- new_codec = avcodec_find_encoder_by_name(codec.c_str());
--#endif //IS_FFMPEG_3_2
-+#endif // HAVE_HW_ACCEL
- if (new_codec == NULL)
- throw InvalidCodec("A valid video codec could not be found for this file.", path);
- else {
-@@ -392,11 +392,11 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
- // This might be better in an extra methods as more options
- // and way to set quality are possible
- #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 39, 101)
-- #if IS_FFMPEG_3_2
-+ #if HAVE_HW_ACCEL
- if (hw_en_on) {
- av_opt_set_int(c->priv_data, "qp", std::min(std::stoi(value),63), 0); // 0-63
- } else
-- #endif
-+ #endif // HAVE_HW_ACCEL
- {
- switch (c->codec_id) {
- #if (LIBAVCODEC_VERSION_MAJOR >= 58)
-@@ -442,7 +442,7 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
- // This might be better in an extra methods as more options
- // and way to set quality are possible
- #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 39, 101)
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_en_on) {
- double mbs = 15000000.0;
- if (info.video_bit_rate > 0) {
-@@ -455,7 +455,7 @@ void FFmpegWriter::SetOption(StreamType stream, std::string name, std::string va
- }
- c->bit_rate = (int)(mbs);
- } else
--#endif
-+#endif // HAVE_HW_ACCEL
- {
- switch (c->codec_id) {
- #if (LIBAVCODEC_VERSION_MAJOR >= 58)
-@@ -955,16 +955,14 @@ void FFmpegWriter::flush_encoders() {
- // Close the video codec
- void FFmpegWriter::close_video(AVFormatContext *oc, AVStream *st)
- {
--#if IS_FFMPEG_3_2
-- // #if defined(__linux__)
-- if (hw_en_on && hw_en_supported) {
-- if (hw_device_ctx) {
-- av_buffer_unref(&hw_device_ctx);
-- hw_device_ctx = NULL;
-- }
-+#if HAVE_HW_ACCEL
-+ if (hw_en_on && hw_en_supported) {
-+ if (hw_device_ctx) {
-+ av_buffer_unref(&hw_device_ctx);
-+ hw_device_ctx = NULL;
- }
-- // #endif
--#endif
-+ }
-+#endif // HAVE_HW_ACCEL
- }
-
- // Close the audio codec
-@@ -1342,7 +1340,7 @@ void FFmpegWriter::open_video(AVFormatContext *oc, AVStream *st) {
- // Set number of threads equal to number of processors (not to exceed 16)
- video_codec->thread_count = std::min(FF_NUM_PROCESSORS, 16);
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_en_on && hw_en_supported) {
- //char *dev_hw = NULL;
- char adapter[256];
-@@ -1385,7 +1383,7 @@ void FFmpegWriter::open_video(AVFormatContext *oc, AVStream *st) {
- throw InvalidCodec("Could not create hwdevice", path);
- }
- }
--#endif
-+#endif // HAVE_HW_ACCEL
-
- /* find the video encoder */
- codec = avcodec_find_encoder_by_name(info.vcodec.c_str());
-@@ -1402,7 +1400,7 @@ void FFmpegWriter::open_video(AVFormatContext *oc, AVStream *st) {
- AVDictionary *opts = NULL;
- av_dict_set(&opts, "strict", "experimental", 0);
-
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_en_on && hw_en_supported) {
- video_codec->pix_fmt = hw_en_av_pix_fmt;
-
-@@ -1451,7 +1449,7 @@ void FFmpegWriter::open_video(AVFormatContext *oc, AVStream *st) {
- "width", info.width, "height", info.height, av_err2str(err), -1);
- }
- }
--#endif
-+#endif // HAVE_HW_ACCEL
-
- /* open the codec */
- if (avcodec_open2(video_codec, codec, &opts) < 0)
-@@ -1900,14 +1898,17 @@ void FFmpegWriter::process_video_packet(std::shared_ptr<Frame> frame) {
- frame_source = allocate_avframe(PIX_FMT_RGBA, source_image_width, source_image_height, &bytes_source, (uint8_t *) pixels);
- #if IS_FFMPEG_3_2
- AVFrame *frame_final;
-+ #if HAVE_HW_ACCEL
- if (hw_en_on && hw_en_supported) {
- frame_final = allocate_avframe(AV_PIX_FMT_NV12, info.width, info.height, &bytes_final, NULL);
-- } else {
-+ } else
-+ #endif // HAVE_HW_ACCEL
-+ {
- frame_final = allocate_avframe((AVPixelFormat)(video_st->codecpar->format), info.width, info.height, &bytes_final, NULL);
- }
- #else
- AVFrame *frame_final = allocate_avframe(video_codec->pix_fmt, info.width, info.height, &bytes_final, NULL);
--#endif
-+#endif // IS_FFMPEG_3_2
-
- // Fill with data
- AV_COPY_PICTURE_DATA(frame_source, (uint8_t *) pixels, PIX_FMT_RGBA, source_image_width, source_image_height);
-@@ -1977,7 +1978,7 @@ bool FFmpegWriter::write_video_packet(std::shared_ptr<Frame> frame, AVFrame *fra
-
- // Assign the initial AVFrame PTS from the frame counter
- frame_final->pts = write_video_count;
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_en_on && hw_en_supported) {
- if (!(hw_frame = av_frame_alloc())) {
- fprintf(stderr, "Error code: av_hwframe_alloc\n");
-@@ -1994,7 +1995,7 @@ bool FFmpegWriter::write_video_packet(std::shared_ptr<Frame> frame, AVFrame *fra
- }
- av_frame_copy_props(hw_frame, frame_final);
- }
--#endif
-+#endif // HAVE_HW_ACCEL
- /* encode the image */
- int got_packet_ptr = 0;
- int error_code = 0;
-@@ -2003,9 +2004,12 @@ bool FFmpegWriter::write_video_packet(std::shared_ptr<Frame> frame, AVFrame *fra
- int frameFinished = 0;
- int ret;
-
-+ #if HAVE_HW_ACCEL
- if (hw_en_on && hw_en_supported) {
- ret = avcodec_send_frame(video_codec, hw_frame); //hw_frame!!!
-- } else {
-+ } else
-+ #endif // HAVE_HW_ACCEL
-+ {
- ret = avcodec_send_frame(video_codec, frame_final);
- }
- error_code = ret;
-@@ -2062,8 +2066,8 @@ bool FFmpegWriter::write_video_packet(std::shared_ptr<Frame> frame, AVFrame *fra
- // got data back (so encode this frame)
- got_packet_ptr = 1;
- }
--#endif
--#endif
-+#endif // LIBAVFORMAT_VERSION_MAJOR >= 54
-+#endif // IS_FFMPEG_3_2
-
- /* if zero size, it means the image was buffered */
- if (error_code == 0 && got_packet_ptr) {
-@@ -2095,14 +2099,14 @@ bool FFmpegWriter::write_video_packet(std::shared_ptr<Frame> frame, AVFrame *fra
-
- // Deallocate packet
- AV_FREE_PACKET(&pkt);
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_en_on && hw_en_supported) {
- if (hw_frame) {
- av_frame_free(&hw_frame);
- hw_frame = NULL;
- }
- }
--#endif
-+#endif // HAVE_HW_ACCEL
- }
-
- // Success
-@@ -2125,11 +2129,11 @@ void FFmpegWriter::InitScalers(int source_width, int source_height) {
- // Init software rescalers vector (many of them, one for each thread)
- for (int x = 0; x < num_of_rescalers; x++) {
- // Init the software scaler from FFMpeg
--#if IS_FFMPEG_3_2
-+#if HAVE_HW_ACCEL
- if (hw_en_on && hw_en_supported) {
- img_convert_ctx = sws_getContext(source_width, source_height, PIX_FMT_RGBA, info.width, info.height, AV_PIX_FMT_NV12, scale_mode, NULL, NULL, NULL);
- } else
--#endif
-+#endif // HAVE_HW_ACCEL
- {
- img_convert_ctx = sws_getContext(source_width, source_height, PIX_FMT_RGBA, info.width, info.height, AV_GET_CODEC_PIXEL_FORMAT(video_st, video_st->codec), scale_mode,
- NULL, NULL, NULL);
diff --git a/libraries/libopenshot/resolve-abs.patch b/libraries/libopenshot/resolve-abs.patch
deleted file mode 100644
index 917a9f085c..0000000000
--- a/libraries/libopenshot/resolve-abs.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-commit e39a1fc809d21d64ef8b96fcba6b56f554ccb550
-Author: Christoph Willing <chris.willing@linux.com>
-Date: Mon Feb 10 18:28:56 2020 +1000
-
- Resolve ambiguous abs() call
-
- Signed-off-by: Christoph Willing <chris.willing@linux.com>
-
-diff --git a/src/KeyFrame.cpp b/src/KeyFrame.cpp
-index c54bc7d..457ed9b 100644
---- a/src/KeyFrame.cpp
-+++ b/src/KeyFrame.cpp
-@@ -71,7 +71,7 @@ namespace {
- }
- double const x = p0.X * B[0] + p1.X * B[1] + p2.X * B[2] + p3.X * B[3];
- double const y = p0.Y * B[0] + p1.Y * B[1] + p2.Y * B[2] + p3.Y * B[3];
-- if (abs(target - x) < allowed_error) {
-+ if (fabs(target - x) < allowed_error) {
- return y;
- }
- if (x > target) {
diff --git a/libraries/libopensmtpd/README b/libraries/libopensmtpd/README
new file mode 100644
index 0000000000..1e73ef9908
--- /dev/null
+++ b/libraries/libopensmtpd/README
@@ -0,0 +1,5 @@
+This library provides an event-based interface for writing OpenSMTPD
+filters. It is used, for example, by the dkimsign filter provided by the
+opensmtpd-filter-dkimsign package.
+
+mandoc is needed only at build time.
diff --git a/libraries/libopensmtpd/libopensmtpd.SlackBuild b/libraries/libopensmtpd/libopensmtpd.SlackBuild
new file mode 100644
index 0000000000..54c61ef350
--- /dev/null
+++ b/libraries/libopensmtpd/libopensmtpd.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for libopensmtpd
+
+# Copyright 2023, 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=libopensmtpd
+VERSION=${VERSION:-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
+
+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 -f Makefile.gnu
+make -f Makefile.gnu CFLAGS="$SLKCFLAGS" \
+ LIBDIR="/usr/lib${LIBDIRSUFFIX}" MANDIR="/usr/man/man3" \
+ install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+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
diff --git a/libraries/libopensmtpd/libopensmtpd.info b/libraries/libopensmtpd/libopensmtpd.info
new file mode 100644
index 0000000000..d6a328b309
--- /dev/null
+++ b/libraries/libopensmtpd/libopensmtpd.info
@@ -0,0 +1,10 @@
+PRGNAM="libopensmtpd"
+VERSION="0.7"
+HOMEPAGE="https://imperialat.at/dev/libopensmtpd/"
+DOWNLOAD="https://imperialat.at/releases/libopensmtpd-0.7.tar.gz"
+MD5SUM="17f934de839249396eff6069702e3dec"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="mandoc"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/libopensmtpd/slack-desc b/libraries/libopensmtpd/slack-desc
new file mode 100644
index 0000000000..225e1080e6
--- /dev/null
+++ b/libraries/libopensmtpd/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------------------------------------------------------|
+libopensmtpd: libopensmtpd (library for writing OpenSMTPD filters)
+libopensmtpd:
+libopensmtpd: This library provides an event-based interface for writing OpenSMTPD
+libopensmtpd: filters. It is used, for example, by the dkimsign filter provided by
+libopensmtpd: the opensmtpd-filter-dkimsign package.
+libopensmtpd:
+libopensmtpd:
+libopensmtpd: Homepage: https://imperialat.at/dev/libopensmtpd/
+libopensmtpd:
+libopensmtpd:
+libopensmtpd:
diff --git a/libraries/libopusenc/README b/libraries/libopusenc/README
deleted file mode 100644
index 44dab27110..0000000000
--- a/libraries/libopusenc/README
+++ /dev/null
@@ -1,2 +0,0 @@
-libopusenc is a library that provides an easy way to encode Ogg
-Opus files.
diff --git a/libraries/libopusenc/libopusenc.SlackBuild b/libraries/libopusenc/libopusenc.SlackBuild
deleted file mode 100644
index 199690a36a..0000000000
--- a/libraries/libopusenc/libopusenc.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libopusenc
-
-# Copyright 2017 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=libopusenc
-VERSION=${VERSION:-0.2.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 {} \;
-
-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-fixed-point \
- --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 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/libraries/libopusenc/libopusenc.info b/libraries/libopusenc/libopusenc.info
deleted file mode 100644
index 2347f6e5a3..0000000000
--- a/libraries/libopusenc/libopusenc.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libopusenc"
-VERSION="0.2.1"
-HOMEPAGE="https://opus-codec.org/"
-DOWNLOAD="https://archive.mozilla.org/pub/opus/libopusenc-0.2.1.tar.gz"
-MD5SUM="f038ea0f4168d184c76b42d293697c57"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="opus"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libopusenc/slack-desc b/libraries/libopusenc/slack-desc
deleted file mode 100644
index 041704af97..0000000000
--- a/libraries/libopusenc/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------------------------------------------------------|
-libopusenc: libopusenc (High-level Opus decoding library)
-libopusenc:
-libopusenc: libopusenc is a library that provides an easy way to encode Ogg
-libopusenc: Opus files.
-libopusenc:
-libopusenc:
-libopusenc:
-libopusenc: Project site: https://opus-codec.org/
-libopusenc:
-libopusenc:
-libopusenc:
diff --git a/libraries/liborcus/liborcus.SlackBuild b/libraries/liborcus/liborcus.SlackBuild
index f28834f9ae..1912f031b9 100644
--- a/libraries/liborcus/liborcus.SlackBuild
+++ b/libraries/liborcus/liborcus.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liborcus
@@ -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=liborcus
-VERSION=${VERSION:-0.15.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.17.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}
@@ -89,8 +99,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGELOG ChangeLog LICENSE 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/libraries/liborcus/liborcus.info b/libraries/liborcus/liborcus.info
index 761177a751..c87968f3da 100644
--- a/libraries/liborcus/liborcus.info
+++ b/libraries/liborcus/liborcus.info
@@ -1,8 +1,8 @@
PRGNAM="liborcus"
-VERSION="0.15.3"
+VERSION="0.17.1"
HOMEPAGE="https://gitlab.com/orcus/orcus"
-DOWNLOAD="https://kohei.us/files/orcus/src/liborcus-0.15.3.tar.xz"
-MD5SUM="2f59532dfcf8ba644d3c6a17d2cac584"
+DOWNLOAD="https://kohei.us/files/orcus/src/liborcus-0.17.1.tar.xz"
+MD5SUM="69e5d29745789a7635408f9fd6cabe61"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libixion"
diff --git a/libraries/liborigin/liborigin.SlackBuild b/libraries/liborigin/liborigin.SlackBuild
index 4d0ae7f7cb..88dd8e29c5 100644
--- a/libraries/liborigin/liborigin.SlackBuild
+++ b/libraries/liborigin/liborigin.SlackBuild
@@ -1,29 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liborigin
# Written by Daniil Bratashov (dn2010@gmail.com)
+# 20220417 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - do not create /usr/doc/$PRGNAM symlink.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=liborigin
VERSION=${VERSION:-2.0.0}
-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"
@@ -47,9 +58,9 @@ 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 \
+ -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
@@ -62,12 +73,9 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
-DBoost_LIBRARY_DIRS=/usr/lib64
make
- make install DESTDIR=$PKG
+ make install/strip 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
-
# libdir is hardcoded in various places
if [ "$LIBDIRSUFFIX" = "64" ]; then
mv $PKG/usr/lib $PKG/usr/lib64
@@ -79,11 +87,10 @@ rm $PKG/usr/lib${LIBDIRSUFFIX}/liborigin.a
mkdir -p $PKG/usr/doc
mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM )
rm -rf $PKG/usr/share
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/liborocos-kdl/liborocos-kdl.SlackBuild b/libraries/liborocos-kdl/liborocos-kdl.SlackBuild
index bb44d07bcf..cffc9c6acb 100644
--- a/libraries/liborocos-kdl/liborocos-kdl.SlackBuild
+++ b/libraries/liborocos-kdl/liborocos-kdl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Orocos Kinematics and Dynamics C++ library
@@ -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=liborocos-kdl
SRCPKG=orocos_kinematics_dynamics
VERSION=${VERSION:-1.4.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}
@@ -99,11 +109,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING README \
- $CWD/$PRGNAM.SlackBuild \
$PKG/usr/doc/$PRGNAM-$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/libraries/libosinfo/add_slackware_data.patch b/libraries/libosinfo/add_slackware_data.patch
deleted file mode 100644
index b3b3893a86..0000000000
--- a/libraries/libosinfo/add_slackware_data.patch
+++ /dev/null
@@ -1,222 +0,0 @@
-diff -Naur libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.0/slackware-14.0-install-dvd.iso.txt libosinfo-1.1.0/tests/isodata/slackware/slackware14.0/slackware-14.0-install-dvd.iso.txt
---- libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.0/slackware-14.0-install-dvd.iso.txt 1970-01-01 01:00:00.000000000 +0100
-+++ libosinfo-1.1.0/tests/isodata/slackware/slackware14.0/slackware-14.0-install-dvd.iso.txt 2018-03-15 19:16:35.443554000 +0100
-@@ -0,0 +1,33 @@
-+CD-ROM is in ISO 9660 format
-+System id: LINUX
-+Volume id: SlackDVD
-+Volume set id:
-+Publisher id:
-+Data preparer id:
-+Application id: Slackware 14.0 DVD
-+Copyright File id:
-+Abstract File id:
-+Bibliographic File id:
-+Volume set size is: 1
-+Volume set sequence number is: 1
-+Logical block size is: 2048
-+Volume size is: 1200676
-+El Torito VD version 1 found, boot catalog is in sector 681
-+
-+Joliet with UCS level 3 found.
-+SUSP signatures version 1 found
-+Rock Ridge signatures version 1 found
-+Rock Ridge id 'RRIP_1991A'
-+Eltorito validation header:
-+ Hid 1
-+ Arch 0 (x86)
-+ ID ''
-+ Cksum AA 55 OK
-+ Key 55 AA
-+ Eltorito defaultboot header:
-+ Bootid 88 (bootable)
-+ Boot media 0 (No Emulation Boot)
-+ Load segment 0
-+ Sys type 0
-+ Nsect 4
-+ Bootoff 2AA 682
-diff -Naur libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.0/slackware64-14.0-install-dvd.iso.txt libosinfo-1.1.0/tests/isodata/slackware/slackware14.0/slackware64-14.0-install-dvd.iso.txt
---- libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.0/slackware64-14.0-install-dvd.iso.txt 1970-01-01 01:00:00.000000000 +0100
-+++ libosinfo-1.1.0/tests/isodata/slackware/slackware14.0/slackware64-14.0-install-dvd.iso.txt 2018-03-15 19:16:35.443554000 +0100
-@@ -0,0 +1,33 @@
-+CD-ROM is in ISO 9660 format
-+System id: LINUX
-+Volume id: SlackDVD
-+Volume set id:
-+Publisher id:
-+Data preparer id:
-+Application id: Slackware64 14.0 DVD
-+Copyright File id:
-+Abstract File id:
-+Bibliographic File id:
-+Volume set size is: 1
-+Volume set sequence number is: 1
-+Logical block size is: 2048
-+Volume size is: 1177016
-+El Torito VD version 1 found, boot catalog is in sector 664
-+
-+Joliet with UCS level 3 found.
-+SUSP signatures version 1 found
-+Rock Ridge signatures version 1 found
-+Rock Ridge id 'RRIP_1991A'
-+Eltorito validation header:
-+ Hid 1
-+ Arch 0 (x86)
-+ ID ''
-+ Cksum AA 55 OK
-+ Key 55 AA
-+ Eltorito defaultboot header:
-+ Bootid 88 (bootable)
-+ Boot media 0 (No Emulation Boot)
-+ Load segment 0
-+ Sys type 0
-+ Nsect 4
-+ Bootoff 299 665
-diff -Naur libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.1/slackware-14.1-install-dvd.iso.txt libosinfo-1.1.0/tests/isodata/slackware/slackware14.1/slackware-14.1-install-dvd.iso.txt
---- libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.1/slackware-14.1-install-dvd.iso.txt 1970-01-01 01:00:00.000000000 +0100
-+++ libosinfo-1.1.0/tests/isodata/slackware/slackware14.1/slackware-14.1-install-dvd.iso.txt 2018-03-15 19:16:35.443554000 +0100
-@@ -0,0 +1,33 @@
-+CD-ROM is in ISO 9660 format
-+System id: LINUX
-+Volume id: SlackDVD
-+Volume set id:
-+Publisher id:
-+Data preparer id:
-+Application id: Slackware 14.1 DVD
-+Copyright File id:
-+Abstract File id:
-+Bibliographic File id:
-+Volume set size is: 1
-+Volume set sequence number is: 1
-+Logical block size is: 2048
-+Volume size is: 1213132
-+El Torito VD version 1 found, boot catalog is in sector 709
-+
-+Joliet with UCS level 3 found.
-+SUSP signatures version 1 found
-+Rock Ridge signatures version 1 found
-+Rock Ridge id 'RRIP_1991A'
-+Eltorito validation header:
-+ Hid 1
-+ Arch 0 (x86)
-+ ID ''
-+ Cksum AA 55 OK
-+ Key 55 AA
-+ Eltorito defaultboot header:
-+ Bootid 88 (bootable)
-+ Boot media 0 (No Emulation Boot)
-+ Load segment 0
-+ Sys type 0
-+ Nsect 4
-+ Bootoff 2C6 710
-diff -Naur libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.1/slackware64-14.1-install-dvd.iso.txt libosinfo-1.1.0/tests/isodata/slackware/slackware14.1/slackware64-14.1-install-dvd.iso.txt
---- libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.1/slackware64-14.1-install-dvd.iso.txt 1970-01-01 01:00:00.000000000 +0100
-+++ libosinfo-1.1.0/tests/isodata/slackware/slackware14.1/slackware64-14.1-install-dvd.iso.txt 2018-03-15 19:16:35.444554000 +0100
-@@ -0,0 +1,33 @@
-+CD-ROM is in ISO 9660 format
-+System id: LINUX
-+Volume id: SlackDVD
-+Volume set id:
-+Publisher id:
-+Data preparer id:
-+Application id: Slackware64 14.1 DVD
-+Copyright File id:
-+Abstract File id:
-+Bibliographic File id:
-+Volume set size is: 1
-+Volume set sequence number is: 1
-+Logical block size is: 2048
-+Volume size is: 1190715
-+El Torito VD version 1 found, boot catalog is in sector 698
-+
-+Joliet with UCS level 3 found.
-+SUSP signatures version 1 found
-+Rock Ridge signatures version 1 found
-+Rock Ridge id 'RRIP_1991A'
-+Eltorito validation header:
-+ Hid 1
-+ Arch 0 (x86)
-+ ID ''
-+ Cksum AA 55 OK
-+ Key 55 AA
-+ Eltorito defaultboot header:
-+ Bootid 88 (bootable)
-+ Boot media 0 (No Emulation Boot)
-+ Load segment 0
-+ Sys type 0
-+ Nsect 4
-+ Bootoff 58B 1419
-diff -Naur libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.2/slackware-14.2-install-dvd.iso.txt libosinfo-1.1.0/tests/isodata/slackware/slackware14.2/slackware-14.2-install-dvd.iso.txt
---- libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.2/slackware-14.2-install-dvd.iso.txt 1970-01-01 01:00:00.000000000 +0100
-+++ libosinfo-1.1.0/tests/isodata/slackware/slackware14.2/slackware-14.2-install-dvd.iso.txt 2018-03-15 19:16:35.444554000 +0100
-@@ -0,0 +1,33 @@
-+CD-ROM is in ISO 9660 format
-+System id: LINUX
-+Volume id: SlackDVD
-+Volume set id:
-+Publisher id:
-+Data preparer id:
-+Application id: Slackware 14.2 DVD
-+Copyright File id:
-+Abstract File id:
-+Bibliographic File id:
-+Volume set size is: 1
-+Volume set sequence number is: 1
-+Logical block size is: 2048
-+Volume size is: 1373842
-+El Torito VD version 1 found, boot catalog is in sector 745
-+
-+Joliet with UCS level 3 found.
-+SUSP signatures version 1 found
-+Rock Ridge signatures version 1 found
-+Rock Ridge id 'RRIP_1991A'
-+Eltorito validation header:
-+ Hid 1
-+ Arch 0 (x86)
-+ ID ''
-+ Cksum AA 55 OK
-+ Key 55 AA
-+ Eltorito defaultboot header:
-+ Bootid 88 (bootable)
-+ Boot media 0 (No Emulation Boot)
-+ Load segment 0
-+ Sys type 0
-+ Nsect 4
-+ Bootoff 2EA 746
-diff -Naur libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.2/slackware64-14.2-install-dvd.iso.txt libosinfo-1.1.0/tests/isodata/slackware/slackware14.2/slackware64-14.2-install-dvd.iso.txt
---- libosinfo-1.1.0.orig/tests/isodata/slackware/slackware14.2/slackware64-14.2-install-dvd.iso.txt 1970-01-01 01:00:00.000000000 +0100
-+++ libosinfo-1.1.0/tests/isodata/slackware/slackware14.2/slackware64-14.2-install-dvd.iso.txt 2018-03-15 19:16:35.444554000 +0100
-@@ -0,0 +1,33 @@
-+CD-ROM is in ISO 9660 format
-+System id: LINUX
-+Volume id: SlackDVD
-+Volume set id:
-+Publisher id:
-+Data preparer id:
-+Application id: Slackware64 14.2 DVD
-+Copyright File id:
-+Abstract File id:
-+Bibliographic File id:
-+Volume set size is: 1
-+Volume set sequence number is: 1
-+Logical block size is: 2048
-+Volume size is: 1354097
-+El Torito VD version 1 found, boot catalog is in sector 736
-+
-+Joliet with UCS level 3 found.
-+SUSP signatures version 1 found
-+Rock Ridge signatures version 1 found
-+Rock Ridge id 'RRIP_1991A'
-+Eltorito validation header:
-+ Hid 1
-+ Arch 0 (x86)
-+ ID ''
-+ Cksum AA 55 OK
-+ Key 55 AA
-+ Eltorito defaultboot header:
-+ Bootid 88 (bootable)
-+ Boot media 0 (No Emulation Boot)
-+ Load segment 0
-+ Sys type 0
-+ Nsect 4
-+ Bootoff 5B1 1457
diff --git a/libraries/libosinfo/libosinfo.SlackBuild b/libraries/libosinfo/libosinfo.SlackBuild
index fc3de0b18b..554d88da22 100644
--- a/libraries/libosinfo/libosinfo.SlackBuild
+++ b/libraries/libosinfo/libosinfo.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libosinfo
-# Copyright 2014-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2014-2024 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=libosinfo
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.11.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}
@@ -71,28 +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 {} \;
-# add slackware metadata
-patch -p1 < $CWD/add_slackware_data.patch
-
-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 \
- --disable-tests \
- --enable-vala \
- --enable-introspection=yes \
- --with-usb-ids-path=/usr/share/hwdata/usb.ids \
- --with-pci-ids-path=/usr/share/hwdata/pci.ids \
- --build=$ARCH-slackware-linux
-
-make
-make install 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 \
+ -D with-usb-ids-path=/usr/share/hwdata/usb.ids \
+ -D with-pci-ids-path=/usr/share/hwdata/pci.ids
+ "${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
@@ -108,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/libraries/libosinfo/libosinfo.info b/libraries/libosinfo/libosinfo.info
index 2ea47982f4..7cc6274254 100644
--- a/libraries/libosinfo/libosinfo.info
+++ b/libraries/libosinfo/libosinfo.info
@@ -1,10 +1,10 @@
PRGNAM="libosinfo"
-VERSION="1.6.0"
+VERSION="1.11.0"
HOMEPAGE="http://libosinfo.org"
-DOWNLOAD="https://releases.pagure.org/libosinfo/libosinfo-1.6.0.tar.gz"
-MD5SUM="f6d92dc26b1b641f59679e5eecb37887"
+DOWNLOAD="https://releases.pagure.org/libosinfo/libosinfo-1.11.0.tar.xz"
+MD5SUM="e7e586c0dd61aa73deff7fbe86473d64"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="osinfo-db vala"
+REQUIRES="osinfo-db"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libosmium/README b/libraries/libosmium/README
new file mode 100644
index 0000000000..4671354c83
--- /dev/null
+++ b/libraries/libosmium/README
@@ -0,0 +1,4 @@
+The Osmium Library has extensive support for all types of OSM entities:
+nodes, ways, relations, and changesets. It allows reading from and wri-
+ting to OSM files in XML, PBF, and several other formats, including
+change files and full history files.
diff --git a/libraries/libosmium/libosmium.SlackBuild b/libraries/libosmium/libosmium.SlackBuild
new file mode 100644
index 0000000000..bd68b3cf5b
--- /dev/null
+++ b/libraries/libosmium/libosmium.SlackBuild
@@ -0,0 +1,95 @@
+#!/bin/bash
+
+# Slackware build script for <libosmium>
+
+# Copyright 2024, Michales Michaloudes (clavisound), 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libosmium
+VERSION=${VERSION:-2.20.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
+
+TMP=${TMP:-/tmp/SBo}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+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 {} \;
+
+cd $TMP/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/
+cp -pR include $PKG/usr/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md CONTRIBUTING.md README.md LICENSE NOTES_FOR_DEVELOPERS.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libosmium/libosmium.info b/libraries/libosmium/libosmium.info
new file mode 100644
index 0000000000..1b9ea764c1
--- /dev/null
+++ b/libraries/libosmium/libosmium.info
@@ -0,0 +1,10 @@
+PRGNAM="libosmium"
+VERSION="2.20.0"
+HOMEPAGE="https://osmcode.org/libosmium/"
+DOWNLOAD="https://github.com/osmcode/libosmium/archive/v2.20.0/libosmium-2.20.0.tar.gz"
+MD5SUM="22499dc34abfe8e384825bb0d1befb13"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Michales Michaloudes"
+EMAIL="korgie@gmail.com"
diff --git a/libraries/libosmium/slack-desc b/libraries/libosmium/slack-desc
new file mode 100644
index 0000000000..0e6228763d
--- /dev/null
+++ b/libraries/libosmium/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------------------------------------------------------|
+libosmium: libosmium (C++ library for working with OpenStreetMap data)
+libosmium:
+libosmium: The Osmium Library has extensive support for all types of OSM enti-
+libosmium: ties: nodes, ways, relations, and changesets. It allows reading from
+libosmium: and writing to OSM files in XML, PBF, and several other formats,
+libosmium: including change files and full history files. Osmium can store OSM
+libosmium: data in memory and on disk in various formats and using various inde-
+libosmium: xes. Its easy to use handler interface allows you to quickly write da-
+libosmium: ta filtering and conversion functions. Osmium can create WKT, WKB,
+libosmium: OGR, GEOS and GeoJSON geometries for easy conversion into many GIS fo-
+libosmium: rmats and it can assemble multipolygons from ways and relations.
diff --git a/libraries/libosmo-dsp/libosmo-dsp.SlackBuild b/libraries/libosmo-dsp/libosmo-dsp.SlackBuild
index 9fe077fecc..47d1c08050 100644
--- a/libraries/libosmo-dsp/libosmo-dsp.SlackBuild
+++ b/libraries/libosmo-dsp/libosmo-dsp.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=libosmo-dsp
VERSION=${VERSION:-20170317}
-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}
@@ -89,8 +99,10 @@ cp -a AUTHORS 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/libraries/libotf/libotf.SlackBuild b/libraries/libotf/libotf.SlackBuild
index ce9a3cc154..7e2ce89d86 100644
--- a/libraries/libotf/libotf.SlackBuild
+++ b/libraries/libotf/libotf.SlackBuild
@@ -1,29 +1,58 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libotf
-# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2010-2020 Larry Hajali <larryhaja[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.
+
+# 20220301 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove useless INSTALL from doc dir.
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libotf
-VERSION=${VERSION:-0.9.13}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.9.16}
+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"
@@ -46,10 +75,10 @@ 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 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -60,19 +89,18 @@ CFLAGS="$SLKCFLAGS" \
--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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README \
+install -m0644 \
+ AUTHORS ChangeLog COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libotf/libotf.info b/libraries/libotf/libotf.info
index 494221cb68..ac064f12e4 100644
--- a/libraries/libotf/libotf.info
+++ b/libraries/libotf/libotf.info
@@ -1,8 +1,8 @@
PRGNAM="libotf"
-VERSION="0.9.13"
+VERSION="0.9.16"
HOMEPAGE="http://www.m17n.org/libotf/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/m17n/libotf-0.9.13.tar.gz"
-MD5SUM="99ca3857016e0bb8944776cfa16e6b2d"
+DOWNLOAD="https://download.savannah.gnu.org/releases/m17n/libotf-0.9.16.tar.gz"
+MD5SUM="9b0b708ba5de53bf83e1cb09c6a6e100"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libotr/README b/libraries/libotr/README
index b9555d2aaa..abdc380b36 100644
--- a/libraries/libotr/README
+++ b/libraries/libotr/README
@@ -2,9 +2,12 @@ libotr (OTR Messaging Library and Toolkit)
This is the portable OTR Messaging Library, as well as the toolkit to
help you forge messages.
+
OTR allows you to have private conversations over IM by providing:
+
- Encryption: No one else can read your instant messages.
- - Authentication: You are assured the correspondent is who you think it is.
+ - Authentication: You are assured the correspondent is who you think
+ it is.
- Deniability: The messages you send do not have digital signatures
- Perfect forward secrecy: If you lose control of your private keys,
no previous conversation is compromised.
diff --git a/libraries/libotr/libotr.SlackBuild b/libraries/libotr/libotr.SlackBuild
index 0f60719a18..f59f0d0015 100644
--- a/libraries/libotr/libotr.SlackBuild
+++ b/libraries/libotr/libotr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libotr
@@ -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=libotr
VERSION=${VERSION:-4.1.1}
-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"
@@ -94,8 +104,10 @@ cp -a README AUTHORS COPYING* ChangeLog INSTALL NEWS UPGRADING Protocol-v3.html
$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/libraries/libowfat/libowfat.SlackBuild b/libraries/libowfat/libowfat.SlackBuild
index 3eecc9a38f..32a8ffd4ae 100644
--- a/libraries/libowfat/libowfat.SlackBuild
+++ b/libraries/libowfat/libowfat.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libowfat
-# Copyright (c) 2010-2018 Markus Reichelt, Aachen, DE
+# Copyright (c) 2010-2023 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -23,13 +23,19 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
+# Markus Reichelt (email removed)
+# 20230708 bkw: BUILD=2
+# - new maintainer.
+# - allow DIET=no (because I will never remember to use uppercase NO).
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libowfat
-VERSION=${VERSION:-0.32}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.33}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,30 +45,22 @@ 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=""
- LIBARCH="i386"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- LIBARCH="i386"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- LIBARCH=$ARCH
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- LIBARCH="i386"
-fi
+# 20230708 bkw: why doesn't this just use lib and lib64? is it to comply
+# with some standard, or match some other distro's package? leave as-is
+# for now, pending investigation...
+LIBARCH="i386"
+[ "$ARCH" = "x86_64" -o "$ARCH" = "aarch64" ] && LIBARCH=$ARCH
-if [ "$DIET" = "NO" ]; then
+if [ "${DIET^^}" = "NO" ]; then
OPT="DIET="
else
OPT=""
@@ -77,39 +75,36 @@ 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 {} +
mkdir -p $PKG/opt/diet/man
-sed -i "s/CFLAGS=-pipe -W -Wall -O2 -fomit-frame-pointer/CFLAGS=$SLKCFLAGS/" GNUmakefile
-
+make headers
make Makefile
make $OPT
make install prefix=$PKG/opt/diet/ LIBDIR=$PKG/opt/diet/lib-$LIBARCH
+# 20230708 bkw: technically these profile scripts conflict with the
+# dietlibc package. However, they're identical in both packages, so
+# I don't see it as a problem.
mkdir -p $PKG/etc/profile.d
cat $CWD/profile.d/dietlibc.sh > $PKG/etc/profile.d/dietlibc.sh
cat $CWD/profile.d/dietlibc.csh > $PKG/etc/profile.d/dietlibc.csh
chmod 0755 $PKG/etc/profile.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
-
#avoid possible conflict - have a look at /etc/man.conf
mv $PKG/opt/diet/man/man3/buffer.3 $PKG/opt/diet/man/man3/buffer-libowfat.3
-find $PKG/opt/diet/man -type f -exec gzip -9 {} \;
+gzip -9 $PKG/opt/diet/man/*/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES* COPYING* README* TODO* $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* COPYING* 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libowfat/libowfat.info b/libraries/libowfat/libowfat.info
index 6253c78e97..716f3c9aff 100644
--- a/libraries/libowfat/libowfat.info
+++ b/libraries/libowfat/libowfat.info
@@ -1,10 +1,10 @@
PRGNAM="libowfat"
-VERSION="0.32"
+VERSION="0.33"
HOMEPAGE="http://www.fefe.de/libowfat/"
-DOWNLOAD="http://www.fefe.de/libowfat/libowfat-0.32.tar.xz"
-MD5SUM="ee015ccf45cb2bc61c942642038c2bdc"
+DOWNLOAD="http://www.fefe.de/libowfat/libowfat-0.33.tar.xz"
+MD5SUM="9a921504a478f3134873df8060cc0932"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libp11/README b/libraries/libp11/README
index e489d17640..9bd6b8c55f 100644
--- a/libraries/libp11/README
+++ b/libraries/libp11/README
@@ -1,4 +1,4 @@
libp11 - PKCS#11 wrapper library
-libp11 is a library implementing a thin layer on top of PKCS#11 API to make
-using PKCS#11 implementations easier.
+libp11 is a library implementing a thin layer on top of PKCS#11 API to
+make using PKCS#11 implementations easier.
diff --git a/libraries/libp11/libp11.SlackBuild b/libraries/libp11/libp11.SlackBuild
index 6e29bce8ea..6f5ae85677 100644
--- a/libraries/libp11/libp11.SlackBuild
+++ b/libraries/libp11/libp11.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libp11
@@ -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=libp11
VERSION=${VERSION:-0.4.9}
-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}
@@ -91,8 +101,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md NEWS 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/libraries/libpagemaker/libpagemaker.SlackBuild b/libraries/libpagemaker/libpagemaker.SlackBuild
index 397b3eb199..6df8b7c948 100644
--- a/libraries/libpagemaker/libpagemaker.SlackBuild
+++ b/libraries/libpagemaker/libpagemaker.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libpagemaker
@@ -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=libpagemaker
VERSION=${VERSION:-0.0.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}
@@ -95,8 +105,10 @@ cp -a AUTHORS COPYING ChangeLog HACKING NEWS NOTES 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/libraries/libpano13/libpano13.SlackBuild b/libraries/libpano13/libpano13.SlackBuild
index fe2c75fafb..c82f37f5d2 100644
--- a/libraries/libpano13/libpano13.SlackBuild
+++ b/libraries/libpano13/libpano13.SlackBuild
@@ -1,11 +1,10 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libpano13
#
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
-# Modified 2011 for version 2.9.18 by titopoquito
-# (titopoquito@gmail.com)
+# Modified 2011-2023 by titopoquito (titopoquito@gmail.com)
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -24,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=libpano13
-VERSION=${VERSION:-2.9.19}
+VERSION=${VERSION:-2.9.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 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,25 +80,30 @@ 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" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-gzip -9 $PKG/usr/man/man?/*.?
+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 ..
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
+mv $PKG/usr/share/man $PKG/usr/
+gzip -9 $PKG/usr/man/man?/*.?
+mv $PKG/usr/share/pano13/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -r $PKG/usr/share
+
+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/libraries/libpano13/libpano13.info b/libraries/libpano13/libpano13.info
index aede5a48cc..3bd267c512 100644
--- a/libraries/libpano13/libpano13.info
+++ b/libraries/libpano13/libpano13.info
@@ -1,8 +1,8 @@
PRGNAM="libpano13"
-VERSION="2.9.19"
+VERSION="2.9.22"
HOMEPAGE="http://panotools.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/panotools/libpano13-2.9.19.tar.gz"
-MD5SUM="1e4ce42f58a3f22c0a97d0b7a8e1dbb0"
+DOWNLOAD="http://downloads.sourceforge.net/panotools/libpano13-2.9.22.tar.gz"
+MD5SUM="303da79ebe5138aee57b0070e850898d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libpaper/README b/libraries/libpaper/README
index 78db9863a9..afd22c2803 100644
--- a/libraries/libpaper/README
+++ b/libraries/libpaper/README
@@ -1,7 +1,9 @@
libpaper is a library for handling paper characteristics.
-The libpaper paper-handling library automates recognition of many different
-paper types and sizes for programs that need to deal with printed output.
+The libpaper paper-handling library automates recognition of many
+different paper types and sizes for programs that need to deal with
+printed output.
Pass the variable PAPERSIZE=letter|a3|a4|... to the script to set the
preferred papersize (the default is a4).
+available sizes are listed in the buildscript
diff --git a/libraries/libpaper/libpaper.SlackBuild b/libraries/libpaper/libpaper.SlackBuild
index b1919ae701..75de6b67d3 100644
--- a/libraries/libpaper/libpaper.SlackBuild
+++ b/libraries/libpaper/libpaper.SlackBuild
@@ -1,18 +1,22 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libpaper
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+# Note: history shows first and last three version changes.
# Update by Tim Dickson (dickson.tim@googlemail.com) for 1.1.24+nmu4 version
-# 26/06/2017 updated by Tim Dickson for 1.1.24+nmu5 version
-# 10/02/2019 updated for 1.1.26
-# 25/06/2019 updated for 1.1.27
-# 25/06/2019 updated for 1.1.28
+# 16/10/2023 updated for 2.1.2
+# 31/01/2024 updated to 2.1.3 tidy up this history to show just first and last 3 changes
+# 14/03/2024 updated to 2.2.5
+# note: we use release source, as archive source misses out submodules.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libpaper
-VERSION=${VERSION:-1.1.28}
+VERSION=${VERSION:-2.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -22,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}
@@ -41,7 +52,8 @@ else
LIBDIRSUFFIX=""
fi
-# Set default papersize: a3, a4, a5, b5, letter, legal, executive, note, 11x17
+# Set default papersize: a3, a4, a5, b5, letter, legal, executive, note, 11x17 etc..
+# /etc/paperspecs contains the full list.
PAPERSIZE=${PAPERSIZE:-a4}
set -e
@@ -50,7 +62,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.gz"
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -58,12 +70,13 @@ find -L . \
-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 configure.ac for default paper size
-sed -i "s/PAPERSIZE=letter/PAPERSIZE=$PAPERSIZE/g" configure.ac
-autoreconf -i
+#patch configure.ac to allow with slackware's autoconf version
+sed -i "s/2.71/2.69/g" configure.ac
+#autoreconf -i -f
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --enable-relocatable \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -74,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
# Create a /etc/papersize default file
mkdir -p $PKG/etc
echo $PAPERSIZE > $PKG/etc/papersize.new
@@ -88,7 +101,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYING ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md COPYING COPYING-GPL-3 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -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/libraries/libpaper/libpaper.info b/libraries/libpaper/libpaper.info
index cc5085bd66..b36fabcf4e 100644
--- a/libraries/libpaper/libpaper.info
+++ b/libraries/libpaper/libpaper.info
@@ -1,8 +1,8 @@
PRGNAM="libpaper"
-VERSION="1.1.28"
-HOMEPAGE="https://packages.qa.debian.org/libp/libpaper.html"
-DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/libpaper/1.1.28/libpaper_1.1.28.tar.gz"
-MD5SUM="58dcdb3e1074f571b86d0ee937ed0072"
+VERSION="2.2.5"
+HOMEPAGE="https://github.com/rrthomas/libpaper"
+DOWNLOAD="https://github.com/rrthomas/libpaper/releases/download/v2.2.5/libpaper-2.2.5.tar.gz"
+MD5SUM="4b914c3ca6d8277260fce418e12bae6b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libpar2/README b/libraries/libpar2/README
index 059381a1f3..d11dddf72d 100644
--- a/libraries/libpar2/README
+++ b/libraries/libpar2/README
@@ -1,6 +1,7 @@
-libpar2 allows for the generation, modification, verification of PAR v1.0
-and PAR v2.0(PAR2) sets used for recovery when data is lost or corrupted. When
-used with collections of files, some missing files can be regenerated.
+libpar2 allows for the generation, modification, verification of PAR
+v1.0 and PAR v2.0(PAR2) sets used for recovery when data is lost or
+corrupted. When used with collections of files, some missing files can
+be regenerated.
-The code was initially extracted from the program par2cmdline (also available
-at SlackBuilds) to allow developers to use it.
+The code was initially extracted from the program par2cmdline (also
+available at SlackBuilds) to allow developers to use it.
diff --git a/libraries/libpar2/libpar2.SlackBuild b/libraries/libpar2/libpar2.SlackBuild
index e92dd502d4..d945074132 100644
--- a/libraries/libpar2/libpar2.SlackBuild
+++ b/libraries/libpar2/libpar2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libpar2".
@@ -25,26 +25,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.
+# 20220417 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - get rid of empty NEWS and useless INSTALL in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libpar2
VERSION=${VERSION:-0.4}
-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"
@@ -68,9 +78,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
@@ -88,14 +98,15 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README PORTING ROADMAP \
+install -m0644 \
+ AUTHORS COPYING ChangeLog README PORTING ROADMAP \
$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 {} \;
+
+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/libraries/libpeas/README b/libraries/libpeas/README
index 4b4b051b1e..8bd910515e 100644
--- a/libraries/libpeas/README
+++ b/libraries/libpeas/README
@@ -5,6 +5,5 @@ It also has a set of features including, but not limited to:
- on demand (lazy) programming language support for C, Python and JS
- simplicity of the API
-python3 is an optional (autodetected) dependency.
-other two are lgi and luajit: if you have both in you system just the
-second is used.
+lgi and luajit are autodetected optional dependencies: if you have
+both in your system, only the second is used.
diff --git a/libraries/libpeas/libpeas.SlackBuild b/libraries/libpeas/libpeas.SlackBuild
index 9ab50bcfec..0474636a4d 100644
--- a/libraries/libpeas/libpeas.SlackBuild
+++ b/libraries/libpeas/libpeas.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libpeas
-# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=libpeas
-VERSION=${VERSION:-1.16.0}
+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=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"
@@ -53,7 +63,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog NEWS README"
+DOCS="AUTHORS COPYING NEWS README"
set -e
@@ -70,22 +80,23 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed -i -e 's|"lua5.1 |"lua |' -e 's|with_lua51=lua5.1|with_lua51=lua|' configure
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-gtk \
- --build=$ARCH-slackware-linux
-
-make
-make install 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 \
+ -Dvapi=true \
+ -Dgtk_doc=true
+ "${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
@@ -99,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/libraries/libpeas/libpeas.info b/libraries/libpeas/libpeas.info
index f9c6dac566..3c9030e75c 100644
--- a/libraries/libpeas/libpeas.info
+++ b/libraries/libpeas/libpeas.info
@@ -1,8 +1,8 @@
PRGNAM="libpeas"
-VERSION="1.16.0"
+VERSION="1.30.0"
HOMEPAGE="https://wiki.gnome.org/Projects/Libpeas"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libpeas/1.16/libpeas-1.16.0.tar.xz"
-MD5SUM="48c5b3da391da1ae390e9d45d88a6aeb"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libpeas/1.30/libpeas-1.30.0.tar.xz"
+MD5SUM="60b9d9fe2ee9dd518fb12d5d404e296a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libpff/README b/libraries/libpff/README
index f970d16b67..172fb1a589 100644
--- a/libraries/libpff/README
+++ b/libraries/libpff/README
@@ -1,7 +1,7 @@
libpff (libYAL PFF library)
-Library and tools to access the Personal Folder File (PFF) and the Offline
-Folder File (OFF) format.
+Library and tools to access the Personal Folder File (PFF) and the
+Offline Folder File (OFF) format.
PFF/OFF is used in several file types:
@@ -13,7 +13,7 @@ Supported formats:
-32-bit ANSI (string)
-64-bit Unicode (string)
--64-bit with 4k pages with DEFLATE compression (Compressed OST files)
+-64-bit with 4k pages with DEFLATE compression (Compressed OST files)
Additional features:
diff --git a/libraries/libpff/libpff.SlackBuild b/libraries/libpff/libpff.SlackBuild
index 583bdbc1dc..61a9ab159b 100644
--- a/libraries/libpff/libpff.SlackBuild
+++ b/libraries/libpff/libpff.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libpff
-
-# Copyright 2014-2016 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2022 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated v20211114 May 2022
-# Updated v20161119 November 2016 Barry J. Grundy <bgrundy(at)linuxleo.com
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libpff
-VERSION=${VERSION:-20161119}
-STATUS=${STATUS:-experimental}
+VERSION=${VERSION:-20211114}
+STATUS=${STATUS:-alpha}
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"
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS ChangeLog 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/libraries/libpff/libpff.info b/libraries/libpff/libpff.info
index f67cc75b70..6bb0590d12 100644
--- a/libraries/libpff/libpff.info
+++ b/libraries/libpff/libpff.info
@@ -1,8 +1,8 @@
PRGNAM="libpff"
-VERSION="20161119"
+VERSION="20211114"
HOMEPAGE="https://github.com/libyal/libpff"
-DOWNLOAD="https://github.com/libyal/libpff/releases/download/20161119/libpff-experimental-20161119.tar.gz"
-MD5SUM="55e5f032f0e36b6d0bb8f580792b8ad7"
+DOWNLOAD="https://linuxleo.com/Source/libpff-alpha-20211114.tar.gz"
+MD5SUM="6046dc44808125d319f4f860134ede3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libpgf/libpgf.SlackBuild b/libraries/libpgf/libpgf.SlackBuild
index 34c3bc6da9..47f5f3c297 100644
--- a/libraries/libpgf/libpgf.SlackBuild
+++ b/libraries/libpgf/libpgf.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Copyright 2012-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2012-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,11 +20,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:
+# - remove dos2unix dep.
+# - move API docs to correct Slackware doc dir (no more /usr/share/doc).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libpgf
-SRCNAM=libPGF-codec-and-console-src
-VERSION=${VERSION:-7.19.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-7.21.7}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,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}
@@ -58,19 +68,25 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf libPGF-codec-and-console-src
-unzip $CWD/$SRCNAM.zip
-cd libPGF-codec-and-console-src/PGF/Codec
+rm -rf $PRGNAM
+unzip $CWD/$PRGNAM.zip
+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 {} \+
+
+sed -i "s|7.15.32|$VERSION|g" configure.ac
+touch README
-fromdos < configure.ac > configure.ac.new
-mv configure.ac.new configure.ac
-sh ./autogen.sh
+# 20220421 bkw: perl ships with Slackware, use it instead of dos2unix.
+perl -i -pe 's,\r,,' *.{am,ac,in,sh} */*.{am,in}
+
+#sed -i -e "/HAS_DOXYGEN/{N;N;d}" Makefile.am
+
+autoreconf -i
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -80,20 +96,22 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/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 -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+if [ -e $PKG/usr/share/doc/$PRGNAM-$VERSION ]; then
+ mv $PKG/usr/share/doc/$PRGNAM-$VERSION/html $PKG/usr/doc/$PRGNAM-$VERSION
+fi
+rm -rf $PKG/usr/share
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libpgf/libpgf.info b/libraries/libpgf/libpgf.info
index 600285a30d..4d238cc4ac 100644
--- a/libraries/libpgf/libpgf.info
+++ b/libraries/libpgf/libpgf.info
@@ -1,8 +1,8 @@
PRGNAM="libpgf"
-VERSION="7.19.3"
+VERSION="7.21.7"
HOMEPAGE="http://www.libpgf.org"
-DOWNLOAD="https://sourceforge.net/projects/libpgf/files/libpgf/7.19.3-latest/libPGF-codec-and-console-src.zip"
-MD5SUM="795e3c1816f107ca3d763a6f40424fd3"
+DOWNLOAD="https://downloads.sourceforge.net/project/libpgf/libpgf/7.21.7/libpgf.zip"
+MD5SUM="6e956fc3575a9047bafc2782ec17041f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libphdi/README b/libraries/libphdi/README
new file mode 100644
index 0000000000..c9319d4cbb
--- /dev/null
+++ b/libraries/libphdi/README
@@ -0,0 +1,27 @@
+libphdi is a library to access the Parallels Hard Disk image (PHDI)
+format.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+Read supported file formats:
+
+* Version 2
+
+Supported image types:
+
+* Fixed-size (plain) hard disk image
+* Dynamic-size (expanding) hard disk image
+* Split hard disk image
+* Differential (or differencing) hard disk image
+
+Unsupported format features:
+
+* Version 1
+* Snapshots
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libphdi/wiki/Home
diff --git a/libraries/libphdi/libphdi.SlackBuild b/libraries/libphdi/libphdi.SlackBuild
new file mode 100644
index 0000000000..4d3c92648f
--- /dev/null
+++ b/libraries/libphdi/libphdi.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libphdi
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Updated for version 20221025 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libphdi
+VERSION=${VERSION:-20221025}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libphdi/libphdi.info b/libraries/libphdi/libphdi.info
new file mode 100644
index 0000000000..ad8a3c01d9
--- /dev/null
+++ b/libraries/libphdi/libphdi.info
@@ -0,0 +1,10 @@
+PRGNAM="libphdi"
+VERSION="20221025"
+HOMEPAGE="https://github.com/libyal/libphdi"
+DOWNLOAD="https://linuxleo.com/Source/libphdi-experimental-20221025.tar.gz"
+MD5SUM="ed8468f89813fe92cc2eb2374d7c668a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libphdi/slack-desc b/libraries/libphdi/slack-desc
new file mode 100644
index 0000000000..f269234514
--- /dev/null
+++ b/libraries/libphdi/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------------------------------------------------------|
+libphdi: libphdi (libYAL library to access the PHDI image format)
+libphdi:
+libphdi:
+libphdi: Library to access the Parallels Hard Disk image (PHDI) format.
+libphdi:
+libphdi:
+libphdi: Homepage: https://github.com/libyal/libphdi
+libphdi:
+libphdi:
+libphdi:
+libphdi:
diff --git a/libraries/libpinyin/README b/libraries/libpinyin/README
deleted file mode 100644
index e985b2be06..0000000000
--- a/libraries/libpinyin/README
+++ /dev/null
@@ -1,4 +0,0 @@
-libpinyin is a library for dealing with pinyin.
-
-The libpinyin project aims to provide the algorithms core for
-intelligent sentence-based Chinese pinyin input methods.
diff --git a/libraries/libpinyin/libpinyin.SlackBuild b/libraries/libpinyin/libpinyin.SlackBuild
deleted file mode 100644
index ac63384f86..0000000000
--- a/libraries/libpinyin/libpinyin.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libpinyin
-#
-# Copyright 2019 Isaac Yu <isaacyu1@isaacyu1.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=libpinyin
-VERSION=${VERSION:-2.3.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 {} \;
-
-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-dbm=KyotoCabinet \
- --enable-libzhuyin
-
-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 ChangeLog INSTALL 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/libraries/libpinyin/libpinyin.info b/libraries/libpinyin/libpinyin.info
deleted file mode 100644
index c23d33f87c..0000000000
--- a/libraries/libpinyin/libpinyin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libpinyin"
-VERSION="2.3.0"
-HOMEPAGE="https://github.com/libpinyin/libpinyin"
-DOWNLOAD="https://github.com/libpinyin/libpinyin/releases/download/2.3.0/libpinyin-2.3.0.tar.gz"
-MD5SUM="89ae0068a9c96361c0a9e1db60ae5184"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="kyotocabinet"
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
diff --git a/libraries/libpinyin/slack-desc b/libraries/libpinyin/slack-desc
deleted file mode 100644
index c4784f3236..0000000000
--- a/libraries/libpinyin/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------------------------------------------------------|
-libpinyin: libpinyin (Chinese input method library)
-libpinyin:
-libpinyin: libpinyin is a library for dealing with pinyin. The libpinyin project
-libpinyin: aims to provide the algorithms core for intelligent sentence-based
-libpinyin: Chinese pinyin input methods.
-libpinyin:
-libpinyin: Homepage: https://github.com/libpinyin/libpinyin
-libpinyin:
-libpinyin:
-libpinyin:
-libpinyin:
diff --git a/libraries/libpng-legacy12/README b/libraries/libpng-legacy12/README
index aff297407c..72633713ef 100644
--- a/libraries/libpng-legacy12/README
+++ b/libraries/libpng-legacy12/README
@@ -7,8 +7,8 @@ This build provides libpng12.so, occasionally needed for running older
binary-only software. It can safely be installed without conflicting
with Slackware's own libpng (which is version 1.6).
-Rather than compiling libpng-1.2, this build simply repackages the latest
-official binary from Slackware 14.1's patches/.
+Rather than compiling libpng-1.2, this build simply repackages the
+latest official binary from Slackware 14.1's patches/.
If you're looking for libpng-1.4, it's already provided in Slackware's
-aaa_elflibs package (as libpng14.so).
+aaa_libraries package (as libpng14.so).
diff --git a/libraries/libpng-legacy12/libpng-legacy12.SlackBuild b/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
index 7e2faac2bf..e05777da4b 100644
--- a/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
+++ b/libraries/libpng-legacy12/libpng-legacy12.SlackBuild
@@ -1,43 +1,55 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libpng-legacy12
-# 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.
+# 20220125 bkw: BUILD=2, get rid of .la file. Nothing that depends on
+# this needs it, and it might come back to bite us someday...
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libpng-legacy12
VERSION=${VERSION:-1.2.57}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
UPSTREAM_VER=${UPSTREAM_VER:-1.4.20}
UPSTREAM_BUILD=${UPSTREAM_BUILD:-1}
UPSTREAM_TAG=${UPSTREAM_TAG:-_slack14.1}
-# N.B. do NOT change i486 to i586 here, since this is a repack
-# of a Slack 14.1 package.
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
+ i?86) ARCH=i586 ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# We reset ARCH to i486 if it's i586 or i686, to match Slack 14.1's ARCH.
-case "$ARCH" in
- i?86) LIBDIRSUFFIX=""; ARCH=i486 ;;
- x86_64) LIBDIRSUFFIX="64" ;;
- *) echo "Warning: unrecognized ARCH '$ARCH'" ;;
-esac
+if [ "$ARCH" = "x86_64" ]; then
+ SRCARCH=$ARCH
+ LIBDIRSUFFIX="64"
+ # 2023-05-17 DW: allow any x86
+elif [[ $ARCH = i?86 ]]; then
+ SRCARCH=i486
+ LIBDIRSUFFIX=
+else
+ echo "$ARCH architecture is unsupported." >/dev/stderr
+ exit 1
+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
OUTPUT=${OUTPUT:-/tmp}
-UPSTREAM=libpng-$UPSTREAM_VER-$ARCH-$UPSTREAM_BUILD$UPSTREAM_TAG
+UPSTREAM=libpng-$UPSTREAM_VER-$SRCARCH-$UPSTREAM_BUILD$UPSTREAM_TAG
set -e
@@ -52,7 +64,6 @@ tar xvf $CWD/$UPSTREAM.txz
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
cp -a \
./usr/lib$LIBDIRSUFFIX/libpng12.so.*.*.* \
- ./usr/lib$LIBDIRSUFFIX/libpng12.la \
$PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -66,4 +77,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
grep libpng12.so ./install/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/libraries/libpng-legacy12/libpng-legacy12.info b/libraries/libpng-legacy12/libpng-legacy12.info
index 9180909520..649ac29504 100644
--- a/libraries/libpng-legacy12/libpng-legacy12.info
+++ b/libraries/libpng-legacy12/libpng-legacy12.info
@@ -1,10 +1,10 @@
PRGNAM="libpng-legacy12"
VERSION="1.2.57"
HOMEPAGE="http://www.libpng.org/pub/png/libpng.html"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/libpng-1.4.20-i486-1_slack14.1.txz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/libpng-1.4.20-i486-1_slack14.1.txz"
MD5SUM="c706d0ab66ee2ef36570daf8f6bddd0a"
-DOWNLOAD_x86_64="http://ponce.cc/slackware/sources/repo/libpng-1.4.20-x86_64-1_slack14.1.txz"
+DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/libpng-1.4.20-x86_64-1_slack14.1.txz"
MD5SUM_x86_64="0dab89c2e0203c5d81f99d53a83adf76"
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libpoly/README b/libraries/libpoly/README
new file mode 100644
index 0000000000..64b6fe3226
--- /dev/null
+++ b/libraries/libpoly/README
@@ -0,0 +1,10 @@
+ LibPoly is a C library for manipulating polynomials. The target
+applications are symbolic reasoning engines, such as SMT solvers,
+that need to reason about polynomial constraints. It is research
+software under development, so the features and the API might
+change rapidly.
+
+
+ If you want to build the python API, set PYTHON=yes to the
+environment variables. By default it uses python2, if you want to
+use python3 set PYTHON3=yes.
diff --git a/libraries/libpoly/libpoly.SlackBuild b/libraries/libpoly/libpoly.SlackBuild
new file mode 100644
index 0000000000..094aa4a8b3
--- /dev/null
+++ b/libraries/libpoly/libpoly.SlackBuild
@@ -0,0 +1,145 @@
+#!/bin/bash
+
+# Slackware build script for libpoly
+
+# 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=libpoly
+VERSION=${VERSION:-0.1.11}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=yices-$VERSION-src
+
+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 [ "${PYTHON:-no}" == "yes" ]; then
+ OPT_BUILD="-DLIBPOLY_BUILD_PYTHON_API=ON"
+else
+ OPT_BUILD="-DLIBPOLY_BUILD_PYTHON_API=OFF"
+fi
+
+if [ "${PYTHON3:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DPython_ADDITIONAL_VERSIONS=3"
+ SITE_PACKAGES=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
+else
+ SITE_PACKAGES=$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
+fi
+
+# fix library installation
+sed -i '99,100s/DESTINATION lib/&'${LIBDIRSUFFIX}'/' src/CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIBPOLY_BUILD_STATIC=OFF \
+ -DLIBPOLY_BUILD_STATIC_PIC=OFF \
+ $OPT_BUILD \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make test
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# there is not make rule to install the python API,
+# performing it manually
+if [ "${PYTHON:-no}" == "yes" ]; then
+ mkdir -p $PKG/$SITE_PACKAGES
+ cp -av build/python/polypy.so $PKG/$SITE_PACKAGES
+fi
+
+# 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 \
+ LICENCE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libpoly/libpoly.info b/libraries/libpoly/libpoly.info
new file mode 100644
index 0000000000..61c08fbbbd
--- /dev/null
+++ b/libraries/libpoly/libpoly.info
@@ -0,0 +1,10 @@
+PRGNAM="libpoly"
+VERSION="0.1.11"
+HOMEPAGE="http://sri-csl.github.io/libpoly"
+DOWNLOAD="https://github.com/SRI-CSL/libpoly/archive/v0.1.11/libpoly-0.1.11.tar.gz"
+MD5SUM="ceb5155194bd5845e8081f211f10fe69"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libpoly/slack-desc b/libraries/libpoly/slack-desc
new file mode 100644
index 0000000000..6288867bb5
--- /dev/null
+++ b/libraries/libpoly/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------------------------------------------------------|
+libpoly: libpoly (LibPoly - C library for manipulating polynomials)
+libpoly:
+libpoly:
+libpoly: LibPoly is a C library for manipulating polynomials. The target
+libpoly: applications are symbolic reasoning engines, such as SMT solvers,
+libpoly: that need to reason about polynomial constraints. It is research
+libpoly: software under development, so the features and the API might
+libpoly: change rapidly.
+libpoly:
+libpoly:
+libpoly:
diff --git a/libraries/libportal/0.6-backports.patch b/libraries/libportal/0.6-backports.patch
new file mode 100644
index 0000000000..fccfbc1c3e
--- /dev/null
+++ b/libraries/libportal/0.6-backports.patch
@@ -0,0 +1,1005 @@
+From 6a52f680cf4ceda9feb8724793c090cd2258f6f7 Mon Sep 17 00:00:00 2001
+From: Billy <billyaraujo@gmail.com>
+Date: Tue, 24 May 2022 17:45:59 +0100
+Subject: [PATCH 1/7] Fixed issue where y was used instead of h.
+
+---
+ portal-test/gtk3/portal-test-win.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/portal-test/gtk3/portal-test-win.c b/portal-test/gtk3/portal-test-win.c
+index 9d50708..e2432c6 100644
+--- a/portal-test/gtk3/portal-test-win.c
++++ b/portal-test/gtk3/portal-test-win.c
+@@ -594,7 +594,7 @@ session_started (GObject *source,
+ g_variant_lookup (props, "size", "(ii)", &w, &h);
+ if (s->len > 0)
+ g_string_append (s, "\n");
+- g_string_append_printf (s, "Stream %d: %dx%d @ %d,%d", id, w, y, x, y);
++ g_string_append_printf (s, "Stream %d: %dx%d @ %d,%d", id, w, h, x, y);
+ g_variant_unref (props);
+ }
+
+--
+2.39.0
+
+
+From a22753772a28e225e4e91b65add10c23ad106243 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Fri, 24 Jun 2022 12:58:32 +1000
+Subject: [PATCH 2/7] remote: call the right DBus method for TouchUp
+
+---
+ libportal/remote.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libportal/remote.c b/libportal/remote.c
+index e7fb115..ebdffe0 100644
+--- a/libportal/remote.c
++++ b/libportal/remote.c
+@@ -1160,7 +1160,7 @@ xdp_session_touch_up (XdpSession *session,
+ PORTAL_BUS_NAME,
+ PORTAL_OBJECT_PATH,
+ "org.freedesktop.portal.RemoteDesktop",
+- "NotifyTouchMotion",
++ "NotifyTouchUp",
+ g_variant_new ("(oa{sv}u)", session->id, &options, slot),
+ NULL, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL, NULL);
+ }
+--
+2.39.0
+
+
+From 6e25d5cb28412e6a4df553e9f798200b19f1c410 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Thu, 30 Jun 2022 14:00:39 +1000
+Subject: [PATCH 3/7] spawn: initialize the option builder
+
+../libportal/spawn.c:176:60: warning: variable 'opt_builder' is uninitialized when used here [-Wuninitialized]
+ opt_builder),
+---
+ libportal/spawn.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libportal/spawn.c b/libportal/spawn.c
+index 20ef005..81a03af 100644
+--- a/libportal/spawn.c
++++ b/libportal/spawn.c
+@@ -131,6 +131,8 @@ do_spawn (SpawnCall *call)
+
+ ensure_spawn_exited_connection (call->portal);
+
++ g_variant_builder_init (&opt_builder, G_VARIANT_TYPE_VARDICT);
++
+ g_variant_builder_init (&fds_builder, G_VARIANT_TYPE ("a{uh}"));
+ if (call->n_fds > 0)
+ {
+--
+2.39.0
+
+
+From 030a6164a94c6c173caabcf5a3377189be951474 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Thu, 30 Jun 2022 14:06:32 +1000
+Subject: [PATCH 4/7] portal: fix the strcmps on the cgroup hierarchies
+
+Fixes
+
+../libportal/portal.c:344:12: warning: logical not is only applied
+to the left hand side of this comparison [-Wlogical-not-parentheses]
+ !strcmp (controller, ":") != 0) &&
+---
+ libportal/portal.c | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/libportal/portal.c b/libportal/portal.c
+index 5e72089..32a34d7 100644
+--- a/libportal/portal.c
++++ b/libportal/portal.c
+@@ -304,9 +304,10 @@ _xdp_parse_cgroup_file (FILE *f, gboolean *is_snap)
+
+ /* Only consider the freezer, systemd group or unified cgroup
+ * hierarchies */
+- if ((!strcmp (controller, "freezer:") != 0 ||
+- !strcmp (controller, "name=systemd:") != 0 ||
+- !strcmp (controller, ":") != 0) &&
++ if (controller != NULL &&
++ (g_str_equal (controller, "freezer:") ||
++ g_str_equal (controller, "name=systemd:") ||
++ g_str_equal (controller, ":")) &&
+ strstr (cgroup, "/snap.") != NULL)
+ {
+ *is_snap = TRUE;
+--
+2.39.0
+
+
+From 953dd354211d70482d9efc54654176ed6bf3bf4e Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Wed, 29 Jun 2022 15:10:35 +1000
+Subject: [PATCH 5/7] session: replace g_free with g_clear_pointer
+
+---
+ libportal/session.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libportal/session.c b/libportal/session.c
+index b505d0b..0b1f02a 100644
+--- a/libportal/session.c
++++ b/libportal/session.c
+@@ -55,8 +55,8 @@ xdp_session_finalize (GObject *object)
+ g_dbus_connection_signal_unsubscribe (session->portal->bus, session->signal_id);
+
+ g_clear_object (&session->portal);
+- g_free (session->restore_token);
+- g_free (session->id);
++ g_clear_pointer (&session->restore_token, g_free);
++ g_clear_pointer (&session->id, g_free);
+ g_clear_pointer (&session->streams, g_variant_unref);
+
+ G_OBJECT_CLASS (xdp_session_parent_class)->finalize (object);
+--
+2.39.0
+
+
+From f56281857dce8e6515fab6030406112a251ff1e7 Mon Sep 17 00:00:00 2001
+From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
+Date: Wed, 12 Oct 2022 13:15:18 -0300
+Subject: [PATCH 6/7] background: Add background status
+
+Add the correspondent background status API.
+
+See https://github.com/flatpak/xdg-desktop-portal/pull/901
+---
+ libportal/background.c | 163 +++++++++++++++++++++++++++++++++++++
+ libportal/background.h | 11 +++
+ libportal/portal-private.h | 3 +
+ 3 files changed, 177 insertions(+)
+
+diff --git a/libportal/background.c b/libportal/background.c
+index d6c8348..f47570f 100644
+--- a/libportal/background.c
++++ b/libportal/background.c
+@@ -20,9 +20,116 @@
+
+ #include "config.h"
+
++#include "session-private.h"
+ #include "background.h"
+ #include "portal-private.h"
+
++typedef struct {
++ XdpPortal *portal;
++ GTask *task;
++ char *status_message;
++} SetStatusCall;
++
++static void
++set_status_call_free (SetStatusCall *call)
++{
++ g_clear_pointer (&call->status_message, g_free);
++ g_clear_object (&call->portal);
++ g_clear_object (&call->task);
++ g_free (call);
++}
++
++static void
++set_status_returned (GObject *object,
++ GAsyncResult *result,
++ gpointer data)
++{
++ SetStatusCall *call = data;
++ GError *error = NULL;
++ g_autoptr(GVariant) ret = NULL;
++
++ ret = g_dbus_connection_call_finish (G_DBUS_CONNECTION (object), result, &error);
++ if (error)
++ g_task_return_error (call->task, error);
++ else
++ g_task_return_boolean (call->task, TRUE);
++
++ set_status_call_free (call);
++}
++
++static void
++set_status (SetStatusCall *call)
++{
++ GVariantBuilder options;
++
++ g_variant_builder_init (&options, G_VARIANT_TYPE_VARDICT);
++
++ if (call->status_message)
++ g_variant_builder_add (&options, "{sv}", "message", g_variant_new_string (call->status_message));
++
++ g_dbus_connection_call (call->portal->bus,
++ PORTAL_BUS_NAME,
++ PORTAL_OBJECT_PATH,
++ "org.freedesktop.portal.Background",
++ "SetStatus",
++ g_variant_new ("(a{sv})", &options),
++ NULL,
++ G_DBUS_CALL_FLAGS_NONE,
++ -1,
++ g_task_get_cancellable (call->task),
++ set_status_returned,
++ call);
++}
++
++static void
++get_background_version_returned (GObject *object,
++ GAsyncResult *result,
++ gpointer data)
++{
++ g_autoptr(GVariant) version_variant = NULL;
++ g_autoptr(GVariant) ret = NULL;
++ SetStatusCall *call = data;
++ GError *error = NULL;
++
++ ret = g_dbus_connection_call_finish (G_DBUS_CONNECTION (object), result, &error);
++ if (error)
++ {
++ g_task_return_error (call->task, error);
++ set_status_call_free (call);
++ return;
++ }
++
++ g_variant_get_child (ret, 0, "v", &version_variant);
++ call->portal->background_interface_version = g_variant_get_uint32 (version_variant);
++
++ if (call->portal->background_interface_version < 2)
++ {
++ g_task_return_new_error (call->task, G_DBUS_ERROR, G_DBUS_ERROR_FAILED,
++ "Background portal does not implement version 2 of the interface");
++ set_status_call_free (call);
++ return;
++ }
++
++ set_status (call);
++}
++
++static void
++get_background_interface_version (SetStatusCall *call)
++{
++ g_dbus_connection_call (call->portal->bus,
++ PORTAL_BUS_NAME,
++ PORTAL_OBJECT_PATH,
++ "org.freedesktop.DBus.Properties",
++ "Get",
++ g_variant_new ("(ss)", "org.freedesktop.portal.Background", "version"),
++ NULL,
++ G_DBUS_CALL_FLAGS_NONE,
++ -1,
++ g_task_get_cancellable (call->task),
++ get_background_version_returned,
++ call);
++}
++
+ typedef struct {
+ XdpPortal *portal;
+ XdpParent *parent;
+@@ -282,3 +389,59 @@ xdp_portal_request_background_finish (XdpPortal *portal,
+
+ return g_task_propagate_boolean (G_TASK (result), error);
+ }
++
++/**
++ * xdp_portal_set_background_status:
++ * @portal: a [class@Portal]
++ * @status_message: (nullable): status message when running in background
++ * @cancellable: (nullable): optional [class@Gio.Cancellable]
++ * @callback: (scope async): a callback to call when the request is done
++ * @data: (closure): data to pass to @callback
++ *
++ * Sets the status information of the application, for when it's running
++ * in background.
++ */
++void
++xdp_portal_set_background_status (XdpPortal *portal,
++ const char *status_message,
++ GCancellable *cancellable,
++ GAsyncReadyCallback callback,
++ gpointer data)
++{
++ SetStatusCall *call;
++
++ g_return_if_fail (XDP_IS_PORTAL (portal));
++
++ call = g_new0 (SetStatusCall, 1);
++ call->portal = g_object_ref (portal);
++ call->status_message = g_strdup (status_message);
++ call->task = g_task_new (portal, cancellable, callback, data);
++ g_task_set_source_tag (call->task, xdp_portal_set_background_status);
++
++ if (portal->background_interface_version == 0)
++ get_background_interface_version (call);
++ else
++ set_status (call);
++}
++
++/**
++ * xdp_portal_set_background_status_finish:
++ * @portal: a [class@Portal]
++ * @result: a [iface@Gio.AsyncResult]
++ * @error: return location for an error
++ *
++ * Finishes setting the background status of the application.
++ *
++ * Returns: %TRUE if successfully set status, %FALSE otherwise
++ */
++gboolean
++xdp_portal_set_background_status_finish (XdpPortal *portal,
++ GAsyncResult *result,
++ GError **error)
++{
++ g_return_val_if_fail (XDP_IS_PORTAL (portal), FALSE);
++ g_return_val_if_fail (g_task_is_valid (result, portal), FALSE);
++ g_return_val_if_fail (g_task_get_source_tag (G_TASK (result)) == xdp_portal_set_background_status, FALSE);
++
++ return g_task_propagate_boolean (G_TASK (result), error);
++}
+diff --git a/libportal/background.h b/libportal/background.h
+index a22090d..5ce1734 100644
+--- a/libportal/background.h
++++ b/libportal/background.h
+@@ -52,5 +52,16 @@ gboolean xdp_portal_request_background_finish (XdpPortal *portal,
+ GAsyncResult *result,
+ GError **error);
+
++XDP_PUBLIC
++void xdp_portal_set_background_status (XdpPortal *portal,
++ const char *status_message,
++ GCancellable *cancellable,
++ GAsyncReadyCallback callback,
++ gpointer data);
++
++XDP_PUBLIC
++gboolean xdp_portal_set_background_status_finish (XdpPortal *portal,
++ GAsyncResult *result,
++ GError **error);
+
+ G_END_DECLS
+diff --git a/libportal/portal-private.h b/libportal/portal-private.h
+index 6728055..542e1bb 100644
+--- a/libportal/portal-private.h
++++ b/libportal/portal-private.h
+@@ -51,6 +51,9 @@ struct _XdpPortal {
+
+ /* screencast */
+ guint screencast_interface_version;
++
++ /* background */
++ guint background_interface_version;
+ };
+
+ #define PORTAL_BUS_NAME "org.freedesktop.portal.Desktop"
+--
+2.39.0
+
+
+From 631a16363236fba681ad848166619e14f0cf5637 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Thu, 26 May 2022 12:49:50 +1000
+Subject: [PATCH 7/7] test: add a pytest/dbusmock-based test suite
+
+Using python and dbusmock makes it trivial to add a large number of
+tests for libportal only, without requiring an actual portal
+implementation for the Portal interface to be tested.
+
+Included here is the wallpaper portal as an example, hooked into meson test.
+A helper script is provided too for those lacking meson devenv,
+ $ ./test/gir-testenv.sh
+ $ cd test
+ $ pytest --verbose --log-level=DEBUG [... other pytest arguments ...]
+
+The test setup uses dbusmock interface templates (see
+pyportaltest/templates) to handle the actual DBus calls.
+
+Because DBus uses a singleton for the session bus, we need libportal to
+specifically connect to the address given in the environment - otherwise
+starting mock dbus services has no effect.
+
+This test suite depends on dbusmock commit 4a191d8ba293:
+"mockobject: allow sending signals with extra details" from
+https://github.com/martinpitt/python-dbusmock/pull/129
+
+Without this, the EmitSignalDetailed() method does not exist/work, but
+without this method we cannot receive signals.
+---
+ .github/workflows/build.yml | 6 +-
+ libportal/portal.c | 37 +++++-
+ tests/gir-testenv.sh | 31 +++++
+ tests/meson.build | 19 +++
+ tests/pyportaltest/__init__.py | 149 ++++++++++++++++++++++
+ tests/pyportaltest/templates/__init__.py | 94 ++++++++++++++
+ tests/pyportaltest/templates/wallpaper.py | 48 +++++++
+ tests/pyportaltest/test_wallpaper.py | 117 +++++++++++++++++
+ 8 files changed, 497 insertions(+), 4 deletions(-)
+ create mode 100755 tests/gir-testenv.sh
+ create mode 100644 tests/pyportaltest/__init__.py
+ create mode 100644 tests/pyportaltest/templates/__init__.py
+ create mode 100644 tests/pyportaltest/templates/wallpaper.py
+ create mode 100644 tests/pyportaltest/test_wallpaper.py
+
+diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
+index 66d9fb4..133a998 100644
+--- a/.github/workflows/build.yml
++++ b/.github/workflows/build.yml
+@@ -38,7 +38,7 @@ jobs:
+ - name: Install dependencies
+ run: |
+ sudo apt-get update
+- sudo apt-get install -y libglib2.0 gettext dbus meson libgirepository1.0-dev libgtk-3-dev valac
++ sudo apt-get install -y libglib2.0 gettext dbus meson libgirepository1.0-dev libgtk-3-dev valac python3-pytest python3-dbusmock
+ - name: Check out libportal
+ uses: actions/checkout@v1
+ - name: Configure libportal
+@@ -55,7 +55,7 @@ jobs:
+ - name: Install dependencies
+ run: |
+ apt-get update
+- apt-get install -y libglib2.0 gettext dbus meson libgirepository1.0-dev libgtk-3-dev libgtk-4-dev valac python3-pip
++ apt-get install -y libglib2.0 gettext dbus meson libgirepository1.0-dev libgtk-3-dev libgtk-4-dev valac python3-pip python3-dbusmock
+ pip3 install gi-docgen
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
+ - name: Check out libportal
+@@ -73,7 +73,7 @@ jobs:
+ steps:
+ - name: Install dependencies
+ run: |
+- dnf install -y meson gcc gobject-introspection-devel gtk3-devel gtk4-devel gi-docgen vala git
++ dnf install -y meson gcc gobject-introspection-devel gtk3-devel gtk4-devel gi-docgen vala git python3-pytest python3-dbusmock
+ - name: Check out libportal
+ uses: actions/checkout@v1
+ - name: Configure libportal
+diff --git a/libportal/portal.c b/libportal/portal.c
+index 32a34d7..7765bc7 100644
+--- a/libportal/portal.c
++++ b/libportal/portal.c
+@@ -254,12 +254,47 @@ xdp_portal_class_init (XdpPortalClass *klass)
+ G_TYPE_VARIANT);
+ }
+
++static GDBusConnection *
++create_bus_from_address (const char *address,
++ GError **error)
++{
++ g_autoptr(GDBusConnection) bus = NULL;
++
++ if (!address)
++ {
++ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "Missing D-Bus session bus address");
++ return NULL;
++ }
++
++ bus = g_dbus_connection_new_for_address_sync (address,
++ G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT |
++ G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION,
++ NULL, NULL,
++ error);
++ return g_steal_pointer (&bus);
++}
++
+ static void
+ xdp_portal_init (XdpPortal *portal)
+ {
++ g_autoptr(GError) error = NULL;
+ int i;
+
+- portal->bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, NULL);
++ /* g_bus_get_sync() returns a singleton. In the test suite we may restart
++ * the session bus, so we have to manually connect to the new bus */
++ if (getenv ("LIBPORTAL_TEST_SUITE"))
++ portal->bus = create_bus_from_address (getenv ("DBUS_SESSION_BUS_ADDRESS"), &error);
++ else
++ portal->bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
++
++ if (error)
++ {
++ g_critical ("Failed to create XdpPortal instance: %s\n", error->message);
++ abort ();
++ }
++
++ g_assert (portal->bus != NULL);
++
+ portal->sender = g_strdup (g_dbus_connection_get_unique_name (portal->bus) + 1);
+ for (i = 0; portal->sender[i]; i++)
+ if (portal->sender[i] == '.')
+diff --git a/tests/gir-testenv.sh b/tests/gir-testenv.sh
+new file mode 100755
+index 0000000..6cb8e47
+--- /dev/null
++++ b/tests/gir-testenv.sh
+@@ -0,0 +1,31 @@
++#!/bin/sh
++#
++# Wrapper to set up the right environment variables and start a nested
++# shell. Usage:
++#
++# $ ./tests/gir-testenv.sh
++# (nested shell) $ pytest
++# (nested shell) $ exit
++#
++# If you have meson 0.58 or later, you can instead do:
++# $ meson devenv -C builddir
++# (nested shell) $ cd ../tests
++# (nested shell) $ pytest
++# (nested shell) $ exit
++#
++
++builddir=$(find $PWD -name meson-logs -printf "%h" -quit)
++
++if [ -z "$builddir" ]; then
++ echo "Unable to find meson builddir"
++ exit 1
++fi
++
++echo "Using meson builddir: $builddir"
++
++export LD_LIBRARY_PATH="$builddir/libportal:$LD_LIBRARY_PATH"
++export GI_TYPELIB_PATH="$builddir/libportal:$GI_TYPELIB_PATH"
++
++echo "pytest must be run from within the tests/ directory"
++# Don't think this is portable, but oh well
++${SHELL}
+diff --git a/tests/meson.build b/tests/meson.build
+index ffc415f..0c67335 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -1,3 +1,22 @@
+ if 'qt5' in backends
+ subdir('qt5')
+ endif
++
++if meson.version().version_compare('>= 0.56.0')
++ pytest = find_program('pytest-3', 'pytest', required: false)
++ pymod = import('python')
++ python = pymod.find_installation('python3', modules: ['dbus', 'dbusmock'], required: false)
++
++ if pytest.found() and python.found()
++ test_env = environment()
++ test_env.set('LD_LIBRARY_PATH', meson.project_build_root() / 'libportal')
++ test_env.set('GI_TYPELIB_PATH', meson.project_build_root() / 'libportal')
++
++ test('pytest',
++ pytest,
++ args: ['--verbose', '--log-level=DEBUG'],
++ env: test_env,
++ workdir: meson.current_source_dir()
++ )
++ endif
++endif
+diff --git a/tests/pyportaltest/__init__.py b/tests/pyportaltest/__init__.py
+new file mode 100644
+index 0000000..e298612
+--- /dev/null
++++ b/tests/pyportaltest/__init__.py
+@@ -0,0 +1,149 @@
++# SPDX-License-Identifier: LGPL-3.0-only
++#
++# This file is formatted with Python Black
++
++from typing import Any, Dict, List, Tuple
++
++import gi
++from gi.repository import GLib
++from dbus.mainloop.glib import DBusGMainLoop
++
++import dbus
++import dbusmock
++import fcntl
++import logging
++import os
++import pytest
++import subprocess
++
++logging.basicConfig(format="%(levelname)s | %(name)s: %(message)s", level=logging.DEBUG)
++logger = logging.getLogger("pyportaltest")
++
++DBusGMainLoop(set_as_default=True)
++
++# Uncomment this to have dbus-monitor listen on the normal session address
++# rather than the test DBus. This can be useful for cases where *something*
++# messes up and tests run against the wrong bus.
++#
++# session_dbus_address = os.environ["DBUS_SESSION_BUS_ADDRESS"]
++
++
++def start_dbus_monitor() -> "subprocess.Process":
++ import subprocess
++
++ env = os.environ.copy()
++ try:
++ env["DBUS_SESSION_BUS_ADDRESS"] = session_dbus_address
++ except NameError:
++ # See comment above
++ pass
++
++ argv = ["dbus-monitor", "--session"]
++ mon = subprocess.Popen(argv, env=env)
++
++ def stop_dbus_monitor():
++ mon.terminate()
++ mon.wait()
++
++ GLib.timeout_add(2000, stop_dbus_monitor)
++ return mon
++
++
++class PortalTest(dbusmock.DBusTestCase):
++ """
++ Parent class for portal tests. Subclass from this and name it after the
++ portal, e.g. ``TestWallpaper``.
++
++ .. attribute:: portal_interface
++
++ The :class:`dbus.Interface` referring to our portal
++
++ .. attribute:: properties_interface
++
++ A convenience :class:`dbus.Interface` referring to the DBus Properties
++ interface, call ``Get``, ``Set`` or ``GetAll`` on this interface to
++ retrieve the matching property/properties.
++
++ .. attribute:: mock_interface
++
++ The DBusMock :class:`dbus.Interface` that controls our DBus
++ appearance.
++
++ """
++ @classmethod
++ def setUpClass(cls):
++ if cls.__name__ != "PortalTest":
++ cls.PORTAL_NAME = cls.__name__.removeprefix("Test")
++ cls.INTERFACE_NAME = f"org.freedesktop.portal.{cls.PORTAL_NAME}"
++ os.environ["LIBPORTAL_TEST_SUITE"] = "1"
++
++ try:
++ dbusmock.mockobject.DBusMockObject.EmitSignalDetailed
++ except AttributeError:
++ pytest.skip("Updated version of dbusmock required")
++
++ def setUp(self):
++ self.p_mock = None
++ self._mainloop = None
++ self.dbus_monitor = None
++
++ def setup_daemon(self, params=None):
++ """
++ Start a DBusMock daemon in a separate process
++ """
++ self.start_session_bus()
++ self.p_mock, self.obj_portal = self.spawn_server_template(
++ template=f"pyportaltest/templates/{self.PORTAL_NAME.lower()}.py",
++ parameters=params,
++ stdout=subprocess.PIPE,
++ )
++ flags = fcntl.fcntl(self.p_mock.stdout, fcntl.F_GETFL)
++ fcntl.fcntl(self.p_mock.stdout, fcntl.F_SETFL, flags | os.O_NONBLOCK)
++ self.mock_interface = dbus.Interface(self.obj_portal, dbusmock.MOCK_IFACE)
++ self.properties_interface = dbus.Interface(
++ self.obj_portal, dbus.PROPERTIES_IFACE
++ )
++ self.portal_interface = dbus.Interface(self.obj_portal, self.INTERFACE_NAME)
++
++ self.dbus_monitor = start_dbus_monitor()
++
++ def tearDown(self):
++ if self.p_mock:
++ if self.p_mock.stdout:
++ out = (self.p_mock.stdout.read() or b"").decode("utf-8")
++ if out:
++ print(out)
++ self.p_mock.stdout.close()
++ self.p_mock.terminate()
++ self.p_mock.wait()
++
++ if self.dbus_monitor:
++ self.dbus_monitor.terminate()
++ self.dbus_monitor.wait()
++
++ @property
++ def mainloop(self):
++ """
++ The mainloop for this test. This mainloop automatically quits after a
++ fixed timeout, but only on the first run. That's usually enough for
++ tests, if you need to call mainloop.run() repeatedly ensure that a
++ timeout handler is set to ensure quick test case failure in case of
++ error.
++ """
++ if self._mainloop is None:
++
++ def quit():
++ self._mainloop.quit()
++ self._mainloop = None
++
++ self._mainloop = GLib.MainLoop()
++ GLib.timeout_add(2000, quit)
++
++ return self._mainloop
++
++ def assert_version_eq(self, version: int):
++ """Assert the given version number is the one our portal exports"""
++ interface_name = self.INTERFACE_NAME
++ params = {}
++ self.setup_daemon(params)
++ assert self.properties_interface.Get(interface_name, "version") == version
+diff --git a/tests/pyportaltest/templates/__init__.py b/tests/pyportaltest/templates/__init__.py
+new file mode 100644
+index 0000000..c94a5cd
+--- /dev/null
++++ b/tests/pyportaltest/templates/__init__.py
+@@ -0,0 +1,94 @@
++# SPDX-License-Identifier: LGPL-3.0-only
++#
++# This file is formatted with Python Black
++
++from dbusmock import DBusMockObject
++from typing import Dict, Any, NamedTuple, Optional
++from itertools import count
++from gi.repository import GLib
++
++import dbus
++import logging
++
++
++ASVType = Dict[str, Any]
++
++logging.basicConfig(format="%(levelname).1s|%(name)s: %(message)s", level=logging.DEBUG)
++logger = logging.getLogger("templates")
++
++
++class Response(NamedTuple):
++ response: int
++ results: ASVType
++
++
++class Request:
++ _token_counter = count()
++
++ def __init__(
++ self, bus_name: dbus.service.BusName, sender: str, options: Optional[ASVType]
++ ):
++ options = options or {}
++ sender_token = sender.removeprefix(":").replace(".", "_")
++ handle_token = options.get("handle_token", next(self._token_counter))
++ self.sender = sender
++ self.handle = (
++ f"/org/freedesktop/portal/desktop/request/{sender_token}/{handle_token}"
++ )
++ self.mock = DBusMockObject(
++ bus_name=bus_name,
++ path=self.handle,
++ interface="org.freedesktop.portal.Request",
++ props={},
++ )
++ self.mock.AddMethod("", "Close", "", "", "self.RemoveObject(self.path)")
++
++ def respond(self, response: Response, delay: int = 0):
++ def respond():
++ logger.debug(f"Request.Response on {self.handle}: {response}")
++ self.mock.EmitSignalDetailed(
++ "",
++ "Response",
++ "ua{sv}",
++ [dbus.UInt32(response.response), response.results],
++ details={"destination": self.sender},
++ )
++
++ if delay > 0:
++ GLib.timeout_add(delay, respond)
++ else:
++ respond()
++
++
++class Session:
++ _token_counter = count()
++
++ def __init__(
++ self, bus_name: dbus.service.BusName, sender: str, options: Optional[ASVType]
++ ):
++ options = options or {}
++ sender_token = sender.removeprefix(":").replace(".", "_")
++ handle_token = options.get("session_handle_token", next(self._token_counter))
++ self.sender = sender
++ self.handle = (
++ f"/org/freedesktop/portal/desktop/session/{sender_token}/{handle_token}"
++ )
++ self.mock = DBusMockObject(
++ bus_name=bus_name,
++ path=self.handle,
++ interface="org.freedesktop.portal.Session",
++ props={},
++ )
++ self.mock.AddMethod("", "Close", "", "", "self.RemoveObject(self.path)")
++
++ def close(self, details: ASVType, delay: int = 0):
++ def respond():
++ logger.debug(f"Session.Closed on {self.handle}: {details}")
++ self.mock.EmitSignalDetailed(
++ "", "Closed", "a{sv}", [details], destination=self.sender
++ )
++
++ if delay > 0:
++ GLib.timeout_add(delay, respond)
++ else:
++ respond()
+diff --git a/tests/pyportaltest/templates/wallpaper.py b/tests/pyportaltest/templates/wallpaper.py
+new file mode 100644
+index 0000000..f0371b0
+--- /dev/null
++++ b/tests/pyportaltest/templates/wallpaper.py
+@@ -0,0 +1,48 @@
++# SPDX-License-Identifier: LGPL-3.0-only
++#
++# This file is formatted with Python Black
++
++from pyportaltest.templates import Request, Response, ASVType
++from typing import Dict, List, Tuple, Iterator
++
++import dbus.service
++import logging
++
++logger = logging.getLogger(f"templates.{__name__}")
++
++BUS_NAME = "org.freedesktop.portal.Desktop"
++MAIN_OBJ = "/org/freedesktop/portal/desktop"
++SYSTEM_BUS = False
++MAIN_IFACE = "org.freedesktop.portal.Wallpaper"
++
++
++def load(mock, parameters=None):
++ logger.debug(f"loading {MAIN_IFACE} template")
++ mock.delay = 500
++
++ mock.response = parameters.get("response", 0)
++
++ mock.AddProperties(
++ MAIN_IFACE,
++ dbus.Dictionary({"version": dbus.UInt32(parameters.get("version", 1))}),
++ )
++
++
++@dbus.service.method(
++ MAIN_IFACE,
++ sender_keyword="sender",
++ in_signature="ssa{sv}",
++ out_signature="o",
++)
++def SetWallpaperURI(self, parent_window, uri, options, sender):
++ try:
++ logger.debug(f"SetWallpaperURI: {parent_window}, {uri}, {options}")
++ request = Request(bus_name=self.bus_name, sender=sender, options=options)
++
++ response = Response(self.response, {})
++
++ request.respond(response, delay=self.delay)
++
++ return request.handle
++ except Exception as e:
++ logger.critical(e)
+diff --git a/tests/pyportaltest/test_wallpaper.py b/tests/pyportaltest/test_wallpaper.py
+new file mode 100644
+index 0000000..def66fc
+--- /dev/null
++++ b/tests/pyportaltest/test_wallpaper.py
+@@ -0,0 +1,117 @@
++# SPDX-License-Identifier: LGPL-3.0-only
++#
++# This file is formatted with Python Black
++
++from . import PortalTest
++
++import gi
++import logging
++
++gi.require_version("Xdp", "1.0")
++from gi.repository import GLib, Xdp
++
++logger = logging.getLogger(__name__)
++
++
++class TestWallpaper(PortalTest):
++ def test_version(self):
++ self.assert_version_eq(1)
++
++ def set_wallpaper(
++ self, uri_to_set: str, set_on: Xdp.WallpaperFlags, show_preview: bool
++ ):
++ params = {}
++ self.setup_daemon(params)
++
++ xdp = Xdp.Portal.new()
++ assert xdp is not None
++
++ flags = {
++ "background": Xdp.WallpaperFlags.BACKGROUND,
++ "lockscreen": Xdp.WallpaperFlags.LOCKSCREEN,
++ "both": Xdp.WallpaperFlags.BACKGROUND | Xdp.WallpaperFlags.LOCKSCREEN,
++ }[set_on]
++
++ if show_preview:
++ flags |= Xdp.WallpaperFlags.PREVIEW
++
++ wallpaper_was_set = False
++
++ def set_wallpaper_done(portal, task, data):
++ nonlocal wallpaper_was_set
++ wallpaper_was_set = portal.set_wallpaper_finish(task)
++ self.mainloop.quit()
++
++ xdp.set_wallpaper(
++ parent=None,
++ uri=uri_to_set,
++ flags=flags,
++ cancellable=None,
++ callback=set_wallpaper_done,
++ data=None,
++ )
++
++ self.mainloop.run()
++
++ method_calls = self.mock_interface.GetMethodCalls("SetWallpaperURI")
++ assert len(method_calls) == 1
++ timestamp, args = method_calls.pop(0)
++ parent, uri, options = args
++ assert uri == uri_to_set
++ assert options["set-on"] == set_on
++ assert options["show-preview"] == show_preview
++
++ assert wallpaper_was_set
++
++ def test_set_wallpaper_background(self):
++ self.set_wallpaper("https://background.nopreview", "background", False)
++
++ def test_set_wallpaper_background_preview(self):
++ self.set_wallpaper("https://background.preview", "background", True)
++
++ def test_set_wallpaper_lockscreen(self):
++ self.set_wallpaper("https://lockscreen.nopreview", "lockscreen", False)
++
++ def test_set_wallpaper_lockscreen_preview(self):
++ self.set_wallpaper("https://lockscreen.preview", "lockscreen", True)
++
++ def test_set_wallpaper_both(self):
++ self.set_wallpaper("https://both.nopreview", "both", False)
++
++ def test_set_wallpaper_both_preview(self):
++ self.set_wallpaper("https://both.preview", "both", True)
++
++ def test_set_wallpaper_cancel(self):
++ params = {"response": 1}
++ self.setup_daemon(params)
++
++ xdp = Xdp.Portal.new()
++ assert xdp is not None
++
++ flags = Xdp.WallpaperFlags.BACKGROUND
++
++ wallpaper_was_set = False
++
++ def set_wallpaper_done(portal, task, data):
++ nonlocal wallpaper_was_set
++ try:
++ wallpaper_was_set = portal.set_wallpaper_finish(task)
++ except GLib.GError:
++ pass
++ self.mainloop.quit()
++
++ xdp.set_wallpaper(
++ parent=None,
++ uri="https://ignored.anyway",
++ flags=flags,
++ cancellable=None,
++ callback=set_wallpaper_done,
++ data=None,
++ )
++
++ self.mainloop.run()
++
++ method_calls = self.mock_interface.GetMethodCalls("SetWallpaperURI")
++ assert len(method_calls) == 1
++
++ assert not wallpaper_was_set
+--
+2.39.0
+
diff --git a/libraries/libportal/README b/libraries/libportal/README
new file mode 100644
index 0000000000..dd82fd2632
--- /dev/null
+++ b/libraries/libportal/README
@@ -0,0 +1,3 @@
+libportal provides GIO-style async APIs for most Flatpak portals.
+
+To build the API docs the optional dependency gi-docgen is required.
diff --git a/libraries/libportal/libportal.SlackBuild b/libraries/libportal/libportal.SlackBuild
new file mode 100644
index 0000000000..0310533eb3
--- /dev/null
+++ b/libraries/libportal/libportal.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for libportal
+
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libportal
+VERSION=${VERSION:-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 ;;
+ *) 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="COPYING NEWS README.md"
+
+if pkg-config --exists gi-docgen ; then DOX="true"; else DOX="false"; 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 {} \;
+
+patch -p1 < $CWD/0.6-backports.patch
+sed -i "s|get_option('datadir') / 'doc'|get_option('prefix') / 'doc'|" doc/meson.build
+
+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 \
+ -Ddocs=$DOX
+ "${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 $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/libraries/libportal/libportal.info b/libraries/libportal/libportal.info
new file mode 100644
index 0000000000..c62c759a22
--- /dev/null
+++ b/libraries/libportal/libportal.info
@@ -0,0 +1,10 @@
+PRGNAM="libportal"
+VERSION="0.6"
+HOMEPAGE="https://github.com/flatpak/libportal"
+DOWNLOAD="https://github.com/flatpak/libportal/releases/download/0.6/libportal-0.6.tar.xz"
+MD5SUM="e16c8ca2621aff64774a1d2ad6a2a346"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libportal/slack-desc b/libraries/libportal/slack-desc
new file mode 100644
index 0000000000..22caae2077
--- /dev/null
+++ b/libraries/libportal/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------------------------------------------------------|
+libportal: libportal (Flatpak portal library)
+libportal:
+libportal: libportal provides GIO-style async APIs for most Flatpak portals.
+libportal:
+libportal: homepage: https://github.com/flatpak/libportal
+libportal:
+libportal:
+libportal:
+libportal:
+libportal:
+libportal:
diff --git a/libraries/libpqxx/libpqxx.SlackBuild b/libraries/libpqxx/libpqxx.SlackBuild
index ab3fc12cd7..1ed8c868d7 100644
--- a/libraries/libpqxx/libpqxx.SlackBuild
+++ b/libraries/libpqxx/libpqxx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libpqxx
# Copyright 2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
@@ -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=libpqxx
-VERSION=${VERSION:-6.4.5}
+VERSION=${VERSION:-6.4.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}
@@ -93,8 +103,10 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+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/libraries/libpqxx/libpqxx.info b/libraries/libpqxx/libpqxx.info
index 62034908f5..e489be1f74 100644
--- a/libraries/libpqxx/libpqxx.info
+++ b/libraries/libpqxx/libpqxx.info
@@ -1,8 +1,8 @@
PRGNAM="libpqxx"
-VERSION="6.4.5"
+VERSION="6.4.8"
HOMEPAGE="http://pqxx.org/development/libpqxx/"
-DOWNLOAD="https://github.com/jtv/libpqxx/archive/6.4.5/libpqxx-6.4.5.tar.gz"
-MD5SUM="ebcac8310b872b846e55916bff1fcf4a"
+DOWNLOAD="https://github.com/jtv/libpqxx/archive/6.4.8/libpqxx-6.4.8.tar.gz"
+MD5SUM="8dc3409d1d2f7e391e1315d71d694dc7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql"
diff --git a/libraries/libprelude/README b/libraries/libprelude/README
new file mode 100644
index 0000000000..8c948f080b
--- /dev/null
+++ b/libraries/libprelude/README
@@ -0,0 +1,25 @@
+Prelude Library (https://www.prelude-siem.org)
+
+Prelude Library Overview
+========================
+
+The Prelude Library is used to make sensor developers' life better by
+providing features used by every sensor:
+
+ - Manager(s) Connection management (with fallback in case all
+ configured Managers are down, and automatic reconnection).
+
+ - Interface to communicate with the Prelude Manager.
+
+ - Asynchronous Message interface (allowing sensor to emit message
+ without blocking, even if there is latency on the wire).
+
+ - Asynchronous timer interface.
+
+ - Generic configuration API, providing a generic abstraction for
+ command-line, configuration file option, and wide option support.
+
+ - Wide option managment allowing sensor-exported options to be
+ directly accessible from the Manager administrative console.
+
+ - Generic plugin API.
diff --git a/libraries/libprelude/doinst.sh b/libraries/libprelude/doinst.sh
new file mode 100644
index 0000000000..0ca862d4db
--- /dev/null
+++ b/libraries/libprelude/doinst.sh
@@ -0,0 +1,17 @@
+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/prelude/default/client.conf.new
+config etc/prelude/default/global.conf.new
+config etc/prelude/default/idmef-client.conf.new
+config etc/prelude/default/tls.conf.new
diff --git a/libraries/libprelude/libprelude.SlackBuild b/libraries/libprelude/libprelude.SlackBuild
new file mode 100644
index 0000000000..c509f3255f
--- /dev/null
+++ b/libraries/libprelude/libprelude.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for libprelude
+
+# Copyright 2021 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.
+
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip perl and pythons shared libs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libprelude
+VERSION=${VERSION:-5.2.0}
+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 $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --with-python3 \
+ --without-ruby \
+ --with-perl-installdirs=vendor \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+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
+
+for i in client global idmef-client tls
+do
+ mv -v ${PKG}/etc/prelude/default/${i}.conf ${PKG}/etc/prelude/default/${i}.conf.new
+done
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING AUTHORS LICENSE.README HACKING.README README NEWS \
+ $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
diff --git a/libraries/libprelude/libprelude.info b/libraries/libprelude/libprelude.info
new file mode 100644
index 0000000000..c32f7f2ebb
--- /dev/null
+++ b/libraries/libprelude/libprelude.info
@@ -0,0 +1,10 @@
+PRGNAM="libprelude"
+VERSION="5.2.0"
+HOMEPAGE="https://www.prelude-siem.org"
+DOWNLOAD="https://www.prelude-siem.org/attachments/download/1395/libprelude-5.2.0.tar.gz"
+MD5SUM="4db429af160450dc37c7ade001abf8c4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="pyllyukko"
+EMAIL="pyllyukko@maimed.org"
diff --git a/libraries/libprelude/slack-desc b/libraries/libprelude/slack-desc
new file mode 100644
index 0000000000..34c2ee4640
--- /dev/null
+++ b/libraries/libprelude/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------------------------------------------------------|
+libprelude: libprelude (Prelude SIEM/sensor library)
+libprelude:
+libprelude: The Prelude Library is used to make sensor developers' life better by
+libprelude: providing features used by every sensor:
+libprelude: Manager(s) connection management, interface to communicate with
+libprelude: the Prelude Manager, asynchronous message interface, asynchronous
+libprelude: timer interface, generic configuration API, wide option managment
+libprelude: and generic plugin API.
+libprelude:
+libprelude: Homepage: https://www.prelude-siem.org
+libprelude:
diff --git a/libraries/libpri/README b/libraries/libpri/README
deleted file mode 100644
index 9c3d04e742..0000000000
--- a/libraries/libpri/README
+++ /dev/null
@@ -1,8 +0,0 @@
-libpri is a C implementation of the Primary Rate ISDN specification.
-It was based on the Bellcore specification SR-NWT-002343 for National
-ISDN. As of May 12, 2001, it has been tested work with NI-2, Nortel
-DMS-100, and Lucent 5E Custom protocols on switches from Nortel and
-Lucent.
-
-Please note that there are no man pages and precious little documentation
-for this library. The build is simple and straight forward though.
diff --git a/libraries/libpri/libpri.SlackBuild b/libraries/libpri/libpri.SlackBuild
deleted file mode 100644
index a903891e4a..0000000000
--- a/libraries/libpri/libpri.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-
-# Copyright 2006, Alan Hicks, Lizella, GA
-# Copyright 2018, 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.
-
-# Modified by Robby Workman <rworkman@slackbuilds.org>
-# No additional license terms :)
-
-PRGNAM=libpri
-VERSION=${VERSION:-1.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 {} \;
-
-make libdir=/usr/lib${LIBDIRSUFFIX} CPPFLAGS="$SLKCFLAGS"
-make install 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENSE 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/libraries/libpri/libpri.info b/libraries/libpri/libpri.info
deleted file mode 100644
index 1b2589075c..0000000000
--- a/libraries/libpri/libpri.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libpri"
-VERSION="1.6.0"
-HOMEPAGE="http://www.asterisk.org"
-DOWNLOAD="http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.6.0.tar.gz"
-MD5SUM="299beef98fc6e8274bcfa2720db13c6e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="dahdi-complete"
-MAINTAINER="Chris Walker"
-EMAIL="kris240376@gmail.com"
diff --git a/libraries/libpri/slack-desc b/libraries/libpri/slack-desc
deleted file mode 100644
index c763734ebe..0000000000
--- a/libraries/libpri/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------------------------------------------------------|
-libpri: libpri (Primary Rate ISDN specification library)
-libpri:
-libpri: libpri is a C implementation of the Primary Rate ISDN specification.
-libpri: It was based on the Bellcore specification SR-NWT-002343 for National
-libpri: ISDN. As of May 12, 2001, it has been tested work with NI-2, Nortel
-libpri: DMS-100, and Lucent 5E Custom protocols on switches from Nortel and
-libpri: Lucent.
-libpri:
-libpri:
-libpri:
-libpri:
diff --git a/libraries/libpseudo/README b/libraries/libpseudo/README
deleted file mode 100644
index 05b7bc4e4a..0000000000
--- a/libraries/libpseudo/README
+++ /dev/null
@@ -1,3 +0,0 @@
-libpseudo is a generic library which provides simple, thread-safe messaging
-between threads. It also provides a facility for implementing a run-time
-tunable, thread-like callback queue for single-threaded applications.
diff --git a/libraries/libpseudo/libpseudo-1.2.0-Makefile.patch b/libraries/libpseudo/libpseudo-1.2.0-Makefile.patch
deleted file mode 100644
index 6bb8cc240a..0000000000
--- a/libraries/libpseudo/libpseudo-1.2.0-Makefile.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- Makefile.orig 2009-05-22 12:47:25.000000000 +0100
-+++ Makefile 2009-05-22 13:05:37.000000000 +0100
-@@ -19,9 +19,9 @@
- rm -f *.so
-
- install:
-+ mkdir -p $(includedir) $(libdir)
- cp -f pseudo.h $(includedir)
- cp -f libpseudo.so $(libdir)
-- chmod 755 /usr/local/lib/libpseudo.so
-- ldconfig
-+ chmod 755 $(libdir)/libpseudo.so
-
-
diff --git a/libraries/libpseudo/libpseudo.SlackBuild b/libraries/libpseudo/libpseudo.SlackBuild
deleted file mode 100644
index 2f9df2127f..0000000000
--- a/libraries/libpseudo/libpseudo.SlackBuild
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for libpseudo.
-#
-# Copyright 2009 Pierre Cazenave <email removed>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Previously maintained by Gerardo Zamudio.
-# Now maintained by B. Watson, yalhcru@gmail.com.
-
-# 20170825 bkw:
-# - take over maintenance.
-# - don't install useless INSTALL in /usr/doc.
-# - simplify script a bit.
-
-PRGNAM=libpseudo
-VERSION=${VERSION:-1.2.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
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
-chown -R root:root .
-chmod 644 *
-
-# use a custom patch to fix paths in the Makefile
-patch -p0 < $CWD/libpseudo-1.2.0-Makefile.patch
-
-make CFLAGS="$SLKCFLAGS"
-strip $PRGNAM.so
-make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX}
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE README $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$TAG
-
-mkdir -p $PKG/install
-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/libraries/libpseudo/libpseudo.info b/libraries/libpseudo/libpseudo.info
deleted file mode 100644
index d11aacd838..0000000000
--- a/libraries/libpseudo/libpseudo.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libpseudo"
-VERSION="1.2.0"
-HOMEPAGE="http://libpseudo.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libpseudo/libpseudo-1.2.0.tar.gz"
-MD5SUM="64c0cc54abb6d01f52352045b39eb41e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/libraries/libpseudo/slack-desc b/libraries/libpseudo/slack-desc
deleted file mode 100644
index a27b17f264..0000000000
--- a/libraries/libpseudo/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------------------------------------------------------|
-libpseudo: libpseudo (simple thread-safe messaging between threads.)
-libpseudo:
-libpseudo: libpseudo is a generic library which provides simple, thread-safe
-libpseudo: messaging between threads. It also provides a facility for
-libpseudo: implementing a run-time tunable, thread-like callback queue for
-libpseudo: single-threaded applications.
-libpseudo:
-libpseudo: Homepage: http://libpseudo.sourceforge.net/
-libpseudo:
-libpseudo:
-libpseudo:
diff --git a/libraries/libpst/libpst.SlackBuild b/libraries/libpst/libpst.SlackBuild
index 1fa5bfa36c..65c4e55007 100644
--- a/libraries/libpst/libpst.SlackBuild
+++ b/libraries/libpst/libpst.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libpst
@@ -23,29 +23,32 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220510 bkw: old website went 404, project moved to github. thanks to
+# Ozan Türkyılmaz for reporting this!
+# 20211019 bkw:
+# - upgrade to 0.6.76
+# - build both python 2 and 3 modules
+# - get rid of .la files
+# 20201025 bkw: upgrade to 0.6.75
+# 20200224 bkw: upgrade to 0.6.74
# 20180917 bkw: upgrade to 0.6.72
-
-# 20170122 bkw:
-# - upgrade to 0.6.69
-
-# 20161017 bkw:
-# - upgrade to 0.6.68
-
-# 20160803 bkw:
-# - upgrade to 0.6.67
-
-# 20150513 bkw:
-# - upgrade to 0.6.64
+# 20170122 bkw: upgrade to 0.6.69
+# 20161017 bkw: upgrade to 0.6.68
+# 20160803 bkw: upgrade to 0.6.67
+# 20150513 bkw: upgrade to 0.6.64
# 20140314 bkw
# - took over maintenance
# - upgrade to 0.6.63
# - make install-strip instead of slow find stuff
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libpst
-VERSION=${VERSION:-0.6.72}
+VERSION=${VERSION:-0.6.76}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -55,7 +58,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,23 +83,22 @@ fi
set -e
+# 20220510 bkw: the github release URL has a ton of cloud-ey CGI
+# parameters. wget (with or without content-disposition) saves it
+# with the right filename, but be paranoid about it anyway:
+TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
+[ -e $TARBALL ] || TARBALL="$( /bin/ls -1 $TARBALL* | head -1 )"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $TARBALL
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 {} \+
-# 20180917 bkw: libpst supposedly supports python3 now, but python3
-# builds fail. Not tried to diagnose it, just reverting to python2,
-# like previous versions of libpst used.
-# ./configure --help claims that I can set PYTHON_VERSION in the environment
-# and it'll use that, but it doesn't work. So I have to use this abomination:
-sed -i 's,\<python3\..\>,,g' m4/ax_python.m4
-
autoreconf -if
CFLAGS="$SLKCFLAGS" \
@@ -116,6 +122,8 @@ make install-strip DESTDIR=$PKG \
gzip -9 $PKG/usr/man/man?/*.?
+rm -f $PKG/usr/lib*/*.la $PKG/usr/lib*/python*/*/*.la
+
# Package documentation has aready been copied
# into $PKG/usr/doc/$PRGNAM-$VERSION by "make install"
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -124,4 +132,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libpst/libpst.info b/libraries/libpst/libpst.info
index dbb08e1bf7..6c488273d5 100644
--- a/libraries/libpst/libpst.info
+++ b/libraries/libpst/libpst.info
@@ -1,10 +1,10 @@
PRGNAM="libpst"
-VERSION="0.6.72"
-HOMEPAGE="http://www.five-ten-sg.com/libpst/"
-DOWNLOAD="http://www.five-ten-sg.com/libpst/packages/libpst-0.6.72.tar.gz"
-MD5SUM="0085c9769a163e7ac59dba6518e0cc1e"
+VERSION="0.6.76"
+HOMEPAGE="https://github.com/pst-format/libpst/"
+DOWNLOAD="https://github.com/pst-format/libpst/releases/download/libpst-0.6.76/libpst-0.6.76.tar.gz"
+MD5SUM="e821b94e8d7790ee314059f751182ebf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libpwquality/README b/libraries/libpwquality/README
deleted file mode 100644
index b2abc40825..0000000000
--- a/libraries/libpwquality/README
+++ /dev/null
@@ -1,11 +0,0 @@
-libpwquality (library for password quality checking and generation)
-
-The libpwquality library purpose is to provide common functions for
-password quality checking and also scoring them based on their apparent
-randomness. The library also provides a function for generating random
-passwords with good pronounceability. The library supports reading and
-parsing of a configuration file.
-
-In the package there are also very simple utilities that use the library
-function and PAM module that can be used instead of pam_cracklib. The
-module supports all the options of pam_cracklib.
diff --git a/libraries/libpwquality/libpwquality.SlackBuild b/libraries/libpwquality/libpwquality.SlackBuild
deleted file mode 100644
index 2ac4ea57af..0000000000
--- a/libraries/libpwquality/libpwquality.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for libpwquality.
-#
-# Copyright 2015-2019 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=libpwquality
-VERSION=${VERSION:-1.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-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || 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 {} \;
-
-autoreconf -fiv
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --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
-
-DOCS="ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README"
-
-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
-
-mkdir -p $PKG/install
-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/libraries/libpwquality/libpwquality.info b/libraries/libpwquality/libpwquality.info
deleted file mode 100644
index eea4c45b61..0000000000
--- a/libraries/libpwquality/libpwquality.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libpwquality"
-VERSION="1.4.2"
-HOMEPAGE="https://github.com/libpwquality/libpwquality/"
-DOWNLOAD="https://github.com/libpwquality/libpwquality/archive/libpwquality-1.4.2.tar.gz"
-MD5SUM="13bd34cde12ccbf00a2e1747030f9663"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="cracklib"
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
diff --git a/libraries/libpwquality/slack-desc b/libraries/libpwquality/slack-desc
deleted file mode 100644
index dc0b8e0b16..0000000000
--- a/libraries/libpwquality/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------------------------------------------------------|
-libpwquality: libpwquality (library for password quality checking and generation)
-libpwquality:
-libpwquality: libpwquality's purpose is to provide common functions for password
-libpwquality: quality checking and also scoring them based on their apparent
-libpwquality: randomness. The library also provides a function for generating
-libpwquality: random passwords with good pronounceability.
-libpwquality:
-libpwquality: Home page: https://github.com/libpwquality/libpwquality/
-libpwquality:
-libpwquality:
-libpwquality:
diff --git a/libraries/libqb/libqb.SlackBuild b/libraries/libqb/libqb.SlackBuild
index 5f74f868f1..a2521f2c08 100644
--- a/libraries/libqb/libqb.SlackBuild
+++ b/libraries/libqb/libqb.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libqb
-# Copyright 2019 Jan F. Chadima <jfch@jagda.eu>
+# Copyright 2019-2020 Jan F. Chadima <jfch@jagda.eu>
# 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=libqb
-VERSION=${VERSION:-1.0.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.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}
@@ -86,6 +96,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+#remove unnecessary stuff
+rm -rf $PKG/usr/bin $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
@@ -98,8 +111,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libqb/libqb.info b/libraries/libqb/libqb.info
index e1cded63a6..78b5737409 100644
--- a/libraries/libqb/libqb.info
+++ b/libraries/libqb/libqb.info
@@ -1,10 +1,10 @@
PRGNAM="libqb"
-VERSION="1.0.5"
+VERSION="2.0.0"
HOMEPAGE="https://github.com/ClusterLabs/libqb"
-DOWNLOAD="https://github.com/ClusterLabs/libqb/releases/download/v1.0.5/libqb-1.0.5.tar.gz"
-MD5SUM="1495874e4a16e6e785885d7d69c26c45"
+DOWNLOAD="https://github.com/ClusterLabs/libqb/releases/download/v2.0.0/libqb-2.0.0.tar.gz"
+MD5SUM="861761df624d8f575f8010c58f52f9e5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="check"
+REQUIRES=""
MAINTAINER="Jan F. Chadima"
EMAIL="jfch@jagda.eu"
diff --git a/libraries/libqcow/README b/libraries/libqcow/README
index 7c12418d27..a47b6ee5cf 100644
--- a/libraries/libqcow/README
+++ b/libraries/libqcow/README
@@ -1,20 +1,21 @@
libqcow (libYAL QEMU QCOW image library)
-Library and tooling to access the QEMU Copy-On-Write (QCOW) image format.
+Library and tooling to access the QEMU Copy-On-Write (QCOW) image
+format.
Read supported QCOW formats:
version 1
- version 2
- version 3 (as of version 20141201)
+ version 2
+ version 3 (as of version 20141201)
Supported QCOW format features:
compression
- encryption
+ encryption
QCOW format features not supported at the moment:
backing file-based snapshots
- in-image snapshots
+ in-image snapshots
Work in progress:
Python bindings
- Dokan library support
+ Dokan library support
Thread-safety in file API functions
Planned:
Python 3 support
diff --git a/libraries/libqcow/libqcow.SlackBuild b/libraries/libqcow/libqcow.SlackBuild
index 90c3df046e..bdfe8c2142 100644
--- a/libraries/libqcow/libqcow.SlackBuild
+++ b/libraries/libqcow/libqcow.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libqcow
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated v20221124 July 2023
-# Updated v20181227 Jan 2019 Barry J. Grundy
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libqcow
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20221124}
STATUS=${STATUS:-alpha}
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,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libqcow/libqcow.info b/libraries/libqcow/libqcow.info
index c8f83c8e8f..427b02f8d1 100644
--- a/libraries/libqcow/libqcow.info
+++ b/libraries/libqcow/libqcow.info
@@ -1,8 +1,8 @@
PRGNAM="libqcow"
-VERSION="20181227"
+VERSION="20221124"
HOMEPAGE="https://github.com/libyal/libqcow"
-DOWNLOAD="https://github.com/libyal/libqcow/releases/download/20181227/libqcow-alpha-20181227.tar.gz"
-MD5SUM="79ebef2ac8d47e6497a51a19358b27a0"
+DOWNLOAD="https://linuxleo.com/Source/libqcow-alpha-20221124.tar.gz"
+MD5SUM="a54e46797d026027dc33155104c5ecea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libqinfinity/README b/libraries/libqinfinity/README
deleted file mode 100644
index 0eb43c669a..0000000000
--- a/libraries/libqinfinity/README
+++ /dev/null
@@ -1 +0,0 @@
-libqinfinity is a Qt-style interface to libinfinity used by Kobby.
diff --git a/libraries/libqinfinity/libqinfinity.SlackBuild b/libraries/libqinfinity/libqinfinity.SlackBuild
deleted file mode 100644
index 4820de7ca0..0000000000
--- a/libraries/libqinfinity/libqinfinity.SlackBuild
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libqinfinity, GooseYArd@gmail.com
-# sources for this are packaged from
-# https://gitorious.org/~pkern/libqinfinity/libinfinity-forward-port
-
-PRGNAM=libqinfinity
-VERSION=${VERSION:-20110501_5955f93}
-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.?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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Fix for glib>=2.31
-sed -i "s|/gerror||" libqinfinity/request.h test/guibrowser.h
-
-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 ..
-
-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 COPYING INSTALL 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/libraries/libqinfinity/libqinfinity.info b/libraries/libqinfinity/libqinfinity.info
deleted file mode 100644
index b652b68b33..0000000000
--- a/libraries/libqinfinity/libqinfinity.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libqinfinity"
-VERSION="20110501_5955f93"
-HOMEPAGE="https://github.com/KDE/libqinfinity"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/libqinfinity-20110501_5955f93.tar.xz"
-MD5SUM="1ff00847187829b7478a5034ec05c0fc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libinfinity"
-MAINTAINER="Andy Bailey"
-EMAIL="GooseYArd@gmail.com"
diff --git a/libraries/libqinfinity/slack-desc b/libraries/libqinfinity/slack-desc
deleted file mode 100644
index 4fc2fd6bb9..0000000000
--- a/libraries/libqinfinity/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------------------------------------------------------|
-libqinfinity: libqinfinity (libinfinity for QT)
-libqinfinity:
-libqinfinity: Libqinfinity is a Qt-style interface to libinfinity, used by Kobby.
-libqinfinity:
-libqinfinity:
-libqinfinity:
-libqinfinity:
-libqinfinity:
-libqinfinity:
-libqinfinity:
-libqinfinity:
diff --git a/libraries/libqsqlpsql/README b/libraries/libqsqlpsql/README
deleted file mode 100644
index 6dadbb1da3..0000000000
--- a/libraries/libqsqlpsql/README
+++ /dev/null
@@ -1 +0,0 @@
-This is the postgresql plugin for Qt4.
diff --git a/libraries/libqsqlpsql/libqsqlpsql.SlackBuild b/libraries/libqsqlpsql/libqsqlpsql.SlackBuild
deleted file mode 100644
index e2172bc24e..0000000000
--- a/libraries/libqsqlpsql/libqsqlpsql.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libqsqlpsql
-
-# Copyright 2008-2013 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=libqsqlpsql
-VERSION=${VERSION:-4.8.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 qt-everywhere-opensource-src-$VERSION
-tar xvf $CWD/qt-everywhere-opensource-src-$VERSION.tar.gz
-cd qt-everywhere-opensource-src-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 src/plugins/sqldrivers/psql
- qmake \
- QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- "INCLUDEPATH+=/usr/include/pgsql" \
- "LIBS+=-L/usr/lib$LIBDIRSUFFIX -lpq" \
- psql.pro
- make
- make install INSTALL_ROOT=$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 *GPL_EXCEPTION* 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/libraries/libqsqlpsql/libqsqlpsql.info b/libraries/libqsqlpsql/libqsqlpsql.info
deleted file mode 100644
index e871ff4de9..0000000000
--- a/libraries/libqsqlpsql/libqsqlpsql.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libqsqlpsql"
-VERSION="4.8.5"
-HOMEPAGE="http://qt-project.org/"
-DOWNLOAD="http://download.qt-project.org/archive/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz"
-MD5SUM="1864987bdbb2f58f8ae8b350dfdbe133"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="postgresql"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/libraries/libqsqlpsql/slack-desc b/libraries/libqsqlpsql/slack-desc
deleted file mode 100644
index 57df3a9691..0000000000
--- a/libraries/libqsqlpsql/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------------------------------------------------------|
-libqsqlpsql: libqsqlpsql (Postgresql plugin for Qt4)
-libqsqlpsql:
-libqsqlpsql: This is the postgresql plugin for Qt4.
-libqsqlpsql:
-libqsqlpsql:
-libqsqlpsql:
-libqsqlpsql:
-libqsqlpsql:
-libqsqlpsql:
-libqsqlpsql:
-libqsqlpsql:
diff --git a/libraries/libqtpas/README b/libraries/libqtpas/README
new file mode 100644
index 0000000000..7725b45092
--- /dev/null
+++ b/libraries/libqtpas/README
@@ -0,0 +1,6 @@
+libqtpas provides interface for pascal applications to use
+Qt5 C++ libraries. This binding does not cover the whole
+Qt5 framework, it contains just the classes needed to
+use Qt as a widgetset.
+
+This package provides the libqt5pas library.
diff --git a/libraries/libqtpas/changelog b/libraries/libqtpas/changelog
new file mode 100644
index 0000000000..24df36ea70
--- /dev/null
+++ b/libraries/libqtpas/changelog
@@ -0,0 +1,30 @@
+Changelog for the libqtpas SlackBuild script.
+--------------------------------------------------
+
+12/09/2022:
+
+libqtpas added in Slackbuilds.org
+
+21/09/2022:
+
+Added SLKCFLAGS to QMAKE. Thanks to David Miller
+for pointing it out. Bumped the build no.
+
+24/01/2023:
+
+corrected spelling mistake in README and slack-desc.
+This will now build from lazarus source instead of
+relying on Debian source package.Thanks to Davild Miller
+For pointing that out.For the 64-bit systems I have added
+-march=x86-64 -mtune=native flag so it will be optimized
+for the host system, also added Hardening Flags.
+Bumped the build no.
+
+05/01/2024:
+
+Upgraded to version 2.9 corresponding to the lazarus
+version 2.2.6-0 in SBo.
+
+26/04/2024:
+
+Update to use lazarus version 3.2-0
diff --git a/libraries/libqtpas/libqtpas.SlackBuild b/libraries/libqtpas/libqtpas.SlackBuild
new file mode 100644
index 0000000000..b42fadb75f
--- /dev/null
+++ b/libraries/libqtpas/libqtpas.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+# Slackware build script for libqtpas
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libqtpas
+VERSION=${VERSION:-2.15}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=${SRCNAM:-lazarus}
+SRCVER=${SRCVER:-3.2}
+
+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}
+
+PREPROCESS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS"
+
+HARDENING="-fexceptions -fstack-protector-strong -fstack-clash-protection -mindirect-branch=thunk -mfunction-return=thunk"
+
+SLDFLAGS="-Wl,-shared -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,defs"
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="$PREPROCESS -march=i586 -mtune=i686 -O2 -fPIC $HARDENING"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="$PREPROCESS -march=i686 -mtune=i686 -O2 -fPIC $HARDENING"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="$PREPROCESS -march=x86-64 -mtune=generic -O2 -fPIC $HARDENING"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+rm -rf $TMP/$SRCNAM
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$SRCVER-0.tar.gz
+cd $SRCNAM/lcl/interfaces/qt5/cbindings/
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 "QT += x11extras" \
+QMAKE_CXXFLAGS\ +=\ "$SLKCFLAGS" \
+QMAKE_CFLAGS\ +=\ "$SLKCFLAGS" \
+QMAKE_LFLAGS\ +=\ "$SLDFLAGS" \
+Qt5Pas.pro
+make
+make INSTALL_ROOT=$PKG install
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.TXT README.TXT TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libqtpas/libqtpas.info b/libraries/libqtpas/libqtpas.info
new file mode 100644
index 0000000000..ec0dc8139a
--- /dev/null
+++ b/libraries/libqtpas/libqtpas.info
@@ -0,0 +1,10 @@
+PRGNAM="libqtpas"
+VERSION="2.15"
+HOMEPAGE="http://www.lazarus.freepascal.org/"
+DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.2-0.tar.gz"
+MD5SUM="75b871d4d19d08570d2f282b0d8fed0e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libqtpas/slack-desc b/libraries/libqtpas/slack-desc
new file mode 100644
index 0000000000..83090e64b8
--- /dev/null
+++ b/libraries/libqtpas/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------------------------------------------------------|
+libqtpas: libqtpas (Qt5 Interface Bindings for Pascal)
+libqtpas:
+libqtpas: libqtpas provides interface for pascal applications to use
+libqtpas: Qt5 C++ libraries. This binding does not cover the whole
+libqtpas: Qt5 framework, it contains just the classes needed to
+libqtpas: use Qt as a widgetset.
+libqtpas:
+libqtpas: Homepage:http://www.lazarus.freepascal.org/
+libqtpas:
+libqtpas:
+libqtpas:
diff --git a/libraries/libquicktime/README b/libraries/libquicktime/README
index 6fc3b7c7dd..39e06e2cb7 100644
--- a/libraries/libquicktime/README
+++ b/libraries/libquicktime/README
@@ -4,5 +4,4 @@ OpenDivX, MJPA, JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0
compression. Supported audio CODECs are Ogg Vorbis, IMA4, ulaw,
and any linear PCM format.
-Optional dependencies are faac, faad2, ffmpeg, lame, libdv,
-schroedinger and x264.
+Optional dependencies are faac, faad2, libdv, schroedinger, and x264.
diff --git a/libraries/libquicktime/libquicktime-1.2.4-faad2.patch b/libraries/libquicktime/libquicktime-1.2.4-faad2.patch
new file mode 100644
index 0000000000..563f46426f
--- /dev/null
+++ b/libraries/libquicktime/libquicktime-1.2.4-faad2.patch
@@ -0,0 +1,86 @@
+diff -ruN a/configure.ac b/configure.ac
+--- a/configure.ac 2012-03-29 21:44:28.000000000 +0200
++++ b/configure.ac 2020-02-09 18:27:31.599127781 +0100
+@@ -728,82 +728,9 @@
+
+ if test "x$with_faad2" != "xno"; then
+
+-OLD_CFLAGS=$CFLAGS
+-OLD_LIBS=$LIBS
+-
+ CFLAGS="$CFLAGS"
+ LIBS="$LIBS -lfaad -lm"
+
+-AC_MSG_CHECKING(for neaacdec.h usability for faad2)
+-
+-
+-AC_TRY_RUN([
+- #include <neaacdec.h>
+- #include <stdio.h>
+- main()
+- {
+- int faad_major;
+- int faad_minor;
+- faacDecHandle dec;
+-
+- if(sscanf(FAAD2_VERSION, "%d.%d", &faad_major, &faad_minor) < 2)
+- return -1;
+- dec = faacDecOpen();
+- if(!dec)
+- return -1;
+- return 0;
+- }
+- ],
+- [
+- # program could be run
+- have_faad2="true"
+- AC_MSG_RESULT(yes)
+- FAAD2_CFLAGS=$CFLAGS
+- FAAD2_LIBS=$LIBS
+- AC_DEFINE(HAVE_NEAACDEC_H)
+- ],
+- # program could not be run
+- AC_MSG_RESULT(no)
+-)
+-
+-if test "x$have_faad2" != "xtrue"; then
+-
+-AC_MSG_CHECKING(for faad.h usability for faad2)
+-
+-AC_TRY_RUN([
+- #include <faad.h>
+- #include <stdio.h>
+- main()
+- {
+- int faad_major;
+- int faad_minor;
+- faacDecHandle dec;
+-
+- if(sscanf(FAAD2_VERSION, "%d.%d", &faad_major, &faad_minor) < 2)
+- return -1;
+- dec = faacDecOpen();
+- if(!dec)
+- return -1;
+- return 0;
+- }
+- ],
+- [
+- # program could be run
+- have_faad2="true"
+- AC_MSG_RESULT(yes)
+- FAAD2_CFLAGS=$CFLAGS
+- FAAD2_LIBS=$LIBS
+-
+-
+- ],
+- # program could not be run
+- AC_MSG_RESULT(no)
+-)
+-
+-fi
+-
+-CFLAGS=$OLD_CFLAGS
+-LIBS=$OLD_LIBS
+
+ fi
+
diff --git a/libraries/libquicktime/libquicktime-1.2.4-ffmpeg2.patch b/libraries/libquicktime/libquicktime-1.2.4-ffmpeg2.patch
deleted file mode 100644
index 7add44220a..0000000000
--- a/libraries/libquicktime/libquicktime-1.2.4-ffmpeg2.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-Extracted from upstream CVS.
-https://bugs.gentoo.org/show_bug.cgi?id=476498
-
-Index: libquicktime-1.2.4/plugins/ffmpeg/audio.c
-===================================================================
---- libquicktime-1.2.4.orig/plugins/ffmpeg/audio.c
-+++ libquicktime-1.2.4/plugins/ffmpeg/audio.c
-@@ -45,6 +45,11 @@
- #define ENCODE_AUDIO 1
- #endif
-
-+#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
-+/* from libavcodec/avcodec.h dated Dec 23 2012 */
-+#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
-+#endif
-+
- /* The following code was ported from gmerlin_avdecoder (http://gmerlin.sourceforge.net) */
-
- /* MPEG Audio header parsing code */
-Index: libquicktime-1.2.4/plugins/ffmpeg/params.c
-===================================================================
---- libquicktime-1.2.4.orig/plugins/ffmpeg/params.c
-+++ libquicktime-1.2.4/plugins/ffmpeg/params.c
-@@ -101,6 +101,17 @@ typedef struct
- } \
- }
-
-+#define PARAM_DICT_INT(name, dict_name) \
-+ { \
-+ if(!strcasecmp(name, key)) \
-+ { \
-+ char buf[128]; \
-+ snprintf(buf, sizeof(buf), "%d", *(int*)value); \
-+ av_dict_set(options, dict_name, buf, 0); \
-+ found = 1; \
-+ } \
-+ }
-+
- #define PARAM_DICT_FLAG(name, dict_name) \
- { \
- if(!strcasecmp(name, key)) \
-@@ -202,8 +213,15 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_INT("ff_max_b_frames",max_b_frames);
- PARAM_FLOAT("ff_b_quant_factor",b_quant_factor);
- PARAM_INT("ff_b_frame_strategy",b_frame_strategy);
-+
-+#if LIBAVCODEC_VERSION_MAJOR >= 55
-+ PARAM_DICT_INT("ff_luma_elim_threshold","luma_elim_threshold");
-+ PARAM_DICT_INT("ff_chroma_elim_threshold","chroma_elim_threshold");
-+#else
- PARAM_INT("ff_luma_elim_threshold",luma_elim_threshold);
- PARAM_INT("ff_chroma_elim_threshold",chroma_elim_threshold);
-+#endif
-+
- PARAM_INT("ff_strict_std_compliance",strict_std_compliance);
- PARAM_QP2LAMBDA("ff_b_quant_offset",b_quant_offset);
- PARAM_INT("ff_rc_min_rate",rc_min_rate);
-@@ -241,8 +259,15 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_QP2LAMBDA("ff_lmax", lmax);
- PARAM_INT("ff_noise_reduction",noise_reduction);
- PARAM_INT_SCALE("ff_rc_initial_buffer_occupancy",rc_initial_buffer_occupancy,1000);
-+
-+#if LIBAVCODEC_VERSION_MAJOR >= 55
-+ PARAM_DICT_INT("ff_inter_threshold","inter_threshold");
-+ PARAM_DICT_INT("ff_quantizer_noise_shaping","quantizer_noise_shaping");
-+#else
- PARAM_INT("ff_inter_threshold",inter_threshold);
- PARAM_INT("ff_quantizer_noise_shaping",quantizer_noise_shaping);
-+#endif
-+
- PARAM_INT("ff_thread_count",thread_count);
- PARAM_INT("ff_me_threshold",me_threshold);
- PARAM_INT("ff_mb_threshold",mb_threshold);
-@@ -272,8 +297,16 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_FLAG("ff_flag_bitexact",CODEC_FLAG_BITEXACT);
- PARAM_FLAG("ff_flag_ac_pred",CODEC_FLAG_AC_PRED);
- // PARAM_FLAG("ff_flag_h263p_umv",CODEC_FLAG_H263P_UMV); // Unused
-+
-+#if LIBAVCODEC_VERSION_MAJOR >= 55
-+ PARAM_DICT_FLAG("ff_flag_cbp_rd","cbp_rd");
-+ PARAM_DICT_FLAG("ff_flag_qp_rd","qp_rd");
-+ PARAM_DICT_FLAG("ff_flag2_strict_gop","strict_gop");
-+#else
- PARAM_FLAG("ff_flag_cbp_rd",CODEC_FLAG_CBP_RD);
- PARAM_FLAG("ff_flag_qp_rd",CODEC_FLAG_QP_RD);
-+ PARAM_FLAG2("ff_flag2_strict_gop",CODEC_FLAG2_STRICT_GOP);
-+#endif
-
- #if LIBAVCODEC_VERSION_MAJOR >= 54
- PARAM_DICT_FLAG("ff_flag_h263p_aiv", "aiv");
-@@ -288,7 +321,6 @@ void lqt_ffmpeg_set_parameter(AVCodecCon
- PARAM_FLAG("ff_flag_loop_filter",CODEC_FLAG_LOOP_FILTER);
- PARAM_FLAG("ff_flag_closed_gop",CODEC_FLAG_CLOSED_GOP);
- PARAM_FLAG2("ff_flag2_fast",CODEC_FLAG2_FAST);
-- PARAM_FLAG2("ff_flag2_strict_gop",CODEC_FLAG2_STRICT_GOP);
- PARAM_ENUM("ff_coder_type",coder_type,coder_type);
-
- }
diff --git a/libraries/libquicktime/libquicktime-ffmpeg3.patch b/libraries/libquicktime/libquicktime-ffmpeg3.patch
deleted file mode 100644
index f5784e8229..0000000000
--- a/libraries/libquicktime/libquicktime-ffmpeg3.patch
+++ /dev/null
@@ -1,935 +0,0 @@
-Index: libquicktime-1.2.4/plugins/ffmpeg/video.c
-===================================================================
---- libquicktime-1.2.4.orig/plugins/ffmpeg/video.c
-+++ libquicktime-1.2.4/plugins/ffmpeg/video.c
-@@ -37,10 +37,10 @@
- #endif
-
-
--#ifdef PIX_FMT_YUV422P10
--#define PIX_FMT_YUV422P10_OR_DUMMY PIX_FMT_YUV422P10
-+#ifdef AV_PIX_FMT_YUV422P10
-+#define AV_PIX_FMT_YUV422P10_OR_DUMMY AV_PIX_FMT_YUV422P10
- #else
--#define PIX_FMT_YUV422P10_OR_DUMMY -1234
-+#define AV_PIX_FMT_YUV422P10_OR_DUMMY -1234
- #endif
-
- #if LIBAVCODEC_VERSION_INT >= ((54<<16)|(1<<8)|0)
-@@ -90,9 +90,9 @@ typedef struct
- int imx_bitrate;
- int imx_strip_vbi;
-
-- /* In some cases FFMpeg would report something like PIX_FMT_YUV422P, while
-- we would like to treat it as PIX_FMT_YUVJ422P. It's only used for decoding */
-- enum PixelFormat reinterpret_pix_fmt;
-+ /* In some cases FFMpeg would report something like AV_PIX_FMT_YUV422P, while
-+ we would like to treat it as AV_PIX_FMT_YUVJ422P. It's only used for decoding */
-+ enum AVPixelFormat reinterpret_pix_fmt;
-
- int is_imx;
- int y_offset;
-@@ -137,42 +137,42 @@ typedef struct
-
- static const struct
- {
-- enum PixelFormat ffmpeg_id;
-+ enum AVPixelFormat ffmpeg_id;
- int lqt_id;
- int exact;
- }
- colormodels[] =
- {
-- { PIX_FMT_YUV420P, BC_YUV420P, 1 }, ///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples)
-+ { AV_PIX_FMT_YUV420P, BC_YUV420P, 1 }, ///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples)
- #if LIBAVUTIL_VERSION_INT < (50<<16)
-- { PIX_FMT_YUV422, BC_YUV422, 1 },
-+ { AV_PIX_FMT_YUV422, BC_YUV422, 1 },
- #else
-- { PIX_FMT_YUYV422, BC_YUV422, 1 },
-+ { AV_PIX_FMT_YUYV422, BC_YUV422, 1 },
- #endif
-- { PIX_FMT_RGB24, BC_RGB888, 1 }, ///< Packed pixel, 3 bytes per pixel, RGBRGB...
-- { PIX_FMT_BGR24, BC_BGR888, 1 }, ///< Packed pixel, 3 bytes per pixel, BGRBGR...
-- { PIX_FMT_YUV422P, BC_YUV422P, 1 }, ///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples)
-- { PIX_FMT_YUV444P, BC_YUV444P, 1 }, ///< Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples)
-- { PIX_FMT_YUV411P, BC_YUV411P, 1 }, ///< Planar YUV 4:1:1 (1 Cr & Cb sample per 4x1 Y samples)
-- { PIX_FMT_YUV422P16, BC_YUV422P16, 1 }, ///< Planar 16 bit YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples)
--#ifdef PIX_FMT_YUV422P10
-- { PIX_FMT_YUV422P10, BC_YUV422P10, 1 }, ///< 10 bit samples in uint16_t containers, planar 4:2:2
--#endif
-- { PIX_FMT_RGB565, BC_RGB565, 1 }, ///< always stored in cpu endianness
-- { PIX_FMT_YUVJ420P, BC_YUVJ420P, 1 }, ///< Planar YUV 4:2:0 full scale (jpeg)
-- { PIX_FMT_YUVJ422P, BC_YUVJ422P, 1 }, ///< Planar YUV 4:2:2 full scale (jpeg)
-- { PIX_FMT_YUVJ444P, BC_YUVJ444P, 1 }, ///< Planar YUV 4:4:4 full scale (jpeg)
-+ { AV_PIX_FMT_RGB24, BC_RGB888, 1 }, ///< Packed pixel, 3 bytes per pixel, RGBRGB...
-+ { AV_PIX_FMT_BGR24, BC_BGR888, 1 }, ///< Packed pixel, 3 bytes per pixel, BGRBGR...
-+ { AV_PIX_FMT_YUV422P, BC_YUV422P, 1 }, ///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples)
-+ { AV_PIX_FMT_YUV444P, BC_YUV444P, 1 }, ///< Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples)
-+ { AV_PIX_FMT_YUV411P, BC_YUV411P, 1 }, ///< Planar YUV 4:1:1 (1 Cr & Cb sample per 4x1 Y samples)
-+ { AV_PIX_FMT_YUV422P16, BC_YUV422P16, 1 }, ///< Planar 16 bit YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples)
-+#ifdef AV_PIX_FMT_YUV422P10
-+ { AV_PIX_FMT_YUV422P10, BC_YUV422P10, 1 }, ///< 10 bit samples in uint16_t containers, planar 4:2:2
-+#endif
-+ { AV_PIX_FMT_RGB565, BC_RGB565, 1 }, ///< always stored in cpu endianness
-+ { AV_PIX_FMT_YUVJ420P, BC_YUVJ420P, 1 }, ///< Planar YUV 4:2:0 full scale (jpeg)
-+ { AV_PIX_FMT_YUVJ422P, BC_YUVJ422P, 1 }, ///< Planar YUV 4:2:2 full scale (jpeg)
-+ { AV_PIX_FMT_YUVJ444P, BC_YUVJ444P, 1 }, ///< Planar YUV 4:4:4 full scale (jpeg)
- #if LIBAVUTIL_VERSION_INT < (50<<16)
-- { PIX_FMT_RGBA32, BC_RGBA8888, 0 }, ///< Packed pixel, 4 bytes per pixel, BGRABGRA...
-+ { AV_PIX_FMT_RGBA32, BC_RGBA8888, 0 }, ///< Packed pixel, 4 bytes per pixel, BGRABGRA...
- #else
-- { PIX_FMT_RGB32, BC_RGBA8888, 0 }, ///< Packed pixel, 4 bytes per pixel, BGRABGRA...
-+ { AV_PIX_FMT_RGB32, BC_RGBA8888, 0 }, ///< Packed pixel, 4 bytes per pixel, BGRABGRA...
- #endif
-- { PIX_FMT_RGB555, BC_RGB888, 0 }, ///< always stored in cpu endianness, most significant bit to 1
-- { PIX_FMT_GRAY8, BC_RGB888, 0 },
-- { PIX_FMT_MONOWHITE, BC_RGB888, 0 }, ///< 0 is white
-- { PIX_FMT_MONOBLACK, BC_RGB888, 0 }, ///< 0 is black
-- { PIX_FMT_PAL8, BC_RGB888, 0 }, ///< 8 bit with RGBA palette
-- { PIX_FMT_YUV410P, BC_YUV420P, 0 }, ///< Planar YUV 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
-+ { AV_PIX_FMT_RGB555, BC_RGB888, 0 }, ///< always stored in cpu endianness, most significant bit to 1
-+ { AV_PIX_FMT_GRAY8, BC_RGB888, 0 },
-+ { AV_PIX_FMT_MONOWHITE, BC_RGB888, 0 }, ///< 0 is white
-+ { AV_PIX_FMT_MONOBLACK, BC_RGB888, 0 }, ///< 0 is black
-+ { AV_PIX_FMT_PAL8, BC_RGB888, 0 }, ///< 8 bit with RGBA palette
-+ { AV_PIX_FMT_YUV410P, BC_YUV420P, 0 }, ///< Planar YUV 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
- };
-
- static const struct
-@@ -343,16 +343,16 @@ static int lqt_tenbit_dnxhd_supported(AV
- if (!codec->pix_fmts)
- return 0;
-
-- for (i = 0; codec->pix_fmts[i] != PIX_FMT_NONE; ++i)
-+ for (i = 0; codec->pix_fmts[i] != AV_PIX_FMT_NONE; ++i)
- {
-- if (codec->pix_fmts[i] == PIX_FMT_YUV422P10_OR_DUMMY)
-+ if (codec->pix_fmts[i] == AV_PIX_FMT_YUV422P10_OR_DUMMY)
- return 1;
- }
-
- return 0;
- }
-
--static enum PixelFormat lqt_ffmpeg_get_ffmpeg_colormodel(int id)
-+static enum AVPixelFormat lqt_ffmpeg_get_ffmpeg_colormodel(int id)
- {
- int i;
-
-@@ -361,10 +361,10 @@ static enum PixelFormat lqt_ffmpeg_get_f
- if(colormodels[i].lqt_id == id)
- return colormodels[i].ffmpeg_id;
- }
-- return PIX_FMT_NB;
-+ return AV_PIX_FMT_NB;
- }
-
--static int lqt_ffmpeg_get_lqt_colormodel(enum PixelFormat id, int * exact)
-+static int lqt_ffmpeg_get_lqt_colormodel(enum AVPixelFormat id, int * exact)
- {
- int i;
-
-@@ -402,24 +402,24 @@ static void lqt_ffmpeg_setup_decoding_co
- /* First we try codec-specific colormodel matching. */
- if(codec->decoder->id == AV_CODEC_ID_DNXHD)
- {
-- /* FFMpeg supports PIX_FMT_YUV422P and PIX_FMT_YUV422P10 for DNxHD, which
-- we sometimes interpret as PIX_FMT_YUVJ422P and PIX_FMT_YUVJ422P10. */
-- if (codec->avctx->pix_fmt == PIX_FMT_YUV422P || codec->avctx->pix_fmt == PIX_FMT_YUV422P10_OR_DUMMY)
-+ /* FFMpeg supports AV_PIX_FMT_YUV422P and AV_PIX_FMT_YUV422P10 for DNxHD, which
-+ we sometimes interpret as AV_PIX_FMT_YUVJ422P and AV_PIX_FMT_YUVJ422P10. */
-+ if (codec->avctx->pix_fmt == AV_PIX_FMT_YUV422P || codec->avctx->pix_fmt == AV_PIX_FMT_YUV422P10_OR_DUMMY)
- {
-- int p10 = (codec->avctx->pix_fmt == PIX_FMT_YUV422P10_OR_DUMMY);
-+ int p10 = (codec->avctx->pix_fmt == AV_PIX_FMT_YUV422P10_OR_DUMMY);
- *exact = 1;
- if (lqt_ffmpeg_get_avid_yuv_range(vtrack->track) == AVID_FULL_YUV_RANGE)
- {
- vtrack->stream_cmodel = p10 ? BC_YUVJ422P10 : BC_YUVJ422P;
-- codec->reinterpret_pix_fmt = p10 ? PIX_FMT_YUV422P10_OR_DUMMY : PIX_FMT_YUVJ422P;
-- // Note: reinterpret_pix_fmt should really be PIX_FMT_YUVJ422P10, except
-+ codec->reinterpret_pix_fmt = p10 ? AV_PIX_FMT_YUV422P10_OR_DUMMY : AV_PIX_FMT_YUVJ422P;
-+ // Note: reinterpret_pix_fmt should really be AV_PIX_FMT_YUVJ422P10, except
- // there is no such colormodel in FFMpeg. Fortunately, it's not a problem
- // in this case, as reinterpret_pix_fmt is only used when *exact == 0.
- }
- else
- {
- vtrack->stream_cmodel = p10 ? BC_YUV422P10 : BC_YUV422P;
-- codec->reinterpret_pix_fmt = p10 ? PIX_FMT_YUV422P10_OR_DUMMY : PIX_FMT_YUV422P;
-+ codec->reinterpret_pix_fmt = p10 ? AV_PIX_FMT_YUV422P10_OR_DUMMY : AV_PIX_FMT_YUV422P;
- }
- return;
- }
-@@ -440,14 +440,14 @@ static void lqt_ffmpeg_setup_encoding_co
-
- if (codec->encoder->id == AV_CODEC_ID_DNXHD)
- {
-- /* FFMpeg's DNxHD encoder only supports PIX_FMT_YUV422P and PIX_FMT_YUV422P10
-- and doesn't know anything about PIX_FMT_YUVJ422P and PIX_FMT_YUVJ422P10
-+ /* FFMpeg's DNxHD encoder only supports AV_PIX_FMT_YUV422P and AV_PIX_FMT_YUV422P10
-+ and doesn't know anything about AV_PIX_FMT_YUVJ422P and AV_PIX_FMT_YUVJ422P10
- (in fact, the latter doesn't even exist) */
-- codec->avctx->pix_fmt = PIX_FMT_YUV422P;
-+ codec->avctx->pix_fmt = AV_PIX_FMT_YUV422P;
- if (vtrack->stream_cmodel == BC_YUV422P10 || vtrack->stream_cmodel == BC_YUVJ422P10)
- {
- if (lqt_tenbit_dnxhd_supported(codec->encoder))
-- codec->avctx->pix_fmt = PIX_FMT_YUV422P10_OR_DUMMY;
-+ codec->avctx->pix_fmt = AV_PIX_FMT_YUV422P10_OR_DUMMY;
- }
- }
- }
-@@ -458,7 +458,7 @@ static void lqt_ffmpeg_setup_encoding_co
- /* From avcodec.h: */
-
- /*
-- * PIX_FMT_RGBA32 is handled in an endian-specific manner. A RGBA
-+ * AV_PIX_FMT_RGBA32 is handled in an endian-specific manner. A RGBA
- * color is put together as:
- * (A << 24) | (R << 16) | (G << 8) | B
- * This is stored as BGRA on little endian CPU architectures and ARGB on
-@@ -530,7 +530,7 @@ static void convert_rgba_to_argb(uint8_t
- */
-
- static void convert_image_decode(quicktime_ffmpeg_video_codec_t *codec,
-- AVFrame * in_frame, enum PixelFormat in_format,
-+ AVFrame * in_frame, enum AVPixelFormat in_format,
- unsigned char ** out_frame, int out_format,
- int width, int height, int row_span, int row_span_uv)
- {
-@@ -547,9 +547,9 @@ static void convert_image_decode(quickti
- * RGBA format like in ffmpeg??
- */
- #if LIBAVUTIL_VERSION_INT < (50<<16)
-- if((in_format == PIX_FMT_RGBA32) && (out_format == BC_RGBA8888))
-+ if((in_format == AV_PIX_FMT_RGBA32) && (out_format == BC_RGBA8888))
- #else
-- if((in_format == PIX_FMT_RGB32) && (out_format == BC_RGBA8888))
-+ if((in_format == AV_PIX_FMT_RGB32) && (out_format == BC_RGBA8888))
- #endif
- {
- convert_image_decode_rgba(in_frame, out_frame, width, height, codec->y_offset);
-@@ -829,7 +829,7 @@ static int lqt_ffmpeg_decode_video(quick
- if(avcodec_open2(codec->avctx, codec->decoder, NULL) != 0)
- return -1;
- #endif
-- codec->frame = avcodec_alloc_frame();
-+ codec->frame = av_frame_alloc();
- vtrack->stream_cmodel = LQT_COLORMODEL_NONE;
- codec->initialized = 1;
- }
-@@ -929,10 +929,10 @@ static int lqt_ffmpeg_decode_video(quick
- #ifdef HAVE_LIBSWSCALE
-
- #if LIBAVUTIL_VERSION_INT < (50<<16)
-- if(!((codec->avctx->pix_fmt == PIX_FMT_RGBA32) &&
-+ if(!((codec->avctx->pix_fmt == AV_PIX_FMT_RGBA32) &&
- (vtrack->stream_cmodel == BC_RGBA8888)))
- #else
-- if(!((codec->avctx->pix_fmt == PIX_FMT_RGB32) &&
-+ if(!((codec->avctx->pix_fmt == AV_PIX_FMT_RGB32) &&
- (vtrack->stream_cmodel == BC_RGBA8888)))
- #endif
- {
-@@ -1318,7 +1318,7 @@ static int lqt_ffmpeg_encode_video(quick
-
- if(!codec->initialized)
- {
-- codec->frame = avcodec_alloc_frame();
-+ codec->frame = av_frame_alloc();
-
- /* time_base is 1/framerate for constant framerate */
-
-@@ -1396,9 +1396,9 @@ static int lqt_ffmpeg_encode_video(quick
- if(vtrack->stream_cmodel == BC_RGBA8888)
- {
- /* Libquicktime doesn't natively support a color model equivalent
-- to PIX_FMT_ARGB, which is required for QTRLE with alpha channel.
-+ to AV_PIX_FMT_ARGB, which is required for QTRLE with alpha channel.
- So, we use BC_RGBA8888 and do ad hoc conversion below. */
-- codec->avctx->pix_fmt = PIX_FMT_ARGB;
-+ codec->avctx->pix_fmt = AV_PIX_FMT_ARGB;
- vtrack->track->mdia.minf.stbl.stsd.table[0].depth = 32;
- }
- }
-@@ -1467,7 +1467,7 @@ static int lqt_ffmpeg_encode_video(quick
- }
- // codec->lqt_colormodel = ffmepg_2_lqt(codec->com.ffcodec_enc);
-
-- if(codec->y_offset != 0 || codec->avctx->pix_fmt == PIX_FMT_ARGB)
-+ if(codec->y_offset != 0 || codec->avctx->pix_fmt == AV_PIX_FMT_ARGB)
- {
- if(!codec->tmp_rows)
- {
-@@ -1492,7 +1492,7 @@ static int lqt_ffmpeg_encode_video(quick
- vtrack->stream_cmodel,
- 0, 0, 0, codec->y_offset);
- }
-- else if(codec->avctx->pix_fmt == PIX_FMT_ARGB)
-+ else if(codec->avctx->pix_fmt == AV_PIX_FMT_ARGB)
- {
- convert_rgba_to_argb(row_pointers[0], vtrack->stream_row_span,
- codec->tmp_rows[0], codec->tmp_row_span,
-Index: libquicktime-1.2.4/plugins/ffmpeg/audio.c
-===================================================================
---- libquicktime-1.2.4.orig/plugins/ffmpeg/audio.c
-+++ libquicktime-1.2.4/plugins/ffmpeg/audio.c
-@@ -1266,7 +1266,7 @@ static int lqt_ffmpeg_encode_audio(quick
- pkt.data = codec->chunk_buffer;
- pkt.size = codec->chunk_buffer_alloc;
-
-- avcodec_get_frame_defaults(&f);
-+ av_frame_unref(&f);
- f.nb_samples = codec->avctx->frame_size;
-
- avcodec_fill_audio_frame(&f, channels, codec->avctx->sample_fmt,
---- libquicktime-1.2.4/plugins/ffmpeg/lqt_ffmpeg.c.orig 2016-02-17 08:11:50.683023612 +0000
-+++ libquicktime-1.2.4/plugins/ffmpeg/lqt_ffmpeg.c 2016-02-17 08:12:20.362898974 +0000
-@@ -370,7 +370,7 @@
- struct CODECIDMAP codecidmap_v[] =
- {
- {
-- .id = CODEC_ID_MPEG1VIDEO,
-+ .id = AV_CODEC_ID_MPEG1VIDEO,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -381,7 +381,7 @@
- .wav_ids = { LQT_WAV_ID_NONE }
- },
- {
-- .id = CODEC_ID_MPEG4,
-+ .id = AV_CODEC_ID_MPEG4,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -399,7 +399,7 @@
- .compression_id = LQT_COMPRESSION_MPEG4_ASP,
- },
- {
-- .id = CODEC_ID_MSMPEG4V1,
-+ .id = AV_CODEC_ID_MSMPEG4V1,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -410,7 +410,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_MSMPEG4V2,
-+ .id = AV_CODEC_ID_MSMPEG4V2,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -421,7 +421,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_MSMPEG4V3,
-+ .id = AV_CODEC_ID_MSMPEG4V3,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -437,7 +437,7 @@
- .do_encode = 1,
- },
- {
-- .id = CODEC_ID_MSMPEG4V3,
-+ .id = AV_CODEC_ID_MSMPEG4V3,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -452,7 +452,7 @@
- },
- #if 0
- {
-- .id = CODEC_ID_WMV1,
-+ .id = AV_CODEC_ID_WMV1,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -465,7 +465,7 @@
- },
- #endif
- {
-- .id = CODEC_ID_H263,
-+ .id = AV_CODEC_ID_H263,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -477,7 +477,7 @@
- .compatibility_flags = LQT_FILE_QT_OLD | LQT_FILE_QT | LQT_FILE_MP4 | LQT_FILE_3GP,
- },
- {
-- .id = CODEC_ID_H263,
-+ .id = AV_CODEC_ID_H263,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -492,7 +492,7 @@
- .do_encode = 1,
- },
- {
-- .id = CODEC_ID_H264,
-+ .id = AV_CODEC_ID_H264,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -503,7 +503,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_H263P,
-+ .id = AV_CODEC_ID_H263P,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -517,7 +517,7 @@
- .do_encode = 1,
- },
- {
-- .id = CODEC_ID_H263I,
-+ .id = AV_CODEC_ID_H263I,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -528,7 +528,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_SVQ1,
-+ .id = AV_CODEC_ID_SVQ1,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -539,7 +539,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_SVQ3,
-+ .id = AV_CODEC_ID_SVQ3,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -550,7 +550,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_MJPEG,
-+ .id = AV_CODEC_ID_MJPEG,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -564,7 +564,7 @@
- .do_encode = 1,
- },
- {
-- .id = CODEC_ID_MJPEGB,
-+ .id = AV_CODEC_ID_MJPEGB,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -578,7 +578,7 @@
- },
- #if LIBAVCODEC_BUILD >= 3346688
- {
-- .id = CODEC_ID_TARGA,
-+ .id = AV_CODEC_ID_TARGA,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -590,7 +590,7 @@
- #endif
- #if LIBAVCODEC_BUILD >= 3347456
- {
-- .id = CODEC_ID_TIFF,
-+ .id = AV_CODEC_ID_TIFF,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -601,7 +601,7 @@
- },
- #endif
- {
-- .id = CODEC_ID_8BPS,
-+ .id = AV_CODEC_ID_8BPS,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -611,7 +611,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_INDEO3,
-+ .id = AV_CODEC_ID_INDEO3,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -622,7 +622,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_RPZA,
-+ .id = AV_CODEC_ID_RPZA,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -632,7 +632,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_SMC,
-+ .id = AV_CODEC_ID_SMC,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -642,7 +642,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_CINEPAK,
-+ .id = AV_CODEC_ID_CINEPAK,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -653,7 +653,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_CYUV,
-+ .id = AV_CODEC_ID_CYUV,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -664,7 +664,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_QTRLE,
-+ .id = AV_CODEC_ID_QTRLE,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -677,7 +677,7 @@
- .encoding_colormodels = (int[]){ BC_RGB888, BC_RGBA8888, LQT_COLORMODEL_NONE },
- },
- {
-- .id = CODEC_ID_MSRLE,
-+ .id = AV_CODEC_ID_MSRLE,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -687,7 +687,7 @@
- .wav_ids = { LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_DVVIDEO,
-+ .id = AV_CODEC_ID_DVVIDEO,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -703,7 +703,7 @@
- .image_sizes = image_sizes_dv,
- },
- {
-- .id = CODEC_ID_DVVIDEO,
-+ .id = AV_CODEC_ID_DVVIDEO,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -719,7 +719,7 @@
- .image_sizes = image_sizes_dv,
- },
- {
-- .id = CODEC_ID_DVVIDEO,
-+ .id = AV_CODEC_ID_DVVIDEO,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -735,7 +735,7 @@
- },
- /* DVCPRO HD (decoding only for now) */
- {
-- .id = CODEC_ID_DVVIDEO,
-+ .id = AV_CODEC_ID_DVVIDEO,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -756,7 +756,7 @@
- // .do_encode = 1
- },
- {
-- .id = CODEC_ID_FFVHUFF,
-+ .id = AV_CODEC_ID_FFVHUFF,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -769,7 +769,7 @@
- .do_encode = 1
- },
- {
-- .id = CODEC_ID_FFV1,
-+ .id = AV_CODEC_ID_FFV1,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -785,7 +785,7 @@
- },
- #if LIBAVCODEC_BUILD >= 3352576
- {
-- .id = CODEC_ID_DNXHD,
-+ .id = AV_CODEC_ID_DNXHD,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -801,7 +801,7 @@
- },
- #endif
- {
-- .id = CODEC_ID_MPEG2VIDEO,
-+ .id = AV_CODEC_ID_MPEG2VIDEO,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -823,7 +823,7 @@
- struct CODECIDMAP codecidmap_a[] =
- {
- {
-- .id = CODEC_ID_MP3,
-+ .id = AV_CODEC_ID_MP3,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -835,7 +835,7 @@
- .wav_ids = { 0x50, 0x55, LQT_WAV_ID_NONE },
- },
- {
-- .id = CODEC_ID_MP2,
-+ .id = AV_CODEC_ID_MP2,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -850,7 +850,7 @@
- .compression_id = LQT_COMPRESSION_MP2,
- },
- {
-- .id = CODEC_ID_AC3,
-+ .id = AV_CODEC_ID_AC3,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -865,7 +865,7 @@
- .compression_id = LQT_COMPRESSION_AC3,
- },
- {
-- .id = CODEC_ID_QDM2,
-+ .id = AV_CODEC_ID_QDM2,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -880,7 +880,7 @@
- #if 1
- /* Doesn't work as long as audio chunks are not split into VBR "Samples" */
- {
-- .id = CODEC_ID_ALAC,
-+ .id = AV_CODEC_ID_ALAC,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -893,7 +893,7 @@
- #if 1
- /* Sounds ugly */
- {
-- .id = CODEC_ID_ADPCM_MS,
-+ .id = AV_CODEC_ID_ADPCM_MS,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
-@@ -906,7 +906,7 @@
- #if 1
- /* Sounds ugly */
- {
-- .id = CODEC_ID_ADPCM_IMA_WAV,
-+ .id = AV_CODEC_ID_ADPCM_IMA_WAV,
- .index = -1,
- .encoder = NULL,
- .decoder = NULL,
---- libquicktime-1.2.4/plugins/ffmpeg/video.c.orig 2016-02-17 08:14:18.585735622 +0000
-+++ libquicktime-1.2.4/plugins/ffmpeg/video.c 2016-02-17 08:14:35.332331900 +0000
-@@ -400,7 +400,7 @@
- codec->reinterpret_pix_fmt = codec->avctx->pix_fmt;
-
- /* First we try codec-specific colormodel matching. */
-- if(codec->decoder->id == CODEC_ID_DNXHD)
-+ if(codec->decoder->id == AV_CODEC_ID_DNXHD)
- {
- /* FFMpeg supports AV_PIX_FMT_YUV422P and AV_PIX_FMT_YUV422P10 for DNxHD, which
- we sometimes interpret as AV_PIX_FMT_YUVJ422P and AV_PIX_FMT_YUVJ422P10. */
-@@ -438,7 +438,7 @@
- quicktime_ffmpeg_video_codec_t *codec = vtrack->codec->priv;
- codec->avctx->pix_fmt = lqt_ffmpeg_get_ffmpeg_colormodel(vtrack->stream_cmodel);
-
-- if (codec->encoder->id == CODEC_ID_DNXHD)
-+ if (codec->encoder->id == AV_CODEC_ID_DNXHD)
- {
- /* FFMpeg's DNxHD encoder only supports AV_PIX_FMT_YUV422P and AV_PIX_FMT_YUV422P10
- and doesn't know anything about AV_PIX_FMT_YUVJ422P and AV_PIX_FMT_YUVJ422P10
-@@ -728,13 +728,13 @@
-
- /* Set extradata: It's done differently for each codec */
-
-- if(codec->decoder->id == CODEC_ID_SVQ3)
-+ if(codec->decoder->id == AV_CODEC_ID_SVQ3)
- {
- extradata = trak->mdia.minf.stbl.stsd.table[0].table_raw + 4;
- extradata_size = trak->mdia.minf.stbl.stsd.table[0].table_raw_size - 4;
-
- }
-- else if(codec->decoder->id == CODEC_ID_H264)
-+ else if(codec->decoder->id == AV_CODEC_ID_H264)
- {
- user_atom = quicktime_stsd_get_user_atom(trak, "avcC", &user_atom_len);
-
-@@ -753,7 +753,7 @@
- }
-
- }
-- else if(codec->decoder->id == CODEC_ID_MPEG4)
-+ else if(codec->decoder->id == AV_CODEC_ID_MPEG4)
- {
- if(trak->mdia.minf.stbl.stsd.table[0].has_esds)
- {
-@@ -947,15 +947,15 @@
- }
- #endif
- }
-- if(codec->decoder->id == CODEC_ID_DVVIDEO)
-+ if(codec->decoder->id == AV_CODEC_ID_DVVIDEO)
- {
- if(vtrack->stream_cmodel == BC_YUV420P)
- vtrack->chroma_placement = LQT_CHROMA_PLACEMENT_DVPAL;
- vtrack->interlace_mode = LQT_INTERLACE_BOTTOM_FIRST;
- vtrack->ci.id = LQT_COMPRESSION_DV;
- }
-- else if((codec->decoder->id == CODEC_ID_MPEG4) ||
-- (codec->decoder->id == CODEC_ID_H264))
-+ else if((codec->decoder->id == AV_CODEC_ID_MPEG4) ||
-+ (codec->decoder->id == AV_CODEC_ID_H264))
- {
- if(vtrack->stream_cmodel == BC_YUV420P)
- vtrack->chroma_placement = LQT_CHROMA_PLACEMENT_MPEG2;
-@@ -1299,13 +1299,13 @@
- {
- if(vtrack->stream_cmodel == BC_YUV420P)
- {
-- if(codec->encoder->id == CODEC_ID_MPEG4)
-+ if(codec->encoder->id == AV_CODEC_ID_MPEG4)
- {
- vtrack->chroma_placement = LQT_CHROMA_PLACEMENT_MPEG2;
- /* enable interlaced encoding */
- vtrack->interlace_mode = LQT_INTERLACE_NONE;
- }
-- else if(codec->encoder->id == CODEC_ID_DVVIDEO)
-+ else if(codec->encoder->id == AV_CODEC_ID_DVVIDEO)
- {
- vtrack->chroma_placement = LQT_CHROMA_PLACEMENT_DVPAL;
- }
-@@ -1340,7 +1340,7 @@
- codec->avctx->sample_aspect_ratio.num = pixel_width;
- codec->avctx->sample_aspect_ratio.den = pixel_height;
- /* Use global headers for mp4v */
-- if(codec->encoder->id == CODEC_ID_MPEG4)
-+ if(codec->encoder->id == AV_CODEC_ID_MPEG4)
- {
- if(!(file->file_type & (LQT_FILE_AVI|LQT_FILE_AVI_ODML)))
- {
-@@ -1364,12 +1364,12 @@
- }
- #endif
- }
-- else if((codec->encoder->id == CODEC_ID_MSMPEG4V3) && (trak->strl) &&
-+ else if((codec->encoder->id == AV_CODEC_ID_MSMPEG4V3) && (trak->strl) &&
- !strncmp(trak->strl->strf.bh.biCompression, "DIV3", 4))
- {
- strncpy(trak->strl->strh.fccHandler, "div3", 4);
- }
-- else if((codec->encoder->id == CODEC_ID_H263) &&
-+ else if((codec->encoder->id == AV_CODEC_ID_H263) &&
- (file->file_type & (LQT_FILE_MP4|LQT_FILE_3GP)))
- {
- uint8_t d263_data[] =
-@@ -1383,7 +1383,7 @@
- strncpy(trak->mdia.minf.stbl.stsd.table[0].format,
- "s263", 4);
- }
-- else if(codec->encoder->id == CODEC_ID_FFVHUFF)
-+ else if(codec->encoder->id == AV_CODEC_ID_FFVHUFF)
- {
- if(!(file->file_type & (LQT_FILE_AVI|LQT_FILE_AVI_ODML)))
- {
-@@ -1391,7 +1391,7 @@
- codec->write_global_header = 1;
- }
- }
-- else if(codec->encoder->id == CODEC_ID_QTRLE)
-+ else if(codec->encoder->id == AV_CODEC_ID_QTRLE)
- {
- if(vtrack->stream_cmodel == BC_RGBA8888)
- {
-@@ -1402,11 +1402,11 @@
- vtrack->track->mdia.minf.stbl.stsd.table[0].depth = 32;
- }
- }
-- else if(codec->encoder->id == CODEC_ID_DVVIDEO)
-+ else if(codec->encoder->id == AV_CODEC_ID_DVVIDEO)
- {
- set_dv_fourcc(width, height, vtrack->stream_cmodel, trak);
- }
-- else if(codec->encoder->id == CODEC_ID_DNXHD)
-+ else if(codec->encoder->id == AV_CODEC_ID_DNXHD)
- {
- if(vtrack->interlace_mode != LQT_INTERLACE_NONE)
- {
-@@ -1558,12 +1558,12 @@
-
- #endif
-
-- if(!was_initialized && codec->encoder->id == CODEC_ID_DNXHD)
-+ if(!was_initialized && codec->encoder->id == AV_CODEC_ID_DNXHD)
- setup_avid_atoms(file, vtrack, codec->buffer, bytes_encoded);
-
- if(bytes_encoded)
- {
-- if (pts == AV_NOPTS_VALUE || (codec->encoder->id == CODEC_ID_DNXHD && pts == 0))
-+ if (pts == AV_NOPTS_VALUE || (codec->encoder->id == AV_CODEC_ID_DNXHD && pts == 0))
- {
- /* Some codecs don't bother generating presentation timestamps.
- FFMpeg's DNxHD encoder doesn't even bother to set it to AV_NOPTS_VALUE. */
-@@ -1590,13 +1590,13 @@
-
- if(codec->write_global_header && !codec->global_header_written)
- {
-- if(codec->encoder->id == CODEC_ID_FFVHUFF)
-+ if(codec->encoder->id == AV_CODEC_ID_FFVHUFF)
- {
- quicktime_user_atoms_add_atom(&trak->mdia.minf.stbl.stsd.table[0].user_atoms,
- "glbl",
- codec->avctx->extradata, codec->avctx->extradata_size );
- }
-- else if(codec->encoder->id == CODEC_ID_MPEG4)
-+ else if(codec->encoder->id == AV_CODEC_ID_MPEG4)
- {
- int advanced = 0;
- if(codec->avctx->max_b_frames ||
-@@ -1903,18 +1903,18 @@
- codec_base->encode_video = lqt_ffmpeg_encode_video;
- codec_base->set_pass = set_pass_ffmpeg;
-
-- if(encoder->id == CODEC_ID_MPEG4)
-+ if(encoder->id == AV_CODEC_ID_MPEG4)
- {
- codec_base->writes_compressed = writes_compressed_mpeg4;
- codec_base->init_compressed = init_compressed_mpeg4;
- codec_base->write_packet = write_packet_mpeg4;
- }
-- else if(encoder->id == CODEC_ID_MPEG2VIDEO)
-+ else if(encoder->id == AV_CODEC_ID_MPEG2VIDEO)
- {
- codec_base->writes_compressed = writes_compressed_imx;
- codec_base->init_compressed = init_compressed_imx;
- }
-- else if(encoder->id == CODEC_ID_DVVIDEO)
-+ else if(encoder->id == AV_CODEC_ID_DVVIDEO)
- {
- codec_base->init_compressed = init_compressed_dv;
- }
-@@ -1922,7 +1922,7 @@
- }
- if(decoder)
- {
-- if(decoder->id == CODEC_ID_H264)
-+ if(decoder->id == AV_CODEC_ID_H264)
- codec_base->read_packet = read_packet_h264;
- codec_base->decode_video = lqt_ffmpeg_decode_video;
- }
---- libquicktime-1.2.4/plugins/ffmpeg/audio.c.orig 2016-02-17 08:17:57.421481934 +0000
-+++ libquicktime-1.2.4/plugins/ffmpeg/audio.c 2016-02-17 08:18:05.254782305 +0000
-@@ -626,7 +626,7 @@
- {
- /* If the codec is mp3, make sure to decode the very last frame */
-
-- if((codec->avctx->codec_id == CODEC_ID_MP3) &&
-+ if((codec->avctx->codec_id == AV_CODEC_ID_MP3) &&
- (codec->bytes_in_chunk_buffer >= 4))
- {
- if(!mpa_decode_header(&mph, codec->chunk_buffer, (const mpa_header*)0))
-@@ -695,7 +695,7 @@
-
- /* Some really broken mp3 files have the header bytes split across 2 chunks */
-
-- if(codec->avctx->codec_id == CODEC_ID_MP3)
-+ if(codec->avctx->codec_id == AV_CODEC_ID_MP3)
- {
- if(codec->bytes_in_chunk_buffer < 4)
- {
-@@ -806,7 +806,7 @@
-
- if(bytes_decoded < 0)
- {
-- if(codec->avctx->codec_id == CODEC_ID_MP3)
-+ if(codec->avctx->codec_id == AV_CODEC_ID_MP3)
- {
- /* For mp3, bytes_decoded < 0 means, that the frame should be muted */
- memset(&codec->sample_buffer[track_map->channels * (codec->sample_buffer_end -
-@@ -866,8 +866,8 @@
- quicktime_audio_map_t *track_map = &file->atracks[track];
- quicktime_ffmpeg_audio_codec_t *codec = track_map->codec->priv;
-
-- if((codec->decoder->id == CODEC_ID_MP2) ||
-- (codec->decoder->id == CODEC_ID_MP3))
-+ if((codec->decoder->id == AV_CODEC_ID_MP2) ||
-+ (codec->decoder->id == AV_CODEC_ID_MP3))
- {
- mpa_header h;
- uint32_t header;
-@@ -909,7 +909,7 @@
- else
- track_map->ci.bitrate = h.bitrate;
- }
-- else if(codec->decoder->id == CODEC_ID_AC3)
-+ else if(codec->decoder->id == AV_CODEC_ID_AC3)
- {
- a52_header h;
- uint8_t * ptr;
-@@ -986,7 +986,7 @@
- #endif
- /* Some codecs need extra stuff */
-
-- if(codec->decoder->id == CODEC_ID_ALAC)
-+ if(codec->decoder->id == AV_CODEC_ID_ALAC)
- {
- header = quicktime_wave_get_user_atom(track_map->track, "alac", &header_len);
- if(header)
-@@ -995,7 +995,7 @@
- codec->avctx->extradata_size = header_len;
- }
- }
-- if(codec->decoder->id == CODEC_ID_QDM2)
-+ if(codec->decoder->id == AV_CODEC_ID_QDM2)
- {
- header = quicktime_wave_get_user_atom(track_map->track, "QDCA", &header_len);
- if(header)
-@@ -1495,9 +1495,9 @@
- codec_base->decode_audio = lqt_ffmpeg_decode_audio;
- codec_base->set_parameter = set_parameter;
-
-- if((decoder->id == CODEC_ID_MP3) || (decoder->id == CODEC_ID_MP2))
-+ if((decoder->id == AV_CODEC_ID_MP3) || (decoder->id == AV_CODEC_ID_MP2))
- codec_base->read_packet = read_packet_mpa;
-- else if(decoder->id == CODEC_ID_AC3)
-+ else if(decoder->id == AV_CODEC_ID_AC3)
- {
- codec_base->write_packet = write_packet_ac3;
- codec_base->read_packet = read_packet_ac3;
diff --git a/libraries/libquicktime/libquicktime.SlackBuild b/libraries/libquicktime/libquicktime.SlackBuild
index 8b74f00782..dd9518e9e6 100644
--- a/libraries/libquicktime/libquicktime.SlackBuild
+++ b/libraries/libquicktime/libquicktime.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libquicktime
-# Copyright 2008-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,37 +11,48 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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.
+
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - remove empty/useless docs.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libquicktime
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-3}
+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"
@@ -65,13 +76,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 {} \+
-# Fix compatibility with ffmpeg 3.x
-patch -p1 -i $CWD/libquicktime-1.2.4-ffmpeg2.patch
-patch -p1 -i $CWD/libquicktime-ffmpeg3.patch
+# Upstream seems to have dropped ffmpeg support
+
+# Fix compiling against newer faad2
+patch -p1 -i $CWD/libquicktime-1.2.4-faad2.patch
+
+autoreconf -vif
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,16 +98,21 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-gpl \
--with-libdv \
+ --without-ffmpeg \
--build=$ARCH-slackware-linux
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
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
+ ChangeLog COPYING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -101,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/libraries/libquicktime/libquicktime.info b/libraries/libquicktime/libquicktime.info
index bc90687242..b9b4cca778 100644
--- a/libraries/libquicktime/libquicktime.info
+++ b/libraries/libquicktime/libquicktime.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/libquicktime/libquicktime-1.2.4.tar.g
MD5SUM="81cfcebad9b7ee7e7cfbefc861d6d61b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="faad2"
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libquvi-scripts/README b/libraries/libquvi-scripts/README
deleted file mode 100644
index d1fefe406b..0000000000
--- a/libraries/libquvi-scripts/README
+++ /dev/null
@@ -1,2 +0,0 @@
-A selection of Lua scripts that libquvi calls upon to parse the
-properties for a media URL.
diff --git a/libraries/libquvi-scripts/libquvi-scripts.SlackBuild b/libraries/libquvi-scripts/libquvi-scripts.SlackBuild
deleted file mode 100644
index 3eee465ba9..0000000000
--- a/libraries/libquvi-scripts/libquvi-scripts.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libquvi-scripts
-
-# Made by trebol 2012/12/13
-# Modified by crocket <crockabiscuit@gmail.com>
-# Modified by Marek Srejma <sam_web@yahoo.de> 2017/05/03
-
-PRGNAM=libquvi-scripts
-VERSION=${VERSION:-0.9.20131130}
-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
-
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION"
-
-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 {} \;
-
-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/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 $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/libraries/libquvi-scripts/libquvi-scripts.info b/libraries/libquvi-scripts/libquvi-scripts.info
deleted file mode 100644
index 59fc02187c..0000000000
--- a/libraries/libquvi-scripts/libquvi-scripts.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libquvi-scripts"
-VERSION="0.9.20131130"
-HOMEPAGE="http://quvi.sourceforge.net"
-DOWNLOAD="https://downloads.sourceforge.net/quvi/libquvi-scripts-0.9.20131130.tar.xz"
-MD5SUM="46ddfd887260a515199c2e1ba8c46d8a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="luasocket"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
diff --git a/libraries/libquvi-scripts/slack-desc b/libraries/libquvi-scripts/slack-desc
deleted file mode 100644
index cf756af7c1..0000000000
--- a/libraries/libquvi-scripts/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------------------------------------------------------|
-libquvi-scripts: libquvi-scripts (Lua scripts for libquvi)
-libquvi-scripts:
-libquvi-scripts: A selection of Lua scripts that libquvi calls upon to parse the
-libquvi-scripts: properties for a media URL.
-libquvi-scripts:
-libquvi-scripts: homepage: http://quvi.sourceforge.net
-libquvi-scripts:
-libquvi-scripts:
-libquvi-scripts:
-libquvi-scripts:
-libquvi-scripts:
diff --git a/libraries/libquvi/README b/libraries/libquvi/README
deleted file mode 100644
index 102c20bb43..0000000000
--- a/libraries/libquvi/README
+++ /dev/null
@@ -1,7 +0,0 @@
-The quvi project parses media stream URLs for Internet applications
-that would otherwise have to use adobe flash multimedia platform to
-access the media streams. quvi project works around the adobe flash,
-rather than enables it.
-
-NOTE: You have to remove any previous version you have already
-installed of libquvi before building this.
diff --git a/libraries/libquvi/libquvi.SlackBuild b/libraries/libquvi/libquvi.SlackBuild
deleted file mode 100644
index fe0c4e083d..0000000000
--- a/libraries/libquvi/libquvi.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libquvi
-
-# Made by trebol 2012/12/13
-# Modified by crocket <crockabiscuit@gmail.com>
-# Modified by Marek Srejma <sam_web@yahoo.de> 2017/05/03
-
-PRGNAM=libquvi
-VERSION=${VERSION:-0.9.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
-
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README ABOUT-NLS VERSION"
-
-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 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
-
-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 $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/libraries/libquvi/libquvi.info b/libraries/libquvi/libquvi.info
deleted file mode 100644
index 8d5f1b1f03..0000000000
--- a/libraries/libquvi/libquvi.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libquvi"
-VERSION="0.9.4"
-HOMEPAGE="http://quvi.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/quvi/libquvi-0.9.4.tar.xz"
-MD5SUM="8e3f2134a6b3376934bd884b07dcdac5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libquvi-scripts"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
diff --git a/libraries/libquvi/slack-desc b/libraries/libquvi/slack-desc
deleted file mode 100644
index ef6cdd37f9..0000000000
--- a/libraries/libquvi/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------------------------------------------------------|
-libquvi: libquvi (media-parsing library)
-libquvi:
-libquvi: The quvi project parses media stream URLs for Internet applications
-libquvi: that would otherwise have to use adobe flash multimedia platform to
-libquvi: access the media streams. quvi project works around the adobe flash,
-libquvi: rather than enables it.
-libquvi:
-libquvi: homepage: http://quvi.sourceforge.net
-libquvi:
-libquvi:
-libquvi:
diff --git a/libraries/libqxp/libqxp.SlackBuild b/libraries/libqxp/libqxp.SlackBuild
index 743fc7ff5f..fd5bbbe270 100644
--- a/libraries/libqxp/libqxp.SlackBuild
+++ b/libraries/libqxp/libqxp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libqxp
@@ -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=libqxp
VERSION=${VERSION:-0.0.2}
-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}
@@ -99,8 +109,10 @@ 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
+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/libraries/libqxt/libqxt-gcc6.patch b/libraries/libqxt/libqxt-gcc6.patch
new file mode 100644
index 0000000000..519646d6eb
--- /dev/null
+++ b/libraries/libqxt/libqxt-gcc6.patch
@@ -0,0 +1,11 @@
+--- a/src/core/qxtslotjob.cpp 2011-11-24 16:10:32.000000000 -0600
++++ b/src/core/qxtslotjob.cpp 2016-03-07 16:20:32.758268253 -0600
+@@ -174,7 +174,7 @@ This uses QxtSignalWaiter so it will _no
+
+ QVariant QxtFuture::delayedResult(int msec)
+ {
+- if (!waiter->wait(msec, false))
++ if (!waiter->wait(msec, NULL))
+ return QVariant();
+ return job->result();
+ }
diff --git a/libraries/libqxt/libqxt.SlackBuild b/libraries/libqxt/libqxt.SlackBuild
index 870d2ead16..dd72cc7ad2 100644
--- a/libraries/libqxt/libqxt.SlackBuild
+++ b/libraries/libqxt/libqxt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libqxt
@@ -24,26 +24,36 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libqxt
VERSION=${VERSION:-0.6.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"
@@ -74,6 +84,11 @@ find -L . \
# Fix linking during the xrandr test
sed -i "s|lXrandr$|lXrandr -lX11|" config.tests/xrandr/xrandr.pro
+# Thanks to Archlinux for this
+patch -p1 < $CWD/libqxt-gcc6.patch
+
+. /etc/profile.d/qt4.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure -prefix /usr -libdir /usr/lib$LIBDIRSUFFIX
@@ -90,8 +105,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libqxt/libqxt.info b/libraries/libqxt/libqxt.info
index 86db5e1fed..aa628af72a 100644
--- a/libraries/libqxt/libqxt.info
+++ b/libraries/libqxt/libqxt.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/libqxt-0.6.2.tar.xz"
MD5SUM="3029f62e04f76a5c2ffab2af307f28e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Andrey Maraev"
EMAIL="andrew.maraev60@yandex.ru"
diff --git a/libraries/libr3/libr3.SlackBuild b/libraries/libr3/libr3.SlackBuild
index 4476a09c51..4a9c029176 100644
--- a/libraries/libr3/libr3.SlackBuild
+++ b/libraries/libr3/libr3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libr3
@@ -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=libr3
VERSION=${VERSION:-1.3.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}
@@ -93,8 +103,10 @@ cp -a CHANGES.md COPYING HACKING.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERS
cp -a examples/*.{c,cpp} $PKG/usr/doc/$PRGNAM-$VERSION/examples
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/libraries/librapi2/README b/libraries/librapi2/README
index 2085a8dce2..cf92ac96a2 100644
--- a/libraries/librapi2/README
+++ b/libraries/librapi2/README
@@ -1,9 +1,9 @@
librapi2 (SynCE library)
The RAPI library is an open source implementation that works like
-RAPI.DLL, available on Microsoft operating systems. The library makes it
-possible to make remote calls to a computer running device. Documentation
-for the RAPI calls is available at this address:
+RAPI.DLL, available on Microsoft operating systems. The library
+makes it possible to make remote calls to a computer running
+device. Documentation for the RAPI calls is available at this address:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcesdkr/htm/_wcesdk_CeRapiInit.asp
diff --git a/libraries/librapi2/librapi2.SlackBuild b/libraries/librapi2/librapi2.SlackBuild
index d083d8cc6c..279c91a3cf 100644
--- a/libraries/librapi2/librapi2.SlackBuild
+++ b/libraries/librapi2/librapi2.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librapi2
# Written by redtricycle (redtricycle@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librapi2
VERSION=${VERSION:-0.13.1}
-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"
@@ -79,8 +89,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libraqm/README b/libraries/libraqm/README
index 83775a6d7d..8c2befc13a 100644
--- a/libraries/libraqm/README
+++ b/libraries/libraqm/README
@@ -1,6 +1,6 @@
Raqm is a small library that encapsulates the logic for complex text
layout and provides a convenient API.
-It currently provides bidirectional text support (using FriBiDi), shaping
-(using HarfBuzz), and proper script itemization. As a result, Raqm can
-support most writing systems covered by Unicode.
+It currently provides bidirectional text support (using FriBiDi),
+shaping (using HarfBuzz), and proper script itemization. As a result,
+Raqm can support most writing systems covered by Unicode.
diff --git a/libraries/libraqm/libraqm.SlackBuild b/libraries/libraqm/libraqm.SlackBuild
index a59dcbfe5e..9f8d0130ff 100644
--- a/libraries/libraqm/libraqm.SlackBuild
+++ b/libraries/libraqm/libraqm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libraqm
@@ -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=libraqm
SRCNAM=raqm
VERSION=${VERSION:-0.5.0}
-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}
@@ -95,8 +105,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/librcd/librcd.SlackBuild b/libraries/librcd/librcd.SlackBuild
index 71c93a91d5..75a1cc3967 100644
--- a/libraries/librcd/librcd.SlackBuild
+++ b/libraries/librcd/librcd.SlackBuild
@@ -1,30 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librcd (Russian Charset Detection Library)
# Copyright 2009 Georgy Shepelev <shepelev.georgy@googlemail.com>
# Redistribution and use of this script are under GNU GPL, version 2 or newer.
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add SlackBuild to doc dir.
+# - remove empty doc files.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librcd
VERSION=${VERSION:-0.1.11}
-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"
@@ -49,9 +60,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -62,22 +73,22 @@ CXXFLAGS="$SLKCFLAGS" \
--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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION \
+ AUTHORS COPYING ChangeLog README VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
examples/example.c examples/input.txt \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
+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/libraries/libreadline-java/README b/libraries/libreadline-java/README
index 601f1c25b9..d225aaecd7 100644
--- a/libraries/libreadline-java/README
+++ b/libraries/libreadline-java/README
@@ -1,5 +1,2 @@
-Java Readline is a JNI wrapper for the GNU readline or the editline command
-line libraries.
-
-libedit is an optional dependency which is auto-detected. If found, editline
-support will be built into the package.
+Java Readline is a JNI wrapper for the GNU readline or the editline
+command line libraries.
diff --git a/libraries/libreadline-java/libreadline-java.SlackBuild b/libraries/libreadline-java/libreadline-java.SlackBuild
index fad2ded75f..bb0d19445e 100644
--- a/libraries/libreadline-java/libreadline-java.SlackBuild
+++ b/libraries/libreadline-java/libreadline-java.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libreadline-java
-# Copyright 2013,2014,2017 Andrew Clemons, Wellington, New Zealand
+# Copyright 2013,2014,2017,2022 Andrew Clemons, Wellington, New Zealand
# 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=libreadline-java
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-0.8.3}
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,11 +77,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 {} \;
-T_LIBS="JavaReadline JavaGetline"
-
-if pkg-config --exists libedit ; then
- T_LIBS="$T_LIBS JavaEditline"
-fi
+T_LIBS="JavaReadline JavaGetline JavaEditline"
for target in jar build-native apidoc ; do
CFLAGS="$SLKCFLAGS" \
@@ -91,11 +94,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -r api $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.LIB ChangeLog NEWS README README.1st TODO.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.LIB NEWS README README.1st TODO.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/libraries/libreadline-java/libreadline-java.info b/libraries/libreadline-java/libreadline-java.info
index e987b47064..24353bad28 100644
--- a/libraries/libreadline-java/libreadline-java.info
+++ b/libraries/libreadline-java/libreadline-java.info
@@ -1,10 +1,10 @@
PRGNAM="libreadline-java"
-VERSION="0.8.2"
+VERSION="0.8.3"
HOMEPAGE="https://github.com/aclemons/java-readline"
-DOWNLOAD="https://github.com/aclemons/java-readline/releases/download/v0.8.2/libreadline-java-0.8.2-src.tar.gz"
-MD5SUM="951c4bd5554a5640af3d5c81f753e2fc"
+DOWNLOAD="https://github.com/aclemons/java-readline/releases/download/v0.8.3/libreadline-java-0.8.3-src.tar.gz"
+MD5SUM="d60bdafaf65438def6d3def298d0b934"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/libraries/libregf/libregf.SlackBuild b/libraries/libregf/libregf.SlackBuild
index 798404a41a..9658cc588a 100644
--- a/libraries/libregf/libregf.SlackBuild
+++ b/libraries/libregf/libregf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libregf
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated to 20230319 July 2023
-# Updated to 20190303 August 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libregf
-VERSION=${VERSION:-20190303}
+VERSION=${VERSION:-20230319}
STATUS=${STATUS:-alpha}
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}
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python2 \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libregf/libregf.info b/libraries/libregf/libregf.info
index 43e59799b4..1096e91dc2 100644
--- a/libraries/libregf/libregf.info
+++ b/libraries/libregf/libregf.info
@@ -1,8 +1,8 @@
PRGNAM="libregf"
-VERSION="20190303"
+VERSION="20230319"
HOMEPAGE="https://github.com/libyal/libregf"
-DOWNLOAD="https://github.com/libyal/libregf/releases/download/20190303/libregf-alpha-20190303.tar.gz"
-MD5SUM="527af3ad7a257092fd20a2fe07e8a00c"
+DOWNLOAD="https://linuxleo.com/Source/libregf-alpha-20230319.tar.gz"
+MD5SUM="136755070f55e1136f4cfa968d693edd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/librelp/librelp.SlackBuild b/libraries/librelp/librelp.SlackBuild
index eab2d12adb..ce0fc772c9 100644
--- a/libraries/librelp/librelp.SlackBuild
+++ b/libraries/librelp/librelp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librelp
-# Copyright (c) 2019, Christophe Trussardi, Paris, France
+# Copyright (c) 2023, Christophe Trussardi, Paris, France
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -21,10 +21,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=librelp
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-1.11.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}
@@ -94,8 +104,10 @@ cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
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/libraries/librelp/librelp.info b/libraries/librelp/librelp.info
index 6ecc499eda..6147dfdee7 100644
--- a/libraries/librelp/librelp.info
+++ b/libraries/librelp/librelp.info
@@ -1,8 +1,8 @@
PRGNAM="librelp"
-VERSION="1.5.0"
+VERSION="1.11.0"
HOMEPAGE="https://www.rsyslog.com/librelp/"
-DOWNLOAD="http://download.rsyslog.com/librelp/librelp-1.5.0.tar.gz"
-MD5SUM="d036b580078d188754b0bcc66b636318"
+DOWNLOAD="http://download.rsyslog.com/librelp/librelp-1.11.0.tar.gz"
+MD5SUM="8130097ed0bf6b5f96083c410a1e89d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/librep/README b/libraries/librep/README
deleted file mode 100644
index ec19d53e9d..0000000000
--- a/libraries/librep/README
+++ /dev/null
@@ -1,4 +0,0 @@
-librep (Lisp system for Sawfish)
-
-Librep (or sometimes rep) implements a lisp dialect, and is the backend
-of sawfish.
diff --git a/libraries/librep/doinst.sh b/libraries/librep/doinst.sh
deleted file mode 100644
index 114e2cd4d9..0000000000
--- a/libraries/librep/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/librep.info.gz 2> /dev/null
-fi
diff --git a/libraries/librep/librep.SlackBuild b/libraries/librep/librep.SlackBuild
deleted file mode 100644
index 9fd124549a..0000000000
--- a/libraries/librep/librep.SlackBuild
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for librep.
-#
-# 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=librep
-VERSION=${VERSION:-0.92.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.xz
-mv ${PRGNAM}_${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 {} \;
-
-./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
-
-DOCS="ChangeLog COPYING INSTALL MAINTAINERS NEWS README TODO"
-
-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
-
-mv $PKG/usr/share/info $PKG/usr/info
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*.info*
-
-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
-
-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/libraries/librep/librep.info b/libraries/librep/librep.info
deleted file mode 100644
index bafa694927..0000000000
--- a/libraries/librep/librep.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="librep"
-VERSION="0.92.7"
-HOMEPAGE="http://sawfish.wikia.com/wiki/Librep"
-DOWNLOAD="http://download.tuxfamily.org/librep/librep_0.92.7.tar.xz"
-MD5SUM="036195b371006848e29ed6f50ddc8475"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/librep/slack-desc b/libraries/librep/slack-desc
deleted file mode 100644
index 2d4dec0dcb..0000000000
--- a/libraries/librep/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------------------------------------------------------|
-librep: librep (Lisp system for Sawfish)
-librep:
-librep: Librep (or sometimes rep) implements a lisp dialect, and is the
-librep: backend of sawfish.
-librep:
-librep: Home Page: http://sawfish.wikia.com/wiki/Librep
-librep:
-librep:
-librep:
-librep:
-librep:
diff --git a/libraries/librepfunc/README b/libraries/librepfunc/README
new file mode 100644
index 0000000000..af25f326ad
--- /dev/null
+++ b/libraries/librepfunc/README
@@ -0,0 +1,5 @@
+librepfunc is a collection is utilities and functions, which
+Winfried Koehler use in his projects: string related, vector of string
+related, number conversion to string or vice versa, print time, other
+conversions, sleep threads, print hex data, files and directories,
+start/stop threads from main thread.
diff --git a/libraries/librepfunc/librepfunc.SlackBuild b/libraries/librepfunc/librepfunc.SlackBuild
new file mode 100644
index 0000000000..0f89fe34bc
--- /dev/null
+++ b/libraries/librepfunc/librepfunc.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for librepfunc
+
+# Copyright 2024 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=librepfunc
+VERSION=${VERSION:-1.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
+
+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 {} \;
+
+CXXFLAGS="$SLKCFLAGS" \
+ make $NUMJOBS install DESTDIR=$PKG
+
+# Fix DIR
+rm -rf $PKG/usr/share
+if [ lib != lib$LIBDIRSUFFIX ]; then
+ mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
+ sed "/exec_prefix/s,/lib,/lib$LIBDIRSUFFIX," -i $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
+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 \
+ CONTRIBUTORS COPYING README doc/BLFS/librepfunc.html \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/librepfunc/librepfunc.info b/libraries/librepfunc/librepfunc.info
new file mode 100644
index 0000000000..3c47205f09
--- /dev/null
+++ b/libraries/librepfunc/librepfunc.info
@@ -0,0 +1,10 @@
+PRGNAM="librepfunc"
+VERSION="1.8.1"
+HOMEPAGE="https://github.com/wirbel-at-vdr-portal/librepfunc"
+DOWNLOAD="https://github.com/wirbel-at-vdr-portal/librepfunc/archive/1.8.1/librepfunc-1.8.1.tar.gz"
+MD5SUM="8087573812dd396efb55cd0702b3faa8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrea Sacchetti Picchio"
+EMAIL="andrea dot sacchettipicchio at gmail dot com"
diff --git a/libraries/librepfunc/slack-desc b/libraries/librepfunc/slack-desc
new file mode 100644
index 0000000000..bee019044c
--- /dev/null
+++ b/libraries/librepfunc/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------------------------------------------------------|
+librepfunc: librepfunc (collection of functions and classes)
+librepfunc:
+librepfunc: Collection of utilities and functions, which Winfried Koehler uses in
+librepfunc: his projects: IntToStr, FloatToStr, ExpToStr, StrToInt, StrToFloat,
+librepfunc: TimeStr, BCDtoDecimal, Sleep, mSleep, uSleep, HexDump, FileExists,
+librepfunc: cFileList, ReadFileToStream, ReadFile, WriteStreamToFile, WriteFile,
+librepfunc: ThreadBase
+librepfunc:
+librepfunc:
+librepfunc: Homepage: https://github.com/wirbel-at-vdr-portal/librepfunc
+librepfunc:
diff --git a/libraries/libreplaygain/libreplaygain.SlackBuild b/libraries/libreplaygain/libreplaygain.SlackBuild
index 60554fedb3..c4ba651d69 100644
--- a/libraries/libreplaygain/libreplaygain.SlackBuild
+++ b/libraries/libreplaygain/libreplaygain.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libreplaygain
# Written by Šime Ramov <s@ramov.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libreplaygain
VERSION=${VERSION:-r475}
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"
@@ -45,10 +55,10 @@ 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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 {} \;
# adding missing include file to CMakeLists.txt
echo 'INSTALL(FILES ${libreplaygain_SOURCE_DIR}/include/replaygain/gain_analysis.h DESTINATION include/replaygain)' >> src/CMakeLists.txt
@@ -59,12 +69,12 @@ cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX}
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} .
make
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -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/libraries/librevisa/librevisa.SlackBuild b/libraries/librevisa/librevisa.SlackBuild
index 432749ad11..f801f1793c 100644
--- a/libraries/librevisa/librevisa.SlackBuild
+++ b/libraries/librevisa/librevisa.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librevisa
@@ -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=librevisa
VERSION=${VERSION:-0.0.20130412}
-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}
@@ -98,8 +108,10 @@ gzip -9 $PKG/usr/man/man7/visa.7
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/libraries/librevisa/librevisa.info b/libraries/librevisa/librevisa.info
index 2317b441c2..d0761954e8 100644
--- a/libraries/librevisa/librevisa.info
+++ b/libraries/librevisa/librevisa.info
@@ -1,7 +1,7 @@
PRGNAM="librevisa"
VERSION="0.0.20130412"
HOMEPAGE="http://www.librevisa.org/"
-DOWNLOAD="http://www.librevisa.org/download/librevisa-0.0.20130412.tar.gz"
+DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/3/8/3849021d141042ad396e7386de525eb0/librevisa-0.0.20130412.tar.gz"
MD5SUM="3849021d141042ad396e7386de525eb0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/librfm5/librfm5.SlackBuild b/libraries/librfm5/librfm5.SlackBuild
index a985a29ced..54fa662480 100644
--- a/libraries/librfm5/librfm5.SlackBuild
+++ b/libraries/librfm5/librfm5.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librfm5
@@ -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=librfm5
-VERSION=${VERSION:-5.3.12}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-5.3.16.4}
+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,20 +106,14 @@ 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
-if [ -r $PKG/usr/lib${LIBDIRSUFFIX}/librfm.so.2.0.0 ]; then
- ( cd $PKG/usr/lib${LIBDIRSUFFIX}
- ln -sf librfm.so.2.0.0 librfm.so.3
- )
-else
- exit 1
-fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog 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/libraries/librfm5/librfm5.info b/libraries/librfm5/librfm5.info
index c5c751d43b..c938dffb65 100644
--- a/libraries/librfm5/librfm5.info
+++ b/libraries/librfm5/librfm5.info
@@ -1,8 +1,8 @@
PRGNAM="librfm5"
-VERSION="5.3.12"
+VERSION="5.3.16.4"
HOMEPAGE="http://xffm.org/libxffm.html"
-DOWNLOAD="http://sourceforge.net/projects/xffm/files/5.3.12/librfm5-5.3.12.tar.bz2"
-MD5SUM="1784db90539a16d7e8897a5e93a5ea85"
+DOWNLOAD="http://downloads.sf.net/xffm/librfm5-5.3.16.4.tar.bz2"
+MD5SUM="7e32c423535ea1a7667b3886dc3c41f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtubo0 libdbh2"
diff --git a/libraries/librhtv/librhtv.SlackBuild b/libraries/librhtv/librhtv.SlackBuild
index a5c0f381a0..f40bc89a0b 100644
--- a/libraries/librhtv/librhtv.SlackBuild
+++ b/libraries/librhtv/librhtv.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <librhtv>
-# Copyright 2019, Zhu Qun-Ying
+# Copyright 2019-2022, Zhu Qun-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=librhtv
-VERSION=${VERSION:-2.2.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.2.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}
@@ -62,9 +72,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-rpm2cpio < $CWD/$PRGNAM-$VERSION-1.fc28.src.rpm | cpio -imdv
-tar xvf tvision-$VERSION.tar.gz
+tar xvf $CWD/rhtvision-$VERSION.src.tar.gz
cd tvision
chown -R root:root .
find -L . \
@@ -104,10 +113,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/*.txt doc/*.html readme.txt examples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc/$PRGNAM-$VERSION/examples -name ".cvsignore" | xargs rm
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/librhtv/librhtv.info b/libraries/librhtv/librhtv.info
index 5f275c8439..6c7bd9fd8b 100644
--- a/libraries/librhtv/librhtv.info
+++ b/libraries/librhtv/librhtv.info
@@ -1,8 +1,8 @@
PRGNAM="librhtv"
-VERSION="2.2.2"
+VERSION="2.2.3"
HOMEPAGE="http://tvision.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/tvision/files/UNIX/2.2.2%20git%20b73f59a%20Fedora%2028/librhtv-2.2.2-1.fc28.src.rpm"
-MD5SUM="b8db7947e156a2ce3551a33af0ac9805"
+DOWNLOAD="https://github.com/set-soft/tvision/releases/download/v2.2.3/rhtvision-2.2.3.src.tar.gz"
+MD5SUM="9bf2fb3a5c0c25bf7387f8107ab45aaa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/librist/README b/libraries/librist/README
new file mode 100644
index 0000000000..9979f3ce37
--- /dev/null
+++ b/libraries/librist/README
@@ -0,0 +1,10 @@
+A library that can be used to easily add the RIST protocol
+to your application. This code was written to comply with
+the Video Services Forum (VSF) Technical Recommendations
+TR-06-1 and TR-06-2. The protocol goes by the codename
+"RIST". The canonical repository URL for this repo is
+https://code.videolan.org/rist/librist
+
+This project is partially funded by the SipRadius LLC.
+
+This is an optional dependency for FFmpeg.
diff --git a/libraries/librist/librist.SlackBuild b/libraries/librist/librist.SlackBuild
new file mode 100644
index 0000000000..22b723ef00
--- /dev/null
+++ b/libraries/librist/librist.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for librist
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=librist
+VERSION=${VERSION:-0.2.10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+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
+
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+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 -pv build && cd build
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+
+meson --prefix=/usr \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ninja -v
+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 --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -name "perllocal.pod" \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+chmod 0644 $PKG/usr/include/librist/librist.h
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS README.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/libraries/librist/librist.info b/libraries/librist/librist.info
new file mode 100644
index 0000000000..e1ee668cfa
--- /dev/null
+++ b/libraries/librist/librist.info
@@ -0,0 +1,10 @@
+PRGNAM="librist"
+VERSION="0.2.10"
+HOMEPAGE="https://code.videolan.org/rist/librist"
+DOWNLOAD="https://code.videolan.org/rist/librist/-/archive/v0.2.10/librist-v0.2.10.tar.gz"
+MD5SUM="25b5dd5524aa8b89326babfa7cdc328d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="cmocka cJSON"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/librist/slack-desc b/libraries/librist/slack-desc
new file mode 100644
index 0000000000..001f3aa409
--- /dev/null
+++ b/libraries/librist/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------------------------------------------------------|
+librist: librist (RIST Protocol Library)
+librist:
+librist: A Library that can be used to add the RIST protocol
+librist: to your application. This code was written to comply
+librist: with the Video Services Forum[VSF] technical recommendations
+librist: TR-06-1 and TR-06-2.
+librist:
+librist:
+librist: Homepage: https://code.videolan.org/rist/librist
+librist:
+librist:
diff --git a/libraries/librra/librra.SlackBuild b/libraries/librra/librra.SlackBuild
index ea5e338df0..a0feac9916 100644
--- a/libraries/librra/librra.SlackBuild
+++ b/libraries/librra/librra.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librra
# Written by Lionel Young (redtricycle@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librra
VERSION=${VERSION:-0.13}
-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"
@@ -80,8 +90,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/librsync/README b/libraries/librsync/README
index 40183318cb..23f48f1881 100644
--- a/libraries/librsync/README
+++ b/libraries/librsync/README
@@ -1,8 +1,9 @@
librsync (rsync synchronization algorithm library.)
-librsync is a free software library that implements the rsync remote-delta
-algorithm.
-
-The rsync remote-delta algorithm is a method of efficiently transmitting a
-structure (such as a file) across a communications link when the receiving
-computer already has a different version of the same structure.
+librsync is a free software library that implements the rsync
+remote-delta algorithm.
+
+The rsync remote-delta algorithm is a method of efficiently
+transmitting a structure (such as a file) across a communications link
+when the receiving computer already has a different version of the
+same structure.
diff --git a/libraries/librsync/librsync.SlackBuild b/libraries/librsync/librsync.SlackBuild
index fc556ebe5c..5b5dad2811 100644
--- a/libraries/librsync/librsync.SlackBuild
+++ b/libraries/librsync/librsync.SlackBuild
@@ -1,32 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librsync.
# Written by Lyle Sigurdson <lyle_s@myrealbox.com>.
+# Copyright 2020 Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com>
#
# Free for any use; no warranty.
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librsync
-VERSION=${VERSION:-0.9.7}
+VERSION=${VERSION:-2.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"
@@ -54,25 +63,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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --enable-shared \
- --enable-static \
- --disable-dependency-tracking
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
-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
-( 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
-cp -a AUTHORS COPYING ChangeLog NEWS README THANKS TODO \
+cp -a AUTHORS CONTRIBUTING.md COPYING NEWS.md README.md THANKS TODO.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/libraries/librsync/librsync.info b/libraries/librsync/librsync.info
index 518b4a653d..68dbfc9949 100644
--- a/libraries/librsync/librsync.info
+++ b/libraries/librsync/librsync.info
@@ -1,10 +1,10 @@
PRGNAM="librsync"
-VERSION="0.9.7"
-HOMEPAGE="http://librsync.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/librsync/librsync-0.9.7.tar.gz"
-MD5SUM="24cdb6b78f45e0e83766903fd4f6bc84"
+VERSION="2.3.4"
+HOMEPAGE="https://librsync.github.io/"
+DOWNLOAD="https://github.com/librsync/librsync/archive/v2.3.4/librsync-2.3.4.tar.gz"
+MD5SUM="71d227be94f6fbfc7b6d0fce3ce81861"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Lyle Sigurdson"
-EMAIL="lyle_s@myrealbox.com"
+MAINTAINER="Eugene Wissner"
+EMAIL="belka@caraus.de"
diff --git a/libraries/librtfcomp/librtfcomp.SlackBuild b/libraries/librtfcomp/librtfcomp.SlackBuild
index 9bcfb425ab..e5a4088a20 100644
--- a/libraries/librtfcomp/librtfcomp.SlackBuild
+++ b/libraries/librtfcomp/librtfcomp.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for librtfcomp
# Written by Lionel Young (redtricycle@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librtfcomp
-VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.3}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -77,8 +87,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/librtfcomp/librtfcomp.info b/libraries/librtfcomp/librtfcomp.info
index 979bc8e575..d04c30c143 100644
--- a/libraries/librtfcomp/librtfcomp.info
+++ b/libraries/librtfcomp/librtfcomp.info
@@ -1,8 +1,8 @@
PRGNAM="librtfcomp"
-VERSION="1.1"
+VERSION="1.3"
HOMEPAGE="https://sourceforge.net/projects/synce/"
-DOWNLOAD="http://downloads.sourceforge.net/synce/librtfcomp-1.1.tar.gz"
-MD5SUM="b7f70dc41687d920ec9f47c01f56d6ce"
+DOWNLOAD="http://downloads.sourceforge.net/synce/librtfcomp-1.3.tar.gz"
+MD5SUM="7aa26fc1dd2dd2ef64043fae573c69dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libsass/README b/libraries/libsass/README
deleted file mode 100644
index 4d71f0cac5..0000000000
--- a/libraries/libsass/README
+++ /dev/null
@@ -1,13 +0,0 @@
-LibSass - Sass compiler written in C++
-
-LibSass is just a library! If you want to use LibSass to compile Sass,
-you need an implementer.
-
-Some implementations are only bindings into other programming
-languages. But most also ship with a command line interface (CLI) you
-can use directly.
-
-There is also SassC, which is the official lightweight CLI tool built
-by the same people as LibSass.
-
-sassc is available on SlackBuilds.org.
diff --git a/libraries/libsass/libsass.SlackBuild b/libraries/libsass/libsass.SlackBuild
deleted file mode 100644
index f360fe2acb..0000000000
--- a/libraries/libsass/libsass.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-# Slackware build script for libsass
-#
-# 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=libsass
-VERSION=${VERSION:-3.6.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}
-
-DOCS="COPYING INSTALL LICENSE *.md"
-
-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/libraries/libsass/libsass.info b/libraries/libsass/libsass.info
deleted file mode 100644
index 92c7309d24..0000000000
--- a/libraries/libsass/libsass.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libsass"
-VERSION="3.6.3"
-HOMEPAGE="http://sass-lang.com/libsass"
-DOWNLOAD="https://github.com/sass/libsass/archive/3.6.3/libsass-3.6.3.tar.gz"
-MD5SUM="8604ef0574e18fd020ca0463f3b33b43"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Yth - Arnaud"
-EMAIL="yth@ythogtha.org"
diff --git a/libraries/libsass/slack-desc b/libraries/libsass/slack-desc
deleted file mode 100644
index aee695dbbc..0000000000
--- a/libraries/libsass/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------------------------------------------------------|
-libsass: libsass (Sass compiler written in C++)
-libsass:
-libsass: LibSass is the library of the C/C++ port of the Sass engine.
-libsass:
-libsass: LibSass is just a library! If you want to use LibSass to compile Sass,
-libsass: you need an implementer. SassC, which is the official lightweight CLI
-libsass: tool built by the same people as LibSass, is available on Slackbuilds
-libsass: as sassc.
-libsass:
-libsass:
-libsass:
diff --git a/libraries/libsbsms/README b/libraries/libsbsms/README
new file mode 100644
index 0000000000..6f484d84c2
--- /dev/null
+++ b/libraries/libsbsms/README
@@ -0,0 +1,5 @@
+libsbsms is a library for high quality time and pitch scale
+modification.
+It is based on octave subband sinusoidal modeling and resynthesis.
+It stitches tracks between subbands, and it has multiple stages of
+analysis and resynthesis.
diff --git a/libraries/libsbsms/libsbsms.SlackBuild b/libraries/libsbsms/libsbsms.SlackBuild
new file mode 100644
index 0000000000..3f2edb8f4e
--- /dev/null
+++ b/libraries/libsbsms/libsbsms.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for libsbsms
+
+# Copyright 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=libsbsms
+VERSION=${VERSION:-20220812_e6c9c3b}
+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
+
+DOCS="AUTHORS ChangeLog LICENSE.txt README.md TODO"
+
+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 {} \;
+
+sed -i "s|lib/cmake|lib$LIBDIRSUFFIX/cmake|" CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $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/libraries/libsbsms/libsbsms.info b/libraries/libsbsms/libsbsms.info
new file mode 100644
index 0000000000..bceeb25fdc
--- /dev/null
+++ b/libraries/libsbsms/libsbsms.info
@@ -0,0 +1,10 @@
+PRGNAM="libsbsms"
+VERSION="20220812_e6c9c3b"
+HOMEPAGE="https://github.com/claytonotey/libsbsms"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/libsbsms-20220812_e6c9c3b.tar.xz"
+MD5SUM="f157fdc0ccece21c91c24c6398c14a01"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/libsbsms/slack-desc b/libraries/libsbsms/slack-desc
new file mode 100644
index 0000000000..6958da14cb
--- /dev/null
+++ b/libraries/libsbsms/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------------------------------------------------------|
+libsbsms: libsbsms (library for high quality time and pitch scale modification)
+libsbsms:
+libsbsms: libsbsms is a library for high quality time and pitch scale
+libsbsms: modification.
+libsbsms: It is based on octave subband sinusoidal modeling and resynthesis.
+libsbsms: It stitches tracks between subbands, and it has multiple stages of
+libsbsms: analysis and resynthesis.
+libsbsms:
+libsbsms: homepage: https://github.com/claytonotey/libsbsms
+libsbsms:
+libsbsms:
diff --git a/libraries/libscca/libscca.SlackBuild b/libraries/libscca/libscca.SlackBuild
index 53d18aa9fb..d9a2bf0e43 100644
--- a/libraries/libscca/libscca.SlackBuild
+++ b/libraries/libscca/libscca.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libscca
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20230716, Aug 2023
-# Updated to version 20181227, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libscca
+VERSION=${VERSION:-20230716}
STATUS=${STATUS:-alpha}
-VERSION=${VERSION:-20181227}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libscca/libscca.info b/libraries/libscca/libscca.info
index d0c3b1ae40..3a4443f6ba 100644
--- a/libraries/libscca/libscca.info
+++ b/libraries/libscca/libscca.info
@@ -1,8 +1,8 @@
PRGNAM="libscca"
-VERSION="20181227"
+VERSION="20230716"
HOMEPAGE="https://github.com/libyal/libscca"
-DOWNLOAD="https://github.com/libyal/libscca/releases/download/20181227/libscca-alpha-20181227.tar.gz"
-MD5SUM="ae1d798ded10bd364ea413aa89e41091"
+DOWNLOAD="https://linuxleo.com/Source/libscca-alpha-20230716.tar.gz"
+MD5SUM="b4ffb66dcb5bb70166dfc97fb2816ec0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libscrypt/README b/libraries/libscrypt/README
index caefcab0b9..9a72e97e97 100644
--- a/libraries/libscrypt/README
+++ b/libraries/libscrypt/README
@@ -1,5 +1,6 @@
A shared library that implements scrypt() functionality.
-The scrypt key derivation function was originally developed for use in the
-Tarsnap online backup system and is designed to be far more secure against
-hardware brute-force attacks than alternative functions such as PBKDF2 or
-bcrypt.
+
+The scrypt key derivation function was originally developed for use in
+the Tarsnap online backup system and is designed to be far more secure
+against hardware brute-force attacks than alternative functions such
+as PBKDF2 or bcrypt.
diff --git a/libraries/libscrypt/libscrypt.SlackBuild b/libraries/libscrypt/libscrypt.SlackBuild
index d83f484d0e..c39f53ebc9 100644
--- a/libraries/libscrypt/libscrypt.SlackBuild
+++ b/libraries/libscrypt/libscrypt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright (c) 2013-2015 LEVAI Daniel
# All rights reserved.
@@ -23,25 +23,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=libscrypt
VERSION=${VERSION:-1.20}
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/libraries/libscrypt/libscrypt.info b/libraries/libscrypt/libscrypt.info
index c21f86b0a7..6d1340e814 100644
--- a/libraries/libscrypt/libscrypt.info
+++ b/libraries/libscrypt/libscrypt.info
@@ -1,7 +1,7 @@
PRGNAM="libscrypt"
VERSION="1.20"
HOMEPAGE="https://github.com/technion/libscrypt"
-DOWNLOAD="https://github.com/technion/libscrypt/archive/v1.20.tar.gz"
+DOWNLOAD="https://github.com/technion/libscrypt/archive/v1.20/libscrypt-1.20.tar.gz"
MD5SUM="35c78aca7902061c49e5c517305b1534"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libsearpc/libsearpc.SlackBuild b/libraries/libsearpc/libsearpc.SlackBuild
index 56aed9cbda..c63b5a6768 100644
--- a/libraries/libsearpc/libsearpc.SlackBuild
+++ b/libraries/libsearpc/libsearpc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libsearpc".
@@ -24,26 +24,37 @@
# (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=libsearpc
-VERSION=${VERSION:-3.0.7}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2_latest}
+SRCVER=$(echo $VERSION | tr _ - )
+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"
@@ -61,9 +72,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-latest
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-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 \
@@ -71,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 {} \;
+export PYTHON=python3
+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -88,11 +101,13 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README.markdown $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE.txt INSTALL README.markdown $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/libraries/libsearpc/libsearpc.info b/libraries/libsearpc/libsearpc.info
index 24f2e679a6..6f62fc390f 100644
--- a/libraries/libsearpc/libsearpc.info
+++ b/libraries/libsearpc/libsearpc.info
@@ -1,10 +1,10 @@
PRGNAM="libsearpc"
-VERSION="3.0.7"
+VERSION="3.2_latest"
HOMEPAGE="http://seafile.com/"
-DOWNLOAD="https://github.com/haiwen/libsearpc/archive/v3.0.7.tar.gz"
-MD5SUM="1d20e93e0fb39f98c907e633d9f1b11b"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/libsearpc-3.2-latest.tar.gz"
+MD5SUM="f98dffa7705c4bf653585cf0444071b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jansson"
+REQUIRES=""
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/libraries/libseccomp/README b/libraries/libseccomp/README
deleted file mode 100644
index db266dc535..0000000000
--- a/libraries/libseccomp/README
+++ /dev/null
@@ -1,6 +0,0 @@
-The libseccomp library provides an easy to use, platform independent,
-interface to the Linux Kernel's syscall filtering mechanism.
-The libseccomp API is designed to abstract away the underlying BPF
-based syscall filter language and present a more conventional
-function-call based filtering interface that should be familiar to,
-and easily adopted by, application developers.
diff --git a/libraries/libseccomp/libseccomp.SlackBuild b/libraries/libseccomp/libseccomp.SlackBuild
deleted file mode 100644
index 9d5837ca3f..0000000000
--- a/libraries/libseccomp/libseccomp.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libseccomp
-
-# Copyright 2016-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=libseccomp
-VERSION=${VERSION:-2.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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-static=no \
- --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 CHANGELOG CREDITS 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/libraries/libseccomp/libseccomp.info b/libraries/libseccomp/libseccomp.info
deleted file mode 100644
index dc23fc53b1..0000000000
--- a/libraries/libseccomp/libseccomp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libseccomp"
-VERSION="2.4.2"
-HOMEPAGE="https://github.com/seccomp/libseccomp"
-DOWNLOAD="https://github.com/seccomp/libseccomp/archive/v2.4.2/libseccomp-2.4.2.tar.gz"
-MD5SUM="d2e04306c5a690621d1cac5e2d7c4dc8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libseccomp/slack-desc b/libraries/libseccomp/slack-desc
deleted file mode 100644
index 0c26dd6fb6..0000000000
--- a/libraries/libseccomp/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------------------------------------------------------|
-libseccomp: libseccomp (Enhanced Seccomp library)
-libseccomp:
-libseccomp: The libseccomp library provides an easy to use, platform independent,
-libseccomp: interface to the Linux Kernel's syscall filtering mechanism.
-libseccomp: The libseccomp API is designed to abstract away the underlying BPF
-libseccomp: based syscall filter language and present a more conventional
-libseccomp: function-call based filtering interface that should be familiar to,
-libseccomp: and easily adopted by, application developers.
-libseccomp:
-libseccomp: Project URL: https://github.com/seccomp/libseccomp
-libseccomp:
diff --git a/libraries/libserialport/libserialport.SlackBuild b/libraries/libserialport/libserialport.SlackBuild
index 2b781c793d..36480b348b 100644
--- a/libraries/libserialport/libserialport.SlackBuild
+++ b/libraries/libserialport/libserialport.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libserialport
@@ -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=libserialport
VERSION=${VERSION:-0.1.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}
@@ -92,8 +102,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING Doxyfile INSTALL 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libshout/README b/libraries/libshout/README
index 55d4929939..2bdc303555 100644
--- a/libraries/libshout/README
+++ b/libraries/libshout/README
@@ -2,10 +2,8 @@ Libshout is a library for communicating with and sending data to an
icecast server. It handles the socket connection, the timing of the
data, and prevents bad data from getting to the icecast server.
-With just a few lines of code, a programmer can easily turn any application
-into a streaming source for an icecast server. Libshout also allows
-developers who want a specific feature set (database access, request taking)
-to concentrate on that feature set, instead of worrying about how server
-communication works.
-
-speex is an optional dependency.
+With just a few lines of code, a programmer can easily turn any
+application into a streaming source for an icecast server. Libshout
+also allows developers who want a specific feature set (database
+access, request taking) to concentrate on that feature set, instead
+of worrying about how server communication works.
diff --git a/libraries/libshout/libshout.SlackBuild b/libraries/libshout/libshout.SlackBuild
index e9f774e6bf..d477885879 100644
--- a/libraries/libshout/libshout.SlackBuild
+++ b/libraries/libshout/libshout.SlackBuild
@@ -1,30 +1,59 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libshout
# Written by Rodney Cobb (rdc@ktabic.co.uk)
# Modified by Robby Workman <rworkman@slackbuilds.org>
+# Maintained from 2022 Christoph Willing
+# Copyright 2022 Bill Kirkpatrick, Bay City, Texas, 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.
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libshout
-VERSION=${VERSION:-2.3.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.4.5}
+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"
@@ -47,10 +76,10 @@ 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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -67,15 +96,20 @@ CXXFLAGS="$SLKCFLAGS" \
make docdir=/usr/doc/$PRGNAM-$VERSION
make install docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+rm -f $PKG/usr/lib*/*.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 doc/libshout.xml doc/spec-html.xsl $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/libshout.xml $PKG/usr/doc/$PRGNAM-$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/libraries/libshout/libshout.info b/libraries/libshout/libshout.info
index 597fc58f62..ec70abfef1 100644
--- a/libraries/libshout/libshout.info
+++ b/libraries/libshout/libshout.info
@@ -1,10 +1,10 @@
PRGNAM="libshout"
-VERSION="2.3.1"
+VERSION="2.4.5"
HOMEPAGE="http://www.icecast.org"
-DOWNLOAD="http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz"
-MD5SUM="11765b2592e7ea623ccd93d3f8df172c"
+DOWNLOAD="http://ftp.osuosl.org/pub/xiph/releases/libshout/libshout-2.4.5.tar.gz"
+MD5SUM="f77083cf790386297d86536b76a88b1c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Didier Spaier"
-EMAIL="didier at slint dot fr"
+MAINTAINER="Bill Kirkpatrick"
+EMAIL="bkirkp@gmail.com"
diff --git a/libraries/libshout/slack-desc b/libraries/libshout/slack-desc
index 190144b1b6..e182ec6de2 100644
--- a/libraries/libshout/slack-desc
+++ b/libraries/libshout/slack-desc
@@ -13,7 +13,7 @@ libshout: icecast server. It handles the socket connection, the timing of the
libshout: data, and prevents bad data from getting to the icecast server.
libshout:
libshout:
-libshout:
+libshout: home: http://ftp.osuosl.org/pub/xiph/releases/libshout/
libshout:
libshout:
libshout:
diff --git a/libraries/libsidplay/README b/libraries/libsidplay/README
new file mode 100644
index 0000000000..90768f0038
--- /dev/null
+++ b/libraries/libsidplay/README
@@ -0,0 +1,4 @@
+libsidplay is a library for playing SID music files, and it emulates
+the sound chip for the vintage Commodore 64.
+
+This library is an optional dependency for gst-plugins-ugly
diff --git a/libraries/libsidplay/files/avoid_narrowing_conversion.patch b/libraries/libsidplay/files/avoid_narrowing_conversion.patch
new file mode 100644
index 0000000000..07480518c6
--- /dev/null
+++ b/libraries/libsidplay/files/avoid_narrowing_conversion.patch
@@ -0,0 +1,20 @@
+--- a/src/samples.cpp
++++ b/src/samples.cpp
+@@ -75,7 +75,7 @@ struct sampleChannel
+ sampleChannel ch4, ch5;
+
+
+-const sbyte galwayNoiseTab1[16] =
++const ubyte galwayNoiseTab1[16] =
+ {
+ 0x80,0x91,0xa2,0xb3,0xc4,0xd5,0xe6,0xf7,
+ 0x08,0x19,0x2a,0x3b,0x4c,0x5d,0x6e,0x7f
+@@ -84,7 +84,7 @@ const sbyte galwayNoiseTab1[16] =
+ ubyte galwayNoiseVolTab[16];
+ sbyte galwayNoiseSamTab[16];
+
+-const sbyte sampleConvertTab[16] =
++const ubyte sampleConvertTab[16] =
+ {
+ // 0x81,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff,
+ // 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x7f
diff --git a/libraries/libsidplay/files/remove_sid_have_ios_bin_block.patch b/libraries/libsidplay/files/remove_sid_have_ios_bin_block.patch
new file mode 100644
index 0000000000..f1fcc41cca
--- /dev/null
+++ b/libraries/libsidplay/files/remove_sid_have_ios_bin_block.patch
@@ -0,0 +1,38 @@
+--- a/src/sidtune.cpp
++++ b/src/sidtune.cpp
+@@ -306,11 +306,7 @@ udword sidTune::loadFile(const char* fileName, ubyte** bufferRef)
+ return 0;
+ }
+ // Open binary input file stream at end of file.
+-#if defined(SID_HAVE_IOS_BIN)
+- ifstream myIn( fileName, ios::in|ios::bin|ios::ate );
+-#else
+ ifstream myIn( fileName, ios::in|ios::binary|ios::ate );
+-#endif
+ // As a replacement for !is_open(), bad() and the NOT-operator
+ // don't seem to work on all systems.
+ #if defined(SID_DONT_HAVE_IS_OPEN)
+@@ -972,11 +968,7 @@ bool sidTune::saveC64dataFile( const char* fileName, bool overWriteFlag )
+ }
+ // Open binary output file stream.
+ else
+-#if defined(SID_HAVE_IOS_BIN)
+- fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
+-#else
+ fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
+-#endif
+ if ( !fMyOut )
+ {
+ info.statusString = text_cantCreateFile;
+@@ -1061,11 +1053,7 @@ bool sidTune::savePSIDfile( const char* fileName, bool overWriteFlag )
+ }
+ // Open binary output file stream.
+ else
+-#if defined(SID_HAVE_IOS_BIN)
+- fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
+-#else
+ fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
+-#endif
+ if ( !fMyOut )
+ {
+ info.statusString = text_cantCreateFile;
diff --git a/libraries/libsidplay/libsidplay.SlackBuild b/libraries/libsidplay/libsidplay.SlackBuild
new file mode 100644
index 0000000000..6ddbd23b34
--- /dev/null
+++ b/libraries/libsidplay/libsidplay.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libsidplay
+
+# Copyright 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libsidplay
+VERSION=${VERSION:-1.36.59}
+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 -eu
+
+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 {} \;
+
+patch -p1 -i $CWD/files/remove_sid_have_ios_bin_block.patch
+patch -p1 -i $CWD/files/avoid_narrowing_conversion.patch
+
+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
+
+find $PKG -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 .la file
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/libsidplay.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING DEVELOPER INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libsidplay/libsidplay.info b/libraries/libsidplay/libsidplay.info
new file mode 100644
index 0000000000..3411a2e185
--- /dev/null
+++ b/libraries/libsidplay/libsidplay.info
@@ -0,0 +1,10 @@
+PRGNAM="libsidplay"
+VERSION="1.36.59"
+HOMEPAGE="https://critical.ch/distfiles/"
+DOWNLOAD="https://critical.ch/distfiles/libsidplay-1.36.59.tgz"
+MD5SUM="37c51ba4bd57164b1b0bb7b43b9adece"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="%README%"
+MAINTAINER="Igor Alexandrov"
+EMAIL="igor.alexandrov@outlook.com"
diff --git a/libraries/libsidplay/slack-desc b/libraries/libsidplay/slack-desc
new file mode 100644
index 0000000000..8af5e4a38e
--- /dev/null
+++ b/libraries/libsidplay/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------------------------------------------------------|
+libsidplay: libsidplay (library for playing SID music files)
+libsidplay:
+libsidplay: Library that emulates the sound chip for the vintage Commodore 64.
+libsidplay:
+libsidplay:
+libsidplay:
+libsidplay:
+libsidplay:
+libsidplay:
+libsidplay:
+libsidplay:
diff --git a/libraries/libsidplay2/libsidplay2.SlackBuild b/libraries/libsidplay2/libsidplay2.SlackBuild
index 34ff7c6918..ca945c6d35 100644
--- a/libraries/libsidplay2/libsidplay2.SlackBuild
+++ b/libraries/libsidplay2/libsidplay2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libsidplay2".
@@ -26,10 +26,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=libsidplay2
VERSION=${VERSION:-2.1.1}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=sidplay-libs
DIFFVER=${DIFFVER:-15}
@@ -42,7 +45,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}
@@ -113,8 +123,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cp -a changelog $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog.Debian
)
+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/libraries/libsidplayfp/libsidplayfp.SlackBuild b/libraries/libsidplayfp/libsidplayfp.SlackBuild
index 8406a5fb5d..ec9c62c15d 100644
--- a/libraries/libsidplayfp/libsidplayfp.SlackBuild
+++ b/libraries/libsidplayfp/libsidplayfp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libsidplayfp".
@@ -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=libsidplayfp
-VERSION=${VERSION:-1.8.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.8.7}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +108,10 @@ cp -a AUTHORS COPYING 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 $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libsidplayfp/libsidplayfp.info b/libraries/libsidplayfp/libsidplayfp.info
index 1a24881670..ad709ec1ca 100644
--- a/libraries/libsidplayfp/libsidplayfp.info
+++ b/libraries/libsidplayfp/libsidplayfp.info
@@ -1,8 +1,8 @@
PRGNAM="libsidplayfp"
-VERSION="1.8.6"
+VERSION="1.8.7"
HOMEPAGE="https://sourceforge.net/projects/sidplay-residfp/"
-DOWNLOAD="http://downloads.sourceforge.net/project/sidplay-residfp/libsidplayfp/1.8/libsidplayfp-1.8.6.tar.gz"
-MD5SUM="fe1a88baa347cb896234327f61e62428"
+DOWNLOAD="http://downloads.sourceforge.net/sidplay-residfp/libsidplayfp-1.8.7.tar.gz"
+MD5SUM="9f6d46a1c2572cc2a6837173895d6f21"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xa"
diff --git a/libraries/libsieve/libsieve.SlackBuild b/libraries/libsieve/libsieve.SlackBuild
index 25eff8abc9..4a473fdd69 100644
--- a/libraries/libsieve/libsieve.SlackBuild
+++ b/libraries/libsieve/libsieve.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsieve
@@ -23,26 +23,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.
+# 20220417 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip library.
+# - fix tarball handling.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libsieve
VERSION=${VERSION:-2.3.1}
-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"
@@ -57,18 +69,26 @@ fi
set -e
+# 20220417 bkw: every time the file gets downloaded with wget, I get
+# a different set of CGI parameters added to the filename. That's
+# OK, but if there are multiple copies of the file, the old "tar xvf
+# $CWD/$PRGNAM-$VERSION.tar.*" will fail. So make sure we only pass
+# *one* filename to tar:
+TARBALL="$CWD/$PRGNAM-$VERSION.tar.gz"
+[ -e "$TARBALL" ] || TARBALL="$( ls $TARBALL* | head -1 )"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.*
+tar xvf $TARBALL
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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -80,14 +100,16 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libsigc++-legacy12/README b/libraries/libsigc++-legacy12/README
deleted file mode 100644
index 403e0f2ba6..0000000000
--- a/libraries/libsigc++-legacy12/README
+++ /dev/null
@@ -1,8 +0,0 @@
-libsigc++ implements a typesafe callback system for standard C++. It
-allows you to define signals and to connect those signals to any
-callback function, either global or a member function, regardless
-of whether it is static or virtual.
-
-This is the 1.2 version of libsigc++, which is outdated, but required
-by some packages that haven't been updated to use 2.0 yet. This package
-doesn't conflict with Slackware's libsigc++ package.
diff --git a/libraries/libsigc++-legacy12/libsigc++-legacy12.SlackBuild b/libraries/libsigc++-legacy12/libsigc++-legacy12.SlackBuild
deleted file mode 100644
index 42d9bfbe5d..0000000000
--- a/libraries/libsigc++-legacy12/libsigc++-legacy12.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libsigc++
-
-# Copyright (C) 2006 paul wisehart wise@lupulin.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.
-
-# Updated by Andrew Brouwers, abrouwers@gmail.com
-# Modified by Michien van Wessem, <michiel@slackbuilds.org> - 20081029
-
-PRGNAM=libsigc++-legacy12
-VERSION=${VERSION:-1.2.7}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=libsigc++
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
-
-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.bz2
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-# Don't include the API docs, new code's supposed to be using 2.0 anyway
-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/libraries/libsigc++-legacy12/libsigc++-legacy12.info b/libraries/libsigc++-legacy12/libsigc++-legacy12.info
deleted file mode 100644
index 102e26c197..0000000000
--- a/libraries/libsigc++-legacy12/libsigc++-legacy12.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libsigc++-legacy12"
-VERSION="1.2.7"
-HOMEPAGE="https://libsigcplusplus.github.io/libsigcplusplus/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/libsigc++/1.2/libsigc++-1.2.7.tar.bz2"
-MD5SUM="212f48536019e1f003d2509b4c9b36df"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/libraries/libsigc++-legacy12/slack-desc b/libraries/libsigc++-legacy12/slack-desc
deleted file mode 100644
index d82e935627..0000000000
--- a/libraries/libsigc++-legacy12/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------------------------------------------------------|
-libsigc++-legacy12: libsigc++-legacy12 (typesafe callback system for standard C++)
-libsigc++-legacy12:
-libsigc++-legacy12: libsigc++ implements a typesafe callback system for standard C++.
-libsigc++-legacy12: It allows you to define signals and to connect those signals to any
-libsigc++-legacy12: callback function, either global or a member function, regardless
-libsigc++-legacy12: of whether it is static or virtual.
-libsigc++-legacy12: It also contains adaptor classes for connection of dissimilar
-libsigc++-legacy12: callbacks and has an ease of use unmatched by other C++ callback
-libsigc++-legacy12: libraries. Libsigc++ is licensed under the GNU Library General
-libsigc++-legacy12: Public License, LGPL.
-libsigc++-legacy12:
diff --git a/libraries/libsigrok/libsigrok.SlackBuild b/libraries/libsigrok/libsigrok.SlackBuild
index 18f82d2f93..ce391c0862 100644
--- a/libraries/libsigrok/libsigrok.SlackBuild
+++ b/libraries/libsigrok/libsigrok.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsigrok
@@ -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=libsigrok
-VERSION=${VERSION:-0.5.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-20220224_6dc55e4}
+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}
@@ -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,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 {} \;
+./autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -89,9 +101,11 @@ cp -a contrib AUTHORS ChangeLog COPYING Doxyfile HACKING INSTALL NEWS README REA
$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/libraries/libsigrok/libsigrok.info b/libraries/libsigrok/libsigrok.info
index 49fb295548..59901e03d7 100644
--- a/libraries/libsigrok/libsigrok.info
+++ b/libraries/libsigrok/libsigrok.info
@@ -1,8 +1,8 @@
PRGNAM="libsigrok"
-VERSION="0.5.2"
+VERSION="20220224_6dc55e4"
HOMEPAGE="https://sigrok.org/wiki/Libsigrok"
-DOWNLOAD="https://sigrok.org/download/source/libsigrok/libsigrok-0.5.2.tar.gz"
-MD5SUM="e258d471b6d5eaa58daf927a0dc3ba67"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/libsigrok-20220224_6dc55e4.tar.xz"
+MD5SUM="ce188a5e1e0e33c197f565e7496a6093"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libsigrokdecode/libsigrokdecode.SlackBuild b/libraries/libsigrokdecode/libsigrokdecode.SlackBuild
index a4e213bdd3..f33dd800da 100644
--- a/libraries/libsigrokdecode/libsigrokdecode.SlackBuild
+++ b/libraries/libsigrokdecode/libsigrokdecode.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsigrokdecode
@@ -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=libsigrokdecode
-VERSION=${VERSION:-0.5.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-20220224_24ba9e1}
+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}
@@ -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,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 {} \;
+./autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -89,11 +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 AUTHORS ChangeLog COPYING Doxyfile HACKING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING Doxyfile HACKING INSTALL 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libsigrokdecode/libsigrokdecode.info b/libraries/libsigrokdecode/libsigrokdecode.info
index 7bd312dccd..eb13c16b7b 100644
--- a/libraries/libsigrokdecode/libsigrokdecode.info
+++ b/libraries/libsigrokdecode/libsigrokdecode.info
@@ -1,10 +1,10 @@
PRGNAM="libsigrokdecode"
-VERSION="0.5.3"
+VERSION="20220224_24ba9e1"
HOMEPAGE="https://sigrok.org/wiki/Libsigrokdecode"
-DOWNLOAD="https://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-0.5.3.tar.gz"
-MD5SUM="7ba4ed4ef1f06ae96979751e096c2821"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/libsigrokdecode-20220224_24ba9e1.tar.xz"
+MD5SUM="e0d968e56a3034e57f314caa2653a305"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Andrzej Telszewski"
EMAIL="atelszewski@gmail.com"
diff --git a/libraries/libsigscan/README b/libraries/libsigscan/README
index b5466a67d1..cac21d71b2 100644
--- a/libraries/libsigscan/README
+++ b/libraries/libsigscan/README
@@ -1,32 +1,20 @@
-libsigscan (libYAL binary signature scanning)
-
-libsigscan is a library and set of tools that can be used to search a
-source file for binary signatures.
-
-It is configured to scan for the following (an alternate configuration
-file can be specified):
-
-7z
-bzip2
-esedb
-evt
-evtx
-ewf_e01
-ewf_l01
-gzip
-lnk
-msiecf
-nk2
-olecf
-olecf_beta
-pdf
-pff
-qcow
-rar
-regf
-tar
-vhdi_header
-vhdi_footer
-wtcdb_cache
-wtcdb_index
-zip
+libsigscan is a library for binary signature scanning.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+Work in progress:
+
+* Unbound scan tree support
+
+Planned:
+
+* Multi-threading support
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libsigscan/wiki/Home
+* How to build from source:
+ https://github.com/libyal/libsigscan/wiki/Building
diff --git a/libraries/libsigscan/libsigscan.SlackBuild b/libraries/libsigscan/libsigscan.SlackBuild
index 0e7309cda9..78ee91e749 100644
--- a/libraries/libsigscan/libsigscan.SlackBuild
+++ b/libraries/libsigscan/libsigscan.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsigscan
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated to version 20230109 July 2023
-# Updated to version 20190103, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libsigscan
+VERSION=${VERSION:-20230109}
STATUS=${STATUS:-experimental}
-VERSION=${VERSION:-20190103}
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,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libsigscan/libsigscan.info b/libraries/libsigscan/libsigscan.info
index 31da6aa3b4..97187ae67e 100644
--- a/libraries/libsigscan/libsigscan.info
+++ b/libraries/libsigscan/libsigscan.info
@@ -1,8 +1,8 @@
PRGNAM="libsigscan"
-VERSION="20190103"
+VERSION="20230109"
HOMEPAGE="https://github.com/libyal/libsigscan"
-DOWNLOAD="https://github.com/libyal/libsigscan/releases/download/20190103/libsigscan-experimental-20190103.tar.gz"
-MD5SUM="b45f2c216a4db1c9ad1ad9421e025b76"
+DOWNLOAD="https://linuxleo.com/Source/libsigscan-experimental-20230109.tar.gz"
+MD5SUM="2a9af323d2e0c289f059c4807f18159e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libsixel/README b/libraries/libsixel/README
index b0cdd8f6fb..51f4e9d091 100644
--- a/libraries/libsixel/README
+++ b/libraries/libsixel/README
@@ -1,10 +1,9 @@
-This package provides encoder/decoder implementation for DEC SIXEL
-graphics, and some converter programs.
+libsixel - DEC SIXEL graphics encoder/decoder and some converter tools
SIXEL is one of image formats for printer and terminal imaging
introduced by Digital Equipment Corp. (DEC). Its data scheme is
-represented as a terminal-friendly escape sequence. So if you want
-to view a SIXEL image file, all you have to do is "cat" it to your
+represented as a terminal-friendly escape sequence. So if you want to
+view a SIXEL image file, all you have to do is "cat" it to your
terminal.
-mlterm is recommended for good SIXEL support.
+Provides: C library, Python2 module, img2sixel and sixel2png binaries.
diff --git a/libraries/libsixel/libsixel.SlackBuild b/libraries/libsixel/libsixel.SlackBuild
index 346d9f9d50..59a6b2a038 100644
--- a/libraries/libsixel/libsixel.SlackBuild
+++ b/libraries/libsixel/libsixel.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsixel
-# Copyright 2018-2020 Hunter Sezen California, USA
+# Copyright 2023 xaizek
# 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=libsixel
-VERSION=${VERSION:-1.8.5}
+VERSION=${VERSION:-1.10.3}
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}
@@ -54,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,33 +76,36 @@ 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 -fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --includedir=/usr/include/sixel \
- --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 build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+# static library is built unconditionally
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a
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* NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libsixel/libsixel.info b/libraries/libsixel/libsixel.info
index e9c0a2e6ee..89d9a88aa1 100644
--- a/libraries/libsixel/libsixel.info
+++ b/libraries/libsixel/libsixel.info
@@ -1,10 +1,10 @@
PRGNAM="libsixel"
-VERSION="1.8.5"
-HOMEPAGE="https://github.com/saitoha/libsixel"
-DOWNLOAD="https://github.com/saitoha/libsixel/archive/v1.8.5/libsixel-1.8.5.tar.gz"
-MD5SUM="2310df0e2525a02601666a33b2def474"
+VERSION="1.10.3"
+HOMEPAGE="https://github.com/libsixel/libsixel"
+DOWNLOAD="https://github.com/libsixel/libsixel/archive/v1.10.3/libsixel-1.10.3.tar.gz"
+MD5SUM="c104233ee1a4c18fb2e76a478d9bb60c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/libraries/libsixel/slack-desc b/libraries/libsixel/slack-desc
index 6117ff64cb..ce8d9ee5ee 100644
--- a/libraries/libsixel/slack-desc
+++ b/libraries/libsixel/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-libsixel: libsixel (SIXEL encoder/decoder implementation)
-libsixel:
-libsixel: A SIXEL encoder/decoder implementation derived from kmiya's sixel.
-libsixel:
-libsixel: Homepage: https://github.com/saitoha/libsixel
-libsixel:
-libsixel:
+libsixel: libsixel (DEC SIXEL graphics encoder/decoder and some converter tools)
libsixel:
+libsixel: SIXEL is one of image formats for printer and terminal imaging
+libsixel: introduced by Digital Equipment Corp. (DEC). Its data scheme is
+libsixel: represented as a terminal-friendly escape sequence. So if you want to
+libsixel: view a SIXEL image file, all you have to do is "cat" it to your
+libsixel: terminal.
libsixel:
+libsixel: Provides: C library, Python2 module, img2sixel and sixel2png binaries.
libsixel:
libsixel:
diff --git a/libraries/libskk/libskk.SlackBuild b/libraries/libskk/libskk.SlackBuild
index d08fcf1d20..28e02b7aef 100644
--- a/libraries/libskk/libskk.SlackBuild
+++ b/libraries/libskk/libskk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2013 by Jun SAITO <jsaito@xopowo.info>
@@ -23,26 +23,38 @@
# Maintained as of version 1.0.0 by Jun SAITO <jsaito@xopowo.info>
# Revision date: 2013/03/27
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - get rid of empty/useless docs.
+# - i486 => i586.
+# - use correct github URL for download.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libskk
VERSION=${VERSION:-1.0.1}
-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"
@@ -66,9 +78,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 {} \+
./autogen.sh
CFLAGS="$SLKCFLAGS" \
@@ -84,22 +96,19 @@ CXXFLAGS="$SLKCFLAGS" \
--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
-
-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 \
- AUTHORS COPYING INSTALL NEWS README \
+ COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libskk/libskk.info b/libraries/libskk/libskk.info
index 5bd53eddee..540f8999d3 100644
--- a/libraries/libskk/libskk.info
+++ b/libraries/libskk/libskk.info
@@ -1,10 +1,10 @@
PRGNAM="libskk"
VERSION="1.0.1"
HOMEPAGE="https://github.com/ueno/libskk"
-DOWNLOAD="https://github.com/ueno/libskk/archive/1.0.1.tar.gz"
+DOWNLOAD="https://github.com/ueno/libskk/archive/1.0.1/libskk-1.0.1.tar.gz"
MD5SUM="a694faea4ba59061414a80b94c1c8057"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gnome-common libgee1 json-glib"
+REQUIRES="libgee1 gnome-common"
MAINTAINER="Jun SAITO"
EMAIL="jsaito@xopowo.info"
diff --git a/libraries/libslack/README b/libraries/libslack/README
index ea462496eb..b762807f91 100644
--- a/libraries/libslack/README
+++ b/libraries/libslack/README
@@ -1,5 +1,5 @@
-Libslack is a library of general utilities designed to make
-UNIX/C programming a bit easier on the eye.
+Libslack is a library of general utilities designed to make UNIX/C
+programming a bit easier on the eye.
It's a small library with lots of functionality, accurately
documented and thoroughly tested.
@@ -23,11 +23,11 @@ locker - abstract locking and reader/writer lock implementation
map - map (hash table) data type
mem - memory helper functions, secure memory, memory pools
msg - message handling and syslog helper functions
-net - network functions (clients/servers, expect/send, pack/unpack, mail)
-prog - program framework and flexible command line option handling
+net - network (clients/servers, expect/send, pack/unpack, mail)
+prog - program framework, flexible command line option handling
prop - program properties files
pseudo - pseudo terminals
sig - ISO C compliant signal handling
snprintf - safe sprintf for systems that don't have it
-str - string data type (tr, regex, regsub, fmt, trim, lc, uc, ...)
-vsscanf - sscanf() with va_list argument for systems that don't have it
+str - strings (tr, regex, regsub, fmt, trim, lc, uc, ...)
+vsscanf - sscanf() with va_list for systems that don't have it
diff --git a/libraries/libslack/libslack.SlackBuild b/libraries/libslack/libslack.SlackBuild
index 62943ee552..91721dbf48 100644
--- a/libraries/libslack/libslack.SlackBuild
+++ b/libraries/libslack/libslack.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libslack
-# Copyright 2012-2017 Christoph Willing, Australia
+# Copyright 2012-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.
+# 20230703 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install static library without +x permission (this is the standard).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libslack
-VERSION=${VERSION:-0.6}
+VERSION=${VERSION:-0.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"
@@ -61,7 +71,15 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-tar xvf $CWD/$PRGNAM-$VERSION.html.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-html.tar.gz
+cd $PRGNAM-$VERSION-html
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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 ..
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -71,7 +89,7 @@ find -L . \
-exec chmod 644 {} \;
# Strip update, download and uninstall capabilities from libslack-config
-patch -p1 < $CWD/notwanted.patch
+patch -p0 < $CWD/notwanted-0.7.3.diff
# Set our CFLAGS
sed -i "s|-O3|$SLKCFLAGS|" conf/linux Makefile
@@ -82,7 +100,7 @@ make
# "make install" is badly broken (thanks XGizzmo), so manual install
mkdir -p $PKG/usr/bin $PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/include/slack
-install -m 0755 $PRGNAM.a $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION.a
+install -m 0644 $PRGNAM.a $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM-$VERSION.a
( cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -s $PRGNAM-$VERSION.a $PRGNAM.a )
install -m 0644 *.h $PKG/usr/include/slack/
@@ -100,14 +118,16 @@ chmod 0755 $PKG/usr/bin/$PRGNAM-config
# Man pages overwrite stuff (thanks XGizzmo), so we ignore them
# and install only the html documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
-cp -a README LICENSE \
+cp -a COPYING LICENSE README.md REFERENCES \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.html \
+cp -a $TMP/$PRGNAM-$VERSION-html/* \
$PKG/usr/doc/$PRGNAM-$VERSION/html/
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/libraries/libslack/libslack.info b/libraries/libslack/libslack.info
index 1063bbef12..fbbd7eec2d 100644
--- a/libraries/libslack/libslack.info
+++ b/libraries/libslack/libslack.info
@@ -1,10 +1,10 @@
PRGNAM="libslack"
-VERSION="0.6"
-HOMEPAGE="http://libslack.org"
-DOWNLOAD="http://libslack.org/download/libslack-0.6.tar.gz \
- http://libslack.org/download/libslack-0.6.html.tar.gz"
-MD5SUM="0e22e1d38865be2d94372027e5c42b58 \
- 8687e661c8e3cf591bc33231a9aff553"
+VERSION="0.7.5"
+HOMEPAGE="https://libslack.org"
+DOWNLOAD="https://libslack.org/download/libslack-0.7.5.tar.gz \
+ https://libslack.org/download/libslack-0.7.5-html.tar.gz"
+MD5SUM="b9c0fde8dcfffad780841cfdf67ad552 \
+ 4d387927d584a7a0e94312bb0a8db57b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libslack/notwanted-0.7.3.diff b/libraries/libslack/notwanted-0.7.3.diff
new file mode 100644
index 0000000000..7cf4cd6ebb
--- /dev/null
+++ b/libraries/libslack/notwanted-0.7.3.diff
@@ -0,0 +1,114 @@
+--- libslack-config.pod.orig 2023-03-30 14:30:22.000000000 +1000
++++ libslack-config.pod 2023-06-26 18:40:09.568000000 +1000
+@@ -31,13 +31,10 @@
+ -h, --help - Print this help and exit
+ -v, --version - Print the version of the currently installed libslack
+ -L, --latest - Print the latest version of libslack (uses wget)
+- -D, --download - Download the latest version of libslack (uses wget)
+- -U, --upgrade - Upgrade to the latest version of libslack (uses wget)
+ -p, --prefix - Print the prefix directory of the libslack installation
+ -c, --cflags - Print CFLAGS needed to compile clients of libslack
+ -l, --libs - Print LDFLAGS needed to link against libslack
+ -l, --ldflags - Identical to --libs
+- -u, --uninstall - Uninstall libslack
+
+ Note: The dashes are optional for long option names
+
+@@ -74,19 +71,6 @@
+ Print the latest version of I<libslack> available at
+ C<https://libslack.org>.
+
+-=item C<-D>, C<--download>
+-
+-Download the latest version of I<libslack> from
+-C<https://libslack.org>.
+-
+-=item C<-U>, C<--upgrade>
+-
+-Upgrade to the latest version of I<libslack> from
+-C<https://libslack.org>. This downloads the latest
+-version, configures it, compiles it, uninstalls the currently installed
+-version and then installs the new version wherever the current version
+-was installed.
+-
+ =item C<-p>, C<--prefix>
+
+ Print the prefix directory under which I<libslack> was installed.
+@@ -99,10 +83,6 @@
+
+ Print the linker flags needed to link code against I<libslack>.
+
+-=item C<-u>, C<--uninstall>
+-
+-Uninstall I<libslack>.
+-
+ =back
+
+ =head1 SEE ALSO
+--- libslack-config.t.orig 2023-03-30 14:30:22.000000000 +1000
++++ libslack-config.t 2023-06-26 18:41:34.885000000 +1000
+@@ -46,13 +46,10 @@
+ -h, --help - Print this help and exit
+ -v, --version - Print the version of the currently installed libslack
+ -L, --latest - Print the latest version of libslack (uses wget)
+- -D, --download - Download the latest version of libslack (uses wget)
+- -U, --upgrade - Upgrade to the latest version of libslack (uses wget)
+ -p, --prefix - Print the prefix directory of the libslack installation
+ -c, --cflags - Print CFLAGS needed to compile clients of libslack
+ -l, --libs - Print LDFLAGS needed to link against libslack
+ -l, --ldflags - Identical to --libs
+- -u, --uninstall - Uninstall libslack
+
+ Note: the dashes are optional for long option names
+
+@@ -103,36 +100,6 @@
+ '
+ }
+
+-download()
+-{
+- latest="`latest 2>&1`"
+- test "$latest" = "No versions found at ${url}/download" && die "$latest"
+- file="`echo $latest | sed 's/^.*\///'`"
+- test -f "$file" && die "The file $file already exists"
+- wget "$latest"
+-}
+-
+-upgrade()
+-{
+- latest="`latest 2>&1`"
+- test "$latest" = "No versions found at ${url}/download" && die "$latest"
+- file="`echo $latest | sed 's/^.*\///'`"
+- dir="`echo $file | sed 's/\.tar\.gz$//'`"
+- test -f "$file" || wget "$latest"
+- test -s "$file" || die "Failed to download $latest"
+- tar xzf "$file" || die "Failed to untar $file"
+- cd "$dir" || die "Failed to cd $dir"
+- ./configure || die "Failed to configure $dir"
+- make || die "Failed to make $dir"
+- uninstall || die "Failed to uninstall current version"
+- make PREFIX="$prefix" install || die "Failed to install $dir into $prefix"
+- cd .. && rm -rf "$dir"
+-}
+-
+-uninstall()
+-{
+-@@UNINSTALL@@
+-}
+
+ test $# -eq 0 && usage 1 1>&2
+
+@@ -142,13 +109,10 @@
+ -h|--help|help) usage 0;;
+ -v|--version|version) echo "$version";;
+ -L|--latest|latest) latest;;
+- -D|--download|download) download;;
+- -U|--upgrade|upgrade) upgrade;;
+ -p|--prefix|prefix) echo "$prefix";;
+ -c|--cflags|cflags) echo "$cflags";;
+ -l|--libs|libs) echo "$libs";;
+ -l|--ldflags|ldflags) echo "$libs";;
+- -u|--uninstall|uninstall) uninstall;;
+ *) usage 1 >&2;;
+ esac
+ shift
diff --git a/libraries/libslack/notwanted.patch b/libraries/libslack/notwanted.patch
deleted file mode 100644
index b07c391619..0000000000
--- a/libraries/libslack/notwanted.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-diff -Naur libslack-0.6.orig/libslack-config.pod libslack-0.6/libslack-config.pod
---- libslack-0.6.orig/libslack-config.pod 2010-06-12 15:37:00.000000000 +0200
-+++ libslack-0.6/libslack-config.pod 2013-01-02 20:36:02.802707880 +0100
-@@ -32,13 +32,10 @@
- -h, --help - Print this help and exit
- -v, --version - Print the version of the currently installed libslack
- -L, --latest - Print the latest version of libslack (uses wget)
-- -D, --download - Download the latest version of libslack (uses wget)
-- -U, --upgrade - Upgrade to the latest version of libslack (uses wget)
- -p, --prefix - Print the prefix directory of the libslack installation
- -c, --cflags - Print CFLAGS needed to compile clients of libslack
- -l, --libs - Print LDFLAGS needed to link against libslack
- -l, --ldflags - Identical to --libs
-- -u, --uninstall - Uninstall libslack
-
- Note: The dashes are optional for long option names
-
-@@ -75,19 +72,6 @@
- Print the latest version of I<libslack> available at
- C<http://libslack.org/>.
-
--=item C<-D>, C<--download>
--
--Download the latest version of I<libslack> from
--C<http://libslack.org/>.
--
--=item C<-U>, C<--upgrade>
--
--Upgrade to the latest version of I<libslack> from
--C<http://libslack.org/>. This downloads the latest
--version, configures it, compiles it, uninstalls the currently installed
--version and then installs the new version wherever the current version
--was installed.
--
- =item C<-p>, C<--prefix>
-
- Print the prefix directory under which I<libslack> was installed.
-@@ -100,10 +84,6 @@
-
- Print the linker flags needed to link code against I<libslack>.
-
--=item C<-u>, C<--uninstall>
--
--Uninstall I<libslack>.
--
- =back
-
- =head1 SEE ALSO
-diff -Naur libslack-0.6.orig/libslack-config.t libslack-0.6/libslack-config.t
---- libslack-0.6.orig/libslack-config.t 2010-06-12 15:37:00.000000000 +0200
-+++ libslack-0.6/libslack-config.t 2013-01-02 19:55:45.772706368 +0100
-@@ -45,13 +45,10 @@
- -h, --help - Print this help and exit
- -v, --version - Print the version of the currently installed libslack
- -L, --latest - Print the latest version of libslack (uses wget)
-- -D, --download - Download the latest version of libslack (uses wget)
-- -U, --upgrade - Upgrade to the latest version of libslack (uses wget)
- -p, --prefix - Print the prefix directory of the libslack installation
- -c, --cflags - Print CFLAGS needed to compile clients of libslack
- -l, --libs - Print LDFLAGS needed to link against libslack
- -l, --ldflags - Identical to --libs
-- -u, --uninstall - Uninstall libslack
-
- Note: the dashes are optional for long option names
-
-@@ -102,37 +99,6 @@
- '
- }
-
--download()
--{
-- latest="`latest 2>&1`"
-- test "$latest" = "No versions found at ${url}download" && die "$latest"
-- file="`echo $latest | sed 's/^.*\///'`"
-- test -f "$file" && die "The file $file already exists"
-- wget "$latest"
--}
--
--upgrade()
--{
-- latest="`latest 2>&1`"
-- test "$latest" = "No versions found at ${url}/download" && die "$latest"
-- file="`echo $latest | sed 's/^.*\///'`"
-- dir="`echo $file | sed 's/\.tar\.gz$//'`"
-- test -f "$file" || wget "$latest"
-- test -s "$file" || die "Failed to download $latest"
-- tar xzf "$file" || die "Failed to untar $file"
-- cd "$dir" || die "Failed to cd $dir"
-- ./configure || die "Failed to configure $dir"
-- make || die "Failed to make $dir"
-- uninstall || die "Failed to uninstall current version"
-- make PREFIX="$prefix" install || die "Failed to install $dir into $prefix"
-- cd .. && rm -rf "$dir"
--}
--
--uninstall()
--{
--@@UNINSTALL@@
--}
--
- test $# -eq 0 && usage 1 1>&2
-
- while test $# -gt 0
-@@ -141,13 +107,10 @@
- -h|--help|help) usage 0;;
- -v|--version|version) echo "$version";;
- -L|--latest|latest) latest;;
-- -D|--download|download) download;;
-- -U|--upgrade|upgrade) upgrade;;
- -p|--prefix|prefix) echo "$prefix";;
- -c|--cflags|cflags) echo "$cflags";;
- -l|--libs|libs) echo "$libs";;
- -l|--ldflags|ldflags) echo "$libs";;
-- -u|--uninstall|uninstall) uninstall;;
- *) usage 1 >&2;;
- esac
- shift
diff --git a/libraries/libslirp/README b/libraries/libslirp/README
new file mode 100644
index 0000000000..e972a47509
--- /dev/null
+++ b/libraries/libslirp/README
@@ -0,0 +1,6 @@
+libslirp is a user-mode networking library
+used by virtual machines,containers or various tools.
+Valgrind is an optional dependency and if
+installed it will use it.
+
+This is an optional dependency of QEMU
diff --git a/libraries/libslirp/changelog b/libraries/libslirp/changelog
new file mode 100644
index 0000000000..cb657bde2d
--- /dev/null
+++ b/libraries/libslirp/changelog
@@ -0,0 +1,15 @@
+Changelog for libslirp SlackBuild Script
+--------------------------------------------------------------------
+
+03/09/2022:
+
+Added to slackbuilds.org
+
+17/12/2022:
+
+Issues in the script were fixed.
+
+29/04/2023:
+
+updated to version 4.7.0
+Valgrind is an optional dependency for libslirp
diff --git a/libraries/libslirp/libslirp.SlackBuild b/libraries/libslirp/libslirp.SlackBuild
new file mode 100644
index 0000000000..06b3fab202
--- /dev/null
+++ b/libraries/libslirp/libslirp.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for libslirp
+
+# 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=libslirp
+VERSION=${VERSION:-4.7.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i586 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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
+rm -rf $PKG
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+
+meson build
+cd build
+meson configure -Dprefix=/usr
+DESTDIR=$PKG ninja install
+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 CHANGELOG.md COPYRIGHT README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libslirp/libslirp.info b/libraries/libslirp/libslirp.info
new file mode 100644
index 0000000000..6fbf9b27af
--- /dev/null
+++ b/libraries/libslirp/libslirp.info
@@ -0,0 +1,10 @@
+PRGNAM="libslirp"
+VERSION="4.7.0"
+HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp"
+DOWNLOAD="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.7.0/libslirp-v4.7.0.tar.gz"
+MD5SUM="8eb16991ab6145ca45e8393e9959a832"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libslirp/slack-desc b/libraries/libslirp/slack-desc
new file mode 100644
index 0000000000..0dff2815ba
--- /dev/null
+++ b/libraries/libslirp/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------------------------------------------------------|
+libslirp: libslirp (User Mode Networking Library)
+libslirp:
+libslirp: libslirp is a user mode networking library used
+libslirp: by virtual machines,containers or varioud tools.
+libslirp: It provides a general purpose TCP-IP emulator used by
+libslirp: virtual machine hypervisors to provide virtual
+libslirp: networking services.
+libslirp:
+libslirp: Homepage:https://gitlab.freedesktop.org/slirp/libslirp
+libslirp:
+libslirp:
diff --git a/libraries/libsmbios/libsmbios.SlackBuild b/libraries/libsmbios/libsmbios.SlackBuild
index 981332d69f..aa1c2d55e8 100644
--- a/libraries/libsmbios/libsmbios.SlackBuild
+++ b/libraries/libsmbios/libsmbios.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsmbios
@@ -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=libsmbios
-VERSION=${VERSION:-2.3.3}
+VERSION=${VERSION:-2.4.3}
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}
@@ -98,13 +108,18 @@ rm -rf $PKG/usr/lib/yum-plugins
find $PKG -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* NEWS README* TODO doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING* README* doc/* $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/libraries/libsmbios/libsmbios.info b/libraries/libsmbios/libsmbios.info
index 92bea08d92..ed9fcacbd0 100644
--- a/libraries/libsmbios/libsmbios.info
+++ b/libraries/libsmbios/libsmbios.info
@@ -1,10 +1,10 @@
PRGNAM="libsmbios"
-VERSION="2.3.3"
+VERSION="2.4.3"
HOMEPAGE="https://github.com/dell/libsmbios"
-DOWNLOAD="https://github.com/dell/libsmbios/archive/v2.3.3/libsmbios-2.3.3.tar.gz"
-MD5SUM="8abcce9e2024b9ff393db7d1fdcc3989"
+DOWNLOAD="https://github.com/dell/libsmbios/archive/v2.4.3/libsmbios-2.4.3.tar.gz"
+MD5SUM="d27a0de66b04860e4e3e8d1bb338bf6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Alan Hicks"
-EMAIL="alan@lizella.net"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"
diff --git a/libraries/libsmdev/libsmdev.SlackBuild b/libraries/libsmdev/libsmdev.SlackBuild
index 4964069e83..94c625076c 100644
--- a/libraries/libsmdev/libsmdev.SlackBuild
+++ b/libraries/libsmdev/libsmdev.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsmdev
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated v20181227 Jan 2019
+# Updated v20221028 July 2023
+
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove empty/useless docs.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libsmdev
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20221028}
STATUS=${STATUS:-alpha}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -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}
@@ -63,14 +73,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$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 {} \+
CFLAGS="$SLKCFLAGS -std=gnu89" \
CXXFLAGS="$SLKCFLAGS -std=gnu89" \
@@ -81,21 +91,21 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--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
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar ABOUT-NLS AUTHORS NEWS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libsmdev/libsmdev.info b/libraries/libsmdev/libsmdev.info
index fe36760cc6..3067b22719 100644
--- a/libraries/libsmdev/libsmdev.info
+++ b/libraries/libsmdev/libsmdev.info
@@ -1,8 +1,8 @@
PRGNAM="libsmdev"
-VERSION="20181227"
+VERSION="20221028"
HOMEPAGE="https://github.com/libyal/libsmdev"
-DOWNLOAD="https://github.com/libyal/libsmdev/releases/download/20181227/libsmdev-alpha-20181227.tar.gz"
-MD5SUM="9b993b2f7b763e321e52a407ae0ccffd"
+DOWNLOAD="https://linuxleo.com/Source/libsmdev-alpha-20221028.tar.gz"
+MD5SUM="193ab43fb38b3a6668d43c8313d25d05"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libsmf/README b/libraries/libsmf/README
index d63868df58..4d0b768382 100644
--- a/libraries/libsmf/README
+++ b/libraries/libsmf/README
@@ -1,5 +1,9 @@
libsmf (library for handling MIDI files)
-LibSMF is a BSD-licensed C library for handling standard MIDI ("*.mid")
-files. It transparently handles conversions between time and pulses,
-tempo map handling etc. Full API documentation and examples are included.
+LibSMF is a BSD-licensed C library for handling standard MIDI
+("*.mid") files. It transparently handles conversions between time and
+pulses, tempo map handling etc. Full API documentation and examples
+are included.
+
+Also included is smfsh, a "midi shell" useful for debugging and
+hand-editing MIDI files.
diff --git a/libraries/libsmf/libsmf.SlackBuild b/libraries/libsmf/libsmf.SlackBuild
index a4eb8cdb53..5360ead7c6 100644
--- a/libraries/libsmf/libsmf.SlackBuild
+++ b/libraries/libsmf/libsmf.SlackBuild
@@ -1,15 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsmf
-# 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.
+# 20230104 bkw: update homepage and download URLs; no script changes.
+# 20211124 bkw: BUILD=2, remove .la file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libsmf
VERSION=${VERSION:-1.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -47,11 +57,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" \
@@ -69,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
gzip $PKG/usr/man/man1/*.1
+rm -f $PKG/usr/lib*/*.la
# Makefile doesn't build the API doc
doxygen doxygen.cfg
@@ -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/libraries/libsmf/libsmf.info b/libraries/libsmf/libsmf.info
index dd7973ca32..7766c290cb 100644
--- a/libraries/libsmf/libsmf.info
+++ b/libraries/libsmf/libsmf.info
@@ -1,10 +1,10 @@
PRGNAM="libsmf"
VERSION="1.3"
-HOMEPAGE="https://sourceforge.net/projects/libsmf/"
-DOWNLOAD="https://downloads.sourceforge.net/project/libsmf/libsmf/1.3/libsmf-1.3.tar.gz"
+HOMEPAGE="https://github.com/stump/libsmf"
+DOWNLOAD="http://ftp.stump.io/software/libsmf/libsmf-1.3.tar.gz"
MD5SUM="eb698f1bc0bad9d5bce4c10386347486"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libsmf/slack-desc b/libraries/libsmf/slack-desc
index aa6767f98c..b5f923e483 100644
--- a/libraries/libsmf/slack-desc
+++ b/libraries/libsmf/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
libsmf: libsmf (library for handling MIDI files)
libsmf:
-libsmf: LibSMF is a BSD-licensed C library for handling standard MIDI (*.mid)
+libsmf: LibSMF is a BSD-licensed C library for handling standard MIDI
+libsmf: ("*.mid")
libsmf: files. It transparently handles conversions between time and pulses,
libsmf: tempo map handling etc. Full API documentation and examples are
libsmf: included.
libsmf:
-libsmf:
-libsmf:
-libsmf:
+libsmf: Also included is smfsh, a "midi shell" useful for debugging and
+libsmf: hand-editing MIDI files.
libsmf:
diff --git a/libraries/libsmi/libsmi.SlackBuild b/libraries/libsmi/libsmi.SlackBuild
index f274302d4e..ae2b07956f 100644
--- a/libraries/libsmi/libsmi.SlackBuild
+++ b/libraries/libsmi/libsmi.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsmi
# Written by Dušan Stefanović <stefanovic.dusan@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libsmi
VERSION=${VERSION:-0.4.8}
-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"
@@ -77,8 +87,10 @@ cp -a README TODO THANKS ANNOUNCE ChangeLog COPYING doc/*.txt doc/smi* \
$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/libraries/libsmraw/README b/libraries/libsmraw/README
index 34eb44304d..0ea9b9748b 100644
--- a/libraries/libsmraw/README
+++ b/libraries/libsmraw/README
@@ -1,4 +1,4 @@
libsmraw (libYAL RAW image library)
-Library and tools to access the (split) RAW image format (media images created
-with the dd utility, for example).
+Library and tools to access the (split) RAW image format (media images
+created with the dd utility, for example).
diff --git a/libraries/libsmraw/libsmraw.SlackBuild b/libraries/libsmraw/libsmraw.SlackBuild
index 38b3ae4d84..d71ae94eff 100644
--- a/libraries/libsmraw/libsmraw.SlackBuild
+++ b/libraries/libsmraw/libsmraw.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsmraw
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated v20221028 July 2023
-# Updated v20181227 Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libsmraw
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20221028}
STATUS=${STATUS:-alpha}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libsmraw/libsmraw.info b/libraries/libsmraw/libsmraw.info
index e6a5d4965f..772ed60993 100644
--- a/libraries/libsmraw/libsmraw.info
+++ b/libraries/libsmraw/libsmraw.info
@@ -1,8 +1,8 @@
PRGNAM="libsmraw"
-VERSION="20181227"
+VERSION="20221028"
HOMEPAGE="https://github.com/libyal/libsmraw"
-DOWNLOAD="https://github.com/libyal/libsmraw/releases/download/20181227/libsmraw-alpha-20181227.tar.gz"
-MD5SUM="510ccfd38ad5b13b173759224267fcfa"
+DOWNLOAD="https://linuxleo.com/Source/libsmraw-alpha-20221028.tar.gz"
+MD5SUM="6f1951b929f3bd9ad4e91e7b37152205"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libsodium/README b/libraries/libsodium/README
deleted file mode 100644
index d401f6c292..0000000000
--- a/libraries/libsodium/README
+++ /dev/null
@@ -1,2 +0,0 @@
-libsodium is a portable fork of NaCl with a compatible API. It is a software
-library for network communication, encryption, decryption, signatures, etc.
diff --git a/libraries/libsodium/libsodium.SlackBuild b/libraries/libsodium/libsodium.SlackBuild
deleted file mode 100644
index d116e15595..0000000000
--- a/libraries/libsodium/libsodium.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libsodium
-
-# Copyright 2019 T3slider <t3slider@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=libsodium
-VERSION=${VERSION:-1.0.18}
-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 {} \;
-
-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 \
- --build=$ARCH-slackware-linux
-
-make
-make check
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog LICENSE README.markdown 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/libraries/libsodium/libsodium.info b/libraries/libsodium/libsodium.info
deleted file mode 100644
index 885712aec3..0000000000
--- a/libraries/libsodium/libsodium.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libsodium"
-VERSION="1.0.18"
-HOMEPAGE="https://github.com/jedisct1/libsodium"
-DOWNLOAD="https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz"
-MD5SUM="3ca9ebc13b6b4735acae0a6a4c4f9a95"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="T3slider"
-EMAIL="t3slider@gmail.com"
diff --git a/libraries/libsodium/slack-desc b/libraries/libsodium/slack-desc
deleted file mode 100644
index 9f9b669bc6..0000000000
--- a/libraries/libsodium/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------------------------------------------------------|
-libsodium: libsodium (a library for network communication and cryptography)
-libsodium:
-libsodium: libsodium is a portable fork of NaCl with a compatible API. It is
-libsodium: a software library for network communication, encryption, decryption,
-libsodium: signatures, etc.
-libsodium:
-libsodium: https://github.com/jedisct1/libsodium
-libsodium:
-libsodium:
-libsodium:
-libsodium:
diff --git a/libraries/libspectrum/libspectrum.SlackBuild b/libraries/libspectrum/libspectrum.SlackBuild
index 0a16a669ad..07888ae359 100644
--- a/libraries/libspectrum/libspectrum.SlackBuild
+++ b/libraries/libspectrum/libspectrum.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libspectrum
-# Copyright 2014-2018 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=libspectrum
-VERSION=${VERSION:-1.4.4}
+VERSION=${VERSION:-1.5.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}
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README THANKS $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/libraries/libspectrum/libspectrum.info b/libraries/libspectrum/libspectrum.info
index 4c8fa83139..4d844a3cdd 100644
--- a/libraries/libspectrum/libspectrum.info
+++ b/libraries/libspectrum/libspectrum.info
@@ -1,10 +1,10 @@
PRGNAM="libspectrum"
-VERSION="1.4.4"
+VERSION="1.5.0"
HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
-DOWNLOAD="https://downloads.sourceforge.net/project/fuse-emulator/libspectrum/1.4.4/libspectrum-1.4.4.tar.gz"
-MD5SUM="5f6f55887394db5ddf3fd98c6dd42e55"
+DOWNLOAD="https://downloads.sourceforge.net/project/fuse-emulator/libspectrum/1.5.0/libspectrum-1.5.0.tar.gz"
+MD5SUM="a675e8b812f6029e6f7c780f8461b254"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/libspf2/doinst.sh b/libraries/libspf2/doinst.sh
deleted file mode 100644
index 12c29ac429..0000000000
--- a/libraries/libspf2/doinst.sh
+++ /dev/null
@@ -1,63 +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
-}
-
-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
-}
-
-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 -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
-
-# If needed -- be sure to sed @LIBDIR@ inside the build script
-chroot . /usr/bin/gio-querymodules @LIBDIR@/gio/modules/ 1> /dev/null 2> /dev/null
-
-if [ -x /usr/bin/install-info ]; then
- chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/blah.gz 2> /dev/null
-fi
-
-# WARNING
-# When upgradepkg is used, doinst.sh gets run twice. So don't put
-# anything here that takes a long time to run.
diff --git a/libraries/libspf2/libspf2.SlackBuild b/libraries/libspf2/libspf2.SlackBuild
index ca6a1facbf..068b52289b 100644
--- a/libraries/libspf2/libspf2.SlackBuild
+++ b/libraries/libspf2/libspf2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <libspf2>
@@ -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=libspf2
VERSION=${VERSION:-1.2.10}
-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}
@@ -91,9 +101,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
-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/libraries/libspiro/README b/libraries/libspiro/README
new file mode 100644
index 0000000000..1954b4de30
--- /dev/null
+++ b/libraries/libspiro/README
@@ -0,0 +1,7 @@
+Spiro is the creation of Raph Levien which simplifies the
+drawing of beautiful curves.Using Bezier splines a artist can
+easily draw curves with the same slope on either side of a curve
+point. This library will take an array of spiro control points and
+convert them into a series of bezier splines which can then be used
+in myriad of ways the world has come to use beziers.
+
diff --git a/libraries/libspiro/libspiro.SlackBuild b/libraries/libspiro/libspiro.SlackBuild
new file mode 100644
index 0000000000..80a17c9725
--- /dev/null
+++ b/libraries/libspiro/libspiro.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for libspiro
+
+# Copyright 2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libspiro
+VERSION=${VERSION:-20221101}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=${SRCNAM:-libspiro-dist}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+autoreconf -fiv
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --with-gnu-ld \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING README README-GeorgeWilliams README-RaphLevien $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libspiro/libspiro.info b/libraries/libspiro/libspiro.info
new file mode 100644
index 0000000000..6b915f44a4
--- /dev/null
+++ b/libraries/libspiro/libspiro.info
@@ -0,0 +1,10 @@
+PRGNAM="libspiro"
+VERSION="20221101"
+HOMEPAGE="https://github.com/fontforge/libspiro"
+DOWNLOAD="https://github.com/fontforge/libspiro/archive/20221101/libspiro-20221101.tar.gz"
+MD5SUM="139c56bf560adf88df0f06c5795dc878"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libspiro/slack-desc b/libraries/libspiro/slack-desc
new file mode 100644
index 0000000000..330c013d1f
--- /dev/null
+++ b/libraries/libspiro/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+libspiro: libspiro (Draw Beautiful curves)
+libspiro:
+libspiro: Spiro is the creation of Raph Levien which simplifies the
+libspiro: drawing of beautiful curves.Using Bezier splines a artist can
+libspiro: easily draw curves with the same slope on either side of a curve
+libspiro: point. This library will take an array of spiro control points and
+libspiro: convert them into a series of bezier splines which can then be used
+libspiro: in myriad of ways the world has come to use beziers.
+libspiro:
+libspiro: Homepage:https://github.com/fontforge/libspiro
+libspiro:
diff --git a/libraries/libspng/README b/libraries/libspng/README
new file mode 100644
index 0000000000..7b5981b6c1
--- /dev/null
+++ b/libraries/libspng/README
@@ -0,0 +1,12 @@
+lib**spng** (**s**imple **png**) is a C library for reading and
+writing Portable Network Graphics (PNG) format files with a focus on
+security and ease of use.
+
+libspng is an alternative to libpng, the projects are separate and the
+APIs are not compatible.
+
+The goal is to provide a fast PNG library with a simpler API than
+https://github.com/glennrp/libpng/blob/libpng16/png.h, it outperforms
+the reference implementation in common use cases.
+
+libspng can be used by xpra for better speed.
diff --git a/libraries/libspng/libspng.SlackBuild b/libraries/libspng/libspng.SlackBuild
new file mode 100644
index 0000000000..222ef2a1d1
--- /dev/null
+++ b/libraries/libspng/libspng.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libspng
+
+# 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=libspng
+VERSION=${VERSION:-0.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 \
+ -DBUILD_EXAMPLES=OFF \
+ -DSPNG_STATIC=FALSE \
+ -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 \
+ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libspng/libspng.info b/libraries/libspng/libspng.info
new file mode 100644
index 0000000000..e206eba301
--- /dev/null
+++ b/libraries/libspng/libspng.info
@@ -0,0 +1,10 @@
+PRGNAM="libspng"
+VERSION="0.7.4"
+HOMEPAGE="https://libspng.org/download/"
+DOWNLOAD="https://github.com/randy408/libspng/archive/v0.7.4/libspng-0.7.4.tar.gz"
+MD5SUM="5072ee5d309c593080ea5f43e81e61e4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.spng_2023-06-01@lockywolf.net"
diff --git a/libraries/libspng/slack-desc b/libraries/libspng/slack-desc
new file mode 100644
index 0000000000..1b5aaffedc
--- /dev/null
+++ b/libraries/libspng/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------------------------------------------------------|
+libspng: libspng (C library for reading and writing Portable Network PNG)
+libspng:
+libspng: libspng is an alternative to libpng, the projects are separate and
+libspng: the APIs are not compatible.
+libspng:
+libspng: The goal is to provide a fast PNG library with a simpler API than
+libspng: png.h
+libspng:
+libspng: libspng can be used by xpra for better speed.
+libspng:
+libspng:
diff --git a/libraries/libsrtp/README b/libraries/libsrtp/README
index f39ecd52d5..b2717cbf14 100644
--- a/libraries/libsrtp/README
+++ b/libraries/libsrtp/README
@@ -1,8 +1,9 @@
-libSRTP is the Open Source Secure RTP library from Cisco Systems, Inc. RTP is
-the Real-time Transport Protocol, an IETF standard for the transport of
-real-time data such as telephony, audio, and video, defined by RFC 3550.
-Secure RTP (SRTP) is an RTP profile for providing confidentiality to RTP data
-and authentication to the RTP header and payload. SRTP is an IETF Standard,
-defined in RFC 3711, and was developed in the IETF Audio/Video Transport (AVT)
-Working Group. This library supports all of the mandatory features of SRTP,
+libSRTP is the Open Source Secure RTP library from Cisco Systems,
+Inc. RTP is the Real-time Transport Protocol, an IETF standard
+for the transport of real-time data such as telephony, audio, and
+video, defined by RFC 3550. Secure RTP (SRTP) is an RTP profile for
+providing confidentiality to RTP data and authentication to the RTP
+header and payload. SRTP is an IETF Standard, defined in RFC 3711,
+and was developed in the IETF Audio/Video Transport (AVT) Working
+Group. This library supports all of the mandatory features of SRTP,
but not all of the optional features.
diff --git a/libraries/libsrtp/libsrtp.SlackBuild b/libraries/libsrtp/libsrtp.SlackBuild
index 0ec00c4f3a..8263376a3d 100644
--- a/libraries/libsrtp/libsrtp.SlackBuild
+++ b/libraries/libsrtp/libsrtp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsrtp
# Was written by Euan Thoms <euan at potensol dot com>
@@ -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=libsrtp
VERSION=${VERSION:-1.6.0}
-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}
@@ -78,7 +88,6 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
- --enable-openssl \
--disable-debug \
--build=$ARCH-slackware-linux
@@ -94,8 +103,10 @@ chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $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/libraries/libsrtp2/README b/libraries/libsrtp2/README
new file mode 100644
index 0000000000..00f91e57e1
--- /dev/null
+++ b/libraries/libsrtp2/README
@@ -0,0 +1,11 @@
+libsrtp2 is the Open Source Secure RTP library from Cisco Systems,
+Inc. RTP is the Real-time Transport Protocol, an IETF standard
+for the transport of real-time data such as telephony, audio, and
+video, defined by RFC 3550. Secure RTP (SRTP) is an RTP profile for
+providing confidentiality to RTP data and authentication to the RTP
+header and payload. SRTP is an IETF Standard, defined in RFC 3711,
+and was developed in the IETF Audio/Video Transport (AVT) Working
+Group. This library supports all of the mandatory features of SRTP,
+but not all of the optional features.
+
+libsrtp2 does not conflict with libsrtp.
diff --git a/libraries/libsrtp2/libsrtp2.SlackBuild b/libraries/libsrtp2/libsrtp2.SlackBuild
new file mode 100644
index 0000000000..125d0ba948
--- /dev/null
+++ b/libraries/libsrtp2/libsrtp2.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for libsrtp2
+
+# 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=libsrtp2
+TGZNAM=libsrtp
+VERSION=${VERSION:-2.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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="CHANGES LICENSE CODEOWNERS README.md $CWD/$PRGNAM.SlackBuild"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $TGZNAM-$VERSION
+tar xvf $CWD/$TGZNAM-$VERSION.tar.gz
+cd $TGZNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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} \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+
+make shared_library
+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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 0644 $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
diff --git a/libraries/libsrtp2/libsrtp2.info b/libraries/libsrtp2/libsrtp2.info
new file mode 100644
index 0000000000..67a8b3b9a3
--- /dev/null
+++ b/libraries/libsrtp2/libsrtp2.info
@@ -0,0 +1,10 @@
+PRGNAM="libsrtp2"
+VERSION="2.5.0"
+HOMEPAGE="https://github.com/cisco/libsrtp"
+DOWNLOAD="https://github.com/cisco/libsrtp/archive/v2.5.0/libsrtp-2.5.0.tar.gz"
+MD5SUM="740557a07928be1886822ce307736e89"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.srtp2_2023-05-12@lockywolf.net"
diff --git a/libraries/libsrtp2/slack-desc b/libraries/libsrtp2/slack-desc
new file mode 100644
index 0000000000..91bbad4ed2
--- /dev/null
+++ b/libraries/libsrtp2/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------------------------------------------------------|
+libsrtp2: libsrtp2 (Secure RTP libraries version 2)
+libsrtp2:
+libsrtp2: libsrtp2 is the Open Source Secure RTP library from Cisco Systems.
+libsrtp2: RTP is the Real-time Transport Protocol, an IETF standard for the
+libsrtp2: transport of real-time data such as telephony, audio, and video,
+libsrtp2: defined by RFC 3550.
+libsrtp2:
+libsrtp2:
+libsrtp2:
+libsrtp2:
+libsrtp2:
diff --git a/libraries/libstaroffice/libstaroffice.SlackBuild b/libraries/libstaroffice/libstaroffice.SlackBuild
index dbee61e0fe..3e47aa6aef 100644
--- a/libraries/libstaroffice/libstaroffice.SlackBuild
+++ b/libraries/libstaroffice/libstaroffice.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libstaroffice
-# Copyright 2017-2018 Hunter Sezen California, USA
+# Copyright 2017-2018, 2020 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=libstaroffice
-VERSION=${VERSION:-0.0.6}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.0.7}
+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 @@ case "${DOC:-0}" in
*) doc='--with-docs' ;;
esac
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -88,16 +100,18 @@ CXXFLAGS="$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
+find $PKG -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.* CREDITS ChangeLog HACKING INSTALL NEWS README \
+cp -a COPYING.* CREDITS ChangeLog HACKING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libstaroffice/libstaroffice.info b/libraries/libstaroffice/libstaroffice.info
index 0581dc914e..cc925c9aea 100644
--- a/libraries/libstaroffice/libstaroffice.info
+++ b/libraries/libstaroffice/libstaroffice.info
@@ -1,8 +1,8 @@
PRGNAM="libstaroffice"
-VERSION="0.0.6"
+VERSION="0.0.7"
HOMEPAGE="https://github.com/fosnola/libstaroffice"
-DOWNLOAD="https://github.com/fosnola/libstaroffice/releases/download/0.0.6/libstaroffice-0.0.6.tar.xz"
-MD5SUM="3db5ccd618b67df20adc9555fe89560a"
+DOWNLOAD="https://github.com/fosnola/libstaroffice/releases/download/0.0.7/libstaroffice-0.0.7.tar.xz"
+MD5SUM="340ace6dd1c0f95691a7dc554383c404"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libstatgrab/libstatgrab.SlackBuild b/libraries/libstatgrab/libstatgrab.SlackBuild
index f09228cf8d..8df022e9ec 100644
--- a/libraries/libstatgrab/libstatgrab.SlackBuild
+++ b/libraries/libstatgrab/libstatgrab.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libstatgrab
-# Copyright 2012-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2012-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, 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=libstatgrab
-VERSION=${VERSION:-0.92}
+VERSION=${VERSION:-0.92.1}
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}
@@ -82,11 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
-# Parallel building is broken
-# Cut away jobs number from the MAKEFLAGS, just in case...
-MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g")
-
-make -j1
+make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -99,8 +105,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/libraries/libstatgrab/libstatgrab.info b/libraries/libstatgrab/libstatgrab.info
index 535f363bd9..285df9e070 100644
--- a/libraries/libstatgrab/libstatgrab.info
+++ b/libraries/libstatgrab/libstatgrab.info
@@ -1,8 +1,8 @@
PRGNAM="libstatgrab"
-VERSION="0.92"
+VERSION="0.92.1"
HOMEPAGE="https://www.i-scream.org/libstatgrab/"
-DOWNLOAD="https://ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.92.tar.gz"
-MD5SUM="5362b2ddbec54b3901e7d70c22cda249"
+DOWNLOAD="https://ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.92.1.tar.gz"
+MD5SUM="af685494e985229e0ac46365bc0cd50e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libstrophe/libstrophe.SlackBuild b/libraries/libstrophe/libstrophe.SlackBuild
index d4e248b778..1a90da4539 100644
--- a/libraries/libstrophe/libstrophe.SlackBuild
+++ b/libraries/libstrophe/libstrophe.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libstrophe
@@ -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=libstrophe
-VERSION=${VERSION:-0.9.2}
+VERSION=${VERSION:-0.13.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}
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog *LICENSE* 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/libraries/libstrophe/libstrophe.info b/libraries/libstrophe/libstrophe.info
index a4183d0935..8ee88b95fe 100644
--- a/libraries/libstrophe/libstrophe.info
+++ b/libraries/libstrophe/libstrophe.info
@@ -1,8 +1,8 @@
PRGNAM="libstrophe"
-VERSION="0.9.2"
+VERSION="0.13.1"
HOMEPAGE="http://strophe.im/libstrophe/"
-DOWNLOAD="https://github.com/strophe/libstrophe/archive/0.9.2/libstrophe-0.9.2.tar.gz"
-MD5SUM="6ac3b0af98fd96a2d63be45de20ba4cf"
+DOWNLOAD="https://github.com/strophe/libstrophe/archive/0.13.1/libstrophe-0.13.1.tar.gz"
+MD5SUM="90764f79796d9242ad4c0966625cf9fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libsuinput/doinst.sh b/libraries/libsuinput/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/libsuinput/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/libraries/libsuinput/libsuinput.SlackBuild b/libraries/libsuinput/libsuinput.SlackBuild
index 8b73ec5c55..9d31dff925 100644
--- a/libraries/libsuinput/libsuinput.SlackBuild
+++ b/libraries/libsuinput/libsuinput.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsuinput
@@ -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=libsuinput
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
- 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"
@@ -91,9 +101,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING* INSTALL 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/libraries/libsunpinyin/README b/libraries/libsunpinyin/README
deleted file mode 100644
index e52b5dc1cc..0000000000
--- a/libraries/libsunpinyin/README
+++ /dev/null
@@ -1,5 +0,0 @@
-SunPinyin is a statistical language model based Chinese input method,
-which was firstly developed by Sun Beijing Globalization team.
-
-This is the base library for ibus-sunpinyin, scim-sunpinyin and
-xsunpinyin.
diff --git a/libraries/libsunpinyin/gcc47.patch b/libraries/libsunpinyin/gcc47.patch
deleted file mode 100644
index d3db5c1d99..0000000000
--- a/libraries/libsunpinyin/gcc47.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur sunpinyin-2.0.3.orig/src/ime-core/ic_history.cpp sunpinyin-2.0.3/src/ime-core/ic_history.cpp
---- sunpinyin-2.0.3.orig/src/ime-core/ic_history.cpp 2011-02-18 04:39:52.000000000 +0100
-+++ sunpinyin-2.0.3/src/ime-core/ic_history.cpp 2012-09-18 05:32:14.687001314 +0200
-@@ -41,6 +41,7 @@
-
- #include <fcntl.h>
- #include <stdio.h>
-+#include <unistd.h>
- #include <stdint.h>
- #include <cassert>
- #include <sys/stat.h>
-diff -Naur sunpinyin-2.0.3.orig/src/lexicon/genPYT.cpp sunpinyin-2.0.3/src/lexicon/genPYT.cpp
---- sunpinyin-2.0.3.orig/src/lexicon/genPYT.cpp 2011-02-18 04:39:52.000000000 +0100
-+++ sunpinyin-2.0.3/src/lexicon/genPYT.cpp 2012-09-18 05:29:24.570735820 +0200
-@@ -37,6 +37,7 @@
-
- #include <locale.h>
- #include <stdlib.h>
-+#include <unistd.h>
-
- #include "pytrie.h"
- #include "pytrie_gen.h"
diff --git a/libraries/libsunpinyin/libsunpinyin.SlackBuild b/libraries/libsunpinyin/libsunpinyin.SlackBuild
deleted file mode 100644
index 024c7de01b..0000000000
--- a/libraries/libsunpinyin/libsunpinyin.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sunpinyin
-
-# Written by Grissiom <chaos.proton@gmail.com>
-
-PRGNAM=libsunpinyin
-VERSION=${VERSION:-2.0.3}
-LMVER=${LMVER:-20120212}
-DIVER=${DIVER:-20120830}
-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 sunpinyin-$VERSION
-tar xvf $CWD/sunpinyin-$VERSION.tar.gz
-cd sunpinyin-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 {} \;
-
-# Fix building with gcc-4.7.x
-patch -p1 < $CWD/gcc47.patch
-
-# The dictionary and language model files are renamed with dates and the olds deleted
-# Fix this so it won't break build
-sed -i \
- -e "s|open-gram.*|ponce.cc/slackware/sources/repo/open-gram|" \
- -e "s|arpa\.tar|arpa-${LMVER}.tar|" \
- -e "s|utf8\.tar|utf8-${DIVER}.tar|" \
- raw/Makefile
-cp $CWD/{lm_sc.t3g.arpa-${LMVER},dict.utf8-${DIVER}}.tar.bz2 raw/ || true
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-scons --prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX --libdatadir=/usr/lib$LIBDIRSUFFIX
-scons install --prefix=/usr --install-sandbox=$PKG --libdir=/usr/lib$LIBDIRSUFFIX --libdatadir=/usr/lib$LIBDIRSUFFIX
-
-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 COPYING LGPL.LICENSE NEWS OPENSOLARIS.LICENSE 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/libraries/libsunpinyin/libsunpinyin.info b/libraries/libsunpinyin/libsunpinyin.info
deleted file mode 100644
index 2048e37eb0..0000000000
--- a/libraries/libsunpinyin/libsunpinyin.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="libsunpinyin"
-VERSION="2.0.3"
-HOMEPAGE="https://github.com/sunpinyin/sunpinyin"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/sunpinyin/sunpinyin-2.0.3.tar.gz \
- http://ponce.cc/slackware/sources/repo/open-gram/lm_sc.t3g.arpa-20120212.tar.bz2 \
- http://ponce.cc/slackware/sources/repo/open-gram/dict.utf8-20120830.tar.bz2"
-MD5SUM="bc1cd4d7d48a73276dfe4c9f5a434cc7 \
- 31dd2667d9a5cae9d2ecdacf2201ab13 \
- 52b9a47861bef707f65b682d52e8117f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Grissiom"
-EMAIL="chaos.proton@gmail.com"
diff --git a/libraries/libsunpinyin/slack-desc b/libraries/libsunpinyin/slack-desc
deleted file mode 100644
index 3d85749f7a..0000000000
--- a/libraries/libsunpinyin/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------------------------------------------------------|
-libsunpinyin: libsunpinyin (Chinese input method library)
-libsunpinyin:
-libsunpinyin: libSunPinyin is a statistical language model based Chinese input
-libsunpinyin: method library. which was firstly developed by Sun Beijing
-libsunpinyin: Globalization team.
-libsunpinyin:
-libsunpinyin: Homepage: https://github.com/sunpinyin/sunpinyin
-libsunpinyin:
-libsunpinyin:
-libsunpinyin:
-libsunpinyin:
diff --git a/libraries/libsvm/Makefile.patch b/libraries/libsvm/Makefile.patch
new file mode 100644
index 0000000000..ec0257723f
--- /dev/null
+++ b/libraries/libsvm/Makefile.patch
@@ -0,0 +1,93 @@
+--- ./Makefile 2023-07-08 16:08:14.000000000 +0200
++++ ./Makefile.fix 2024-03-10 09:21:50.249371988 +0100
+@@ -1,7 +1,13 @@
+ CXX ?= g++
+ CFLAGS = -Wall -Wconversion -O3 -fPIC
+ SHVER = 3
++export SHVER
+ OS = $(shell uname)
++DOT_LIBS = .
++LIBS = -L${DOT_LIBS} -lsvm
++export LIBSVM_VER
++PREFIXDIR ?= /usr
++export PREFIXDIR
+ ifeq ($(OS),Darwin)
+ SHARED_LIB_FLAG = -dynamiclib -Wl,-install_name,libsvm.so.$(SHVER)
+ else
+@@ -9,20 +16,69 @@
+ endif
+
+ # Uncomment the following lines to enable parallelization with OpenMP
+-# CFLAGS += -fopenmp
+-# SHARED_LIB_FLAG += -fopenmp
++CFLAGS += -fopenmp
++SHARED_LIB_FLAG += -fopenmp
+
+-all: svm-train svm-predict svm-scale
++LIBDIR ?= ${PREFIXDIR}/lib
++export LIBDIR
+
+-lib: svm.o
++DATADIR?=${PREFIXDIR}/share
++export DATADIR
++
++BINDIR?=${PREFIXDIR}/bin
++export BINDIR
++
++INCLUDEDIR_INSTALL:=${DESTDIR}/${PREFIXDIR}/include
++export INCLUDEDIR_INSTALL
++
++LIBDIR_INSTALL:=${DESTDIR}/${LIBDIR}
++export LIBDIR_INSTALL
++
++DATADIR_INSTALL:=${DESTDIR}/${DATADIR}
++export DATA_INSTALL
++
++BINDIR_INSTALL:=${DESTDIR}/${BINDIR}
++export BINDIR_INSTALL
++
++all: lib svm-train svm-predict svm-scale svm-python svm-toy-qt
++
++lib: libsvm.so.$(SHVER) libsvm.so
++
++libsvm.so: libsvm.so.$(SHVER)
++ ln -sf libsvm.so.$(SHVER) libsvm.so
++
++libsvm.so.$(SHVER): svm.o
+ $(CXX) $(SHARED_LIB_FLAG) svm.o -o libsvm.so.$(SHVER)
+ svm-predict: svm-predict.c svm.o
+- $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm
++ $(CXX) $(CFLAGS) svm-predict.c $(LIBS) -o svm-predict -lm
+ svm-train: svm-train.c svm.o
+- $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm
++ $(CXX) $(CFLAGS) svm-train.c $(LIBS) -o svm-train -lm
+ svm-scale: svm-scale.c
+ $(CXX) $(CFLAGS) svm-scale.c -o svm-scale
+ svm.o: svm.cpp svm.h
+ $(CXX) $(CFLAGS) -c svm.cpp
+ clean:
+- rm -f *~ svm.o svm-train svm-predict svm-scale libsvm.so.$(SHVER)
++ rm -f *~ svm.o svm-train svm-predict svm-scale svm-toy/qt/svm-toy-qt
++ ${MAKE} -C python clean
++ ${MAKE} -C java clean
++svm-python:
++ ${MAKE} -C python
++
++svm-toy-qt:
++ ${MAKE} -C svm-toy/qt
++
++install: all
++ mkdir -p ${BINDIR_INSTALL}
++ install -m 755 svm-train ${BINDIR_INSTALL}
++ install -m 755 svm-predict ${BINDIR_INSTALL}
++ install -m 755 svm-scale ${BINDIR_INSTALL}
++ mkdir -p ${LIBDIR_INSTALL}
++ install -m 755 libsvm.so.$(SHVER) ${LIBDIR_INSTALL}
++# install package libsvm-devel
++ mkdir -p ${INCLUDEDIR_INSTALL}/libsvm
++ install -m 644 svm.h ${INCLUDEDIR_INSTALL}/libsvm
++# install package svm-toy
++ install -m 755 svm-toy/qt/svm-toy-qt ${BINDIR_INSTALL}
++# install examples
++ mkdir -p ${DATADIR_INSTALL}/libsvm/examples
++ install -m 644 heart_scale ${DATADIR_INSTALL}/libsvm/examples
diff --git a/libraries/libsvm/README b/libraries/libsvm/README
new file mode 100644
index 0000000000..ccab298e53
--- /dev/null
+++ b/libraries/libsvm/README
@@ -0,0 +1,13 @@
+LIBSVM is an integrated machine learning software for Support Vector
+Machines (SVM).
+This library solves C-SVM classification, nu-SVM classification,
+one-class-SVM, epsilon-SVM regression, and nu-SVM regression. It also
+provides an automatic model selection tool for C-SVM classification.
+
+The script build and install by default also Python bindings to LIBSVM.
+if you are not interested you can disable this option launching the
+slackbuild script as following:
+
+ PYTHON=no ./libsvm.SlackBuild
+
+Dependency python3-scipy is not required if you disable this option.
diff --git a/libraries/libsvm/doinst.sh b/libraries/libsvm/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/libraries/libsvm/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/libraries/libsvm/libsvm.SlackBuild b/libraries/libsvm/libsvm.SlackBuild
new file mode 100644
index 0000000000..af98763419
--- /dev/null
+++ b/libraries/libsvm/libsvm.SlackBuild
@@ -0,0 +1,137 @@
+#!/bin/bash
+
+# Slackware build script for libsvm
+
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libsvm
+VERSION=${VERSION:-3.32}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCVER=${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
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ LIBDIRSUFFIX="64"
+else
+ LIBDIRSUFFIX=""
+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
+cp -a $CWD/svm-toy.png .
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Patches extracted and adapted from https://src.fedoraproject.org/rpms/libsvm/tree/f38
+# Thanks to Fedora Packages maintainers
+patch -p1 < $CWD/libsvm.svm-toy-qt5.patch
+patch -p1 < $CWD/Makefile.patch
+
+# Fix shared library path for 64bit architecture
+if [ "$LIBDIRSUFFIX" = "64" ]; then
+ sed -i Makefile -e "s/LIBDIR}/LIBDIR}64/g"
+fi
+
+make
+make install DESTDIR=$PKG
+
+# Build and install Python bindings
+if [ "${PYTHON:-yes}" = "yes" ]; then
+ cd python
+ python3 setup.py install --root=$PKG
+ cd ..
+fi
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# Symlink to shared library might be useful
+cd $PKG/usr/lib${LIBDIRSUFFIX}
+ln -s libsvm.so.3 libsvm.so
+cd $TMP/$PRGNAM-$SRCVER
+
+find $PKG -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 the application icon and desktop entry
+mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps
+cp -a svm-toy.png $PKG/usr/share/icons/hicolor/48x48/apps/svm-toy.png
+
+mkdir -p $PKG/usr/share/applications
+cat << EOF > $PKG/usr/share/applications/svm-toy-qt.desktop
+[Desktop Entry]
+Type=Application
+Name=svm-toy-qt
+GenericName=svm-toy QT version
+Comment=A simple application to demonstrate libsvm
+Exec=svm-toy-qt
+Icon=/usr/share/icons/hicolor/48x48/apps/svm-toy.png
+Terminal=false
+Categories=Education;Science;Math;DataVisualization;Qt
+StartupNotify=true
+
+EOF
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYRIGHT FAQ.html 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/libraries/libsvm/libsvm.info b/libraries/libsvm/libsvm.info
new file mode 100644
index 0000000000..92eb6fa97d
--- /dev/null
+++ b/libraries/libsvm/libsvm.info
@@ -0,0 +1,10 @@
+PRGNAM="libsvm"
+VERSION="3.32"
+HOMEPAGE="https://www.csie.ntu.edu.tw/~cjlin/libsvm/"
+DOWNLOAD="https://github.com/cjlin1/libsvm/archive/v332/libsvm-332.tar.gz"
+MD5SUM="266cc1a17fe7fe9411a3191de6a35c1f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-scipy"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/libsvm/libsvm.svm-toy-qt5.patch b/libraries/libsvm/libsvm.svm-toy-qt5.patch
new file mode 100644
index 0000000000..69e1e3c35b
--- /dev/null
+++ b/libraries/libsvm/libsvm.svm-toy-qt5.patch
@@ -0,0 +1,64 @@
+--- ./svm-toy/qt/Makefile
++++ ./svm-toy/qt/Makefile
+@@ -1,13 +1,14 @@
+ # use ``export QT_SELECT=qt5'' in a command window for using qt5
+ # may need to adjust the path of header files
+ CXX? = g++
+-INCLUDE = /usr/include/x86_64-linux-gnu/qt5
+-CFLAGS = -Wall -O3 -I$(INCLUDE) -I$(INCLUDE)/QtWidgets -I$(INCLUDE)/QtGui -I$(INCLUDE)/QtCore -fPIC -std=c++11
+-LIB = -lQt5Widgets -lQt5Gui -lQt5Core
+-MOC = /usr/bin/moc
++INCLUDE = /usr/include/qt5
++CPP_STD ?= c++11
++CFLAGS = ${RPM_CFLAGS} -I$(INCLUDE) -I$(INCLUDE)/QtWidgets -I$(INCLUDE)/QtGui -I$(INCLUDE)/QtCore -fPIC -std=${CPP_STD}
++LIB = -fopenmp -lQt5Widgets -lQt5Gui -lQt5Core
++MOC ?= /usr/bin/moc-qt5
+
+ svm-toy: svm-toy.cpp svm-toy.moc ../../svm.o
+- $(CXX) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy $(LIB)
++ $(CXX) $(CFLAGS) svm-toy.cpp ../../svm.o -o svm-toy-qt $(LIB)
+
+ svm-toy.moc: svm-toy.cpp
+ $(MOC) svm-toy.cpp -o svm-toy.moc
+@@ -16,4 +17,4 @@ svm-toy.moc: svm-toy.cpp
+ make -C ../.. svm.o
+
+ clean:
+- rm -f *~ svm-toy svm-toy.moc ../../svm.o
++ rm -f *~ svm-toy-qt svm-toy.moc ../../svm.o
+
+--- ./svm-toy/qt/svm-toy.cpp
++++ ./svm-toy/qt/svm-toy.cpp
+@@ -326,12 +326,12 @@ private slots:
+ double x,y;
+ if(sscanf(buf,"%d%*d:%lf%*d:%lf",&v,&x,&y)==3)
+ {
+- point p = {x,y,v};
++ point p = {x,y,(signed char) v};
+ point_list.push_back(p);
+ }
+ else if(sscanf(buf,"%lf%*d:%lf",&y,&x)==2)
+ {
+- point p = {x,y,current_value};
++ point p = {x,y,(signed char) current_value};
+ point_list.push_back(p);
+ }
+ else
+@@ -375,7 +375,7 @@ SvmToyWindow::SvmToyWindow()
+ SLOT(button_run_clicked()));
+
+ // don't blank the window before repainting
+- setAttribute(Qt::WA_NoBackground);
++ setAttribute(Qt::WA_OpaquePaintEvent);
+
+ icon1 = QPixmap(4,4);
+ icon2 = QPixmap(4,4);
+@@ -413,7 +413,7 @@ SvmToyWindow::~SvmToyWindow()
+
+ void SvmToyWindow::mousePressEvent( QMouseEvent* event )
+ {
+- point p = {(double)event->x()/XLEN, (double)event->y()/YLEN, current_value};
++ point p = {(double)event->x()/XLEN, (double)event->y()/YLEN,(signed char) current_value};
+ point_list.push_back(p);
+ draw_point(p);
+ }
diff --git a/libraries/libsvm/slack-desc b/libraries/libsvm/slack-desc
new file mode 100644
index 0000000000..0b08010184
--- /dev/null
+++ b/libraries/libsvm/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------------------------------------------------------|
+libsvm: libsvm (library for Support Vector Machines)
+libsvm:
+libsvm: LIBSVM is a simple, easy-to-use, and efficient machine learning
+libsvm: software for SVM (Support-Vector Machines) classification and
+libsvm: regression.
+libsvm:
+libsvm: Home page: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
+libsvm:
+libsvm:
+libsvm:
+libsvm:
diff --git a/libraries/libsvm/svm-toy.png b/libraries/libsvm/svm-toy.png
new file mode 100644
index 0000000000..5e65444cb7
--- /dev/null
+++ b/libraries/libsvm/svm-toy.png
Binary files differ
diff --git a/libraries/libsynce/README b/libraries/libsynce/README
index ef82c4dda6..7040545835 100644
--- a/libraries/libsynce/README
+++ b/libraries/libsynce/README
@@ -1,7 +1,7 @@
-The purpose of the SynCE project is to provide a means of communication with
-a Windows Mobile, or Windows CE, device from a computer running Linux,
-FreeBSD or a similar operating system.
+The purpose of the SynCE project is to provide a means of
+communication with a Windows Mobile, or Windows CE, device from a
+computer running Linux, FreeBSD or a similar operating system.
-Libsynce is a common library for various SynCE project tools, containing
-various utility and helper functions. It is required to compile (at least)
-librapi and librra of the SynCE project.
+Libsynce is a common library for various SynCE project tools,
+containing various utility and helper functions. It is required to
+compile (at least) librapi and librra of the SynCE project.
diff --git a/libraries/libsynce/libsynce.SlackBuild b/libraries/libsynce/libsynce.SlackBuild
index e3a506aaf4..4bcae02676 100644
--- a/libraries/libsynce/libsynce.SlackBuild
+++ b/libraries/libsynce/libsynce.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libsynce
# Written by redtricycle (redtricycle@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libsynce
VERSION=${VERSION:-0.13}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -77,8 +87,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libtar/libtar.SlackBuild b/libraries/libtar/libtar.SlackBuild
index 10037bdae2..14f40134f7 100644
--- a/libraries/libtar/libtar.SlackBuild
+++ b/libraries/libtar/libtar.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtar
@@ -28,22 +28,34 @@
# 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.
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install shared lib with +x permission.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libtar
VERSION=${VERSION:-1.2.20}
SRCVERSION=${SRCVERSION:-0907a90}
-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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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,9 +85,9 @@ cd $PRGNAM-$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 {} +
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
@@ -92,6 +104,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+chmod +x $PKG/usr/lib*/lib*.so.*
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -103,8 +117,10 @@ cp COPYRIGHT ChangeLog-1.0.x TODO ChangeLog 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/libraries/libtecla/README b/libraries/libtecla/README
index 861f45758b..bcc22d90ce 100644
--- a/libraries/libtecla/README
+++ b/libraries/libtecla/README
@@ -18,4 +18,4 @@ can easily be asked to look up and complete other types of files in
any list of directories.
Note that special care has been taken to allow the use of this
-library in threaded programs. \ No newline at end of file
+library in threaded programs.
diff --git a/libraries/libtecla/libtecla.SlackBuild b/libraries/libtecla/libtecla.SlackBuild
index 4f533522e3..c8d986e2f1 100644
--- a/libraries/libtecla/libtecla.SlackBuild
+++ b/libraries/libtecla/libtecla.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtecla
@@ -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=libtecla
VERSION=${VERSION:-1.6.3}
-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}
@@ -96,8 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.TERMS $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/libraries/libtelnet/libtelnet.SlackBuild b/libraries/libtelnet/libtelnet.SlackBuild
index c2de02e457..4b9023bb46 100644
--- a/libraries/libtelnet/libtelnet.SlackBuild
+++ b/libraries/libtelnet/libtelnet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtelnet
@@ -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=libtelnet
VERSION=${VERSION:-0.23}
-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}
@@ -88,8 +98,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md COPYING ChangeLog NEWS AUTHORS doc/html $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/libraries/libtermkey/README b/libraries/libtermkey/README
index 6fb3b6a0d5..a876141f4e 100644
--- a/libraries/libtermkey/README
+++ b/libraries/libtermkey/README
@@ -1,3 +1,4 @@
-This library allows easy processing of keyboard entry from terminal-based
-programs. It handles all the necessary logic to recognise special keys, UTF-8
-combining, and so on, with a simple interface.
+This library allows easy processing of keyboard entry from
+terminal-based programs. It handles all the necessary logic to
+recognise special keys, UTF-8 combining, and so on, with a simple
+interface.
diff --git a/libraries/libtermkey/libtermkey.SlackBuild b/libraries/libtermkey/libtermkey.SlackBuild
index 15da166acc..680221f709 100644
--- a/libraries/libtermkey/libtermkey.SlackBuild
+++ b/libraries/libtermkey/libtermkey.SlackBuild
@@ -1,7 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtermkey
+# Copyright 2024 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
# Copyright 2015-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -22,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=libtermkey
VERSION=${VERSION:-0.22}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -75,13 +84,12 @@ 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 \
- LICENSE \
- $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/libraries/libtermkey/libtermkey.info b/libraries/libtermkey/libtermkey.info
index 32156101c3..e610ba597b 100644
--- a/libraries/libtermkey/libtermkey.info
+++ b/libraries/libtermkey/libtermkey.info
@@ -6,5 +6,5 @@ MD5SUM="08bf514d59660391c3a21b3977a16c8c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="unibilium"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/libthai/README b/libraries/libthai/README
index c4ac7f8112..dda66eaab2 100644
--- a/libraries/libthai/README
+++ b/libraries/libthai/README
@@ -1,6 +1,6 @@
-LibThai is a set of Thai language support routines aimed to ease developers’
-tasks to incorporate Thai language support in their applications. It includes
-important Thai-specific functions e.g. word breaking, input and output methods
-as well as basic character and string supports. LibThai is an Open Source and
-collaborative effort initiated by Thai Linux Working Group and opened for all
-contributors.
+LibThai is a set of Thai language support routines aimed to ease
+developers' tasks to incorporate Thai language support in their
+applications. It includes important Thai-specific functions e.g. word
+breaking, input and output methods as well as basic character and
+string supports. LibThai is an Open Source and collaborative effort
+initiated by Thai Linux Working Group and opened for all contributors.
diff --git a/libraries/libthai/libthai.SlackBuild b/libraries/libthai/libthai.SlackBuild
index cbf252e804..782114b244 100644
--- a/libraries/libthai/libthai.SlackBuild
+++ b/libraries/libthai/libthai.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libthai
@@ -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=libthai
VERSION=${VERSION:-0.1.28}
-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}
@@ -91,8 +101,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/libraries/libticables2/libticables2.SlackBuild b/libraries/libticables2/libticables2.SlackBuild
index d0d64b6a89..f7e9129092 100644
--- a/libraries/libticables2/libticables2.SlackBuild
+++ b/libraries/libticables2/libticables2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for libticables2
@@ -20,26 +20,37 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip library.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libticables2
VERSION=${VERSION:-1.3.4}
-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"
@@ -63,9 +74,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 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" \
@@ -79,17 +90,19 @@ CXXFLAGS="$SLKCFLAGS" \
make
-DESTDIR=$PKG make install
+DESTDIR=$PKG make install-strip
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CONFIG ChangeLog COPYING README docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -name "Makefile" -exec rm {} \;
-find $PKG/usr/doc -type f -exec chmod 644 {} \;
+find $PKG/usr/doc -name "Makefile" -exec rm {} \+
+find $PKG/usr/doc -type f -exec chmod 644 {} \+
+
+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/libraries/libticalcs2/libticalcs2.SlackBuild b/libraries/libticalcs2/libticalcs2.SlackBuild
index 8367f2594e..f9664c7fe6 100644
--- a/libraries/libticalcs2/libticalcs2.SlackBuild
+++ b/libraries/libticalcs2/libticalcs2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for libticalcs2
@@ -20,26 +20,38 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip shared library.
+# - remove empty/useless docs.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libticalcs2
VERSION=${VERSION:-1.1.8}
-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"
@@ -63,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 \
+ -exec chmod 755 {} \+ -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" \
@@ -77,17 +89,19 @@ CXXFLAGS="$SLKCFLAGS" \
make
-DESTDIR=$PKG make install
+DESTDIR=$PKG make install-strip
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README docs \
+cp -a AUTHORS COPYING ChangeLog README docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -exec rm {} \;
find $PKG/usr/doc -type f -exec chmod 644 {} \;
+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/libraries/libticonv/README b/libraries/libticonv/README
index 722282ed11..0047ea31ab 100644
--- a/libraries/libticonv/README
+++ b/libraries/libticonv/README
@@ -1,5 +1,5 @@
libticonv is part of the TiLP (Ti Linking Project.)
-The ticonv library is a library which handles the various TI charsets and
-conversion to/from UTF-8/16 through a set of functions which constitutes
-a common API.
+The ticonv library is a library which handles the various TI charsets
+and conversion to/from UTF-8/16 through a set of functions which
+constitutes a common API.
diff --git a/libraries/libticonv/libticonv.SlackBuild b/libraries/libticonv/libticonv.SlackBuild
index 1d0f43fb51..473b761561 100644
--- a/libraries/libticonv/libticonv.SlackBuild
+++ b/libraries/libticonv/libticonv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for libticonv
@@ -20,26 +20,38 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip library.
+# - i486 => i586.
+# - remove useless ABOUT-NLS and INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libticonv
VERSION=${VERSION:-1.1.4}
-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"
@@ -63,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 \
+ -exec chmod 755 {} \+ -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" \
@@ -77,17 +89,19 @@ CXXFLAGS="$SLKCFLAGS" \
make
-DESTDIR=$PKG make install
+DESTDIR=$PKG make install-strip
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README docs \
+cp -a AUTHORS COPYING ChangeLog README docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -name "Makefile" -exec rm {} \;
-find $PKG/usr/doc -type f -exec chmod 644 {} \;
+find $PKG/usr/doc -name "Makefile" -exec rm {} \+
+find $PKG/usr/doc -type f -exec chmod 644 {} \+
+
+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/libraries/libtifiles2/libtifiles2.SlackBuild b/libraries/libtifiles2/libtifiles2.SlackBuild
index c283791e88..8b6695ad1b 100644
--- a/libraries/libtifiles2/libtifiles2.SlackBuild
+++ b/libraries/libtifiles2/libtifiles2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackbuild for libtifiles2
@@ -20,26 +20,35 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libtifiles2
VERSION=${VERSION:-1.1.6}
-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"
@@ -63,9 +72,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 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" \
@@ -77,17 +86,19 @@ CXXFLAGS="$SLKCFLAGS" \
make
-DESTDIR=$PKG make install
+DESTDIR=$PKG make install-strip
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README docs \
+cp -a AUTHORS COPYING ChangeLog README docs \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile" -exec rm {} \;
find $PKG/usr/doc -type f -exec chmod 644 {} \;
+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/libraries/libtins/libtins.SlackBuild b/libraries/libtins/libtins.SlackBuild
index 52d6c7346e..cf411a3d05 100644
--- a/libraries/libtins/libtins.SlackBuild
+++ b/libraries/libtins/libtins.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LIBTINS
@@ -23,11 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 07/Apr/2018 * First version
+# 20230530 bkw: install cmake support stuff to (hopefully) the right place.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libtins
VERSION=${VERSION:-4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -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}
@@ -67,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 {} +
# Fixup for hardcoded libdir
patch -p0 < $CWD/libdir.patch
@@ -84,11 +92,15 @@ cd build
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
+# 20230530 bkw: this stuff is installed to the wrong place, and
+# one file has /tmp/SBo hardcoded in it.
+mkdir -p $PKG/usr/share
+mv $PKG/usr/CMake $PKG/usr/share/cmake
+sed -i "s,$TMP/$PRGNAM-$VERSION/include,/usr/include/tins," \
+ $PKG/usr/share/cmake/libtinsConfig.cmake
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat CHANGES.md > $PKG/usr/doc/$PRGNAM-$VERSION/CHANGES.md
@@ -102,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/libraries/libtomcrypt/libtomcrypt.SlackBuild b/libraries/libtomcrypt/libtomcrypt.SlackBuild
index fc0b11d03a..d6a8e0f51e 100644
--- a/libraries/libtomcrypt/libtomcrypt.SlackBuild
+++ b/libraries/libtomcrypt/libtomcrypt.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtomcrypt
+# Copyright 2023 Steven Voges <Oregon, USA>
# Copyright 2017 Andrzej Telszewski, Banie
# All rights reserved.
#
@@ -23,14 +24,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Multiple ideas shamelessly stolen from libtommath.SlackBuild
-# by B. Watson (yalhcru@gmail.com).
+# by B. Watson (urchlay@slackware.uk).
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libtomcrypt
-VERSION=${VERSION:-1.17}
+VERSION=${VERSION:-1.18.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-SRCNAM=crypt
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,22 +42,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}
+# Use upstream CFLAGS.
if [ "$ARCH" = "i586" ]; then
- # Use upstream CFLAGS.
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- # Use upstream CFLAGS.
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- # Use upstream CFLAGS.
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- # Use upstream CFLAGS.
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -65,7 +75,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -74,30 +84,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 {} \;
-# Note: -DTFM_DESC is left out, since it requires TomsFastMath.
-# Note: -ltfm is left out, since it requires TomsFastMath.
-CFLAGS="-DGMP_DESC -DLTM_DESC" \
-EXTRALIBS="-lgmp -ltommath" \
-make -f makefile.shared
+# -DTFM_DESC and -DUSE_TFM are left out, since it requires TomsFastMath.
+make -f makefile.shared \
+ CFLAGS="$SLCKFLAGS \
+ -DGMP_DESC \
+ -DLTM_DESC \
+ -DUSE_GMP \
+ -DUSE_LTM"
make -f makefile.shared install \
+ PREFIX=/usr \
LIBPATH=/usr/lib$LIBDIRSUFFIX \
- INSTALL_USER=root \
- INSTALL_GROUP=root \
+ INCPATH=/usr/include \
+ DATAPATH=/usr/data \
+ BINPATH=/usr/bin \
DESTDIR=$PKG
-chmod 0644 $PKG/usr/include/*.h
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.a
-strip --strip-unneeded $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.*
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+chmod 0755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.*
+
+find $PKG -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/crypt.pdf notes changes LICENSE README TODO \
+cp -a \
+ demos doc/crypt.tex notes LICENSE README.md changes \
$PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/doc/$PRGNAM-$VERSION/demos/test
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/libraries/libtomcrypt/libtomcrypt.info b/libraries/libtomcrypt/libtomcrypt.info
index 83064b9cd8..45edf734f7 100644
--- a/libraries/libtomcrypt/libtomcrypt.info
+++ b/libraries/libtomcrypt/libtomcrypt.info
@@ -1,10 +1,10 @@
PRGNAM="libtomcrypt"
-VERSION="1.17"
-HOMEPAGE="https://www.libtom.net/LibTomCrypt/"
-DOWNLOAD="https://github.com/libtom/libtomcrypt/releases/download/1.17/crypt-1.17.tar.bz2"
-MD5SUM="cea7e5347979909f458fe7ebb5a44f85"
+VERSION="1.18.2"
+HOMEPAGE="https://www.libtom.net/LibTomCrypt"
+DOWNLOAD="https://github.com/libtom/libtomcrypt/archive/v1.18.2/libtomcrypt-1.18.2.tar.gz"
+MD5SUM="f1df9351e2944d2ecb76166516a7ca1f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libtommath"
-MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/libtomcrypt/slack-desc b/libraries/libtomcrypt/slack-desc
index dbf994307d..f1e79d1bca 100644
--- a/libraries/libtomcrypt/slack-desc
+++ b/libraries/libtomcrypt/slack-desc
@@ -14,6 +14,6 @@ libtomcrypt: array of well known published block ciphers, one-way hash
libtomcrypt: functions, chaining modes, pseudo-random number generators,
libtomcrypt: public key cryptography and a plethora of other routines.
libtomcrypt:
-libtomcrypt: Homepage: https://www.libtom.net/LibTomCrypt/
+libtomcrypt: Homepage: https://www.libtom.net/LibTomCrypt
libtomcrypt:
libtomcrypt:
diff --git a/libraries/libtommath/libtommath.SlackBuild b/libraries/libtommath/libtommath.SlackBuild
index 20385ad3bb..e0ce66b0dd 100644
--- a/libraries/libtommath/libtommath.SlackBuild
+++ b/libraries/libtommath/libtommath.SlackBuild
@@ -1,19 +1,24 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtommath
-# 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: Updated for v1.2.1.
+# 20191201 bkw: Updated for v1.2.0.
# 20170903 bkw: Updated for v1.0.1. Changes are incompatible with
# libtommath-1.0, use the previous version of this script if you need
# 1.0 for some odd reason.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libtommath
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,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}
@@ -46,11 +55,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$SRCNAM-$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 {} \+
# hardcoded lib paths suck
sed -i "s,/lib\$,&$LIBDIRSUFFIX," $PRGNAM.pc.in
@@ -63,7 +69,7 @@ make -f makefile.shared install \
DESTDIR=$PKG
chmod 0644 $PKG/usr/include/*
-rm $PKG/usr/lib$LIBDIRSUFFIX/*.a
+rm -rf $PKG/usr/lib$LIBDIRSUFFIX/*.a $PKG/usr/lib$LIBDIRSUFFIX/*.la
strip $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.*
chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*.*
@@ -77,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/libraries/libtommath/libtommath.info b/libraries/libtommath/libtommath.info
index 15bdd9189e..dc3dd8ff89 100644
--- a/libraries/libtommath/libtommath.info
+++ b/libraries/libtommath/libtommath.info
@@ -1,10 +1,10 @@
PRGNAM="libtommath"
-VERSION="1.0.1"
+VERSION="1.2.1"
HOMEPAGE="http://libtom.net/"
-DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.0.1/ltm-1.0.1.tar.xz"
-MD5SUM="72f4dd9dcde8338e5e3507f7bbea7582"
+DOWNLOAD="https://github.com/libtom/libtommath/releases/download/v1.2.1/ltm-1.2.1.tar.xz"
+MD5SUM="2dca554c4f5b7ba735fa072f5c97bb94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/libtorch-cxx11-abi-shared-with-deps/README b/libraries/libtorch-cxx11-abi-shared-with-deps/README
new file mode 100644
index 0000000000..3afc98cdc6
--- /dev/null
+++ b/libraries/libtorch-cxx11-abi-shared-with-deps/README
@@ -0,0 +1,4 @@
+Tensors and Dynamic neural networks in Python with strong GPU
+acceleration.
+
+These are precompiled libraries for x86_64 only.
diff --git a/libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.SlackBuild b/libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.SlackBuild
new file mode 100644
index 0000000000..b305f42544
--- /dev/null
+++ b/libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for libtorch-cxx11-abi-shared-with-deps
+
+# Copyright 2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libtorch-cxx11-abi-shared-with-deps
+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=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 libtorch
+unzip $CWD/$PRGNAM-$VERSION+cpu.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 {} +
+
+mkdir -p $PKG/opt/
+mv libtorch $PKG/opt
+rmdir $PKG/opt/libtorch/bin
+chmod 755 $PKG/opt/libtorch/lib/libgomp-52f2fd74.so.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
+
+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/libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.info b/libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.info
new file mode 100644
index 0000000000..a51b573ba4
--- /dev/null
+++ b/libraries/libtorch-cxx11-abi-shared-with-deps/libtorch-cxx11-abi-shared-with-deps.info
@@ -0,0 +1,10 @@
+PRGNAM="libtorch-cxx11-abi-shared-with-deps"
+VERSION="2.1.1"
+HOMEPAGE="https://pytorch.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.1.1%2Bcpu.zip"
+MD5SUM_x86_64="9209a7dba2ab08bea5a2b59b5ae36088"
+REQUIRES=""
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/libraries/libtorch-cxx11-abi-shared-with-deps/slack-desc b/libraries/libtorch-cxx11-abi-shared-with-deps/slack-desc
new file mode 100644
index 0000000000..f7792a3a2e
--- /dev/null
+++ b/libraries/libtorch-cxx11-abi-shared-with-deps/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------------------------------------------------------|
+libtorch-cxx11-abi-shared-with-deps: libtorch-cxx11-abi-shared-with-deps (Tensors and neural networks)
+libtorch-cxx11-abi-shared-with-deps:
+libtorch-cxx11-abi-shared-with-deps: Tensors and Dynamic neural networks in Python with strong GPU
+libtorch-cxx11-abi-shared-with-deps: acceleration.
+libtorch-cxx11-abi-shared-with-deps:
+libtorch-cxx11-abi-shared-with-deps: These are precompiled libraries.
+libtorch-cxx11-abi-shared-with-deps:
+libtorch-cxx11-abi-shared-with-deps:
+libtorch-cxx11-abi-shared-with-deps:
+libtorch-cxx11-abi-shared-with-deps: https://pytorch.org/
+libtorch-cxx11-abi-shared-with-deps:
diff --git a/libraries/libtorrent-rasterbar/README b/libraries/libtorrent-rasterbar/README
index d4f79cb88d..8b376704d7 100644
--- a/libraries/libtorrent-rasterbar/README
+++ b/libraries/libtorrent-rasterbar/README
@@ -1,6 +1,6 @@
-libtorrent is a C++ library that aims to be a good alternative to all the
-other bittorrent implementations around. It is a library and not a full
-featured client, although it comes with a working example client.
+libtorrent is a C++ library that aims to be a good alternative to all
+the other bittorrent implementations around. It is a library and not a
+full featured client, although it comes with a working example client.
*When upgrading, please removepkg the old version first or the python
module will try to link against it*
@@ -15,9 +15,5 @@ OPTIONS
NOTE
-It is possible to build with bindings for python3 rather
-than python2 by setting the $PYTHON environmental variable,
-but this would involved rebuilding boost with bindings for
-python3 first.
-
-Go ahead and make my day.
+It is possible to build with bindings for python3 rather than python2 by
+setting the $PYTHON environmental variable.
diff --git a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
index 0501141e52..88aecdbe4e 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtorrent (rasterbar)
-# Copyright 2019 Donald Cooley, South Haven, Indiana, USA
+# Copyright 2022-2023 Logan Rathbone, Province of Ontario, Canada
+# Copyright 2019-2020 Donald Cooley, South Haven, Indiana, USA
# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
@@ -23,15 +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=libtorrent-rasterbar
-VERSION=${VERSION:-1.1.13}
+VERSION=${VERSION:-1.2.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,6 +40,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" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -66,43 +74,36 @@ 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 {} \;
-
-# https://github.com/qbittorrent/qBittorrent/issues/6383#issuecomment-281535787
-sed -i -e "s/+ target_specific(),/+ target_specific() + ['-std=c++14'],/" \
- bindings/python/setup.py
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
EXAMPLES=${EXAMPLES:-no}
-[ "$EXAMPLES" = "yes" ] && examples="--enable-examples"
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++14" \
-LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
- --disable-static \
- --enable-python-binding \
- --enable-encryption \
- $examples \
- --with-boost-libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-debug \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
+[ "$EXAMPLES" = "yes" ] && examples="-Dbuild_examples=ON"
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH=lib${LIBDIRSUFFIX} \
+ -Dpython-bindings=ON \
+ -Dpython-egg-info=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS docs/ tools/ \
+cp -a AUTHORS COPYING LICENSE ChangeLog NEWS README* docs/ tools/ \
$PKG/usr/doc/$PRGNAM-$VERSION
if [ "$EXAMPLES" = "yes" ]; then
cp -a examples/ $PKG/usr/doc/$PRGNAM-$VERSION
- cp -a ed25519/ $PKG/usr/doc/$PRGNAM-$VERSION
fi
find $PKG \
@@ -115,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/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
index d6c78127df..e7a7933c16 100644
--- a/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
+++ b/libraries/libtorrent-rasterbar/libtorrent-rasterbar.info
@@ -1,10 +1,10 @@
PRGNAM="libtorrent-rasterbar"
-VERSION="1.1.13"
+VERSION="1.2.19"
HOMEPAGE="https://libtorrent.org/"
-DOWNLOAD="https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1_13/libtorrent-rasterbar-1.1.13.tar.gz"
-MD5SUM="a3eec8d384f0343df1fb417c14c4e20d"
+DOWNLOAD="https://github.com/arvidn/libtorrent/releases/download/v1.2.19/libtorrent-rasterbar-1.2.19.tar.gz"
+MD5SUM="fc5069e996d497fbd792fecebb48a305"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="Logan Rathbone"
+EMAIL="poprocks@gmail.com"
diff --git a/libraries/libtorrent/libtorrent.SlackBuild b/libraries/libtorrent/libtorrent.SlackBuild
index 48f7d5e85e..27f12b712e 100644
--- a/libraries/libtorrent/libtorrent.SlackBuild
+++ b/libraries/libtorrent/libtorrent.SlackBuild
@@ -1,13 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtorrent
# Written by Tom Fitzhenry <tom@fitzhenry.name> 2007/08/22
# Updated by Andrew Brouwers, abrouwers@gmail.com
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - name SlackBuild *correctly* in the doc dir.
+# - get rid of useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libtorrent
VERSION=${VERSION:-0.13.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,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}
@@ -47,9 +58,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 {} \+
# Added OpenSSL 1.1 support.
patch -p1 < $CWD/4607bbf7.patch
@@ -66,18 +77,17 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
+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
+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/libraries/libtorrent/libtorrent.info b/libraries/libtorrent/libtorrent.info
index b94f0f0ece..35aaac219c 100644
--- a/libraries/libtorrent/libtorrent.info
+++ b/libraries/libtorrent/libtorrent.info
@@ -1,8 +1,8 @@
PRGNAM="libtorrent"
VERSION="0.13.7"
HOMEPAGE="https://github.com/rakshasa/libtorrent"
-DOWNLOAD="http://rtorrent.net/downloads/libtorrent-0.13.7.tar.gz"
-MD5SUM="fe34521cd440910b7ad4e1720a1ff5e0"
+DOWNLOAD="https://github.com/rakshasa/libtorrent/archive/v0.13.7/libtorrent-0.13.7.tar.gz"
+MD5SUM="bead5cfa0f640fef13abc1dd1eac94ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libtorrent2/README b/libraries/libtorrent2/README
new file mode 100644
index 0000000000..aa787bb2f5
--- /dev/null
+++ b/libraries/libtorrent2/README
@@ -0,0 +1,19 @@
+libtorrent is an open source C++ library implementing the BitTorrent
+protocol, along with most popular extensions, making it suitable for
+real world deployment. It is configurable to be able to fit both
+servers and embedded devices.
+
+The main goals of libtorrent are to be efficient and easy to use.
+
+libtorrent2 builds the 2.x branch of libtorrent (also referred to as
+libtorrent-rasterbar). As such, this package conflicts with
+libtorrent and libtorrent-rasterbar.
+
+If you would like to install examples, pass EXAMPLES=ON to the build
+script.
+
+If you would like to build the test suide, pass TESTS=ON to the
+build script.
+
+If you would like to build some extra tools, pass TOOLS=ON to the
+build script.
diff --git a/libraries/libtorrent2/libtorrent2.SlackBuild b/libraries/libtorrent2/libtorrent2.SlackBuild
new file mode 100644
index 0000000000..adf62f8595
--- /dev/null
+++ b/libraries/libtorrent2/libtorrent2.SlackBuild
@@ -0,0 +1,152 @@
+#!/bin/bash
+
+# Slackware build script for libtorrent2
+
+# Copyright 2023 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=libtorrent2
+SRCNAM=libtorrent
+VERSION=${VERSION:-2.0.9}
+ASIOGNUTLS=${ASIOGNUTLS:-a57d4d36923c5fafa9698e14be16b8bc2913700a}
+TRY_SIGNAL=${TRY_SIGNAL:-105cce59972f925a33aa6b1c3109e4cd3caf583d}
+DEPRECATED=${DEPRECATED:-ON}
+EXAMPLES=${EXAMPLES:-OFF}
+GNUTLS=${GNUTLS:-ON}
+PYTHON=${PYTHON:-ON}
+TESTS=${TESTS:-OFF}
+TOOLS=${TOOLS:-OFF}
+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}
+DEPS=$TMP/$SRCNAM-$VERSION/deps
+
+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
+
+tar xvf $CWD/try_signal-$TRY_SIGNAL.tar.gz -C \
+ $DEPS/try_signal --strip-components 1
+tar xvf $CWD/boost-asio-gnutls-$ASIOGNUTLS.tar.gz -C \
+ $DEPS/asio-gnutls --strip-components 1
+
+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 \
+ -Dbuild_examples=$EXAMPLES \
+ -Dbuild_tests=$TESTS \
+ -Dbuild_tools=$TOOLS \
+ -Ddeprecated-functions=$DEPRECATED \
+ -Dgnutls=$GNUTLS \
+ -Dpython-bindings=$PYTHON \
+ -Dpython-egg-info=$PYTHON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+
+ if [ "$EXAMPLES" = "ON" ]; then
+ mkdir -p $PKG/usr/share/$SRCNAM/examples
+ cd examples
+ cp -a \
+ client_test connection_tester custom_storage dump_bdecode dump_torrent make_torrent \
+ simple_client stats_counters upnp_test $PKG/usr/share/$SRCNAM/examples
+ cd ..
+ fi
+ if [ "$TESTS" = "ON" ]; then
+ mkdir -p $PKG/usr/share/$SRCNAM/tests
+ cd test
+ cp -a \
+ test_* mutable_test_torrents ssl *.gz *.xml *.py utf8_test.txt \
+ $PKG/usr/share/$SRCNAM/tests
+ cd ..
+ fi
+ if [ "$TOOLS" = "ON" ]; then
+ mkdir -p $PKG/usr/share/$SRCNAM/tools
+ cd tools
+ cp -a \
+ dht dht_sample session_log_alerts \
+ $PKG/usr/share/$SRCNAM/tools
+ cd ..
+ 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 \
+ AUTHORS COPYING ChangeLog LICENSE NEWS 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/libraries/libtorrent2/libtorrent2.info b/libraries/libtorrent2/libtorrent2.info
new file mode 100644
index 0000000000..f5aea30f0f
--- /dev/null
+++ b/libraries/libtorrent2/libtorrent2.info
@@ -0,0 +1,14 @@
+PRGNAM="libtorrent2"
+VERSION="2.0.9"
+HOMEPAGE="http://libtorrent.org"
+DOWNLOAD="https://github.com/arvidn/libtorrent/archive/v2.0.9/libtorrent-2.0.9.tar.gz \
+ https://github.com/arvidn/try_signal/archive/105cce59972f925a33aa6b1c3109e4cd3caf583d/try_signal-105cce59972f925a33aa6b1c3109e4cd3caf583d.tar.gz \
+ https://github.com/paullouisageneau/boost-asio-gnutls/archive/a57d4d36923c5fafa9698e14be16b8bc2913700a/boost-asio-gnutls-a57d4d36923c5fafa9698e14be16b8bc2913700a.tar.gz"
+MD5SUM="bd6e98e36acef852cf5412de878abf22 \
+ efa9b02ede430512d1e52a875b38fd98 \
+ cf76756ae1a1b4e46a3f9a72f2806010"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/libtorrent2/slack-desc b/libraries/libtorrent2/slack-desc
new file mode 100644
index 0000000000..a9fb580abf
--- /dev/null
+++ b/libraries/libtorrent2/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------------------------------------------------------|
+libtorrent2: libtorrent2 (bittorrent library)
+libtorrent2:
+libtorrent2: An efficient feature complete C++ bittorrent implementation.
+libtorrent2:
+libtorrent2: Homepage: http://libtorrent.org
+libtorrent2:
+libtorrent2:
+libtorrent2:
+libtorrent2:
+libtorrent2:
+libtorrent2:
diff --git a/libraries/libtpms/README b/libraries/libtpms/README
new file mode 100644
index 0000000000..4b988f43f8
--- /dev/null
+++ b/libraries/libtpms/README
@@ -0,0 +1,4 @@
+libtpms (library for TPM 1.2 and 2.0 emulation)
+
+libtpms is a library for the software emulation of a Trusted Platform
+Module (TPM 1.2 and TPM 2.0).
diff --git a/libraries/libtpms/libtpms.SlackBuild b/libraries/libtpms/libtpms.SlackBuild
new file mode 100644
index 0000000000..a0f1fccafb
--- /dev/null
+++ b/libraries/libtpms/libtpms.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for libtpms
+
+# Copyright 2022-2023 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=libtpms
+VERSION=${VERSION:-0.9.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc \
+ --mandir=/usr/man \
+ --with-tpm1 \
+ --with-tpm2 \
+ --enable-static=no \
+ --with-selinux=no
+make
+make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
+gzip -9 $PKG/usr/man/man3/*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CREDITS LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libtpms/libtpms.info b/libraries/libtpms/libtpms.info
new file mode 100644
index 0000000000..dc80241b3c
--- /dev/null
+++ b/libraries/libtpms/libtpms.info
@@ -0,0 +1,10 @@
+PRGNAM="libtpms"
+VERSION="0.9.6"
+HOMEPAGE="https://github.com/stefanberger/libtpms"
+DOWNLOAD="https://github.com/stefanberger/libtpms/archive/refs/tags/v0.9.6/libtpms-0.9.6.tar.gz"
+MD5SUM="c922a80cb1a098e6f9b2671c0044a388"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="K. Eugene Carlson"
+EMAIL="kvngncrlsn@gmail.com"
diff --git a/libraries/libtpms/slack-desc b/libraries/libtpms/slack-desc
new file mode 100644
index 0000000000..2164e12007
--- /dev/null
+++ b/libraries/libtpms/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------------------------------------------------------|
+libtpms: libtpms (library for emulating TPM 1.2 and 2.0)
+libtpms:
+libtpms: libtpms is a library that provides software emulation of a Trusted
+libtpms: Platform Module (TPM 1.2 and TPM 2.0).
+libtpms:
+libtpms:
+libtpms:
+libtpms:
+libtpms: Author: Kenneth Goldman
+libtpms: Maintainer: Stefan Berger
+libtpms: Homepage: https://github.com/stefanberger/libtpms
diff --git a/libraries/libtraceevent/README b/libraries/libtraceevent/README
new file mode 100644
index 0000000000..b983006936
--- /dev/null
+++ b/libraries/libtraceevent/README
@@ -0,0 +1,3 @@
+The libtraceevent library provides APIs to access kernel
+tracepoint events, located in the tracefs file system under the
+events directory.
diff --git a/libraries/libtraceevent/libtraceevent.SlackBuild b/libraries/libtraceevent/libtraceevent.SlackBuild
new file mode 100644
index 0000000000..85f46ac2e8
--- /dev/null
+++ b/libraries/libtraceevent/libtraceevent.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for libtraceevent
+
+# Copyright 2023 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=libtraceevent
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+make install prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} mandir=/usr/man 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 -ar README LICENSES Documentation 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
diff --git a/libraries/libtraceevent/libtraceevent.info b/libraries/libtraceevent/libtraceevent.info
new file mode 100644
index 0000000000..9b5fa798ff
--- /dev/null
+++ b/libraries/libtraceevent/libtraceevent.info
@@ -0,0 +1,10 @@
+PRGNAM="libtraceevent"
+VERSION="1.7.2"
+HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/about"
+DOWNLOAD="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-1.7.2.tar.gz"
+MD5SUM="5a8cd771ab709e7a7eb793555c7e570f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Julian Grinblat"
+EMAIL="julian@dotcore.co.il"
diff --git a/libraries/libtraceevent/slack-desc b/libraries/libtraceevent/slack-desc
new file mode 100644
index 0000000000..bf436a7db8
--- /dev/null
+++ b/libraries/libtraceevent/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------------------------------------------------------|
+libtraceevent: libtraceevent (Linux kernel trace event library)
+libtraceevent:
+libtraceevent: The libtraceevent(3) library provides APIs to access kernel
+libtraceevent: tracepoint events, located in the tracefs file system under the
+libtraceevent: events directory.
+libtraceevent:
+libtraceevent:
+libtraceevent:
+libtraceevent:
+libtraceevent:
+libtraceevent:
diff --git a/libraries/libtracefs/README b/libraries/libtracefs/README
new file mode 100644
index 0000000000..86a911693b
--- /dev/null
+++ b/libraries/libtracefs/README
@@ -0,0 +1,2 @@
+The libtracefs library provides APIs to access kernel
+trace file system.
diff --git a/libraries/libtracefs/libtracefs.SlackBuild b/libraries/libtracefs/libtracefs.SlackBuild
new file mode 100644
index 0000000000..cbc05eeb73
--- /dev/null
+++ b/libraries/libtracefs/libtracefs.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+# Slackware build script for libtracefs
+
+# Copyright 2023 Nicholas Hubbard <nicholashubbard@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=libtracefs
+VERSION=${VERSION:-1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+make install prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} mandir=/usr/man 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 -ar README LICENSES Documentation 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
diff --git a/libraries/libtracefs/libtracefs.info b/libraries/libtracefs/libtracefs.info
new file mode 100644
index 0000000000..c03062b9a6
--- /dev/null
+++ b/libraries/libtracefs/libtracefs.info
@@ -0,0 +1,10 @@
+PRGNAM="libtracefs"
+VERSION="1.7.0"
+HOMEPAGE="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/about"
+DOWNLOAD="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-1.7.0.tar.gz"
+MD5SUM="f425ce100c05de04aa1c72b487507214"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libtraceevent"
+MAINTAINER="Nicholas Hubbard"
+EMAIL="nicholashubbard@posteo.net"
diff --git a/libraries/libtracefs/slack-desc b/libraries/libtracefs/slack-desc
new file mode 100644
index 0000000000..668f67e619
--- /dev/null
+++ b/libraries/libtracefs/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------------------------------------------------------|
+libtracefs: libtracefs (Linux kernel trace file system library)
+libtracefs:
+libtracefs: The libtracefs(3) library provides APIs to access kernel trace file
+libtracefs: system.
+libtracefs:
+libtracefs:
+libtracefs:
+libtracefs:
+libtracefs:
+libtracefs:
+libtracefs:
diff --git a/libraries/libtsm/README b/libraries/libtsm/README
deleted file mode 100644
index 9118a7f733..0000000000
--- a/libraries/libtsm/README
+++ /dev/null
@@ -1,11 +0,0 @@
-libtsm (terminal-emulator state machine)
-
-TSM is a state machine for DEC VT100-VT520 compatible terminal
-emulators. It tries to support all common standards while keeping
-compatibility to existing emulators like xterm, gnome-terminal,
-konsole, ..
-
-TSM itself does not provide any rendering nor window management. It is
-a simple plain state machine without any external dependencies. It can
-be used to implement terminal emulators, but also to implement other
-applications that need to interpret terminal escape sequences.
diff --git a/libraries/libtsm/libtsm.SlackBuild b/libraries/libtsm/libtsm.SlackBuild
deleted file mode 100644
index af3cb85d09..0000000000
--- a/libraries/libtsm/libtsm.SlackBuild
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libtsm
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-PRGNAM=libtsm
-VERSION=${VERSION:-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.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 \
- --disable-static \
- --enable-shared \
- --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-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING 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}
diff --git a/libraries/libtsm/libtsm.info b/libraries/libtsm/libtsm.info
deleted file mode 100644
index f05a5f4031..0000000000
--- a/libraries/libtsm/libtsm.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libtsm"
-VERSION="3"
-HOMEPAGE="http://www.freedesktop.org/wiki/Software/libtsm/"
-DOWNLOAD="http://freedesktop.org/software/kmscon/releases/libtsm-3.tar.xz"
-MD5SUM="c1b297a69d11a72f207ec35ae5ce7d69"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libxkbcommon"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/libraries/libtsm/slack-desc b/libraries/libtsm/slack-desc
deleted file mode 100644
index bb067a96cd..0000000000
--- a/libraries/libtsm/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------------------------------------------------------|
-libtsm: libtsm (terminal-emulator state machine)
-libtsm:
-libtsm: TSM is a state machine for DEC VT100-VT520 compatible terminal
-libtsm: emulators. It tries to support all common standards while keeping
-libtsm: compatibility to existing emulators like xterm, gnome-terminal,
-libtsm: konsole, ..
-libtsm:
-libtsm: TSM itself does not provide any rendering nor window management. It
-libtsm: is a simple plain state machine without any external dependencies. It
-libtsm: can be used to implement terminal emulators, but also to implement
-libtsm: other applications that need to interpret terminal escape sequences.
diff --git a/libraries/libtubo0/README b/libraries/libtubo0/README
index 4ec7e59df4..73f8b76788 100644
--- a/libraries/libtubo0/README
+++ b/libraries/libtubo0/README
@@ -1,3 +1,3 @@
-Libtubo Interprocess Communication is small and simple function set to enable
-a process to run any other process in the background and communicate via
-the stdout, stderr and stdin file descriptors.
+Libtubo Interprocess Communication is small and simple function set
+to enable a process to run any other process in the background and
+communicate via the stdout, stderr and stdin file descriptors.
diff --git a/libraries/libtubo0/libtubo0.SlackBuild b/libraries/libtubo0/libtubo0.SlackBuild
index a7d061ed0a..d700c467f6 100644
--- a/libraries/libtubo0/libtubo0.SlackBuild
+++ b/libraries/libtubo0/libtubo0.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libtubo0
@@ -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=libtubo0
VERSION=${VERSION:-5.0.15}
-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 AUTHORS ChangeLog 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/libraries/libtunepimp/README b/libraries/libtunepimp/README
deleted file mode 100644
index f9e095ea10..0000000000
--- a/libraries/libtunepimp/README
+++ /dev/null
@@ -1,7 +0,0 @@
-libtunepimp (library for media tagging using MusicBrainz servers)
-
-The TunePimp library is a MusicBrainz enabled tagging library that allows
-music files to be looked up. Once the files have been identified, libtunepimp
-writes new metadata tags to the music files and then writes the files to a
-standardized directory hierarchy. libmusicbrainz and libtunepimp are used by
-various media players to identify and tag media files.
diff --git a/libraries/libtunepimp/libtunepimp-0.5.3-gcc43.patch b/libraries/libtunepimp/libtunepimp-0.5.3-gcc43.patch
deleted file mode 100644
index 0220626ed1..0000000000
--- a/libraries/libtunepimp/libtunepimp-0.5.3-gcc43.patch
+++ /dev/null
@@ -1,146 +0,0 @@
-diff -Nur libtunepimp-0.5.3.orig/include/tunepimp-0.5/metadata.h libtunepimp-0.5.3/include/tunepimp-0.5/metadata.h
---- libtunepimp-0.5.3.orig/include/tunepimp-0.5/metadata.h 2006-11-18 04:52:08.000000000 -0600
-+++ libtunepimp-0.5.3/include/tunepimp-0.5/metadata.h 2009-07-05 22:25:09.566603724 -0500
-@@ -27,6 +27,7 @@
- #ifndef __METADATA_H__
- #define __METADATA_H__
-
-+#include <string.h>
- #include <string>
- #include <cstdio>
-
-diff -Nur libtunepimp-0.5.3.orig/lib/c_wrapper.cpp libtunepimp-0.5.3/lib/c_wrapper.cpp
---- libtunepimp-0.5.3.orig/lib/c_wrapper.cpp 2006-11-18 04:52:33.000000000 -0600
-+++ libtunepimp-0.5.3/lib/c_wrapper.cpp 2009-07-05 22:25:09.558605363 -0500
-@@ -24,6 +24,7 @@
- $Id: c_wrapper.cpp 8360 2006-08-07 21:05:12Z luks $
-
- ----------------------------------------------------------------------------*/
-+#include <stdlib.h>
- #include "tunepimp.h"
- #include "mutex.h"
- #include "tp_c.h"
-diff -Nur libtunepimp-0.5.3.orig/lib/fileio.cpp libtunepimp-0.5.3/lib/fileio.cpp
---- libtunepimp-0.5.3.orig/lib/fileio.cpp 2006-11-18 04:52:33.000000000 -0600
-+++ libtunepimp-0.5.3/lib/fileio.cpp 2009-07-05 22:25:09.562578982 -0500
-@@ -27,6 +27,8 @@
-
- #include <assert.h>
- #include <errno.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include <string>
- #ifndef WIN32
- #include <unistd.h>
-diff -Nur libtunepimp-0.5.3.orig/lib/metadata.cpp libtunepimp-0.5.3/lib/metadata.cpp
---- libtunepimp-0.5.3.orig/lib/metadata.cpp 2006-11-18 04:52:33.000000000 -0600
-+++ libtunepimp-0.5.3/lib/metadata.cpp 2009-07-05 22:25:09.558605363 -0500
-@@ -26,6 +26,7 @@
- ----------------------------------------------------------------------------*/
- #include <math.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include "metadata.h"
- #include "../config.h"
- using namespace std;
-diff -Nur libtunepimp-0.5.3.orig/lib/protocol.cpp libtunepimp-0.5.3/lib/protocol.cpp
---- libtunepimp-0.5.3.orig/lib/protocol.cpp 2006-11-28 14:25:04.000000000 -0600
-+++ libtunepimp-0.5.3/lib/protocol.cpp 2009-07-05 22:25:09.558605363 -0500
-@@ -8,6 +8,7 @@
- -------------------------------------------------------------------*/
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <string>
- #include <map>
- #include <expat.h>
-diff -Nur libtunepimp-0.5.3.orig/lib/readmeta.cpp libtunepimp-0.5.3/lib/readmeta.cpp
---- libtunepimp-0.5.3.orig/lib/readmeta.cpp 2006-11-18 04:52:33.000000000 -0600
-+++ libtunepimp-0.5.3/lib/readmeta.cpp 2009-07-05 22:25:09.562578982 -0500
-@@ -31,6 +31,7 @@
- #endif
-
- #include <stdio.h>
-+#include <stdlib.h>
- #ifndef WIN32
- #include <unistd.h>
- #endif
-diff -Nur libtunepimp-0.5.3.orig/lib/tunepimp.cpp libtunepimp-0.5.3/lib/tunepimp.cpp
---- libtunepimp-0.5.3.orig/lib/tunepimp.cpp 2006-11-18 04:52:33.000000000 -0600
-+++ libtunepimp-0.5.3/lib/tunepimp.cpp 2009-07-05 22:25:09.558605363 -0500
-@@ -30,7 +30,9 @@
- #endif
- #endif
-
-+#include <string.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <map>
- using namespace std;
-
-diff -Nur libtunepimp-0.5.3.orig/lib/utf8/utf8util.cpp libtunepimp-0.5.3/lib/utf8/utf8util.cpp
---- libtunepimp-0.5.3.orig/lib/utf8/utf8util.cpp 2006-11-18 04:52:26.000000000 -0600
-+++ libtunepimp-0.5.3/lib/utf8/utf8util.cpp 2009-07-05 22:25:09.558605363 -0500
-@@ -26,6 +26,7 @@
- ----------------------------------------------------------------------------*/
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include "utf8util.h"
- #include "utf8.h"
- #ifdef WIN32
-diff -Nur libtunepimp-0.5.3.orig/plugins/mp3/id3_2_3_meta.cpp libtunepimp-0.5.3/plugins/mp3/id3_2_3_meta.cpp
---- libtunepimp-0.5.3.orig/plugins/mp3/id3_2_3_meta.cpp 2006-11-18 04:51:07.000000000 -0600
-+++ libtunepimp-0.5.3/plugins/mp3/id3_2_3_meta.cpp 2009-07-05 22:25:09.562578982 -0500
-@@ -26,6 +26,7 @@
- ----------------------------------------------------------------------------*/
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <assert.h>
- #include <ctype.h>
- #include <musicbrainz/mb_c.h>
-diff -Nur libtunepimp-0.5.3.orig/plugins/mp3/id3_meta.cpp libtunepimp-0.5.3/plugins/mp3/id3_meta.cpp
---- libtunepimp-0.5.3.orig/plugins/mp3/id3_meta.cpp 2006-11-18 04:51:07.000000000 -0600
-+++ libtunepimp-0.5.3/plugins/mp3/id3_meta.cpp 2009-07-05 22:25:09.562578982 -0500
-@@ -26,6 +26,7 @@
- ----------------------------------------------------------------------------*/
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <time.h>
- #include <ctype.h>
- #include <musicbrainz/mb_c.h>
-diff -Nur libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp libtunepimp-0.5.3/plugins/mp4/mp4.cpp
---- libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp 2006-11-18 04:51:08.000000000 -0600
-+++ libtunepimp-0.5.3/plugins/mp4/mp4.cpp 2009-07-05 22:25:09.562578982 -0500
-@@ -27,6 +27,7 @@
-
- #include <string.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <mp4.h>
- #include "metadata.h"
- #include "plugin.h"
-diff -Nur libtunepimp-0.5.3.orig/plugins/wma/wma.cpp libtunepimp-0.5.3/plugins/wma/wma.cpp
---- libtunepimp-0.5.3.orig/plugins/wma/wma.cpp 2006-11-18 04:51:28.000000000 -0600
-+++ libtunepimp-0.5.3/plugins/wma/wma.cpp 2009-07-05 22:25:09.562578982 -0500
-@@ -27,6 +27,7 @@
-
- #include <string.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <wmafile.h>
- #include "metadata.h"
- #include "plugin.h"
-diff -Nur libtunepimp-0.5.3.orig/plugins/wma/wmafile.cpp libtunepimp-0.5.3/plugins/wma/wmafile.cpp
---- libtunepimp-0.5.3.orig/plugins/wma/wmafile.cpp 2006-11-18 04:51:28.000000000 -0600
-+++ libtunepimp-0.5.3/plugins/wma/wmafile.cpp 2009-07-05 22:25:09.566603724 -0500
-@@ -19,6 +19,7 @@
- * USA *
- ***************************************************************************/
-
-+#include <string.h>
- #include <tstring.h>
- #include <wmafile.h>
- #include <wmatag.h>
diff --git a/libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch b/libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch
deleted file mode 100644
index 2c5e4f9dbf..0000000000
--- a/libraries/libtunepimp/libtunepimp-0.5.3-gcc44.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ruN libtunepimp-0.5.3.orig/lib/fileio.cpp libtunepimp-0.5.3/lib/fileio.cpp
---- libtunepimp-0.5.3.orig/lib/fileio.cpp 2009-05-28 11:49:43.000000000 -0700
-+++ libtunepimp-0.5.3/lib/fileio.cpp 2009-05-28 11:59:05.000000000 -0700
-@@ -124,7 +124,8 @@
-
- void tmktempname(const char *path, char *newPath, int newPathLen)
- {
-- char *ptr, *temp;
-+ const char *ptr;
-+ char *temp;
-
- temp = (char *)malloc(strlen(path) + 32);
- ptr = strrchr(path, dirSepChar);
diff --git a/libraries/libtunepimp/libtunepimp-0.5.3-libmp4v2.patch b/libraries/libtunepimp/libtunepimp-0.5.3-libmp4v2.patch
deleted file mode 100644
index ec3ec72612..0000000000
--- a/libraries/libtunepimp/libtunepimp-0.5.3-libmp4v2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -ur libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp libtunepimp-0.5.3/plugins/mp4/mp4.cpp
---- libtunepimp-0.5.3.orig/plugins/mp4/mp4.cpp 2009-07-10 15:50:20.000000000 +0300
-+++ libtunepimp-0.5.3/plugins/mp4/mp4.cpp 2009-07-10 15:51:18.000000000 +0300
-@@ -28,7 +28,7 @@
- #include <string.h>
- #include <stdio.h>
- #include <stdlib.h>
--#include <mp4.h>
-+#include <mp4v2/mp4v2.h>
- #include "metadata.h"
- #include "plugin.h"
- #ifndef WIN32
-@@ -232,7 +232,7 @@
-
- strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
-
-- if (!MP4Close(mp4file))
-+ MP4Close(mp4file);
- return 0;
-
- return 1;
-@@ -316,7 +316,7 @@
- sprintf(temp, "%d", mdata->nonAlbum);
- MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
-
-- if (!MP4Close(mp4file))
-+ MP4Close(mp4file);
- return 0;
-
- #ifndef WIN32
diff --git a/libraries/libtunepimp/libtunepimp.SlackBuild b/libraries/libtunepimp/libtunepimp.SlackBuild
deleted file mode 100644
index 1af78498d7..0000000000
--- a/libraries/libtunepimp/libtunepimp.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-# Slackware build script for <libtunepimp>
-# Written by Michales Michaloudes korgie@gmail.com
-
-PRGNAM=libtunepimp
-VERSION=${VERSION:-0.5.3}
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# Add some needed includes for gcc-4.3 and a gcc4.4 fix.
-patch -p1 < $CWD/libtunepimp-0.5.3-gcc43.patch
-patch -p1 < $CWD/libtunepimp-0.5.3-gcc44.patch
-# Patch for new libmp4v2
-patch -p1 < $CWD/libtunepimp-0.5.3-libmp4v2.patch
-
-# A curl header is deprecated.
-sed -i '/include.*types.h/d' $TMP/$PRGNAM-$VERSION/lib/protocol.cpp
-
-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
-
-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 COPYING ChangeLog INSTALL TODO README README.LGPL \
- $PKG/usr/doc/$PRGNAM-$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/libraries/libtunepimp/libtunepimp.info b/libraries/libtunepimp/libtunepimp.info
deleted file mode 100644
index f1d610cef4..0000000000
--- a/libraries/libtunepimp/libtunepimp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libtunepimp"
-VERSION="0.5.3"
-HOMEPAGE="http://musicbrainz.org"
-DOWNLOAD="ftp://ftp.musicbrainz.org/pub/musicbrainz/historical/libtunepimp-0.5.3.tar.gz"
-MD5SUM="09649f983acef679a548344ba7a9bb2f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libmusicbrainz libofa"
-MAINTAINER="Michales Michaloudes"
-EMAIL="korgie@gmail.com"
diff --git a/libraries/libtunepimp/slack-desc b/libraries/libtunepimp/slack-desc
deleted file mode 100644
index e2fe6326db..0000000000
--- a/libraries/libtunepimp/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------------------------------------------------------|
-libtunepimp: libtunepimp (library for media tagging using MusicBrainz servers)
-libtunepimp:
-libtunepimp: The TunePimp library is a MusicBrainz enabled tagging library that
-libtunepimp: allows music files to be looked up. Once the files have been
-libtunepimp: identified, libtunepimp writes new metadata tags to the music files
-libtunepimp: and then writes the files to a standardized directory hierarchy.
-libtunepimp:
-libtunepimp: libmusicbrainz and libtunepimp are used by various media players to
-libtunepimp: identify and tag media files.
-libtunepimp:
-libtunepimp:
diff --git a/libraries/libtxc_dxtn/README b/libraries/libtxc_dxtn/README
deleted file mode 100644
index a20c465fa6..0000000000
--- a/libraries/libtxc_dxtn/README
+++ /dev/null
@@ -1,5 +0,0 @@
-This library provides the GL_EXT_texture_compression_s3tc extenstion for Mesa
-for using precompressed textures with hardware decompression (precompressed
-textures are used by most modern games).
-
-Due to US patent restrictions, this library is not part of Mesa itself.
diff --git a/libraries/libtxc_dxtn/libtxc_dxtn.SlackBuild b/libraries/libtxc_dxtn/libtxc_dxtn.SlackBuild
deleted file mode 100644
index 49192eecb0..0000000000
--- a/libraries/libtxc_dxtn/libtxc_dxtn.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libtxc_dxtn
-
-# Copyright 2012 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=libtxc_dxtn
-VERSION=${VERSION:-1.0.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 [ "$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 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
-
-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/libraries/libtxc_dxtn/libtxc_dxtn.info b/libraries/libtxc_dxtn/libtxc_dxtn.info
deleted file mode 100644
index 57831f2652..0000000000
--- a/libraries/libtxc_dxtn/libtxc_dxtn.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libtxc_dxtn"
-VERSION="1.0.1"
-HOMEPAGE="https://people.freedesktop.org/~cbrill/libtxc_dxtn/"
-DOWNLOAD="https://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn-1.0.1.tar.bz2"
-MD5SUM="7105107f07ac49753f4b61ba9d0c79c5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Carlos Corbacho"
-EMAIL="carlos@strangeworlds.co.uk"
diff --git a/libraries/libtxc_dxtn/slack-desc b/libraries/libtxc_dxtn/slack-desc
deleted file mode 100644
index 86695e02b8..0000000000
--- a/libraries/libtxc_dxtn/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------------------------------------------------------|
-libtxc_dxtn: libtxc_dxtn (S3TC for Mesa)
-libtxc_dxtn:
-libtxc_dxtn: Support for using precompressed textures with hardware decompression
-libtxc_dxtn: in Mesa (currently used by most new games).
-libtxc_dxtn:
-libtxc_dxtn:
-libtxc_dxtn:
-libtxc_dxtn:
-libtxc_dxtn:
-libtxc_dxtn:
-libtxc_dxtn:
diff --git a/libraries/libu2f-host/README b/libraries/libu2f-host/README
index 2673e9fda8..93f786eb3f 100644
--- a/libraries/libu2f-host/README
+++ b/libraries/libu2f-host/README
@@ -2,3 +2,5 @@ Yubico Universal 2nd Factor (U2F) Host C Library
Libu2f-host provide a C library and command-line tool that implements
the host-side of the U2F protocol.
+
+NOTE: Upstream project is deprecated and no longer maintained.
diff --git a/libraries/libu2f-host/libu2f-host.SlackBuild b/libraries/libu2f-host/libu2f-host.SlackBuild
index 5e86b49a76..76402a7baa 100644
--- a/libraries/libu2f-host/libu2f-host.SlackBuild
+++ b/libraries/libu2f-host/libu2f-host.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libu2f-host
@@ -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=libu2f-host
SRCNAM=libu2f-host-libu2f-host
-VERSION=${VERSION:-1.1.10}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.1.11}
+SRCVERSION=${SRCVERSION:-1.1.10}
+BUILD=${BUILD:-2}
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}
@@ -60,9 +71,9 @@ 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 $SRCNAM-$SRCVERSION
+tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
+cd $SRCNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,6 +81,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+for i in $(ls -1 $CWD/patches/); do
+ patch -p1 < $CWD/patches/$i
+done
+
autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -99,8 +114,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS BLURB COPYING* NEWS README THANKS $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/libraries/libu2f-host/libu2f-host.info b/libraries/libu2f-host/libu2f-host.info
index 25917a846d..acdec4ff9b 100644
--- a/libraries/libu2f-host/libu2f-host.info
+++ b/libraries/libu2f-host/libu2f-host.info
@@ -1,5 +1,5 @@
PRGNAM="libu2f-host"
-VERSION="1.1.10"
+VERSION="1.1.11"
HOMEPAGE="https://github.com/Yubico/libu2f-host"
DOWNLOAD="https://github.com/Yubico/libu2f-host/archive/libu2f-host-1.1.10/libu2f-host-libu2f-host-1.1.10.tar.gz"
MD5SUM="3a7de10d4ba92d7fa48b3d0affc62887"
diff --git a/libraries/libu2f-host/patches/0001-bump-versions-after-release.patch b/libraries/libu2f-host/patches/0001-bump-versions-after-release.patch
new file mode 100644
index 0000000000..87a6c4bab8
--- /dev/null
+++ b/libraries/libu2f-host/patches/0001-bump-versions-after-release.patch
@@ -0,0 +1,48 @@
+From ef8b0c26df78f5bca48803fa350cf772eef351c8 Mon Sep 17 00:00:00 2001
+From: Klas Lindfors <klas@yubico.com>
+Date: Wed, 15 May 2019 13:57:11 +0200
+Subject: [PATCH 01/25] bump versions after release
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ NEWS | 2 ++
+ configure.ac | 4 ++--
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/NEWS b/NEWS
+index a85d667..fc933b8 100644
+--- a/NEWS
++++ b/NEWS
+@@ -1,5 +1,7 @@
+ libu2f-host NEWS -- History of user visible changes.
+
++* Version 1.1.11 (unreleased)
++
+ * Version 1.1.10 (released 2019-05-15)
+
+ ** Add new devices to udev rules.
+diff --git a/configure.ac b/configure.ac
+index d5251d3..0031f76 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -13,7 +13,7 @@
+ # You should have received a copy of the GNU General Public License
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-AC_INIT([libu2f-host], [1.1.10], [yubico-devel@googlegroups.com])
++AC_INIT([libu2f-host], [1.1.11], [yubico-devel@googlegroups.com])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_AUX_DIR([build-aux])
+@@ -21,7 +21,7 @@ AC_CONFIG_AUX_DIR([build-aux])
+ # http://www.gnu.org/s/libtool/manual/html_node/Updating-version-info.html
+ AC_SUBST(LT_CURRENT, 1) # Interfaces removed: CURRENT++, AGE=0, REVISION=0
+ AC_SUBST(LT_AGE, 1) # Interfaces added: CURRENT++, AGE++, REVISION=0
+-AC_SUBST(LT_REVISION, 10) # No interfaces changed: REVISION++
++AC_SUBST(LT_REVISION, 11) # No interfaces changed: REVISION++
+
+ AM_INIT_AUTOMAKE([gnits dist-xz no-dist-gzip std-options -Wall])
+ AM_SILENT_RULES([yes])
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0002-README-add-FreeBSD-build-information.patch b/libraries/libu2f-host/patches/0002-README-add-FreeBSD-build-information.patch
new file mode 100644
index 0000000000..b58608f06e
--- /dev/null
+++ b/libraries/libu2f-host/patches/0002-README-add-FreeBSD-build-information.patch
@@ -0,0 +1,34 @@
+From 24c6b57d25ff574ade39bdcbeb5eed2169f4b532 Mon Sep 17 00:00:00 2001
+From: Ed Maste <emaste@freebsd.org>
+Date: Sat, 8 Jun 2019 01:36:29 -0400
+Subject: [PATCH 02/25] README: add FreeBSD build information
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ README | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/README b/README
+index e17d0e5..fefc96b 100644
+--- a/README
++++ b/README
+@@ -177,6 +177,16 @@ Both of these require that a release tarball of the project exists in the
+ current directory. The value of the VERSION variable must match the version
+ on that tarball.
+
++Building from Git works on FreeBSD (excluding documentation), using gmake.
++Dependencies may be installed via:
++
++ # pkg install gengetopt help2man hidapi json-c u2f-devd
++
++And then configure and build using:
++
++ $ ./configure --disable-gtk-doc
++ $ gmake
++
+ Namespaces
+ ----------
+
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0003-add-note-about-maintenance-mode-and-libfido2.patch b/libraries/libu2f-host/patches/0003-add-note-about-maintenance-mode-and-libfido2.patch
new file mode 100644
index 0000000000..18ef3adfb5
--- /dev/null
+++ b/libraries/libu2f-host/patches/0003-add-note-about-maintenance-mode-and-libfido2.patch
@@ -0,0 +1,28 @@
+From 08e32414f36b902127d679f55d439816e33dc0dc Mon Sep 17 00:00:00 2001
+From: Klas Lindfors <klas@yubico.com>
+Date: Mon, 10 Jun 2019 12:08:33 +0200
+Subject: [PATCH 03/25] add note about maintenance mode and libfido2
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ README | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/README b/README
+index e17d0e5..bc0c2fb 100644
+--- a/README
++++ b/README
+@@ -10,6 +10,10 @@ device and perform the U2F Register and U2F Authenticate operations.
+ For the server-side aspect, see our
+ https://developers.yubico.com/libu2f-server/[libu2f-server project].
+
++NOTE: This project is in maintenance mode,
++https://developers.yubico.com/libfido2/[libfido2] is a new project with
++support for U2F and FIDO2.
++
+ License
+ -------
+
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0004-libfido2-sync-add-Infineon-eWBM-SecureClick-typo.patch b/libraries/libu2f-host/patches/0004-libfido2-sync-add-Infineon-eWBM-SecureClick-typo.patch
new file mode 100644
index 0000000000..71c0947d76
--- /dev/null
+++ b/libraries/libu2f-host/patches/0004-libfido2-sync-add-Infineon-eWBM-SecureClick-typo.patch
@@ -0,0 +1,44 @@
+From 8c6c67da3a843e66a9149c7810bbc8f0b69099a1 Mon Sep 17 00:00:00 2001
+From: Royce Williams <royce@techsolvency.com>
+Date: Tue, 16 Jul 2019 06:12:44 -0800
+Subject: [PATCH 04/25] libfido2 sync: add Infineon, eWBM; SecureClick typo
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 8ab5bcf..10aa977 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -37,7 +37,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="24dc", ATTRS{idProduct
+ # U2F Zero
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8acf", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+-# VASCO SeccureClick
++# VASCO SecureClick
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1a44", ATTRS{idProduct}=="00bb", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # Bluink Key
+@@ -62,6 +62,9 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="534c", ATTRS{idProduct}=="0001", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="53c1", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
++# Infineon FIDO
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="058b", ATTRS{idProduct}=="022d", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++
+ # Ledger Nano S and Nano X
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001|0004", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+@@ -71,4 +74,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="06cb", ATTRS{idProduct
+ # Longmai mFIDO
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="4c4d", ATTRS{idProduct}=="f703", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
++# eWBM FIDO2 - Goldengate 450, Goldengate 500 + biometric
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="311f", ATTRS{idProduct}=="f47c|5c2f", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++
+ LABEL="u2f_end"
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0005-add-two-new-eWBM-and-sort-device-IDs-numerically.patch b/libraries/libu2f-host/patches/0005-add-two-new-eWBM-and-sort-device-IDs-numerically.patch
new file mode 100644
index 0000000000..489a2e445e
--- /dev/null
+++ b/libraries/libu2f-host/patches/0005-add-two-new-eWBM-and-sort-device-IDs-numerically.patch
@@ -0,0 +1,40 @@
+From 4218f6b8b974c954b54065591259a0c967f87570 Mon Sep 17 00:00:00 2001
+From: Royce Williams <royce@techsolvency.com>
+Date: Sat, 17 Aug 2019 14:23:40 -0800
+Subject: [PATCH 05/25] add two new eWBM, and sort device IDs numerically
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 10aa977..40506d8 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -25,10 +25,10 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2581", ATTRS{idProduct
+ # Neowave Keydo and Keydo AES
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1e0d", ATTRS{idProduct}=="f1d0|f1ae", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+-# HyperSecu HyperFIDO, KeyID U2F
++# HyperSecu HyperFIDO
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e|2ccf", ATTRS{idProduct}=="0880", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+-# Feitian ePass FIDO, BioPass FIDO2, KeyID U2F
++# Feitian ePass FIDO, BioPass FIDO2
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0852|0853|0854|0856|0858|085a|085b|085d", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # JaCarta U2F
+@@ -74,7 +74,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="06cb", ATTRS{idProduct
+ # Longmai mFIDO
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="4c4d", ATTRS{idProduct}=="f703", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+-# eWBM FIDO2 - Goldengate 450, Goldengate 500 + biometric
+-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="311f", ATTRS{idProduct}=="f47c|5c2f", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++# eWBM FIDO2 - Goldengate 310, 320, 500, 450
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="311f", ATTRS{idProduct}=="4a1a|4c2a|5c2f|f47c", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ LABEL="u2f_end"
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0006-devs-init_device-Fix-typo-in-comment.patch b/libraries/libu2f-host/patches/0006-devs-init_device-Fix-typo-in-comment.patch
new file mode 100644
index 0000000000..626ea52997
--- /dev/null
+++ b/libraries/libu2f-host/patches/0006-devs-init_device-Fix-typo-in-comment.patch
@@ -0,0 +1,26 @@
+From aa981b17b84348e9421cae4b74527aad149c2017 Mon Sep 17 00:00:00 2001
+From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
+Date: Fri, 30 Aug 2019 12:20:32 +0200
+Subject: [PATCH 06/25] devs/init_device: Fix typo in comment
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ u2f-host/devs.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/u2f-host/devs.c b/u2f-host/devs.c
+index fadd3ce..f10048f 100644
+--- a/u2f-host/devs.c
++++ b/u2f-host/devs.c
+@@ -303,7 +303,7 @@ init_device (u2fh_devs * devs, struct u2fdevice *dev)
+ &resplen) == U2FH_OK)
+ {
+ int offs = sizeof (nonce);
+- /* the response has to be atleast 17 bytes, if it's more we discard that */
++ /* the response has to be at least 17 bytes, if it's more we discard that */
+ if (resplen < 17)
+ {
+ return U2FH_SIZE_ERROR;
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch b/libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch
new file mode 100644
index 0000000000..060b405907
--- /dev/null
+++ b/libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch
@@ -0,0 +1,27 @@
+From 3b8cf649c04e484d9162ab9325a4aa064df1f2ee Mon Sep 17 00:00:00 2001
+From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu>
+Date: Fri, 30 Aug 2019 12:21:13 +0200
+Subject: [PATCH 07/25] devs/init_device: Fix misleading comment (logical
+ inversion)
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ u2f-host/devs.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/u2f-host/devs.c b/u2f-host/devs.c
+index f10048f..aa76c9f 100644
+--- a/u2f-host/devs.c
++++ b/u2f-host/devs.c
+@@ -303,7 +303,7 @@ init_device (u2fh_devs * devs, struct u2fdevice *dev)
+ &resplen) == U2FH_OK)
+ {
+ int offs = sizeof (nonce);
+- /* the response has to be at least 17 bytes, if it's more we discard that */
++ /* the response has to be at least 17 bytes, if it's less we discard it */
+ if (resplen < 17)
+ {
+ return U2FH_SIZE_ERROR;
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0008-Update-70-u2f.rules-to-include-product-id-0121.patch b/libraries/libu2f-host/patches/0008-Update-70-u2f.rules-to-include-product-id-0121.patch
new file mode 100644
index 0000000000..cab5348a02
--- /dev/null
+++ b/libraries/libu2f-host/patches/0008-Update-70-u2f.rules-to-include-product-id-0121.patch
@@ -0,0 +1,26 @@
+From bf3a625d846e22ff0ac3abac386781e0c09ffcab Mon Sep 17 00:00:00 2001
+From: Jason Cawood <jasoncawood@gmail.com>
+Date: Thu, 24 Oct 2019 16:14:27 -0700
+Subject: [PATCH 08/25] Update 70-u2f.rules to include product id 0121
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 40506d8..c2babc4 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -17,7 +17,7 @@
+ ACTION!="add|change", GOTO="u2f_end"
+
+ # Yubico YubiKey
+-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120|0200|0402|0403|0406|0407|0410", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120|0121|0200|0402|0403|0406|0407|0410", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # Happlink (formerly Plug-Up) Security KEY
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2581", ATTRS{idProduct}=="f1d0", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0009-Update-u2f.conf.sample.patch b/libraries/libu2f-host/patches/0009-Update-u2f.conf.sample.patch
new file mode 100644
index 0000000000..62fbb2866d
--- /dev/null
+++ b/libraries/libu2f-host/patches/0009-Update-u2f.conf.sample.patch
@@ -0,0 +1,28 @@
+From 452c52b11a3a8e54b9e63397c9fcd645f3a3a6fb Mon Sep 17 00:00:00 2001
+From: Jason Cawood <jasoncawood@gmail.com>
+Date: Thu, 24 Oct 2019 16:22:55 -0700
+Subject: [PATCH 09/25] Update u2f.conf.sample
+
+This is to match the changes from commit bf3a625d846e22ff0ac3abac386781e0c09ffcab
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ u2f.conf.sample | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index 7e685d0..040b5c2 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -6,7 +6,7 @@ notify 100 {
+ match "subsystem" "DEVICE";
+ match "type" "ATTACH";
+ match "vendor" "0x1050";
+- match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0200|0x0402|0x0403|0x0406|0x0407|0x0410)";
++ match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0120|0x0200|0x0402|0x0403|0x0406|0x0407|0x0410)";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0010-fixed-the-duplication-typo.patch b/libraries/libu2f-host/patches/0010-fixed-the-duplication-typo.patch
new file mode 100644
index 0000000000..d9fde6174f
--- /dev/null
+++ b/libraries/libu2f-host/patches/0010-fixed-the-duplication-typo.patch
@@ -0,0 +1,28 @@
+From ff8cfbe1e992cfd40c01541324c6f0155da26775 Mon Sep 17 00:00:00 2001
+From: Jason Cawood <jasoncawood@gmail.com>
+Date: Thu, 24 Oct 2019 21:08:44 -0700
+Subject: [PATCH 10/25] fixed the duplication typo.
+
+I meant to update the file to include the new product id, but hastily included the id 0120 twice. This corrects that error and includes 0121
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ u2f.conf.sample | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index 040b5c2..6d89540 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -6,7 +6,7 @@ notify 100 {
+ match "subsystem" "DEVICE";
+ match "type" "ATTACH";
+ match "vendor" "0x1050";
+- match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0120|0x0200|0x0402|0x0403|0x0406|0x0407|0x0410)";
++ match "product" "(0x0113|0x0114|0x0115|0x0116|0x0120|0x0121|0x0200|0x0402|0x0403|0x0406|0x0407|0x0410)";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0011-Add-Onlykey-to-list.patch b/libraries/libu2f-host/patches/0011-Add-Onlykey-to-list.patch
new file mode 100644
index 0000000000..ab90dd93cf
--- /dev/null
+++ b/libraries/libu2f-host/patches/0011-Add-Onlykey-to-list.patch
@@ -0,0 +1,27 @@
+From 5804827db7040f6e26926cd04ac2960521ef489f Mon Sep 17 00:00:00 2001
+From: onlykey <onlykey@users.noreply.github.com>
+Date: Fri, 15 Nov 2019 15:43:18 -0500
+Subject: [PATCH 11/25] Add Onlykey to list
+
+Found a reference to these rules while adding OnlyKey to another set of rules here - https://github.com/snapcore/snapd/blob/master/interfaces/builtin/u2f_devices.go
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 40506d8..1479b9a 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -77,4 +77,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="4c4d", ATTRS{idProduct
+ # eWBM FIDO2 - Goldengate 310, 320, 500, 450
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="311f", ATTRS{idProduct}=="4a1a|4c2a|5c2f|f47c", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
++# OnlyKey (FIDO2 / U2F)
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++
+ LABEL="u2f_end"
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0012-udev-u2f.conf-add-Nitrokey-FIDO2.patch b/libraries/libu2f-host/patches/0012-udev-u2f.conf-add-Nitrokey-FIDO2.patch
new file mode 100644
index 0000000000..39035464f0
--- /dev/null
+++ b/libraries/libu2f-host/patches/0012-udev-u2f.conf-add-Nitrokey-FIDO2.patch
@@ -0,0 +1,50 @@
+From f6a895030fc38b311b336bbbf0a101b7055b2bf5 Mon Sep 17 00:00:00 2001
+From: Szczepan Zalega <szczepan@nitrokey.com>
+Date: Thu, 28 Nov 2019 18:06:07 +0100
+Subject: [PATCH 12/25] udev/u2f.conf: add Nitrokey FIDO2
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 5 +++--
+ u2f.conf.sample | 4 ++--
+ 2 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index c4d836e..2884456 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -46,8 +46,9 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2abe", ATTRS{idProduct
+ # Thetis Key
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1ea8", ATTRS{idProduct}=="f025", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+-# Nitrokey FIDO U2F
+-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4287", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++# Nitrokey FIDO U2F, Nitrokey FIDO2
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4287|42b1", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++
+
+ # Google Titan U2F
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="5026", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index 6d89540..7c4e38b 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -100,13 +100,13 @@ notify 100 {
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
+-# Nitrokey FIDO U2F
++# Nitrokey FIDO U2F, Nitrokey FIDO2
+ notify 100 {
+ match "system" "USB";
+ match "subsystem" "DEVICE";
+ match "type" "ATTACH";
+ match "vendor" "0x20a0";
+- match "product" "0x4287";
++ match "product" "(0x4287|0x42b1)";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0013-udev-u2f.conf-add-Safetech-SafeKey.patch b/libraries/libu2f-host/patches/0013-udev-u2f.conf-add-Safetech-SafeKey.patch
new file mode 100644
index 0000000000..ab82c3f0e7
--- /dev/null
+++ b/libraries/libu2f-host/patches/0013-udev-u2f.conf-add-Safetech-SafeKey.patch
@@ -0,0 +1,48 @@
+From db42c388554a4179c0a839722754c530096a8484 Mon Sep 17 00:00:00 2001
+From: Szczepan Zalega <szczepan@nitrokey.com>
+Date: Thu, 28 Nov 2019 18:06:26 +0100
+Subject: [PATCH 13/25] udev/u2f.conf: add Safetech SafeKey
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 2 ++
+ u2f.conf.sample | 10 ++++++++++
+ 2 files changed, 12 insertions(+)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 2884456..3688c72 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -49,6 +49,8 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1ea8", ATTRS{idProduct
+ # Nitrokey FIDO U2F, Nitrokey FIDO2
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4287|42b1", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
++# Safetech SafeKey
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="42b3", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # Google Titan U2F
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="5026", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index 7c4e38b..0955ba5 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -110,6 +110,16 @@ notify 100 {
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
++# Safetech SafeKey
++notify 100 {
++ match "system" "USB";
++ match "subsystem" "DEVICE";
++ match "type" "ATTACH";
++ match "vendor" "0x20a0";
++ match "product" "0x42b3";
++ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
++};
++
+ # Google Titan U2F
+ notify 100 {
+ match "system" "USB";
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0014-udev-u2f.conf-group-to-one-line-as-per-request.patch b/libraries/libu2f-host/patches/0014-udev-u2f.conf-group-to-one-line-as-per-request.patch
new file mode 100644
index 0000000000..92460be8d6
--- /dev/null
+++ b/libraries/libu2f-host/patches/0014-udev-u2f.conf-group-to-one-line-as-per-request.patch
@@ -0,0 +1,62 @@
+From 003eabece00a9e5ff950af078500fa7a65d74943 Mon Sep 17 00:00:00 2001
+From: Szczepan Zalega <szczepan@nitrokey.com>
+Date: Fri, 29 Nov 2019 10:58:32 +0100
+Subject: [PATCH 14/25] udev/u2f.conf: group to one line as per request
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 7 ++-----
+ u2f.conf.sample | 14 ++------------
+ 2 files changed, 4 insertions(+), 17 deletions(-)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 3688c72..32e2b93 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -46,11 +46,8 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2abe", ATTRS{idProduct
+ # Thetis Key
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1ea8", ATTRS{idProduct}=="f025", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+-# Nitrokey FIDO U2F, Nitrokey FIDO2
+-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4287|42b1", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+-
+-# Safetech SafeKey
+-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="42b3", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++# Nitrokey FIDO U2F, Nitrokey FIDO2, Safetech SafeKey
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="4287|42b1|42b3", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # Google Titan U2F
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="5026", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index 0955ba5..9d91df7 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -100,23 +100,13 @@ notify 100 {
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
+-# Nitrokey FIDO U2F, Nitrokey FIDO2
++# Nitrokey FIDO U2F, Nitrokey FIDO2, Safetech SafeKey
+ notify 100 {
+ match "system" "USB";
+ match "subsystem" "DEVICE";
+ match "type" "ATTACH";
+ match "vendor" "0x20a0";
+- match "product" "(0x4287|0x42b1)";
+- action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+-};
+-
+-# Safetech SafeKey
+-notify 100 {
+- match "system" "USB";
+- match "subsystem" "DEVICE";
+- match "type" "ATTACH";
+- match "vendor" "0x20a0";
+- match "product" "0x42b3";
++ match "product" "(0x4287|0x42b1|0x42b3)";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch b/libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch
new file mode 100644
index 0000000000..0e33bc90f1
--- /dev/null
+++ b/libraries/libu2f-host/patches/0015-Adding-a-static-code-analysis-github-workflow.patch
@@ -0,0 +1,51 @@
+From ec539302876c4ab05ae0438ca4e575968270526b Mon Sep 17 00:00:00 2001
+From: Gabriel Kihlman <g.kihlman@yubico.com>
+Date: Tue, 17 Dec 2019 15:16:44 +0100
+Subject: [PATCH 15/25] Adding a static code analysis github workflow
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ .github/workflows/scan.yml | 31 +++++++++++++++++++++++++++++++
+ 1 file changed, 31 insertions(+)
+ create mode 100644 .github/workflows/scan.yml
+
+diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml
+new file mode 100644
+index 0000000..f8e54a1
+--- /dev/null
++++ b/.github/workflows/scan.yml
+@@ -0,0 +1,31 @@
++name: static code analysis
++
++on: [push]
++env:
++ SCAN_IMG:
++ yes-docker-local.artifactory.in.yubico.org/static-code-analysis/c:v1
++
++jobs:
++ build:
++ runs-on: ubuntu-latest
++
++ steps:
++ - uses: actions/checkout@master
++
++ - name: Prep scan
++ run: |
++ docker login yes-docker-local.artifactory.in.yubico.org/ \
++ -u svc-static-code-analysis-reader \
++ -p ${{ secrets.ARTIFACTORY_READER_TOKEN }}
++ docker pull ${SCAN_IMG}
++
++ - name: Scan but do not fail on warnings
++ run: |
++ docker run -v${PWD}:/k -e COMPILE_DEPS="${COMPILE_DEPS}" \
++ -e PROJECT_NAME=${GITHUB_REPOSITORY#Yubico/} -t ${SCAN_IMG} || true
++
++ - uses: actions/upload-artifact@master
++ if: failure()
++ with:
++ name: suppression_files
++ path: suppression_files
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0016-Handle-the-case-when-new_device-returns-NULL-malloc-.patch b/libraries/libu2f-host/patches/0016-Handle-the-case-when-new_device-returns-NULL-malloc-.patch
new file mode 100644
index 0000000000..d85161cd25
--- /dev/null
+++ b/libraries/libu2f-host/patches/0016-Handle-the-case-when-new_device-returns-NULL-malloc-.patch
@@ -0,0 +1,30 @@
+From d944fafe8cee766e5c3c601a16797b890420802c Mon Sep 17 00:00:00 2001
+From: Gabriel Kihlman <g.kihlman@yubico.com>
+Date: Wed, 18 Dec 2019 12:34:30 +0100
+Subject: [PATCH 16/25] Handle the case when new_device() returns NULL (malloc
+ failure)
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ u2f-host/devs.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/u2f-host/devs.c b/u2f-host/devs.c
+index aa76c9f..7650743 100644
+--- a/u2f-host/devs.c
++++ b/u2f-host/devs.c
+@@ -435,6 +435,11 @@ u2fh_devs_discover (u2fh_devs * devs, unsigned *max_index)
+ if (usage_page == FIDO_USAGE_PAGE && usage == FIDO_USAGE_U2FHID)
+ {
+ dev = new_device (devs);
++ if (dev == NULL)
++ {
++ res = U2FH_MEMORY_ERROR;
++ goto out;
++ }
+ dev->devh = hid_open_path (cur_dev->path);
+ if (dev->devh != NULL)
+ {
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0017-Schedule-scans-at-least-once-a-week.patch b/libraries/libu2f-host/patches/0017-Schedule-scans-at-least-once-a-week.patch
new file mode 100644
index 0000000000..6af583f0f2
--- /dev/null
+++ b/libraries/libu2f-host/patches/0017-Schedule-scans-at-least-once-a-week.patch
@@ -0,0 +1,29 @@
+From 03f474d741e654d7ca3f6753f7e9ed8132dacdd7 Mon Sep 17 00:00:00 2001
+From: Gabriel Kihlman <g.kihlman@yubico.com>
+Date: Fri, 10 Jan 2020 12:42:23 +0100
+Subject: [PATCH 17/25] Schedule scans at least once a week
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ .github/workflows/scan.yml | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml
+index f8e54a1..ec6ba52 100644
+--- a/.github/workflows/scan.yml
++++ b/.github/workflows/scan.yml
+@@ -1,6 +1,10 @@
+ name: static code analysis
+
+-on: [push]
++on:
++ push:
++ schedule:
++ - cron: '0 0 * * 1'
++
+ env:
+ SCAN_IMG:
+ yes-docker-local.artifactory.in.yubico.org/static-code-analysis/c:v1
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0018-Adding-GoTrust-Idem-Key-to-udev-rules.patch b/libraries/libu2f-host/patches/0018-Adding-GoTrust-Idem-Key-to-udev-rules.patch
new file mode 100644
index 0000000000..61e16b0e8f
--- /dev/null
+++ b/libraries/libu2f-host/patches/0018-Adding-GoTrust-Idem-Key-to-udev-rules.patch
@@ -0,0 +1,44 @@
+From cb2fc30b6f3622a4f35d84714bd89091809d7f7f Mon Sep 17 00:00:00 2001
+From: Brad Israel <bisrael8191@gmail.com>
+Date: Wed, 15 Jan 2020 22:27:53 -0500
+Subject: [PATCH 18/25] Adding GoTrust Idem Key to udev rules
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 3 +++
+ u2f.conf.sample | 10 ++++++++++
+ 2 files changed, 13 insertions(+)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 32e2b93..4ef1096 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -80,4 +80,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="311f", ATTRS{idProduct
+ # OnlyKey (FIDO2 / U2F)
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60fc", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
++# GoTrust Idem Key
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="f143", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++
+ LABEL="u2f_end"
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index 9d91df7..b796d3f 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -139,3 +139,13 @@ notify 100 {
+ match "product" "(0x5070|0x50b0)";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
++
++# GoTrust Idem Key
++notify 100 {
++ match "system" "USB";
++ match "subsystem" "DEVICE";
++ match "type" "ATTACH";
++ match "vendor" "0x1fc9";
++ match "product" "0xf143";
++ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
++};
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0019-Add-support-for-upcoming-json-c-0.14.0.patch b/libraries/libu2f-host/patches/0019-Add-support-for-upcoming-json-c-0.14.0.patch
new file mode 100644
index 0000000000..bd1ec91551
--- /dev/null
+++ b/libraries/libu2f-host/patches/0019-Add-support-for-upcoming-json-c-0.14.0.patch
@@ -0,0 +1,39 @@
+From 840f01135d2892f45e71b9e90405de587991bd03 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
+Date: Mon, 13 Apr 2020 14:12:25 +0200
+Subject: [PATCH 19/25] Add support for upcoming json-c 0.14.0.
+
+TRUE/FALSE are not defined anymore. 1 and 0 are used instead.
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ u2f-host/u2fmisc.c | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
+
+diff --git a/u2f-host/u2fmisc.c b/u2f-host/u2fmisc.c
+index e40ca3d..5a032ce 100644
+--- a/u2f-host/u2fmisc.c
++++ b/u2f-host/u2fmisc.c
+@@ -33,6 +33,19 @@ typedef int json_bool;
+ #define u2fh_json_object_object_get(obj, key, value) (value = json_object_object_get(obj, key)) == NULL ? (json_bool)FALSE : (json_bool)TRUE
+ #endif
+
++/* json-c 0.13.99 does not define TRUE/FALSE anymore
++ * the json-c maintainers replaced them with pure 1/0
++ * https://github.com/json-c/json-c/commit/0992aac61f8b
++ */
++#if defined JSON_C_VERSION_NUM && JSON_C_VERSION_NUM >= ((13 << 8) | 99)
++#ifndef FALSE
++#define FALSE 0
++#endif
++#ifndef TRUE
++#define TRUE 1
++#endif
++#endif
++
+ static void
+ dumpHex (unsigned char *data, int offs, int len)
+ {
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch b/libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch
new file mode 100644
index 0000000000..43a2f3d29a
--- /dev/null
+++ b/libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch
@@ -0,0 +1,42 @@
+From f9b2e731ae9f41f8cd1f98587dc4de620b7a9471 Mon Sep 17 00:00:00 2001
+From: Henrik Loeser <data-henrik@users.noreply.github.com>
+Date: Wed, 20 May 2020 20:41:20 +0200
+Subject: [PATCH 20/25] additional Feitian keys
+
+K33 and K43, see https://www.ftsafe.com/Products/FIDO/Bio
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 2 +-
+ u2f.conf.sample | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 4ef1096..1427910 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -29,7 +29,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1e0d", ATTRS{idProduct
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e|2ccf", ATTRS{idProduct}=="0880", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # Feitian ePass FIDO, BioPass FIDO2
+-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0852|0853|0854|0856|0858|085a|085b|085d", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0852|0853|0854|0856|0858|085a|085b|085d|0866|0867", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # JaCarta U2F
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="24dc", ATTRS{idProduct}=="0101|0501", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index b796d3f..d3ed491 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -46,7 +46,7 @@ notify 100 {
+ match "subsystem" "DEVICE";
+ match "type" "ATTACH";
+ match "vendor" "0x096e";
+- match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d)";
++ match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d|0x0866|0x0867)";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
+
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0021-Github-Actions-do-not-run-scan-if-missing-credential.patch b/libraries/libu2f-host/patches/0021-Github-Actions-do-not-run-scan-if-missing-credential.patch
new file mode 100644
index 0000000000..66ceb1d9b3
--- /dev/null
+++ b/libraries/libu2f-host/patches/0021-Github-Actions-do-not-run-scan-if-missing-credential.patch
@@ -0,0 +1,62 @@
+From 33cd26f945925d64e0ccef41d13be17e84f99f44 Mon Sep 17 00:00:00 2001
+From: Gabriel Kihlman <g.kihlman@yubico.com>
+Date: Tue, 23 Jun 2020 16:25:16 +0200
+Subject: [PATCH 21/25] Github Actions: do not run scan if missing credentials
+
+Also toggle workflow to fail if there are warnings.
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ .github/workflows/scan.yml | 23 +++++++++++++----------
+ 1 file changed, 13 insertions(+), 10 deletions(-)
+
+diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml
+index ec6ba52..09f16ab 100644
+--- a/.github/workflows/scan.yml
++++ b/.github/workflows/scan.yml
+@@ -1,4 +1,5 @@
+ name: static code analysis
++# Documentation: https://github.com/Yubico/yes-static-code-analysis
+
+ on:
+ push:
+@@ -8,6 +9,7 @@ on:
+ env:
+ SCAN_IMG:
+ yes-docker-local.artifactory.in.yubico.org/static-code-analysis/c:v1
++ SECRET: ${{ secrets.ARTIFACTORY_READER_TOKEN }}
+
+ jobs:
+ build:
+@@ -16,17 +18,18 @@ jobs:
+ steps:
+ - uses: actions/checkout@master
+
+- - name: Prep scan
++ - name: Scan and fail on warnings
+ run: |
+- docker login yes-docker-local.artifactory.in.yubico.org/ \
+- -u svc-static-code-analysis-reader \
+- -p ${{ secrets.ARTIFACTORY_READER_TOKEN }}
+- docker pull ${SCAN_IMG}
+-
+- - name: Scan but do not fail on warnings
+- run: |
+- docker run -v${PWD}:/k -e COMPILE_DEPS="${COMPILE_DEPS}" \
+- -e PROJECT_NAME=${GITHUB_REPOSITORY#Yubico/} -t ${SCAN_IMG} || true
++ if [ "${SECRET}" != "" ]; then
++ docker login yes-docker-local.artifactory.in.yubico.org/ \
++ -u svc-static-code-analysis-reader -p ${SECRET}
++ docker pull ${SCAN_IMG}
++ docker run -v${PWD}:/k -e COMPILE_DEPS="${COMPILE_DEPS}" \
++ -e PROJECT_NAME=${GITHUB_REPOSITORY#Yubico/} \
++ -e PVS_IGNORE_WARNINGS=${PVS_IGNORE_WARNINGS} -t ${SCAN_IMG}
++ else
++ echo "No docker registry credentials, not scanning"
++ fi
+
+ - uses: actions/upload-artifact@master
+ if: failure()
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0022-Update-scan-action-with-correct-image-fqdn.patch b/libraries/libu2f-host/patches/0022-Update-scan-action-with-correct-image-fqdn.patch
new file mode 100644
index 0000000000..02559d6ac6
--- /dev/null
+++ b/libraries/libu2f-host/patches/0022-Update-scan-action-with-correct-image-fqdn.patch
@@ -0,0 +1,35 @@
+From 4c1428647ea83acdd1d7780338d0ed3d993f61ba Mon Sep 17 00:00:00 2001
+From: Marissa Nishimoto <marissa.nishimoto@yubico.com>
+Date: Mon, 27 Jul 2020 15:52:06 -0700
+Subject: [PATCH 22/25] Update scan action with correct image fqdn
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ .github/workflows/scan.yml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml
+index 09f16ab..d40da2f 100644
+--- a/.github/workflows/scan.yml
++++ b/.github/workflows/scan.yml
+@@ -8,7 +8,7 @@ on:
+
+ env:
+ SCAN_IMG:
+- yes-docker-local.artifactory.in.yubico.org/static-code-analysis/c:v1
++ yubico-yes-docker-local.jfrog.io/static-code-analysis/c:v1
+ SECRET: ${{ secrets.ARTIFACTORY_READER_TOKEN }}
+
+ jobs:
+@@ -21,7 +21,7 @@ jobs:
+ - name: Scan and fail on warnings
+ run: |
+ if [ "${SECRET}" != "" ]; then
+- docker login yes-docker-local.artifactory.in.yubico.org/ \
++ docker login yubico-yes-docker-local.jfrog.io/ \
+ -u svc-static-code-analysis-reader -p ${SECRET}
+ docker pull ${SCAN_IMG}
+ docker run -v${PWD}:/k -e COMPILE_DEPS="${COMPILE_DEPS}" \
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0023-Added-udev-rules-for-MIRKey-devices.patch b/libraries/libu2f-host/patches/0023-Added-udev-rules-for-MIRKey-devices.patch
new file mode 100644
index 0000000000..aeaa5769ae
--- /dev/null
+++ b/libraries/libu2f-host/patches/0023-Added-udev-rules-for-MIRKey-devices.patch
@@ -0,0 +1,44 @@
+From 929fda27c7453453ebc8d99c85208d82417009f6 Mon Sep 17 00:00:00 2001
+From: Kobus Grobler <kobus.grobler@gmail.com>
+Date: Wed, 26 Aug 2020 21:55:24 +0200
+Subject: [PATCH 23/25] Added udev rules for MIRKey devices
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 3 +++
+ u2f.conf.sample | 10 ++++++++++
+ 2 files changed, 13 insertions(+)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 1427910..0c2bc69 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -83,4 +83,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1d50", ATTRS{idProduct
+ # GoTrust Idem Key
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1fc9", ATTRS{idProduct}=="f143", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
++# ellipticSecure MIRKey
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ac", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++
+ LABEL="u2f_end"
+diff --git a/u2f.conf.sample b/u2f.conf.sample
+index d3ed491..36dead9 100644
+--- a/u2f.conf.sample
++++ b/u2f.conf.sample
+@@ -149,3 +149,13 @@ notify 100 {
+ match "product" "0xf143";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+ };
++
++# ellipticSecure MIRKey
++notify 100 {
++ match "system" "USB";
++ match "subsystem" "DEVICE";
++ match "type" "ATTACH";
++ match "vendor" "0x0483";
++ match "product" "0xa2ac";
++ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
++};
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0024-Update-Ledger-s-productIDs-add-Ledger-Blue.patch b/libraries/libu2f-host/patches/0024-Update-Ledger-s-productIDs-add-Ledger-Blue.patch
new file mode 100644
index 0000000000..791afdead6
--- /dev/null
+++ b/libraries/libu2f-host/patches/0024-Update-Ledger-s-productIDs-add-Ledger-Blue.patch
@@ -0,0 +1,34 @@
+From 443d2cea29fd4d9a9fa39b12d6556c85440cd8bc Mon Sep 17 00:00:00 2001
+From: TamtamHero <10632523+TamtamHero@users.noreply.github.com>
+Date: Wed, 30 Sep 2020 12:21:34 +0200
+Subject: [PATCH 24/25] Update Ledger's productIDs + add Ledger Blue
+
+Following https://www.ledger.com/windows-10-update-sunsetting-u2f-tunnel-transport-for-ledger-devices/, all Ledger products have changed the productID they advertise.
+There's now 2 different combinations commonly available per device:
+
+ HID + U2F -> xx05
+ HID + U2F + WebUSB-> xx15
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ 70-u2f.rules | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/70-u2f.rules b/70-u2f.rules
+index 0c2bc69..1f90ddf 100644
+--- a/70-u2f.rules
++++ b/70-u2f.rules
+@@ -65,8 +65,8 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1209", ATTRS{idProduct
+ # Infineon FIDO
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="058b", ATTRS{idProduct}=="022d", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+-# Ledger Nano S and Nano X
+-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001|0004", TAG+="uaccess", GROUP="plugdev", MODE="0660"
++# Ledger Blue, Nano S and Nano X
++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0000|0001|0004|0005|0015|1005|1015|4005|4015", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+
+ # Kensington VeriMark
+ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="06cb", ATTRS{idProduct}=="0088", TAG+="uaccess", GROUP="plugdev", MODE="0660"
+--
+2.32.0
+
diff --git a/libraries/libu2f-host/patches/0025-Add-deprecation-notice.patch b/libraries/libu2f-host/patches/0025-Add-deprecation-notice.patch
new file mode 100644
index 0000000000..99758317d0
--- /dev/null
+++ b/libraries/libu2f-host/patches/0025-Add-deprecation-notice.patch
@@ -0,0 +1,26 @@
+From 420a18112a0aab09f19915cd7465e471e29717cd Mon Sep 17 00:00:00 2001
+From: Gabriel Kihlman <g.kihlman@yubico.com>
+Date: Wed, 14 Oct 2020 14:16:07 +0200
+Subject: [PATCH 25/25] Add deprecation notice
+
+Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
+---
+ README | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/README b/README
+index bc920d6..4b5bc8c 100644
+--- a/README
++++ b/README
+@@ -10,7 +10,7 @@ device and perform the U2F Register and U2F Authenticate operations.
+ For the server-side aspect, see our
+ https://developers.yubico.com/libu2f-server/[libu2f-server project].
+
+-NOTE: This project is in maintenance mode,
++NOTE: This project is deprecated and is no longer being maintained.
+ https://developers.yubico.com/libfido2/[libfido2] is a new project with
+ support for U2F and FIDO2.
+
+--
+2.32.0
+
diff --git a/libraries/libuchardet/libuchardet.SlackBuild b/libraries/libuchardet/libuchardet.SlackBuild
index aa2b6cbbb4..81bf005b1e 100644
--- a/libraries/libuchardet/libuchardet.SlackBuild
+++ b/libraries/libuchardet/libuchardet.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libuchardet.
#
-# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - name SlackBuild *correctly* in the doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libuchardet
-VERSION=${VERSION:-0.0.6}
+VERSION=${VERSION:-0.0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -67,9 +77,9 @@ 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 {} \+
cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
@@ -77,22 +87,18 @@ cmake \
-DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
.
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
+make install/strip DESTDIR=$PKG
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
rm -rf $PKG/usr/share
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
+cp -a AUTHORS 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libuchardet/libuchardet.info b/libraries/libuchardet/libuchardet.info
index 1a881d06e5..5311854d12 100644
--- a/libraries/libuchardet/libuchardet.info
+++ b/libraries/libuchardet/libuchardet.info
@@ -1,8 +1,8 @@
PRGNAM="libuchardet"
-VERSION="0.0.6"
+VERSION="0.0.8"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/"
-DOWNLOAD="https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.6.tar.xz"
-MD5SUM="03425c0bbe5faaf399e15e947d3e03c7"
+DOWNLOAD="https://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz"
+MD5SUM="9e267be7aee81417e5875086dd9d44fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libucil/README b/libraries/libucil/README
index f5cc2c29c9..0f1e698d35 100644
--- a/libraries/libucil/README
+++ b/libraries/libucil/README
@@ -1,4 +1,4 @@
-Unicap provides a uniform interface to video capture devices. It allows
-applications to use any supported video capture device via a single API.
-The ucil library provides easy to use functions to render text and graphic
-overlays onto video images.
+Unicap provides a uniform interface to video capture devices. It
+allows applications to use any supported video capture device via a
+single API. The ucil library provides easy to use functions to render
+text and graphic overlays onto video images.
diff --git a/libraries/libucil/libucil.SlackBuild b/libraries/libucil/libucil.SlackBuild
index d52d6de5db..9857119e68 100644
--- a/libraries/libucil/libucil.SlackBuild
+++ b/libraries/libucil/libucil.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libucil
@@ -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.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove broken symlink from doc dir.
+# - do not write outside of $TMP.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libucil
VERSION=${VERSION:-20160609}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
#Source name and ID (GitHub).
SRCNAM=unicap
@@ -39,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}
@@ -64,15 +75,22 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVER
-tar xvzf $CWD/$SRCNAM-$SRCVER.tar.gz
+
+# 20220424 bkw: this tarball contains a symlink whose target
+# is /usr/share/gtk-doc/data/gtk-doc.make. Extracting the
+# tarball actually touches the file in /usr, so don't do that.
+# This script doesn't build the gtk stuff, so it doesn't matter
+# about the symlink.
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz \
+ --wildcards --exclude='*/libunicapgtk/doc/libunicapgtk/gtk-doc.make'
cd $SRCNAM-$SRCVER/$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 {} \+
# Generate configuration files.
autoreconf --force --install
@@ -85,22 +103,20 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
- | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
PRGSHR=$PKG/usr/share
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
# Install documentation.
mkdir -p $PRGDOC
-cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/
-ln -sf /usr/share/gtk-doc/html/$PRGNAM $PRGDOC/html
+cp -a AUTHORS COPYING ChangeLog README $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$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/libraries/libucl/README b/libraries/libucl/README
new file mode 100644
index 0000000000..20fcca85c5
--- /dev/null
+++ b/libraries/libucl/README
@@ -0,0 +1,12 @@
+Libucl is a universal configuration library parser.
+UCL is heavily infused by nginx configuration as the example of a
+convenient configuration system.
+However, UCL is fully compatible with JSON format and is able to parse
+json files.
+UCL has clear design that should be very convenient for reading and
+writing. At the same time it is compatible with JSON language and
+therefore can be used as a simple JSON parser. Macro logic provides an
+ability to extend configuration language
+(for example by including some lua code) and comments allow to disable
+or enable the parts of a configuration quickly.
+examples at github page.
diff --git a/libraries/libucl/libucl.SlackBuild b/libraries/libucl/libucl.SlackBuild
new file mode 100644
index 0000000000..0177e1705c
--- /dev/null
+++ b/libraries/libucl/libucl.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for libucl
+
+# 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=libucl
+VERSION=${VERSION:-0.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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 \
+
+./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
+
+find $PKG -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
+
+find $PKG -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING 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/libraries/libucl/libucl.info b/libraries/libucl/libucl.info
new file mode 100644
index 0000000000..91e5df5e94
--- /dev/null
+++ b/libraries/libucl/libucl.info
@@ -0,0 +1,10 @@
+PRGNAM="libucl"
+VERSION="0.8.1"
+HOMEPAGE="https://github.com/vstakhov/libucl"
+DOWNLOAD="https://github.com/vstakhov/libucl/archive/0.8.1/libucl-0.8.1.tar.gz"
+MD5SUM="e509017ecc7d780bb94c40d9c0039cf0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/libucl/slack-desc b/libraries/libucl/slack-desc
new file mode 100644
index 0000000000..67c0616215
--- /dev/null
+++ b/libraries/libucl/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------------------------------------------------------|
+libucl: libucl (BSD's Universal Config Language - git version)
+libucl:
+libucl: Libucl is a Universal configuration library parser
+libucl:
+libucl:
+libucl:
+libucl:
+libucl:
+libucl:
+libucl: Home: https://github.com/vstakhov/libucl
+libucl:
diff --git a/libraries/libudfread/README b/libraries/libudfread/README
new file mode 100644
index 0000000000..5d9cb8dbec
--- /dev/null
+++ b/libraries/libudfread/README
@@ -0,0 +1 @@
+Library for reading UDFs as implemented by the VideoLAN team.
diff --git a/libraries/libudfread/libudfread.SlackBuild b/libraries/libudfread/libudfread.SlackBuild
new file mode 100644
index 0000000000..4d6230109f
--- /dev/null
+++ b/libraries/libudfread/libudfread.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for libudfread
+
+# Copyright 2023 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=libudfread
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+autoreconf -vif
+./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
+
+find $PKG -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 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/libraries/libudfread/libudfread.info b/libraries/libudfread/libudfread.info
new file mode 100644
index 0000000000..e8e4592d4c
--- /dev/null
+++ b/libraries/libudfread/libudfread.info
@@ -0,0 +1,10 @@
+PRGNAM="libudfread"
+VERSION="1.1.2"
+HOMEPAGE="https://code.videolan.org/videolan/libudfread"
+DOWNLOAD="https://code.videolan.org/videolan/libudfread/-/archive/1.1.2/libudfread-1.1.2.tar.gz"
+MD5SUM="e53c37085c3bf01d5c6623021563dcae"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/libudfread/slack-desc b/libraries/libudfread/slack-desc
new file mode 100644
index 0000000000..8870870022
--- /dev/null
+++ b/libraries/libudfread/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------------------------------------------------------|
+libudfread: libudfread (UDF Reader)
+libudfread:
+libudfread: Library for reading UDFs as implemented by the VideoLAN team.
+libudfread:
+libudfread: Homepage: https://code.videolan.org/videolan/libudfread
+libudfread:
+libudfread:
+libudfread:
+libudfread:
+libudfread:
+libudfread:
diff --git a/libraries/libunibreak/README b/libraries/libunibreak/README
deleted file mode 100644
index 4002eb2f91..0000000000
--- a/libraries/libunibreak/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Libunibreak is an implementation of the line breaking and word breaking
-algorithms as described in Unicode Standard Annex 14 and Unicode Standard
-Annex 29.
-
-It is designed to be used in a generic text renderer. FBReader is one
-real-world example, and the Enlightenment Foundation Libraries are another.
-You may also check some simple sample code, like showbreak and breaktext.
diff --git a/libraries/libunibreak/libunibreak.SlackBuild b/libraries/libunibreak/libunibreak.SlackBuild
deleted file mode 100644
index 2055fa3591..0000000000
--- a/libraries/libunibreak/libunibreak.SlackBuild
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libunibreak
-# Maintained as of version 3.0 by slackmart <slackmart@gmail.com>
-# Revision date: 2016/09/29
-
-PRGNAM=libunibreak
-VERSION=${VERSION:-3.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 {} \;
-
-# Use "-j1" to avoid some warnings
-
-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 \
- --build=$ARCH-slackware-linux
-
-make -j1 LIBDIR=/usr/lib${LIBDIRSUFFIX}
-make install 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $TMP/$PRGNAM-$VERSION/README.md $TMP/$PRGNAM-$VERSION/LICENCE $PKG/usr/doc/$PRGNAM-$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/libraries/libunibreak/libunibreak.info b/libraries/libunibreak/libunibreak.info
deleted file mode 100644
index bfa38ab432..0000000000
--- a/libraries/libunibreak/libunibreak.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libunibreak"
-VERSION="3.0"
-HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/"
-DOWNLOAD="https://github.com/adah1972/libunibreak/releases/download/libunibreak_3_0/libunibreak-3.0.tar.gz"
-MD5SUM="13e9a325c00b5943d6afb21f028635e6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Martin Rodriguez"
-EMAIL="slackmart@gmail.com"
diff --git a/libraries/libunibreak/slack-desc b/libraries/libunibreak/slack-desc
deleted file mode 100644
index c03d40dccd..0000000000
--- a/libraries/libunibreak/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------------------------------------------------------|
-libunibreak: libunibreak (a line breaking library)
-libunibreak:
-libunibreak: Libunibreak is an implementation of the line breaking and word
-libunibreak: breaking algorithms as described in Unicode Standard Annex 14 and
-libunibreak: Unicode Standard Annex 29.
-libunibreak:
-libunibreak: It is designed to be used in a generic text renderer. FBReader is
-libunibreak: one real-world example, and the Enlightenment Foundation Libraries
-libunibreak: are another.
-libunibreak:
-libunibreak: http://vimgadgets.sourceforge.net/libunibreak/
diff --git a/libraries/libunicap/gcc10.patch b/libraries/libunicap/gcc10.patch
new file mode 100644
index 0000000000..638f4eb8d9
--- /dev/null
+++ b/libraries/libunicap/gcc10.patch
@@ -0,0 +1,25 @@
+Patch by Robert Scheck <robert@fedoraproject.org> for libunicap <= 0.9.12 to declare the
+struct as extern in header files (https://gcc.gnu.org/gcc-10/porting_to.html).
+
+--- libunicap-0.9.12/common/queue.h 2010-01-17 08:49:29.000000000 +0100
++++ libunicap-0.9.12/common/queue.h.gcc10 2020-02-09 23:30:16.963136320 +0100
+@@ -24,7 +24,7 @@
+ #include <sys/time.h>
+ #include <semaphore.h>
+
+-struct _unicap_queue
++extern struct _unicap_queue
+ {
+ sem_t sema;
+ sem_t *psema;
+--- libunicap-0.9.12/cpi/euvccam/queue.h 2010-01-19 07:52:49.000000000 +0100
++++ libunicap-0.9.12/cpi/euvccam/queue.h.gcc10 2020-02-09 23:30:05.037048713 +0100
+@@ -24,7 +24,7 @@
+ #include <sys/time.h>
+ #include <semaphore.h>
+
+-struct _unicap_queue
++extern struct _unicap_queue
+ {
+ sem_t sema;
+ sem_t *psema;
diff --git a/libraries/libunicap/libunicap.SlackBuild b/libraries/libunicap/libunicap.SlackBuild
index 35f2eee368..d9b730847a 100644
--- a/libraries/libunicap/libunicap.SlackBuild
+++ b/libraries/libunicap/libunicap.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libunicap
# Written by Matteo Bernardini <ponce@slackbuilds.org>
# based on slackbuilds.org default template
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libunicap
VERSION=${VERSION:-0.9.12}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -52,10 +62,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/gcc10.patch
+
# This header has moved
sed -i "s|linux\/videodev\.|libv4l1-videodev.|" \
cpi/v4l/v4l.c cpi/v4l2cpi/uvcvideo.h
+sed -i "s|charset=|charset=UTF-8|" po/de.po
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,8 +100,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libunicapgtk/libunicapgtk.SlackBuild b/libraries/libunicapgtk/libunicapgtk.SlackBuild
index 1dedcd03f6..7aa352da8c 100644
--- a/libraries/libunicapgtk/libunicapgtk.SlackBuild
+++ b/libraries/libunicapgtk/libunicapgtk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libunicapgtk
@@ -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=libunicapgtk
VERSION=${VERSION:-20160609}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Source name and ID (GitHub).
SRCNAM=unicap
@@ -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}
@@ -99,8 +109,10 @@ mkdir -p $PRGDOC
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$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/libraries/libuninameslist/README b/libraries/libuninameslist/README
new file mode 100644
index 0000000000..e6954d1778
--- /dev/null
+++ b/libraries/libuninameslist/README
@@ -0,0 +1,5 @@
+This library contains large arrays with one entry for each
+unicode code point.Each entry contains two strings, a name and
+annotation. Either or both may be NULL.This contains a smaller
+list of unicode blocks.
+
diff --git a/libraries/libuninameslist/libuninameslist.SlackBuild b/libraries/libuninameslist/libuninameslist.SlackBuild
new file mode 100644
index 0000000000..c39ab375cd
--- /dev/null
+++ b/libraries/libuninameslist/libuninameslist.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for libuninameslist
+
+# Copyright 2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libuninameslist
+VERSION=${VERSION:-20230916}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+autoreconf -fiv
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-frenchlib \
+ --with-gnu-ld \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libuninameslist/libuninameslist.info b/libraries/libuninameslist/libuninameslist.info
new file mode 100644
index 0000000000..ea0f8af881
--- /dev/null
+++ b/libraries/libuninameslist/libuninameslist.info
@@ -0,0 +1,10 @@
+PRGNAM="libuninameslist"
+VERSION="20230916"
+HOMEPAGE="https://github.com/fontforge/libuninameslist"
+DOWNLOAD="https://github.com/fontforge/libuninameslist/archive/20230916/libuninameslist-20230916.tar.gz"
+MD5SUM="f5e15126c9d01c9c54bdd15de7c82d53"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libuninameslist/slack-desc b/libraries/libuninameslist/slack-desc
new file mode 100644
index 0000000000..a0ebbbad81
--- /dev/null
+++ b/libraries/libuninameslist/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+libuninameslist: libuninameslist (Unicode Names and Annotation Data Library)
+libuninameslist:
+libuninameslist: This library contains large arrays with one entry for each
+libuninameslist: unicode code point.Each entry contains two strings, a name and
+libuninameslist: annotation. Either or both may be NULL.This contains a smaller
+libuninameslist: list of unicode blocks.
+libuninameslist:
+libuninameslist:
+libuninameslist: Homepage:https://github.com/fontforge/libuninameslist
+libuninameslist:
+libuninameslist:
diff --git a/libraries/libunique/libunique.SlackBuild b/libraries/libunique/libunique.SlackBuild
index 2a815437f2..ccd3e7ba36 100644
--- a/libraries/libunique/libunique.SlackBuild
+++ b/libraries/libunique/libunique.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libunique
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libunique
VERSION=${VERSION:-1.1.6}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-6}
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"
@@ -81,8 +91,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libunique3/libunique3.SlackBuild b/libraries/libunique3/libunique3.SlackBuild
index 3d34a088d8..0ae0b6d51e 100644
--- a/libraries/libunique3/libunique3.SlackBuild
+++ b/libraries/libunique3/libunique3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libunique3
@@ -24,27 +24,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=libunique3
SRCNAM=libunique
VERSION=${VERSION:-3.0.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"
@@ -98,8 +108,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libunwind/README b/libraries/libunwind/README
deleted file mode 100644
index c650d3ee47..0000000000
--- a/libraries/libunwind/README
+++ /dev/null
@@ -1,9 +0,0 @@
-Libunwind is a portable and efficient C programming interface
-to determine the call-chain of a program.
-
-The API is useful in a number of applications:
-
-* debuggers
-* introspection
-* efficient setjmp()
-* ...
diff --git a/libraries/libunwind/libunwind.SlackBuild b/libraries/libunwind/libunwind.SlackBuild
deleted file mode 100644
index 6d9dbe168f..0000000000
--- a/libraries/libunwind/libunwind.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libunwind
-
-# Copyright 2013 tjohann <thorsten.johannvorderbrueggen@t-online.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=libunwind
-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 [ "$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
-
-DOCS="AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README TODO"
-
-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 {} \;
-
-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 pdf # doesn't work
-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 $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/libraries/libunwind/libunwind.info b/libraries/libunwind/libunwind.info
deleted file mode 100644
index 4f4c7c124b..0000000000
--- a/libraries/libunwind/libunwind.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libunwind"
-VERSION="1.1"
-HOMEPAGE="http://www.nongnu.org/libunwind/"
-DOWNLOAD="http://download.savannah.nongnu.org/releases/libunwind/libunwind-1.1.tar.gz"
-MD5SUM="fb4ea2f6fbbe45bf032cd36e586883ce"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="tjohann"
-EMAIL="thorsten.johannvorderbrueggen@t-online.de"
diff --git a/libraries/libunwind/slack-desc b/libraries/libunwind/slack-desc
deleted file mode 100644
index 3fe00993a0..0000000000
--- a/libraries/libunwind/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------------------------------------------------------|
-libunwind: libunwind (C programming interface to determine the call-chain)
-libunwind:
-libunwind: It is a portable and efficient C programming interface
-libunwind: to determine the call-chain of a program.
-libunwind: The API is useful in a number of applications:
-libunwind: * debuggers
-libunwind: * introspection
-libunwind: * efficient setjmp()
-libunwind: * ...
-libunwind:
-libunwind: Homepage: http://www.nongnu.org/libunwind
diff --git a/libraries/libupnp-legacy/libupnp-legacy.SlackBuild b/libraries/libupnp-legacy/libupnp-legacy.SlackBuild
index f6de1c0c98..376b35ce3d 100644
--- a/libraries/libupnp-legacy/libupnp-legacy.SlackBuild
+++ b/libraries/libupnp-legacy/libupnp-legacy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libupnp
@@ -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=libupnp-legacy
VERSION=${VERSION:-1.6.25}
-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}
@@ -99,8 +109,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE THANKS $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/libraries/libupnp/libupnp.SlackBuild b/libraries/libupnp/libupnp.SlackBuild
index 98174bf26c..4a1022d2f1 100644
--- a/libraries/libupnp/libupnp.SlackBuild
+++ b/libraries/libupnp/libupnp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libupnp
@@ -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=libupnp
-VERSION=${VERSION:-1.8.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.14.12}
+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,7 +85,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/patches/01_remove_threadpool_h.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -97,12 +106,15 @@ 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
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE THANKS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING THANKS 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/libraries/libupnp/libupnp.info b/libraries/libupnp/libupnp.info
index bd63584737..d57e56aff3 100644
--- a/libraries/libupnp/libupnp.info
+++ b/libraries/libupnp/libupnp.info
@@ -1,8 +1,8 @@
PRGNAM="libupnp"
-VERSION="1.8.3"
+VERSION="1.14.12"
HOMEPAGE="http://pupnp.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/pupnp/libupnp-1.8.3.tar.bz2"
-MD5SUM="3ea76f8f1819598be52dd1f330ceafaa"
+DOWNLOAD="https://sourceforge.net/projects/pupnp/files/release-1.14.12/libupnp-1.14.12.tar.bz2"
+MD5SUM="63a51264054f62947f930c2f89e49b28"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/liburcu/liburcu.SlackBuild b/libraries/liburcu/liburcu.SlackBuild
index e1f82d09bd..de6cfa4a34 100644
--- a/libraries/liburcu/liburcu.SlackBuild
+++ b/libraries/liburcu/liburcu.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for liburcu
-# Copyright 2013-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-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=liburcu
-VERSION=${VERSION:-0.11.1}
+VERSION=${VERSION:-0.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=userspace-rcu
if [ -z "$ARCH" ]; then
@@ -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}
@@ -92,8 +99,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md LICENSE ChangeLog *.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/libraries/liburcu/liburcu.info b/libraries/liburcu/liburcu.info
index 653bf7bee8..842c329e86 100644
--- a/libraries/liburcu/liburcu.info
+++ b/libraries/liburcu/liburcu.info
@@ -1,8 +1,8 @@
PRGNAM="liburcu"
-VERSION="0.11.1"
+VERSION="0.14.0"
HOMEPAGE="http://liburcu.org/"
-DOWNLOAD="https://www.lttng.org/files/urcu/userspace-rcu-0.11.1.tar.bz2"
-MD5SUM="91c75d5902127f94ab556ce039b369ca"
+DOWNLOAD="https://lttng.org/files/urcu/userspace-rcu-0.14.0.tar.bz2"
+MD5SUM="0cd5647788b048a5d6bbdb3b08d46299"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libuv/README b/libraries/libuv/README
deleted file mode 100644
index 7f4ea4e1cf..0000000000
--- a/libraries/libuv/README
+++ /dev/null
@@ -1 +0,0 @@
-libuv is a multi-platform support library with a focus on asynchronous I/O.
diff --git a/libraries/libuv/libuv.SlackBuild b/libraries/libuv/libuv.SlackBuild
deleted file mode 100644
index da22cc61ad..0000000000
--- a/libraries/libuv/libuv.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for libuv
-
-# Copyright 2014-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=libuv
-VERSION=${VERSION:-1.34.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-v$VERSION
-tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
-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 {} \;
-
-./autogen.sh
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
-
-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 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/libraries/libuv/libuv.info b/libraries/libuv/libuv.info
deleted file mode 100644
index 11f477e570..0000000000
--- a/libraries/libuv/libuv.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libuv"
-VERSION="1.34.2"
-HOMEPAGE="http://libuv.org/"
-DOWNLOAD="https://dist.libuv.org/dist/v1.34.2/libuv-v1.34.2.tar.gz"
-MD5SUM="a10243f691f7707f1d903d80e347b549"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/libraries/libuv/slack-desc b/libraries/libuv/slack-desc
deleted file mode 100644
index e164db36c0..0000000000
--- a/libraries/libuv/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------------------------------------------------------|
-libuv: libuv (Cross-platform asychronous I/O)
-libuv:
-libuv: libuv is a multi-platform support library with a focus on
-libuv: asynchronous I/O.
-libuv:
-libuv:
-libuv:
-libuv:
-libuv:
-libuv:
-libuv:
diff --git a/libraries/libvdpau-va-gl/README b/libraries/libvdpau-va-gl/README
index 628ba5215a..b4c64e143f 100644
--- a/libraries/libvdpau-va-gl/README
+++ b/libraries/libvdpau-va-gl/README
@@ -22,9 +22,6 @@ Intel chips, and on some AMD video adapters with help of
xvba-va-driver. OpenGL is available, you know, on systems with
OpenGL available.
-Note:
-
-This SlackBuild creates scripts in /etc/profile.d for enabling
-the backend. This may conflicts with the dependent `libvdpau'
-package. Whilst `libvdpau' has the VDPAU_DRIVER variable disabled
-per default it may conflicts if you changed anything in there.
+After installation, it may be necessary to edit
+ /etc/profile.d/vdpau.{sh,csh}
+to select a backend by uncommenting the appropriate VDPAU_DRIVER.
diff --git a/libraries/libvdpau-va-gl/doinst.sh b/libraries/libvdpau-va-gl/doinst.sh
deleted file mode 100644
index 76c6259a2d..0000000000
--- a/libraries/libvdpau-va-gl/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/vdpau-va-gl.sh.new
-config etc/profile.d/vdpau-va-gl.csh.new
diff --git a/libraries/libvdpau-va-gl/libvdpau-va-gl.SlackBuild b/libraries/libvdpau-va-gl/libvdpau-va-gl.SlackBuild
index a5920305b1..36c2adebf9 100644
--- a/libraries/libvdpau-va-gl/libvdpau-va-gl.SlackBuild
+++ b/libraries/libvdpau-va-gl/libvdpau-va-gl.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for "libvdpau-va-gl".
+# Slackware build script for libvdpau-va-gl
# Copyright 2015-2016 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2022 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -24,24 +25,33 @@
# (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=libvdpau-va-gl
VERSION=${VERSION:-0.4.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
+ case "$(uname -m)" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
+ *) 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}
+DOCS="ChangeLog LICENSE README.md"
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -62,14 +72,10 @@ 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 . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 .
mkdir -p build
cd build
@@ -78,24 +84,18 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
make
make install/strip DESTDIR=$PKG
cd ..
-mkdir -p $PKG/etc/profile.d
-cp $CWD/profile.d/vdpau-va-gl.sh $PKG/etc/profile.d/vdpau-va-gl.sh.new
-cp $CWD/profile.d/vdpau-va-gl.csh $PKG/etc/profile.d/vdpau-va-gl.csh.new
-chown root:root $PKG/etc/profile.d/*
-chmod 755 $PKG/etc/profile.d/*
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog LICENSE README.md $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
-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/libraries/libvdpau-va-gl/libvdpau-va-gl.info b/libraries/libvdpau-va-gl/libvdpau-va-gl.info
index 9c4802b9eb..799dcf36e6 100644
--- a/libraries/libvdpau-va-gl/libvdpau-va-gl.info
+++ b/libraries/libvdpau-va-gl/libvdpau-va-gl.info
@@ -1,10 +1,10 @@
PRGNAM="libvdpau-va-gl"
VERSION="0.4.2"
-HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl/"
-DOWNLOAD="https://github.com/i-rinat/libvdpau-va-gl/archive/v0.4.2.tar.gz"
+HOMEPAGE="https://github.com/i-rinat/libvdpau-va-gl"
+DOWNLOAD="https://github.com/i-rinat/libvdpau-va-gl/archive/v0.4.2/libvdpau-va-gl-0.4.2.tar.gz"
MD5SUM="8db21dcfd5cd14c6ec51b992e20369dc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg"
-MAINTAINER="Marcel Saegebarth"
-EMAIL="marc@mos6581.de"
+REQUIRES=""
+MAINTAINER="Kyle Guinn"
+EMAIL="elyk03@gmail.com"
diff --git a/libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.csh b/libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.csh
deleted file mode 100644
index f11658b6b5..0000000000
--- a/libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.csh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/csh
-
-setenv VDPAU_DRIVER va_gl
diff --git a/libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.sh b/libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.sh
deleted file mode 100644
index d39e5d69e5..0000000000
--- a/libraries/libvdpau-va-gl/profile.d/vdpau-va-gl.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-VDPAU_DRIVER=va_gl
-export VDPAU_DRIVER=va_gl
diff --git a/libraries/libvdpau-va-gl/slack-desc b/libraries/libvdpau-va-gl/slack-desc
index e4d0b18f6f..f2203b6249 100644
--- a/libraries/libvdpau-va-gl/slack-desc
+++ b/libraries/libvdpau-va-gl/slack-desc
@@ -10,7 +10,7 @@ libvdpau-va-gl: libvdpau-va-gl (VDPAU driver with VA-API/OpenGL backend)
libvdpau-va-gl:
libvdpau-va-gl: VDPAU driver with VA-API/OpenGL backend.
libvdpau-va-gl:
-libvdpau-va-gl: Homepage: https://github.com/i-rinat/libvdpau-va-gl/
+libvdpau-va-gl:
libvdpau-va-gl:
libvdpau-va-gl:
libvdpau-va-gl:
diff --git a/libraries/libvdwxc/README b/libraries/libvdwxc/README
new file mode 100644
index 0000000000..3d39987289
--- /dev/null
+++ b/libraries/libvdwxc/README
@@ -0,0 +1,9 @@
+ libvdwxc is a general library for evaluating energy and potential
+for exchange-correlation (XC) functionals from the vdW-DF family
+that can be used with various of density functional theory (DFT)
+codes. This work was inspired by success of libXC, a library for
+local and semilocal XC functionals. At the moment, libvdwxc provides
+access to the DF1, DF2, and CX functionals and interfaces for GPAW
+and Octopus. The library has been tested with respect to the S22
+test set, various bulk properties of metals and semiconductors,
+and surface energies.
diff --git a/libraries/libvdwxc/libvdwxc.SlackBuild b/libraries/libvdwxc/libvdwxc.SlackBuild
new file mode 100644
index 0000000000..07b87ecad9
--- /dev/null
+++ b/libraries/libvdwxc/libvdwxc.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for libvdwxc
+
+# 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=libvdwxc
+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"
+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_dir && cd build_dir
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --disable-static \
+ $OPT_BUILD \
+ --build=$ARCH-slackware-linux
+
+make
+[[ "${CHECK}" == "yes" ]] && make check
+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 {AUTHORS,COPYING,README} $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libvdwxc/libvdwxc.info b/libraries/libvdwxc/libvdwxc.info
new file mode 100644
index 0000000000..d71baa0613
--- /dev/null
+++ b/libraries/libvdwxc/libvdwxc.info
@@ -0,0 +1,10 @@
+PRGNAM="libvdwxc"
+VERSION="0.4.0"
+HOMEPAGE="https://libvdwxc.gitlab.io/libvdwxc"
+DOWNLOAD="https://launchpad.net/libvdwxc/stable/0.4.0/+download/libvdwxc-0.4.0.tar.gz"
+MD5SUM="68196798d69d593b62ea9f482468db66"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libvdwxc/slack-desc b/libraries/libvdwxc/slack-desc
new file mode 100644
index 0000000000..789dc42068
--- /dev/null
+++ b/libraries/libvdwxc/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------------------------------------------------------|
+libvdwxc: libvdwxc (A library for vdW-DF exchange-correlation functionals)
+libvdwxc:
+libvdwxc: libvdwxc is a general library for evaluating energy and potential
+libvdwxc: for exchange-correlation (XC) functionals from the vdW-DF family
+libvdwxc: that can be used with various of density functional theory (DFT)
+libvdwxc: codes. This work was inspired by success of libXC, a library for
+libvdwxc: local and semilocal XC functionals. At the moment, libvdwxc provides
+libvdwxc: access to the DF1, DF2, and CX functionals and interfaces for GPAW
+libvdwxc: and Octopus. The library has been tested with respect to the S22
+libvdwxc: test set, various bulk properties of metals and semiconductors,
+libvdwxc: and surface energies.
diff --git a/libraries/libversion/README b/libraries/libversion/README
index 396b54a0f0..e751f02468 100644
--- a/libraries/libversion/README
+++ b/libraries/libversion/README
@@ -1,3 +1,3 @@
-libversion is an advanced version string comparison library used by the
-Repology project. It is capable of comparing version strings even if they are
-written in different formats.
+libversion is an advanced version string comparison library used by
+the Repology project. It is capable of comparing version strings even
+if they are written in different formats.
diff --git a/libraries/libversion/libversion.SlackBuild b/libraries/libversion/libversion.SlackBuild
index a1353ac193..595cd1875d 100644
--- a/libraries/libversion/libversion.SlackBuild
+++ b/libraries/libversion/libversion.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libversion
-# Copyright 2017-2019 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
@@ -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=libversion
-VERSION=${VERSION:-2.9.1}
+VERSION=${VERSION:-3.0.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}
@@ -71,6 +81,7 @@ find -L . \
mkdir -p build
cd build
+ export "PATH=/opt/cmake-202x/bin:$PATH"
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -88,7 +99,7 @@ fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES.md COPYING README.md TODO.md \
+ CHANGES.md COPYING README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,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/libraries/libversion/libversion.info b/libraries/libversion/libversion.info
index 60fbb16516..6cd5ce9099 100644
--- a/libraries/libversion/libversion.info
+++ b/libraries/libversion/libversion.info
@@ -1,8 +1,8 @@
PRGNAM="libversion"
-VERSION="2.9.1"
+VERSION="3.0.1"
HOMEPAGE="https://github.com/repology/libversion"
-DOWNLOAD="https://github.com/repology/libversion/archive/2.9.1/libversion-2.9.1.tar.gz"
-MD5SUM="8c23275bc0e57b7958a696d533266f8b"
+DOWNLOAD="https://github.com/repology/libversion/archive/3.0.1/libversion-3.0.1.tar.gz"
+MD5SUM="b519c52e6fe6a59138d9182aff437b1b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libvhdi/README b/libraries/libvhdi/README
index d148ce9f51..093682e476 100644
--- a/libraries/libvhdi/README
+++ b/libraries/libvhdi/README
@@ -1,14 +1,18 @@
-libvhdi (libYAL VHD library)
+libvhdi is a library to access the Virtual Hard Disk image format.
-Library and tools to access the Virtual Hard Disk (VHD) image format.
+Project information:
+
+* Status: alpha
+* Licence: LGPLv3+
Read supported formats:
- VHD version 1
+* Virtual Hard Disk version 1 (VHD)
+* Virtual Hard Disk version 2 (VHDX)
Supported image types:
- Fixed-size hard disk image
- Dynamic-size (or sparse) hard disk image
- Differential (or differencing) hard disk image
- Note that an undo disk image (.vud) is also a differential image
+* Fixed-size hard disk image
+* Dynamic-size (or sparse) hard disk image
+* Differential (or differencing) hard disk image
+ * Note that an undo disk image (.vud) is also a differential image
diff --git a/libraries/libvhdi/libvhdi.SlackBuild b/libraries/libvhdi/libvhdi.SlackBuild
index 28bbaa99b3..19f507d58d 100644
--- a/libraries/libvhdi/libvhdi.SlackBuild
+++ b/libraries/libvhdi/libvhdi.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvhdi
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated v20231127, December 2023
-# Updated v20181227 March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libvhdi
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20231127}
STATUS=${STATUS:-alpha}
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,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-alpha-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS ChangeLog 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/libraries/libvhdi/libvhdi.info b/libraries/libvhdi/libvhdi.info
index c3ba492f3d..157a9634c5 100644
--- a/libraries/libvhdi/libvhdi.info
+++ b/libraries/libvhdi/libvhdi.info
@@ -1,8 +1,8 @@
PRGNAM="libvhdi"
-VERSION="20181227"
+VERSION="20231127"
HOMEPAGE="https://github.com/libyal/libvhdi"
-DOWNLOAD="https://github.com/libyal/libvhdi/releases/download/20181227/libvhdi-alpha-20181227.tar.gz"
-MD5SUM="8431221f021ff3374b8aa3b9bf5e38f4"
+DOWNLOAD="https://linuxleo.com/Source/libvhdi-alpha-20231127.tar.gz"
+MD5SUM="796be759a9ff68ac18d768d7b396cf92"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libvhdi/slack-desc b/libraries/libvhdi/slack-desc
index a02c644bf9..d1985fbbf3 100644
--- a/libraries/libvhdi/slack-desc
+++ b/libraries/libvhdi/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
libvhdi: libvhdi (libYAL VHD library)
libvhdi:
-libvhdi: Library to access the Virtual Hard Disk (VHD) image format.
+libvhdi: Library to access the Virtual Hard Disk (VHD/VHDx) image format.
libvhdi:
libvhdi: Homepage: https://github.com/libyal/libvhdi
libvhdi:
diff --git a/libraries/libvidcap/libvidcap.SlackBuild b/libraries/libvidcap/libvidcap.SlackBuild
index 92aa6d77a0..e05f7cde46 100644
--- a/libraries/libvidcap/libvidcap.SlackBuild
+++ b/libraries/libvidcap/libvidcap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Libvidcap.
#
@@ -23,27 +23,37 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libvidcap
VERSION=${VERSION:-0.2.1}
-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}
DOCS="COPYING.LESSER"
-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,8 +102,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/libraries/libviper/README b/libraries/libviper/README
deleted file mode 100644
index 15cca2e38b..0000000000
--- a/libraries/libviper/README
+++ /dev/null
@@ -1,3 +0,0 @@
-libviper is an API which builds on top of ncurses and libgpm to offer simple
-window creation and management facilities for developers who want to quickly
-create text interfacs. libviper offers an alternative to the panels library.
diff --git a/libraries/libviper/libviper-1.4.6-Makefile.patch b/libraries/libviper/libviper-1.4.6-Makefile.patch
deleted file mode 100644
index eb17f226d1..0000000000
--- a/libraries/libviper/libviper-1.4.6-Makefile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.orig 2009-05-22 13:24:34.000000000 +0100
-+++ Makefile 2009-05-22 13:25:19.000000000 +0100
-@@ -31,11 +31,11 @@
- rm -f viper_wide.h
-
- install:
-+ mkdir -p $(includedir) $(libdir)
- chmod 644 viper.h
- cp -f viper.h $(includedir)
- chmod 755 libviper.so
- cp -f libviper.so $(libdir)
-- ldconfig
-
- install_wide:
- chmod 644 viper.h
diff --git a/libraries/libviper/libviper.SlackBuild b/libraries/libviper/libviper.SlackBuild
deleted file mode 100644
index f8f5a1fdd8..0000000000
--- a/libraries/libviper/libviper.SlackBuild
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for libviper.
-#
-# Copyright 2009 Pierre Cazenave <email removed>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Previously maintained by Gerardo Zamudio.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
-
-# 20170825 bkw:
-# - take over maintenance.
-# - don't install useless INSTALL in doc dir.
-# - simplify script a bit.
-
-PRGNAM=libviper
-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
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
-chown -R root:root .
-chmod 644 *
-
-# patch the Makefile with a custom patch to correct hard-coded paths
-patch -p0 < $CWD/libviper-1.4.6-Makefile.patch
-
-make CFLAGS="$SLKCFLAGS"
-strip $PRGNAM.so
-make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX}
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG LICENSE $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$TAG
-
-mkdir -p $PKG/install
-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/libraries/libviper/libviper.info b/libraries/libviper/libviper.info
deleted file mode 100644
index bd0ab11386..0000000000
--- a/libraries/libviper/libviper.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libviper"
-VERSION="1.4.6"
-HOMEPAGE="http://libviper.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libviper/libviper-1.4.6.tar.gz"
-MD5SUM="6b78e595b4e494976acd6f99fc8fdc7e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/libraries/libviper/slack-desc b/libraries/libviper/slack-desc
deleted file mode 100644
index 1d691bfe34..0000000000
--- a/libraries/libviper/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------------------------------------------------------|
-libviper: libviper (simple ncurses window creation and management facilities)
-libviper:
-libviper: libviper is an API which builds on top of ncurses and libgpm to offer
-libviper: simple window creation and management facilities for developers who
-libviper: want to quickly create text interfaces.
-libviper: libviper offers an alternative to the panels library.
-libviper:
-libviper: Homepage: http://libviper.sourceforge.net
-libviper:
-libviper:
-libviper:
diff --git a/libraries/libvirt-glib/libvirt-glib.SlackBuild b/libraries/libvirt-glib/libvirt-glib.SlackBuild
index 60a9c1969f..0c46671882 100644
--- a/libraries/libvirt-glib/libvirt-glib.SlackBuild
+++ b/libraries/libvirt-glib/libvirt-glib.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvirt-glib
-# Copyright 2012-2017 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2012-2024 Robby Workman, Tuscaloosa, Alabama, 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=libvirt-glib
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-5.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}
@@ -57,7 +67,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 . \
@@ -66,27 +76,24 @@ find -L . \
\( -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 \
- --build=$ARCH-slackware-linux \
- --disable-static
-
-make
-make install DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --prefix=/usr
+ "${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 ChangeLog INSTALL NEWS README \
+ AUTHORS COPYING HACKING NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -94,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/libraries/libvirt-glib/libvirt-glib.info b/libraries/libvirt-glib/libvirt-glib.info
index 90a4b953cc..5528f83e51 100644
--- a/libraries/libvirt-glib/libvirt-glib.info
+++ b/libraries/libvirt-glib/libvirt-glib.info
@@ -1,10 +1,10 @@
PRGNAM="libvirt-glib"
-VERSION="1.0.0"
+VERSION="5.0.0"
HOMEPAGE="http://libvirt.org/"
-DOWNLOAD="https://libvirt.org/sources/glib/libvirt-glib-1.0.0.tar.gz"
-MD5SUM="cb1332e97c175606306fe8966f8243af"
+DOWNLOAD="https://download.libvirt.org/glib/libvirt-glib-5.0.0.tar.xz"
+MD5SUM="2e36b42b91bb98fac22321b5afc5a835"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libvirt vala"
+REQUIRES="libvirt"
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"
diff --git a/libraries/libvirt-python/libvirt-python.SlackBuild b/libraries/libvirt-python/libvirt-python.SlackBuild
index 9688b5afe4..0537d46b8e 100644
--- a/libraries/libvirt-python/libvirt-python.SlackBuild
+++ b/libraries/libvirt-python/libvirt-python.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvirt-python
-# Copyright 2013-2018 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2013-2024 Robby Workman, Tuscaloosa, Alabama, 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=libvirt-python
-VERSION=${VERSION:-4.5.0}
+VERSION=${VERSION:-10.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}
@@ -66,14 +76,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 \
- AUTHORS COPYING* ChangeLog NEWS PKG-INFO README \
+ AUTHORS COPYING* ChangeLog PKG-INFO README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libvirt-python/libvirt-python.info b/libraries/libvirt-python/libvirt-python.info
index 0670df4073..6615835754 100644
--- a/libraries/libvirt-python/libvirt-python.info
+++ b/libraries/libvirt-python/libvirt-python.info
@@ -1,8 +1,8 @@
PRGNAM="libvirt-python"
-VERSION="4.5.0"
-HOMEPAGE="http://libvirt.org"
-DOWNLOAD="https://libvirt.org/sources/python/libvirt-python-4.5.0.tar.gz"
-MD5SUM="0c1b66a8878d6436b036565060707f73"
+VERSION="10.2.0"
+HOMEPAGE="https://libvirt.org"
+DOWNLOAD="https://download.libvirt.org/python/libvirt-python-10.2.0.tar.gz"
+MD5SUM="59404dd6b0658f1b2257dc6c9c314aab"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libvirt"
diff --git a/libraries/libvirt/README b/libraries/libvirt/README
index 865d1a545d..adddc0abc1 100644
--- a/libraries/libvirt/README
+++ b/libraries/libvirt/README
@@ -6,10 +6,11 @@ capabilities of recent versions of Linux (and other OSes).
Most optional dependencies are autodetected and having the required
libs in place will build the respective features automatically.
-The group can be specified at build time like this:
-VIRTGROUP=somegroup ./libvirt.SlackBuild (default: users)
-You'll want to keep this in sync with what qemu uses (it also
-defaults to the "users" group).
+The user and group can be specified at build time like this:
+VIRTUSER=someuser VIRTGROUP=someuser ./libvirt.SlackBuild
+(default is VIRTUSER=root VIRTGROUP=users)
+You'll want to keep this in sync with what qemu uses
+(it also defaults to these)
If you want to start the libvirt daemon at boot, add this
to /etc/rc.d/rc.local
@@ -27,27 +28,42 @@ and if you want it to stop at shutdown add this to
/etc/rc.d/rc.libvirt stop
fi
-The enclosed rc.libvirt script will do a 'managedsave' on all running
-and paused guests when issuing 'rc.libvirt stop'. Please note that this
-saves the RAM of each guest to the host system's disk (by default under
-/var/lib/libvirt/qemu/save) - so make sure enough space is available. If
-you prefer to perform a full shutdown on all running guests instead,
-issue a 'rc.libvirt guests_shutdown' followed by 'rc.libvirt shutdown'.
+The enclosed rc.libvirt script will do a 'managedsave' on all running
+and paused guests when issuing 'rc.libvirt stop'. Please note that
+this saves the RAM of each guest to the host system's disk (by default
+under /var/lib/libvirt/qemu/save) - so make sure enough space is
+available. If you prefer to perform a full shutdown on all running
+guests instead, issue a 'rc.libvirt guests_shutdown' followed by
+'rc.libvirt shutdown'.
-By default 'rc.libvirt stop' and 'rc.libvirt guests_shutdown' will wait
-a maximum of 5 minutes for all guests to shutdown, after which any
-guests still running will be destroyed. Adjust this to a suitable value
-for your system, as destroying a running guest carries a high risk of
-data loss!
+By default 'rc.libvirt stop' and 'rc.libvirt guests_shutdown' will
+wait a maximum of 5 minutes for all guests to shutdown, after which
+any guests still running will be destroyed. Adjust this to a suitable
+value for your system, as destroying a running guest carries a high
+risk of data loss!
There is also a 'guests_reboot' for rebooting all running guests.
Have a look at the commented part of rc.libvirt for some gotchas.
-netcat-openbsd is an optional dependency (needed if you
-want to connect from a remote host using virt-manager).
-Other optional dependencies include avahi, xen, audit, glusterfs,
-and numactl.
+Optional dependencies include avahi, xen, audit, glusterfs, numactl,
+open-iscsi and libiscsi.
As of the 4.5.0 version, you may have to remove any previously
-installed versions of libvirt before this will build.
+installed version of libvirt before this will build.
+
+Note also that sometimes, in consequence of a major-version upgrade,
+you might discover that the libvirt configuration is in an inconsistent
+state (machine networking broken and so on) and when this happens and a
+simple reboot won't solve you might want to consider starting from a
+clean state. To do this:
+- backup the existing vms files and their configurations too (with
+ "virsh dumpxml $name > ${name}.xml", check all the *dumpxml commands
+ available with "virsh help")
+- remove libvirt
+- delete all system directories (/var/lib/libvirt, /var/log/libvirt,
+ /etc/libvirt)
+- install the new libvirt package, logout and login again (might help)
+ and start the daemon
+- recreate your configurations (network and so on)
+- reimport the vms xml backups (with "virsh define ${name}.xml")
diff --git a/libraries/libvirt/libvirt.SlackBuild b/libraries/libvirt/libvirt.SlackBuild
index 84008caff4..aee47c31c7 100644
--- a/libraries/libvirt/libvirt.SlackBuild
+++ b/libraries/libvirt/libvirt.SlackBuild
@@ -1,13 +1,19 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvirt
# Written by Michal Bialozor <bialyy@o2.pl>
# Maintained by Robby Workman <rworkman@slackbuilds.org>
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binaries.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libvirt
-VERSION=${VERSION:-4.5.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-10.2.0}
+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}
@@ -33,8 +43,16 @@ else
LIBDIRSUFFIX=""
fi
+VIRTUSER=${VIRTUSER:-root}
VIRTGROUP=${VIRTGROUP:-users}
+# Some optional dependencies checks
+audit="dis" ; if pkg-config --exists audit ; then audit="en" ; fi
+bash_completion="" ; if pkg-config --exists bash-completion ; then
+ bash_completion="-Dbash_completion=enabled -Dbash_completion_dir=/usr/share/bash-completion/completions"
+fi
+libiscsi="dis" ; if pkg-config --exists libiscsi ; then libiscsi="en" ; fi
+
set -e
rm -rf $PKG
@@ -43,46 +61,62 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+rm -fR tests/vircaps2xmldata # either this or find outputs "filesystem loop detected"
chown -R root: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 {} \+
# we have sysctld files in /etc/sysctl.d
-sed -i "s|(prefix)/lib/sysctl|(sysconfdir)/sysctl|" src/Makefile.in
+sed -i "s|prefix / 'lib' / 'sysctl.d'|sysconfdir / 'sysctl.d'|" src/remote/meson.build
patch -p1 < $CWD/use-virtgroup-in-polkit-rules.diff
sed -i -e "s,@VIRTGROUP@,$VIRTGROUP,g" src/remote/libvirtd.rules
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --bindir=/usr/sbin \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --enable-shared=yes \
- --with-yajl \
- --with-qemu-group=$VIRTGROUP \
- --with-init-script=none
-
-make \
- HTML_DIR=/usr/doc/$PRGNAM-$VERSION \
- EXAMPLE_DIR=/usr/doc/$PRGNAM-$VERSION/examples
-make \
- HTML_DIR=/usr/doc/$PRGNAM-$VERSION \
- EXAMPLE_DIR=/usr/doc/$PRGNAM-$VERSION/examples \
- install-strip DESTDIR=$PKG
+# Since 5.10: "configure: error: Build directory must be different from source directory"
+mkdir -p build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson setup .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dqemu_group=$VIRTGROUP \
+ -Dqemu_user=$VIRTUSER \
+ $bash_completion \
+ -Daudit=${audit}abled \
+ -Dlibiscsi=${libiscsi}abled \
+ -Dopenwsman=disabled \
+ -Dapparmor=disabled \
+ -Dselinux=disabled \
+ -Dwireshark_dissector=disabled \
+ -Ddriver_bhyve=disabled \
+ -Ddriver_hyperv=disabled \
+ -Ddriver_libxl=disabled \
+ -Ddriver_vz=disabled \
+ -Dsecdriver_apparmor=disabled \
+ -Dsecdriver_selinux=disabled \
+ -Dstorage_vstorage=disabled \
+ -Ddtrace=disabled \
+ -Dstrip=true \
+ -Dinit_script=none
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
# we don't have augeas
rm -fr $PKG/usr/share/augeas
+# this tree is recreated when starting the daemon
+rm -fR $PKG/var/run
+
# add an rc.libvirt to start/stop/restart the daemon
install -D -m 0755 $CWD/rc.libvirt $PKG/etc/rc.d/rc.libvirt.new
@@ -102,15 +136,20 @@ sed -i \
$PKG/etc/libvirt/qemu.conf
# disable seccomp support or else VMs won't start with new libvirt/qemu combo
-sed -i "s|^\#seccomp_sandbox = 1|seccomp_sandbox = 0|" \
- $PKG/etc/libvirt/qemu.conf
+# 20220212 bkw: this file doesn't exist if qemu wasn't installed. and
+# since qemu isn't in REQUIRES, it's optional, so the build shouldn't fail.
+if [ -e $PKG/etc/libvirt/qemu.conf ]; then
+ sed -i "s|^\#seccomp_sandbox = 1|seccomp_sandbox = 0|" \
+ $PKG/etc/libvirt/qemu.conf
+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
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -fR $PKG/usr/share/doc
cp -a \
- AUTHORS ChangeLog COPYING* INSTALL README NEWS examples/polkit/* \
+ *.rst COPYING* examples/polkit/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -129,4 +168,4 @@ for i in etc/libvirt etc/libvirt/nwfilter etc/libvirt/qemu/networks etc/logrotat
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/libraries/libvirt/libvirt.info b/libraries/libvirt/libvirt.info
index f8186d1ad3..7d431f6fe3 100644
--- a/libraries/libvirt/libvirt.info
+++ b/libraries/libvirt/libvirt.info
@@ -1,10 +1,10 @@
PRGNAM="libvirt"
-VERSION="4.5.0"
+VERSION="10.2.0"
HOMEPAGE="http://libvirt.org"
-DOWNLOAD="https://libvirt.org/sources/libvirt-4.5.0.tar.xz"
-MD5SUM="692b2d00907438ed08a68813d3177cd3"
+DOWNLOAD="https://libvirt.org/sources/libvirt-10.2.0.tar.xz"
+MD5SUM="f0856217199b32447704fb741d4a8edc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="yajl urlgrabber"
+REQUIRES="yajl"
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"
diff --git a/libraries/libvirt/rc.libvirt b/libraries/libvirt/rc.libvirt
index fb058a7189..31ccfb1b77 100644
--- a/libraries/libvirt/rc.libvirt
+++ b/libraries/libvirt/rc.libvirt
@@ -11,6 +11,7 @@
# script if this behaviour conflicts with anything else running
# on your setup
+VIRSH=/usr/bin/virsh
MODULES="tun vhost_net"
TIMEOUT=${TIMEOUT:-300}
LIBVIRTD_PIDFILE="/var/run/libvirt/libvirtd.pid"
@@ -22,16 +23,16 @@ VIRTLOCKD_OPTS=${VIRTLOCKD_OPTS:-" -f /etc/libvirt/virtlockd.conf -p $VIRTLOCKD_
guests_reboot() {
- for machine in $(/usr/sbin/virsh list --name --state-running | grep -v ^$) ; do
- /usr/sbin/virsh reboot $machine
+ for machine in $($VIRSH list --name --state-running | grep -v ^$) ; do
+ $VIRSH reboot $machine
done
}
guests_shutdown() {
- for machine in $(/usr/sbin/virsh list --name --state-running | grep -v ^$) ; do
- /usr/sbin/virsh shutdown $machine &
+ for machine in $($VIRSH list --name --state-running | grep -v ^$) ; do
+ $VIRSH shutdown $machine &
done
sleep 2
@@ -40,7 +41,7 @@ guests_shutdown() {
count=0
- while [ $(/usr/sbin/virsh list --name --state-running | grep -v ^$ | wc -l) -gt "0" ]; do
+ while [ $($VIRSH list --name --state-running | grep -v ^$ | wc -l) -gt "0" ]; do
if [ "$count" -ge "$TIMEOUT" ];then
break
fi
@@ -51,11 +52,11 @@ guests_shutdown() {
echo ""
- if [ $(/usr/sbin/virsh list --name --state-running | grep -v ^$ | wc -l) -gt "0" ];then
+ if [ $($VIRSH list --name --state-running | grep -v ^$ | wc -l) -gt "0" ];then
echo -n "The following guests are still running after $TIMEOUT seconds; destroying them: "
- for machine in $(/usr/sbin/virsh list --name --state-running | grep -v ^$) ; do
- /usr/sbin/virsh destroy $machine
+ for machine in $($VIRSH list --name --state-running | grep -v ^$) ; do
+ $VIRSH destroy $machine
echo -n "$machine "
done
@@ -73,8 +74,8 @@ guests_managedsave() {
# apply managedsave on running and paused machines (as we can't distinguish between
# the two states while managedsave is being applied, so won't know when to finish waiting)
- for machine in $(/usr/sbin/virsh list --name | grep -v ^$) ; do
- /usr/sbin/virsh managedsave $machine &
+ for machine in $($VIRSH list --name | grep -v ^$) ; do
+ $VIRSH managedsave $machine &
done
sleep 2
@@ -83,7 +84,7 @@ guests_managedsave() {
count=0
- while [ $(/usr/sbin/virsh list --name | grep -v ^$ | wc -l) -gt "0" ]; do
+ while [ $($VIRSH list --name | grep -v ^$ | wc -l) -gt "0" ]; do
if [ "$count" -ge "$TIMEOUT" ];then
break
fi
@@ -94,11 +95,11 @@ guests_managedsave() {
echo ""
- if [ $(/usr/sbin/virsh list --name | grep -v ^$ | wc -l) -gt "0" ];then
+ if [ $($VIRSH list --name | grep -v ^$ | wc -l) -gt "0" ];then
echo -n "Following guests are still running after $TIMEOUT seconds, destroying them: "
- for machine in $(/usr/sbin/virsh list --name | grep -v ^$) ; do
- /usr/sbin/virsh destroy $machine
+ for machine in $($VIRSH list --name | grep -v ^$) ; do
+ $VIRSH destroy $machine
echo -n "$machine "
done
@@ -140,7 +141,7 @@ start_libvirtd() {
exit 1
fi
echo "Starting libvirtd: /usr/sbin/libvirtd -d "
- mkdir -p $(dirname $LIBVIRTD_PIDFILE)
+ mkdir -p $(dirname $LIBVIRTD_PIDFILE) /run/libvirt/{lockd,lxc,network,qemu/swtpm}
check_processor
/sbin/modprobe -a $MODULES
/usr/sbin/libvirtd -d -l $LIBVIRTD_OPTS
@@ -154,8 +155,8 @@ stop_libvirtd() {
guests_managedsave
check_processor
echo "Stopping libvirtd..."
- for network in $(/usr/sbin/virsh net-list --name); do
- /usr/sbin/virsh net-destroy "$network"
+ for network in $($VIRSH net-list --name); do
+ $VIRSH net-destroy "$network"
done
kill -TERM $(cat $LIBVIRTD_PIDFILE)
sleep 3
diff --git a/libraries/libvmdk/README b/libraries/libvmdk/README
index ea36b34250..6f81978679 100644
--- a/libraries/libvmdk/README
+++ b/libraries/libvmdk/README
@@ -1,21 +1,22 @@
libvmdk (libYAL VMDK library)
-Library and tools to access the VMware Virtual Disk (VMDK) image format.
+Library and tools to access the VMware Virtual Disk (VMDK) image
+format.
Read supported extent file formats:
-RAW (flat)
-COWD version 1 (sparse)
- -VMDK version 1, 2 and 3 (sparse)
+ -VMDK version 1, 2 and 3 (sparse)
Supported VMDK format features:
-delta links
-grain compression (as of version 20131209)
- -data markers (as of version 20140416)
+ -data markers (as of version 20140416)
VMDK format features not supported at the moment:
-images that use a physical device
- -changed block tracking (CBT) (supported by VMDK version 3 (sparse))
- change tracking file
+ -changed block tracking (CBT) (supported by VMDK version 3
+ (sparse)) change tracking file
diff --git a/libraries/libvmdk/libvmdk.SlackBuild b/libraries/libvmdk/libvmdk.SlackBuild
index 1e31e5a995..a7c55f64d8 100644
--- a/libraries/libvmdk/libvmdk.SlackBuild
+++ b/libraries/libvmdk/libvmdk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvmdk
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 20220215 bkw: Modified by SlackBuilds.org:
+# - update for v20221124 since the old version's source vanished.
+# - don't install useless ABOUT-NLS and INSTALL in doc dir.
+#
+# Updated v20221124, July 2023
-# Updated v20181227 March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libvmdk
-VERSION=${VERSION:-20181227}
-STATUS=${STATUS:-alpha}
+VERSION=${VERSION:-20221124}
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"
@@ -63,14 +73,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-alpha-"$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 {} \+
CFLAGS="$SLKCFLAGS -std=gnu89" \
CXXFLAGS="$SLKCFLAGS -std=gnu89" \
@@ -81,21 +91,21 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--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
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog 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/libraries/libvmdk/libvmdk.info b/libraries/libvmdk/libvmdk.info
index 5978b0981d..b10638018e 100644
--- a/libraries/libvmdk/libvmdk.info
+++ b/libraries/libvmdk/libvmdk.info
@@ -1,8 +1,8 @@
PRGNAM="libvmdk"
-VERSION="20181227"
+VERSION="20221124"
HOMEPAGE="https://github.com/libyal/libvmdk"
-DOWNLOAD="https://github.com/libyal/libvmdk/releases/download/20181227/libvmdk-alpha-20181227.tar.gz"
-MD5SUM="db6b971e680a7e4e852656e2681c1285"
+DOWNLOAD="https://linuxleo.com/Source/libvmdk-alpha-20221124.tar.gz"
+MD5SUM="c61f05d917f4634a40c92613ce1de7f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libvmime/README b/libraries/libvmime/README
index 7da89bede1..d22a8bd10f 100644
--- a/libraries/libvmime/README
+++ b/libraries/libvmime/README
@@ -1,2 +1,3 @@
-VMime is a free mail library for C++, an open-source solution for working
-with MIME messages and Internet messaging services like IMAP, POP or SMTP.
+VMime is a free mail library for C++, an open-source solution for
+working with MIME messages and Internet messaging services like IMAP,
+POP or SMTP.
diff --git a/libraries/libvmime/libvmime.SlackBuild b/libraries/libvmime/libvmime.SlackBuild
index 6693de9b56..41c883414c 100644
--- a/libraries/libvmime/libvmime.SlackBuild
+++ b/libraries/libvmime/libvmime.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvmime:
# a library for working with MIME messages
@@ -25,28 +25,38 @@
# revision date 2013/03/31
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libvmime
SRCNAM=vmime
-VERSION=${VERSION:-156edf5c}
-GITVER=${GITVER:-156edf5cba99a9d95bb3cfbcbd287c449a9385d9}
+VERSION=${VERSION:-5617460}
+GITVER=${GITVER:-561746081f633245b326e31e6ef0f2ef20b48ef6}
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,7 +90,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
@@ -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/libraries/libvmime/libvmime.info b/libraries/libvmime/libvmime.info
index 3f388bc292..28aa64063a 100644
--- a/libraries/libvmime/libvmime.info
+++ b/libraries/libvmime/libvmime.info
@@ -1,8 +1,8 @@
PRGNAM="libvmime"
-VERSION="156edf5c"
+VERSION="5617460"
HOMEPAGE="https://www.vmime.org/"
-DOWNLOAD="https://github.com/kisli/vmime/archive/156edf5cba99a9d95bb3cfbcbd287c449a9385d9.zip"
-MD5SUM="e31a255226d97df04f217161b835208f"
+DOWNLOAD="https://github.com/kisli/vmime/archive/561746081f633245b326e31e6ef0f2ef20b48ef6.zip"
+MD5SUM="5529edd2ce85950fc51ad66cb6a30ed2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgsasl"
diff --git a/libraries/libvorbisidec/README b/libraries/libvorbisidec/README
index 7495370d37..4815e6a1f3 100644
--- a/libraries/libvorbisidec/README
+++ b/libraries/libvorbisidec/README
@@ -8,5 +8,6 @@ exposes an API intended to be as similar as possible to the familiar
libraries distributed for free by Xiph.org.
Tremor can be used along with any ANSI compliant stdio implementation
-for file/stream access, or use custom stream i/o routines provided by an
-embedded environment. Both uses are described in detail in documentation.
+for file/stream access, or use custom stream i/o routines provided
+by an embedded environment. Both uses are described in detail in
+documentation.
diff --git a/libraries/libvorbisidec/libvorbisidec.SlackBuild b/libraries/libvorbisidec/libvorbisidec.SlackBuild
index 6f2e750787..854b76ed13 100644
--- a/libraries/libvorbisidec/libvorbisidec.SlackBuild
+++ b/libraries/libvorbisidec/libvorbisidec.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvorbisidec
@@ -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=libvorbisidec
VERSION=${VERSION:-1.0.2+svn16259}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCS="CHANGELOG COPYING README"
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"
@@ -91,8 +101,10 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION/html
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/libraries/libvsapm/README b/libraries/libvsapm/README
new file mode 100644
index 0000000000..22ac8f56f2
--- /dev/null
+++ b/libraries/libvsapm/README
@@ -0,0 +1,14 @@
+libvsapm is a library to access the Apple Partition Map (APM)
+volume system format.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+For more information see:
+
+* Project documentation:
+ https://github.com/libyal/libvsapm/wiki/Home
+* How to build from source:
+ https://github.com/libyal/libvsapm/wiki/Building
diff --git a/libraries/libvsapm/libvsapm.SlackBuild b/libraries/libvsapm/libvsapm.SlackBuild
new file mode 100644
index 0000000000..b143f842ca
--- /dev/null
+++ b/libraries/libvsapm/libvsapm.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libvsapm
+
+# Copyright 2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+#
+# Initial version 20230506 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libvsapm
+VERSION=${VERSION:-20230506}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar 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
diff --git a/libraries/libvsapm/libvsapm.info b/libraries/libvsapm/libvsapm.info
new file mode 100644
index 0000000000..91fd196ec8
--- /dev/null
+++ b/libraries/libvsapm/libvsapm.info
@@ -0,0 +1,10 @@
+PRGNAM="libvsapm"
+VERSION="20230506"
+HOMEPAGE="https://github.com/libyal/libvsapm"
+DOWNLOAD="https://linuxleo.com/Source/libvsapm-experimental-20230506.tar.gz"
+MD5SUM="a12b286a330beaa88f561043be872199"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libvsapm/slack-desc b/libraries/libvsapm/slack-desc
new file mode 100644
index 0000000000..dfc6c42a61
--- /dev/null
+++ b/libraries/libvsapm/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------------------------------------------------------|
+libvsapm: libvsapm (libYAL APM library)
+libvsapm:
+libvsapm: Library to access the Apple Partition Map (APM) volume system format.
+libvsapm:
+libvsapm: Homepage: https://github.com/libyal/libvsapm
+libvsapm:
+libvsapm:
+libvsapm:
+libvsapm:
+libvsapm:
+libvsapm:
diff --git a/libraries/libvsgpt/README b/libraries/libvsgpt/README
new file mode 100644
index 0000000000..c6438b04dd
--- /dev/null
+++ b/libraries/libvsgpt/README
@@ -0,0 +1,11 @@
+libvsgpt is a library to access the GUID Partition Table (GPT)
+volume system.
+
+Project information:
+
+* Status: experimental
+* Licence: LGPLv3+
+
+For more information see:
+
+* Project documentation: https://github.com/libyal/libvsgpt/wiki/Home)
diff --git a/libraries/libvsgpt/libvsgpt.SlackBuild b/libraries/libvsgpt/libvsgpt.SlackBuild
new file mode 100644
index 0000000000..adf912946d
--- /dev/null
+++ b/libraries/libvsgpt/libvsgpt.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libvsgpt
+
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.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.
+
+# Updated for version 20221029 July 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libvsgpt
+VERSION=${VERSION:-20221029}
+STATUS=${STATUS:-experimental}
+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-$STATUS-$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 -std=gnu89" \
+CXXFLAGS="$SLKCFLAGS -std=gnu89" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-python3 \
+ --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 -ar ChangeLog 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
diff --git a/libraries/libvsgpt/libvsgpt.info b/libraries/libvsgpt/libvsgpt.info
new file mode 100644
index 0000000000..d2a50bab11
--- /dev/null
+++ b/libraries/libvsgpt/libvsgpt.info
@@ -0,0 +1,10 @@
+PRGNAM="libvsgpt"
+VERSION="20221029"
+HOMEPAGE="https://github.com/libyal/libvsgpt"
+DOWNLOAD="https://linuxleo.com/Source/libvsgpt-experimental-20221029.tar.gz"
+MD5SUM="0b10d643ee80741b71303b934d3e1255"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Barry J. Grundy"
+EMAIL="bgrundy<at>linuxleo.com"
diff --git a/libraries/libvsgpt/slack-desc b/libraries/libvsgpt/slack-desc
new file mode 100644
index 0000000000..4f15ee33c5
--- /dev/null
+++ b/libraries/libvsgpt/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------------------------------------------------------|
+libvsgpt: libvsgpt (libYAL library to access the GUID partition system)
+libvsgpt:
+libvsgpt:
+libvsgpt: Library to access to access the GPT partition system.
+libvsgpt:
+libvsgpt:
+libvsgpt: Homepage: https://github.com/libyal/libvsgpt
+libvsgpt:
+libvsgpt:
+libvsgpt:
+libvsgpt:
diff --git a/libraries/libvshadow/README b/libraries/libvshadow/README
index 26a163b842..2d242827b4 100644
--- a/libraries/libvshadow/README
+++ b/libraries/libvshadow/README
@@ -1,5 +1,5 @@
libvshadow (libYAL Volume Shadow library)
-Library and tools to access the Volume Shadow Snapshot (VSS) format. The VSS
-format is used by Windows, as of Vista, to maintain copies of data on a storage
-media volume.
+Library and tools to access the Volume Shadow Snapshot (VSS) format.
+The VSS format is used by Windows, as of Vista, to maintain copies of
+data on a storage media volume.
diff --git a/libraries/libvshadow/libvshadow.SlackBuild b/libraries/libvshadow/libvshadow.SlackBuild
index 47a0847467..18c6bb0833 100644
--- a/libraries/libvshadow/libvshadow.SlackBuild
+++ b/libraries/libvshadow/libvshadow.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvshadow
-
-# Copyright 2014-2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2014-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,14 +21,17 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated v20221030, July 2023
-# Updated v20190127, March 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libvshadow
-VERSION=${VERSION:-20190127}
+VERSION=${VERSION:-20221030}
STATUS=${STATUS:-alpha}
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}
@@ -63,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog 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/libraries/libvshadow/libvshadow.info b/libraries/libvshadow/libvshadow.info
index a0bf6ec43d..8493d505a1 100644
--- a/libraries/libvshadow/libvshadow.info
+++ b/libraries/libvshadow/libvshadow.info
@@ -1,8 +1,8 @@
PRGNAM="libvshadow"
-VERSION="20190127"
+VERSION="20221030"
HOMEPAGE="https://github.com/libyal/libvshadow"
-DOWNLOAD="https://github.com/libyal/libvshadow/releases/download/20190127/libvshadow-alpha-20190127.tar.gz"
-MD5SUM="4f2e410c68d65991e3d9c0749f97f6b6"
+DOWNLOAD="https://linuxleo.com/Source/libvshadow-alpha-20221030.tar.gz"
+MD5SUM="a32346be98190fc8b9e64b3892bbc72a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libvslvm/README b/libraries/libvslvm/README
index 56af6637a1..ed9d49b9a1 100644
--- a/libraries/libvslvm/README
+++ b/libraries/libvslvm/README
@@ -1,6 +1,7 @@
libvslvm (libYAL Linux LVM library)
-Library to access the Linux Logical Volume Manager (LVM) volume system format.
+Library to access the Linux Logical Volume Manager (LVM) volume system
+format.
Not supported:
diff --git a/libraries/libvslvm/libvslvm.SlackBuild b/libraries/libvslvm/libvslvm.SlackBuild
index 5bd8486314..fb01d3d3b6 100644
--- a/libraries/libvslvm/libvslvm.SlackBuild
+++ b/libraries/libvslvm/libvslvm.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvslvm
-
-# Copyright 2016 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2016-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated to v20221025, July 2023
-# Updated to v20181227 Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libvslvm
-VERSION=${VERSION:-20181227}
+VERSION=${VERSION:-20221025}
STATUS=${STATUS:-experimental}
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,7 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$STATUS-$VERSION.tar.gz
+tar xvf $CWD/"$PRGNAM"-"$STATUS"-"$VERSION".tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS ChangeLog 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/libraries/libvslvm/libvslvm.info b/libraries/libvslvm/libvslvm.info
index 7a373becd0..d8f47ed13a 100644
--- a/libraries/libvslvm/libvslvm.info
+++ b/libraries/libvslvm/libvslvm.info
@@ -1,8 +1,8 @@
PRGNAM="libvslvm"
-VERSION="20181227"
+VERSION="20221025"
HOMEPAGE="https://github.com/libyal/libvslvm"
-DOWNLOAD="https://github.com/libyal/libvslvm/releases/download/20181227/libvslvm-experimental-20181227.tar.gz"
-MD5SUM="e868b645ccb218a7597281c74c606653"
+DOWNLOAD="https://linuxleo.com/Source/libvslvm-experimental-20221025.tar.gz"
+MD5SUM="d57ca4f0c1c5dff437c29e73f28ca289"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libvterm/README b/libraries/libvterm/README
index 471658d06c..4123f4831c 100644
--- a/libraries/libvterm/README
+++ b/libraries/libvterm/README
@@ -1 +1,2 @@
-Abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator.
+Abstract library implementation of a VT220/xterm/ECMA-48 terminal
+emulator.
diff --git a/libraries/libvterm/libvterm.SlackBuild b/libraries/libvterm/libvterm.SlackBuild
index d1a4114b48..34aa147774 100644
--- a/libraries/libvterm/libvterm.SlackBuild
+++ b/libraries/libvterm/libvterm.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libvterm
-# Copyright 2015-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2024 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2021-2022 Ruben Schuller <sb@rbn.im>
+# Copyright 2015-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=libvterm
-VERSION=${VERSION:-0.1}
+VERSION=${VERSION:-0.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -71,17 +80,16 @@ find -L . \
make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.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 \
- $PKG/usr/doc/$PRGNAM-$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/libraries/libvterm/libvterm.info b/libraries/libvterm/libvterm.info
index ef619f38c1..c0c9acf72b 100644
--- a/libraries/libvterm/libvterm.info
+++ b/libraries/libvterm/libvterm.info
@@ -1,10 +1,10 @@
PRGNAM="libvterm"
-VERSION="0.1"
+VERSION="0.3.3"
HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
-DOWNLOAD="http://www.leonerd.org.uk/code/libvterm/libvterm-0.1.tar.gz"
-MD5SUM="ca15447f5b9fe2880313212f1817770b"
+DOWNLOAD="http://www.leonerd.org.uk/code/libvterm/libvterm-0.3.3.tar.gz"
+MD5SUM="7d86578b4966ce6c622fb3662d3d3ee8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/libwacom/README b/libraries/libwacom/README
deleted file mode 100644
index 6ee0b09e28..0000000000
--- a/libraries/libwacom/README
+++ /dev/null
@@ -1,5 +0,0 @@
-libwacom (Library to identify Wacom tablets and their features)
-
-Manages the libraries, configuration, and diagnostic tools for Wacom
-tablets running under Linux. It also maintains updated Linux kernel
-drivers and Xorg/XFree86 XInput drivers.
diff --git a/libraries/libwacom/libwacom.SlackBuild b/libraries/libwacom/libwacom.SlackBuild
deleted file mode 100644
index d05f7bf795..0000000000
--- a/libraries/libwacom/libwacom.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for libwacom.
-#
-# Copyright 2016-2019 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=libwacom
-VERSION=${VERSION:-1.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-$PRGNAM-$VERSION.tar.gz
-mv $PRGNAM-$PRGNAM-$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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./autogen.sh \
- --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
-
-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 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:-tgz}
diff --git a/libraries/libwacom/libwacom.info b/libraries/libwacom/libwacom.info
deleted file mode 100644
index 80b87362bb..0000000000
--- a/libraries/libwacom/libwacom.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libwacom"
-VERSION="1.2"
-HOMEPAGE="https://github.com/linuxwacom/libwacom"
-DOWNLOAD="https://github.com/linuxwacom/libwacom/archive/libwacom-1.2/libwacom-libwacom-1.2.tar.gz"
-MD5SUM="f7956584c6faa68621545865303697d4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
diff --git a/libraries/libwacom/slack-desc b/libraries/libwacom/slack-desc
deleted file mode 100644
index 35db81dc05..0000000000
--- a/libraries/libwacom/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------------------------------------------------------|
-libwacom: libwacom (Library to identify Wacom tablets and their features)
-libwacom:
-libwacom: Manages the libraries, configuration, and diagnostic tools for Wacom
-libwacom: tablets running under Linux. It also maintains updated Linux kernel
-libwacom: drivers and Xorg/XFree86 XInput drivers.
-libwacom:
-libwacom: Home Page: https://github.com/linuxwacom/libwacom
-libwacom:
-libwacom:
-libwacom:
-libwacom:
diff --git a/libraries/libwebp/README b/libraries/libwebp/README
deleted file mode 100644
index 1ea4235291..0000000000
--- a/libraries/libwebp/README
+++ /dev/null
@@ -1,18 +0,0 @@
-WebP is a method of lossy compression that can be used on photographic
-images. The degree of compression is adjustable so a user can choose
-the trade-off between file size and image quality.
-WebP typically achieves an average of 39% more compression than JPEG
-and JPEG 2000, without loss of image quality.
-
-WebP is a new image format that provides lossless and lossy compression for
-images on the web. WebP lossless images are 26% smaller in size compared to
-PNGs. WebP lossy images are 25-34% smaller in size compared to JPEG images at
-equivalent SSIM index.
-
-WebP supports lossless transparency (also known as alpha channel) with just 22%
-additional bytes. Transparency is also supported with lossy compression and
-typically provides 3x smaller file sizes compared to PNG when lossy compression
-is acceptable for the red/green/blue color channels.
-
-Webmasters and web developers can use the WebP image format to create smaller
-and richer images that can help make the web faster.
diff --git a/libraries/libwebp/libwebp.SlackBuild b/libraries/libwebp/libwebp.SlackBuild
deleted file mode 100644
index 7e4da7c575..0000000000
--- a/libraries/libwebp/libwebp.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for webP
-# written by powtrix (@gmail.com)
-
-PRGNAM=libwebp
-VERSION=${VERSION:-1.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}
-
-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} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --disable-static \
- --disable-silent-rules \
- --enable-everything \
- --enable-swap-16bit-csp \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-(
- cd swig
- # Fix temporary working directory.
- sed -i "/^tmpdir/s|=.*|= 'tmpdir'|" setup.py
- CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
- LDFLAGS="-L$PKG/usr/lib${LIBDIRSUFFIX} -lwebp" \
- python setup.py install --root=$PKG
- # Install the python3 module if python3 is installed
- if $(python3 -c 'import sys' 2>/dev/null); then
- CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
- LDFLAGS="-L$PKG/usr/lib${LIBDIRSUFFIX} -lwebp" \
- python3 setup.py install --root=$PKG
- fi
-)
-
-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 AUTHORS COPYING ChangeLog NEWS PATENTS 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/libraries/libwebp/libwebp.info b/libraries/libwebp/libwebp.info
deleted file mode 100644
index eb0e19dac9..0000000000
--- a/libraries/libwebp/libwebp.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libwebp"
-VERSION="1.0.3"
-HOMEPAGE="https://developers.google.com/speed/webp/"
-DOWNLOAD="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.0.3.tar.gz"
-MD5SUM="906ad85daaaa2eac97c8aa2dec9e8b77"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="powtrix"
-EMAIL="powtrix@gmail.com"
diff --git a/libraries/libwebp/slack-desc b/libraries/libwebp/slack-desc
deleted file mode 100644
index c37e841aaf..0000000000
--- a/libraries/libwebp/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------------------------------------------------------|
-libwebp: libwebp (WebP photo compression library)
-libwebp:
-libwebp: WebP is a method of lossy compression that can be used on
-libwebp: photographic images. The degree of compression is adjustable so a
-libwebp: user can choose the trade-off between file size and image quality.
-libwebp: WebP typically achieves an average of 39% more compression than
-libwebp: JPEG and JPEG 2000, without loss of image quality.
-libwebp:
-libwebp: Homepage: https://developers.google.com/speed/webp/
-libwebp:
-libwebp:
diff --git a/libraries/libwebsocketpp/libwebsocketpp.SlackBuild b/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
index 02c0640cfb..611569ea3d 100644
--- a/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
+++ b/libraries/libwebsocketpp/libwebsocketpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libwebsocketpp".
@@ -24,27 +24,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=websocketpp
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libwebsocketpp
+SRCNAM=websocketpp
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=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/libraries/libwebsocketpp/libwebsocketpp.info b/libraries/libwebsocketpp/libwebsocketpp.info
index 8027105bf5..a65bd523da 100644
--- a/libraries/libwebsocketpp/libwebsocketpp.info
+++ b/libraries/libwebsocketpp/libwebsocketpp.info
@@ -1,7 +1,7 @@
PRGNAM="libwebsocketpp"
VERSION="0.7.0"
HOMEPAGE="https://github.com/zaphoyd/websocketpp/"
-DOWNLOAD="https://github.com/zaphoyd/websocketpp/archive/0.7.0.tar.gz"
+DOWNLOAD="https://github.com/zaphoyd/websocketpp/archive/0.7.0/websocketpp-0.7.0.tar.gz"
MD5SUM="5027c20cde76fdaef83a74acfcf98e23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libwebsockets/README b/libraries/libwebsockets/README
index c6a09d422c..07ad2618bc 100644
--- a/libraries/libwebsockets/README
+++ b/libraries/libwebsockets/README
@@ -1,2 +1,2 @@
-This is the libwebsockets C library for lightweight websocket clients and
-servers.
+This is the libwebsockets C library for lightweight websocket clients
+and servers.
diff --git a/libraries/libwebsockets/libwebsockets.SlackBuild b/libraries/libwebsockets/libwebsockets.SlackBuild
index fcbb84078d..5f6b5999a0 100644
--- a/libraries/libwebsockets/libwebsockets.SlackBuild
+++ b/libraries/libwebsockets/libwebsockets.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libwebsockets
@@ -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=libwebsockets
-VERSION=${VERSION:-3.1.0}
+VERSION=${VERSION:-4.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}
@@ -76,7 +86,6 @@ cd build
-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
@@ -95,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/libraries/libwebsockets/libwebsockets.info b/libraries/libwebsockets/libwebsockets.info
index c922f9a8fe..cd9e639a23 100644
--- a/libraries/libwebsockets/libwebsockets.info
+++ b/libraries/libwebsockets/libwebsockets.info
@@ -1,8 +1,8 @@
PRGNAM="libwebsockets"
-VERSION="3.1.0"
+VERSION="4.2.0"
HOMEPAGE="https://libwebsockets.org/"
-DOWNLOAD="https://github.com/warmcat/libwebsockets/archive/v3.1.0/libwebsockets-3.1.0.tar.gz"
-MD5SUM="325359a25d5f6d22725ff5d086db1c76"
+DOWNLOAD="https://github.com/warmcat/libwebsockets/archive/v4.2.0/libwebsockets-4.2.0.tar.gz"
+MD5SUM="e6613bf565664adb6954f17c8e908149"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libwfut/doinst.sh b/libraries/libwfut/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/libwfut/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/libraries/libwfut/libwfut.SlackBuild b/libraries/libwfut/libwfut.SlackBuild
index ca4900dac7..014534a4cb 100644
--- a/libraries/libwfut/libwfut.SlackBuild
+++ b/libraries/libwfut/libwfut.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libwfut
@@ -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=libwfut
VERSION=${VERSION:-0.2.3+c28cc3b}
COMMIT="c28cc3ba4021a051f51bb4109121c607911ece26"
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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,9 +108,10 @@ 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
+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/libraries/libwfut/libwfut.info b/libraries/libwfut/libwfut.info
index afb92a7787..50a9dc7ccb 100644
--- a/libraries/libwfut/libwfut.info
+++ b/libraries/libwfut/libwfut.info
@@ -1,7 +1,7 @@
PRGNAM="libwfut"
VERSION="0.2.3+c28cc3b"
HOMEPAGE="https://launchpad.net/libwfut/"
-DOWNLOAD="https://github.com/worldforge/libwfut/archive/c28cc3ba4021a051f51bb4109121c607911ece26.tar.gz"
+DOWNLOAD="https://github.com/worldforge/libwfut/archive/c28cc3ba4021a051f51bb4109121c607911ece26/libwfut-c28cc3ba4021a051f51bb4109121c607911ece26.tar.gz"
MD5SUM="80e3d1245b003aacede152cf8f32b693"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libwhisker2/README b/libraries/libwhisker2/README
index 7a4ab1f61e..a1c8001e4f 100644
--- a/libraries/libwhisker2/README
+++ b/libraries/libwhisker2/README
@@ -4,5 +4,5 @@ Libwhisker has a few design principles:
- Portable: runs with 0 changes on Unix, Windows, etc (100% Perl)
- Flexible: designed with a 'no rules' approach
- Contained: designed to not require external modules when possible
-- Localized: does not require installation to use (except for this SlackBuild
- ;-) )
+- Localized: does not require installation to use (except for this
+ SlackBuild ;-) )
diff --git a/libraries/libwhisker2/libwhisker2.SlackBuild b/libraries/libwhisker2/libwhisker2.SlackBuild
index cce0b93052..63d0c8eb03 100644
--- a/libraries/libwhisker2/libwhisker2.SlackBuild
+++ b/libraries/libwhisker2/libwhisker2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libwhisker2
#
@@ -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=libwhisker2
VERSION=${VERSION:-2.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/libraries/libwnck3/README b/libraries/libwnck3/README
deleted file mode 100644
index 73bc947ba3..0000000000
--- a/libraries/libwnck3/README
+++ /dev/null
@@ -1,5 +0,0 @@
-libwnck3 (Window Navigator Construction Kit)
-
-A library to use for writing pagers and task lists.
-
-This package can coexist with libwnck from Slackware default stock.
diff --git a/libraries/libwnck3/libwnck3.SlackBuild b/libraries/libwnck3/libwnck3.SlackBuild
deleted file mode 100644
index 5edc2f83e4..0000000000
--- a/libraries/libwnck3/libwnck3.SlackBuild
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for libwnck3.
-#
-# Copyright 2019 Donald Cooley, South Haven, Indiana, USA
-# Copyright 2015 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=libwnck3
-VERSION=${VERSION:-3.20.1}
-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
-
-SRCNAM="libwnck"
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${SRCNAM}-${VERSION}.tar.xz
-mv ${SRCNAM}-${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 {} \;
-
-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
-
-# Newer releases will require meson.
-
-#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 ..
-
-mv $PKG/usr/bin/wnckprop $PKG/usr/bin/wnckprop3
-mv $PKG/usr/bin/wnck-urgency-monitor $PKG/usr/bin/wnck3-urgency-monitor
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-DOCS="AUTHORS ChangeLog COPYING HACKING INSTALL MAINTAINERS NEWS README"
-
-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/libraries/libwnck3/libwnck3.info b/libraries/libwnck3/libwnck3.info
deleted file mode 100644
index 07c9841ade..0000000000
--- a/libraries/libwnck3/libwnck3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libwnck3"
-VERSION="3.20.1"
-HOMEPAGE="http://ftp.gnome.org/pub/gnome/sources/libwnck/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/libwnck/3.20/libwnck-3.20.1.tar.xz"
-MD5SUM="487938d65d4bfae1f2501052b1bd7492"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeus@protonmail.com"
diff --git a/libraries/libwnck3/slack-desc b/libraries/libwnck3/slack-desc
deleted file mode 100644
index 96d02f830c..0000000000
--- a/libraries/libwnck3/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------------------------------------------------------|
-libwnck3: libwnck3 (Window Navigator Construction Kit)
-libwnck3:
-libwnck3: A library to use for writing pagers and task lists.
-libwnck3:
-libwnck3: Home page: http://ftp.gnome.org/pub/gnome/sources/libwnck/
-libwnck3:
-libwnck3:
-libwnck3:
-libwnck3:
-libwnck3:
-libwnck3:
diff --git a/libraries/libwpe/README b/libraries/libwpe/README
index 86ad9304f4..a72bfacbb6 100644
--- a/libraries/libwpe/README
+++ b/libraries/libwpe/README
@@ -2,4 +2,4 @@ WPE is the reference WebKit port for embedded and low-consumption
computer devices. It has been designed from the ground-up with
performance, small footprint, accelerated content rendering, and
simplicity of deployment in mind, bringing the excellence of the
-WebKit engine to countless platforms and target devices. \ No newline at end of file
+WebKit engine to countless platforms and target devices.
diff --git a/libraries/libwpe/libwpe.SlackBuild b/libraries/libwpe/libwpe.SlackBuild
index ba22651c31..2ff392daab 100644
--- a/libraries/libwpe/libwpe.SlackBuild
+++ b/libraries/libwpe/libwpe.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libwpe
-# Copyright 2019 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,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=libwpe
-VERSION=${VERSION:-1.4.0.1}
+VERSION=${VERSION:-1.16.0}
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}
@@ -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} \ No newline at end of file
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libwpe/libwpe.info b/libraries/libwpe/libwpe.info
index 8b57026b62..14d672aca2 100644
--- a/libraries/libwpe/libwpe.info
+++ b/libraries/libwpe/libwpe.info
@@ -1,10 +1,10 @@
PRGNAM="libwpe"
-VERSION="1.4.0.1"
+VERSION="1.16.0"
HOMEPAGE="https://wpewebkit.org"
-DOWNLOAD="https://wpewebkit.org/releases/libwpe-1.4.0.1.tar.xz"
-MD5SUM="1d4d38413ee0d0043f74d0445cab906f"
+DOWNLOAD="https://wpewebkit.org/releases/libwpe-1.16.0.tar.xz"
+MD5SUM="9779115aaa7e67abe642777394e7bfa2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libxkbcommon"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org" \ No newline at end of file
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/libwps/libwps.SlackBuild b/libraries/libwps/libwps.SlackBuild
index 838e0c09dd..2ec53474f3 100644
--- a/libraries/libwps/libwps.SlackBuild
+++ b/libraries/libwps/libwps.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libwps
-# Copyright 2015-2018 Hunter Sezen California, USA
+# Copyright 2015-2018, 2020 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=libwps
-VERSION=${VERSION:-0.4.10}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.4.12}
+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,8 +84,10 @@ case "${DOC:-0}" in
*) doc='--with-docs' ;;
esac
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -Wno-error=implicit-fallthrough=" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -88,16 +100,18 @@ CXXFLAGS="$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
+find $PKG -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* CREDITS ChangeLog HACKING INSTALL NEWS README \
+cp -a COPYING* CREDITS ChangeLog HACKING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libwps/libwps.info b/libraries/libwps/libwps.info
index c5fcbb963b..531e093942 100644
--- a/libraries/libwps/libwps.info
+++ b/libraries/libwps/libwps.info
@@ -1,8 +1,8 @@
PRGNAM="libwps"
-VERSION="0.4.10"
+VERSION="0.4.12"
HOMEPAGE="https://sourceforge.net/projects/libwps/"
-DOWNLOAD="https://sourceforge.net/projects/libwps/files/libwps/libwps-0.4.10/libwps-0.4.10.tar.xz"
-MD5SUM="55dd756d2769033e70ffaa0ec8a5e3a1"
+DOWNLOAD="https://downloads.sourceforge.net/project/libwps/libwps/libwps-0.4.12/libwps-0.4.12.tar.xz"
+MD5SUM="802439e84e6ce185f736c1f3dc0321a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libwrc/libwrc.SlackBuild b/libraries/libwrc/libwrc.SlackBuild
index 53aba1e006..ae5cd98307 100644
--- a/libraries/libwrc/libwrc.SlackBuild
+++ b/libraries/libwrc/libwrc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libwrc
-
-# Copyright 2019 Barry J. Grundy (bgrundy<at>linuxleo.com)
+#
+# Copyright 2019-2023 Barry J. Grundy (bgrundy<at>linuxleo.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,30 +21,40 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Updated for version 20230318 Aug 2023
-# New Submission v20181203 Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libwrc
-VERSION=${VERSION:-20181203}
+VERSION=${VERSION:-20230318}
STATUS=${STATUS:-experimental}
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"
@@ -81,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS -std=gnu89" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-python \
+ --enable-python3 \
--build=$ARCH-slackware-linux
make
@@ -91,11 +101,13 @@ 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 -ar ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar ChangeLog 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/libraries/libwrc/libwrc.info b/libraries/libwrc/libwrc.info
index 6bfe6f391a..24db8e858c 100644
--- a/libraries/libwrc/libwrc.info
+++ b/libraries/libwrc/libwrc.info
@@ -1,8 +1,8 @@
PRGNAM="libwrc"
-VERSION="20181203"
+VERSION="20230318"
HOMEPAGE="https://github.com/libyal/libwrc"
-DOWNLOAD="https://github.com/libyal/libwrc/releases/download/20181203/libwrc-experimental-20181203.tar.gz"
-MD5SUM="ae2c5b9f9ff58d1219e9cb25de417a9f"
+DOWNLOAD="https://linuxleo.com/Source/libwrc-experimental-20230318.tar.gz"
+MD5SUM="ad9498673ce607b8e47e49af95d565ff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libx86emu/libx86emu.SlackBuild b/libraries/libx86emu/libx86emu.SlackBuild
index 696245820a..8977e388c0 100644
--- a/libraries/libx86emu/libx86emu.SlackBuild
+++ b/libraries/libx86emu/libx86emu.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libx86emu
-# Copyright 2009-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2021 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=libx86emu
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-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}
-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/libraries/libx86emu/libx86emu.info b/libraries/libx86emu/libx86emu.info
index 1956be2e05..741f876e23 100644
--- a/libraries/libx86emu/libx86emu.info
+++ b/libraries/libx86emu/libx86emu.info
@@ -1,10 +1,10 @@
PRGNAM="libx86emu"
-VERSION="2.4"
+VERSION="3.4"
HOMEPAGE="https://github.com/wfeldt/libx86emu"
-DOWNLOAD="https://github.com/wfeldt/libx86emu/archive/2.4/libx86emu-2.4.tar.gz"
-MD5SUM="4187227625c8710d03a136577de311ae"
+DOWNLOAD="https://github.com/wfeldt/libx86emu/archive/3.4/libx86emu-3.4.tar.gz"
+MD5SUM="44bc00ae2e5277eb97749f97699e072d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/libxc/README b/libraries/libxc/README
new file mode 100644
index 0000000000..0bf911362f
--- /dev/null
+++ b/libraries/libxc/README
@@ -0,0 +1,10 @@
+Libxc (a library of exchange-correlation functionals for
+ density-functional theory)
+
+Libxc is a library of exchange-correlation and kinetic energy
+ functionals for density-functional theory. The original aim
+was to provide a portable, well tested and reliable set of
+these functionals to be used by all the codes of the European
+Theoretical Spectroscopy Facility (ETSF), but the library has
+ since grown to be used in several other types of codes as well.
+
diff --git a/libraries/libxc/libxc.SlackBuild b/libraries/libxc/libxc.SlackBuild
new file mode 100644
index 0000000000..eeffb790cf
--- /dev/null
+++ b/libraries/libxc/libxc.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for libxc
+
+# 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=libxc
+VERSION=${VERSION:-5.1.6}
+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
+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 {} \;
+
+# Build with CUDA, requires CUDA SDK
+## experimental support
+if [ "${CUDA:-no}" == "yes" ]; then
+ OPT_BUILD="--enable-cuda"
+ export CC="$(which nvcc) -x cu"
+ export CCLD="$(which nvcc)"
+fi
+
+autoreconf -i
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
+ --enable-shared \
+ --disable-static \
+ $OPT_BUILD
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {AUTHORS,CITATION,COPYING,NEWS,PACKAGING} $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog 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/libraries/libxc/libxc.info b/libraries/libxc/libxc.info
new file mode 100644
index 0000000000..680e0b72ef
--- /dev/null
+++ b/libraries/libxc/libxc.info
@@ -0,0 +1,10 @@
+PRGNAM="libxc"
+VERSION="5.1.6"
+HOMEPAGE="https://tddft.org/programs/libxc/"
+DOWNLOAD="https://gitlab.com/libxc/libxc/-/archive/5.1.6/libxc-5.1.6.tar.bz2"
+MD5SUM="c1d065ae6eb2340f31a3e3120248a779"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libxc/slack-desc b/libraries/libxc/slack-desc
new file mode 100644
index 0000000000..6ff9063164
--- /dev/null
+++ b/libraries/libxc/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------------------------------------------------------|
+libxc: libxc (exchange-correlation functionals for density-functional theory)
+libxc:
+libxc:
+libxc: Libxc is a library of exchange-correlation and kinetic energy
+libxc: functionals for density-functional theory. The original aim was
+libxc: to provide a portable, well tested and reliable set of these
+libxc: functionals to be used by all the codes of the European
+libxc: Theoretical Spectroscopy Facility (ETSF), but the library has
+libxc: since grown to be used in several other types of codes as well.
+libxc:
+libxc:
diff --git a/libraries/libxdg-basedir/README b/libraries/libxdg-basedir/README
new file mode 100644
index 0000000000..779e88ba69
--- /dev/null
+++ b/libraries/libxdg-basedir/README
@@ -0,0 +1,9 @@
+libxdg-basedir An implementation of the XDG Base Directory specs
+
+The XDG Base Directory Specification defines where should user files
+be looked for by defining one or more base directories relative in
+with they should be located.
+
+This library implements functions to list the directories according
+to the specification and provides a few higher-level functions.
+
diff --git a/libraries/libxdg-basedir/libxdg-basedir.SlackBuild b/libraries/libxdg-basedir/libxdg-basedir.SlackBuild
new file mode 100644
index 0000000000..48ec9c2108
--- /dev/null
+++ b/libraries/libxdg-basedir/libxdg-basedir.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for libxdg-basedir
+
+# Copyright 2013-2022 Heiko Rosemann 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.
+
+# Modified by the SlackBuilds.org project
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libxdg-basedir
+VERSION=${VERSION:-1.2.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-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.?z*
+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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./autogen.sh
+./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
+
+# 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 $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libxdg-basedir/libxdg-basedir.info b/libraries/libxdg-basedir/libxdg-basedir.info
new file mode 100644
index 0000000000..49114cebb6
--- /dev/null
+++ b/libraries/libxdg-basedir/libxdg-basedir.info
@@ -0,0 +1,10 @@
+PRGNAM="libxdg-basedir"
+VERSION="1.2.3"
+HOMEPAGE="https://github.com/devnev/libxdg-basedir"
+DOWNLOAD="https://github.com/devnev/libxdg-basedir/archive/libxdg-basedir-1.2.3/libxdg-basedir-libxdg-basedir-1.2.3.tar.gz"
+MD5SUM="6fee7e4ce612f79dacfc8867687737ac"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Heiko Rosemann"
+EMAIL="heiko.rosemann@web.de"
diff --git a/libraries/libxdg-basedir/slack-desc b/libraries/libxdg-basedir/slack-desc
new file mode 100644
index 0000000000..2fdb1f3bad
--- /dev/null
+++ b/libraries/libxdg-basedir/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------------------------------------------------------|
+libxdg-basedir: libxdg-basedir (XDG Base Directory implementation)
+libxdg-basedir:
+libxdg-basedir: The XDG Base Directory Specification defines where should user files
+libxdg-basedir: be looked for by defining one or more base directories relative in
+libxdg-basedir: with they should be located.
+libxdg-basedir:
+libxdg-basedir: This library implements functions to list the directories according
+libxdg-basedir: to the specification and provides a few higher-level functions.
+libxdg-basedir:
+libxdg-basedir:
+libxdg-basedir:
diff --git a/libraries/libxfcegui4/doinst.sh b/libraries/libxfcegui4/doinst.sh
new file mode 100644
index 0000000000..4110f5514d
--- /dev/null
+++ b/libraries/libxfcegui4/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/libxfcegui4/libxfcegui4.SlackBuild b/libraries/libxfcegui4/libxfcegui4.SlackBuild
index f83a5cb840..7510b99bdd 100644
--- a/libraries/libxfcegui4/libxfcegui4.SlackBuild
+++ b/libraries/libxfcegui4/libxfcegui4.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2012 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
@@ -22,10 +22,17 @@
# Resurrected for SBo by David Spencer <baildon.research@googlemail.com>
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=5:
+# - add SlackBuild to doc dir.
+# - remove empty/useless files from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libxfcegui4
VERSION=${VERSION:-4.10.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,13 +42,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=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -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 {} \+
# https://bugzilla.xfce.org/show_bug.cgi?id=10974
sed -i \
@@ -85,21 +96,22 @@ CFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
# We don't want icon caches:
find $PKG/usr/share/icons -type f -name "icon-theme.cache" -exec rm -f {} \;
mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
cp -a \
- AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO \
+ AUTHORS COPYING* ChangeLog 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/libraries/libxkbcommon/README b/libraries/libxkbcommon/README
deleted file mode 100644
index ea0d4567fe..0000000000
--- a/libraries/libxkbcommon/README
+++ /dev/null
@@ -1,11 +0,0 @@
-xkbcommon is a library to handle keyboard descriptions, including
-loading them from disk, parsing them and handling their state.
-It's mainly meant for client toolkits, window systems, and other
-system applications; currently that includes Wayland, kmscon,
-GTK+, Clutter, and more.
-
-This Slackbuild disables Wayland support by default. In enabling
-Wayland support (which requires wayland-protocols), run the script
-with the following command:
-
-WAYLAND=yes ./libxkbcommon.SlackBuild
diff --git a/libraries/libxkbcommon/libxkbcommon.SlackBuild b/libraries/libxkbcommon/libxkbcommon.SlackBuild
deleted file mode 100644
index 4e04b1c3c6..0000000000
--- a/libraries/libxkbcommon/libxkbcommon.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for libxkbcommon
-
-# Copyright 2013 Anton Sil'uev, Russia
-# Copyright 2018-2020 Isaac Yu <isaacyu1@isaacyu1.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=libxkbcommon
-VERSION=${VERSION:-0.10.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 {} \;
-
-if [ ${WAYLAND:-no} = yes ]; then
- ENABLE_WAYLAND=true
-else
- ENABLE_WAYLAND=false
-fi
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-meson --prefix /usr --mandir /usr/man --libdir lib${LIBDIRSUFFIX} -Denable-wayland=$ENABLE_WAYLAND build
-
-DESTDIR=$PKG ninja -C build all install
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md NEWS PACKAGING 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/libraries/libxkbcommon/libxkbcommon.info b/libraries/libxkbcommon/libxkbcommon.info
deleted file mode 100644
index 3eedf1a4f2..0000000000
--- a/libraries/libxkbcommon/libxkbcommon.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="libxkbcommon"
-VERSION="0.10.0"
-HOMEPAGE="https://xkbcommon.org/"
-DOWNLOAD="https://xkbcommon.org/download/libxkbcommon-0.10.0.tar.xz"
-MD5SUM="2d9ad3a46b317138b5e72a91cf105451"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="meson"
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
diff --git a/libraries/libxkbcommon/slack-desc b/libraries/libxkbcommon/slack-desc
deleted file mode 100644
index 2fc5187f45..0000000000
--- a/libraries/libxkbcommon/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------------------------------------------------------|
-libxkbcommon: libxkbcommon (library to handle keyboard descriptions)
-libxkbcommon:
-libxkbcommon: libxkbcommon is a keymap compiler and support library which processes
-libxkbcommon: a reduced subset of keymaps as defined by the XKB specification.
-libxkbcommon: Primarily, a keymap is created from a set of
-libxkbcommon: Rules/Model/Layout/Variant/Options names, processed through an
-libxkbcommon: XKB ruleset, and compiled into a struct xkb_keymap, which is
-libxkbcommon: the base type for all xkbcommon operations.
-libxkbcommon:
-libxkbcommon: libxkbcommon does not distribute a dataset itself, other than for
-libxkbcommon: testing purposes.
diff --git a/libraries/libxls/libxls.SlackBuild b/libraries/libxls/libxls.SlackBuild
index 689407583d..f423f66989 100644
--- a/libraries/libxls/libxls.SlackBuild
+++ b/libraries/libxls/libxls.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxls
@@ -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=libxls
VERSION=${VERSION:-1.5.2}
-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}
@@ -88,12 +98,17 @@ 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 AUTHORS $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/libraries/libxlsxwriter/README b/libraries/libxlsxwriter/README
index 45567e168f..aa0f51b3c0 100644
--- a/libraries/libxlsxwriter/README
+++ b/libraries/libxlsxwriter/README
@@ -1,8 +1,8 @@
A C library for creating Excel XLSX files
-Libxlsxwriter is a C library that can be used to write text, numbers, formulas
-and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file. It supports
-features such as:
+Libxlsxwriter is a C library that can be used to write text, numbers,
+formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX
+file. It supports features such as:
* 100% compatible Excel XLSX files.
* Full Excel formatting.
@@ -16,7 +16,8 @@ features such as:
* Source code available on GitHub.
* FreeBSD License.
* ANSI C.
-* Works with GCC, Clang, Xcode, MSVC 2015, ICC, TCC, MinGW, MingGW-w64/32.
+* Works with GCC, Clang, Xcode, MSVC 2015, ICC, TCC, MinGW,
+ MingGW-w64/32.
* Works on Linux, FreeBSD, OpenBSD, OS X, iOS and Windows. Also works on
MSYS/MSYS2 and Cygwin.
* Compiles for 32 and 64 bit.
diff --git a/libraries/libxlsxwriter/libxlsxwriter.SlackBuild b/libraries/libxlsxwriter/libxlsxwriter.SlackBuild
index 5ce9ceb6fe..9174762d43 100644
--- a/libraries/libxlsxwriter/libxlsxwriter.SlackBuild
+++ b/libraries/libxlsxwriter/libxlsxwriter.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxlsxwriter
# Copyright 2018 David Woodfall <dave@slackbuilds.org>
@@ -21,10 +21,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libxlsxwriter
-VERSION=${VERSION:-0.9.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.0.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,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,9 +74,9 @@ cd $PRGNAM-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 {} \+
patch -p1 --verbose <$CWD/cmake_version_check.patch
@@ -76,14 +86,13 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
-
+chmod 644 docs/images/*.png # 20220420 bkw: wtf, people?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
docs *.txt \
@@ -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/libraries/libxlsxwriter/libxlsxwriter.info b/libraries/libxlsxwriter/libxlsxwriter.info
index ccad2233ca..e2616ea950 100644
--- a/libraries/libxlsxwriter/libxlsxwriter.info
+++ b/libraries/libxlsxwriter/libxlsxwriter.info
@@ -1,10 +1,10 @@
PRGNAM="libxlsxwriter"
-VERSION="0.9.4"
+VERSION="1.0.2"
HOMEPAGE="https://libxlsxwriter.github.io/"
-DOWNLOAD="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_0.9.4/libxlsxwriter-RELEASE_0.9.4.tar.gz"
-MD5SUM="08c799090ebf04e14d2e62d84a4e9000"
+DOWNLOAD="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_1.0.2/libxlsxwriter-RELEASE_1.0.2.tar.gz"
+MD5SUM="82b004c9a3b1b4af8313dfa8ed8ea094"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/libraries/libxmi/README b/libraries/libxmi/README
index 34a820cf68..35ce89042f 100644
--- a/libraries/libxmi/README
+++ b/libraries/libxmi/README
@@ -1,5 +1,6 @@
-GNU libxmi is a C/C++ function library for rasterizing 2-D vector graphics.
-It can draw 2-D graphical primitives, including wide polygonal lines and
-circular and elliptical arcs, into a user supplied matrix of pixels.
-Sophisticated line styles, such as multicolored dashing patterns, can be
-specified. There is also support for filling and texturing polygons.
+GNU libxmi is a C/C++ function library for rasterizing 2-D vector
+graphics. It can draw 2-D graphical primitives, including wide
+polygonal lines and circular and elliptical arcs, into a user supplied
+matrix of pixels. Sophisticated line styles, such as multicolored
+dashing patterns, can be specified. There is also support for filling
+and texturing polygons.
diff --git a/libraries/libxmi/libxmi.SlackBuild b/libraries/libxmi/libxmi.SlackBuild
index 58c756c23b..6b613f6615 100644
--- a/libraries/libxmi/libxmi.SlackBuild
+++ b/libraries/libxmi/libxmi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxmi
@@ -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.
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=5:
+# - remove empty/useless docs.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libxmi
VERSION=${VERSION:-1.2}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-5}
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 +76,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 {} \+
# Substitute newer automake files that know about x86_64
am=$(automake --version | head -1 | cut -d " " -f 4 | cut -d "." -f 2)
@@ -97,12 +108,14 @@ gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING CUSTOMIZE ChangeLog INSTALL NEWS README* TODO VERSION \
+ AUTHORS COPYING CUSTOMIZE NEWS README* 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/libraries/libxml++/README b/libraries/libxml++/README
index fe52f89179..c3a2f99a30 100644
--- a/libraries/libxml++/README
+++ b/libraries/libxml++/README
@@ -1,4 +1,4 @@
-libxml++ is a C++ wrapper for the libxml XML parser library. Its original
-author is Ari Johnson and it is currently maintained by Christophe de
-Vienne and Murray Cumming. It is released under the LGPL version 2 or
-above.
+libxml++ is a C++ wrapper for the libxml XML parser library. Its
+original author is Ari Johnson and it is currently maintained by
+Christophe de Vienne and Murray Cumming. It is released under the LGPL
+version 2 or above.
diff --git a/libraries/libxml++/libxml++.SlackBuild b/libraries/libxml++/libxml++.SlackBuild
index 4f6e574065..9e3ef9a490 100644
--- a/libraries/libxml++/libxml++.SlackBuild
+++ b/libraries/libxml++/libxml++.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxml++
# Written by Iskar Enev <iskar.enev[@]gmail.com>
@@ -6,28 +6,38 @@
# Modified by Michiel van Wessem <michiel@slackbuilds.org>
# Updated by Diogo Leal<diogo@diogoleal.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libxml++
VERSION=${VERSION:-2.40.1}
-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}
set -e
-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"
@@ -75,8 +85,10 @@ mv $PKG/usr/share/doc/$PRGNAM-2.6/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share
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/libraries/libxml++3/libxml++3.SlackBuild b/libraries/libxml++3/libxml++3.SlackBuild
index e6d5cb5f0f..3c08663077 100644
--- a/libraries/libxml++3/libxml++3.SlackBuild
+++ b/libraries/libxml++3/libxml++3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxml++3
@@ -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=libxml++3
SRCNAM=${PRGNAM%3}
-VERSION=${VERSION:-3.2.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.2}
+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,6 +80,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 {} \;
+# Generate sources
+mm-common-prepare -cf
+
# Respect --docdir
sed -i 's|$(datarootdir)/doc/$(book_name)|$(docdir)|' build/doc-reference.am
@@ -93,8 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libxml++3/libxml++3.info b/libraries/libxml++3/libxml++3.info
index 38bf254e4a..5fca9736f3 100644
--- a/libraries/libxml++3/libxml++3.info
+++ b/libraries/libxml++3/libxml++3.info
@@ -1,8 +1,8 @@
PRGNAM="libxml++3"
-VERSION="3.2.0"
+VERSION="3.2.2"
HOMEPAGE="http://libxmlplusplus.sourceforge.net"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libxml++/3.2/libxml++-3.2.0.tar.xz"
-MD5SUM="c22a62cebbbb3b360ef4ddbe259a44b7"
+DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/libxml++/3.2/libxml++-3.2.2.tar.xz"
+MD5SUM="02228e5a9915d1d75d8a01a0b717f5a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mm-common"
diff --git a/libraries/libxmlb/libxmlb.SlackBuild b/libraries/libxmlb/libxmlb.SlackBuild
index cf04d9a6a7..026fdc3ffb 100644
--- a/libraries/libxmlb/libxmlb.SlackBuild
+++ b/libraries/libxmlb/libxmlb.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxmlb
-# Copyright 2019 Andrew Clemons, Wellington New Zealand
+# Copyright 2019-2022 Andrew Clemons, Wellington New Zealand
+# Copyright 2022-2024 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=libxmlb
-VERSION=${VERSION:-0.1.14}
+VERSION=${VERSION:-0.3.15}
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}
@@ -72,17 +80,23 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson \
- --prefix=/usr \
+ --buildtype=release \
+ --infodir=/usr/info \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
--sysconfdir=/etc \
build
-
-ninja -C build
-DESTDIR=$PKG ninja -C build install
+"${NINJA:=ninja}" -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 \
CODE_OF_CONDUCT.md LICENSE MAINTAINERS NEWS README.md \
@@ -93,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/libraries/libxmlb/libxmlb.info b/libraries/libxmlb/libxmlb.info
index 0d75e1c94c..908366a050 100644
--- a/libraries/libxmlb/libxmlb.info
+++ b/libraries/libxmlb/libxmlb.info
@@ -1,10 +1,10 @@
PRGNAM="libxmlb"
-VERSION="0.1.14"
+VERSION="0.3.15"
HOMEPAGE="https://github.com/hughsie/libxmlb"
-DOWNLOAD="https://github.com/hughsie/libxmlb/archive/0.1.14/libxmlb-0.1.14.tar.gz"
-MD5SUM="c0d568cbb6ffb740b405411dfd23b34d"
+DOWNLOAD="https://github.com/hughsie/libxmlb/archive/0.3.15/libxmlb-0.3.15.tar.gz"
+MD5SUM="8cec7081a7bb4db1eb38d8709d890035"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
+REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/libraries/libxmlbird/README b/libraries/libxmlbird/README
new file mode 100644
index 0000000000..061ae46a2b
--- /dev/null
+++ b/libraries/libxmlbird/README
@@ -0,0 +1,2 @@
+XML Bird is a XML parser for programs written in Vala or C. It is a
+library needed as dependency by Birdfont project.
diff --git a/libraries/libxmlbird/libxmlbird.SlackBuild b/libraries/libxmlbird/libxmlbird.SlackBuild
new file mode 100644
index 0000000000..b02c6c0696
--- /dev/null
+++ b/libraries/libxmlbird/libxmlbird.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for libxmlbird
+
+# 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=libxmlbird
+VERSION=${VERSION:-1.2.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+./configure \
+ --prefix=$PKG/usr \
+ --libdir=lib${LIBDIRSUFFIX}
+doit
+./install.py
+
+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
+
+sed -i -e 's:tmp::g' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/xmlbird.pc
+sed -i -e 's://SBo/package-libxmlbird::g' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/xmlbird.pc
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a NEWS README.md LGPLv3.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libxmlbird/libxmlbird.info b/libraries/libxmlbird/libxmlbird.info
new file mode 100644
index 0000000000..33773c531f
--- /dev/null
+++ b/libraries/libxmlbird/libxmlbird.info
@@ -0,0 +1,10 @@
+PRGNAM="libxmlbird"
+VERSION="1.2.15"
+HOMEPAGE="https://birdfont.org/xmlbird.php"
+DOWNLOAD="https://birdfont.org/xmlbird-releases/libxmlbird-1.2.15.tar.xz"
+MD5SUM="e731c40198538af51e7ba16cc3c31fd1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="doit"
+MAINTAINER="Giancarlo Dessì"
+EMAIL="slack@giand.it"
diff --git a/libraries/libxmlbird/slack-desc b/libraries/libxmlbird/slack-desc
new file mode 100644
index 0000000000..571c502201
--- /dev/null
+++ b/libraries/libxmlbird/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------------------------------------------------------|
+libxmlbird: libxmlbird (XML parser written in Vala)
+libxmlbird:
+libxmlbird: XML Bird is developed as a part of the Birdfont project. It is an
+libxmlbird: XML parser for programs written in Vala or C.
+libxmlbird:
+libxmlbird:
+libxmlbird:
+libxmlbird:
+libxmlbird: Homepage: https://birdfont.org/libxmlbird.php
+libxmlbird:
+libxmlbird:
diff --git a/libraries/libxmp/README b/libraries/libxmp/README
index 26713160cb..d988592856 100644
--- a/libraries/libxmp/README
+++ b/libraries/libxmp/README
@@ -1,3 +1,4 @@
-Libxmp loads the module and renders the sound as linear PCM samples in a
-buffer at rate and format specified by the user. Applications for libxmp
-include players, module information extractors, module-to-mp3 renderers, etc.
+Libxmp loads the module and renders the sound as linear PCM samples in
+a buffer at rate and format specified by the user. Applications for
+libxmp include players, module information extractors, module-to-mp3
+renderers, etc.
diff --git a/libraries/libxmp/libxmp.SlackBuild b/libraries/libxmp/libxmp.SlackBuild
index da1dfac019..5d25d22fcc 100644
--- a/libraries/libxmp/libxmp.SlackBuild
+++ b/libraries/libxmp/libxmp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for libxmp
#
-# Copyright 2013-2017 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2013-2022 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix PRINT_PACKAGE_NAME.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libxmp
-VERSION=${VERSION:-4.4.1}
+VERSION=${VERSION:-4.5.0}
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 [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -94,8 +105,10 @@ cp -a COPYING.LIB CREDITS Changelog custom.style \
cd ..
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/libraries/libxmp/libxmp.info b/libraries/libxmp/libxmp.info
index 32b8634271..699c250be7 100644
--- a/libraries/libxmp/libxmp.info
+++ b/libraries/libxmp/libxmp.info
@@ -1,8 +1,8 @@
PRGNAM="libxmp"
-VERSION="4.4.1"
+VERSION="4.5.0"
HOMEPAGE="http://xmp.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/xmp/libxmp-4.4.1.tar.gz"
-MD5SUM="3a2afcbbb720fb2931e79aeb66e724f7"
+DOWNLOAD="http://downloads.sourceforge.net/xmp/libxmp-4.5.0.tar.gz"
+MD5SUM="b659f9303e972ffe790d0f2a33951c92"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libxnvctrl/README b/libraries/libxnvctrl/README
index a2add064f9..eaf307278b 100644
--- a/libraries/libxnvctrl/README
+++ b/libraries/libxnvctrl/README
@@ -1,13 +1,14 @@
libxnvctrl (NVIDIA NV-CONTROL X extension)
The NV-CONTROL X extension provides a mechanism for X clients to query
-and set configuration parameters of the NVIDIA X driver. State set by the
-NV-CONTROL X extension is assumed to be persistent only for the current
-server generation. This can be useful for programs such as conky,
-mate-sensors-applet, and xfce4-sensors-plugin to allow for realtime
-monitoring of your NVIDIA cards temperature, fan speed, memory, etc.
+and set configuration parameters of the NVIDIA X driver. State set by
+the NV-CONTROL X extension is assumed to be persistent only for the
+current server generation. This can be useful for programs such as
+conky, mate-sensors-applet, and xfce4-sensors-plugin to allow for
+realtime monitoring of your NVIDIA cards temperature, fan speed, memory,
+etc.
This package is version independent. It does not have to match
the nvidia-driver or nvidia-legacy packages. I try to keep it
-in line with SBO packages, however it is not requried that this package
+in line with SBO packages, however it is not required that this package
is the same version as the binary drivers.
diff --git a/libraries/libxnvctrl/libxnvctrl.SlackBuild b/libraries/libxnvctrl/libxnvctrl.SlackBuild
index ba8aeeb335..e105fb7568 100644
--- a/libraries/libxnvctrl/libxnvctrl.SlackBuild
+++ b/libraries/libxnvctrl/libxnvctrl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libxnvctrl
@@ -22,10 +22,16 @@
# 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:
+# - strip shared library.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libxnvctrl
-VERSION=${VERSION:-418.43}
+VERSION=${VERSION:-535.146.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -65,24 +75,22 @@ cd nvidia-settings-$VERSION
chown -R root: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 source to build static and shared library
patch -p1 < $CWD/libxnvctrl_so.patch
-cd src/libXNVCtrl
+#cd src/libXNVCtrl
make clean
CFLAGS="$SLKCFLAGS" \
make
#install shared and static libraries and headers
-install -Dm 644 *.h -t $PKG/usr/include/NVCtrl
-install -Dm 644 libXNVCtrl.a -t $PKG/usr/lib$LIBDIRSUFFIX
-install -Dm 755 libXNVCtrl.so.0.0.0 -t $PKG/usr/lib$LIBDIRSUFFIX
-ln -s libXNVCtrl.so.0.0.0 $PKG/usr/lib$LIBDIRSUFFIX/libXNVCtrl.so.0
-ln -s libXNVCtrl.so.0 $PKG/usr/lib$LIBDIRSUFFIX/libXNVCtrl.so
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
+install -Dm 644 src/libXNVCtrl/*.h -t $PKG/usr/include/NVCtrl
+cp -Pr src/_out/*/libXNVCtrl.* -t $PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -91,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/libraries/libxnvctrl/libxnvctrl.info b/libraries/libxnvctrl/libxnvctrl.info
index ccef787408..6993b8ec48 100644
--- a/libraries/libxnvctrl/libxnvctrl.info
+++ b/libraries/libxnvctrl/libxnvctrl.info
@@ -1,10 +1,10 @@
PRGNAM="libxnvctrl"
-VERSION="418.43"
+VERSION="535.146.02"
HOMEPAGE="http://www.nvidia.com"
-DOWNLOAD="https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-418.43.tar.bz2"
-MD5SUM="3076423b9ac51e6e9de6cd52a88bfa35"
+DOWNLOAD="https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-535.146.02.tar.bz2"
+MD5SUM="025bbc42a1615d83e2b6cce76b43cc2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nvidia-driver"
MAINTAINER="M.Dinslage"
-EMAIL="daedra1980@gmail.com"
+EMAIL="matthewdinslage@gmail.com"
diff --git a/libraries/libxnvctrl/libxnvctrl_so.patch b/libraries/libxnvctrl/libxnvctrl_so.patch
index e6b6497325..70043f0c21 100644
--- a/libraries/libxnvctrl/libxnvctrl_so.patch
+++ b/libraries/libxnvctrl/libxnvctrl_so.patch
@@ -1,68 +1,38 @@
+diff --git a/src/Makefile b/src/Makefile
+index 68eb140..6d0aab8 100644
--- a/src/Makefile
+++ b/src/Makefile
-@@ -106,6 +106,8 @@
- XNVCTRL_DIR ?= libXNVCtrl
- XNVCTRL_MAKEFILE ?= Makefile
- XNVCTRL_ARCHIVE ?= $(XNVCTRL_DIR)/libXNVCtrl.a
-+XNVCTRL_SHARED ?= $(XNVCTRL_DIR)/libXNVCtrl.so.0
-+XNVCTRL_LIB ?= $(XNVCTRL_SHARED)
- XCONFIG_PARSER_DIR ?= XF86Config-parser
- COMMON_UTILS_DIR ?= common-utils
- COMMON_UNIX_DIR ?= common-unix
-@@ -280,15 +282,18 @@
- $(MKDIR) $(BINDIR)
- $(INSTALL) $(INSTALL_BIN_ARGS) $< $(BINDIR)/$(notdir $<)
+@@ -345,7 +345,7 @@ endif
-+$(XNVCTRL_ARCHIVE) $(XNVCTRL_SHARED):
-+ $(MAKE) -C $(XNVCTRL_DIR)
-+
- $(eval $(call DEBUG_INFO_RULES, $(NVIDIA_SETTINGS)))
--$(NVIDIA_SETTINGS).unstripped: $(OBJS) $(XNVCTRL_ARCHIVE)
-+$(NVIDIA_SETTINGS).unstripped: $(OBJS) $(XNVCTRL_LIB)
- $(call quiet_cmd,LINK) $(CFLAGS) $(LDFLAGS) $(BIN_LDFLAGS) \
-- -rdynamic -o $@ $(OBJS) $(XNVCTRL_ARCHIVE) $(LIBS)
-+ -rdynamic -o $@ $(OBJS) $(XNVCTRL_LIB) $(LIBS)
-
- $(eval $(call DEBUG_INFO_RULES, $(GTK2LIB)))
- $(GTK2LIB).unstripped: $(GTK2_OBJS) $(XCP_OBJS) $(IMAGE_OBJS) $(VERSION_MK)
- $(call quiet_cmd,LINK) -shared $(CFLAGS) $(LDFLAGS) $(BIN_LDFLAGS) \
-- $(XNVCTRL_ARCHIVE) $(LIBS) $(GTK2_LIBS) \
-+ $(XNVCTRL_LIB) $(LIBS) $(GTK2_LIBS) \
- -Wl,--unresolved-symbols=ignore-all -o $@ \
- -Wl,-soname -Wl,$(GTK2LIB_SONAME) \
- $(GTK2_OBJS) $(XCP_OBJS)
-@@ -297,7 +302,7 @@
+ ifdef BUILD_GTK3LIB
$(eval $(call DEBUG_INFO_RULES, $(GTK3LIB)))
- $(GTK3LIB).unstripped: $(GTK3_OBJS) $(XCP_OBJS) $(VERSION_MK)
+-$(GTK3LIB).unstripped: $(LIBXNVCTRL) $(GTK3_OBJS) $(XCP_OBJS) $(IMAGE_OBJS) $(VERSION_MK)
++$(GTK3LIB).unstripped: $(LIBXNVCTRL) $(LIBXNVCTRL_SHARED) $(GTK3_OBJS) $(XCP_OBJS) $(IMAGE_OBJS) $(VERSION_MK)
$(call quiet_cmd,LINK) -shared $(CFLAGS) $(LDFLAGS) $(BIN_LDFLAGS) \
-- $(XNVCTRL_ARCHIVE) $(LIBS) $(GTK3_LIBS) \
-+ $(XNVCTRL_LIB) $(LIBS) $(GTK3_LIBS) \
+ $(LIBXNVCTRL) $(LIBS) $(GTK3_LIBS) \
-Wl,--unresolved-symbols=ignore-all -o $@ \
- -Wl,-soname -Wl,$(GTK3LIB_SONAME) \
- $(GTK3_OBJS) $(XCP_OBJS)
---- a/src/libXNVCtrl/Makefile
-+++ b/src/libXNVCtrl/Makefile
-@@ -55,10 +55,17 @@
- .PHONY: clean
+diff --git a/src/libXNVCtrl/xnvctrl.mk b/src/libXNVCtrl/xnvctrl.mk
+index e6be2ef..c0921c4 100644
+--- a/src/libXNVCtrl/xnvctrl.mk
++++ b/src/libXNVCtrl/xnvctrl.mk
+@@ -39,6 +39,11 @@ XNVCTRL_CFLAGS ?=
- all: $(LIBXNVCTRL)
-+all: libXNVCtrl.so
+ LIBXNVCTRL = $(OUTPUTDIR)/libXNVCtrl.a
- $(LIBXNVCTRL) : $(OBJS)
- $(AR) ru $@ $(OBJS)
-
-+libXNVCtrl.so: $(OBJS)
-+ $(RM) $@ $@.*
-+ $(CC) -shared -Wl,-soname=$@.0 -o $@.0.0.0 $(LDFLAGS) $^ -lXext -lX11
-+ ln -s $@.0.0.0 $@.0
-+ ln -s $@.0 $@
++LIBXNVCTRL_SHARED = $(OUTPUTDIR)/libXNVCtrl.so
++LIBXNVCTRL_ABI_VERSION_MAJOR = 0
++LIBXNVCTRL_ABI_VERSION_MINOR = 0
++LIBXNVCTRL_LIBS += -lXext -lX11
+
- # define the rule to build each object file
- $(foreach src,$(SRC),$(eval $(call DEFINE_OBJECT_RULE,TARGET,$(src))))
+ LIBXNVCTRL_SRC = $(XNVCTRL_DIR)/NVCtrl.c
+
+ LIBXNVCTRL_OBJ = $(call BUILD_OBJECT_LIST,$(LIBXNVCTRL_SRC))
+@@ -47,3 +52,8 @@ $(eval $(call DEFINE_OBJECT_RULE,TARGET,$(LIBXNVCTRL_SRC)))
-@@ -68,3 +75,4 @@
- clean:
- rm -rf $(LIBXNVCTRL) *~ $(STAMP_C) \
- $(OUTPUTDIR)/*.o $(OUTPUTDIR)/*.d
-+ rm -f libXNVCtrl.so libXNVCtrl.so.*
-
+ $(LIBXNVCTRL) : $(LIBXNVCTRL_OBJ)
+ $(call quiet_cmd,AR) ru $@ $(LIBXNVCTRL_OBJ)
++
++$(LIBXNVCTRL_SHARED) : $(LIBXNVCTRL_OBJ)
++ $(CC) -shared $(CFLAGS) $(LDFLAGS) -Wl,-soname=$(notdir $@).${LIBXNVCTRL_ABI_VERSION_MAJOR} -o $@.$(LIBXNVCTRL_ABI_VERSION_MAJOR).$(LIBXNVCTRL_ABI_VERSION_MINOR).0 $^ $(LIBXNVCTRL_LIBS)
++ ln -s $(notdir $@).$(LIBXNVCTRL_ABI_VERSION_MAJOR).$(LIBXNVCTRL_ABI_VERSION_MINOR).0 $@
++ ln -s $(notdir $@).$(LIBXNVCTRL_ABI_VERSION_MAJOR).$(LIBXNVCTRL_ABI_VERSION_MINOR).0 $@.$(LIBXNVCTRL_ABI_VERSION_MAJOR)
diff --git a/libraries/libxsmm/README b/libraries/libxsmm/README
new file mode 100644
index 0000000000..cda6921175
--- /dev/null
+++ b/libraries/libxsmm/README
@@ -0,0 +1,15 @@
+ LIBXSMM is a library for specialized dense and sparse matrix
+operations as well as for deep learning primitives such as small
+convolutions. The library is targeting Intel Architecture with
+Intel SSE, Intel AVX, Intel AVX2, Intel AVX512 (with VNNI and
+Bfloat16), and Intel AMX (Advanced Matrix Extensions) supported by
+future Intel processor code-named Sapphire Rapids. Code generation
+is mainly based on Just-In-Time (JIT) code specialization for
+compiler-independent performance (matrix multiplications, matrix
+transpose/copy, sparse functionality, and deep learning).
+LIBXSMM is suitable for "build once and deploy everywhere",
+i.e., no special target flags are needed to exploit the available
+performance. Supported GEMM datatypes are: FP64, FP32, bfloat16,
+int16, and int8.
+
+NOTE: the library does not support 32-bit architecture (64-bit only)
diff --git a/libraries/libxsmm/libxsmm.SlackBuild b/libraries/libxsmm/libxsmm.SlackBuild
new file mode 100644
index 0000000000..aa9d6e6c6a
--- /dev/null
+++ b/libraries/libxsmm/libxsmm.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for libxsmm
+
+# 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=libxsmm
+VERSION=${VERSION:-1.17}
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+case "$ARCH" in
+ i?86) BUILD_OPT="PLATFORM=1" ;;
+esac
+
+# fix for installing pkconfig files
+# it's using LIBDIRSUFFIX, but the program doesn't work on 32-bit
+sed -i 's#libdata/#lib'${LIBDIRSUFFIX}'/#' Makefile
+# fix for installing libs at lib$LIBDIRSUFFIX
+sed -i 's/^OUTDIR := lib/&'${LIBDIRSUFFIX}'/' Makefile
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+SHARED=1 STATIC=0 \
+PDOCDIR=doc/$PRGNAM-$VERSION \
+make install DESTDIR=$PKG PREFIX=/usr $BUILD_OPT
+
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -av samples $PKG/usr/share/$PRGNAM-$VERSION
+
+# 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 -depth -type d -empty -delete || 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/libraries/libxsmm/libxsmm.info b/libraries/libxsmm/libxsmm.info
new file mode 100644
index 0000000000..664d2cd380
--- /dev/null
+++ b/libraries/libxsmm/libxsmm.info
@@ -0,0 +1,10 @@
+PRGNAM="libxsmm"
+VERSION="1.17"
+HOMEPAGE="https://github.com/libxsmm/libxsmm"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/libxsmm/libxsmm/archive/1.17/libxsmm-1.17.tar.gz"
+MD5SUM_x86_64="bef3b02f8837b0eed1ea334045da0524"
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/libxsmm/slack-desc b/libraries/libxsmm/slack-desc
new file mode 100644
index 0000000000..c21abba72f
--- /dev/null
+++ b/libraries/libxsmm/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------------------------------------------------------|
+libxsmm: libxsmm (Library for matrix operations and deep learning primitives)
+libxsmm:
+libxsmm: LIBXSMM is a library for specialized dense and sparse matrix
+libxsmm: operations as well as for deep learning primitives such as small
+libxsmm: convolutions. The library is targeting Intel Architecture with
+libxsmm: Intel SSE, Intel AVX, Intel AVX2, Intel AVX512 (with VNNI and
+libxsmm: Bfloat16), and Intel AMX (Advanced Matrix Extensions) supported by
+libxsmm: future Intel processor code-named Sapphire Rapids.
+libxsmm:
+libxsmm: * Note: LIBXSMM is only supported on 64-bit platforms!
+libxsmm:
diff --git a/libraries/libyang/libyang.SlackBuild b/libraries/libyang/libyang.SlackBuild
index 7cafc85c8c..a70a068896 100644
--- a/libraries/libyang/libyang.SlackBuild
+++ b/libraries/libyang/libyang.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libyang
-# Copyright 2019 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2019-2023 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20200103 bkw: Modified by Slackbuilds.org: VERSION can't contain hyphens.
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libyang
-VERSION=${VERSION:-0.16_r3}
+VERSION=${VERSION:-2.1.128}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-SRCVER=${VERSION/_/-}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,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}
@@ -53,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -63,9 +69,9 @@ 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
+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 \
@@ -81,15 +87,14 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_MANDIR=/usr/man \
- -DENABLE_LYD_PRIV=ON \
- -DENABLE_BUILD_TESTS=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
- make test
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
@@ -106,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/libraries/libyang/libyang.info b/libraries/libyang/libyang.info
index 8fe1081f1e..7647c8c7e3 100644
--- a/libraries/libyang/libyang.info
+++ b/libraries/libyang/libyang.info
@@ -1,10 +1,10 @@
PRGNAM="libyang"
-VERSION="0.16_r3"
+VERSION="2.1.128"
HOMEPAGE="https://github.com/CESNET/libyang"
-DOWNLOAD="https://github.com/CESNET/libyang/archive/v0.16-r3/libyang-0.16-r3.tar.gz"
-MD5SUM="a7cc2cc10de2ec92a51eee69c98566fa"
+DOWNLOAD="https://github.com/CESNET/libyang/archive/v2.1.128/libyang-2.1.128.tar.gz"
+MD5SUM="c6172f66af6cfe052b88f91bd8bbd0b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cmocka"
+REQUIRES="cmocka graphviz"
MAINTAINER="Thibaut Notteboom"
EMAIL="thibaut.notteboom@gmail.com"
diff --git a/libraries/libyubikey/libyubikey.SlackBuild b/libraries/libyubikey/libyubikey.SlackBuild
index ddba0b8c1d..33bde6ea5e 100644
--- a/libraries/libyubikey/libyubikey.SlackBuild
+++ b/libraries/libyubikey/libyubikey.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libyubikey
@@ -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=libyubikey
VERSION=${VERSION:-1.13}
-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}
@@ -91,8 +101,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS $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/libraries/libyubikey/libyubikey.info b/libraries/libyubikey/libyubikey.info
index 1e3b1379c6..f070210905 100644
--- a/libraries/libyubikey/libyubikey.info
+++ b/libraries/libyubikey/libyubikey.info
@@ -1,7 +1,7 @@
PRGNAM="libyubikey"
VERSION="1.13"
HOMEPAGE="https://developers.yubico.com/yubico-c/"
-DOWNLOAD="https://developers.yubico.com/yubico-c/releases/libyubikey-1.13.tar.gz"
+DOWNLOAD="https://developers.yubico.com/yubico-c/Releases/libyubikey-1.13.tar.gz"
MD5SUM="6e84fc1914ab5b609319945c18d45835"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/libyuv/README b/libraries/libyuv/README
new file mode 100644
index 0000000000..1fd5d88abc
--- /dev/null
+++ b/libraries/libyuv/README
@@ -0,0 +1,11 @@
+libyuv is an open source project that includes YUV
+scaling and conversion functionality.It can be used
+to convert to YUV from webcam formats for compression.
+It can convert to RGB formats for rendering/effects.
+Rotate by 90/180/270 degrees to adjust for mobile
+devices in portrait mode.
+
+Note:
+We are downloading from Debian because googlesource
+keeps modifying its md5sum everytime resulting in
+md5sum error.
diff --git a/libraries/libyuv/changelog b/libraries/libyuv/changelog
new file mode 100644
index 0000000000..d15960ec71
--- /dev/null
+++ b/libraries/libyuv/changelog
@@ -0,0 +1,14 @@
+Changelog for libyuv SlackBuild Script
+--------------------------------------------------------------------
+
+01/10/2022:
+
+Added to SlackBuilds.org
+
+15/05/2023:
+
+Updated to Debian git commit 62af467 on 07/01/2023
+
+06/02/2023:
+
+Updated to Debian git commit 95d8726 on 16/01/2024
diff --git a/libraries/libyuv/libyuv.SlackBuild b/libraries/libyuv/libyuv.SlackBuild
new file mode 100644
index 0000000000..ba44bfc687
--- /dev/null
+++ b/libraries/libyuv/libyuv.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for libyuv
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=libyuv
+VERSION=${VERSION:-20240116_95d8726}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+GITNAM=${GITNAM:-95d8726b0b8e4a8ef1a4a921fe87cdf563b647a3}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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
+rm -rf $PRGNAM-$GITNAM
+tar xvf $CWD/$PRGNAM-$GITNAM.tar.gz
+cd $PRGNAM-$GITNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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" = "x86_64" ]; then
+ sed -i 's+DESTINATION lib+DESTINATION lib64+g' $TMP/$PRGNAM-$GITNAM/CMakeLists.txt
+fi
+
+cmake -B build -S $TMP/$PRGNAM-$GITNAM \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_BINDIR:PATH=/usr/bin \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DCMAKE_BUILD_TYPE=Release
+
+make -C build
+make -C build install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS DEPS LICENSE OWNERS PATENTS README.md README.chromium 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/libraries/libyuv/libyuv.info b/libraries/libyuv/libyuv.info
new file mode 100644
index 0000000000..5ba00e6cdd
--- /dev/null
+++ b/libraries/libyuv/libyuv.info
@@ -0,0 +1,10 @@
+PRGNAM="libyuv"
+VERSION="20240116_95d8726"
+HOMEPAGE="https://chromium.googlesource.com/libyuv/libyuv/"
+DOWNLOAD="https://salsa.debian.org/debian/libyuv/-/archive/95d8726b0b8e4a8ef1a4a921fe87cdf563b647a3/libyuv-95d8726b0b8e4a8ef1a4a921fe87cdf563b647a3.tar.gz"
+MD5SUM="e325cd9e2c1f36b36daacd5bb9fcd003"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/libyuv/slack-desc b/libraries/libyuv/slack-desc
new file mode 100644
index 0000000000..d66c6713c1
--- /dev/null
+++ b/libraries/libyuv/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------------------------------------------------------|
+libyuv: libyuv (YUV Scaling Library)
+libyuv:
+libyuv: libyuv is an open source project that includes YUV
+libyuv: scaling and conversion functionality.It can be used
+libyuv: to convert to YUV from webcam formats for compression.
+libyuv:
+libyuv: Homepage:https://chromium.googlesource.com/libyuv/libyuv/
+libyuv:
+libyuv:
+libyuv:
+libyuv:
diff --git a/libraries/libzdb/libzdb.SlackBuild b/libraries/libzdb/libzdb.SlackBuild
index 00f439ba09..2a2d99bde1 100644
--- a/libraries/libzdb/libzdb.SlackBuild
+++ b/libraries/libzdb/libzdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "libzdb".
@@ -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=libzdb
VERSION=${VERSION:-3.1}
-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"
@@ -83,7 +93,6 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
--enable-protected \
- --enable-openssl \
--enable-sqliteunlock \
--with-mysql \
--with-sqlite=/usr/include \
@@ -96,8 +105,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGES 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/libraries/libzdb/libzdb.info b/libraries/libzdb/libzdb.info
index be93263233..ec35e9716c 100644
--- a/libraries/libzdb/libzdb.info
+++ b/libraries/libzdb/libzdb.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.tildeslash.com/libzdb/dist/libzdb-3.1.tar.gz"
MD5SUM="01d8519a596d62f6b43559cc29ecd36d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="re2c"
+REQUIRES=""
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"
diff --git a/libraries/libzen/libzen.SlackBuild b/libraries/libzen/libzen.SlackBuild
index b989c7c418..a32038cc26 100644
--- a/libraries/libzen/libzen.SlackBuild
+++ b/libraries/libzen/libzen.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libzen
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2012-2017 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 -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=libzen
SRCNAM=ZenLib
-VERSION=${VERSION:-0.4.37}
+VERSION=${VERSION:-0.4.41}
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}
@@ -112,8 +122,10 @@ cp -a *.txt Doc/ Source/Doc/Documentation.html $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 {} \;
+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/libraries/libzen/libzen.info b/libraries/libzen/libzen.info
index 1181659e0d..4fb2ce51df 100644
--- a/libraries/libzen/libzen.info
+++ b/libraries/libzen/libzen.info
@@ -1,8 +1,8 @@
PRGNAM="libzen"
-VERSION="0.4.37"
+VERSION="0.4.41"
HOMEPAGE="https://github.com/MediaArea/ZenLib"
-DOWNLOAD="https://github.com/MediaArea/ZenLib/archive/v0.4.37/ZenLib-0.4.37.tar.gz"
-MD5SUM="31bd9badb2587e8a087dd0889e19b609"
+DOWNLOAD="https://github.com/MediaArea/ZenLib/archive/v0.4.41/ZenLib-0.4.41.tar.gz"
+MD5SUM="e9ae86bb23013e1d5a85817429a92066"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/libzia/README b/libraries/libzia/README
new file mode 100644
index 0000000000..e3ef494c9c
--- /dev/null
+++ b/libraries/libzia/README
@@ -0,0 +1,4 @@
+Platform abstraction code for the tucnak package
+
+Optional dependency: libftdi1
+
diff --git a/libraries/libzia/libzia.SlackBuild b/libraries/libzia/libzia.SlackBuild
new file mode 100644
index 0000000000..9945ae391d
--- /dev/null
+++ b/libraries/libzia/libzia.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for libzia
+
+# Copyright 2022 Matt Dinslage <matthewdinslage@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=libzia
+VERSION=${VERSION:-4.54}
+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 {} \;
+
+# fix libdir for .so.d file
+if [ "$ARCH" = "x86_64" ]; then
+ sed -i 's,/lib/,/lib64/,g' src/Makefile.am
+fi
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+autoreconf -v -f
+./configure \
+ --disable-static\
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --without-bfd \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
+if [ "$ARCH" = "x86_64" ]; then
+ sed -i 's,libdir=${exec_prefix}/lib,libdir=${exec_prefix}/lib64,g' $PKG/usr/lib64/pkgconfig/libzia.pc
+fi
+
+# we don't need two doc directories with identical files.
+rm -rf $PKG/usr/share/$PRGNAM/doc
+
+find $PKG -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 \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/libzia/libzia.info b/libraries/libzia/libzia.info
new file mode 100644
index 0000000000..7d7f82c280
--- /dev/null
+++ b/libraries/libzia/libzia.info
@@ -0,0 +1,10 @@
+PRGNAM="libzia"
+VERSION="4.54"
+HOMEPAGE="http://tucnak.nagano.cz/wiki/Main_Page"
+DOWNLOAD="http://tucnak.nagano.cz/libzia-4.54.tar.gz"
+MD5SUM="d8370ce9b2b736eec5d24a756adb2f54"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="M.Dinslage"
+EMAIL="matthewdinslage@gmail.com"
diff --git a/libraries/libzia/slack-desc b/libraries/libzia/slack-desc
new file mode 100644
index 0000000000..f487eb350d
--- /dev/null
+++ b/libraries/libzia/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------------------------------------------------------|
+libzia: libzia (Support lib for tucnak4)
+libzia:
+libzia: Platform abstraction code for tucnak package
+libzia:
+libzia:
+libzia:
+libzia:
+libzia:
+libzia:
+libzia:
+libzia:
diff --git a/libraries/libzmf/libzmf.SlackBuild b/libraries/libzmf/libzmf.SlackBuild
index df26366605..2175b74f0a 100644
--- a/libraries/libzmf/libzmf.SlackBuild
+++ b/libraries/libzmf/libzmf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libzmf
@@ -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=libzmf
VERSION=${VERSION:-0.0.2}
-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}
@@ -101,8 +111,10 @@ 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
+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/libraries/libzookeeper/libzookeeper.SlackBuild b/libraries/libzookeeper/libzookeeper.SlackBuild
index 93ffe93910..40f16cf503 100644
--- a/libraries/libzookeeper/libzookeeper.SlackBuild
+++ b/libraries/libzookeeper/libzookeeper.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zookeeper-bindings
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libzookeeper
TGZNAM=zookeeper
VERSION=${VERSION:-3.4.6}
-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,7 +82,7 @@ find -L . \
cd src/c
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -95,8 +105,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README 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/libraries/libzrtpcpp/libzrtpcpp.SlackBuild b/libraries/libzrtpcpp/libzrtpcpp.SlackBuild
index 0fe58e8c8d..378cc98999 100644
--- a/libraries/libzrtpcpp/libzrtpcpp.SlackBuild
+++ b/libraries/libzrtpcpp/libzrtpcpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libzrtpcpp
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libzrtpcpp
SRCNAM=ZRTPCPP
-VERSION=${VERSION:-4.1.2}
+VERSION=${VERSION:-4.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=$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,7 +65,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README.md $CWD/$PRGNAM.SlackBuild"
+DOCS="AUTHORS COPYING ChangeLog INSTALL README.md $CWD/$PRGNAM.SlackBuild"
set -e
@@ -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/libraries/libzrtpcpp/libzrtpcpp.info b/libraries/libzrtpcpp/libzrtpcpp.info
index 362f787ee7..280482cd0a 100644
--- a/libraries/libzrtpcpp/libzrtpcpp.info
+++ b/libraries/libzrtpcpp/libzrtpcpp.info
@@ -1,8 +1,8 @@
PRGNAM="libzrtpcpp"
-VERSION="4.1.2"
+VERSION="4.6.6"
HOMEPAGE="http://www.gnutelephony.org/"
-DOWNLOAD="https://github.com/wernerd/ZRTPCPP/archive/V4.1.2.tar.gz"
-MD5SUM="dd13e50d0106eb38132fd74bd024664c"
+DOWNLOAD="https://github.com/wernerd/ZRTPCPP/archive/V4.6.6/ZRTPCPP-4.6.6.tar.gz"
+MD5SUM="e4f4fd0b5f228782cde398fbcff5d139"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ccrtp"
diff --git a/libraries/lilv/README b/libraries/lilv/README
index a0fe1622b3..9e05f06f2a 100644
--- a/libraries/lilv/README
+++ b/libraries/lilv/README
@@ -4,5 +4,6 @@ to be significantly faster and have minimal dependencies. It is
stable, well-tested software (the included test suite covers over
90% of the code) in use by several applications.
-If you want to build language bindings for lilv, pass BINDINGS=yes
-to the script. This additionally requires numpy.
+By default docs aren't built: if you like to include them be sure
+to have the optional dependency python-sphinx-lv2-theme installed
+and pass the script the parameter DOCS=yes
diff --git a/libraries/lilv/fix-python-bindings.patch b/libraries/lilv/fix-python-bindings.patch
deleted file mode 100644
index cc5aa50bd6..0000000000
--- a/libraries/lilv/fix-python-bindings.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 438eefdd67368dbd8fb8a6aa7ab207aac44e9715 Mon Sep 17 00:00:00 2001
-From: David Robillard <d@drobilla.net>
-Date: Fri, 9 Oct 2015 17:02:46 +0000
-Subject: [PATCH] Fix Python bindings
-
-git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@5759 a436a847-0d15-0410-975c-d299462d15a1
----
- bindings/lilv.i | 4 ++++
- waf | 10 +++++-----
- 4 files changed, 16 insertions(+), 6 deletions(-)
-
-diff --git a/bindings/lilv.i b/bindings/lilv.i
-index 8bbdd3f..f6254a7 100644
---- a/bindings/lilv.i
-+++ b/bindings/lilv.i
-@@ -40,6 +40,10 @@ namespace Lilv {
- self.iter = self.plugins.next(self.iter)
- return plugin
-
-+ def next(self):
-+ "Python 2 iterator protocol"
-+ return Iterator.__next__(self)
-+
- return Iterator(self)
-
- def get_by_uri(self, *args):
-diff --git a/waf b/waf
-index df0c1d1..cfddd87 100755
---- a/waf
-+++ b/waf
-@@ -33,12 +33,12 @@ POSSIBILITY OF SUCH DAMAGE.
- import os, sys, inspect
-
- VERSION="1.8.14"
--REVISION="bd8d497537f4e38e5a6e5ac866ef0959"
-+REVISION="1d629e2af929e93b3210957e709a6c76"
- GIT="x"
- INSTALL=''
--C1='#3'
--C2='#+'
--C3='#&'
-+C1='#&'
-+C2='#%'
-+C3='#$'
- cwd = os.getcwd()
- join = os.path.join
-
-@@ -165,5 +165,5 @@ if __name__ == '__main__':
- Scripting.waf_entry_point(cwd, VERSION, wafdir)
-
- #==>
--#BZh91AY&SYߢxUCF`#&"@#&#3# (b<{#&#&#&#&#&#&#&#&#&#&#&#&#&#&#&#&#&#&#&#&#&>Njv%ӧ>YtԴzQ5ݳv[eMYX7-x}87HvS]֧G'G}=\[zko=k]箾㵍tۧof}{^G{ہޗw#&#&#&7#&#&!Ҁl #&m06m&F l<iSm([#+#3`honET*#3 #T#&:#+LH ֮}ڽj/7vn6m5U]zڬ5Qg_=:=]z[/wi3Y<wϻٓɗq_{{=w3Uou]=#&>`T^Pzvw.{ܞ:Zv >M=K#&4JA*D8vONj]R]#+{^kT.ɱ]Yc\cMSzn#&wcןxzCo܏^tN#+}xsyMkͼb[;s{r{Gv[uc0zպtwaWl;7sOK#&DwԍooU]ݭWes&h={q[#&/ݸzzYw]Լ#3(#3#+`(#+ijOm鶺h{v}:}M{=kyuweo]c5ݶ#&7Ԁ#&M|켻Cv_y6n;ztDÄeWsw*mِ³)۪>'0j<U#& BOONl{n{Γs/q7{|z۷{Ko: ϣn.޶#+No9/{/o}w70eV#+򃶯wz>oNv9;gw>#}v篫[Ed#&5vv<j㮾޼{hVq۽cCz `-CRt}}.<I۩]ގ}k. vnU$\hbL=vOs}O1޾]^F>zg/=;5ͥ;}۽rՑu=k#3]^g@#&#&#&Fh56B=M @zSOM4S@M#& I$i#+#&#&#&#&#& A4M FɂIj<M=OHɚh #&#&#&)"LMOM4z#&h#&P#&#&#&#&B@ #&2$#&ę4ɦ~MM1OQ#&#&h#&#& 54#&#3?4<(GP#&#&j"2չm}V&_V20 0VEb0<#&~KO?V"#3MvT+{Ŋk<.Q}]DT@808!ŀ-c1E0;B7LUE,^.=rj]jwSOO.^-q5sc۝2 0!Z5Ekm76V+ջU[W[6ESUh@#3!!ȄAlET|XR!kݼ΍Qh&ի[_nI$cL@bd53I$H2&)E1M2QEa4RlDJ#&h*Pړ-`3D4ƦQ ƒ)6"ъ!%*S#lJ#&Yi $)"IlRRPRi05Eiڵ)&&LH#-J3L3fS-Ic)Զ&6U&ML-"&%HҴVB6M&$bAh-!b114آ`) 1M1#3&D$dڒXd0e)b$TRR[BQƥT1dhJ@I(H,LT&Sh̴őFIfaHijDL$#3lF-AQ#3DTZ"#3)#3fjH$i Hc0fTȍ DI Rl!"LI%R6Z#M""$ D̪Y#JQ`R,Mf4K265+$Ē(YRIeHY4bHSK)CQjL i¦IeJ&("bL c#+$!E Lʹ5idi2DM(H4$ɦmѲC&QCdeFc4e3Jb#+L-*(Sc$%#3lCe2,4@ƈ RdC#+dѓ!P B62#+d dL!#)cRREFы"RmF-$(PhHaQ4@eLE&3FI0ȉBѤLf*kTe0dA,S%2LcY52b14,S# dhjY&iedi +AHJRSXڢ,ƍA#3P1HIh,F5$LE5,E,HPdlLQhj4l`31IaMd5dl+#36Q%$*5hѵ*ֲҔP",kFm0ňS*6UbfتFmcdTf!)#3EZjCk#3VhSIE 6fffԪMF&YEi6f4YLff-ZZJf)*&JKYS)I46bFk32HVXA6Y#+mQD`2C5i1,Q$! A$j-HJJe5IcQ&&ȢK6#bZjT4S%2cfYMbģ%#3E!SY,,HASLaD)J#+2LYm2c,"̣T1LS&h0d#+*,f&̊ )jiS 3hF-4$R`BʃEdIH#+%D6jQ UU3(Cb4#i24؂C!$fMBTI0&MYh(щbZ&S&%ZFL(H͂(2&M 25M11RBEQBlj*4QHaHf))4E0 QI&iI&(#+e %6fa6j+E4X%#+ZKcPX#3#+I$MF#+$&"64ʵ*5F12lEMIl4d,RmlAT$Y4lFdڍ%EJb)[#+$͑)6(i",-0HMjJh`JM0SY5l2J((YQ6%#+QIBI-iJ[Y#iZ6(LR24"e FL0ehccV4#-V056-mKjQ6CK+mR,lR٩XŲQb-&RhLQd,Z2QcFkiʆDIYZ*6B٫&21b֊"+F-F mlEjVVFQ@lMcX#fQA&6#I"HmI)7ovĿ#5|MH@?m遶毑h6=YzQ/Em[?C(DVaEXkCrX)\tWwvd*_?&Ahzl$ɡ2ꊦ#3Y]b<Hh_hv\8F#ヲiX;Fir7F܆z ]U`"m=)`N#3*Wd4ٖ00EG~ ^7WWeͣQk0 #31lc7R&u{74,Fw^s?%#3aިq'ٖ1TTі W˖=0#3FH"zBaCI#3ƕIJ18`bM=LCJ Y=:ٮ{{%mlk@[":d= Mw\軍̚BZH_DOJuةRȅ@SAP%6]ygFɢIpUDA2M #&a2+u)*P}ooK#" FQVZH#+5W{S˒n:(#3@GQ@J#+uzwIVksu)6Jmz`E#3PDj,'+y'sfQMLa2#3b}[{U}sugV{sXa*w3VpCGj<x~ AokKHe'kh88)@0ggLՊUQ*˜ΨgЮ !ޖa EO– }o͊0 TMSV҃tT[LhU>s(f[2+"gW%tli멗[MehT9]("i{ʤyemcmOĆ$F4k3,1ryJ>znWs&g#+kkG-uuDcE#XymmӤshdU ' - cM@UqorɅ*Ǿy(Y*RD)CTX]Q5zzFB%6R@p'҇φEF"n$RŹL J)>4!֨Rpx ¨.Bv-JDrJ_k,ߡwҨwX`;Wÿ" $TTqaE#Ʃ+3-GmZq9!JUNƍ|B5݂DaPS3ypĉT1EUQ}3^pr?}ce8(a3w3GxCf6o)!TCĪӕ#&"NPO%bQT/#b$5/fohg4àH5 CϾX5ՓX3V BmcUA_]L ozlDn}oYA=ktfEt>5sgQNLLYCF+4wkXn 3mc+MIEMN~ #&c>;dZ'ʩ=L6D|QJKcqa0‡Aȵ;#=\.Gu顪w|*Fg #8eQ籑6 wXd~{h cmj04̊0o~-x$Eyk6:OL\"+:Dw_j"]s-ob`I¨х qม}\SlLε?۪2}U8U:%H${N{Y~C,`s+)wI&['onMjj2(!ʸoM%jBɔAcVg}]oIa)9σ<5Ov3ѻjj& uCzKa`)fc#+J۞kяB_Q]!g+j!=tH+M#+L\0aq}4<R[i#+*n؉mc{#Y>"ٵ^+gb[ 5#3# #Hh⼽:"07zU"wQAzie9JJpj--WDI@JíWz2PPV5ajaVs=c?wlR#M+@Y {cgLsTB g S#T8 9Vc~+>d#ӟt){e3C϶,ERQ:9Z_T\h&B/!D5Ć<y`iݠ1"otةw@ @rb=4`ym<׶E58Ҿm>90lp9i&ykFI5kLl8Q*!%wvcWRv4r#3bݵjo:H rrb()\Lj0W].N.9s85:}YD'"Ld!"@ NmB<'kq<anwa᪆#+֏sYs#+J3>'\A|;ˏD{/A*,< ֡kєLIpxr?2q<$GXڙ#&o@|NyDtB>w&ZٲxWl dtҡ}<o佨;˃-be=x#361:zCbSƹKK⸀tǤc lc>X̋:#4fHV[)N GWԠsVrW# T)l*&FB[ib~ ah[}ϰlRT\LS=ڼYiڏXǦM*imSW!״A)|/wV|&z.ظu~>#+PB9l$[R/b8cB1s꺕VޡLdy9U^q#3+>>,>Kn % vGJ,[n!hT#)ƀRt*:VO*NDo?g[=J6qL,!qAsJݿmxʏ4}S X|GX#Zh#3ʢǿ<'f׌H0W"8ӑ)핫WP#l`y7vĉE(YO:bTur5B-B.Ft 7%L&#$\| Ǹ2"Y)olȊ6Cym/oR#.r{?f7k5)n%kt*Dȝ6a{MlP],w{ZX5\NvQSRzxq!Zu ܼ`::-(A?S㤠膰T`b"tkQ#3Jw̯? dPCy)#+ۄ)^jY":K4];sn!A []J]XFajT_?[&FǥW2>r"}fr[,c#3Dԍp}Zl#P2qId,O-^U:U;ps#MeUoݖ`fRMA[WyȯkX6g:Y)ɱJ}=2bGʃq,׺3]C}9sNǧ-0r9.~ޝݴ5|\U9Rt\9uU`A^4ޥ]HɒYbUQwPCDt(>Ppv*aםYє ڪl+`!zl&#+qgBΰ*een]q˔yP !77׵7KgYGbҾf>ƏX{A}s!-soy$8Vd"eD۷f%DLb%jVMP-R.dNdM(#L bcZAA@<T`+*UأDc`slly!ͣ|f.~χs=JId$뢧ۮ-fuLf G<d-1[#&z'qv{N~7)(f}nZ.9vsBYAS֖ioNDS~16qU2֊{Nh^:#+VF2#+m$diɑ.GSh\SyQ9p %Q+Ae#+ Kw|pm-|9(^Mm/sؿ]${K7Q"#3=9TnyL0Z[--~-58"ۯˆfMQ,Yb1[]?_Mӯ*ⶖz#+ MoU'sgr~ׂ|ɚQn)C_gk؁GUq߬x=%s/fd=s1"N04I,EA[le8-60Y#+Nwquт>+r]f:a˵3ssk""Y/"WKMJ#+#+Yص&x|.4(p,Mcꔜo#3&A_]Ս(-HSG??a]'b"5\'{2)BKmvD67o zx^e;Xx-dAkrhD0IXil ]yW#yҒJlmג\٨w+E$̳kxva9t^UKMP%P Lg&h&܆㖹*r#3k2¢ǜ_IQLSz9Ugզ"N&6f?$@vz7X8~ Frv<LtVV""S,¦7#3 PKim,ma3"0=oa\"~詷BdZE#&8to-J0>,7&Д{3.|y߅<wF)_~qo3ljRlǕ|ΏؕBo.îlZ1?>"5:O7!4[t*QCt`cTJMNB;:Gהf:JŪBG+GB7>݆^$I -tz㱸aG;gǬlrB^F,x$`ʼnJ;BGs-R:9#f0׃?]m23a{QB++ݫDhv呶)2TZ|#F~gF%On_F|W3s4,WE`Q<?~j4Lɐ6!9C*;>ۮj7 CEǗrՅ̼מ}bv/ I&'&3-lo\ZlyS@D$E4x;\5Q9C٣k9:oڜw3wߍjh|nMШQaN\Mv( #T.I ffdcj#&ǂγ8pd10ql¸1~tx ,NdBɾ,Q*bU! u&SBN: &h9NaV%~(B䳛tE-ԙBlN}Im"+p EǗMסN>y ڄqq+i*L$V%Xꀕ =ÐeAB~'T趩eɚ3 2m={;a|=^8V,b04ٙ[#+"8~Z8nSj?#3rBv|r)f-󺤹YUeWtw~cys:vWm ˻k~4P]!EWi2 0#+F7eiUlꨊ#30b}.|1E7n՝N\-YX ^dC҃Ιaܹ#3O .RDꔡsLn-(G>uVUǞ.tDpjI)eq̍R&m!٠0!rH#3\||%|3DmM##&3fIvpٮKL+b#+XqӖ BEsݗy)?oƧ=DJs’EJhpFehQn%m?'H@ϓ\mD2) Pė\X ol$z]HML`ϜU1~g׽y[vi8Ӹ<4}wO oXɭ%[eNbG3CBT8@] g9 7;i~f,w0}6F9jeUձUbMCVͥ#~"XQ\=1EЁJu^j&Oᱠn#3f5LUfǬvX6;\k #3)M2Ն)3!8寇uzD?޷ߛT?ʨ԰Auc6vjNC"*vzf)in^c5!ѷԄ%Q8|GwRVCyM!F7ֿSޖDH夈!gϾfV9f={QLk'Q+rUpq)2]?IQ+m&4v fsD]tP)iX!۠nhiC,wrJvFfvb}טW;f+7?p]2eX-Z_䈖ƸiQvNZMvZlDX lkDF1-mpA:A]7J3ﺍ&mwک*1",[i (=iasɒIHI4,&Ium<Ly+:$acq1Qn[Tč!A!LM6b)m$lCϭiUly:Y;MtI^_g^˧MYW(%+ DQƩ#3缆6w=-ޓž1.ww0!{Nse_3і۵>+˵:>)Y qM[;l]gW۲f~)?2KĽGZ޼q%6Ludv#+w㇈}#3ϑ9mH)pX e91I̖ID\?#/s5^ZvCݙDQ:>Q8ׁ;a,fxF7nBGs6&HY!jF†2L4nz5^Hߜt<{Q[__*/kgdZ#+@u3`9d_M?,:ĝ㽚b߲]pS#3Mk#+9oL=Wza]ڼFbHVTVSH[759׻L3C !%0(5aT">{3[DԅH)BeVX _kgױXdU#a0V- Lyrs~pc.d]Ä7h?ŋka(p*{'svz@߶.tҋI6ukKH@5s1#3$QԷuZf tLʼnC;O{1,NtɝadKu}R*;uDoسF%;m?wֆldק`5\;3C""3dX#+4CYaס1#&bUfmv-w_&ȯSu)#3*ZN,)CPT#&CZ*Z(NrUJL XqҺ#k{w:h$n#jo#&cYMm} [o˅A"ȀآjBeV@2H"9Wϱ登KӞV~F!*̻rVlZQfFo޶6"_1wc]qA/倐;'C_~UQmTI4#+# #3+ne]A"߂G>{W36"ΛnSIEzwl#3h(-QfU>Cdf+FdoufDaH`/kY)iKٜJurدI!<oǗ)W3߾IwNyXKqҼCZpw#+x< 5RiG@0Yh;F3'l9G7PU!T{'b/*q"$A_. i,B$Ek*۩._SN s*#+I$,B<,g۱O߮({!-=/Z[x\(`496N5^y'!rND'rrr#3i6Lʜ=*)M<|i(Tؔ! 2fPbVɖ@.ZPĴX`Pf rV{kIad؞jQ]lz#&$#0DdJiHEPLѰT2#+#+.UdDX,;2)%Zo:at "dQgs5>vW]*c^eܣ鳝P4KҺh+l2I!cg^ǿC8Ų9163vCr#+܍ ٦MKd5h%4+]d֏=Pg*:- L%g}Eqr<à Ϧ<F- QR_r_9jLUEfldT]}!DCzQgK-Emxh}va镦_0EOud8^2&C^ njH<>)͛.X! 1$r"|{4]43CjiD1E M.`ۦl`A[豣w(#o*jswXlI487}8>qINN>z6ܹ2$F((n/V,4CP*$il#38l䮕n*zaSlXb7r2Mt]V3v^Tc(Kׯx<76DYhC9v #+Z6"M6Fkskt֙3j1EUS¬bPHPcICam q#&1rTb4Jj&teg[t#&ǜ`a3aL#CnG%lR&'#+FtVTu \F#3gi*}ߟk~Ԝ{tuw+Oa~Ƿ{R0o]'W_D%LCގZ>]&wܴ vs5[WL?[ƥG=#rʄK))C*\_p!$}#+]:`#3„zXwnj$_m"b~Z9~k+6xCJ.i[gcg7V"gũ#()˾JRguV|)?0ϳn6侕O#؇-UU;a`>Pn߿=G<dz>NK_ɴfh|>:~#¾xAqgw!M#+шZe #+KIA<.; e&#+yBXܫ_#+$n.^~WOZ,dq0n9 #[E:{k'c/xeWx5#C;0ƪ2ѵQF1)˼oC5H2rLa*1:.vs-7wI/վpŘwv 1y<1}g~J=fg8yGtI,$HF;l:"jK'+͕,eI\f&ңkOnvlhua3A$ F^[\Y-nzMvK*L,7>71"wU@eOxb}NZ#+~|g_BwV!SDFDE>{sF6Fs9vK~s^koפma#3a8!v 2`kMK^L""Mc#&dȍBd'?cL<eZ8kLM-p2!)]Joa"#+疰UKBC8AJOaY6Z>]Mu1ds~ lvϕ?cNG/hGrX"7B#+I<6úΔ Zdl0P>(\:#+%Tmwx7z>e0N#3B`JQ.VcW;z^?7oN->Hc :;H(T'“JVB<h&VO{W[)e͢vkvX=p({X=Ϳ0>Iwun3uWys |\~OGWf~:&^ }.3?=O=#31G/9[~Zl4#3"("qgC菩 nMAtE?5]ՕT~\:EQUA66~+f}⸭pzxQt-٩c?L5LUUGvUٲE^C#3]ۮJpe@ wZLnQlup & pp)ǍdwS44SNCWUashuloZʸ6Z55E e7x<EPQ~j(KW#Zo<@AJ19QB-x;= rĉtcw__Yֆ=q,!xC?T8#+VM-|2Cg6q`ޱ@ma ܙT#3N*!~xZrLdir4?F*gcwQYG-DǟjM#}]?~{dFI;)`,_1kp 2#&*qW|kUG"@Oe')I#wCU[< }ZUؾI14O%23v'>6Fʳ?Wᆉ ( ڂڟħ4)@X K:+͵CNp^n%-"I1"v OOޯJte-@KY%@Y}0?;N2ӣWpߩR1jah4?&e.α]˝3^H<Un _H8dy*#3+%Ef2iX/'lp9xws`g #&_V#+7[%C]mTQ<1E3_զF#M׶6߷E?#+9gT#39K)RO>n4~*ujoec$\F_9ģ_w>CwߟĎ^oQGu=~FcZfӣN㫾]|^NOԲn*V?զލ* /N>%Gk-hokq,:'ǿٿv>FtmUrhx W#3a;8wXy7`:/T[iK9d4=RG(k^߽QOa|%4=!Q;);OEW{38_DdTͬO~\z]dg߿t@qJ2yC|Pm)fyg~#+:RP4Kvsٯ欪a^!˙໗.]SYǚϓouN[aZe>ΠFz+ CgczÌ=#:R8Kn7QLXGsWGhFOu4KFQΝixEڵYfRrMygh[뮠{s>aAx_~;ujySN.?Mu-Ր{87?/ ~4jR-⿘e:p]>UUexg*?Ëgb`ު|WP: Cu4D=l(ZKL69+ɓps%ha?GGFŧ!<>o8%OEWO_ bA?sjn&=٠.Ȱa!hp>nMCH5x=q7ݽگ;#+jd#3dj1Ѹ~oGփO?&oU_W_#=U;{t7?T]QXaW^[>ʵ!sog ]+#3|9wk>qs?YxiF6~T˵C?^<4}Vu ohhyO{}m/N4}Tųn;5–ږowu+|Cp^}4z<R!a ~j۷̽Ы7hYi#32~wYSmhѦCIї;8%jN ,9GXXwODU\l*_^:_<O7\:paѰTmqz`[5Ym0Uj0rwcU#+Ӳ ]~޺dԽMȥvmH9Y+%mzZVTOnՏ-S1/]uEӧUy[9n;S7S o/̛Sq$-v(I~8Uelr뢎8JiQA'DKt3Ξ1}b;>_:އʛdg|̭f\/W9#3>u /C951?yͿZ8~bd7~@Ψq-Ĵ[؊ _঱oˋYl綌0D&fH|'^f<ӯeEsGo&ϲZX]_$ؓ&PaU/vEtj<ALqٶ{w/ ~:Ξ*zۻ]4lug^jvQBq9QM8yh}((2͜׬-ّGMVݢ4uMz;R[w/#uJBZ1xU | ң>Ϭ7#+k#+= t{>{0Mݲ-WdG{/$;Mo-ǟK׍zv~TaqSk:|$+tIX}#U#3$A<}|v>!t.rDv=N;q~ˍ<#a[r7+C>sŖL_>pKALІ30Cia#+#3+EJ`@Vlip5%(ih,BH٩!6^[k[,UPAi6d1*‹*L0tZWN,u E"0N+`8HB{`ZY6ux3Y܌ k4iLd?LU1m?/ZfY5!a<$#5#00!3|^rzq.bñp&$"ʅScrgzd"CLFFڒ$RiڙG`%N@CeHG=>M8?l9.A;j%ƚ-:bY:3)mzM9 =gb_ߙ=K×=:"~+ggB"kŻ?VrZˍv|-|>',#dl1꤉Rnؗu$g<}j>O7g5kv&k] cA \=y|Μ(B6~?M)<(F/ H<'fW qOkގ/WU]>u{*fWꨘRyJ>8x3soSU8V̳ǐh!a鑖BJLtJ JI#&hii`h,!4وn ̘#+1%S6I2Wn<e`.1xjLڣ1U#&b`=kl )B˖!KXdRcbC*VM07q`𬵥<ЌQ#38X#&An!"lNivyڜjfJc` D, M]H1(&AěI6‘+QlMd@IٍcW#3Ф]TI"&Â@|\e K@aDQ(KXYman]WCI"e:*r6>lzQ7E /6F5kVWe@(:рLNP~B3$c#30"UL `S(Θb|]O\JaLnuGm7:a*00.dps7ӲEQgG#3F:3/ݣEl=&ܳ+-*ud1zUBP%rxm]~n;aʾVzjT3KYww4TQ](s"M{^稄jV8>#+7iK[ȗvj4{"/~Jbã)YcIG0l{KM#+#3p_Q;g#+5L,'1 ] \=<j<-7f2jKA$b!âe#+af].ٍ&Ѝ%=HzRŗ)\5}ꠘp๲xQ#+ꞧ'7?wN1E?Ul C.ݱRJ2#Հ"0{# 2N޽*h$l4O#3Ζ<{%%T9n&ga,J!{gF7H}{)6xTcؐXu 0x8Ֆ&?[1uO$B녶@YY phT熪pz6͚'n\Uc$j5Z᧟R= [V2jZ٨>wa2(BrTJG7&tALH?+M#+6#c$#Ԉ#+Db?c٤laYBYN 5n|=N^56$T#D5Xyd+z&ߓ4 bF6ɫihйMÜBe1A' x/Xaa8cĎI]BDZ#&=H<M#+0HN z#+Wk1g|b&<h3ƊPl4Fkɣ*%ieEJnrl@gg32: 9iC8C$;,"(ʊq V'H0lP& ,#Q9eKJm98$5ލ,5#mZ1"wĎC'l0T*L0a}93%iت,T2DeCo̊eP ջj:h#+2<y8jt⢳A,(#3uʍR _`xyaGҭq$g8ys3\ue#R9d&Ʀ9i=gwB4Syf~b^onK^!7/~.IVST#iǧY501q#ҋ/N )idjR#N@"F~:ޒEAhk Z4 9cKki xx/+ uRư丱 i-a#&2K\aήV5bhPE"H4!lh(?.~ƚ~tPt}5ב^q & GMP\=-]q&EJ#sc`m>&;L9%#3`#3 \F4>IH52 g2#+dF5qWHXPmʋXiRrAcxVDi58``Ë 0,ʐ#+wcy%,B74CuT,D3#+,Be:U8!A]͓<#342p9bC0Q0rqP^L͋L.bQK\  R,Gbݲ'I<v5.N}cNaR!}1~wv8Q')5[#+B^Jt[h8Mi2Ma0qvwM(wVdȸ-L;VLZMQbtkhԄ8 K:N37is:30 ,&X2B#32yM8BF[F榴#nF*U2iF-*V"qlpΒ:[,Zc4'_{{caP&3JM,gHm0Jdj-4ȪU MsXGe! aB0Pi1$0#;Ų_#3"߃l풙C1B4' s nd6ݛ4' 3N&$@eٴVlK/}7.dmW:06fN٬l3Fitcvx;&fgkbl;nK^B՚{^^'UYKƕW hHlϕ)up߹$kY?Dnob9x(7fֻW*" Aȅ (Lr9:j`[k{9tO#&Z7K1эA|f+!4S]`f <rk6ptRܬ5((Ӧ'XC-6Nq0=keJMƊ&##&}=}W~ȸ鷿9n0~%5 ] ]#<f1c$AGwL#b{[žsQX8c#F#*Z߆Y}#3 |HXtpx#8q%g].]0ǽjQo16,YfY#3xeE]Nf;4J;)ۦTe0<~u\lbQ(v/95)В@(LdCեt AAx%2}/?~&OvO'Vpe񚈘 CF.6CDtͦ;,iJZ'1uyieNm5;gΝ>-gxyP19yN%-f4Nerlz_SôY}0J'yPth $ڔ£ܶ[=& hLfRp?φ '\݋9@= ӡI,ص*ۦӶw?v'ѪѲ/ʼ3Pk<EɉN%\M<gҪ)L:0ﶔӭbk &$9ђ9>^#3\5&)Y_Y/V-YXx#+YtĠvÚEXjVUj{ ޿̧Eboj->It P/^>1΅D(UY~u+92>EgSo@y*].鹼1#+}Z4eo,kN>S%+˷]uZv CVJ-!LS?8ᱠ7M@#+6ƢEteYiTs:gIjkHD_.Z9zazV9@nW9ΤbֆVD_)&]?12mFߓdjRדăŃ$syup"Ñj+J8~$UQRr05{*ޅ#+lF`܎&bud7adg!%Qhqn#+ٓ4󄾗r țbm!(#3F1.lzu@.sR-{#&De"m4x,#3=(!#3>1#+&Q ?W)^\m!((L##+6}(uI<x+uz@QD|#қ^VOf-؃c$n:L-KjΑj#+b1ZvL#+l-'(zb>}V%$ܯdn=D,-ÂCtx2m8cFݤn5CG~{'on?;>xtD*ls+QDOL!4b7}['p3[~%ڡóZarQKdD:ֳ:jbV{ 7M[h&Y Î΋M'#& nl{ѯVD`a١k/m2C9&^Meaϥ56L:8tXm*y} dBLFXϣml_UiWե+9ZWZ(r#+&iJCo]u|gӪ!s@y='<ʒ-"-/`$pޝMl)>ƞ<;[@'}jաVhi\QE| 04F 1H(#(mBL9g.e1J0aV|U&e]*tV윜C-廬"E%BltKk4~2nLAk /r+Gۚs#+M JQKAgfyt|c;7 wHvbcLI=>]ta]Vw*-*+Rwdv[{'l,%Oӫ%?k9cǨdNC<gR/hZXJwnn=a$%䤍<YCa?5)p)nC4Q²cNu[m1@NN#3l#3Е <ㆺNk-UyUD/꤀DW~`qw/(T/^ff@#+͡y&APo<5^R[ѭo-՝ʥmZ6hGC6˕ZjwAS]Dhh;c#+OVoB'ׅ4M6~E$˦dx2)^vĵkK-|mRCZ߂,<cѝ0]QaU3cϳ2&BD}MZՂ8p} BL@s^]"kR2QjSP:ӣ#@X_޵:wN_՜mh^qgH#+I#37##C-޼/Lpr|%ԱKdK-(FVLxz*Ԏ`q?yp4&:2Z>q7سh\tyE²rW5g LjQ/sY쾯_ u#G/y:-vqVa4%O" t^G=#3~<a򻙦T?YQy#3S2Zs}Rt+qh>:ZB-k4 Tz3x-F>T2Y}5uް4#+aR&kELcN1\Κ/;m`XO<b;xh !](C׈#+#XG]7[*E}MpSRTsgh&//H>ScQ^%F6H#+ZvUwEќ6S MֳWV%@_'~{I+cj}t/9ӉuH60cܔTj۟U#3rCyS|(1wT}2()5Ty Auo.Dj4h Nʢ-TPެfьκա];q׎Ur #+#+M]sOIqs򰼞zuae]`)ћh/U$}BF9᷆|x밼e&ӚP]#ѵC3Zj(ߖVWT\mUy9+㡻L]&PoP2q&L?ea~6,z?8LKWn/]BǂÛ|?Ye)SS"1TB#S](jsܹF}߃0oXa \qzWWvTEĸNVj E7(l#3#3Zo7*7Da{CotJEM?Ys<ۺE\+Tܬ<|bDdmݚ3`K&8mml%7 ]pprWWo#+ζ[IhcJ=_*= PWHjד* ~:1JitbI? ngZrNWb}}#+;>nhb7A&tۢs,;,e83Q$ӱ?fo¸#*~.j\VѮ٧MtQ{U ,$^W0*a~qgW>F;>cܲFz9TG\/ǻkx#?e}On~Յ#W 34QЎw|z ZԨ{t>{̲]ߴƾ7bF }1~YSoPL&ey<C;OsCKiQ>{uK>⽗c ،#5\K:C츈zhNݶq;,CY4!י;,-i2RԚqbk^YMތ9~y;lZtH;HMNfE}Y6hrœ|nnu퀟v/A^)_g3*d}?мɿ%urO.vpe|kgy'XI_+xzn;g`dUsCVL[}#3,cmmwwi!CO"H3lϐ/>w:yD1c73.},azM*"XCIX19,㞩tM'#3%H~$>hϤkc#zu/<E:eNcA~#':׌jcnO¹>YF}SFy؊EYE~WO`?9L{,Fy<qﯢ#+\(ߵ"L316oZ߬4 0cH0'\+ԟ`"1;q$#V'S犥OIuxĪ=?}Y</6eu{]E/ûRX(ouQ:y蓋#k贡+4s;!+BƃUzdx½zmXa]axZ:ǫfȉ8lZ Q 0hevqmv&:0z#+ù~j.{9zbahdin즃mϛ\cwz1]lj#3G-=<~Reyf">mE#39RqS.ܧL$(u1ܿ%&7qqIƻfT;mȌdc}|~Q3^JȺLcd}q8G{TK h#+_߿GGd7eB^Ͽu]mj~̲[J7vlm)V5}bzGۏWMvwU!EURRH2XVM0K֥!цt>b(>WǯjzP&>58#+uoeOb+([+RiSXDjO#3+] m?fn3 y]xILыn{w1ʦRjst!^]'#+$=ѡ0R"SR][A۹]hGQW?UҵMf]XXX@tyjWErLz(N6n_%tƹ+GƖ#3zn$?C£M+~įGq}IUGTK脣o\N!IQבEHSR1Fp8^G҉IOT*̇Wog\a;/m9 YbIAʇkM:%DƋ0yk8oI޸)'|B='+y׮v|Zlƒi/1_HTc~m {׵L5D ݮG_$m$&Ğr-mu__g1nar}޵$zDtuٌ?g/7ڞOOoNp38ֻ}#+.̒`XZHGxaI]JE0NЎ͸0^5Km/(^x3e DUh!:Tx/٫GC뿠4c4i8A3W haMPI"劈vl蠟FN>#p<#3h]O;%G}ܯ1sU%CdR#30_^/=;^u[q:9d8q]02RtS\󧆓+2۝xXurmnì8m`ۻAqtOak,~U *θFLg\x= Zn8Y#3{j4#6W^z.-Hv^'AO~#3}[:Ed7[bmTyr]U> zuѲ1;Id!KY:(o-属qmA_O_8go*"l~$,GI4>wJhA-S_L+&DKC#+,aQ+Ҳ5VDQ1xDP? vzB^!؈ݝ,xf]2y Dz㴇}͑4,Neq%ˮzIWC֧-U6l5`Ep}ȼ]l:"xI^<aooxOU<A͈R:"8& XxIl4ǯ9j)u){\׬}{_dO&E%bٵ#3{56Uekw'+LZ)s{&FW[m5:*jۢ:$sԣ>}*1ĈU\(Ccs_2ƜMŹWSCx^<"[ '7<m&S3G?Tatwh2rǍ*Fx4w) )hKKHiWx{m-Fqh>j΄< vp@#+tBz:h^״g'yi.J6Ncx|gcgs[1i<2aiF/4)61-q\ylދ~[U5F-Au/Vyk߹J#EB1Ncܶ32 [M<+xAՀ勾ch1w]nUe}ibo6(_#3iǿLBVP+nmTH.7%|h57o?/|FW[#+*"%;o/7\]R?tSvw[Vfeҥ@YǦ1Ӧ^eʂ4Se~Gz;Y"\m#&;tZ[n?NFrwcJ w<) ˴LSﺯ85=چk}YgWZJCX{M<xro.6|}yN_) ߻ԳAYTSNSCJ:mO)C}kli_eR\٭3Dɾd7}?>_PR$%#+pIJ0D:G'DGMOVpg4%1?n~#&zel.KN9AIirrF t()f#+XTU<,#38oAE!{rs l9tFR45mH7nQǴA #3E4[2`Vm&t%xX6Cc|z;vVjj6">g#&7I"])P=#+yj +ك#+<Ĵ&*3ZUarD1{~O/2Ťo[jH#f?]ŅbBޟfmp?cIY1Pmp` -uPmf);Nh=B&L1ʔ';xu6g+=.fN0Af3\ #+-=:pj6ԜDkz#)Gzmt:?@b886j#+e qoCp:?czD3>%՛M/sRTvp7Vu髞6ҷ=o'G|<a!E'˚Fd[{3>z%DT'稤9Jp0*bŧeʪ <sB2d !SLedEBGaI!T}I&2Cvij#3knTE{<v)L(%k8F{S,A3dCq j64Q@{֤:#& jX#3֎G6ꛨ_tB#+aw#+n֮2ShL7lv2<*<ݩ-!'J$3n% o<sY}ЍPn^qc0Q}!jX'$֚86K':j60wC#+i%|(y6bC5\|LOJmu-geFu*Uʔ<7OAZ6$-4_ ;l 79B/*yI)$ش r>n;!~rb96qN[ABxSD4r#"4 ,^Ϥц)ȇlD!byzȯه$S"x>uIsה#+sj5#+-#+ 9#i.iފ5Zx3 }|JG NowU~e!#3ƂEevQk]Lomya3Gװ]R)][3>DK^(/rZSLhE]'q`X&3^ Hv~ѻ=S!b)a3|mu 0Ab!X~ fBΟ#Ku#3-k #3퐄LZ̈́i_ǜc#3`d"Ձ0•&R)/he!90/=8_zAn$ `t҉)CMQ/zZsB-k|g^:&S(NRb&4}bN<a mn3Չ6ön͔Y.y[:8Iǚ&/|>s9>}SߢE[*^^#+^!"K8<zlV3jT˥iÌl(Ӂ[OZ*d\ @ނfiR+-]=^yбe,E&_{ `c7ټ[Or1p%ܿ~m)(F:)lq*G Rd%NlXK5F4\j;#3u!sӿ\cl>I2lhEmن߅$ ^FEwm.5sD 4aGLw@["+W› B5D҉u7BZc#+WYwq۳f@$0pLFĥ"j}ӭT^!(2SƝU9ܴ[fّڳi>(#+qB1tqb~3!l힊3|⯖~Mvc o8#,x;Q:묑SeT3,#{, ,]p9'#36>wB_2bjr5 ''6" 4odq"}g-5#+C"@m͹ zWKXW鳱4e7$|=l9̃g:ßvve"(sV;єF+BQ%#p4l-7wX8fFȸ;OLd -0gF8teAq m^85#3'JOuLNzaKdBSm^G:߰T#)̐#~N뎛vxfxym<3ʒ|M!M=l `p5~ztM{etȐZƙCcNi(X9XJ,-luˎ#3,C!AɓWl#+8S^),3eEw5xd5rlE=ϷɈo"\9M+_gVd_<9AwUvp\e8YNpt0%M#+qv#d)~ S~)a#3 z)$h ݝYׅ;r)Mdpxi}]-c68VJ59j́r>aPDiڴXUH̻fr(TLjupm3q,ʚ[E#+'#K-%>7+1x&Ӎyhe(#~ު2{Mtv4U'$= P$OgЉKۣ?]xZUBU'|#PytOyw}x-n0*Lm3;u^^y^S$?wӣj>ajGc;b"sH81"bsЬwM8&|h"EU4IZ5e&#3?}>Y1>A7>a=竀3|6E #+~__|I%a|z6e9bcV\qI0WATy޶[0}c(:2q$QeIޕ+˾+j|ȃkڐZ#3/v|U;j*"dBdONAțƁJCynZj&"D?6lDi1%{k 6mKxMe$$'0~l?O1é$x]YIGaUNjH!_h>ѡ-cbh `ÌaAlRLFpS{OQD(?t˥p<|<aK~ൄuw&;#+ǀ8."Ժ!(2@Y& !%tL@ jR@]6"#hM$14‚9PB0(#+ -!zrk`lƷ ] 1E@#&Y0a #&aH ҁĠ˱%x۪cjM8̒|_L }|Qc/8VW֗r~ y,y4B}Eɑ7p끠35F!(ME5033SϓI}ɭ2^1]gƶz"ȁg*]$>x} 9ATRAsvhWkQΗvKDǕ.",!:7RsWZk?_o#3GJйbN&10P;lu#38!sV;YB&tAt'ff#+@ޞMw Q)?~W)#+ G&;5Z_XT1o'a7m?l@=ác&Zw1.u!hD]84jX#d "#&L`D@Zi)$(NZv#+[37uGv$C]V|#&nAl-8!QB,M!h)%p$,BTy*Wq<zy\<b0GQCÙ֙yǣwv#+'0!lv`Zyt]XR}xk:Ԡ@bk(=1Lwv@۹64m)!0kO|o ˇY}+ΧD4,(=k2= [a_ρVtGv!DBjGC|C2Hw@݅ BI7KHDd-hJnf;&b!6PAj+k+t2VьjaI>W/+mmjP#$=oG~U^c.1*447w#&8đ>ncHک٦\uuw}vCjK ds[s&ѬQGЊڇ&;m[mp_UdR-J&pem4$b/($#avrsHG@9{pCF#3W*87#+8JS65h+rޚ5h)#&5#3}m\#&ߺ TưBɵOD1\F,C:d}#+3o6 *NN#&X$(j Qe:|skcdg¡7ɪZ!BR@4$HGE堝G1ހacצRC ֨T{um1ƄT#3Y$DOi J`u7Z3Mð4.腢twLU7n፵,#*:@RfyWRQeL*pEc'$X0w^%եrLO];&ؔV]7 ^v#3pj`T7̡lIJ(Mc؍y\Dg |c8{x-D}UNDS #Cg;oF}'n< ĺcM, -l|&0!U` ;L(,CI|%9d0y 7g#&O70Q- ag~"NMu>OeC(9D?u\ Jk(f$nb^Q=(<;sk6NN{\딿pO#+,FZQ׏Qo&|葯;qޯ94E~73;;qȸP" '63Tt]eRvD^oCAi;kr'wnq#3d.PV(ZZHDŽE,i*uZhZ7և:ا3A0x@(#3-yd;(vHj|m')}K@"%%LR= g=]scaϦUV2_$Vߟ=fN9wScǙl.+T6jO/<LA48|K#3Q(%w+ث5}]pݦↅTYdgϣw:Tq.ۜI YC ϭF>iㆿۯ-a%#+!#+4jxFbArz֕A4ɵEQ,kbc_IDc p˅}_/Y2mՀxD]Ţv[D GQ#+k9&OT$ѥSHNIbu*{_0|,tiy1鱥A_دy}rxbOЄSQepLP`@N۷#&=E#+p;3:xnj5^k8vWZBo2wD4~[aw6tvJis,tJ:d2d9zC 5rF373R"M#3ЊG̉Jf0N)jKlMT rQ n#&ػl~Vj󘓋eN"Ћ Ϲ^&>@:jW#§E{%ȋ긁j 7xewrA[ h0{,pRQ<斱1s>QP-"M#+J&bN]k] ,m#&@`XŜ8comŻ۶13}m͑CFy#3Шx5$3i̿/?^z '#dN0=t?ߋ#&x=x}9c;qe8 /#&y?e)ffy<|SGFȿ@٠#+v?hirVn%#+pB%B HUWS4,d^x`L$ e5ڈ'm,BJ61ԼPABpt) "^gGk}`tۯOH[@>S$}:]E==]7a˖ HH ѷ})hQ٭` ݵmP߻5>vN)M?)TQE((*:yƥCl\鲛+ ==533!#&3u""k^_Zj*w ax#3lM""a֦b1j3L!1__ΤVR5:BS5`iޓӏ2cLTPLytJw9a#3Ho\],;6+3s78f@=D#S#+BݏIe%GgR";+j G;}їx\t"5Rƻ#3K0uSjtoԻp@CVsw7G^xguP*~=}w 9vS̯;(uo[f+#+RffV(Q^;65U(nLEs&0z)'/AfFۓ$A몿;}R(A䉜7@$ U'vgv &m])_Grņ2f U_^h4@$&o;bmLoL4whLK1jߺX,P18s~:WW|Z-QZJh@Sowayw[*\ͧK@ͧCtc0s'3YE66<ЩN#30gyU_X6Zu댑fiJ./8v<q]O\Rcf<#&xwt7eˤtLxp ~o`Kh&DDO߇TXkf!Ogb;<<#t8vj6r9zG:nq٬EUH훟}/Xz|9J5Wd?ER0C?no'(~<?B\h]_*"43f9l3ysW,05]Q]Y.SJNY/B,3QS"#+[~y϶gz%V=Tzl #+F2ӛ v"A*f"ΏqLDo#3}<r-sѣo:PГqtgJz \STr&p ucƸa|>ƉV-.YALbH=~W~7_h;XE*E"Š7^WeK3bcuuo\mLgF! scGcש}}R>}r)St70֭:6J.ew6xfa b\*;J;9^dAEyq)wHhMfH54r33ϻHgs>Rh>$p2ɳ{uvX_McP飌s1xKV++ޏ6_}F`og#+nuoDVO:CYt #+>AM4|)}X`;3u$MsaG;`қO73heմێJ6[ˇ5 5iPVҼE6:iUxcs羝#3<#&{>^xtҘ&~߷Ɣ#3o(n{!/7ӅUxh_g֭M" M0)w1 .l4PvдƨQ!e)-ٵ0[9]LoNpjw3Waɹ1:UX&}SK$^8Ϊ,W>]nmr(FS)j虂HJ1U$*?7o_rU:T2:_{#3dEĴa.GhVXF^_#32qt!Ǚ[g\gF|c5Ï0}_XAZ:P7۸}1q^U(AVd+ ]e~E#+&J<0^iR9dvmҷ'Kw1ޙx4A䍗rs ^_T8޻̉z`}F|#րu"wzN,wc˗:on:mx IFW{ct}]YQ>T*ʙ ؎+zKhwhRN],yXUcyY,\QM^aA>WINQg^ljuFuX!VOG}qտ$k2Sc:#PK1g½3 gwo\HYo}8L3^u3tr~kuH>_40)60ډ^4=$>PyTdS!YB\kL|l}uzÄd[g_h*u#m"ߥ)v#+jNb~Ifr yĿg9ljv~sq},:}Ș쵂Q#+ؿYsŕGh3GA$0^͇5=`.(y4l!ghJ>^HĒ;؅G)S_CɃ#関|C<4+Ǔ</c'- x,^ez.qPg6Oɪ kKB":α#3\KN#L'K{|9x8UyBby!AhH ;>Kr-S[z#qͭ,4c3[=CvB?<J#+ٝ1#IWԶϴN$x%>><hчi~}6s[G:)#3A8G$VAxmMUXC%0h2Mum LQX`񆯆 ,fYENp;爔a~g6Ym#+Q诇M{"uzJm "#+ywzVmOmᇛH~:5)iܼg2OGr&T/'1ܞ8|un A#&c\S)dtEwzxaBa|rJ})D1O䤎nY>[&h~ED\s|??9#&){W/9"?JbZܶg';N WLK$?1‘1l#3~Sh&.W0%%%5+ϙZ:+x0S|C 63[;g8A\PkXcQ aMca>; kmdNxP#b>=؆G9{b@Q\dwNiY ?f >PK}]Së4M;fӌZtfXS&FPi唅0 W1/UUP֝jx<rպD@!f8 Đ#L#&Hdn@?T"V H`t86U5w+|<u6#3>;0&O"29UE}ώ~.e4yd&VernhNe+BK>Z2~SyMujxݩX.a0){a{w}DJ~`CsDsXs6}=?NT])#&.rs%!!!ߺ-9IA}3vLE(XP_O7f u{ xũ[aUT˕D9ʳK59^S?0~ p mXٚ*jbj|&nvVO15Yj].(q*DÖ#M,q9}ӧA2%#&/( :c]ofb ~dgLG [:[N1y//T/|`S2.~~4#+A@sѠ͡ҋ%\Η_{suuWEH-d5 ̼v|l#!:عbbhI}{91$'R#+5?dkLTF?3;:M~DLMɜ^j'G$mq,OAY\*JFQJI#))"֣FyJ -ZI@ʄH7Nl\k4Hy3D>T9:0rd9V.LUqL̍((ђ=ĸ/9϶>pŨ6; {";2B.&Mt:cqFЬ#3I4Qtע1y_|VN^[FD^+}x{v>zg,C,O#k %I01Ů#3K贪6y(klDC b H9J(Z\dLEe1#+m.VgbO槀{Bc_:\|>4ٷzӵ֣N|?ڊHPȯYUgG3m 6#nJI=m#3H3Fk>v6֏gEG3^JL`feG#+k5.N6,rGDl;7vڛ&:3#+/cZEi:s7:.CefT#+H#)os_ mm2fc2E?S[V{{!m#+ӣp@&6e׬{9a)Fy=RM3ﰲ( aE:Ezq^gi l'Nj־2M7pٌAc˜Yv5*>rO^RVZsz!+=mк/IJu~hb<#325"OU{x磵xuW7EPM/9B_WZ=Q!g>Uu t,wU"&[IU./!#Pϴ_#3?zjF#twPx*GsE/jQ2*)N4Uo#+(߫wIu*3TkgӳފFVNoINpF>5t(WyEr%ieQ]܁m?,ҡUU=Nq8jYѳܐ%}]VnzFw#+]@=m MU3c"ȟ˨bYu_Ur}+9Wquч( JE ?N|wJ5Ȕyޓ:WF,Qqg䂌N]R> t~U&#o6z[KӹZiݓgB(빣ԍLV!Q'WT9Nz [sΣyV]Z3nt7#}-9dRU& MzE֦]*=0vlWWd>Bᖖ G0j"RtfsbDj3&7Nl7`d-$* z23+<? lDyiŐlBSϝVdEw?235d_|xdBJ#+|˾q&nIĘ:[5)7l8e#3 sO#:i/˾m2Iԛb\wBFdG1rPPTa4 zO&nhChΟXhMIN"9c*Nœ]on>YCi"/{"`yfM/K[hO&[i/_JeC>IG|Tj' $A[WDj(;7\+#3cP#HwHa[/]9jW2)+"O;h`4TDCf"#+RgP wBM7bQdxJaӪ:]MB#3j%n|Ƙx\6@*ホǠ!"'Ʃ%v#+U: ᲋2(ftS) ЛvTΊ/_}u`saDÔd_E[_>WLV76DjRCMm~̷[Deir#+&+T=ZXe#3qtA5\OӝocӄqφdVE!W#+T?eZ :{-L:ohPb]hjk`6m͎uFw^-g ?.=pDoxg1,O¡V4Twy7Zk˵*4N#&BK he2csM#3'-W^Xbbλxhb66{uFlNbaۖ4/(0H'FE>6៏!rzB #=J]:&Vc[!bv#+MYIЗsc(cnNTp,;>g9MBdIvFb3M*#+[vlc:C_X㳳\|^;$d8pȠvF:!즓|4S9(pW<9_>t慚K%ߞ=ox&gOi3=Y|is筊t;^}i67tAVRuӆ67Wߧm=>& e |(~tC7Դs&069<;9j,::C~~$35 Nfnc,,GGe;i|Y=TQϫyQ=C!foJ*IdIK^Œ5b1KR5щ 9'#3+L_'Ye #+UCRpg~ǿÁL`ؖm8a^%bPX43c[a͜~[3b|CVL?W#y.r["ݖâ2H1ne]Lj F-F ajv} }PBzflKuT3MËЯ:KN=P;uN<z`țgd7O ςk{Hc<v!Lw9]aɎ#&݇"GF)mĮ,*fJ{ݵ'ۅ~<>77wmi 4g%<ү&zs(>=ڹ'{{o^:!5|[#3OO<1Z*a(.^Y>ߟnX>~%Zj\ig qhӪU>X ʽJ~9uѵq9%>.o,cp#&%9ut>(ӊW,_ng?7/;^hoj=jjk _~N$Y[[i ~bqjo콿g)T*@()e0#3h/X[#&c9V" ʔUU#.%D;j 7#R˜#+#b3@-u{\bEOpaX♏}ڃ 80wI3>I[{0oO&#+w"J5Uؐd=brx&34#&/SrhJc܎;|zϪް~'@Q jݔj |֦ʁe91{; L ,ِH7$d:FD<=8LDH|f/bdY#4g&JH #+ҟtsj7TiyI]#ݏ3\ #+]`Yj4:<AA^(K(} /0vmy@}\cnG ~SA`'>C5A"c2zzBH;{ˉ#3 vx.pcCZa#3Do\ȺE)z2t˘*~VP33vt<dߠc*HIBeRS˒Ne_#3f'(: l<hv#;Ȅ{8w#&ش_;6-Q84vTfZ }k_3ZW,vq\Bk0 `4@ٌ&@x[6eKn!a[@UA/hQhO|z$#&o+ve!\PjL#3)yC/#&qQ⠭%h+|ڡq#+ m /xBV&NMGUp&a CIM*~y(FQ|21z@ $___rvaNn:ӿiA#+ڀ;E+Ԏϵ}xiډK[b0s62zS"ALQulנM{'FF-B{>{UPJ.\9fpM؉QxH tv9N#3C?r- <"JuNE:M6Bpls"9&QyTBY|e&0D%2H& JޒNPΒ$2<vcxoՇr?k:|)݋,xwm<z"&IN9v%aȳb0q[cx~{oyДT'KIk> YeC#3]}&qA#&Z`MUMRCeo~4v-D1 3Qgg"u1 B[ WuGSb&0,#+_rtAXX"@#+.Qc-ODPA+ enfMÅv)E6`>Dwoڣ^Ҿ~M&KЄ8D: <w?5ӳqRBS jn7`frS8DڀH7^/M<r†ScϋC#&h?2Y.Cm9,O#3;V%q:\[.fIQI"Y#38Hd#+jjl3!:ЛP8!R(3UT"'6);0ozY7D!eɋ#+!á3t˝!B|w~f! oУA#+IK#79qWOiŬUY&jYW2<Qp {d4$*#3oFsc?6ll836Md9Z Ӎ#{% KLH2'ʤjTk#&1[AS)ͬu<WڪW٦bQwKW*tR ~zd!K (##=1-RI9%9zir/۟zzmi.KH sfFui<_,bk%%oߛaH8m(w+噞%X(I<J(bʰQ3&Tt L?f]~u嗭=y @C&Ad.u7& $,bFGo֮t7jih؃ JYX}s^?c&PĢ>^(} TD#|?߫#3q$=#3Lv.H/tj呰N3t#3k0P[ݫ`V@1J5.fݠ8m"]+Ӡb3H"#(rlAyz@!ټ<O!hأ. .Ve|AЀ.0 > >_Y89wyHLNJS}Ֆv XgVKqz0 o[Bo)/"]Y3o`R?@%HE`^?3ko?$?44m-gB#3?JvCҞǹ4Gx_DGP#+-y#b32}:-iө&ݢp| ABEBF1>'r3,gRB#3#2)Tc|#+#+`fGj=f* ;~q˯#3Lxi޲T(?`c&Jafc7_yx(П#+Ml!$u-(2TѲd``I D0TUgQt5"4[V$eYկႳR5cvz/=Th ?}Px fc;"~6IBN#&wxXsS$#3O԰tӠwxo0@#$O8ZrQ$Ԕ mv1#CLذD峩BHbu@L3Dc * x,ֺżw^bңF4Mϱ6sbgxLb!#3D$+;PD>G2>Q](ی$> >w_Chٛ 8ΓR >(q3~?:]R!#&9970B)٥T #+tη?)*YmOܺư@0ÌP120u_1ֵ!VpixOY'd}Tv)u6h&x>/:ZuU[5 b`wfx|S|Cf_n#+25uNjm߷kW&*mvK nr4 ** @&DCqoUT#3#&8#+ZdIlZؼ-̹p7!DQ#30U,frϗ!7D>sfL)}h aBE*q33`CX.i Xik'hRQGu'q`nX.@EϪl- %&5zD_HwLQ P9& ::&!kx#+O#ݟC@^36jM)aV .jS~nkTb#9%B!Τ~nU AJ:dk>׺7jݮFI#i2 ml^vⶮdP#DL,]מ:yWz?!қFο <Ad#3 46>#34p̺$[(>dWHjR9vE2wR!mQ H ($2g]H"tѩ#3"QJ\[hxPMB'NWv}bG@1ZC!RwfEwoO?譑_(cVz3 #@h9a0=C=Yi;+OG Ṕq0m/'Y ">ҥ dzʱiJ҈)Uݸ`^vSzUuϹ/+r5[!B#+5.}^Nlhc#+lثKO (mW!e `B#3vYK4#A#+fm1G˅XF꣧$J L,!}OdCj U!<85Sf25JBߎ6t#&{3KTϗ=`tjs'hX;DhCŰbl㶘H Ebuo#32["SKfy0'%==ʙ7) uZLdB=`ָ9[C2(0bG1Spܑv&Oh@eM`<2]²(DG$dF"#+K(X2ʪ𬪯vNde#3;;#+ |рsUR @L#+#a|5(Xd7:TtMM}Xk>ѿN{#3w80#3@[v}K#&=MPHu3^ B<${R\`tㆈWHr#Ʉ%1#f8x|NiWS |8dYLٙ]yo>3rY6O#+dߡ>b#3Ѿ ]zVYm5 xT܃$Md&xHpm qTԊMڢl$0lY>wmQ&:b/NlvV 'i97_z"YO76/YIwk8 r#3A%bw-#+`v!MtH@ÆkA=Q 1HOe?ŞU$ޤho޺~on6Pʇ4A {Y6՟\MVW]l9tGBb`>&A Ij`#+w%qu{#3(#&?Q蚙kD;<c&w'唇XXȡ}LME\A}ؘ3 7#&}z{f3=obzOH}?>Ϗ=σ_TT=F0ikaѤ܌SvH92L!l+xQ-QGnóu@&) `h5CxSvm]@q9lbWrЯprCst#3~2B4ׄ:\ )` j)ILJtw=dqCjHp .rmK> mBgtNh*~˷xM3g갗_Ass ˥_"#+) 颶=}~и/ Jla779y9#&3d*3{ҊH5~P1cXiCYc:s>o6Đ34!5`OU}}|U!)?ee{+۞Ɛ4#3܈2I* X^YoeHFXUNtxϘ<Y'j^iB0hXqD>`P!>W^!p=BI!]>:CS::aBB>uz>)yte24&h2)ѠiϴuBSbh#K#sJ57(-07%^A앶m!njH*⨼i%ŊrE,fKa?+ʪ#&H}w4'WFߤކy<eWVq0#+ZvsK/ImA>^*S@W=P.[Ɔ`bfis3 2=-fh Ѷ^J+'aX:C E4`vps+>zM3bjE]$͘F]#Ddqٰl"G4){` 1,AY-B/?%l:bXLi٘HP#+I7|*w$ 9򷆶; ;l##x ;#v׃hA #&/#!CD HP>}v&әXs=oܔEa70%p"O (b#3,IBhj$2-`ɔPHeB`6 A*"Y4VS̀+JHiuD!F#&F2QP`#3H0+NjU͍W7!#3:-ՔH$rE$ W #FF b`hepUDsIؑh(ˉQFre$ Ř-AHvaxQG'#33496DW|_)?<Dg7cb"\#+Z}?j#+Ol9:ܭ2cYڋI.Ե?D٫g ۅdeG%dR&ڝwtF$oHIH:IwSI "fؽYQy]הvGZ.nT4Bsۙnͅ5=en#34J#2|<1=^U78OE2"#3HTz;ݹH11* U3!A߇t:!##˄j&<!4܂xMNp p°-:LCFyW!Pd2o-ʓ#&v5CٛXCGXQ!&:Q ܠD=8sm,#3^u&r#&n &.T3h>#3$H ԅYHnJXObc2Mz޷#hkGCUVhxui"!|^dOAV|rR}}.G9*v\Wf D2~,xC<Jɖ SXwv͑UL1\c#vC™gBb#3uG9K`wbNۻltQF9mF"JNk%N]Ε D$DSaf1Κ}%w7XC@ÖCd]x?i 3o6ucRB~MMKa^MD>/b$?5{-sB0iDՑor:G?/PӔn5Yyp5"5WATj3`=\m)|@3%W"{J;k!9d@/M-X^|f$ƫ2nʖH(DpYK/5g#3?^gm5ԍ+[Вqr \iv #&؂mUν0mT(S8Wnxe#3L<DqZ辫7_r^ƓQt5:m~Yt+#&u@hz\h&C[E{L-MSJ'4|E9]P?_2F<ۉ#+8$ݪ;|Ty}{}S=a؆+`Swn^5&1QS4h0D#Nz՚O4#3hР1Gg);sU"հpUEiy֍c&+?N?3A ǵ\Ǧ_40CYO'$.Smө~{9(cMwZGWkdEvlt~4UhrV>])niN(ʢçhk?`y9l`X%Oe~{ImP;{DSFdb,v7변~ՐS=^ICNLcTaÆq܅!"n<s|hV7g%Ι1_K({ߏW|[fJmm6vLXs3ĉ-λǝ[IsʽTӲdzOJB^c}d\ Nqgz837` A}7uBiG$"끏٤Fs~g缆ס#+~`].oyc.@F-6D6A+ϠHc#&#&4#5vژfِQd_֍U%2tCj9G[OT0mEBBw:2t*qf[V١Ne|e<uq2VPe2@嫸֎g6NW]pWd4xl3+ӣ4۸e\Zew=D+w<轈1l 4QRD_YЖ9N.&q3 $d7GNm'8~5(L0*c._⿣ӕkЀc v/#v R"`?>_w2&v"lsuW4o91OJ<YȯJl Xwֱrc1ZI!f+-&Jshta29`B#lY kX53НIB& lv;\dTcd;#+:;4,#+j\#J/[\ʨ-3*8q̴!SG.an;{Kr7#~|A]!!G"H`!lY9#+ #3<ꖪ:`:vg-${|17'#=?O~3rfҔ iwq#ede6ؑDIjB~]C5ޒ3W9=w[)V!:l߅g99d KÅ%eaR#&#+@ ZTr{ͅ I){ATms"ůxt/sh#ռm  OX( 1~-xV;<v7hr|mHu×[wy76t}tpaMŬjv(~#{Hvܮ+5TrD$d,e-,R $?P%ҁ S )clO[f#+S"#3HHAYH?u*IHur"wmٓȄ;A6yOԈf[ &ei|8gvl'ϙs9 a&śs֎SI7#3#3 CVڸ6GOCX!Aqh,e{BBt*QdI`r#+갋xi#3Qj0|QYrQ"4Cu5&Lccm#+f%0cl Bmk2)u+C axPf-ΰk;&naUk߫t4M2n'.B_Q@n s58 ~dAҼ<<L͞U^M*WMg3(:ybIs-`}yVn7ki񓌉ͅ4 ~Mڬ-=d[,qÆWQ[v^;SSxZ|3#+ ~Y[:stգvlDSi9Оv bJuf31``r620z ؈o#.QgeN$r#&»!fW ߺjwfrU(E3bmFX̌1bӿ?N{1m7f0h9<ƹ9$0!^5 y4zlC,:ӑ2P:`@%o(0CwbCٶ17tr:У2ө0(DBu=_ $ #+!|xcIaos2,t(0cmfajLxO#&—.V0n^'f;1}=F$9V0/X&&E3n[DøuL(qfv({]I`:^#3\4&&yنtpdo*=pPAmErIv#+IPQQRVD}O @cBntܹ~)! H (A:!g5U2ݦZ]n<=&;|5]>FԚ#+eu*`p1JȠk4:^2NEҶ'}"ă`Xi{^rr&V$#34ItUMRu#39J;=!Ut`K7|e1XeǙ2ffX2Xct1eK_wmΐR$*I&!`#3`R&7] hxY3D`B2ygh wX˅F44۰ r]vTKX3t<:/E"3Luŵ #&S9#+Ƈb fݢ)@9QXw[̦$weӹ" .rnñ'Dv#+ \@jRr([7g\Aq)MagTm*aLmrTqO(TIj**,gB#&p(ByX{w sj{M#&@̩9.t$oDF.RNz}9ڒ#&6Ӡ,#+16mkؘq>x7m@N6&"6P^R21ٴḼ"HTېsى4`-#+ucej?GB'lA8]TUԲ<Qs5 cl N !kHAC4]b!WjT 2X/Lً4Jƣ\:4)̎|e!,2#3=#&q4Bv Tw/e!#3Iܝ8H#1ic3Ʊ EAbD#+Ȅ&s` Mw%HTӰ=#zzo C]p7Hl=ث9:0DдPо,;PLuF0641"bY-M]ˁl,)T Q.KRA<:Y)E223.R:2g 1}W ;0n d@zc3JH45>'Mq)vs59 AqGUK/Ao'#+ChX \QzRJ`LRp&Ogq#|d#+|m$:KE HAś`Ob 3Pm]\Mc]n\6jcК|-i>i7#+tT. GWKh#3 =ɑ03dof$$`9kAicHrv֑ce3$(x}yetVRWʸ1`@M<HaD?4\^v#EC(;#+VSW?>nkgq?1dUȾc?e6,h&z`#3,@l^ð Z̏G03 (7h#+#+]OJ[ت%(߿ND;n}SWe鰅adqLֽX&̫y دUg.D)D(L{;=]ܝԤh<YM#&)ӥ BTlLU(16[)#3Hu#39')sM @*vYa#&P *唪s ZNĒze* *'2DS"HB֠#&Ca?`hX4]H:\"|.SuxB6D[*f"/a! OH%:RPȉT*wQO!D1@T{P$?BK+?G|7^&.]f-6+E"Ullc}r=prP@Ų#+{|0M3@0=e%̙!ƴA0**vz[D Dz"4:X_O6aE[XXGIc=5&dJanwGF*1"wV E=խ-O`7p抨"bAAE0lC"R XB#32<$c}XļWF pZZ ؝j*iB 4 XRiw"!؍0y\I&z뷏MnWwuz.LMtc\?uҹУrY\u.׽nBO>ku%e5|:̑$B,Y=B) kv#3#AEEG||' n~Kɾ]r@3qRgyl&; DcBQ }G,]CQ9%`Rtjum&\{ċQs1k|o(TŝU[ת=nfS"kts9#+ nUbL}̞ j429㙕YpE8H9fLYJXPo^#+:) d b fQ#+ɺ8J4~#a]''piJSVW#+,udX@kM{C3Yx'g#3yK]]@@{0wwsXO#3TGX?<Yآ5ųE}"t-R{Cc#3)(QRNލYG4TKj25WMɲ,#&VIB" H/G!aE;/N 9]V))p`΋qM;[O_ٰ̝%ݭͶ>4תU1Ջm5QR6Qm#3[%KlVJFE&f#&*q9d*NpmXJͪܵU (Aꐔr1g}|(е9+Nۏ F LY `Y#&'h*CAȒ,fC|4nAoJ*8\de6HlمXnhIVUA44iT1KYd#&{~"*m!H5a͔`lMB;rV 8L,=1'#&e#3U@n7o$꜈rrcj,ͷޮQi)ʹͮҙd#&{HBСpD>(pXE SDPTz[}{<=Qc|2qpUzuHD9O"`8cؚncBHN?U9Bn$H!{KÁ)26Tev$?'*5r^zZ:,f6:4#3TTMQd#&><Ċ*vC5vC)hc[p{>'ā?M";B*o-rU<y#3z qzDu ):b@hY wӷt(KUPrtmNݶϻ:q#+5B]{y;4ns}6IZj`i#ֵW[o ;!bu6Bb?lq;CKHxܡmI]w2aY`nyrSDdKof,j 0O#ǕHCB\L)SfX RBF`ZP>cŽ4v>}.r\3D#3"b1LB?3g `H+M6WV+J8kyX&ju +$QI#&@H@yIQP>AGzo=}A-oǟEf}(b?5+8,]ƣV,FUSX#"U],XojsPr\'~vߣDAt#R1{%^YjYpUt¦'|@yM ʒ&3"E YIAKVwQAvF#e0Ӈ n!{Aі4OuI8hشc{hs&R|m枞MIҡ1"|¹' -{|n7k[kc<xRQ֍\tCAZsMiskNO[4Da0;o߀G;pCF?̺y6du۝jisE"j ANLOj}#+8{3<M.έ>@Oit;fqޛܫZ;t$z3#ckva54g/-~3a[ōX!fm1iz5H/GI6t!:(v+7*VUz߫KkwtASͱ&&ܙ>Ux۰U0Dzzr,xG <Hl?c[U #&#3 C3QFtԃ#&AїMڷ; PŜ=9vW3jgFYHsvݣƝ:fy+8#+0Q&]֠,o`kóu]\:b,mVs,_ApFhH3g U4،#\]f,5﮸0AU)AX_wiz` f0dD$a C #+|s}vVrMXfX܈E.FF4bfs}~ C9Vw/x;(huH}MSRdy@ƹIqЈ&Ur完Ciɐ?oPHzc u]N;C}(uYGs`k+f^URRljn]Nw[WTw~%w]k_񼑴rץםG{˘ M$^'7vp#+\;X+[q7оCR$MYj}?rNx]4={*-n]y[zN/%1fd*hТ;5UXJX)R1h;:~usR,>雷pQr #&IJ1ʇTAaL&nw52}-ÚHC`E CD0@аO$tSf-|ixn_T#0##&g;Q#3jzgN[=x lQP\۫n[-ݭT#3R [`DZ#&D%-qW#3$#3!t4$%[U35-to~ʽ5HaCtcs=krʏ'mf-kkm-l8zw+]n ")qB;p`ϖ(qEU ɩءE$R$={<瓰(Y;r.-#;ei-MeɀiLT͹A^\h%0y[ͼױfZߠ'w2_z IZHuh-9<1]#sTKM#+/-;=#3- HRWN78VfֶC~#+糓M}]1As:#+q`ÏE\OVcR^9n($AkbkdIZ4KlT -EKW u>\3 l,V  n<@TA~ loK dNo9vWf{42c+(,#&׬N$"' ƒ PdJ\c _qaz@ڙ%l=UM#GR*)+EMqKc `I[4oyK۷RBn;nkhZG݄mȗP:qd҆T|+.L,A۩IDݶ* l+0\|#3Mza9$~W\RJ {}fp U`7#+|r2;IC/df;/3hs߰H|}X#G nṣ_ǜMղ r'f dUu?%#+- !=$Hu*J|;8G3-}-2Kߋ:$ٴz4G|h ızoY)mרsÜ~qQFXD#{(Me ]-HQ6OdwR\PT 4&#&9$$!U&ppMR:8;9_KHLPPP^~ݓQtN#+"P#+1. !nTz8/t1lhxa6*q <K2,SƋDB&K>m-!JC5͚D0D ˎɳ:m}# mYϷ:%l EP؍PF(8UR$A ? |O$A #3h%nɣ5l8-:v#+&ǍE~)\ÌS.6 3C(ȵ$5V~~p\bWtkly)YׯbԳP*JFFj>rꞝvK55AAHc5c@랓㛄u(3D Bsu%Y.qE`@ԃkKբܞW_ռ5ۋ@g7+=y7H%1*bTzѶ;*#+7kQY޸s{eloĔqT7pS#v0+xշVtDNT՗e 3dFbuNĔPVEuX`?)@M5BRP8b6HbHm!\# )PLdVj"nDP4DVJDQlBҊC % !v`CHMV>iQFN4wF#0m9TΥ%v6#3|QA7׉%C7@vz9rixwa!a(p]4w\C^q!̹^Kʺ6e@/Y-_"Z#ۡ\M]9ER׶(n8_y&u\۲|pT 1E3wtV ,DۗV8S] lA mFy=怫p_[lA"i劰{Ի qnfsJݰPl 0d.I4kcLC 8#&Mpo,wP2Ԃl8^t:+#c#3(qC;pNQ"Qbopv4ZΌ*KDI j#&&&:$sqc#3DDe27ldGb@Is̛5H\"0>&F0r O i`Cm_ciၫ3G꜈#+0łMB{:ue#+Ż1Ɛ4Ŝ~ǚ1yMMܮia/YBI{e LTERt,,O]jE-oݞvܤ,JUEƷ-[>jjѨqBB}35mw'`2$~G-a8VIecz#&͜l#&+.;xP>PUb LMRm2bL~WJBHd6T!%#$,IY5v鉒4M)KYfFH̊4IJhW˺,Tj)&A&K)LQYmd%,Y)He##3,F"#+gz;O`?qk/ @si<[Li{#+24!&5"5-gXV?Wl;X%mnDoIaFx#&9#&'t~ipNQ|L,#_^;V7(5Ku#ݥFg}QTCm2PcL2:J#zKE^޶,RY&Me5i#9tuBΊ#+kUb#+@:e3dןFU(Ǡ</Fёb-a=}۳2V[ԵUz~bD{esCw{;x+BowB%xUFW&y?vxϲv69"Xn#+Z!;ZSHAA`Ϡ1<zCYIo+fTgY1.:pm3<aL--˼8.Ʀ1י݃mϿf˻M6Xϋ1R#+Z9r׷$v#3@<6LԺyX1|;kׯӉr57ih'G#+qah b餅4P=v>\gpbC&P/k˲>u8ϭ8LxӘnZ]of$ 2&|'g w]1J#+x;D$n@3~͆#3#3|`=5ΚNH""#3V<#3+fr2chN3V*Yt{oWv/|QIr=yց8f({`|lsݎߤfX&`1lzḼ5kfa6XpInzk]M,!;2C{/ k.IĀĨ= ӴG )(H,TZ}|0T6FЃP#3ɤ79F>Ǒ ;~W4Ay *lw2{LI$y!ZWܟ\ VOtԊd D<A:3i̲;Z#XAf'ݑ,Sl|HM&]8ϪœͶeɃs.=Ꮂ0if.2^%ˡ  J[W,ڕJ<Rb{) Oq*ME/D$qx#+#+Z#&ÙL#/&v҅OBIID=h)ɮ(Y8rQOwfLKEKHJ9(t sM SL9y~f1<Kt._07#3GhB1U7Q̴1g$"v6D"Ԕ0{^A5BWLZO"&yRvٷ:\^_bCຼi/m$33dJ3[1a#3.70셮U [[nAY#ۚ.ִS+4mLY9{|:ŝ#+-#+Κ$< ƶ$ޕ}8KKlG9r-I0FBEWqVgnċm:Aqv-xTkS[Շ" ~$l1 h$GT׵B8庯^& 흉mv7yOeS.(٥:n-;CJ9c]ֱ2.i,a4QfδջQu1P@i%\"65LPM3-jrd{.b#3 #3HP&]Uu&6^l&(#+t᛺ҞDVIss36S$LzáM^83a,e#3^4l q#+Ж107p$ɒ̻uM`LW<L#+N".[[<`ʕú0du%r"r#+ͩ&t7p. M¾~cFy#FBWw-RTòRg7w6U8nؙ]`'FyT^xsze,f6D͂!6ʲb6lHe4P୯.pY6 UmC}AA"4h!L#3L&zv\nDn;(N<sRt )d(iCO+\B>뗉0O_NKk)>t]F%cޣso##&ᚏɘ7f$&8Zr+zl,a4raN$sGu.yFI cs#3<k@aZ(Q]e4H&3]Lk59Lœc֙7I|I5]88[ձ12brwg;ǻ*:)D&˜j%0' |g1Ӄ~ox]uM6Șv[Zߕ#+0m6)xuL6X-13E3.3u7LYmÇy)Fs7j7$ᙎNQ鲻=akDu4Fjݔ)2E #+<(t"/S@qy)rg[d*%#38rR (={aF|bŜUh(q\k4v fɸLmRg};XmX&&(ML`i6i#QجQ@IRNɸ%1Zb2aqޱC" BGN"=4JA 3ؽ+rM1UWJ31bIh&Z6&p\qNu[ KYAla aF޽[dRNbKp.t)L7D/ (h0"<6QqC[d/|Kc`! !AhYdR*L4?K F"Tn#32J¦C%[Z b;DV#M;D^CjFu V ԍGȌ2 V5dl|Cjd-ΔdJd9&-!NBc)Asl&d$ <Ye9twџSzYRyF@l&h6W9)"bG%G p0Тf,l+ ӈt72bQax|}k86b}}#d;;6^8#3h2hwX0*4lufxr 0K M)$&7}U&Maȇ<xbk ḾApyf8(|tK8J P5PA`(2Wo}B̒L6e$2B`,D z+Jfݙ pܑ9Ę8TЖۅE7K|N-wKH8=#+;XTѰ,B#&ĻXry ##&ev=hlb86@3P#+MA#+63^;!>KDB92m,w)v^#3 㤧4x#ʪ;t߱HSE#3݂@#31.dAP2Ųp6* 6`El'D6%l0滐5j9!R[kսtAZ98cr@m-lP {߿94"1WMw#3 hAl)X`uO46tڱt3#&aPR<$XE Ė5))b 5g^!uk]٭HT`}UGݐf0I#&E(ҐвE+tXQf eb@Y#& `!!*Aݖ_>]ƣL!}kwF#'ivp?K(vZc/}p9-k8c6jR&Ր'qEg0K!\*]ݎ$ [FF#3p$o</D_a“Yk<C`ua*L9q$%w)X#G#&#&`i:Y*%UyeTK(6ka ./N]|]ɐN(RŒڣDfEg_@6ꔡɳ~Th4m^6&%uݙ*5_ݯ5/᧬k#+Nb1OU ';ݺ&CrGF\!Ͼ'rpEzK܋"?ƏC!(1&0F {W6dJ׃ANk,MJe5^:n<dB%.Ǿ@a;b"4c#36r2m[)4ˮ1N3AX{ZJC~Fj;_􅊶D2zu8DH @X%JkFZQKLDTJM|6P#3(};#& S~ Idݸv$=tq"*PZ*Z o-̤{|HSn,0 omnA.eK7(9b(b I:xmQWC⨙`/tJ&i.GMH ҲipD1!pBO^QW{JS6M+b3})A5s~nA75o>X>hR(;r3ǃwIQpt9|=wPWŷ+Ԯk6vŗFg$IpԾF1d$[U'|9fn1.8 ^z0 / Z%#&;</x >PzLb -(#&~+ bĶb4%E +#&r#lH69jT/& ӂ($(ccFO#&iXhAswb4_c}ӠJy Rֶ)MCEQL78cMjX,<zb҆r \$L3` ho(hxsNP9<ÿ+#&M1H*MRL썇;dHC60VҺpց?ad;t#+E„IpLh5 mPn.qllF1MFdFtpToŅ1C#+*&#+4@\"Ѥ0H` K#+#&q +A(i6(&k0]-!E@v&ș4@?K#&x#3_=+5"vP0zfoBÎ`P aJz8"8 =1FjzH(Q$m"""*HF@>Bfމz͖5Jmjl1As1!X,uNuZjߑUlrɻN#JʮK4f:JIaj:¬Sj|je"3"ލdLXj2r^s6e)D;HĔi)ru-)Ԕ=/lSNwݚ17a+4"+3g-3jF>wi9s!l\8Q36al.T(HYL(.m)3i,cG3>fl83<Kj$ȆHwד ]iJ<*d)7S8\:LN(.}n#&22" ($9vkeAEJ ZSC$ф$mk4G![D,y&kXT)`!V#&D#&[cLrwo]1SU*"!#+츻k,..qvNuΙ윘Sk2mJ#3W$m1IbA8YdARʋdЖvu_}{Uo{[y\ަSl)DX))Mu-q$HH@bXzatZ`4jHM #& "@$Pz }mrNu%ĭbJA`2*K#+* :a#3Q 468z`X#`2혞gVa@N[,aoߒ#3 !Ȫ,UY 0^#+`_<7q("UEx↡8;ӦI#b#3gM#3\P;" Ҙ`!ha#+Da $(3N R,Sq;áBif.N;,[Ёo!^U쏿üQ?#+xJyKZLɐ%Q_=~GB1)  c6jӝܽj0;\az(Eӆwiሬ#+Ƅ@.DvKY'fi+SQ]pVC# 5ddb(#+WPMOhM)-jNvE&#+h#3"EQ}WaY N>WQڎj~!eAV#&}Zb^HcZƴJQ-'A$xmi#+Xb*YlK#+cHrS(&`XbIO®VTŕSME-jX(JsT&2֦%ʱ*Y1fַj* Iͭ4+Vk*6RMCV<#+4efl٭TE贩:yFT7oy&+5%քq-FU򽾏;}>ut#+eOf6Q}SϸS!cM٩K$w~M*J>-) {KW)&h2E4HHMkӦm64E #&#+veI%2RY6A#3b!fT!D-nVFƤشZ"6$B mDҝ}y#&\ĀA* ȢAbcd%զ!FliTi5SJhIllȢmbm0PRȖ0!LfS$Ԗ6D,2TeQf RS6Y(D#+cfZ2TƓ i"M*l%FPlH$e)3fMk-U+A1IMY[mK2bƔRRʶ+jZҳjM-ռ)ͫu+[&˚٫QUjZl2کD4PC6Q _O2[\g'V6mԯk %P#&KB$ߵeLYʰQ,+*Tt<#&uqiB^OUNј1/E"P0kB@~][:m9tvmr9h#.|ÿAOph0vY fF3uDDXUPM #&v#&.@/X?k6+hnc˛\;PZI܁t*d`a|C,)tĠ(o)3A._$ qOhCӞ7:xwq9\fZHXbk"d>sg_JԬ(xm]ek(ay Z5ML=M*(A<BfI_cawaZ)ݠ9|eteH#&U'Af wLfTXԀ!˸#&j*F#&|]mqrNp M\U0#&A#&111^h)7V(gw_3ԅXFEզ1EmDl4k^4#+-p69܅?LEOv|SW#+/s}0C`enn#+AUYa#++& (z+#&SX(DZ5r7N'],Eo^#+x]IV~#3#+R|"2CmdّC$h%IxݓnգGCFaQFZhk6I ,g6vd#+6IFCQlk-p-"Ms#0\1rU[o΀#/bl5r!3,m=7l~~rCJ ӝhRL>m|F)ӶT~- N,u1lj܆kKYRyK%#+`!grCk<W>@>P D,WA#+)yjyC[yz&ä?~iG^ⲕ*Ƶj0x4."k]pUݠk_/%(s>[ު{h#gbw69#T_F X MգK&c@S2w4`ʋE߻Lz,ɕƵQ'cK+.N)`d| FEET]?8#3, !2(Z#& es*fjYau;>zd|tvhz*C!Ȯw<#Le^{g3YJ%'WETR 4'%kҲk47+"eXtE7Cơp<{۶Yeb44,SPu԰!#3EQ UKS %ELQA o̙ny4(92Mv6DzzdP]lV:ND BoOCrE#3&#Dg8z6T׎ZF'*Φ##&0a痭Dw^ ؗ\tŌUvad3JBm(+jGD PzJ&OgY\ièݍ7kZGY Y9+CeG#&FtQJJ+-OR] U伡ܙO֕#+]$qQcRGĐB'0mbPn(lIC.ֵSm\ f+y9qa) FImXFfl" ^v_QmTiV#+ Tr+#+"2Wi 1G녮)]6#w<ݓlfLUB44vJ7*QL!ՋGt[Ъj?1#&Ub9e%dE*B#3C:{ۡ/ ϯ_ulܺ{`ĦrfJxansŪbae0Q+kZ9Hz1a7%ژ~ގANtSa:'W>^ª;ο<ĞOh;x4BA'0e2E#3=c&H#3)1TPd`pHRTd٤0۠[h[EHm^8+޵uV"(HYXŕ(hjlcQ#+2Ƣ*"#Et25Ƶ."@SV{VyK߻3*#&ǼCKwu;GRMQ\Yh D1I.ET17k&\ڐYfSɠ0|#&XB1`mmW56#3[Mr-L󮔴m[EDJ5WSZ]*55k*$""`F9XkPx$~̡fek3L,c(aoSmt !z!QJ _-u1B(m)ʜHxA5OhUab!,=3sZ)6$ ReM#+RxZ⪐c# ɣ;-MB;"'!ngMM+HT!H$)(i7 9Y}^0שD?o[; +<X@ PooOi7m&#&lU$REŋS'oxˆfy#3#&]VTUJgMx;TfO;"jH ?NvQէ\ A61jF#&4zP5u'8zךp'#[qv䙱唶荒T_Gy.a " {lCvJ;~ޤwšF%!*Mԇs3C>ʦb8#+3j>iYN2?pCt3#3jlA=CXPOh{-;ZA@aP"`R RQU|5^f^S5Vbu"k#&:'X]z?Q{PLm LADq!䴅ƃ{X 88BS "oOShFEbCyCA`#3 CWε}~ux,o B'=&#(@" 4i禐r)Ԙzyau~\Xu7 HyT<Nxc УpCD#&hIuqZU2*#3C)?'J̤&lmFMKCiM8m#&Z40O&)&:C.#$X)J761iaFJD#V cm6'F#!iBm.BZ,: zhlpIR]y-%V-yܽxU#3] żHA @#+qbb.Ɓih-쨷gWjAE ֤7,C@Ej9l0e#&NHvfzdUrJdNټbKםS۹Fjͨ*MlVL޽w i13r#+2 LNimcAnȻL\H#+#+TvZ}bƠcn1t@p+<θU6,~)?4=`JȨ9~sm'ՍyуE?[5!s<T s]BjVL㭷o[e^o͉KC 8⷟< 4w#3~A?ORPau{,jdM7kNk)iS 4yZd%cыUu*-l"X@,RA#& vh75͈-F=EX]#=#3hۘTPjM]W)tX#d!cWqs2wo|a{πHpCyO ^((,!P`d#3aIYu@P9ʹS[VEY66l]+( %T6&)%D-|[y#FYMj5Z%ǷjRS_=ҙ<`jTΆMVaه#3d %A0G4 $C2$3ęa&YĜUE -6H%IUŲ"fS<B?8zv1eoZ성r) ad&a76NjW_'\lKz)dVB{o.Ϥ} 3nHL,(MD@) v0Xu@=?dP:>q78FBh dpw䖼sr6#Rbͪ*6׽kivMdKHHDi(#+{oA3dm3~P(Vܳ}Rt9^ڻKS<lU҆kf{I~ " fiJSxuElG7g7ft$ rAbT`-R401h#3 1z'܈$I$(a׆^G㷻7ٲl[v\2%A- T$]L/|w#3M8:q5llfRHz"=%UBͭ#6d+.Rs-6z#!4#3LG(1&A4ɻRG߇||Mg#&B&Ζ #&lZ+|EM ;cs\>Τ'gX?r{ASf\u2frH+kgɭEI#+R2% S#MڥRZ5(3_7Q!Bj5,jfmS%Xmd&iT,EFjXi)fQ"TSL"~rþ;jh>( L$Z+v[ZMn£#& ;='W 8"CX-2m&.ޭWܓ_ X/.S71PJB `xQO\O5ܣv+r`#&wCn& -Djbiz䥟B\)UR#&yD* P)A#&mlʕ  [ǡ{1Vv (2P{C.I 6+Hhg L<O׿;9u"hh#d7,0<yDkT3|MÒt3f'A#&bM9#+ 49#+ Zؠ8I8 6OhO(RFBM1IR$CN/׋|vE% 9iV̜*!꺿=ylSOr̢uӉ, մe$CL[$!$}Fwcu8J)#&_1GNjǟp!9-jav[JTGJ-)=&K>oKm]ʂXt"KQF &-o{!fhgejъp"((!֩bʦyf&~n޿uƉSELoYi ]M 2H*DBjD.K@|r{hÍ[AboTQE#A"9?qJ&`#3e 7*]N;RsG\SM@;;2>NSsQF4j6j Qٹx BòvZBÃF>랸-pi^Wf2":0B+L!Ae!eiOS`_#tr)3H>&7#&?5>=|jIAEE<z?Bweս †.vY`-h#ܣN;f"fhg@lO(M0,P1"%"02 b>q3-_*#+ҲȲ Δ eMY0.{P(|GTBMT:F;ZZmҦjt]llm'$Pע+4}Z(pq,55IqsgG8p/CF~ Qb`12ٱT8Tœ73zbH$h~s'r?§rSow6J_WNInhƄ+@Ą4Œь*A"3GdFE>̇^^8عsߥۊ!yB<󳋐2Ƈxh5Mf?_7F`^.K<y(ă#+/. k9)+z٦_x5F\K^ Dž^\sfgy2Zuf 0XlDlzVwj"kneKhX K*@adPvAOyVAبϼ8 6c&l#3EE6 UM10CSρ=^h:z\nH0:*̊~n"#+(xYn yr5Dh88SbtnmQ9?#&{g4<}$ub'i#&%B`iVemtݼ;k^vm5[F11R#3UJ!BP+jjm(d+?\vՃ aɾQU*!/+Fܥ16VFECw DžZ58Uۆ\Acl/PQbgo%˝M|QG9Y!rlIDFb|c.b}3:.LV9Ți#+Ƭl"&Fl`E Bh@oG E"UB#&aؔx "`A=qd8v:"E@֗77:AVFQ2/^d5N&xGR#&(Jy)6֔i*fsh QlkFܮUW08Oaꍏ;Z.qmSEjTkώG]5#& s#3> PUXPb㉹rz#+"ԋ;VYgC޵kpJiLw{yׅ1!{#+s&X(0o77#&&pP9@ޅ` r:NLi4[/^x1L,TmӐM%1Ryx\Di#&ɶ.݅ƺaE[׃؍n9܆;1@3#H;|BiY\%$s1Oox`(9lm}w|{DF{ @MbMW3RiFca2sX,VcSWn;>2}^40җ?m)ݔ9t#+[#+!M(T44L K@^g'f>z0>r#rvm|꫗mk/4IDPDL0qRP!#+'~wߢoj}1N~wh"bⶋDnv";`Uo(H 8ZIG_2'Q,r,.ZL{kI~K?#3qSOw>LMc{˽gr`~cc֍]1jHAGB-Lul$#32QILjQx8u #&5ӻX#3 ֎>C}9BrH$;ai#3)gXLZhj(1i(b$eYf3jdm[3mncF锼\J|%hX,\9C=m#+?epf#b,GEEJaA9~#$]+Is"H,~vv̍h_>nۖ%Im-0ٺ#+ ֢I1VeSgF$RYJ cO~K1#&nݸ#vQ6ured|8|kݨ(#&TO[7!oe-ŬZh<~}\(y"@1{06om{k `br0~k#&cś $!l54GKRls! Oꚵa #+h03a^اϺ!Jn=bKu6)#?iXvkR{#&܂8 ʚn<&q_f?2kz*}Џ5H=m(RAXL68 ;nh ?'jRLUAB43NA3#3,dZslnrEq߈S!呀v؆Wx*!hyr8 1DakٿOJviSq]m4Т|,.$ !`?fT=raz͓2"!NBh*d0OckzqI qhb t3n-B͉apisY9 8XЩ L5RJ=rzq8nɡt'A9H W5H~*$! :]P g|2P"S!TV-m5j5XLY-sV[_"e.#+ztI`?~`L%ʫX]Qf^ze#+T{ {ņu5U$DHt#={.7ĕ*ȶsB8N9#&¦"0Z$2A=GH&G`wba3ud0A4T<IP/0䍟82M5>"B*L:bN1mqd9F1ه=c1=<6}Ieֹi4ov "WmUv`&lrOaX2xP6īW)!#p3S 1 "@mtD~Cb@6E   yq)VDQ#3@i#3;gt#&JVJDpE.YR5#&l>~]R0񾝄U?P#3w\]|}ڃ)2j,{=m+5Tղ~L\EURck7}zF\CCTzYrԲn$C(-6ek¯wUvX7Kk,+6MU`BOS#+)Υ,IlpiZR%_24}1&C-(F`7@ZeB RI̙ReEۺ S#2\00=`ccbi ZTQPqF 4dr#+[F2ѭ #+"P #&KC!j K!񢢐C+zf?z3<f)*A$ETxWՙΑySvʙK&<|ץIA`m)3PŒg#&x֔W9jǯMfbYRJ(j fK!Q)w[+<^w]JMnFݝ׉.*YHBD˜`)+z]]FE"hc f&3U#+"`|i$iXPin2]\%d۔LEQm<% 0GQ.cJ!m6+q$@_:.6hE8077H)8$D)zo6ԛR5I{msbF8AAc)5LȮjmM,J1FYIb#33jVJ,l0DAXiv@P%BбHbZH]ikiirѦ H,mH1 ij70e! mZ ҭ|m?7!xu7Zj0Gd<S!oɚi&A]~ZK<08mp,2y^{i{.ZJ<M"ᖱoO(Aex #JT,fA6'lIP#+(_Wr 3 -m&PTXĖQ[xQXc+I0,m&LIbY ~hCWLUfceֺMٽfiz;zH_EtB(\% L=44MA9C 3(VK`ߠ!REI1@ І+(2#3Va D"#+(F!@hU1#+ ].BId2q A˯󯇃_^>~S?U<}h8Wb}N18>4fM{+okUHl†#$"=6SV2]ePz24<ZzYrk[ifpySݘR%פbVfS+tJZ;4-K7v'>167ѯ-tu#3 )Ӓ@uqrz}'|hkvB,Y.L'vl`aEs2t;l۬:d=e=w=m~ͶMF 7縺(4P-WTGO#+ԉ-M1޹f?Cxgk0_N${JMӞH`pc9:QB71A#3B0Gc7s3xƛoӫо?:@#jn1G&e>_`zl}`[ZIT4_5gTkVc#3#ai.t`XUѴ/;Z(G&'c'yM&[rMnlkE^]շJ9׊]\4cR53 *k6wm%Rٵ\iMm)h@$UmR7#328dEa"5loZdQکMs>!s4]Uu-ҕ4#&X)=L$R7#3iVo6_5ֻ,5<.r^^L-^Vuȁyk SD2F׍. *S,Ѷ51Y FcTVDdS4lѭ3Xf2J_e$ #3^FI$RMTX##&*'w޼zA~r!6)5Iy0oʩ֒j?yF[*īdO;vH.cS]Ew[id^7kJk%DjO9#&|4*I䔀s`Č(.ۮH#&ځ ?vth= AF(f]dhaxj}nWν{rˮG)*1 Hd$%5aqѶf,FZ#3.(2U2)#3fVH=$h{q\[wOV2ͻGۂ2[#+Llxwbl"(nlU1`v"#۽U,:R!@6?#3KQC( 2:G]lg>n%:g[fie jwAk0~vheJ[z~}ƅqPDʀNw+W[ؑ]xrG1·$Ϭ>-#k$sy4zW^9#&ԡ_-Xa-jo@gD! blŲoucZ\֫#&U3f' q bH>+렽[TG̰TqA o#&qiKV#349ó{])DolCCH@aQ5l@ ժiIQm^wn{.Fyc-J `].{UiH#@i6ҏ,fREdF#+a"JŠ(* X/h0B#r` :5#& ҈,(a&o o#&8QY "-p5~Go[KUq!2dʶ9cG$$\EQF[t Wv9:B؇c#ooU )TL= {&e0 vІu*AlQFt癟#;`#J&}>:Z\]F0=YY@<N DrÛd&9:%!HCbvع $6ĎqGk#&àc~#+m#0ֲtlhxC(0? YA*Я>ӿIvV'mgfm;/֐X>gDpoOy#&k#&tъQ(AhR!#&S`Q}TJrf6ApU%JkX3iV3.Bt?U#0JB ipy#3Z^s LԒ˩jU5bѠɰPlt%cu.w\6+6sR^^]ke[m[˻[ETWi2V^7qun쮻n[;*;MFG5Q[s[/֯lA_D6`6&`cO; }nD,gGsCOQc#& w1#3|y#&_>A T"0XrWmS^Q{ͦ߿#I&Kh!~*(?Oǂ~;x;}mW2I HF1b"8L((#3R (`r#&jZ&ѾfkJJ]sۼ*TlhkUjF^uR#&ȨI#+VJ@#3*+W]-^&4 PXbʵ]uWm6|Oit$QIJ#+̂x?GN(O#3VI%Pb#&8JD@P]_{+C^E#&ED ""!#&) 8#&m~Apu@Q6 +#&!jLʣZ؛j_o4@C<" eLR6Fֆ À.*/53{h=Qއ(JM%@K#&?ćXg@#3ɖwًQnƆ#+#j@ QRZ?=IP:T B!#+m#3G⋳4!"3ekҰ?59$eX xuLvvF]UP_䑟QR4%#3)$aY&h8$HĂ ePiorU (*Ы `i#&)tKfHJA#&WQ=zy-WBj "00A-@bUNmL=hۚk{ 1F E2xLHk_UhTZ4]uP#3)Y93$uF%mڷs3RP -06Qv w#+p!4hɨi9J?Q_CDr$KM(1A@pU1A NxET HA4)"H@:=#&05I!$H#+"Q#+#3RZ#FIZBlQ}̊N|NO""mx$ov,QfKc,#&36qkC7OJqC DHh&4C43aAԒ2P'5B62 Zx8ƨ˕$"v`nFa@>đ*mq%Z6#o;l/GHۖ) "yKqzo&Ovu|QU #DM*X"& ,@ + D#3ȫ'@Nc+Aٸv?I#&1HA/4k6?2CҒhI#+JBS XM펈f"#- Kv )‚PRDDK~_hX77dz%]̰:f793WNJTx!](#3lD:s=.+w1WO̥(z Ŏ41J1y3-+33-iЉi;;Jyxo7B燗gJ[~l\՚/!8AY#,vfo10qǁS %t2kG(iz_2#3-b*Y)[΢v%;VmVO,)aʠ dkSAqRXHXF+,D2ΐi5) >v$"q wݐ̕ל8A3TX (z-Dbޥtr3#3+g!n1aϺ{[nR}œH6iJO]wCV)$I3䔶#&Z=ޚq'@" RCi/X^q. ԻL7@st#+BCID01Pغ{6"#3G Aݑk:#+sIp9BR0͆Hmw^&f$BAcȸn8L#UIȹTQG4,#3 ؏-n$<$tWnȨ#{ˁa_B9@T;\+yyxy4#3ٯ3ۀhl#1E%T1*!|)50[R@$-g@Ҧڐ#3Ap2Hr,[o&ڹ]/:inj{P&SM0rO6#+kFqǻ\rJew4C&ĻXS@2ŭ$U#3_vrTAADZԓKM#3 펓LDD@#3#PA(Ff"&4^/Z޵g7x1@F<R;PxSVXJ۸rU!buǐCLݟcі1A!#QUwOW #&cb/<Kw pߔ+ -W/ԜZ{da@B@<>~x}e#+bbDCyj|qO&CruH'0}2c>)20!7̙p331Ah`Qk=eAdKiTjgv3n#c3)%*zMKT5imף4WEvqx#3 =q$Oj(btz /0B^'Z(&`nusv !Lݠ9^U;zDdV#&Ğ@[||Ȁ$#EDB!H6@l:>ǫk@;PJZHd Ň8q垮~O&#3zɱxք#3R)DZlHGPw܆J"4UH!@@A 0ͅꫡVi}ِf~wLʸGәlyϢɬPm?k#A J@/#&z\}h2?-Tܓ;:vP  B0%2(F@D#3, {X-`i)v6?%4d$$MVq@f)%ǁ} 8(ۄ2ilFQa' <'F1 jDXԋ=#+hmA&%!%ia(H'VQ64!e>9@Iˢsf -bGq{irܨd!XٶR֖έl(އ# 1E?#3]-_כo{o<M&̓*2Aa SA15)2h,ْK*B*i#3Q$^:CA75r=d3}LJ>ߺs$6a2[ecS835Hc\ܴ1̦U8t:=P*LkzH JKD8 XPI!2=YؚŪˡ[D,Ů=CFG(7 qc#&XXFr$bE۩=u3&hjZ#3)*#+\P|bL(($)2S"UӵS!Gc2F1unx#+﹓Cah -Vڊ27X!F22)i0RaARHQ+6$( +A#&Ģ|n;!m&]0 fkAL+l0mVx5G˭#3#3<Hnb`5Y@Ujfʼ[m˧*w#3#+#&93@1oɐZc>S B IBt2{K#3#+b8qxa=UC.쩢Fx*:klFm8R1A6:V!O4,T-Njhh!$ )B lJ[1]HdRvymܩܚm_d[^R >ȐDCT#3&ڃDeT2# FKjD8@Pak(D¸UZtA+0nG#&M¤FQA,Y&8Y!!#+epAR0buWmf5Q< i#+Pw3KW#4| A'9}#+$6T#dVdKcAƣn#}#&ц3l\{7pa#Aur3tM1fA29#C#+kF1'aac##&&⎳[nhZ!p.rxQ\c)|F*4jA1:-PkfQ$ai6Gs#3ɗ(#+3v}q%l#+Qj#+0:NDQO#3#+z["" T#3*m,]=Ƴ}#&a`p JF&/NjJfחZ0YnnYђz=30T<:j'`UdGh͑c55. "}h|#XJ6ż=lzi-Zash(˰֚b…to#3!egۛR#&l =q_T#&#+MeTl#+q1l*(";[1Z1*@#+%0 7x IYo[oVשr#+enl MDBWz%JaQ,_ީ#3Ix•rHQUFP eS0K[!AEڋm SbZfmjT@P?w YCזj <]jȀhO> 0wd }gr/+ѥO(@.< H, QE7i{"{!CDx4cgKʄ#.EiIioˇPطa&8iDXD^eAӎkm  )#35#+NI<%;ѹs! wwQ%jnpaxivœz?AnϵсRKX p##+u>>IXݦ;̍\f,4̵^@`mÛq=6W3@թ[ ļkD2"uBNd#&8hsꍭA #&D Wj̪u~ͽ~ߢM?e|GV##+u bs׼Ca꣙VLdCT 2XAωv#+|BQ 0pD`]DS @UqO,2Z#&#&=ñ\$zT7wk5 r)]ЖF(D0ȇo3&!B l 0UOSܒ`4-TNbF}xxkUc DN Xi IhS#+"047~q8 8BIB5_ER҃,r񎺮6L%9!#&Q 6#3d!sTQW-xMRżmb[.#FʒLkcl5mcH" a`y/f0#3 *Zi#1R "^}-"JZb~ʯ<WZORt#&?12!@l_#3JSS EmjiwnܖfnnS\+TT#&GkRkSMZkm؊$@MDe`Knf :H |D#&ƪ 6WMU#3?5KD2(6Z#&: 3()ٳ7=B(w=ha~#3$m J:1ڐ"1ԈJ6ɲh4aBZM)2L[QmkckSiT[-EjƱMhh(}3 AB-Ap`FPYabƇpIb5H! %bI1c2"cPRCC+c"+ȫdJP#Aj 0#&#&F"Qk@P(H~v㾄 K@mr˹D]z5]JP;@tR Gk<wK:*M+8#&@#+#+|t4&!8K#3 .-Y]Q75D2VrHLloT۪b=Fh*LgPːmR`C;||'hbb˴ws<릺\3/5/[[bURAQR,`xzK;f*Cq3ο\౧4ZŐfHClq"A#+GGv 0E(;& 'qPFH2U?ulT:Et"y*>>#+I>N9=7CY{pq+Q !#+u7PO\m^[ÝG}LrBPdG4qn۩c˵'ɚ:A u:&yp2HF/S~Al.ɟ/H26|g70t6o|h#˦mt>,3p*Sɗu\|? ~=88{V#+'n]"yӖ:+w^ Z#ʩ[^7wv,t7]cihn@#+{eP!6^<E KYͩT0k&WUjDzJlpq0<ꚪSy#&uY$7d0+=_oaio+8!s0ZW.\^C]e6S0zՃoNGlw)WorM}y/#`ڡI>u=HF d==[YcuDTVJ늅sǯ]~)"Q8j;=)%Z՛:k@vp1(/10Kp}00cFoꔷW2q6q!ue9\<Èt@V;UVl\Z&vG)Ȅ (jlc۝̈B:f0whQT4lI`fO m]Oeru6hs|(6p9}37#K̒Lmk+Ʊr/ri`d8Mu8Ԃަ)PS:0_"}$6#+<\])kT<닶B.ͷ5V1@DzݬB]R<W]te0t/Y#uI#l9ǣ>l)|[~iS\#Buh%C޺ڼao,C6#;~Nj"8nTP@ٺJ]/sAZ᭐1~ˆ8vqơ[mKژy7T+t2Ya#G6m(e|NS #&J^Do7EzFj"VOYBN8ã*dI\3c΃F"q K#3 #&t,DL#3|7™aIۆMRÞ/jy/IL%CqPձB"94a\7rVf3C~H%r.;Ălጳ@'NwXi(b\{\]=ipDεpܶ؅̏J$67h`=:s<6*_sH8'+Xrns((z)Q((`"Pq;Tv8]-aiA#+IgCJ]N2Iuh۱ECvH,e@0`}MI93bFK8q'IyO2D=Ջ#&bLæIzWV!;=Q4Aƌ%^,:OMLa:юSMS-CΜ0]']#!.1Q~ :x@gl >1a;csIּjb mzFc~ X( AɬK9j(WTd)ܼ&~R THu'fj?6BTۈgwU$Nmc6!F#&I9ĥ!FU~b7@0:Z>sp&t.+EZ 2^h tomꧽ/K*1Mvؒ#+k#+HO<oZNhc#+\ܙdes. 76"1R7^Ӣ7yG<Pt:ww<yimQ2$^9nt<aƧafsjs{2*vM#+eCţG2 CGP#3ʐLZF >tx͵a\D8XƵBq2<Peha#핺ꗗCcӡ#&> mEsRI]-R-2dᰬ6SՂuYp:p.Ybf13e:44vm ~*=W+Sn*9]q1sYZhk\K) u&DB\H ^'ZZn91 5:0ډ#&=z`:</.z[KdvYڡIG\~ |ڵ%QM=p1Lp15g`JA^51|C4q[~id& ^(x{޽sC3▎UE 51ps!#+eiڢ[v;"ȑ#&PR)!o.'̘5lj45֪DDkc)SunwdS]uʻWxIA[仵Rm3Xv1WV-dZzUh0F:ـ@V"":aATEDQTQAH>[.+~zl*#&;6 auyVLѢ/MҼZnN6KRڭ~-m&V>PLaW*ݟ3_u<r"(AL;v*1`nB~t8[$VtO4*$M#~7bEd61kp5yh% H#"Wʠƞw + *۠!SfQ+:yx"TK2!T3i[,хKmLuyNxQFv,miiP itL#+TfK-FK[@Ʊ;ⓉcG!\ #p^#+5/Fn f#3#+#+fEư֧&f&MͺdmjZTLܵwZؑ f];UT"0{J>e#+HSK!0bIx`IYq,f51d͚B.Iih\ФIR7vmo#+)6R6S#«KJu&D2V {A%KS)TTT* M+E#3BF닥r#<aBi50um#+7I -`ۺ+fpX4!kZraer.5*"aor9#cNɤf33L:QU$@0hfdd Vw2Khǡjipa<sV^Yâ(#&FԡeGʪ@k@$(jr˛t|&XUE|ZoRiU\ b[Zr<bs[uޖ̥08fM/m\Cµf@3IׄiڙEpact/BrDZI**5VNh#+Lu'A{RaCpxHsQTUA`#˺61&#+6 ̯}8h-LnK߭W/](x>ʔsnJgt SNp(0UU9 *ԕ4֢s:i~U #Wjw ;#3 ~/A"qm!ϋ'o{Sff,6qRŘL"jZ 3ռ?MB8d𑍡9UHUoq+aQp%-SLHIX{ ,wOIѹ.i~0;|zC', 6o-A$<Ծd觴R; 0|ZJ-%jrkE+^-yUo~st$5zv4pn+*IVmaFJL6l6)--$Y&4TRʆTȦJ e$FƚhY2 1Д US"g^Ay^_|rNto? _~nOGy݉øEx9L%8 hI1Ad;@HuA-V)h #ޑ;g|19EoJ'|"Ńy#m lO$z̶K5W<$"RV:g?@.L^c#3]%6B#EAAHDINJֹl߳ݮU&.+ɭzmv[$}ŢRaa_aW۴TnX#+X&K u2?nxqϗFQ3VsGFZ. ]Hٶq6T.tL*X3LqTIКbAUʙe% 1T#3ʲQ 0VIqr&V1n=Վ.xk8ZhF1" .R,x֟#3ݐżT کR#( 9a0Z_2۳&%sko,[YAɓ$h84`va@.Fy%#+ `jH46["аwp*[ I$&J#&쓡H )E"HNAzh "ovޥϿNe)æ:v,<?|A NˢyAYJ$LqtA!a)Z(a4v#&QdD!kb:}>;8J-LV~>/jUQMxOj3~%A~@A"M,#8|[DG$`&adQ߂aܮV̌cʢٮx FDM ]\W!:`u@*LJ }b$pO3cOCJ#*\ՙ'$2"F/C7'O|O|޵7#3}^.o!ĄpJ#c4,TBeWE0 ($͕T;f^ʱ5(52W7M@U `|"*ej[R4k "li/?dzESEmTxR@?־p>ja#3J1#3ܘ4%}~i#3{ͼcpNOm/lfxsSjjF<tkx[2 kl#3)0uUg=N#+JDUq;)XZ;)ص,6C*R,$ufDȁD 36ťhZAA%EQN.'ki/&^v $9.EuRxF|@bWq#+q#&ІraiXvHASd5Go.F/LF]8M,Yt=-QfPdl{`bA(i4H1[ӑWi-Ѵ$@72#+)l@Sh|ʹ#E%Zkȍg%LĆ2dP6#&y M".?yC<t|ruVP03KI„j?7\sjt|/U#u4΄9q<i1b3M#+,JmIPp۠P.5'm%#a th0$PFѵ'$"RD(7+0k#&eExB60M^ZGfQK"cLruybhGwIJst4P1$ۚA68 ѕA09|lkn؉iaLjFضLѦ wFW8Yp"rMkuRjr;Q3U&v'cYTA|sZFD[r۷Q`LОّcp>7NGW&ƪZ"0"١$e({Vv;LT@n|a+o뢯MMU؆Xq˸Y6|)Ŏѳ#3YùFǎ[9^ӗ |T/QӵZZwWnaIoNl7m>xL&j8ֻl#3p "*gmW8L\BԥǠ;ǚUzQ& rp6:M!% 42vbCtCvw1*(qt#@Tc-Dם0Ͳc<0O'^ߕ#3vѦ'[qeR!4$3&IBU՚m݁AFش*4Cm$::p#yi#+p4M-f@.ݑ,}l1OĂߥqҙÁfhc*lHk6!i u7Fg)")Ό4&6{"-ÚNj'w3=zj[\5Xm!srͫg0C`ZzŠ&bItnA2{x8fmweoVS#%dys4XB`6%)bi8I1Tc˫R iX˾9ώqio8֌ Ah (1#+os8,Ȥ;ACfṤS:k){:rIK(ɰK/jDnW}L.GIaa fn#3k8wxi& лtKp.V d0;dK S&2XVi~Ǔn` Mj"2hbyhYj4g%ïDvM;waʘo%0FA#+ w6\0@̙ň#32A%nr f&"@& ┆xҀ؊$)"^R0Xh܆#+M̆ChR%(]àg$#"`.p.褀1KLLsE9bf$#+Ѥ@ir!lvG;!;d-#3$E2T,,B."DI=^CmF 츊>_ӆh=;d#+7d@HvبDPQzHl $JBK'΁"}V0,~2͐)6l߰}9: j75Pbq'#+gl pR$c~5M ;6)ASy{Y1MǬQJ(k-ṃwg ʪ}8gqPQU颙֨#+7E;`p4Ȳ}{`][*ʔ Ɂ5CcmA$LdziEdC7M '6S-uGS0lR2S3n_ 6 eeoMw)tZ'jNy"*n ٙ#&\?0={A,/#}d1AˑVZ'#3%aw9D>Zd!B >S.c}xNH2#&(g1whK 8"9-q𗛺TZ#+c#J #+2XY#++(?%&fC|60(Aq.TQ{ /j0L̗FR[1*B)#gj{B|f^~w#H}\#&{ v现@Dt+q}1ĦJE-2QY]^pp&9S4rQOE'IFPv%m5cI9Ʋ#+ʇHh1ٳH1`A;z{7 gsN'<)cU\`Re9Ljj}bTěsaO4Ɍg(:#&4w׿\#&b"TDtNT'hfZ16z֙AR*d4stgʌȣrw#3Q `qHXE"#Y[&i_ɭI2"9Wo(@ٖ*6HvB$T7#&Qހem.fOE~*n;St8A`X '-pǧd)|N71'#&Q$unW|1N1:KmWϭ+_[UIxf B58PhʢYreTh(CNEҫZ押xu涗Ml򸍶#&{vn@Tm\^#&wȳҲ~$Ӌ9U2f (f2.(3 /lź5[0sM96YH0{]ӆq eaȣhਲ਼} @DRRHh`$A#3Ţä;y,@@a@̙~T.7ūvxӃ#+R/jU#+MzGhٝ^9#j^^P/}&<5lO>>>Ȩ'POXh#.T(HPiς#Ӑ$؟Q_#&YA.޿7iY*fѦPVٌ2٬ƿybk&ָΕйڛ]K믝9T'ӦO3j#&=q1ב 5GsH)D3#+_[TS`}_V:bEIa7nap#3$@D%#&w%r}pF#b!H癃K5 V=PM1F+ 5c:^,K㫧U05̼Y0LЫ(x[9qpalن34fCp0]?FvINfvNʎdIA%l,~HYT$H :hPTNSJz=h6.UJeieLɂZ#mVW_@@#3Yϫ윯%#y7EMbUk3F9P$ A#&p#&P_<'lOB ]3P6BQ#3arAu ե׷hIq`[ēTo,X)v̇ VAG {`1`wwyv| 9fST~C?1B9Kr<+Uy/Ý7oZe?Bօ)EA{tD,_vYbk_>[/W21 +(J(=w4ߥQ6؋bU5aj.ZƀdFAjQyA%aQUTJa(P0=$SpA0D#3nfyCvs@etyJ5<O0b1T$aR2#& >4I&di&_c}zWR(D#&"@CdBC`gQo"M.œ*d|#$d=Zn162jlJ̍jڤE#&^6/Q<Coآ~νCo`{~]Ēz]^OAВ7?mZ!r >R Hˏ{+;ti1٢O22HI}{zX:AsZhhKzp4h$ dSLMp`L3:0@aWZ|侎imIW#+jZ6SeO|fj$!8#3#&?E]J$KV{HA`'}[!`zzq;"d<3ec5gˈ M gfq-) /@xm<{[lKf/v_moiƍٯhK#3}mzu~{}<t`6TaXQAQV2m3W(bhMTUQca,O:d U0(AbdƏ*)i[Pjn |'.qF(RDDbԕ#3 lE$2HQri{JR@ӗILBq7O}ac";Sҝ<#\D#m>JV2#&iBxzdd#30Ob{n[W6%j.ƭͫ|XifZu#+ v"-#`.Q!=~2Mé'5F/Mj*1V&q $B=41R02#3TƼ3Rm}^ykǐطTجPHmHU4[ݛ2MTm\TjJ65e#3#+X"lQ2-)k(L54fZnqJ%o]U&3Dua A#&5)?݅\B/iGh\F#& a[ AP;s2k+,Xuo|D ĖCT]z6rh#3}~fvBYDB(#3qǨY%i9!$hC{fv2I/"@CEM_U+0MuK#+ܚmwi&Ơû/tBQBĝe@}קSsH\,`bx']83~bVRj*B Zd\+;YFed\3 zfeGX7F`lˈ@WsKsx}$xP,(-ihaZB% 0PHM#+Wlc8%ܥAN%I e_Y;@ۛyd07.tM}+RK`f3jSe4?ʭ!+u4_UZέ,2q fLB٣QTFoj]ۣ}.FJc4jS⓷:3`h[@]t0 )بW~>LA??c#&SP6Xf&G=Q12=&7 fD&×nb VvZؼO5!P?%#&vVCk@( @YҸqR6o#+d#3q',뗿#@#&@SL;-bc"R_߿wtO,<ow®6h_jޟO:g߳? t/'~G?GWhNj njJxa(,,DpcjRG ]HBE#+ōHZOXg?nwu2d&S>o{ZU0 s#wH#կh4(k0Ke_Ɔ*pMɳq\ n!EDJV<43(@<"#&O#X3CGmlmfp.,R #+$! c+CoXƄ\qwkV0j5ث3i`iR_{#Oᵦ65d(#+kpreغj=Tx>ibP)Ɇ5>f&YiƩ0k-rR/la`D2ﳎMmnp81GvK~v둳)qAF7Le`P)4ƣ }йcowe1+r,:E83A08kL{lZ.[p#%xl-#&@[0#3u=w|(q\Fٷ斖ψ%HB PYw(qa1,!^ hr7.#+ݕvD~v~"J|~i N2$iTPqNږL9FA5 3X#&ଂ$D:Ƌٰ"H2b$&])O#3jY#&3$w{ObXG@p@O#+mC8a sJf魉F#3MZ#Y\J*jReZMRU$Lݪmo&c |ġ+b:CA"a""Cp} 'wu$}#3UZhY51_b W:G?#+䲑PGS(B}¦D1R#+jܧг[걚879qXfaE# Iլ&XM0M5Ad4O#+Oۯjy44#+MEݗ"6 &YvTCVzID%%,Ŵ׍_W%EQeb1Vt.f4̡лbØv^(!It@D(xw;Œ<t* by"G$z/ĄTUFF{i$Oo]r$YBoNCЄMH>x#'. (!~f($,H*mvkHvi60XȃfAB <Hjw~ߑ`j e29ԧ<4.6-`4Xb)cĢ _PZ-4M#3HuI_M5?_HNޡA*x?Pm%Q?³z<_7Zjj⎅h@_J<|%̠[y(5o9967zE4!#+-qdYk5[(]2~J7|RB +$RtZ`t12U32`þA؝;hLed0/25^[Q8h!k,6#+>[=68J#3.1$CB!ex3o!X:XGA$ BYʶ!2_fc)„
-+#BZh91AY&SYҗ \`#$"@#$#&# (b|)9#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$#$dZ=l4^{;>s/l1=c+lշevFnz39|}ԛc[wGp#$Sol=tPt74>^{]w&q4Zyi7֯=p6}#$#$h#$^#%#$J<>m#$uٽ=5T ]n#%vom#$ٕ;JFh[ QEI#&#& {(#$#$QP Z%Srmׯ{ۼLԶ6#&ѥm֍hJ{޾=RӺcN^iwvwݽ׶mr}}eӮ:#$>[@P ѥ#&a ldhTz7%n$#$)T*PkU.޷u;nlrݰ{uim۝rn;ӣ'go{W_v;ᄑ>{ǻZ4{]>С;{Yq]/{|^g;۾y^{:2mNvdvZ;_kC.n9>ї#&ЮNv}:bieޞ[ܘ}l'I}7>^{7Ŭ#$nkӣ>uګkE#$P#&ۻ{c]t{knesu_{{w+N#$#$o2#$Wyo}}z]{{Xڧ{^NUu^>'ۊ^2zjv};n#$#&]p>Xt}}mw=ڽ̏{Ob9ٽ3ϛ}__>XO9mϣݒNwoJ9eVEZ}/<ގ_VԊ|`yu}ޫ۸m罟p.Ϛ/U>ӗ;4=#$\zSZ5moy|{vuCL7v>CeWy-ەl#$U;S)#$5n^OiٺwFQ$u޳sw9u{}ɟN_w#%v=^׋2N7vEӓ޼"|mK|g{'+wexv<tA#$#$ #$Ѡd#$aЦ4#$ځhiA#$@ #&zhCiS156i#$#$#$#$#$#$ #@hMSĦ~ɲzSjzzSh)h#$dF#$#$#$IꔑDi4O<z#$=@#$Dh#$#$#$#$#$H@@#$h#&`L=#%)F!T™4#$#$#%#$#$& @ h!GeGz~@#$#$#$#$>o:եչm9L#%06.f E*`|O?땈IR*ouxT=bnL<2MÎ{!A @ĨT.3guQ#&)bu5)UE'rsU0\[jCϝ2B0",)(HkcmFڭ֢U\ڷ-Xmu]ַ(bb#$Qm-U!(5Zo<Tk-IjUm LH3ƙfj,fe1$IJ,dLRbiC #%2di6F(0%#$L4(mIEXКcSJ҆cIh)%#$,T ȑm A6)bj)F()IE4YFZmZJk&I$T[k)bj[*&Q$Q2$VFɤXZH-)Q(M& ) 1M1#&&D$dڒXd0e)b$TRR[BQƥT1dhJ@I(H,LT&iRfZC  Ydd(am!M$e Sb5%@h#&R$TIHS6 $RF)#HbĎdd2DhHb$"HJa dMę(iFM) e&h&eŔ e!$٦c@jX#cbVI$Q"IQe!-6T3F-M#c)M,d BJF2RT#&%*6(`0JPih4d$M364k Bi%6#hLJ &F LDE#%MfZ#ҡ)Hl-2hṂ%#&lCe2,4@ƈ RdC#%dѓ!P!BIYIY2RB2K&QJC$e2 jJU6h1b"dJB#%űE#&I #*4 Q–U4d ,!l-L4SZm[)M #%b)cɩhie,Z[$CR4CK-+#HYZ#&BTf&4j#%RшEKAb6%b)ةb)e4Dͦ60 ڄ֋#ffcc(56FаLRF$Qe2ѦCVFȪbSeY&QؓFդZJRb1B̈jTI#,V+L Ub 6Q@*#%jCk#&VhSIE 6fffԪMF&YEi6f4YLff-mE-%3SM֕J%T%ښV1h([f3$e m-e#F6(0!4F(B ChI06mE IQL6lj2RhiL)b6)HSE2S&6e6a*-d1MfY!Le0Y(41fBKb1XRQ42S 1LMe4dbj4P2(aL,͢FDlDdБI(BʃEdIH#%%D6jQ *ED6*SI6(I$2ɢFdI4%Icj[4جf"F$LM2JSRR$fDc&Db&J!"Ѩ65(ڤi0$3@EEٴRԙBMkF($`h" $fma(QԚRJKQTiIiRDYfJ#%FьLE6SaRi)M%K$)[U$IBh4lQLRQRe+b%&#% EŦ) mIM IJk1[E!$"eihԀh"JIҚY+QlmdVKYh1JH lЉ&4b2bSUDMF+DͲȭ6X%(ʛ!Z6eRPQ6)DlZ ,TD-i5bFf&e"ѓF1#%&YbL(h4VLdbŭEVlZ-d؋TԬؚ5cX#fQA&6"$I$6TO跻x L;0?EAM͏n^__#xC_#&mȟ6d"=CMrnKgLEucҩ @~t?e& RevA7q8v7z0XgN:حJ4O7kL{B67c2ʬUU-ђ:਍bUvCKLi#%$ZDZyMmx=WWeͣQk0J#&1lc7R&Dz^&$Q痊{:f0T\IirՌU=eU凗uhΙ#&RFH#=L 0΅c\ƕYR82B#Ě{M=Zb&i(zu]?{{emlkDXkڂ93o7S]:.D\ɤ)5}%HH|J44)=La0%,e{w`ڛ. YdD* گmUu-]|>ԣGU#qCMo/r䛺N銂 WwW"lU64|r]|]603EkָO&X?*RlU8$#&#&[xPF~ ~")` ˜uN}j]~:Ej+=ڹg10SQ;٫8Qơƣ\uqC-/;I0#&E9B 5bTJaQ<zM#&聐2-խC fR.xX%~Xd#&JjPn~iw^mjoo*ޙb76I#}}vyѳ=4Q4vV҂/#%/TuemcmOĆF4k3,1ryJ>znE93V-wWTF,Xb0EWT4$SC"ưH<et[z^OE)|\*3Q5|\R[&\_y<ƱD@?復R,@kG y!R@s6Op#]k{7gI#%kl) Q"4Gʂ:#&N8U֨\C֒܌].ZKvł7tfEd-Q8wm`;Wú" $TTqaE#Ʃ-'7J4KCFL9!mXg=pQyT93h/*1"x<rF{6=\{24>=K<@᜻E1Dw9cgYUsb8dL>JTZ%/v֕rX]yaڻ;!vfqf iG^=\ɬZNjz!Cn(bcUA_]Lf( ^8bPȸs&0iGTҷo⨧GLL,e9/8^ÿEbw.<fXxnu?n;4~{R<Ȇ?!KhBwGH7* a ʈ[2B7TA#Kmrp_#%/#&Zn;T3 2٨sQ2G?=t1mWf*R տ-y*$EyL֍$uQ892C%ҋN9+幱L*!5yCo#&]k:QH11o]f<ɷ{ښ6e۱z<ŌHVRc^')zkSV1A#%Uu[yTi.hU~O&Qg mA[vpe$Yr̦犿ۥ;go gƽaNwpi=]1צV#%#%cff?qDo>k+y@Yۄxǂ$L5!Liy%6TݱvAAzu#&bwp3lnrm!;Mxf*Мc6I!{">f}]e},AW)+T\E&WO/NχچCuBCEZ׍-[K=빩@HwзoP/C;8\]J.NeP1y=?*g~LLEG>Х/?m!I1C͇7iwkr5xW 4 Y) G69fOy,#&bD_OL]V0m#%bzh4GvהDc[S߲:'zͽ?8":q#%HPnlZa$Mc|+}4Tu^3d{r#&bjo:H rrb()\Lj2))WJ\)t!hte)1LU-9]2NIL: SJ9S,&\[aܰy[ɂDuyrAqyʊϪ>kQL{[e(C4\cbu.+]=(D: |=O&9mMc ]/#%I dtҡ~*<^e|]ͭiz/w;t sb-;]Oƺ%%q+ 'HF;|qȷbSYfKtFi3!̑%0`}QQV#$- 0QVjٮJb˜CA`-]#%(A022HF);ͦ4AȾw^<.4M]m63O9q#&}>a[>o]U6ڦ~(߾(x9t==#6W<N}ug\:麤 l(\.~.GIxGL&E,t|+޸C·<UتV:d$:*W\x4hنv B% vGJ8gH#=#&9/j&VB'3EsgiVkwOCh;>9eky2Ĺax#&%qVBoƏ4'sF E7CˏSN̞}\1Ƒ#$>diD+gVy<޹)J%G)g|P<9LSR嚡#:~S$>k$?[V>#8m3G1 \/#$;H\h,P40 N,b4LclV1fPuO6m?K#f͆w[*/FUdi&;yI#҄Jk|#&xW$XގN_ә#&%q8YC8A#&e!Ӽa-5, %`n!A J)o/xsƔôԨ~GLK!ʬ@CMGqmgV 1R65yeON&&Gt ~"_\+BJRUQ#$,JE?;j2^Oȯk3m"lu=FS"Θ-PoQ<~fYT"98XiCzv=:4s+9.~$ޞGtnTw\fF,ՠ Q#%fiKҺ$]UqEh՘eT>?5!yBͪkF #%VBse10lیK>rЄ {rviU++b\Ʉ+%\^޵,gӹ#m_Vf8h|,%gdGM7(7VԠEU˲G׊(DJԭ*ZM0^!ѨȜ,PG&onۢDI)YRyۓȥTE$6?ew#&_&N}#$hw.UiUæ;KpH2h"ŝoF+D7.oi3eLw_T\6.ݎy(O(*~Z#C[4#%̘f/Mܘaa4[ۘ#+01ά&N]ǫ#Ғ24țr.dsڟʉˀd*]+!|o{}^w.&ߊI"\%魽{amGWvOz#%9ꨵ${K#ᘷ&0Z[M-~M58"ۯˆfMQp-nوn~S.ӭe\+ל4&4S#% ͻLЀ :D sM }.e'ʅ{b̽2(cʃFcJtI:4& #%(XƂ2T#RltuDS)|x8{QxKL mϵ&+S,&LW|t5geY3vEifo}XTx2AoU 8tqAF2|/"'?ᙗ~N^ZHݝ.3co #νFaXv8|Ks Z9zr&LɳXjl & ȫ av∭(fΉɲH#nESyƕQp-o4G.J iĪRH73xRMC#%Q9-sߒT Qco,sTS5ގgՃiIM=@2 ;n6WxmVШVV""S,¦ 7#&ދpV(PiUk;aK!F[c!LJvz~6+DO#$xuН2Pq#%3G嶾}F[G䞝ӅQ(ug]mD*˅<Vx)_q3lK)6`Ǎ|ΏؕBo㮻ۄF2Cϔ]vƧW֝i|, N„3sEB95=F#%NY5H|t*?/c}yFcZd-ͮry kISxI`RV6Md!eQtbX?ASfMtiѮVmNIYy*۹^t,5TbLJd5?RiWhV(eQG=u֦vWsFl/r2STB{Ee{u==ܲ6E>[cFS?ުOdhòXĩ-ݏ#&nfZ#%4Q<opCJD̙KCm"=Px2m桉y`:Xyy/]X\y01o a}a"rc?Fuȩ7=m>T4BOϸDSG5j]%:=Oiar{~%[ePsvI~+z<(lB@3#$}? y%@Y~g.^f9&Z-WFYf/8W2rc2D?S@~*TMUwjBk{M+y 8$"\fcR^yzi[t`T #&m~|Rf#&?-;q.~}C0A+p EǗMen u@]8d\1E.!Nbj敞 _oyt#&ӊhB͞T販gɚ #&Й >pŽјm(vk3KT?nԭ7c"98,nSj?9c !;~/,wم/~wT:ڋ0*ў4SnCo4>;NNx[a/]6yqoE k_MpF ;kz!0#$l3{OmfZ`6]ogUDPQw){Luve2ՕD9](?LW!&Mːk,$NF846xז#& ~opmܢ=ՌQs&VH )N+dj4o >-䉈`'Mtvw-|9#$D]Fֺ3ϷCTlCl[qӜ@ BFR/ )?oʧ=JtI"x`=u҇a|]Bs/{1ߟhHyqˍșUE!0 fn%١g l/J3{ f8c9l#%b3ׯxۣt}Nt3?BO&cOcC@lMmbo.ȝgős탋q!!*N= .Ր3])M{?)3N]<1 =m#T #%͟2luQ)o^k\.zk_7{wpcq$~H+w4L} UcANܔ4kN"UfǬv6;\k #&)Me#%S"gBq_uzD?{*MTjXgv^i'MZ;%-#&m,G F|^{!vZ[uF:3ojB˃(ݸ\wtv>nmGpx)+++wp+pl<{]`72ۖhs׾a|,x]G% P+0x}o5o] W'{i5)ξ10DMtZZ!8SM3f3CA#%7<*jzZioINԘ(L^{x(]N앜C#&p]M/a`&tGjik;PS';kRGX]-;p8.ڌC,AFV-!;H8"٤;6ƤpQyf[z4Mt8Mֺ.CzX$#%1x ^-׸v9:#%z၊Kh`b)"F!&4V1,&Ium<Ly+:$ac[(R}A7- i#B`L3iaU,]e;~d͈{Wss>X𓭑˹(]+|l\yu WB#% ˝c #%X9y#%Z71Tm.d4WL-FNϏYlY}'-28j|W{#&t/Eק[T)#Jab#Jbe;h]/){xW̖(c{'Spγ1-8yC0T$7ٛ^r)YccNLo9I88b wW7%8bu>Q§Uv}z3<7!#.ͺ{q{k15D7HPUf#mâTTߦ:}4/`ò`f#%~zHɴ_]@,YY(#39v:ˋ5}8w󢵊>r{K~XaDΪZWq/$Zwza]ڼFbH݇-EY"<g혯K珻)(Յ"q 1Hמ3+5EH)ʕBe蔣 3"WkgXdU˂wH8!zƕE{S'-ǏE[غ#Ä7h?ŋka(p*'g|sT_g2#\DIF[X7ԙ]PSڊs1#&բ(npC*d&0a!c1bif%tɝvN}b/ Ѵ_>[BD#&7ݧYY2 V=*cW7ߥo#5Ǐ`5.'ssDGW(1Y0i{4:,YaBciC=&s(XBݚ3x ̇Su)]wx6J{HH[ I`K UWBA~-=s͏אp)ՒPTFP,6#$5E2ƳSU*+"qLC1.j[xO~m)k0VF#%9a+b˱J*k]6Uo$S;GZ"/(w>!EXQڂ/ŀ;#%N<fUQmTI4#%# #&+ne]A"ߊO>{W36(E7dܧ >c#$%`‰023rM^uM{7<ɺVTJ]zJ`}T:m'=rY)iK8Jurد椐vOs*Ur;'&>s=<b^DB:<Y#q$Z-3G;x꣌65ء4E5~gSY'I 璯vKq@ʸkP:|Cg$6$F"ogF#oqƉAW b+^w8uF0XsPꝳەj-%]~!A訸0٢$[I#Ey7'cOB;;d`6e%od#&e5 KMu`l %j؇16Ahd!lz"#%KQ]lz#&}]IkҮR-5Qm&mdZۡI-dE3dH#%AК?;ƜİJI|MWHt2}9f+܍BLU\jU@hov<Wl2IQ3Qק|#m|3 uLA8^b/LTAL44XRFc8 p@P/G#%ː $OzwW.pC|RdOΪ+3c%G8r#&"E(PYFS>JXws~do}r1Vt镦_b\<Ng7]KC﫣+d5,1"I6smXH?ܜ:A0NwI~ j4"},lv=͕d$pƏn@:(o^lyRhݮqcy!wMrp!3m˓*Db2Fbi2O5 >ZUTq'^HMsgڏW=鯑168tSMc>#$Ŋ'E"֜a.5!ֽC%|unnmІ9+tv #%t#%j0mͶF5֍nmn4z-ׯUDz|ʉ]-K^*N#%tUdÈ+TxBgF]@uH*8 zA_y0SikW|x~HC7{'I[S_31s9λ*jͤQm7Rrh#&V8 vn`OK𔘇yh+AuDWYUʺx׽;%4᛾>+*e/󼤥r/+~#)#Nrhۖ=#hV#@xc\V2\LOG?#%}/fiEN-7|9lK۫ĉ3+mHӈbԑU%V|)tys>z Dug۷r_ZlC-UU;a`>Pn߿G<>nK<?=/ɴfh|~:~<#¾xB$(|xwBL?W^&9ofDpNJV`7OZ,dj!(sAGu[~UOU}R;K-Pp}@fwL 1?]{nhڨJ#&d]9&0B'Og \-_O&J> SN,ûwz %A|s󷟇_lw'CT3r(TAuigpe,fbC6T'qKJmƊt SB>k![?UL6mUS -X33ϫnjDbwPd_S3?rg #ㅪ?Zo,(DdDS}i<3h]Y!>KM-{_]1H-m 8#I|+_7-z("TA0A&HJJQqVS&xk4 J`R[ivQ X*%C0_-bY}Oj֗av^80Y@lN܃ƣ>0ⱪ~/~J( iYvqj}o>p)5#& x#E$]laQ8׊z#I@Ô"Y:*+Q#&E(pbawJQzuiJtwQAqoҷ/\5'_A"y?Ȕ(~bH:I'{`:PZ,==31~?n.xBRub?ɫM??꿫s/ֿ՗~ƟާxOv͏謎VUg?y6wYM]JjcY#xn'۬9P]"QOwd4ueUTq}%8ړ{ʴ[3NJ[SI~jZ<{͔j,JbSn7t!Eit=WK5ƕ>*4aA#%B^07`djrUFB#][*,w[ᖯ<'6#%M<bM^/"Q~FfwGU֛;A;=RLNTP]5?dck7۔F/Q{6G?ǿ@h#&NmCu#%n%fN8TO#&'{S_\bFS 1F6aS?EgA|kq4|~OSMdv/,$ȱ#CaUsLBLR!\ ^.1Jq0cʴhC$U 죘D!$v@@_3Tn#&顩< #&n$z|ә9F#Mt|:Jkw4ma@Gz>^ZOҖ.ux+`n%-"eMӟz3goG+Һz],YKvj:j6IrF#Gb2ӣWpߩZ1ja%8R(U%5X#&mD H-&1q#%$m*4+qAi3G!v ?gaQ?*zWѫg痓˞у}Aʾ+Kku7[C]mTQ<13_զF#M׶6BE?#%9gT#&9KIRO>nч:X̂[2Kq^\F_Iģ_w>CZwߧĎ^oQGu=~FcZnգN嫾]|VXQjky#&_[ӺAeݩ^^qe#%v;%`q5wnN|jFuW&pӻuv#%eIڥjԳ6JC$rV]%{ۏSN*6Ge#Gr_w:-eAyNeNEuz˨MMf&xtMQkO_ziϷӥ+5҉|{5C0ד9s94Wrˣ*k8Yaᄅl+LGZh؏MqbvPްnNTۡd#o6=U{ZMѽ{c2dgz:$QDyCF­x[M:K96%|wqqc_]uTvxƭ(xR3'ۿ pѕ;_o?iۧ=)>ߗۧF~afJEWqV tчλ*LՏ eGsU_LOݞ?鎿(|ۡX3ǯV‹uc쾒7<b[F&x|whc{]ش7G\:7J^짯 bA_?n ?L{S@]DB#%Y-=l>h;r\x=8R4_&~9M4ȰkP[ S#Qc~>y3~#&{5Xr?gSAyCqHeujՏa9U}/k^[>̵!soo)]-Ǘy:K!γ6co]<T35SGZaO-?~?WtGO<[6])oi7_~_/F!j=>")uB|쏼~|bm s^UDG /q0Oc۵z6׈軽f?Nx[ߏyĹ-G3PWֺuWPO!:ÿGUʒe?nTԣ~N/#&=v:Tc-T-WNtjvCq˯V Pͩ4+9d-R/SUJ؞IԺuWF7%kΨZt껯+ycG rjtfqJrT7YsB#&u.1<Qy$eNEI/ۿGʴ>ݟ.(zÄ֚),Ji?tJZ8Ea NYsN:)1f"rTMfVf\#s84BcMf'jQ#%{),cF8L%B 'IԷ%JNCb(L>ޜ;{nˋYl綌0D&fH|'^f<ӯeEvWg-{,.lIB#&p idRZ",z}2* I*m#~'|#%:z갩|R3tӢ9i{#$~qFU @Da4lx6s^fEǶ7`u[vxDWvW_/MG2ڕpbW@{x3J>ӧɻst^f#5 zV}U~o2Do+Tlr9QSqUԓ4<^oѿl5Kg>ɶВLI}ԕ'ё<y/Q"#%U8dT˻uԺ#&NUDv=nKNo11j-[VŖMưX*PaX#iaH#$`@VlqĪJ7lԉؐL魵\)jVaIa[M&~t1.$cqٺ;d8FF nqMLBFdZœiZ>]5#%Dn^AJc$]?ihkQgԇgE$#5#08f`^rz0#$E aݒBYPln\ ^I2(1hRDM;S (;Zatq#%#%^^4߳SKb}$˻#&Ά\iRӦ%?פ#=A^<Ga_7-;>1^-t/\kh#rO%9]^>fOC>H&w[yMBHVsأ0kO{O۫_3\BO#%Xw+杼xttGY4j- \@/埚i\|fǻ>Gz:d>}wttUwمߺѫQ0N}qpf<35;AB7*f+?g60 C#&#,1..1%11(.+I'$QH@f!2`F(F`4ėW)R۾-]1+bԙFc*#$|.L%0S%,BXdRcbC*VM07q`𬵥<ЌQ#&8X#$An!"lNivyڜjfJc` D, M]H1(&AěI6‘+QlMd@IٍcW#&Ф]TI"&Â@|\e K@aDQP$7ZܺD :*r63H"GՏJ&dҨfj죨9a`-vVJ @:2OP:>UaexJ̄;39}ؿVfT~Fcs]VHw<c{m;(4YoU}]|j~+:whM||m>퉳w,mʝcY ZU @q[C5goógw≷V,ݒCu#%Sw[sM ږΝA!L{<9D#]7j]b>.sqVЦ*鳳Q^޺őiM'ܼwo^CW'2")V,:02.4O0lOM-#&Bp_(Hؖ?.ɐ.DEA_^ѿ3C<ͭ$\?>s$E #I|l:Աe}>˞=T6O#&!5>'tYQ˄+T+ħ1呿#%.ݵsTp7 A2`хُ)'i*]pvg%u[1GYRs0'S1t[@\bυ r!GԐXv?2 Hyv;R3߲S{=V 3m/VbBB~j8U(㪜"g^fۗ<nh$5Z᧟R= [V2jW3P}T9;4u#&d"Q,#堩ۘ0n^*2|+']Θo.1jDX_Oc٤laFA BGݫGEGqEW=:}O4<ȪE"yIE E%Ri#$mFL^opEn,`A =Hc,q{8V<Hܴ*0hdE#&E7)lEhirDzp[j+X(;YH#ƫ)C! &F i+Źɲ#&#$/ 姭 TUl+:8*+2X @xV,D,z)hUوn :']pi麱#g 4!0yu'}])6mPm9L*xZcG_]0#mNTVujqb??ka懍JėCړt]{vB6(#&߼: U _[zl4.K܎N}y#%w~ܙ'bUmT|6UG{1g#%~, \H ӆJZD:ԈӐ$dHFߥQPl%=~.s;e;f#1TF4$Bխ7 &cӴ0uyKUV5b忇uŽwq˻dDAFOg~|iEGՍq^?kxx=?Ʈ=v@Dst>&%D -(͎Lu~&zz|UE/NW&<50!kC#pdd(#KrkI! +HXPmʋXiRrAcxVDi58``Ë 0,ʐ#%֤q o43Z4̕aǭ*|iW2ı rҩ!7#&e,~3pH8#&!(cvM9 8QNfjƫ}v,AqiE"(v-,BA=Jٽg^]jJ](Ɯ\Cbral$Y"SƮ,llf*Sth3*# aI4#[`%"I[f.1T*̟ſTwɜgv^e!Pz1X:Xm W=C u43Xцw-4!HILl%<(,XL!H-tαf)AFQPm륏p17755r6iRL5YiU*!c6ɳؖŦ3NBuYůxű~6c@){SH` M *H&SmdA^0kRI$_,nmQS4f(FiÒI 5#%0%hlY~4 Q)\w@뚆~,Ӌ^-6}]#& ͜Bfl ;/+||׀|`ayԺxyVe/U\ɳ휸ؙ̤) ݂l7,.N< #ZιG6Cq8MݵDA(3!B'UQz;Vŝ]S$V&%#c̝+mՍͬVBhͶ؀+%ˏOY8M5KԣĢ`CHjNq:ƈ,#%%pV0)o9g$Ë$OXeJMΊN&##$Sx販exbT蹭k ?koWߙ]0/[)O{oY>7,N8c#F#*ZY}#& |.GA7b5#/̕8#oIO13 N0J6#&[pbmX̳ʋ~ڝg!$V{,{doqy~fSnĢQӆ/w2R $B?YΝ'I_<M2a2%2w}<_yfInÐsg_=bh>dGXc3RDrgGm^phzgF?x݆saOYå(gT=sx^nu2Kdeh>Y<ӻ\y[)^Wq3jT%v<(:\cvƒb1<Uau~{j>&Lsv.lcZN}o)g ũU$4Ȅ||Wކ=pP~Vx~VKCbiodD{'a˂ \CWgkcpyql?<Qmeg`~'N9-&$;cq<魱/ȘSz=~5~gd#%8>[80xsHNj#%\ʲ-OcAw8<[9c0wlPP!: vBR<uC бȔe#&=YOдAC*|[=W#$x(j#7EST#&=9ap247ŕj|%X%9s;؁#%Z(q1O߅8ᱠ7M@#%6ƢEteYiTs:gIjkHD_.Z9zazV9@nWR1kCWR"/k.#&cZۙ6#EoɎ5)kAh#&`9 $HsG"j*/?t֜##%vqUTС|kÉ/2 `/3&jnKr9 AxUr7ocm1D;'|/܈2&leؑI6Bn7##%ǭW]5)Y)K̓7Q~˻7SUJSps _huIB,_W'ccJ.(ooDsҊ/xTǕ[Ǥ M(dzS`׫jnA$n:L-K#&dhuC؆E;xfS%zi nˡ$/@GӫKĤGąxpHt"/M˷<4o<4]4|jqZ_oþ5&lٕ"OO\!4b8ݧGwc<%ݟc'|?"_]tFt^J#&0X!=t`C S:jbV|+ 7t״,ȐagGOqW!폇54F &]2ؼ$3e4FZI&t:v:kV[_ oM2!CMwbFWU_fyi^+Hi@@ݖ^< jDZU!)uz17Nw@Gx8*KOV"rҋFʦV.[1Nښ=` QNJoîO6KRC8hRO|э;sن2#&xHV$$Öts):Q#%·{e! tiZJWa:p~ ^xa-H#%T)*cR[Yvo)0s{Z|ܪ=b`iBiJ"v?%3s;3\-(OI 4gSEb4;TGvTfbN ?1^[11nJ29Ζys+!w֮7CBU18tꦱC^"3QȝcW-&dro땈Rnn-qs0ݦ{,aN&JH痋(l;`X?e7gp\[b;(Ycs#&1'\mv\Cncp[=wvq7_zoX>@DWHyBO^w̉<va#$"c5B6_]%n4VꗔK<{*zC3m]H|XMN3-h|IҎ?XGCAzh*:x:(9&6۸.H8MXx/{‰j=[mɶ"ד~HtquFw IvFE;E/|L9 l0mX!#1LA:篤Gס"ndq,E@NqEc;m8Bs:8$=#$jHP9ƮI&oϟ~z泅#$Rc>RKhZ8 Q1qJ˽1U8T`R9)P=04Mhxgn&)7ˎq(VU qF!=Cm$ʹ"Dd>NsXWNݺ%*34F5ʡ/s:VoԐ](OϞrl2~Co3MQP 5daD+#uL)kaZ??㣩G>'$Krj*XeV,ھ:mNP> >:ō<#wNGnBR%31|M(#&,27)^Y>'|GN4agkݯ|#%i4Rs·MM͘Vvkg.#&U92E;*Yب#_G$R#&VW;*K;"yB{v)FCwYk+Q/?W=ϕO54"j.J9_\ :t(/U1ԪT|PbCY#TihRjEQ H6-մ;%[]ʹ%Eh(5'u[β-\PޭfӔ]kpYV~U^cuEoAv6WjUJzK~v}?wYlwѮ02EbveqzEU^\m±gۤUe =T0XP>n޸s8lƢea`qಫ/DZЯ+S#ԙqn/hѳ=auQ.q0)ɡF.!7y~{suG.kǙ CtP׎hX(sy i'NTƌy5#&TswUNv죁̝1%ͪT0jAC8.8{gs: ͞7#%v>Q{|ܨ1^I)#b7sDKT=:ooE\+Tܬ<|bDtoQ'5fwoN5mml%W ]pprStɺkpˈ- qOY}g#&E\:ypeo׶qh]wfO\kSNIw' i sF#%$}V9cn^A184~1o?񋚗<U4kvi]^C "`I7p;=a0LqYϭ?1n.[ܲG z9TGlG\cvGf~Pν>qV\$ΞwHiFrkR8}8eowWN5QOO~"0d/MLo^a4+^CkQ>{wk>>%s^zN{cI܌Q !~m=#%fӌ^wGD4<akRjgo6-w6Fpr?<ߞۛ&<!Ee3~>3g?VMsrœ0|цY>f}wG+~D}?DgTs}6B&W.k?o9Gf#]c=6ҬKu `U$zW{>V?n|3w{ ъVEJH_#%[_E1m*Z޹h#%>bH+6s|,X!`U67V4*#%FT@bA$ NhhK49g}.~Q.ύ|7NZƼ=cHqWZjy+U<,mǟ>)֦/^X#}_s>ՄqʣRTavx)#%<E"ެko?~_}#&SБO>?,Yg3ӋhM#&vt6v;Hzc]zﰝCz 3]ÙB:#&ŅdW.[\оq~~!2B?ku>xYJ4N Z\DžsOMWQr|f~T#%Y</2s}H]Www[JBR ^N=Nj+$$kƼ贡+4t!\b{9'r#&nN9ٍ+Pzalȓū."N8TK'zĘ퇢_1 7.)7Y=W2.ӊs즃o\gz1.#Z弑㧧ӪL@وQ\ǤQRTC^ǁ~*+&8x|hk>Ǎvq]O"1G\AgʔȺ>zF}s9G{K hN$_8}yRf0p<1|K|9Y[wU\tߺ,Ҏ87)V5 }bzn#&yOtF5"׫_USUW#uu%+؈#e#&|$=v"u|m:0.Z<u&tTuS<6jp1 VPWrű+XO.cW o+L\#&ߒ4.~|D }~JMm̉/0PnUsmhUD!E=#%R4zÊ-Cd(.{J`EgqlIunmAnuʼxWJ5av~aabYF]23F:4ou3w+5_e:?#%7PC< *:aω+25DW{a5}kJ?A]uT=Մ):#&1:(#&jV( Q)")U}l,:e7{:!+0RPi>6YPi^7w٫F0vslr>Wu֓¹)'|!UzMbNS5f ]q3ƾSLJTc?_oz/jj7/}xCMKorBll#&5:qĿ_5f&,66+[_bK'ߵpasĮQ}7Ln>-0pSb+ IG3n=7ln=[4-MP&I*Hd)h٫GCv_E[4xA3W haMPi"劈vFN>#pƞ4B.O;%GPnW嘹ƁH!ӲSMU)nUN-MmNknDq6WL#̦T<c Z|1X =@MZ/-fAU=c6nq^6*9}<Px= Zn8Y#&{j4\QR$] nժK]9B"u!;-:gYB4rS0:$9+FꝞpيoB1^6tG&LO^o['|w2S=qg"~tLƈ-1|K5`|Vi#:Ϥ2X(]82'_lG}4DZ`XUGƻ:?1͒C:Y)̻ud˟MDe=]6 nf<Yh]vṠ䮧Ols驳fj.w3EaցFbEyx'ˢ08<y7*^ fZ)7e\t$  5ڍ'-XQ6"bqIzW۽DdTpmB}MhdZ\ɄѕdeΊ莹I#(R&6>1";CĹmB.nѳt|N&糍GD^H>nY1<i)!#&XR>T.qwckq^|iC@jb i*.O.=D#n Q]ٶC6J|CJ pZRKj4/k'i.J;#Go-YM(!(98}&K9bI;"c߱@yڀ!>^ʮUtsQ{ת ]=ˊF10ӯ bW3-3 H#$3¸>wq@;u8x}X6ʬ3LM#$t`_@ky_9IJmմmzX;it`W&P9эGߺ~obk1ne|+. t?̉m[΍JgN{*M]?Em4#$w/ӹ88LwJӑ'!T-Wx+H{+7O~R馂<cM3Nu&vv %l. Gz<;C׿}0c]dmT udD tJAE1I1>L:dr:HqOZ%ʽ0DLCzQ?!ʑ!(kx.%WU!!Ԃ9=":j}N#%/[#12= 0#vF$@.:+^0 ,#s]?{u_{6TE Tn"zD;Y-E!{_L@ Te3CW7?.ƫAR `i@lٿXնEs1evTSSGȤL7&څnqU.M> a]t@`"0a(- #&PkS2kRj?NYDe$dgg5XV$-\+`r3mCG+^we%iA# -vPnTq>D[RgkB|㷉Sm x+hyt}lFv-5iF#&-wSQ$S\1AL>Z@4#&q#&="M4V#%>d%?p=lЉ߽]"I6ZuTٞjR*NBf/!)8m+sp@Xkp(χvߋ;nkMm藳}S[Þ)تyVBYj:,ϔ^+ۅ9X;YNDM2m@_sw0l)͑ #;b5II6gI7ٵS&s|*"7AW]MQE"LPZ{Y(Èf4"4MpPA~#&@ӎy6J>ƊUD%Or϶fd&c}՘3o켠xU9QyRZBN[@H1xW\ ۯ,{ńh#%n^qc0Q}pz{vіA6w`G?(WaF [sWhqWƱ<N~*smӯk;/^3RAĠPcݸIUK۟ ԍ-F OD.򧔞2MB)3 3&!jb8ZsŮ}97p ?9*]0`(ԣ'{S%uh[E}9R&8Gö׿,2'ȝ3ۺwq: Rd(Փ#6)bRX;F@ޏ@g s;#%06TӦ7skZ".ph.4Xk+Zefp5fВaHM(Z-"BgBDT8٘DkMu-)4#% "8 F0V,i}'*OE<=1SILE#&!]VP.Ňd+(,aXC2Cu vBE&p-f4GzC ȴ${,)Rj1"QF;Hd9| pKuu;`^;n6:^PV!x}]S:ia6ZDnjt>#&s4q+OF;mL3qάM/-vlMcՕyjF؁OO~mЕIQn~:rQU-pHvMyY'CeMP<TW]+OgaF ͔x9U\'7}By h yXIUo6Br?QL"Qgƃs6Vo#$+`w/;RngDh#Ty~`E!vBXͱ0| fԸƋU5!zxv:x]*JuH#%Ma#%^2Mdd\GvCQ;>@N&݄_]1#&yo\{ y1D)1_"#%y5]dOM8/jQ'} rB0lJ[j!(6Y=:ݥ@mz%: iP;s+Em9.M&3€#WG':n-7hN*nf;ύf8;R2]wEN5;VUNc2/7eFb\^`+Q_LBNRtDM#%d4ȢdcO"@~#%ld#&n|V3.1d tݙHeB9Մ<;C!EZ>9B7 ;(F}{uE=rw]00L jK/1{hn-!{*)2NO!ڦ?',5 m[:Q#&ICo#%ªH{QfHrc#%( 6hgL4=6n<('~0FK].%[wP5(2LR k^ #Eç4,Kǜs?J1-WC('w/^#>q9",3eEx;5sZ:Uu%obl2.hXe˂l)1*m=<<+%꛰Ӈ(:u[Y4qN\ jMwNifk&HǻѴ)˿|K)×J|h6C>fv +=gVuFs{܊SY*r\_WKXͧ%Nd0 ڳ 0NY<|z9bM#{;V<˶g"NTv7W#%7ܩH7F1SV(#&[#&e?#%gWѝ1ݹCCƼ#%KRu`J߷n^];]MhBPxS`'hD|#?mBM?ti~]d&b+Co^1sK[p2SsLNWWI Ѭ5;F}?"<lj8ȋ?0D2CXX"щB3ǓI7}p}3L6_R``d4DgD#%`t_*@Pe4$=w"пÂd$=WeEM2jp1=*8$+Ƌ ADFy<_T䶸dz.XuK }"aeZI++u= !8?X]ycz#%xTRk# >99"olk(V-=Ui[x#9Yʽ~a`tLo]Txm-Ntỏ!$nN+\)n`l?O1é$xYIGaUT֩ _g[;2۵w7fQ40aK0 >DH}h#%+ڶ.q9 EoBb #%&}73G XM^ds n<B]pF$Q˜D=ʅe abxhR$ R8rչ偷PMIY0,6ţ& Bď(lZ`D1@qM^/!v0;#$D)Q0X0#&p#$o Rn[.ėw_ۧnk372Iu}rv^E#$Bq=nr3rda-sNg"Bo@gbln2BQ.ScFf`US*yxbkL9GhWYzQ#sXވ!?Fr5rs<s3[Z/uлEʻ\w蓹LLENʘFw[܂7/T҂qwd+pQ 5܄LLX.6N1=>_I']F,Dž\y0igj.52kt*8}gMTkh3Bv}#%wW_[tc,Y$$AF#$L`D@Zi*S)E>zk2 sMW(a9hp*E'( s H8 .X!QB,Mšh)JHY \IXڽF|9{fd##%KJ4uB*v:*75C~VzT7@ &3wd[zH)($'_?SJ( X( q:vf2qx1H|j1@;h\u:!bGX0g+?1NTDŽlD`gU_k_LV#&"w`%zm<ZTU]Of6{D`-Yn^-dXUdfAj)Q_9uXQȢHt{u˥mrny&cT ""aK#%gUqT$x qz0]uve4R2f#OP!ICc<d?i(ʿ*Q=HQ" ,a%1P=7#%aȺ& Lw@8WXf>[f#&C TŰ1iD`t M3B#$jrF.,o6tp;cN#%ސbF-0\h0܃#$7+QV-\|vco_dЀH ^W7c~G7n5Mx$90ZVxd&)nG[^]_DYB"pBp'FAIN]xXb)s[ 3> 56wX" &09vqig܄ >p:cR+!T*=q9 H!DDvi6;B\WofPOSW<DX1`)Vj05\ҽ*]28߽"ie]ZW*˄KsmK%l%ph@ I#|*n6,K"8߭wNp@N`ɖ3#Ɯj#t +1IeԘFZ!UDMAשZ7lэ4/c0R8T5$$;as8hk q,ݞn'w(+ywc'uHn(7UHa覞Va>jOˆC_HWZuȜ^xAC6;0 PG`tI8X#&!;_}ysR<4ikGn)CW`o%}tHWMӁ٧p={873#%B Oˍt.UpNcwN"$_Vp GHP+.\ M#%qJez߿}4m.\=L&(A0xOuQoߚឦ>v۩#S#&@^@Ũ oM__vD]y*)2!:.e]mq}/{?{n\hcܙDFf_$N#$'S0K#&Q(%wWBۋrBA1ݘJE'L,9+vHns$%gZ}>tZΠJP m"#%94FbArz֕A4ɵEQ(#&kbƒR11ȀưLY!XwW@[ 7l=;h {!_"Ug7#Q$#&枂U4V&2ޖ#&*+M$jPSׯ6+9_]&$H#%;qeodž8;.MLL#%p2ltBOВ~Te°b?.@yNL#%`l C7c n<<C<[#$7O^aglwU)!]a<HXa$Mkb\#%qԹHB"PuQfD3By)jK 8rp[Gu@6/ .Նxw3fJfג tԮGN =i%d1;p o.<"}>#$Wۼo?!Xa$aXBXGZDT~΂#$ aD[a@65(V 9uvۿ /TL,30߇W﫳n`ǐ<9&hT)~!H>#&007 CRMߋ9^SvNtNq2=~!<"Gӝۛ(QtbW3N#R4nnM,GFȿ@٠#%v?hirVn%#%pB%B HUL+)MP2kT f&v~q!N^<w'Y ( >/<e1WiXd#%)$%(EJ=5Phm_l`08RsRNaf(y7Vh&01r`MHf ݢG<cf჌37m[T#$ffi~no\n9E+1(P߼_鲛+dnaYo" #$Ty&=W"&jj͗){Q8͢ԟh#S)`Mgm RzRM8EEJ|}2Rwx#Фۗ+Gfsty˄k2EXj}0Iz$\qE"\"K4C})i’0%umTǬ$.:;ձxמT?__]BNxr;z)fWՔPZ:t ט 8HqZO/icN͚h⬋Q 3N_=;nN8#%&z&DC6`<#$I!"U20-6}RbIU[3r#%㧞Rk\wPq I7q7;MzTTGĒLZ@|X,P18s~+>Mt#&٨@JL4k[P_J_F|#&3i 3i"bs(y߫Qt/䍏"t*S9BLwzti3%{c(\.R/â 5f}/eET,lj;LtQ_d,޶I>Tvm8%"\pm~Ck`|z{QЇ=#7CnCo_#s}1KւN;5-y(\BݳsO)F!R-Ǖ~'K cqBDX&b yg?-#&Fo>njPŔà]†3%W*c"4FU"zU9\)2!n{ލ;='/6#&89ק/΁(h6o%TF+NoT1؊C|m:>53?|y|){xIȵNCBLUG7?l]V14:_?sŠj.@BCv{ܠ@V<kyywG8c p߿ź_W%߫ #&6 #0 ˾o sTQ,(3u5xYT{>P3(ǚM(ژϖ4BVscaY>㟅R?}tH|)u7(0֭(d\>w6Y5$GPWջ؋ , A3<7Ls)z;ԑ3[{9嶈 !VW|nN~#% z[z=g3U-?HG`g/cmMul`#$1dZNcLT|님b|͓GH 7ވGIo7v4~$4ytK#S."ffG;01wfY2vwG#6OnfhwUێJ6[ˇ5 5iгVҼE6:iUxcs羝#&<c{~~x;ބҘ&~F#&77cª<e}4g/3VRY)~U.Wg>{]_\۩S'(&дƨ9Q!)-ٵ0[s|EW$5{#̜|sx;hm^-43Yzon'Uodn"Q挦.R>3c88mW0mQKz󐔴fPTS2:ߜ{ȋh]t/ay|yd0C2s]Hx\wt7AǦV~$1q/9*!TiZbJF6WryQO./k%E<Q0iRҁ28 o4Oehc+RhCȘ҃Lo#%$mr.8=01=E{K©uA-tdD-$LSB:8Ӌ|"ryWH:p:y$ѣ VW{u㍗s^D&8(}u[T"x#&_%Z<<}_F;utqaU%g<qG|v5|^c#%( Jwvλ֧TaK'PJQ#&zӈFzSY1),ʄ]!>U<K<<kGB;||8Y0Ζz<c95]:l$EC |^NOrgmD[ٔh<i@KP&s3֩vfAU2u=,R,xc^;)!F8-up:Ht|Rw>~9^D3rCy '}6>z6/ÒuxCְCA;6_q,seQ,Lˇq=࣬ arbB/<Dŧqht.e~f~< NLjE#To-͙sMhקZy0dr=2WJ(A=̐s9w]<Yi}{'I9oXOȳ)zAt?ohl~ kKp!Z!=:T>)jsMK8{|9 98eyBDB%Qt|[g'nK.#qͭ,4c3% mhr/B?VOR#%ٝq#$d훩mq%Ŀ/6sϥq鳟 m5SpVgpZPvkAɥ8y{=ӯo3֮򆯏 ,󫧏;EN2E/wClt+^ȱD^ayBdBi]b__a#&AL<hFu4ax/y0ႯT |#UȘKާI}q`aBs=ӟ/ _Ӝw`?4e3mQ^Y 6/.IO@ S#5\*OzK}aij}̌]PFMeE[K{褸g)kr8UJ[4"~:(AJD9<L#xPD獣,m_4J^m(c3I:5>;?X$F\9 3,B+DŽ6=<u#%kLs$ #)w N& G<C#|(0Ǧ5)*Ltգ)Ll)֩#%OQ\.[x輝\3eQiiơ:&ufG}lZqKN@ZXuKJa]hpN*L1&xֺDLw=hRvZj_&.B 8i 1@#%?8!@"TUV`#%Ab\ĥӎi[9u8N[1xQ9@<Ed)Bt>fOCQGBefZ*hcigqt]\UiyxFZOz1OQ۵<:UuFE/l;sx'I0oO${{a<dNFYnN~@5k1A@",@CN݈1-Z^SCtZr&ΙQr" Ø<o)"$ R(#&&H* _Es;fpk'rF#&~q8 f4T_:|)20#%v_@z~9щe6e3H$(p?uSKNnIj4}l1ڳbOJ#j*3h#?-wʼϟGc &:LO'"ˣ@#&;#%4a-(UΎuB*Ak!Necab 9r%$c>MlĒ@J 4}ߔj+/w\ᯥ1`cg"DܙkQ:?Et`Ql*tX{T7-OAآ#&GߎS|xEvkZY8|Hƶ PӲ6[/Z#%=R#tNY*.p/S=\S3#J J?,dy. s폾9x\-j#%̹);S]08;k)ѣt+3»M4Teu贅 |g?%SWё$(wd'vB,F#&@)\7Ty2b>#%2q$Hݺ_%ZU{D`B׼B5C0LLbM#%6ڱC7"ݚ9hxжv{"0JOiV0HA y<W;+F͏O@Z=iwR:4#[P+QQ#%3׽n:gv!n\k#&#|z{( m'wDp3_Ol~}:.6Z:Mx1v5;#%8زL䎉F>zACMh@cXmY/f'YZEi:sI!kJ6D&3Кޢ{%U^*Аl&kM3$X5gm:7cf_>zǺg*4: )OS.ʴXW!.i$thB}8g|2:U*S4i<)mRCw$(fZõif 'B&+a+8ԉ"OkdC/ \xU_Ȕ^yɄ 7\LﭱeN7ߖRyЄhC>|j\Af[Cz#jDXIDȨL;,Uj,ĢfTLJU.Wp9]Kp7'Ǝpζ<e4=ȣNXm,#% B>}/'-m* OnU^kǢӽzIپyG5{Z+367B vSYc>.7=c<S ? ݭko[1G?s;'%2V]W\lJNlh(l~ÔUqtYk+Y~1zr`J<I[Num':Oa5ߒ#&1:uvCHCֵ&#z[soĴӻ&*&?B&1sӥf}vbxUYǧF_/#%xs8Ꝼut$tq=J˾ǖ۝N}a{n;&4rȥL9{VMTjŨH{N;ߦ#&۝׋wu{:xLش'&2DCAɫ;w"U&7D.#&S#$\90"?gHG{5jnju?i}F!D#%ѵBtV_]M趈IW寧wn`t$4۟^i8{n~7)s]9j92Hu<tw/Llm\.'RmMq Aݜ$;)̆zC7COl4!KkO,4&SnAbW3UtV,4?M{xor1H D YK-'a-Vʲ!vdZThU#D*5oRȫ5xzkin=Nen}m}ΌJobz%HqOLT6mAZLptIZ* L<uVxN86qkPAUdjusdR (zR-M\"q,jA-}4pj̹LY#% :u6PnʛEϹ2sl:r1 K躋w+c@]53^#%#%7;}zhԐ[u_-,ZabI,Oc֖!5tB'"@: E2qQ溺9QW ȬXB6~˭дt2["t!t!>l-ۚL\/@?v$G~{l2;uDZQJC'C,s6o\P4?7kTh%<Bd*M7O[(x9|Gn11[]b<t_MX6'#%S0Zr$"Iq[hAm1 ԥЊca5f<`nEJ'`ՙT q^6>b9FNOS:{;=/O7 ~*k"Oc*7o Pm:۳ctZFp=ݝ "=cFc<I$2U@u8MdP;#}#%vSIfE)N͔8QOB:cзeB;z(G۶#%DdU,댞0b0=%w몲%>iVk:)]:!ӓ6q};o<D616#-|X OBtK-6NE#%i[cQ̰QyIfjN_c3^QΗ< Fwnth((Q ټ(Oǧ1y,\/C[T14R{R5щ E~,#&Ju8R<J#%(ݎWRm^d2b[\#&wbZx_7!Abdf oc/}s;DCVL?M"}ŴP$&T,:' a|>M [nxuBQKQC9`j[]pVOcLU upŋ`NhW% kl(x*vya:(LuLr|U^ߤc߬(;!HLec \λgtrr0NGaMVWO3%#%8f-,g^YkMeQ<O{]v>hޤC ?W~y=_z:Xn)?|$|eh Ar3xlZypȂe1ƥƞ. };Dž1NUS]+. /syn)R-YQ쨮Y<#%KܿGW=^hoj=jk3W߳Ӊ0`VVẠ,`+XyzcRgU PFr}ƺO<%+ՠc#%f 3@Ipe2vfc4Lszq G4rC#S2@F#& +PfOdN5vȉ4hj1"_bdPAGКξ;9vMȐ'%Ds9Jۃz}g5 4IGU<iW ! oPŠw;{xx=. >1>ھGct5=7R;×N7T [GF81Wy;>Po#!;&MDXUwoTR83KI}n:{Hd#&0i)J11qF%Ѣ=50YeIʘt⎱Q|Od_B#&Gfͧ:vfܰ7M#&bys?#$i"DΥ-DǸ).1 &`Ꭿ5ٶ!8]zW*M#$O0JCS[?\گ$s3Qu{}M6C#&[ȯO݊)ƥUmS|}̓<|C97h#%?/*wNB]3HtoL-! PlH!I:ɧFàiJ i{H; 6]? CpL&9|O{fy2:~ZMS/ ؂]_Yh6?/:y$}m /xByB<-ti$Ҧӳp0_QN0]UK{1$|+JV/_w"!Sb/^v3q@y12,LtތOe%-9TZg2>w1!"8Xp46-z ]ᗽR~2dDozxއPJ.LJy&ɳpy]nD#%?Q~sށhmpfAOYDBPA0`۴3Ct!in_#%δZ9;߇%Q fj0I$Las5hJd>L)ݽ$9!e%fYۺI$,;e6jaj+I2:1 QWij+aЩ-AرbLJ~@硪v(i#%Rvaܖ] l2~O>1<{o%<U(`a7کfJ2}O@ʆ(A#$[Wwt$N ҍEg$rcg8>ϴ[ .2#&KКZ"l|w}8ؑ,4C=1j~J"ȱ]h[,u2l:_OIm4 TR @bxQNv"0;}YgGXp~یPFS7>CS {$8h 竡@6i}  6w+>otpZdZ{6 h, BG;oS!;W[:랿d5&OO`10[!zgy~(= y[pW.]2 Hi" 5"=5Q6D >,3xB]Ib5cC|nǒG5_uwzR*]785$UYW2<Qp {d4$*#&oFsc?@{y,5j<|2N4.#%>11.-*̨i"LJBLSJS#j#$?r#q9@34Oh7e=y0::[#}=u\os͍j%ޝ~I"J-J==}~0$:dIp:˄:eT!/ȣץvLD~-$\QMٌ&?LLacD#&s=5U.yo|@6m#&;`8YIMgnfgD+ 'YqUe YV*%-hd;f:DPeS1Pӟ;1`;3^wy#%Ҡ;.C:DȂbFGo:44l!3S PE?;w7GXr7Wu"z}e>ҵ (ODAr9}MmP_`++AGO~yBA lcly6SD #$X#&s(SC9kִCJhp9}Cgc -FI/jDOR?f0#&<8 B@zAhܣ" .q"<:=?~v #&Cٴ "'pr64yoH~Si~#%|޺Z #&8{#&,4*>~??V(0<'J,Dݸx=D"OjH|gN/ADcu~>| b#&,b{<|#&#؞h4GЈ3Up#${:;;2r Zrc4UfC0P#$3޷^;A'_| p-=!APPXH(c $ |7j[ܧyХS<ӭmOGPXG IM>ޟ Yu@ǗƛmX1~t^)"ۍ~#%sxFRPkKܥj&=q@2$1a '\(Mp'O^ ÀP9#%^ q&!QVw S}͑E}6tÔogZ5gv*bzB{#ɑ#%k*Zd<?#$ρ0"3yv}W1t?mP5`Nc[1eDHq0z86܊}Ioa$ԔX!%FbUΦ#&E!C13 ZA$U1:2\y^.#64ra<nwW30?5e$HW;PD?{ U7rI#VQuJ'=>:3`<6#$0#%`6f7\7FEϏ|Я)/ہLBJ&ؤߥv&)Yahl#% 8JL##&[%j3kZXRlCOORUN?qIhB KUc(8|Hs/\z#(Cc=$7p7>ӈpTHH2B!@JE 1S;&6!2I"jطΪ}؀g8^d?OXUTX0t#c98Ñ 1#$.%$-˭!6>?͋|w3P"1'ªfKlֱ`PБEŐ#g#&kUMAqG"G!PC?l>Vb r"Gg&yZJL(k" yiLQ P:QcڇBnj^<OVCS|5lcCT:,"45ZR/n9!zyOrkTa((;HB3Z !G<~ڒ}~U,!b.^nT$Y2 mlsW-yۋm\ȠFY%T]-èқFο(<@,iT_= 'H #%@;}@ޜ:xgò<)X@r UEX(قd:4)vQ܅JS!ÏG!={sڼu#&`hSm|〳z#$1=pq#&ޘ&kO+gOԣІ#p`i+X; =| o|D!<!$I<^[~;Y;׋zy1$8X/yԆ\҅vFߋuD(AAϫsKA6g-ŽZ6Eϑ#& P }†B(*PX x*ɤ$03G;7"bmNi ;*'0ңS~b'`HҊ!Hǔz F)HBX1 =Lsm^?K( !yA2z#$:hX;Dg8K+jZxbD":ޅA-j`饊e,.aĜ <l_T?T{14$mOv?~=5`ϵ3-ނ(|cA|tR;Xɣ>1 9i>f*b 4bhLCRRVnV!ZUc#%~+2Di#&<;͋4#UR "XG4g0{!dSa?x`7Ͼzx9 OL<=D!}]Ivhq|tHQd#$?  ^8:2#&IptEa1.XpOg+(z}_<1^b#&c/ I336-$XD/Xh68'L@ߕQ#&#%+#Yd\q߇TAM vM #%Cc*" 1Hûj96؇:jxKZ{3rݭY4ܞp9ĵ=rv=$EtWRr(8JZBPQ4#%g#$׋D$W;!"c~xTŮ r#%pNasoP#J^fKdV}S6ג]m9tGBb`>&A Iu¬q|yo;=#$P)d;pf|SƵS=>}hCO)RXFТOI,=Q4$k)#&)rI=xps$'IzŤ>;Z*^ pȲ?cO-[qI7:H;yn '9r$"K4'Q|o{+6?;95#r#$\L5 0}zgqK360BɅw-#&1~㠧WϳSuAD>̥AX6#%⢔ty #&C#& !"i#$"~G`=+^)HlDn(Ph,3lVL#%@b,ZdG@wLcB%c/ςg0ŋA4 MCƈ9i#$~mݬ#$@ #W3w޺<b"$H}Tr}&,YdN@>ךR8}|9#&X**U?3}ŵU}}UjH =q~E![6ٰ$ V#&([ڊe$P,n努}C7Nà5&G!< A.tA<E,A`j"oC~IҌ#$p>3z^_<+DxÝέ; 8#%[ldYC4 >N(K(cL 16/̛8Ƣ3lh47?f)^D?q[j xʤrF-HcQ444`_HA'ig^!{;=5UU^ $>_͚~b}utmZ@QZT(o#$(cXT79iQα/c@?&?[9>^&HW=P.±hwz;8::$hП(6q' ݗ}y?e}`@0 jT5?OSn>> ܨx ӿ:.\F8BaIM1>KY@rlA%xE3@Aw퉎pDK"vu;:R|M"$<BxC}p,-lIdqGbh|N;}Bt$`.s旫3Y]#i,97ď%/aMbfbl¦1EV^-ux:f['WUr a#&-jɔX13#$f0KBs(XPIm"5#$#&ix "EjTdh &U#$.02 `! yQCJuOVPY"4bABM1ŋ0E$-V `؄^z&-Ts #%.aʀ(qa8 Eb98PPPeȷlhR\[=_i3՛d#%1y\~-Z7~~żP{e:ܭ2cYOjZ`W|o>#&]/ t a) B[dӘww]Y zRq+90t/DcTaWb֨ڦbN{t^yV5@BbcYDf@vlHcɘ#%/gtXD>OA#&.(npT 3?F0H-2S*&xJ#2wI2<b9HFo3;@BO*n٨^ڿ#$q#&W + AbӤZ@*:] <!Pd2o-ʓ#$v5CٛXĬHIN.Tj$8w(,#$ON[eAg#p]I@n@7tI˕%'LGAC\Ă)@ F'5U1qoS><C>nϴٽFel-/-[ԆP Lԍ|e([?aUW?-r?(iڔtS{f`O?3'vaǞY2<!#&c\+ٲ*I+" z+񜳏lLSO:S<#%|?UقK'W76乤mF"$JNk%N]Е D$DSaf1Κ}Ew7XC@ÖCd]x?i 3/6u)1Gc!h?0&qFG78\[Z"b0f~k.'*=޽KvYʿBUQow]SEIW^#$![_͒7E"<'nIN+Ȳ*k*Q_G,WUD V&W_9`Y*3hqL+𺛲4#&$pRYxaG9iYv#F#&$ cw29PxyngN}jlAJ6g^6ar)+<2 UE[\d&#%8龻7ar)W$0RmFMWt檡㴅p&PCA6JV߆xB(4#%3g#%1jjܢz(1M1*K [t[f%>/,+N-qzwpH9#%Uݪ;,CaOsyA`Xa2w"G΂X4/y5]W!r,6*u԰U(qGV%VVzT?cZ5;>=~#%#%:`Fx@<zO yܐ: nKYmv9Cw~:Ѿ\H"+etF|KcNxFU{Yӭ毌bGtV>-˿%z|cA<w.p49 jU#$-Lz\:x`jdfwea{(4ajE>?.F_p]c~/]֏9m+9]sdsJIfxK{VtPfb̓{ ɳ#$o˶qg3;Cߞ!i!p !X:L :81B*2L:SLxJvQ 2Z7B\˹;ӻ7۶n*m<h[vM"}DDQ#$h F0k/0ͳ!QAn!лt*A@6"@Iѐ˧řoX9GO#& FJ<J&S(.30[BO~gV`^ɐFG̮tRZN#4۸e\ZewV!y{'\tVuSvMj]Ss,r\Ogdg8#CiRF &Leߩ4x:#$ز#%ذc #&ھy|U&&((vf#U=q$N3IrC>_484@2pA@>d}(?&o?4os1O[#%̯uUU )!сg@tx(vL) 4 Yh5EBWrko3Lz#EZ 1"2dv{X#S8 $"j@H08p40oVׂ0Gz5A۵YMqlS>DkB`#&L`:#&!b1Bhj70a A61>#%A!G"H`!lYsƯ{)ƃ]p#UGBwO~chYmP0EKwӒq#2tزO PL 6+MOs;ܒk5W:=<MVC7S{?H`F"#%eaR la#%@ ]t{ye^, *dQ8كBv/^{#%}߇9x8@§Ӌ(8@se;[#&u hr{=<mHuÛ j<N[wPm:>8GѦ@ 5;A rz`UP8MV`]d,e-,!7eU>`̴BPjB#& ?oiX6#&c` 5R4P~TKR'4NIBIWw.̝GXhCw~CNy3EpT4rsDWXL;T%If%jp7#%«Bt9׻JW=műՠ@w!`i,xP(I#&; &~q&* <d&Bqܵ  ((@b! :&C11`$s׻vd`[r`37miQ Fmct=$Gt\0z#$3{s_ՊXU^1B&š8 }O( 8:C֘'oJjzM}[FffU^M*WMg3(=; `ؼ\UO!f~>Rq9aà U#J8aXzuqYlշe59w_<@h\:ػ0uZգvl.ʋC(g5k{ֵ+fm H0xL0\&BҢ9n#&6^83ɱvBVѿu.ݙhbmFX̌1b_.N{^6ENExavdv1@M!^j7=BUn&@H@ 8pbׇLwl!/'@t<#%#>wrQBTcۊBs}r"l`: /sH_Q ~Ėw.fEV#& Yy(z*ro6}yR;Am1~Ǧ|١ܜć*2F =I$QcaDLJ#&zd9!ok\I2q0N&yGJpyJoPւA;)t=ȡ;C%YCYˀ@?zk[mu)=A&мMy/<͢#&#%1S4εi:me`Q.ܾ'Xt5F%U#&GX y2(,LbB,q 87ؾJj7-"ebL'/qEws}U޽s0PGf `DL,s2̙s33,mrYs12/׎*H)Q՚NQ1#$S< 1*f ExS<Lr9#'m]9;h~\*1݄KHasgfxu%^+T6DgZe#&jJ rI]0 >} tJbXV$*ӬQ1DF 5MA.sfEMddYL>[H!#P1#%J[7u$Z˞H#%IUS,e™L54ۋ{XM)hHz**,gRp#$8R$PJyRuNʘ:$qD"LB ^i2Oo?|iN*r}O6#8>#$ LML@_J<P$$ӍDP)SFlt.a&yJ@m9jA#$"`ucej?GCZy8>ÁhMN*5#&E[MK$9G܋@9Ï"hk<> HB#&2PB  x%4D;4ۄ47OGM Z `ϡ,!fBAG7pAi;q/ŔQp9+0n$lX̳SU#&2Ŕ$&siUAFu5OH R)#&v#%ng3CbPg`0 #؆Ź]c@5Ɛ2dLQ+"Iup-5X9qyPz]%6QLLlquԢcscn9ل;w9, XY&z Cuu m+9 &4,;1ۨ]1eY#$ksK#%JK6^ BO, `a#&a2|7/I(mudf1.WUm#&.UUVuAqf>e2EB!Abg%p5߹=f<x1MԫpÏ"iAT. GWKb43dr(`cFlĄqClxu#gHwõ]3c2c9*|<OYnT1LXu?QԢ.4";&5Wݱ5Ueawgl'bB,Ygőym#$dӝ8{Ű#%2:~}?Q#%sdz>>0‰Sv`JćʈcǑ> #&>=QCDp*B%@0=g$鰅adyl־eSGƠ #ܯUg""BRe!ORBϏ7DY#$vCr@ B&ʹũAؒIANe ŷM" U{y'jH)UEP+ՃnN@I:<$%$ lvO M "Zt#$6>'Dv@;mC#%;+u#wJ!ԏϧT"4@N"\IMTDS!,ZC#$,Q7#$!Чv'P'H@>`%ΕZVۯ.3bvQ *KB($/.I|Q҃)CGoJ4ӧ`LYzBZɒ!kD)ȃDi;e- Dz"6;BX5>Ӻ~x;ifoMd%[w_` }{b#ꑊr(QUGѻ4SmXU-%-*ߞh#$x"&`DQcFh`JE$ =~' 'YYNEd!q4J>fAĪ'Z5F4#%]JMB?#L*7#$$=7I4k]zkrKԹrfk7;΅Jb>iהN^Z3 <-ԗԵv̑B,O{E[W#$0C_jB+|DUxA><"|s  g`6'L#&<xBT_Q盄,]CQ9%`Rtjum&\|Q&snӔۇQ"&:/Uz̦a!8;xS@uh%'#&/DИ=D5϶ѩf)#&Pe#TMSBL.$fa)aCKpەpHX@15t(#$4C haև>$IJ7]''piJSVW#%,udX@hjǨP]Ufq1NtK]p>I\vuʵ*#L'i8좍?beg*dpk1:֩=b!=T(E'w_$<Q oOe.ԾU&Z6jJi #$"@`[5F@C Qʉ.ACחRա4+K /韫K%e6EsN^Zr!cl Tҧޯ?\kz~ebAKTdTM6MV̅-5Q͘A 'DNaRuC_CҫZį[X\]P:afs:p XÝT`4#&텆2B`'T1P$YNmy팝N~me08\de6HlقN#%+&i[$LFd@4#$=&U8qV;q##%nVd#%lCʐB?E5~_b>4.D D"AC#$T")0EVi6~EZ*nmv͊EP%~UhmowpaCLb$MC#&{p}ģim)N_R۸=lCgE>FJq ǵ5NJ;#%֑ޏª#$2YMĀ`3i8(ShIl&P7hBCَj#&n]SQdz<޻5wM7@U$GI#&8zwL(~U˛@]'(Нӷ~Dy@TNĔ\4Uiߑ#&{C@߈I9j?mC -#&S̀%q@|2wH8w:|Ͼ#$ӜNM#$'a:l6><(50f+pI!5-]m݀v ښZ&Mj@mRl#%#q:֢*z2q:Gd,_`!!F1ft >ñ4LІۤqs*6*f뷑%<DKDIbf#$#%D-u.lD(u H,)!FY@#0R-OECnb-lݏ]K9 !Ȅ،i8zǧ4Py8bX#&M䕺`Zԣ:b(6X} $(Ĥ{HzhNG<=!ǀ:R::UCxD}L`?5+8,]ƣV,FUSX#"W],X??PboyoQᎾMi=jcc{b˶$<(:M&O72GMjDA#&ނ&?4QDfHL;jp~4҈ k h{JbэπIyzy65&+ Jpi0uo -8ֶ9''09ƵѡMn1[v! )*<$^WACB(L%,cru|t]cWft&wǽuZl:TR =mg~UVluLgV~&@OyvWq>Vdpw#%#qkn/- f×˻7##%hՂVlf]#$T,DpYa\}j;BoKCr]iUYo'wJ{$O%> bmɛ3V#$JQyc$܌ddl\X-9 ,},0#$*- ER S7rfsAx0WSt4xte#%QsX6 ڐEӔv֋/`Z Xnj2 lkAU*DKRS5 Qj/ &#hH; IRU4F2]WxTrrg|@!!.~n=gm2" 0ǬXY»W#$`I!##%i$ʆ[7XGͳ4! {/#%Zn\S(˞Ɗ&ÕjYS#RP5ӌ %R#:Yݚ,S5Z#$t^RD/ݼ_QZ{uFΑVA-3:`f0R#%/6Ͳ^URRljnMv9#$}LN5 ">Z$RJb],CCW#ESIˇq+ڼ6"a2\#%NI`"$ _#%88qԚbov?.>OϦMD%d}척YU]F7V%,R<CvBߔY5/϶p8H?t#$&*Z3ʇTAaL&nxV5 e Z[x%5#&a,CŒZd߇>_!^|W67 #$?d#%taI1CmxVtQ8rcxc&o *5)XʔAd(D)I +T#$ #%RX$Ql84҅#&0#&c<f"^RQ@H#%@@*Hf1 #$#%ށ IpdzǕ-{DF|?_˗A\ۈ,BCKՃY%3K(S;3%ͽ`@װVv/Ȣkx1N 1#' %Գ #pphW:17$XўP}^3O)!cAݱO@#&4!$t I)+TXP=|rF$~!Rkw+ƺ>&o"L}#%)HWty9zV\I"S BjS#%;ND#&&˟~L!: l8!(]mcG/e5䪨|6l [iv#%hR(3ICau#&"pS#&}ҺR0;X+˃}BP5C;3脄PB<d d =.}iwufqM,d@zRW"TTAȕh%0A#&,,᫵2JzBr Oj&k8ōq1 HF4D36VU65 Bqq}_pYg0l1A6J Fkt#=t%xo)(J^k'2`&JM{!Y3F?S\#$ꋩM]Źԛ"g#&*4objAqym!>rgQ(gPg2Xd GfCvl@ן?r,=E|6* r'mz:ТTB g $""CPaѶP /0Sx(M℣{MʏLܩOmT(o#&jht2燏8ENc`#&A6*'t\E`fA~#l(&$3AH#$l L*&rM}S]R$~F@!+ݷ9>gD`0op uܤ:qHu0Q-La ޘy7*tRtOAFEv\MD$67`i)TYf [ J{Sv#&?ogON{Ď2]"W:+ #$Jd4m'`<#%=#$ Z2Q z0wG}P[.n#&)IijWȋ#&?-f&"Xȵ$5V~<᳾ /kly)Y׳jYFz#a:̍QV kԳQcQQSb3SIٛMyU @y+iīE]y4@ԃkIم4-#&#&s74҇Asp#$`ĩPF=&)9:~-WO*TJbڇ޸s{deloĔqsSC2ޘ#%F颈.m\1bсJ(+"0W&CI S~N #&#%t 2tj,b KCl IT#%#leDLUd@uA(M(40Z, ˳#$Ln:пWNfiv}!/'HF`S:ZܘT}y`k6I?1XSC?EO!_.>X1} v(#%2Ș:tДaһM(7iJT$X,J `M]7E7׾(q:)1&wuẓsZ(;u͍c̊gQحA䩦.&q#&F%34[R2XKk'6oVjh IH1R>`NC 8#$Mpo,wP'X7NF؝4֊lʸx>g`>8b,0bXNN@0EVǽAq4@Ĵ%ɉβIąeH(E,i@|o[2Bm$FH#%cdH!8(C7Ȋ ˯2:?F4G#%Ҩ:thjg;ɏh fBΌ`M;GT|2MLYz*#\#%S3/N<F`Aг6`kL;'@TES,YpFg)$UQxVEVU5V5NҠix~CՏ"{+A#"@wb ´=K+ИæU( #$~iޛh{:" yIL)0((3$e,%Q=])#%m4BK4FH2X$k%i4hR12hhW@*XPHJK AFJ%(Pb5Rh,Yf,PhHы#f3]x T% 4;>oqجC綆|FnJ+hӯ䂰,=g`0&ޒx#$9N NE0#%%}Q/A&eC 8SK߇a4#%],`D̟Ę} ,⮪*˓E#,&e޿$F߶Y#&)Y&Me5i`ӯjuUXf#%@Ze3Ƽ5BgEVkPb:#%0 _SO*ogH{L<ibdO&Owz}=5rQq(D5{3#}xl1ΪDK2{t>7ᱽV)""]Q"D3w4($|UW|8z3yMj973="#pxF,7sw<cO 6f~>5 ;ٳi5 լ-{O#V"4~.rmغy'QIjʘ_;.z1^Jb* .,ܴÍ\pq b餅4P==7|trbC&P(-~o]Ďkzav<a3խ|WYgqc;3J#%*>4gZ!#t}8H@3~ tC&׬trARWQ\/4LlX .[7BI|1LI>G܁9j(~|Ū|rO>{@wyxz*j:߆ծh#%GGt 8A{ p>/c k.IĀĨ=}L[ S:P" RYUxX+4?;k#$3tlΚޑ KH7+nsЍ3|gMm!Bmszpl"ye4m9 +֍yru(/Q +bIq)Z'\=w!$_UݧH4ȇ#0f,,lm<G XAf'ۑ,Sl|HM&]8}9l˓2.]{da*l**]JdKCɨA#&YuJ<9˜99&jQKQ&e8oZÙL#/&w#&9Bam7lF8ʼnׄowC G>ŗk~&dĺ˱1TTԩ,c6NwQ Ɉ#%0a0:Op81̷X9PRny1֊ _K#ESu:Kmt- YЄX]tF9#HN&߃ekMP I|<#&vwd56Nn0FfN]^oБ=\;-sqec%[-#&.80셮Uno,p<\rQDV%Ѧ8Rg%\ѣx#%$œ^j띎qk7N$<$8KK|GL l$֘u#[BEW.sVg7YbE `ĸN<V*mm1Âw}?2rwl6]$Gdwv^;A;'oo{(™qFPX%D44B]ֱ2.i,a4QfδջQu6T1`i WM3-jrd{.b#& #&HT452"+$ZbMCm'&Drܨ.bΓ:L^Ce2@W:$mbrL+]˨N4)xԨkVsмGc 2d]!jq:#a[%++fpeJ2AӇtD'.`<90tдڎ%LOPȷQƝT'&o6kPmlLld˜EE:C.H&l Ɉ;bC-9a[^])z壧/Y6-q9R7;1uW:i[|Z((֛&clcUi4ݔue":g弗9?ANKje!l8v(ޣ<qvi9ti(8ff 5}&:aqM'S9;|2 adhěp79Ʀ´TQ]e4H&3]LiacY6=itěCUqݷc2cd1/yGU(:8("0K$^\O"@g1Ӄo%8+/>9bťPWtɝ9eM5;/.Ɂ%F7hR&r`"po0"rVf0_d7uW31ܶi=6Wa-hBWQ6bޮ{hTV65ô L8R)C_2gaNwpoa-e()K"={aF|bCUPg1ll8Q#w(V U]uCbͦMQqČV5,`QQ:Պ@IRO#&ɸ%1Zb2aqXk#NIxu{(35gb\CۜcmtS6I7ѲLN nNB#& #&;qMx͠BHEN7%=;ؐmJ#%5*Tx Ka4qAb6ΐ6_,N #%Ìߊ#%cK/H: Dԣ[}fr=HxI20TBi[~%٬XF n#&2JMJ7#%#&%0d2o&bqIz53nm4J(2# U@!h+=oD0Pڨ slћ%0f3EٓD#%sxVE0`G Veu7&c7 = zRr<#$6&h61#zz#m ,N$%e2L^<0%!(u+p>^KT1\Tumlwyd,! P@7HdIaP6m4z騹8"#$LL,$q4`U&M<aC57\$nji#$5U)gbYV((L h8#7<y]9J,uI6d 0"02XVdͺ/rD`SB[n)#opk%DECntM=]$xr4 2&^bgp80PaCCcWy4v)6Anj1Fb:KGcjuQD;9EH Ĺ&Nn^% rDT%lRB`!s9f&C8ʚSʂ.:`l,Uձxo1(q#%Ɨ xAkLrB#%Aр/ybUlt8c΀Icp6fjk7I')˖mUWGz(#& hAl)X`uNb <*!(#0#&`!""l/A.#&qDR&`(Ab 5z@}] Lx'HH$a# $ #&Tt#%H ir1F ,E8(Q/B4zyF ]z5uYh);H?#]ڐŹ/OȈN*i)16>ZsnVepr d}fdadQ#%1u:*Klnø#L#$sJ~ PqQl8I O핾jUn:Q2ED#$F"Q,@)^\C}^hx txkw=DuT[Tc4<װHѦhۄ|~`hy*RKlU#&+=i qlT"F2i+nQy#%=0Sh‡P'r*O#%PyÕEzP1Ӥ(/LsE{ ("?6kBQg̛?MA" /u%ʫ;tҵ2 k, $IbS#$N1!Fpc A Ezlm.؈,z#!U53Gg ujA;A(D!:#%b"T7:~UDKS7GiRm)QmjEE-351Z75T*@ Wח]" )>\洚a"<3ZxpQ TCuAt,#&K8Ԧ96 v,0 omnZ<ݥ"uLU P!0 Z CRNB()<n0"-Q2^=v%(݅JĂ#%+!4Acb"I>&8RPh=`dF,"F(l$? gk(]a\o|ռ&=[ݝ8:;r3ǃwIQpt9|<pT#&(lɈb0!Kcb8q0ދ,R4҈6)]bHtJ`B E#&IEO cJ GZ*5yq#$$TCHq-2l}|OPcDc)F#$1)TȠb0!.1v1_]D`ceO=[|v9bjfQCT+U} (Pӂ3}>anEdam}VGPx6aR:( X#&),ㅍ,"k(/#3},<zb҆NSaa5 wy/93!CyCCǐ<:BH<#$3H#%k Q{dѱ!sm؂kfNU&K9`5#%#;apƎP\B\oȒ.BPsONIDn.ʕ$pM!YG4(c1#&hʻ0Hd#%K%#$u ƠMؠwI$#&YArm0߫rem6 @@#$"=Ga`nnAmpH] TK6]pWː#$^y]2^p#$dcXt!{QFP0*U*1Fdmck%ѭkoR9!MӅ,Ұ^UG"o?crQcC±e+* Z$AUlr×N#Jʮ\V3U:JIaj:ιMXV,FuUC,4e\mD R11IKv4iuME){<'m%i.3TSÇl2"6x#%LԎ" LA!.DN\ì783[9(ЙxKJj#&*( MμsRv3:/z& =M/ Ds9mS33ɄNGpXHwד ]iJ<*d)7S8\p^صS@5 oSOˮFvYTۖ3#%#FSG[wqcTTjqR/wJ<z]#%F#$D(Cs@)@qFN+'!&1kL!3 \eSsw;'&:Z<rTBHc bC//-ZPVeEi!S(ʹR$r#&)RF\ަSl)DXkF F'9wtF`I m%ET1#$B1J&7V|"zhhIctuF(T8*q,:$'$A>OG/DA}];-MC>'D:w#&@w*_HaLe8!XZ !4bй! 0}36I$夢#%tLa!gP; R`!q#&"[n QJQT!))ΎW\xТ"k%ٹ]YLJJQeT(qQR\(ԵȾhvZͫ{t{g{z*Q8:6*ˇm&;_{Q{`TЂPMN<Ca$ź2R#$`a92!{,K`p}.牝bjGbI'셔)@Ti#&y"mE+";]!(FcHIWQH*>BϨ19f2%D6Xri>_j~!eAV#$-x/NecZH(ZꠒQW+i#%Xb5[bim%^9)RhiMc0b1$ڮVTŕSME-jX(JsF.-5{uv(Le%LKec[TbW-nvHfT5%*FjvFjIjǞuᦓ,͛Xk-έlDZ<nJ󫧝tjmS<mTЮZjJ% V[fL-{}vֵZJLˢZa#$=}>'n}i#%osJK$JLBwN!q#&J}0[Et 0̤QD@4BHMkӦVm*%im3EH #$#% !I%6"+fke-oemmWfsove-]-%(ԛ"%D"#$Ma9H#&oR P E @Ƙ&IjiQ6ʙm&iM-PbUMMJRFS2)ld[flYeE6$*lQFLSM2I*ILcI4T6U(6RJI2I3&Y*ȔjjSVmK2bƔRRʶ*{Z@a*qFȄE#&,"*#&bXUyV[)7Ur#&EQ!({CFٹ=SKvR/|Þo ϊ4Zʱ7Q-:]Aũ9og#$tj<a!I.1Y@>ќ=͝KA~#%͝v6PLǜ;MrteK> ߠj0`gXs)$%R*Ub!#&:Ӌ&b1UA40S#$##_]^n1#$n:#&» zLQDA4PKzq^ahSAkMn,)t bPTaJLG@I)ES#š&<OwuG8ЮJ3kx$,KN<0uG×buqfs&p$$"֟1†}cSŎ0baHgVB2JcG3NYx,tgc,Gz@9(@(#$Bp#$UFF#$ںҹhut>H*B(^TKn}Gm1׺ >OQBXHlp+eT<Ӕ㜵U()15XZt8[5̝s>sQ$Sty_CΎ`}m]&PpBd#XNZ ܮ$BO'E`.w|$QnO^],Eo^#+x]˗W]^r!#&#%52CIҲlU7qRډQJUg!Per#%n#OT5 $B3;2A#&Y !lTf]ZeH-C(- +xx4PD`PSw8cҠU#%E,{?O&PΨ7heo&D͵e`,9Db~q] /%.d5 8-v1[Ɋ<Q0BJB@XV#&kQưv4; \bI<}>Qie2sn:ڳZ.IeN>5;ؚaBhCܦhs!-,h;8J9q)4oqx-V4JH B3o~x o B>?䪜w=L-`16V *Mjb, j?,{s~ɕ!3UQ'f,$2ҷʥݟ?ŋ;Bd| r(ԔvȠR?S,jޥc4"#j &ު**0f/bd[}=2rh ƇT5#%X (<EsQ#&.1zX]f5{q8Г ") FbR.<TܮF*MKܩIơP︱:{(9X,X+ݱe5#&[BIZ,jh%>%>(9>H[&{"CôbK+1|",#&irhHa[ch Fj:kQhph:(#$ЂyTC7#;t: Dtq1q-c9\adki(tMvM/<|Ub)W4K7{<NYq8*{Iדo*MgFUGmkֻV>n$=':(`V3D{Yiʖ#&:پ; ~ٮzNA@:8!q(l,S#&DNDȣ Hc7>_ˏ#A*XeWY#&AD@+ݎ<TTک82 @噸VI~nvpn=ty۷\-tM<󳟃Q13&*hi'툔nTmC7跡TV"P;6!#%l)((9#tE*B#&CwμWÖowo/UoNc(q)<R^[jXYL&TFJ֦JyFDwrL_HzIE6#ySRƜp;IFal.-f,ÛO#%$!Q93HVͷuQ{f֢-빠 9YR #&JRX._5AmxY:ԤQQ@MZ=-ضۮ2MB@cJ1,aQbin'c#&9q>_NU"#$~6ˣ;.4J"Zk-auHfR` U~m XZM#&:DYrh0&/%FfܪFͲ–yt\nS<Җ5_b(V74 9 *@F"#$x~zXCD/{J#%gY O]F7: gM,'ޅDb] pg9@ҡI7):]<C鰜!p$F' a9'`>(l(9C We4qB?*#2c ;J5*p=f#%ޯu!|jV&LFhNN_"{G@K1u}33ivIЃ+:; +cy0"  mBtqNTQܪH?xRE.>:6c*P^D'_8 #%(lq-LVtV}_ncB9;a둄MH ?XD~5o$V@P&>y5ݱb׷V 83y!z.ܓ62QY_r#%Oy`ÍdAƂ {lC;~oZ;gb#&#%#&{++FOC3? LŚqbg(nҲYb7@uk jpA,}+O#$"0Ȩy RskV5(`lU1#$j#$# EdQ#$%w ܂`l`\*e" %#&QSg5 F4086c-d` fL\3v3i Ly1F0o  #$PHb;a T-"!_ցT#ydAdZƛ->zi"!d0947VM/ WC#la6u`u12ܓj$ , })~nlCm5?ЁgOfRrEP!w dIlR]V20Ȅ}i4AH5ݠ2"2L%JILn!Ɉ;6SR$G\KV(dnS#$)!iBm.BZ,"nQ09`QÊ&:J2b̮nלGEgurm&02hqI/&gz`LR )ed *(d n;2Xj-%Y#$'$;3MMF#%*Zƹb%M޲'rEM{w"#y9#%\I-)׮d.lk p#7 s +Kn3,@ȻaXH$k*;B#%>jVwklP1۷LmD 8PŊ#+EM$)bejz;2*puYOU6^i>ڢUD]*pL8$ȊЈQV"Rc?zRj=gp@)u&& g'Gퟖ#%aw`ȃ0$R##$a_#$RQR#20͢ͷW\&-#%6T[b5W-565]6-#$\TM@Tb GX N!"bs?*:k #%||)'OnO~nVP!TWR $-RTZ g bA5exL'qT3+3zbkNJA@\+V+Ff,ːj[ a X&Z F-3[JFWuF01L* (Cq!%`1)$ZK>+:mN$"D#%. `eJdXC"͵[hKf (F RH&T>32\ &XIB,'Il XP%WU#$XMO4"&" (p2L<`%ygeФ>K#$Cx=\m5Y1 (F((6[#%PϺxcac N$ cZ-;-Nzzm#$s97@VF@۷<AR4+K^99 1Jffku5YOR&P%aݛ@q#$xҁE#&hcCtKEmӌa[T!E9dy#%P'BSq1t3HKǦ" f8`qDUg$c&zsvgBLH HG{1m"_aQӁN Pl b9%O?KU$vXbf}?.4/>Иwq%.QbHl@)pjP C2wȒN&tYk].3{f᯿R8EdJ$D9OF"IqԷkETLāT2l"ęP&EJeBO~ӧg*w{w.F&#$=hu[ѿrv_z-%0t4&=Ip߮ȣ[5?odOz |nzy'ӰwҠW[ $6ƍHȔ-La#IZ-IkFQA3_ț5NڹLͲ*dS4C-̄՛m5HʚjɭTj6Նm"lb%A>kk59yQd#&6HDȎD=A^WF-[vrhVյn݅F#%_Rp]@1#%A$YF_4,l!0]_0S9uZ41PJB {`yOhI'ϡ(M\qa_b#$YPybDFAj#PCmܐ'J!uiuWj+#&Zp@JBzc?ӱ+BXJ:&_Hw H%GY&#%Mts&OA#L~r"x Gٯ1-(uUM7`:UW#$u=b#$LrBA*سPPi Pdf4*l!!%]:jrj(2,l?>C~ $kۻGLʉ꺿gtSy̶b{p;KmdI1:I0$&RA}<n-9S 0SUx ِ!ŻS .6i@ DqDғᚌBdi}mh/ՊHA()ܔE`,P"bϧ{ݛ549z6PJ(VchT=$cYl)k"f]3>޿uƉuh#% Cb#%#FfpPi :p[K!R4.^O#&w) S1Cqb]:kHHmynB5K7B(Ic=lTkQ!.tܼ`!Lav: fY{*ǟx}:c @zv"HYB+L!A„!,0#$)l-B/}6x*y#%R>KQC5#%||CmR@_h5"%ub~Pӷ \4_k'X}8Eրݐpy4&a&X#&c#$DJD` e56}#<,W}oTPnnnؖE^te6#,JnhDR] #$G%u.ᒀy3FLEn2l#zZm5Ε7Pkcci8EŠ$v] !D+ӌQa2N`?>`8?QÁx0wJ3#$z vgfJRdンS LقOA -Ow jx%?-k$ ~|hI" HHXpMdaT: <${*ǩ<ьQߞK׍7RHJ˿[zgg2Ƈxh5ˆ3GF8/TBLRħJ1 K˂emJbʻDy#&D&[<x L7!Ǘ/*ÞVʥf:>%&.w ; q#&"6`R$(#&[ki C@SEoKAz<gf`[ŕ_訠D!5ki`)=#&AND;PCR)<8'!e -/0F͂WK;Z3m@-ɭlB#%OPH"x-j#%"j̽:m.)K$R! #k@lP Yr˂Qa@6w#&p Ǖo`؏MU*!J`Y#$t,Hp3 JZȳ5(`0X\*Ѭ+3"ˑ$6O#&:Jo%k˝K|QF1=1Z#%+bO2 #&AZ#&@މdbGt[*x Zg9M6ҝ=!ՐݍbDFl`E BՠF#%2l#,9!rRbF&TDtH!t B Lh#&}issz^S؉>]da_seZӗB#%'jm[*eSaڀ>{"bBU%W[WVfkJZ43VRʯQb%~sc\Ʈ6t#$~K~cll`Gku2z(*,=WmZ7U3+ :t:#$rL<ߨ>@t!`hsv5/eox_~ ,sGXΔD@`UVbht≂`d>oB(7p#$&xHP8F4;jpS4zέNCsAۣ.nQj2B:9vN=ۗV_ƱҀhYҙ<ԕqc]p|OAW^z9]ގ<i y4 32;dOBP8>J>$#& <}{#%= #$ rUMFՀIHc4 5dQZPVoӯLR{R!܌n4XL 'J2=a.79ǂ2A#&+=?#%#%D/͠#kn}gP727Q!]bc!HVw$#$RsYHë́\Q%Aa1 zZHm9ug- ;5;~QFRYF1 S.rD(@hV;@iƀ#$> @Ȁ% 3P!Dj11Ff#%K]"[1}#&+?#&SoWw^tq]>Lly%i*mZ%I#9HRe:dáFP6 )J/QGra|`@oNDWP^sg""GPNe#$DBjLݥ(TEAk֚UmS6Mճ64nK4Q5 d@G僸dgW!~-#%?upf#b,GUE5Q`@}HFH~Lԇ% 3LBkt&#͹IWKQWEim4dI,{jΌHƟ!Ekna#$(G&[J ;9Օ`=t|B?t(|{+ft칳I]}2dAc;C|>f&L$.k>T²]#$&6PLI<WEBiDP6G|{i_|1}]F,sE)xHP<DvqXW]I)#?aXvkR{#$܂8 ʚn<qNL_)]HKk\Z[0{ߖ۞QB)!O&-,΂ФIƶ ?OC'CNѻffY,dZsx?i7,Pa9c#$#%"Ta60LnlFw|޽zmwc.*=E1JL( ş]$beHc,AdI0|L&d0ѡ#%3͍Q>f#>o"STǣ3#%u 1i?L1:G(>7~LؖM0k<GJ#%]RChp%Av0o1J&(8nC)H0S N\_ f@#$wEV!{#$ ^{7`rDRI[Xj*6ŭ[FFkik%0$7Nׁ^LUv.p@zrfDɇpYc;phf tdM߹![m4>Ἰh[H2*bM#|d|xwm8Q`Hԩ:4cST: [W(7g0i|B S@!0>"(F2?Pك.3 1sF3,%3Uf#$r#&y@2T0߱g7#8~'NXߩ#&r)@F&#&Ocp}'CF)CjJZn(iG#$7iY)(]8?cxTȂcn*YhHvRIJR!3G'&!M% %"_{6LmrZUI#Vh6zh㯳Z;K%{*a!3+q39e =+ݠIٝ܆QZl˝(k_חcaU@rh9bߑ.찮@ں5T7]3WtJ|ҘhNu)`#&Ke#cL@٬ UQZ#%-<4=(LdhJ8ME#$0b+fL)2EWo[\L. bMj00E#hԳ,YjRA0i6ecZDZ(@R|訤DhٟܼL@)s_ٝW%PH$7K^$lfms^uݳS)dݗGoz 1H,me&j XQ/Ҕszymm6S3e-QI2Y,VL6MM:^ys*M7].WvwW%D)0/491$AHA[2)+Cc0mmc8uP+a VpIƒLCqI+ 4M&ܢf*he(L`AsWyl!^K&p#AHq|h#S}#l68͵&Ԇ#%R^\إ0DCCT-8͘΂MԻ]J8d2i Jhcnk8(3H%;8` +% ]JZ" 4ػe (^hX`1p+M"]X14-t m!WS4L13}pb\dm2llBJ n;OMi{{qZj0Gd<S!͓5ӭ&A^)~:ZK==&0Hmp,2zl^i{.ZJ<M"ᖱs3Alt K#%jT,ԂnOn44[8@D?t0Dܼ$<Kiߢe3g5XF٬#% Km(ҭb(͐I+IQ6HĖefSyML!Yȫ[Ҧ*1ue2y#%Qk])hijGö7xn[rir vM&̍+toMp|Lek Ƃ͢YW)V#&>e"^L,e#iQ6lLZ9|z:{w/Q,*[1f?U<}MC~$1Z3AwMLh̚kZ*R'm%j<]Ry6 OBu34<ZzYrk[ifpS%>R%߬bVfS+JZ;4-K7v=N}Gcmt8կ[-uu#& )Ӓ@uqr{~#3q4tbZEk%ɁfGM! $q*c#$-p #&TZN.o)Y^{>o3y8>D$㧀4PK3 ,#&?G?a5<2K5vì~0>e\08|q,Lr,ygA#%@0LU,(miNv{pNXbz_:i8`}ڰۍja54p/=}̏N|(A`'}h"ZaDlZL#ch#$GpX$sLpq,9]N-2WMemV卬֊IշJ9׊]\4cR53 *k6wm&lڮZۦxv/<ZB>C#DV;FT3>^ھ-Tꬸ%PT(A"'BGHA荬7%hHE{my3DjA, !F, |{2aH5-j-kHmn *S,Ѷ-1Y EcTkT͢#%Ffj)DTh֙3mf#$w)VA:Y }C>V׫4%63>3y7{lW`;coᦺO~3D #D$ FZso6h_k~V%[%y۲DYt+mTVC%eݥ$@ b)@E]7n_~]~mTҔ u`DB#$P6dN<4B*R#& Cװ^.ҝ8 1CS|;G[ FCz _,u5m͓ϊIИ!X~P< 5*U03*dn21W`=0#% ի1Rl&0c'{q\[wOV2ͻGۂ2[r{qr1l7 X%݈o'#&Մ9򮤸MGlmMϵlQSuhwX/N9Z;١*m}?G}AG'_:2wÁXR#&`(%Sr`^5r61i0S/r#&{kQNC#%#$,"ȁ" =T,EMR#%XBX2@oukUrT0cc (5>H9[.bAH} #&@(5!d\@#$yumB*ȅ͓2mH+#& b;a j^kw_:SJLbmmcj *"%!vQL.1A `].{Ui$4iG3VF"#V f#%1Ȓ0#&"EAWE&đȅa"@D#%P/l?#$:QX1A=c@)M|Ko#$LHN:|c)ѳY=L۸bxYj%p!2e*- 躖3YIH@и"  WF~'`U{Lrz|<4yl]Fe!<ܟ #%jTTEթImu1H҉GϓxKVVry+~4}5.(<KegI#$b*88.oUQ n<&1ϭeՔ*Q Ayd!kfX P.^$sƟX;X-LlP::!'ID##& ;6lz>P mدWg/$!1{C~&ffݪa/OY<A:c B )u#&%pyPPDxs[Qv%JkX3iV mG$dX5#)jy*%%cRU-bM`%cu.w\6++^(9l%mڶ(ڷvRd6n2]vw]U;MEG5Q-\)cj)!8#G>jzM# dBhT<G#$V0@#$,O"X"_@^#$ESpE=SD`PVv~)ᥜLW paq{Ùy*HfڢffʶZ%J]?)(m;]6BV*%4pf<a5@U4uxw]9eJU#$ 1*ꚺM`"ShkWKt% ]5|!p\R# c*5zZUvg^TN۱Rd!><ơB}b)[Q'yBH#$%*7#&"l?MǺT7#$y"8*5[SUMA'0/\P&eR[*QMITk[yBq CT00)T)m_㐄$#$\sW~)eupǒ )6,q  Y2c[1cj5upqނ?F1T@13Opi :T B!#%m#&GfiBCq8uy3 |})ZUC%˦#:,8QI##&5+F#"l.ՕA!Td&0xB0QZSf̐j #$ 1`6<PX֊⫚/rɷ/k-X2!$qJڙъ>JzU;X9#&kfIeBMm.܌x]2!(ѧ,2Y @PG()L*ș0E"(@!)AmɦBⓏ)0cFɱ-ԼzZFWE} B,V!1J PPj#$LAPc`jg]Sgr쪟$ u'\H "1*mZimF^<m\]4ܢsl$a{O#&"mx$ov,QD$cf ViG;ɡ#$$Qj4!Ě jId(B -<mTeݒR07K\L0ĠV_>R>myN$Vfui?-v/9MS6 @&8E&㝁(tHǝ58W#&_'^rEWE3Fa#$#&b#&J Puv֠zBL{blM1^㇑;)Sx,AHYHJ/j7mo/> ޘOGIāWAF668~šj@,$ o~} 6hCZRe]:#$R[#&Ah"# ?J::?SEB*Qfb3/|!{a x`(C#%C2B,L >B֚6"\QD(@̥=PgO;<=)oluE4 b8+|*LZABuNVXCJ=HŒwǥưa*`.РF"5+K&,ߠF[( udaL8.U#$R0 jb.*][k E#D &5F5tLm-0fHa$c܆Kï9y1pY2f#X (zjzDbu9|J\3}as27;)jdj]~IϜ ^xY,zRݲ`rcɁ!^~ Ի0޽C7BS"H)&F'ŶȄʑL{#%=6'0D;(>(S:km߯NxuABfk"A <s;M%Zt6&wRPNq9*# :VSq$!D)# l`\ ,bȳ2O'va ;a2Bn $m9<؃FLW۹!BcF3ڇCUКzHʪ (4!Vch.\ɤûW+_󁴜inj{P&!=\f`l3 ֍ZᓏoL 䕑?Oǭz&3ɋ9Fs;Bo9\}fl^ ݊#%o>`Da#$$!)d,J)1TCv="iߍ!OmiHZŕi#R>yὛF><I P'Q x9DX &4ce<Bgհ枯o[Dbq+Лf"(Fbr``Xam~Oy-.iEw,I@BzDZfvvsjAZ,Z!Ⱥ}~3iqSdbu?N̹|ɗ#$#$F iVTIt=a)w+(s5R4r P6|HoVQt]#2WEwHqO"#?އ,׉֙Ҍ2f\#&7l X@0P2 )i[<;hV@<(zգV]5$A>n{crD+OAw+&sşVOu:6b%{ap.n#%#%iDC`b0X| ~lw8l,m]#&K#&#&A3#%hP:10ld1kKS8&b#A J@/?)Gm8u%u!}B#$ MTءd@$P '?#%kGD;vD[fBBD_i>R̈j*YTK!}\ 8(ߔ2T6t#i(ߓDdjh{ULDR,n1'"L$ wiQA!0'VQ64!e>9@Iˢsf ZH":umʈVJ~HV-mԬjjedD#;yp9=c&gM~}dvJ)UQ"s\o##ňB2Aa )`2h,ْHS3RPRN CP쐓aLy9\"ml#%NkEAo*E& 7a.r}7De].;OT9ʓy`Ғ> ?LS$wF,oAPspFPs6@QFG(8 s1,k,mGFLсs>"XvaMu>>0k-6ӴOfOf%T?&SC(?2vC?&I١ Eʢ#!QY[i5ުWވi#%"IH34PWDZn-977Ivݒw(H°80Pץ^-QQk6  @ʢ (u_-jfʼZ1(8r#& @9fraӔ(e<+%G$.JWkM [5Ì-po$#W_}k%294yԗ/R 4dVX↊F(&J)FͦhBm A! w<]v(ԆE.wnH!LJVe)v]4!ByjYԁPpȑ5CxǁfixI5:w&izJk YB&ªӥ2&L #$7  HOvX7XL&,q,޲ҍj8cqD)1H:zyU6Kbz]ÏuJJL#$LK>c@ڏs BZZʕdq̕#&q̉`Lcw2:mzoښ0bV". 8h1Fn5 &VuT$hwT7acu$r2 4;Z dd`vQkmc`9GF`yXAp1ʌq4#$bt[Gl2$L6CM&ֆ&G#%`|0:C +Aq0|M:@#Ԇ*\L`7.echscoMW+3lSwuWw+,]=Ƴ}|2~z`ot7֢g/ lĦV@)bP,#&W}Hmj'`UdGh͑c55.0Tw1 e#&LFXktF`mN-0ekM}1aB7DH͎aF6METCNG.W؃ᾉ*q0=7bK4(,HyCLL1H2Q[#$PUL`JV4lLPaTF 62J&$u'{M!X#lALa2D[(e HcBؖ2[_+#&Mj§5^U =3sd@y4Oc(j#&cFo> AXE@Y1rr" ,!PJ+jRt,C#%" +JOOwN}e#%oɬQPv SлCE?%8滝lF۫k{n:*, 樸DrHޗJM4n\s~s$#$Mn 6nCL8 fܐ Y" L[~x^Y;:H8c| ͖56dh?Z$H{[Qv1I>8u߂$Wn!^SࡆXC0i5GЛIZr9,A@#&{:է[fM 7.ѵ{ 1>#%ղa9̬&Z2!wYbNUU]λlv2fB?I 0rA`]zx)jl=-)Ӣ[0/90}({ !PDrB3NYCC@aagyLB@IFJh6M_m_7 Z"40M"0#$R#Jl{7}NbɨEJgJ X)uHVŢP)ɖK`sC(m#%sk^9W5Er׊Qt!-[ƶ(mO% #%Ҡ̦B#&0Psp-wA@k؛{j8v2 1@ ".HqR#$PlЄ 5)ǾSл:^R;ORe7/~؅%Y)@Bt}/䵻4[uvh%`+ T47QѭIM6hZU%$@N܉m#&\3#$"@X@dPFNڂ 'A8/oem~rda.!ZK>(#% H 5֢qJ܆W:ߴA;){#$Հ{}(}B#&ʒ̦FQT)FM&14*e2$͍Z-ص[SiT[-Ej `,z\ZTArcIs0& cPyVXFE*#RXR;H X4AGXꌈȊhl2рD ncV*S5Yh(#%@"#%o#$#*ħVrS날D#&#$h[xфϫG^"wv7-*4B nȏ-3ڣA7gLP:'4uM2T +9HLZ0 Hus!1ʓ!5Sa,\')sbqN==Ebvqw]tWBc5pU#%AdAdV@$UREQR-rY:?lMl~౧4ZŐfH5ClqBL6P+xeF]F/WLs{d\T8 p9a9˧QӃ<,7MI'8׊:%'ۃuj!""!׏YڗD:$"?OW胞tͻpQ1ΦIW:P$DLC ŞIHF/S~Amaw]>^(.+Ԍ#%{\h7$rYtͲ`~ ܃#&2^]!>#&g3`g ]4*R/(4γt8+Ţ<jÕwn͑qZ|50ͥE߄K˖BmyyO~`=P5" p=ʊ^cP9|P#%d@=0F6;?>GJ*Wq%[5W^"0ZWG.e`qb=vg&|tj7ço+2QS8{xDlu* aS; 2#~']D;ٺ#&:DTVJ튅9۶esNJbzDZ]h.9l7~5 vz\#:fpL$#$ѱ#%RPrVN~^=q]uqy%` S?]<aE`tr!+;b4xu,ȋPJ ?Ġꡤ_fu"`oG*nh:ћb:hcV#G/~zޠ^<$ k+XCN C2Z| CS5j>n;gY& GtuIs86pW`JZO:퐎y{9Ѻo\/+cAǿz"UB]P2<W^!2:ۊǗHRi~7]Nsq>-ɿLQ帡:x8֯d[єu;Cj3rvZ~ 1 ٥~)oA[} {]}{zytW;4Miy%IIȣ%1dsi҉Ḣ#$^Dq毈 _օEY<q F"TȒ9G=G_Y%u"#$ILJ!#%Um0dSTp#%;V$㧆f$;,1<4IJ3{#&pDG4#+bIO}{qI!W#$cL)C4R܂l=!$JVß"'*]ۇ[7-`Gt9 oU{Eϖ8ߥq<tT9 Z5(({)Q(QHE#%ԡ{<w9^Mei [ՠҽxD+;6Nf(tA]#&f淪iekuㆃǃTGS傳=bCgjjAP!VkK#&7]fC;A[0N|>dmGGe[\[/9ĮOܮ8ʃ -DC g6LV[͋˧b2!G_'m[N)-FSp(0Ę=8(3]r x8뎇1 c5sϟ\vrmT1E>vE$-c6!F#$I:wRW{W9ZSPE@0i("0:f5H4}:ZSm{FeW;Mvؒ#%k#%HO<oZL"T1CU(V'5f\0pl]"qھM]~Y=4y5SS %%z,7h:xt,m]OJ̇vM#%u&L#&V-#&ϖbC$7LZb ?+4^16NʺIWL%ERX5cU#&p˰hH}FTJF͔h֖w< #$K郞$li _upR=(x#$KLv`HSE[bw|^@أ4#&0yod=Q:W Trc0瘡ZLK)#%#&M C'Sd9^'v8C8aq6(M'f3<wVpP}A~#}d/ݟmLG'9A1 S kMD4ysOS2tHҬ!@P0lLlc_*{by:ǍMw䲾4f.d5am;TK{r$ɉ6#%*h3Vơ#%CX-jDF8ҕ7Rd#Mq0&@oMTŹK[&5Kiym5lQ5"֫ҮmZyTmS#$ Eb(}*JlKK!E ܴ}'9K#${C^+VGxgH*ɕ~4Xb׋]-*HHB{ "0I`H9 dFrC5c-.R!pێܨŃi;ç0llYe?9U"oQ+%-X ӁדA)BEIj&U..4#eXʹFLyP#&ٮTb^/X*r̴-хKwLfZId>~;-C%-{\IE 1r#$ͮ &1W-FK[@Ʊ;ⓉcG!\ #p^#%:̢64 ,v(4h6͙:Zě77686mjZTLܵwZؑBcQ|14&4E&=l[n#%s,q CR0D,j aƪU +22YD7 u*MKD #%mZ"Nڕo#%3}@iN ~MF{;Гu#Z5d#$E&bZQQPFAV1.KG .F20xÁg3#&j`n[ݷtV%i3/#%<Ky>gp|.uXTE:0emrF1Q˗3i{oc :kNcoy``$P&$n8Y̵FZ1Z7cmO-elպWdtnTa#jP˲ԣUTڠPfA? em-JC5#&Hbr+\cz[J"`drӑ~5:G3b0[_8K~Vww :2:#%KLhɐDY,7N2zx֑|#&vի}@Ӭlw30}If^Ԧ6#&5,11-;EPq>PI dF ){.Ę6@{-z2DAlp0F'HTRC_w^{jP硪ܔ#&@<yFnܵ{5zciH,S)<BJ#%}$N-4``BY|z1|r4[1a,d3ilh~azj hpE*j+U0=W]¢JZQ+ SгŦBK[+ʭvq3Xb ټSUG~X~';RˢKT C $$tmTʛmѭ$jZQxZ @#%Z>&90͙Cv[oC( YQhM&JL*Y%V)--$Y&,TiJFfKS"* 1*&2RdWc#4В6@qWePz|^: }4>ξG朕CM|?s; te9q=)3Ahyb$j'Ȃ^S26A#16܇(jHkL̉vGL6# Vİq+ܧN1 l$z̶KB;k=W| NnchSB#%JS&oW,—DA;Gk}R[I}[7wkqIb5F-dE`J`)jYq`22 DaH>~rj5J\иj@[RmƇ?4V2:2tZ&"Fͷ11i(5Fc#$6<HmUⷽXoټ{T#&βQ 0VȘ\ 7աL[Dc*˞4%(D(HddVY'y?a?'(NL?FCP/jH$Ʃ@JXBgk11o|2Fۃ+֒!GL!BQ$, t%GeTơd>@};&B4"=̓?;<Mbֱ9i̥2tBpr`/(,0χ@bl$` 疆#섈Ԓ,#&MA=*?FI%`En\Uleq'$$%^?EYIgqs}塿N@PbbqtnD مIJ gܮV̌cʢٮxΆbF"Wn7lBf:&%nľoF}H#&1&;})BDeL{u5$FDH;q=<}kZz0kYɄ$8%#c4,TBeW E0 ՕvKSOuY7B_n:jC&_#DT'Yg7OzW "A|{i0aadE }~/}RF?2#$yT0[#$~j~9:4,1C0ZaO$kߠ8h^!OX@5MOm/li5ߋx$tuņṔ`B!L2F꺨F<EqBR%iN?:W)NR Xԁ3PD(ґd' .1L)#&QA#%ZF.H?Pb#%nȸd\ttO}oaLCC9a͚@d$XtP(į044#$hb 9wS.ДhC!.VBn,AN)ZiU.޺rŜ7C<0!j5J$ܣc~fC#$ŁxZr*#ţ6#%:b@S]E`iFf#YES41!6jDV#%{Xw001"zpd3[nc(:nq;U'+awh2&aW= 5ӓT:02hxgy1ұǦ#&t%69n`g|0]J0FzѴa(#& &ZID&hqKYJ"H#%0ۧ=y۾77%z#%j7̣$DƘ(ЎV#"F`tpc04!+`s0{b&2a4Зxo9ex3Q.W($ٯG[*v)SU93HGLSm>$,#%irCNn/4Qp4&l^ mנÆuɳU-im$e({Sxgs%+<$=hO}xmY-(ܓwQk&߇7;B#%!Fǎ[nW43"c<}ks$ aSKx(aIqNm8q#0}0>LÙg1UėV|sM\3B毐bZ8uTژ4MLr6:!% 42 ć vHah8#% B#%[1N鱌3mr!O'^ߕ#&nѦ3ͲR)ɜMu Ɗ iv$b)(B#$XjM+3 q7c4.H$$:2#m`t3G, LnȋL#O`AY|L#A"Yʨ&;[+$#%K@ym?/v.ĺ2kF˳m@F+:Ţ'#Ofچ֬S-68mlRY -K= pE 1u$ 8wj>|7I6Iָn' fl9a#&DK8};[5QvAf-yEK&<{> ƑejkkF^$`5#&0cChF=0!2)Pٸnifc^\rxvɰK/jDnW}L.Y(ñdó7%Qlɬ{C4.ì$<<jGA6;dK S&2XVi~דn` 馊5i#&D1uM4,iW5J|ٳYaע RM8f{40i .H#%۷ev `Ġ#\#$tbTcC L]@ln#$5)Iz+L􍺋^mnL`c ax/"4qC' N$ԆR(apCؤPc$# E0 8tD4P147-TJaX4FdB`CQAg*84m#%ˑNr9$*.ɒabw#%8 @)rq}ז >aQ7*-!"Pj#&/a#$8OA'o"W*^O>t 걀clI(#m ӓɆU'{%?HMHKcslhL IM:zɊn=bQCYoL8ws1*D@:!CD]d}Prx@mizh6G(gI37HMU},5>Tv*#˞ܚQhSiŞ:{~i2wyR%?"LwbTN.}։ړfȊ41F#$)Zv9xV\xdBژ1܆a-I"l^F:ϯm P4iˮ;JMpd Hv#$/ mc1",`,2ブHxKFZW*-sy]wwy%zAiBF[Ap[X[#$-+(?=&})uP[r(/P[5 2#%L/Q*B)#8>>>9iQJATBk߭4񓡿w2bX*R)nf1ȑtB Ceyvb}6,kJv'a" t'N=Lwh:,:COib?lTƇ<6B)Q;ّt4g'cUِ˖rD67rsȞQup#$!3uf<8DH ;Κ }Rf3gJpS|e"FOa !d΅<y`}T\#&FUJҘ6JMjMܬk[5\FA.+8@ Dsz T m"B#R#$GOl0B`ԟ٢DzzSl` #$PQnw!J3'A#$H,0 ;e#$!P =P^SQZc'n!A#%N8 T)*rV\b%M^O<8,]o4UKŶ+5mf^h0YaR*HG#%3n5HJtU!hмhZyC#$:ãŌnd#&k!i#$8䱶jpNOnQ{lV@xu9-H0| XtrIv>>*7Ưnj'mKk!#%Dn_x#g)d#$8H,ɜGRJsuON7H\ geT,V^9kmp{y|%K^SJzru^5b8Xղfފ*6~<ɻ*'AAd#m% #%9DzrYS㜳=&Q=81SJTͣL%dٌ2٬ƿRktJJ:W@!dBzçuѽ^jЗ"ӘrŬ``i%f`{2ւ Xl#ZOV"> v5ggIˣJ}ߡi}?aƊ2 DS|pF3b!H闑O4: ,Վ#&Ex-,KMT2φi,G%l&Š}C;PL-a5:9ZKdidgil{q $pIdX!n-h/lT<DTRBH! Dۊ]4[Kn`u"'SY›4z2Xvz# Æ*$55#%% {~++#&m@})TY=^Urӳ&􈩬Jb`lc=D B#$#$1T.ljLx\*càqda R T'HUD/ njcO/QPb@u{EHd=\pb 8͚8N {GͶTY32o]KG7{C\@m2gXH )"G#&0?ntM-sw/oH]#$#&`p"c"/D<-aǟUC2ABF$4k(J(*⩂eTIlc.^z.FAZQyA%aQ\fim[aP}SA2D#&#o.G?7qxy$R.%[d !<ыPX (DC>xeT$TY*i٤S_AHcBJYQ"@C??>BCpk"TD񄥯/aā bاLd#%Msf&MD+f6̍zIHWЍb͎;w\!R%#%Y`A݁GSm{RzWndQ;4qa^0gՙq#&Plr~9q;}FeɶkA"t#\|L#&j"w'#&` #$#&PFd8M%\7VѲ)#.0R@P 0qߨP" Bv* <* h5@轢*x=P@D>]T+a\A1"#${iؘ%7. \x#%#%0au_0u>%C*dM$XV)Pj*M>ojmبj~̮Bh~*뻵k -Gn#&&hMnN!b A9^<%ǖaXIPI#$ZP(KiFPV#$HOkۙJR@ӏT>Q\#B03 R5oTv]"|O+JV2#$iBxzdd#&0ObhbA@@ЗpD*E F1 >z4+ v"-#`.Q!=F~2Mé'5F/4m͉ AZX|I SQEB1 % |SbUuMxw.My֙bݖݙ]ζhʥ#o]5FRQvךWz֫]v\2i̵nթ)AB'hgZO$<th|#%8ruz6Khոl+byd"!U;wO#%0*?eيf,kjkM-ŸgߐVp7=Q(桂yLlEf0cηQEUD!IǑH5,/i%Py?xuZx[B}bq9B˜e; Piɗ:GДqFK҄2~Ƚ-=b3I[dS ݭ/2J"X0f\M@Xr#&ov0ܞrj#%xwB;Y(7/-"x/xD۵5Ґ2$1ņU>'ݓwpVE3S4XpxbRsI@0aۖ@"nNƼ&SeL|ZY.ݷg#&4?ZCWxj۱o/_VVף.C=2~3hK;X5A67Ҍ=hssbmru~ d"{o{#}?I]&nM6.nv2Ng>I9XH.:8.ȃDrLAsP*X S{_tTP>PD_>ET@(v P˄ ^QpaT"D5-<;=W>#%a!fc@i#$w?/ew>?qG٫//_?_???G3]_/~#%: ?6=]H@ޜ#&pMá(-YwQjRG@^RHB@N% CZ~ņR$ 2k~KگQst {ZD5ǡ cMjf zmpCSn)` }ƺ|JagM7vWCLp<Ṿ=y䫀^r3|N؍?ϗ^eX0LƉOВ( كF3lP^]0GUZcPbv֘U!24Zcc[ɠpmB4/t hoW,]q,c-2Z90fӄ4M8&Fh*e!fC(,k&vj4"nv͌VDN%<L&2(#&cQt?}йcowe1+r,:E83Xa2</_ڋ#xDd^PoLE1;4_eb?*7k8cX @쨈k8vi֚%G%<)oڋ|!z6 *6߯~|!D*p.S"dV)1Hzp.t7FA7yLx,AVA"z؁"H2b$&)9-#$5$}_bXG~X '@DŽ',#D:R{+rvZfq*5Ii5ITf6 +U[kmo >d#&)!W=R*9&: hd+C(vA>Wt?2H'VjOֻz#% ?S{a2wxGGON$PG3S(B}ͦ~54EcńgչO f%P0{rA|<)w4I'V]c#%4TH~O4͐>,7>n:bR44#%MEݗ"6 &YvTCVID%2anjm,ť5{5WIQlk`YXhmF ZN5VC9}6&"R#C @D(z <^AdEoqH cU!^!q>G^UbRT'Dzbt,!9'H{xl+_PaAQ!?CpHD$8<N'܉ (BR@RE@["#bf @dPAO/U e29ԧ<4.6-`4Q1`AYI3?n+f#&oۇ:?$'oX<?{en0۟aaYE~j?Zk</LO>dP-}M|67zE _4Vhl!őgl.ve5nH;W'PiGQ^+LL眴50pCN@&2S?(M(6N*%1@Mfh˞뙁̢țF43B.\Hօ>C#&4#%3wBu{&'#%L fW*>sC?>D"(HiK
- #<==
diff --git a/libraries/lilv/lilv.SlackBuild b/libraries/lilv/lilv.SlackBuild
index 2e1bb84911..675ab1d6f5 100644
--- a/libraries/lilv/lilv.SlackBuild
+++ b/libraries/lilv/lilv.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lilv
# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2020-2023 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=lilv
-VERSION=${VERSION:-0.22.0}
+VERSION=${VERSION:-0.24.20}
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,12 +65,7 @@ else
LIBDIRSUFFIX=""
fi
-if [ "${BINDINGS:-no}" = "no" ]; then
- bindings=""
-else
- bindings="--bindings"
- SLKCFLAGS="$SLKCFLAGS -I/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/numpy/core/include/"
-fi
+doc="-Ddocs=disabled" ; [ "${DOCS:-no}" != "no" ] && doc="-Ddocs=enabled"
set -e
@@ -67,33 +73,33 @@ 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 {} \;
-
-# Fix python bindings
-patch -p1 -i $CWD/fix-python-bindings.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --configdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --dyn-manifest \
- $bindings
-
-./waf
-
-./waf install \
- --destdir=$PKG
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+export PYTHON=python3
+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 \
+ $doc \
+ -Dstrip=true
+ "${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
@@ -101,7 +107,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL NEWS README \
+cp -a AUTHORS COPYING NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -109,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/libraries/lilv/lilv.info b/libraries/lilv/lilv.info
index 8c89f38119..7bea3711ee 100644
--- a/libraries/lilv/lilv.info
+++ b/libraries/lilv/lilv.info
@@ -1,10 +1,10 @@
PRGNAM="lilv"
-VERSION="0.22.0"
+VERSION="0.24.20"
HOMEPAGE="http://drobilla.net/software/lilv/"
-DOWNLOAD="http://download.drobilla.net/lilv-0.22.0.tar.bz2"
-MD5SUM="fd3a14fdaeaba4716b4fef526548a747"
+DOWNLOAD="http://download.drobilla.net/lilv-0.24.20.tar.xz"
+MD5SUM="561ff65228b54e58744a7ae6e2141741"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="sratom"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+REQUIRES="python3-numpy sratom"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/live555/README b/libraries/live555/README
index 8cc7c6574d..6a7c610d81 100644
--- a/libraries/live555/README
+++ b/libraries/live555/README
@@ -1,10 +1,13 @@
-This code forms a set of C++ libraries for multimedia streaming, using open
-standard protocols (RTP/RTCP, RTSP, SIP). These libraries can be used to
-build streaming applications.
+This code forms a set of C++ libraries for multimedia streaming, using
+open standard protocols (RTP/RTCP, RTSP, SIP). These libraries can be
+used to build streaming applications.
Since version 2014.08.26, library and include files are arranged to be
easily discoverable by configuration stage when building vlc.
Since version 2014.11.02, source tarballs from archive at
-sourceforge.net are used, only the very latest tarball being available from
-http://www.live555.com/liveMedia/public/.
+sourceforge.net are used, only the very latest tarball being available
+from http://www.live555.com/liveMedia/public/.
+
+Until vlc (which depends on live555) is updated to accommodate changed
+API in live555-2021.01.13, live555 will be held at version 2020.08.19
diff --git a/libraries/live555/live555.SlackBuild b/libraries/live555/live555.SlackBuild
index b887b64434..511b18b4e5 100644
--- a/libraries/live555/live555.SlackBuild
+++ b/libraries/live555/live555.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for live555
-# Copyright 2014-2020 Christoph Willing, Brisbane, Australia
+# Copyright 2014-2021 Christoph Willing, Brisbane, Australia
+# Copyright 2022 Bill Kirkpatrick, Bay City, Texas, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,16 @@
# 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:
+# - install shared libs with +x permission.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=live555
-VERSION=${VERSION:-2020.02.11}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2020.08.19}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=live
@@ -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}
@@ -58,20 +69,26 @@ 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 \
+ -o -perm 511 \) -exec chmod 755 {} + -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 {} +
+
+# This header isn't shipped in glibc >= 2.26 anymore
+# https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
+sed -i 's/#include <xlocale.h>.*/#include <locale.h>/' liveMedia/include/Locale.hh
for f in $(find . -type f |xargs grep -l "PREFIX =") ; do echo $f; sed -i -e "/PREFIX =/c\PREFIX = \/usr" $f ; done
for f in $(find . -type f |xargs grep -l "LIBDIR =") ; do echo $f; sed -i -e "/LIBDIR =/c\LIBDIR = \$(PREFIX)\/lib$LIBDIRSUFFIX" $f ; done
./genMakefiles linux-with-shared-libraries
-# -j1 to avoid make race
-make -j1 install DESTDIR=$PKG
+# Deal with intermittent parallel make failures
+make || make -j1
+make install DESTDIR=$PKG
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
sed -e "s/%VERSION%/$VERSION/" -e "s/%LIBDIRSUFFIX%/$LIBDIRSUFFIX/" -e "s/%PREFIX%/\/usr/" $CWD/live555.pc.in >$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/live555.pc
chmod 0644 $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/live555.pc
+chmod 0755 $PKG/usr/lib*/lib*.so.*.*.*
find $PKG -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 +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/libraries/live555/live555.info b/libraries/live555/live555.info
index 5efff92cad..985f29c435 100644
--- a/libraries/live555/live555.info
+++ b/libraries/live555/live555.info
@@ -1,10 +1,10 @@
PRGNAM="live555"
-VERSION="2020.02.11"
+VERSION="2020.08.19"
HOMEPAGE="http://www.live555.com/"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/live555/live.2020.02.11.tar.gz"
-MD5SUM="2f12475f09cd49b2b5badf7df9aacd60"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/live555/live.2020.08.19.tar.gz"
+MD5SUM="4645d2a0c865505c85b48af5317bcb4a"
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/libraries/live555/slack-desc b/libraries/live555/slack-desc
index e9226470f4..0dc000bed0 100644
--- a/libraries/live555/slack-desc
+++ b/libraries/live555/slack-desc
@@ -13,7 +13,7 @@ live555: using open standard protocols (RTP/RTCP, RTSP, SIP). These libraries
live555: can be used to build streaming applications.
live555:
live555:
-live555:
+live555: Homepage: http://www.live555.com/
live555:
live555:
live555:
diff --git a/libraries/lksctp-tools/lksctp-tools.SlackBuild b/libraries/lksctp-tools/lksctp-tools.SlackBuild
index eb1dac7876..6fedf2fd3c 100644
--- a/libraries/lksctp-tools/lksctp-tools.SlackBuild
+++ b/libraries/lksctp-tools/lksctp-tools.SlackBuild
@@ -1,12 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lksctp-tools
# 2012-11-14 Bernski Comadizo <bcomadizo@gmail.com> Cebu
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add a doc dir (there wasn't one).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lksctp-tools
VERSION=${VERSION:-1.0.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,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}
@@ -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" \
@@ -63,21 +73,18 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/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*/*.la
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING* Cha* NEWS README ROADMAP 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/lockdev/README b/libraries/lockdev/README
index 71148f3a34..6dc93ef50a 100644
--- a/libraries/lockdev/README
+++ b/libraries/lockdev/README
@@ -1,2 +1,2 @@
-Run-time shared library for locking devices, using _both_ FSSTND and SVr4
-methods.
+Run-time shared library for locking devices, using _both_ FSSTND and
+SVr4 methods.
diff --git a/libraries/lockdev/lockdev.SlackBuild b/libraries/lockdev/lockdev.SlackBuild
index 2c65881a0b..7208103638 100644
--- a/libraries/lockdev/lockdev.SlackBuild
+++ b/libraries/lockdev/lockdev.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lockdev
@@ -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=lockdev
VERSION=${VERSION:-1.0.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"
@@ -106,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/libraries/log4c/log4c.SlackBuild b/libraries/log4c/log4c.SlackBuild
index 3ab3478ef7..a967f348d2 100644
--- a/libraries/log4c/log4c.SlackBuild
+++ b/libraries/log4c/log4c.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Log4c
@@ -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=log4c
VERSION=${VERSION:-1.2.4}
-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"
@@ -94,8 +104,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/log4cplus/log4cplus.SlackBuild b/libraries/log4cplus/log4cplus.SlackBuild
index 8bf1bf2ac8..7f991f60aa 100644
--- a/libraries/log4cplus/log4cplus.SlackBuild
+++ b/libraries/log4cplus/log4cplus.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for log4cplus
-# Copyright 2016 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2016-2023 Thibaut Notteboom, Paris, FRANCE
# 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=log4cplus
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-2.1.0}
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}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -77,14 +87,16 @@ CXXFLAGS="$SLKCFLAGS" \
--with-working-locale \
--build=$ARCH-slackware-linux
-make -j9
+make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README.md REVISION TODO REVISION docs/ \
+cp -a AUTHORS COPYING ChangeLog LICENSE NEWS README.md REVISION TODO REVISION docs/ \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -92,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/libraries/log4cplus/log4cplus.info b/libraries/log4cplus/log4cplus.info
index a908165dc7..d113fb727e 100644
--- a/libraries/log4cplus/log4cplus.info
+++ b/libraries/log4cplus/log4cplus.info
@@ -1,8 +1,8 @@
PRGNAM="log4cplus"
-VERSION="1.2.0"
+VERSION="2.1.0"
HOMEPAGE="https://sourceforge.net/p/log4cplus/wiki/Home/"
-DOWNLOAD="http://downloads.sourceforge.net/log4cplus/log4cplus-1.2.0.tar.xz"
-MD5SUM="efbfc0e55e3878f28f064fea5f967786"
+DOWNLOAD="http://downloads.sourceforge.net/log4cplus/log4cplus-2.1.0.tar.xz"
+MD5SUM="62928d480ebec1476fe74b900f2a1672"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/log4cpp/gcc43.patch b/libraries/log4cpp/gcc43.patch
deleted file mode 100644
index a60f986e9c..0000000000
--- a/libraries/log4cpp/gcc43.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Index: log4cpp-1.0/src/BasicLayout.cpp
-===================================================================
---- log4cpp-1.0.orig/src/BasicLayout.cpp 2008-03-14 16:06:57.000000000 -0400
-+++ log4cpp-1.0/src/BasicLayout.cpp 2008-03-14 16:07:11.000000000 -0400
-@@ -15,6 +15,8 @@
- #include <sstream>
- #endif
-
-+#include <memory>
-+
- namespace log4cpp {
-
- BasicLayout::BasicLayout() {
-Index: log4cpp-1.0/src/PatternLayout.cpp
-===================================================================
---- log4cpp-1.0.orig/src/PatternLayout.cpp 2008-03-14 16:07:33.000000000 -0400
-+++ log4cpp-1.0/src/PatternLayout.cpp 2008-03-14 16:07:49.000000000 -0400
-@@ -370,7 +370,7 @@
- literal = "";
- }
- if ((minWidth != 0) || (maxWidth != 0)) {
-- component = new FormatModifierComponent(component, std::abs(minWidth), maxWidth, minWidth < 0);
-+ component = new FormatModifierComponent(component, std::abs((float)minWidth), maxWidth, minWidth < 0);
- minWidth = maxWidth = 0;
- }
- _components.push_back(component);
diff --git a/libraries/log4cpp/log4cpp.SlackBuild b/libraries/log4cpp/log4cpp.SlackBuild
index e517a94495..a73393cbb5 100644
--- a/libraries/log4cpp/log4cpp.SlackBuild
+++ b/libraries/log4cpp/log4cpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for log4cpp
# written by <pedro@gepasi.org>
@@ -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=log4cpp
-VERSION=${VERSION:-1.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.1.3}
+BUILD=${BUILD:-2}
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}
@@ -63,9 +73,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -73,9 +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 {} \;
-# apply patches
-patch -Np1 -i $CWD/gcc43.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -103,8 +110,10 @@ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO $PKG/usr/doc/$PR
chmod 644 $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/libraries/log4cpp/log4cpp.info b/libraries/log4cpp/log4cpp.info
index c7ede5ab14..036a007ba8 100644
--- a/libraries/log4cpp/log4cpp.info
+++ b/libraries/log4cpp/log4cpp.info
@@ -1,8 +1,8 @@
PRGNAM="log4cpp"
-VERSION="1.0"
+VERSION="1.1.3"
HOMEPAGE="http://log4cpp.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/log4cpp/log4cpp-1.0.tar.gz"
-MD5SUM="1face50ead0790d1297dfb04bacf273c"
+DOWNLOAD="https://downloads.sourceforge.net/log4cpp/log4cpp-1.1.3.tar.gz"
+MD5SUM="b9e2cee932da987212f2c74b767b4d8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/log4net/README b/libraries/log4net/README
index d499d61464..e2919dce84 100644
--- a/libraries/log4net/README
+++ b/libraries/log4net/README
@@ -1,4 +1,5 @@
-log4net is a tool to help the programmer output log statements to a variety
-of output targets. log4net is a port of the excellent log4j framework to
-the .NET runtime. The framework was kept similar in spirit to the original
-log4j while taking advantage of new features in the .NET runtime.
+log4net is a tool to help the programmer output log statements to a
+variety of output targets. log4net is a port of the excellent log4j
+framework to the .NET runtime. The framework was kept similar in
+spirit to the original log4j while taking advantage of new features in
+the .NET runtime.
diff --git a/libraries/log4net/log4net.SlackBuild b/libraries/log4net/log4net.SlackBuild
index 6b510d1837..3eb164be89 100644
--- a/libraries/log4net/log4net.SlackBuild
+++ b/libraries/log4net/log4net.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for log4net
@@ -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=log4net
VERSION=${VERSION:-2.0.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}
@@ -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/libraries/log4shib/log4shib.SlackBuild b/libraries/log4shib/log4shib.SlackBuild
index 8435cd4e29..14c7459f5f 100644
--- a/libraries/log4shib/log4shib.SlackBuild
+++ b/libraries/log4shib/log4shib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for log4shib
@@ -22,10 +22,21 @@
# 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=3:
+# - add --disable-dot to the configure command. dot is part of
+# our graphviz build, and wouldn't be installed on a clean install
+# of Slackware. if it's installed on the build host, it causes the
+# build to consume lots of time and resources, and possibly fail
+# on lower-spec machines (e.g. ones with 8GB of RAM).
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=log4shib
VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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,33 +80,35 @@ 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 {} \+
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
+ --disable-dot \
--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
+gzip -9 $PKG/usr/man/man*/*
mv $PKG/usr/share/doc $PKG/usr/doc
+rmdir $PKG/usr/share 2>/dev/null || true
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
+ AUTHORS COPYING ChangeLog NEWS README THANKS \
$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/libraries/logilab-astng/logilab-astng.SlackBuild b/libraries/logilab-astng/logilab-astng.SlackBuild
index 734e14b643..26e89697eb 100644
--- a/libraries/logilab-astng/logilab-astng.SlackBuild
+++ b/libraries/logilab-astng/logilab-astng.SlackBuild
@@ -1,23 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for logilab-astng
# Written by Grissiom chaos.proton@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=logilab-astng
VERSION=${VERSION:-0.24.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}
@@ -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/libraries/logilab-common/logilab-common.SlackBuild b/libraries/logilab-common/logilab-common.SlackBuild
index c2733d0dab..70918aecb9 100644
--- a/libraries/logilab-common/logilab-common.SlackBuild
+++ b/libraries/logilab-common/logilab-common.SlackBuild
@@ -1,24 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for logilab-common
# Written by Grissiom chaos.proton@gmail.com
# Updated up to v. 0.63.2 by Serban Udrea (S.Udrea@gsi.de)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=logilab-common
VERSION=${VERSION:-0.63.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}
@@ -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/libraries/logilab-common/logilab-common.info b/libraries/logilab-common/logilab-common.info
index 5be04bdbfa..05d10f8b32 100644
--- a/libraries/logilab-common/logilab-common.info
+++ b/libraries/logilab-common/logilab-common.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/l/logilab-common/logilab-commo
MD5SUM="2bf4599ae1f2ccf4603ca02c5d7e798e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="six"
+REQUIRES=""
MAINTAINER="Serban Udrea"
EMAIL="S.Udrea@gsi.de"
diff --git a/libraries/lua-MessagePack/README b/libraries/lua-MessagePack/README
deleted file mode 100644
index 51e7d3d82d..0000000000
--- a/libraries/lua-MessagePack/README
+++ /dev/null
@@ -1 +0,0 @@
-lua-MessagePack is a pure Lua impelmentation of MessagePack.
diff --git a/libraries/lua-MessagePack/lua-MessagePack.SlackBuild b/libraries/lua-MessagePack/lua-MessagePack.SlackBuild
deleted file mode 100644
index aa7ad1c9e0..0000000000
--- a/libraries/lua-MessagePack/lua-MessagePack.SlackBuild
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for lua-MessagePack
-
-# Copyright 2015 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=lua-MessagePack
-VERSION=${VERSION:-0.3.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 [ "$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 [ -e $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$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 {} \;
-
-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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYRIGHT 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/libraries/lua-MessagePack/lua-MessagePack.info b/libraries/lua-MessagePack/lua-MessagePack.info
deleted file mode 100644
index 8c2fd8685a..0000000000
--- a/libraries/lua-MessagePack/lua-MessagePack.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lua-MessagePack"
-VERSION="0.3.1"
-HOMEPAGE="https://framagit.org/fperrad/lua-MessagePack"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/lua-MessagePack/0.3.1.tar.gz"
-MD5SUM="f1bf4023f02ea5d99267f7582ff52279"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="lua"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/lua-MessagePack/slack-desc b/libraries/lua-MessagePack/slack-desc
deleted file mode 100644
index d52a3b1db7..0000000000
--- a/libraries/lua-MessagePack/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-lua-MessagePack: lua-MessagePack (Lua bindings for MessagePack)
-lua-MessagePack:
-lua-MessagePack: lua-MessagePack is a pure Lua implementation of MessagePack.
-lua-MessagePack:
-lua-MessagePack:
-lua-MessagePack:
-lua-MessagePack:
-lua-MessagePack:
-lua-MessagePack:
-lua-MessagePack:
-lua-MessagePack:
diff --git a/libraries/lua-cjson/lua-cjson.SlackBuild b/libraries/lua-cjson/lua-cjson.SlackBuild
index e60b43e8e8..8423875be8 100644
--- a/libraries/lua-cjson/lua-cjson.SlackBuild
+++ b/libraries/lua-cjson/lua-cjson.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-cjson
@@ -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.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip shared library.
+# - actually use SLKCFLAGS.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua-cjson
VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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,17 +76,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 {} \+
-make
+sed -i "/^CFLAGS/s,-O3,$SLKCFLAGS," 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
+make
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1
-cp -a cjson.so $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1
+install -s -m0755 cjson.so $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -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/libraries/lua-cmsgpack/README b/libraries/lua-cmsgpack/README
deleted file mode 100644
index 925e8a1d66..0000000000
--- a/libraries/lua-cmsgpack/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Lua-cmsgpack is a MessagePack implementation and bindings for Lua 5.1/5.2 in a
-self contained C file without external dependencies.
diff --git a/libraries/lua-cmsgpack/lua-cmsgpack.SlackBuild b/libraries/lua-cmsgpack/lua-cmsgpack.SlackBuild
deleted file mode 100644
index 5a6db1eec8..0000000000
--- a/libraries/lua-cmsgpack/lua-cmsgpack.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-
-# SlackBuild script for lua-cmsgpack
-
-# Copyright 2014 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=lua-cmsgpack
-VERSION=${VERSION:-0.3.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
-if [ -e $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$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 {} \;
-
-gcc $SLKCFLAGS -I/usr/include -c lua_cmsgpack.c -o lua_cmsgpack.o
-gcc -shared -o cmsgpack.so -L/usr/lib${LIBDIRSUFFIX} lua_cmsgpack.o
-
-# Manual install
-install -m 0755 -D cmsgpack.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/cmsgpack.so
-
-find $PKG -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 $PKG/usr/doc/$PRGNAM-$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/libraries/lua-cmsgpack/lua-cmsgpack.info b/libraries/lua-cmsgpack/lua-cmsgpack.info
deleted file mode 100644
index 46cdb90421..0000000000
--- a/libraries/lua-cmsgpack/lua-cmsgpack.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="lua-cmsgpack"
-VERSION="0.3.0"
-HOMEPAGE="https://github.com/antirez/lua-cmsgpack"
-DOWNLOAD="https://github.com/antirez/lua-cmsgpack/archive/0.3.0.tar.gz"
-MD5SUM="f96c551f9d8560c227bc20723383c74b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="lua"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/lua-cmsgpack/slack-desc b/libraries/lua-cmsgpack/slack-desc
deleted file mode 100644
index bb3cb976c8..0000000000
--- a/libraries/lua-cmsgpack/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-lua-cmsgpack: lua-cmsgpack (Lua bindings for MessagePack)
-lua-cmsgpack:
-lua-cmsgpack: Lua-cmsgpack is a MessagePack implementation and bindings for Lua
-lua-cmsgpack: 5.1/5.2 in a self contained C file without external dependencies.
-lua-cmsgpack:
-lua-cmsgpack:
-lua-cmsgpack:
-lua-cmsgpack:
-lua-cmsgpack:
-lua-cmsgpack:
-lua-cmsgpack:
diff --git a/libraries/lua-filesystem/lua-filesystem.SlackBuild b/libraries/lua-filesystem/lua-filesystem.SlackBuild
index 971a6d187f..81c71e84e4 100644
--- a/libraries/lua-filesystem/lua-filesystem.SlackBuild
+++ b/libraries/lua-filesystem/lua-filesystem.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-filesystem
@@ -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=lua-filesystem
SRCNAM=luafilesystem
VERSION=${VERSION:-1.6.3}
SRCVER=v_$(echo $VERSION | tr . _)
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}
@@ -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/libraries/lua-filesystem/lua-filesystem.info b/libraries/lua-filesystem/lua-filesystem.info
index 2b159a4d5c..d5ac178358 100644
--- a/libraries/lua-filesystem/lua-filesystem.info
+++ b/libraries/lua-filesystem/lua-filesystem.info
@@ -1,7 +1,7 @@
PRGNAM="lua-filesystem"
VERSION="1.6.3"
HOMEPAGE="http://keplerproject.github.com/luafilesystem/"
-DOWNLOAD="https://github.com/keplerproject/luafilesystem/archive/v_1_6_3.tar.gz"
+DOWNLOAD="https://github.com/keplerproject/luafilesystem/archive/v_1_6_3/luafilesystem-v_1_6_3.tar.gz"
MD5SUM="d0552c7e5a082f5bb2865af63fb9dc95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/lua-lpeg/README b/libraries/lua-lpeg/README
index 1ef11d574e..2953c759c3 100644
--- a/libraries/lua-lpeg/README
+++ b/libraries/lua-lpeg/README
@@ -1,11 +1,13 @@
-LPeg is a new pattern-matching library for Lua, based on Parsing Expression
-Grammars (PEGs).
+LPeg is a new pattern-matching library for Lua, based on Parsing
+Expression Grammars (PEGs).
-The library offers several functions to create and compose patterns. With the
-use of metamethods, several of these functions are provided as infix or prefix
-operators. On the one hand, the result is usually much more verbose than the
-typical encoding of patterns using the so called regular expressions (which
-typically are not regular expressions in the formal sense). On the other hand,
-first-class patterns allow much better documentation (as it is easy to comment
-the code, to break complex definitions in smaller parts, etc.) and are
-extensible, as we can define new functions to create and compose patterns.
+The library offers several functions to create and compose
+patterns. With the use of metamethods, several of these functions are
+provided as infix or prefix operators. On the one hand, the result is
+usually much more verbose than the typical encoding of patterns using
+the so called regular expressions (which typically are not regular
+expressions in the formal sense). On the other hand, first-class
+patterns allow much better documentation (as it is easy to comment
+the code, to break complex definitions in smaller parts, etc.) and
+are extensible, as we can define new functions to create and compose
+patterns.
diff --git a/libraries/lua-lpeg/lua-lpeg.SlackBuild b/libraries/lua-lpeg/lua-lpeg.SlackBuild
index 0780b1f939..b6771369df 100644
--- a/libraries/lua-lpeg/lua-lpeg.SlackBuild
+++ b/libraries/lua-lpeg/lua-lpeg.SlackBuild
@@ -1,7 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for lua-lpeg
+# Copyright 2024 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -22,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=lua-lpeg
SRCNAM=lpeg
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.1.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}
@@ -66,19 +75,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 {} \;
-make
-install -m 0755 -D lpeg.so $PKG/$(pkg-config --variable INSTALL_CMOD lua)/lpeg.so
-install -m 0644 -D re.lua $PKG/$(pkg-config --variable INSTALL_LMOD lua)/re.lua
+for v in "" "5.2" "5.3"; do
+ _pkgconfigv=$(echo $v | tr --delete .)
+ if pkg-config --exists lua$_pkgconfigv; then
+ make LUADIR=/usr/include/lua${v}/
+ install -m 0755 -D lpeg.so $PKG/$(pkg-config --variable INSTALL_CMOD lua$_pkgconfigv)/lpeg.so
+ install -m 0644 -D re.lua $PKG/$(pkg-config --variable INSTALL_LMOD lua$_pkgconfigv)/re.lua
+ make clean
+ fi
+done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a HISTORY $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a HISTORY 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/libraries/lua-lpeg/lua-lpeg.info b/libraries/lua-lpeg/lua-lpeg.info
index 5d1dcb435b..62c752efd6 100644
--- a/libraries/lua-lpeg/lua-lpeg.info
+++ b/libraries/lua-lpeg/lua-lpeg.info
@@ -1,10 +1,10 @@
PRGNAM="lua-lpeg"
-VERSION="1.0.2"
+VERSION="1.1.0"
HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
-DOWNLOAD="http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz"
-MD5SUM="d342571886f1abcb7afe6a83d024d583"
+DOWNLOAD="https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz"
+MD5SUM="842a538b403b5639510c9b6fffd2c75b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/lua-luv/README b/libraries/lua-luv/README
index 418e80f7e5..f94d15c66d 100644
--- a/libraries/lua-luv/README
+++ b/libraries/lua-luv/README
@@ -1,6 +1,7 @@
-This library makes libuv available to lua scripts. It was made for the luvit
-project but should usable from nearly any lua project.
+This library makes libuv available to lua scripts. It was made for the
+luvit project but should usable from nearly any lua project.
-The library can be used by multiple threads at once. Each thread is assumed to
-load the library from a different lua_State. Luv will create a unique uv_loop_t
-for each state. You can't share uv handles between states/loops.
+The library can be used by multiple threads at once. Each thread
+is assumed to load the library from a different lua_State. Luv will
+create a unique uv_loop_t for each state. You can't share uv handles
+between states/loops.
diff --git a/libraries/lua-luv/lua-luv.SlackBuild b/libraries/lua-luv/lua-luv.SlackBuild
index ce1ed788ce..d7866fd86a 100644
--- a/libraries/lua-luv/lua-luv.SlackBuild
+++ b/libraries/lua-luv/lua-luv.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for lua-luv
-# Copyright 2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
+# Copyright 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +23,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=lua-luv
-VERSION=${VERSION:-1.32.0_0}
+VERSION=${VERSION:-1.43.0_0}
SRCVER=$(echo $VERSION | tr _ -)
COMPATNAM=lua-compat-5.3
-COMPATVER=0.7
+COMPATVER=0.9
COMPATSRC=$COMPATNAM-$COMPATVER
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=luv
@@ -41,7 +45,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 +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/libraries/lua-luv/lua-luv.info b/libraries/lua-luv/lua-luv.info
index bdce22938b..b39df3b942 100644
--- a/libraries/lua-luv/lua-luv.info
+++ b/libraries/lua-luv/lua-luv.info
@@ -1,12 +1,12 @@
PRGNAM="lua-luv"
-VERSION="1.32.0_0"
+VERSION="1.43.0_0"
HOMEPAGE="https://github.com/luvit/luv"
-DOWNLOAD="https://github.com/luvit/luv/archive/1.32.0-0/luv-1.32.0-0.tar.gz \
- https://github.com/keplerproject/lua-compat-5.3/archive/v0.7/lua-compat-5.3-0.7.tar.gz"
-MD5SUM="dc96791ee9d8211cc357b08b1f9894d6 \
- 61c3f1af0d7d587f602ac4a13d77a823"
+DOWNLOAD="https://github.com/luvit/luv/archive/1.43.0-0/luv-1.43.0-0.tar.gz \
+ https://github.com/keplerproject/lua-compat-5.3/archive/v0.9/lua-compat-5.3-0.9.tar.gz"
+MD5SUM="a7d135cd9680cfa761ab5e4e08f147a0 \
+ 7c0530123479804e40971b069ea6b0da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libuv luajit"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES="luajit"
+MAINTAINER="Ruben Schuller"
+EMAIL="sb@rbn.im"
diff --git a/libraries/lua-md5/lua-md5.SlackBuild b/libraries/lua-md5/lua-md5.SlackBuild
index 3726e3f179..cd1fce633b 100644
--- a/libraries/lua-md5/lua-md5.SlackBuild
+++ b/libraries/lua-md5/lua-md5.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-md5
@@ -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.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua-md5
SRCNAM=md5
VERSION=${VERSION:-1.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,9 +78,9 @@ 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 {} \+
# Added upstream patches to make it buildable
# https://github.com/keplerproject/md5/commit/d6719be4d52ca06e29bc5dd92c98fd03538ecec9
@@ -89,19 +99,16 @@ sed -i \
make
# Manual install
-install -m 0755 -D src/core.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/md5/core.so
-install -m 0755 -D src/des56.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/des56.so
-install -m 0644 -D src/md5.lua $PKG/usr/share/lua/5.1/md5.lua
-
-find $PKG -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 -s -m 0755 -D src/core.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/md5/core.so
+install -s -m 0755 -D src/des56.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/des56.so
+install -m 0644 -D src/md5.lua $PKG/usr/share/lua/5.1/md5.lua
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 $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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/lua-md5/lua-md5.info b/libraries/lua-md5/lua-md5.info
index 37fafff518..07382e377a 100644
--- a/libraries/lua-md5/lua-md5.info
+++ b/libraries/lua-md5/lua-md5.info
@@ -1,7 +1,7 @@
PRGNAM="lua-md5"
VERSION="1.2"
HOMEPAGE="http://keplerproject.github.io/md5/"
-DOWNLOAD="https://github.com/keplerproject/md5/archive/v1.2.tar.gz"
+DOWNLOAD="https://github.com/keplerproject/md5/archive/v1.2/md5-1.2.tar.gz"
MD5SUM="c166f8a983401802a86655a8c733441e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/lua-mpack/README b/libraries/lua-mpack/README
index dcafb818ae..0259311b02 100644
--- a/libraries/lua-mpack/README
+++ b/libraries/lua-mpack/README
@@ -1,2 +1,2 @@
-lua-mpack is a small binary serialization/RPC library that implements both the
-msgpack and msgpack-rpc specifications for lua.
+lua-mpack is a small binary serialization/RPC library that implements
+both the msgpack and msgpack-rpc specifications for lua.
diff --git a/libraries/lua-mpack/lua-mpack.SlackBuild b/libraries/lua-mpack/lua-mpack.SlackBuild
index 7f03faef72..4a8db6cd36 100644
--- a/libraries/lua-mpack/lua-mpack.SlackBuild
+++ b/libraries/lua-mpack/lua-mpack.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for lua-mpack
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
# Copyright 2016-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -22,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=lua-mpack
SRCNAM=libmpack-lua
VERSION=${VERSION:-1.0.8}
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}
@@ -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/libraries/lua-mpack/lua-mpack.info b/libraries/lua-mpack/lua-mpack.info
index c5cf33583d..de5dfdf2d8 100644
--- a/libraries/lua-mpack/lua-mpack.info
+++ b/libraries/lua-mpack/lua-mpack.info
@@ -6,5 +6,5 @@ MD5SUM="ea3affb4c4168111e2be067d98d3a5c6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Ruben Schuller"
+EMAIL="sb@rbn.im"
diff --git a/libraries/lua-posix/README b/libraries/lua-posix/README
index 51e11febe1..685c688561 100644
--- a/libraries/lua-posix/README
+++ b/libraries/lua-posix/README
@@ -1,5 +1,10 @@
A library binding various POSIX APIs. POSIX is the IEEE Portable
Operating System Interface standard. luaposix is based on lposix.
-Optional Dependency: lua52, lua53.
+This require one version of Lua installed (lua, lua52, lua53, luajit):
Default support for all versions of Lua installed before build.
+To specify which Lua versions:
+ LUAVER="vers"
+
+"vers" must be one or more of "5.1 5.2 5.3 jit", in the right order,
+separated with space
diff --git a/libraries/lua-posix/lua-posix.SlackBuild b/libraries/lua-posix/lua-posix.SlackBuild
index dd351655c2..4ce4222738 100644
--- a/libraries/lua-posix/lua-posix.SlackBuild
+++ b/libraries/lua-posix/lua-posix.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-posix
-# Copyright 2019 abooksigun <abooksigun09@gmail.com>
+# Copyright 2020 abooksigun <abooksigun09@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,11 +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=lua-posix
SRCNAM=luaposix
-VERSION=${VERSION:-34.1.1}
+VERSION=${VERSION:-35.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,21 +79,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-build-aux/luke all
-build-aux/luke PREFIX=$PKG/usr install
+LUAVER=${LUAVER:-"5.1 5.2 5.3 5.4 jit"}
-# lua 5.2 support.
-if $(lua5.2 -v &> /dev/null); then
- sed -i '1s|lua.*|lua5.2|' build-aux/luke
- build-aux/luke all
- build-aux/luke PREFIX=$PKG/usr install
-fi
+for i in $LUAVER
+do
+ if [ $i != 5.1 ]; then ver=$i; fi
+ if $(lua$ver -v &> /dev/null)
+ then
+ sed -i "1s|lua.*|lua$ver|" build-aux/luke
+ build-aux/luke all
+ build-aux/luke PREFIX=$PKG/usr install
+ fi
+done
-# lua 5.3 support
-if $(lua5.3 -v &> /dev/null); then
- sed -i '1s|lua.*|lua5.3|' build-aux/luke
- build-aux/luke all
- build-aux/luke PREFIX=$PKG/usr install
+if [ -e $PKG/usr/lib ] && [ ! -z "$LIBDIRSUFFIX" ]; then
+ mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
fi
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -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/libraries/lua-posix/lua-posix.info b/libraries/lua-posix/lua-posix.info
index d2afb78d23..009df7ef72 100644
--- a/libraries/lua-posix/lua-posix.info
+++ b/libraries/lua-posix/lua-posix.info
@@ -1,8 +1,8 @@
PRGNAM="lua-posix"
-VERSION="34.1.1"
+VERSION="35.0"
HOMEPAGE="https://github.com/luaposix/luaposix/"
-DOWNLOAD="https://github.com/luaposix/luaposix/archive/v34.1.1/luaposix-34.1.1.tar.gz"
-MD5SUM="83130630b4c87c9764d307d8653301a0"
+DOWNLOAD="https://github.com/luaposix/luaposix/archive/v35.0/luaposix-35.0.tar.gz"
+MD5SUM="b76815223b3cb2670f97cdbd14cca496"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua-std.normalize"
diff --git a/libraries/lua-readline/lua-readline.SlackBuild b/libraries/lua-readline/lua-readline.SlackBuild
index 460d3f2b90..f2ec41e0ab 100644
--- a/libraries/lua-readline/lua-readline.SlackBuild
+++ b/libraries/lua-readline/lua-readline.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-readline
-# Copyright 2019 abooksigun <abooksigun09@gmail.com>
+# Copyright 2021 abooksigun <abooksigun09@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,11 +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=lua-readline
SRCNAM=readline
-VERSION=${VERSION:-2.5}
+VERSION=${VERSION:-2.9}
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,29 +79,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-gcc $SLKCFLAGS -I /usr/include -c C-readline.c -o C-readline.o
-gcc $SLKCFLAGS -shared -o C-readline.so C-readline.o
-
-install -D -m 0755 C-readline.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/C-readline.so
-install -D -m 0644 readline.lua $PKG/usr/share/lua/5.1/readline.lua
-
-# lua 5.2 support.
-if $(lua5.2 -v &> /dev/null); then
- gcc $SLKCFLAGS -I /usr/include/lua5.2 -c C-readline.c -o C-readline.o
- gcc $SLKCFLAGS -shared -o C-readline.so.5.2 C-readline.o
-
- install -D -m 0755 C-readline.so.5.2 $PKG/usr/lib$LIBDIRSUFFIX/lua/5.2/C-readline.so
- install -D -m 0644 readline.lua $PKG/usr/share/lua/5.2/readline.lua
-fi
-
-# lua 5.3 support
-if $(lua5.3 -v &> /dev/null); then
- gcc $SLKCFLAGS -I /usr/include/lua5.3 -c C-readline.c -o C-readline.o
- gcc $SLKCFLAGS -shared -o C-readline.so.5.3 C-readline.o
-
- install -D -m 0755 C-readline.so.5.3 $PKG/usr/lib$LIBDIRSUFFIX/lua/5.3/C-readline.so
- install -D -m 0644 readline.lua $PKG/usr/share/lua/5.3/readline.lua
-fi
+LUAVERS="5.1 5.2 5.3 5.4"
+
+for luaver in $LUAVERS
+do
+ if [ $luaver != 5.1 ]; then version=$luaver dir=lua$version; fi
+ if $(lua$version -v &> /dev/null)
+ then
+ gcc $SLKCFLAGS -I /usr/include/$dir -c C-readline.c -o C-readline.o
+ gcc $SLKCFLAGS -shared -o C-readline.so.$luaver C-readline.o
+
+ install -D -m 0755 C-readline.so.$luaver $PKG/usr/lib$LIBDIRSUFFIX/lua/$luaver/C-readline.so
+ install -D -m 0644 readline.lua $PKG/usr/share/lua/$luaver/readline.lua
+ fi
+done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -105,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/libraries/lua-readline/lua-readline.info b/libraries/lua-readline/lua-readline.info
index 7c0d9b4576..6c8455a684 100644
--- a/libraries/lua-readline/lua-readline.info
+++ b/libraries/lua-readline/lua-readline.info
@@ -1,8 +1,8 @@
PRGNAM="lua-readline"
-VERSION="2.5"
+VERSION="2.9"
HOMEPAGE="http://www.pjb.com.au/comp/lua/readline.html"
-DOWNLOAD="http://www.pjb.com.au/comp/lua/readline-2.5.tar.gz"
-MD5SUM="fe1156b5b30cfc42999099e7061df6bb"
+DOWNLOAD="http://www.pjb.com.au/comp/lua/readline-2.9.tar.gz"
+MD5SUM="9423302e81cad9a2b9f0fbfd0b39b5a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua-posix"
diff --git a/libraries/lua-readline/slack-desc b/libraries/lua-readline/slack-desc
index cf5b62695e..566ea2ce2a 100644
--- a/libraries/lua-readline/slack-desc
+++ b/libraries/lua-readline/slack-desc
@@ -11,7 +11,7 @@ lua-readline:
lua-readline: This Lua module offers a simple calling interface
lua-readline: to the GNU Readline/History Library.
lua-readline:
-lua-readline: Homepage: http://www.pjb.com.au/comp/lua/readline-2.5.tar.gz
+lua-readline: Homepage: http://www.pjb.com.au/comp/lua/readline.html
lua-readline:
lua-readline:
lua-readline:
diff --git a/libraries/lua-std._debug/lua-std._debug.SlackBuild b/libraries/lua-std._debug/lua-std._debug.SlackBuild
index 59404cac06..9a93738e1a 100644
--- a/libraries/lua-std._debug/lua-std._debug.SlackBuild
+++ b/libraries/lua-std._debug/lua-std._debug.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-std._debug
# Copyright 2019 abooksigun <abooksigun09@gmail.com>
@@ -21,11 +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=lua-std._debug
SRCNAM=_debug
VERSION=${VERSION:-1.0.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/libraries/lua-std.normalize/lua-std.normalize.SlackBuild b/libraries/lua-std.normalize/lua-std.normalize.SlackBuild
index 515a20af9f..b489c42d35 100644
--- a/libraries/lua-std.normalize/lua-std.normalize.SlackBuild
+++ b/libraries/lua-std.normalize/lua-std.normalize.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-std.normalize
-# Copyright 2019 abooksigun <abooksigun09@gmail.com>
+# Copyright 2020 abooksigun <abooksigun09@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,11 +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=lua-std.normalize
SRCNAM=normalize
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.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}
@@ -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/libraries/lua-std.normalize/lua-std.normalize.info b/libraries/lua-std.normalize/lua-std.normalize.info
index 95fe135f41..3ebd4af1fe 100644
--- a/libraries/lua-std.normalize/lua-std.normalize.info
+++ b/libraries/lua-std.normalize/lua-std.normalize.info
@@ -1,8 +1,8 @@
PRGNAM="lua-std.normalize"
-VERSION="2.0.2"
+VERSION="2.0.3"
HOMEPAGE="https://lua-stdlib.github.io/normalize/"
-DOWNLOAD="https://github.com/lua-stdlib/normalize/archive/v2.0.2/normalize-2.0.2.tar.gz"
-MD5SUM="ef79927f6d272182bf5d4fdc5e89dd8f"
+DOWNLOAD="https://github.com/lua-stdlib/normalize/archive/v2.0.3/normalize-2.0.3.tar.gz"
+MD5SUM="a13b97767f4006ec190fdf20fd50fada"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua-std._debug"
diff --git a/libraries/lua-zlib/lua-zlib.SlackBuild b/libraries/lua-zlib/lua-zlib.SlackBuild
index 6d2b26adff..82e6628f0b 100644
--- a/libraries/lua-zlib/lua-zlib.SlackBuild
+++ b/libraries/lua-zlib/lua-zlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lua-zlib
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lua-zlib
HASH=${HASH:-c0014bcbc4c3fd65ba3519b10965f0c184c1a059}
VERSION=${VERSION:-20140201_c0014bc}
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="-march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-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/libraries/lua-zlib/lua-zlib.info b/libraries/lua-zlib/lua-zlib.info
index 7dd388ce7f..4850711d5f 100644
--- a/libraries/lua-zlib/lua-zlib.info
+++ b/libraries/lua-zlib/lua-zlib.info
@@ -1,7 +1,7 @@
PRGNAM="lua-zlib"
VERSION="20140201_c0014bc"
HOMEPAGE="https://github.com/brimworks/lua-zlib"
-DOWNLOAD="https://github.com/brimworks/lua-zlib/archive/c0014bcbc4c3fd65ba3519b10965f0c184c1a059.tar.gz"
+DOWNLOAD="https://github.com/brimworks/lua-zlib/archive/c0014bcbc4c3fd65ba3519b10965f0c184c1a059/lua-zlib-c0014bcbc4c3fd65ba3519b10965f0c184c1a059.tar.gz"
MD5SUM="3ba445324203e4e0beb2bc1cd93c547a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/lua53-filesystem/README b/libraries/lua53-filesystem/README
new file mode 100644
index 0000000000..351268cd98
--- /dev/null
+++ b/libraries/lua53-filesystem/README
@@ -0,0 +1,5 @@
+LuaFileSystem is a Lua library developed to complement the set
+of functions related to filesystems offered by the standard
+Lua distribution.
+LuaFileSystem offers a portable way to access the underlying
+directory structure and file attributes.
diff --git a/libraries/lua53-filesystem/lua53-filesystem.SlackBuild b/libraries/lua53-filesystem/lua53-filesystem.SlackBuild
new file mode 100644
index 0000000000..c807cbdadf
--- /dev/null
+++ b/libraries/lua53-filesystem/lua53-filesystem.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for lua53-filesystem
+
+# 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=lua53-filesystem
+SRCNAM=luafilesystem
+VERSION=${VERSION:-1.6.3}
+SRCVER=v_$(echo $VERSION | tr . _)
+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-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.?z* || tar xvf $CWD/$SRCVER.tar.?z*
+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 {} \;
+
+sed -i \
+ -e "s|/usr/local|/usr|" \
+ -e "s|/lib|/lib$LIBDIRSUFFIX|" \
+ -e "s|-O2 -Wall -fPIC|$SLKCFLAGS -Wall|" \
+ -e 's/5\.1/5.3/g' \
+ -e 's|LUA_INC= $(PREFIX)/include|LUA_INC= $(PREFIX)/include/lua5.3|g' \
+ config || exit 1
+make
+install -m 0755 -D src/lfs.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.3/lfs.so
+install -m 0644 -D src/lfs.h $PKG/usr/include/lua5.3/lfs.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/html
+cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/us/* $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/libraries/lua53-filesystem/lua53-filesystem.info b/libraries/lua53-filesystem/lua53-filesystem.info
new file mode 100644
index 0000000000..7370c7ea0d
--- /dev/null
+++ b/libraries/lua53-filesystem/lua53-filesystem.info
@@ -0,0 +1,10 @@
+PRGNAM="lua53-filesystem"
+VERSION="1.6.3"
+HOMEPAGE="http://keplerproject.github.com/luafilesystem/"
+DOWNLOAD="https://github.com/keplerproject/luafilesystem/archive/v_1_6_3/luafilesystem-v_1_6_3.tar.gz"
+MD5SUM="d0552c7e5a082f5bb2865af63fb9dc95"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lua53"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.lua53-filesystem_2023-06-04@lockywolf.net"
diff --git a/libraries/lua53-filesystem/slack-desc b/libraries/lua53-filesystem/slack-desc
new file mode 100644
index 0000000000..2515a1d265
--- /dev/null
+++ b/libraries/lua53-filesystem/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------------------------------------------------------|
+lua53-filesystem: lua53-filesystem (lua filesystem library)
+lua53-filesystem:
+lua53-filesystem: LuaFileSystem is a Lua library developed to complement the set
+lua53-filesystem: of functions related to filesystems offered by the standard
+lua53-filesystem: Lua distribution.
+lua53-filesystem: LuaFileSystem offers a portable way to access the underlying
+lua53-filesystem: directory structure and file attributes.
+lua53-filesystem:
+lua53-filesystem: This version is for lua5.3 and should co-exist with the one for 5.1
+lua53-filesystem: pkg-config file is not installed. If anybody needs it, contact
+lua53-filesystem: the maintainer.
diff --git a/libraries/luacrypto/luacrypto.SlackBuild b/libraries/luacrypto/luacrypto.SlackBuild
index fc7995e3ae..580ef918ba 100644
--- a/libraries/luacrypto/luacrypto.SlackBuild
+++ b/libraries/luacrypto/luacrypto.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luacrypto
-# Copyright 2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2021 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=luacrypto
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.5.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"
@@ -62,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || tar xvf $CWD/$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -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/libraries/luacrypto/luacrypto.info b/libraries/luacrypto/luacrypto.info
index 83525a237f..a4fcf1e016 100644
--- a/libraries/luacrypto/luacrypto.info
+++ b/libraries/luacrypto/luacrypto.info
@@ -1,8 +1,8 @@
PRGNAM="luacrypto"
-VERSION="0.3.2"
-HOMEPAGE="http://mkottman.github.io/luacrypto/"
-DOWNLOAD="https://github.com/mkottman/luacrypto/archive/0.3.2.tar.gz"
-MD5SUM="07271929beec760a42eff012803490a1"
+VERSION="0.5.1"
+HOMEPAGE="https://github.com/evanlabs/luacrypto"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/luacrypto-0.5.1.tar.gz"
+MD5SUM="eda5f7e5bed499fe0c86934bb85519de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/libraries/luadbi/luadbi.SlackBuild b/libraries/luadbi/luadbi.SlackBuild
index 52778f90b8..18c236c00d 100644
--- a/libraries/luadbi/luadbi.SlackBuild
+++ b/libraries/luadbi/luadbi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luadbi
@@ -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=luadbi
-VERSION=${VERSION:-0.5}
+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}
@@ -51,8 +61,8 @@ OUTPUT=${OUTPUT:-/tmp}
DBs=${DBs:-mysql sqlite3}
-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,38 +81,37 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM.$VERSION.tar.gz -C ./$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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Getting default cflags from makefile then append slkcflags to 'em and passing to make
-_CFLAGS=`cat Makefile |grep ^CFLAGS |sed "s,CFLAGS\=,,g" |sed "s,\/usr\/include\/postgresql\/,\/usr\/include\/postgresql\/server\/,g"`" "${SLKCFLAGS}
make \
$DBs \
- CFLAGS="$_CFLAGS"
-
-# Installing:
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1
-mkdir -p $PKG/usr/share/lua/5.1/
-for i in dbdmysql.so dbdpostgresql.so dbdsqlite3.so dbddb2.so dbdoracle.so; do
-if [ -f "$i" ]; then
-cp $i $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1
-fi
+ LUA_V=5.1 \
+ LUA_CDIR=$PKG/usr/lib$LIBDIRSUFFIX/lua/5.1 \
+ LUA_LDIR=$PKG/usr/share/lua/5.1 \
+ CFLAGS="$SLKCFLAGS"
+
+for t in $DBs ; do
+make \
+ install_$t \
+ LUA_V=5.1 \
+ LUA_CDIR=$PKG/usr/lib$LIBDIRSUFFIX/lua/5.1 \
+ LUA_LDIR=$PKG/usr/share/lua/5.1 \
+ CFLAGS="$SLKCFLAGS"
done
-cp DBI.lua $PKG/usr/share/lua/5.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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING INSTALL README \
+ COPYING INSTALL README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -110,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/libraries/luadbi/luadbi.info b/libraries/luadbi/luadbi.info
index 355412457d..9acd7b5158 100644
--- a/libraries/luadbi/luadbi.info
+++ b/libraries/luadbi/luadbi.info
@@ -1,8 +1,8 @@
PRGNAM="luadbi"
-VERSION="0.5"
-HOMEPAGE="https://luarocks.org/modules/luarocks/luadbi"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/luadbi/luadbi.0.5.tar.gz"
-MD5SUM="ede2b003aadddc151aac87050c3d926e"
+VERSION="0.7.2"
+HOMEPAGE="https://github.com/mwild1/luadbi"
+DOWNLOAD="https://github.com/mwild1/luadbi/archive/v0.7.2/luadbi-0.7.2.tar.gz"
+MD5SUM="8e80fdc9ea25845c17e9268b75980b85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/libraries/luaevent/luaevent.SlackBuild b/libraries/luaevent/luaevent.SlackBuild
index 4913183523..479f4f66d6 100644
--- a/libraries/luaevent/luaevent.SlackBuild
+++ b/libraries/luaevent/luaevent.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luaevent
@@ -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=luaevent
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=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/libraries/luaevent/luaevent.info b/libraries/luaevent/luaevent.info
index 61fe5131f0..092d887b88 100644
--- a/libraries/luaevent/luaevent.info
+++ b/libraries/luaevent/luaevent.info
@@ -1,7 +1,7 @@
PRGNAM="luaevent"
VERSION="0.4.3"
HOMEPAGE="https://github.com/harningt/luaevent"
-DOWNLOAD="https://github.com/harningt/luaevent/archive/v0.4.3.tar.gz"
+DOWNLOAD="https://github.com/harningt/luaevent/archive/v0.4.3/luaevent-0.4.3.tar.gz"
MD5SUM="3d0efc3d3751fddecedba0c25e0652df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/luaexpat/luaexpat.SlackBuild b/libraries/luaexpat/luaexpat.SlackBuild
index 8bcec5ebbc..18d9767619 100644
--- a/libraries/luaexpat/luaexpat.SlackBuild
+++ b/libraries/luaexpat/luaexpat.SlackBuild
@@ -1,10 +1,12 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luaexpat
# Copyright 2013-2014, Andrew Tkalia <anddt@yandex.ua>, Ukraine, Kyiv
# All rights reserved.
#
+# Maintained by Gerardo Zamudio <gerardo.zamudio@linux.com>
+#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -22,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=luaexpat
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -84,7 +96,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- doc/us/*.* README tests \
+ docs/*.* README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -92,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/libraries/luaexpat/luaexpat.info b/libraries/luaexpat/luaexpat.info
index 13d7c79c93..34869598b5 100644
--- a/libraries/luaexpat/luaexpat.info
+++ b/libraries/luaexpat/luaexpat.info
@@ -1,8 +1,8 @@
PRGNAM="luaexpat"
-VERSION="1.3.0"
-HOMEPAGE="https://matthewwild.co.uk/projects/luaexpat/"
-DOWNLOAD="https://matthewwild.co.uk/projects/luaexpat/luaexpat-1.3.0.tar.gz"
-MD5SUM="3c20b5795e7107f847f8da844fbfe2da"
+VERSION="1.5.1"
+HOMEPAGE="https://lunarmodules.github.io/luaexpat/index.html"
+DOWNLOAD="https://github.com/lunarmodules/luaexpat/archive/1.5.1/luaexpat-1.5.1.tar.gz"
+MD5SUM="3656fb29127c725cd2669f5af8ca35c0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/libraries/luaexpat/slack-desc b/libraries/luaexpat/slack-desc
index 82c993cd10..a2684c5165 100644
--- a/libraries/luaexpat/slack-desc
+++ b/libraries/luaexpat/slack-desc
@@ -11,7 +11,7 @@ luaexpat:
luaexpat: LuaExpat is a SAX XML parser based on the Expat library. LuaExpat is
luaexpat: free software and uses the same license as Lua 5.1.
luaexpat:
-luaexpat:
+luaexpat: https://lunarmodules.github.io/luaexpat/index.html
luaexpat:
luaexpat:
luaexpat:
diff --git a/libraries/luasec/luasec.SlackBuild b/libraries/luasec/luasec.SlackBuild
index 4744c092e1..fbb6f1d02d 100644
--- a/libraries/luasec/luasec.SlackBuild
+++ b/libraries/luasec/luasec.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luasec
@@ -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=luasec
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-1.3.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}
@@ -61,9 +71,9 @@ 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
+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 \
@@ -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/libraries/luasec/luasec.info b/libraries/luasec/luasec.info
index e38025def6..d39e74898f 100644
--- a/libraries/luasec/luasec.info
+++ b/libraries/luasec/luasec.info
@@ -1,8 +1,8 @@
PRGNAM="luasec"
-VERSION="0.8.2"
+VERSION="1.3.1"
HOMEPAGE="https://github.com/brunoos/luasec"
-DOWNLOAD="https://github.com/brunoos/luasec/archive/luasec-0.8.2/luasec-luasec-0.8.2.tar.gz"
-MD5SUM="2898af6a094f63c9e582f907f09758e4"
+DOWNLOAD="https://github.com/brunoos/luasec/archive/v1.3.1/luasec-1.3.1.tar.gz"
+MD5SUM="73cbbeb8bb50cd7da5b7e929040dd656"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/libraries/luasocket/luasocket.SlackBuild b/libraries/luasocket/luasocket.SlackBuild
index e587b4290c..9edcb452b0 100644
--- a/libraries/luasocket/luasocket.SlackBuild
+++ b/libraries/luasocket/luasocket.SlackBuild
@@ -1,10 +1,12 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luasocket
# Copyright 2013-2014, Andrew Tkalia <anddt@yandex.ua>, Ukraine, Kyiv
# All rights reserved.
#
+# Maintained by Gerardo Zamudio <gerardo.zamudio@linux.com>
+#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -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=luasocket
-VERSION=${VERSION:-3.0_rc1}
-SRCVER=3.0-rc1
+VERSION=${VERSION:-3.1.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}
@@ -60,9 +71,9 @@ 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
+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 \
@@ -79,7 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/*.* FIX LICENSE NEW README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/*.* FIX LICENSE CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
for i in samples etc test ; do
tar zcvf $PKG/usr/doc/$PRGNAM-$VERSION/$i.tar.gz $i
done
@@ -91,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/libraries/luasocket/luasocket.info b/libraries/luasocket/luasocket.info
index 55cc90fdd5..1248db110b 100644
--- a/libraries/luasocket/luasocket.info
+++ b/libraries/luasocket/luasocket.info
@@ -1,8 +1,8 @@
PRGNAM="luasocket"
-VERSION="3.0_rc1"
-HOMEPAGE="https://github.com/diegonehab/luasocket"
-DOWNLOAD="https://github.com/diegonehab/luasocket/archive/v3.0-rc1/luasocket-3.0-rc1.tar.gz"
-MD5SUM="08bd2f265b244eb4bf5c2c36bf89b759"
+VERSION="3.1.0"
+HOMEPAGE="https://lunarmodules.github.io/luasocket/"
+DOWNLOAD="https://github.com/lunarmodules/luasocket/archive/v3.1.0/luasocket-3.1.0.tar.gz"
+MD5SUM="abeca2891168914b57460b0ba9f9090f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"
diff --git a/libraries/lunasvg/README b/libraries/lunasvg/README
new file mode 100644
index 0000000000..aa06aa3995
--- /dev/null
+++ b/libraries/lunasvg/README
@@ -0,0 +1 @@
+ LunaSVG - SVG rendering library in C++
diff --git a/libraries/lunasvg/lunasvg.SlackBuild b/libraries/lunasvg/lunasvg.SlackBuild
new file mode 100644
index 0000000000..f456285c9a
--- /dev/null
+++ b/libraries/lunasvg/lunasvg.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for lunasvg
+
+# 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=lunasvg
+VERSION=${VERSION:-2.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 [ "${ARM:-no}" == "yes" ]; then
+ GEM5_CONFIG="ARM"
+fi
+
+# fix lib installation path
+sed -i 's#${CMAKE_INSTALL_PREFIX}/lib#&'${LIBDIRSUFFIX}'#' CMakeLists.txt
+
+rm -fr build
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLUNASVG_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DBUILD_SHARED_LIBS=ON \
+ $OPT_BUILD \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# install example
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a example $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
+
+find $PKG -depth -type d -empty -delete || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE luna.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/libraries/lunasvg/lunasvg.info b/libraries/lunasvg/lunasvg.info
new file mode 100644
index 0000000000..acba142935
--- /dev/null
+++ b/libraries/lunasvg/lunasvg.info
@@ -0,0 +1,10 @@
+PRGNAM="lunasvg"
+VERSION="2.3.4"
+HOMEPAGE="https://github.com/sammycage/lunasvg"
+DOWNLOAD="https://github.com/sammycage/lunasvg/archive/v2.3.4/lunasvg-2.3.4.tar.gz"
+MD5SUM="45c670235f9b520e5b9bad57024005a4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/lunasvg/slack-desc b/libraries/lunasvg/slack-desc
new file mode 100644
index 0000000000..dac439945f
--- /dev/null
+++ b/libraries/lunasvg/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------------------------------------------------------|
+lunasvg: lunasvg (LunaSVG - SVG rendering library in C++)
+lunasvg:
+lunasvg:
+lunasvg:
+lunasvg:
+lunasvg: LunaSVG - SVG rendering library in C++
+lunasvg:
+lunasvg:
+lunasvg:
+lunasvg:
+lunasvg:
diff --git a/libraries/lunatic-python/README b/libraries/lunatic-python/README
index 44a0653e5d..03858ddb28 100644
--- a/libraries/lunatic-python/README
+++ b/libraries/lunatic-python/README
@@ -1,4 +1,4 @@
-Lunatic Python is a two-way bridge between Python and Lua, allowing these
-languages to intercommunicate. Being two-way means that it allows Lua inside
-Python, Python inside Lua, Lua inside Python inside Lua, Python inside Lua
-inside Python, and so on.
+Lunatic Python is a two-way bridge between Python and Lua, allowing
+these languages to intercommunicate. Being two-way means that it
+allows Lua inside Python, Python inside Lua, Lua inside Python inside
+Lua, Python inside Lua inside Python, and so on.
diff --git a/libraries/lunatic-python/lunatic-python.SlackBuild b/libraries/lunatic-python/lunatic-python.SlackBuild
index d48837bf7e..b9302ff198 100644
--- a/libraries/lunatic-python/lunatic-python.SlackBuild
+++ b/libraries/lunatic-python/lunatic-python.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lunatic-python-bugfix
@@ -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=lunatic-python
SRCNAM=lunatic-python-bugfix
VERSION=${VERSION:-1.1.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}
@@ -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/lunatic-python-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/lvtk/README b/libraries/lvtk/README
index 2ed61b53b3..368ad037d8 100644
--- a/libraries/lvtk/README
+++ b/libraries/lvtk/README
@@ -4,9 +4,9 @@ LV2 Toolkit is a set C++ wrappers around the LV2 C API. The included
libraries ease writing LV2 plugins and UIs in C++ by inheriting from
easy to use template classes.
-If you want to build the API documentation, install graphviz, then export
-DOCS=yes before running lvtk.SlackBuild. This is only useful if you plan
-to develop your own code that uses lvtk. The docs take up 4MB of space
-in /usr/doc/lvtk-$VERSION/html/ (which makes the package 5x the size it
-would be without the docs). Also, the example plugins will be installed
-in /usr/lib(64)?/lv2/ltvk.lv2/, for another 500KB or so.
+If you want to build the API documentation, install graphviz, then
+export DOCS=yes before running lvtk.SlackBuild. This is only useful if
+you plan to develop your own code that uses lvtk. The docs take up 4MB
+of space in /usr/doc/lvtk-$VERSION/html/ (which makes the package 5x
+the size it would be without the docs). Also, the example plugins will
+be installed in /usr/lib(64)?/lv2/ltvk.lv2/, for another 500KB or so.
diff --git a/libraries/lvtk/lvtk.SlackBuild b/libraries/lvtk/lvtk.SlackBuild
index eb874c4586..bcc0bc513b 100644
--- a/libraries/lvtk/lvtk.SlackBuild
+++ b/libraries/lvtk/lvtk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lvtk
-# 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.
@@ -12,10 +12,13 @@
# - Update for v1.2.0
# - Install the example plugins if DOCS=yes. They were already being built.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lvtk
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -25,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}
@@ -53,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
@@ -94,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/libraries/lvtk/lvtk.info b/libraries/lvtk/lvtk.info
index 82e7319996..a8c904c3b5 100644
--- a/libraries/lvtk/lvtk.info
+++ b/libraries/lvtk/lvtk.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lv2"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
index 6d7a11dc22..9f8403e6ec 100644
--- a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
+++ b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for lxqt-build-tools
#
# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# Copyright 2018-2019 Matteo Bernardini, Pisa, Italy.
+# Copyright 2018-2022 Matteo Bernardini, Pisa, Italy.
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,45 +24,32 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="lxqt-build-tools"
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
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
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 . \
@@ -70,11 +58,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 {} \;
-# glib2 >= 2.50 is actually needed to build all of the LXQt components,
-# but we can't have them on 14.2 because we lack kde framework 5, so we
-# force a lower requirement to let us use this for what we can
-sed -i "s|2\.50|2.46|" CMakeLists.txt || exit 1
-
mkdir build
cd build
cmake \
@@ -98,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/libraries/lxqt-build-tools/lxqt-build-tools.info b/libraries/lxqt-build-tools/lxqt-build-tools.info
index c3ec2db312..69a95e8278 100644
--- a/libraries/lxqt-build-tools/lxqt-build-tools.info
+++ b/libraries/lxqt-build-tools/lxqt-build-tools.info
@@ -1,10 +1,10 @@
PRGNAM="lxqt-build-tools"
-VERSION="0.6.0"
-HOMEPAGE="https://github.com/lxde/lxqt-build-tools"
-DOWNLOAD="https://github.com/lxde/lxqt-build-tools/archive/0.6.0/lxqt-build-tools-0.6.0.tar.gz"
-MD5SUM="5688b9dd430d0730c31bb9a7873ed9fd"
+VERSION="0.13.0"
+HOMEPAGE="https://github.com/lxqt/lxqt-build-tools"
+DOWNLOAD="https://github.com/lxqt/lxqt-build-tools/releases/download/0.13.0/lxqt-build-tools-0.13.0.tar.xz"
+MD5SUM="f434042d33af5b47d61afdd6f0677276"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
+REQUIRES=""
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/lxqt-notificationd/README b/libraries/lxqt-notificationd/README
new file mode 100644
index 0000000000..f8a2e64f36
--- /dev/null
+++ b/libraries/lxqt-notificationd/README
@@ -0,0 +1,2 @@
+lxqt-notificationd is LXQt's implementation of a daemon according to
+the Desktop Notifications Specification.
diff --git a/libraries/MyGUI/doinst.sh b/libraries/lxqt-notificationd/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/libraries/MyGUI/doinst.sh
+++ b/libraries/lxqt-notificationd/doinst.sh
diff --git a/libraries/lxqt-notificationd/lxqt-notificationd.SlackBuild b/libraries/lxqt-notificationd/lxqt-notificationd.SlackBuild
new file mode 100644
index 0000000000..96e49a7f92
--- /dev/null
+++ b/libraries/lxqt-notificationd/lxqt-notificationd.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for lxqt-notificationd
+
+# 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.
+
+# 20220421 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add doinst.sh, since we have a .desktop file.
+# - make .desktop file validate.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lxqt-notificationd
+VERSION=${VERSION:-1.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-$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
+ 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 ..
+
+sed -i '/^Categories/s,LXQt;,X-&,' $PKG/usr/share/applications/*desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/lxqt-notificationd/lxqt-notificationd.info b/libraries/lxqt-notificationd/lxqt-notificationd.info
new file mode 100644
index 0000000000..4e46dad7c2
--- /dev/null
+++ b/libraries/lxqt-notificationd/lxqt-notificationd.info
@@ -0,0 +1,10 @@
+PRGNAM="lxqt-notificationd"
+VERSION="1.3.0"
+HOMEPAGE="https://github.com/lxqt/lxqt-notificationd"
+DOWNLOAD="https://github.com/lxqt/lxqt-notificationd/releases/download/1.3.0/lxqt-notificationd-1.3.0.tar.xz"
+MD5SUM="5968545fb9ac06c19cd682f474b45c28"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="liblxqt"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/lxqt-notificationd/slack-desc b/libraries/lxqt-notificationd/slack-desc
new file mode 100644
index 0000000000..296c75ecca
--- /dev/null
+++ b/libraries/lxqt-notificationd/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------------------------------------------------------|
+lxqt-notificationd: lxqt-notificationd (LXQt notification daemon and library)
+lxqt-notificationd:
+lxqt-notificationd: lxqt-notificationd is LXQt's implementation of a daemon according to
+lxqt-notificationd: the Desktop Notifications Specification.
+lxqt-notificationd:
+lxqt-notificationd:
+lxqt-notificationd:
+lxqt-notificationd:
+lxqt-notificationd:
+lxqt-notificationd:
+lxqt-notificationd:
diff --git a/libraries/lxqt-qtplugin/README b/libraries/lxqt-qtplugin/README
new file mode 100644
index 0000000000..3ca4d5bab5
--- /dev/null
+++ b/libraries/lxqt-qtplugin/README
@@ -0,0 +1,6 @@
+lxqt-qtplugin provides the library libqtlxqt to integrate Qt with LXQt.
+With this plugin, all Qt-based programs can adopt settings of LXQt,
+such as the icon theme.
+
+To integrate Qt with LXQt, export the following environment variable:
+QT_QPA_PLATFORMTHEME=lxqt
diff --git a/libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild b/libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild
new file mode 100644
index 0000000000..8bdfdb7ec8
--- /dev/null
+++ b/libraries/lxqt-qtplugin/lxqt-qtplugin.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for lxqt-qtplugin
+
+# 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=lxqt-qtplugin
+VERSION=${VERSION:-1.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"
+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
+ 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 AUTHORS 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
diff --git a/libraries/lxqt-qtplugin/lxqt-qtplugin.info b/libraries/lxqt-qtplugin/lxqt-qtplugin.info
new file mode 100644
index 0000000000..88d27a54cb
--- /dev/null
+++ b/libraries/lxqt-qtplugin/lxqt-qtplugin.info
@@ -0,0 +1,10 @@
+PRGNAM="lxqt-qtplugin"
+VERSION="1.4.1"
+HOMEPAGE="https://github.com/lxqt/lxqt-qtplugin"
+DOWNLOAD="https://github.com/lxqt/lxqt-qtplugin/releases/download/1.4.1/lxqt-qtplugin-1.4.1.tar.xz"
+MD5SUM="b2644cd53c16341013b3987077b6fec6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libfm-qt libqtxdg"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/lxqt-qtplugin/slack-desc b/libraries/lxqt-qtplugin/slack-desc
new file mode 100644
index 0000000000..18bd83de64
--- /dev/null
+++ b/libraries/lxqt-qtplugin/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------------------------------------------------------|
+lxqt-qtplugin: lxqt-qtplugin (LXQt Qt platform integration plugin)
+lxqt-qtplugin:
+lxqt-qtplugin: lxqt-qtplugin provides the library libqtlxqt to integrate Qt with
+lxqt-qtplugin: LXQt. With this plugin, all Qt-based programs can adopt settings of
+lxqt-qtplugin: LXQt, such as the icon theme.
+lxqt-qtplugin:
+lxqt-qtplugin:
+lxqt-qtplugin:
+lxqt-qtplugin:
+lxqt-qtplugin:
+lxqt-qtplugin:
diff --git a/libraries/lxqt-sudo/README b/libraries/lxqt-sudo/README
new file mode 100644
index 0000000000..34c4ee1908
--- /dev/null
+++ b/libraries/lxqt-sudo/README
@@ -0,0 +1,3 @@
+lxqt-sudo is a graphical front-end of commands sudo and su
+respectively. As such it enables regular users to launch applications
+with permissions of other users including root.
diff --git a/libraries/lxqt-sudo/lxqt-sudo.SlackBuild b/libraries/lxqt-sudo/lxqt-sudo.SlackBuild
new file mode 100644
index 0000000000..ac5ef354ce
--- /dev/null
+++ b/libraries/lxqt-sudo/lxqt-sudo.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for lxqt-sudo
+
+# 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=lxqt-sudo
+VERSION=${VERSION:-1.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-$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
+ 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
+
+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 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
diff --git a/libraries/lxqt-sudo/lxqt-sudo.info b/libraries/lxqt-sudo/lxqt-sudo.info
new file mode 100644
index 0000000000..ef01ff31d7
--- /dev/null
+++ b/libraries/lxqt-sudo/lxqt-sudo.info
@@ -0,0 +1,10 @@
+PRGNAM="lxqt-sudo"
+VERSION="1.3.0"
+HOMEPAGE="https://github.com/lxqt/lxqt-sudo"
+DOWNLOAD="https://github.com/lxqt/lxqt-sudo/releases/download/1.3.0/lxqt-sudo-1.3.0.tar.xz"
+MD5SUM="2832990a7fb1c401a72bba9dfadd1d14"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="liblxqt"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/lxqt-sudo/slack-desc b/libraries/lxqt-sudo/slack-desc
new file mode 100644
index 0000000000..ff5d599028
--- /dev/null
+++ b/libraries/lxqt-sudo/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------------------------------------------------------|
+lxqt-sudo: lxqt-sudo (GUI frontend for sudo/su)
+lxqt-sudo:
+lxqt-sudo: lxqt-sudo is a graphical front-end of commands sudo and su
+lxqt-sudo: respectively. As such it enables regular users to launch applications
+lxqt-sudo: with permissions of other users including root.
+lxqt-sudo:
+lxqt-sudo:
+lxqt-sudo:
+lxqt-sudo:
+lxqt-sudo:
+lxqt-sudo:
diff --git a/libraries/manubulon-snmp-plugins/manubulon-snmp-plugins.SlackBuild b/libraries/manubulon-snmp-plugins/manubulon-snmp-plugins.SlackBuild
index ba6e85adc8..93aaccfcc3 100644
--- a/libraries/manubulon-snmp-plugins/manubulon-snmp-plugins.SlackBuild
+++ b/libraries/manubulon-snmp-plugins/manubulon-snmp-plugins.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for manubulon-snmp-plugins
@@ -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=manubulon-snmp-plugins
VERSION=${VERSION:-20151112}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=manubulon-snmp
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}
@@ -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/libraries/mariadb_client/README b/libraries/mariadb_client/README
deleted file mode 100644
index 4ad1696bbe..0000000000
--- a/libraries/mariadb_client/README
+++ /dev/null
@@ -1,9 +0,0 @@
-The MariaDB Client Library for C is used to connect
-applications developed in C/C++ to MariaDB and MySQL
-databases.The client library is LGPL licensed.
-
-The MariaDB Client Library for C has exactly the same
-API as the MySQL Connector/C for MySQL 5.5
-
-To build HTML documentation build with BUILD_DOCS=yes.
-
diff --git a/libraries/mariadb_client/mariadb_client.SlackBuild b/libraries/mariadb_client/mariadb_client.SlackBuild
deleted file mode 100644
index 4049463a20..0000000000
--- a/libraries/mariadb_client/mariadb_client.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mariadb_client
-
-# Copyright 2014 Robert Allen
-# All rights reserved, including Creator Endowed Unalienable Rights
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=mariadb_client
-VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-BUILD_DOCS=${BUILD_DOCS:-no}
-SVERSION=$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 $PRGNAM-$SVERSION
-tar xvf $CWD/$PRGNAM-$SVERSION.tar.gz
-cd $PRGNAM-$SVERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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/mariadb|lib${LIBDIRSUFFIX}/mariadb|" libmariadb/CMakeLists.txt
-
-#Note: The distribution makefile fails when building docs out of tree.
-#I am not familiar enough with cmake to sort it out, so we build in tree.
- cmake \
- -DBUILD_DOCS:STRING="$BUILD_DOCS" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPLUGINDIR=/usr/lib${LIBDIRSUFFIX}/plugin \
- -DCMAKE_BUILD_TYPE=Release .
-
- 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 README COPYING.LIB $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-if [ "$BUILD_DOCS" != 'no' ]; then
- cp -r docs/html/ $PKG/usr/doc/$PRGNAM-$VERSION/.
-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:-tgz}
diff --git a/libraries/mariadb_client/mariadb_client.info b/libraries/mariadb_client/mariadb_client.info
deleted file mode 100644
index 03c0413f60..0000000000
--- a/libraries/mariadb_client/mariadb_client.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mariadb_client"
-VERSION="2.0.0"
-HOMEPAGE="https://mariadb.com/kb/en/mariadb/client-libraries/client-library-for-c/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/mariadb_client-2.0.0-src.tar.gz"
-MD5SUM="a233181e03d3c307668b4c722d881661"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Robert Allen"
-EMAIL="slacker@engineer.com"
diff --git a/libraries/mariadb_client/slack-desc b/libraries/mariadb_client/slack-desc
deleted file mode 100644
index 9d48da03a0..0000000000
--- a/libraries/mariadb_client/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------------------------------------------------------|
-mariadb_client: mariadb_client (Native C/C++ API for MariaDB and MySQL)
-mariadb_client:
-mariadb_client: This is LGPL MariaDB client library that can be used to connect to
-mariadb_client: MySQL or MariaDB.
-mariadb_client:
-mariadb_client:
-mariadb_client:
-mariadb_client:
-mariadb_client:
-mariadb_client:
-mariadb_client:
diff --git a/libraries/marisa/README b/libraries/marisa/README
deleted file mode 100644
index 1400693707..0000000000
--- a/libraries/marisa/README
+++ /dev/null
@@ -1,3 +0,0 @@
-libmarisa is a C++ library for an implementation of MARISA
-(Matching Algorithm with Recursively Implemented StorAge),
-which is a space-efficient trie data structure.
diff --git a/libraries/marisa/marisa.SlackBuild b/libraries/marisa/marisa.SlackBuild
deleted file mode 100644
index a3d0c398f9..0000000000
--- a/libraries/marisa/marisa.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for marisa
-
-# Copyright 2018 CCHsu Taiwan
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=marisa
-VERSION=${VERSION:-0.2.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 $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make check
-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 $TMP/$PRGNAM-$VERSION/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/libraries/marisa/marisa.info b/libraries/marisa/marisa.info
deleted file mode 100644
index 8ea8e8a24f..0000000000
--- a/libraries/marisa/marisa.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="marisa"
-VERSION="0.2.5"
-HOMEPAGE="https://s-yata.github.io/marisa-trie/docs/readme.en.html"
-DOWNLOAD="https://github.com/s-yata/marisa-trie/releases/download/v0.2.5/marisa-0.2.5.tar.gz"
-MD5SUM="34417c250c4f2eaeb604acbc490fb4ca"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="CCHsu"
-EMAIL="a12321aabb@gmail.com"
diff --git a/libraries/marisa/slack-desc b/libraries/marisa/slack-desc
deleted file mode 100644
index f1672f5baa..0000000000
--- a/libraries/marisa/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------------------------------------------------------|
-marisa: marisa (Matching Algorithm with Recursively Implemented StorAge)
-marisa:
-marisa: libmarisa is a C++ library for an implementation of MARISA (Matching
-marisa: Algorithm with Recursively Implemented StorAge), which is a static
-marisa: and space-efficient trie data structure library. Users can build
-marisa: dictionaries and search keys with this library.
-marisa:
-marisa:
-marisa: Homepage:
-marisa: https://s-yata.github.io/marisa-trie/docs/readme.en.html
-marisa:
diff --git a/libraries/mathgl/mathgl.SlackBuild b/libraries/mathgl/mathgl.SlackBuild
index 87dbc2451a..3527625222 100644
--- a/libraries/mathgl/mathgl.SlackBuild
+++ b/libraries/mathgl/mathgl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MathGL
@@ -15,26 +15,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=mathgl
-VERSION=${VERSION:-2.3.3}
+VERSION=${VERSION:-2.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}
-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,6 +93,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed -i CMakeLists.txt \
+ -e "s|lib/cmake/mathgl|lib$LIBDIRSUFFIX/cmake/mathgl|" \
+ -e "s|\"lib\"|\"lib$LIBDIRSUFFIX\"|"
+
mkdir -p build
cd build
cmake -D CMAKE_C_FLAGS="$SLKCFLAGS" \
@@ -105,7 +119,7 @@ cd build
-D enable-octave:BOOL=$OCTAVE_FLAG \
-D enable-opengl:BOOL=ON \
-D enable-wx:BOOL=ON \
- -D enable-qt4:BOOL=ON \
+ -D enable-qt5:BOOL=ON \
-D CMAKE_BUILD_TYPE:STRING=$ARCH-slackware-linux .. -L
make
make install DESTDIR=$PKG
@@ -125,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/libraries/mathgl/mathgl.info b/libraries/mathgl/mathgl.info
index df540155a2..e231aa108f 100644
--- a/libraries/mathgl/mathgl.info
+++ b/libraries/mathgl/mathgl.info
@@ -1,8 +1,8 @@
PRGNAM="mathgl"
-VERSION="2.3.3"
+VERSION="2.4.4"
HOMEPAGE="http://mathgl.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mathgl/mathgl-2.3.3.tar.gz"
-MD5SUM="c37d6f42d4897675bf89fae635aa6868"
+DOWNLOAD="http://downloads.sourceforge.net/mathgl/mathgl-2.4.4.tar.gz"
+MD5SUM="cbf9bcb4db6c78bda7902d36b9843d7b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libharu wxPython"
diff --git a/libraries/matplotlib/README b/libraries/matplotlib/README
deleted file mode 100644
index c7266d9f6d..0000000000
--- a/libraries/matplotlib/README
+++ /dev/null
@@ -1,23 +0,0 @@
-Matplotlib strives to produce publication quality 2D graphics for
-interactive graphing, scientific publishing, user interface
-development and web application servers targeting multiple user
-interfaces and hardcopy output formats. The 'pylab' mode
-of ipython uses matplotlib to emulate matlab graphics.
-
-OPTIONAL DEPENDENCIES: pytest, mock, ffmpeg/avconv, Inkscape,
- wxPython3
-
-NOTES: The optional wxagg backend is disabled by default because
- of possible issues related to wxPython versions. If you
- wish to use this backend install wxPython3 in advance and
- set DISABLE_WXAGG to "no" when executing the SlackBuild.
- IMPORTANT: There is some interaction between wxPython and
- wxPython3, pay attention to the corresponding
- README files.
-
- If you want to enable the optional subpackages tests and
- toolkits_tests you need to set the variable ENABLE_TESTS
- to "yes" when executing the SlackBuild and make sure that
- pytest, mock, ffmpeg/avconv and Inkscape are already
- installed. Besides ffmpeg/avconv are also needed if you
- wish better support of animation output formats.
diff --git a/libraries/matplotlib/SETUP.OUTPUT b/libraries/matplotlib/SETUP.OUTPUT
deleted file mode 100644
index ffc725ba6b..0000000000
--- a/libraries/matplotlib/SETUP.OUTPUT
+++ /dev/null
@@ -1,1351 +0,0 @@
-============================================================================
-Edit setup.cfg to change the build options
-
-BUILDING MATPLOTLIB
- matplotlib: yes [2.2.3]
- python: yes [2.7.15 (default, May 4 2018, 14:13:26) [GCC
- 5.5.0]]
- platform: yes [linux2]
-
-REQUIRED DEPENDENCIES AND EXTENSIONS
- numpy: yes [version 1.14.3]
- install_requires: yes [all third-party python packages are present]
- libagg: yes [pkg-config information for 'libagg' could not
- be found. Using local copy.]
- freetype: yes [version 2.6.3]
- png: yes [version 1.6.27]
- qhull: yes [pkg-config information for 'libqhull' could not
- be found. Using local copy.]
-
-OPTIONAL SUBPACKAGES
- sample_data: yes [installing]
- toolkits: yes [installing]
- tests: no [skipping due to configuration]
- toolkits_tests: no [skipping due to configuration]
-
-OPTIONAL BACKEND EXTENSIONS
- macosx: no [Mac OS-X only]
- qt5agg: no [PySide2 not found; PyQt5 not found]
- qt4agg: yes [installing, Qt: 4.8.7, PyQt: 4.11.4; PySide not
- found]
- gtk3agg: yes [installing, version 3.9.18]
-/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
- warnings.warn(str(e), _gtk.Warning)
- gtk3cairo: yes [installing, version 3.9.18]
- gtkagg: yes [installing, Gtk: 2.24.31 pygtk: 2.24.0]
- tkagg: yes [installing; run-time loading from Python Tcl /
- Tk]
- wxagg: no [requires wxPython]
- gtk: yes [installing, Gtk: 2.24.31 pygtk: 2.24.0]
- agg: yes [installing]
- cairo: yes [installing, pycairo version 1.10.0]
- windowing: no [Microsoft Windows only]
-
-OPTIONAL LATEX DEPENDENCIES
- dvipng: no
- ghostscript: yes [version 9.25]
- latex: no
- pdftops: yes [version 0.45.0]
-
-OPTIONAL PACKAGE DATA
- dlls: no [skipping due to configuration]
-
-running install
-running build
-running build_py
-creating build
-creating build/lib.linux-x86_64-2.7
-copying lib/pylab.py -> build/lib.linux-x86_64-2.7
-creating build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/stackplot.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_animation_data.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/dviread.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/tight_bbox.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/fontconfig_pattern.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/backend_bases.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/figure.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/offsetbox.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/image.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/dates.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/gridspec.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_pylab_helpers.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/sankey.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/container.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/backend_managers.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/streamplot.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/textpath.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/pyplot.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/widgets.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_version.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/legend.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/font_manager.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/colors.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/docstring.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/markers.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/text.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/rcsetup.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/mathtext.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/cm.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/scale.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/spines.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/legend_handler.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/texmanager.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/colorbar.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/type1font.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/quiver.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_cm_listed.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/transforms.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/hatch.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/category.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/collections.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_color_data.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_mathtext_data.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/patheffects.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/tight_layout.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/contour.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_layoutbox.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/path.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/bezier.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/ticker.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/artist.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/animation.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_constrained_layout.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/backend_tools.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/afm.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/pylab.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/lines.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/units.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/_cm.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/table.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/mlab.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/blocking_input.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/axis.py -> build/lib.linux-x86_64-2.7/matplotlib
-copying lib/matplotlib/patches.py -> build/lib.linux-x86_64-2.7/matplotlib
-creating build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_qt4.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_gtkagg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_svg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_ps.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_gtk3.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/_gtk3_compat.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/qt_compat.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_webagg_core.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_webagg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_gdk.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/_backend_tk.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_nbagg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_wxcairo.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/windowing.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_template.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_gtk.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_agg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/wx_compat.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/tkagg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_wx.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_wxagg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_tkagg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_qt5.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_gtk3agg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_qt4agg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_mixed.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_macosx.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_pgf.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_gtkcairo.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_qt5cairo.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_qt4cairo.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_pdf.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_tkcairo.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_qt5agg.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_cairo.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-copying lib/matplotlib/backends/backend_gtk3cairo.py -> build/lib.linux-x86_64-2.7/matplotlib/backends
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/qt_editor
-copying lib/matplotlib/backends/qt_editor/formlayout.py -> build/lib.linux-x86_64-2.7/matplotlib/backends/qt_editor
-copying lib/matplotlib/backends/qt_editor/formsubplottool.py -> build/lib.linux-x86_64-2.7/matplotlib/backends/qt_editor
-copying lib/matplotlib/backends/qt_editor/figureoptions.py -> build/lib.linux-x86_64-2.7/matplotlib/backends/qt_editor
-copying lib/matplotlib/backends/qt_editor/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/backends/qt_editor
-creating build/lib.linux-x86_64-2.7/matplotlib/compat
-copying lib/matplotlib/compat/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/compat
-copying lib/matplotlib/compat/subprocess.py -> build/lib.linux-x86_64-2.7/matplotlib/compat
-creating build/lib.linux-x86_64-2.7/matplotlib/projections
-copying lib/matplotlib/projections/polar.py -> build/lib.linux-x86_64-2.7/matplotlib/projections
-copying lib/matplotlib/projections/geo.py -> build/lib.linux-x86_64-2.7/matplotlib/projections
-copying lib/matplotlib/projections/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/projections
-creating build/lib.linux-x86_64-2.7/matplotlib/axes
-copying lib/matplotlib/axes/_base.py -> build/lib.linux-x86_64-2.7/matplotlib/axes
-copying lib/matplotlib/axes/_axes.py -> build/lib.linux-x86_64-2.7/matplotlib/axes
-copying lib/matplotlib/axes/_subplots.py -> build/lib.linux-x86_64-2.7/matplotlib/axes
-copying lib/matplotlib/axes/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/axes
-creating build/lib.linux-x86_64-2.7/matplotlib/sphinxext
-copying lib/matplotlib/sphinxext/mathmpl.py -> build/lib.linux-x86_64-2.7/matplotlib/sphinxext
-copying lib/matplotlib/sphinxext/only_directives.py -> build/lib.linux-x86_64-2.7/matplotlib/sphinxext
-copying lib/matplotlib/sphinxext/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/sphinxext
-copying lib/matplotlib/sphinxext/plot_directive.py -> build/lib.linux-x86_64-2.7/matplotlib/sphinxext
-creating build/lib.linux-x86_64-2.7/matplotlib/style
-copying lib/matplotlib/style/core.py -> build/lib.linux-x86_64-2.7/matplotlib/style
-copying lib/matplotlib/style/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/style
-creating build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/exceptions.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/decorators.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/disable_internet.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/conftest.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/determinism.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/compare.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-copying lib/matplotlib/testing/noseclasses.py -> build/lib.linux-x86_64-2.7/matplotlib/testing
-creating build/lib.linux-x86_64-2.7/matplotlib/testing/_nose
-copying lib/matplotlib/testing/_nose/exceptions.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/_nose
-copying lib/matplotlib/testing/_nose/decorators.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/_nose
-copying lib/matplotlib/testing/_nose/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/_nose
-creating build/lib.linux-x86_64-2.7/matplotlib/testing/_nose/plugins
-copying lib/matplotlib/testing/_nose/plugins/knownfailure.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/_nose/plugins
-copying lib/matplotlib/testing/_nose/plugins/performgc.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/_nose/plugins
-copying lib/matplotlib/testing/_nose/plugins/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/_nose/plugins
-creating build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/EpochConverter.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/UnitDblConverter.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/Duration.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/UnitDbl.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/UnitDblFormatter.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/Epoch.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/StrConverter.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-copying lib/matplotlib/testing/jpl_units/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/testing/jpl_units
-creating build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/triinterpolate.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/trirefine.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/tritools.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/tricontour.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/triangulation.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/trifinder.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/triplot.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/tripcolor.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-copying lib/matplotlib/tri/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/tri
-creating build/lib.linux-x86_64-2.7/matplotlib/cbook
-copying lib/matplotlib/cbook/deprecation.py -> build/lib.linux-x86_64-2.7/matplotlib/cbook
-copying lib/matplotlib/cbook/_backports.py -> build/lib.linux-x86_64-2.7/matplotlib/cbook
-copying lib/matplotlib/cbook/__init__.py -> build/lib.linux-x86_64-2.7/matplotlib/cbook
-creating build/lib.linux-x86_64-2.7/mpl_toolkits
-copying lib/mpl_toolkits/__init__.py -> build/lib.linux-x86_64-2.7/mpl_toolkits
-creating build/lib.linux-x86_64-2.7/mpl_toolkits/mplot3d
-copying lib/mpl_toolkits/mplot3d/proj3d.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/mplot3d
-copying lib/mpl_toolkits/mplot3d/axes3d.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/mplot3d
-copying lib/mpl_toolkits/mplot3d/__init__.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/mplot3d
-copying lib/mpl_toolkits/mplot3d/axis3d.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/mplot3d
-copying lib/mpl_toolkits/mplot3d/art3d.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/mplot3d
-creating build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/floating_axes.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/axes_grid.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/axes_divider.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/inset_locator.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/axes_size.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/parasite_axes.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/axislines.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/grid_helper_curvelinear.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/anchored_artists.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/colorbar.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/angle_helper.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/__init__.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/axes_rgb.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/axis_artist.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/axisline_style.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/grid_finder.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-copying lib/mpl_toolkits/axes_grid/clip_path.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid
-creating build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/axes_grid.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/axes_divider.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/inset_locator.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/axes_size.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/parasite_axes.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/mpl_axes.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/anchored_artists.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/colorbar.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/__init__.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-copying lib/mpl_toolkits/axes_grid1/axes_rgb.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axes_grid1
-creating build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/floating_axes.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/axes_grid.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/axes_divider.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/parasite_axes.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/axislines.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/angle_helper.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/__init__.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/axes_rgb.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/axis_artist.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/axisline_style.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/grid_finder.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-copying lib/mpl_toolkits/axisartist/clip_path.py -> build/lib.linux-x86_64-2.7/mpl_toolkits/axisartist
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/cmtt10.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSerif-BoldItalic.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizOneSymReg.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Bold.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/cmmi10.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymReg.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/cmb10.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSerif.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/cmex10.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizFourSymReg.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizOneSymBol.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Italic.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizFiveSymReg.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/cmsy10.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizFourSymBol.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSansDisplay.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/cmr10.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSerifDisplay.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSans-Oblique.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Oblique.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymReg.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymBol.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSans-BoldOblique.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Bold.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-BoldOblique.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/cmss10.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/DejaVuSans-Bold.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-copying lib/matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymBol.ttf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/matplotlib.ppm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-dark.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-colorblind.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-muted.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-pastel.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/bmh.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/dark_background.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-paper.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/_classic_test.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/classic.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/fast.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/ggplot.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-white.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-whitegrid.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-bright.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-darkgrid.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-talk.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-ticks.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-poster.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-notebook.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/seaborn-dark-palette.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/stylelib/grayscale.mplstyle -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/stylelib
-copying lib/matplotlib/mpl-data/images/hand.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/back.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/subplots.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/home.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/zoom_to_rect.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/filesave.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/qt4_editor_options.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/matplotlib.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/move.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/forward.svg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data/axes_grid
-copying lib/matplotlib/mpl-data/sample_data/axes_grid/bivariate_normal.npy -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data/axes_grid
-copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/putbi8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvr8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pzdr.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvb8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvro8an.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pncr8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pcrb8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pplb8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pcrr8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/cmtt10.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pncbi8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pplr8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvro8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/psyr.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/putr8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pncb8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pplbi8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pagk8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pcrbo8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pbkl8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/cmmi10.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvl8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/cmr10.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pbkdi8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/ptmbi8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/ptmri8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvbo8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pbkd8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pbkli8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/cmex10.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/ptmr8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pncri8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/putri8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvlo8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/ptmb8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvb8an.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/cmsy10.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pplri8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/putb8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvr8an.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pzcmi8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pagd8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/phvbo8an.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pagko8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pcrro8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/fonts/afm/pagdo8a.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/afm
-copying lib/matplotlib/mpl-data/sample_data/eeg.dat -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/jacksboro_fault_dem.npz -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/embedding_in_wx3.xrc -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/ct.raw.gz -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/s1045.ima.gz -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/percent_bachelors_degrees_women_usa.csv -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/logo2.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/grace_hopper.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/demodata.csv -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/goog.npz -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/aapl.npz -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/membrane.dat -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/grace_hopper.jpg -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/Minduka_Present_Blue_Pack.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/ada.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/None_vs_nearest-pdf.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/data_x_x2_x3.csv -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/README.txt -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-copying lib/matplotlib/mpl-data/sample_data/msft.csv -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/sample_data
-creating build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Courier-Bold.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Times-BoldItalic.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Times-Bold.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Courier-BoldOblique.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Times-Italic.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-Oblique.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/ZapfDingbats.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Courier.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Symbol.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-BoldOblique.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Courier-Oblique.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Times-Roman.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-Bold.afm -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_glass_100_fdf5ce_1x400.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_gloss-wave_35_f6a828_500x100.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_diagonals-thick_18_b81900_40x40.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_228ef1_256x240.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_ffffff_256x240.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_ef8c08_256x240.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_diagonals-thick_20_666666_40x40.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_flat_10_000000_40x100.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_glass_100_f6f6f6_1x400.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_ffd27a_256x240.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_222222_256x240.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_glass_65_ffffff_1x400.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying lib/matplotlib/mpl-data/images/home.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/back.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/hand.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/zoom_to_rect.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/matplotlib.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/qt4_editor_options.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/move.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/forward.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/subplots.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/filesave.pdf -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/fonts/ttf/LICENSE_STIX -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/ttf
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/js
-copying lib/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/js
-copying lib/matplotlib/backends/web_backend/jquery/js/jquery-1.11.3.min.js -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/jquery/js
-copying lib/matplotlib/backends/web_backend/nbagg_uat.ipynb -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend
-copying lib/matplotlib/backends/web_backend/single_figure.html -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend
-copying lib/matplotlib/backends/web_backend/ipython_inline_figure.html -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend
-copying lib/matplotlib/backends/web_backend/all_figures.html -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend
-copying lib/matplotlib/mpl-data/fonts/pdfcorefonts/readme.txt -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/fonts/pdfcorefonts
-copying lib/matplotlib/mpl-data/images/move.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/back.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/subplots.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/forward_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/hand_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/home_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/zoom_to_rect_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/zoom_to_rect.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/move_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/filesave_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/filesave.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/home.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/back_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/hand.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/forward.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/subplots_large.gif -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/js
-copying lib/matplotlib/backends/web_backend/js/mpl.js -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/js
-copying lib/matplotlib/backends/web_backend/js/mpl_tornado.js -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/js
-copying lib/matplotlib/backends/web_backend/js/nbagg_mpl.js -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/js
-copying lib/matplotlib/mpl-data/images/home.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/back_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/back.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/qt4_editor_options.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/qt4_editor_options_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/zoom_to_rect_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/hand.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/filesave_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/zoom_to_rect.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/matplotlib_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/matplotlib.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/move_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/forward.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/filesave.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/subplots_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/forward_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/home_large.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/subplots.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/images/move.png -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data/images
-copying lib/matplotlib/mpl-data/lineprops.glade -> build/lib.linux-x86_64-2.7/matplotlib/mpl-data
-creating build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/css
-copying lib/matplotlib/backends/web_backend/css/boilerplate.css -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/css
-copying lib/matplotlib/backends/web_backend/css/page.css -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/css
-copying lib/matplotlib/backends/web_backend/css/fbm.css -> build/lib.linux-x86_64-2.7/matplotlib/backends/web_backend/css
-UPDATING build/lib.linux-x86_64-2.7/matplotlib/_version.py
-set build/lib.linux-x86_64-2.7/matplotlib/_version.py to '2.2.3'
-running build_ext
-building 'matplotlib.ft2font' extension
-creating build/temp.linux-x86_64-2.7
-creating build/temp.linux-x86_64-2.7/src
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFREETYPE_BUILD_TYPE=system -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/ft2font.cpp -o build/temp.linux-x86_64-2.7/src/ft2font.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFREETYPE_BUILD_TYPE=system -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/ft2font_wrapper.cpp -o build/temp.linux-x86_64-2.7/src/ft2font_wrapper.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DFREETYPE_BUILD_TYPE=system -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/ft2font.o build/temp.linux-x86_64-2.7/src/ft2font_wrapper.o build/temp.linux-x86_64-2.7/src/mplutils.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lfreetype -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/ft2font.so
-building 'matplotlib._png' extension
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/libpng16 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_png.cpp -o build/temp.linux-x86_64-2.7/src/_png.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/libpng16 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_png.o build/temp.linux-x86_64-2.7/src/mplutils.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lpng16 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_png.so
-building 'matplotlib._image' extension
-creating build/temp.linux-x86_64-2.7/extern
-creating build/temp.linux-x86_64-2.7/extern/agg24-svn
-creating build/temp.linux-x86_64-2.7/extern/agg24-svn/src
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_image.cpp -o build/temp.linux-x86_64-2.7/src/_image.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_image_wrapper.cpp -o build/temp.linux-x86_64-2.7/src/_image_wrapper.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/py_converters.cpp -o build/temp.linux-x86_64-2.7/src/py_converters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_curves.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_contour.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_dash.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__image_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vpgen_segmentator.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_image.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/src/_image_wrapper.o build/temp.linux-x86_64-2.7/src/py_converters.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_image.so
-building 'matplotlib.ttconv' extension
-creating build/temp.linux-x86_64-2.7/extern/ttconv
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_ttconv.cpp -o build/temp.linux-x86_64-2.7/src/_ttconv.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/ttconv/pprdrv_tt.cpp -o build/temp.linux-x86_64-2.7/extern/ttconv/pprdrv_tt.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/ttconv/pprdrv_tt2.cpp -o build/temp.linux-x86_64-2.7/extern/ttconv/pprdrv_tt2.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/ttconv/ttutil.cpp -o build/temp.linux-x86_64-2.7/extern/ttconv/ttutil.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_ttconv.o build/temp.linux-x86_64-2.7/extern/ttconv/pprdrv_tt.o build/temp.linux-x86_64-2.7/extern/ttconv/pprdrv_tt2.o build/temp.linux-x86_64-2.7/extern/ttconv/ttutil.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/ttconv.so
-building 'matplotlib._path' extension
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/py_converters.cpp -o build/temp.linux-x86_64-2.7/src/py_converters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_path_wrapper.cpp -o build/temp.linux-x86_64-2.7/src/_path_wrapper.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_curves.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_contour.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_dash.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__path_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vpgen_segmentator.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/py_converters.o build/temp.linux-x86_64-2.7/src/_path_wrapper.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_path.so
-building 'matplotlib._contour' extension
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__contour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_contour.cpp -o build/temp.linux-x86_64-2.7/src/_contour.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__contour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_contour_wrapper.cpp -o build/temp.linux-x86_64-2.7/src/_contour_wrapper.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_contour.o build/temp.linux-x86_64-2.7/src/_contour_wrapper.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_contour.so
-building 'matplotlib._qhull' extension
-creating build/temp.linux-x86_64-2.7/extern/libqhull
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/qhull_wrap.c -o build/temp.linux-x86_64-2.7/src/qhull_wrap.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/geom.c -o build/temp.linux-x86_64-2.7/extern/libqhull/geom.o
-extern/libqhull/geom.c: In function ‘qh_projectpoint’:
-extern/libqhull/geom.c:897:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memalloc_() */
- ^
-extern/libqhull/geom.c: In function ‘qh_setfacetplane’:
-extern/libqhull/geom.c:935:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memalloc_() */
- ^
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/geom2.c -o build/temp.linux-x86_64-2.7/extern/libqhull/geom2.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/global.c -o build/temp.linux-x86_64-2.7/extern/libqhull/global.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/io.c -o build/temp.linux-x86_64-2.7/extern/libqhull/io.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/libqhull.c -o build/temp.linux-x86_64-2.7/extern/libqhull/libqhull.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/mem.c -o build/temp.linux-x86_64-2.7/extern/libqhull/mem.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/merge.c -o build/temp.linux-x86_64-2.7/extern/libqhull/merge.o
-extern/libqhull/merge.c: In function ‘qh_all_merges’:
-extern/libqhull/merge.c:219:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memfree_() */
- ^
-extern/libqhull/merge.c: In function ‘qh_appendmergeset’:
-extern/libqhull/merge.c:322:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memalloc_() */
- ^
-extern/libqhull/merge.c: In function ‘qh_mergecycle_ridges’:
-extern/libqhull/merge.c:2091:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memfree_() */
- ^
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/poly.c -o build/temp.linux-x86_64-2.7/extern/libqhull/poly.o
-extern/libqhull/poly.c: In function ‘qh_delfacet’:
-extern/libqhull/poly.c:248:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memfree_() */
- ^
-extern/libqhull/poly.c: In function ‘qh_makenew_nonsimplicial’:
-extern/libqhull/poly.c:564:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memfree_() */
- ^
-extern/libqhull/poly.c: In function ‘qh_newfacet’:
-extern/libqhull/poly.c:987:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memalloc_() */
- ^
-extern/libqhull/poly.c: In function ‘qh_newridge’:
-extern/libqhull/poly.c:1020:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memalloc_() */
- ^
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/poly2.c -o build/temp.linux-x86_64-2.7/extern/libqhull/poly2.o
-extern/libqhull/poly2.c: In function ‘qh_delridge’:
-extern/libqhull/poly2.c:1127:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memfree_() */
- ^
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/qset.c -o build/temp.linux-x86_64-2.7/extern/libqhull/qset.o
-extern/libqhull/qset.c: In function ‘qh_setfree’:
-extern/libqhull/qset.c:718:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memfree_() */
- ^
-extern/libqhull/qset.c: In function ‘qh_setnew’:
-extern/libqhull/qset.c:928:10: warning: variable ‘freelistp’ set but not used [-Wunused-but-set-variable]
- void **freelistp; /* used if !qh_NOmem by qh_memalloc_() */
- ^
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/random.c -o build/temp.linux-x86_64-2.7/extern/libqhull/random.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/rboxlib.c -o build/temp.linux-x86_64-2.7/extern/libqhull/rboxlib.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/stat.c -o build/temp.linux-x86_64-2.7/extern/libqhull/stat.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/user.c -o build/temp.linux-x86_64-2.7/extern/libqhull/user.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/usermem.c -o build/temp.linux-x86_64-2.7/extern/libqhull/usermem.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/userprintf.c -o build/temp.linux-x86_64-2.7/extern/libqhull/userprintf.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/libqhull/userprintf_rbox.c -o build/temp.linux-x86_64-2.7/extern/libqhull/userprintf_rbox.o
-gcc -pthread -shared build/temp.linux-x86_64-2.7/src/qhull_wrap.o build/temp.linux-x86_64-2.7/extern/libqhull/geom.o build/temp.linux-x86_64-2.7/extern/libqhull/geom2.o build/temp.linux-x86_64-2.7/extern/libqhull/global.o build/temp.linux-x86_64-2.7/extern/libqhull/io.o build/temp.linux-x86_64-2.7/extern/libqhull/libqhull.o build/temp.linux-x86_64-2.7/extern/libqhull/mem.o build/temp.linux-x86_64-2.7/extern/libqhull/merge.o build/temp.linux-x86_64-2.7/extern/libqhull/poly.o build/temp.linux-x86_64-2.7/extern/libqhull/poly2.o build/temp.linux-x86_64-2.7/extern/libqhull/qset.o build/temp.linux-x86_64-2.7/extern/libqhull/random.o build/temp.linux-x86_64-2.7/extern/libqhull/rboxlib.o build/temp.linux-x86_64-2.7/extern/libqhull/stat.o build/temp.linux-x86_64-2.7/extern/libqhull/user.o build/temp.linux-x86_64-2.7/extern/libqhull/usermem.o build/temp.linux-x86_64-2.7/extern/libqhull/userprintf.o build/temp.linux-x86_64-2.7/extern/libqhull/userprintf_rbox.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_qhull.so
-building 'matplotlib._tri' extension
-creating build/temp.linux-x86_64-2.7/lib
-creating build/temp.linux-x86_64-2.7/lib/matplotlib
-creating build/temp.linux-x86_64-2.7/lib/matplotlib/tri
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__tri_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c lib/matplotlib/tri/_tri.cpp -o build/temp.linux-x86_64-2.7/lib/matplotlib/tri/_tri.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__tri_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c lib/matplotlib/tri/_tri_wrapper.cpp -o build/temp.linux-x86_64-2.7/lib/matplotlib/tri/_tri_wrapper.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__tri_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/lib/matplotlib/tri/_tri.o build/temp.linux-x86_64-2.7/lib/matplotlib/tri/_tri_wrapper.o build/temp.linux-x86_64-2.7/src/mplutils.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/_tri.so
-building 'matplotlib.backends._gtkagg' extension
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/py_converters.cpp -o build/temp.linux-x86_64-2.7/src/py_converters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_gtkagg.cpp -o build/temp.linux-x86_64-2.7/src/_gtkagg.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_curves.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_contour.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_dash.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__gtkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern/agg24-svn/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vpgen_segmentator.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/py_converters.o build/temp.linux-x86_64-2.7/src/_gtkagg.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lfreetype -lfontconfig -lglib-2.0 -lgobject-2.0 -lpango-1.0 -lpangoft2-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -latk-1.0 -lpangocairo-1.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lfreetype -lfontconfig -lglib-2.0 -lgobject-2.0 -lpango-1.0 -lpangoft2-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -latk-1.0 -lpangocairo-1.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/backends/_gtkagg.so
-building 'matplotlib.backends._tkagg' extension
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iextern/agg24-svn/include -Isrc -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_tkagg.cpp -o build/temp.linux-x86_64-2.7/src/_tkagg.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_tkagg.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -ldl -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/backends/_tkagg.so
-building 'matplotlib.backends._backend_gdk' extension
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_gdk_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pygtk-2.0 -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_backend_gdk.c -o build/temp.linux-x86_64-2.7/src/_backend_gdk.o
-gcc -pthread -shared build/temp.linux-x86_64-2.7/src/_backend_gdk.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lfreetype -lfontconfig -lglib-2.0 -lgobject-2.0 -lpango-1.0 -lpangoft2-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -latk-1.0 -lpangocairo-1.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lfreetype -lfontconfig -lglib-2.0 -lgobject-2.0 -lpango-1.0 -lpangoft2-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -latk-1.0 -lpangocairo-1.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/backends/_backend_gdk.so
-building 'matplotlib.backends._backend_agg' extension
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.7/src/mplutils.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/py_converters.cpp -o build/temp.linux-x86_64-2.7/src/py_converters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_backend_agg.cpp -o build/temp.linux-x86_64-2.7/src/_backend_agg.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/_backend_agg_wrapper.cpp -o build/temp.linux-x86_64-2.7/src/_backend_agg_wrapper.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_bezier_arc.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_curves.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_image_filters.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_trans_affine.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_contour.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_dash.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vcgen_stroke.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o
-gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__backend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=system -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -Iextern/agg24-svn/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c extern/agg24-svn/src/agg_vpgen_segmentator.cpp -o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o
-g++ -pthread -shared build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/src/py_converters.o build/temp.linux-x86_64-2.7/src/_backend_agg.o build/temp.linux-x86_64-2.7/src/_backend_agg_wrapper.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_curves.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_image_filters.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_contour.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_dash.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.7/extern/agg24-svn/src/agg_vpgen_segmentator.o -L/usr/local/lib -L/usr/local/lib64 -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lfreetype -lpython2.7 -o build/lib.linux-x86_64-2.7/matplotlib/backends/_backend_agg.so
-running install_lib
-copying pylab.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages
-copying matplotlib/stackplot.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_animation_data.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/dviread.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/tight_bbox.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/fontconfig_pattern.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/backend_bases.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/figure.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_png.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/offsetbox.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/image.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_qhull.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/dates.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/gridspec.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_pylab_helpers.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/sankey.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/container.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/backend_managers.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/streamplot.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/textpath.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/pyplot.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/widgets.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_version.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_image.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/legend.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/font_manager.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/colors.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/docstring.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/markers.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/text.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/rcsetup.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/mathtext.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/cm.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/scale.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/ft2font.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/spines.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/legend_handler.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_contour.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_path.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/texmanager.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/colorbar.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/type1font.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/quiver.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_cm_listed.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/transforms.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/hatch.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/category.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/collections.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_color_data.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_mathtext_data.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/patheffects.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/tight_layout.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/contour.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_layoutbox.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/ttconv.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/path.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_tri.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/bezier.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/ticker.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/artist.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/animation.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_constrained_layout.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/backend_tools.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/afm.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/pylab.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/lines.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/units.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/_cm.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/table.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/mlab.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/blocking_input.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/axis.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/patches.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib
-copying matplotlib/compat/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/compat
-copying matplotlib/compat/subprocess.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/compat
-copying matplotlib/mpl-data/lineprops.glade -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data
-copying matplotlib/mpl-data/matplotlibrc -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data
-copying matplotlib/mpl-data/stylelib/seaborn-dark.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-colorblind.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-muted.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-pastel.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/bmh.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/dark_background.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-paper.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/_classic_test.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/classic.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/Solarize_Light2.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/fast.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/ggplot.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-white.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-whitegrid.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/tableau-colorblind10.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-bright.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-darkgrid.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-talk.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-ticks.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-poster.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-deep.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-notebook.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/seaborn-dark-palette.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/stylelib/grayscale.mplstyle -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/stylelib
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Courier-Bold.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Times-BoldItalic.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Times-Bold.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Courier-BoldOblique.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Times-Italic.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-Oblique.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/ZapfDingbats.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Courier.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Symbol.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-BoldOblique.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Courier-Oblique.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Times-Roman.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/readme.txt -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/pdfcorefonts/Helvetica-Bold.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/pdfcorefonts
-copying matplotlib/mpl-data/fonts/afm/putbi8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvr8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pzdr.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvb8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvro8an.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pncr8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pcrb8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pplb8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pcrr8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/cmtt10.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pncbi8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pplr8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvro8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/psyr.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/putr8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pncb8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pplbi8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pagk8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pcrbo8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pbkl8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/cmmi10.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvl8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/cmr10.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pbkdi8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/ptmbi8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/ptmri8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvbo8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pbkd8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pbkli8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/cmex10.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/ptmr8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pncri8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/putri8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvlo8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/ptmb8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvb8an.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/cmsy10.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pplri8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/putb8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvr8an.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pzcmi8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pagd8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/phvbo8an.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pagko8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pcrro8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/afm/pagdo8a.afm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/afm
-copying matplotlib/mpl-data/fonts/ttf/cmtt10.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSerif-BoldItalic.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizOneSymReg.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Bold.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/cmmi10.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymReg.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXGeneralBolIta.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/cmb10.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSerif.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/cmex10.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizFourSymReg.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizOneSymBol.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Italic.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizFiveSymReg.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/cmsy10.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizFourSymBol.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXNonUniIta.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXGeneralItalic.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/LICENSE_STIX -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSansDisplay.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/cmr10.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSerifDisplay.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXNonUniBol.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSans-Oblique.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-Oblique.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXNonUni.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymReg.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizTwoSymBol.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSans-BoldOblique.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXNonUniBolIta.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSerif-Bold.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSansMono-BoldOblique.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/cmss10.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSansMono.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXGeneral.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSans.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/DejaVuSans-Bold.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXGeneralBol.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/fonts/ttf/STIXSizThreeSymBol.ttf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf
-copying matplotlib/mpl-data/sample_data/eeg.dat -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/jacksboro_fault_dem.npz -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/embedding_in_wx3.xrc -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/ct.raw.gz -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/s1045.ima.gz -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/percent_bachelors_degrees_women_usa.csv -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/logo2.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/grace_hopper.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/demodata.csv -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/goog.npz -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/aapl.npz -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/membrane.dat -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/grace_hopper.jpg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/Minduka_Present_Blue_Pack.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/ada.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/None_vs_nearest-pdf.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/data_x_x2_x3.csv -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/README.txt -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/msft.csv -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data
-copying matplotlib/mpl-data/sample_data/axes_grid/bivariate_normal.npy -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/sample_data/axes_grid
-copying matplotlib/mpl-data/images/move.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/hand.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/home.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/back.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/back_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/back.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/back.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/subplots.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/subplots.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/forward_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/qt4_editor_options.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/qt4_editor_options_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/hand_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/home_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/home.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/zoom_to_rect_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/zoom_to_rect_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/zoom_to_rect.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/hand.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/home.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/back.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/hand.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/move_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/filesave_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/zoom_to_rect.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/matplotlib_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/filesave_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/zoom_to_rect.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/filesave.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/matplotlib.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/zoom_to_rect.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/filesave.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/qt4_editor_options.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/matplotlib.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/move_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/home.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/qt4_editor_options.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/back_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/matplotlib.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/forward.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/hand.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/move.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/filesave.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/subplots_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/move.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/forward.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/forward_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/subplots.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/forward.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/home_large.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/subplots_large.gif -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/filesave.pdf -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/matplotlib.ppm -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/subplots.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/forward.svg -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/mpl-data/images/move.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mpl-data/images
-copying matplotlib/sphinxext/mathmpl.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext
-copying matplotlib/sphinxext/only_directives.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext
-copying matplotlib/sphinxext/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext
-copying matplotlib/sphinxext/plot_directive.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext
-copying matplotlib/testing/exceptions.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/decorators.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/disable_internet.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/conftest.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/determinism.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/compare.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/noseclasses.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing
-copying matplotlib/testing/_nose/exceptions.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose
-copying matplotlib/testing/_nose/decorators.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose
-copying matplotlib/testing/_nose/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose
-copying matplotlib/testing/_nose/plugins/knownfailure.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/plugins
-copying matplotlib/testing/_nose/plugins/performgc.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/plugins
-copying matplotlib/testing/_nose/plugins/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/plugins
-copying matplotlib/testing/jpl_units/EpochConverter.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/testing/jpl_units/UnitDblConverter.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/testing/jpl_units/Duration.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/testing/jpl_units/UnitDbl.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/testing/jpl_units/UnitDblFormatter.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/testing/jpl_units/Epoch.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/testing/jpl_units/StrConverter.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/testing/jpl_units/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units
-copying matplotlib/backends/backend_qt4.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_gtkagg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_svg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_ps.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_gtk3.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/_gtk3_compat.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/qt_compat.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_webagg_core.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_webagg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_gdk.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/_backend_tk.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_nbagg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_wxcairo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/_backend_agg.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/windowing.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_template.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_gtk.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_agg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/_tkagg.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/wx_compat.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/_backend_gdk.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/tkagg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_wx.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/_gtkagg.so -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_wxagg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_tkagg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_qt5.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_gtk3agg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_qt4agg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_mixed.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_macosx.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_pgf.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_gtkcairo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_qt5cairo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_qt4cairo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_pdf.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_tkcairo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_qt5agg.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_cairo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/backend_gtk3cairo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends
-copying matplotlib/backends/qt_editor/formlayout.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor
-copying matplotlib/backends/qt_editor/formsubplottool.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor
-copying matplotlib/backends/qt_editor/figureoptions.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor
-copying matplotlib/backends/qt_editor/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor
-copying matplotlib/backends/web_backend/nbagg_uat.ipynb -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend
-copying matplotlib/backends/web_backend/single_figure.html -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend
-copying matplotlib/backends/web_backend/ipython_inline_figure.html -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend
-copying matplotlib/backends/web_backend/all_figures.html -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend
-copying matplotlib/backends/web_backend/css/boilerplate.css -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/css
-copying matplotlib/backends/web_backend/css/page.css -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/css
-copying matplotlib/backends/web_backend/css/fbm.css -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/css
-copying matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_glass_100_fdf5ce_1x400.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_gloss-wave_35_f6a828_500x100.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_diagonals-thick_18_b81900_40x40.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_228ef1_256x240.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_ffffff_256x240.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_ef8c08_256x240.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_diagonals-thick_20_666666_40x40.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_flat_10_000000_40x100.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_glass_100_f6f6f6_1x400.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_ffd27a_256x240.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-icons_222222_256x240.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_glass_65_ffffff_1x400.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/css/themes/base/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/images
-copying matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/js
-copying matplotlib/backends/web_backend/jquery/js/jquery-1.11.3.min.js -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/jquery/js
-copying matplotlib/backends/web_backend/js/mpl.js -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/js
-copying matplotlib/backends/web_backend/js/mpl_tornado.js -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/js
-copying matplotlib/backends/web_backend/js/nbagg_mpl.js -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/web_backend/js
-copying matplotlib/tri/triinterpolate.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/trirefine.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/tritools.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/tricontour.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/triangulation.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/trifinder.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/triplot.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/tripcolor.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/tri/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri
-copying matplotlib/projections/polar.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/projections
-copying matplotlib/projections/geo.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/projections
-copying matplotlib/projections/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/projections
-copying matplotlib/cbook/deprecation.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/cbook
-copying matplotlib/cbook/_backports.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/cbook
-copying matplotlib/cbook/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/cbook
-copying matplotlib/axes/_base.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes
-copying matplotlib/axes/_axes.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes
-copying matplotlib/axes/_subplots.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes
-copying matplotlib/axes/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes
-copying matplotlib/style/core.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/style
-copying matplotlib/style/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/style
-Skipping installation of /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/__init__.py (namespace package)
-copying mpl_toolkits/axes_grid1/axes_grid.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/axes_divider.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/inset_locator.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/axes_size.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/parasite_axes.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/mpl_axes.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/anchored_artists.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/colorbar.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid1/axes_rgb.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1
-copying mpl_toolkits/axes_grid/floating_axes.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/axes_grid.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/axes_divider.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/inset_locator.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/axes_size.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/parasite_axes.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/axislines.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/grid_helper_curvelinear.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/anchored_artists.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/colorbar.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/angle_helper.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/axes_rgb.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/axis_artist.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/axisline_style.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/grid_finder.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/axes_grid/clip_path.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid
-copying mpl_toolkits/mplot3d/proj3d.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d
-copying mpl_toolkits/mplot3d/axes3d.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d
-copying mpl_toolkits/mplot3d/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d
-copying mpl_toolkits/mplot3d/axis3d.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d
-copying mpl_toolkits/mplot3d/art3d.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d
-copying mpl_toolkits/axisartist/floating_axes.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/axes_grid.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/axes_divider.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/parasite_axes.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/axislines.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/grid_helper_curvelinear.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/angle_helper.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/__init__.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/axes_rgb.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/axis_artist.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/axisline_style.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/grid_finder.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-copying mpl_toolkits/axisartist/clip_path.py -> /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/pylab.py to pylab.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/stackplot.py to stackplot.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_animation_data.py to _animation_data.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/dviread.py to dviread.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tight_bbox.py to tight_bbox.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/fontconfig_pattern.py to fontconfig_pattern.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backend_bases.py to backend_bases.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/figure.py to figure.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/offsetbox.py to offsetbox.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/image.py to image.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/dates.py to dates.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/gridspec.py to gridspec.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_pylab_helpers.py to _pylab_helpers.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sankey.py to sankey.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/container.py to container.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backend_managers.py to backend_managers.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/streamplot.py to streamplot.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/textpath.py to textpath.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py to pyplot.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/widgets.py to widgets.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_version.py to _version.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/legend.py to legend.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/font_manager.py to font_manager.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/colors.py to colors.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/docstring.py to docstring.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/markers.py to markers.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/text.py to text.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/rcsetup.py to rcsetup.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mathtext.py to mathtext.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/cm.py to cm.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/scale.py to scale.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/spines.py to spines.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/legend_handler.py to legend_handler.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/texmanager.py to texmanager.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/colorbar.py to colorbar.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/type1font.py to type1font.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/quiver.py to quiver.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_cm_listed.py to _cm_listed.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/transforms.py to transforms.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/hatch.py to hatch.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/category.py to category.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/collections.py to collections.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_color_data.py to _color_data.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_mathtext_data.py to _mathtext_data.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/patheffects.py to patheffects.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tight_layout.py to tight_layout.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/contour.py to contour.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_layoutbox.py to _layoutbox.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/path.py to path.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/bezier.py to bezier.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/ticker.py to ticker.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/artist.py to artist.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/animation.py to animation.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_constrained_layout.py to _constrained_layout.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backend_tools.py to backend_tools.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/afm.py to afm.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/pylab.py to pylab.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/lines.py to lines.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/units.py to units.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/_cm.py to _cm.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/table.py to table.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/mlab.py to mlab.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/blocking_input.py to blocking_input.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axis.py to axis.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/patches.py to patches.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/compat/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/compat/subprocess.py to subprocess.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext/mathmpl.py to mathmpl.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext/only_directives.py to only_directives.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py to plot_directive.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/exceptions.py to exceptions.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/decorators.py to decorators.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/disable_internet.py to disable_internet.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/conftest.py to conftest.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/determinism.py to determinism.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/compare.py to compare.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/noseclasses.py to noseclasses.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/exceptions.py to exceptions.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/decorators.py to decorators.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/plugins/knownfailure.py to knownfailure.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/plugins/performgc.py to performgc.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/_nose/plugins/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/EpochConverter.py to EpochConverter.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblConverter.py to UnitDblConverter.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/Duration.py to Duration.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDbl.py to UnitDbl.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.py to UnitDblFormatter.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/Epoch.py to Epoch.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/StrConverter.py to StrConverter.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4.py to backend_qt4.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtkagg.py to backend_gtkagg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_svg.py to backend_svg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_ps.py to backend_ps.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk3.py to backend_gtk3.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/_gtk3_compat.py to _gtk3_compat.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_compat.py to qt_compat.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_webagg_core.py to backend_webagg_core.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_webagg.py to backend_webagg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gdk.py to backend_gdk.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/_backend_tk.py to _backend_tk.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_nbagg.py to backend_nbagg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_wxcairo.py to backend_wxcairo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/windowing.py to windowing.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_template.py to backend_template.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py to backend_gtk.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py to backend_agg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/wx_compat.py to wx_compat.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/tkagg.py to tkagg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_wx.py to backend_wx.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_wxagg.py to backend_wxagg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_tkagg.py to backend_tkagg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt5.py to backend_qt5.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk3agg.py to backend_gtk3agg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py to backend_qt4agg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_mixed.py to backend_mixed.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_macosx.py to backend_macosx.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_pgf.py to backend_pgf.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtkcairo.py to backend_gtkcairo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt5cairo.py to backend_qt5cairo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4cairo.py to backend_qt4cairo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_pdf.py to backend_pdf.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_tkcairo.py to backend_tkcairo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt5agg.py to backend_qt5agg.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_cairo.py to backend_cairo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk3cairo.py to backend_gtk3cairo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor/formlayout.py to formlayout.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor/formsubplottool.py to formsubplottool.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor/figureoptions.py to figureoptions.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/backends/qt_editor/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/triinterpolate.py to triinterpolate.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/trirefine.py to trirefine.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/tritools.py to tritools.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/tricontour.py to tricontour.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/triangulation.py to triangulation.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/trifinder.py to trifinder.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/triplot.py to triplot.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/tripcolor.py to tripcolor.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/tri/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/projections/polar.py to polar.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/projections/geo.py to geo.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/projections/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/cbook/deprecation.py to deprecation.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/cbook/_backports.py to _backports.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/cbook/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes/_base.py to _base.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes/_axes.py to _axes.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes/_subplots.py to _subplots.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/axes/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/style/core.py to core.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib/style/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/axes_grid.py to axes_grid.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/axes_divider.py to axes_divider.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/inset_locator.py to inset_locator.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/axes_size.py to axes_size.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/parasite_axes.py to parasite_axes.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/mpl_axes.py to mpl_axes.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/anchored_artists.py to anchored_artists.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/colorbar.py to colorbar.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid1/axes_rgb.py to axes_rgb.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/floating_axes.py to floating_axes.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/axes_grid.py to axes_grid.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/axes_divider.py to axes_divider.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/inset_locator.py to inset_locator.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/axes_size.py to axes_size.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/parasite_axes.py to parasite_axes.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/axislines.py to axislines.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/grid_helper_curvelinear.py to grid_helper_curvelinear.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/anchored_artists.py to anchored_artists.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/colorbar.py to colorbar.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/angle_helper.py to angle_helper.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/axes_rgb.py to axes_rgb.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/axis_artist.py to axis_artist.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/axisline_style.py to axisline_style.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/grid_finder.py to grid_finder.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axes_grid/clip_path.py to clip_path.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d/proj3d.py to proj3d.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.py to axes3d.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d/axis3d.py to axis3d.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/mplot3d/art3d.py to art3d.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/floating_axes.py to floating_axes.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/axes_grid.py to axes_grid.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/axes_divider.py to axes_divider.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/parasite_axes.py to parasite_axes.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/axislines.py to axislines.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/grid_helper_curvelinear.py to grid_helper_curvelinear.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/angle_helper.py to angle_helper.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/__init__.py to __init__.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/axes_rgb.py to axes_rgb.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/axis_artist.py to axis_artist.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/axisline_style.py to axisline_style.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/grid_finder.py to grid_finder.pyc
-byte-compiling /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/mpl_toolkits/axisartist/clip_path.py to clip_path.pyc
-running install_egg_info
-running egg_info
-writing requirements to lib/matplotlib.egg-info/requires.txt
-writing lib/matplotlib.egg-info/PKG-INFO
-writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
-writing top-level names to lib/matplotlib.egg-info/top_level.txt
-writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
-reading manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
-reading manifest template 'MANIFEST.in'
-writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
-Copying lib/matplotlib.egg-info to /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib-2.2.3-py2.7.egg-info
-Installing /tmp/SBo/package-matplotlib/usr/lib64/python2.7/site-packages/matplotlib-2.2.3-py2.7-nspkg.pth
-running install_scripts
diff --git a/libraries/matplotlib/matplotlib.SlackBuild b/libraries/matplotlib/matplotlib.SlackBuild
deleted file mode 100644
index d73281a6c1..0000000000
--- a/libraries/matplotlib/matplotlib.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for matplotlib
-
-# Copyright 2011-2019 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 to 0.99.1.2 by João Felipe Santos <joao.eel@gmail.com>
-# Patch for libpng borrowed from Arch Linux (no longer needed, 2016.08.28, S.U.)
-# Updated up to version 2.2.3 by Serban Udrea <S.Udrea@gsi.de>
-
-PRGNAM=matplotlib
-VERSION=${VERSION:-2.2.3}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-TARBALL_VERSION=${TARBALL_VERSION:-2.2.3} # Tarball may have wrong versioning
-ENABLE_TESTS=${ENABLE_TESTS:-N}
-DISABLE_WXAGG=${DISABLE_WXAGG:-Y}
-
-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=${PKG:-$TMP/package-$PRGNAM}
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$TARBALL_VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$TARBALL_VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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_TESTS=$(echo "$ENABLE_TESTS"|cut -b 1|tr a-z A-Z)
-DISABLE_WXAGG=$(echo "$DISABLE_WXAGG"|cut -b 1|tr a-z A-Z)
-cat setup.cfg.template > setup.cfg
-
-if [ "$ENABLE_TESTS" = "Y" ]
-then
- sed -i "s|#tests = False|tests = True|" setup.cfg
-fi
-
-if [ "$DISABLE_WXAGG" = "Y" ]
-then
- sed -i "s|#wxagg = auto|wxagg = False|" 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
-
-python setup.py install --root $PKG # > ${CWD}/SETUP.OUTPUT 2>&1
-
-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 INSTALL.rst MANIFEST.in README.rst 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/libraries/matplotlib/matplotlib.info b/libraries/matplotlib/matplotlib.info
deleted file mode 100644
index 5cfc0dfcf1..0000000000
--- a/libraries/matplotlib/matplotlib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="matplotlib"
-VERSION="2.2.3"
-HOMEPAGE="https://matplotlib.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/eb/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3.tar.gz"
-MD5SUM="403b0bddd751d71187416f20d4cff100"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="numpy python-dateutil pyparsing pytz cycler six functools-lru-cache subprocess32 kiwisolver tornado"
-MAINTAINER="Serban Udrea"
-EMAIL="S.Udrea@gsi.de"
diff --git a/libraries/matplotlib/slack-desc b/libraries/matplotlib/slack-desc
deleted file mode 100644
index 2551f71c40..0000000000
--- a/libraries/matplotlib/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------------------------------------------------------|
-matplotlib: matplotlib (a Python 2D plotting library)
-matplotlib:
-matplotlib: Matplotlib is a plotting library for Python which uses
-matplotlib: syntax similar to MATLAB. Matplotlib produces publication
-matplotlib: quality figures in a variety of hardcopy formats and
-matplotlib: interactive environments across platforms.
-matplotlib:
-matplotlib: Homepage: http://matplotlib.sourceforge.net/
-matplotlib:
-matplotlib:
-matplotlib:
diff --git a/libraries/mbedtls/mbedtls.SlackBuild b/libraries/mbedtls/mbedtls.SlackBuild
index 8a5249f1f6..792cd7af56 100644
--- a/libraries/mbedtls/mbedtls.SlackBuild
+++ b/libraries/mbedtls/mbedtls.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mbedtls
# Copyright 2015 Euan Thoms (euan at potensol dot com)
-# Copyright 2019 Hunter Sezen California, USA
+# Copyright 2019-2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org: fix PRINT_PACKAGE_NAME.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mbedtls
-VERSION=${VERSION:-2.16.2}
+VERSION=${VERSION:-2.16.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,6 +45,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" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -66,28 +75,25 @@ 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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DLIB_INSTALL_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \
- -DCMAKE_SKIP_RPATH:BOOL=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \
-DUSE_SHARED_MBEDTLS_LIBRARY=ON \
-DUSE_STATIC_MBEDTLS_LIBRARY=OFF \
-DENABLE_TESTING=OFF \
- -DCMAKE_BUILD_TYPE:STRING=Release ..
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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 CONTRIBUTING.md ChangeLog LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,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/libraries/mbedtls/mbedtls.info b/libraries/mbedtls/mbedtls.info
index d1241d5f41..986067a587 100644
--- a/libraries/mbedtls/mbedtls.info
+++ b/libraries/mbedtls/mbedtls.info
@@ -1,8 +1,8 @@
PRGNAM="mbedtls"
-VERSION="2.16.2"
+VERSION="2.16.8"
HOMEPAGE="https://tls.mbed.org"
-DOWNLOAD="https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.16.2/mbedtls-mbedtls-2.16.2.tar.gz"
-MD5SUM="e099b6f9fffde49565133770f3f5f387"
+DOWNLOAD="https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.16.8/mbedtls-mbedtls-2.16.8.tar.gz"
+MD5SUM="d44a5245c8bd39f84976fec4d4e635ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/md4c/README b/libraries/md4c/README
new file mode 100644
index 0000000000..20c0f53f80
--- /dev/null
+++ b/libraries/md4c/README
@@ -0,0 +1,40 @@
+MD4C stands for "Markdown for C" and that's exactly what this project
+is about.
+
+MD4C is Markdown parser implementation in C, with the following
+features:
+
+ *Compliance: Generally, MD4C aims to be compliant to the latest
+version of CommonMark specification. Currently, we are fully compliant
+to CommonMark 0.30.
+
+ *Extensions: MD4C supports some commonly requested and accepted
+extensions. See below.
+
+ *Performance: MD4C is very fast.
+
+ *Compactness: MD4C parser is implemented in one source file and
+one header file. There are no dependencies other than standard C
+library.
+
+ *Embedding: MD4C parser is easy to reuse in other projects, its
+API is very straightforward: There is actually just one function,
+md_parse().
+
+ *Push model: MD4C parses the complete document and calls few
+callback functions provided by the application to inform it about a
+start/end of every block, a start/end of every span, and with any
+textual contents.
+
+ *Portability: MD4C builds and works on Windows and
+POSIX-compliant OSes. (It should be simple to make it run also on
+most other platforms, at least as long as the platform provides C
+standard library, including a heap memory management.)
+
+ *Encoding: MD4C by default expects UTF-8 encoding of the input
+document. But it can be compiled to recognize ASCII-only control
+characters (i.e. to disable all Unicode-specific code), or (on
+Windows) to expect UTF-16 (i.e. what is on Windows commonly called
+just "Unicode"). See more details below.
+
+ *Permissive license: MD4C is available under the MIT license.
diff --git a/libraries/md4c/md4c.SlackBuild b/libraries/md4c/md4c.SlackBuild
new file mode 100644
index 0000000000..71b8fa7a33
--- /dev/null
+++ b/libraries/md4c/md4c.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for md4c
+
+# Copyright 2022-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=md4c
+SRCNAM=md4c-release
+VERSION=${VERSION:-0.5.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 $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 build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+#md4c doesn't accept the flag for DMAN_INSTALL_DIR, so we do it manually:
+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
+
+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/libraries/md4c/md4c.info b/libraries/md4c/md4c.info
new file mode 100644
index 0000000000..af0a76b327
--- /dev/null
+++ b/libraries/md4c/md4c.info
@@ -0,0 +1,10 @@
+PRGNAM="md4c"
+VERSION="0.5.2"
+HOMEPAGE="https://github.com/mity/md4c"
+DOWNLOAD="https://github.com/mity/md4c/archive/release-0.5.2/md4c-release-0.5.2.tar.gz"
+MD5SUM="8ead909cfe31884295e81e2eee32bac9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/md4c/slack-desc b/libraries/md4c/slack-desc
new file mode 100644
index 0000000000..03eafb51b0
--- /dev/null
+++ b/libraries/md4c/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------------------------------------------------------|
+md4c: md4c (Markdown for C)
+md4c:
+md4c: C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark
+md4c: specification.
+md4c:
+md4c: Homepage: https://github.com/mity/md4c
+md4c:
+md4c:
+md4c:
+md4c:
+md4c:
diff --git a/libraries/mdds/mdds.SlackBuild b/libraries/mdds/mdds.SlackBuild
index 9892591003..82b571c0f3 100644
--- a/libraries/mdds/mdds.SlackBuild
+++ b/libraries/mdds/mdds.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mdds
-# Copyright 2015-2019 Hunter Sezen California, USA
+# Copyright 2015-2020 Hunter Sezen California, USA
# 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=mdds
-VERSION=${VERSION:-1.5.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.1}
+BUILD=${BUILD:-2}
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,6 +59,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 {} \;
+autoreconf -fi
+
./configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
@@ -61,8 +73,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CHANGELOG LICENSE 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/libraries/mdds/mdds.info b/libraries/mdds/mdds.info
index 5896036f58..52d71ee022 100644
--- a/libraries/mdds/mdds.info
+++ b/libraries/mdds/mdds.info
@@ -1,8 +1,8 @@
PRGNAM="mdds"
-VERSION="1.5.0"
+VERSION="2.0.1"
HOMEPAGE="https://gitlab.com/mdds/mdds"
-DOWNLOAD="https://kohei.us/files/mdds/src/mdds-1.5.0.tar.bz2"
-MD5SUM="52cb08e92fec8842a3724bd89051f9d3"
+DOWNLOAD="https://gitlab.com/mdds/mdds/-/archive/2.0.1/mdds-2.0.1.tar.bz2"
+MD5SUM="e3cca62eeafa0031803c82874e771bcb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/meanwhile/README b/libraries/meanwhile/README
index 37ffa87237..fcac4a2d37 100644
--- a/libraries/meanwhile/README
+++ b/libraries/meanwhile/README
@@ -1,12 +1,13 @@
The Meanwhile Project is an open implementation of the Lotus Sametime
-Community Client protocol. The Meanwhile Project is neither endorsed by
-nor affiliated with Lotus or IBM. It is an independent project aiming to
-fill a space Lotus has left vacant.
+Community Client protocol. The Meanwhile Project is neither endorsed
+by nor affiliated with Lotus or IBM. It is an independent project
+aiming to fill a space Lotus has left vacant.
-The heart of the Meanwhile Project is the Meanwhile library, providing the
-basic Lotus Sametime session functionality along with the core services;
-Presence Awareness, Instant Messaging, Multi-user Conferencing, Preferences
-Storage, Identity Resolution, and File Transfer. This extensible client
-interface allows additional services to be added to a session at runtime,
-allowing for simple integration of future service handlers such as the user
-directory and whiteboard and screen-sharing.
+The heart of the Meanwhile Project is the Meanwhile library,
+providing the basic Lotus Sametime session functionality along with
+the core services; Presence Awareness, Instant Messaging, Multi-user
+Conferencing, Preferences Storage, Identity Resolution, and File
+Transfer. This extensible client interface allows additional services
+to be added to a session at runtime, allowing for simple integration
+of future service handlers such as the user directory and whiteboard
+and screen-sharing.
diff --git a/libraries/meanwhile/meanwhile.SlackBuild b/libraries/meanwhile/meanwhile.SlackBuild
index e04faacf0b..fbde8b6abf 100644
--- a/libraries/meanwhile/meanwhile.SlackBuild
+++ b/libraries/meanwhile/meanwhile.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Meanwhile
#
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=6:
+# - remove empty NEWS from doc dir.
+# - fix the build shell script in the doc dir.
+# - use "set -e" instead of littering "|| exit 1" everywhere.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meanwhile
VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-6}
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"
@@ -54,6 +66,8 @@ else
LIBDIRSUFFIX=""
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -63,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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 to only include glib.h
patch -p1 < $CWD/fix_glib_includes.patch
@@ -80,19 +94,25 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var/lib \
--disable-static \
- --build=$ARCH-slackware-linux \
- || exit 1
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
mv $PKG/usr/share/doc/meanwhile-doc-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share
-cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README TODO \
+cp -a AUTHORS COPYING ChangeLog LICENSE README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# 20220419 bkw: this is a shell script, but it has a bogus blank line
+# before the shebang.
+sed -i '1d' $PKG/usr/doc/$PRGNAM-$VERSION/samples/build
+
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/med/hdf5-1.14.patch b/libraries/med/hdf5-1.14.patch
new file mode 100644
index 0000000000..8a95866b7b
--- /dev/null
+++ b/libraries/med/hdf5-1.14.patch
@@ -0,0 +1,117 @@
+From 5c9c1ce9911290283d39e16b1ed4c1d4ea5a5678 Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Tue, 24 Aug 2021 08:32:13 +0200
+Subject: [PATCH] build against hdf5-1.12
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+---
+ config/cmake_files/medMacros.cmake | 4 ++--
+ src/ci/MEDfileCompatibility.c | 2 +-
+ src/hdfi/_MEDfileCreate.c | 2 +-
+ src/hdfi/_MEDfileOpen.c | 2 +-
+ src/hdfi/_MEDmemFileOpen.c | 2 +-
+ src/hdfi/_MEDparFileCreate.c | 2 +-
+ src/hdfi/_MEDparFileOpen.c | 2 +-
+ 7 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/config/cmake_files/medMacros.cmake b/config/cmake_files/medMacros.cmake
+index 957c59b..d73c7af 100644
+--- a/config/cmake_files/medMacros.cmake
++++ b/config/cmake_files/medMacros.cmake
+@@ -447,13 +447,13 @@ MACRO(MED_FIND_HDF5)
+ ##
+ ## Requires 1.10.x version
+ ##
+- IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 10 OR NOT HDF_VERSION_RELEASE_REF GREATER 1)
++ IF(HDF5_VERSION VERSION_LESS 1.10.2)
+ MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only versions >= 1.10.2 are supported.")
+ ENDIF()
+ ##
+ ##
+
+- ADD_DEFINITIONS(-DH5_USE_16_API)
++ ADD_DEFINITIONS(-DH5_USE_18_API -DH5_USE_16_API)
+ IF(WIN32 AND MEDFILE_BUILD_SHARED_LIBS)
+ ADD_DEFINITIONS(-D_HDF5USEDLL_ -DH5_BUILT_AS_DYNAMIC_LIB=1)
+ ENDIF()
+diff --git a/src/ci/MEDfileCompatibility.c b/src/ci/MEDfileCompatibility.c
+index 1d6cabf..43b5b50 100644
+--- a/src/ci/MEDfileCompatibility.c
++++ b/src/ci/MEDfileCompatibility.c
+@@ -113,7 +113,7 @@ MEDfileCompatibility(const char* const filename,
+ #if MED_NUM_MAJEUR != 4
+ #error "Don't forget to update the test version here when you change the major version of the library !"
+ #endif
+-#if H5_VERS_MINOR > 10
++#if H5_VERS_MINOR > 14
+ #error "Don't forget to check the compatibility version of the library, depending on the internal hdf model choice !"
+ #error "Cf. _MEDfileCreate ..."
+ #endif
+diff --git a/src/hdfi/_MEDfileCreate.c b/src/hdfi/_MEDfileCreate.c
+index 4bc9551..b670c92 100644
+--- a/src/hdfi/_MEDfileCreate.c
++++ b/src/hdfi/_MEDfileCreate.c
+@@ -159,7 +159,7 @@ med_idt _MEDfileCreate(const char * const filename, const med_access_mode access
+ * En HDF5-1.10.0p1 cela n'a aucun effet !
+ * Un test autoconf permet de fixer un intervalle de version HDF à MED.
+ */
+-#if H5_VERS_MINOR > 10
++#if H5_VERS_MINOR > 14
+ #error "Don't forget to change the compatibility version of the library !"
+ #endif
+
+diff --git a/src/hdfi/_MEDfileOpen.c b/src/hdfi/_MEDfileOpen.c
+index 8ace00e..ebd875b 100644
+--- a/src/hdfi/_MEDfileOpen.c
++++ b/src/hdfi/_MEDfileOpen.c
+@@ -72,7 +72,7 @@ med_idt _MEDfileOpen(const char * const filename,const med_access_mode accessmod
+
+ • The creation order tracking property, H5P_CRT_ORDER_TRACKED, has been set in the group creation property list (see H5Pset_link_creation_order).
+ */
+-#if H5_VERS_MINOR > 10
++#if H5_VERS_MINOR > 14
+ #error "Don't forget to change the compatibility version of the library !"
+ #endif
+ /* L'avantage de bloquer le modèle interne HDF5
+diff --git a/src/hdfi/_MEDmemFileOpen.c b/src/hdfi/_MEDmemFileOpen.c
+index ae92ba7..4a929ff 100644
+--- a/src/hdfi/_MEDmemFileOpen.c
++++ b/src/hdfi/_MEDmemFileOpen.c
+@@ -434,7 +434,7 @@ med_idt _MEDmemFileOpen(const char * const filename, med_memfile * const memfile
+ goto ERROR;
+ }
+
+-#if H5_VERS_MINOR > 10
++#if H5_VERS_MINOR > 14
+ #error "Don't forget to change the compatibility version of the library !"
+ #endif
+ if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18) ) {
+diff --git a/src/hdfi/_MEDparFileCreate.c b/src/hdfi/_MEDparFileCreate.c
+index f0b77be..b7d1b78 100644
+--- a/src/hdfi/_MEDparFileCreate.c
++++ b/src/hdfi/_MEDparFileCreate.c
+@@ -64,7 +64,7 @@ med_idt _MEDparFileCreate(const char * const filename, const med_access_mode acc
+ * En HDF5-1.10.0p1 cela n'a aucun effet !
+ * Un test autoconf permet de fixer un intervalle de version HDF à MED.
+ */
+-#if H5_VERS_MINOR > 10
++#if H5_VERS_MINOR > 14
+ #error "Don't forget to change the compatibility version of the library !"
+ #endif
+
+diff --git a/src/hdfi/_MEDparFileOpen.c b/src/hdfi/_MEDparFileOpen.c
+index 0a9700d..4933692 100644
+--- a/src/hdfi/_MEDparFileOpen.c
++++ b/src/hdfi/_MEDparFileOpen.c
+@@ -55,7 +55,7 @@ med_idt _MEDparFileOpen(const char * const filename,const med_access_mode access
+ MED_ERR_(_fid,MED_ERR_INIT,MED_ERR_PROPERTY,MED_ERR_PARALLEL_MSG);
+ goto ERROR;
+ }
+-#if H5_VERS_MINOR > 10
++#if H5_VERS_MINOR > 14
+ #error "Don't forget to change the compatibility version of the library !"
+ #endif
+ if ( H5Pset_libver_bounds( _fapl, H5F_LIBVER_18, H5F_LIBVER_18 ) ) {
+--
+2.32.0
+
diff --git a/libraries/med/med.SlackBuild b/libraries/med/med.SlackBuild
index 9256b4e3b0..687f7d8ec8 100644
--- a/libraries/med/med.SlackBuild
+++ b/libraries/med/med.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for med
@@ -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=med
-VERSION=${VERSION:-3.2.1}
+VERSION=${VERSION:-4.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}
@@ -54,16 +64,14 @@ else
LIBDIRSUFFIX=""
fi
-SRCVERSION=$(echo $VERSION'_SRC')
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
+rm -rf ${PRGNAM}-${VERSION}_SRC
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
+cd ${PRGNAM}-${VERSION}_SRC
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -71,25 +79,30 @@ 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 \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-fortran \
- --disable-static \
- --build=$ARCH-slackware-linux
-
-# fix directory paths in Makefiles
-# from /usr//lib to /usr/lib64 for 64-bit
-# from /usr// to /usr/
-find -name Makefile -exec sed -i "s/\/usr\/\/lib/\/usr\/lib$LIBDIRSUFFIX/g" {} \;
-find -name Makefile -exec sed -i "s/\/usr\/\//\/usr\//g" {} \;
-
-make
-make install DESTDIR=$PKG
+patch -p1 < $CWD/hdf5-1.14.patch
+sed -i 's/if H5_VERS_MINOR > 10/if 0/g' src/ci/MEDfileCompatibility.c # :o
+
+export CPPFLAGS+=' -DH5_USE_110_API'
+
+PYTHON_VERSION=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') \
+
+sed -i "s|_install_dir\ lib/python|_install_dir lib$LIBDIRSUFFIX/python|" python/CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DMEDFILE_BUILD_PYTHON=ON \
+ -DMEDFILE_BUILD_TESTS=OFF \
+ -DMEDFILE_INSTALL_DOC=OFF \
+ -DLIB_SUFFIX=$LIBDIRSUFFIX \
+ -GNinja ..
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
@@ -101,8 +114,10 @@ rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.settings
find $PKG -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/libraries/med/med.info b/libraries/med/med.info
index b35c93daa5..606b5a7d16 100644
--- a/libraries/med/med.info
+++ b/libraries/med/med.info
@@ -1,10 +1,10 @@
PRGNAM="med"
-VERSION="3.2.1"
+VERSION="4.1.1"
HOMEPAGE="https://www.code-aster.org"
-DOWNLOAD="http://files.salome-platform.org/Salome/other/med-3.2.1.tar.gz"
-MD5SUM="4965899bb578229ba27c9bc5293c651e"
+DOWNLOAD="http://files.salome-platform.org/Salome/other/med-4.1.1.tar.gz"
+MD5SUM="7f3e223385a762a8690f7735397dfde9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="hdf5"
MAINTAINER="blizzack"
-EMAIL="slackbuilds@blizzack.com" \ No newline at end of file
+EMAIL="slackbuilds@blizzack.com"
diff --git a/libraries/menu-cache/README b/libraries/menu-cache/README
index 2fbf04c68d..23db4733a5 100644
--- a/libraries/menu-cache/README
+++ b/libraries/menu-cache/README
@@ -1,3 +1,3 @@
-Libmenu-cache is a library creating and utilizing caches to speed up the
-manipulation for freedesktop.org defined application menus. It can be used as
-a replacement of libgnome-menu of gnome-menus.
+Libmenu-cache is a library creating and utilizing caches to speed up
+the manipulation for freedesktop.org defined application menus. It can
+be used as a replacement of libgnome-menu of gnome-menus.
diff --git a/libraries/menu-cache/menu-cache.SlackBuild b/libraries/menu-cache/menu-cache.SlackBuild
index b5157fa1fa..ba8831d00d 100644
--- a/libraries/menu-cache/menu-cache.SlackBuild
+++ b/libraries/menu-cache/menu-cache.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for menu-cache
@@ -25,10 +25,13 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=menu-cache
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -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 {} \;
-# Apply upstream patches
+# Apply upstream patches and fix building with gcc >= 10.x
for i in $CWD/patches/* ; do patch -p1 < $i ; done
sh autogen.sh || true
@@ -97,8 +107,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS 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/libraries/menu-cache/patches/Support-gcc10-compilation.patch b/libraries/menu-cache/patches/Support-gcc10-compilation.patch
new file mode 100644
index 0000000000..29f8e53444
--- /dev/null
+++ b/libraries/menu-cache/patches/Support-gcc10-compilation.patch
@@ -0,0 +1,108 @@
+From 1ce739649b4d66339a03fc0ec9ee7a2f7c141780 Mon Sep 17 00:00:00 2001
+From: Mamoru TASAKA <mtasaka@fedoraproject.org>
+Date: Fri, 24 Jan 2020 13:33:00 +0900
+Subject: [PATCH] Support gcc10 compilation
+
+gcc10 now defaults to -fno-common, and with gcc10 menu-cache compilation fails like
+
+/bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:167: multiple definition of `DirDirs'; main.o:menu-cache-gen/menu-tags.h:167: first defined here
+/bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:164: multiple definition of `AppDirs'; main.o:menu-cache-gen/menu-tags.h:164: first defined here
+/bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:52: multiple definition of `menuTag_Layout'; main.o:menu-cache-gen/menu-tags.h:52: first defined here
+....
+
+This patch fixes compilation with gcc10: properly declaring variables in header with "extern", and also removing some unneeded variables in header files.
+---
+ menu-cache-gen/menu-tags.h | 55 ++++++++++++--------------------------
+ 1 file changed, 17 insertions(+), 38 deletions(-)
+
+diff --git a/menu-cache-gen/menu-tags.h b/menu-cache-gen/menu-tags.h
+index f3fd7d3..f71c0bc 100644
+--- a/menu-cache-gen/menu-tags.h
++++ b/menu-cache-gen/menu-tags.h
+@@ -22,38 +22,17 @@
+ #include <libfm/fm-extra.h>
+ #include <menu-cache.h>
+
+-FmXmlFileTag menuTag_Menu;
+-FmXmlFileTag menuTag_AppDir;
+-FmXmlFileTag menuTag_DefaultAppDirs;
+-FmXmlFileTag menuTag_DirectoryDir;
+-FmXmlFileTag menuTag_DefaultDirectoryDirs;
+-FmXmlFileTag menuTag_Include;
+-FmXmlFileTag menuTag_Exclude;
+-FmXmlFileTag menuTag_Filename;
+-FmXmlFileTag menuTag_Or;
+-FmXmlFileTag menuTag_And;
+-FmXmlFileTag menuTag_Not;
+-FmXmlFileTag menuTag_Category;
+-FmXmlFileTag menuTag_MergeFile;
+-FmXmlFileTag menuTag_MergeDir;
+-FmXmlFileTag menuTag_DefaultMergeDirs;
+-FmXmlFileTag menuTag_Directory;
+-FmXmlFileTag menuTag_Name;
+-FmXmlFileTag menuTag_Deleted;
+-FmXmlFileTag menuTag_NotDeleted;
+-FmXmlFileTag menuTag_OnlyUnallocated;
+-FmXmlFileTag menuTag_NotOnlyUnallocated;
+-FmXmlFileTag menuTag_All;
+-FmXmlFileTag menuTag_LegacyDir;
+-FmXmlFileTag menuTag_KDELegacyDirs;
+-FmXmlFileTag menuTag_Move;
+-FmXmlFileTag menuTag_Old;
+-FmXmlFileTag menuTag_New;
+-FmXmlFileTag menuTag_Layout;
+-FmXmlFileTag menuTag_DefaultLayout;
+-FmXmlFileTag menuTag_Menuname;
+-FmXmlFileTag menuTag_Separator;
+-FmXmlFileTag menuTag_Merge;
++extern FmXmlFileTag menuTag_AppDir;
++extern FmXmlFileTag menuTag_DirectoryDir;
++extern FmXmlFileTag menuTag_Include;
++extern FmXmlFileTag menuTag_Exclude;
++extern FmXmlFileTag menuTag_Filename;
++extern FmXmlFileTag menuTag_Or;
++extern FmXmlFileTag menuTag_And;
++extern FmXmlFileTag menuTag_Not;
++extern FmXmlFileTag menuTag_Category;
++extern FmXmlFileTag menuTag_All;
++extern FmXmlFileTag menuTag_LegacyDir;
+
+ typedef enum {
+ MERGE_NONE, /* starting value */
+@@ -152,19 +131,19 @@ typedef struct {
+ } MenuRule;
+
+ /* requested language(s) */
+-char **languages;
++extern char **languages;
+
+ /* list of menu files to monitor */
+-GSList *MenuFiles;
++extern GSList *MenuFiles;
+
+ /* list of menu dirs to monitor */
+-GSList *MenuDirs;
++extern GSList *MenuDirs;
+
+ /* list of available app dirs */
+-GSList *AppDirs;
++extern GSList *AppDirs;
+
+ /* list of available dir dirs */
+-GSList *DirDirs;
++extern GSList *DirDirs;
+
+ /* parse and merge menu files */
+ MenuMenu *get_merged_menu(const char *file, FmXmlFile **xmlfile, GError **error);
+@@ -177,7 +156,7 @@ gboolean save_menu_cache(MenuMenu *layout, const char *menuname, const char *fil
+ void _free_layout_items(GList *data);
+
+ /* verbosity level */
+-gint verbose;
++extern gint verbose;
+
+ #define DBG if (verbose) g_debug
+ #define VDBG if (verbose > 1) g_debug
+--
+2.24.1
+
diff --git a/libraries/mercator/mercator.SlackBuild b/libraries/mercator/mercator.SlackBuild
index a38128898b..55517b8d4b 100644
--- a/libraries/mercator/mercator.SlackBuild
+++ b/libraries/mercator/mercator.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mercator
@@ -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=mercator
VERSION=${VERSION:-0.3.3}
-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}
@@ -90,8 +100,10 @@ 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
+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/libraries/microsoft-gsl/README b/libraries/microsoft-gsl/README
new file mode 100644
index 0000000000..4644250670
--- /dev/null
+++ b/libraries/microsoft-gsl/README
@@ -0,0 +1,5 @@
+Microsoft's header-only implementation of functions and types that
+are suggested for use by the C++ Core Guidelines maintained by the
+Standard C++ Foundation.
+
+The implementation generally assumes C++14 support.
diff --git a/libraries/microsoft-gsl/microsoft-gsl.SlackBuild b/libraries/microsoft-gsl/microsoft-gsl.SlackBuild
new file mode 100644
index 0000000000..ed091acc2c
--- /dev/null
+++ b/libraries/microsoft-gsl/microsoft-gsl.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for microsoft-gsl
+
+# Copyright 2023 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=microsoft-gsl
+VERSION=${VERSION:-4.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ 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 GSL-$VERSION
+tar xvf $CWD/GSL-$VERSION.tar.gz
+cd GSL-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -DGSL_TEST=OFF \
+ -DCMAKE_BUILD_TYPE=Release \
+ ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/microsoft-gsl/microsoft-gsl.info b/libraries/microsoft-gsl/microsoft-gsl.info
new file mode 100644
index 0000000000..3b479a0d9b
--- /dev/null
+++ b/libraries/microsoft-gsl/microsoft-gsl.info
@@ -0,0 +1,10 @@
+PRGNAM="microsoft-gsl"
+VERSION="4.0.0"
+HOMEPAGE="https://github.com/microsoft/GSL"
+DOWNLOAD="https://github.com/microsoft/GSL/archive/v4.0.0/GSL-4.0.0.tar.gz"
+MD5SUM="4b1a5f39c5f489d2bdf3bd352548907d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/libraries/microsoft-gsl/slack-desc b/libraries/microsoft-gsl/slack-desc
new file mode 100644
index 0000000000..e1fea530ee
--- /dev/null
+++ b/libraries/microsoft-gsl/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------------------------------------------------------|
+microsoft-gsl: microsoft-gsl (C++ Core Guidelines Support Library)
+microsoft-gsl:
+microsoft-gsl: Microsoft's header-only implementation of functions and types that
+microsoft-gsl: are suggested for use by the C++ Core Guidelines maintained by the
+microsoft-gsl: Standard C++ Foundation.
+microsoft-gsl:
+microsoft-gsl: The implementation generally assumes C++14 support.
+microsoft-gsl:
+microsoft-gsl:
+microsoft-gsl:
+microsoft-gsl:
diff --git a/libraries/mimalloc/README b/libraries/mimalloc/README
new file mode 100644
index 0000000000..70d4b7195f
--- /dev/null
+++ b/libraries/mimalloc/README
@@ -0,0 +1,2 @@
+mimalloc (pronourced "me-malloc") is a general purpose allocator
+with excellent performance characteristrics.
diff --git a/libraries/mimalloc/mimalloc.SlackBuild b/libraries/mimalloc/mimalloc.SlackBuild
new file mode 100644
index 0000000000..7cde1378c7
--- /dev/null
+++ b/libraries/mimalloc/mimalloc.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for <mimalloc>
+
+# Copyright 2022, 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mimalloc
+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"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/html/
+cp readme.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# the header file mimalloc-override.h and mimalloc-new-delete.h assume the
+# header path is fully added as /usr/include/mimalloc-2.1, otherwise using
+# those two header files would result in compile error.
+sed -i 's/\/include/\/include\/mimalloc-2.1/' $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/mimalloc.pc
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/mimalloc/mimalloc.info b/libraries/mimalloc/mimalloc.info
new file mode 100644
index 0000000000..55cded1893
--- /dev/null
+++ b/libraries/mimalloc/mimalloc.info
@@ -0,0 +1,10 @@
+PRGNAM="mimalloc"
+VERSION="2.1.2"
+HOMEPAGE="https://github.com/microsoft/mimalloc"
+DOWNLOAD="https://github.com/microsoft/mimalloc/archive/v2.1.2/mimalloc-2.1.2.tar.gz"
+MD5SUM="5179c8f5cf1237d2300e2d8559a7bc55"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Zhu Qun-Ying"
+EMAIL="zhu.qunying@gmail.com"
diff --git a/libraries/mimalloc/slack-desc b/libraries/mimalloc/slack-desc
new file mode 100644
index 0000000000..18ffe79238
--- /dev/null
+++ b/libraries/mimalloc/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------------------------------------------------------|
+mimalloc: mimalloc (Drop-in replacement for malloc)
+mimalloc:
+mimalloc: mimalloc (pronourced "me-malloc") is a general purpose allocator
+mimalloc: with excellent performance characteristrics.
+mimalloc:
+mimalloc:
+mimalloc:
+mimalloc:
+mimalloc:
+mimalloc:
+mimalloc:
diff --git a/libraries/mini18n/mini18n.SlackBuild b/libraries/mini18n/mini18n.SlackBuild
index d15e6a02a7..3b0c40d81e 100644
--- a/libraries/mini18n/mini18n.SlackBuild
+++ b/libraries/mini18n/mini18n.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mini18n
@@ -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=mini18n
VERSION=${VERSION:-0.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}
@@ -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/libraries/miniupnpc/README b/libraries/miniupnpc/README
index c58769dd2d..7d1ff06c3d 100644
--- a/libraries/miniupnpc/README
+++ b/libraries/miniupnpc/README
@@ -1,9 +1,3 @@
MiniUPnPc, the client library, enabling applications to access the
services provided by an UPnP "Internet Gateway Device" present on
the network. In UPnP terminology, it is a UPnP Control Point.
-
-Optional dependency: python3
-
-Note: To install python 3 bindings set PYTHON3=yes.
-
- # PYTHON3=yes ./miniupnpc.SlackBuild
diff --git a/libraries/miniupnpc/miniupnpc-cmake.patch b/libraries/miniupnpc/miniupnpc-cmake.patch
new file mode 100644
index 0000000000..2000af165a
--- /dev/null
+++ b/libraries/miniupnpc/miniupnpc-cmake.patch
@@ -0,0 +1,66 @@
+diff -Naur miniupnpc-2.2.3.old/CMakeLists.txt miniupnpc-2.2.3/CMakeLists.txt
+--- miniupnpc-2.2.3.old/CMakeLists.txt 2022-01-28 14:14:29.114014705 +0100
++++ miniupnpc-2.2.3/CMakeLists.txt 2022-01-28 14:19:49.875995027 +0100
+@@ -219,24 +219,30 @@
+ # set (UPNPC_INSTALL_TARGETS ${UPNPC_INSTALL_TARGETS} testminixml minixmlvalid testupnpreplyparse testigddescparse testminiwget)
+ endif ()
+
++configure_file(miniupnpc.pc.in miniupnpc.pc @ONLY)
++
+ if (NOT UPNPC_NO_INSTALL)
+ install (FILES
+- miniupnpc.h
+- miniwget.h
+- upnpcommands.h
+- igd_desc_parse.h
+- upnpreplyparse.h
+- upnperrors.h
+- upnpdev.h
+- miniupnpctypes.h
+- portlistingparse.h
+- miniupnpc_declspec.h
++ include/miniupnpc.h
++ include/miniwget.h
++ include/upnpcommands.h
++ include/igd_desc_parse.h
++ include/upnpreplyparse.h
++ include/upnperrors.h
++ include/upnpdev.h
++ include/miniupnpctypes.h
++ include/portlistingparse.h
++ include/miniupnpc_declspec.h
+ DESTINATION include/miniupnpc
+ )
+
+ install(FILES miniupnpc-config.cmake
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/miniupnpc
+ )
++
++ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/miniupnpc.pc
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
++ )
+ endif()
+
+ # vim: ts=2:sw=2:expandtab
+diff -Naur miniupnpc-2.2.3.old/miniupnpc.pc.in miniupnpc-2.2.3/miniupnpc.pc.in
+--- miniupnpc-2.2.3.old/miniupnpc.pc.in 1970-01-01 01:00:00.000000000 +0100
++++ miniupnpc-2.2.3/miniupnpc.pc.in 2022-01-28 14:16:38.206423709 +0100
+@@ -0,0 +1,18 @@
++# this template is filled-in by CMake `configure_file(... @ONLY)`
++# the `@....@` are filled in by CMake configure_file(),
++# from variables set in your CMakeLists.txt or by CMake itself
++#
++# Good tutoral for understanding .pc files:
++# https://people.freedesktop.org/~dbn/pkg-config-guide.html
++
++prefix="@CMAKE_INSTALL_PREFIX@"
++exec_prefix="${prefix}"
++libdir="${prefix}/lib"
++includedir="${prefix}/include"
++
++Name: @PROJECT_NAME@
++Description: @CMAKE_PROJECT_DESCRIPTION@
++URL: @CMAKE_PROJECT_HOMEPAGE_URL@
++Version: @PROJECT_VERSION@
++Libs: -L"${libdir}" -lminiupnpc
++Cflags: -I"${includedir}"
diff --git a/libraries/miniupnpc/miniupnpc.SlackBuild b/libraries/miniupnpc/miniupnpc.SlackBuild
index 628990f1c1..63c3f371e5 100644
--- a/libraries/miniupnpc/miniupnpc.SlackBuild
+++ b/libraries/miniupnpc/miniupnpc.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for miniupnpc
+# Copyright 2023 Steven Voges <Oregon, USA>
# Copyright 2012-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
@@ -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=miniupnpc
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.2.5}
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}
@@ -71,37 +79,46 @@ find -L . \
# Slackware specific info.
patch -p1 < $CWD/slackware-version.patch
-sed -i 's|share/man|man|' Makefile
-sed -i "s|lib${PRGNAM}\.a|lib${PRGNAM}\.so|" setup.py
-# Upstream Cmake causes build problems. We're going to use the makefile instead.
-CFLAGS="$SLKCFLAGS" LIBDIR="lib${LIBDIRSUFFIX}" make
-make install DESTDIR=$PKG LIBDIR="lib${LIBDIRSUFFIX}"
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_DOCDIR=doc \
+ -DCMAKE_INSTALL_INFODIR=info \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DNO_GETADDRINFO=FALSE \
+ -DUPNPC_BUILD_SAMPLE=TRUE \
+ -DUPNPC_BUILD_SHARED=TRUE \
+ -DUPNPC_BUILD_STATIC=FALSE \
+ -DUPNPC_BUILD_TESTS=TRUE \
+ -DUPNPC_NO_INSTALL=FALSE \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
CFLAGS="$SLKCFLAGS" \
-python setup.py install --root=$PKG
-
-# For python 3.x support.
-if [ "${PYTHON3:-no}" == "yes" ]; then
- CFLAGS="$SLKCFLAGS" \
- python3 setup.py build
- python3 setup.py install --root=$PKG
-fi
+python3 setup.py build
+python3 setup.py install --root=$PKG
-# Remove static library.
-rm -f $PKG/usr/lib${LIBDIRSUFFIX}/lib${PRGNAM}.a
+chmod 755 $PKG/usr/bin/external-ip.sh
find $PKG -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 chmod 0644 '{}' \;
+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.txt LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changelog.txt LICENSE README 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/libraries/miniupnpc/miniupnpc.info b/libraries/miniupnpc/miniupnpc.info
index 6078f47471..0cad2228c8 100644
--- a/libraries/miniupnpc/miniupnpc.info
+++ b/libraries/miniupnpc/miniupnpc.info
@@ -1,10 +1,10 @@
PRGNAM="miniupnpc"
-VERSION="2.1"
-HOMEPAGE="http://miniupnp.free.fr/"
-DOWNLOAD="http://miniupnp.free.fr/files/miniupnpc-2.1.tar.gz"
-MD5SUM="80143183f743d402459095711b1ce793"
+VERSION="2.2.5"
+HOMEPAGE="http://miniupnp.free.fr"
+DOWNLOAD="http://miniupnp.free.fr/files/miniupnpc-2.2.5.tar.gz"
+MD5SUM="9df22ce1bde980c2b9d084f2406ac596"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/miniupnpc/slack-desc b/libraries/miniupnpc/slack-desc
index c9e425ea4e..55e894694d 100644
--- a/libraries/miniupnpc/slack-desc
+++ b/libraries/miniupnpc/slack-desc
@@ -12,7 +12,7 @@ miniupnpc: MiniUPnPc, the client library, enabling applications to access the
miniupnpc: services provided by an UPnP "Internet Gateway Device" present on the
miniupnpc: network. In UPnP terminology, it is a UPnP Control Point.
miniupnpc:
-miniupnpc: Homepage: http://miniupnp.free.fr/
+miniupnpc: Homepage: http://miniupnp.free.fr
miniupnpc:
miniupnpc:
miniupnpc:
diff --git a/libraries/miniupnpc/slackware-version.patch b/libraries/miniupnpc/slackware-version.patch
index 36dc146d82..fb759bf092 100644
--- a/libraries/miniupnpc/slackware-version.patch
+++ b/libraries/miniupnpc/slackware-version.patch
@@ -1,15 +1,16 @@
-diff -Naur miniupnpc-1.6.orig/updateminiupnpcstrings.sh miniupnpc-1.6/updateminiupnpcstrings.sh
---- miniupnpc-1.6.orig/updateminiupnpcstrings.sh 2011-01-27 17:50:40.000000000 +0000
-+++ miniupnpc-1.6/updateminiupnpcstrings.sh 2011-12-04 20:55:22.313144966 +0000
-@@ -14,19 +14,11 @@
- OS_NAME=Debian
+--- a/updateminiupnpcstrings.sh 2023-08-23 17:42:05.225106104 -0700
++++ b/updateminiupnpcstrings.sh 2023-08-23 17:50:42.605604311 -0700
+@@ -26,21 +26,10 @@
OS_VERSION=`cat /etc/debian_version`
fi
+
-# use lsb_release (Linux Standard Base) when available
-LSB_RELEASE=`which lsb_release`
-if [ 0 -eq $? -a -x "${LSB_RELEASE}" ]; then
-- OS_NAME=`${LSB_RELEASE} -i -s`
-- OS_VERSION=`${LSB_RELEASE} -r -s`
+- # On NixOS, lsb_release returns strings such as "NixOS" (with quotes),
+- # so we need to stript them with the following xargs trick:
+- OS_NAME=`${LSB_RELEASE} -i -s | xargs echo`
+- OS_VERSION=`${LSB_RELEASE} -r -s | xargs echo`
- case $OS_NAME in
- Debian)
- #OS_VERSION=`${LSB_RELEASE} -c -s`
@@ -18,7 +19,6 @@ diff -Naur miniupnpc-1.6.orig/updateminiupnpcstrings.sh miniupnpc-1.6/updatemini
- #OS_VERSION=`${LSB_RELEASE} -c -s`
- ;;
- esac
-+
+# Slackware specific stuff.
+if [ -f /etc/slackware-version ]; then
+ OS_NAME=`cat /etc/slackware-version | cut -d' ' -f1`
diff --git a/libraries/mlt-bindings/README b/libraries/mlt-bindings/README
new file mode 100644
index 0000000000..f7248379d4
--- /dev/null
+++ b/libraries/mlt-bindings/README
@@ -0,0 +1,28 @@
+Build Swig bindings for the MLT framework.
+
+MLT is included with Slackware, but without bindings.
+It is safe to install this package in addition to what Slackware
+already provides.
+This package does NOT conflict with the default MLT package, and
+instead installs bindings as additions to what's already included.
+
+If you upgrade the Slackware MLT package in the future, though,
+you'll probably need to upgrade these bindings.
+Alternately, you can rebuild the Slackware MLT package with bindings
+enabled, in which case you would remove this package.
+
+Despite CMake options suggesting that there are more, the bindings
+currently available are:
+
+* PERL
+* PHP
+* PYTHON
+* RUBY
+
+By default, all are built.
+Disable a binding by setting an environment variable before building.
+Either "no" or "off" are valid values.
+For example, to exclude Python and Ruby bindings:
+
+ # PYTHON=no RUBY=off sh ./mlt-bindings.SlackBuild
+
diff --git a/libraries/mlt-bindings/mlt-bindings.SlackBuild b/libraries/mlt-bindings/mlt-bindings.SlackBuild
new file mode 100644
index 0000000000..e6af79850b
--- /dev/null
+++ b/libraries/mlt-bindings/mlt-bindings.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for MLT bindings
+# Copyright 2022 Klaatu <klaatu@member.fsf.org> | Lawrence NZ
+
+# GNU All-Permissive License
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mlt-bindings
+SRCNAM=mlt
+VERSION=${VERSION:-7.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+PERL=${PERL:-on}
+PYTHON=${PYTHON:-on}
+PHP=${PHP:-on}
+RUBY=${RUBY:-on}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If PRINT_PACKAGE_NAME is set, print name of this package
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz --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 {} \;
+
+mkdir -p cmake-build
+mkdir -p $PKG/out
+cd cmake-build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSWIG_PERL=$PERL \
+ -DSWIG_PHP=$PHP \
+ -DSWIG_PYTHON=$PYTHON \
+ -DSWIG_RUBY=$RUBY \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make -j11
+ make install DESTDIR=$PKG/out
+cd ..
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
+
+cp -ar $PKG/out/usr/lib${LIBDIRSUFFIX}/perl5 \
+ $PKG/usr/lib${LIBDIRSUFFIX} 2>/dev/null || true
+cp -ar $PKG/out/usr/lib${LIBDIRSUFFIX}/php \
+ $PKG/usr/lib${LIBDIRSUFFIX} 2>/dev/null || true
+cp -ar $PKG/out/usr/lib${LIBDIRSUFFIX}/python* \
+ $PKG/usr/lib${LIBDIRSUFFIX} 2>/dev/null || true
+cp -ar $PKG/out/usr/lib${LIBDIRSUFFIX}/ruby \
+ $PKG/usr/lib${LIBDIRSUFFIX} 2>/dev/null || true
+
+rm -r $PKG/out
+
+find $PKG -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
+echo "See /usr/doc/$SRCNAM-$VERSION for docs" > \
+ $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
diff --git a/libraries/mlt-bindings/mlt-bindings.info b/libraries/mlt-bindings/mlt-bindings.info
new file mode 100644
index 0000000000..f20a6f08ce
--- /dev/null
+++ b/libraries/mlt-bindings/mlt-bindings.info
@@ -0,0 +1,10 @@
+PRGNAM="mlt-bindings"
+VERSION="7.4.0"
+HOMEPAGE="https://www.mltframework.org/"
+DOWNLOAD="https://github.com/mltframework/mlt/releases/download/v7.4.0/mlt-7.4.0.tar.gz"
+MD5SUM="4bc74ec681e67310340bafc235178a81"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="%README%"
+MAINTAINER="Klaatu"
+EMAIL="klaatu@member.fsf.org"
diff --git a/libraries/mlt-bindings/slack-desc b/libraries/mlt-bindings/slack-desc
new file mode 100644
index 0000000000..d5b1539315
--- /dev/null
+++ b/libraries/mlt-bindings/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------------------------------------------------------|
+mlt-bindings: mlt-bindings (programming interface for MLT framework)
+mlt-bindings:
+mlt-bindings: Libraries for hooking into the MLT multimedia framework from
+mlt-bindings: Python, Perl, PHP, and Ruby.
+mlt-bindings:
+mlt-bindings: https://www.mltframework.org/
+mlt-bindings:
+mlt-bindings:
+mlt-bindings:
+mlt-bindings:
+mlt-bindings:
diff --git a/libraries/moddb/README b/libraries/moddb/README
new file mode 100644
index 0000000000..d78ad23d5e
--- /dev/null
+++ b/libraries/moddb/README
@@ -0,0 +1,8 @@
+The goal of the library is to be able to navigate ModDB purely
+programmatically through scraping and parsing of the various models
+present on the website. This is based off a command of my bot which can
+parse either a game or a mod, this command gave birth to the original
+library which was extremely limited in its abilities and only able to
+parse a few pages with inconsistencies. This library is a much more
+mature and professional attempt at the whole idea, adding on a much
+deeper understanding of OOP.
diff --git a/libraries/moddb/moddb.SlackBuild b/libraries/moddb/moddb.SlackBuild
new file mode 100644
index 0000000000..31e98b838c
--- /dev/null
+++ b/libraries/moddb/moddb.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for moddb
+
+# Copyright 2023 Ozan Türkyılmaz Türkiye
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=moddb
+VERSION=${VERSION:-0.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+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/libraries/moddb/moddb.info b/libraries/moddb/moddb.info
new file mode 100644
index 0000000000..5863ba59ab
--- /dev/null
+++ b/libraries/moddb/moddb.info
@@ -0,0 +1,10 @@
+PRGNAM="moddb"
+VERSION="0.8.1"
+HOMEPAGE="https://github.com/ClementJ18/moddb"
+DOWNLOAD="https://github.com/ClementJ18/moddb/archive/v0.8.1/moddb-0.8.1.tar.gz"
+MD5SUM="868f7ec37fd53f639068cdd5c1ec7692"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/moddb/slack-desc b/libraries/moddb/slack-desc
new file mode 100644
index 0000000000..a86b5da5be
--- /dev/null
+++ b/libraries/moddb/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------------------------------------------------------|
+moddb: moddb (navigate ModDB purely programmatically)
+moddb:
+moddb: The goal of the library is to be able to navigate ModDB purely
+moddb: programmatically through scraping and parsing of the various models
+moddb: present on the website.
+moddb:
+moddb:
+moddb: https://github.com/ClementJ18/moddb
+moddb:
+moddb:
+moddb:
diff --git a/libraries/mongo-c-driver/mongo-c-driver.SlackBuild b/libraries/mongo-c-driver/mongo-c-driver.SlackBuild
index b0c707f20e..86e8bc3bcf 100644
--- a/libraries/mongo-c-driver/mongo-c-driver.SlackBuild
+++ b/libraries/mongo-c-driver/mongo-c-driver.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mongo-c-driver
@@ -20,10 +20,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=mongo-c-driver
-VERSION=${VERSION:-1.6.1}
+VERSION=${VERSION:-1.25.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,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}
@@ -67,37 +74,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 {} \;
-# Flag Docs, if needed
-PDOCS=""
-MkDOCS=""
-if [ "${DOCS:-no}" = "yes" ]; then
- PDOCS="--enable-html-docs --enable-man-pages"
- MkDOCS="man html"
-fi
+export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_STATIC=OFF \
+ -DENABLE_TESTS=OFF \
+ -DBUILD_VERSION=$VERSION \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --disable-automatic-init-and-cleanup \
- $PDOCS \
- --build=$ARCH-slackware-linux
-
-make $MkDOCS
-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 CONTRIBUTING.md NEWS README README.rst \
- THIRD_PARTY_NOTICES VERSION_CURRENT VERSION_RELEASED \
+ COPYING CONTRIBUTING.md NEWS README.rst \
+ THIRD_PARTY_NOTICES \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -105,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/libraries/mongo-c-driver/mongo-c-driver.info b/libraries/mongo-c-driver/mongo-c-driver.info
index 2c2ecc783f..d09519dc12 100644
--- a/libraries/mongo-c-driver/mongo-c-driver.info
+++ b/libraries/mongo-c-driver/mongo-c-driver.info
@@ -1,8 +1,8 @@
PRGNAM="mongo-c-driver"
-VERSION="1.6.1"
+VERSION="1.25.1"
HOMEPAGE="http://mongoc.org"
-DOWNLOAD="https://github.com/mongodb/mongo-c-driver/releases/download/1.6.1/mongo-c-driver-1.6.1.tar.gz"
-MD5SUM="826946de9a15f7f453aefecdc76b1c0d"
+DOWNLOAD="https://github.com/mongodb/mongo-c-driver/archive/1.25.1/mongo-c-driver-1.25.1.tar.gz"
+MD5SUM="d896ed508a72e4de9c2160fc410bc163"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild b/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild
index 3208d89de6..f3c5e399d2 100644
--- a/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild
+++ b/libraries/mongo-cxx-driver/mongo-cxx-driver.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mongo-cxx-driver
@@ -20,10 +20,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=mongo-cxx-driver
VERSION=${VERSION:-r3.1.1}
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}
@@ -70,6 +80,8 @@ find -L . \
# Upstream doesn't support LIB_SUFFIX
patch -p1 < $CWD/mongo-cxx-driver_libdir-fixups.patch
+sed -i '/#include <array>/a #include <cassert>' src/mongocxx/test_util/mock.hh
+
mkdir -p build
cd build
cmake \
@@ -97,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/libraries/mowitz/README b/libraries/mowitz/README
index 6026c044cb..61fe3ab6e4 100644
--- a/libraries/mowitz/README
+++ b/libraries/mowitz/README
@@ -1,3 +1,3 @@
-The project's goal is to create a library of widgets for X applications to
-use. The widgets have been snarfed from various sources and are all open
-source (GPL or MIT licenses).
+The project's goal is to create a library of widgets for X
+applications to use. The widgets have been snarfed from various
+sources and are all open source (GPL or MIT licenses).
diff --git a/libraries/mowitz/mowitz.SlackBuild b/libraries/mowitz/mowitz.SlackBuild
index a063e6fea4..a0858dda24 100644
--- a/libraries/mowitz/mowitz.SlackBuild
+++ b/libraries/mowitz/mowitz.SlackBuild
@@ -1,29 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mowitz
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - don't include /usr/doc/Mowitz dir.
+# - don't install compiled examples to doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mowitz
VERSION=${VERSION:-0.3.1}
-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"
@@ -47,9 +59,9 @@ cd Mowitz-$VERSION
chown -R root: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" \
@@ -67,12 +79,16 @@ 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 -rf examples/.libs # 20220424 bkw: don't install compiled examples.
+rm -rf $PKG/usr/doc/Mowitz # 20220424 bkw: already included in doc, below.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README ChangeLog doc examples $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/libraries/mpir/README b/libraries/mpir/README
index 90f6106e68..a6953f50d9 100644
--- a/libraries/mpir/README
+++ b/libraries/mpir/README
@@ -1,2 +1,2 @@
-MPIR (Multiple Precision Integers and Rationals) is an open source bignum
-library forked from the GMP (GNU Multi Precision) project.
+MPIR (Multiple Precision Integers and Rationals) is an open source
+bignum library forked from the GMP (GNU Multi Precision) project.
diff --git a/libraries/mpir/mpir.SlackBuild b/libraries/mpir/mpir.SlackBuild
index f61493f523..aed0c3aacc 100644
--- a/libraries/mpir/mpir.SlackBuild
+++ b/libraries/mpir/mpir.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mpir
@@ -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=mpir
VERSION=${VERSION:-3.0.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}
@@ -96,9 +106,11 @@ cp -a AUTHORS COPYING COPYING.LIB ChangeLog INSTALL INSTALL.autoconf 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/libraries/mpir/mpir.info b/libraries/mpir/mpir.info
index 64c06b71d3..faa567fce7 100644
--- a/libraries/mpir/mpir.info
+++ b/libraries/mpir/mpir.info
@@ -1,7 +1,7 @@
PRGNAM="mpir"
VERSION="3.0.0"
-HOMEPAGE="http://www.mpir.org/"
-DOWNLOAD="http://www.mpir.org/mpir-3.0.0.tar.bz2"
+HOMEPAGE="https://github.com/wbhart/mpir"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/mpir-3.0.0.tar.bz2"
MD5SUM="4e5d16676e0cd6773f43bbbeb5cb0016"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/mpir/slack-desc b/libraries/mpir/slack-desc
index 1c7b96fff5..a0c018eef2 100644
--- a/libraries/mpir/slack-desc
+++ b/libraries/mpir/slack-desc
@@ -10,7 +10,7 @@ mpir: mpir (Multiple Precision Integers and Rationals)
mpir:
mpir: MPIR is an open source bignum library forked from the GMP project.
mpir:
-mpir: Homepage: http://www.mpir.org/
+mpir: Homepage: https://github.com/wbhart/mpir
mpir:
mpir:
mpir:
diff --git a/libraries/msgpack-c-c/README b/libraries/msgpack-c-c/README
new file mode 100644
index 0000000000..4219870b84
--- /dev/null
+++ b/libraries/msgpack-c-c/README
@@ -0,0 +1,21 @@
+MessagePack is an efficient binary serialisation format that lets you
+exchange data among multiple languages like JSON.
+
+Versions later than 3.3.0 have separate C and C++ implementations.
+This slackbuild builds only the C++ implementation of MessagePack as
+header-only library.
+If you need also the C implementation you have to build and install
+the package msgpack-c-c even. Both packages can coexist.
+
+Note: msgpack-c-cpp conflicts with the old msgpack-c package, that
+implements both C and C++ but is based on a old outdated release of
+msgpack-c. If you have msgpack-c version 3.3.0 in your system, please
+remove it before installing these package.
+
+This slackbuild is experimental because some slackbuilds that require
+msgpack-c should be updated. If your installed packages work still with
+the old msgpack-c for version 3.3.0, you should kept it.
+
+At the moment, this package is tested and strictly required by mmtf-cpp,
+other slackbuilds based on msgpack-c could not work with this
+installation.
diff --git a/libraries/msgpack-c-c/msgpack-c-c.SlackBuild b/libraries/msgpack-c-c/msgpack-c-c.SlackBuild
new file mode 100644
index 0000000000..6fdb6c3bc7
--- /dev/null
+++ b/libraries/msgpack-c-c/msgpack-c-c.SlackBuild
@@ -0,0 +1,132 @@
+#!/bin/bash
+
+# SlackBuild script for msgpack-c-c
+
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
+# Copyright 2014-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.
+
+# 20240224: derived from original script for msgpack-c package
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty AUTHORS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=msgpack-c-c
+VERSION=${VERSION:-6.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=msgpack-c
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ 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
+
+# msgpack-c and older versions use the same include dirs so them
+# cannot coexist with msgpack-c-cpp
+if pkg-config --exists msgpack; then
+ echo "************************************************************************"
+ echo " WARNING: an old version of msgpack-c has been detected in your system!"
+ echo " This conflicts with msgpack-c-cpp. Please remove old installations of"
+ echo " msgpack-c before installing this package"
+ echo " This script will be stopped"
+ echo "************************************************************************"
+ exit 1
+fi
+
+if [ -d /usr/share/cmake-3.28 ]; then
+ # This prevents some cmake warnings in current
+ CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0145=OLD "
+else
+ CMAKE_POLICY=""
+fi
+
+
+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 {} \+
+
+sed -i ./CMakeLists.txt -e "s/VERSION 2.8.12/VERSION 3.5/g"
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DMSGPACK_BUILD_EXAMPLES=OFF \
+ -DBUILD_SHARED_LIBS=ON \
+ $CMAKE_POLICY \
+ ..
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING LICENSE_1_0.txt NOTICE *.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/msgpack-c-c/msgpack-c-c.info b/libraries/msgpack-c-c/msgpack-c-c.info
new file mode 100644
index 0000000000..74301ee2b3
--- /dev/null
+++ b/libraries/msgpack-c-c/msgpack-c-c.info
@@ -0,0 +1,10 @@
+PRGNAM="msgpack-c-c"
+VERSION="6.0.1"
+HOMEPAGE="https://github.com/msgpack/msgpack-c"
+DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/c-6.0.1/msgpack-c-6.0.1.tar.gz"
+MD5SUM="090df53a59b845767fcfc48221b30ee9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gtest"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/msgpack-c-c/slack-desc b/libraries/msgpack-c-c/slack-desc
new file mode 100644
index 0000000000..1e77eb9acc
--- /dev/null
+++ b/libraries/msgpack-c-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------------------------------------------------------|
+msgpack-c-c: msgpack-c-c (C implementation of MessagePack)
+msgpack-c-c:
+msgpack-c-c: msgpack-c-c is a C implementation of MessagePack,
+msgpack-c-c: a binary serialisation format.
+msgpack-c-c: This package does not include the C++ implementation.
+msgpack-c-c:
+msgpack-c-c:
+msgpack-c-c: Home page: https://github.com/msgpack/msgpack-c
+msgpack-c-c:
+msgpack-c-c:
+msgpack-c-c:
diff --git a/libraries/msgpack-c-cpp/README b/libraries/msgpack-c-cpp/README
new file mode 100644
index 0000000000..0848ebd417
--- /dev/null
+++ b/libraries/msgpack-c-cpp/README
@@ -0,0 +1,21 @@
+MessagePack is an efficient binary serialisation format that lets you
+exchange data among multiple languages like JSON.
+
+Versions later than 3.3.0 have separate C and C++ implementations.
+This slackbuild builds only the C++ implementation of MessagePack as
+header-only library.
+If you need also the C implementation you have to build and install
+the package msgpack-c-c even. Both packages can coexist.
+
+Note: msgpack-c-cpp conflicts with the old msgpack-c package, that
+implements both C and C++ but is based on a old outdated release of
+msgpack-c. If you have msgpack-c version 3.3.0 in your system, please
+remove it before installing these package.
+
+This slackbuild is experimental because some slackbuilds that require
+msgpack-c should be updated. If your installed packages work still with
+the old msgpack-c for version 3.3.0, you should kept it.
+
+At the moment, this package is tested and strictly required by mmtf-cpp,
+other slackbuilds based on msgpack-c could not work with this
+installation.
diff --git a/libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild b/libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild
new file mode 100644
index 0000000000..e26f4c46e8
--- /dev/null
+++ b/libraries/msgpack-c-cpp/msgpack-c-cpp.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# SlackBuild script for msgpack-c-cpp
+
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
+# Copyright 2014-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.
+
+# 20240224: derived from original script for msgpack-c package
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty AUTHORS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=msgpack-c-cpp
+VERSION=${VERSION:-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
+
+# msgpack-c and older versions use the same include dirs so them
+# cannot coexist with msgpack-c-cpp
+if pkg-config --exists msgpack; then
+ echo "************************************************************************"
+ echo " WARNING: an old version of msgpack-c has been detected in your system!"
+ echo " This conflicts with msgpack-c-cpp. Please remove old installations of"
+ echo " msgpack-c before installing this package"
+ echo " This script will be stopped"
+ echo "************************************************************************"
+ exit 1
+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 {} \+
+
+sed -i ./CMakeLists.txt -e "s/VERSION 3.1 FATAL_ERROR/VERSION 3.5 FATAL_ERROR/g"
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ ..
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ COPYING LICENSE_1_0.txt NOTICE *.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/msgpack-c-cpp/msgpack-c-cpp.info b/libraries/msgpack-c-cpp/msgpack-c-cpp.info
new file mode 100644
index 0000000000..aed8f36148
--- /dev/null
+++ b/libraries/msgpack-c-cpp/msgpack-c-cpp.info
@@ -0,0 +1,10 @@
+PRGNAM="msgpack-c-cpp"
+VERSION="6.1.1"
+HOMEPAGE="https://github.com/msgpack/msgpack-c"
+DOWNLOAD="https://github.com/msgpack/msgpack-c/archive/cpp-6.1.1/msgpack-c-cpp-6.1.1.tar.gz"
+MD5SUM="a0398798d8b9733bd5cd87a6d2f0b05f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/msgpack-c-cpp/slack-desc b/libraries/msgpack-c-cpp/slack-desc
new file mode 100644
index 0000000000..4e2b44e28b
--- /dev/null
+++ b/libraries/msgpack-c-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------------------------------------------------------|
+msgpack-c-cpp: msgpack-c-cpp (C++ implementation of MessagePack)
+msgpack-c-cpp:
+msgpack-c-cpp: msgpack-c-cpp is a C++ header-only implementation of MessagePack,
+msgpack-c-cpp: a binary serialisation format.
+msgpack-c-cpp: This package does not include the C implementation.
+msgpack-c-cpp:
+msgpack-c-cpp:
+msgpack-c-cpp: Home page: https://github.com/msgpack/msgpack-c
+msgpack-c-cpp:
+msgpack-c-cpp:
+msgpack-c-cpp:
diff --git a/libraries/msgpack-c/README b/libraries/msgpack-c/README
index a773af1661..ecad9972cf 100644
--- a/libraries/msgpack-c/README
+++ b/libraries/msgpack-c/README
@@ -1,3 +1,14 @@
-MessagePack is an efficient binary serialisation format that lets you exchange
-data among multiple languages like JSON. msgpack-c is a C and C++
-implementation of MessagePack.
+MessagePack is an efficient binary serialisation format that lets you
+exchange data among multiple languages like JSON. msgpack-c is a C and
+C++ implementation of MessagePack.
+
+Note: this is the lastest version of msgpack including both C and C++
+implementations. Later versions have separate implementations for these
+languages. This slackbuild is maintained for compatibility with
+some slackbuilds which require msgpack-c.
+
+If you want install a newer version (>=6.0.0) please refer to following
+packages:
+- msgpack-c-cpp for only C++ implementation
+- msgpack-c-c for only C implementation
+(both packages can coexist)
diff --git a/libraries/msgpack-c/msgpack-c.SlackBuild b/libraries/msgpack-c/msgpack-c.SlackBuild
index c2cf26e5c6..92d7d21e4b 100644
--- a/libraries/msgpack-c/msgpack-c.SlackBuild
+++ b/libraries/msgpack-c/msgpack-c.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for msgpack-c
-# Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
+# Copyright 2014-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# 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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove empty AUTHORS from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=msgpack-c
-VERSION=${VERSION:-3.2.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.3.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=msgpack
@@ -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}
@@ -67,28 +79,28 @@ 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 {} \+
+sed -i ./CMakeLists.txt -e "s/(VERSION 2.8.12)/(VERSION 3.5)/g"
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DMSGPACK_BUILD_TESTS=OFF \
+ -DMSGPACK_BUILD_EXAMPLES=OFF \
..
- make install DESTDIR=$PKG
+ make install/strip 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 LICENSE_1_0.txt NOTICE README \
+ COPYING LICENSE_1_0.txt NOTICE README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,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/libraries/msgpack-c/msgpack-c.info b/libraries/msgpack-c/msgpack-c.info
index ae629b2a4f..e746c6b2e4 100644
--- a/libraries/msgpack-c/msgpack-c.info
+++ b/libraries/msgpack-c/msgpack-c.info
@@ -1,10 +1,10 @@
PRGNAM="msgpack-c"
-VERSION="3.2.1"
+VERSION="3.3.0"
HOMEPAGE="https://github.com/msgpack/msgpack-c"
-DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/cpp-3.2.1/msgpack-3.2.1.tar.gz"
-MD5SUM="ef10c80885c4f5e4baf8d37113629eae"
+DOWNLOAD="https://github.com/msgpack/msgpack-c/releases/download/cpp-3.3.0/msgpack-3.3.0.tar.gz"
+MD5SUM="e676575d52caae974e579c3d5f0ba6a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/msx264/msx264.SlackBuild b/libraries/msx264/msx264.SlackBuild
index 6aa874306d..043df6ef52 100644
--- a/libraries/msx264/msx264.SlackBuild
+++ b/libraries/msx264/msx264.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for msx264
@@ -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.
+# 20220309 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - use a working download URL.
+# - remove empty/useless files from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=msx264
VERSION=${VERSION:-1.5.3}
-BUILD=${BUILD:-1}
+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}
@@ -54,7 +65,8 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README $CWD/$PRGNAM.SlackBuild"
+# 20220309 bkw: removed INSTALL (useless) and ChangeLog (empty)
+DOCS="AUTHORS COPYING NEWS README"
set -e
@@ -67,9 +79,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 {} \+
autoreconf -ivf
@@ -85,19 +97,18 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
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/libraries/msx264/msx264.info b/libraries/msx264/msx264.info
index d628e9131f..96b7ba9626 100644
--- a/libraries/msx264/msx264.info
+++ b/libraries/msx264/msx264.info
@@ -1,7 +1,7 @@
PRGNAM="msx264"
VERSION="1.5.3"
HOMEPAGE="https://github.com/Distrotech/msx264"
-DOWNLOAD="https://www.linphone.org/releases/sources/plugins/msx264/msx264-1.5.3.tar.gz"
+DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/8/d/8dc5482d12bdb5d89bdfa9f71163e08a/msx264-1.5.3.tar.gz"
MD5SUM="8dc5482d12bdb5d89bdfa9f71163e08a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/mtxclient/README b/libraries/mtxclient/README
new file mode 100644
index 0000000000..8203387447
--- /dev/null
+++ b/libraries/mtxclient/README
@@ -0,0 +1,3 @@
+Client API library for the Matrix protocol.
+
+It is the main dependency for Nheko.
diff --git a/libraries/mtxclient/mtxclient.SlackBuild b/libraries/mtxclient/mtxclient.SlackBuild
new file mode 100644
index 0000000000..b25609fbde
--- /dev/null
+++ b/libraries/mtxclient/mtxclient.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for mtxclient
+
+# 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=mtxclient
+VERSION=${VERSION:-0.9.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"
+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_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md 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/libraries/mtxclient/mtxclient.info b/libraries/mtxclient/mtxclient.info
new file mode 100644
index 0000000000..eb1e03bb77
--- /dev/null
+++ b/libraries/mtxclient/mtxclient.info
@@ -0,0 +1,10 @@
+PRGNAM="mtxclient"
+VERSION="0.9.2"
+HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient"
+DOWNLOAD="https://github.com/Nheko-Reborn/mtxclient/archive/v0.9.2/mtxclient-0.9.2.tar.gz"
+MD5SUM="72e500ad8c9d0d54084f30a6fee759de"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="coeurl olm nlohmann_json re2 gtest"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.mtxclient_2023-10-18@lockywolf.net"
diff --git a/libraries/mtxclient/slack-desc b/libraries/mtxclient/slack-desc
new file mode 100644
index 0000000000..da20a9b77c
--- /dev/null
+++ b/libraries/mtxclient/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------------------------------------------------------|
+mtxclient: mtxclient (c++ Matrix protocol library)
+mtxclient:
+mtxclient: Client API library for the Matrix protocol.
+mtxclient:
+mtxclient:
+mtxclient:
+mtxclient:
+mtxclient:
+mtxclient:
+mtxclient:
+mtxclient:
diff --git a/libraries/muParser/muParser.SlackBuild b/libraries/muParser/muParser.SlackBuild
index 998068dfd6..671e707fa5 100644
--- a/libraries/muParser/muParser.SlackBuild
+++ b/libraries/muParser/muParser.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for muParser
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2022 Fellype do Nascimento, Guaratingueta, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,29 +23,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=muParser
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-2.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=$(echo $PRGNAM | tr A-Z a-z)
-SRCVER=v2.2.5
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}
-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,13 +73,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-
-if [ -e $CWD/$SRCVER.tar.gz ]; then
- tar xvf $CWD/$SRCVER.tar.gz
-else
- tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-fi
-
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,21 +82,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 {} \;
-chmod +x configure
-
-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 -j1
-make install DESTDIR=$PKG
+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
@@ -107,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/libraries/muParser/muParser.info b/libraries/muParser/muParser.info
index 2297a41485..e05c7657e3 100644
--- a/libraries/muParser/muParser.info
+++ b/libraries/muParser/muParser.info
@@ -1,10 +1,10 @@
PRGNAM="muParser"
-VERSION="2.2.5"
+VERSION="2.3.2"
HOMEPAGE="http://beltoforion.de/article.php?a=muparser"
-DOWNLOAD="https://github.com/beltoforion/muparser/archive/v2.2.5.tar.gz"
-MD5SUM="02dae671aa5ad955fdcbcd3fee313fb7"
+DOWNLOAD="https://github.com/beltoforion/muparser/archive/v2.3.2/muparser-2.3.2.tar.gz"
+MD5SUM="cbc1b284e03abc7081b3c30997959893"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Petar Petrov"
-EMAIL="slackalaxy@gmail.com"
+MAINTAINER="Fellype do Nascimento"
+EMAIL="fellype (at) gmail (dot) com"
diff --git a/libraries/mujs/README b/libraries/mujs/README
index 6e9a9606c0..fa4de23886 100644
--- a/libraries/mujs/README
+++ b/libraries/mujs/README
@@ -1,11 +1,13 @@
-MuJS is a lightweight Javascript interpreter designed for embedding in other
-software to extend them with scripting capabilities. It is written in portable
-C and implements ECMAScript as specified by ECMA-262.
+MuJS is a lightweight Javascript interpreter designed for embedding
+in other software to extend them with scripting capabilities. It
+is written in portable C and implements ECMAScript as specified by
+ECMA-262.
-Why? Because V8, SpiderMonkey and JavaScriptCore are all too big and complex.
-MuJS's focus is on small size, correctness and simplicity.
+Why? Because V8, SpiderMonkey and JavaScriptCore are all too big and
+complex. MuJS's focus is on small size, correctness and simplicity.
-The interface for binding with native code is designed to be as simple as
-possible to use, and is similar to Lua. There is no need for interacting with
-byzantine C++ template mechanisms, or worry about marking and unmarking garbage
-collection roots, or wrestle with obscure build systems.
+The interface for binding with native code is designed to be as
+simple as possible to use, and is similar to Lua. There is no need
+for interacting with byzantine C++ template mechanisms, or worry
+about marking and unmarking garbage collection roots, or wrestle with
+obscure build systems.
diff --git a/libraries/mujs/mujs.SlackBuild b/libraries/mujs/mujs.SlackBuild
index 61a22527d4..82d8efc55c 100644
--- a/libraries/mujs/mujs.SlackBuild
+++ b/libraries/mujs/mujs.SlackBuild
@@ -1,8 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mujs
# Written by Valerio Talora <navigare@gmx.com>
+# Copyright (c) 2018 (versions 1.0.3-1.0.5) Andreas Guldstrand
+# Copyright (c) 2020-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:
@@ -21,26 +24,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix permission on png file in doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mujs
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.3.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"
@@ -62,16 +76,20 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+sed -i -e '/LIBREADLINE +=/ s/$/ -ltermcap/' Makefile
chown -R root: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 {} \+
+chmod 644 docs/*.png
-make LDFLAGS=-ltermcap
-make prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} install DESTDIR=$PKG
+make shared && make install-shared \
+ prefix=/usr \
+ libdir=/usr/lib${LIBDIRSUFFIX} \
+ DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README docs $PKG/usr/doc/$PRGNAM-$VERSION
@@ -81,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/libraries/mujs/mujs.info b/libraries/mujs/mujs.info
index c214533a45..8d50d5ec6f 100644
--- a/libraries/mujs/mujs.info
+++ b/libraries/mujs/mujs.info
@@ -1,10 +1,10 @@
PRGNAM="mujs"
-VERSION="1.0.5"
+VERSION="1.3.2"
HOMEPAGE="https://mujs.com/"
-DOWNLOAD="https://mujs.com/downloads/mujs-1.0.5.tar.xz"
-MD5SUM="578f8be24a46449c6bcd36ad968d805d"
+DOWNLOAD="https://mujs.com/downloads/mujs-1.3.2.tar.xz"
+MD5SUM="c2221592e7033fd32cc399e24ca44f18"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andreas Guldstrand"
-EMAIL="andreas.guldstrand@gmail.com"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/libraries/munkres/README b/libraries/munkres/README
index bd6def1299..4d39e3319e 100644
--- a/libraries/munkres/README
+++ b/libraries/munkres/README
@@ -6,7 +6,6 @@ j-th job, and it figures out the least-cost solution, choosing a
single item from each row and column in the matrix, such that no row
and no column are used more than once.
-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 ./munkres.SlackBuild
+If you want to build this for use with Python 2.x (needs the
+optional dependency python2) pass the script PYTHON2=yes, like
+ PYTHON2=yes ./munkres.SlackBuild
diff --git a/libraries/munkres/munkres.SlackBuild b/libraries/munkres/munkres.SlackBuild
index 28ac6aaddb..92160d83f2 100644
--- a/libraries/munkres/munkres.SlackBuild
+++ b/libraries/munkres/munkres.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for munkres
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -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=munkres
-VERSION=${VERSION:-1.0.10}
+VERSION=${VERSION:-1.1.4}
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}
@@ -54,8 +65,8 @@ else
LIBDIRSUFFIX=""
fi
-PYTHON=python
-[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
+PYTHON=python3
+[ "${PYTHON2:-no}" = "yes" ] && PYTHON=python2
set -e
@@ -78,11 +89,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/doc/$PRGNAM-$VERSION
-cp -a LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.md README.md CHANGELOG.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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/munkres/munkres.info b/libraries/munkres/munkres.info
index 53dcd3d05a..0c9a01c6ec 100644
--- a/libraries/munkres/munkres.info
+++ b/libraries/munkres/munkres.info
@@ -1,10 +1,10 @@
PRGNAM="munkres"
-VERSION="1.0.10"
+VERSION="1.1.4"
HOMEPAGE="http://software.clapper.org/munkres/"
-DOWNLOAD="https://pypi.python.org/packages/05/cc/f5b2e2aadda370fbf0d6981b8c3970db8edcd5d751a7e17a5f6196366c5a/munkres-1.0.10.tar.gz"
-MD5SUM="db06af5239cee31c1c792f6b4ecbb3c4"
+DOWNLOAD="https://files.pythonhosted.org/packages/fd/41/6a3d0ef908f47d07c31e5d1c2504388c27c39b10b8cf610175b5a789a5c1/munkres-1.1.4.tar.gz"
+MD5SUM="98c185e5e7b290c91a754dde9a7da6e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/muparserx/README b/libraries/muparserx/README
new file mode 100644
index 0000000000..4ec167c973
--- /dev/null
+++ b/libraries/muparserx/README
@@ -0,0 +1,7 @@
+muparserx is an extensible high performance math expression parser
+library written in C++ originally. Originally based on the muparser
+engine it has evolved into a standalone project with a completely new
+parsing engine.
+
+Whereas muparser works only scalar data types, muparserx extends the
+support to strings, vector and complex data as arrays and matrices.
diff --git a/libraries/muparserx/muparserx.SlackBuild b/libraries/muparserx/muparserx.SlackBuild
new file mode 100644
index 0000000000..cbe528f95e
--- /dev/null
+++ b/libraries/muparserx/muparserx.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for muparserx
+
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=muparserx
+VERSION=${VERSION:-4.0.12}
+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 {} \;
+
+sed -i ./CMakeLists.txt -e "s/VERSION 2.8.12/VERSION 3.5/g"
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -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 \
+ 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/libraries/muparserx/muparserx.info b/libraries/muparserx/muparserx.info
new file mode 100644
index 0000000000..b54357180e
--- /dev/null
+++ b/libraries/muparserx/muparserx.info
@@ -0,0 +1,10 @@
+PRGNAM="muparserx"
+VERSION="4.0.12"
+HOMEPAGE="https://beltoforion.de/en/muparserx/"
+DOWNLOAD="https://github.com/beltoforion/muparserx/archive/v4.0.12/muparserx-4.0.12.tar.gz"
+MD5SUM="60a72043b40b45bf571fdf12d00e6b1b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/muparserx/slack-desc b/libraries/muparserx/slack-desc
new file mode 100644
index 0000000000..4ef9c93de3
--- /dev/null
+++ b/libraries/muparserx/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------------------------------------------------------|
+muparserx: muparserx (C++ library for parsing expressions)
+muparserx:
+muparserx: muparserx is a C++ library for parsing expressions with strings,
+muparserx: complex numbers, vectors, matrices and more.
+muparserx: It extends the support to some data types not supported by muParser,
+muparserx: as arrays, matrices, vector and strings.
+muparserx:
+muparserx: Home page: https://beltoforion.de/en/muparserx/
+muparserx:
+muparserx:
+muparserx:
diff --git a/libraries/musicbrainzngs/musicbrainzngs.SlackBuild b/libraries/musicbrainzngs/musicbrainzngs.SlackBuild
index 45e48d8d2f..6b286b001b 100644
--- a/libraries/musicbrainzngs/musicbrainzngs.SlackBuild
+++ b/libraries/musicbrainzngs/musicbrainzngs.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for MusicBrainz-ngs
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
# 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=musicbrainzngs
-VERSION=${VERSION:-0.6}
+VERSION=${VERSION:-0.7.1}
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}
@@ -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/libraries/musicbrainzngs/musicbrainzngs.info b/libraries/musicbrainzngs/musicbrainzngs.info
index 80740bcd58..0a02b3292c 100644
--- a/libraries/musicbrainzngs/musicbrainzngs.info
+++ b/libraries/musicbrainzngs/musicbrainzngs.info
@@ -1,10 +1,10 @@
PRGNAM="musicbrainzngs"
-VERSION="0.6"
+VERSION="0.7.1"
HOMEPAGE="https://github.com/alastair/python-musicbrainzngs"
-DOWNLOAD="https://pypi.python.org/packages/63/cc/67ad422295750e2b9ee57c27370dc85d5b85af2454afe7077df6b93d5938/musicbrainzngs-0.6.tar.gz"
-MD5SUM="22616f1710f13a8da933920089c51441"
+DOWNLOAD="https://files.pythonhosted.org/packages/0a/67/3e74ae93d90ceeba72ed1a266dd3ca9abd625f315f0afd35f9b034acedd1/musicbrainzngs-0.7.1.tar.gz"
+MD5SUM="3bb83143ddf39a6e6b807a79b9ed97b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/mxml/link_with_pthread.diff b/libraries/mxml/link_with_pthread.diff
deleted file mode 100644
index e012a81cb8..0000000000
--- a/libraries/mxml/link_with_pthread.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- mxml-2.7.orig/Makefile.in 2012-06-14 20:05:40.319997357 -0700
-+++ mxml-2.7/Makefile.in 2012-06-14 20:23:52.961000179 -0700
-@@ -297,7 +297,7 @@
-
- libmxml.so.1.5: $(LIBOBJS)
- echo Creating $@...
-- $(DSO) $(DSOFLAGS) -o libmxml.so.1.5 $(LIBOBJS)
-+ $(DSO) $(DSOFLAGS) -o libmxml.so.1.5 $(LIBOBJS) $(LIBS)
- $(RM) libmxml.so libmxml.so.1
- $(LN) libmxml.so.1.5 libmxml.so
- $(LN) libmxml.so.1.5 libmxml.so.1
diff --git a/libraries/mxml/mxml.SlackBuild b/libraries/mxml/mxml.SlackBuild
index e9b64a516f..4569710412 100644
--- a/libraries/mxml/mxml.SlackBuild
+++ b/libraries/mxml/mxml.SlackBuild
@@ -1,14 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mxml
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# Updated by Kent Fritz <fritz.kent@gmail.com>
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - add missing SlackBuild to doc dir.
+# - remove static library.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mxml
-VERSION=${VERSION:-2.12}
+VERSION=${VERSION:-3.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,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}
@@ -48,9 +59,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -66,15 +77,15 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DSTROOT=$PKG
+rm -f $PKG/usr/lib*/lib*.a
+strip $PKG/usr/lib*/lib*.so.*.*
+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
-
-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*/*.la
+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/libraries/mxml/mxml.info b/libraries/mxml/mxml.info
index 17b08931e7..fc1145944a 100644
--- a/libraries/mxml/mxml.info
+++ b/libraries/mxml/mxml.info
@@ -1,8 +1,8 @@
PRGNAM="mxml"
-VERSION="2.12"
-HOMEPAGE="http://www.minixml.org/"
-DOWNLOAD="https://github.com/michaelrsweet/mxml/archive/v2.12/mxml-2.12.tar.gz"
-MD5SUM="bb927d3b94299862583b50df9a71e06a"
+VERSION="3.3.1"
+HOMEPAGE="https://www.msweet.org/mxml/"
+DOWNLOAD="https://github.com/michaelrsweet/mxml/releases/download/v3.3.1/mxml-3.3.1.tar.gz"
+MD5SUM="078dc38807d4f1b9e92c95515ff2aec3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/mxml/remove_rpath.diff b/libraries/mxml/remove_rpath.diff
deleted file mode 100644
index be19c042a5..0000000000
--- a/libraries/mxml/remove_rpath.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- mxml-2.7.orig/configure 2012-06-14 20:05:40.322997627 -0700
-+++ mxml-2.7/configure 2012-06-14 20:28:11.276000237 -0700
-@@ -4715,8 +4715,8 @@
- echo "${ECHO_T}yes" >&6; }
- LIBMXML="libmxml.so.1.5"
- DSO="\$(CC)"
-- DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1,-rpath,\$(libdir) -shared \$(OPTIM)"
-- LDFLAGS="$LDFLAGS -Wl,-rpath,\$(libdir)"
-+ DSOFLAGS="$DSOFLAGS -Wl,-soname,libmxml.so.1 -shared \$(OPTIM)"
-+ LDFLAGS="$LDFLAGS"
- ;;
-
- *BSD*)
diff --git a/libraries/mygpoclient/README b/libraries/mygpoclient/README
index 981cb48f67..e6a92cfdb4 100644
--- a/libraries/mygpoclient/README
+++ b/libraries/mygpoclient/README
@@ -1,6 +1,8 @@
-The mygpoclient library allows developers to utilize a Pythonic
-interface to the gpodder.net web services.
+This library provides an easy and structured way to access the
+gpodder.net web services. In addition to subscription list
+synchronization and storage, the advanced API support allows
+to upload and download episode status changes.
-Included is an example utility, bpsync, that will will synchronize your
-bp.conf file from BashPodder to the gpodder.net web services, check out
-http://lincgeek.org/bashpodder for more information.
+Documentation can be read online at
+
+http://mygpoclient.readthedocs.io/
diff --git a/libraries/mygpoclient/mygpoclient.SlackBuild b/libraries/mygpoclient/mygpoclient.SlackBuild
index 7e9d076ac0..6045c1ff15 100644
--- a/libraries/mygpoclient/mygpoclient.SlackBuild
+++ b/libraries/mygpoclient/mygpoclient.SlackBuild
@@ -1,15 +1,36 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mygpoclient
-# Written by Luis Henrique <lmello.009@gmail.com>
+# Copyright 2010-2017 Luis Henrique <lmello.009@gmail.com>
+# Copyright 2018-2023 Chris Farrell <timcowchip@gorge.net>
+# Copyright 2024- Diniz Bortolotto <diniz.bortolotto@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Edited by Chris Farrell <timcowchip@gorge.net>
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mygpoclient
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,25 +40,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
@@ -48,21 +59,24 @@ 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 {} \;
-
-sed -i -e 's:share/man/man1:man/man1:' setup.py
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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|share/man/man1|man/man1|" setup.py
+python3 setup.py build
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
+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 PKG-INFO \
+ AUTHORS CONTRIBUTING.md COPYING NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -70,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/libraries/mygpoclient/mygpoclient.info b/libraries/mygpoclient/mygpoclient.info
index 2bb7183e68..21039c87f5 100644
--- a/libraries/mygpoclient/mygpoclient.info
+++ b/libraries/mygpoclient/mygpoclient.info
@@ -1,10 +1,10 @@
PRGNAM="mygpoclient"
-VERSION="1.8"
+VERSION="1.9"
HOMEPAGE="https://github.com/gpodder/mygpoclient"
-DOWNLOAD="https://github.com/timcowchip/DISTFILES/raw/master/mygpoclient-1.8.tar.gz"
-MD5SUM="b2623c5c068ed137a8ce0f18229aaf7a"
+DOWNLOAD="https://github.com/gpodder/mygpoclient/archive/1.9/mygpoclient-1.9.tar.gz"
+MD5SUM="c6f453c6f9be6eca935efe54e0db6556"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Chris Farrell"
-EMAIL="timcowchip@gorge.net"
+REQUIRES=""
+MAINTAINER="Diniz Bortolotto"
+EMAIL="diniz.bortolotto@gmail.com"
diff --git a/libraries/mygpoclient/slack-desc b/libraries/mygpoclient/slack-desc
index 1a803d8c1b..709fb1efbf 100644
--- a/libraries/mygpoclient/slack-desc
+++ b/libraries/mygpoclient/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-mygpoclient: mygpoclient (gpodder.net Client Library)
-mygpoclient:
-mygpoclient: The mygpoclient library allows developers to utilize a Pythonic
-mygpoclient: interface to the gpodder.net web services.
-mygpoclient:
-mygpoclient: Homepage: https://github.com/gpodder/mygpoclient
-mygpoclient:
+mygpoclient: mygpoclient (The gpodder.net Client Library)
mygpoclient:
+mygpoclient: This library provides an easy and structured way to access
+mygpoclient: the gpodder.net web services. In addition to subscription list
+mygpoclient: synchronization and storage, the advanced API support allows to
+mygpoclient: upload and download episode status changes.
mygpoclient:
+mygpoclient: Documentation can be read online at
+mygpoclient: http://mygpoclient.readthedocs.io/
mygpoclient:
mygpoclient:
diff --git a/libraries/mysql++/README b/libraries/mysql++/README
index 5f9f1df856..74baf3af75 100644
--- a/libraries/mysql++/README
+++ b/libraries/mysql++/README
@@ -1,7 +1,8 @@
-MySQL++ is a C++ wrapper for MySQL's C API. It is built around the same
-principles as the Standard C++ Library, to make dealing with the database
-as easy as dealing with STL containers. In addition, MySQL++ provides
-facilities that let you avoid the most repetitive sorts of SQL within your
-own code, providing native C++ interfaces for these common tasks.
+MySQL++ is a C++ wrapper for MySQL's C API. It is built around the
+same principles as the Standard C++ Library, to make dealing with the
+database as easy as dealing with STL containers. In addition, MySQL++
+provides facilities that let you avoid the most repetitive sorts of
+SQL within your own code, providing native C++ interfaces for these
+common tasks.
MySQL++ requires MySQL.
diff --git a/libraries/mysql++/mysql++.SlackBuild b/libraries/mysql++/mysql++.SlackBuild
index 17e6ea1fbc..bcef7d8cab 100644
--- a/libraries/mysql++/mysql++.SlackBuild
+++ b/libraries/mysql++/mysql++.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mysql++
@@ -23,26 +23,36 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mysql++
-VERSION=${VERSION:-3.1.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.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"
@@ -92,13 +102,15 @@ 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.txt CREDITS.txt ChangeLog HACKERS.txt INSTALL.txt LICENSE.txt \
- README-*.txt Wishlist $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.txt CREDITS.txt INSTALL.txt LICENSE.txt \
+ README-*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/{html,pdf} $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/libraries/mysql++/mysql++.info b/libraries/mysql++/mysql++.info
index 3a0094b7e3..c7c2cddae9 100644
--- a/libraries/mysql++/mysql++.info
+++ b/libraries/mysql++/mysql++.info
@@ -1,8 +1,8 @@
PRGNAM="mysql++"
-VERSION="3.1.0"
-HOMEPAGE="http://tangentsoft.net/mysql++/"
-DOWNLOAD="https://tangentsoft.com/mysqlpp/releases/mysql%2b%2b-3.1.0.tar.gz"
-MD5SUM="d92769cc579b87a60e58a77099cc4f0e"
+VERSION="3.3.0"
+HOMEPAGE="https://tangentsoft.net/mysql++/"
+DOWNLOAD="https://tangentsoft.com/mysqlpp/releases/mysql%2b%2b-3.3.0.tar.gz"
+MD5SUM="39932f1efb6fec00366cd7c7c4bb0914"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/mysql-connector-c++/README b/libraries/mysql-connector-c++/README
deleted file mode 100644
index df142568e3..0000000000
--- a/libraries/mysql-connector-c++/README
+++ /dev/null
@@ -1 +0,0 @@
-mysql-connector-c++ is the official c++ driver for MySQL
diff --git a/libraries/mysql-connector-c++/mariadb_api.patch b/libraries/mysql-connector-c++/mariadb_api.patch
deleted file mode 100644
index c7c8a5913e..0000000000
--- a/libraries/mysql-connector-c++/mariadb_api.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/driver/nativeapi/libmysql_static_proxy.cpp b/driver/nativeapi/libmysql_static_proxy.cpp
-index 703c0f3..1569e55 100644
---- a/driver/nativeapi/libmysql_static_proxy.cpp
-+++ b/driver/nativeapi/libmysql_static_proxy.cpp
-@@ -319,7 +319,7 @@ LibmysqlStaticProxy::options(MYSQL * mysql, enum mysql_option option, const void
- int
- LibmysqlStaticProxy::get_option(MYSQL * mysql, enum mysql_option option, const void *arg)
- {
--#if MYSQL_VERSION_ID >= 50703
-+#if not defined MARIADB_BASE_VERSION && MYSQL_VERSION_ID >= 50703
- if (::mysql_get_option(mysql, option, arg)) {
- throw sql::InvalidArgumentException("Unsupported option provided to mysql_get_option()");
- } else {
diff --git a/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild b/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild
deleted file mode 100644
index cc44e33e61..0000000000
--- a/libraries/mysql-connector-c++/mysql-connector-c++.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mysql-connector-c++
-
-# Copyright 2013-2017 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=mysql-connector-c++
-VERSION=${VERSION:-1.1.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 {} \;
-
-# Compatibility patch for MariaDB
-patch -p1 < $CWD/mariadb_api.patch
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- -DMYSQLCPPCONN_BUILD_EXAMPLES=OFF \
- -DMYSQL_LIB=/usr/lib${LIBDIRSUFFIX}/libmysqlclient.so \
- -DCMAKE_BUILD_TYPE=Release ..
- make mysqlcppconn
- cp $TMP/$PRGNAM-$VERSION/build/cppconn/config.h $TMP/$PRGNAM-$VERSION/cppconn/config.h
- 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
-mv $PKG/usr/{COPYING,README,Licenses*.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/libraries/mysql-connector-c++/mysql-connector-c++.info b/libraries/mysql-connector-c++/mysql-connector-c++.info
deleted file mode 100644
index ce2593b3b0..0000000000
--- a/libraries/mysql-connector-c++/mysql-connector-c++.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mysql-connector-c++"
-VERSION="1.1.9"
-HOMEPAGE="https://dev.mysql.com/downloads/connector/cpp/"
-DOWNLOAD="https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.9.tar.gz"
-MD5SUM="f262bef7e70178f95ceb72a71f0915f7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/mysql-connector-c++/slack-desc b/libraries/mysql-connector-c++/slack-desc
deleted file mode 100644
index bde9eb3a39..0000000000
--- a/libraries/mysql-connector-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------------------------------------------------------|
-mysql-connector-c++: mysql-connector-c++ (MySQL Connector in C++)
-mysql-connector-c++:
-mysql-connector-c++: mysql-connector-c++ is the official c++ driver for MySQL.
-mysql-connector-c++:
-mysql-connector-c++: Website: http://www.mysql.com/
-mysql-connector-c++:
-mysql-connector-c++:
-mysql-connector-c++:
-mysql-connector-c++:
-mysql-connector-c++:
-mysql-connector-c++:
diff --git a/libraries/mysql-connector-python/README b/libraries/mysql-connector-python/README
deleted file mode 100644
index 246349e224..0000000000
--- a/libraries/mysql-connector-python/README
+++ /dev/null
@@ -1,2 +0,0 @@
-MySQL Connector/Python is a standardized database driver for Python
-platforms and development.
diff --git a/libraries/mysql-connector-python/mysql-connector-python.SlackBuild b/libraries/mysql-connector-python/mysql-connector-python.SlackBuild
deleted file mode 100644
index bf796ebf9b..0000000000
--- a/libraries/mysql-connector-python/mysql-connector-python.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mysql-connector-python
-
-# Copyright 2013-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=mysql-connector-python
-VERSION=${VERSION:-2.1.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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-
-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/doc/$PRGNAM-$VERSION
-cp -a docs/README_DOCS.txt *.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/libraries/mysql-connector-python/mysql-connector-python.info b/libraries/mysql-connector-python/mysql-connector-python.info
deleted file mode 100644
index 0aca8a4dfa..0000000000
--- a/libraries/mysql-connector-python/mysql-connector-python.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mysql-connector-python"
-VERSION="2.1.7"
-HOMEPAGE="https://dev.mysql.com/downloads/connector/python/"
-DOWNLOAD="http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.7.tar.gz"
-MD5SUM="f7a929752273616e0100bda066101469"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/mysql-connector-python/slack-desc b/libraries/mysql-connector-python/slack-desc
deleted file mode 100644
index c310dea2b9..0000000000
--- a/libraries/mysql-connector-python/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-connector-python: mysql-connector-python (MySQL Connector in Python)
-mysql-connector-python:
-mysql-connector-python: MySQL Connector/Python is a standardized database driver for Python
-mysql-connector-python: platforms and development.
-mysql-connector-python:
-mysql-connector-python:
-mysql-connector-python:
-mysql-connector-python:
-mysql-connector-python:
-mysql-connector-python:
-mysql-connector-python:
diff --git a/libraries/mysqltcl/mysqltcl.SlackBuild b/libraries/mysqltcl/mysqltcl.SlackBuild
index 8e47226c55..79a85a4fc2 100644
--- a/libraries/mysqltcl/mysqltcl.SlackBuild
+++ b/libraries/mysqltcl/mysqltcl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mysqltcl
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - fix doc permissions.
+# - install the generated docs only, not the source + generation script.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mysqltcl
VERSION=${VERSION:-3.052}
-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"
@@ -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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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" \
@@ -84,24 +96,25 @@ CXXFLAGS="$SLKCFLAGS" \
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
+gzip -9 $PKG/usr/man/man*/*
+strip $PKG/usr/lib*/$PRGNAM-$VERSION/*.so
# Remove empty directories
rmdir $PKG/usr/include $PKG/usr/bin
+# 20220419 bkw: don't install doc/*: it includes the source for the
+# man and html pages, plus the script used to generate them. the
+# man page is already installed, just include the html page.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog README README-msqltcl doc \
+install -m0644 \
+ AUTHORS COPYING ChangeLog README README-msqltcl doc/*.html \
$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/libraries/nDPI/README b/libraries/nDPI/README
new file mode 100644
index 0000000000..60decba0d3
--- /dev/null
+++ b/libraries/nDPI/README
@@ -0,0 +1,7 @@
+nDPI is a library for Deep Packet Inspection
+
+nDPI is used by ntopng, and can be used by wireshark. It is quite
+advanced, and includes a lot of protocol dissectors. You can also write
+your own ones.
+
+
diff --git a/libraries/nDPI/nDPI.SlackBuild b/libraries/nDPI/nDPI.SlackBuild
new file mode 100644
index 0000000000..bb5958dbbe
--- /dev/null
+++ b/libraries/nDPI/nDPI.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# 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=nDPI
+VERSION=${VERSION:-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"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} +
+
+sed -i 's|$(PREFIX)$(libdir)|$(libdir)|g' src/lib/Makefile.in
+
+./autogen.sh
+
+CC=clang \
+CXX=clang++ \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-pcre \
+ --with-maxminddb \
+ --enable-static=no \
+ --build=$ARCH-slackware-linux || exit 1
+
+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
+rm $PKG/usr/lib${LIBDIRSUFFIX}/libndpi.a
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar \
+ doc \
+ CHANGELOG.md \
+ CONTRIBUTING.md \
+ README.md \
+ COPYING \
+ wireshark \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/nDPI/nDPI.info b/libraries/nDPI/nDPI.info
new file mode 100644
index 0000000000..fe17d2063a
--- /dev/null
+++ b/libraries/nDPI/nDPI.info
@@ -0,0 +1,10 @@
+PRGNAM="nDPI"
+VERSION="4.8"
+HOMEPAGE="https://github.com/ntop/nDPI"
+DOWNLOAD="https://github.com/ntop/nDPI/archive/4.8/nDPI-4.8.tar.gz"
+MD5SUM="41a5437fa7d274f59f852b17b776558f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libmaxminddb"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.nDPI_2023-05-10@lockywolf.net"
diff --git a/libraries/nDPI/slack-desc b/libraries/nDPI/slack-desc
new file mode 100644
index 0000000000..79d3a4844b
--- /dev/null
+++ b/libraries/nDPI/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------------------------------------------------------|
+nDPI: nDPI (deep packet inspection library)
+nDPI:
+nDPI: nDPI is a library for deep packet inspection
+nDPI:
+nDPI:
+nDPI:
+nDPI:
+nDPI:
+nDPI:
+nDPI:
+nDPI:
diff --git a/libraries/nacl/nacl.SlackBuild b/libraries/nacl/nacl.SlackBuild
index d2afda2a13..632b6a66dd 100644
--- a/libraries/nacl/nacl.SlackBuild
+++ b/libraries/nacl/nacl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nacl
@@ -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=nacl
VERSION=${VERSION:-20110221}
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/libraries/nanodbc/README b/libraries/nanodbc/README
new file mode 100644
index 0000000000..27ea7caca0
--- /dev/null
+++ b/libraries/nanodbc/README
@@ -0,0 +1,4 @@
+A small C++ wrapper for the native C ODBC API.
+
+note: requires C++14 since v2.12.
+Do not version bump this package.
diff --git a/libraries/nanodbc/nanodbc.SlackBuild b/libraries/nanodbc/nanodbc.SlackBuild
new file mode 100644
index 0000000000..332d47654a
--- /dev/null
+++ b/libraries/nanodbc/nanodbc.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for nanodbc
+
+# Copyright 2023 Fernando Lopez Jr. <fernando.lopezjr@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=nanodbc
+VERSION=${VERSION:-2.11.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 {} \;
+
+sed -i "s|LIBRARY_OUTPUT_DIRECTORY \"lib\"|LIBRARY_OUTPUT_DIRECTORY \"lib$LIBDIRSUFFIX\"|" CMakeLists.txt
+sed -i "s|DESTINATION lib|DESTINATION lib$LIBDIRSUFFIX|" CMakeLists.txt
+sed -i "s|DESTINATION \"lib/cmake/nanodbc\"|DESTINATION \"lib$LIBDIRSUFFIX/cmake/nanodbc\"|" CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -DNANODBC_ENABLE_LIBCXX=OFF \
+ -DNANODBC_INSTALL=ON \
+ -DNANODBC_STATIC=OFF \
+ -DNANODBC_EXAMPLES=OFF \
+ -DNANODBC_TEST=OFF \
+ -DNANODBC_USE_BOOST_CONVERT=OFF \
+ -DNANODBC_USE_UNICODE=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 CHANGELOG.md LICENSE README.md 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
diff --git a/libraries/nanodbc/nanodbc.info b/libraries/nanodbc/nanodbc.info
new file mode 100644
index 0000000000..0f5991ff1a
--- /dev/null
+++ b/libraries/nanodbc/nanodbc.info
@@ -0,0 +1,10 @@
+PRGNAM="nanodbc"
+VERSION="2.11.3"
+HOMEPAGE="https://github.com/nanodbc/nanodbc"
+DOWNLOAD="https://github.com/nanodbc/nanodbc/archive/v2.11.3/nanodbc-v2.11.3.tar.gz"
+MD5SUM="384d2d3fc15515ddaa81b30ff119d09d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/nanodbc/slack-desc b/libraries/nanodbc/slack-desc
new file mode 100644
index 0000000000..f9fef63c3b
--- /dev/null
+++ b/libraries/nanodbc/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------------------------------------------------------|
+nanodbc: nanodbc (C ODBC API)
+nanodbc:
+nanodbc: A small C++ wrapper for the native C ODBC API.
+nanodbc:
+nanodbc:
+nanodbc:
+nanodbc:
+nanodbc:
+nanodbc:
+nanodbc:
+nanodbc:
diff --git a/libraries/nanosvg/README b/libraries/nanosvg/README
new file mode 100644
index 0000000000..ace4d3a4cb
--- /dev/null
+++ b/libraries/nanosvg/README
@@ -0,0 +1,5 @@
+NanoSVG is a simple stupid single-header-file SVG parse. The output
+of the parser is a list of cubic bezier shapes.
+
+The library suits well for anything from rendering scalable icons
+in your editor application to prototyping a game.
diff --git a/libraries/nanosvg/doinst.sh b/libraries/nanosvg/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/libraries/nanosvg/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/libraries/nanosvg/nanosvg.SlackBuild b/libraries/nanosvg/nanosvg.SlackBuild
new file mode 100644
index 0000000000..e93f4a6a58
--- /dev/null
+++ b/libraries/nanosvg/nanosvg.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for nanosvg
+
+# Copyright 2019-2023 Fernando Lopez Jr. <fernando.lopezjr@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=nanosvg
+VERSION=${VERSION:-20231024_cb0ae5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+COMMIT=cb0ae54e6b147ccdf85401ef3ef20f2c761252c0
+
+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-$COMMIT.tar.gz
+mv $PRGNAM-$COMMIT $PRGNAM-$VERSION-$COMMIT
+cd $PRGNAM-$VERSION-$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_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
+cp -a 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/nanosvg/nanosvg.info b/libraries/nanosvg/nanosvg.info
new file mode 100644
index 0000000000..d71d1cd603
--- /dev/null
+++ b/libraries/nanosvg/nanosvg.info
@@ -0,0 +1,10 @@
+PRGNAM="nanosvg"
+VERSION="20231024_cb0ae5"
+HOMEPAGE="https://github.com/memononen/nanosvg"
+DOWNLOAD="https://github.com/memononen/nanosvg/archive/cb0ae54/nanosvg-cb0ae54e6b147ccdf85401ef3ef20f2c761252c0.tar.gz"
+MD5SUM="90efaa58c57a419a8b914edc64f1078e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/nanosvg/slack-desc b/libraries/nanosvg/slack-desc
new file mode 100644
index 0000000000..ef6777738f
--- /dev/null
+++ b/libraries/nanosvg/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------------------------------------------------------|
+nanosvg: nanosvg (single-header-file SVG parser)
+nanosvg:
+nanosvg: NanoSVG is a simple stupid single-header-file SVG parse. The output
+nanosvg: of the parser is a list of cubic bezier shapes.
+nanosvg:
+nanosvg:
+nanosvg:
+nanosvg:
+nanosvg:
+nanosvg:
+nanosvg:
diff --git a/libraries/netcdf-fortran/README b/libraries/netcdf-fortran/README
new file mode 100644
index 0000000000..62fadba97f
--- /dev/null
+++ b/libraries/netcdf-fortran/README
@@ -0,0 +1,9 @@
+The Unidata network Common Data Form (netCDF) is an interface for
+scientific data access and a set of freely-distributed software
+libraries that provide an implementation of the interface. The netCDF
+library also defines a machine-independent format for representing
+scientific data. Together, the interface, library, and format support
+the creation, access, and sharing of scientific data. This software
+package provides Fortran application interfaces for accessing netCDF
+data. It depends on the netCDF C library, which must be installed
+first.
diff --git a/libraries/netcdf-fortran/netcdf-fortran.SlackBuild b/libraries/netcdf-fortran/netcdf-fortran.SlackBuild
new file mode 100644
index 0000000000..49b5c30095
--- /dev/null
+++ b/libraries/netcdf-fortran/netcdf-fortran.SlackBuild
@@ -0,0 +1,128 @@
+#!/bin/bash
+
+# Slackware build script for netcdf-fortran
+
+# Copyright 2022 Nitish Ragoomundun, Mauritius
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=netcdf-fortran
+VERSION=${VERSION:-4.5.4}
+SRCNAM=v${VERSION}
+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
+
+# If downloaded using wget, the source archive will have a different name, so
+# find the correct file to extract.
+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" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --datarootdir=/usr \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-static=no \
+ --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
+
+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 COPYRIGHT README.md RELEASE_NOTES.md VERSION examples/ $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$TAG
+
+rm -fv $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
diff --git a/libraries/netcdf-fortran/netcdf-fortran.info b/libraries/netcdf-fortran/netcdf-fortran.info
new file mode 100644
index 0000000000..846dbca401
--- /dev/null
+++ b/libraries/netcdf-fortran/netcdf-fortran.info
@@ -0,0 +1,10 @@
+PRGNAM="netcdf-fortran"
+VERSION="4.5.4"
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/"
+DOWNLOAD="https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v4.5.4/netcdf-fortran-4.5.4.tar.gz"
+MD5SUM="77e1be413ab343f42a4a6e8b338b45d5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="netcdf"
+MAINTAINER="Nitish Ragoomundun"
+EMAIL="lrugratz@gmail.com"
diff --git a/libraries/netcdf-fortran/slack-desc b/libraries/netcdf-fortran/slack-desc
new file mode 100644
index 0000000000..8f2e091cf0
--- /dev/null
+++ b/libraries/netcdf-fortran/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------------------------------------------------------|
+netcdf-fortran: netcdf-fortran (netCDF Fortran API)
+netcdf-fortran:
+netcdf-fortran: netCDF (network Common Data Form) is an interface for scientific data
+netcdf-fortran: access and also provides a machine-independent format for
+netcdf-fortran: representing scientific data. The netcdf-fortran package provides
+netcdf-fortran: Fortran application interfaces for accessing netCDF data.
+netcdf-fortran:
+netcdf-fortran:
+netcdf-fortran:
+netcdf-fortran: https://www.unidata.ucar.edu/software/netcdf/
+netcdf-fortran:
diff --git a/libraries/netcdf/README b/libraries/netcdf/README
index 61374e1929..cfc36a7164 100644
--- a/libraries/netcdf/README
+++ b/libraries/netcdf/README
@@ -14,15 +14,6 @@ the 'hdf' package from SlackBuilds.org, and then pass the option
HDF4=yes ./netcdf.SlackBuild
-Optional CDF5 support
----------------------
-
-CDF5 support is not yet enabled by default. According to the release
-notes [1], reading and writing CDF5 files on 32-bit platforms may
-result in unexpected behavior when using extremely large variables. If
-you need CDF5 support, please pass the option 'CDF5=yes' to the netcdf
-SlackBuild, for example
-
- CDF5=yes ./netcdf.SlackBuild
-
-[1] https://www.unidata.ucar.edu/software/netcdf/docs/RELEASE_NOTES.html
+By default, the script does not build nor run the tests. You can use the
+option TESTBUILD=YES to build and run the tests before the make install
+part.
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild
index 3c1449d46d..59ab056cf2 100644
--- a/libraries/netcdf/netcdf.SlackBuild
+++ b/libraries/netcdf/netcdf.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for netcdf.
#
+# Copyright 2022 Gregory J. L. Tourte <artourter@gmail.com>
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@@ -22,29 +23,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# Maintained by David Spencer <baildon.research@googlemail.com>
+# Maintained until 2018 by David Spencer <baildon.research@googlemail.com>
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=netcdf
SRCNAM=netcdf-c
-VERSION=${VERSION:-4.6.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.9.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"
@@ -59,6 +70,10 @@ fi
set -e
+if [[ ${TESTBUILD:='NO'} == 'NO' ]]; then
+ TESTBUILDFLAGS='--disable-testsets'
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -67,9 +82,9 @@ 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 \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "${HDF4:-no}" = 'yes' ]; then
@@ -79,12 +94,6 @@ else
hdf4opt=""
fi
-if [ "${CDF5:-no}" = 'yes' ]; then
- cdf5opt="--enable-cdf5"
-else
- cdf5opt=""
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -96,15 +105,18 @@ CXXFLAGS="$SLKCFLAGS" \
--datarootdir=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
- --enable-netcdf-4 \
- --enable-dap-netcdf \
+ --disable-examples \
+ --disable-plugins \
+ ${TESTBUILDFLAGS} \
${hdf4opt} \
- ${cdf5opt} \
--build=$ARCH-slackware-linux
make
+[[ $TESTBUILD == "YES" ]] && make check
make install DESTDIR=$PKG
+rm -rf examples/C/.{libs,deps}/
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -112,15 +124,18 @@ 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 COMPILE.cmake.txt COPYRIGHT INSTALL.md README.md RELEASE_NOTES.md VERSION \
- examples/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYRIGHT README.md RELEASE_NOTES.md \
+ examples/ $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$TAG
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+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/libraries/netcdf/netcdf.info b/libraries/netcdf/netcdf.info
index edcedb5fae..a739070b06 100644
--- a/libraries/netcdf/netcdf.info
+++ b/libraries/netcdf/netcdf.info
@@ -1,10 +1,10 @@
PRGNAM="netcdf"
-VERSION="4.6.2"
+VERSION="4.9.2"
HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/"
-DOWNLOAD="https://github.com/Unidata/netcdf-c/archive/v4.6.2/netcdf-c-4.6.2.tar.gz"
-MD5SUM="7d3a25ec23e1fd7c1c7cdca7aa4a498c"
+DOWNLOAD="https://github.com/Unidata/netcdf-c/archive/v4.9.2/netcdf-c-4.9.2.tar.gz"
+MD5SUM="84acd096ab4f3300c20db862eecdf7c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="hdf5"
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"
diff --git a/libraries/nextaw/README b/libraries/nextaw/README
index 7c59aba01c..de6ac73efd 100644
--- a/libraries/nextaw/README
+++ b/libraries/nextaw/README
@@ -1,4 +1,4 @@
-neXtaw is a replacement library for the Athena (libXaw) widget set. It is
-based on Xaw3d, by Kaleb Keithley and is almost 100% backward compatible
-with it. Its goal is to try to emulate the look and feel of the N*XTSTEP
-GUI.
+neXtaw is a replacement library for the Athena (libXaw) widget set. It
+is based on Xaw3d, by Kaleb Keithley and is almost 100% backward
+compatible with it. Its goal is to try to emulate the look and feel of
+the N*XTSTEP GUI.
diff --git a/libraries/nextaw/nextaw.SlackBuild b/libraries/nextaw/nextaw.SlackBuild
index f7e891c56d..ebc1b0d7e8 100644
--- a/libraries/nextaw/nextaw.SlackBuild
+++ b/libraries/nextaw/nextaw.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nextaw
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nextaw
VERSION=${VERSION:-0.15.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=neXtaw
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,8 +83,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README ChangeLog 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/libraries/nghttp3/README b/libraries/nghttp3/README
new file mode 100644
index 0000000000..7170da6f09
--- /dev/null
+++ b/libraries/nghttp3/README
@@ -0,0 +1,42 @@
+nghttp3
+=======
+
+nghttp3 is an implementation of `RFC 9114
+<https://datatracker.ietf.org/doc/html/rfc9114>`_ HTTP/3 mapping over
+QUIC and `RFC 9204 <https://datatracker.ietf.org/doc/html/rfc9204>`_
+QPACK in C.
+
+It does not depend on any particular QUIC transport implementation.
+
+Documentation
+-------------
+
+`Online documentation <https://nghttp2.org/nghttp3/>`_ is available.
+
+HTTP/3
+------
+
+This library implements `RFC 9114
+<https://datatracker.ietf.org/doc/html/rfc9114>`_ HTTP/3. It does not
+support server push.
+
+The following extensions have been implemented:
+
+- `Extensible Prioritization Scheme for HTTP
+ <https://datatracker.ietf.org/doc/html/rfc9218>`_
+- `Bootstrapping WebSockets with HTTP/3
+ <https://datatracker.ietf.org/doc/html/rfc9220>`_
+
+QPACK
+-----
+
+This library implements `RFC 9204
+<https://datatracker.ietf.org/doc/html/rfc9204>`_ QPACK. It supports
+dynamic table.
+
+License
+-------
+
+The MIT License
+
+Copyright (c) 2019 nghttp3 contributors
diff --git a/libraries/nghttp3/nghttp3.SlackBuild b/libraries/nghttp3/nghttp3.SlackBuild
new file mode 100644
index 0000000000..4b3eca010b
--- /dev/null
+++ b/libraries/nghttp3/nghttp3.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for nghttp3
+# 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=nghttp3
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+sed -i '/find_package(CUnit 2.1)/d' 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 \
+ -DENABLE_STATIC_LIB=OFF \
+ -DENABLE_LIB_ONLY=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/doc
+mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
+
+find $PKG -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/libraries/nghttp3/nghttp3.info b/libraries/nghttp3/nghttp3.info
new file mode 100644
index 0000000000..0f81d7f84c
--- /dev/null
+++ b/libraries/nghttp3/nghttp3.info
@@ -0,0 +1,10 @@
+PRGNAM="nghttp3"
+VERSION="1.1.0"
+HOMEPAGE="https://github.com/ngtcp2/nghttp3"
+DOWNLOAD="https://github.com/ngtcp2/nghttp3/releases/download/v1.1.0/nghttp3-1.1.0.tar.gz"
+MD5SUM="ea019228256d4f883cc6f4ca634b8bd0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.nghttp3_2023-05-17@lockywolf.net"
diff --git a/libraries/nghttp3/slack-desc b/libraries/nghttp3/slack-desc
new file mode 100644
index 0000000000..efc49a5abb
--- /dev/null
+++ b/libraries/nghttp3/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------------------------------------------------------|
+nghttp3: nghttp3 (an implementation of RFC 9114 HTTP/3 over QUIC)
+nghttp3:
+nghttp3: nghttp3 is an implementation of RFC 9114 HTTP/3 mapping over QUIC
+nghttp3: and RFC 9204 QPACK in C.
+nghttp3: It does not depend on any particular QUIC transport implementation.
+nghttp3:
+nghttp3:
+nghttp3:
+nghttp3:
+nghttp3:
+nghttp3:
diff --git a/libraries/ngtcp2/README b/libraries/ngtcp2/README
new file mode 100644
index 0000000000..f086dd58e5
--- /dev/null
+++ b/libraries/ngtcp2/README
@@ -0,0 +1,3 @@
+ngtcp2 is http/3 library for curl
+
+This build uses nghttp3 (from SBo) and GnuTLS (from Slackware)
diff --git a/libraries/ngtcp2/ngtcp2.SlackBuild b/libraries/ngtcp2/ngtcp2.SlackBuild
new file mode 100644
index 0000000000..5285df76e3
--- /dev/null
+++ b/libraries/ngtcp2/ngtcp2.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for nghttp3
+# 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=ngtcp2
+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"
+ 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 {} \;
+
+sed -i '/find_package(CUnit 2.1)/d' 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 \
+ -DENABLE_STATIC_LIB=OFF \
+ -DENABLE_LIB_ONLY=ON \
+ -DENABLE_GNUTLS=ON \
+ -DENABLE_OPENSSL=OFF \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+ mkdir -p $PKG/usr/bin/
+ cp examples/{gtlsclient,gtlsserver} $PKG/usr/bin/
+cd ..
+
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $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
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a \
+ examples \
+ $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/libraries/ngtcp2/ngtcp2.info b/libraries/ngtcp2/ngtcp2.info
new file mode 100644
index 0000000000..cd3cb8745f
--- /dev/null
+++ b/libraries/ngtcp2/ngtcp2.info
@@ -0,0 +1,10 @@
+PRGNAM="ngtcp2"
+VERSION="1.2.0"
+HOMEPAGE="https://github.com/ngtcp2/ngtcp2/"
+DOWNLOAD="https://github.com/ngtcp2/ngtcp2/releases/download/v1.2.0/ngtcp2-1.2.0.tar.gz"
+MD5SUM="d19df333cb0b0bc95046dfd30f5b7348"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libev nghttp3"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.ngtcp2_2023-05-17@lockywolf.net"
diff --git a/libraries/ngtcp2/slack-desc b/libraries/ngtcp2/slack-desc
new file mode 100644
index 0000000000..cb2e1f96eb
--- /dev/null
+++ b/libraries/ngtcp2/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------------------------------------------------------|
+ngtcp2: ngtcp2 (quic library)
+ngtcp2:
+ngtcp2: ngtcp2 is a library for QUIC, acting as a companion to nghttp3.
+ngtcp2:
+ngtcp2:
+ngtcp2:
+ngtcp2:
+ngtcp2:
+ngtcp2:
+ngtcp2:
+ngtcp2:
diff --git a/libraries/nini/README b/libraries/nini/README
index cdc50d60ce..d7592843c7 100644
--- a/libraries/nini/README
+++ b/libraries/nini/README
@@ -1,6 +1,7 @@
-Nini is an .NET configuration library which designed to help build highly
-configurable applications quickly. Nini provides a solution that attempts to
-eliminate the above problems. It provides a large feature set that gives you
-functionality that you will use in every phase of your project, from concept
-to mature product. This is accomplished through a simple, yet flexible, API
-that provides an abstraction over the underlying configuration sources.
+Nini is an .NET configuration library which designed to help build
+highly configurable applications quickly. Nini provides a solution
+that attempts to eliminate the above problems. It provides a large
+feature set that gives you functionality that you will use in every
+phase of your project, from concept to mature product. This is
+accomplished through a simple, yet flexible, API that provides an
+abstraction over the underlying configuration sources.
diff --git a/libraries/nini/nini.SlackBuild b/libraries/nini/nini.SlackBuild
index 9835e49867..d65c34d603 100644
--- a/libraries/nini/nini.SlackBuild
+++ b/libraries/nini/nini.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nini
@@ -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=nini
SRCNAM=Nini
VERSION=${VERSION:-1.1.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}
@@ -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/libraries/nlohmann_json/README b/libraries/nlohmann_json/README
new file mode 100644
index 0000000000..7d8f084cf5
--- /dev/null
+++ b/libraries/nlohmann_json/README
@@ -0,0 +1,35 @@
+There are myriads of JSON libraries out there, and each may even have
+its reason to exist. Our class had these design goals:
+
+Intuitive syntax. In languages such as Python, JSON feels like a first
+class data type. We used all the operator magic of modern C++ to achieve
+the same feeling in your code. Check out the examples below and you'll
+know what I mean.
+
+Trivial integration. Our whole code consists of a single header file
+json.hpp. That's it. No library, no subproject, no dependencies, no
+complex build system. The class is written in vanilla C++11. All in all,
+everything should require no adjustment of your compiler flags or
+project settings.
+
+Serious testing. Our class is heavily unit-tested and covers 100% of the
+code, including all exceptional behavior. Furthermore, we checked with
+Valgrind and the Clang Sanitizers that there are no memory leaks. Google
+OSS-Fuzz additionally runs fuzz tests against all parsers 24/7,
+effectively executing billions of tests so far. To maintain high
+quality, the project is following the Core Infrastructure Initiative
+(CII) best practices.
+
+Other aspects were not so important to us:
+
+Memory efficiency. Each JSON object has an overhead of one pointer (the
+maximal size of a union) and one enumeration element (1 byte). The
+default generalization uses the following C++ data types: std::string
+for strings, int64_t, uint64_t or double for numbers, std::map for
+objects, std::vector for arrays, and bool for Booleans. However, you can
+template the generalized class basic_json to your needs.
+
+Speed. There are certainly faster JSON libraries out there. However, if
+your goal is to speed up your development by adding JSON support with a
+single header, then this library is the way to go. If you know how to
+use a std::vector or std::map, you are already set.
diff --git a/libraries/nlohmann_json/nlohmann_json.SlackBuild b/libraries/nlohmann_json/nlohmann_json.SlackBuild
new file mode 100644
index 0000000000..69eb38c5ed
--- /dev/null
+++ b/libraries/nlohmann_json/nlohmann_json.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for nlohmann_json
+
+# Copyright 2022 Steven Voges <svoges.sbo@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)
+
+SRCNAM=json
+PRGNAM=nlohmann_json
+VERSION=${VERSION:-3.11.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+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
+
+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 {} \;
+
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.md LICENSE.MIT \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/nlohmann_json/nlohmann_json.info b/libraries/nlohmann_json/nlohmann_json.info
new file mode 100644
index 0000000000..f1bb1a8786
--- /dev/null
+++ b/libraries/nlohmann_json/nlohmann_json.info
@@ -0,0 +1,10 @@
+PRGNAM="nlohmann_json"
+VERSION="3.11.2"
+HOMEPAGE="https://json.nlohmann.me/"
+DOWNLOAD="https://github.com/nlohmann/json/archive/v3.11.2/json-3.11.2.tar.gz"
+MD5SUM="e8d56bc54621037842ee9f0aeae27746"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/nlohmann_json/patches/1_6cec5aefc97ad219b6fd5a4132f88f7c8f6800ee.patch b/libraries/nlohmann_json/patches/1_6cec5aefc97ad219b6fd5a4132f88f7c8f6800ee.patch
new file mode 100644
index 0000000000..6f133312ee
--- /dev/null
+++ b/libraries/nlohmann_json/patches/1_6cec5aefc97ad219b6fd5a4132f88f7c8f6800ee.patch
@@ -0,0 +1,55 @@
+From 6cec5aefc97ad219b6fd5a4132f88f7c8f6800ee Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyich@gmail.com>
+Date: Wed, 8 Mar 2023 11:31:56 +0000
+Subject: [PATCH] custom allocators: define missing 'rebind' type (#3895)
+
+---
+ tests/src/unit-allocator.cpp | 9 +++++++++
+ tests/src/unit-regression2.cpp | 9 +++++++++
+ 2 files changed, 18 insertions(+)
+
+diff --git a/tests/src/unit-allocator.cpp b/tests/src/unit-allocator.cpp
+index 76e3b03f10..f2e63552a4 100644
+--- a/tests/src/unit-allocator.cpp
++++ b/tests/src/unit-allocator.cpp
+@@ -20,11 +20,20 @@ struct bad_allocator : std::allocator<T>
+ {
+ using std::allocator<T>::allocator;
+
++ bad_allocator() = default;
++ template<class U> bad_allocator(const bad_allocator<U>& /*unused*/) { }
++
+ template<class... Args>
+ void construct(T* /*unused*/, Args&& ... /*unused*/)
+ {
+ throw std::bad_alloc();
+ }
++
++ template <class U>
++ struct rebind
++ {
++ using other = bad_allocator<U>;
++ };
+ };
+ } // namespace
+
+diff --git a/tests/src/unit-regression2.cpp b/tests/src/unit-regression2.cpp
+index 2bb9b32e51..dbafb436ba 100644
+--- a/tests/src/unit-regression2.cpp
++++ b/tests/src/unit-regression2.cpp
+@@ -189,6 +189,15 @@ class my_allocator : public std::allocator<T>
+ {
+ public:
+ using std::allocator<T>::allocator;
++
++ my_allocator() = default;
++ template<class U> my_allocator(const my_allocator<U>& /*unused*/) { }
++
++ template <class U>
++ struct rebind
++ {
++ using other = my_allocator<U>;
++ };
+ };
+
+ /////////////////////////////////////////////////////////////////////
diff --git a/libraries/nlohmann_json/patches/2_660d0b58565073975d6f5d94365d6cbf150a4cf8.patch b/libraries/nlohmann_json/patches/2_660d0b58565073975d6f5d94365d6cbf150a4cf8.patch
new file mode 100644
index 0000000000..d14345f40e
--- /dev/null
+++ b/libraries/nlohmann_json/patches/2_660d0b58565073975d6f5d94365d6cbf150a4cf8.patch
@@ -0,0 +1,24 @@
+From 660d0b58565073975d6f5d94365d6cbf150a4cf8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
+Date: Sun, 5 Mar 2023 14:11:22 +0100
+Subject: [PATCH] tests/unit-iterators2: use std::ranges::equals for range
+ comparisons (#3950)
+
+Closes https://github.com/nlohmann/json/issues/3927
+---
+ tests/src/unit-iterators2.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/src/unit-iterators2.cpp b/tests/src/unit-iterators2.cpp
+index 27926084c7..72a5d9dc5c 100644
+--- a/tests/src/unit-iterators2.cpp
++++ b/tests/src/unit-iterators2.cpp
+@@ -943,7 +943,7 @@ TEST_CASE("iterators 2")
+ json j_expected{5, 4, 3, 2, 1};
+
+ auto reversed = j | std::views::reverse;
+- CHECK(reversed == j_expected);
++ CHECK(std::ranges::equal(reversed, j_expected));
+ }
+
+ SECTION("transform")
diff --git a/libraries/nlohmann_json/slack-desc b/libraries/nlohmann_json/slack-desc
new file mode 100644
index 0000000000..e5e154737d
--- /dev/null
+++ b/libraries/nlohmann_json/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------------------------------------------------------|
+nlohmann_json: nlohmann_json (JSON for Modern C++)
+nlohmann_json:
+nlohmann_json: nlohmann_json is a JSON library for modern C++ and was designed with
+nlohmann_json: three goals in mind: Intuitive syntax, Trivial integration, and
+nlohmann_json: Serious testing.
+nlohmann_json:
+nlohmann_json:
+nlohmann_json:
+nlohmann_json:
+nlohmann_json:
+nlohmann_json:
diff --git a/libraries/nlopt/nlopt.SlackBuild b/libraries/nlopt/nlopt.SlackBuild
index 49e8b6c740..94145c83b8 100644
--- a/libraries/nlopt/nlopt.SlackBuild
+++ b/libraries/nlopt/nlopt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nlopt
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - gzip man pages.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nlopt
-VERSION=${VERSION:-2.4.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.7.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -65,37 +75,31 @@ 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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ -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 build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib$LIBDIRSUFFIX \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+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
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS README* NEWS* COPY* $PKG/usr/doc/$PRGNAM-$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/libraries/nlopt/nlopt.info b/libraries/nlopt/nlopt.info
index 3c084f48e8..b183a8208b 100644
--- a/libraries/nlopt/nlopt.info
+++ b/libraries/nlopt/nlopt.info
@@ -1,8 +1,8 @@
PRGNAM="nlopt"
-VERSION="2.4.2"
+VERSION="2.7.1"
HOMEPAGE="https://nlopt.readthedocs.io/en/latest/"
-DOWNLOAD="https://github.com/stevengj/nlopt/releases/download/nlopt-2.4.2/nlopt-2.4.2.tar.gz"
-MD5SUM="d0b8f139a4acf29b76dbae69ade8ac54"
+DOWNLOAD="https://github.com/stevengj/nlopt/archive/v2.7.1/nlopt-2.7.1.tar.gz"
+MD5SUM="ed1a3000a1c8c248d51df126dfcfaa78"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/nltk/README b/libraries/nltk/README
deleted file mode 100644
index e47befeee7..0000000000
--- a/libraries/nltk/README
+++ /dev/null
@@ -1,12 +0,0 @@
-Open source Python modules, linguistic data and documentation for research and
-development in natural language processing, supporting dozens of NLP tasks,
-with distributions for Windows, Mac OSX and Linux.
-
-This SlackBuild will create a package with the python2 version and the python3
-version if python3 is installed on the machine.
-
-NLTK comes with many corpora, toy grammars, trained models, etc. A complete
-list is posted at: http://nltk.org/nltk_data/. To retrieve all the data, use
-"python -m nltk.downloader all". To ensure system wideinstallation, you can
-run the command "python -m nltk.downloader -d /usr/share/nltk_data all" as
-root.
diff --git a/libraries/nltk/nltk.SlackBuild b/libraries/nltk/nltk.SlackBuild
deleted file mode 100644
index 33f1da43e9..0000000000
--- a/libraries/nltk/nltk.SlackBuild
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for nltk.
-#
-# Copyright 2009-2011 Marco Bonetti <sid77@slackware.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.
-
-PRGNAM=nltk
-VERSION=${VERSION:-3.4.5}
-SRCVER=$VERSION
-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="LICENSE.txt PKG-INFO INSTALL.txt README.md"
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$SRCVER
-unzip $CWD/$PRGNAM-$VERSION.zip
-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-python2 setup.py install --root=$PKG
-
-if $(command -v python3 &>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
-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 $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/libraries/nltk/nltk.info b/libraries/nltk/nltk.info
deleted file mode 100644
index 7803ae1e10..0000000000
--- a/libraries/nltk/nltk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="nltk"
-VERSION="3.4.5"
-HOMEPAGE="http://www.nltk.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/f6/1d/d925cfb4f324ede997f6d47bea4d9babba51b49e87a767c170b77005889d/nltk-3.4.5.zip"
-MD5SUM="26bbf73e822136df16d7e9ce38120bd0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="ArTourter"
-EMAIL="artourter@gmail.com"
diff --git a/libraries/nltk/slack-desc b/libraries/nltk/slack-desc
deleted file mode 100644
index 06e2f0f126..0000000000
--- a/libraries/nltk/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------------------------------------------------------|
-nltk: nltk (Natural Language ToolKit)
-nltk:
-nltk: Open source Python modules, linguistic data and documentation for
-nltk: research and development in natural language processing, supporting
-nltk: dozens of NLP tasks, with distributions for Windows, Mac OSX and
-nltk: Linux.
-nltk:
-nltk:
-nltk:
-nltk:
-nltk:
diff --git a/libraries/nng/README b/libraries/nng/README
new file mode 100644
index 0000000000..c3fd2a803a
--- /dev/null
+++ b/libraries/nng/README
@@ -0,0 +1,7 @@
+NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a
+lightweight, broker-less library, offering a simple API to solve
+common recurring messaging problems, such as publish/subscribe,
+RPC-style request/reply, or service discovery.
+The API frees the programmer from worrying about details like
+connection management, retries, and other common considerations, so
+that they can focus on the application instead of the plumbing.
diff --git a/libraries/nng/nng.SlackBuild b/libraries/nng/nng.SlackBuild
new file mode 100644
index 0000000000..b85000e4b5
--- /dev/null
+++ b/libraries/nng/nng.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for nng
+
+# 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=nng
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip 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 \
+ CODE_OF_CONDUCT.adoc LICENSE.txt README.adoc RELEASE_NOTES.adoc UKRAINE.adoc \
+ $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/libraries/nng/nng.info b/libraries/nng/nng.info
new file mode 100644
index 0000000000..c29dc48122
--- /dev/null
+++ b/libraries/nng/nng.info
@@ -0,0 +1,10 @@
+PRGNAM="nng"
+VERSION="1.6.0"
+HOMEPAGE="https://nng.nanomsg.org/"
+DOWNLOAD="https://github.com/nanomsg/nng/archive/v1.6.0/nng-v1.6.0.tar.gz"
+MD5SUM="1af544f3cc51c0d240e3dcd329333264"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Andrea Sacchetti Picchio"
+EMAIL="andrea dot sacchettipicchio at gmail dot com"
diff --git a/libraries/nng/slack-desc b/libraries/nng/slack-desc
new file mode 100644
index 0000000000..e6e0fb6522
--- /dev/null
+++ b/libraries/nng/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------------------------------------------------------|
+nng: nng (Lightweight Messaging Library)
+nng:
+nng: NNG offering a simple API to solve common recurring messaging
+nng: problems, such as publish/subscribe, RPC-style request/reply,
+nng: or service discovery.
+nng:
+nng:
+nng:
+nng:
+nng: Homepage: https://nng.nanomsg.org/
+nng:
diff --git a/libraries/node-xoauth2/node-xoauth2.SlackBuild b/libraries/node-xoauth2/node-xoauth2.SlackBuild
index 56baf49509..589e7268aa 100644
--- a/libraries/node-xoauth2/node-xoauth2.SlackBuild
+++ b/libraries/node-xoauth2/node-xoauth2.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for node-xoauth2
# Copyright 2017 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=node-xoauth2
VERSION=${VERSION:-1.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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}
@@ -58,10 +66,6 @@ cd $TMP
DESTDIR=$PKG npm install --production -g $CWD/xoauth2-$VERSION.tar.gz
-if [ "$LIBDIRSUFFIX" != "" ] ; then
- mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
-fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
(
cd $PKG/usr/doc/$PRGNAM-$VERSION
@@ -75,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/libraries/npth/README b/libraries/npth/README
deleted file mode 100644
index b89f596996..0000000000
--- a/libraries/npth/README
+++ /dev/null
@@ -1,11 +0,0 @@
-npth (New GNU Portable Threads Library)
-
-nPth is a library to provide the GNU Pth API and thus a non-preemptive
-threads implementation.
-
-In contrast to GNU Pth is is based on the system's standard threads
-implementation. This allows the use of libraries which are not compatible
-to GNU Pth. Experience with a Windows Pth emulation showed that this
-is a solid way to provide a co-routine based framework.
-
-This library is required to compile GnuPG 2.1.
diff --git a/libraries/npth/npth.SlackBuild b/libraries/npth/npth.SlackBuild
deleted file mode 100644
index 570dd8e992..0000000000
--- a/libraries/npth/npth.SlackBuild
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for nPth
-
-# Copyright 2016 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.
-
-PRGNAM=npth
-VERSION=${VERSION:-1.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.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-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.LIB ChangeLog HACKING INSTALL NEWS README 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}
diff --git a/libraries/npth/npth.info b/libraries/npth/npth.info
deleted file mode 100644
index 61f97c00b1..0000000000
--- a/libraries/npth/npth.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="npth"
-VERSION="1.6"
-HOMEPAGE="https://www.gnupg.org/related_software/npth/index.html"
-DOWNLOAD="https://www.gnupg.org/ftp/gcrypt/npth/npth-1.6.tar.bz2"
-MD5SUM="375d1a15ad969f32d25f1a7630929854"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="pyllyukko"
-EMAIL="pyllyukko AT maimed dot org"
diff --git a/libraries/npth/slack-desc b/libraries/npth/slack-desc
deleted file mode 100644
index fa1c3c2ab7..0000000000
--- a/libraries/npth/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------------------------------------------------------|
-npth: npth (New GNU Portable Threads Library)
-npth:
-npth: nPth is a library to provide the GNU Pth API and thus a non-preemptive
-npth: threads implementation.
-npth:
-npth: In contrast to GNU Pth is is based on the system's standard threads
-npth: implementation. This allows the use of libraries which are not
-npth: compatible to GNU Pth. Experience with a Windows Pth emulation showed
-npth: that this is a solid way to provide a co-routine based framework.
-npth:
-npth: Homepage: https://www.gnupg.org/related_software/npth/index.html
diff --git a/libraries/nspluginwrapper/nspluginwrapper.SlackBuild b/libraries/nspluginwrapper/nspluginwrapper.SlackBuild
index 1704b4babd..748096c628 100644
--- a/libraries/nspluginwrapper/nspluginwrapper.SlackBuild
+++ b/libraries/nspluginwrapper/nspluginwrapper.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nspluginwrapper
@@ -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=nspluginwrapper
VERSION=${VERSION:-git20130818}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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,12 +97,15 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog.pre-1-4 NEWS README TODO $CWD/README.midori \
+ COPYING ChangeLog.pre-1-4 NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/README.midori > $PKG/usr/doc/$PRGNAM-$VERSION/README.midori
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/libraries/nspluginwrapper/nspluginwrapper.info b/libraries/nspluginwrapper/nspluginwrapper.info
index 327cc326c8..23a0cf3b77 100644
--- a/libraries/nspluginwrapper/nspluginwrapper.info
+++ b/libraries/nspluginwrapper/nspluginwrapper.info
@@ -6,5 +6,5 @@ MD5SUM="6e5fb53d69e0cac29bbd947792227641"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/libraries/ntl/ntl.SlackBuild b/libraries/ntl/ntl.SlackBuild
index d28eea9a45..a5e9f74db7 100644
--- a/libraries/ntl/ntl.SlackBuild
+++ b/libraries/ntl/ntl.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ntl
-# Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2021 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=ntl
-VERSION=${VERSION:-11.4.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-11.5.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}
@@ -89,8 +99,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mv $PKG/usr/doc/NTL $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/libraries/ntl/ntl.info b/libraries/ntl/ntl.info
index 8f0041d26b..b0bf5c5281 100644
--- a/libraries/ntl/ntl.info
+++ b/libraries/ntl/ntl.info
@@ -1,8 +1,8 @@
PRGNAM="ntl"
-VERSION="11.4.3"
+VERSION="11.5.1"
HOMEPAGE="http://www.shoup.net/ntl/"
-DOWNLOAD="http://www.shoup.net/ntl/ntl-11.4.3.tar.gz"
-MD5SUM="536b72b7ba5b0075fb137137c00e5773"
+DOWNLOAD="http://www.shoup.net/ntl/ntl-11.5.1.tar.gz"
+MD5SUM="abd887865df30c02609210a86cb953b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gf2x"
diff --git a/libraries/nv-codec-headers/README b/libraries/nv-codec-headers/README
deleted file mode 100644
index e2f3d1ece6..0000000000
--- a/libraries/nv-codec-headers/README
+++ /dev/null
@@ -1,18 +0,0 @@
-The FFmpeg version of Nvidia Codec SDK headers which are required
-to interface with Nvidia's codec APIs. The purpose of these
-headers is to allow hardware (GPU) encoding with suitable NVidia
-cards. This version corresponds to Video Codec SDK version 9.1.23
-and requires NVidia drivers version 435.21 or newer.
-
-There are 3 stages in the history of NVidia GPU encoding with FFmpeg:
-
- 1. Pre August 27th 2016 it was necessary to track down your own
- headers to build nvenc.
- 2. Post August 27th 2016 the required headers were incorporated
- as part of the FFmpeg source.
- 3. Post February 26th 2018 the NVidia headers were removed from
- the FFmpeg source and a separate git repository was created
- to hold continuing work with these headers.
-
-This nv-codec-headers script is for point 3 where the headers will
-need to be installed before compiling a recent FFmpeg.
diff --git a/libraries/nv-codec-headers/nv-codec-headers.SlackBuild b/libraries/nv-codec-headers/nv-codec-headers.SlackBuild
deleted file mode 100644
index 7eb8360f4b..0000000000
--- a/libraries/nv-codec-headers/nv-codec-headers.SlackBuild
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for nv-codec-headers
-
-# Copyright 2018-2020, Andrew Strong, Blue Mountains, 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.
-
-PRGNAM=nv-codec-headers
-# Note that the version number is contained
-# within the file ffnvcodec.pc.in:
-VERSION=${VERSION:-9.1.23.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
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $PKG
-cd $TMP
-rm -rf $PRGNAM
-
-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 .
-
-make PREFIX=/usr LIBDIR=lib${LIBDIRSUFFIX}
-make PREFIX=/usr LIBDIR=lib${LIBDIRSUFFIX} install DESTDIR=$PKG
-
-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
-
-mkdir -p $PKG/install
-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/libraries/nv-codec-headers/nv-codec-headers.info b/libraries/nv-codec-headers/nv-codec-headers.info
deleted file mode 100644
index 225116e308..0000000000
--- a/libraries/nv-codec-headers/nv-codec-headers.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="nv-codec-headers"
-VERSION="9.1.23.2"
-HOMEPAGE="http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary"
-DOWNLOAD="http://www.andrews-corner.org/downloads/nv-codec-headers-9.1.23.2.tar.gz"
-MD5SUM="9be5b7eda70e2da532e38a989db1131e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.strong@gmail.com" \ No newline at end of file
diff --git a/libraries/nv-codec-headers/slack-desc b/libraries/nv-codec-headers/slack-desc
deleted file mode 100644
index 0c45ab1180..0000000000
--- a/libraries/nv-codec-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------------------------------------------------------|
-nv-codec-headers: nv-codec-headers (FFmpeg version of Nvidia Codec SDK headers)
-nv-codec-headers:
-nv-codec-headers: FFmpeg version of headers required to interface with Nvidia's
-nv-codec-headers: codec APIs. Corresponds to Video Codec SDK version 9.1.23.
-nv-codec-headers:
-nv-codec-headers: http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git;a=summary
-nv-codec-headers:
-nv-codec-headers:
-nv-codec-headers:
-nv-codec-headers:
-nv-codec-headers:
diff --git a/libraries/nx-libs/nx-libs.SlackBuild b/libraries/nx-libs/nx-libs.SlackBuild
index 78f38de601..9a97d06a8a 100644
--- a/libraries/nx-libs/nx-libs.SlackBuild
+++ b/libraries/nx-libs/nx-libs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nx-libs
@@ -23,12 +23,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220215 bkw: Modified by SlackBuilds.org:
+# - added -j1 to the make commands. parallel builds are broken. they
+# may occasionally work, but it's unreliable.
+# Note: there are other issues with this script:
+# ! SLKCFLAGS are never used.
+# ! -Werror is included in the flags that do get used, meaning this
+# will break in the future when Slackware's gcc gets upgraded.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nx-libs
-VERSION=${VERSION:-3.5.99.20_1}
+VERSION=${VERSION:-3.5.99.27}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCVERSION=$(echo $VERSION | tr _ - )
+SRCVERSION=$(echo $VERSION | tr - _ )
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,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}
@@ -63,7 +81,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION-full.tar.gz
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.?z
cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
@@ -73,9 +91,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix man install dir
-sed -i "s|share/man|man|g" Makefile
+sed -i "s|share/man|man|g" Makefile || exit 1
-make CONFIGURE="./configure --libdir=/usr/lib${LIBDIRSUFFIX} --prefix=/usr --mandir=/usr/man" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make -j1 CONFIGURE="./configure --libdir=/usr/lib${LIBDIRSUFFIX} --prefix=/usr --mandir=/usr/man" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} IMAKE_DEFINES="-DUseTIRPC=YES"
make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
@@ -87,11 +105,16 @@ chmod 0755 $PKG/usr/lib${LIBDIRSUFFIX}/lib*.so*
find $PKG -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
+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/libraries/nx-libs/nx-libs.info b/libraries/nx-libs/nx-libs.info
index 40682b6b44..71d383bb48 100644
--- a/libraries/nx-libs/nx-libs.info
+++ b/libraries/nx-libs/nx-libs.info
@@ -1,8 +1,8 @@
PRGNAM="nx-libs"
-VERSION="3.5.99.20_1"
+VERSION="3.5.99.27"
HOMEPAGE="http://www.x2go.org"
-DOWNLOAD="https://code.x2go.org/releases/source/nx-libs/nx-libs-3.5.99.20-1-full.tar.gz"
-MD5SUM="15ab120295db892369cf9eb90f650006"
+DOWNLOAD="https://github.com/ArcticaProject/nx-libs/archive/3.5.99.27/nx-libs-3.5.99.27.tar.gz"
+MD5SUM="f4b73c5e904a14388916d153effb6f69"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/oath-toolkit/oath-toolkit-gcc.patch b/libraries/oath-toolkit/oath-toolkit-gcc.patch
deleted file mode 100644
index 3c52d7cde5..0000000000
--- a/libraries/oath-toolkit/oath-toolkit-gcc.patch
+++ /dev/null
@@ -1,68 +0,0 @@
---- oath-toolkit-2.6.2/libpskc/gl/intprops.h.orig 2017-07-05 00:14:44.595175474 +0700
-+++ oath-toolkit-2.6.2/libpskc/gl/intprops.h 2017-07-05 00:16:26.580176632 +0700
-@@ -230,11 +230,11 @@
- (e.g., A and B) have the same type as MIN and MAX. Instead, they assume
- that the result (e.g., A + B) has that type. */
- #if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
--# define _GL_ADD_OVERFLOW(a, b, min, max)
-+# define _GL_ADD_OVERFLOW(a, b, min, max) \
- __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
--# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
-+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
- __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
--# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
-+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
- __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
- #else
- # define _GL_ADD_OVERFLOW(a, b, min, max) \
---- oath-toolkit-2.6.2/oathtool/gl/intprops.h.orig 2017-07-05 00:16:45.637176849 +0700
-+++ oath-toolkit-2.6.2/oathtool/gl/intprops.h 2017-07-05 00:21:02.898179771 +0700
-@@ -230,11 +230,11 @@
- (e.g., A and B) have the same type as MIN and MAX. Instead, they assume
- that the result (e.g., A + B) has that type. */
- #if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
--# define _GL_ADD_OVERFLOW(a, b, min, max)
-+# define _GL_ADD_OVERFLOW(a, b, min, max) \
- __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
--# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
-+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
- __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
--# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
-+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
- __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
- #else
- # define _GL_ADD_OVERFLOW(a, b, min, max) \
---- oath-toolkit-2.6.2/pskctool/gl/intprops.h.orig 2017-07-05 00:21:45.109180251 +0700
-+++ oath-toolkit-2.6.2/pskctool/gl/intprops.h 2017-07-05 00:22:06.895180498 +0700
-@@ -230,11 +230,11 @@
- (e.g., A and B) have the same type as MIN and MAX. Instead, they assume
- that the result (e.g., A + B) has that type. */
- #if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
--# define _GL_ADD_OVERFLOW(a, b, min, max)
-+# define _GL_ADD_OVERFLOW(a, b, min, max) \
- __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
--# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
-+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
- __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
--# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
-+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
- __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
- #else
- # define _GL_ADD_OVERFLOW(a, b, min, max) \
---- oath-toolkit-2.6.2/liboath/gl/tests/intprops.h.orig 2017-07-05 00:22:52.355181015 +0700
-+++ oath-toolkit-2.6.2/liboath/gl/tests/intprops.h 2017-07-05 00:23:18.133181307 +0700
-@@ -230,11 +230,11 @@
- (e.g., A and B) have the same type as MIN and MAX. Instead, they assume
- that the result (e.g., A + B) has that type. */
- #if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
--# define _GL_ADD_OVERFLOW(a, b, min, max)
-+# define _GL_ADD_OVERFLOW(a, b, min, max) \
- __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
--# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
-+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
- __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
--# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
-+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
- __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
- #else
- # define _GL_ADD_OVERFLOW(a, b, min, max) \
diff --git a/libraries/oath-toolkit/oath-toolkit.SlackBuild b/libraries/oath-toolkit/oath-toolkit.SlackBuild
index a7a678abaf..04beca56ca 100644
--- a/libraries/oath-toolkit/oath-toolkit.SlackBuild
+++ b/libraries/oath-toolkit/oath-toolkit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for oath-toolkit
-# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-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=oath-toolkit
-VERSION=${VERSION:-2.6.2}
+VERSION=${VERSION:-2.6.11}
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}
@@ -69,8 +76,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/oath-toolkit-gcc.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
- --disable-pam \
+ --enable-pam \
--build=$ARCH-slackware-linux
make
@@ -94,11 +99,13 @@ 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 HACKING INSTALL NEWS README $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
+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/libraries/oath-toolkit/oath-toolkit.info b/libraries/oath-toolkit/oath-toolkit.info
index 4559352194..052fc72596 100644
--- a/libraries/oath-toolkit/oath-toolkit.info
+++ b/libraries/oath-toolkit/oath-toolkit.info
@@ -1,8 +1,8 @@
PRGNAM="oath-toolkit"
-VERSION="2.6.2"
+VERSION="2.6.11"
HOMEPAGE="http://www.nongnu.org/oath-toolkit/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-2.6.2.tar.gz"
-MD5SUM="4a05cd4768764843bd5493609a6bdb17"
+DOWNLOAD="http://download.savannah.gnu.org/releases/oath-toolkit/oath-toolkit-2.6.11.tar.gz"
+MD5SUM="b92b30d9b74615ebd4775aa81dfc51a7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xmlsec"
diff --git a/libraries/ocaml-batteries/README b/libraries/ocaml-batteries/README
index 386903cbd2..3ccbe54d6a 100644
--- a/libraries/ocaml-batteries/README
+++ b/libraries/ocaml-batteries/README
@@ -1,4 +1,5 @@
-OCaml Batteries included (or simply "Batteries") is a community-driven effort
-to standardize on an consistent, documented, and comprehensive development
-platform for the OCaml programming language, inspired in part by what modern
-industrial languages (Java/.Net) manage to provide out-of-the-box.
+OCaml Batteries included (or simply "Batteries") is a community-driven
+effort to standardize on an consistent, documented, and comprehensive
+development platform for the OCaml programming language, inspired in
+part by what modern industrial languages (Java/.Net) manage to provide
+out-of-the-box.
diff --git a/libraries/ocaml-batteries/ocaml-batteries.SlackBuild b/libraries/ocaml-batteries/ocaml-batteries.SlackBuild
index eef375354e..b2fe0c19ff 100644
--- a/libraries/ocaml-batteries/ocaml-batteries.SlackBuild
+++ b/libraries/ocaml-batteries/ocaml-batteries.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2012 Jockey S. Kyd, Shanghai, CHN
# All rights reserved.
@@ -20,28 +20,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=ocaml-batteries
-VERSION=${VERSION:-2.5.0}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=batteries
+SRCNAM=batteries-included
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/libraries/ocaml-batteries/ocaml-batteries.info b/libraries/ocaml-batteries/ocaml-batteries.info
index 7dd16c49f4..1782cfb6ea 100644
--- a/libraries/ocaml-batteries/ocaml-batteries.info
+++ b/libraries/ocaml-batteries/ocaml-batteries.info
@@ -1,10 +1,10 @@
PRGNAM="ocaml-batteries"
-VERSION="2.5.0"
+VERSION="3.4.0"
HOMEPAGE="http://batteries.forge.ocamlcore.org/"
-DOWNLOAD="https://forge.ocamlcore.org/frs/download.php/1611/batteries-2.5.0.tar.gz"
-MD5SUM="8eac258d184e12f2c224249968cedcc0"
+DOWNLOAD="https://github.com/ocaml-batteries-team/batteries-included/archive/v3.4.0/batteries-included-3.4.0.tar.gz"
+MD5SUM="66b6e0b25769fc2363972c6a6ab6ac33"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ocaml-camomile ocaml-findlib"
+REQUIRES="ocaml-num ocamlbuild"
MAINTAINER="Jockey S. Kyd"
EMAIL="jockey.kyd@gmail.com"
diff --git a/libraries/ocaml-bisect/README b/libraries/ocaml-bisect/README
deleted file mode 100644
index b335a6b5a4..0000000000
--- a/libraries/ocaml-bisect/README
+++ /dev/null
@@ -1 +0,0 @@
-Bisect is a code coverage tool for the OCaml language.
diff --git a/libraries/ocaml-bisect/ocaml-bisect.SlackBuild b/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
deleted file mode 100644
index 9faa16f36d..0000000000
--- a/libraries/ocaml-bisect/ocaml-bisect.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ocaml-bisect
-
-# Copyright 2013-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=ocaml-bisect
-VERSION=${VERSION:-1.3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=bisect
-
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure
-make all
-make doc
-
-OCAMLFIND_DESTDIR="$PKG/$(ocamlfind printconf destdir)"
-sed "s|PATH_INSTALL=|PATH_INSTALL=$PKG/|" -i Makefile
-sed "s|\\\$(PATH_OCAML_PREFIX)/bin/bisect|${PKG}/&|" -i Makefile
-mkdir -p "${OCAMLFIND_DESTDIR}"
-mkdir -p $PKG/usr/bin
-OCAMLFIND_DESTDIR="${OCAMLFIND_DESTDIR}" DESTDIR="$PKG" PREFIX="/usr" make install || return 1
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES COPYING FEATURES INSTALL README VERSION doc/bisect.pdf \
- $PKG/usr/doc/$PRGNAM-$VERSION
-
-find $PKG -print0 | xargs -0 file \
- | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null \
- || true
-
-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/libraries/ocaml-bisect/ocaml-bisect.info b/libraries/ocaml-bisect/ocaml-bisect.info
deleted file mode 100644
index 4fecc027c3..0000000000
--- a/libraries/ocaml-bisect/ocaml-bisect.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ocaml-bisect"
-VERSION="1.3"
-HOMEPAGE="http://bisect.x9c.fr/"
-DOWNLOAD="https://forge.ocamlcore.org/frs/download.php/1051/bisect-1.3.tar.gz"
-MD5SUM="d35b0edd82a144edb3532755ca664973"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="camlp4 ocaml-findlib"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/ocaml-bisect/slack-desc b/libraries/ocaml-bisect/slack-desc
deleted file mode 100644
index 6429bce573..0000000000
--- a/libraries/ocaml-bisect/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------------------------------------------------------|
-ocaml-bisect: ocaml-bisect (Code Coverage Tool)
-ocaml-bisect:
-ocaml-bisect: Bisect is a code coverage tool for the OCaml language.
-ocaml-bisect:
-ocaml-bisect:
-ocaml-bisect: Project URL: http://bisect.x9c.fr/
-ocaml-bisect:
-ocaml-bisect:
-ocaml-bisect:
-ocaml-bisect:
-ocaml-bisect:
diff --git a/libraries/ocaml-camomile/README b/libraries/ocaml-camomile/README
index 6ffc1186b8..776d24470e 100644
--- a/libraries/ocaml-camomile/README
+++ b/libraries/ocaml-camomile/README
@@ -1,4 +1,5 @@
-Camomile is a Unicode library for Objective Caml language. Camomile provides
-Unicode character type, UTF-8, UTF-16, UTF-32 strings, conversion to/from
-about 200 encodings, collation and locale-sensitive case mappings, and more.
-The library is currently designed for Unicode Standard 3.2.
+Camomile is a Unicode library for Objective Caml language. Camomile
+provides Unicode character type, UTF-8, UTF-16, UTF-32 strings,
+conversion to/from about 200 encodings, collation and locale-sensitive
+case mappings, and more. The library is currently designed for
+Unicode Standard 3.2.
diff --git a/libraries/ocaml-camomile/ocaml-camomile.SlackBuild b/libraries/ocaml-camomile/ocaml-camomile.SlackBuild
index 1acdb0ba15..96e9b92d1f 100644
--- a/libraries/ocaml-camomile/ocaml-camomile.SlackBuild
+++ b/libraries/ocaml-camomile/ocaml-camomile.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2012 Jockey S. Kyd, Shanghai, CHN
# All rights reserved.
@@ -20,28 +20,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=ocaml-camomile
-VERSION=${VERSION:-0.8.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.0.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=camomile
+SRCNAM=Camomile
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,7 +69,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -68,39 +78,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 {} \;
-# Install missing library, thanks debian
-patch -p1 < $CWD/0002-Install-missing-camomileLibrary.a.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure --prefix=/usr
-
-# add DESTDIR for `install-data'
-sed -i 's|^prefix=\(.*\)$|prefix=$(DESTDIR)\1|' Makefile
-
-# for `install-without-ocamlfind'
-sed -i 's|^OCAMLLIB = \(.*\)$|OCAMLLIB = $(DESTDIR)\1|' Makefile
-
-# for `install-with-ocamlfind'
-long='$(DESTDIR)/$$(ocamlfind printconf destdir)'
-sed -i "s|\\(ocamlfind install\\)| mkdir -p $long; \\1 -destdir $long |" Makefile
-
-make -j1
-make install DESTDIR=$PKG
+ocaml configure.ml
+dune build -p camomile @install
+DESTDIR=$PKG dune install --prefix=/usr --libdir="$(ocamlfind printconf destdir)"
-find $PKG -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 -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 Changes README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/doc/camomile $PKG/usr/doc/$PRGNAM-$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/libraries/ocaml-camomile/ocaml-camomile.info b/libraries/ocaml-camomile/ocaml-camomile.info
index 5706af8a10..7f6c089664 100644
--- a/libraries/ocaml-camomile/ocaml-camomile.info
+++ b/libraries/ocaml-camomile/ocaml-camomile.info
@@ -1,10 +1,10 @@
PRGNAM="ocaml-camomile"
-VERSION="0.8.5"
+VERSION="1.0.2"
HOMEPAGE="http://camomile.sourceforge.net/"
-DOWNLOAD="https://github.com/yoriyuki/Camomile/releases/download/rel-0.8.5/camomile-0.8.5.tar.bz2"
-MD5SUM="1e25b6cd4efd26ab38a667db18d83f02"
+DOWNLOAD="https://github.com/yoriyuki/Camomile/archive/1.0.2/Camomile-1.0.2.tar.gz"
+MD5SUM="2ec60575e485b0b92f821949a81acb4d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="camlp4"
+REQUIRES="dune ocaml-findlib"
MAINTAINER="Jockey S. Kyd"
EMAIL="jockey.kyd@gmail.com"
diff --git a/libraries/ocaml-findlib/README b/libraries/ocaml-findlib/README
index 08e02dbc0c..1dfa648846 100644
--- a/libraries/ocaml-findlib/README
+++ b/libraries/ocaml-findlib/README
@@ -1,4 +1,5 @@
-Findlib is a library manager for Objective Caml. It provides a convention how
-to store libraries, and a file format ("META") to describe the properties of
-libraries. There is also a tool (ocamlfind) for interpreting the META files,
-so that it is very easy to use libraries in programs and scripts.
+Findlib is a library manager for Objective Caml. It provides a
+convention how to store libraries, and a file format ("META") to
+describe the properties of libraries. There is also a tool (ocamlfind)
+for interpreting the META files, so that it is very easy to use
+libraries in programs and scripts.
diff --git a/libraries/ocaml-findlib/doinst.sh b/libraries/ocaml-findlib/doinst.sh
index 842fcab2f7..fcce56473e 100644
--- a/libraries/ocaml-findlib/doinst.sh
+++ b/libraries/ocaml-findlib/doinst.sh
@@ -1,14 +1,14 @@
-#!/bin/sh
config() {
- old="$1"
- new="$old.new"
- if [ ! -r $old ]; then
- mv $new $old
- elif [ "$(cat $old | md5sum)" = "$(cat $new | md5sum)" ]; then
- rm $new
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
fi
}
-config etc/findlib.conf
+config etc/findlib.conf.new
destdir=$(chroot . /usr/bin/ocamlfind printconf destdir)/stublibs
ldconf=$(chroot . /usr/bin/ocamlfind printconf ldconf)
diff --git a/libraries/ocaml-findlib/ocaml-findlib.SlackBuild b/libraries/ocaml-findlib/ocaml-findlib.SlackBuild
index 489b2d1d52..3a8c7852a8 100644
--- a/libraries/ocaml-findlib/ocaml-findlib.SlackBuild
+++ b/libraries/ocaml-findlib/ocaml-findlib.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2011 - 2014 Jockey S. Kyd, Shanghai, CHN
# 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
@@ -21,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=ocaml-findlib
-VERSION=${VERSION:-1.6.2}
+VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=findlib
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"
@@ -99,9 +110,11 @@ cp -a doc/guide-html doc/ref-html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -name TIMESTAMP -exec rm -f {} \;
+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 -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/libraries/ocaml-findlib/ocaml-findlib.info b/libraries/ocaml-findlib/ocaml-findlib.info
index 63828cfae9..99c524f386 100644
--- a/libraries/ocaml-findlib/ocaml-findlib.info
+++ b/libraries/ocaml-findlib/ocaml-findlib.info
@@ -1,10 +1,10 @@
PRGNAM="ocaml-findlib"
-VERSION="1.6.2"
+VERSION="1.9.1"
HOMEPAGE="http://projects.camlcity.org/projects/findlib.html"
-DOWNLOAD="http://download.camlcity.org/download/findlib-1.6.2.tar.gz"
-MD5SUM="530ff275d6b96e140f0d3a03ed14b68e"
+DOWNLOAD="http://download.camlcity.org/download/findlib-1.9.1.tar.gz"
+MD5SUM="65e6dc9b305ccbed1267275fe180f538"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml"
-MAINTAINER="Markus Hutmacher"
-EMAIL="mailing@markhu.de"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/ocaml-ounit/README b/libraries/ocaml-ounit/README
deleted file mode 100644
index 36d12aeb25..0000000000
--- a/libraries/ocaml-ounit/README
+++ /dev/null
@@ -1,3 +0,0 @@
-OUnit is a unit test framework for OCaml. It allows one to easily create
-unit-tests for OCaml code. It is based on HUnit, a unit testing framework
-for Haskell. It is similar to JUnit, and other XUnit testing frameworks.
diff --git a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild b/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
deleted file mode 100644
index c01758d0c9..0000000000
--- a/libraries/ocaml-ounit/ocaml-ounit.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Copyright 2012 - 2014 Jockey S. Kyd, Shanghai, CHN
-# Copyright 2014 Markus Hutmacher <mailing@markhu.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=ocaml-ounit
-VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=ounit
-
-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
-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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-ocaml setup.ml -configure
-ocaml setup.ml -build
-
-# it seems `--destdir' isn't respected, hence work around a bit
-long=$PKG/$(ocamlfind printconf destdir)
-mkdir -p $long
-sed -i "s|\"install\"|\"install -destdir $long\"|" setup.ml
-ocaml setup.ml -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 changelog doc/manual.txt 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/libraries/ocaml-ounit/ocaml-ounit.info b/libraries/ocaml-ounit/ocaml-ounit.info
deleted file mode 100644
index b7013e6cb3..0000000000
--- a/libraries/ocaml-ounit/ocaml-ounit.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ocaml-ounit"
-VERSION="2.0.0"
-HOMEPAGE="http://ounit.forge.ocamlcore.org/"
-DOWNLOAD="http://forge.ocamlcore.org/frs/download.php/1258/ounit-2.0.0.tar.gz"
-MD5SUM="2e0a24648c55005978d4923eb4925b28"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ocamlbuild ocaml-findlib"
-MAINTAINER="Markus Hutmacher"
-EMAIL="mailing@markhu.de"
diff --git a/libraries/ocaml-ounit/slack-desc b/libraries/ocaml-ounit/slack-desc
deleted file mode 100644
index e9826f6478..0000000000
--- a/libraries/ocaml-ounit/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------------------------------------------------------|
-ocaml-ounit: ocaml-ounit (Unit tests for OCaml)
-ocaml-ounit:
-ocaml-ounit: OUnit is a unit test framework for OCaml. It allows one to easily
-ocaml-ounit: create unit-tests for OCaml code. It is based on HUnit, a unit
-ocaml-ounit: testing framework for Haskell. It is similar to JUnit, and other
-ocaml-ounit: XUnit testing frameworks.
-ocaml-ounit:
-ocaml-ounit: http://ounit.forge.ocamlcore.org/
-ocaml-ounit:
-ocaml-ounit:
-ocaml-ounit:
diff --git a/libraries/ocl-icd/README b/libraries/ocl-icd/README
deleted file mode 100644
index 3a939287d6..0000000000
--- a/libraries/ocl-icd/README
+++ /dev/null
@@ -1,19 +0,0 @@
-ocl-icd: free OpenCL ICD Loader
-
-OpenCL implementations are provided as ICD (Installable Client Driver). An
-OpenCL program can use several ICD thanks to the use of an ICD Loader as
-provided by this project. This free ICD Loader can load any (free or non free)
-ICD.
-
-NOTE: ocl-icd should not be needed on systems where graphics drivers
-by AMD or Nvidia already provide an OpenCL ICD Loader implementation.
-To check if you already have an ICD loader, run this as root:
-
- ldconfig -p | grep -i opencl
-
-If nothing is printed out, then your system probably lacks an ICD
-implementation (libOpenCL.so* objects) and you need this package.
-
-If something is printed out, then you don't need this package, as it
-would probably overwrite the ICD loader that came with your graphics
-drivers.
diff --git a/libraries/ocl-icd/ocl-icd.SlackBuild b/libraries/ocl-icd/ocl-icd.SlackBuild
deleted file mode 100644
index c4e5555601..0000000000
--- a/libraries/ocl-icd/ocl-icd.SlackBuild
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ocl-icd
-
-# Copyright (c) 2017-2019 Alan Alberghini <414N@slacky.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.
-# -----------------------------------------------------------------------------
-#
-# Build history:
-#
-# 1 - Initial release.
-
-PRGNAM=ocl-icd
-VERSION=${VERSION:-2.2.12}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-DOCS="README NEWS COPYING"
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-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
-
-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" \
-./bootstrap
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-official-khronos-headers \
- --disable-debug \
- --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 \
- $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/libraries/ocl-icd/ocl-icd.info b/libraries/ocl-icd/ocl-icd.info
deleted file mode 100644
index 180d3f8ef5..0000000000
--- a/libraries/ocl-icd/ocl-icd.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ocl-icd"
-VERSION="2.2.12"
-HOMEPAGE="https://github.com/OCL-dev/ocl-icd"
-DOWNLOAD="https://github.com/OCL-dev/ocl-icd/archive/v2.2.12.tar.gz"
-MD5SUM="47035a0b597fe334be16a653c7c7951f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Alan Alberghini"
-EMAIL="414N@slacky.it"
diff --git a/libraries/ocl-icd/slack-desc b/libraries/ocl-icd/slack-desc
deleted file mode 100644
index 58678a4610..0000000000
--- a/libraries/ocl-icd/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------------------------------------------------------|
-ocl-icd: ocl-icd (OpenCL ICD Loader)
-ocl-icd:
-ocl-icd: OpenCL implementations are provided as ICD (Installable Client
-ocl-icd: Driver). An OpenCL program can use several ICD thanks to the use of an
-ocl-icd: ICD Loader as provided by this project. This free ICD Loader can load
-ocl-icd: any (free or non free) ICD.
-ocl-icd:
-ocl-icd:
-ocl-icd:
-ocl-icd: Homepage:
-ocl-icd: https://github.com/OCL-dev/ocl-icd
diff --git a/libraries/ode/README b/libraries/ode/README
index 5ba8aa34da..adc4b3baef 100644
--- a/libraries/ode/README
+++ b/libraries/ode/README
@@ -1,5 +1,7 @@
-The Open Dynamics Engine (ODE) is a free, industrial quality library for
-simulating articulated rigid body dynamics. Proven applications include
-simulating ground vehicles, legged creatures, and moving objects in VR
-environments. It is fast, flexible and robust, and has built-in collision
-detection.
+ODE (library for simulating articulated rigid body dynamics)
+
+The Open Dynamics Engine (ODE) is a free, industrial quality library for
+simulating articulated rigid body dynamics. Proven applications include
+simulating ground vehicles, legged creatures, and moving objects in VR
+environments. It is fast, flexible and robust, and has built-in
+collision detection.
diff --git a/libraries/ode/ode.SlackBuild b/libraries/ode/ode.SlackBuild
index 79da31e43c..f4f6cd9458 100644
--- a/libraries/ode/ode.SlackBuild
+++ b/libraries/ode/ode.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Copyright 2020 Johannes Schoepfer, Germany
+# Copyright 2020-2024 Johannes Schoepfer, Germany
# All rights reserved.
# Written by hollywoodb
# Modified by the SlackBuilds.org project
@@ -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=ode
-VERSION=${VERSION:-0.16}
+VERSION=${VERSION:-0.16.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,9 +39,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
@@ -65,9 +72,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 encoding.
sed -i 's/\r//' ou/*.TXT
@@ -80,7 +87,6 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared=yes \
--enable-static=no \
--disable-asserts \
- --disable-demos \
--enable-gprof \
--enable-double-precision \
--enable-libccd \
@@ -103,11 +109,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 *.txt ou/*.TXT $PKG/usr/doc/$PRGNAM-$VERSION
+cp ou/README* ou/CHANGELOG* ou/LICENSE* $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 -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/libraries/ode/ode.info b/libraries/ode/ode.info
index 1720a99fe4..981e6d0d8c 100644
--- a/libraries/ode/ode.info
+++ b/libraries/ode/ode.info
@@ -1,8 +1,8 @@
PRGNAM="ode"
-VERSION="0.16"
+VERSION="0.16.5"
HOMEPAGE="https://ode.org/"
-DOWNLOAD="https://bitbucket.org/odedevs/ode/downloads/ode-0.16.tar.gz"
-MD5SUM="5da260bdc3f7de1636ce85e72807bffb"
+DOWNLOAD="https://bitbucket.org/odedevs/ode/downloads/ode-0.16.5.tar.gz"
+MD5SUM="a4adcd39237b2ba813184c7148f3c895"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/ode/slack-desc b/libraries/ode/slack-desc
index c132374b24..ba213d9ac6 100644
--- a/libraries/ode/slack-desc
+++ b/libraries/ode/slack-desc
@@ -14,6 +14,6 @@ ode: include simulating ground vehicles, legged creatures, and moving
ode: objects in VR environments. It is fast, flexible and robust, and has
ode: built-in collision detection.
ode:
-ode:
+ode: https://ode.org/
ode:
ode:
diff --git a/libraries/ogre/README b/libraries/ogre/README
index 96cb08cd72..651c87caf3 100644
--- a/libraries/ogre/README
+++ b/libraries/ogre/README
@@ -31,7 +31,7 @@ For example, in order to build samples too, launch from super user:
OGRE_BUILD_SAMPLES=ON ./ogre.SlackBuild
Optional dependencies available at SlackBuilds.org:
-zziplib, FreeImage, tbb, cppunit, ois
+zziplib, FreeImage, tbb, cppunit, ois, nvidia-cg-toolkit
Optional dependencies NOT (yet) available at SlackBuilds.org:
-cg, opengles, POCO
+opengles, POCO
diff --git a/libraries/ogre/ogre.SlackBuild b/libraries/ogre/ogre.SlackBuild
index 958cc17e2b..d5311de09e 100644
--- a/libraries/ogre/ogre.SlackBuild
+++ b/libraries/ogre/ogre.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ogre
# Copyright (c) 2011, Written by Roberto Metere <roberto@metere.it>
@@ -24,13 +24,27 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220420 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - move docs to proper Slackware doc dir.
+
+# 20220214 bkw: Modified by SlackBuilds.org again: ogre-13.2.4 really
+# wants imgui-1.85 (not 1.86; it was failing to build with that). Also,
+# we can use assimp now, so get rid of -DOGRE_BUILD_PLUGIN_ASSIMP=FALSE.
+# It will be autodetected, the build will succeed with or without it.
+
+# 20210215 bkw: modified by SlackBuilds.org: force-disable the assimp
+# plugin. Our assimp is too old (or too new?) for this version of
+# ogre. This allows ogre to be built on a system where assimp is
+# installed.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ogre
-VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-6}
+VERSION=${VERSION:-13.2.4}
+IMGUIVER=${IMGUIVER:-1.85}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-
-SRCNAM="${PRGNAM}_src_v${VERSION//./-}"
-SRCNAM="sinbad-ogre-6e05fa641af2" # This is just temporary
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +54,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,16 +84,15 @@ fi
# cmake options
OGRE_BUILD_SAMPLES=${OGRE_BUILD_SAMPLES:-ON}
OGRE_INSTALL_DOCS=${OGRE_INSTALL_DOCS:-ON}
-OGRE_INSTALL_DOCS=${OGRE_INSTALL_DOCS:-ON}
OGRE_INSTALL_SAMPLES_SOURCE=${OGRE_INSTALL_SAMPLES_SOURCE:-ON}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM.tar.bz2 || tar xvf $CWD/v$(echo $VERSION | tr . -).tar.bz2
-cd $SRCNAM
+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 \
@@ -82,6 +102,7 @@ find -L . \
mkdir build
cd build
+ tar xvf $CWD/imgui-$IMGUIVER.tar.gz
CXXFLAGS+=' -Wno-deprecated-declarations' \
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
@@ -89,21 +110,27 @@ cd build
-DOGRE_BUILD_SAMPLES=$OGRE_BUILD_SAMPLES \
-DOGRE_INSTALL_SAMPLES=$OGRE_BUILD_SAMPLES \
-DOGRE_INSTALL_DOCS=$OGRE_INSTALL_DOCS \
+ -DOGRE_BUILD_DEPENDENCIES=FALSE \
+ -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \
-DOGRE_INSTALL_SAMPLES_SOURCE=$OGRE_INSTALL_SAMPLES_SOURCE \
+ -DOGRE_BUILD_COMPONENT_CSHARP=FALSE \
../
make
- make install DESTDIR=$PKG
+ make install/strip 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 BUGS BuildingOgre.txt COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+if [ -e $PKG/usr/share/doc/OGRE ]; then
+ mv $PKG/usr/share/doc/OGRE/* $PKG/usr/doc/$PRGNAM-$VERSION
+fi
+rm -rf $PKG/usr/share/doc
+rmdir $PKG/usr/doc/$PRGNAM-$VERSION/api &>/dev/null || true
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ogre/ogre.info b/libraries/ogre/ogre.info
index 354dc24f47..d24d94a101 100644
--- a/libraries/ogre/ogre.info
+++ b/libraries/ogre/ogre.info
@@ -1,10 +1,12 @@
PRGNAM="ogre"
-VERSION="1.9"
+VERSION="13.2.4"
HOMEPAGE="https://www.ogre3d.org/"
-DOWNLOAD="https://bitbucket.org/sinbad/ogre/get/v1-9.tar.bz2"
-MD5SUM="445ed1d75f24fd351e6f87304d95098b"
+DOWNLOAD="https://github.com/OGRECave/ogre/archive/v13.2.4/ogre-13.2.4.zip \
+ https://github.com/ocornut/imgui/archive/v1.85/imgui-1.85.tar.gz"
+MD5SUM="b540b3feaebe530370c659013c144d23 \
+ bb710a24164a8dd54369bc4282d9d3b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="pugixml"
MAINTAINER="Roberto Metere"
EMAIL="roberto@metere.it"
diff --git a/libraries/ois/ois.SlackBuild b/libraries/ois/ois.SlackBuild
index e025b00a4c..e27a7305bd 100644
--- a/libraries/ois/ois.SlackBuild
+++ b/libraries/ois/ois.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ois
@@ -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=ois
SRCDIR=OIS
VERSION=${VERSION:-1.5.0}
SRCVER=1.5
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}
@@ -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/libraries/olm/README b/libraries/olm/README
index fcdee97450..7f9b4947e0 100644
--- a/libraries/olm/README
+++ b/libraries/olm/README
@@ -1,18 +1,18 @@
olm (olm and megolm cryptographic ratchets)
-An implementation of the Double Ratchet cryptographic ratchet described by
-https://whispersystems.org/docs/specifications/doubleratchet/, written in
-C and C++11 and exposed as a C API.
+An implementation of the Double Ratchet cryptographic ratchet described
+by https://whispersystems.org/docs/specifications/doubleratchet/,
+written in C and C++11 and exposed as a C API.
The specification of the Olm ratchet can be found in olm.md.
-This library also includes an implementation of the Megolm cryptographic
+This library also includes an implementation of the Megolm cryptographic
ratchet, as specified in megolm.md.
-Olm is designed to be easy port to different platforms and to be easy to
+Olm is designed to be easy port to different platforms and to be easy to
write bindings for.
-It was originally implemented in C++, with a plain-C layer providing the
-public API. As development has progressed, it has become clear that C++
-gives little advantage, and new functionality is being added in C, with
+It was originally implemented in C++, with a plain-C layer providing the
+public API. As development has progressed, it has become clear that C++
+gives little advantage, and new functionality is being added in C, with
C++ parts being rewritten as the need arises.
diff --git a/libraries/olm/olm.SlackBuild b/libraries/olm/olm.SlackBuild
index 89ed8ad2fc..4cf9ad442d 100644
--- a/libraries/olm/olm.SlackBuild
+++ b/libraries/olm/olm.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for olm
+# Copyright 2022 Roger Krowiak
# Copyright 2020 David O'Shaughnessy
# All rights reserved.
#
@@ -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=olm
-VERSION=${VERSION:-3.1.4}
+VERSION=${VERSION:-3.2.14}
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}
@@ -69,21 +80,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 {} \;
-cmake . \
- -Bbuild \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release
-cmake --build build
-cd build/tests
-ctest .
-cd ..
+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_FIND_USE_PACKAGE_ROOT_PATH=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+make
+( cd tests ; ctest . )
make install DESTDIR=$PKG
cd ..
-# 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
@@ -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/libraries/olm/olm.info b/libraries/olm/olm.info
index 8faa32cb87..0c7b664c1c 100644
--- a/libraries/olm/olm.info
+++ b/libraries/olm/olm.info
@@ -1,10 +1,10 @@
PRGNAM="olm"
-VERSION="3.1.4"
+VERSION="3.2.14"
HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm"
-DOWNLOAD="https://gitlab.matrix.org/matrix-org/olm/-/archive/3.1.4/olm-3.1.4.tar.bz2"
-MD5SUM="c45da62ae90274157576ff405c8057c9"
+DOWNLOAD="https://gitlab.matrix.org/matrix-org/olm/-/archive/3.2.14/olm-3.2.14.tar.bz2"
+MD5SUM="a8060110bd1063ce1bcaae88bd9fda26"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David O'Shaughnessy"
-EMAIL="dev@osh.id.au"
+MAINTAINER="Roger Krowiak"
+EMAIL="rogerkrowiak+slackbuilds@gmail.com"
diff --git a/libraries/onevpl/README b/libraries/onevpl/README
new file mode 100644
index 0000000000..2459be058b
--- /dev/null
+++ b/libraries/onevpl/README
@@ -0,0 +1,15 @@
+The Intel oneAPI Video Processing Library (oneVPL) is the successor
+to Intel Media SDK. This library takes you from abstractions for
+integrated graphics to using oneVPL to unlock media features on a
+much broader range of accelerators.
+
+The oneAPI Video Processing Library (oneVPL) provides a single video
+processing API for encode, decode, and video processing that works
+across a wide range of accelerators.
+
+To include examples (available in /usr/share/onevpl/examples) pass
+EXAMPLES=yes to the slackbuild as
+
+ EXAMPLES=yes ./onevpl.SlackBuild
+
+Note to 32-bit users: This is 64-bit only, requires an x86_64 CPU.
diff --git a/libraries/onevpl/dont-force-doc-dir.patch b/libraries/onevpl/dont-force-doc-dir.patch
new file mode 100644
index 0000000000..45e50aacc9
--- /dev/null
+++ b/libraries/onevpl/dont-force-doc-dir.patch
@@ -0,0 +1,20 @@
+diff --git a/cmake/InstallDirs.cmake b/cmake/InstallDirs.cmake
+index 8af22c7..3a0152b 100644
+--- a/cmake/InstallDirs.cmake
++++ b/cmake/InstallDirs.cmake
+@@ -25,9 +25,12 @@ endif()
+ # CMAKE_INSTALL_LIBDIR
+ include(GNUInstallDirs)
+
+-set(CMAKE_INSTALL_DOCDIR ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME})
+-gnuinstalldirs_get_absolute_install_dir(CMAKE_INSTALL_FULL_DOCDIR
+- CMAKE_INSTALL_DOCDIR DOCDIR)
++if (NOT CMAKE_INSTALL_DIR)
++ set(CMAKE_INSTALL_DOCDIR ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME})
++else()
++ gnuinstalldirs_get_absolute_install_dir(CMAKE_INSTALL_FULL_DOCDIR
++ CMAKE_INSTALL_DOCDIR DOCDIR)
++endif()
+
+ if(WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
+ set(CMAKE_INSTALL_BINDIR
diff --git a/libraries/onevpl/onevpl.SlackBuild b/libraries/onevpl/onevpl.SlackBuild
new file mode 100644
index 0000000000..a7b40fdbad
--- /dev/null
+++ b/libraries/onevpl/onevpl.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for onevpl
+
+# Copyright 2022-2024 Jeremy Hansen <jebrhansen+SBo@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.
+
+# 20220421 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove /usr/share/doc and INSTALL.md.
+
+# 20220323 bkw: Modified by SlackBuilds.org: mark as 64-bit only.
+# The compile error actually says "#error Unsupported architecture"
+# if you try to build it on x86 32-bit.
+# No script changes; just the .info file and README.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=onevpl
+SRCNAM=libvpl
+VERSION=${VERSION:-2.10.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 $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 {} \+
+
+# Make examples optional
+if [ ${EXAMPLES:-no} == "yes" ]; then
+ BUILDEXAMPLES="-DBUILD_EXAMPLES=ON -DINSTALL_EXAMPLE_CODE=ON"
+else
+ BUILDEXAMPLES="-DBUILD_EXAMPLES=OFF -DINSTALL_EXAMPLE_CODE=OFF"
+fi
+
+# Don't force the doc directory location
+patch -p1 < $CWD/dont-force-doc-dir.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DVPL_INSTALL_LICENSEDIR=/usr/doc/$PRGNAM-$VERSION/licensing \
+ -DVPL_INSTALL_EXAMPLEDIR=/usr/doc/$PRGNAM-$VERSION/examples \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ $BUILDEXAMPLES \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $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
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/onevpl/onevpl.info b/libraries/onevpl/onevpl.info
new file mode 100644
index 0000000000..52b28a6758
--- /dev/null
+++ b/libraries/onevpl/onevpl.info
@@ -0,0 +1,10 @@
+PRGNAM="onevpl"
+VERSION="2.10.2"
+HOMEPAGE="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onevpl.html"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/oneapi-src/oneVPL/archive/refs/tags/v2.10.2/libvpl-2.10.2.tar.gz"
+MD5SUM_x86_64="09d6347097590abd3e952619f5ed6316"
+REQUIRES=""
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/onevpl/slack-desc b/libraries/onevpl/slack-desc
new file mode 100644
index 0000000000..d87e4712fe
--- /dev/null
+++ b/libraries/onevpl/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------------------------------------------------------|
+onevpl: onevpl (oneAPI Video Processing Library)
+onevpl:
+onevpl: The Intel oneAPI Video Processing Library (oneVPL) is the successor
+onevpl: to Intel Media SDK. This library takes you from abstractions for
+onevpl: integrated graphics to using oneVPL to unlock media features on a
+onevpl: much broader range of accelerators.
+onevpl:
+onevpl: The oneAPI Video Processing Library (oneVPL) provides a single video
+onevpl: processing API for encode, decode, and video processing that works
+onevpl: across a wide range of accelerators.
+onevpl:
diff --git a/libraries/opal/README b/libraries/opal/README
deleted file mode 100644
index a6a7e53e88..0000000000
--- a/libraries/opal/README
+++ /dev/null
@@ -1,5 +0,0 @@
-The Open Phone Abstraction Library (OPAL) is a C++ multi-platform,
-multi-protocol library for Fax, Video & Voice over IP and other
-networks.
-
-Optional dependencies are ffmpeg, x264, celt and jdk/openjdk.
diff --git a/libraries/opal/ffmpeg2.patch b/libraries/opal/ffmpeg2.patch
deleted file mode 100644
index 80dca469d9..0000000000
--- a/libraries/opal/ffmpeg2.patch
+++ /dev/null
@@ -1,398 +0,0 @@
-patch from: http://www.linuxfromscratch.org/blfs/view/svn/multimedia/opal.html
-
-Submitted By: Igor Živković <contact@igor-zivkovic.from.hr>
-Date: 2013-10-08
-Initial Package Version: 3.10.10
-Upstream Status: Unknown
-Origin: Gentoo
-Description: Fixes building against FFmpeg version >= 2.0.0
-
-diff -Naur opal-3.10.10.orig/plugins/video/common/dyna.cxx opal-3.10.10/plugins/video/common/dyna.cxx
---- opal-3.10.10.orig/plugins/video/common/dyna.cxx 2013-02-20 03:18:05.000000000 +0100
-+++ plugins/video/common/dyna.cxx 2013-10-08 12:57:25.058873513 +0200
-@@ -210,7 +210,7 @@
- #endif
-
-
--FFMPEGLibrary::FFMPEGLibrary(CodecID codec)
-+FFMPEGLibrary::FFMPEGLibrary(AVCodecID codec)
- {
- m_codec = codec;
- if (m_codec==CODEC_ID_H264)
-@@ -348,12 +348,12 @@
- return true;
- }
-
--AVCodec *FFMPEGLibrary::AvcodecFindEncoder(enum CodecID id)
-+AVCodec *FFMPEGLibrary::AvcodecFindEncoder(enum AVCodecID id)
- {
- return Favcodec_find_encoder(id);
- }
-
--AVCodec *FFMPEGLibrary::AvcodecFindDecoder(enum CodecID id)
-+AVCodec *FFMPEGLibrary::AvcodecFindDecoder(enum AVCodecID id)
- {
- WaitAndSignal m(processLock);
-
-diff -Naur opal-3.10.10.orig/plugins/video/common/dyna.h opal-3.10.10/plugins/video/common/dyna.h
---- opal-3.10.10.orig/plugins/video/common/dyna.h 2013-02-20 03:18:05.000000000 +0100
-+++ plugins/video/common/dyna.h 2013-10-08 12:57:25.058873513 +0200
-@@ -88,13 +88,13 @@
- class FFMPEGLibrary
- {
- public:
-- FFMPEGLibrary(CodecID codec);
-+ FFMPEGLibrary(AVCodecID codec);
- ~FFMPEGLibrary();
-
- bool Load();
-
-- AVCodec *AvcodecFindEncoder(enum CodecID id);
-- AVCodec *AvcodecFindDecoder(enum CodecID id);
-+ AVCodec *AvcodecFindEncoder(enum AVCodecID id);
-+ AVCodec *AvcodecFindDecoder(enum AVCodecID id);
- AVCodecContext *AvcodecAllocContext(void);
- AVFrame *AvcodecAllocFrame(void);
- int AvcodecOpen(AVCodecContext *ctx, AVCodec *codec);
-@@ -117,15 +117,15 @@
- DynaLink m_libAvcodec;
- DynaLink m_libAvutil;
-
-- CodecID m_codec;
-+ AVCodecID m_codec;
- char m_codecString[32];
-
- void (*Favcodec_init)(void);
- void (*Fav_init_packet)(AVPacket *pkt);
-
- void (*Favcodec_register_all)(void);
-- AVCodec *(*Favcodec_find_encoder)(enum CodecID id);
-- AVCodec *(*Favcodec_find_decoder)(enum CodecID id);
-+ AVCodec *(*Favcodec_find_encoder)(enum AVCodecID id);
-+ AVCodec *(*Favcodec_find_decoder)(enum AVCodecID id);
- AVCodecContext *(*Favcodec_alloc_context)(void);
- AVFrame *(*Favcodec_alloc_frame)(void);
- int (*Favcodec_open)(AVCodecContext *ctx, AVCodec *codec);
-diff -Naur opal-3.10.10.orig/plugins/video/common/ffmpeg/libavcodec/avcodec.h opal-3.10.10/plugins/video/common/ffmpeg/libavcodec/avcodec.h
---- opal-3.10.10.orig/plugins/video/common/ffmpeg/libavcodec/avcodec.h 2013-02-20 03:18:04.000000000 +0100
-+++ plugins/video/common/ffmpeg/libavcodec/avcodec.h 2013-10-08 12:57:25.060873488 +0200
-@@ -101,7 +101,7 @@
- * 1. no value of a existing codec ID changes (that would break ABI),
- * 2. it is as close as possible to similar codecs.
- */
--enum CodecID {
-+enum AVCodecID {
- CODEC_ID_NONE,
-
- /* video codecs */
-@@ -1390,7 +1390,7 @@
-
- char codec_name[32];
- enum AVMediaType codec_type; /* see AVMEDIA_TYPE_xxx */
-- enum CodecID codec_id; /* see CODEC_ID_xxx */
-+ enum AVCodecID codec_id; /* see CODEC_ID_xxx */
-
- /**
- * fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A').
-@@ -2843,7 +2843,7 @@
- */
- const char *name;
- enum AVMediaType type;
-- enum CodecID id;
-+ enum AVCodecID id;
- int priv_data_size;
- int (*init)(AVCodecContext *);
- int (*encode)(AVCodecContext *, uint8_t *buf, int buf_size, void *data);
-@@ -2898,7 +2898,7 @@
- *
- * See CODEC_ID_xxx
- */
-- enum CodecID id;
-+ enum AVCodecID id;
-
- /**
- * Supported pixel format.
-@@ -3402,10 +3402,10 @@
- /**
- * Find a registered encoder with a matching codec ID.
- *
-- * @param id CodecID of the requested encoder
-+ * @param id AVCodecID of the requested encoder
- * @return An encoder if one was found, NULL otherwise.
- */
--AVCodec *avcodec_find_encoder(enum CodecID id);
-+AVCodec *avcodec_find_encoder(enum AVCodecID id);
-
- /**
- * Find a registered encoder with the specified name.
-@@ -3418,10 +3418,10 @@
- /**
- * Find a registered decoder with a matching codec ID.
- *
-- * @param id CodecID of the requested decoder
-+ * @param id AVCodecID of the requested decoder
- * @return A decoder if one was found, NULL otherwise.
- */
--AVCodec *avcodec_find_decoder(enum CodecID id);
-+AVCodec *avcodec_find_decoder(enum AVCodecID id);
-
- /**
- * Find a registered decoder with the specified name.
-@@ -3822,7 +3822,7 @@
- * @param[in] codec_id the codec
- * @return Number of bits per sample or zero if unknown for the given codec.
- */
--int av_get_bits_per_sample(enum CodecID codec_id);
-+int av_get_bits_per_sample(enum AVCodecID codec_id);
-
- #if FF_API_OLD_SAMPLE_FMT
- /**
-diff -Naur opal-3.10.10.orig/plugins/video/H.263-1998/h263-1998.cxx opal-3.10.10/plugins/video/H.263-1998/h263-1998.cxx
---- opal-3.10.10.orig/plugins/video/H.263-1998/h263-1998.cxx 2013-02-20 03:18:03.000000000 +0100
-+++ plugins/video/H.263-1998/h263-1998.cxx 2013-10-08 12:57:25.061873475 +0200
-@@ -48,6 +48,10 @@
- #endif
-
- #include "h263-1998.h"
-+extern "C"
-+{
-+#include <libavutil/opt.h>
-+}
- #include <limits>
- #include <iomanip>
- #include <stdio.h>
-@@ -203,7 +207,7 @@
- PTRACE(4, m_prefix, "Encoder closed");
- }
-
--bool H263_Base_EncoderContext::Init(CodecID codecId)
-+bool H263_Base_EncoderContext::Init(AVCodecID codecId)
- {
- PTRACE(5, m_prefix, "Opening encoder");
-
-@@ -317,9 +321,9 @@
- // Level 2+
- // works with eyeBeam, signaled via non-standard "D"
- if (atoi(value) == 1)
-- m_context->flags |= CODEC_FLAG_H263P_UMV;
-+ av_opt_set_int(m_context->priv_data, "umv", 1, 0);
- else
-- m_context->flags &= ~CODEC_FLAG_H263P_UMV;
-+ av_opt_set_int(m_context->priv_data, "umv", 0, 0);
- return;
- }
-
-@@ -328,9 +332,9 @@
- // Annex F: Advanced Prediction Mode
- // does not work with eyeBeam
- if (atoi(value) == 1)
-- m_context->flags |= CODEC_FLAG_OBMC;
-+ av_opt_set_int(m_context->priv_data, "obmc", 1, 0);
- else
-- m_context->flags &= ~CODEC_FLAG_OBMC;
-+ av_opt_set_int(m_context->priv_data, "obmc", 0, 0);
- return;
- }
- #endif
-@@ -360,9 +364,9 @@
- // Annex K: Slice Structure
- // does not work with eyeBeam
- if (atoi(value) != 0)
-- m_context->flags |= CODEC_FLAG_H263P_SLICE_STRUCT;
-+ av_opt_set_int(m_context->priv_data, "structured_slices", 1, 0);
- else
-- m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT;
-+ av_opt_set_int(m_context->priv_data, "structured_slices", 0, 0);
- return;
- }
-
-@@ -370,9 +374,9 @@
- // Annex S: Alternative INTER VLC mode
- // does not work with eyeBeam
- if (atoi(value) == 1)
-- m_context->flags |= CODEC_FLAG_H263P_AIV;
-+ av_opt_set_int(m_context->priv_data, "aiv", 1, 0);
- else
-- m_context->flags &= ~CODEC_FLAG_H263P_AIV;
-+ av_opt_set_int(m_context->priv_data, "aiv", 0, 0);
- return;
- }
-
-@@ -450,15 +454,6 @@
- PTRACE(5, m_prefix, "qmax set to " << m_context->qmax);
- PTRACE(5, m_prefix, "payload size set to " << m_context->rtp_payload_size);
-
-- #define CODEC_TRACER_FLAG(tracer, flag) \
-- PTRACE(4, m_prefix, #flag " is " << ((m_context->flags & flag) ? "enabled" : "disabled"));
-- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_UMV);
-- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_OBMC);
-- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_AC_PRED);
-- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_SLICE_STRUCT)
-- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_LOOP_FILTER);
-- CODEC_TRACER_FLAG(tracer, CODEC_FLAG_H263P_AIV);
--
- return FFMPEGLibraryInstance.AvcodecOpen(m_context, m_codec) == 0;
- }
-
-@@ -521,7 +516,7 @@
-
- // Need to copy to local buffer to guarantee 16 byte alignment
- memcpy(m_inputFrame->data[0], OPAL_VIDEO_FRAME_DATA_PTR(header), header->width*header->height*3/2);
-- m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? FF_I_TYPE : AV_PICTURE_TYPE_NONE;
-+ m_inputFrame->pict_type = (flags & PluginCodec_CoderForceIFrame) ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_NONE;
-
- /*
- m_inputFrame->pts = (int64_t)srcRTP.GetTimestamp()*m_context->time_base.den/m_context->time_base.num/VIDEO_CLOCKRATE;
-@@ -603,13 +598,13 @@
- m_context->rtp_callback = &H263_RFC2190_EncoderContext::RTPCallBack;
- m_context->opaque = this; // used to separate out packets from different encode threads
-
-- m_context->flags &= ~CODEC_FLAG_H263P_UMV;
-+ av_opt_set_int(m_context->priv_data, "umv", 0, 0);
- m_context->flags &= ~CODEC_FLAG_4MV;
- #if LIBAVCODEC_RTP_MODE
- m_context->flags &= ~CODEC_FLAG_H263P_AIC;
- #endif
-- m_context->flags &= ~CODEC_FLAG_H263P_AIV;
-- m_context->flags &= ~CODEC_FLAG_H263P_SLICE_STRUCT;
-+ av_opt_set_int(m_context->priv_data, "aiv", 0, 0);
-+ av_opt_set_int(m_context->priv_data, "structured_slices", 0, 0);
-
- return true;
- }
-diff -Naur opal-3.10.10.orig/plugins/video/H.263-1998/h263-1998.h opal-3.10.10/plugins/video/H.263-1998/h263-1998.h
---- opal-3.10.10.orig/plugins/video/H.263-1998/h263-1998.h 2013-02-20 03:18:03.000000000 +0100
-+++ plugins/video/H.263-1998/h263-1998.h 2013-10-08 12:57:25.062873463 +0200
-@@ -115,7 +115,7 @@
- virtual ~H263_Base_EncoderContext();
-
- virtual bool Init() = 0;
-- virtual bool Init(CodecID codecId);
-+ virtual bool Init(AVCodecID codecId);
-
- virtual bool SetOptions(const char * const * options);
- virtual void SetOption(const char * option, const char * value);
-diff -Naur opal-3.10.10.orig/plugins/video/H.263-1998/Makefile.in opal-3.10.10/plugins/video/H.263-1998/Makefile.in
---- opal-3.10.10.orig/plugins/video/H.263-1998/Makefile.in 2013-02-20 03:18:03.000000000 +0100
-+++ plugins/video/H.263-1998/Makefile.in 2013-10-08 12:57:25.062873463 +0200
-@@ -35,7 +35,7 @@
- $(COMMONDIR)/dyna.cxx
-
- CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
--LIBS += @DL_LIBS@
-+LIBS += @DL_LIBS@ @LIBAVUTIL_LIBS@
-
- HAVE_LIBAVCODEC_RTP_MODE=@HAVE_LIBAVCODEC_RTP_MODE@
- ifeq ($(HAVE_LIBAVCODEC_RTP_MODE),yes)
-diff -Naur opal-3.10.10.orig/plugins/video/H.264/gpl/h264_helper.cxx opal-3.10.10/plugins/video/H.264/gpl/h264_helper.cxx
---- opal-3.10.10.orig/plugins/video/H.264/gpl/h264_helper.cxx 2013-02-20 03:18:02.000000000 +0100
-+++ plugins/video/H.264/gpl/h264_helper.cxx 2013-10-08 12:57:25.062873463 +0200
-@@ -27,6 +27,7 @@
- #include <fstream>
- #include <stdlib.h>
- #include <sys/stat.h>
-+#include <unistd.h>
-
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
-diff -Naur opal-3.10.10.orig/plugins/video/H.264/h264-x264.cxx opal-3.10.10/plugins/video/H.264/h264-x264.cxx
---- opal-3.10.10.orig/plugins/video/H.264/h264-x264.cxx 2013-02-20 03:18:02.000000000 +0100
-+++ plugins/video/H.264/h264-x264.cxx 2013-10-08 12:57:25.063873450 +0200
-@@ -40,6 +40,9 @@
- #include "plugin-config.h"
- #endif
-
-+#define FF_IDCT_H264 11
-+#define CODEC_FLAG2_SKIP_RD 0x00004000
-+
- #include <codec/opalplugin.hpp>
-
- #include "../common/ffmpeg.h"
-@@ -1071,13 +1074,10 @@
- return false;
-
- m_context->workaround_bugs = FF_BUG_AUTODETECT;
-- m_context->error_recognition = FF_ER_AGGRESSIVE;
- m_context->idct_algo = FF_IDCT_H264;
- m_context->error_concealment = FF_EC_GUESS_MVS | FF_EC_DEBLOCK;
- m_context->flags = CODEC_FLAG_INPUT_PRESERVED | CODEC_FLAG_EMU_EDGE;
-- m_context->flags2 = CODEC_FLAG2_BRDO |
-- CODEC_FLAG2_MEMC_ONLY |
-- CODEC_FLAG2_DROP_FRAME_TIMECODE |
-+ m_context->flags2 = CODEC_FLAG2_DROP_FRAME_TIMECODE |
- CODEC_FLAG2_SKIP_RD |
- CODEC_FLAG2_CHUNKS;
-
-diff -Naur opal-3.10.10.orig/plugins/video/H.264/shared/x264wrap.cxx opal-3.10.10/plugins/video/H.264/shared/x264wrap.cxx
---- opal-3.10.10.orig/plugins/video/H.264/shared/x264wrap.cxx 2013-02-20 03:18:02.000000000 +0100
-+++ plugins/video/H.264/shared/x264wrap.cxx 2013-10-08 12:57:25.064873438 +0200
-@@ -33,6 +33,7 @@
-
- #include <codec/opalplugin.hpp>
- #include <stdio.h>
-+#include <unistd.h>
-
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
-diff -Naur opal-3.10.10.orig/plugins/video/MPEG4-ffmpeg/Makefile.in opal-3.10.10/plugins/video/MPEG4-ffmpeg/Makefile.in
---- opal-3.10.10.orig/plugins/video/MPEG4-ffmpeg/Makefile.in 2013-02-20 03:18:07.000000000 +0100
-+++ plugins/video/MPEG4-ffmpeg/Makefile.in 2013-10-08 12:57:25.064873438 +0200
-@@ -31,7 +31,7 @@
- SRCS := mpeg4.cxx $(COMMONDIR)/dyna.cxx
-
- CFLAGS += @LIBAVCODEC_CFLAGS@ -I$(COMMONDIR)
--LIBS += @DL_LIBS@
-+LIBS += @DL_LIBS@ @LIBAVUTIL_LIBS@
-
- # Add LIBAVCODEC_SOURCE_DIR to the include path so we can #include <libavcodec/...h>
- # Also add libavutil, so ffmpeg headers can #include "log.h".
-diff -Naur opal-3.10.10.orig/plugins/video/MPEG4-ffmpeg/mpeg4.cxx opal-3.10.10/plugins/video/MPEG4-ffmpeg/mpeg4.cxx
---- opal-3.10.10.orig/plugins/video/MPEG4-ffmpeg/mpeg4.cxx 2013-02-20 03:18:07.000000000 +0100
-+++ plugins/video/MPEG4-ffmpeg/mpeg4.cxx 2013-10-08 12:57:25.065873425 +0200
-@@ -103,6 +103,7 @@
-
- #else /* LIBAVCODEC_HAVE_SOURCE_DIR */
- #include "../common/ffmpeg.h"
-+#include <libavutil/opt.h>
- #endif /* LIBAVCODEC_HAVE_SOURCE_DIR */
- }
-
-@@ -589,17 +590,17 @@
- m_avpicture->quality = m_videoQMin;
-
- #ifdef USE_ORIG
-- m_avcontext->flags |= CODEC_FLAG_PART; // data partitioning
-+ av_opt_set_int(m_avcontext->priv_data, "data_partitionin", 1, 0);
- m_avcontext->flags |= CODEC_FLAG_4MV; // 4 motion vectors
- #else
- m_avcontext->max_b_frames=0; /*don't use b frames*/
- m_avcontext->flags|=CODEC_FLAG_AC_PRED;
-- m_avcontext->flags|=CODEC_FLAG_H263P_UMV;
-+ av_opt_set_int(m_avcontext->priv_data, "umv", 1, 0);
- /*c->flags|=CODEC_FLAG_QPEL;*/ /*don't enable this one: this forces profile_level to advanced simple profile */
- m_avcontext->flags|=CODEC_FLAG_4MV;
- m_avcontext->flags|=CODEC_FLAG_GMC;
- m_avcontext->flags|=CODEC_FLAG_LOOP_FILTER;
-- m_avcontext->flags|=CODEC_FLAG_H263P_SLICE_STRUCT;
-+ av_opt_set_int(m_avcontext->priv_data, "structured_slices", 1, 0);
- #endif
- m_avcontext->opaque = this; // for use in RTP callback
- }
-@@ -804,7 +805,7 @@
- // Should the next frame be an I-Frame?
- if ((flags & PluginCodec_CoderForceIFrame) || (m_frameNum == 0))
- {
-- m_avpicture->pict_type = FF_I_TYPE;
-+ m_avpicture->pict_type = AV_PICTURE_TYPE_I;
- }
- else // No IFrame requested, let avcodec decide what to do
- {
-@@ -1325,7 +1326,7 @@
-
- void MPEG4DecoderContext::SetStaticDecodingParams() {
- m_avcontext->flags |= CODEC_FLAG_4MV;
-- m_avcontext->flags |= CODEC_FLAG_PART;
-+ av_opt_set_int(m_avcontext->priv_data, "data_partitionin", 1, 0);
- m_avcontext->workaround_bugs = 0; // no workaround for buggy implementations
- }
-
diff --git a/libraries/opal/opal.SlackBuild b/libraries/opal/opal.SlackBuild
deleted file mode 100644
index ca382bc4ef..0000000000
--- a/libraries/opal/opal.SlackBuild
+++ /dev/null
@@ -1,149 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Opal
-
-# Copyright 2008-2009 Mauro Giachero
-# Copyright 2011 David Woodfall
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=opal
-VERSION=${VERSION:-3.10.10}
-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.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 and seds from lfs:
-# http://www.linuxfromscratch.org/blfs/view/svn/multimedia/opal.html
-patch -p1 --verbose < $CWD/ffmpeg2.patch
-
-sed -e 's/CODEC_ID/AV_&/' \
- -e 's/PIX_FMT_/AV_&/' \
- -i plugins/video/H.263-1998/h263-1998.cxx \
- plugins/video/common/dyna.cxx \
- plugins/video/H.264/h264-x264.cxx \
- plugins/video/MPEG4-ffmpeg/mpeg4.cxx
-
-sed -e '/<< mime.PrintContents/ s/mime/(const std::string\&)&/' \
- -i src/im/msrp.cxx &&
-
-sed -e '/abs(/s/MPI.*)/(int)(&)/' \
- -i ./plugins/video/common/mpi.cxx
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-shared \
- --enable-ivr \
- --enable-rfc4175 \
- --enable-rfc2435 \
- --enable-aec \
- --enable-g711plc \
- --enable-rtcpxr \
- --enable-statistics \
- --enable-mixer \
- --enable-pcss \
- --enable-rfc4103 \
- --enable-fax \
- --enable-h450 \
- --enable-h460 \
- --enable-h239 \
- --enable-h501 \
- --enable-lid \
- --enable-zrtp \
- --enable-srtp \
- --enable-capi \
- --enable-java \
- --enable-ruby \
- --enable-video \
- --enable-sip \
- --enable-h323 \
- --enable-iax2 \
- --enable-h224 \
- --enable-h281 \
- --enable-t38 \
- --enable-msrp \
- --enable-sipim \
- --enable-plugins \
- --build=$ARCH-slackware-linux
-
-make VERBOSE=1
-make install DESTDIR=$PKG
-
-# Remove static library
-rm $PKG/usr/lib${LIBDIRSUFFIX}/libopal_s.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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a mpl-1.0.htm 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/libraries/opal/opal.info b/libraries/opal/opal.info
deleted file mode 100644
index 5242be3e6a..0000000000
--- a/libraries/opal/opal.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="opal"
-VERSION="3.10.10"
-HOMEPAGE="http://www.opalvoip.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/opal/3.10/opal-3.10.10.tar.xz"
-MD5SUM="6efa1b4c5e0ad6460019b4c6df0898d7"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ptlib speex"
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/opal/slack-desc b/libraries/opal/slack-desc
deleted file mode 100644
index 5789d1b711..0000000000
--- a/libraries/opal/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------------------------------------------------------|
-opal: opal (Open Phone Abstraction Library)
-opal:
-opal: The Open Phone Abstraction Library is a C++ multi-platform,
-opal: multi-protocol library for Fax, Video & Voice over IP and other
-opal: networks.
-opal:
-opal: Homepage: http://www.opalvoip.org/
-opal:
-opal:
-opal:
-opal:
diff --git a/libraries/openbabel/README b/libraries/openbabel/README
index 65f976b968..345d907fb4 100644
--- a/libraries/openbabel/README
+++ b/libraries/openbabel/README
@@ -2,3 +2,7 @@ OpenBabel is a project designed to pick up where Babel left off, as
a cross-platform program and library designed to interconvert between
many file formats used in molecular modeling, computational chemistry,
and many related areas.
+
+Optional dependency: if you want the graphical interface (obgui),
+install wxPython or wxGTK3 (either will do) before running this
+script.
diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild
index 7bd54ad595..68c4688d0e 100644
--- a/libraries/openbabel/openbabel.SlackBuild
+++ b/libraries/openbabel/openbabel.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openbabel
@@ -24,26 +24,39 @@
# Thanks to Daniil Bratashov (dn2010@gmail.com) for the cmake conversion
+# 20220215 bkw:
+# - fix download URL (github stupidity again).
+# - remove jdk from REQUIRES: it wasn't being used.
+# - add README note about wx(Python|GTK3) optional dep.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openbabel
-VERSION=${VERSION:-2.3.2}
+VERSION=${VERSION:-2.4.1}
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,18 +74,15 @@ 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-$PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 gcc-5 thanks to Arch
-patch -p0 < $CWD/gcc-5.patch
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p build
cd build
@@ -95,7 +105,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ChangeLog AUTHORS COPYING NEWS README THANKS doc/*.html \
+ AUTHORS COPYING NEWS.md README.md THANKS authors.txt doc/*.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/libraries/openbabel/openbabel.info b/libraries/openbabel/openbabel.info
index ff15c8591e..fdb882ec2e 100644
--- a/libraries/openbabel/openbabel.info
+++ b/libraries/openbabel/openbabel.info
@@ -1,10 +1,10 @@
PRGNAM="openbabel"
-VERSION="2.3.2"
+VERSION="2.4.1"
HOMEPAGE="http://openbabel.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/openbabel/openbabel-2.3.2.tar.gz"
-MD5SUM="9b0007560d9d838b40ab4ad06daf5610"
+DOWNLOAD="https://github.com/openbabel/openbabel/archive/openbabel-2-4-1/openbabel-openbabel-2-4-1.tar.gz"
+MD5SUM="c0e0aefeef0f9f2bb2c78109d65c30a5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES=""
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"
diff --git a/libraries/opencl-amd/README b/libraries/opencl-amd/README
new file mode 100644
index 0000000000..2dd51d4909
--- /dev/null
+++ b/libraries/opencl-amd/README
@@ -0,0 +1,9 @@
+OpenCL userspace driver as provided in the amdgpu-pro driver stack and
+intended to work along with the free amdgpu stack.
+It's a repackage of AUR opencl-amd and don't provide the full
+amdgpu-pro stack.
+
+Current version: proprietary drivers 22.20.3 / ROCM 5.2.3
+This package works on Slackware 15
+For a newer libclc (18.1.2) which could be used in Slackware 15, see
+libclc package.
diff --git a/libraries/opencl-amd/opencl-amd.SlackBuild b/libraries/opencl-amd/opencl-amd.SlackBuild
new file mode 100644
index 0000000000..e0e2193223
--- /dev/null
+++ b/libraries/opencl-amd/opencl-amd.SlackBuild
@@ -0,0 +1,165 @@
+#!/bin/bash
+
+# Copyright 2024 Ciprian Stingu <ciprian dot stingu at gmail dot com>
+# Repackage of AUR : opencl-amd.git for Slackware
+# Last version of OpenCL AMD drivers which works with GLIBC 2.33
+#
+# Original credits of AUR : opencl-amd.git
+# Maintainer: Carson Rueter <roachh at proton mail dot com>
+# Co-Maintainer: George Sofianos
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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="opencl-amd"
+VERSION=${VERSION:-22.20.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=${ARCH:-$(uname -m)}
+case "$ARCH" in
+ x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;;
+ *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
+esac
+
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ ! $UID = 0 ]; then
+ cat << EOF
+
+This script must be run as root.
+
+EOF
+ exit 1
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+#start AUR : opencl-amd.git
+exz() {
+# echo "File:" $1
+ ar x $1 data.tar.xz
+ tar xJf data.tar.xz
+ rm data.tar.xz
+}
+
+egz() {
+# echo "File:" $1
+ ar x $1 data.tar.gz
+ tar xfx data.tar.gz
+ rm data.tar.gz
+}
+
+AMDGPU="opt/amdgpu"
+AMDGPU_PRO="opt/amdgpu-pro"
+
+# LIBDRM
+exz "${CWD}/libdrm-amdgpu-amdgpu1_2.4.110.50203-1462318~22.04_${DEBARCH}.deb"
+# ROCM
+egz "${CWD}/rocm-core_5.2.3.50203-109_${DEBARCH}.deb"
+egz "${CWD}/comgr_2.4.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hip-dev_5.2.21153.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hip-doc_5.2.21153.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hip-samples_5.2.21153.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hsakmt-roct-dev_20220426.1.026.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hsa-rocr_1.5.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hsa-rocr-dev_1.5.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocminfo_1.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hip-runtime-amd_5.2.21153.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-device-libs_1.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-language-runtime_5.2.3.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-hip-runtime_5.2.3.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-ocl-icd_2.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-opencl_2.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-opencl-dev_2.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-opencl-runtime_5.2.3.50203-109_${DEBARCH}.deb"
+# ROCM DEV
+egz "${CWD}/rocm-clang-ocl_0.5.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-smi-lib_5.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-cmake_0.7.3.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-dbgapi_0.65.1.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-debug-agent_2.0.3.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-utils_5.2.3.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocprofiler-dev_1.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/roctracer-dev_1.0.0.50203-109_${DEBARCH}.deb"
+egz "${CWD}/rocm-dev_5.2.3.50203-109_${DEBARCH}.deb"
+egz "${CWD}/hsa-amd-aqlprofile_1.0.0.50203-109_${DEBARCH}.deb"
+exz "${CWD}/openmp-extras_14.52.0.50203-109_${DEBARCH}.deb"
+exz "${CWD}/rocm-gdb_11.2.50203-109_${DEBARCH}.deb"
+# Proprietary
+exz "${CWD}/opencl-legacy-amdgpu-pro-icd_22.20-1462318~22.04_${DEBARCH}.deb"
+
+cd ${CWD}/${AMDGPU_PRO}/lib/x86_64-linux-gnu
+sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g" libamdocl-orca64.so
+
+cd ${CWD}/${AMDGPU}/lib/x86_64-linux-gnu
+rm "libdrm_amdgpu.so.1"
+mv "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpo.so.1.0.0"
+ln -f -s "libdrm_amdgpo.so.1.0.0" "libdrm_amdgpo.so.1"
+
+# legacy
+mkdir -p ${PKG}/usr/lib${LIBDIRSUFFIX}
+mv "${CWD}/${AMDGPU_PRO}/lib/x86_64-linux-gnu/libamdocl-orca64.so" "${PKG}/usr/lib${LIBDIRSUFFIX}/"
+rm -r "${CWD}/${AMDGPU_PRO}/"
+mv "${CWD}/${AMDGPU}/lib/x86_64-linux-gnu/libdrm_amdgpo.so.1.0.0" "${PKG}/usr/lib${LIBDIRSUFFIX}/"
+mv "${CWD}/${AMDGPU}/lib/x86_64-linux-gnu/libdrm_amdgpo.so.1" "${PKG}/usr/lib${LIBDIRSUFFIX}/"
+rm -r "${CWD}/${AMDGPU}/"
+
+mv -b "${CWD}/opt/" "${PKG}/"
+ln -f -s "rocm-5.2.3" "$PKG/opt/rocm"
+
+mkdir -p "${PKG}/opt/amdgpu/share/libdrm"
+cd "${PKG}/opt/amdgpu/share/libdrm"
+ln -s -f /usr/share/libdrm/amdgpu.ids amdgpu.ids
+
+mkdir -p ${PKG}/etc/OpenCL/vendors
+echo libamdocl64.so > "${PKG}/etc/OpenCL/vendors/amdocl64.icd"
+echo libamdocl-orca64.so > "${PKG}/etc/OpenCL/vendors/amdocl-orca64.icd"
+rm -r "${CWD}/etc"
+rm -r "${CWD}/usr"
+
+mkdir -p ${PKG}/etc/ld.so.conf.d
+echo /opt/rocm-5.2.3/opencl/lib > "$PKG/etc/ld.so.conf.d/opencl-amd.conf"
+echo /opt/rocm-5.2.3/lib >> "$PKG/etc/ld.so.conf.d/opencl-amd.conf"
+echo /opt/rocm-5.2.3/hip/lib >> "$PKG/etc/ld.so.conf.d/opencl-amd.conf"
+
+mkdir -p ${PKG}/etc/profile.d
+echo export PATH="\${PATH}:/opt/rocm-5.2.3/bin:/opt/rocm-5.2.3/hip/bin" > "$PKG/etc/profile.d/opencl-amd.sh"
+#end AUR : opencl-amd.git
+chmod 0755 $PKG/etc/profile.d/opencl-amd.sh
+
+mkdir -p "${PKG}/install"
+cat "${CWD}/slack-desc" > "${PKG}/install/slack-desc"
+
+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 {} \;
+
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/opencl-amd/opencl-amd.info b/libraries/opencl-amd/opencl-amd.info
new file mode 100644
index 0000000000..15f6c25ea6
--- /dev/null
+++ b/libraries/opencl-amd/opencl-amd.info
@@ -0,0 +1,70 @@
+PRGNAM="opencl-amd"
+VERSION="22.20.3"
+HOMEPAGE="https://docs.amd.com/bundle/ROCm-Release-Notes-v5.2/page/About_This_Document.html"
+DOWNLOAD="https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.110.50203-1462318~22.04_amd64.deb"
+MD5SUM="cd291312140d06b001381991c3e6ce24"
+DOWNLOAD_x86_64="https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.110.50203-1462318~22.04_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-core/rocm-core_5.2.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/c/comgr/comgr_2.4.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-dev/hip-dev_5.2.21153.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-doc/hip-doc_5.2.21153.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-samples/hip-samples_5.2.21153.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20220426.1.026.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsa-rocr/hsa-rocr_1.5.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.5.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocminfo/rocminfo_1.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hip-runtime-amd/hip-runtime-amd_5.2.21153.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-language-runtime/rocm-language-runtime_5.2.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_5.2.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-ocl-icd/rocm-ocl-icd_2.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_5.2.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-clang-ocl/rocm-clang-ocl_0.5.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/o/openmp-extras/openmp-extras_14.52.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-smi-lib/rocm-smi-lib_5.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-cmake/rocm-cmake_0.7.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.65.1.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-gdb/rocm-gdb_11.2.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-utils/rocm-utils_5.2.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocprofiler-dev/rocprofiler-dev_1.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/roctracer-dev/roctracer-dev_1.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/r/rocm-dev/rocm-dev_5.2.3.50203-109_amd64.deb \
+ https://repo.radeon.com/rocm/apt/5.2.3/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.50203-109_amd64.deb \
+ https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_22.20-1462318~22.04_amd64.deb"
+MD5SUM_x86_64="cd291312140d06b001381991c3e6ce24 \
+ 9e9e454b2f01499b37e4776530eec533 \
+ b403a97a58f7d3802638e15dc8a566b2 \
+ 95fbf52417c61aa2d441294af3fec030 \
+ 363fc77283f55ba4e586f6026b06ff66 \
+ 7f0c535e5044f79d9e1ba84a63ca6ebf \
+ ce728c0a2da5e76813cedbaaeee11d6a \
+ ed125f553e809c57a5cbed66e5937b33 \
+ 68390897e6a4e504bf1e6360ae959f1b \
+ 0c06b99160d3491a9247b9a645769e5f \
+ f6d5573414d7125d960ca69b0bd8f9a3 \
+ 82d3a0780387c3cac6954bd16b12f9d5 \
+ e68951700313b6df59ed10c4dbc6489c \
+ e71692c2c3cb0d68db58601773305bba \
+ 92f6a45225dff496b5388037f4f9b00c \
+ 663bc9a9d4a3697df7c24767a24e1e26 \
+ ad278038e217d2ec6dfa7f2507dddbff \
+ af6ad62ba60ba4137ea8af7ddcee8a5b \
+ 8fd3394fec76d9ceaadf3f24cf5ae5dd \
+ 7cfbac553e7190c616c94dc0c53b7cdb \
+ e8856743812ca9b88e482573cad8dead \
+ 680a433e33bba898e48f1155a235d9ce \
+ 95de9c5569503fb51695b324b49645df \
+ 7a841083b35338a757e63341ffd5ad29 \
+ b2c9710cb14f27a9314c39977d234c03 \
+ 5c15a2d94b8a6a20c4f336657df1382a \
+ fd19d8932d7e1e70b313d075cedfc611 \
+ 1a7f89261b907965aba5134fda33e973 \
+ 4a28be2fdacfb192981e52bd5f3c517a \
+ a9f174669faabb44f696d2ec235d654e \
+ 214f5f10b8806a1d6977af2a3a241493"
+REQUIRES=""
+MAINTAINER="Ciprian Stingu"
+EMAIL="ciprian dot stingu at gmail dot com"
diff --git a/libraries/opencl-amd/slack-desc b/libraries/opencl-amd/slack-desc
new file mode 100644
index 0000000000..2e8d0dafc5
--- /dev/null
+++ b/libraries/opencl-amd/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------------------------------------------------------|
+opencl-amd: opencl-amd (AMD OpenCL driver)
+opencl-amd:
+opencl-amd: ROCr OpenCL stack, supports Vega 10 and later products
+opencl-amd: - Legacy OpenCL stack (Proprietary), supports legacy products
+opencl-amd: older than Vega 10 - This package is intended to work
+opencl-amd: along with the free amdgpu stack.
+opencl-amd:
+opencl-amd: Homepage: https://docs.amd.com/bundle/ROCm-Release-Notes-v5.2/
+opencl-amd: page/About_This_Document.html
+opencl-amd:
+opencl-amd:
diff --git a/libraries/opencv-legacy/README b/libraries/opencv-legacy/README
deleted file mode 100644
index 4376432804..0000000000
--- a/libraries/opencv-legacy/README
+++ /dev/null
@@ -1,46 +0,0 @@
-This SlackBuild is intended for the few applications requiring a
-version of OpenCV no greater than v3.1.0. It is NOT recommended
-to install this version alongside the normal opencv package.
-
-OpenCV (Open Source Computer Vision Library) is an open source
-computer vision and machine learning software library.
-OpenCV was built to provide a common infrastructure for
-computer vision applications and to accelerate the use of
-machine perception in commercial products.
-
-OpenCV will incorporate features from a wide range of additional
-software that may exist on the host system at build time. The more
-of the relevant software packages that are available, the greater
-the feature set available in the resulting OpenCV package. The
-additional optional packages will mostly be autodetected and used
-at build time without any user intervention. Packages that are
-processed in this way include (by SBo package name):
- qt5 libdc1394 ffmpeg hdf5 VTK jdk apache-ant numpy python3 numpy3
-
-In the unlikely situation that features from these packages are not
-wanted despite already being installed on the host system,
-incorporation of some of them into OpenCV may be suppressed by setting
-the appropriate environment variable to "no" e.g.
- CVFFMPEG=no ./opencv-legacy.SlackBuild
-Features that may be excluded in this manner are controlled by the
-following environment variables:
- CV1394 CVFFMPEG CVVTK
-
-At least one optional package is not autodetected, even though the
-necessary prerequisite software may already have been installed. It
-must therefore be explicitly enabled by setting the appropriate
-environment variable:
- CVGDAL=yes ./opencv-legacy.SlackBuild
-(to support SBo's gis/gdal)
-
-Please note that some combinations of options may not be possible. In
-particular, if both qt5 and VTK are installed on the host build system,
-VTK support will be disabled unless it was built with qt5 support (which
-is possible but not its default). Conversely, if VTK has been built with
-qt5, it will be disabled in OpenCV unless it too is being built with qt5.
-
-Documentation is generated by the SlackBuild unless it is switched off
-by setting the CVDOCS environment variable i.e.
- CVDOCS=no ./opencv-legacy.SlackBuild
-The graphviz package is an optional dependency for enhanced
-documentation.
diff --git a/libraries/opencv-legacy/fsh.patch b/libraries/opencv-legacy/fsh.patch
deleted file mode 100644
index 4d391d4ad0..0000000000
--- a/libraries/opencv-legacy/fsh.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 2bb4ca7cc656969a9e2c655e594428b465edbfed Mon Sep 17 00:00:00 2001
-From: Valentin Churavy <v.churavy@gmail.com>
-Date: Sat, 28 Mar 2015 01:30:01 +0900
-Subject: [PATCH] fsh.patch
-
----
- CMakeLists.txt | 14 +++++++-------
- cmake/templates/opencv_run_all_tests_unix.sh.in | 2 +-
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d9a17b3..3b4d9ad 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -300,7 +300,7 @@ endif()
- if(ANDROID OR WIN32)
- set(OPENCV_DOC_INSTALL_PATH doc)
- else()
-- set(OPENCV_DOC_INSTALL_PATH share/OpenCV/doc)
-+ set(OPENCV_DOC_INSTALL_PATH share/doc/opencv)
- endif()
-
- if(WIN32 AND CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
-@@ -342,7 +342,7 @@ if(OPENCV_TEST_DATA_PATH AND NOT OPENCV_TEST_DATA_INSTALL_PATH)
- elseif(WIN32)
- set(OPENCV_TEST_DATA_INSTALL_PATH "testdata")
- else()
-- set(OPENCV_TEST_DATA_INSTALL_PATH "share/OpenCV/testdata")
-+ set(OPENCV_TEST_DATA_INSTALL_PATH "share/opencv/testdata")
- endif()
- endif()
-
-@@ -371,10 +371,10 @@ else()
- set(OPENCV_OTHER_INSTALL_PATH etc)
- else()
- set(OPENCV_LIB_INSTALL_PATH lib${LIB_SUFFIX})
-- set(OPENCV_3P_LIB_INSTALL_PATH share/OpenCV/3rdparty/${OPENCV_LIB_INSTALL_PATH})
-- set(OPENCV_SAMPLES_SRC_INSTALL_PATH share/OpenCV/samples)
-- set(OPENCV_JAR_INSTALL_PATH share/OpenCV/java)
-- set(OPENCV_OTHER_INSTALL_PATH share/OpenCV)
-+ set(OPENCV_3P_LIB_INSTALL_PATH share/opencv/3rdparty/${OPENCV_LIB_INSTALL_PATH})
-+ set(OPENCV_SAMPLES_SRC_INSTALL_PATH share/opencv/samples)
-+ set(OPENCV_JAR_INSTALL_PATH share/opencv/java)
-+ set(OPENCV_OTHER_INSTALL_PATH share/opencv)
- endif()
- set(OPENCV_INCLUDE_INSTALL_PATH "include")
-
-@@ -382,7 +382,7 @@ else()
- if(LIB_SUFFIX AND NOT SIZEOF_VOID_P_BITS EQUAL LIB_SUFFIX)
- set(OPENCV_CONFIG_INSTALL_PATH lib${LIB_SUFFIX}/cmake/opencv)
- else()
-- set(OPENCV_CONFIG_INSTALL_PATH share/OpenCV)
-+ set(OPENCV_CONFIG_INSTALL_PATH share/opencv)
- endif()
- endif()
-
-diff --git a/cmake/templates/opencv_run_all_tests_unix.sh.in b/cmake/templates/opencv_run_all_tests_unix.sh.in
-index 7b946af..82370dc 100644
---- a/cmake/templates/opencv_run_all_tests_unix.sh.in
-+++ b/cmake/templates/opencv_run_all_tests_unix.sh.in
-@@ -53,7 +53,7 @@ fi
-
- OPENCV_TEST_PATH=@CMAKE_INSTALL_PREFIX@/@OPENCV_TEST_INSTALL_PATH@
- OPENCV_PYTHON_TESTS=@OPENCV_PYTHON_TESTS_LIST@
--export OPENCV_TEST_DATA_PATH=@CMAKE_INSTALL_PREFIX@/share/OpenCV/testdata
-+export OPENCV_TEST_DATA_PATH=@CMAKE_INSTALL_PREFIX@/share/opencv/testdata
-
- # Run tests
-
---
-2.4.2
-
diff --git a/libraries/opencv-legacy/opencv-legacy.SlackBuild b/libraries/opencv-legacy/opencv-legacy.SlackBuild
deleted file mode 100644
index ca5cd7d6b9..0000000000
--- a/libraries/opencv-legacy/opencv-legacy.SlackBuild
+++ /dev/null
@@ -1,136 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for opencv-legacy
-
-# Copyright 2012-2015 Matt Dinslage, Springfield, MO USA
-# All rights reserved.
-# Copyright 2016-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.
-
-PRGNAM=opencv-legacy
-SRCNAM=opencv
-PRGNAM2=opencv_contrib
-VERSION=${VERSION:-3.1.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
-
-cv1394="" ; [ "${CV1394:-yes}" = "no" ] && cv1394="-DWITH_1394=OFF"
-cvffmpeg="" ; [ "${CVFFMPEG:-yes}" = "no" ] && cvffmpeg="-DWITH_FFMPEG=OFF"
-cvvtk="" ; [ "${CVVTK:-yes}" = "no" ] && cvvtk="-DWITH_VTK=OFF"
-cvgdal="" ; [ "${CVGDAL:-no}" = "yes" ] && cvgdal="-DWITH_GDAL=ON"
-cvdocs="-DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON " ; [ "${CVDOCS:-yes}" = "no" ] && cvdocs=""
-
-# Only enable PlantUML if java is available
-cvplantuml="" ; [ $(which java 2>/dev/null ) ] && cvplantuml="-DPLANTUML_JAR=$CWD/plantuml.jar"
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
-cd $SRCNAM-$VERSION
-unzip $CWD/$PRGNAM2-$VERSION.zip || unzip $CWD/$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 {} \;
-
-# http://code.opencv.org/issues/2512
-patch -p1 < $CWD/fsh.patch
-patch -p0 < $CWD/patch_vtk7.diff
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE="Release" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=$LIBDIRSUFFIX \
- -DBUILD_SHARED_LIBS=ON \
- -DENABLE_PRECOMPILED_HEADERS=OFF \
- -DWITH_IPP=OFF \
- -DWITH_QT=ON \
- -DWITH_OPENGL=ON \
- -DWITH_OPENMP=ON \
- -DWITH_XINE=ON \
- -DBUILD_CUDA_STUBS=OFF \
- -DWITH_CUDA=OFF \
- $cv1394 \
- $cvffmpeg \
- $cvvtk \
- $cvgdal \
- $cvplantuml \
- $cvdocs \
- -DOPENCV_EXTRA_MODULES_PATH=../$PRGNAM2-$VERSION/modules ..
- make VERBOSE=1
- [ "${CVDOCS:-yes}" = "yes" ] && make doxygen
- 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
-
-[ "${CVDOCS:-yes}" = "yes" ] && {
- cp -a samples/java* samples/opencl* samples/opengl* $PKG/usr/share/opencv/samples
- chmod -R 0755 $PKG/usr/share/opencv/samples
-}
-
-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
-mv $PKG/usr/share/doc/opencv/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}
diff --git a/libraries/opencv-legacy/opencv-legacy.info b/libraries/opencv-legacy/opencv-legacy.info
deleted file mode 100644
index bd2543cf06..0000000000
--- a/libraries/opencv-legacy/opencv-legacy.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="opencv-legacy"
-VERSION="3.1.0"
-HOMEPAGE="https://opencv.org/"
-DOWNLOAD="https://github.com/opencv/opencv/archive/3.1.0/opencv-3.1.0.tar.gz \
- https://github.com/opencv/opencv_contrib/archive/3.1.0/opencv_contrib-3.1.0.zip \
- http://sourceforge.net/projects/plantuml/files/plantuml.8051.jar"
-MD5SUM="a0669e22172dfc3225835b180744c9f0 \
- 0d0bfeabe539542791b465ec1c7c90e6 \
- 6ee8103fed6ad731fff2323cb28da848"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Christoph Willing"
-EMAIL="chris.willing@linux.com"
diff --git a/libraries/opencv-legacy/patch_vtk7.diff b/libraries/opencv-legacy/patch_vtk7.diff
deleted file mode 100644
index a34d3458b2..0000000000
--- a/libraries/opencv-legacy/patch_vtk7.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-# Patch for VTK-7.x derived by diff from upstream:
-# https://raw.githubusercontent.com/opencv/opencv/master/cmake/OpenCVDetectVTK.cmake
-#
---- cmake/OpenCVDetectVTK.cmake.orig 2015-12-19 01:02:16.000000000 +1000
-+++ cmake/OpenCVDetectVTK.cmake 2016-11-19 15:46:10.468197286 +1000
-@@ -3,7 +3,14 @@
- endif()
-
- # VTK 6.x components
--find_package(VTK QUIET COMPONENTS vtkRenderingOpenGL vtkInteractionStyle vtkRenderingLOD vtkIOPLY vtkFiltersTexture vtkRenderingFreeType vtkIOExport NO_MODULE)
-+find_package(VTK QUIET COMPONENTS vtkInteractionStyle vtkRenderingLOD vtkIOPLY vtkFiltersTexture vtkRenderingFreeType vtkIOExport NO_MODULE)
-+IF(VTK_FOUND)
-+ IF(VTK_RENDERING_BACKEND) #in vtk 7, the rendering backend is exported as a var.
-+ find_package(VTK QUIET COMPONENTS vtkRendering${VTK_RENDERING_BACKEND} vtkInteractionStyle vtkRenderingLOD vtkIOPLY vtkFiltersTexture vtkRenderingFreeType vtkIOExport vtkIOGeometry NO_MODULE)
-+ ELSE(VTK_RENDERING_BACKEND)
-+ find_package(VTK QUIET COMPONENTS vtkRenderingOpenGL vtkInteractionStyle vtkRenderingLOD vtkIOPLY vtkFiltersTexture vtkRenderingFreeType vtkIOExport NO_MODULE)
-+ ENDIF(VTK_RENDERING_BACKEND)
-+ENDIF(VTK_FOUND)
-
- # VTK 5.x components
- if(NOT VTK_FOUND)
diff --git a/libraries/opencv-legacy/slack-desc b/libraries/opencv-legacy/slack-desc
deleted file mode 100644
index 995d15d0c6..0000000000
--- a/libraries/opencv-legacy/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------------------------------------------------------|
-opencv-legacy: opencv-legacy (Open Source Computer Vision)
-opencv-legacy:
-opencv-legacy: OpenCV (Open Source Computer Vision Library) is an open source
-opencv-legacy: computer vision and machine learning software library. OpenCV was
-opencv-legacy: built to provide a common infrastructure for computer vision
-opencv-legacy: applications and to accelerate the use of machine perception in
-opencv-legacy: commercial products.
-opencv-legacy:
-opencv-legacy: Intended for SlackBuilds requiring opencv no greater than v3.1.0.
-opencv-legacy:
-opencv-legacy: Homepage: https://www.opencv.org
diff --git a/libraries/opencv/README b/libraries/opencv/README
deleted file mode 100644
index d2e02e42d9..0000000000
--- a/libraries/opencv/README
+++ /dev/null
@@ -1,78 +0,0 @@
-OpenCV (Open Source Computer Vision Library) is an open source
-computer vision and machine learning software library.
-OpenCV was built to provide a common infrastructure for
-computer vision applications and to accelerate the use of
-machine perception in commercial products.
-
-This SlackBuild is incompatible with the opencv-legacy SlackBuild
-so they should not be installed simultaneously.
-
-OpenCV will incorporate features from a wide range of additional
-software that may exist on the host system at build time. The more
-of the relevant software packages that are available, the greater
-the feature set available in the resulting OpenCV package. The
-additional optional packages will mostly be autodetected and used
-at build time without any user intervention. Packages that are
-processed in this way include (by SBo package name):
- libdc1394 ffmpeg hdf5 VTK libwebp tesseract glog
- apache-ant numpy OpenBLAS openjdk8 (or openjdk or jdk)
-
-In the unlikely situation that features from these packages are not
-wanted despite already being installed on the host system,
-incorporation of some of them into OpenCV may be suppressed by setting
-the appropriate environment variable to "no" e.g.
- CVFFMPEG=no sh ./opencv.SlackBuild
-Features that may be excluded in this manner are controlled by the
-following environment variables:
- CV1394 CVFFMPEG CVVTK
-
-At least one optional package is not autodetected, even though the
-necessary prerequisite software may already have been installed. It
-must therefore be explicitly enabled by setting the appropriate
-environment variable:
- CVGDAL=yes ./opencv.SlackBuild
-(to support SBo's gis/gdal)
-
-Access to patented algorithms e.g.SIFT/SURF may be enabled by setting
-the CVNONFREE environment variable:
- CVNONFREE=yes ./opencv.SlackBuild
-
-Please note that some combinations of options may not be possible. In
-particular, if both qt5 and VTK are installed on the host build system,
-VTK support will be disabled unless it was built with qt5 support (which
-is possible but not its default). Conversely, if VTK has been built with
-qt5, it will be disabled in OpenCV unless it too is being built with qt5.
-
-Since opencv version 4.1.1, Qt5 is the required widget framework
-(Qt4 is insufficient). Therefore qt5 is now a required dependency,
-although this may be bypassed (with reduced functionality) by setting
-the CVQT5 environment variable e.g.
- CVQT5=no sh ./opencv.SlackBuild
-
-This package is configured to generate python bindings for Python 3 (via
-dependency on the numpy3 package). If bindings for Python 2 are required,
-the numpy package is required when building opencv.
-
-The Deep Neural Network module and Extra 2D Features Framework from
-OpenCV's "extra modules" section are disabled by default. They may be
-enabled by setting the DNN and/or XF2D environment variables as required
-e.g.
- DNN=yes sh ./opencv.SlackBuild
-Enabling either of these modules results in additional downloading during
-the configure stage of building.
-
-The face recognition module is enabled by default. This incurs an additional
-download of the face_landmark_model.dat file (~70M) from OpenCV's github
-repository during configuration. If this is not desired, the face module
-can be disabled by setting OCV_FACE environment variable to "no"
-e.g.
- OCV_FACE=no sh ./opencv.SlackBuild
-
-Documentation is generated by the SlackBuild unless it is switched off
-by setting the CVDOCS environment variable i.e.
- CVDOCS=no sh ./opencv.SlackBuild
-Enabling the documentation results in additional downloading of example data
-during the configure stage of building.
-
-The graphviz package is an optional dependency for enhanced
-documentation.
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
deleted file mode 100644
index f6f32bf9e7..0000000000
--- a/libraries/opencv/opencv.SlackBuild
+++ /dev/null
@@ -1,139 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for opencv
-
-# Copyright 2012-2015 Matt Dinslage, Springfield, MO USA
-# All rights reserved.
-# Copyright 2016-2020 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.
-
-PRGNAM=opencv
-PRGNAM2=opencv_contrib
-VERSION=${VERSION:-4.2.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
-
-qt5="-DWITH_QT=ON" ; [ "${CVQT5:-yes}" = "no" ] && qt5="-DWITH_QT=OFF"
-cvnonfree="" ; [ "${CVNONFREE:-no}" = "yes" ] && cvnonfree="-DOPENCV_ENABLE_NONFREE=ON"
-cv1394="" ; [ "${CV1394:-yes}" = "no" ] && cv1394="-DWITH_1394=OFF"
-cvffmpeg="" ; [ "${CVFFMPEG:-yes}" = "no" ] && cvffmpeg="-DWITH_FFMPEG=OFF"
-cvvtk="" ; [ "${CVVTK:-yes}" = "no" ] && cvvtk="-DWITH_VTK=OFF"
-cvgdal="" ; [ "${CVGDAL:-no}" = "yes" ] && cvgdal="-DWITH_GDAL=ON"
-dnn="-DBUILD_opencv_dnn=OFF" ; [ "${DNN:-no}" = "yes" ] && dnn=""
-face="" ; [ "${OCV_FACE:-yes}" = "no" ] && face="-DBUILD_opencv_face=OFF"
-xf2d="-DBUILD_opencv_xfeatures2d=OFF" ; [ "${XF2D:-no}" = "yes" ] && xf2d=""
-cvdocs="-DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON " ; [ "${CVDOCS:-yes}" = "no" ] && cvdocs=""
-
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-echo "Unpacking $CWD/$PRGNAM-$VERSION.tar.gz ..."
-tar xf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-echo "Unpacking $CWD/$PRGNAM2-$VERSION.tar.gz ..."
-tar xf $CWD/$PRGNAM2-$VERSION.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 build
-cd build
- cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE="Release" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -DOPENCV_GENERATE_PKGCONFIG=ON \
- -DPYTHON2_PACKAGES_PATH=$(python2 -c "import site; print(site.getsitepackages()[0])") \
- -DPYTHON3_PACKAGES_PATH=$(python3 -c "import site; print(site.getsitepackages()[0])") \
- -DENABLE_PRECOMPILED_HEADERS=OFF \
- -DWITH_IPP=OFF \
- -DWITH_OPENGL=ON \
- -DWITH_OPENMP=ON \
- -DWITH_XINE=ON \
- -DBUILD_CUDA_STUBS=OFF \
- -DWITH_CUDA=OFF \
- $qt5 \
- $cv1394 \
- $cvffmpeg \
- $cvvtk \
- $cvgdal \
- $dnn \
- $face \
- $xf2d \
- $cvdocs \
- $cvnonfree \
- -DOPENCV_EXTRA_MODULES_PATH=../$PRGNAM2-$VERSION/modules ..
-
- make VERBOSE=1
- [ "${CVDOCS:-yes}" = "yes" ] && make doxygen
- 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
-mv $PKG/usr/share/licenses $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
-mv $PKG/usr/share/doc/opencv4/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}
diff --git a/libraries/opencv/opencv.info b/libraries/opencv/opencv.info
deleted file mode 100644
index 5822a26dbf..0000000000
--- a/libraries/opencv/opencv.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="opencv"
-VERSION="4.2.0"
-HOMEPAGE="https://opencv.org/"
-DOWNLOAD="https://github.com/opencv/opencv/archive/4.2.0/opencv-4.2.0.tar.gz \
- https://github.com/opencv/opencv_contrib/archive/4.2.0/opencv_contrib-4.2.0.tar.gz"
-MD5SUM="e8cb208ce2723481408b604b480183b6 \
- 7f8111deb2ce3ed6c87ede8b3bf82031"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="numpy3 qt5"
-MAINTAINER="Christoph Willing"
-EMAIL="chris.willing@linux.com"
diff --git a/libraries/opencv/slack-desc b/libraries/opencv/slack-desc
deleted file mode 100644
index 1de2d629ee..0000000000
--- a/libraries/opencv/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------------------------------------------------------|
-opencv: opencv (Open Source Computer Vision)
-opencv:
-opencv: OpenCV (Open Source Computer Vision Library) is an open source
-opencv: computer vision and machine learning software library. OpenCV was
-opencv: built to provide a common infrastructure for computer vision
-opencv: applications and to accelerate the use of machine perception in
-opencv: commercial products.
-opencv:
-opencv: Homepage: https://www.opencv.org
-opencv:
-opencv:
diff --git a/libraries/opendht/opendht.SlackBuild b/libraries/opendht/opendht.SlackBuild
index e462c6248d..f226b97c3c 100644
--- a/libraries/opendht/opendht.SlackBuild
+++ b/libraries/opendht/opendht.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opendht
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - move HTML docs to proper Slackware doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opendht
VERSION=${VERSION:-1.7.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
mkdir -p build
cd build
@@ -78,13 +88,13 @@ cd build
-DOPENDHT_TOOLS=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
+[ -e $PKG/usr/share/doc/$PRGNAM/html ] && \
+ mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share # 20220424 bkw: nothing but doc/ here.
cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/libraries/opendht/opendht.info b/libraries/opendht/opendht.info
index 0a0f23e88f..f1831be4a9 100644
--- a/libraries/opendht/opendht.info
+++ b/libraries/opendht/opendht.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/savoirfairelinux/opendht/archive/1.7.4/opendht-1.7.
MD5SUM="70e3a67ff30c183167231665e0e5de35"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="msgpack-c argon2"
+REQUIRES="msgpack-c"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"
diff --git a/libraries/openimagedenoise/README b/libraries/openimagedenoise/README
new file mode 100644
index 0000000000..2b1199973f
--- /dev/null
+++ b/libraries/openimagedenoise/README
@@ -0,0 +1,36 @@
+Intel Open Image Denoise
+
+This build does NOT build support for CUDA/Xe/RDNA, patches welcome.
+
+Intel Open Image Denoise is an open source library of high-performance,
+high-quality denoising filters for images rendered with ray tracing.
+Intel Open Image Denoise is part of the Intel® Rendering Toolkit and is
+released under the permissive Apache 2.0 license.
+
+The purpose of Intel Open Image Denoise is to provide an open,
+high-quality, efficient, and easy-to-use denoising library that allows
+one to significantly reduce rendering times in ray tracing based
+rendering applications. It filters out the Monte Carlo noise inherent to
+stochastic ray tracing methods like path tracing, reducing the amount of
+necessary samples per pixel by even multiple orders of magnitude
+(depending on the desired closeness to the ground truth). A simple but
+flexible C/C++ API ensures that the library can be easily integrated
+into most existing or new rendering solutions.
+
+At the heart of the Intel Open Image Denoise library is a collection of
+efficient deep learning based denoising filters, which were trained to
+handle a wide range of samples per pixel (spp), from 1 spp to almost
+fully converged. Thus it is suitable for both preview and final-frame
+rendering. The filters can denoise images either using only the noisy
+color (beauty) buffer, or, to preserve as much detail as possible, can
+optionally utilize auxiliary feature buffers as well (e.g. albedo,
+normal). Such buffers are supported by most renderers as arbitrary
+output variables (AOVs) or can be usually implemented with little
+effort.
+
+Although the library ships with a set of pre-trained filter models, it
+is not mandatory to use these. To optimize a filter for a specific
+renderer, sample count, content type, scene, etc., it is possible to
+train the model using the included training toolkit and user-provided
+image datasets.
+
diff --git a/libraries/openimagedenoise/openimagedenoise.SlackBuild b/libraries/openimagedenoise/openimagedenoise.SlackBuild
new file mode 100644
index 0000000000..b5abac8ae8
--- /dev/null
+++ b/libraries/openimagedenoise/openimagedenoise.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for openimagedenoise
+
+# Copyright 2024, 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=openimagedenoise
+VERSION=${VERSION:-2.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+
+TARNAM=oidn
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $TARNAM-$VERSION
+tar xvf $CWD/$TARNAM-$VERSION.src.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 {} +
+
+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 \
+ -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 \
+ CHANGELOG.md README.md SECURITY.md LICENSE.txt \
+ doc readme.pdf third-party-programs-oneDNN.txt \
+third-party-programs-oneTBB.txt \
+third-party-programs.txt \
+third-party-programs-DPCPP.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mv $PKG/usr/share/doc $PKG/usr/doc/$PRGNAM-$VERSION/built_doc
+rm -rf $PKG/usr/share
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/openimagedenoise/openimagedenoise.info b/libraries/openimagedenoise/openimagedenoise.info
new file mode 100644
index 0000000000..5ee4467e5d
--- /dev/null
+++ b/libraries/openimagedenoise/openimagedenoise.info
@@ -0,0 +1,10 @@
+PRGNAM="openimagedenoise"
+VERSION="2.2.2"
+HOMEPAGE="https://www.openimagedenoise.org/"
+DOWNLOAD="https://github.com/OpenImageDenoise/oidn/releases/download/v2.2.2/oidn-2.2.2.src.tar.gz"
+MD5SUM="40c04b0371334ab863230e99a587fd59"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ispc"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.openimagedenoise_2024-03-19@lockywolf.net"
diff --git a/libraries/openimagedenoise/slack-desc b/libraries/openimagedenoise/slack-desc
new file mode 100644
index 0000000000..68058ac61a
--- /dev/null
+++ b/libraries/openimagedenoise/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------------------------------------------------------|
+openimagedenoise: openimagedenoise (High-Performance Denoising Library for Ray Tracing)
+openimagedenoise:
+openimagedenoise: Intel Open Image Denoise is an open source library of high
+openimagedenoise: performance, high-quality denoising filters for images rendered with
+openimagedenoise: ray tracing. Intel Open Image Denoise is part of the Intel Rendering
+openimagedenoise: Toolkit.
+openimagedenoise:
+openimagedenoise:
+openimagedenoise:
+openimagedenoise:
+openimagedenoise:
diff --git a/libraries/openjfx/README b/libraries/openjfx/README
deleted file mode 100644
index 69d39c04e9..0000000000
--- a/libraries/openjfx/README
+++ /dev/null
@@ -1,10 +0,0 @@
-OpenJFX is an open source, next generation client application platform for
-desktop and embedded systems based on JavaSE. It is a collaborative effort by
-many individuals and companies with the goal of producing a modern, efficient,
-and fully featured toolkit for developing rich client applications.
-
-This SlackBuild is based on a binary build of OpenJFX provided by Chris
-Newland, https://chriswhocodes.com/
-
-This SlackBuild should be used specifically with OpenJDK, because the
-Oracle JRE and JDK already include JavaFX.
diff --git a/libraries/openjfx/openjfx.SlackBuild b/libraries/openjfx/openjfx.SlackBuild
deleted file mode 100644
index af2c3f8fc8..0000000000
--- a/libraries/openjfx/openjfx.SlackBuild
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for openjfx
-
-# Copyright 2017 Heiko Rosemann 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=openjfx
-VERSION=${VERSION:-8u60}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM="$PRGNAM-$VERSION-sdk-overlay-linux-amd64.zip"
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ "$ARCH" != "x86_64" ]; then
- echo "ARCH $ARCH is not supported." ; exit 1
-fi
-
-# Check for valid 64bit JRE and $JAVA_HOME setting
-if ! echo $JAVA_HOME | grep 64 ; then
- echo "No valid JRE installation found in $JAVA_HOME to match ARCH $ARCH or $JAVA_HOME not set properly."; exit 1
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG/$JAVA_HOME $OUTPUT
-cd $PKG/$JAVA_HOME
-unzip $CWD/$SRCNAM
-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 {} \;
-
-find $PKG/$JAVA_HOME/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/$JAVA_HOME/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-# Remove empty directories
-find $PKG -depth -type d -empty -delete || true
-
-mkdir -p $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:-tgz}
diff --git a/libraries/openjfx/openjfx.info b/libraries/openjfx/openjfx.info
deleted file mode 100644
index 476af98108..0000000000
--- a/libraries/openjfx/openjfx.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="openjfx"
-VERSION="8u60"
-HOMEPAGE="http://openjdk.java.net/projects/openjfx/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://chriswhocodes.com/downloads/openjfx-8u60-sdk-overlay-linux-amd64.zip"
-MD5SUM_x86_64="d79cb1d5aa8794db82bf2ab74ab65a3f"
-REQUIRES="openjdk8"
-MAINTAINER="Heiko Rosemann"
-EMAIL="heiko.rosemann@web.de"
diff --git a/libraries/openjfx/slack-desc b/libraries/openjfx/slack-desc
deleted file mode 100644
index 52b7fd68c1..0000000000
--- a/libraries/openjfx/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------------------------------------------------------|
-openjfx: openjfx (Open Source JavaFX implementation - binary distribution)
-openjfx:
-openjfx: OpenJFX is an open source, next generation client application
-openjfx: platform for desktop and embedded systems based on JavaSE,
-openjfx: implementing the JavaFX framework. It is a collaborative effort with
-openjfx: the goal of producing a fully featured toolkit for developing rich
-openjfx: client applications with OpenJDK.
-openjfx: If you use the Oracle JDK/JRE, they already include JavaFX.
-openjfx:
-openjfx: This SlackBuild is based on a binary build of OpenJFX provided by
-openjfx: Chris Newland, https://chriswhocodes.com
diff --git a/libraries/opensaml/opensaml.SlackBuild b/libraries/opensaml/opensaml.SlackBuild
index 5f5fa8c9d3..d4f205ba2a 100644
--- a/libraries/opensaml/opensaml.SlackBuild
+++ b/libraries/opensaml/opensaml.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenSAML
-# Copyright 2013-2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2013-2023 Thibaut Notteboom, Paris, FRANCE
# 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=opensaml
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-3.2.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}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -79,6 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mv $PKG/usr/share/doc $PKG/usr/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -86,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/libraries/opensaml/opensaml.info b/libraries/opensaml/opensaml.info
index 0a9deb10ac..2cb640d200 100644
--- a/libraries/opensaml/opensaml.info
+++ b/libraries/opensaml/opensaml.info
@@ -1,8 +1,8 @@
PRGNAM="opensaml"
-VERSION="3.0.1"
+VERSION="3.2.1"
HOMEPAGE="https://wiki.shibboleth.net/confluence/display/OpenSAML/Home"
-DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.0.1/opensaml-3.0.1.tar.gz"
-MD5SUM="b164abd784f3cfa0f5e410435b16ea06"
+DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.2.1/opensaml-3.2.1.tar.gz"
+MD5SUM="e2d19131b61027caf5fc12be9f35c211"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xmltooling"
diff --git a/libraries/openvdb/README b/libraries/openvdb/README
new file mode 100644
index 0000000000..8e832e44fc
--- /dev/null
+++ b/libraries/openvdb/README
@@ -0,0 +1,16 @@
+OpenVDB is an Academy Award-winning open-source C++ library comprising
+a novel hierarchical data structure and a suite of tools for the
+efficient storage and manipulation of sparse volumetric data
+discretized on three-dimensional grids. It was developed by DreamWorks
+Animation for use in volumetric applications typically encountered in
+feature film production and is now maintained by the Academy Software
+Foundation (ASWF).
+
+OpenVDB can be compiled with Houdini (not on SBo), if someone needs
+support for it, feel free to modify the slackbuild to set
+
+-DOPENVDB_BUILD_HOUDINI_PLUGIN=ON
+
+VDB is a format for storing "volumetric data", such as fog, clouds,
+and "point cloud" in scientific data.
+
diff --git a/libraries/openvdb/openvdb.SlackBuild b/libraries/openvdb/openvdb.SlackBuild
new file mode 100644
index 0000000000..465bb243a4
--- /dev/null
+++ b/libraries/openvdb/openvdb.SlackBuild
@@ -0,0 +1,128 @@
+#!/bin/bash
+
+# Slackware build script for openvdb
+
+# 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=openvdb
+VERSION=${VERSION:-10.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"
+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 \
+ -DOPENVDB_BUILD_AX=ON \
+ -DOPENVDB_BUILD_DOCS=ON \
+ -DOPENVDB_BUILD_MAYA_PLUGIN=OFF \
+ -DOPENVDB_BUILD_HOUDINI_PLUGIN=OFF \
+ -DOPENVDB_BUILD_NANOVDB=ON \
+ -DOPENVDB_BUILD_PYTHON_MODULE=ON \
+ -DOPENVDB_BUILD_VDB_AX=ON \
+ -DOPENVDB_BUILD_VDB_LOD=ON \
+ -DOPENVDB_BUILD_VDB_RENDER=ON \
+ -DOPENVDB_BUILD_VDB_TOOL=ON \
+ -DOPENVDB_BUILD_VDB_VIEW=ON \
+ -DOPENVDB_CORE_STATIC=OFF \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DUSE_PNG=ON \
+ -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
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
+
+cp -a \
+ CONTRIBUTING.md 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/libraries/openvdb/openvdb.info b/libraries/openvdb/openvdb.info
new file mode 100644
index 0000000000..f27cbec8cb
--- /dev/null
+++ b/libraries/openvdb/openvdb.info
@@ -0,0 +1,10 @@
+PRGNAM="openvdb"
+VERSION="10.0.1"
+HOMEPAGE="https://github.com/AcademySoftwareFoundation/openvdb/"
+DOWNLOAD="https://github.com/AcademySoftwareFoundation/openvdb/archive/v10.0.1/openvdb-10.0.1.tar.gz"
+MD5SUM="0239ff0c912a3eac76bd6a4ae1b03522"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="c-blosc tbb glfw3"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.openvdb_2023-07-12@lockywolf.net"
diff --git a/libraries/openvdb/slack-desc b/libraries/openvdb/slack-desc
new file mode 100644
index 0000000000..aca8c72974
--- /dev/null
+++ b/libraries/openvdb/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------------------------------------------------------|
+openvdb: openvdb (a library for working with volumetric data forman VDB)
+openvdb:
+openvdb: OpenVDB is an Academy Award-winning open-source C++ library
+openvdb: comprising a novel hierarchical data structure and a suite of tools
+openvdb: for the efficient storage and manipulation of sparse volumetric data
+openvdb: discretized on three-dimensional grids. It was developed by
+openvdb: DreamWorks Animation for use in volumetric applications typically
+openvdb: encountered in feature film production and is now maintained by the
+openvdb: Academy Software Foundation (ASWF).
+openvdb:
+openvdb:
diff --git a/libraries/openvino/README b/libraries/openvino/README
new file mode 100644
index 0000000000..5370ef436e
--- /dev/null
+++ b/libraries/openvino/README
@@ -0,0 +1,9 @@
+OpenVINO is an open-source toolkit for optimizing and deploying AI
+inference.
+
+Supported hardware:
+https://docs.openvino.ai/2024/about-openvino/system-requirements.html
+
+The dependency oneTBB needs to be compiled with its optional
+dependency hwloc, otherwise libtbbbind-2.5 is missing and openvino
+will fail to build.
diff --git a/libraries/openvino/openvino.SlackBuild b/libraries/openvino/openvino.SlackBuild
new file mode 100644
index 0000000000..0bd25aea3b
--- /dev/null
+++ b/libraries/openvino/openvino.SlackBuild
@@ -0,0 +1,180 @@
+#!/bin/bash
+
+# Slackware build script for openvino
+
+# Copyright 2024 Johannes Schoepfer, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=openvino
+VERSION=${VERSION:-2024.0.0}
+VERSION_FLATBUFFERS=24.3.25
+VERSION_ONNX=1.16.0
+VERSION_ITTAPI=3.24.4
+VERSION_ONEDNN_GPU=3.4.1
+COMMIT_ONEDNN=26633ae49edd4353a29b7170d9fcef6b2d79f4b3
+COMMIT_MLAS=d1bc25ec4660cddd87804fcf03b2411b5dfb2e94
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+# Flatbuffers from SBo provide broken cmake files(static-lib removed but static-lib-cmake-files not removed)
+(
+cd thirdparty/flatbuffers/
+rmdir flatbuffers
+tar vxf $CWD/flatbuffers-$VERSION_FLATBUFFERS.tar.gz
+ln -s flatbuffers-$VERSION_FLATBUFFERS flatbuffers
+)
+# onnx frontend
+(
+cd thirdparty/onnx/
+rmdir onnx
+tar vxf $CWD/onnx-$VERSION_ONNX.tar.gz
+ln -s onnx-$VERSION_ONNX onnx
+)
+# ittapi
+(
+cd thirdparty/ittapi/
+rmdir ittapi
+tar vxf $CWD/ittapi-$VERSION_ITTAPI.tar.gz
+ln -s ittapi-$VERSION_ITTAPI ittapi
+)
+# mlas for cpu inference device
+(
+cd src/plugins/intel_cpu/thirdparty
+rmdir mlas
+tar vxf $CWD/mlas-$COMMIT_MLAS.tar.gz
+ln -s mlas-$COMMIT_MLAS mlas
+)
+# oneDNN for cpu inference device, fork from openvinotoolkit needed
+# oneDNN supports 64 bit platforms only
+if [ "$LIBDIRSUFFIX" == 64 ]; then
+ CPU=ON
+ GPU=ON
+ (
+ cd src/plugins/intel_cpu/thirdparty
+ rmdir onednn
+ tar vxf $CWD/oneDNN-$COMMIT_ONEDNN.tar.gz
+ ln -s oneDNN-$COMMIT_ONEDNN onednn
+ )
+ # oneDNN for gpu inference device, original project
+ (
+ cd src/plugins/intel_gpu/thirdparty
+ rmdir onednn_gpu
+ tar vxf $CWD/oneDNN-$VERSION_ONEDNN_GPU.tar.gz
+ ln -s oneDNN-$VERSION_ONEDNN_GPU onednn_gpu
+ )
+else
+ CPU=OFF
+ GPU=OFF
+fi
+
+mkdir -p build
+cd build
+ unshare -n cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_STANDARD=17 \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_PREFIX=/usr/share/openvino \
+ -DENABLE_SYSTEM_SNAPPY=ON \
+ -DENABLE_SYSTEM_TBB=ON \
+ -DENABLE_SYSTEM_PROTOBUF=ON \
+ -DENABLE_SYSTEM_PUGIXML=ON \
+ -DProtobuf_LIBRARY=/usr/lib$LIBDIRSUFFIX/libprotobuf.so \
+ -DENABLE_LTO=ON \
+ -DENABLE_PROFILING_ITT=ON \
+ -DENABLE_TBBBIND_2_5=OFF \
+ -DENABLE_JS=OFF \
+ -DENABLE_SAMPLES=OFF \
+ -DENABLE_INTEL_CPU=$CPU \
+ -DENABLE_INTEL_GPU=$GPU \
+ -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# We don't build samples, so we remove samples stub files
+rm -rf $PKG/usr/share/openvino/samples
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/openvino/openvino.info b/libraries/openvino/openvino.info
new file mode 100644
index 0000000000..60fe2c863b
--- /dev/null
+++ b/libraries/openvino/openvino.info
@@ -0,0 +1,22 @@
+PRGNAM="openvino"
+VERSION="2024.0.0"
+HOMEPAGE="https://github.com/openvinotoolkit/openvino/"
+DOWNLOAD="https://github.com/openvinotoolkit/openvino/archive/2024.0.0/openvino-2024.0.0.tar.gz \
+ https://github.com/openvinotoolkit/mlas/archive/d1bc25e/mlas-d1bc25ec4660cddd87804fcf03b2411b5dfb2e94.tar.gz \
+ https://github.com/openvinotoolkit/onednn/archive/26633ae/oneDNN-26633ae49edd4353a29b7170d9fcef6b2d79f4b3.tar.gz \
+ https://github.com/oneapi-src/oneDNN/archive/v3.4.1/oneDNN-3.4.1.tar.gz \
+ https://github.com/google/flatbuffers/archive/v24.3.25/flatbuffers-24.3.25.tar.gz \
+ https://github.com/onnx/onnx/archive/v1.16.0/onnx-1.16.0.tar.gz \
+ https://github.com/intel/ittapi/archive/v3.24.4/ittapi-3.24.4.tar.gz"
+MD5SUM="5fec9788393e2f48033e6acf839ee11f \
+ 0e87473410db355fd9251a2e1337dc32 \
+ 2cbdb4f80608959b3c013bab745bb807 \
+ 8e355bb8b51db1e80e9a93953355f1a9 \
+ f28f12fc16c72f4e7c22066a35405c3a \
+ 5ef5a7bd4f9dad914bddc3b4335a67cd \
+ aec402d3441bb8ecb9c8e75bab6cc102"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="protobuf3 oneTBB xbyak pugixml snappy pybind11 OpenCL-CLHPP"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/libraries/openvino/slack-desc b/libraries/openvino/slack-desc
new file mode 100644
index 0000000000..d5180cdf26
--- /dev/null
+++ b/libraries/openvino/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+openvino: openvino (toolkit for optimizing and deploying AI inference)
+openvino:
+openvino: OpenVINO is an open-source toolkit for optimizing and deploying AI
+openvino: inference.
+openvino:
+openvino: Supported hardware:
+openvino: https://docs.openvino.ai/2024/about-openvino/system-requirements.html
+openvino:
+openvino:
+openvino: https://github.com/openvinotoolkit/openvino/
+openvino:
diff --git a/libraries/openvkl/README b/libraries/openvkl/README
new file mode 100644
index 0000000000..33966d96c4
--- /dev/null
+++ b/libraries/openvkl/README
@@ -0,0 +1,33 @@
+Intel Open Volume Kernel Library (Intel Open VKL) is a collection of
+high-performance volume computation kernels, developed at Intel. The
+target users of Open VKL are graphics application engineers who want to
+improve the performance of their volume rendering applications by
+leveraging Open VKL’s performance-optimized kernels, which include
+volume traversal and sampling functionality for a variety of volumetric
+data formats. Open VKL supports x86 CPUs under Linux, macOS, and
+Windows; ARM CPUs on macOS; as well as Intel® GPUs under Linux and
+Windows (currently in beta).
+
+Open VKL contains kernels optimized for the latest x86 processors with
+support for SSE, AVX, AVX2, and AVX-512 instructions, and for ARM
+processors with support for NEON instructions. Open VKL supports Intel
+GPUs based on the Xe HPG microarchitecture (Intel® Arc™ GPU) under
+Linux and Windows and Xe HPC microarchitecture (Intel® Data Center GPU
+Flex Series and Intel® Data Center GPU Max Series) under Linux. Intel
+GPU support leverages the SYCL open standard programming language; SYCL
+allows one to write C++ code that can be run on various devices, such
+as CPUs and GPUs. Open VKL is part of the Intel® oneAPI Rendering
+Toolkit and is released under the permissive Apache 2.0 license.
+
+Open VKL provides a C-based API on CPU and GPU, and also supports
+applications written with the Intel Implicit SPMD Program Compiler
+(Intel ISPC) for CPU by also providing an ISPC interface to the core
+volume algorithms. This makes it possible to write a renderer in ISPC
+that automatically vectorizes and leverages SSE, AVX, AVX2, AVX-512,
+and NEON instructions. ISPC also supports runtime code selection, thus
+ISPC will select the best code path for your application.
+
+In addition to the volume kernels, Open VKL provides tutorials and
+example renderers to demonstrate how to best use the Open VKL API.
+
+IMPORTANT: this build requires llvm-17 from Slackware64-15.0/extra
diff --git a/libraries/openvkl/openvkl.SlackBuild b/libraries/openvkl/openvkl.SlackBuild
new file mode 100644
index 0000000000..fac93fe68f
--- /dev/null
+++ b/libraries/openvkl/openvkl.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for openvkl
+
+# Copyright 2024, 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=openvkl
+VERSION=${VERSION:-2.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"
+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 \
+ -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 \
+ CHANGELOG.md README.md SECURITY.md LICENSE.txt \
+ third-party-programs-TBB.txt third-party-programs-Embree.txt \
+ third-party-programs.txt third-party-programs-OSPRay.txt \
+ doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/doc
+rmdir $PKG/usr/share
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/openvkl/openvkl.info b/libraries/openvkl/openvkl.info
new file mode 100644
index 0000000000..899c82cee4
--- /dev/null
+++ b/libraries/openvkl/openvkl.info
@@ -0,0 +1,10 @@
+PRGNAM="openvkl"
+VERSION="2.0.1"
+HOMEPAGE="https://github.com/openvkl/openvkl/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/openvkl/openvkl/archive/v2.0.1/openvkl-2.0.1.tar.gz"
+MD5SUM_x86_64="992e57cf395a6fea146a1ca8c608d6d4"
+REQUIRES="rkcommon embree"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.openvkl_2024-03-05@lockywolf.net"
diff --git a/libraries/openvkl/slack-desc b/libraries/openvkl/slack-desc
new file mode 100644
index 0000000000..35d5f4869b
--- /dev/null
+++ b/libraries/openvkl/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------------------------------------------------------|
+openvkl: openvkl (Intel Open Volume Kernel Library)
+openvkl:
+openvkl: Intel Open Volume Kernel Library (Intel Open VKL) is a collection
+openvkl: of high-performance volume computation kernels, developed at Intel.
+openvkl: The target users of Open VKL are graphics application engineers who
+openvkl: want to improve the performance of their volume rendering
+openvkl: applications by leveraging Open VKL's performance-optimized kernels,
+openvkl: which include volume traversal and sampling functionality for a
+openvkl: variety of volumetric data formats.
+openvkl:
+openvkl:
diff --git a/libraries/orcania/orcania.SlackBuild b/libraries/orcania/orcania.SlackBuild
index 363ee93c1b..f3889ea74c 100644
--- a/libraries/orcania/orcania.SlackBuild
+++ b/libraries/orcania/orcania.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for orcania
#
# 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=orcania
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.3.3}
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}
@@ -47,6 +57,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=""
@@ -72,6 +85,7 @@ cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install DESTDIR=$PKG
@@ -80,6 +94,9 @@ 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
DOCS="CHANGELOG.md LICENSE README.md"
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -89,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/libraries/orcania/orcania.info b/libraries/orcania/orcania.info
index 0b8d0fc7f7..1ed2dc2861 100644
--- a/libraries/orcania/orcania.info
+++ b/libraries/orcania/orcania.info
@@ -1,10 +1,10 @@
PRGNAM="orcania"
-VERSION="2.1.0"
+VERSION="2.3.3"
HOMEPAGE="https://github.com/babelouest/orcania"
-DOWNLOAD="https://github.com/babelouest/orcania/archive/v2.1.0/orcania-2.1.0.tar.gz"
-MD5SUM="9eba5d4f1a553e95f62da2ea35500dde"
+DOWNLOAD="https://github.com/babelouest/orcania/archive/v2.3.3/orcania-2.3.3.tar.gz"
+MD5SUM="6e4b0ddedecfe85f6a5b3aa7f263fc6f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jansson"
+REQUIRES=""
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"
diff --git a/libraries/ordereddict/ordereddict.SlackBuild b/libraries/ordereddict/ordereddict.SlackBuild
index 8cea5a38e7..b2ef443ccb 100644
--- a/libraries/ordereddict/ordereddict.SlackBuild
+++ b/libraries/ordereddict/ordereddict.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ordereddict
@@ -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=ordereddict
VERSION=${VERSION:-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}
@@ -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/libraries/osgQt/README b/libraries/osgQt/README
index bacfa07668..b52a0b7ed5 100644
--- a/libraries/osgQt/README
+++ b/libraries/osgQt/README
@@ -1,8 +1 @@
This is a Qt project for making use of OpenSceneGraph (OSG).
-
-By default, this SlackBuild will build a Qt4 library.
-If a Qt5 version is desired instead, set the OSGQT
-environment variable when building osgQt i.e.
- OSGQT=5 sh osgQt.SlackBuild
-In this case, the qt5 package is an additional requirement
-when building.
diff --git a/libraries/osgQt/osgQt.SlackBuild b/libraries/osgQt/osgQt.SlackBuild
index 20b0ec5bf8..f1a50aeeaa 100644
--- a/libraries/osgQt/osgQt.SlackBuild
+++ b/libraries/osgQt/osgQt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for osgQt
@@ -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=osgQt
-VERSION=${VERSION:-3.5.5}
+VERSION=${VERSION:-20210405_8fa9e2a}
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,15 +64,13 @@ else
LIBDIRSUFFIX=""
fi
-osgqt="-DDESIRED_QT_VERSION=4"; [ "${OSGQT:-4}" = "5" ] && osgqt="-DDESIRED_QT_VERSION=5"
-
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.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -77,8 +85,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- $osgqt
+ -DCMAKE_BUILD_TYPE=Release
make
make install DESTDIR=$PKG
@@ -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/libraries/osgQt/osgQt.info b/libraries/osgQt/osgQt.info
index 9e9f97b07c..91a434a7ac 100644
--- a/libraries/osgQt/osgQt.info
+++ b/libraries/osgQt/osgQt.info
@@ -1,8 +1,8 @@
PRGNAM="osgQt"
-VERSION="3.5.5"
+VERSION="20210405_8fa9e2a"
HOMEPAGE="https://github.com/openscenegraph/osgQt"
-DOWNLOAD="https://github.com/openscenegraph/osgQt/archive/3.5.5/osgQt-3.5.5.tar.gz"
-MD5SUM="90da7a650bfa20c0c42cda93dc61b27f"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/osgQt-20210405_8fa9e2a.tar.xz"
+MD5SUM="ead216e1acbe0e43eb194f75dcce206b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenSceneGraph"
diff --git a/libraries/ospray/README b/libraries/ospray/README
new file mode 100644
index 0000000000..93d0e6d8fe
--- /dev/null
+++ b/libraries/ospray/README
@@ -0,0 +1,25 @@
+Intel® OSPRay is an open source, scalable, and portable ray tracing
+engine for high-performance, high-fidelity visualization on Intel
+Architecture CPUs, Intel Xe GPUs, and ARM64 CPUs. OSPRay is part of the
+Intel oneAPI Rendering Toolkit and is released under the permissive
+Apache 2.0 license.
+
+The purpose of OSPRay is to provide an open, powerful, and easy-to-use
+rendering library that allows one to easily build applications that use
+ray tracing based rendering for interactive applications (including
+both surface- and volume-based visualizations). OSPRay runs on anything
+from laptops, to workstations, to compute nodes in HPC systems.
+
+OSPRay internally builds on top of Intel Embree, Intel Open VKL, and
+Intel Open Image Denoise. The CPU implementation is based on Intel ISPC
+(Implicit SPMD Program Compiler) and fully exploits modern instruction
+sets like Intel SSE4, AVX, AVX2, AVX-512 and NEON to achieve high
+rendering performance. Hence, a CPU with support for at least SSE4.1 is
+required to run OSPRay on x86_64 architectures, or a CPU with support
+for NEON is required to run OSPRay on ARM64 architectures.
+
+OSPRay’s GPU implementation (beta status) is based on the SYCL
+cross-platform programming language implemented by Intel oneAPI Data
+Parallel C++ (DPC++) and currently supports Intel Arc™ GPUs on Linux
+and Windows, and Intel Data Center GPU Flex and Max Series on Linux,
+exploiting ray tracing hardware support.
diff --git a/libraries/ospray/ospray.SlackBuild b/libraries/ospray/ospray.SlackBuild
new file mode 100644
index 0000000000..6fecf1b243
--- /dev/null
+++ b/libraries/ospray/ospray.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for ospray
+
+# Copyright 2024
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=ospray
+VERSION=${VERSION:-3.1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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 \
+ -DOSPRAY_ENABLE_APPS_TESTING=OFF \
+ -D OSPRAY_MODULE_DENOISER=ON \
+ -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 \
+CHANGELOG.md SECURITY.md STYLEGUIDE.md LICENSE.txt README.md doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/doc
+rmdir $PKG/usr/share
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ospray/ospray.info b/libraries/ospray/ospray.info
new file mode 100644
index 0000000000..e98dcd041c
--- /dev/null
+++ b/libraries/ospray/ospray.info
@@ -0,0 +1,10 @@
+PRGNAM="ospray"
+VERSION="3.1.0"
+HOMEPAGE="https://www.ospray.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/ospray/ospray/archive/v3.1.0/ospray-3.1.0.tar.gz"
+MD5SUM_x86_64="cc97ca01d402b63cc4c091fc796a9b80"
+REQUIRES="openvkl googlebenchmark openimagedenoise"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.ospray_2024-03-02@lockywolf.net"
diff --git a/libraries/ospray/slack-desc b/libraries/ospray/slack-desc
new file mode 100644
index 0000000000..6bb3a44382
--- /dev/null
+++ b/libraries/ospray/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------------------------------------------------------|
+ospray: ospray (Ray Tracing Based Rendering Engine)
+ospray:
+ospray: Intel OSPRay is an open source, scalable, and portable ray tracing
+ospray: engine for high-performance, high-fidelity visualization on Intel
+ospray: Architecture CPUs, Intel Xe GPUs, and ARM64 CPUs. OSPRay is part of
+ospray: the Intel oneAPI Rendering Toolkit and is released under the
+ospray: permissive Apache 2.0 license.
+ospray:
+ospray:
+ospray:
+ospray:
diff --git a/libraries/ospray_studio/README b/libraries/ospray_studio/README
new file mode 100644
index 0000000000..4603cb5980
--- /dev/null
+++ b/libraries/ospray_studio/README
@@ -0,0 +1,18 @@
+Intel OSPRay Studio is an open source and interactive visualization and
+ray tracing application that leverages Intel OSPRay as its core
+rendering engine. It can be used to load complex scenes requiring high
+fidelity rendering or very large scenes requiring supercomputing
+resources.
+
+The main control structure is a scene graph which allows users to
+create an abstract scene in a directed acyclical graph manner. Scenes
+can either be imported or created using scene graph nodes and structure
+support. The scenes can then be rendered either with OSPRay's
+pathtracer or scivis renderer.
+
+In this build, support for Intel Open Image Denoise, OpenVDB,
+OpenImageIO and OpenEXR is _not_ implemented.
+
+Slackware-15.0 OpenEXR is, seemingly too low.
+
+Patches are welcome.
diff --git a/libraries/ospray_studio/ospray_studio.SlackBuild b/libraries/ospray_studio/ospray_studio.SlackBuild
new file mode 100644
index 0000000000..ee824a83d5
--- /dev/null
+++ b/libraries/ospray_studio/ospray_studio.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for ospray_studio
+
+# Copyright 2024
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=ospray_studio
+VERSION=${VERSION:-1.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ 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/set(BENCHMARK_VERSION 1.8.3)/set(BENCHMARK_VERSION 1.8.0)/g' ./cmake/benchmark.cmake
+
+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 \
+ -DGLFW_VERSION=3.3.8 \
+ -DOSPRAY_INSTALL=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 \
+CHANGELOG.md SECURITY.md FEATURES.md LICENSE.txt README.md docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/doc
+rmdir $PKG/usr/share
+
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ospray_studio/ospray_studio.info b/libraries/ospray_studio/ospray_studio.info
new file mode 100644
index 0000000000..0e24539ceb
--- /dev/null
+++ b/libraries/ospray_studio/ospray_studio.info
@@ -0,0 +1,10 @@
+PRGNAM="ospray_studio"
+VERSION="1.0.0"
+HOMEPAGE="https://www.ospray.org/ospray_studio/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/ospray/ospray_studio/archive/v1.0.0/ospray_studio-1.0.0.tar.gz"
+MD5SUM_x86_64="8b8f74529303ef167fc403d6290fe3d4"
+REQUIRES="ospray pybind11"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.ospray_2024-03-02@lockywolf.net"
diff --git a/libraries/ospray_studio/slack-desc b/libraries/ospray_studio/slack-desc
new file mode 100644
index 0000000000..99ac053188
--- /dev/null
+++ b/libraries/ospray_studio/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------------------------------------------------------|
+ospray_studio: ospray_studio (application to showcase OSPRay rendering capabilities)
+ospray_studio:
+ospray_studio: Intel OSPRay Studio is an open source and interactive visualization
+ospray_studio: and ray tracing application that leverages Intel OSPRay as its core
+ospray_studio: rendering engine. It can be used to load complex scenes requiring
+ospray_studio: high fidelity rendering or very large scenes requiring
+ospray_studio: supercomputing resources. The main control structure is a scene graph
+ospray_studio: which allows users to create an abstract scene in a directed
+ospray_studio: acyclical graph manner. Scenes can either be imported or created
+ospray_studio: using scene graph nodes and structure support.
+ospray_studio:
diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild
index 932189460f..30dba68f7b 100644
--- a/libraries/p4api/p4api.SlackBuild
+++ b/libraries/p4api/p4api.SlackBuild
@@ -1,11 +1,14 @@
-#!/bin/sh
+#!/bin/bash
# p4api SlackBuild, R. Bailey <GooseYArd@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4api
VERSION=${VERSION:-2010.1.260003}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
###sbolint off (because VERSION is being redefined)
LOCALVER=`tar tf p4api.tgz 2> /dev/null | head -1 | cut -d- -f 2 | cut -d/ -f1`
@@ -20,7 +23,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/libraries/paho-mqtt/README b/libraries/paho-mqtt/README
new file mode 100644
index 0000000000..df98524431
--- /dev/null
+++ b/libraries/paho-mqtt/README
@@ -0,0 +1,19 @@
+This document describes the source code for the Eclipse Paho MQTT
+Python client library, which implements versions 5.0, 3.1.1, and 3.1
+of the MQTT protocol.
+
+This code provides a client class which enable applications to
+connect to an MQTT broker to publish messages, and to subscribe to
+topics and receive published messages. It also provides some helper
+functions to make publishing one off messages to an MQTT server very
+straightforward.
+
+It supports Python 2.7.9+ or 3.6+.
+
+The MQTT protocol is a machine-to-machine (M2M)/"Internet of
+Things" connectivity protocol. Designed as an extremely lightweight
+publish/subscribe messaging transport, it is useful for connections
+with remote locations where a small code footprint is required and/or
+network bandwidth is at a premium.
+
+Paho is an Eclipse Foundation project.
diff --git a/libraries/paho-mqtt/paho-mqtt.SlackBuild b/libraries/paho-mqtt/paho-mqtt.SlackBuild
new file mode 100644
index 0000000000..08b7218f1b
--- /dev/null
+++ b/libraries/paho-mqtt/paho-mqtt.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Slackware build script for paho-mqtt
+
+# Copyright 2022 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=paho-mqtt
+SRCNAM=paho.mqtt.python
+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=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}
+
+# 20220312 bkw: no compiled code, no need for CFLAGS.
+
+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 {} \+
+
+python setup.py install --root=$PKG
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+fi
+
+# 20220312 bkw: no compiled code, no need to strip anything.
+
+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/libraries/paho-mqtt/paho-mqtt.info b/libraries/paho-mqtt/paho-mqtt.info
new file mode 100644
index 0000000000..c7b6319c77
--- /dev/null
+++ b/libraries/paho-mqtt/paho-mqtt.info
@@ -0,0 +1,10 @@
+PRGNAM="paho-mqtt"
+VERSION="1.6.1"
+HOMEPAGE="http://eclipse.org/paho"
+DOWNLOAD="https://github.com/eclipse/paho.mqtt.python/archive/refs/tags/v1.6.1/paho.mqtt.python-1.6.1.tar.gz"
+MD5SUM="00c3381d7deacc7ac8b220f3b9d689c6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/libraries/paho-mqtt/slack-desc b/libraries/paho-mqtt/slack-desc
new file mode 100644
index 0000000000..cadb396332
--- /dev/null
+++ b/libraries/paho-mqtt/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------------------------------------------------------|
+paho-mqtt: paho-mqtt (MQTT Python client library)
+paho-mqtt:
+paho-mqtt: This code provides a client class which enable applications to
+paho-mqtt: connect to an MQTT broker to publish messages, and to subscribe to
+paho-mqtt: topics and receive published messages. It supports Python 2.7.9+ or
+paho-mqtt: 3.6+.
+paho-mqtt:
+paho-mqtt: Paho is an Eclipse Foundation project.
+paho-mqtt:
+paho-mqtt:
+paho-mqtt:
diff --git a/libraries/pam_usb/README b/libraries/pam_usb/README
new file mode 100644
index 0000000000..222d81fc4a
--- /dev/null
+++ b/libraries/pam_usb/README
@@ -0,0 +1,12 @@
+pam_usb (Hardware Auth via Memory Sticks)
+
+This is a PAM module for Linux authentication using USB memory sticks,
+SD cards, external SSD etc. Simply speaking, it lets you log onto
+your Linux user without typing password if the pre-configured memory
+stick is detected.
+
+See https://github.com/mcdope/pam_usb for configuration instruction.
+
+In Slackware 15, the right file to modify are
+/etc/pam.d/system-auth
+/etc/security/pam_usb.conf
diff --git a/libraries/pam_usb/pam_usb.SlackBuild b/libraries/pam_usb/pam_usb.SlackBuild
new file mode 100644
index 0000000000..5cbd1fbade
--- /dev/null
+++ b/libraries/pam_usb/pam_usb.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+# Copyright (C) 2023 Hao Chi Kiang <no@no.noooo.ooo>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+# revision date: 2023/11/11
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pam_usb
+VERSION=${VERSION:-0.8.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
+
+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 {} \;
+
+sed -i "s|share/doc/|doc/|g" Makefile
+sed -i "s|share/man|man|g" Makefile
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+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 AUTHORS COPYING *.md doc/CONFIGURATION doc/QUICKSTART doc/SECURITY doc/TROUBLESHOOTING $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/doc/pam_usb
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pam_usb/pam_usb.info b/libraries/pam_usb/pam_usb.info
new file mode 100644
index 0000000000..88eb9c4424
--- /dev/null
+++ b/libraries/pam_usb/pam_usb.info
@@ -0,0 +1,10 @@
+PRGNAM="pam_usb"
+VERSION="0.8.3"
+HOMEPAGE="https://github.com/mcdope/pam_usb"
+DOWNLOAD="https://github.com/mcdope/pam_usb/archive/0.8.3/pam_usb-0.8.3.zip"
+MD5SUM="f584fb5dbc8e84eebefd8a1911b7cd7f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Hao Chi Kiang"
+EMAIL="no@no.noooo.ooo"
diff --git a/libraries/pam_usb/slack-desc b/libraries/pam_usb/slack-desc
new file mode 100644
index 0000000000..01975b4bdb
--- /dev/null
+++ b/libraries/pam_usb/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------------------------------------------------------|
+pam_usb: pam_usb (Hardware Auth via Memory Sticks)
+pam_usb:
+pam_usb: This is a PAM module for Linux authentication using USB memory sticks,
+pam_usb: SD cards, external SSD etc. Simply speaking, it lets you log onto
+pam_usb: your Linux user without typing password if the pre-configured memory
+pam_usb: stick is detected.
+pam_usb:
+pam_usb: See https://github.com/mcdope/pam_usb for configuration instruction.
+pam_usb:
+pam_usb:
+pam_usb:
diff --git a/libraries/pandarallel/README b/libraries/pandarallel/README
new file mode 100644
index 0000000000..73885f83ce
--- /dev/null
+++ b/libraries/pandarallel/README
@@ -0,0 +1,3 @@
+ Pandaral.lel provides a simple way to parallelize your pandas
+operations on all your CPUs by changing only one line of code. It
+also displays progress bars.
diff --git a/libraries/pandarallel/pandarallel.SlackBuild b/libraries/pandarallel/pandarallel.SlackBuild
new file mode 100644
index 0000000000..e0da624075
--- /dev/null
+++ b/libraries/pandarallel/pandarallel.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for pandarallel
+
+# 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=pandarallel
+VERSION=${VERSION:-1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+
+
+# 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.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/libraries/pandarallel/pandarallel.info b/libraries/pandarallel/pandarallel.info
new file mode 100644
index 0000000000..ed47a15391
--- /dev/null
+++ b/libraries/pandarallel/pandarallel.info
@@ -0,0 +1,10 @@
+PRGNAM="pandarallel"
+VERSION="1.6.3"
+HOMEPAGE="https://github.com/nalepae/pandarallel"
+DOWNLOAD="https://github.com/nalepae/pandarallel/archive/v1.6.3/pandarallel-1.6.3.tar.gz"
+MD5SUM="1beee98d334596bda59205be43b960b9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/pandarallel/slack-desc b/libraries/pandarallel/slack-desc
new file mode 100644
index 0000000000..e0d8f20d7e
--- /dev/null
+++ b/libraries/pandarallel/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------------------------------------------------------|
+pandarallel: pandarallel (Parallization for pandas operations)
+pandarallel:
+pandarallel:
+pandarallel:
+pandarallel: Pandaral.lel provides a simple way to parallelize your pandas
+pandarallel: operations on all your CPUs by changing only one line of code. It
+pandarallel: also displays progress bars.
+pandarallel:
+pandarallel:
+pandarallel:
+pandarallel:
diff --git a/libraries/pangox-compat/pangox-compat.SlackBuild b/libraries/pangox-compat/pangox-compat.SlackBuild
index f4a0e6928d..7632c4ba98 100644
--- a/libraries/pangox-compat/pangox-compat.SlackBuild
+++ b/libraries/pangox-compat/pangox-compat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pangox-compat.
@@ -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.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add SlackBuild to doc dir.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pangox-compat
-VERSION=${VERSION:-0.0.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-20150430_edb9e09}
+BUILD=${BUILD:-3}
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 [ ! -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" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -62,14 +73,17 @@ 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 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 upstream patches
+for i in $CWD/patches/*.patch ; do patch -p1 < $i ; done
+NOCONFIGURE=1 ./autogen.sh
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -112,10 +126,13 @@ if [ -d $PKG/usr/man ]; then
fi
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
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+
+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 -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/libraries/pangox-compat/pangox-compat.info b/libraries/pangox-compat/pangox-compat.info
index 125100e1be..90866e9172 100644
--- a/libraries/pangox-compat/pangox-compat.info
+++ b/libraries/pangox-compat/pangox-compat.info
@@ -1,8 +1,8 @@
PRGNAM="pangox-compat"
-VERSION="0.0.2"
+VERSION="20150430_edb9e09"
HOMEPAGE="https://www.pango.org"
-DOWNLOAD="https://ftp.gnome.org/pub/gnome/sources/pangox-compat/0.0/pangox-compat-0.0.2.tar.xz"
-MD5SUM="7bcbd0187f03e1e27af9a81e07249c33"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/pangox-compat-20150430_edb9e09.tar.xz"
+MD5SUM="124c8c6c386df2006d20784b50073fbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/pangox-compat/patches/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch b/libraries/pangox-compat/patches/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch
new file mode 100644
index 0000000000..de85c1719d
--- /dev/null
+++ b/libraries/pangox-compat/patches/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch
@@ -0,0 +1,39 @@
+From bd0fcfbd2f8f493e96955c1edd8a791de1e6568a Mon Sep 17 00:00:00 2001
+From: Jan de Groot <jgc@archlinux.org>
+Date: Sun, 19 Feb 2017 07:57:57 +0000
+Subject: [PATCH] Re-add pango_x_get_shaper_map, it is still used in the
+ fallback code
+
+---
+ pangox.c | 15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+
+diff --git a/pangox.c b/pangox.c
+index 0a66cc9..1e6efc6 100644
+--- a/pangox.c
++++ b/pangox.c
+@@ -1344,6 +1344,21 @@ pango_x_font_describe (PangoFont *font)
+ return NULL;
+ }
+
++PangoMap *
++pango_x_get_shaper_map (PangoLanguage *language)
++{
++ static guint engine_type_id = 0;
++ static guint render_type_id = 0;
++
++ if (engine_type_id == 0)
++ {
++ engine_type_id = g_quark_from_static_string (PANGO_ENGINE_TYPE_SHAPE);
++ render_type_id = g_quark_from_static_string (PANGO_RENDER_TYPE_X);
++ }
++
++ return pango_find_map (language, engine_type_id, render_type_id);
++}
++
+ static PangoCoverage *
+ pango_x_font_get_coverage (PangoFont *font,
+ PangoLanguage *language)
+--
+2.11.1
+
diff --git a/libraries/pangox-compat/patches/0002-disable-shaper.patch b/libraries/pangox-compat/patches/0002-disable-shaper.patch
new file mode 100644
index 0000000000..87f4598e39
--- /dev/null
+++ b/libraries/pangox-compat/patches/0002-disable-shaper.patch
@@ -0,0 +1,15 @@
+--- pangox-compat/pangox.c.orig 2020-05-04 18:31:53.421197064 -0400
++++ pangox-compat/pangox.c 2020-05-04 18:32:41.251146923 -0400
+@@ -277,11 +277,11 @@ pango_x_font_class_init (PangoXFontClass
+ object_class->finalize = pango_x_font_finalize;
+ object_class->dispose = pango_x_font_dispose;
+
+ font_class->describe = pango_x_font_describe;
+ font_class->get_coverage = pango_x_font_get_coverage;
+- font_class->find_shaper = pango_x_font_find_shaper;
++ /* font_class->find_shaper = pango_x_font_find_shaper; */
+ font_class->get_glyph_extents = pango_x_font_get_glyph_extents;
+ font_class->get_metrics = pango_x_font_get_metrics;
+ font_class->get_font_map = pango_x_font_get_font_map;
+ }
+
diff --git a/libraries/parsec/README b/libraries/parsec/README
new file mode 100644
index 0000000000..81f2e5c498
--- /dev/null
+++ b/libraries/parsec/README
@@ -0,0 +1,17 @@
+ PaRSEC is a generic framework for architecture aware scheduling and
+management of micro-tasks on distributed many-core heterogeneous
+architectures. Applications are expressed as a Direct Acyclic Graph
+of tasks with labeled edges designating data dependencies. PaRSEC
+assigns computation threads to the cores, overlaps communications
+and computations between nodes as well as between host and
+accelerators (like GPUs). It achieves these features by using a
+dynamic, fully-distributed scheduler based on architectural features
+such as NUMA nodes and GPU awareness, as well as algorithmic features
+such as data reuse.
+
+Requires an MPI implementation either MPICH2 or OpenMPI.
+
+Optional requirements:
+ - hwloc (autodetect)
+ - PAPI (autodetect)
+ - NVidia CUDA (autodetect)
diff --git a/libraries/parsec/parsec.SlackBuild b/libraries/parsec/parsec.SlackBuild
new file mode 100644
index 0000000000..075e94d54c
--- /dev/null
+++ b/libraries/parsec/parsec.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for PaRSEC
+
+# 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=parsec
+VERSION=${VERSION:-3.0.2012}
+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-parsec-$VERSION
+tar xvf $CWD/$PRGNAM-parsec-$VERSION.tar.gz
+cd $PRGNAM-parsec-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 working: "doxygen missing components: dot"
+if [ "${DOC:-no}" == "yes" ]; then
+ OPT_BUILD="--enable-doc"
+fi
+
+mkdir builddir && cd builddir
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+../configure \
+ --prefix=/usr \
+ --disable-static \
+ --without-ninja \
+ $OPT_BUILD
+
+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 {AUTHORS,CONTRIBUTING.md,License.txt,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
diff --git a/libraries/parsec/parsec.info b/libraries/parsec/parsec.info
new file mode 100644
index 0000000000..ae287cc9f4
--- /dev/null
+++ b/libraries/parsec/parsec.info
@@ -0,0 +1,10 @@
+PRGNAM="parsec"
+VERSION="3.0.2012"
+HOMEPAGE="https://github.com/ICLDisco/parsec"
+DOWNLOAD="https://github.com/ICLDisco/parsec/archive/parsec-3.0.2012/parsec-parsec-3.0.2012.tar.gz"
+MD5SUM="1274f12976fd9246179d2ecd9966d53f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="openmpi"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/parsec/slack-desc b/libraries/parsec/slack-desc
new file mode 100644
index 0000000000..18caf5bab3
--- /dev/null
+++ b/libraries/parsec/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------------------------------------------------------|
+parsec: parsec (Parallel Runtime Scheduler and Execution Controller)
+parsec:
+parsec:
+parsec: PaRSEC: the Parallel Runtime Scheduler and Execution Controller
+parsec: for micro-tasks on distributed heterogeneous systems.
+parsec:
+parsec: PaRSEC is a generic framework for architecture aware scheduling
+parsec: and management of micro-tasks on distributed many-core heterogeneous
+parsec: architectures.
+parsec:
+parsec:
diff --git a/libraries/pcl/README b/libraries/pcl/README
index 36a4928f97..874ce2e6c0 100644
--- a/libraries/pcl/README
+++ b/libraries/pcl/README
@@ -1,15 +1,16 @@
-The Point Cloud Library (or PCL) is a large scale, open project for 2D/3D
-image and point cloud processing. The PCL framework contains numerous
-state-of-the art algorithms including filtering, feature estimation,
-surface reconstruction, registration, model fitting and segmentation.
-These algorithms can be used, for example, to filter outliers from noisy
-data, stitch 3D point clouds together, segment relevant parts of a scene,
-extract keypoints and compute descriptors to recognize objects in the
-world based on their geometric appearance, and create surfaces from point
-clouds and visualize them -- to name a few.
-
-Note on QT: Qt4 is used by default. If you only have Qt5, edit the option
--DPCL_QT_VERSION and set it to 5.
+The Point Cloud Library (or PCL) is a large scale, open project for
+2D/3D image and point cloud processing. The PCL framework contains
+numerous state-of-the art algorithms including filtering, feature
+estimation, surface reconstruction, registration, model fitting and
+segmentation. These algorithms can be used, for example, to filter
+outliers from noisy data, stitch 3D point clouds together, segment
+relevant parts of a scene, extract keypoints and compute descriptors
+to recognize objects in the world based on their geometric appearance,
+and create surfaces from point clouds and visualize them -- to name
+a few.
+
+Note on QT: Qt4 is used by default. If you only have Qt5, edit the
+option -DPCL_QT_VERSION and set it to 5.
Optional dependencies:
diff --git a/libraries/pcl/pcl.SlackBuild b/libraries/pcl/pcl.SlackBuild
index d39793f2cd..c99211b384 100644
--- a/libraries/pcl/pcl.SlackBuild
+++ b/libraries/pcl/pcl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pcl
@@ -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=pcl
-VERSION=${VERSION:-1.9.1}
+VERSION=${VERSION:-1.12.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}
@@ -77,7 +87,6 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX} \
- -DPCL_QT_VERSION=4 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
@@ -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/libraries/pcl/pcl.info b/libraries/pcl/pcl.info
index 0724758041..02a97014de 100644
--- a/libraries/pcl/pcl.info
+++ b/libraries/pcl/pcl.info
@@ -1,8 +1,8 @@
PRGNAM="pcl"
-VERSION="1.9.1"
+VERSION="1.12.1"
HOMEPAGE="http://www.pointclouds.org/"
-DOWNLOAD="https://github.com/PointCloudLibrary/pcl/archive/pcl-1.9.1/pcl-pcl-1.9.1.tar.gz"
-MD5SUM="4d4cfb6bf87cc1f08703deeeac1eb6e2"
+DOWNLOAD="https://github.com/PointCloudLibrary/pcl/archive/pcl-1.12.1/pcl-pcl-1.12.1.tar.gz"
+MD5SUM="eb1be79330872f9674c9850bb35023bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="flann VTK"
diff --git a/libraries/pcre2/README b/libraries/pcre2/README
deleted file mode 100644
index 604c47269f..0000000000
--- a/libraries/pcre2/README
+++ /dev/null
@@ -1,2 +0,0 @@
-PCRE2 is a re-working of the original PCRE library to provide an entirely new
-API.
diff --git a/libraries/pcre2/pcre2.SlackBuild b/libraries/pcre2/pcre2.SlackBuild
deleted file mode 100644
index 650a83f9b3..0000000000
--- a/libraries/pcre2/pcre2.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pcre2
-
-# Copyright 2016-2019 Larry Hajali <larryhaja[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.
-
-PRGNAM=pcre2
-VERSION=${VERSION:-10.33}
-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} \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-silent-rules \
- --enable-static=no \
- --enable-pcre2-16 \
- --enable-pcre2-32 \
- --enable-jit \
- --enable-pcre2grep-libz \
- --enable-pcre2grep-libbz2 \
- --enable-pcre2test-libreadline \
- --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 {} \;
-
-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/libraries/pcre2/pcre2.info b/libraries/pcre2/pcre2.info
deleted file mode 100644
index 648ddb8cb8..0000000000
--- a/libraries/pcre2/pcre2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pcre2"
-VERSION="10.33"
-HOMEPAGE="http://www.pcre.org/"
-DOWNLOAD="https://downloads.sourceforge.net/pcre/pcre2-10.33.tar.bz2"
-MD5SUM="80b355f2dce909a2e2424f5c79eddb44"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/libraries/pcre2/slack-desc b/libraries/pcre2/slack-desc
deleted file mode 100644
index 5eaf0e0af3..0000000000
--- a/libraries/pcre2/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------------------------------------------------------|
-pcre2: pcre2 (Perl 5-style regular expressions. 2nd version)
-pcre2:
-pcre2: PCRE2 is a re-working of the original PCRE library to provide an
-pcre2: entirely new API.
-pcre2:
-pcre2: Homepage: http://www.pcre.org/
-pcre2:
-pcre2:
-pcre2:
-pcre2:
-pcre2:
diff --git a/libraries/pdf4tcl/README b/libraries/pdf4tcl/README
new file mode 100644
index 0000000000..d719f6ab28
--- /dev/null
+++ b/libraries/pdf4tcl/README
@@ -0,0 +1,19 @@
+pdf4tcl is a tcl package for generating pdf files. It started as a
+port of pdf4php to the tcl language.
+Features:
+* compressed pdf
+* dumping canvas to pdf
+* lines, arrows, rectangles, circles, ovals, arcs, curves
+* set stroke and fill colour
+* set line style (thickness and dashes)
+* simple text strings, left or right aligned or centered
+* text boxes with left or right aligned, centered or fully justified
+ text
+* rotated text
+* text with skewed characters
+* use adobe standard fonts
+* use other fonts, type1 or truetype fonts can be embedded
+* jpeg and png images, plus support for raw image data
+* add bookmarks and metadata
+* most commonly used paper dimensions, custom ones can be provided.
+* pages can be built top-down or bottom-up
diff --git a/libraries/pdf4tcl/pdf4tcl.SlackBuild b/libraries/pdf4tcl/pdf4tcl.SlackBuild
new file mode 100644
index 0000000000..acd117b27d
--- /dev/null
+++ b/libraries/pdf4tcl/pdf4tcl.SlackBuild
@@ -0,0 +1,76 @@
+#!/bin/bash
+
+# Slackware build script for pdf4tcl
+
+# 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.
+#
+# Modified by DW (slackbuilds.org)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pdf4tcl
+VERSION=${VERSION:-0.9.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+TARBALL_VERSION=$( echo $VERSION | sed "s,\.,,g" )
+
+if [ ! -z "${PRINT_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$TARBALL_VERSION
+tar xvf $CWD/$PRGNAM$TARBALL_VERSION.tar.gz
+cd $PRGNAM$TARBALL_VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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/pdf4tcl $PKG/usr/man/mann
+cp -a bitmaps pkgIndex.tcl glyph2uni.tcl \
+ pdf4tcl.tcl stdmetrics.tcl \
+ $PKG/usr/lib/pdf4tcl
+gzip -9c $CWD/pdf4tcl.n > $PKG/usr/man/mann/pdf4tcl.n.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m644 licence.terms $PKG/usr/doc/$PRGNAM-$VERSION
+install -m644 pdf4tcl.html $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pdf4tcl/pdf4tcl.info b/libraries/pdf4tcl/pdf4tcl.info
new file mode 100644
index 0000000000..b3387eada5
--- /dev/null
+++ b/libraries/pdf4tcl/pdf4tcl.info
@@ -0,0 +1,10 @@
+PRGNAM="pdf4tcl"
+VERSION="0.9.4"
+HOMEPAGE="https://pdf4tcl.sourceforge.net/"
+DOWNLOAD="https://sourceforge.net/projects/pdf4tcl/files/pdf4tcl094.tar.gz"
+MD5SUM="b2c960b2f19f4bb5205a0d57ca6056f3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/pdf4tcl/pdf4tcl.n b/libraries/pdf4tcl/pdf4tcl.n
new file mode 100644
index 0000000000..e05801539e
--- /dev/null
+++ b/libraries/pdf4tcl/pdf4tcl.n
@@ -0,0 +1,1207 @@
+'\"
+'\" Generated from file 'pdf4tcl\&.man' by tcllib/doctools with format 'nroff'
+'\" Copyright (c) 2007-2016 Peter Spjuth
+'\" Copyright (c) 2009 Yaroslav Schekin
+'\"
+.TH "pdf4tcl" n 0\&.9\&.4 pdf4tcl "Pdf document generation"
+.\" 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
+pdf4tcl \- Pdf document generation
+.SH SYNOPSIS
+package require \fBTcl 8\&.6\fR
+.sp
+package require \fBpdf4tcl ?0\&.9\&.4?\fR
+.sp
+\fB::pdf4tcl::new\fR \fIobjectName\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fB::pdf4tcl::getPaperSize\fR \fIpaper\fR
+.sp
+\fB::pdf4tcl::getPaperSizeList\fR
+.sp
+\fB::pdf4tcl::getPoints\fR \fIval\fR
+.sp
+\fB::pdf4tcl::loadBaseTrueTypeFont\fR \fIbasefontname\fR \fIttf_file_name\fR
+.sp
+\fB::pdf4tcl::createBaseTrueTypeFont\fR \fIbasefontname\fR \fIttf_data\fR
+.sp
+\fB::pdf4tcl::loadBaseType1Font\fR \fIbasefontname\fR \fIAFM_file_name\fR \fIPFB_file_name\fR
+.sp
+\fB::pdf4tcl::createBaseType1Font\fR \fIbasefontname\fR \fIAFM_data\fR \fIPFB_data\fR
+.sp
+\fB::pdf4tcl::createFont\fR \fIbasefontname\fR \fIfontname\fR \fIencoding_name\fR
+.sp
+\fB::pdf4tcl::createFontSpecEnc\fR \fIbasefontname\fR \fIfontname\fR \fIsubset\fR
+.sp
+\fB::pdf4tcl::getFonts\fR
+.sp
+\fB::pdf4tcl::rgb2Cmyk\fR \fIrgb\fR
+.sp
+\fB::pdf4tcl::cmyk2Rgb\fR \fIcmyk\fR
+.sp
+\fB::pdf4tcl::catPdf\fR \fIinfile\fR ?\fIinfile \&.\&.\&.\fR? \fIoutfile\fR
+.sp
+\fB::pdf4tcl::getForms\fR \fIinfile\fR
+.sp
+\fBobjectName\fR \fBmethod\fR ?\fIarg arg \&.\&.\&.\fR?
+.sp
+\fIobjectName\fR \fBconfigure\fR
+.sp
+\fIobjectName\fR \fBconfigure\fR \fIoption\fR
+.sp
+\fIobjectName\fR \fBconfigure\fR \fB-option\fR \fIvalue\fR\&.\&.\&.
+.sp
+\fIobjectName\fR \fBcget\fR \fB-option\fR
+.sp
+\fIobjectName\fR \fBdestroy\fR
+.sp
+\fIobjectName\fR \fBstartPage\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBendPage\fR
+.sp
+\fIobjectName\fR \fBstartXObject\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBendXObject\fR
+.sp
+\fIobjectName\fR \fBfinish\fR
+.sp
+\fIobjectName\fR \fBget\fR
+.sp
+\fIobjectName\fR \fBwrite\fR ?\fI-file filename\fR?
+.sp
+\fIobjectName\fR \fBaddForm\fR \fItype\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBgetDrawableArea\fR
+.sp
+\fIobjectName\fR \fBcanvas\fR \fIpath\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBmetadata\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBbookmarkAdd\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBembedFile\fR \fIfilename\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBattachFile\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR \fIfid\fR \fIdescription\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBsetFont\fR \fIsize\fR ?\fIfontname\fR?
+.sp
+\fIobjectName\fR \fBgetStringWidth\fR \fIstr\fR
+.sp
+\fIobjectName\fR \fBgetCharWidth\fR \fIchar\fR
+.sp
+\fIobjectName\fR \fBsetTextPosition\fR \fIx\fR \fIy\fR
+.sp
+\fIobjectName\fR \fBmoveTextPosition\fR \fIdx\fR \fIdy\fR
+.sp
+\fIobjectName\fR \fBgetTextPosition\fR
+.sp
+\fIobjectName\fR \fBnewLine\fR ?\fIspacing\fR?
+.sp
+\fIobjectName\fR \fBsetLineSpacing\fR \fIspacing\fR
+.sp
+\fIobjectName\fR \fBgetLineSpacing\fR
+.sp
+\fIobjectName\fR \fBtext\fR \fIstr\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBdrawTextBox\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR \fIstr\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBgetFontMetric\fR \fImetric\fR
+.sp
+\fIobjectName\fR \fBputImage\fR \fIid\fR \fIx\fR \fIy\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBputRawImage\fR \fIdata\fR \fIx\fR \fIy\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBaddImage\fR \fIfilename\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBaddRawImage\fR \fIdata\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBgetImageHeight\fR \fIid\fR
+.sp
+\fIobjectName\fR \fBgetImageSize\fR \fIid\fR
+.sp
+\fIobjectName\fR \fBgetImageWidth\fR \fIid\fR
+.sp
+\fIobjectName\fR \fBsetBgColor\fR \fIred\fR \fIgreen\fR \fIblue\fR
+.sp
+\fIobjectName\fR \fBsetBgColor\fR \fIc\fR \fIm\fR \fIy\fR \fIk\fR
+.sp
+\fIobjectName\fR \fBsetFillColor\fR \fIred\fR \fIgreen\fR \fIblue\fR
+.sp
+\fIobjectName\fR \fBsetFillColor\fR \fIc\fR \fIm\fR \fIy\fR \fIk\fR
+.sp
+\fIobjectName\fR \fBsetStrokeColor\fR \fIred\fR \fIgreen\fR \fIblue\fR
+.sp
+\fIobjectName\fR \fBsetStrokeColor\fR \fIc\fR \fIm\fR \fIy\fR \fIk\fR
+.sp
+\fIobjectName\fR \fBsetLineWidth\fR \fIwidth\fR
+.sp
+\fIobjectName\fR \fBsetLineDash\fR ?\fIon off\fR\&.\&.\&.? ?\fIoffset\fR?
+.sp
+\fIobjectName\fR \fBsetLineStyle\fR \fIwidth\fR \fIargs\fR
+.sp
+\fIobjectName\fR \fBline\fR \fIx1\fR \fIy1\fR \fIx2\fR \fIy2\fR
+.sp
+\fIobjectName\fR \fBcurve\fR \fIx1\fR \fIy1\fR \fIx2\fR \fIy2\fR \fIx3\fR \fIy3\fR ?\fIx4 y4\fR?
+.sp
+\fIobjectName\fR \fBpolygon\fR ?\fIx y\fR\&.\&.\&.? ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBcircle\fR \fIx\fR \fIy\fR \fIradius\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBoval\fR \fIx\fR \fIy\fR \fIradiusx\fR \fIradiusy\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBarc\fR \fIx\fR \fIy\fR \fIradiusx\fR \fIradiusy\fR \fIphi\fR \fIextend\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBarrow\fR \fIx1\fR \fIy1\fR \fIx2\fR \fIy2\fR \fIsize\fR ?\fIangle\fR?
+.sp
+\fIobjectName\fR \fBrectangle\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR ?\fIoption value\fR\&.\&.\&.?
+.sp
+\fIobjectName\fR \fBclip\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR
+.sp
+\fIobjectName\fR \fBgsave\fR
+.sp
+\fIobjectName\fR \fBgrestore\fR
+.sp
+.BE
+.SH DESCRIPTION
+This package provides a container class for generating \fIpdf\fR documents\&.
+.SH COORDINATES
+All coordinates and distances can be expressed with or without a unit\&. See
+\fBUNITS\fR for valid units\&.
+When the page is configured with \fB-orient\fR set to false, origin is in
+the bottom left corner\&. With \fB-orient\fR true (the default), origin is in the top left
+corner\&.
+Origin is displaced to account for margins, i\&.e\&. if margins are 100,
+the user coordinate (0,0) corresponds to (100,100) on the paper\&.
+Page option \fB-orient\fR can also affect the anchor point for things like
+images\&.
+.SH UNITS
+Any coordinates and distances can be expressed with or without an explicit
+unit\&. If no unit is given, the default unit for the document is used\&.
+A unit may be one of
+\fBmm\fR (millimeter),
+\fBm\fR (millimeter),
+\fBcm\fR (centimeter),
+\fBc\fR (centimeter),
+\fBp\fR (points) or
+\fBi\fR (inches)\&.
+Commands returning coordinates or distances always return a double value
+in the document's default unit\&.
+.SH "PUBLIC API"
+.SS "PACKAGE COMMANDS"
+.TP
+\fB::pdf4tcl::new\fR \fIobjectName\fR ?\fIoption value\fR\&.\&.\&.?
+This command creates a new pdf4tcl object with an associated Tcl
+command whose name is \fIobjectName\fR\&. This \fIobject\fR command is
+explained in full detail in the sections \fBOBJECT COMMAND\fR
+and \fBOBJECT METHODS\fR\&. The object command will be created
+under the current namespace if the \fIobjectName\fR is not fully
+qualified, and in the specified namespace otherwise\&.
+If \fIobjectName\fR is %AUTO% a name will generated\&.
+The return value is the newly created object's name\&.
+.sp
+The options and their values coming after the name of the object are
+used to set the initial configuration of the object\&.
+See \fBOBJECT CONFIGURATION\fR\&.
+.TP
+\fB::pdf4tcl::getPaperSize\fR \fIpaper\fR
+This call returns the size of a named paper type, e\&.g\&. "a4"\&.
+Paper names are case insensitive\&.
+The argument \fIpaper\fR may also be a two element list
+with values as accepted by \fB::pdf4tcl::getPoints\fR\&.
+The return value is a list with width and height in points\&.
+.TP
+\fB::pdf4tcl::getPaperSizeList\fR
+This call returns the list of known paper types\&.
+.TP
+\fB::pdf4tcl::getPoints\fR \fIval\fR
+This call translates a measurement to points (1/72 inch)\&.
+The format of \fIval\fR is '\fInum\fR ?\fIunit\fR?' where
+\fInum\fR is a valid integer or double\&. See \fBUNITS\fR for valid
+\fIunit\fRs\&. If no \fIunit\fR is given, the value is interpreted
+as points\&.
+.TP
+\fB::pdf4tcl::loadBaseTrueTypeFont\fR \fIbasefontname\fR \fIttf_file_name\fR
+This call loads a TTF font from file to be used by any pdf4tcl objects\&.
+The \fIbasefontname\fR is used to reference this font\&.
+To use this base font in documents, a font with some encoding must be
+created from it using \fBcreateFont\fR or \fBcreateFontSpecEnc\fR\&.
+.TP
+\fB::pdf4tcl::createBaseTrueTypeFont\fR \fIbasefontname\fR \fIttf_data\fR
+This call creates a base font from TTF binary data\&.
+.TP
+\fB::pdf4tcl::loadBaseType1Font\fR \fIbasefontname\fR \fIAFM_file_name\fR \fIPFB_file_name\fR
+This call loads a Type1 font from two files (\&.afm and \&.pfb) to be used by
+any pdf4tcl objects\&. The \fIbasefontname\fR is used to reference this font\&.
+To use this base font in documents, a font with some encoding must be
+created from it using \fBcreateFont\fR or \fBcreateFontSpecEnc\fR\&.
+.TP
+\fB::pdf4tcl::createBaseType1Font\fR \fIbasefontname\fR \fIAFM_data\fR \fIPFB_data\fR
+This call creates a base font from AFM text and PFB binary data\&.
+.TP
+\fB::pdf4tcl::createFont\fR \fIbasefontname\fR \fIfontname\fR \fIencoding_name\fR
+This call creates a font that can be used in documents from a base font\&. The given encoding
+defines the (up to) 256 unicode characters that can be drawn when \fIfontname\fR is selected\&.
+To use more characters, multiple fonts need to be created and selected based on what needs to be written\&.
+.CS
+
+
+pdf4tcl::loadBaseTrueTypeFont BaseArial "arial\&.ttf"
+pdf4tcl::createFont BaseArial MyArial cp1251
+pdf4tcl::loadBaseType1Font BaseType1 "a010013l\&.afm" "a010013l\&.pfb"
+pdf4tcl::createFont BaseType1 MyType1 cp1251
+pdf4tcl::new mypdf -paper a4 -compress 0
+mypdf startPage
+mypdf setFont 10 MyArial
+set txt "\\u042D\\u0442\\u043E \\u0442\\u0435\\u043A\\u0441\\u0442 \\u043D\\u0430 \\u0440\\u0443\\u0441\\u0441\\u043A\\u043E\\u043C\\
+ \\u044F\\u0437\\u044B\\u043A\\u0435\&. This is text in Russian\&."
+mypdf text $txt -bg #CACACA -x 50 -y 100
+mypdf setFont 10 MyType1
+mypdf text $txt -x 50 -y 200
+mypdf write -file fonts\&.pdf
+mypdf destroy
+
+.CE
+.TP
+\fB::pdf4tcl::createFontSpecEnc\fR \fIbasefontname\fR \fIfontname\fR \fIsubset\fR
+This call creates a font that can be used in documents from a base font\&.
+The \fIsubset\fR must be a list of (up to 256) unicode values which are the characters that can be
+drawn when \fIfontname\fR is selected\&.
+.CS
+
+
+pdf4tcl::loadBaseTrueTypeFont BaseArial "arial\&.ttf"
+# Subset is a list of unicodes:
+for {set f 0} {$f < 128} {incr f} {lappend subset $f}
+lappend subset [expr 0xB2] [expr 0x3B2]
+pdf4tcl::createFontSpecEnc BaseArial MyArial $subset
+pdf4tcl::new mypdf -paper a4
+mypdf startPage
+mypdf setFont 16 MyArial
+set txt "sin\\u00B2\\u03B2 + cos\\u00B2\\u03B2 = 1"
+mypdf text $txt -x 50 -y 100
+mypdf write -file specenc\&.pdf
+mypdf destroy
+
+.CE
+.TP
+\fB::pdf4tcl::getFonts\fR
+This call returns the list of known font names, i\&.e\&. those accepted in a call
+to \fBsetFont\fR\&.
+This includes the default fonts and fonts created by e\&.g\&.
+\fB::pdf4tcl::createFont\fR\&.
+.TP
+\fB::pdf4tcl::rgb2Cmyk\fR \fIrgb\fR
+This call translates an RGB color value to a CMYK color value\&.
+It is used internally if \fB-cmyk\fR was set at object creation to
+translate colors\&.
+You can redefine this procedure to provide your own translation\&.
+.TP
+\fB::pdf4tcl::cmyk2Rgb\fR \fIcmyk\fR
+This call translates a CMYK color value to an RGB color value\&.
+It is used internally to translate colors\&.
+You can redefine this procedure to provide your own translation\&.
+.TP
+\fB::pdf4tcl::catPdf\fR \fIinfile\fR ?\fIinfile \&.\&.\&.\fR? \fIoutfile\fR
+This call concatenates PDF files into one\&.
+Currently the implementation limits the PDFs a lot since not all details
+are taken care of yet\&. Straightforward ones like those created with pdf4tcl
+or ps2pdf should work mostly ok\&.
+.TP
+\fB::pdf4tcl::getForms\fR \fIinfile\fR
+This call extracts form data from a PDF file\&.
+The return value is a dictionary with id/info pairs\&.
+The id is the one set with \fI-id\fR to \fBaddForm\fR, if the PDF
+was generated with pdf4tcl\&.
+The info is a dictionary with the following fields:
+.RS
+.TP
+\fBtype\fR
+Field type\&.
+.TP
+\fBvalue\fR
+Form value\&.
+.TP
+\fBflags\fR
+Value of form flags field\&.
+.TP
+\fBdefault\fR
+Default value, if any\&.
+.RE
+.PP
+.SS "OBJECT COMMAND"
+All commands created by \fB::pdf4tcl::new\fR have the following
+general form and may be used to invoke various operations on their
+pdf object\&.
+.TP
+\fBobjectName\fR \fBmethod\fR ?\fIarg arg \&.\&.\&.\fR?
+The method \fBmethod\fR and its \fIarg\fR'uments determine the exact
+behavior of the command\&. See section \fBOBJECT METHODS\fR for
+the detailed specifications\&.
+.PP
+.SS "OBJECT METHODS"
+.TP
+\fIobjectName\fR \fBconfigure\fR
+The method returns a list of all known options and their current
+values when called without any arguments\&.
+.TP
+\fIobjectName\fR \fBconfigure\fR \fIoption\fR
+The method behaves like the method \fBcget\fR when called with a
+single argument and returns the value of the option specified by said
+argument\&.
+.TP
+\fIobjectName\fR \fBconfigure\fR \fB-option\fR \fIvalue\fR\&.\&.\&.
+The method reconfigures the specified \fBoption\fRs of the object,
+setting them to the associated \fIvalue\fRs, when called with an even
+number of arguments, at least two\&.
+.sp
+The legal options are described in the section
+\fBOBJECT CONFIGURATION\fR\&.
+.TP
+\fIobjectName\fR \fBcget\fR \fB-option\fR
+This method expects a legal configuration option as argument and will
+return the current value of that option for the object the method was
+invoked for\&.
+.sp
+The legal configuration options are described in section
+\fBOBJECT CONFIGURATION\fR\&.
+.TP
+\fIobjectName\fR \fBdestroy\fR
+This method destroys the object it is invoked for\&.
+If the \fB-file\fR option was given at object creation,
+the output file will be finished and closed\&.
+.TP
+\fIobjectName\fR \fBstartPage\fR ?\fIoption value\fR\&.\&.\&.?
+This method starts a new page in the document\&. The page will have the
+default page settings for the document unless overridden by \fIoption\fR\&.
+See \fBPAGE CONFIGURATION\fR for page settings\&.
+This will end any ongoing page\&.
+.TP
+\fIobjectName\fR \fBendPage\fR
+This method ends a page in the document\&. It is normally not needed since
+it is implied by e\&.g\&. \fBstartPage\fR and \fBfinish\fR\&. However,
+if the document is built page by page in e\&.g\&. an event driven environment
+it can be good to call \fBendPage\fR explicitly to have all the page's
+work finished before reentering the event loop\&.
+.TP
+\fIobjectName\fR \fBstartXObject\fR ?\fIoption value\fR\&.\&.\&.?
+This method starts a new XObject in the document\&. An XObject is a reusable
+drawing object and behaves just like a page where you can draw any graphics\&.
+An XObject must be created between pages and this method will end any ongoing
+page\&. The return value is an id that can be used with \fBputImage\fR to draw
+it on the current page or with some forms\&.
+All page settings (\fBPAGE CONFIGURATION\fR) are
+valid when creating an XObject\&. Default options are
+\fB-paper\fR = {100p 100p}, \fB-landscape\fR = 0,
+\fB-orient\fR = document default, \fB-margin\fR= 0\&.
+.RS
+.TP
+\fB-noimage\fR \fIbool\fR
+If this is set the XObject is not added to the image resource set and cannot
+be used with putImage, only in forms\&. The XObject also gets access to resources
+which is needed to use e\&.g\&. fonts within the XObject\&. This behaviour has shown
+to be PDF reader dependent, and it is currently not known if this can be
+made to work better\&.
+.RE
+.TP
+\fIobjectName\fR \fBendXObject\fR
+This method ends an XObject definition\&. It works just like \fBendPage\fR\&.
+.TP
+\fIobjectName\fR \fBfinish\fR
+This method ends the document\&.
+This will do \fBendPage\fR if needed\&.
+If the \fB-file\fR option was given at object creation,
+the output file will be finished and closed\&.
+.TP
+\fIobjectName\fR \fBget\fR
+This method returns the generated pdf\&.
+This will do \fBendPage\fR and \fBfinish\fR if needed\&.
+If the \fB-file\fR option was given at object creation, nothing is returned\&.
+.TP
+\fIobjectName\fR \fBwrite\fR ?\fI-file filename\fR?
+This method writes the generated pdf to the given \fIfilename\fR\&.
+If no \fIfilename\fR is given, it is written to stdout\&.
+This will do \fBendPage\fR and \fBfinish\fR if needed\&.
+If the \fB-file\fR option was given at object creation, an empty file
+is created\&.
+.TP
+\fIobjectName\fR \fBaddForm\fR \fItype\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR ?\fIoption value\fR\&.\&.\&.?
+Add an interactive form at the given position and size\&. Supported types are \fItext\fR and \fIcheckbutton\fR\&.
+Option \fI-init\fR gives an initial value for the form\&.
+Option \fI-id\fR gives the form an ID that must be unique within a document\&. If not given, one will be generated\&.
+For a text, option \fI-multiline\fR enables multi line editing\&.
+For a checkbutton, options \fI-on\fR and \fI-off\fR can be given an xobject (created with \fBstartXObject\fR) to control its appearance\&.
+.PP
+.SS "OBJECT METHODS, PAGE"
+.TP
+\fIobjectName\fR \fBgetDrawableArea\fR
+This method returns the size of the available area on the page,
+after removing margins\&. The return value is a list of width and height,
+in the document's default unit\&.
+.TP
+\fIobjectName\fR \fBcanvas\fR \fIpath\fR ?\fIoption value\fR\&.\&.\&.?
+Draws the contents of the canvas widget \fIpath\fR on the current page\&.
+The return value is the bounding box in pdf page coordinates of the area covered\&.
+Option \fI-bbox\fR gives the area of the canvas to be drawn\&. Default is
+the entire contents, i\&.e\&. the result of $path bbox all\&.
+Options \fI-x\fR, \fI-y\fR, \fI-width\fR and \fI-height\fR defines
+an area on the page where to place the contents\&. Default area starts at origin,
+stretching over the drawable area of the page\&.
+Option \fI-sticky\fR defines how to place the contents within the area\&.
+The area is always filled in one direction, preserving aspect ratio, unless
+\fI-sticky\fR defines that the other direction should be filled too\&. Default
+\fI-sticky\fR is \fInw\fR\&.
+If option \fI-bg\fR is true, a background is drawn in the canvas' background
+color\&. Otherwise only objects are drawn\&. Default is false\&.
+Option \fI-fontmap\fR gives a dictionary mapping from Tk font names to PDF font names\&.
+Option \fI-textscale\fR overrides the automatic downsizing made for tk::canvas text items that are deemed too large\&. If \fI-textscale\fR is larger than 1, all text items are reduced in size by that factor\&.
+.sp
+Fonts:
+.sp
+If no font mapping is given, fonts for text items are limited to PDF's
+builtins, i\&.e\&. Helvetica, Times and Courier\&. A guess is made to chose which
+one to use to get a reasonable display on the page\&.
+.sp
+An element in a font mapping must exactly match the -font option in the
+text item\&. The corresponding mapping value is a PDF font family, e\&.g\&. one
+created by \fBpdf4tcl::createFont\fR, possibly followed by a size\&.
+It is recommended to use named fonts
+in Tk to control the font mapping in detail\&.
+.sp
+Limitations:
+.sp
+Option -splinesteps for lines/polygons is ignored\&.
+.sp
+Stipple offset is limited\&. The form x,y should work\&.
+.sp
+Window items require Img to be present and must be visible on-screen when
+the canvas is drawn\&.
+.TP
+\fIobjectName\fR \fBmetadata\fR ?\fIoption value\fR\&.\&.\&.?
+This method sets metadata fields for this document\&. Supported field options are
+\fI-author\fR, \fI-creator\fR, \fI-keywords\fR, \fI-producer\fR, \fI-subject\fR,
+\fI-title\fR, \fI-creationdate\fR and \fI-format\fR\&.
+.TP
+\fIobjectName\fR \fBbookmarkAdd\fR ?\fIoption value\fR\&.\&.\&.?
+Add a bookmark on the current page\&.
+.RS
+.TP
+\fB-title\fR \fItext\fR
+Set the text of the bookmark\&.
+.TP
+\fB-level\fR \fIlevel\fR
+Set the level of the bookmark\&. Default is 0\&.
+.TP
+\fB-closed\fR \fIboolean\fR
+Select if the bookmark is closed by default\&. Default is false, i\&.e\&. not closed\&.
+.RE
+.TP
+\fIobjectName\fR \fBembedFile\fR \fIfilename\fR ?\fIoption value\fR\&.\&.\&.?
+This method embeds a file into the PDF stream\&. File data is considered binary\&. Returns an id that can be used in subsequent calls to \fBattachFile\fR\&.
+.RS
+.TP
+\fB-id\fR \fIid\fR
+Explicitly select an id for the file\&. The \fIid\fR must be unique within the document\&.
+.TP
+\fB-contents\fR \fIdata\fR
+Provides the file contents instead of reading the actual file\&.
+.RE
+.TP
+\fIobjectName\fR \fBattachFile\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR \fIfid\fR \fIdescription\fR ?\fIoption value\fR\&.\&.\&.?
+This method adds a file annotation to the current page\&. The location of the file annotation is given by the coordinates \fIx\fR, \fIy\fR, \fIwidth\fR, \fIheight\fR\&. The annotation is rendered by default as a paperclip icon, which allows the extraction of the attached file\&. An \fIfid\fR from a previous call to \fBembedFile\fR must be set as well as a \fIdescription\fR, which is shown by the PDF viewer upon activating the annotation\&.
+.RS
+.TP
+\fB-icon\fR \fIicon\fR
+Controls the appearance of the attachment\&. Valid values are Paperclip, Tag, Graph, or PushPin\&. Default value is Paperclip\&.
+.RE
+.CS
+
+
+set fid [$pdfobject embedFile "data\&.txt" -contents "This should be stored in the file\&."]
+$pdfobject attachFile 0 0 100 100 $fid "This is the description"
+
+.CE
+.PP
+.SS "OBJECT METHODS, TEXT"
+.TP
+\fIobjectName\fR \fBsetFont\fR \fIsize\fR ?\fIfontname\fR?
+This method sets the font used by text drawing routines\&. If \fIfontname\fR
+is not provided, the previously set \fIfontname\fR is kept\&.
+.TP
+\fIobjectName\fR \fBgetStringWidth\fR \fIstr\fR
+This method returns the width of a string under the current font\&.
+.TP
+\fIobjectName\fR \fBgetCharWidth\fR \fIchar\fR
+This method returns the width of a character under the current font\&.
+.TP
+\fIobjectName\fR \fBsetTextPosition\fR \fIx\fR \fIy\fR
+Set coordinate for next text command\&.
+.TP
+\fIobjectName\fR \fBmoveTextPosition\fR \fIdx\fR \fIdy\fR
+Increment position by \fIdx\fR, \fIdy\fR for the next text command\&.
+.TP
+\fIobjectName\fR \fBgetTextPosition\fR
+This method returns the current text coordinate\&.
+.TP
+\fIobjectName\fR \fBnewLine\fR ?\fIspacing\fR?
+Moves text coordinate down and resets x to where the latest
+\fBsetTextPosition\fR was\&. The number of lines to move down can
+be set by \fIspacing\fR\&. This may be any real number, including negative,
+and defaults to the value set by \fBsetLineSpacing\fR\&.
+.TP
+\fIobjectName\fR \fBsetLineSpacing\fR \fIspacing\fR
+Set the default line spacing used be e\&.g\&. \fBnewLine\fR\&. Initially
+the spacing is 1\&.
+.TP
+\fIobjectName\fR \fBgetLineSpacing\fR
+Get the current default line spacing\&.
+.TP
+\fIobjectName\fR \fBtext\fR \fIstr\fR ?\fIoption value\fR\&.\&.\&.?
+Draw text at the position defined by setTextPosition using the font defined by
+setFont\&.
+.RS
+.TP
+\fB-align\fR \fIleft|right|center\fR (default left)
+.TP
+\fB-angle\fR \fIdegrees\fR (default 0) - Orient string at the specified angle\&.
+.TP
+\fB-xangle\fR \fIdegrees\fR (default 0)
+.TP
+\fB-yangle\fR \fIdegrees\fR (default 0) - Apply x or y shear to the text\&.
+.TP
+\fB-x\fR \fIx\fR (default 0)
+.TP
+\fB-y\fR \fIy\fR (default 0) - Allow the text to be positioned without setTextPosition\&.
+.TP
+\fB-bg\fR \fIbool\fR (default 0)
+.TP
+\fB-background\fR \fIbool\fR (default 0)
+.TP
+\fB-fill\fR \fIbool\fR (default 0)
+Any of \fB-bg\fR, \fB-background\fR or \fB-fill\fR cause the text to be drawn
+on a background whose color is set by setBgColor\&.
+.RE
+.TP
+\fIobjectName\fR \fBdrawTextBox\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR \fIstr\fR ?\fIoption value\fR\&.\&.\&.?
+Draw the text string \fIstr\fR wrapping at blanks and tabs so that it fits within the box defined
+by \fIx\fR, \fIy\fR, \fIwidth\fR and \fIheight\fR\&. An embedded newline in \fIstr\fR causes
+a new line in the output\&. If \fIstr\fR is too long to fit in the specified box, it is truncated and the unused remainder is returned\&.
+.RS
+.TP
+\fB-align\fR \fIleft|right|center|justify\fR
+Specifies the justification\&. If not given, the text is left justified\&.
+.TP
+\fB-linesvar\fR \fIvar\fR
+Gives the name of a variable which will be set to the number of lines written\&.
+.TP
+\fB-dryrun\fR \fIbool\fR
+If true, no changes will be made to the PDF document\&. The return
+value and \fB-linesvar\fR gives information of what would happen
+with the given text\&.
+.RE
+.TP
+\fIobjectName\fR \fBgetFontMetric\fR \fImetric\fR
+Get information about current font\&. The available \fImetric\fRs are
+\fBascend\fR, \fBdescend\fR, \fBfixed\fR, \fBbboxb\fR,
+\fBbboxt\fR and \fBheight\fR\&.
+.RS
+.TP
+\fBascend\fR
+Top of typical glyph, displacement from anchor point\&. Typically a positive number since it is above the anchor point\&.
+.TP
+\fBdescend\fR
+Bottom of typical glyph, displacement from anchor point\&. Typically a negative number since it is below the anchor point\&.
+.TP
+\fBfixed\fR
+Boolean which is true if this is a fixed width font\&.
+.TP
+\fBbboxb\fR
+Bottom of Bounding Box, displacement from anchor point\&. Typically a negative number since it is below the anchor point\&.
+.TP
+\fBbboxt\fR
+Top of Bounding Box, displacement from anchor point\&. Typically a positive number since it is above the anchor point\&.
+.TP
+\fBheight\fR
+Height of font's Bounding Box\&.
+.RE
+.PP
+.SS "OBJECT METHODS, IMAGES"
+A limited set of image formats are directly understood by pdf4tcl,
+currently some JPEG, some PNG, and some TIFF formats\&.
+To use unsupported formats, use Tk and the Img
+package to load and dump images to raw format which can be fed to
+\fBputRawImage\fR and \fBaddRawImage\fR\&.
+.TP
+\fIobjectName\fR \fBputImage\fR \fIid\fR \fIx\fR \fIy\fR ?\fIoption value\fR\&.\&.\&.?
+Put an image on the current page\&. The image must have been added previously by
+\fBaddImage\fR or \fBaddRawImage\fR\&. The \fIid\fR is the one returned
+from the add command\&.
+.RS
+.TP
+\fB-angle\fR \fIdegrees\fR
+Rotate image \fIdegrees\fR counterclockwise around the anchor point\&.
+Default is 0\&.
+.TP
+\fB-anchor\fR \fIanchor\fR
+Set the anchor point (nw, n, ne etc\&.) of the image\&.
+Coordinates \fIx\fR and \fIy\fR places the anchor point, and any rotation is around the anchor point\&.
+Default is nw if \fB-orient\fR is true, otherwise se\&.
+.TP
+\fB-height\fR \fIheight\fR
+Set the height of the image\&. Default height is one point per pixel\&. If \fIwidth\fR is set but not \fIheight\fR,
+the height is selected to preserve the aspect ratio of the image\&.
+.TP
+\fB-width\fR \fIwidth\fR
+Set the width of the image\&. Default width is one point per pixel\&.
+If \fIheight\fR is set but not \fIwidth\fR, the width is selected to
+preserve the aspect ratio of the image\&.
+.RE
+.TP
+\fIobjectName\fR \fBputRawImage\fR \fIdata\fR \fIx\fR \fIy\fR ?\fIoption value\fR\&.\&.\&.?
+Put an image on the current page\&. Works like \fBputImage\fR except that the raw image data is given directly\&.
+.RS
+.TP
+\fB-compress\fR \fIboolean\fR
+Raw data will be zlib compressed if this option is set to true\&.
+Default value is the document's \fB-compress\fR setting\&.
+.RE
+.CS
+
+
+ image create photo img1 -file image\&.gif
+ set imgdata [img1 data]
+ mypdf putRawImage $imgdata 60 20 -height 40
+
+.CE
+.TP
+\fIobjectName\fR \fBaddImage\fR \fIfilename\fR ?\fIoption value\fR\&.\&.\&.?
+Add an image to the document\&. Returns an id that can be used in subsequent
+calls to \fBputImage\fR\&. Supported formats are PNG, JPEG and TIFF\&.
+.RS
+.TP
+\fB-id\fR \fIid\fR
+Explicitly select an id for the image\&. The \fIid\fR must be unique within the document\&.
+.TP
+\fB-type\fR \fIname\fR
+Set the image type\&. This can usually be deduced from the file name, this
+option helps when that is not possible\&. This can be either "png", "jpeg",
+or "tiff"\&.
+.RE
+.TP
+\fIobjectName\fR \fBaddRawImage\fR \fIdata\fR ?\fIoption value\fR\&.\&.\&.?
+Add an image to the document\&. Works like \fBaddImage\fR except that the raw image data is given directly\&.
+.RS
+.TP
+\fB-compress\fR \fIboolean\fR
+Raw data will be zlib compressed if this option is set to true\&.
+Default value is the document's \fB-compress\fR setting\&.
+.RE
+.CS
+
+
+ image create photo img1 -file image\&.gif
+ set imgdata [img1 data]
+ set id [mypdf addRawImage $imgdata]
+ mypdf putImage $id 20 60 -width 100
+
+.CE
+.TP
+\fIobjectName\fR \fBgetImageHeight\fR \fIid\fR
+This method returns the height of the image identified by \fIid\fR\&.
+.TP
+\fIobjectName\fR \fBgetImageSize\fR \fIid\fR
+This method returns the size of the image identified by \fIid\fR\&. The
+return value is a list of width and height\&.
+.TP
+\fIobjectName\fR \fBgetImageWidth\fR \fIid\fR
+This method returns the width of the image identified by \fIid\fR\&.
+.PP
+.SS "OBJECT METHODS, COLORS"
+Colors can be expressed in various formats\&. First, as a three element list
+of values in the range 0\&.0 to 1\&.0\&. Second, in the format #XXXXXX where
+the Xes are two hexadecimal digits per color value\&. Third, if Tk is available,
+any color accepted by winfo rgb is accepted\&.
+.TP
+\fIobjectName\fR \fBsetBgColor\fR \fIred\fR \fIgreen\fR \fIblue\fR
+Sets the background color for text operations where -bg is true\&.
+.TP
+\fIobjectName\fR \fBsetBgColor\fR \fIc\fR \fIm\fR \fIy\fR \fIk\fR
+Alternative calling form, to set color in CMYK color space\&.
+.TP
+\fIobjectName\fR \fBsetFillColor\fR \fIred\fR \fIgreen\fR \fIblue\fR
+Sets the fill color for graphics operations, and the foreground color for
+text operations\&.
+.TP
+\fIobjectName\fR \fBsetFillColor\fR \fIc\fR \fIm\fR \fIy\fR \fIk\fR
+Alternative calling form, to set color in CMYK color space\&.
+.TP
+\fIobjectName\fR \fBsetStrokeColor\fR \fIred\fR \fIgreen\fR \fIblue\fR
+Sets the stroke color for graphics operations\&.
+.TP
+\fIobjectName\fR \fBsetStrokeColor\fR \fIc\fR \fIm\fR \fIy\fR \fIk\fR
+Alternative calling form, to set color in CMYK color space\&.
+.PP
+.SS "OBJECT METHODS, GRAPHICS"
+.TP
+\fIobjectName\fR \fBsetLineWidth\fR \fIwidth\fR
+Sets the width for subsequent line drawing\&.
+Line width must be a non-negative number\&.
+.TP
+\fIobjectName\fR \fBsetLineDash\fR ?\fIon off\fR\&.\&.\&.? ?\fIoffset\fR?
+Sets the dash pattern for subsequent line drawing\&.
+Offset and any elements in the dash pattern must be non-negative numbers\&.
+\fIon off\fR is a series of pairs of numbers which define a
+dash pattern\&. The 1st, 3rd \&.\&.\&. numbers give units to paint,
+the 2nd, 4th \&.\&.\&. numbers specify unpainted gaps\&. When all numbers have
+been used, the pattern is re-started from the beginning\&.
+An optional last argument sets the dash offset, which defaults to 0\&.
+Calling \fBsetLineDash\fR with no arguments resets the dash pattern
+to a solid line\&.
+.TP
+\fIobjectName\fR \fBsetLineStyle\fR \fIwidth\fR \fIargs\fR
+Sets the width and dash pattern for subsequent line drawing\&.
+Line width and any elements in the dash pattern must be non-negative numbers\&.
+\fIargs\fR is a series of numbers (not a tcl list) which define a
+dash pattern\&. The 1st, 3rd \&.\&.\&. numbers give units to paint,
+the 2nd, 4th \&.\&.\&. numbers specify unpainted gaps\&. When all numbers have
+been used, the pattern is re-started from the beginning\&.
+This method do not support offsetting the pattern, see \fBsetLineDash\fR
+for a more complete method\&.
+.TP
+\fIobjectName\fR \fBline\fR \fIx1\fR \fIy1\fR \fIx2\fR \fIy2\fR
+Draws a line from \fIx1,\fR \fIy1\fR to \fIx2,\fR \fIy2\fR
+.TP
+\fIobjectName\fR \fBcurve\fR \fIx1\fR \fIy1\fR \fIx2\fR \fIy2\fR \fIx3\fR \fIy3\fR ?\fIx4 y4\fR?
+If \fIx4,\fR \fIy4\fR are present, draws a cubic bezier from \fIx1,\fR
+\fIy1\fR to \fIx4,\fR \fIy4\fR with control points \fIx2,\fR \fIy2\fR and
+\fIx3,\fR \fIy3\fR\&. Otherwise draws a quadratic bezier from \fIx1,\fR
+\fIy1\fR to \fIx3,\fR \fIy3\fR, with control point \fIx2,\fR
+\fIy2\fR
+.TP
+\fIobjectName\fR \fBpolygon\fR ?\fIx y\fR\&.\&.\&.? ?\fIoption value\fR\&.\&.\&.?
+Draw a polygon\&. There must be at least 3 points\&.
+The polygon is closed back to the first coordinate unless \fI-closed\fR is false in which case a poly-line is drawn\&.
+.RS
+.TP
+\fB-filled\fR \fIbool\fR (default 0)
+Fill the polygon\&.
+.TP
+\fB-stroke\fR \fIbool\fR (default 1)
+Draw an outline of the polygon\&.
+.TP
+\fB-closed\fR \fIbool\fR (default 1)
+Close polygon\&.
+.RE
+.TP
+\fIobjectName\fR \fBcircle\fR \fIx\fR \fIy\fR \fIradius\fR ?\fIoption value\fR\&.\&.\&.?
+Draw a circle at the given center coordinates\&.
+.RS
+.TP
+\fB-filled\fR \fIbool\fR (default 0)
+Fill the circle\&.
+.TP
+\fB-stroke\fR \fIbool\fR (default 1)
+Draw an outline of the circle\&.
+.RE
+.TP
+\fIobjectName\fR \fBoval\fR \fIx\fR \fIy\fR \fIradiusx\fR \fIradiusy\fR ?\fIoption value\fR\&.\&.\&.?
+Draw an oval at the given center coordinates\&.
+.RS
+.TP
+\fB-filled\fR \fIbool\fR (default 0)
+Fill the oval\&.
+.TP
+\fB-stroke\fR \fIbool\fR (default 1)
+Draw an outline of the oval\&.
+.RE
+.TP
+\fIobjectName\fR \fBarc\fR \fIx\fR \fIy\fR \fIradiusx\fR \fIradiusy\fR \fIphi\fR \fIextend\fR ?\fIoption value\fR\&.\&.\&.?
+Draw an arc, following the given oval\&. The arc starts at angle \fIphi\fR, given in degrees starting in the "east" direction, counting counter clockwise\&. The arc extends \fIextend\fR degrees\&.
+.RS
+.TP
+\fB-filled\fR \fIbool\fR (default 0)
+Fill the arc\&.
+.TP
+\fB-stroke\fR \fIbool\fR (default 1)
+Draw an outline of the arc\&.
+.TP
+\fB-style\fR \fIarc|pieslice|chord\fR (default \fIarc\fR)
+Defines the style of the arc\&. An \fIarc\fR draws the perimeter of the arc and is never filled\&. A \fIpieslice\fR closes the arc with lines to the center of the oval\&. A \fIchord\fR closes the arc directly\&.
+.RE
+.TP
+\fIobjectName\fR \fBarrow\fR \fIx1\fR \fIy1\fR \fIx2\fR \fIy2\fR \fIsize\fR ?\fIangle\fR?
+Draw an arrow\&. Default \fIangle\fR is 20 degrees\&.
+.TP
+\fIobjectName\fR \fBrectangle\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR ?\fIoption value\fR\&.\&.\&.?
+Draw a rectangle\&.
+.RS
+.TP
+\fB-filled\fR \fIbool\fR (default 0)
+Fill the rectangle\&.
+.TP
+\fB-stroke\fR \fIbool\fR (default 1)
+Draw an outline of the rectangle\&.
+.RE
+.TP
+\fIobjectName\fR \fBclip\fR \fIx\fR \fIy\fR \fIwidth\fR \fIheight\fR
+Create a clip region\&. To cancel a clip region you must restore a graphic context that was saved before\&.
+.TP
+\fIobjectName\fR \fBgsave\fR
+Save graphic/text context\&. (I\&.e\&. insert a raw PDF "q" command)\&.
+This saves the settings of at least these calls: \fBclip\fR, \fBsetBgColor\fR, \fBsetFillColor\fR, \fBsetStrokeColor\fR, \fBsetLineStyle\fR, \fBsetLineWidth\fR, \fBsetLineDash\fR, \fBsetFont\fR, and \fBsetLineSpacing\fR\&.
+Each call to \fBgsave\fR should be followed by a later call to \fBgrestore\fR in the same page\&.
+.TP
+\fIobjectName\fR \fBgrestore\fR
+Restore graphic/text context\&. (I\&.e\&. insert a raw PDF "Q" command)\&.
+.PP
+.SS "OBJECT CONFIGURATION"
+All pdf4tcl objects understand the options from \fBPAGE CONFIGURATION\fR,
+which defines default page settings when used with a pdf4tcl object\&.
+The objects also understand the following configuration options:
+.TP
+\fB-cmyk\fR \fIboolean\fR
+If true, pdf4tcl will try to generate the document in CMYK color space\&.
+See \fB::pdf4tcl::rgb2Cmyk\fR for a way to control color translation\&.
+Default value is false\&.
+This option can only be set at object creation\&.
+.TP
+\fB-compress\fR \fIboolean\fR
+Pages will be zlib compressed if this option is set to true\&.
+Default value is true\&.
+This option can only be set at object creation\&.
+.TP
+\fB-file\fR \fIfilename\fR
+Continuously write pdf to \fIfilename\fR instead of storing it
+in memory\&.
+This option can only be set at object creation\&.
+.TP
+\fB-unit\fR \fIdefaultunit\fR
+Defines default unit for coordinates and distances\&. Any value given without
+a unit is interpreted using this unit\&.
+See \fBUNITS\fR for valid units\&.
+Default value is "p" as in points\&.
+This option can only be set at object creation\&.
+.PP
+.SS "PAGE CONFIGURATION"
+.TP
+\fB-paper\fR \fIname\fR
+The argument of this option defines the paper size\&.
+The paper size may be a string like "a4", where valid values
+are available through \fB::pdf4tcl::getPaperSizeList\fR\&.
+Paper size may also be a two element list specifying width and height\&.
+.sp
+The default value of this option is "a4"\&.
+.TP
+\fB-landscape\fR \fIboolean\fR
+If true, paper width and height are switched\&.
+.sp
+The default value of this option is false\&.
+.TP
+\fB-orient\fR \fIboolean\fR
+This sets the orientation of the y axis of the coordinate system\&.
+With \fB-orient\fR false, origin is in the bottom left corner\&.
+With \fB-orient\fR true, origin is in the top left corner\&.
+.sp
+The default value of this option is true\&.
+.TP
+\fB-margin\fR \fIvalues\fR
+The margin is a one, two or four element list of margins\&.
+For one element, it specifies all margins\&.
+Two elements specify left/right and top/bottom\&.
+Four elements specify left, right, top and bottom\&.
+.sp
+The default value of this option is zero\&.
+.TP
+\fB-rotate\fR \fIangle\fR
+This value defines a rotation angle for the display of the page\&.
+Allowed values are multiples of 90\&.
+.sp
+The default value of this option is zero\&.
+.PP
+.SH EXAMPLES
+.CS
+
+
+ pdf4tcl::new mypdf -paper a3
+ mypdf startPage
+ mypdf setFont 12 Courier
+ mypdf text "Hejsan" -x 50 -y 50
+ mypdf write -file mypdf\&.pdf
+ mypdf destroy
+
+.CE
+.SH "SEE ALSO"
+doctools
+.SH KEYWORDS
+document, pdf
+.SH COPYRIGHT
+.nf
+Copyright (c) 2007-2016 Peter Spjuth
+Copyright (c) 2009 Yaroslav Schekin
+
+.fi
diff --git a/libraries/pdf4tcl/slack-desc b/libraries/pdf4tcl/slack-desc
new file mode 100644
index 0000000000..7d33c91c44
--- /dev/null
+++ b/libraries/pdf4tcl/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------------------------------------------------------|
+pdf4tcl: pdf4tcl (tcl package for generating pdf files)
+pdf4tcl:
+pdf4tcl: pdf4tcl is a tcl package for generating pdf files.
+pdf4tcl: It's features include compressed pdf, canvas to pdf, basic shapes,
+pdf4tcl: set stroke and fill colour, set line style, simple text strings,
+pdf4tcl: left or right aligned or centered text boxes with left or right
+pdf4tcl: aligned, centered or fully justified text, rotated text, text
+pdf4tcl: with skewed characters, use adobe standard fonts, use other
+pdf4tcl: fonts, jpeg and png images, support for raw image data, bookmarks
+pdf4tcl: and metadata, most commonly used paper dimensions.
+pdf4tcl: for more info, visit: https://pdf4tcl.sourceforge.net/
diff --git a/libraries/pexpect/README b/libraries/pexpect/README
index 1d15e556c1..09bbb8b290 100644
--- a/libraries/pexpect/README
+++ b/libraries/pexpect/README
@@ -1,4 +1,4 @@
-Pexpect is a Python module for spawning child applications; controlling them;
-and responding to expected patterns in their output. Pexpect can be used for
-automating interactive applications such as ssh, ftp, passwd, telnet, etc.
-Pexpect is pure Python.
+Pexpect is a Python module for spawning child applications;
+controlling them; and responding to expected patterns in their
+output. Pexpect can be used for automating interactive applications
+such as ssh, ftp, passwd, telnet, etc. Pexpect is pure Python.
diff --git a/libraries/pexpect/pexpect.SlackBuild b/libraries/pexpect/pexpect.SlackBuild
index e60bff3237..e554ea0abb 100644
--- a/libraries/pexpect/pexpect.SlackBuild
+++ b/libraries/pexpect/pexpect.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pexpect
# Copyright (c) 2007 Javier Rojas <jerojasro@gmail.com>
-# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-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=pexpect
-VERSION=${VERSION:-4.6.0}
+VERSION=${VERSION:-4.9.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}
@@ -80,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/libraries/pexpect/pexpect.info b/libraries/pexpect/pexpect.info
index d5c3e3374a..f8380f7ae0 100644
--- a/libraries/pexpect/pexpect.info
+++ b/libraries/pexpect/pexpect.info
@@ -1,8 +1,8 @@
PRGNAM="pexpect"
-VERSION="4.6.0"
+VERSION="4.9.0"
HOMEPAGE="https://github.com/pexpect/pexpect"
-DOWNLOAD="https://files.pythonhosted.org/packages/89/43/07d07654ee3e25235d8cea4164cdee0ec39d1fda8e9203156ebe403ffda4/pexpect-4.6.0.tar.gz"
-MD5SUM="d4f3372965a996238d57d19b95d2e03a"
+DOWNLOAD="https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz"
+MD5SUM="f48d48325ee7f1221add0396ea9e2f14"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ptyprocess"
diff --git a/libraries/pgplot/README b/libraries/pgplot/README
deleted file mode 100644
index cadec04fb7..0000000000
--- a/libraries/pgplot/README
+++ /dev/null
@@ -1,16 +0,0 @@
-PGPLOT is a Fortran subroutine package for drawing simple scientific
-graphs on various graphics display devices. It was originally developed
-for use with astronomical data reduction programs in the Caltech
-Astronomy Department.
-
-It consists of a library of routines that are Fortran- and C-callable.
-There are routines that are device-dependent, in that they can produce
-output for various terminals, image displays, dot-matrix printers,
-laser printers, and pen plotters. Common file formats supported include
-PostScript and GIF.
-
-PGPLOT is not public-domain software. However, it is freely available
-for non-commercial use. The source code and documentation are
-copyrighted by California Institute of Technology, and may not be
-redistributed or placed on public Web servers without permission. The
-software is provided "as is" with no warranty.
diff --git a/libraries/pgplot/doinst.sh b/libraries/pgplot/doinst.sh
deleted file mode 100644
index e14444b033..0000000000
--- a/libraries/pgplot/doinst.sh
+++ /dev/null
@@ -1,26 +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/profile.d/pgplot.sh.new
-preserve_perms etc/profile.d/pgplot.csh.new
diff --git a/libraries/pgplot/drivers.list b/libraries/pgplot/drivers.list
deleted file mode 100644
index 53108b3b5f..0000000000
--- a/libraries/pgplot/drivers.list
+++ /dev/null
@@ -1,114 +0,0 @@
-! PGPLOT drivers.
-!------------------------------------------------------------------------------
-! To configure PGPLOT, ensure that drivers you do not want are
-! commented out (place ! in column 1). N.B. Many device-drivers are
-! available on selected operating systems only.
-!------------------------------------------------------------------------------
-! File Code Description Restrictions
-! BCDRIV 0 /BCANON Canon Laser printer (bitmap version), landscape
-! CADRIV 0 /CANON Canon Laser printer, LBP-8/A2, landscape
-! CCDRIV 0 /CCP DEC LJ250 Color Companion printer
-! CGDRIV 1 /CGM CGM metafile, indexed colour selection C
-! CGDRIV 2 /CGMD CGM metafile, direct colour selection C
-! CWDRIV 0 /CW6320 Gould/Bryans Colourwriter 6320 pen plotter Std F77
-! EPDRIV 0 /EPSON Epson FX100 dot matrix printer
-! EXDRIV 1 /EXCL Talaris/EXCL printers, landscape
-! EXDRIV 2 /EXCL Talaris/EXCL printers, portrait
-! GCDRIV 0 /GENICOM Genicom 4410 dot-matrix printer, landscape
-! Caution: use of GIDRIV may require a license from Unisys:
- GIDRIV 1 /GIF GIF-format file, landscape
- GIDRIV 2 /VGIF GIF-format file, portrait
-! GLDRIV 1 /HPGL Hewlett-Packard HP-GL plotters, landscape Std F77
-! GLDRIV 2 /VHPGL Hewlett-Packard HP-GL plotters, portrait Std F77
-! GODRIV 0 /GOC GOC Sigma T5670 terminal VMS
-! GVDRIV 0 /GVENICOM Genicom 4410 dot-matrix printer, portrait
-! HGDRIV 0 /HPGL2 Hewlett-Packard graphics language
-! HIDRIV 0 /HIDMP Houston Instruments HIDMP pen plotter
-! HJDRIV 0 /HJ Hewlett-Packard Desk/Laserjet printer
-! HPDRIV 0 /HP7221 Hewlett-Packard HP7221 pen plotter Std F77
-! LADRIV 0 /LA50 Dec LA50 and other sixel printers
-! LJDRIV 0 /LJ Hewlett-Packard LaserJet printers VMS
-! LSDRIV 1 /LIPS2 Canon LaserShot printer (landscape)
-! LSDRIV 2 /VLIPS2 Canon LaserShot printer (portrait)
-! LNDRIV 0 /LN03 Dec LN03-PLUS Laser printer (landscape) VMS
-! LVDRIV 0 /LVN03 Dec LN03-PLUS Laser printer (portrait) VMS
-! LXDRIV 0 /LATEX LaTeX picture environment
-! MFDRIV 0 /FILE PGPLOT graphics metafile
-! NEDRIV 0 /NEXT Computers running NeXTstep operating system
- NUDRIV 0 /NULL Null device (no output) Std F77
-! PGDRIV 0 /PGMF PGPLOT metafile (new format, experimental) Std F77
-! PNDRIV 1 /PNG Portable Network Graphics file C
-! PNDRIV 2 /TPNG Portable Network Graphics file - transparent background C
-! PPDRIV 1 /PPM Portable Pixel Map file, landscape
-! PPDRIV 2 /VPPM Portable PIxel Map file, portrait
- PSDRIV 1 /PS PostScript printers, monochrome, landscape Std F77
- PSDRIV 2 /VPS Postscript printers, monochrome, portrait Std F77
- PSDRIV 3 /CPS PostScript printers, color, landscape Std F77
- PSDRIV 4 /VCPS PostScript printers, color, portrait Std F77
-! PXDRIV 0 /PRINTRONI Printronix P300 or P600 dot-matrix printer
-! QMDRIV 1 /QMS QUIC devices (QMS and Talaris), landscape Std F77
-! QMDRIV 2 /VQMS QUIC devices (QMS and Talaris), portrait Std F77
-! TFDRIV 0 /TFILE Tektronix-format disk file VMS
-! TODRIV 0 /TOSHIBA Toshiba "3-in-one" printer, model P351
-! TTDRIV 1 /TEK4010 Tektronix 4006/4010 storage-tube terminal Std F77
-! TTDRIV 2 /GF GraphOn terminal Std F77
-! TTDRIV 3 /RETRO RetroGraphics terminal Std F77
-! TTDRIV 4 /GTERM GTERM Tektronix terminal emulator Std F77
- TTDRIV 5 /XTERM XTERM Tektronix terminal emulator Std F77
-! TTDRIV 6 /ZSTEM ZSTEM terminal emulator Std F77
-! TTDRIV 7 /V603 Visual 603 terminal Std F77
-! TTDRIV 8 /KRM3 Kermit 3 on IBM-PC Std F77
-! TTDRIV 9 /TK4100 Tektronix 4100-series terminals Std F77
-! TTDRIV 10 /VMAC Macintosh VersaTerm-PRO Tektronix-4105 emulator Std F77
-! TXDRIV 0 /TX TeX PK Font Output files
-! VADRIV 0 /VCANON Canon Laser printer, LBP-8/A2, portrait
-! VBDRIV 0 /VBCANON Canon Laser printer (bitmap version), portrait
-! VTDRIV 0 /VT125 Dec Regis terminals (VT125 etc.) Std F77
- WDDRIV 1 /WD X Window dump file, landscape
- WDDRIV 2 /VWD X Window dump file, portrait
-! WSDRIV 0 /WS VAX workstations running VWS software VMS
-! X2DRIV 0 /XDISP PGDISP or FIGDISP server for X workstations C
- XWDRIV 1 /XWINDOW Workstations running X Window System C
- XWDRIV 2 /XSERVE Persistent window on X Window System C
-! ZEDRIV 0 /ZETA Zeta 8 Digital Plotter
-!
-! The following drivers can only be used in PGPLOT installations on MS-DOS
-! systems with appropriate hardware and software. Do not select these
-! on UNIX or VMS systems.
-!
-! LHDRIV 0 /LH IBM PCs and clones, Lahey F77 32-bit Fortran v5.0
-! MSDRIV 0 /MSOFT IBM PCs and clones running Microsoft Fortran 5.0
-! SSDRIV 0 /SS IBM PCs and clones, MS-DOS, Salford Software FTN
-!
-! The following driver can only be used in PGPLOT installations on Acorn
-! Archimedes systems with appropriate hardware and software.
-!
-! ACDRIV 0 /ARC Acorn Archimedes computer
-!
-! Selection of the XMOTIF driver causes a stub driver to be placed in
-! the main PGPLOT library. The real driver is placed in libXmPgplot.a.
-! Applications that need the Motif driver should link with libXmPgplot.a
-! before the PGPLOT library. This treatment means that only Motif
-! applications have to be linked with Motif libraries.
-!
-! XMDRIV 0 /XMOTIF Motif applications containing XmPgplot widgets. C
-!
-! Selection of the XATHENA driver causes a stub driver to be placed in
-! the main PGPLOT library. The real driver is placed in libXawPgplot.a.
-! Applications that need the Athena driver should link with libXawPgplot.a
-! before the PGPLOT library. This treatment means that only Athena
-! applications have to be linked with Xaw libraries.
-!
-! XADRIV 0 /XATHENA Motif applications containing XaPgplot widgets. C
-!
-! Selection of the TK driver causes a stub driver to be placed in
-! the main PGPLOT library. The real driver is placed in libtkpgplot.a.
-! Applications that need the Tk driver should link with libtkpgplot.a
-! before the PGPLOT library. This treatment means that only Tcl/Tk
-! applications have to be linked with the Tcl and Tk libraries.
-!
-! TKDRIV 0 /XTK X-window Tcl/Tk programs with pgplot widgets. C
-!
-! The following driver is included solely for use by the aips++ team.
-!
-! RVDRIV 0 /XRV X-window Rivet/Tk programs with pgplot widgets. C
diff --git a/libraries/pgplot/pgplot.SlackBuild b/libraries/pgplot/pgplot.SlackBuild
deleted file mode 100644
index 2f71c20776..0000000000
--- a/libraries/pgplot/pgplot.SlackBuild
+++ /dev/null
@@ -1,141 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for PGPLOT
-
-# Copyright 2018 Nitish Ragoomundun, Mauritius
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# ---------------------------------------------------------------------------
-#
-# Changelog:
-# 02/Aug/2018 : added LD_LIBRARY_PATH and an additional variable for the
-# scripts in /etc/profile.d
-# * Thanks to Eric Lindblad for his suggestions.
-#
-# ---------------------------------------------------------------------------
-
-PRGNAM=pgplot
-VERSION=${VERSION:-5.2.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-FVER=5.2
-
-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}${FVER}.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 {} \;
-
-# Replace upstream's list of enabled drivers
-cat $CWD/drivers.list > drivers.list
-
-CFLAGC="$SLKCFLAGS" \
-FFLAGC="$SLKCFLAGS" \
-$TMP/$PRGNAM/makemake $TMP/$PRGNAM linux g77_gcc
-
-make -j1
-make -j1 cpg
-ld -shared -o libcpgplot.so --whole-archive libcpgplot.a
-
-mkdir -p $PKG/usr/bin
-install -D -m755 pgxwin_server $PKG/usr/bin
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM
-install -D -m755 libpgplot.so $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/libpgplot.so
-install -D -m644 libpgplot.a libcpgplot.a grfont.dat rgb.txt $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/
-
-mkdir -p $PKG/usr/include
-cp -a cpgplot.h $PKG/usr/include/cpgplot.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
-
-
-# /etc/profile.d scripts
-mkdir -p $PKG/etc/profile.d/
-cat << EOF > $PKG/etc/profile.d/pgplot.sh.new
-#!/bin/sh
-export PGPLOT_DIR="/usr/lib${LIBDIRSUFFIX}/$PRGNAM"
-export LD_LIBRARY_PATH="\$LD_LIBRARY_PATH:/usr/lib${LIBDIRSUFFIX}/$PRGNAM"
-
-# uncomment the following line if xwin wanted as default
-# export PGPLOT_DEV="/XWINDOW"
-EOF
-
-cat << EOF > $PKG/etc/profile.d/pgplot.csh.new
-#!/bin/csh
-setenv PGPLOT_DIR /usr/lib${LIBDIRSUFFIX}/$PRGNAM
-setenv LD_LIBRARY_PATH \$LD_LIBRARY_PATH:/usr/lib${LIBDIRSUFFIX}/$PRGNAM
-
-# uncomment the following line if xwin wanted as default
-# setenv PGPLOT_DEV /XWINDOW
-EOF
-
-chmod 0755 $PKG/etc/profile.d/pgplot.{sh,csh}.new
-
-
-# Copying documentation and changelogs
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a aaaread.me copyright.notice install*.txt ver5*.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/libraries/pgplot/pgplot.info b/libraries/pgplot/pgplot.info
deleted file mode 100644
index 1bce238dd5..0000000000
--- a/libraries/pgplot/pgplot.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pgplot"
-VERSION="5.2.2"
-HOMEPAGE="http://www.astro.caltech.edu/~tjp/pgplot"
-DOWNLOAD="ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz"
-MD5SUM="e8a6e8d0d5ef9d1709dfb567724525ae"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Nitish Ragoomundun"
-EMAIL="lrugratz@gmail.com"
diff --git a/libraries/pgplot/slack-desc b/libraries/pgplot/slack-desc
deleted file mode 100644
index 4845115a0f..0000000000
--- a/libraries/pgplot/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------------------------------------------------------|
-pgplot: pgplot (graphics subroutine library)
-pgplot:
-pgplot: PGPLOT is a Fortran- or C-callable, device-independent graphics
-pgplot: package for making simple scientific graphs. It is intended for
-pgplot: making graphical images of publication quality with minimum effort
-pgplot: on the part of the user.
-pgplot:
-pgplot:
-pgplot: Homepage: http://www.astro.caltech.edu/~tjp/pgplot
-pgplot:
-pgplot:
diff --git a/libraries/pgtcl-ng/README b/libraries/pgtcl-ng/README
index 777e7551a9..fa9c7dc11d 100644
--- a/libraries/pgtcl-ng/README
+++ b/libraries/pgtcl-ng/README
@@ -1,3 +1,4 @@
-PostgreSQL Tcl Interface Next-Generation (pgtcl-ng) is a loadable Tcl/Tk
-module for accessing PostgreSQL databases. It extends the pre-8.0 libpgtcl
-from an early Pgtcl release and from the companion project pgintcl.
+PostgreSQL Tcl Interface Next-Generation (pgtcl-ng) is a loadable
+Tcl/Tk module for accessing PostgreSQL databases. It extends the
+pre-8.0 libpgtcl from an early Pgtcl release and from the companion
+project pgintcl.
diff --git a/libraries/pgtcl-ng/pgtcl-ng.SlackBuild b/libraries/pgtcl-ng/pgtcl-ng.SlackBuild
index a46d1e6475..8467502654 100644
--- a/libraries/pgtcl-ng/pgtcl-ng.SlackBuild
+++ b/libraries/pgtcl-ng/pgtcl-ng.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pgtcl-ng
@@ -26,26 +26,36 @@
# Updated for Slackware 13.37 and pgtcl-ng 2.0.0 Dec 18, 2011
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pgtcl-ng
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
- 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,8 +108,10 @@ rmdir $PKG/usr/bin
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/libraries/php-imagick/imagick.ini b/libraries/php-imagick/imagick.ini
index fb4904641c..966a5a5732 100644
--- a/libraries/php-imagick/imagick.ini
+++ b/libraries/php-imagick/imagick.ini
@@ -6,3 +6,14 @@
; Used to enable the image progress monitor.
; imagick.progress_monitor = Off
+
+; When Imagick is loaded, it checks the version number of ImageMagick
+; that it was compiled against, with the version number that is
+; currently being used and will give a warning if they don't match.
+; This warning can be suppressed by enabling this ini setting.
+;
+; Using a version of Imagick that was compiled against a different
+; version of ImageMagick than the one being used is not recommended.
+; Although it may appear to work, it can lead to random crashes or
+; other undefined behaviour.
+; imagick.skip_version_check = Off
diff --git a/libraries/php-imagick/php-imagick.SlackBuild b/libraries/php-imagick/php-imagick.SlackBuild
index 17971c2fba..82cb428c8b 100644
--- a/libraries/php-imagick/php-imagick.SlackBuild
+++ b/libraries/php-imagick/php-imagick.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imagick php module
# Originally written by sl@not-only-pixel.de
-# Copyright 2012-2017 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
@@ -12,22 +12,25 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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)
-SRCNAM=imagick
PRGNAM=php-imagick
-VERSION=${VERSION:-3.4.3}
-BUILD=${BUILD:-1}
+SRCNAM=imagick
+VERSION=${VERSION:-3.5.1}
+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}
@@ -115,9 +125,11 @@ cp -a examples/*.php \
$PKG/usr/doc/$PRGNAM-$VERSION/examples/
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
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/libraries/php-imagick/php-imagick.info b/libraries/php-imagick/php-imagick.info
index 0e2b22285c..1a02bd51ec 100644
--- a/libraries/php-imagick/php-imagick.info
+++ b/libraries/php-imagick/php-imagick.info
@@ -1,10 +1,10 @@
PRGNAM="php-imagick"
-VERSION="3.4.3"
+VERSION="3.5.1"
HOMEPAGE="http://pecl.php.net/package/imagick"
-DOWNLOAD="http://pecl.php.net/get/imagick-3.4.3.tgz"
-MD5SUM="d0ee25c007cd2a28cefccc0b9ee63a28"
+DOWNLOAD="http://pecl.php.net/get/imagick-3.5.1.tgz"
+MD5SUM="c1385a8dabdf3aa3245f09580583dbd2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/php-memcache/php-memcache.SlackBuild b/libraries/php-memcache/php-memcache.SlackBuild
index d0462adb1c..7d4b1f7bd7 100644
--- a/libraries/php-memcache/php-memcache.SlackBuild
+++ b/libraries/php-memcache/php-memcache.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for php-memcache
@@ -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=memcache
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-memcache
-VERSION=${VERSION:-3.0.8}
-BUILD=${BUILD:-3}
+SRCNAM=memcache
+VERSION=${VERSION:-4.0.5.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -106,9 +116,11 @@ cp CREDITS README example.php memcache.php ../package.xml \
$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
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/libraries/php-memcache/php-memcache.info b/libraries/php-memcache/php-memcache.info
index 1618993aea..8b60841098 100644
--- a/libraries/php-memcache/php-memcache.info
+++ b/libraries/php-memcache/php-memcache.info
@@ -1,8 +1,8 @@
PRGNAM="php-memcache"
-VERSION="3.0.8"
+VERSION="4.0.5.2"
HOMEPAGE="http://pecl.php.net/package/memcache"
-DOWNLOAD="http://pecl.php.net/get/memcache-3.0.8.tgz"
-MD5SUM="24505e9b263d2c77f8ae5e9b4725e7d1"
+DOWNLOAD="http://pecl.php.net/get/memcache-4.0.5.2.tgz"
+MD5SUM="bfbf18bc0b410e4f70f13c8fcd965647"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/php-memcached/php-memcached.SlackBuild b/libraries/php-memcached/php-memcached.SlackBuild
index 590012d6a1..edf4d49fcc 100644
--- a/libraries/php-memcached/php-memcached.SlackBuild
+++ b/libraries/php-memcached/php-memcached.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "php-memcached".
@@ -24,27 +24,37 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=memcached
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-memcached
-VERSION=${VERSION:-2.2.0}
-BUILD=${BUILD:-3}
+SRCNAM=memcached
+VERSION=${VERSION:-3.1.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"
@@ -100,9 +110,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CREDITS ChangeLog LICENSE README.markdown $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
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/libraries/php-memcached/php-memcached.info b/libraries/php-memcached/php-memcached.info
index d695e211de..8c5eecaf86 100644
--- a/libraries/php-memcached/php-memcached.info
+++ b/libraries/php-memcached/php-memcached.info
@@ -1,8 +1,8 @@
PRGNAM="php-memcached"
-VERSION="2.2.0"
+VERSION="3.1.5"
HOMEPAGE="https://github.com/php-memcached-dev/php-memcached/"
-DOWNLOAD="https://pecl.php.net/get/memcached-2.2.0.tgz"
-MD5SUM="28937c6144f734e000c6300242f44ce6"
+DOWNLOAD="https://pecl.php.net/get/memcached-3.1.5.tgz"
+MD5SUM="eb535a7551aad6bff0d836a4dec9c4fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmemcached"
diff --git a/libraries/php-mssql/README b/libraries/php-mssql/README
deleted file mode 100644
index 6134241595..0000000000
--- a/libraries/php-mssql/README
+++ /dev/null
@@ -1,5 +0,0 @@
-This extension enables PHP to connect to and use MSSQL databases.
-
-To enable the mssql extension for php, go to /etc/php.d/mssql.ini
-and uncomment the line:
- ; extension=mssql.so
diff --git a/libraries/php-mssql/doinst.sh b/libraries/php-mssql/doinst.sh
deleted file mode 100644
index 808ef73b72..0000000000
--- a/libraries/php-mssql/doinst.sh
+++ /dev/null
@@ -1,14 +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/mssql.ini.new
diff --git a/libraries/php-mssql/mssql.ini b/libraries/php-mssql/mssql.ini
deleted file mode 100644
index c284614114..0000000000
--- a/libraries/php-mssql/mssql.ini
+++ /dev/null
@@ -1,53 +0,0 @@
-; Enable mssql extension module
-; extension=mssql.so
-
-; Allow or prevent persistent links.
-;mssql.allow_persistent = On
-
-; Maximum number of persistent links. -1 means no limit.
-;mssql.max_persistent = -1
-
-; Maximum number of links (persistent+non persistent). -1 means no limit.
-;mssql.max_links = -1
-
-; Minimum error severity to display.
-;mssql.min_error_severity = 10
-
-; Minimum message severity to display.
-;mssql.min_message_severity = 10
-
-; Compatibility mode with old versions of PHP 3.0.
-;mssql.compatability_mode = Off
-
-; Connect timeout
-;mssql.connect_timeout = 5
-
-; Query timeout
-;mssql.timeout = 60
-
-; Valid range 0 - 2147483647. Default = 4096.
-;mssql.textlimit = 4096
-
-; Valid range 0 - 2147483647. Default = 4096.
-;mssql.textsize = 4096
-
-; Limits the number of records in each batch. 0 = all records in one batch.
-;mssql.batchsize = 0
-
-; Specify how datetime and datetim4 columns are returned
-; On => Returns data converted to SQL server settings
-; Off => Returns values as YYYY-MM-DD hh:mm:ss
-;mssql.datetimeconvert = On
-
-; Use NT authentication when connecting to the server
-;mssql.secure_connection = Off
-
-; Specify max number of processes. -1 = library default
-; msdlib defaults to 25
-; FreeTDS defaults to 4096
-;mssql.max_procs = -1
-
-; Specify client character set.
-; If empty or not set the client charset from freetds.conf is used
-; This is only used when compiled with FreeTDS
-;mssql.charset = "ISO-8859-1"
diff --git a/libraries/php-mssql/php-mssql.SlackBuild b/libraries/php-mssql/php-mssql.SlackBuild
deleted file mode 100644
index e060a5b2b2..0000000000
--- a/libraries/php-mssql/php-mssql.SlackBuild
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for php-mssql
-
-# Copyright 2012 Trayan Denev, 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.
-
-SRCNAM=php
-PRGNAM=php-mssql
-VERSION=${VERSION:-5.6.24}
-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-$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 {} \;
-
-cd ext/mssql/
-
-PHP_CONFIG=/usr/bin/php-config
-
-/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=$PHP_CONFIG \
- --build=$ARCH-slackware-linux \
- --with-mssql=/usr \
- --with-libdir=lib${LIBDIRSUFFIX}
-
-make
-
-EXTENSION_DIR="$PKG/$($PHP_CONFIG --extension-dir)"
-mkdir -p $EXTENSION_DIR $PKG/etc/php.d
-
-make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
-
-install -m 644 $CWD/mssql.ini $PKG/etc/php.d/mssql.ini.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 CREDITS $PKG/usr/doc/$PRGNAM-$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/libraries/php-mssql/php-mssql.info b/libraries/php-mssql/php-mssql.info
deleted file mode 100644
index d24d0f3317..0000000000
--- a/libraries/php-mssql/php-mssql.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="php-mssql"
-VERSION="5.6.24"
-HOMEPAGE="http://www.php.net/manual/en/book.mssql.php"
-DOWNLOAD="https://secure.php.net/distributions/php-5.6.24.tar.xz"
-MD5SUM="3ef6e3573698b9b444be88edd3b23494"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="freetds"
-MAINTAINER="Trayan Denev"
-EMAIL="tdenev@gmail.com"
diff --git a/libraries/php-mssql/slack-desc b/libraries/php-mssql/slack-desc
deleted file mode 100644
index fa361490d6..0000000000
--- a/libraries/php-mssql/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-mssql: php-mssql (php MS SQL extension)
-php-mssql:
-php-mssql: This extension enables PHP to connect to and use MSSQL
-php-mssql: databases.
-php-mssql:
-php-mssql: Home: http://www.php.net/manual/en/book.mssql.php
-php-mssql:
-php-mssql:
-php-mssql:
-php-mssql:
-php-mssql:
diff --git a/libraries/php-oci8/php-oci8.SlackBuild b/libraries/php-oci8/php-oci8.SlackBuild
index 9c2550bf1b..976db654f3 100644
--- a/libraries/php-oci8/php-oci8.SlackBuild
+++ b/libraries/php-oci8/php-oci8.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for php-oci8
@@ -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.
-PKGNAM=oci8
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-oci8
-VERSION=${VERSION:-2.0.8}
+SRCNAM=oci8
+VERSION=${VERSION:-2.2.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}
@@ -57,14 +67,12 @@ fi
set -e
-# TODO: test oracle-instantclient or exit
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PKGNAM-$VERSION package.xml
-tar xvf $CWD/$PKGNAM-$VERSION.tgz
-cd $PKGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION 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 \
@@ -88,7 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --with-oci8=instantclient,${ORACLE_CLIENT_HOME}/lib \
+ --with-oci8=shared,instantclient,${ORACLE_CLIENT_HOME}/lib \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -104,7 +112,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# slackware 14.1 current use /etc/php.d
mkdir -p $PKG/etc/php.d
-cat << EOF > $PKG/etc/php.d/${PKGNAM}.ini
+cat << EOF > $PKG/etc/php.d/${SRCNAM}.ini
; Enable oci8 extension module
; extension=oci8.so
EOF
@@ -113,8 +121,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CREDITS LICENSE 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/libraries/php-oci8/php-oci8.info b/libraries/php-oci8/php-oci8.info
index 70cea4de14..a7dda68793 100644
--- a/libraries/php-oci8/php-oci8.info
+++ b/libraries/php-oci8/php-oci8.info
@@ -1,8 +1,8 @@
PRGNAM="php-oci8"
-VERSION="2.0.8"
+VERSION="2.2.0"
HOMEPAGE="https://pecl.php.net/package/oci8"
-DOWNLOAD="https://pecl.php.net/get/oci8-2.0.8.tgz"
-MD5SUM="9de75c4649bb047c6192f13092f9751d"
+DOWNLOAD="https://pecl.php.net/get/oci8-2.2.0.tgz"
+MD5SUM="678d2a647881cd8e5b458c669dcce215"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="oracle-instantclient-devel"
diff --git a/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild b/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
index 322979d924..80826bc333 100644
--- a/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
+++ b/libraries/php-pdo_dblib/php-pdo_dblib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for php-pdo_dblib
@@ -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=php-pdo_dblib
-VERSION=${VERSION:-5.6.24}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-7.4.27}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=php
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"
@@ -106,9 +116,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CREDITS $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/libraries/php-pdo_dblib/php-pdo_dblib.info b/libraries/php-pdo_dblib/php-pdo_dblib.info
index 23feb39708..e79bc1ec12 100644
--- a/libraries/php-pdo_dblib/php-pdo_dblib.info
+++ b/libraries/php-pdo_dblib/php-pdo_dblib.info
@@ -1,8 +1,8 @@
PRGNAM="php-pdo_dblib"
-VERSION="5.6.24"
+VERSION="7.4.27"
HOMEPAGE="http://php.net/manual/en/ref.pdo-dblib.php"
-DOWNLOAD="https://secure.php.net/distributions/php-5.6.24.tar.xz"
-MD5SUM="3ef6e3573698b9b444be88edd3b23494"
+DOWNLOAD="https://secure.php.net/distributions/php-7.4.27.tar.xz"
+MD5SUM="e3919385b5813ddf0b77759fac69ff4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="freetds"
diff --git a/libraries/php-pgsql/php-pgsql.SlackBuild b/libraries/php-pgsql/php-pgsql.SlackBuild
index d9db0ad0d4..a4d404caff 100644
--- a/libraries/php-pgsql/php-pgsql.SlackBuild
+++ b/libraries/php-pgsql/php-pgsql.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for php-pgsql
-# Copyright 2012-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2012-2022 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=php
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-pgsql
-VERSION=${VERSION:-5.6.30}
-BUILD=${BUILD:-1}
+SRCNAM=php
+VERSION=${VERSION:-7.4.27}
+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"
@@ -126,13 +136,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/{pgsql,pdo_pgsql}
-cp ext/pgsql/{CREDITS,README} $PKG/usr/doc/$PRGNAM-$VERSION/pgsql/
+cp ext/pgsql/CREDITS $PKG/usr/doc/$PRGNAM-$VERSION/pgsql/
cp ext/pdo_pgsql/CREDITS $PKG/usr/doc/$PRGNAM-$VERSION/pdo_pgsql/
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/libraries/php-pgsql/php-pgsql.info b/libraries/php-pgsql/php-pgsql.info
index b01ec74990..9b0fc032cf 100644
--- a/libraries/php-pgsql/php-pgsql.info
+++ b/libraries/php-pgsql/php-pgsql.info
@@ -1,10 +1,10 @@
PRGNAM="php-pgsql"
-VERSION="5.6.30"
+VERSION="7.4.27"
HOMEPAGE="http://php.net/manual/en/book.pgsql.php"
-DOWNLOAD="https://secure.php.net/distributions/php-5.6.30.tar.xz"
-MD5SUM="68753955a8964ae49064c6424f81eb3e"
+DOWNLOAD="https://secure.php.net/distributions/php-7.4.27.tar.xz"
+MD5SUM="e3919385b5813ddf0b77759fac69ff4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql"
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/php-redis/php-redis.SlackBuild b/libraries/php-redis/php-redis.SlackBuild
index 54d2fba44b..af1bbd01f0 100644
--- a/libraries/php-redis/php-redis.SlackBuild
+++ b/libraries/php-redis/php-redis.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for php-redis
+# Copyright 2022 Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright 2012-2018 Ebben Aries <e@dscp.org>
# All rights reserved.
#
@@ -22,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-SRCNAM=redis
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-redis
-VERSION=${VERSION:-4.2.0}
+SRCNAM=phpredis
+VERSION=${VERSION:-6.0.2}
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}
@@ -50,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=""
@@ -61,7 +75,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION package.xml
-tar xvf $CWD/$SRCNAM-$VERSION.tgz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -95,7 +109,7 @@ mkdir -p $EXTENSION_DIR $PKG/etc/php.d
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml
-install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/redis.xml
+install -m 644 package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/redis.xml
install -m 644 $CWD/redis.ini $PKG/etc/php.d/redis.ini.new
@@ -103,12 +117,14 @@ 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 CREDITS README.markdown ../package.xml $PKG/usr/doc/$PRGNAM-$VERSION/
+cp CREDITS* README* CHANGELOG* LICENSE* package.xml $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
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/libraries/php-redis/php-redis.info b/libraries/php-redis/php-redis.info
index 160fdb6915..a3ed05ac2e 100644
--- a/libraries/php-redis/php-redis.info
+++ b/libraries/php-redis/php-redis.info
@@ -1,10 +1,10 @@
PRGNAM="php-redis"
-VERSION="4.2.0"
+VERSION="6.0.2"
HOMEPAGE="http://pecl.php.net/package/redis"
-DOWNLOAD="https://pecl.php.net/get/redis-4.2.0.tgz"
-MD5SUM="86754c34431bdc639a0adfcd0f47b4be"
+DOWNLOAD="https://github.com/phpredis/phpredis/archive/6.0.2/phpredis-6.0.2.tar.gz"
+MD5SUM="3eaabf5871b50d1bbf9d00f64f33e7c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="redis"
-MAINTAINER="Ebben Aries"
-EMAIL="e@dscp.org"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/php-ssh2/php-ssh2.SlackBuild b/libraries/php-ssh2/php-ssh2.SlackBuild
index 3c659c9415..cad789a789 100644
--- a/libraries/php-ssh2/php-ssh2.SlackBuild
+++ b/libraries/php-ssh2/php-ssh2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for php-ssh2
@@ -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=ssh2
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-ssh2
-VERSION=${VERSION:-0.13}
-BUILD=${BUILD:-1}
+SRCNAM=ssh2
+VERSION=${VERSION:-1.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"
@@ -105,9 +115,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp LICENSE ../package.xml $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
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/libraries/php-ssh2/php-ssh2.info b/libraries/php-ssh2/php-ssh2.info
index 4c397634f1..2b437b48e4 100644
--- a/libraries/php-ssh2/php-ssh2.info
+++ b/libraries/php-ssh2/php-ssh2.info
@@ -1,8 +1,8 @@
PRGNAM="php-ssh2"
-VERSION="0.13"
+VERSION="1.3.1"
HOMEPAGE="http://pecl.php.net/package/ssh2"
-DOWNLOAD="http://pecl.php.net/get/ssh2-0.13.tgz"
-MD5SUM="e35f8438b3f6177066166c8c1916f44e"
+DOWNLOAD="http://pecl.php.net/get/ssh2-1.3.1.tgz"
+MD5SUM="aa29046de73f1036aea66b4a70f6f598"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/php-stomp/php-stomp.SlackBuild b/libraries/php-stomp/php-stomp.SlackBuild
index 30438e3a3d..60e44776c8 100644
--- a/libraries/php-stomp/php-stomp.SlackBuild
+++ b/libraries/php-stomp/php-stomp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for php-stomp
@@ -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=php-stomp
-VERSION=${VERSION:-1.0.9}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.2}
+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,9 +113,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/libraries/php-stomp/php-stomp.info b/libraries/php-stomp/php-stomp.info
index 32718d8d26..366eadeda6 100644
--- a/libraries/php-stomp/php-stomp.info
+++ b/libraries/php-stomp/php-stomp.info
@@ -1,8 +1,8 @@
PRGNAM="php-stomp"
-VERSION="1.0.9"
+VERSION="2.0.2"
HOMEPAGE="https://pecl.php.net/package/stomp"
-DOWNLOAD="https://pecl.php.net/get/stomp-1.0.9.tgz"
-MD5SUM="c173185be1fbc09bf0aab534fb01f456"
+DOWNLOAD="https://pecl.php.net/get/stomp-2.0.2.tgz"
+MD5SUM="507c30184fde736e924cee20c56df061"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/physfs/README b/libraries/physfs/README
index d291b0ad41..62745114c7 100644
--- a/libraries/physfs/README
+++ b/libraries/physfs/README
@@ -1,3 +1,3 @@
-PhysicsFS is a library to provide abstract access to various archives. It is
-intended for use in video games, and the design was somewhat inspired by
-Quake 3's file subsystem.
+PhysicsFS is a library to provide abstract access to various
+archives. It is intended for use in video games, and the design was
+somewhat inspired by Quake 3's file subsystem.
diff --git a/libraries/physfs/physfs.SlackBuild b/libraries/physfs/physfs.SlackBuild
index 244a1966fa..13b100f75f 100644
--- a/libraries/physfs/physfs.SlackBuild
+++ b/libraries/physfs/physfs.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for physfs
#
# Copyright 2009 - 2013 Erik W. Hanson, Minneapolis, MN, USA
# Copyright 2015 Andrew Strong, Blue Mountains Australia
-# Copyright 2017 - 2019 Johannes Schoepfer, Germany
+# Copyright 2017 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230103 bkw: modified by SlackBuilds.org: use correct github URL
+# so download file is named consistently, regardless of whether it was
+# downloaded with or without content-disposition enabled.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=physfs
-VERSION=${VERSION:-3.0.2}
+VERSION=${VERSION:-3.2.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}
@@ -62,8 +73,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
+cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,14 +83,14 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -Wno-error=maybe-uninitialized" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DPHYSFS_BUILD_SHARED=ON \
-DPHYSFS_BUILD_STATIC=OFF \
-DPHYSFS_BUILD_TEST=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX}
+ -DLIB_SUFFIX:STRING=${LIBDIRSUFFIX} .
make
make install DESTDIR=$PKG
@@ -89,7 +100,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE.txt README.txt docs/CHANGELOG.txt docs/CREDITS.txt docs/Doxyfile \
- docs/INSTALL.txt docs/README-API-documentation.txt docs/TODO.txt \
+ docs/README-API-documentation.txt docs/TODO.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/libraries/physfs/physfs.info b/libraries/physfs/physfs.info
index 7db73967f4..41cd05a090 100644
--- a/libraries/physfs/physfs.info
+++ b/libraries/physfs/physfs.info
@@ -1,8 +1,8 @@
PRGNAM="physfs"
-VERSION="3.0.2"
+VERSION="3.2.0"
HOMEPAGE="https://icculus.org/physfs/"
-DOWNLOAD="https://icculus.org/physfs/downloads/physfs-3.0.2.tar.bz2"
-MD5SUM="dc751294aaf59d1359bbe34e693d1d87"
+DOWNLOAD="https://github.com/icculus/physfs/archive/release-3.2.0/physfs-release-3.2.0.tar.gz"
+MD5SUM="df43675566d86f795f0fe179087b231b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/pidgin-mra/pidgin-mra.SlackBuild b/libraries/pidgin-mra/pidgin-mra.SlackBuild
index 0cb33f797a..bbbc077117 100644
--- a/libraries/pidgin-mra/pidgin-mra.SlackBuild
+++ b/libraries/pidgin-mra/pidgin-mra.SlackBuild
@@ -1,31 +1,41 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pidgin-mra
# Written by chinarulezzz (s.alex08@mail.ru)
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix icon permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pidgin-mra
VERSION=${VERSION:-0.1.4.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 [ ! -z "${PRINT_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" = "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"
@@ -38,18 +48,28 @@ else
LIBDIRSUFFIX=""
fi
+# 20220215 bkw: depending on what client was used to download the file,
+# it might be pidgin-mra-0.1.4.2.tar.gz, or it might have a bunch of
+# gibberish like:
+# pidgin-mra-0.1.4.2.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...
+# so handle either possibility here.
+TARBALL=$CWD/$PRGNAM-$VERSION.tar.gz
+if [ ! -e "$TARBALL" ]; then
+ TARBALL="$( /bin/ls $TARBALL\?* | head -1 )"
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $TARBALL
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 {} \+
patch -p1 < $CWD/use_our_cflags.diff
@@ -64,6 +84,9 @@ 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
+# 20220419 bkw: ugh.
+chmod 0644 $PKG/usr/share/pixmaps/pidgin/protocols/*/*.png
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -72,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/libraries/pies/pies.SlackBuild b/libraries/pies/pies.SlackBuild
index 8aaa5e6cc7..3526fd0b11 100644
--- a/libraries/pies/pies.SlackBuild
+++ b/libraries/pies/pies.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pies
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pies
VERSION=${VERSION:-2.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}
@@ -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/libraries/pies/pies.info b/libraries/pies/pies.info
index 4880a858fd..d72fdd4551 100644
--- a/libraries/pies/pies.info
+++ b/libraries/pies/pies.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/54/d2/aab9e975477e75e47608417e9610a9e
MD5SUM="ba3c3f6bd4d32db114f0dc51b42d3d80"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pies2overrides enum34"
+REQUIRES="pies2overrides"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/pies2overrides/pies2overrides.SlackBuild b/libraries/pies2overrides/pies2overrides.SlackBuild
index 21ec74ca71..64b79e30ee 100644
--- a/libraries/pies2overrides/pies2overrides.SlackBuild
+++ b/libraries/pies2overrides/pies2overrides.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pies2overrides
@@ -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=pies2overrides
VERSION=${VERSION:-2.6.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}
@@ -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/libraries/pigpio/README b/libraries/pigpio/README
new file mode 100644
index 0000000000..e50a716dff
--- /dev/null
+++ b/libraries/pigpio/README
@@ -0,0 +1,2 @@
+pigpio is a C library for the Raspberry which allows control of the
+General Purpose Input Outputs (GPIO).
diff --git a/libraries/pigpio/pigpio.SlackBuild b/libraries/pigpio/pigpio.SlackBuild
new file mode 100644
index 0000000000..7d0c58c050
--- /dev/null
+++ b/libraries/pigpio/pigpio.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for pigpio
+
+# Copyright 2020 Fauzi Gomez Miami FL 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=pigpio
+VERSION=${VERSION:-74}
+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 {} \;
+
+sed -i "s|local/||g" CMakeLists.txt
+sed -i "s|/lib|/lib${LIBDIRSUFFIX}|g" 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 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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a EXAMPLES README UNLICENCE *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pigpio/pigpio.info b/libraries/pigpio/pigpio.info
new file mode 100644
index 0000000000..bccd5f6e84
--- /dev/null
+++ b/libraries/pigpio/pigpio.info
@@ -0,0 +1,10 @@
+PRGNAM="pigpio"
+VERSION="74"
+HOMEPAGE="http://abyz.me.uk/rpi/pigpio/index.html"
+DOWNLOAD="https://github.com/joan2937/pigpio/archive/v74/pigpio-74.tar.gz"
+MD5SUM="976e83991b47ac239200d99d06247e2b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fauzi Gomez"
+EMAIL="me@fauzigomez.com"
diff --git a/libraries/pigpio/slack-desc b/libraries/pigpio/slack-desc
new file mode 100644
index 0000000000..b07f8b08ea
--- /dev/null
+++ b/libraries/pigpio/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------------------------------------------------------|
+pigpio: pigpio (GPIO for Raspberry)
+pigpio:
+pigpio: pigpio is a library for the Raspberry which allows control of the
+pigpio: General Purpose Input Outputs (GPIO). pigpio works on all versions
+pigpio: of the Pi.
+pigpio:
+pigpio:
+pigpio:
+pigpio: Homepage: http://abyz.me.uk/rpi/pigpio/index.html
+pigpio:
+pigpio:
diff --git a/libraries/pipewire/README b/libraries/pipewire/README
deleted file mode 100644
index e9be42ecad..0000000000
--- a/libraries/pipewire/README
+++ /dev/null
@@ -1,4 +0,0 @@
-pipewire
-
-pipewire is a library and protocol for multimedia. Like jack and
-pulseaudio but also for video.
diff --git a/libraries/pipewire/pipewire.SlackBuild b/libraries/pipewire/pipewire.SlackBuild
deleted file mode 100644
index 0bbfe2f800..0000000000
--- a/libraries/pipewire/pipewire.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pipewire
-
-# Copyright 2018 Vincent Batts <vbatts@hashbangbash.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=pipewire
-VERSION=${VERSION:-0.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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
- meson \
- --libdir lib$LIBDIRSUFFIX \
- --prefix /usr \
- --buildtype=plain \
- 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README NEWS PROTOCOL LICENSE GPL LGPL \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
-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/libraries/pipewire/pipewire.info b/libraries/pipewire/pipewire.info
deleted file mode 100644
index ccc0abe62c..0000000000
--- a/libraries/pipewire/pipewire.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pipewire"
-VERSION="0.2.7"
-HOMEPAGE="https://pipewire.org/"
-DOWNLOAD="https://github.com/PipeWire/pipewire/archive/0.2.7/pipewire-0.2.7.tar.gz"
-MD5SUM="026fe15fc65e4a63bd8e5e63c0e054c6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="meson"
-MAINTAINER="Vincent Batts"
-EMAIL="vbatts@hashbangbash.com"
diff --git a/libraries/pipewire/slack-desc b/libraries/pipewire/slack-desc
deleted file mode 100644
index d198576eeb..0000000000
--- a/libraries/pipewire/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------------------------------------------------------|
-pipewire: pipewire (multimedia processing graphs)
-pipewire:
-pipewire: pipewire is a library and protocol for multimedia. Like jack and
-pipewire: pulseaudio but also for video.
-pipewire:
-pipewire:
-pipewire:
-pipewire:
-pipewire:
-pipewire:
-pipewire:
diff --git a/libraries/pjsip/pjsip.SlackBuild b/libraries/pjsip/pjsip.SlackBuild
index 819f70ff22..efcc97a7c7 100644
--- a/libraries/pjsip/pjsip.SlackBuild
+++ b/libraries/pjsip/pjsip.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pjsip
@@ -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=pjsip
+SRCNAM=pjproject
VERSION=${VERSION:-2.9}
-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}
@@ -59,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf pjproject-$VERSION
-tar xvf $CWD/pjproject-$VERSION.tar.bz2
-cd pjproject-$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 \
@@ -98,8 +109,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pjsip/pjsip.info b/libraries/pjsip/pjsip.info
index 1031d77df2..fd0c93bcff 100644
--- a/libraries/pjsip/pjsip.info
+++ b/libraries/pjsip/pjsip.info
@@ -1,10 +1,10 @@
PRGNAM="pjsip"
VERSION="2.9"
HOMEPAGE="https://www.pjsip.org"
-DOWNLOAD="https://www.pjsip.org/release/2.9/pjproject-2.9.tar.bz2"
-MD5SUM="66757078e7bd7cf316acb0425c2fdd6f"
+DOWNLOAD="https://github.com/pjsip/pjproject/archive/2.9/pjproject-2.9.tar.gz"
+MD5SUM="cad09cddc7d56fecab1fa0ce8e604507"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="speex gsm"
+REQUIRES="gsm"
MAINTAINER="Chris Walker"
EMAIL="kris240376@gmail.com"
diff --git a/libraries/pkcs11-helper/README b/libraries/pkcs11-helper/README
new file mode 100644
index 0000000000..442e091758
--- /dev/null
+++ b/libraries/pkcs11-helper/README
@@ -0,0 +1,6 @@
+PKCS#11 is published standard.
+
+PKCS#11 is the de-facto standard to access cryptographic devices.
+
+pkcs11-helper is a library that simplifies the interaction with
+PKCS#11 providers for end-user applications.
diff --git a/libraries/pkcs11-helper/pkcs11-helper.SlackBuild b/libraries/pkcs11-helper/pkcs11-helper.SlackBuild
new file mode 100644
index 0000000000..d725c988db
--- /dev/null
+++ b/libraries/pkcs11-helper/pkcs11-helper.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for pkcs11-helper
+
+# Copyright 2023 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=pkcs11-helper
+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"
+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.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
+
+# 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 AUTHORS COPYING* ChangeLog 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
diff --git a/libraries/pkcs11-helper/pkcs11-helper.info b/libraries/pkcs11-helper/pkcs11-helper.info
new file mode 100644
index 0000000000..8535ab5b3e
--- /dev/null
+++ b/libraries/pkcs11-helper/pkcs11-helper.info
@@ -0,0 +1,10 @@
+PRGNAM="pkcs11-helper"
+VERSION="1.30.0"
+HOMEPAGE="https://github.com/OpenSC/pkcs11-helper/"
+DOWNLOAD="https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-1.30.0/pkcs11-helper-1.30.0.tar.bz2"
+MD5SUM="f6dacff56228a6e9d5c0d417464a0d31"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/pkcs11-helper/slack-desc b/libraries/pkcs11-helper/slack-desc
new file mode 100644
index 0000000000..795acf277b
--- /dev/null
+++ b/libraries/pkcs11-helper/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------------------------------------------------------|
+pkcs11-helper: pkcs11-helper (cryptographic library)
+pkcs11-helper:
+pkcs11-helper: PKCS#11 is published standard.
+pkcs11-helper:
+pkcs11-helper: PKCS#11 is the de-facto standard to access cryptographic devices.
+pkcs11-helper:
+pkcs11-helper: pkcs11-helper is a library that simplifies the interaction with
+pkcs11-helper: PKCS#11 providers for end-user applications
+pkcs11-helper:
+pkcs11-helper: Project URL: https://github.com/OpenSC/pkcs11-helper
+pkcs11-helper:
diff --git a/libraries/plastid/README b/libraries/plastid/README
new file mode 100644
index 0000000000..2aa7447f1a
--- /dev/null
+++ b/libraries/plastid/README
@@ -0,0 +1,3 @@
+ plastid is a Python library for genomics and sequencing. It includes
+tools for exploratory data analysis (EDA) as well as a handful of
+scripts that implement common tasks.
diff --git a/libraries/plastid/plastid.SlackBuild b/libraries/plastid/plastid.SlackBuild
new file mode 100644
index 0000000000..3bb55e3a25
--- /dev/null
+++ b/libraries/plastid/plastid.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for plastid
+
+# Copyright 2023 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=plastid
+VERSION=${VERSION:-0.6.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+COMMIT="d97f239d73b3a7c2eff46f71928b777431891f90"
+
+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-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$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" \
+python3 setup.py build
+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 \
+ CHANGES.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/libraries/plastid/plastid.info b/libraries/plastid/plastid.info
new file mode 100644
index 0000000000..b5922ce6b9
--- /dev/null
+++ b/libraries/plastid/plastid.info
@@ -0,0 +1,10 @@
+PRGNAM="plastid"
+VERSION="0.6.1"
+HOMEPAGE="https://github.com/joshuagryphon/plastid"
+DOWNLOAD="https://github.com/joshuagryphon/plastid/archive/d97f239d73b3a7c2eff46f71928b777431891f90/plastid-d97f239d73b3a7c2eff46f71928b777431891f90.tar.gz"
+MD5SUM="48a01a3816a787a5fade529fbf1866c7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pysam python3-numpy"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/plastid/slack-desc b/libraries/plastid/slack-desc
new file mode 100644
index 0000000000..ce4ffc517c
--- /dev/null
+++ b/libraries/plastid/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------------------------------------------------------|
+plastid: plastid (Position-wise analysis of sequencing and genomics data)
+plastid:
+plastid:
+plastid:
+plastid: plastid is a Python library for genomics and sequencing. It
+plastid: includes tools for exploratory data analysis (EDA) as well as a
+plastid: handful of scripts that implement common tasks.
+plastid:
+plastid:
+plastid:
+plastid:
diff --git a/libraries/platform/platform.SlackBuild b/libraries/platform/platform.SlackBuild
index a468ae87f7..20bb0ca3b5 100644
--- a/libraries/platform/platform.SlackBuild
+++ b/libraries/platform/platform.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for platform
@@ -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=platform
VERSION=${VERSION:-2.1.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}
@@ -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/libraries/plib/plib.SlackBuild b/libraries/plib/plib.SlackBuild
index b3226af5a8..a62d6b2875 100644
--- a/libraries/plib/plib.SlackBuild
+++ b/libraries/plib/plib.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for plib
# Written by x-ip (edvm@rcom.com.ar)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=plib
VERSION=${VERSION:-1.8.5}
-BUILD=${BUILD:-1}
+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}
@@ -71,8 +81,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS INSTALL README NEWS NOTICE KNOWN_BUGS $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/libraries/plog/README b/libraries/plog/README
new file mode 100644
index 0000000000..36e1a1b2a5
--- /dev/null
+++ b/libraries/plog/README
@@ -0,0 +1 @@
+Portable, simple and extensible C++ logging library
diff --git a/libraries/plog/plog.SlackBuild b/libraries/plog/plog.SlackBuild
new file mode 100644
index 0000000000..f9a799218e
--- /dev/null
+++ b/libraries/plog/plog.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for plog
+
+# Copyright 2024 Francisco Rafael, 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=plog
+VERSION=${VERSION:-1.1.10}
+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 \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
+mv $PKG/usr/share/doc/plog/LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/plog/README.md $PKG/usr/doc/$PRGNAM-$VERSION
+
+rm -r $PKG/usr/share
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/plog/plog.info b/libraries/plog/plog.info
new file mode 100644
index 0000000000..08039708cf
--- /dev/null
+++ b/libraries/plog/plog.info
@@ -0,0 +1,10 @@
+PRGNAM="plog"
+VERSION="1.1.10"
+HOMEPAGE="https://github.com/SergiusTheBest/plog"
+DOWNLOAD="https://github.com/SergiusTheBest/plog/archive/1.1.10/plog-1.1.10.tar.gz"
+MD5SUM="6a1563fd892146e5a40c3cdc854600ed"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Francisco Rafael"
+EMAIL="franciscorafaelvb@gmail.com"
diff --git a/libraries/plog/slack-desc b/libraries/plog/slack-desc
new file mode 100644
index 0000000000..d2e4ae05c2
--- /dev/null
+++ b/libraries/plog/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------------------------------------------------------|
+plog: plog (C++ logging library)
+plog:
+plog: Plog is a C++ logging library that is designed to be as simple,
+plog: small and flexible as possible. It is created as an alternative to
+plog: existing large libraries and provides some unique features as CSV
+plog: log format and wide string support.
+plog:
+plog: https://github.com/SergiusTheBest/plog
+plog:
+plog:
+plog:
diff --git a/libraries/plplot/README b/libraries/plplot/README
index 1b59fea3d9..05e0ed28a0 100644
--- a/libraries/plplot/README
+++ b/libraries/plplot/README
@@ -1,6 +1,7 @@
-PLplot is a cross-platform software package for creating scientific plots whose (UTF-8)
-plot symbols and text are limited in practice only by what Unicode-aware system fonts
-are installed on a user's computer.
+PLplot is a cross-platform software package for creating scientific
+plots whose (UTF-8) plot symbols and text are limited in practice only
+by what Unicode-aware system fonts are installed on a user's computer.
-PLplot will automatically detect supported programming language environments and build
-corresponding bindings. For supported languages, please visit homepage.
+PLplot will automatically detect supported programming language
+environments and build corresponding bindings. For supported
+languages, please visit homepage.
diff --git a/libraries/plplot/fix-QPainterPath-include.patch b/libraries/plplot/fix-QPainterPath-include.patch
new file mode 100644
index 0000000000..8797aa3e33
--- /dev/null
+++ b/libraries/plplot/fix-QPainterPath-include.patch
@@ -0,0 +1,11 @@
+diff -Nur plplot-5.15.0.orig/bindings/qt_gui/plqt.cpp plplot-5.15.0/bindings/qt_gui/plqt.cpp
+--- plplot-5.15.0.orig/bindings/qt_gui/plqt.cpp 2019-06-01 18:24:33.000000000 -0500
++++ plplot-5.15.0/bindings/qt_gui/plqt.cpp 2022-02-26 18:05:49.916622395 -0600
+@@ -23,6 +23,7 @@
+ //
+
+ #include "qt.h"
++#include <QPainterPath>
+
+ // Global variables for Qt driver.
+ PLDLLIMPEXP_QT_DATA( int ) vectorize = 0;
diff --git a/libraries/plplot/plplot.SlackBuild b/libraries/plplot/plplot.SlackBuild
index ba25f2ec1e..0b7f23f114 100644
--- a/libraries/plplot/plplot.SlackBuild
+++ b/libraries/plplot/plplot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for plplot
@@ -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=plplot
-VERSION=${VERSION:-5.12.0}
+VERSION=${VERSION:-5.15.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,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/fix-QPainterPath-include.patch
+
mkdir -p build
cd build
cmake \
@@ -92,12 +104,10 @@ 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 ABOUT AUTHORS Copyright FAQ INSTALL NEWS OLD* PROBLEMS README* SERVICE $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/plplot/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-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/libraries/plplot/plplot.info b/libraries/plplot/plplot.info
index ce4f873195..59d9e901d7 100644
--- a/libraries/plplot/plplot.info
+++ b/libraries/plplot/plplot.info
@@ -1,8 +1,8 @@
PRGNAM="plplot"
-VERSION="5.12.0"
+VERSION="5.15.0"
HOMEPAGE="http://plplot.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/plplot/files/plplot/5.12.0%20Source/plplot-5.12.0.tar.gz"
-MD5SUM="998a05be218e5de8f2faf988b8dbdc51"
+DOWNLOAD="https://downloads.sourceforge.net/plplot/plplot-5.15.0.tar.gz"
+MD5SUM="36aec5bfadc2e207cf8ee39f573c9303"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/plumbum/plumbum.SlackBuild b/libraries/plumbum/plumbum.SlackBuild
deleted file mode 100644
index dc5b967240..0000000000
--- a/libraries/plumbum/plumbum.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for plumbum
-
-# 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=plumbum
-VERSION=${VERSION:-1.6.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
-
-find $PKG -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 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/libraries/plumbum/plumbum.info b/libraries/plumbum/plumbum.info
deleted file mode 100644
index a02fe488eb..0000000000
--- a/libraries/plumbum/plumbum.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="plumbum"
-VERSION="1.6.2"
-HOMEPAGE="http://plumbum.readthedocs.org"
-DOWNLOAD="https://pypi.python.org/packages/66/a2/eb943bf1efa2b403debe5b276b024222bd9cecb737f41dd06db6606a43f1/plumbum-1.6.2.tar.gz"
-MD5SUM="fb124f7b70d00686831d8d0f74829e65"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/plumbum/slack-desc b/libraries/plumbum/slack-desc
deleted file mode 100644
index c88d00b9f3..0000000000
--- a/libraries/plumbum/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------------------------------------------------------|
-plumbum: plumbum (shell combinators library)
-plumbum:
-plumbum: Ever wished the compactness of shell scripts be put into a real
-plumbum: language? Say hello to Plumbum Shell Combinators.
-plumbum:
-plumbum: Homepage: http://plumbum.readthedocs.org
-plumbum:
-plumbum:
-plumbum:
-plumbum:
-plumbum:
diff --git a/libraries/plyr/README b/libraries/plyr/README
deleted file mode 100644
index 3262423b30..0000000000
--- a/libraries/plyr/README
+++ /dev/null
@@ -1,9 +0,0 @@
-plyr (plyr, a Wrapper around libglyr)
-
-plyr is a Wrapper around libglyr, using Cython.
-
-To install python3 bindings run the slackbuild with PYTHON3=yes.
-
- # PYTHON3=yes ./plyr.SlackBuild
-
-NOTE: in this case please install: python3-Cython
diff --git a/libraries/plyr/plyr.SlackBuild b/libraries/plyr/plyr.SlackBuild
deleted file mode 100644
index 32bcb828b4..0000000000
--- a/libraries/plyr/plyr.SlackBuild
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for plyr.
-#
-# 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=plyr
-VERSION=${VERSION:-1.0.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
-
-SRCNAM=${SRCNAM:-python-glyr}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mv $SRCNAM-$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 {} \;
-
-python setup.py install --root=$PKG --optimize=1
-
-# Install python3 bindings for plyr. Default is no.
-if [ "${PYTHON3:-no}" == "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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp 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/libraries/plyr/plyr.info b/libraries/plyr/plyr.info
deleted file mode 100644
index 2df1669990..0000000000
--- a/libraries/plyr/plyr.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="plyr"
-VERSION="1.0.6"
-HOMEPAGE="https://github.com/sahib/python-glyr"
-DOWNLOAD="https://github.com/sahib/python-glyr/archive/1.0.6/python-glyr-1.0.6.tar.gz"
-MD5SUM="fc6c1df7359055a013ca4575e10775be"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="glyr"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/plyr/slack-desc b/libraries/plyr/slack-desc
deleted file mode 100644
index fc386fd293..0000000000
--- a/libraries/plyr/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------------------------------------------------------|
-plyr: plyr (a Wrapper around libglyr)
-plyr:
-plyr: plyr is a Wrapper around libglyr, using Cython.
-plyr:
-plyr: Homepage: https://github.com/sahib/python-glyr
-plyr:
-plyr:
-plyr:
-plyr:
-plyr:
-plyr:
diff --git a/libraries/png++/png++.SlackBuild b/libraries/png++/png++.SlackBuild
index 6dd4c3385d..5915d39b96 100644
--- a/libraries/png++/png++.SlackBuild
+++ b/libraries/png++/png++.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for png++
@@ -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=png++
VERSION=${VERSION:-0.2.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}
@@ -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/libraries/poco/README b/libraries/poco/README
index 452ba36447..353a2b4c50 100644
--- a/libraries/poco/README
+++ b/libraries/poco/README
@@ -1,6 +1,12 @@
-Modern, powerful open source C++ class libraries and
-frameworks for building network- and internet-based
-applications that run on desktop, server, mobile and
-embedded systems.
+Modern, powerful open source C++ class libraries and frameworks for
+building network- and internet-based applications that run on desktop,
+server, mobile and embedded systems.
+
+PostgreSQL (on Sbo) and libiodbc (part of Slackware) or UnixODBC
+(on SBo) are optional dependencies that will be automatically picked
+up during configuration. If you have PostgreSQL installed and want to
+compile the corresponding database connector, do this:
+
+ POSTGRESQL=yes ./poco.SlackBuild
+
-Optional dependencies: mysql-connector-c++, unixODBC
diff --git a/libraries/poco/doinst.sh b/libraries/poco/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/poco/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/libraries/poco/poco.SlackBuild b/libraries/poco/poco.SlackBuild
index 5c8e8e269e..f941dbb2b7 100644
--- a/libraries/poco/poco.SlackBuild
+++ b/libraries/poco/poco.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for poco
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 29-DEC-2022: new maintainer, Edward W. Koenig (kingbeowulf)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=poco
-VERSION=${VERSION:-1.9.4}
+VERSION=${VERSION:-1.12.5}
EDITION=all
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +41,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
+
+# Make optionally detected components really optional as they are in
+# CMAKE build configuration upstream.
+if [ ${POSTGRESQL:-no} = "no" ]; then
+ NOPOSTGRESQL="--omit=Data/PostgreSQL"
+else
+ NOPOSTGRESQL=""
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,10 +94,15 @@ if [ "$ARCH" = "x86_64" ]; then
patch -p1 < $CWD/poco_x64.patch
fi
+# Slackware ships with MariaDB not MySQL, patch from Arch Linux
+patch -p1 < $CWD/poco_mariadb.patch
+
./configure \
--prefix=/usr \
--no-tests \
--no-samples \
+ $NOPOSTGRESQL \
+ --sqlite-thread-safe=2 \
--shared
make
@@ -95,9 +120,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG CONTRIBUTORS NEWS LICENSE VERSION 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/libraries/poco/poco.info b/libraries/poco/poco.info
index f2dfe6910f..e2bd2787b7 100644
--- a/libraries/poco/poco.info
+++ b/libraries/poco/poco.info
@@ -1,10 +1,10 @@
PRGNAM="poco"
-VERSION="1.9.4"
+VERSION="1.12.5"
HOMEPAGE="https://pocoproject.org"
-DOWNLOAD="https://pocoproject.org/releases/poco-1.9.4/poco-1.9.4-all.tar.gz"
-MD5SUM="80c614193e81262af27ea49944d02313"
+DOWNLOAD="https://pocoproject.org/releases/poco-1.12.5/poco-1.12.5-all.tar.gz"
+MD5SUM="5bdbf497ff3e65d92a66ecae0a963397"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="Edward W. Koenig"
+EMAIL="kingbeowulf@linuxgalaxy.org"
diff --git a/libraries/poco/poco_mariadb.patch b/libraries/poco/poco_mariadb.patch
new file mode 100644
index 0000000000..c8a82ec79e
--- /dev/null
+++ b/libraries/poco/poco_mariadb.patch
@@ -0,0 +1,12 @@
+diff -uNr poco/Data/MySQL/CMakeLists.txt poco_changed/Data/MySQL/CMakeLists.txt
+--- poco/Data/MySQL/CMakeLists.txt 2021-06-28 12:16:01.000000000 +0200
++++ poco_changed/Data/MySQL/CMakeLists.txt 2021-10-14 14:53:52.605311071 +0200
+@@ -21,7 +21,7 @@
+ DEFINE_SYMBOL MySQL_EXPORTS
+ )
+
+-target_link_libraries(DataMySQL PUBLIC Poco::Data MySQL::client)
++target_link_libraries(DataMySQL PUBLIC Poco::Data mariadb)
+ target_include_directories(DataMySQL
+ PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
diff --git a/libraries/podcastparser/README b/libraries/podcastparser/README
new file mode 100644
index 0000000000..fd76078450
--- /dev/null
+++ b/libraries/podcastparser/README
@@ -0,0 +1,3 @@
+The podcast parser project is a library from the gPodder
+project to provide an easy and reliable way of parsing
+RSS- and Atom-based podcast feeds in Python.
diff --git a/libraries/podcastparser/podcastparser.SlackBuild b/libraries/podcastparser/podcastparser.SlackBuild
new file mode 100644
index 0000000000..00e57ce68a
--- /dev/null
+++ b/libraries/podcastparser/podcastparser.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/bash
+
+# Slackware build script for podcastparser
+
+# Copyright 2017-2019 Chris Farrell <timcowchip@gorge.net>
+# Copyright 2024- Diniz Bortolotto <diniz.bortolotto@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=podcastparser
+VERSION=${VERSION:-0.6.10}
+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 {} \;
+
+sed -i 's/distutils.core/setuptools/' setup.py
+python3 setup.py build
+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 LICENSE README.md doc/index.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/libraries/podcastparser/podcastparser.info b/libraries/podcastparser/podcastparser.info
new file mode 100644
index 0000000000..0ef0cf8e09
--- /dev/null
+++ b/libraries/podcastparser/podcastparser.info
@@ -0,0 +1,10 @@
+PRGNAM="podcastparser"
+VERSION="0.6.10"
+HOMEPAGE="https://github.com/gpodder/podcastparser"
+DOWNLOAD="https://github.com/gpodder/podcastparser/archive/0.6.10/podcastparser-0.6.10.tar.gz"
+MD5SUM="57093c181a1c7198ffcb8bcd8fb558a5"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Diniz Bortolotto"
+EMAIL="diniz.bortolotto@gmail.com"
diff --git a/libraries/podcastparser/slack-desc b/libraries/podcastparser/slack-desc
new file mode 100644
index 0000000000..41cef377c0
--- /dev/null
+++ b/libraries/podcastparser/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------------------------------------------------------|
+podcastparser: podcastparser (Python RSS and Atom feed parser)
+podcastparser:
+podcastparser: The podcast parser project is a library from the gPodder project
+podcastparser: to provide an easy and reliable way of parsing RSS- and Atom-based
+podcastparser: podcast feeds in Python.
+podcastparser:
+podcastparser:
+podcastparser: Homepage: https://github.com/gpodder/podcastparser
+podcastparser:
+podcastparser:
+podcastparser:
diff --git a/libraries/podofo/gcc12.patch b/libraries/podofo/gcc12.patch
new file mode 100644
index 0000000000..1bd71721e3
--- /dev/null
+++ b/libraries/podofo/gcc12.patch
@@ -0,0 +1,39 @@
+From d0e9f5d503b0cb79516ec9bff989f3d7d625b678 Mon Sep 17 00:00:00 2001
+From: Pino Toscano <toscano.pino@tiscali.it>
+Date: Sun, 14 Aug 2022 08:27:13 +0200
+Subject: [PATCH] Fix declaration of operator<< for PoDoFo::PdfString
+
+Since PdfString is in the PoDoFo namespace, the operator<< for it must
+be in the same namespace as well, otherwise it is not found. In
+particular, operator<<(std::ostream&) is needed by cppunit as a way to
+get the string representation of an arbitrary type, when using
+CPPUNIT_ASSERT_EQUAL() on instances of it.
+
+This used to work with GCC until 11 because of a buggy behaviour.
+GCC 12 fixed it [1], causing this test to fail to build with it.
+
+[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577
+---
+ test/unit/StringTest.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/test/unit/StringTest.cpp b/test/unit/StringTest.cpp
+index a7841f78..b52b7880 100644
+--- a/test/unit/StringTest.cpp
++++ b/test/unit/StringTest.cpp
+@@ -29,11 +29,15 @@ using namespace PoDoFo;
+ // Registers the fixture into the 'registry'
+ CPPUNIT_TEST_SUITE_REGISTRATION( StringTest );
+
++namespace PoDoFo {
++
+ inline std::ostream& operator<<(std::ostream& o, const PdfString& s)
+ {
+ return o << s.GetStringUtf8();
+ }
+
++}
++
+ void StringTest::setUp()
+ {
+ }
diff --git a/libraries/podofo/podofo-0.9.4_build.patch b/libraries/podofo/podofo-0.9.4_build.patch
deleted file mode 100644
index 3c4b72a751..0000000000
--- a/libraries/podofo/podofo-0.9.4_build.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rupN podofo-0.9.4/test/unit/EncryptTest.h podofo-0.9.4-new/test/unit/EncryptTest.h
---- podofo-0.9.4/test/unit/EncryptTest.h 2012-12-12 23:55:46.000000000 +0100
-+++ podofo-0.9.4-new/test/unit/EncryptTest.h 2016-09-18 10:41:30.476635230 +0200
-@@ -83,7 +83,7 @@ class EncryptTest : public CppUnit::Test
-
- private:
- char* m_pEncBuffer;
-- long m_lLen;
-+ PoDoFo::pdf_long m_lLen;
- int m_protection;
-
- };
diff --git a/libraries/podofo/podofo.SlackBuild b/libraries/podofo/podofo.SlackBuild
index 926b5372d3..d425cbd091 100644
--- a/libraries/podofo/podofo.SlackBuild
+++ b/libraries/podofo/podofo.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for podofo
-# Copyright 2009-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2009-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix PRINT_PACKAGE_NAME.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=podofo
-VERSION=${VERSION:-0.9.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -40,6 +46,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" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -65,14 +76,17 @@ 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 {} \+
+
+# Thanks to chrisretusn on LQ!
+patch -p1 < $CWD/gcc12.patch
+
+sed -i "s/BINARY_DIR}\/objects\"/BINARY_DIR}\/objects\" || true/" test/TokenizerTest/CMakeLists.txt || exit 1
# Fix mandir directory.
-sed -i 's|share/man|man|' CMakeLists.txt
-# Fix building podofo on x86 with cppunit.
-patch -p1 < $CWD/podofo-0.9.4_build.patch
+sed -i 's|share/man|man|' CMakeLists.txt || exit 1
mkdir build
cd build
@@ -83,23 +97,19 @@ cd build
-DPODOFO_BUILD_STATIC:BOOL=FALSE \
-DPODOFO_BUILD_SHARED:BOOL=TRUE \
-DPODOFO_USE_VISIBILITY:BOOL=1 \
- -DCMAKE_CXX_STANDARD:STRING=11 \
-DWANT_BOOST:BOOL=1 \
-DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
- make install DESTDIR=$PKG
+ make install/strip 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/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog CODING* CONTRIBUTIONS* COPYING* FAQ* INSTALL README* TODO \
+ AUTHORS ChangeLog CODING* CONTRIBUTIONS* COPYING* FAQ* README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/libraries/podofo/podofo.info b/libraries/podofo/podofo.info
index 411003ffcd..5d3f34b904 100644
--- a/libraries/podofo/podofo.info
+++ b/libraries/podofo/podofo.info
@@ -1,8 +1,8 @@
PRGNAM="podofo"
-VERSION="0.9.5"
+VERSION="0.9.8"
HOMEPAGE="http://podofo.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/podofo/podofo-0.9.5.tar.gz"
-MD5SUM="4751a6cf41250bea550a73ff960b7228"
+DOWNLOAD="http://downloads.sourceforge.net/podofo/podofo-0.9.8.tar.gz"
+MD5SUM="f6d3d5f917c7150c44fc6a15848442dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/polyclipping/polyclipping.SlackBuild b/libraries/polyclipping/polyclipping.SlackBuild
index 0a69abc930..e08eebd819 100644
--- a/libraries/polyclipping/polyclipping.SlackBuild
+++ b/libraries/polyclipping/polyclipping.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for polyclipping
@@ -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=polyclipping
VERSION=${VERSION:-6.4.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}
@@ -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/libraries/poppler-qt5/README b/libraries/poppler-qt5/README
deleted file mode 100644
index 6449e1b646..0000000000
--- a/libraries/poppler-qt5/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Poppler is a PDF rendering library based on the xpdf-3.0 code base.
-
-This package provides the Qt5 bindings for the version of poppler
-that comes with Slackware.
diff --git a/libraries/poppler-qt5/poppler-qt5.SlackBuild b/libraries/poppler-qt5/poppler-qt5.SlackBuild
deleted file mode 100644
index ce99c22afc..0000000000
--- a/libraries/poppler-qt5/poppler-qt5.SlackBuild
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for poppler-qt5
-
-# Copyright 2013-2017 Larry Hajali <larryhaja[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.
-
-PRGNAM=poppler-qt5
-VERSION=${VERSION:-0.45.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 ${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 -std=c++11" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --enable-xpdf-headers \
- --enable-poppler-qt4 \
- --enable-poppler-qt5 \
- --disable-silent-rules \
- --enable-cairo-output \
- --mandir=/usr/man \
- --disable-static \
- --without-testdatadir \
- --enable-zlib \
- --build=$ARCH-slackware-linux
-
-make
-make -C qt5 install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
-install -m 0644 $PRGNAM.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYING $PKG/usr/doc/$PRGNAM-$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/libraries/poppler-qt5/poppler-qt5.info b/libraries/poppler-qt5/poppler-qt5.info
deleted file mode 100644
index e99b4f6e11..0000000000
--- a/libraries/poppler-qt5/poppler-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="poppler-qt5"
-VERSION="0.45.0"
-HOMEPAGE="https://poppler.freedesktop.org/"
-DOWNLOAD="https://poppler.freedesktop.org/poppler-0.45.0.tar.xz"
-MD5SUM="a66e8c3cf6dab91dab5ba90d362c6063"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/libraries/poppler-qt5/slack-desc b/libraries/poppler-qt5/slack-desc
deleted file mode 100644
index 36dc7add70..0000000000
--- a/libraries/poppler-qt5/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------------------------------------------------------|
-poppler-qt5: poppler-qt5 (Qt5 bindings for poppler)
-poppler-qt5:
-poppler-qt5: Poppler is a library based on the xpdf PDF viewer developed by Derek
-poppler-qt5: Noonburg of Glyph and Cog, LLC. Since xpdf does not provide a shared
-poppler-qt5: library, whenever a flaw was found potentially dozens of applications
-poppler-qt5: incorporating code from xpdf would have to be patched. By providing
-poppler-qt5: a centralized PDF library this duplicated effort will be eliminated.
-poppler-qt5:
-poppler-qt5: Homepage: https://poppler.freedesktop.org/
-poppler-qt5:
-poppler-qt5:
diff --git a/libraries/portsmf/README b/libraries/portsmf/README
new file mode 100644
index 0000000000..b712fe59e1
--- /dev/null
+++ b/libraries/portsmf/README
@@ -0,0 +1,8 @@
+Portsmf is Port Standard MIDI File, a cross-platform, C++ library for
+reading and writing Standard MIDI Files.
+
+Features:
+- input and output of Standard MIDI Files
+- input and output of a text-based representation: Allegro files
+- extensive editing operations on sequences and tracks
+- conversion to/from binary buffers for archiving, undo/redo, etc.
diff --git a/libraries/portsmf/portsmf.SlackBuild b/libraries/portsmf/portsmf.SlackBuild
new file mode 100644
index 0000000000..154911f675
--- /dev/null
+++ b/libraries/portsmf/portsmf.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for portsmf
+
+# Copyright 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.
+
+# Many thanks to Alien BOB for all the hints!
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=portsmf
+VERSION=${VERSION:-234} # audacity needs this specific version!
+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
+
+DOCS="README.txt changelog.txt license.txt"
+
+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 {} \;
+
+patch -p1 < $CWD/portsmf_sharedlib.patch
+
+autoreconf -vif
+chmod 755 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 DESTDIR=$PKG includedir=/usr/include/$PRGNAM install
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
+echo "prefix=/usr" > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/portSMF.pc
+cat portSMF.pc >> $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/portSMF.pc
+
+find $PKG -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 $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/portsmf/portsmf.info b/libraries/portsmf/portsmf.info
new file mode 100644
index 0000000000..1e623321ce
--- /dev/null
+++ b/libraries/portsmf/portsmf.info
@@ -0,0 +1,10 @@
+PRGNAM="portsmf"
+VERSION="234"
+HOMEPAGE="https://github.com/tenacityteam/portsmf"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/portsmf-234.tar.gz"
+MD5SUM="e29156983e62ed27a459855eb91f47e8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/portsmf/portsmf_sharedlib.patch b/libraries/portsmf/portsmf_sharedlib.patch
new file mode 100644
index 0000000000..90815a4efb
--- /dev/null
+++ b/libraries/portsmf/portsmf_sharedlib.patch
@@ -0,0 +1,35 @@
+--- portsmf/configure.ac.orig 2013-06-22 20:54:59.000000000 +0200
++++ portsmf/configure.ac 2013-06-22 21:52:25.212040115 +0200
+@@ -23,7 +23,7 @@
+ dnl keep autools files in a subdirectory
+ AC_CONFIG_AUX_DIR(autotools)
+ # which also contains a subdir containing macros
+-AC_CONFIG_MACRO_DIR([autotools/m4])
++dnl AC_CONFIG_MACRO_DIR([autotools/m4])
+ dnl set up automake
+ AM_INIT_AUTOMAKE([-Wall foreign])
+ dnl Audacity policy: don't enable automatic rebuild of configure et al if
+@@ -49,7 +49,7 @@
+ dnl we will need an "install" program to be available
+ AC_PROG_INSTALL
+ dnl and ranlib for static libraries
+-AC_PROG_RANLIB
++AC_PROG_LIBTOOL
+
+ dnl Make the install prefix available to the program so that the pkg-config file
+ dnl can be created correctly
+--- portsmf/Makefile.am.orig 2013-06-22 20:55:00.000000000 +0200
++++ portsmf/Makefile.am 2013-06-22 21:52:52.898705781 +0200
+@@ -6,10 +6,10 @@
+ ACLOCAL_AMFLAGS = -I autotools/m4
+
+ # define the output library (link with -lportSMF)
+-lib_LIBRARIES = libportSMF.a
++lib_LTLIBRARIES = libportSMF.la
+
+ # define the source files to use
+-libportSMF_a_SOURCES = allegro.cpp \
++libportSMF_la_SOURCES = allegro.cpp \
+ allegrosmfwr.cpp \
+ allegrord.cpp \
+ allegrowr.cpp \
diff --git a/libraries/portsmf/slack-desc b/libraries/portsmf/slack-desc
new file mode 100644
index 0000000000..9b292edcee
--- /dev/null
+++ b/libraries/portsmf/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------------------------------------------------------|
+portsmf: portsmf (library for reading and writing Standard MIDI Files)
+portsmf:
+portsmf: Portsmf is Port Standard MIDI File, a cross-platform, C++ library for
+portsmf: reading and writing Standard MIDI Files.
+portsmf: Features:
+portsmf: - input and output of Standard MIDI Files
+portsmf: - input and output of a text-based representation: Allegro files
+portsmf: - extensive editing operations on sequences and tracks
+portsmf: - conversion to/from binary buffers for archiving, undo/redo, etc.
+portsmf:
+portsmf: Homepage: https://github.com/tenacityteam/portsmf
diff --git a/libraries/process-cpp/process-cpp.SlackBuild b/libraries/process-cpp/process-cpp.SlackBuild
index be59e115fb..31ab940f4e 100644
--- a/libraries/process-cpp/process-cpp.SlackBuild
+++ b/libraries/process-cpp/process-cpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for process-cpp
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - move HTML docs to proper Slackware doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=process-cpp
VERSION=${VERSION:-3.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -60,14 +70,14 @@ 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.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 {} \+
truncate -s 0 tests/CMakeLists.txt
@@ -79,13 +89,13 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
+[ -e $PKG/usr/share/doc/$PRGNAM/html ] && \
+ mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share # 20220424 bkw: nothing here but doc/
cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/libraries/process-cpp/process-cpp.info b/libraries/process-cpp/process-cpp.info
index 74f01ee7ad..e226b41ebf 100644
--- a/libraries/process-cpp/process-cpp.info
+++ b/libraries/process-cpp/process-cpp.info
@@ -1,8 +1,8 @@
PRGNAM="process-cpp"
VERSION="3.0.1"
-HOMEPAGE="https://launchpad.net/process-cpp"
-DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+files/process-cpp_3.0.1.orig.tar.gz"
-MD5SUM="95e187de74037b70b105679f85047c12"
+HOMEPAGE="https://gitlab.com/ubports/development/core/lib-cpp/process-cpp/"
+DOWNLOAD="https://gitlab.com/ubports/development/core/lib-cpp/process-cpp/-/archive/3.0.1/process-cpp-3.0.1.tar.gz"
+MD5SUM="679af2515e9edc8c6441b22b51794a01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="properties-cpp"
diff --git a/libraries/process-cpp/slack-desc b/libraries/process-cpp/slack-desc
index e91c95337a..af68ef5617 100644
--- a/libraries/process-cpp/slack-desc
+++ b/libraries/process-cpp/slack-desc
@@ -10,7 +10,7 @@ process-cpp: process-cpp (C++11 library for handling processes)
process-cpp:
process-cpp: A simple convenience library for handling processes in C++11.
process-cpp:
-process-cpp: HOMEPAGE: https://launchpad.net/process-cpp
+process-cpp: HOMEPAGE: gitlab.com/ubports/development/core/lib-cpp/process-cpp/
process-cpp:
process-cpp:
process-cpp:
diff --git a/libraries/progressbar/README b/libraries/progressbar/README
index 0f929b1e91..aaa49354d5 100644
--- a/libraries/progressbar/README
+++ b/libraries/progressbar/README
@@ -1,14 +1,15 @@
-This library provides a text mode progressbar. This is typically used
-to display the progress of a long running operation, providing a visual
-clue that processing is underway.
+This library provides a text mode progressbar. This is typically
+used to display the progress of a long running operation, providing a
+visual clue that processing is underway.
-The ProgressBar class manages the progress, and the format of the line
-is given by a number of widgets. A widget is an object that may display
-diferently depending on the state of the progress. There are three types
-of widget: - a string, which always shows itself; - a ProgressBarWidget,
-which may return a diferent value every time it's update method is called;
-and - a ProgressBarWidgetHFill, which is like ProgressBarWidget, except
-it expands to fill the remaining width of the line.
+The ProgressBar class manages the progress, and the format of the
+line is given by a number of widgets. A widget is an object that
+may display diferently depending on the state of the progress. There
+are three types of widget: - a string, which always shows itself; -
+a ProgressBarWidget, which may return a diferent value every time it's
+update method is called; and - a ProgressBarWidgetHFill, which is like
+ProgressBarWidget, except it expands to fill the remaining width of
+the line.
The progressbar module is very easy to use, yet very powerful. And
automatically supports features like auto-resizing when available.
diff --git a/libraries/progressbar/progressbar.SlackBuild b/libraries/progressbar/progressbar.SlackBuild
index 376b51c384..1840fa7067 100644
--- a/libraries/progressbar/progressbar.SlackBuild
+++ b/libraries/progressbar/progressbar.SlackBuild
@@ -1,28 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands
# Slackware build script for progressbar
# Written by Lionel Young <redtricycle@gmail.com>
# Based on http://slackbuilds.org/template.SlackBuild
+# 20220422 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix PRINT_PACKAGE_NAME.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=progressbar
VERSION=${VERSION:-2.2}
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) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
set -e
rm -rf $PKG
@@ -34,12 +45,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 \
+ -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 {} \+
-python setup.py build || exit 1
-python setup.py install --root=$PKG || exit 1
+python setup.py build
+python setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -51,4 +62,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/properties-cpp/properties-cpp.SlackBuild b/libraries/properties-cpp/properties-cpp.SlackBuild
index 7333f50879..e90b005dc2 100644
--- a/libraries/properties-cpp/properties-cpp.SlackBuild
+++ b/libraries/properties-cpp/properties-cpp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for properties-cpp
-# Copyright 2017 Jeremy Hansen <jebrhansen+SBo -at- gmail.com
+# Copyright 2017-2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - move HTML docs to proper Slackware doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=properties-cpp
-VERSION=${VERSION:-0.0.1}
-SRCVER=${SRCVER:-0.0.1+14.10.20140730}
+VERSION=${VERSION:-0.0.3}
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}
@@ -60,20 +69,24 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/${PRGNAM}_${SRCVER}.orig.tar.gz
-cd $PRGNAM-$SRCVER
+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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 {} \+
# Remove building tests which require extra deps that aren't needed.
truncate -s 0 tests/CMakeLists.txt
sed -i '/include(cmake\/PrePush.cmake)/d' CMakeLists.txt
+# Disable coverage report to bypass error.
+# Thanks AUR!
+sed -i '/^find_package(CoverageReport)/,$d' CMakeLists.txt
+
mkdir -p build
cd build
cmake \
@@ -82,13 +95,13 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
+[ -e $PKG/usr/share/doc/$PRGNAM/html ] && \
+ mv $PKG/usr/share/doc/$PRGNAM/html $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share # 20220424 bkw: nothing here but doc/
cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,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/libraries/properties-cpp/properties-cpp.info b/libraries/properties-cpp/properties-cpp.info
index f8e232898d..b4e051b992 100644
--- a/libraries/properties-cpp/properties-cpp.info
+++ b/libraries/properties-cpp/properties-cpp.info
@@ -1,8 +1,8 @@
PRGNAM="properties-cpp"
-VERSION="0.0.1"
-HOMEPAGE="https://launchpad.net/properties-cpp"
-DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+files/properties-cpp_0.0.1+14.10.20140730.orig.tar.gz"
-MD5SUM="449f95cc864ebe38a35848885ca1cb4b"
+VERSION="0.0.3"
+HOMEPAGE="https://gitlab.com/ubports/development/core/lib-cpp/properties-cpp/"
+DOWNLOAD="https://gitlab.com/ubports/development/core/lib-cpp/properties-cpp/-/archive/0.0.3/properties-cpp-0.0.3.tar.gz"
+MD5SUM="ceb67befe3a5d6f49293a15630b7fbd4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="graphviz"
diff --git a/libraries/protobuf-c/711.patch b/libraries/protobuf-c/711.patch
new file mode 100644
index 0000000000..a26633a54e
--- /dev/null
+++ b/libraries/protobuf-c/711.patch
@@ -0,0 +1,169 @@
+From e3acc96ca2a00ef715fa2caa659f677cad8a9fa0 Mon Sep 17 00:00:00 2001
+From: Robert Edmonds <edmonds@users.noreply.github.com>
+Date: Wed, 20 Mar 2024 21:48:10 -0400
+Subject: [PATCH 1/3] FileGenerator::GenerateHeader(): Set `min_header_version`
+ unconditionally
+
+Previously, we were conditionally trying to set `min_header_version` to
+the lowest possible value, and relying on a "legacy" Google interface to
+determine the file descriptor's syntax version as part of that
+determination.
+
+Instead, simply bump the minimum version to 1003000 (1.3.0). This
+release was almost 7 years ago. In practice protobuf-c users should not
+be shipping pre-compiled .pb-c.c/.pb-c.h files, anyway.
+---
+ protoc-c/c_file.cc | 9 +--------
+ 1 file changed, 1 insertion(+), 8 deletions(-)
+
+diff --git a/protoc-c/c_file.cc b/protoc-c/c_file.cc
+index ca0ad34e..c6d8a240 100644
+--- a/protoc-c/c_file.cc
++++ b/protoc-c/c_file.cc
+@@ -117,14 +117,7 @@ FileGenerator::~FileGenerator() {}
+ void FileGenerator::GenerateHeader(io::Printer* printer) {
+ std::string filename_identifier = FilenameIdentifier(file_->name());
+
+- int min_header_version = 1000000;
+-#if GOOGLE_PROTOBUF_VERSION >= 4023000
+- if (FileDescriptorLegacy(file_).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3) {
+-#else
+- if (file_->syntax() == FileDescriptor::SYNTAX_PROTO3) {
+-#endif
+- min_header_version = 1003000;
+- }
++ const int min_header_version = 1003000;
+
+ // Generate top of header.
+ printer->Print(
+
+From 1b4b205d87b1bc6f575db1fd1cbbb334a694abe8 Mon Sep 17 00:00:00 2001
+From: Robert Edmonds <edmonds@users.noreply.github.com>
+Date: Wed, 20 Mar 2024 22:25:54 -0400
+Subject: [PATCH 2/3] Reimplement FieldSyntax() to maximize compatibility
+ across protobuf versions
+
+Recent versions of Google protobuf have broken the interfaces for
+determining the syntax version of a .proto file. The current protobuf-c
+1.5.0 release does not compile with Google protobuf 26.0 due to the most
+recentage breakage. There is a possible workaround involving the Google
+protobuf `FileDescriptorLegacy` class, which is documented as:
+
+// TODO Remove this deprecated API entirely.
+
+So we probably shouldn't rely on it.
+
+Instead, this commit obtains the `FileDescriptorProto` corresponding
+to the passed in `FieldDescriptor` and interrogates the `syntax` field
+directly. This is a single implementation with no version-specific
+workarounds. Hopefully this won't break in the next Google protobuf
+release.
+
+I tested the `FieldSyntax()` implementation in this commit across a
+number of different Google protobuf releases and found that it worked
+(`make && make check`) on all of them:
+
+- Google protobuf 3.6.1.3 (Ubuntu 20.04)
+- Google protobuf 3.12.4 (Ubuntu 22.04)
+- Google protobuf 3.21.12 (Debian 12 + Debian unstable)
+- Google protobuf 3.25.2 (Debian experimental)
+- Google protobuf 26.1-dev
+---
+ protoc-c/c_helpers.h | 24 ++++++++++++++----------
+ 1 file changed, 14 insertions(+), 10 deletions(-)
+
+diff --git a/protoc-c/c_helpers.h b/protoc-c/c_helpers.h
+index 062d330b..be28b601 100644
+--- a/protoc-c/c_helpers.h
++++ b/protoc-c/c_helpers.h
+@@ -70,10 +70,6 @@
+ #include <protobuf-c/protobuf-c.pb.h>
+ #include <google/protobuf/io/printer.h>
+
+-#if GOOGLE_PROTOBUF_VERSION >= 4023000
+-# include <google/protobuf/descriptor_legacy.h>
+-#endif
+-
+ namespace google {
+ namespace protobuf {
+ namespace compiler {
+@@ -173,13 +169,21 @@ struct NameIndex
+ int compare_name_indices_by_name(const void*, const void*);
+
+ // Return the syntax version of the file containing the field.
+-// This wrapper is needed to be able to compile against protobuf2.
+ inline int FieldSyntax(const FieldDescriptor* field) {
+-#if GOOGLE_PROTOBUF_VERSION >= 4023000
+- return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
+-#else
+- return field->file()->syntax() == FileDescriptor::SYNTAX_PROTO3 ? 3 : 2;
+-#endif
++ auto proto = FileDescriptorProto();
++ field->file()->CopyTo(&proto);
++
++ if (proto.has_syntax()) {
++ auto syntax = proto.syntax();
++ assert(syntax == "proto2" || syntax == "proto3");
++ if (syntax == "proto2") {
++ return 2;
++ } else if (syntax == "proto3") {
++ return 3;
++ }
++ }
++
++ return 2;
+ }
+
+ // Work around changes in protobuf >= 22.x without breaking compilation against
+
+From d95aced22df60a2f0049fc03af48c8b02ce4d474 Mon Sep 17 00:00:00 2001
+From: Robert Edmonds <edmonds@users.noreply.github.com>
+Date: Wed, 20 Mar 2024 22:43:30 -0400
+Subject: [PATCH 3/3] CGenerator: Protect against being invoked against
+ "edition" syntax .proto files
+
+The Google protobuf project is currently experimenting with a new syntax
+for .proto files called "editions". Since protobuf-c is a proto2/proto3
+compiler, after the previous commit reimplementing `FieldSyntax()`, the
+protobuf compiler will abort like this if presented with an "editions"
+syntax .proto file due to the safety check in `FieldSyntax()`:
+
+ $ protoc --experimental_editions --c_out=. test.proto
+ protoc-gen-c: ./protoc-c/c_helpers.h:178: int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*): Assertion `syntax == "proto2" || syntax == "proto3"' failed.
+ --c_out: protoc-gen-c: Plugin killed by signal 6.
+
+On protobuf 26, our `CodeGenerator` can implement certain methods to
+declare that we "support" editions, and then reject any other edition
+except proto2 and proto3, which have apparently been retroactively
+declared to be "editions". Of course this needs to be wrapped in a
+version guard.
+
+With this protection in place, the protobuf compiler cleanly exits with
+a nice error message like this:
+
+ $ protoc --experimental_editions --c_out=. test.proto
+ WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
+ E0000 00:00:1710988958.296200 20022 descriptor.cc:4620] Invalid proto descriptor for file "test.proto":
+ E0000 00:00:1710988958.296239 20022 descriptor.cc:4623] test.proto: Edition 2023 is later than the maximum supported edition PROTO3
+ --c_out: protoc-gen-c: Plugin failed with status code 1.
+---
+ protoc-c/c_generator.h | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/protoc-c/c_generator.h b/protoc-c/c_generator.h
+index b8b44aaa..4aeb5790 100644
+--- a/protoc-c/c_generator.h
++++ b/protoc-c/c_generator.h
+@@ -93,6 +93,12 @@ class PROTOC_C_EXPORT CGenerator : public CodeGenerator {
+ const std::string& parameter,
+ OutputDirectory* output_directory,
+ std::string* error) const;
++
++#if GOOGLE_PROTOBUF_VERSION >= 5026000
++ uint64_t GetSupportedFeatures() const { return CodeGenerator::FEATURE_SUPPORTS_EDITIONS; }
++ Edition GetMinimumEdition() const { return Edition::EDITION_PROTO2; }
++ Edition GetMaximumEdition() const { return Edition::EDITION_PROTO3; }
++#endif
+ };
+
+ } // namespace c
diff --git a/libraries/protobuf-c/protobuf-c.SlackBuild b/libraries/protobuf-c/protobuf-c.SlackBuild
index 4e64f58a3c..dd82091e38 100644
--- a/libraries/protobuf-c/protobuf-c.SlackBuild
+++ b/libraries/protobuf-c/protobuf-c.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for protobuf-c
#
-# Copyright 2017 Marek Srejma (sam_web@yahoo.de)
+# Copyright 2017-2023 Marek Šrejma <marek@modweb.de>
# 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=protobuf-c
-VERSION=${VERSION:-1.3.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.5.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,18 +38,19 @@ 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"
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -69,6 +73,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/711.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,16 +86,18 @@ CXXFLAGS="$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
+find $PKG -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 TODO LICENSE ChangeLog README.md \
+cp -ar TODO LICENSE 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/libraries/protobuf-c/protobuf-c.info b/libraries/protobuf-c/protobuf-c.info
index 91d9a95445..51b7858d42 100644
--- a/libraries/protobuf-c/protobuf-c.info
+++ b/libraries/protobuf-c/protobuf-c.info
@@ -1,10 +1,10 @@
PRGNAM="protobuf-c"
-VERSION="1.3.2"
+VERSION="1.5.0"
HOMEPAGE="https://github.com/protobuf-c/protobuf-c"
-DOWNLOAD="https://github.com/protobuf-c/protobuf-c/releases/download/v1.3.2/protobuf-c-1.3.2.tar.gz"
-MD5SUM="b4395fd8cb5cba21afa12410741b2a92"
+DOWNLOAD="https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.0/protobuf-c-1.5.0.tar.gz"
+MD5SUM="03030a3994b9f89ef166336048992484"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="protobuf3"
-MAINTAINER="Marek Srejma"
-EMAIL="sam_web@yahoo.de"
+MAINTAINER="Marek Šrejma"
+EMAIL="marek@modweb.de"
diff --git a/libraries/protozero/README b/libraries/protozero/README
new file mode 100644
index 0000000000..1a383f3606
--- /dev/null
+++ b/libraries/protozero/README
@@ -0,0 +1,10 @@
+Minimalistic protocol buffer decoder and encoder in C++.
+
+Designed for high performance. Suitable for writing zero copy parsers
+and encoders with minimal need for run-time allocation of memory.
+
+Low-level: this is designed to be a building block for writing a very
+customized decoder for a stable protobuf schema. If your protobuf
+schema is changing frequently or lazy decoding is not critical for
+your application then this approach offers no value: just use the C++
+API that can be generated with the Google Protobufs protoc program.
diff --git a/libraries/protozero/protozero.SlackBuild b/libraries/protozero/protozero.SlackBuild
new file mode 100644
index 0000000000..bc1c6e32bd
--- /dev/null
+++ b/libraries/protozero/protozero.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for <protozero>
+
+# Copyright 2024, Michales Michaloudes (clavisound), 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=protozero
+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
+
+TMP=${TMP:-/tmp/SBo}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+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 build
+cd build
+cmake ../
+
+make install DESTDIR=$PKG
+
+mkdir -p $PKG/usr/bin
+cp $TMP/$PRGNAM-$VERSION/build/tools/pbf-decoder $PKG/usr/bin/
+
+# -DCMAKE_INSTALL_INCLUDEDIR=/usr/include not used by the project
+mv $PKG/usr/local/include $PKG/usr/
+rm -r $PKG/usr/local
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -pR $TMP/$PRGNAM-$VERSION/build/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -pR $TMP/$PRGNAM-$VERSION/doc/*.md $PKG/usr/doc/$PRGNAM-$VERSION
+
+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
+
+cd $TMP/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ UPGRADING.md FUZZING.md 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/libraries/protozero/protozero.info b/libraries/protozero/protozero.info
new file mode 100644
index 0000000000..dee2d23e0c
--- /dev/null
+++ b/libraries/protozero/protozero.info
@@ -0,0 +1,10 @@
+PRGNAM="protozero"
+VERSION="1.7.1"
+HOMEPAGE="https://github.com/mapbox/protozero"
+DOWNLOAD="https://github.com/mapbox/protozero/archive/v1.7.1/protozero-1.7.1.tar.gz"
+MD5SUM="dafc2d8082e9422560f138a25e74800f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Michales Michaloudes"
+EMAIL="korgie@gmail.com"
diff --git a/libraries/protozero/slack-desc b/libraries/protozero/slack-desc
new file mode 100644
index 0000000000..5286673b76
--- /dev/null
+++ b/libraries/protozero/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------------------------------------------------------|
+protozero: protozero (Minimalistic protocol buffer decoder and encoder in C++.)
+protozero: Designed for high performance. Suitable for writing zero copy parsers
+protozero: and encoders with minimal need for run-time allocation of memory.
+protozero: Low-level: this is designed to be a building block for writing a very
+protozero: customized decoder for a stable protobuf schema. If your protobuf
+protozero: schema is changing frequently or lazy decoding is not critical for
+protozero: your application then this approach offers no value: just use the C++
+protozero: API that can be generated with the Google Protobufs protoc program.
+protozero:
+protozero:
+protozero:
diff --git a/libraries/proxygen/README b/libraries/proxygen/README
deleted file mode 100644
index afff9833d9..0000000000
--- a/libraries/proxygen/README
+++ /dev/null
@@ -1,9 +0,0 @@
-Proxygen: Facebook's C++ HTTP Libraries
-
-This project comprises the core C++ HTTP abstractions used at Facebook.
-Internally, it is used as the basis for building many HTTP servers,
-proxies, and clients. This release focuses on the common HTTP
-abstractions and our simple HTTPServer framework. Future releases will
-provide simple client APIs as well. The framework supports HTTP/1.1,
-SPDY/3, SPDY/3.1, and HTTP/2. The goal is to provide a simple,
-performant, and modern C++ HTTP library.
diff --git a/libraries/proxygen/ax_prefix_config_h.m4 b/libraries/proxygen/ax_prefix_config_h.m4
deleted file mode 100644
index c17563f441..0000000000
--- a/libraries/proxygen/ax_prefix_config_h.m4
+++ /dev/null
@@ -1,203 +0,0 @@
-# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_prefix_config_h.html
-# ===========================================================================
-#
-# SYNOPSIS
-#
-# AX_PREFIX_CONFIG_H [(OUTPUT-HEADER [,PREFIX [,ORIG-HEADER]])]
-#
-# DESCRIPTION
-#
-# Generate an installable config.h.
-#
-# A package should not normally install its config.h as a system header,
-# but if it must, this macro can be used to avoid namespace pollution by
-# making a copy of config.h with a prefix added to all the macro names.
-#
-# Each "#define SOMEDEF" line of the configuration header has the given
-# prefix added, in the same case as the first character of the macro name.
-#
-# Defaults:
-#
-# OUTPUT-HEADER = $PACKAGE-config.h
-# PREFIX = $PACKAGE
-# ORIG-HEADER, from AM_CONFIG_HEADER(config.h)
-#
-# Your configure.ac script should contain both macros in this order.
-#
-# Example:
-#
-# AC_INIT(config.h.in) # config.h.in as created by "autoheader"
-# AM_INIT_AUTOMAKE(testpkg, 0.1.1) # makes #undef VERSION and PACKAGE
-# AM_CONFIG_HEADER(config.h) # prep config.h from config.h.in
-# AX_PREFIX_CONFIG_H(mylib/_config.h) # prep mylib/_config.h from it..
-# AC_MEMORY_H # makes "#undef NEED_MEMORY_H"
-# AC_C_CONST_H # makes "#undef const"
-# AC_OUTPUT(Makefile) # creates the "config.h" now
-# # and also mylib/_config.h
-#
-# If the argument to AX_PREFIX_CONFIG_H would have been omitted then the
-# default output file would have been called simply "testpkg-config.h",
-# but even under the name "mylib/_config.h" it contains prefix-defines
-# like
-#
-# #ifndef TESTPKG_VERSION
-# #define TESTPKG_VERSION "0.1.1"
-# #endif
-# #ifndef TESTPKG_NEED_MEMORY_H
-# #define TESTPKG_NEED_MEMORY_H 1
-# #endif
-# #ifndef _testpkg_const
-# #define _testpkg_const _const
-# #endif
-#
-# and this "mylib/_config.h" can be installed along with other header
-# files, which is most convenient when creating a shared library (that has
-# some headers) whose functionality depends on features detected at
-# compile-time. No need to invent some "mylib-confdefs.h.in" manually.
-#
-# Note that some AC_DEFINEs that end up in the config.h file are actually
-# self-referential - e.g. AC_C_INLINE, AC_C_CONST, and the AC_TYPE_OFF_T
-# say that they "will define inline|const|off_t if the system does not do
-# it by itself". You might want to clean up about these - consider an
-# extra mylib/conf.h that reads something like:
-#
-# #include <mylib/_config.h>
-# #ifndef _testpkg_const
-# #define _testpkg_const const
-# #endif
-#
-# and then start using _testpkg_const in the header files. That is also a
-# good thing to differentiate whether some library-user has starting to
-# take up with a different compiler, so perhaps it could read something
-# like this:
-#
-# #ifdef _MSC_VER
-# #include <mylib/_msvc.h>
-# #else
-# #include <mylib/_config.h>
-# #endif
-# #ifndef _testpkg_const
-# #define _testpkg_const const
-# #endif
-#
-# LICENSE
-#
-# Copyright (c) 2014 Reuben Thomas <rrt@sc3d.org>
-# Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
-# Copyright (c) 2008 Marten Svantesson
-# Copyright (c) 2008 Gerald Point <Gerald.Point@labri.fr>
-#
-# 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.
-#
-# 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. See the GNU General
-# Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-# As a special exception, the respective Autoconf Macro's copyright owner
-# gives unlimited permission to copy, distribute and modify the configure
-# scripts that are the output of Autoconf when processing the Macro. You
-# need not follow the terms of the GNU General Public License when using
-# or distributing such scripts, even though portions of the text of the
-# Macro appear in them. The GNU General Public License (GPL) does govern
-# all other use of the material that constitutes the Autoconf Macro.
-#
-# This special exception to the GPL applies to versions of the Autoconf
-# Macro released by the Autoconf Archive. When you make and distribute a
-# modified version of the Autoconf Macro, you may extend this special
-# exception to the GPL to apply to your modified version as well.
-
-#serial 15
-
-AC_DEFUN([AX_PREFIX_CONFIG_H],[dnl
-AC_PREREQ([2.62])
-AC_BEFORE([AC_CONFIG_HEADERS],[$0])dnl
-AC_CONFIG_COMMANDS(m4_default([$1], [$PACKAGE-config.h]),[dnl
-AS_VAR_PUSHDEF([_OUT],[ac_prefix_conf_OUT])dnl
-AS_VAR_PUSHDEF([_DEF],[ac_prefix_conf_DEF])dnl
-AS_VAR_PUSHDEF([_PKG],[ac_prefix_conf_PKG])dnl
-AS_VAR_PUSHDEF([_LOW],[ac_prefix_conf_LOW])dnl
-AS_VAR_PUSHDEF([_UPP],[ac_prefix_conf_UPP])dnl
-AS_VAR_PUSHDEF([_INP],[ac_prefix_conf_INP])dnl
-m4_pushdef([_script],[conftest.prefix])dnl
-m4_pushdef([_symbol],[m4_cr_Letters[]m4_cr_digits[]_])dnl
-_OUT=`echo m4_default([$1], [$PACKAGE-config.h])`
-_DEF=`echo _$_OUT | sed -e "y:m4_cr_letters:m4_cr_LETTERS[]:" -e "s/@<:@^m4_cr_Letters@:>@/_/g"`
-_PKG=`echo m4_default([$2], [$PACKAGE])`
-_LOW=`echo _$_PKG | sed -e "y:m4_cr_LETTERS-:m4_cr_letters[]_:"`
-_UPP=`echo $_PKG | sed -e "y:m4_cr_letters-:m4_cr_LETTERS[]_:" -e "/^@<:@m4_cr_digits@:>@/s/^/_/"`
-_INP=`echo "$3" | sed -e 's/ *//'`
-if test ".$_INP" = "."; then
- for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue
- case "$ac_file" in
- *.h) _INP=$ac_file ;;
- *)
- esac
- test ".$_INP" != "." && break
- done
-fi
-if test ".$_INP" = "."; then
- case "$_OUT" in
- */*) _INP=`basename "$_OUT"`
- ;;
- *-*) _INP=`echo "$_OUT" | sed -e "s/@<:@_symbol@:>@*-//"`
- ;;
- *) _INP=config.h
- ;;
- esac
-fi
-if test -z "$_PKG" ; then
- AC_MSG_ERROR([no prefix for _PREFIX_PKG_CONFIG_H])
-else
- if test ! -f "$_INP" ; then if test -f "$srcdir/$_INP" ; then
- _INP="$srcdir/$_INP"
- fi fi
- AC_MSG_NOTICE(creating $_OUT - prefix $_UPP for $_INP defines)
- if test -f $_INP ; then
- AS_ECHO(["s/^@%:@undef *\\(@<:@m4_cr_LETTERS[]_@:>@\\)/@%:@undef $_UPP""_\\1/"]) > _script
- AS_ECHO(["s/^@%:@undef *\\(@<:@m4_cr_letters@:>@\\)/@%:@undef $_LOW""_\\1/"]) >> _script
- AS_ECHO(["s/^@%:@def[]ine *\\(@<:@m4_cr_LETTERS[]_@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_UPP""_\\1\\"]) >> _script
- AS_ECHO(["@%:@def[]ine $_UPP""_\\1\\2\\"]) >> _script
- AS_ECHO(["@%:@endif/"]) >> _script
- AS_ECHO(["s/^@%:@def[]ine *\\(@<:@m4_cr_letters@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_LOW""_\\1\\"]) >> _script
- AS_ECHO(["@%:@define $_LOW""_\\1\\2\\"]) >> _script
- AS_ECHO(["@%:@endif/"]) >> _script
- # now executing _script on _DEF input to create _OUT output file
- echo "@%:@ifndef $_DEF" >$tmp/pconfig.h
- echo "@%:@def[]ine $_DEF 1" >>$tmp/pconfig.h
- echo ' ' >>$tmp/pconfig.h
- echo /'*' $_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h
-
- sed -f _script $_INP >>$tmp/pconfig.h
- echo ' ' >>$tmp/pconfig.h
- echo '/* once:' $_DEF '*/' >>$tmp/pconfig.h
- echo "@%:@endif" >>$tmp/pconfig.h
- if cmp -s $_OUT $tmp/pconfig.h 2>/dev/null; then
- AC_MSG_NOTICE([$_OUT is unchanged])
- else
- ac_dir=`AS_DIRNAME(["$_OUT"])`
- AS_MKDIR_P(["$ac_dir"])
- rm -f "$_OUT"
- mv $tmp/pconfig.h "$_OUT"
- fi
- else
- AC_MSG_ERROR([input file $_INP does not exist - skip generating $_OUT])
- fi
- rm -f conftest.*
-fi
-m4_popdef([_symbol])dnl
-m4_popdef([_script])dnl
-AS_VAR_POPDEF([_INP])dnl
-AS_VAR_POPDEF([_UPP])dnl
-AS_VAR_POPDEF([_LOW])dnl
-AS_VAR_POPDEF([_PKG])dnl
-AS_VAR_POPDEF([_DEF])dnl
-AS_VAR_POPDEF([_OUT])dnl
-],[PACKAGE="$PACKAGE"])])
diff --git a/libraries/proxygen/proxygen.SlackBuild b/libraries/proxygen/proxygen.SlackBuild
deleted file mode 100644
index b6bad222f0..0000000000
--- a/libraries/proxygen/proxygen.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Facebook Proxygen
-
-# Copyright 2017 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=proxygen
-VERSION=${VERSION:-2017.09.25.00}
-GTEST_VERSION=${GTEST_VERSION:-1.8.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
-patch -p 1 < $CWD/proxygen.patch
-( cd proxygen/lib/test
- tar xvf $CWD/googletest-release-${GTEST_VERSION}.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 {} \;
-
-pushd proxygen
-cp $CWD/ax_prefix_config_h.m4 m4/
-autoreconf -ivf
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-popd
-
-find $PKG -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 PATENTS 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/libraries/proxygen/proxygen.info b/libraries/proxygen/proxygen.info
deleted file mode 100644
index a79585bc68..0000000000
--- a/libraries/proxygen/proxygen.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="proxygen"
-VERSION="2017.09.25.00"
-HOMEPAGE="https://github.com/facebook/proxygen"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/facebook/proxygen/archive/v2017.09.25.00/proxygen-2017.09.25.00.tar.gz \
- https://github.com/google/googletest/archive/release-1.8.0/googletest-release-1.8.0.tar.gz"
-MD5SUM_x86_64="d1c259190bcd8a614766b2b97e0aef53 \
- 16877098823401d1bf2ed7891d7dce36"
-REQUIRES="wangle"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/proxygen/proxygen.patch b/libraries/proxygen/proxygen.patch
deleted file mode 100644
index f81f039146..0000000000
--- a/libraries/proxygen/proxygen.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -ur proxygen-2017.03.20.00.old/proxygen/lib/test/Makefile.am proxygen-2017.03.20.00/proxygen/lib/test/Makefile.am
---- proxygen-2017.03.20.00.old/proxygen/lib/test/Makefile.am 2017-03-19 00:24:54.000000000 -0300
-+++ proxygen-2017.03.20.00/proxygen/lib/test/Makefile.am 2017-03-22 23:55:45.868057488 -0300
-@@ -2,17 +2,17 @@
-
- BUILT_SOURCES = googletest-release-1.8.0/googletest/src/gtest-all.cc
-
--release-1.8.0.zip:
-- wget https://github.com/google/googletest/archive/release-1.8.0.zip
-+#release-1.8.0.zip:
-+# wget https://github.com/google/googletest/archive/release-1.8.0.zip
-
- # The SHA1 test is in a separate rule from the fetch, because otherwise
- # `make` would run `sha1sum` **before** wget. We'd re-extract the archive
- # without `touch`, since the contents' timestamps are older than the zip's.
--googletest-release-1.8.0/googletest/src/gtest-all.cc: release-1.8.0.zip
-- [ "$(shell sha1sum release-1.8.0.zip | awk '{print $$1}')" == \
-- "667f873ab7a4d246062565fad32fb6d8e203ee73" ]
-- unzip release-1.8.0.zip
-- touch googletest-release-1.8.0/googletest/src/gtest-all.cc
-+#googletest-release-1.8.0/googletest/src/gtest-all.cc: release-1.8.0.zip
-+# [ "$(shell sha1sum release-1.8.0.zip | awk '{print $$1}')" == \
-+# "667f873ab7a4d246062565fad32fb6d8e203ee73" ]
-+# unzip release-1.8.0.zip
-+# touch googletest-release-1.8.0/googletest/src/gtest-all.cc
-
-
- check_LTLIBRARIES = libtesttransport.la
diff --git a/libraries/proxygen/slack-desc b/libraries/proxygen/slack-desc
deleted file mode 100644
index 6599fcf067..0000000000
--- a/libraries/proxygen/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------------------------------------------------------|
-proxygen: proxygen (Facebook's C++ HTTP Libraries)
-proxygen:
-proxygen: This project comprises the core C++ HTTP abstractions used at
-proxygen: Facebook. Internally, it is used as the basis for building many
-proxygen: HTTP servers, proxies, and clients. This release focuses on
-proxygen: the common HTTP abstractions and our simple HTTPServer framework.
-proxygen:
-proxygen:
-proxygen:
-proxygen: https://github.com/facebook/proxygen
-proxygen:
diff --git a/libraries/psqlodbc/psqlodbc.SlackBuild b/libraries/psqlodbc/psqlodbc.SlackBuild
index 6441235a3b..75f01f0e1b 100644
--- a/libraries/psqlodbc/psqlodbc.SlackBuild
+++ b/libraries/psqlodbc/psqlodbc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for psqlodbc
@@ -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=psqlodbc
VERSION=${VERSION:-10.2.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=10.02.0000
@@ -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,8 +113,10 @@ cp -ar \
$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/libraries/ptex/README b/libraries/ptex/README
new file mode 100644
index 0000000000..3ede10062a
--- /dev/null
+++ b/libraries/ptex/README
@@ -0,0 +1,11 @@
+ Ptex is a texture mapping system developed by Walt Disney Animation
+Studios for production-quality rendering:
+
+ - No UV assignment is required! Ptex applies a separate texture to
+ each face of a subdivision or polygon mesh.
+ - The Ptex file format can efficiently store hundreds of thousands
+ of texture images in a single file.
+ - The Ptex API provides cached file I/O and high-quality filtering
+ everything that is needed to easily add Ptex support to a
+ production-quality renderer or texture authoring application.
+
diff --git a/libraries/ptex/ptex.SlackBuild b/libraries/ptex/ptex.SlackBuild
new file mode 100644
index 0000000000..eb31aef135
--- /dev/null
+++ b/libraries/ptex/ptex.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for ptex
+
+# 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=ptex
+VERSION=${VERSION:-2.4.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 {} \;
+
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DPTEX_BUILD_STATIC_LIBS:BOOL=OFF \
+ $OPT_BUILD \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make test
+ 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 \
+ 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/libraries/ptex/ptex.info b/libraries/ptex/ptex.info
new file mode 100644
index 0000000000..4f69e01ab0
--- /dev/null
+++ b/libraries/ptex/ptex.info
@@ -0,0 +1,10 @@
+PRGNAM="ptex"
+VERSION="2.4.2"
+HOMEPAGE="https://ptex.us"
+DOWNLOAD="https://github.com/wdas/ptex/archive/v2.4.2/ptex-2.4.2.tar.gz"
+MD5SUM="286a63357de9cbc41511a54231891f61"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/ptex/slack-desc b/libraries/ptex/slack-desc
new file mode 100644
index 0000000000..d6157f99aa
--- /dev/null
+++ b/libraries/ptex/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------------------------------------------------------|
+ptex: ptex (Per-Face Texture Mapping for Production Rendering)
+ptex:
+ptex:
+ptex:
+ptex: Ptex is a texture mapping system developed by Walt Disney Animation
+ptex: Studios for production-quality rendering.
+ptex:
+ptex:
+ptex:
+ptex:
+ptex:
diff --git a/libraries/pthsem/pthsem.SlackBuild b/libraries/pthsem/pthsem.SlackBuild
index 07f72ae4b6..050870bfa9 100644
--- a/libraries/pthsem/pthsem.SlackBuild
+++ b/libraries/pthsem/pthsem.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pthsem.
# Written by V'yacheslav Stetskevych
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pthsem
VERSION=${VERSION:-2.0.8}
-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"
@@ -77,8 +87,10 @@ cp -a ANNOUNCE AUTHORS COPYING HACKING HISTORY INSTALL NEWS PORTING \
README SUPPORT TESTS THANKS USERS 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/libraries/pthsem/pthsem.info b/libraries/pthsem/pthsem.info
index 5cf5c1708d..150368951d 100644
--- a/libraries/pthsem/pthsem.info
+++ b/libraries/pthsem/pthsem.info
@@ -1,7 +1,7 @@
PRGNAM="pthsem"
VERSION="2.0.8"
HOMEPAGE="http://www.auto.tuwien.ac.at/~mkoegler/index.php/pth"
-DOWNLOAD="http://www.auto.tuwien.ac.at/~mkoegler/pth/pthsem_2.0.8.tar.gz"
+DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/pthsem_2.0.8.tar.gz"
MD5SUM="9144b26dcc27e67498d63dd5456f934c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/ptlib/README b/libraries/ptlib/README
deleted file mode 100644
index cdfb6fd88d..0000000000
--- a/libraries/ptlib/README
+++ /dev/null
@@ -1,9 +0,0 @@
-PTLib - Portable Tools Library
-
-PTLib is a moderately large class library that has it's genesis many
-years ago as PWLib (Portable Windows Library), a method to produce
-applications to run on both Microsoft Windows and Unix systems. It
-has also been ported to many other systems.
-Since then the system has grown to include many classes that assist
-in writing complete multi-platform applications. So it became a
-Portable Tools Library and was renamed to PTLib.
diff --git a/libraries/ptlib/ptlib-2.10.10-mga-bison-parameter.patch b/libraries/ptlib/ptlib-2.10.10-mga-bison-parameter.patch
deleted file mode 100644
index fcc8d0d2e7..0000000000
--- a/libraries/ptlib/ptlib-2.10.10-mga-bison-parameter.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- ptlib-2.10.11/./src/ptlib/common/getdate.y 2013-08-15 01:20:26.000000000 +0200
-+++ /mnt/chroot/cauldron/home/dan/rpm/BUILD/ptlib-2.10.11/src/ptlib/common/getdate.y 2013-12-15 00:24:27.866481490 +0100
-@@ -121,9 +121,9 @@
- static int yylex();
-
- #ifdef __GNUC__
--static int yyerror(char const *msg);
-+static int yyerror(void *, char const *msg);
- #else
--static void yyerror(char const *msg);
-+static void yyerror(void *, char const *msg);
- #endif
-
-
-@@ -132,7 +132,8 @@
-
- %}
-
--%pure_parser
-+%pure-parser
-+%parse-param {void *parseParam}
-
- %union {
- time_t Number;
-@@ -1018,12 +1019,12 @@
- #endif
-
- #ifdef __GNUC__
--int yyerror(const char * s)
-+int yyerror(void *var, const char * s)
- {
- return 0;
- }
- #else
--static void yyerror(const char * s)
-+static void yyerror(void *var, const char * s)
- {
- }
- #endif
diff --git a/libraries/ptlib/ptlib.SlackBuild b/libraries/ptlib/ptlib.SlackBuild
deleted file mode 100644
index d2c42bd774..0000000000
--- a/libraries/ptlib/ptlib.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for PTLib
-
-# Copyright 2008-2009 Mauro Giachero
-# Copyright 2011 David Woodfall
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=ptlib
-VERSION=${VERSION:-2.10.11}
-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"
-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 {} \;
-
-# Fix building with bison-3.0.4
-# thanks to Dan Fandrich / OpalVOIP https://sourceforge.net/p/opalvoip/patches/259/
-patch -p1 < $CWD/ptlib-2.10.10-mga-bison-parameter.patch
-
-# Disable SSLv3
-patch -p1 < $CWD/ssl3.patch
-
-# The "LIBS" variable is set to fix OpenLDAP support
-#
-# The --disable-avc is here to avoid build problems when both libdv and
-# libavc1394 are installed. According to
-# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516826
-# the problem lies in the usage of deprecated (and now removed) functions.
-# Quoting from message #15:
-# | We are planning on releasing ptlib 2.6 without DC nor AVC support and
-# | redirecting people to use V4L.
-# which is advised in the README file.
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-LIBS="-lgthread-2.0" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --enable-v4l \
- --disable-avc \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-# Remove static library
-rm $PKG/usr/lib${LIBDIRSUFFIX}/libpt_s.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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-LN-Z]* mpl-1.0.htm $PKG/usr/doc/$PRGNAM-$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/libraries/ptlib/ptlib.info b/libraries/ptlib/ptlib.info
deleted file mode 100644
index 4fc170dff1..0000000000
--- a/libraries/ptlib/ptlib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ptlib"
-VERSION="2.10.11"
-HOMEPAGE="http://www.opalvoip.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/ptlib/2.10/ptlib-2.10.11.tar.xz"
-MD5SUM="3ffdf89170dbfa6d29a015ef8741a4e4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/ptlib/slack-desc b/libraries/ptlib/slack-desc
deleted file mode 100644
index e5c35d5d72..0000000000
--- a/libraries/ptlib/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------------------------------------------------------|
-ptlib: ptlib (Portable Tools Library)
-ptlib:
-ptlib: PTLib is a moderately large class library that has it's genesis many
-ptlib: years ago as PWLib (Portable Windows Library), a method to product
-ptlib: applications to run on both Microsoft Windows and Unix systems. It
-ptlib: has also been ported to many other systems.
-ptlib: Since then the system has grown to include many classes that assist
-ptlib: in writing complete multi-platform applications. So it became a
-ptlib: Portable Tools Library and was renamed to PTLib.
-ptlib:
-ptlib: Homepage: http://www.opalvoip.org/
diff --git a/libraries/ptlib/ssl3.patch b/libraries/ptlib/ssl3.patch
deleted file mode 100644
index 6fdb7cabea..0000000000
--- a/libraries/ptlib/ssl3.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -u -r ptlib-2.10.11/src/ptclib/pssl.cxx ptlib-2.10.11-nossl3/src/ptclib/pssl.cxx
---- ptlib-2.10.11/src/ptclib/pssl.cxx 2013-08-15 01:20:27.000000000 +0200
-+++ ptlib-2.10.11-nossl3/src/ptclib/pssl.cxx 2016-03-03 11:39:02.224835510 +0100
-@@ -805,13 +805,11 @@
- SSL_METHOD * meth;
-
- switch (method) {
-- case SSLv3:
-- meth = SSLv3_method();
-- break;
- case TLSv1:
- meth = TLSv1_method();
- break;
- case SSLv23:
-+ case SSLv3:
- default:
- meth = SSLv23_method();
- break;
-
diff --git a/libraries/ptypes/ptypes.SlackBuild b/libraries/ptypes/ptypes.SlackBuild
index 75617a7d2b..d0ae683bca 100644
--- a/libraries/ptypes/ptypes.SlackBuild
+++ b/libraries/ptypes/ptypes.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ptypes
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - put HTML docs in correct Slackware doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ptypes
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
@@ -35,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}
@@ -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 up a to-be-installed header and the pkgconfig file
sed -i "s|/usr|${PKG}/usr|" src/Makefile.Linux
@@ -79,19 +89,25 @@ patch -p0 < $CWD/ptypes.patch
make all
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
+# 20220419 bkw: nothing needs these static libs
+rm -f $PKG/usr/lib*/lib*.a
+
+# 20220419 bkw: shared libs are supposed to be executable.
+strip $PKG/usr/lib*/lib*.so.*
+chmod 755 $PKG/usr/lib*/lib*.so.*
# Install the pkgconfig file
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
cat $CWD/ptypes.pc > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/ptypes.pc
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{extras,html}
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION/html || true
+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/libraries/ptypes/ptypes.info b/libraries/ptypes/ptypes.info
index 8afcf7d0c9..7d50742696 100644
--- a/libraries/ptypes/ptypes.info
+++ b/libraries/ptypes/ptypes.info
@@ -1,7 +1,7 @@
PRGNAM="ptypes"
VERSION="2.1.1"
-HOMEPAGE="https://sourceforge.net/projects/ptypes"
-DOWNLOAD="https://sourceforge.net/projects/ptypes/files/ptypes/ptypes-2.1.1/ptypes-2.1.1.tar.gz"
+HOMEPAGE="http://tehsausage.com/ptypes/"
+DOWNLOAD="https://tehsausage.com/ptypes/ptypes-2.1.1.tar.gz"
MD5SUM="f7ed34b09d5b764294e93382f18a0ed3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/pugixml/pugixml.SlackBuild b/libraries/pugixml/pugixml.SlackBuild
index bcbf3e345b..be38af3b16 100644
--- a/libraries/pugixml/pugixml.SlackBuild
+++ b/libraries/pugixml/pugixml.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pugixml
-# Copyright 2015-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2023 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=pugixml
-VERSION=${VERSION:-1.10}
-MAJVER=1.10
+VERSION=${VERSION:-1.14}
+MAJVER=1.14
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}
@@ -71,7 +78,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
@@ -90,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/libraries/pugixml/pugixml.info b/libraries/pugixml/pugixml.info
index b3c7b0d17f..cbf315404c 100644
--- a/libraries/pugixml/pugixml.info
+++ b/libraries/pugixml/pugixml.info
@@ -1,8 +1,8 @@
PRGNAM="pugixml"
-VERSION="1.10"
+VERSION="1.14"
HOMEPAGE="https://pugixml.org/"
-DOWNLOAD="https://github.com/zeux/pugixml/releases/download/v1.10/pugixml-1.10.tar.gz"
-MD5SUM="f97237e9908201c6d8536210747b66af"
+DOWNLOAD="https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz"
+MD5SUM="06e4242ee2352ee63c2b6627c6e3addb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/pyPEG2/README b/libraries/pyPEG2/README
index 09f4d7d1ae..9963fa41bb 100644
--- a/libraries/pyPEG2/README
+++ b/libraries/pyPEG2/README
@@ -5,9 +5,8 @@ for Python version 2.7 and 3.x. It is based on Parsing Expression
Grammar (PEG). With pyPEG you can parse many formal languages in a
very easy way.
-NOTE: to build pyPEG2 with python3 run the slackbuild with option
-PYTHON3=yes.
+NOTE: to build pyPEG2 without python3 run the slackbuild with option
+PYTHON3=no.
+ # PYTHON3=no ./pyPEG2.SlackBuild
- # PYTHON3=yes ./pyPEG2.SlackBuild
-
-NOTE2: In this case 'lxml' need to be build with Python3 bindings.
+git: https://gitea.pep.foundation/fdik/pypeg2
diff --git a/libraries/pyPEG2/pyPEG2.SlackBuild b/libraries/pyPEG2/pyPEG2.SlackBuild
index bed8af19c4..d3abe4d92b 100644
--- a/libraries/pyPEG2/pyPEG2.SlackBuild
+++ b/libraries/pyPEG2/pyPEG2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for pyPEG2.
#
@@ -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=pyPEG2
-VERSION=${VERSION:-2.15.2}
+VERSION=${VERSION:-20211118_4dd9d69}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+SRCNAM=pypeg2
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM.tar.gz
-cd $PRGNAM-$VERSION
+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 \
@@ -72,8 +84,8 @@ find -L . \
python setup.py build
python setup.py install --root=$PKG
-# Build pyPEG2 with python3. Default is no.
-if [ "${PYTHON3:-no}" == "yes" ]; then
+# Build pyPEG2 with python3. Default is yes.
+if [ "${PYTHON3:-yes}" == "yes" ]; then
python3 setup.py build
python3 setup.py install --root=$PKG
fi
@@ -82,11 +94,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/doc/$PRGNAM-$VERSION
-cp CHANGES.txt LICENSE.txt PKG-INFO README.txt TODO.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp CHANGES.txt LICENSE.txt README.md 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pyPEG2/pyPEG2.info b/libraries/pyPEG2/pyPEG2.info
index 5b32023ed1..6e37f72b06 100644
--- a/libraries/pyPEG2/pyPEG2.info
+++ b/libraries/pyPEG2/pyPEG2.info
@@ -1,10 +1,10 @@
PRGNAM="pyPEG2"
-VERSION="2.15.2"
+VERSION="20211118_4dd9d69"
HOMEPAGE="https://fdik.org/pyPEG/"
-DOWNLOAD="https://fdik.org/pyPEG2/pyPEG2.tar.gz"
-MD5SUM="2ff44bc843c61ccd3951ef66a9e4a2b0"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/pypeg2-20211118_4dd9d69.tar.xz"
+MD5SUM="7a458ccebf2859523462a9f6302d3f23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml"
-MAINTAINER="Dave Woodfall"
+REQUIRES="python2-lxml python3-lxml"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/libraries/pyacoustid/README b/libraries/pyacoustid/README
index 6b1fdeab08..97d4973372 100644
--- a/libraries/pyacoustid/README
+++ b/libraries/pyacoustid/README
@@ -3,8 +3,3 @@ high-quality, open-source acoustic fingerprinting system.
This package provides Python bindings for both the fingerprinting
algorithm library, which is written in C but portable, and the Web
service, which provides fingerprint lookups.
-
-If you want to build this for use with Python 3.x (require python3)
-pass the script PYTHON3=yes, like
-
- PYTHON3=yes ./pyacoustid.SlackBuild
diff --git a/libraries/pyacoustid/pyacoustid.SlackBuild b/libraries/pyacoustid/pyacoustid.SlackBuild
index 93362ee6d7..465a6eced0 100644
--- a/libraries/pyacoustid/pyacoustid.SlackBuild
+++ b/libraries/pyacoustid/pyacoustid.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyacoustid
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -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=pyacoustid
-VERSION=${VERSION:-1.1.5}
+VERSION=${VERSION:-1.3.0}
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}
@@ -49,14 +57,14 @@ 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
-PYTHON=python
-[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
-
set -e
rm -rf $PKG
@@ -68,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 {} \+
-$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 +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/libraries/pyacoustid/pyacoustid.info b/libraries/pyacoustid/pyacoustid.info
index 21cd818390..d604e21253 100644
--- a/libraries/pyacoustid/pyacoustid.info
+++ b/libraries/pyacoustid/pyacoustid.info
@@ -1,10 +1,10 @@
PRGNAM="pyacoustid"
-VERSION="1.1.5"
+VERSION="1.3.0"
HOMEPAGE="https://github.com/sampsyo/pyacoustid"
-DOWNLOAD="https://pypi.python.org/packages/da/d1/bf83cce400d5513891ea52e83fde42f17299f80a380f427d50428f817a3c/pyacoustid-1.1.5.tar.gz"
-MD5SUM="036a4754343d1f9c894004c82d8309bd"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pyacoustid/pyacoustid-1.3.0.tar.gz"
+MD5SUM="dd7332cd4be244e54f17609f9626e165"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requests audioread"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="audioread chromaprint"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/pycparser/README b/libraries/pycparser/README
index 024359f0ca..96f1d28c87 100644
--- a/libraries/pycparser/README
+++ b/libraries/pycparser/README
@@ -1,5 +1,3 @@
-**pycparser** is a parser for the C language, written in pure Python. It is a
-module designed to be easily integrated into applications that need to parse
-C source code.
-
-Optional dependency: python3
+**pycparser** is a parser for the C language, written in pure
+Python. It is a module designed to be easily integrated into
+applications that need to parse C source code.
diff --git a/libraries/pycparser/pycparser.SlackBuild b/libraries/pycparser/pycparser.SlackBuild
index 3f96084261..cf499f80bd 100644
--- a/libraries/pycparser/pycparser.SlackBuild
+++ b/libraries/pycparser/pycparser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pycparser
@@ -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=pycparser
VERSION=${VERSION:-2.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}
@@ -69,12 +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
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+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
@@ -87,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/libraries/pyechonest/README b/libraries/pyechonest/README
deleted file mode 100644
index 52976aa5b9..0000000000
--- a/libraries/pyechonest/README
+++ /dev/null
@@ -1,18 +0,0 @@
-Tap into The Echo Nest's Musical Brain for the best music search,
-information, recommendations and remix tools on the web.
-
-Pyechonest is an open source Python library for the Echo Nest API.
-With Pyechonest you have Python access to the entire set of API
-methods including:
-
-- artist - search for artists by name, description, or attribute,
- and get back detailed information about any artist including audio,
- similar artists, blogs, familiarity, hotttnesss, news, reviews,
- urls and video.
-- song - search songs by artist, title, description, or attribute
- (tempo, duration, etc) and get detailed information back about each
- song, such as hotttnesss, audio_summary, or tracks.
-- track - upload a track to the Echo Nest and receive summary
- information about the track including key, duration, mode, tempo,
- time signature along with detailed track info including timbre,
- pitch, rhythm and loudness information.
diff --git a/libraries/pyechonest/pyechonest.SlackBuild b/libraries/pyechonest/pyechonest.SlackBuild
deleted file mode 100644
index e3b8697b51..0000000000
--- a/libraries/pyechonest/pyechonest.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pyechonest
-
-# 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=pyechonest
-VERSION=${VERSION:-9.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}
-
-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
-
-PYTHON=python
-
-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/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
-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/libraries/pyechonest/pyechonest.info b/libraries/pyechonest/pyechonest.info
deleted file mode 100644
index ff2b21a2e0..0000000000
--- a/libraries/pyechonest/pyechonest.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pyechonest"
-VERSION="9.0.0"
-HOMEPAGE="https://github.com/echonest/pyechonest"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pyechonest/pyechonest-9.0.0.tar.gz"
-MD5SUM="c633dce658412e3ec553efd25d7d2686"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/pyechonest/slack-desc b/libraries/pyechonest/slack-desc
deleted file mode 100644
index 244e52f952..0000000000
--- a/libraries/pyechonest/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------------------------------------------------------|
-pyechonest: pyechonest (Python interface to The Echo Nest APIs)
-pyechonest:
-pyechonest: Tap into The Echo Nest's Musical Brain for the best music search,
-pyechonest: information, recommendations and remix tools on the web.
-pyechonest: Pyechonest is an open source Python library for the Echo Nest API.
-pyechonest: With Pyechonest you have Python access to the entire set of API
-pyechonest: methods.
-pyechonest:
-pyechonest: homepage: https://github.com/echonest/pyechonest
-pyechonest:
-pyechonest:
diff --git a/libraries/pyftpdlib/README b/libraries/pyftpdlib/README
index c546d644e9..d3cae18183 100644
--- a/libraries/pyftpdlib/README
+++ b/libraries/pyftpdlib/README
@@ -1,8 +1,8 @@
-Python FTP server library provides a high-level portable interface to easily
-write asynchronous FTP servers with Python.
+Python FTP server library provides a high-level portable interface to
+easily write asynchronous FTP servers with Python.
-pyftpdlib is currently the most complete RFC-959 FTP server implementation
-available for Python programming language.
+pyftpdlib is currently the most complete RFC-959 FTP server
+implementation available for Python programming language.
-It is used in projects like Google Chromium and Bazaar and included in Linux
-Fedora and FreeBSD package repositories.
+It is used in projects like Google Chromium and Bazaar and included in
+Linux Fedora and FreeBSD package repositories.
diff --git a/libraries/pyftpdlib/pyftpdlib.SlackBuild b/libraries/pyftpdlib/pyftpdlib.SlackBuild
index 5d6a67ecb9..6743ca9203 100644
--- a/libraries/pyftpdlib/pyftpdlib.SlackBuild
+++ b/libraries/pyftpdlib/pyftpdlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyftpdlib
@@ -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=pyftpdlib
VERSION=${VERSION:-1.5.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}
@@ -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/libraries/pyjf3/pyjf3.SlackBuild b/libraries/pyjf3/pyjf3.SlackBuild
index f4d9aafcc2..af99fa197a 100644
--- a/libraries/pyjf3/pyjf3.SlackBuild
+++ b/libraries/pyjf3/pyjf3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyjf3
@@ -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=pyjf3
VERSION=${VERSION:-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}
@@ -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/libraries/pyjf3/pyjf3.info b/libraries/pyjf3/pyjf3.info
index f5b583ff88..7aa58f5340 100644
--- a/libraries/pyjf3/pyjf3.info
+++ b/libraries/pyjf3/pyjf3.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/p/pyjf3/pyjf3-0.3.tar.gz"
MD5SUM="e36e8cbac31ffe74019449fc46825bb3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/pykdtree/README b/libraries/pykdtree/README
deleted file mode 100644
index 8e6e6adc51..0000000000
--- a/libraries/pykdtree/README
+++ /dev/null
@@ -1 +0,0 @@
-Fast kd-tree implementation with OpenMP-enabled queries.
diff --git a/libraries/pykdtree/pykdtree.SlackBuild b/libraries/pykdtree/pykdtree.SlackBuild
deleted file mode 100644
index 403dfe50ff..0000000000
--- a/libraries/pykdtree/pykdtree.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pykdtree
-
-# 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=pykdtree
-VERSION=${VERSION:-1.3.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
-
-find $PKG -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-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/libraries/pykdtree/pykdtree.info b/libraries/pykdtree/pykdtree.info
deleted file mode 100644
index 244ee53b89..0000000000
--- a/libraries/pykdtree/pykdtree.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pykdtree"
-VERSION="1.3.0"
-HOMEPAGE="https://pypi.org/project/pykdtree/"
-DOWNLOAD="https://files.pythonhosted.org/packages/6c/3b/c2a52a0093417fb7a37c2614b3a5fdedcab39c05c7b80871d2da0ca53149/pykdtree-1.3.0.tar.gz"
-MD5SUM="5132df37bbd767f29241f1200fa0f4cd"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="numpy"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/pykdtree/slack-desc b/libraries/pykdtree/slack-desc
deleted file mode 100644
index 046bdf5e74..0000000000
--- a/libraries/pykdtree/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------------------------------------------------------|
-pykdtree: pykdtree (Fast kd-tree implementation)
-pykdtree:
-pykdtree: Fast kd-tree implementation with OpenMP-enabled queries.
-pykdtree:
-pykdtree: Homepage: https://pypi.python.org/pypi/pykdtree
-pykdtree:
-pykdtree:
-pykdtree:
-pykdtree:
-pykdtree:
-pykdtree:
diff --git a/libraries/pylast/README b/libraries/pylast/README
index a8c4052fb5..ecb7a35538 100644
--- a/libraries/pylast/README
+++ b/libraries/pylast/README
@@ -1,13 +1,2 @@
-Pylast is a python interface to Last.fm.
-Try using the pydoc utility for help on usage.
-
-For more info check out the project's home page at
-http://code.google.com/p/pylast/ or the mailing list
-http://groups.google.com/group/pylast
-
-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 ./pylast.SlackBuild
-
-NOTE: python_version="3.3" require python-certifi
+A Python interface to Last.fm and other API-compatible websites such
+as Libre.fm.
diff --git a/libraries/pylast/pylast.SlackBuild b/libraries/pylast/pylast.SlackBuild
index 3c333b28e1..3f3f1c001e 100644
--- a/libraries/pylast/pylast.SlackBuild
+++ b/libraries/pylast/pylast.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pylast
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20221029 46and2: Updated version, build process changed.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pylast
-VERSION=${VERSION:-2.4.0} # This is the last verion that is compatible
-BUILD=${BUILD:-1} # with Python 2
+VERSION=${VERSION:-5.2.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -49,14 +59,14 @@ 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
-PYTHON=python
-[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
-
set -e
rm -rf $PKG
@@ -68,11 +78,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 {} \+
-$PYTHON 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
@@ -85,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/libraries/pylast/pylast.info b/libraries/pylast/pylast.info
index bed5b0f155..2b7e6e8abb 100644
--- a/libraries/pylast/pylast.info
+++ b/libraries/pylast/pylast.info
@@ -1,10 +1,10 @@
PRGNAM="pylast"
-VERSION="2.4.0"
+VERSION="5.2.0"
HOMEPAGE="https://github.com/pylast/pylast"
-DOWNLOAD="https://files.pythonhosted.org/packages/eb/5e/c7aa34730b5184121ca3793028a4e1f2e459f0e1bce6f39b63e501f5acc1/pylast-2.4.0.tar.gz"
-MD5SUM="2dac0c4eb983d25741e610add85f38ee"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pylast/pylast-5.2.0.tar.gz"
+MD5SUM="3c4675ffe7beef16269ac808e022ace1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="six"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="python3-httpx python3-hatch_vcs"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/pylibpcap/pylibpcap.SlackBuild b/libraries/pylibpcap/pylibpcap.SlackBuild
index 95d5fafa6b..dca45e2308 100644
--- a/libraries/pylibpcap/pylibpcap.SlackBuild
+++ b/libraries/pylibpcap/pylibpcap.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pylibpcap
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pylibpcap
VERSION=${VERSION:-0.6.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"
@@ -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/libraries/pymdstat/README b/libraries/pymdstat/README
deleted file mode 100644
index acfcb630bb..0000000000
--- a/libraries/pymdstat/README
+++ /dev/null
@@ -1,2 +0,0 @@
-PyMDstat is a pythonic library to parse /proc/mdstat, which shows a snapshot
-of the kernel's RAID/md state.
diff --git a/libraries/pymdstat/pymdstat.SlackBuild b/libraries/pymdstat/pymdstat.SlackBuild
deleted file mode 100644
index 1775fbbb35..0000000000
--- a/libraries/pymdstat/pymdstat.SlackBuild
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for pymdstat
-
-# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot 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=pymdstat
-VERSION=${VERSION:-0.4.2}
-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 xvzf $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
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
- | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-PRGUSR=$PKG/usr
-PRGSHR=$PKG/usr/share
-PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-
-# Install documentation.
-mkdir -p $PRGDOC
-mv $PRGSHR/doc/$PRGNAM/* $PRGDOC/
-rm -rf $PRGSHR
-cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-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/libraries/pymdstat/pymdstat.info b/libraries/pymdstat/pymdstat.info
deleted file mode 100644
index d2127c1333..0000000000
--- a/libraries/pymdstat/pymdstat.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pymdstat"
-VERSION="0.4.2"
-HOMEPAGE="https://github.com/nicolargo/pymdstat"
-DOWNLOAD="https://github.com/nicolargo/pymdstat/archive/v0.4.2/pymdstat-0.4.2.tar.gz"
-MD5SUM="49cf57575fd15cb8ee6655d5c353ce09"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Philip Lacroix"
-EMAIL="slackph at posteo dot de"
diff --git a/libraries/pymdstat/slack-desc b/libraries/pymdstat/slack-desc
deleted file mode 100644
index f4652856f9..0000000000
--- a/libraries/pymdstat/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------------------------------------------------------|
-pymdstat: pymdstat (library to parse /proc/mdstat)
-pymdstat:
-pymdstat: PyMDstat is a pythonic library to parse /proc/mdstat, which shows a
-pymdstat: snapshot of the kernel's RAID/md state.
-pymdstat:
-pymdstat: Homepage: https://github.com/nicolargo/pymdstat
-pymdstat:
-pymdstat:
-pymdstat:
-pymdstat:
-pymdstat:
diff --git a/libraries/pymediainfo/pymediainfo.SlackBuild b/libraries/pymediainfo/pymediainfo.SlackBuild
index f7c24fd49e..ff3d6927c0 100644
--- a/libraries/pymediainfo/pymediainfo.SlackBuild
+++ b/libraries/pymediainfo/pymediainfo.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pymediainfo
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.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=pymediainfo
-VERSION=${VERSION:-4.1}
+VERSION=${VERSION:-6.1.0}
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,17 +63,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 {} \;
-python setup.py install --root=$PKG
+export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+
+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 PKG-INFO README.rst $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pymediainfo/pymediainfo.info b/libraries/pymediainfo/pymediainfo.info
index b7fe772a2b..a51861f0c6 100644
--- a/libraries/pymediainfo/pymediainfo.info
+++ b/libraries/pymediainfo/pymediainfo.info
@@ -1,10 +1,10 @@
PRGNAM="pymediainfo"
-VERSION="4.1"
+VERSION="6.1.0"
HOMEPAGE="https://pypi.python.org/pypi/pymediainfo/"
-DOWNLOAD="https://files.pythonhosted.org/packages/97/87/1a79ccbf656392b3053d667dbf903b183d55ecf13cb6439293a700a8de00/pymediainfo-4.1.tar.gz"
-MD5SUM="31f179ecd572f609a221400f1453a953"
+DOWNLOAD="https://github.com/sbraz/pymediainfo/archive/refs/tags/v6.1.0/pymediainfo-6.1.0.tar.gz"
+MD5SUM="c920fb5c7d52728f4510b69cf3253c9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="libmediainfo"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/pymediainfo/slack-desc b/libraries/pymediainfo/slack-desc
index 24387e454b..e0be8d7fcf 100644
--- a/libraries/pymediainfo/slack-desc
+++ b/libraries/pymediainfo/slack-desc
@@ -10,7 +10,7 @@ pymediainfo: pymediainfo (A Python wrapper for the mediainfo command line tool)
pymediainfo:
pymediainfo: A Python wrapper for the mediainfo command line tool
pymediainfo:
-pymediainfo: Homepage: https://pypi.python.org/pypi/pymediainfo/1.3.5
+pymediainfo: Homepage: https://pypi.python.org/pypi/pymediainfo
pymediainfo:
pymediainfo:
pymediainfo:
diff --git a/libraries/pyqode.core/pyqode.core.SlackBuild b/libraries/pyqode.core/pyqode.core.SlackBuild
index cd6a8c4770..954c035d85 100644
--- a/libraries/pyqode.core/pyqode.core.SlackBuild
+++ b/libraries/pyqode.core/pyqode.core.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyqode.core
@@ -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=pyqode.core
VERSION=${VERSION:-2.10.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 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pyqode.core/pyqode.core.info b/libraries/pyqode.core/pyqode.core.info
index bc20b3c0b0..db495c9422 100644
--- a/libraries/pyqode.core/pyqode.core.info
+++ b/libraries/pyqode.core/pyqode.core.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/ec/9a/e1f7559ea080e5fbe0b46c2ff2cbe3c
MD5SUM="4f0348f3c5f3d26dea0119c3c515101b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Pygments pyqode.qt python3-future"
+REQUIRES="pyqode.qt"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/pysendfile/README b/libraries/pysendfile/README
index f4087ba0c1..6e2ff738c0 100644
--- a/libraries/pysendfile/README
+++ b/libraries/pysendfile/README
@@ -1,9 +1,9 @@
A Python interface to sendfile(2) syscall.
-sendfile(2) is a system call which provides a "zero-copy" way of copying data
-from one file descriptor to another (a socket).
+sendfile(2) is a system call which provides a "zero-copy" way of
+copying data from one file descriptor to another (a socket).
-The phrase "zero-copy" refers to the fact that all of the copying of data
-between the two descriptors is done entirely by the kernel, with no
-copying of data into userspace buffers. This is particularly useful
+The phrase "zero-copy" refers to the fact that all of the copying of
+data between the two descriptors is done entirely by the kernel, with
+no copying of data into userspace buffers. This is particularly useful
when sending a file over a socket (e.g. FTP).
diff --git a/libraries/pysendfile/pysendfile.SlackBuild b/libraries/pysendfile/pysendfile.SlackBuild
index 3bd9c6289e..570a156112 100644
--- a/libraries/pysendfile/pysendfile.SlackBuild
+++ b/libraries/pysendfile/pysendfile.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pysendfile
@@ -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=pysendfile
VERSION=${VERSION:-2.0.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}
@@ -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/libraries/pytaglib/README b/libraries/pytaglib/README
new file mode 100644
index 0000000000..1327f439e0
--- /dev/null
+++ b/libraries/pytaglib/README
@@ -0,0 +1,4 @@
+pytaglib is a Python audio tagging library. It is a wrapper around
+the TagLib C++ library. It supports more than a dozen file formats,
+including mp3, flac, ogg, wma, and mp4, arbitary, non-standard tag
+names and multiple values per tag. It works with all Python versions.
diff --git a/libraries/pytaglib/pytaglib.SlackBuild b/libraries/pytaglib/pytaglib.SlackBuild
new file mode 100644
index 0000000000..8dd089045e
--- /dev/null
+++ b/libraries/pytaglib/pytaglib.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for pytaglib
+
+# Copyright 2020 Sasha Abbott
+
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=pytaglib
+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=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 {} \;
+
+python setup.py build
+python setup.py install --root=$PKG
+
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py build
+ 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/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/pytaglib/pytaglib.info b/libraries/pytaglib/pytaglib.info
new file mode 100644
index 0000000000..45643a4bc7
--- /dev/null
+++ b/libraries/pytaglib/pytaglib.info
@@ -0,0 +1,10 @@
+PRGNAM="pytaglib"
+VERSION="1.4.6"
+HOMEPAGE="https://github.com/supermihi/pytaglib"
+DOWNLOAD="https://github.com/supermihi/pytaglib/archive/v1.4.6/pytaglib-1.4.6.tar.gz"
+MD5SUM="de163afa617ad2d2d4ee875a9132321e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Sasha Abbott"
+EMAIL="sashaa@disroot.org"
diff --git a/libraries/pytaglib/slack-desc b/libraries/pytaglib/slack-desc
new file mode 100644
index 0000000000..1d4eded850
--- /dev/null
+++ b/libraries/pytaglib/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------------------------------------------------------|
+pytaglib: pytaglib (Python audio tagging library)
+pytaglib:
+pytaglib: pytaglib is a Python audio tagging library. It is a wrapper around
+pytaglib: the TagLib C++ library. It supports more than a dozen file formats,
+pytaglib: including mp3, flac, ogg, wma, and mp4, arbitary, non-standard tag
+pytaglib: names and multiple values per tag.
+pytaglib:
+pytaglib: Homepage: https://github.com/supermihi/pytaglib
+pytaglib:
+pytaglib:
+pytaglib:
diff --git a/libraries/pyte/pyte.SlackBuild b/libraries/pyte/pyte.SlackBuild
index 600beeebe4..4de67457dc 100644
--- a/libraries/pyte/pyte.SlackBuild
+++ b/libraries/pyte/pyte.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyte
-# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2023 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=pyte
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.8.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,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
+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
@@ -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/libraries/pyte/pyte.info b/libraries/pyte/pyte.info
index 4fcaeedc37..f8770f85e5 100644
--- a/libraries/pyte/pyte.info
+++ b/libraries/pyte/pyte.info
@@ -1,10 +1,10 @@
PRGNAM="pyte"
-VERSION="0.8.0"
+VERSION="0.8.2"
HOMEPAGE="https://github.com/selectel/pyte"
-DOWNLOAD="https://github.com/selectel/pyte/archive/0.8.0/pyte-0.8.0.tar.gz"
-MD5SUM="d480ad3c1e023adf84a64eee71f58b10"
+DOWNLOAD="https://github.com/selectel/pyte/archive/0.8.2/pyte-0.8.2.tar.gz"
+MD5SUM="84ae0278eb9caf5dbabe9c6b63132375"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pytest-runner wcwidth"
+REQUIRES="python3-pytest-runner python3-wcwidth"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/python-efl/README b/libraries/python-efl/README
index eada94c6b1..92205d97b8 100644
--- a/libraries/python-efl/README
+++ b/libraries/python-efl/README
@@ -1,6 +1 @@
Python bindings for Elementary.
-
-This package supersedes the following packages:
- python-e_dbus python-elementary python-emotion python-ethumb python-evas
-
-Please remove the above packages before installing this one.
diff --git a/libraries/python-efl/python-efl.SlackBuild b/libraries/python-efl/python-efl.SlackBuild
index 985f0bb3fa..b3ab2633b6 100644
--- a/libraries/python-efl/python-efl.SlackBuild
+++ b/libraries/python-efl/python-efl.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-efl
-# Erik Falor | Logan, UT | ewfalor@gmail.com
+# Erik Falor | Logan, UT, USA | ewfalor@gmail.com | January 2024
+# All rights reserved.
# 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
@@ -21,10 +22,13 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python-efl
-VERSION=${VERSION:-1.21.0}
+VERSION=${VERSION:-1.26.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,23 +38,26 @@ 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
@@ -70,17 +77,17 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-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 AUTHORS COPYING COPYING.LESSER ChangeLog INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING COPYING.LESSER ChangeLog PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/python-efl/python-efl.info b/libraries/python-efl/python-efl.info
index f7a20de435..63949a1589 100644
--- a/libraries/python-efl/python-efl.info
+++ b/libraries/python-efl/python-efl.info
@@ -1,8 +1,8 @@
PRGNAM="python-efl"
-VERSION="1.21.0"
+VERSION="1.26.1"
HOMEPAGE="https://www.enlightenment.org/"
-DOWNLOAD="https://download.enlightenment.org/rel/bindings/python/python-efl-1.21.0.tar.xz"
-MD5SUM="e798838b7e16902ec840a7bee692e276"
+DOWNLOAD="https://download.enlightenment.org/rel/bindings/python/python-efl-1.26.1.tar.xz"
+MD5SUM="7305bf32704d478330d2571bac5bdccd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="efl"
diff --git a/libraries/python-gnupg/README b/libraries/python-gnupg/README
index 6c78b449d5..97323081ab 100644
--- a/libraries/python-gnupg/README
+++ b/libraries/python-gnupg/README
@@ -1,8 +1,10 @@
A Python wrapper for GnuPG
-The gnupg module allows Python programs to make use of the functionality
-provided by the GNU Privacy Guard (abbreviated GPG or GnuPG).
-Using this module, Python programs can encrypt and decrypt data, digitally
-sign documents and verify signatures, manage (generate, list and delete)
-encryption keys, using proven Public Key Infrastructure (PKI) encryption
-technology based on OpenPGP.
+The gnupg module allows Python programs to make use of the
+functionality provided by the GNU Privacy Guard (abbreviated GPG or
+GnuPG).
+
+Using this module, Python programs can encrypt and decrypt data,
+digitally sign documents and verify signatures, manage (generate, list
+and delete) encryption keys, using proven Public Key Infrastructure
+(PKI) encryption technology based on OpenPGP.
diff --git a/libraries/python-gnupg/python-gnupg.SlackBuild b/libraries/python-gnupg/python-gnupg.SlackBuild
index d370514e12..23527c7399 100644
--- a/libraries/python-gnupg/python-gnupg.SlackBuild
+++ b/libraries/python-gnupg/python-gnupg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-gnupg
@@ -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=python-gnupg
VERSION=${VERSION:-0.4.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}
@@ -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/libraries/python-librtmp/python-librtmp.SlackBuild b/libraries/python-librtmp/python-librtmp.SlackBuild
index aec2fb934c..7a017cc6a1 100644
--- a/libraries/python-librtmp/python-librtmp.SlackBuild
+++ b/libraries/python-librtmp/python-librtmp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-librtmp
@@ -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=python-librtmp
VERSION=${VERSION:-0.3.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 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/python-meld3/README b/libraries/python-meld3/README
index 539111ee00..1012dc3281 100644
--- a/libraries/python-meld3/README
+++ b/libraries/python-meld3/README
@@ -1,11 +1,12 @@
-meld3 is an HTML/XML templating system for Python which keeps template markup
-and dynamic rendering logic separate from one another. See
-http://www.entrian.com/PyMeld for a treatise on the benefits of this pattern.
+meld3 is an HTML/XML templating system for Python which keeps template
+markup and dynamic rendering logic separate from one another. See
+http://www.entrian.com/PyMeld for a treatise on the benefits of this
+pattern.
-meld3 can deal with HTML or XML/XHTML input and can output well-formed HTML
-or XML/XHTML.
+meld3 can deal with HTML or XML/XHTML input and can output well-formed
+HTML or XML/XHTML.
-meld3 is a variation of Paul Winkler’s Meld2, which is itself a variation
-of Richie Hindle’s PyMeld.
+meld3 is a variation of Paul Winkler’s Meld2, which is itself a
+variation of Richie Hindle’s PyMeld.
meld3 uses Frederik Lundh’s ElementTree library.
diff --git a/libraries/python-meld3/python-meld3.SlackBuild b/libraries/python-meld3/python-meld3.SlackBuild
index 8c1af6e8eb..6df0f16e03 100644
--- a/libraries/python-meld3/python-meld3.SlackBuild
+++ b/libraries/python-meld3/python-meld3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-meld3
# Copyright 2018 digwtx <wtx358@qq.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=python-meld3
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=meld3
@@ -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,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/libraries/python-ntlm/python-ntlm.SlackBuild b/libraries/python-ntlm/python-ntlm.SlackBuild
index 7ad4ae7408..07b1ec6daf 100644
--- a/libraries/python-ntlm/python-ntlm.SlackBuild
+++ b/libraries/python-ntlm/python-ntlm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python-ntlm
@@ -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=python-ntlm
VERSION=${VERSION:-1.1.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}
@@ -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/libraries/python-ruamel.yaml/README b/libraries/python-ruamel.yaml/README
deleted file mode 100644
index 28dd43dc00..0000000000
--- a/libraries/python-ruamel.yaml/README
+++ /dev/null
@@ -1,15 +0,0 @@
-YAML is a human friendly data serialization standard for all programming
-languages. It is commonly used for configuration files, logs, etc.
-
-ruamel.yaml is a YAML 1.2 loader/dumper package for Python. It is a
-derivative of Kirill Simonov’s PyYAML 3.11.
-
-ruamel.yaml supports YAML 1.2 and has round-trip loaders and dumpers
-that preserves, among others:
-
-* comments
-* block style and key ordering are kept, so you can diff the
- round-tripped source
-* flow style sequences ( ‘a: b, c, d’)
-* anchor names that are hand-crafted (i.e. not of the form``idNNN``)
-* merges in dictionaries are preserved
diff --git a/libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild b/libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild
deleted file mode 100644
index 17b1b8ee01..0000000000
--- a/libraries/python-ruamel.yaml/python-ruamel.yaml.SlackBuild
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for python-ruamel.yaml
-
-# Copyright 2019, 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.
-
-PRGNAM=python-ruamel.yaml
-VERSION=${VERSION:-0.16.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}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf ${PRGNAM:7}-$VERSION
-tar xvf $CWD/${PRGNAM:7}-$VERSION.tar.gz
-cd ${PRGNAM:7}-$VERSION
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-RUAMEL_NO_PIP_INSTALL_CHECK=1 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/doc/$PRGNAM-$VERSION
-cp -a CHANGES 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/libraries/python-ruamel.yaml/python-ruamel.yaml.info b/libraries/python-ruamel.yaml/python-ruamel.yaml.info
deleted file mode 100644
index e9438e67af..0000000000
--- a/libraries/python-ruamel.yaml/python-ruamel.yaml.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="python-ruamel.yaml"
-VERSION="0.16.0"
-HOMEPAGE="https://bitbucket.org/ruamel/yaml"
-DOWNLOAD="https://pypi.org/packages/source/r/ruamel.yaml/ruamel.yaml-0.16.0.tar.gz"
-MD5SUM="ce481f80ee02dedcde75a0404209ee55"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Alexander Verbovetsky"
-EMAIL="alik@ejik.org"
diff --git a/libraries/python-ruamel.yaml/slack-desc b/libraries/python-ruamel.yaml/slack-desc
deleted file mode 100644
index 06953f1a3a..0000000000
--- a/libraries/python-ruamel.yaml/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------------------------------------------------------|
-python-ruamel.yaml: python-ruamel.yaml (YAML 1.2 parser and emitter for Python)
-python-ruamel.yaml:
-python-ruamel.yaml: ruamel.yaml is a YAML 1.2 parser and emitter for Python that support
-python-ruamel.yaml: comment preservation.
-python-ruamel.yaml:
-python-ruamel.yaml:
-python-ruamel.yaml: Homepage: https://bitbucket.org/ruamel/yaml
-python-ruamel.yaml:
-python-ruamel.yaml:
-python-ruamel.yaml:
-python-ruamel.yaml:
diff --git a/libraries/python-xlrd/doinst.sh b/libraries/python-xlrd/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/libraries/python-xlrd/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/libraries/python-xlrd/python-xlrd.SlackBuild b/libraries/python-xlrd/python-xlrd.SlackBuild
index fde42607c5..8fac848819 100644
--- a/libraries/python-xlrd/python-xlrd.SlackBuild
+++ b/libraries/python-xlrd/python-xlrd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xlrd
@@ -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=python-xlrd
SCRNAM=$(echo $PRGNAM | cut -c8-11)
VERSION=${VERSION:-1.1.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}
@@ -85,7 +95,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/libraries/PyYAML/README b/libraries/python2-PyYAML/README
index 2bede18e0f..2bede18e0f 100644
--- a/libraries/PyYAML/README
+++ b/libraries/python2-PyYAML/README
diff --git a/libraries/python2-PyYAML/python2-PyYAML.SlackBuild b/libraries/python2-PyYAML/python2-PyYAML.SlackBuild
new file mode 100644
index 0000000000..162e9a1d7f
--- /dev/null
+++ b/libraries/python2-PyYAML/python2-PyYAML.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for python2-PyYAML
+# Copyright 2010-2019 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python2-PyYAML
+SRCNAM=PyYAML
+VERSION=${VERSION:-3.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ 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/libraries/python2-PyYAML/python2-PyYAML.info b/libraries/python2-PyYAML/python2-PyYAML.info
new file mode 100644
index 0000000000..5e7c2fcc0e
--- /dev/null
+++ b/libraries/python2-PyYAML/python2-PyYAML.info
@@ -0,0 +1,10 @@
+PRGNAM="python2-PyYAML"
+VERSION="3.13"
+HOMEPAGE="https://pyyaml.org/"
+DOWNLOAD="https://pyyaml.org/download/pyyaml/PyYAML-3.13.tar.gz"
+MD5SUM="b78b96636d68ac581c0e2f38158c224f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/libraries/python2-PyYAML/slack-desc b/libraries/python2-PyYAML/slack-desc
new file mode 100644
index 0000000000..19aefcbc04
--- /dev/null
+++ b/libraries/python2-PyYAML/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-PyYAML: python2-PyYAML (YAML parser and emitter for Python)
+python2-PyYAML:
+python2-PyYAML: YAML is a data serialization format designed for human readability
+python2-PyYAML: and interaction with scripting languages. PyYAML is a YAML parser
+python2-PyYAML: and emitter for Python.
+python2-PyYAML:
+python2-PyYAML: Homepage: https://pyyaml.org/
+python2-PyYAML:
+python2-PyYAML:
+python2-PyYAML:
+python2-PyYAML:
diff --git a/libraries/python2-matplotlib/README b/libraries/python2-matplotlib/README
new file mode 100644
index 0000000000..ef592d939f
--- /dev/null
+++ b/libraries/python2-matplotlib/README
@@ -0,0 +1,26 @@
+Matplotlib strives to produce publication quality 2D graphics for
+interactive graphing, scientific publishing, user interface development
+and web application servers targeting multiple user interfaces and
+hardcopy output formats. The 'pylab' mode of ipython uses matplotlib
+to emulate matlab graphics.
+
+OPTIONAL DEPENDENCIES: pytest, mock, ffmpeg/avconv, Inkscape,
+ wxPython3
+
+NOTES: The optional wxagg backend is disabled by default because
+ of possible issues related to wxPython versions. If you wish to
+ use this backend install wxPython3 in advance and set
+ DISABLE_WXAGG to "no" when executing the SlackBuild.
+
+ IMPORTANT: There is some interaction between wxPython and
+ wxPython3, pay attention to the corresponding
+ README files.
+
+ If you want to enable the optional subpackages tests and
+ toolkits_tests you need to set the variable ENABLE_TESTS to
+ "yes" when executing the SlackBuild and make sure that pytest,
+ mock, ffmpeg/avconv and Inkscape are already installed. Besides
+ ffmpeg/avconv are also needed if you wish better support of
+ animation output formats.
+
+ Version 2.2.5 is the last available for python2.
diff --git a/libraries/python2-matplotlib/python2-matplotlib.SlackBuild b/libraries/python2-matplotlib/python2-matplotlib.SlackBuild
new file mode 100644
index 0000000000..a6d0d469aa
--- /dev/null
+++ b/libraries/python2-matplotlib/python2-matplotlib.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for matplotlib
+
+# 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 to 0.99.1.2 by João Felipe Santos <joao.eel@gmail.com>
+# Patch for libpng borrowed from Arch Linux (no longer needed, 2016.08.28, S.U.)
+# Updated up to version 2.2.5 by Serban Udrea <S.Udrea@gsi.de>
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python2-matplotlib
+SRCNAM=matplotlib
+VERSION=${VERSION:-2.2.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TARBALL_VERSION=${TARBALL_VERSION:-2.2.5} # Tarball may have wrong versioning
+ENABLE_TESTS=${ENABLE_TESTS:-N}
+DISABLE_WXAGG=${DISABLE_WXAGG:-Y}
+
+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-$TARBALL_VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$TARBALL_VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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_TESTS=$(echo "$ENABLE_TESTS"|cut -b 1|tr a-z A-Z)
+DISABLE_WXAGG=$(echo "$DISABLE_WXAGG"|cut -b 1|tr a-z A-Z)
+cat setup.cfg.template > setup.cfg
+
+if [ "$ENABLE_TESTS" = "Y" ]
+then
+ sed -i "s|#tests = False|tests = True|" setup.cfg
+fi
+
+if [ "$DISABLE_WXAGG" = "Y" ]
+then
+ sed -i "s|#wxagg = auto|wxagg = False|" 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
+
+python2 setup.py install --root $PKG # > ${CWD}/SETUP.OUTPUT 2>&1
+
+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 INSTALL.rst MANIFEST.in README.rst 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/libraries/python2-matplotlib/python2-matplotlib.info b/libraries/python2-matplotlib/python2-matplotlib.info
new file mode 100644
index 0000000000..c7893768f3
--- /dev/null
+++ b/libraries/python2-matplotlib/python2-matplotlib.info
@@ -0,0 +1,10 @@
+PRGNAM="python2-matplotlib"
+VERSION="2.2.5"
+HOMEPAGE="https://matplotlib.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/10/5f/10c310c943f29e67976dcc26dccf9305a5a9bc7483e631ee74a0f95aa5b2/matplotlib-2.2.5.tar.gz"
+MD5SUM="422fc58e7323b7ba3f19382424f9ab7b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python2-numpy python2-dateutil pytz python2-cycler functools-lru-cache subprocess32 python2-kiwisolver tornado"
+MAINTAINER="Serban Udrea"
+EMAIL="S.Udrea@gsi.de"
diff --git a/libraries/matplotlib/setupext.py b/libraries/python2-matplotlib/setupext.py
index 68ab368443..bf931378d6 100644
--- a/libraries/matplotlib/setupext.py
+++ b/libraries/python2-matplotlib/setupext.py
@@ -5,19 +5,54 @@ from importlib import import_module
from distutils import sysconfig
from distutils import version
from distutils.core import Extension
+import hashlib
+
import distutils.command.build_ext
+from io import BytesIO
+
import glob
import multiprocessing
import os
import platform
+
import re
+
+import setuptools
+import shutil
+
import subprocess
from subprocess import check_output
import sys
import warnings
from textwrap import fill
import shutil
+
+import tarfile
+import textwrap
+
import versioneer
+import warnings
+import contextlib
+
+if sys.version_info < (3, ):
+ from urllib2 import urlopen, Request
+
+ class FileExistsError(OSError):
+ pass
+
+ def makedirs(path, exist_ok=True):
+ if not exist_ok:
+ raise ValueError("this backport only supports exist_ok is True")
+ if not path or os.path.exists(path):
+ return
+ head, tail = os.path.split(path)
+
+ makedirs(head, exist_ok=True)
+ os.makedirs(path)
+
+else:
+ from urllib.request import urlopen, Request
+ from os import makedirs
PY3min = (sys.version_info[0] >= 3)
@@ -37,6 +72,101 @@ def _get_xdg_cache_dir():
return os.path.join(cache_dir, 'matplotlib')
+def get_fd_hash(fd):
+ """
+ Compute the sha256 hash of the bytes in a file-like
+ """
+ BLOCKSIZE = 1 << 16
+ hasher = hashlib.sha256()
+ old_pos = fd.tell()
+ fd.seek(0)
+ buf = fd.read(BLOCKSIZE)
+ while buf:
+ hasher.update(buf)
+ buf = fd.read(BLOCKSIZE)
+ fd.seek(old_pos)
+ return hasher.hexdigest()
+
+
+def download_or_cache(url, sha):
+ """
+ Get bytes from the given url or local cache.
+
+ Parameters
+ ----------
+ url : str
+ The url to download
+
+ sha : str
+ The sha256 of the file
+
+ Returns
+ -------
+ BytesIO
+ The file loaded into memory.
+ """
+ cache_dir = _get_xdg_cache_dir()
+
+ def get_from_cache(local_fn):
+ if cache_dir is None:
+ raise Exception("no cache dir")
+ cache_filename = os.path.join(cache_dir, local_fn)
+ with open(cache_filename, 'rb') as fin:
+ buf = BytesIO(fin.read())
+ file_sha = get_fd_hash(buf)
+ if file_sha != sha:
+ return None
+ buf.seek(0)
+ return buf
+
+ def write_cache(local_fn, data):
+ if cache_dir is None:
+ raise Exception("no cache dir")
+
+ cache_filename = os.path.join(cache_dir, local_fn)
+ makedirs(cache_dir, exist_ok=True)
+ if sys.version_info < (3, ):
+ if os.path.exists(cache_filename):
+ raise FileExistsError
+ mode = 'wb'
+ else:
+ mode = 'xb'
+ old_pos = data.tell()
+ data.seek(0)
+ with open(cache_filename, mode=mode) as fout:
+ fout.write(data.read())
+ data.seek(old_pos)
+
+ try:
+ return get_from_cache(sha)
+ except Exception:
+ pass
+
+ # jQueryUI's website blocks direct downloads from urllib.request's
+ # default User-Agent, but not (for example) wget; so I don't feel too
+ # bad passing in an empty User-Agent.
+ with contextlib.closing(urlopen(
+ Request(url, headers={"User-Agent": ""}))) as req:
+ file_contents = BytesIO(req.read())
+ file_contents.seek(0)
+
+ file_sha = get_fd_hash(file_contents)
+
+ if file_sha != sha:
+ raise Exception(("The download file does not match the "
+ "expected sha. {url} was expected to have "
+ "{sha} but it had {file_sha}").format(
+ sha=sha, file_sha=file_sha, url=url))
+
+ try:
+ write_cache(sha, file_contents)
+ except Exception:
+ pass
+
+ file_contents.seek(0)
+ return file_contents
+
+
# SHA256 hashes of the FreeType tarballs
_freetype_hashes = {
'2.6.1': '0a3c7dfbda6da1e8fce29232e8e96d987ababbbf71ebc8c75659e4132c367014',
@@ -278,18 +408,14 @@ def make_extension(name, files, *args, **kwargs):
return ext
-def get_file_hash(filename):
- """
- Get the SHA256 hash of a given filename.
- """
- import hashlib
+def get_buffer_hash(fd):
BLOCKSIZE = 1 << 16
hasher = hashlib.sha256()
- with open(filename, 'rb') as fd:
+ buf = fd.read(BLOCKSIZE)
+ while buf:
+ hasher.update(buf)
buf = fd.read(BLOCKSIZE)
- while len(buf) > 0:
- hasher.update(buf)
- buf = fd.read(BLOCKSIZE)
+
return hasher.hexdigest()
@@ -745,6 +871,9 @@ class Matplotlib(SetupPackage):
'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/jquery-ui-*/*',
+ 'backends/web_backend/jquery-ui-*/*/*',
+ 'backends/web_backend/jquery-ui-*/*/*/*',
'backends/web_backend/css/*.*',
'backends/Matplotlib.nib/*',
'mpl-data/stylelib/*.mplstyle',
@@ -785,7 +914,7 @@ class Toolkits(OptionalPackage):
class Tests(OptionalPackage):
name = "tests"
- pytest_min_version = '3.1'
+ pytest_min_version = '3.6'
default_config = False
def check(self):
@@ -1043,7 +1172,7 @@ class FreeType(SetupPackage):
try:
check_include_file(get_include_dirs(), 'ft2build.h', 'freetype')
except CheckFailed:
- check_include_file(get_include_dirs(), 'freetype2\\ft2build.h', 'freetype')
+ check_include_file(get_include_dirs(), os.path.join('freetype2', 'ft2build.h'), 'freetype')
return 'Using unknown version found on system.'
status, output = getstatusoutput("freetype-config --ftversion")
@@ -1126,93 +1255,56 @@ class FreeType(SetupPackage):
else:
libfreetype = 'libfreetype.a'
- if os.path.isfile(os.path.join(src_path, 'objs', '.libs', libfreetype)):
+ # bailing because it is already built
+ 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
+ # do we need to download / load the source from cache?
+ if not os.path.exists(src_path):
+ if not os.path.exists('build'):
+ os.makedirs('build')
- 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
+ url_fmts = [
+ ('https://downloads.sourceforge.net/project/freetype'
+ '/freetype2/{version}/{tarball}'),
+ ('https://download.savannah.gnu.org/releases/freetype'
+ '/{tarball}')
+ ]
+ tarball = 'freetype-{0}.tar.gz'.format(LOCAL_FREETYPE_VERSION)
- if get_file_hash(tarball_path) != LOCAL_FREETYPE_HASH:
- raise IOError(
- "{0} does not match expected hash.".format(tarball))
+ target_urls = [
+ url_fmt.format(version=LOCAL_FREETYPE_VERSION,
+ tarball=tarball)
+ for url_fmt in url_fmts]
- print("Building {0}".format(tarball))
+ for tarball_url in target_urls:
+ try:
+ tar_contents = download_or_cache(tarball_url,
+ LOCAL_FREETYPE_HASH)
+ break
+ except Exception:
+ pass
+ else:
+ raise IOError("Failed to download FreeType. Please download "
+ "one of {target_urls} and extract it into "
+ "{src_path} at the top-level of the source "
+ "repository".format(
+ target_urls=target_urls, src_path=src_path))
+
+ print("Extracting {}".format(tarball))
+ # just to be sure
+ tar_contents.seek(0)
+ with tarfile.open(tarball, mode="r:gz",
+ fileobj=tar_contents) as tgz:
+ tgz.extractall("build")
+
+ print("Building freetype in {}".format(src_path))
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(
@@ -1235,11 +1327,10 @@ if errorlevel 1 (
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
+ from setup_external_compile import fixproj, prepare_build_cmd, VS2010, X64
# 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)
@@ -1477,7 +1568,7 @@ class InstallRequires(SetupPackage):
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)
+ print_message(req_fail_msg)
raise CheckFailed("missing or faulty third-party python packages")
return "all third-party python packages are present"
diff --git a/libraries/python2-matplotlib/slack-desc b/libraries/python2-matplotlib/slack-desc
new file mode 100644
index 0000000000..c59df0596a
--- /dev/null
+++ b/libraries/python2-matplotlib/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-matplotlib: python2-matplotlib (a Python 2D plotting library)
+python2-matplotlib:
+python2-matplotlib: Matplotlib is a plotting library for Python which uses
+python2-matplotlib: syntax similar to MATLAB. Matplotlib produces publication
+python2-matplotlib: quality figures in a variety of hardcopy formats and
+python2-matplotlib: interactive environments across platforms.
+python2-matplotlib:
+python2-matplotlib: Homepage: http://matplotlib.sourceforge.net/
+python2-matplotlib:
+python2-matplotlib: Version 2.2.5 is the last available for python2.
+python2-matplotlib:
diff --git a/libraries/python2-reportlab/README b/libraries/python2-reportlab/README
new file mode 100644
index 0000000000..43391124d9
--- /dev/null
+++ b/libraries/python2-reportlab/README
@@ -0,0 +1,23 @@
+The ReportLab Open Source PDF library is a proven industry-strength
+python-based PDF generating solution, suitable for web publishers,
+developers or creative design professionals who need to quickly and
+easily create or automate complex (even data-driven) documents.
+It is released by ReportLab Inc., under BSD license.
+
+It includes binary extensions (previously available separately)
+_rl_accel and renderPM
+
+It has the following features:
+- create professional portable documents
+- real document layout engine (Platypus)
+- flowable objects (paragraphs headlines tables images graphics etc)
+- arbitrary Type-1 fonts
+- bitmap images, vector graphics
+- library of reusable primitive shapes
+- extensible widget library
+- layered architecture
+- includes simple demos and more complex tools
+- allows for any data sources
+- strong community support
+- platform-independent
+- includes PythonPoint - PDF Presentation Tool
diff --git a/libraries/python2-reportlab/python2-reportlab.SlackBuild b/libraries/python2-reportlab/python2-reportlab.SlackBuild
new file mode 100644
index 0000000000..cf15da5439
--- /dev/null
+++ b/libraries/python2-reportlab/python2-reportlab.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for reportlab
+
+# Copyright 2007-2015 LukenShiro, 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.
+
+# Modified by SlackBuilds.org
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python2-reportlab
+SRCNAM=reportlab
+VERSION=${VERSION:-3.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+
+# directory for python packages
+PYTHONDIR=$(python2 -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
+
+DOCFILES="CHANGES.md LICENSE.txt README.txt INSTALL.txt"
+OTHERPYFILES="demos tools tests"
+
+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 {} \;
+
+# Unzip T1 font curves
+cd src/reportlab/fonts/
+unzip $CWD/pfbfer-20070710.zip
+cd -
+
+# Generate pdf documentation
+( cd docs
+ # workaround due to dependency loop if reportlab isn't previously installed
+ PYTHONPATH=$PYTHONPATH:$TMP/$SRCNAM-$VERSION/src/ python2 genAll.py
+)
+
+# Move demos, tests and tools directories into python package's home
+# and remove duplicated file
+mkdir -p $PKG/$PYTHONDIR/$SRCNAM/
+mv $OTHERPYFILES $PKG/$PYTHONDIR/$SRCNAM
+rm -f $PKG/$PYTHONDIR/$SRCNAM/tools/docco/*.pdf
+
+# Fix some fonts search paths
+sed -i \
+ -e "s|usr/share/fonts/truetype|usr/share/fonts/TTF|" \
+ -e "s|usr/local/Acrobat9|opt/Adobe/Reader9|" \
+ -e "s|%(HOME)s/fonts|%(HOME)s/.fonts|" \
+ src/reportlab/rl_config.py || exit 1
+
+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
+
+# Move documentation .pdf files and text files to avoid file duplication in
+# python directory
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/python2-reportlab/python2-reportlab.info b/libraries/python2-reportlab/python2-reportlab.info
new file mode 100644
index 0000000000..620f547102
--- /dev/null
+++ b/libraries/python2-reportlab/python2-reportlab.info
@@ -0,0 +1,12 @@
+PRGNAM="python2-reportlab"
+VERSION="3.2.0"
+HOMEPAGE="https://bitbucket.org/rptlab/reportlab/overview"
+DOWNLOAD="https://pypi.python.org/packages/source/r/reportlab/reportlab-3.2.0.tar.gz \
+ http://www.reportlab.com/ftp/pfbfer-20070710.zip"
+MD5SUM="79d059e797c557aed4b40c68dd6c7eae \
+ 35d20e26490cb2a8646fab6276ac6a4c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="LukenShiro"
+EMAIL="lukenshiro@ngi.it"
diff --git a/libraries/python2-reportlab/slack-desc b/libraries/python2-reportlab/slack-desc
new file mode 100644
index 0000000000..d9bc68fa33
--- /dev/null
+++ b/libraries/python2-reportlab/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-reportlab: python2-reportlab (PDF generation toolkit using python)
+python2-reportlab:
+python2-reportlab: The ReportLab Open Source PDF library is a proven industry-strength
+python2-reportlab: PDF generating solution, suitable for web publishers, developers
+python2-reportlab: or creative design professionals who need to quickly and easily
+python2-reportlab: create or automate complex (even data-driven) documents.
+python2-reportlab: It is released by ReportLab Inc., under BSD license.
+python2-reportlab:
+python2-reportlab:
+python2-reportlab:
+python2-reportlab:
diff --git a/libraries/python2-ruamel.yaml/README b/libraries/python2-ruamel.yaml/README
new file mode 100644
index 0000000000..b6476a7c67
--- /dev/null
+++ b/libraries/python2-ruamel.yaml/README
@@ -0,0 +1,15 @@
+YAML is a human friendly data serialization standard for all programming
+languages. It is commonly used for configuration files, logs, etc.
+
+ruamel.yaml is a YAML 1.2 loader/dumper package for Python. It is a
+derivative of Kirill Simonov's PyYAML 3.11.
+
+ruamel.yaml supports YAML 1.2 and has round-trip loaders and dumpers
+that preserves, among others:
+
+* comments
+* block style and key ordering are kept, so you can diff the
+ round-tripped source
+* flow style sequences ( ‘a: b, c, d’)
+* anchor names that are hand-crafted (i.e. not of the form``idNNN``)
+* merges in dictionaries are preserved
diff --git a/libraries/python2-ruamel.yaml/python2-ruamel.yaml.SlackBuild b/libraries/python2-ruamel.yaml/python2-ruamel.yaml.SlackBuild
new file mode 100644
index 0000000000..5b5a8904f3
--- /dev/null
+++ b/libraries/python2-ruamel.yaml/python2-ruamel.yaml.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for python2-ruamel.yaml
+
+# Copyright 2019-2023, 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=python2-ruamel.yaml
+VERSION=${VERSION:-0.16.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 [ ! -z "${PRINT_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:8}-$VERSION
+tar xvf $CWD/${PRGNAM:8}-$VERSION.tar.gz
+cd ${PRGNAM:8}-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+RUAMEL_NO_PIP_INSTALL_CHECK=1 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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES 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/libraries/python2-ruamel.yaml/python2-ruamel.yaml.info b/libraries/python2-ruamel.yaml/python2-ruamel.yaml.info
new file mode 100644
index 0000000000..9ab8efd42e
--- /dev/null
+++ b/libraries/python2-ruamel.yaml/python2-ruamel.yaml.info
@@ -0,0 +1,10 @@
+PRGNAM="python2-ruamel.yaml"
+VERSION="0.16.13"
+HOMEPAGE="https://sourceforge.net/p/ruamel-yaml"
+DOWNLOAD="https://pypi.org/packages/source/r/ruamel.yaml/ruamel.yaml-0.16.13.tar.gz"
+MD5SUM="fa6c72a79b9f420628d83c2d50f9e4c7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/python2-ruamel.yaml/slack-desc b/libraries/python2-ruamel.yaml/slack-desc
new file mode 100644
index 0000000000..af17f8db6d
--- /dev/null
+++ b/libraries/python2-ruamel.yaml/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-ruamel.yaml: python2-ruamel.yaml (YAML 1.2 parser and emitter for Python)
+python2-ruamel.yaml:
+python2-ruamel.yaml: ruamel.yaml is a YAML 1.2 parser and emitter for Python that support
+python2-ruamel.yaml: comment preservation.
+python2-ruamel.yaml:
+python2-ruamel.yaml:
+python2-ruamel.yaml: Homepage: https://sourceforge.net/p/ruamel-yaml
+python2-ruamel.yaml:
+python2-ruamel.yaml:
+python2-ruamel.yaml:
+python2-ruamel.yaml:
diff --git a/libraries/python3-CherryPy/README b/libraries/python3-CherryPy/README
new file mode 100644
index 0000000000..06ecbda179
--- /dev/null
+++ b/libraries/python3-CherryPy/README
@@ -0,0 +1,4 @@
+python3-CherryPy is a pythonic, object-oriented HTTP framework.
+python3-CherryPy allows developers to build web applications in
+much the same way they would build any other object-oriented Python
+program. This results in smaller source code developed in less time.
diff --git a/libraries/python3-CherryPy/python3-CherryPy.SlackBuild b/libraries/python3-CherryPy/python3-CherryPy.SlackBuild
new file mode 100644
index 0000000000..0e50f9cc44
--- /dev/null
+++ b/libraries/python3-CherryPy/python3-CherryPy.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Slackware build script for python3-CherryPy
+
+# Copyright 2022-23 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-CherryPy
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-18.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
+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 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
+
+# install man page
+mkdir -p $PKG/usr/man/man1
+install -D -m0644 man/cherryd.1 $PKG/usr/man/man1/cherryd.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 README.rst CHANGES.rst LICENSE.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/libraries/python3-CherryPy/python3-CherryPy.info b/libraries/python3-CherryPy/python3-CherryPy.info
new file mode 100644
index 0000000000..f27ae07f2b
--- /dev/null
+++ b/libraries/python3-CherryPy/python3-CherryPy.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-CherryPy"
+VERSION="18.9.0"
+HOMEPAGE="http://www.cherrypy.org/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/c/cherrypy/CherryPy-18.9.0.tar.gz"
+MD5SUM="014dbd400aeda9d2b098ed01c95b4a30"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-cheroot python3-portend python3-jaraco.collections python3-zc.lockfile"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/python3-CherryPy/slack-desc b/libraries/python3-CherryPy/slack-desc
new file mode 100644
index 0000000000..71dbef1d9a
--- /dev/null
+++ b/libraries/python3-CherryPy/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-CherryPy: python3-CherryPy (A pythonic, object-oriented web devel. framework)
+python3-CherryPy:
+python3-CherryPy: A pythonic, object-oriented web development framework. CherryPy
+python3-CherryPy: allows developers to build web applications in much the same way they
+python3-CherryPy: would build any other object-oriented Python program. This results in
+python3-CherryPy: smaller source code developed in less time.
+python3-CherryPy:
+python3-CherryPy: Homepage: http://www.cherrypy.org/
+python3-CherryPy:
+python3-CherryPy:
+python3-CherryPy:
diff --git a/libraries/python3-PyQt5/README b/libraries/python3-PyQt5/README
deleted file mode 100644
index 23ab8cbdae..0000000000
--- a/libraries/python3-PyQt5/README
+++ /dev/null
@@ -1,2 +0,0 @@
-PyQt5 is a set of Python bindings for Trolltech's Qt5 application
-framework and runs on all platforms supported by Qt5.
diff --git a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild b/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
deleted file mode 100644
index 759fbffc7b..0000000000
--- a/libraries/python3-PyQt5/python3-PyQt5.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for "python3-PyQt5".
-
-# Copyright 2008 Aleksandar Samardzic <asamardzic@gmail.com>
-# Copyright 2008, 2009, 2010, 2011, 2015 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2015 Marcel Saegebarth <marc@mos6581.de>
-# 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.
-#
-# 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.
-
-# Modified by Robby Workman <rworkman@slackware.com>
-# Modified by Eric Hameleers <alien@slackware.com>
-# Adapted by Marcel Saegebarth <marc@mos6581.de>
-
-PRGNAM=python3-PyQt5
-SRCNAM=PyQt5
-VERSION=${VERSION:-5.9.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
-
-PYTHONVER=$(python3 -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf ${SRCNAM}_gpl-$VERSION
-tar xvf $CWD/${SRCNAM}_gpl-$VERSION.tar.gz
-cd ${SRCNAM}_gpl-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# This is needed or an include from dbus is missed (thanks, Archlinux)
-sed -i '/target_config.dbus_inc_dirs = \[\]/d' configure.py
-
-export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
-export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-
-python3 configure.py \
- --confirm-license \
- --verbose \
- -q /usr/bin/qmake-qt5 \
- --sip=/usr/bin/python3-sip \
- --sip-incdir=/usr/include/python$PYTHONVER
-
-make
-make install DESTDIR=$PKG 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 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}
diff --git a/libraries/python3-PyQt5/python3-PyQt5.info b/libraries/python3-PyQt5/python3-PyQt5.info
deleted file mode 100644
index 78476ae3ba..0000000000
--- a/libraries/python3-PyQt5/python3-PyQt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="python3-PyQt5"
-VERSION="5.9.2"
-HOMEPAGE="https://riverbankcomputing.com/software/pyqt/intro/"
-DOWNLOAD="https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.tar.gz"
-MD5SUM="33d6d2ab8183da17ac18b8132a4b278e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3-sip qt5-webkit"
-MAINTAINER="Marcel Saegebarth"
-EMAIL="marc@mos6581.de"
diff --git a/libraries/python3-PyQt5/slack-desc b/libraries/python3-PyQt5/slack-desc
deleted file mode 100644
index 0c57255d02..0000000000
--- a/libraries/python3-PyQt5/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------------------------------------------------------|
-python3-PyQt5: python3-PyQt5 (Python bindings for Qt)
-python3-PyQt5:
-python3-PyQt5: PyQt5 is a set of Python bindings for Trolltech's Qt5 application
-python3-PyQt5: framework and runs on all platforms supported by Qt5.
-python3-PyQt5:
-python3-PyQt5: Homepage: https://riverbankcomputing.com/software/pyqt/intro/
-python3-PyQt5:
-python3-PyQt5:
-python3-PyQt5:
-python3-PyQt5:
-python3-PyQt5:
diff --git a/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
index aba9d8897f..dd2896ec54 100644
--- a/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
+++ b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python3-PyQtWebEngine
#
@@ -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=python3-PyQtWebEngine
SRCNAM=${PRGNAM#*-}
-VERSION=${VERSION:-5.13.2}
+VERSION=${VERSION:-5.15.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}
@@ -70,22 +80,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 {} \;
-PYTHONVER=$(python3 -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
-
export QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5
export QT5DIR=/usr/lib${LIBDIRSUFFIX}/qt5
-
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
-python3 configure.py \
- --verbose \
- -q /usr/bin/qmake-qt5 \
- --sip=/usr/bin/python3-sip \
- --sip-incdir=/usr/include/python$PYTHONVER
-
+sip-build \
+ --no-make \
+ --api-dir /usr/share/qt5/qsci/api/python
+cd build
make
-make -j1 install DESTDIR=$PKG INSTALL_ROOT=$PKG
+make INSTALL_ROOT="$PKG" 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
@@ -100,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/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.info b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.info
index d2c2eb3694..99722b4769 100644
--- a/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.info
+++ b/libraries/python3-PyQtWebEngine/python3-PyQtWebEngine.info
@@ -1,10 +1,10 @@
PRGNAM="python3-PyQtWebEngine"
-VERSION="5.13.2"
+VERSION="5.15.3"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/intro"
-DOWNLOAD="https://www.riverbankcomputing.com/static/Downloads/PyQtWebEngine/5.13.2/PyQtWebEngine-5.13.2.tar.gz"
-MD5SUM="0a5f156959066cf86de31ddfe973f134"
+DOWNLOAD="https://pypi.python.org/packages/source/P/PyQtWebEngine/PyQtWebEngine-5.15.3.tar.gz"
+MD5SUM="e346b3ed6c2c9f8d8f8323fcf777f7ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-PyQt5"
-MAINTAINER="Dave Woodfall"
+REQUIRES=""
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/libraries/python3-PyYAML/README b/libraries/python3-PyYAML/README
deleted file mode 100644
index ea05ab9eee..0000000000
--- a/libraries/python3-PyYAML/README
+++ /dev/null
@@ -1,8 +0,0 @@
-pyyaml (YAML parser and emitter for Python)
-
-YAML is a data serialization format designed for human readability
-and interaction with scripting languages. PyYAML is a YAML parser and
-emitter for Python.
-
-This builds the python3 version of PyYAML. It is safe to install this
-on a system that has the SBo's PyYAML (python2) package installed.
diff --git a/libraries/python3-PyYAML/python3-PyYAML.SlackBuild b/libraries/python3-PyYAML/python3-PyYAML.SlackBuild
deleted file mode 100644
index 3c64388410..0000000000
--- a/libraries/python3-PyYAML/python3-PyYAML.SlackBuild
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for python-PyYAML
-# Copyright 2010 David Woodfall <dave@slackbuilds.org>
-# Copyright 2015-2019 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.
-
-# Adapted for python3-PyYAML by Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
-
-PRGNAM=python3-PyYAML
-SRCNAM=PyYAML
-VERSION=${VERSION:-3.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 $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 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:-tgz}
diff --git a/libraries/python3-PyYAML/python3-PyYAML.info b/libraries/python3-PyYAML/python3-PyYAML.info
deleted file mode 100644
index e270a28575..0000000000
--- a/libraries/python3-PyYAML/python3-PyYAML.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="python3-PyYAML"
-VERSION="3.13"
-HOMEPAGE="https://pyyaml.org/"
-DOWNLOAD="https://pyyaml.org/download/pyyaml/PyYAML-3.13.tar.gz"
-MD5SUM="b78b96636d68ac581c0e2f38158c224f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBo -at- gmail.com"
diff --git a/libraries/python3-PyYAML/slack-desc b/libraries/python3-PyYAML/slack-desc
deleted file mode 100644
index 11bd17600c..0000000000
--- a/libraries/python3-PyYAML/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------------------------------------------------------|
-python3-PyYAML: python3-PyYAML (YAML parser and emitter for Python)
-python3-PyYAML:
-python3-PyYAML: YAML is a data serialization format designed for human readability
-python3-PyYAML: and interaction with scripting languages. PyYAML is a YAML parser
-python3-PyYAML: and emitter for Python.
-python3-PyYAML:
-python3-PyYAML: Homepage: https://pyyaml.org/
-python3-PyYAML:
-python3-PyYAML: This builds the python3 version of PyYAML. It is safe to install this
-python3-PyYAML: on a system that has the SBo's PyYAML (python2) package installed.
-python3-PyYAML:
diff --git a/libraries/python3-dvdvideo/python3-dvdvideo.SlackBuild b/libraries/python3-dvdvideo/python3-dvdvideo.SlackBuild
index cb4c8b9b8d..7b2e565080 100644
--- a/libraries/python3-dvdvideo/python3-dvdvideo.SlackBuild
+++ b/libraries/python3-dvdvideo/python3-dvdvideo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python3-dvdvideo
@@ -32,10 +32,13 @@
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=python3-dvdvideo
VERSION=${VERSION:-0.20140413}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +48,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/libraries/python3-dvdvideo/python3-dvdvideo.info b/libraries/python3-dvdvideo/python3-dvdvideo.info
index 715dddaf6c..3fbd96f4b7 100644
--- a/libraries/python3-dvdvideo/python3-dvdvideo.info
+++ b/libraries/python3-dvdvideo/python3-dvdvideo.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/jgirot/python-dvdvideo/archive/0.20140413/python-dv
MD5SUM="473e7d1aaeeb55621d35dda2ebd81476"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Ryan Losh"
EMAIL="od2010@sbcglobal.net"
diff --git a/libraries/python3-gbinder/README b/libraries/python3-gbinder/README
new file mode 100644
index 0000000000..5eef02c36b
--- /dev/null
+++ b/libraries/python3-gbinder/README
@@ -0,0 +1 @@
+Cython extension module for gbinder
diff --git a/libraries/python3-gbinder/python3-gbinder.SlackBuild b/libraries/python3-gbinder/python3-gbinder.SlackBuild
new file mode 100644
index 0000000000..4f328bcd1e
--- /dev/null
+++ b/libraries/python3-gbinder/python3-gbinder.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for python3-gbinder
+
+# Copyright 2023 juanma1980 <juanma1980@disroot.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=python3-gbinder
+SRCNAM=gbinder-python
+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 [ ! -z "${PRINT_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 zxvf $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 sdist --cython
+PY3_SITEPACKAGES=$(python3 -c "import site; print(site.getsitepackages()[0])")
+PIP_TARGET=${PKG}/${PY3_SITEPACKAGES} pip3 install dist/gbinder-python-*.tar.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
+
+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
+
+rm -rf usr/share/doc
+rm -rf usr/share/man
+
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/python3-gbinder/python3-gbinder.info b/libraries/python3-gbinder/python3-gbinder.info
new file mode 100644
index 0000000000..b6546c0ea4
--- /dev/null
+++ b/libraries/python3-gbinder/python3-gbinder.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-gbinder"
+VERSION="1.1.1"
+HOMEPAGE="https://github.com/waydroid/gbinder-python/"
+DOWNLOAD="https://github.com/waydroid/gbinder-python/archive/1.1.1/gbinder-python-1.1.1.tar.gz"
+MD5SUM="47e15c2768963a5184a489ae2d073116"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libgbinder"
+MAINTAINER="juanma1980"
+EMAIL="juanma1980@disroot.org"
diff --git a/libraries/python3-gbinder/slack-desc b/libraries/python3-gbinder/slack-desc
new file mode 100644
index 0000000000..cd9a094bf8
--- /dev/null
+++ b/libraries/python3-gbinder/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-gbinder: python3-gbinder (short desc)
+python3-gbinder:
+python3-gbinder: Cython extension module for gbinder
+python3-gbinder:
+python3-gbinder:
+python3-gbinder:
+python3-gbinder:
+python3-gbinder:
+python3-gbinder:
+python3-gbinder:
+python3-gbinder: https://github.com/waydroid/gbinder-python
diff --git a/libraries/python3-imapclient/README b/libraries/python3-imapclient/README
new file mode 100644
index 0000000000..3a4f8d4bb8
--- /dev/null
+++ b/libraries/python3-imapclient/README
@@ -0,0 +1,18 @@
+IMAPClient is an easy-to-use, Pythonic and complete IMAP client
+library.
+
+Features:
+
+- Arguments and return values are natural Python types.
+- IMAP server responses are fully parsed and readily usable.
+- IMAP unique message IDs (UIDs) are handled transparently. There is
+ no need to call different methods to use UIDs.
+- Escaping for internationalised mailbox names is transparently
+ handled. Unicode mailbox names may be passed as input wherever a
+ folder name is accepted.
+- Time zones are transparently handled including when the server and
+ client are in different zones.
+- Convenience methods are provided for commonly used functionality.
+- Exceptions are raised when errors occur.
+
+This build only supports python3.
diff --git a/libraries/python3-imapclient/python3-imapclient.SlackBuild b/libraries/python3-imapclient/python3-imapclient.SlackBuild
new file mode 100644
index 0000000000..dc5d5c56a4
--- /dev/null
+++ b/libraries/python3-imapclient/python3-imapclient.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+# Slackware build script for python3-imapclient
+
+# 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-imapclient
+TGZNAM=IMAPClient
+VERSION=${VERSION:-2.3.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+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
+
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $TGZNAM-$VERSION
+unzip $CWD/$TGZNAM-$VERSION.zip
+cd $TGZNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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.rst NEWS.rst README.rst 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/libraries/python3-imapclient/python3-imapclient.info b/libraries/python3-imapclient/python3-imapclient.info
new file mode 100644
index 0000000000..1a75536617
--- /dev/null
+++ b/libraries/python3-imapclient/python3-imapclient.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-imapclient"
+VERSION="2.3.1"
+HOMEPAGE="https://imapclient.freshfoo.com/"
+DOWNLOAD="https://files.pythonhosted.org/packages/19/d8/a4a0337d5e39a0569d89793d5053d7535eefd9b8756df4e10dc114caf3c2/IMAPClient-2.3.1.zip"
+MD5SUM="785bc3d7560d14b0d6c2a4dfa257e11b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.python3-imapclient_2023-05-24@lockywolf.net"
diff --git a/libraries/python3-imapclient/slack-desc b/libraries/python3-imapclient/slack-desc
new file mode 100644
index 0000000000..652dac16e8
--- /dev/null
+++ b/libraries/python3-imapclient/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-imapclient: python3-imapclient (Pythonic and complete IMAP client library)
+python3-imapclient:
+python3-imapclient: python3-imapclient is an easy, Pythonic and complete IMAP client
+python3-imapclient: library.
+python3-imapclient:
+python3-imapclient: Homepage: https://imapclient.freshfoo.com/
+python3-imapclient:
+python3-imapclient: This package is for the python3 version.
+python3-imapclient:
+python3-imapclient:
+python3-imapclient:
diff --git a/libraries/python3-pillow/README b/libraries/python3-pillow/README
deleted file mode 100644
index 8bd903c6d8..0000000000
--- a/libraries/python3-pillow/README
+++ /dev/null
@@ -1,8 +0,0 @@
-The Python Imaging Library (PIL) adds image processing capabilities to
-your Python environment. This library provides extensive file format
-support, an efficient internal representation and powerful image
-processing capabilities.
-
-NOTE - This SlackBuild provides PIL libraries with support for Python3. It
-is intended to be a complement to Slackware's default python-pillow, not to
-replace it, hence it doesn't include the scripts that would go to /usr/bin.
diff --git a/libraries/python3-pillow/python3-pillow.SlackBuild b/libraries/python3-pillow/python3-pillow.SlackBuild
deleted file mode 100644
index fca5f71d14..0000000000
--- a/libraries/python3-pillow/python3-pillow.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for python3-pillow
-
-# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
-#
-# Based on build script for python-pillow by following authors:
-# Copyright 2009, 2010, 2013, 2014 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2014 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2015 Brenton Earl <brent at exitstatusone 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.
-
-PRGNAM=python3-pillow
-SRCNAM=Pillow
-VERSION=${VERSION:-3.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 $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 {} \;
-
-# Do not install scripts that would go to /usr/bin, as they
-# are already part of python-pillow.
-sed -i -e "s~.*scripts=glob.glob(\"Scripts/\*.py\"),~~" setup.py
-
-python3 setup.py install --root=$PKG
-
-# Safety check to prevent changes in the install process of a
-# different version of Pillow that might allow files in /usr/bin.
-if [ -e $PKG/usr/bin ]; then
- echo -e "\n* Warning - This package is not allowed to put files in /usr/bin,"
- echo "* as they conflict with Slackware's default python-pillow. Exiting."
- exit 1
-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
-
-PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-
-# Install documentation.
-mkdir -p $PRGDOC
-cat $CWD/README > $PRGDOC/README
-cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-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/libraries/python3-pillow/python3-pillow.info b/libraries/python3-pillow/python3-pillow.info
deleted file mode 100644
index 77117beb48..0000000000
--- a/libraries/python3-pillow/python3-pillow.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="python3-pillow"
-VERSION="3.0.0"
-HOMEPAGE="http://python-pillow.github.io/"
-DOWNLOAD="https://pypi.python.org/packages/source/P/Pillow/Pillow-3.0.0.tar.gz"
-MD5SUM="fc8ac44e93da09678eac7e30c9b7377d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="python3 %README%"
-MAINTAINER="Philip Lacroix"
-EMAIL="slackph at posteo dot de"
diff --git a/libraries/python3-pillow/slack-desc b/libraries/python3-pillow/slack-desc
deleted file mode 100644
index 446cde956c..0000000000
--- a/libraries/python3-pillow/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------------------------------------------------------|
-python3-pillow: python3-pillow (Python3 support for python-pillow)
-python3-pillow:
-python3-pillow: The Python Imaging Library (PIL) adds image processing capabilities
-python3-pillow: to your Python environment. This library provides extensive file
-python3-pillow: format support, an efficient internal representation and powerful
-python3-pillow: image processing capabilities.
-python3-pillow:
-python3-pillow: This package provides the PIL libraries with support for Python3. It
-python3-pillow: is intended to be a complement to python-pillow, not to replace it.
-python3-pillow:
-python3-pillow: Homepage: https://python3-pillow.github.io/
diff --git a/libraries/plumbum/README b/libraries/python3-plumbum/README
index 8f3c6ba751..8f3c6ba751 100644
--- a/libraries/plumbum/README
+++ b/libraries/python3-plumbum/README
diff --git a/libraries/python3-plumbum/python3-plumbum.SlackBuild b/libraries/python3-plumbum/python3-plumbum.SlackBuild
new file mode 100644
index 0000000000..c0b05b63d8
--- /dev/null
+++ b/libraries/python3-plumbum/python3-plumbum.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for python3-plumbum
+
+# Copyright 2022-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.
+
+# 20230104 46and2: Updated version, build system changed.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-plumbum
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-1.8.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 $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 LICENSE README.rst 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/libraries/python3-plumbum/python3-plumbum.info b/libraries/python3-plumbum/python3-plumbum.info
new file mode 100644
index 0000000000..71c973a35d
--- /dev/null
+++ b/libraries/python3-plumbum/python3-plumbum.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-plumbum"
+VERSION="1.8.2"
+HOMEPAGE="http://plumbum.readthedocs.org"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/plumbum/plumbum-1.8.2.tar.gz"
+MD5SUM="9484ac142c2a637e5d397040a22a6907"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-hatch_vcs"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/python3-plumbum/slack-desc b/libraries/python3-plumbum/slack-desc
new file mode 100644
index 0000000000..f14afacbac
--- /dev/null
+++ b/libraries/python3-plumbum/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-plumbum: python3-plumbum (shell combinators library)
+python3-plumbum:
+python3-plumbum: Ever wished the compactness of shell scripts be put into a real
+python3-plumbum: language? Say hello to Plumbum Shell Combinators.
+python3-plumbum:
+python3-plumbum: Homepage: http://plumbum.readthedocs.org
+python3-plumbum:
+python3-plumbum:
+python3-plumbum:
+python3-plumbum:
+python3-plumbum:
diff --git a/libraries/python3-pymdstat/README b/libraries/python3-pymdstat/README
new file mode 100644
index 0000000000..a24236be7d
--- /dev/null
+++ b/libraries/python3-pymdstat/README
@@ -0,0 +1,2 @@
+PyMDstat is a pythonic library to parse /proc/mdstat, which shows a
+snapshot of the kernel's RAID/md state.
diff --git a/libraries/python3-pymdstat/python3-pymdstat.SlackBuild b/libraries/python3-pymdstat/python3-pymdstat.SlackBuild
new file mode 100644
index 0000000000..ab2751a5c4
--- /dev/null
+++ b/libraries/python3-pymdstat/python3-pymdstat.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for python3-pymdstat
+
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-pymdstat
+SRCNAM=${PRGNAM#python3-*}
+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 $SRCNAM-$VERSION
+tar xvzf $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
+
+#cleanup usr/share
+rm -rf $PKG/usr/share
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS 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
diff --git a/libraries/python3-pymdstat/python3-pymdstat.info b/libraries/python3-pymdstat/python3-pymdstat.info
new file mode 100644
index 0000000000..9c0f2a4386
--- /dev/null
+++ b/libraries/python3-pymdstat/python3-pymdstat.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-pymdstat"
+VERSION="0.4.3"
+HOMEPAGE="https://github.com/nicolargo/pymdstat"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pymdstat/pymdstat-0.4.3.tar.gz"
+MD5SUM="b12257e84b1b37dde30429aeb20e4221"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/python3-pymdstat/slack-desc b/libraries/python3-pymdstat/slack-desc
new file mode 100644
index 0000000000..eb64d28bc0
--- /dev/null
+++ b/libraries/python3-pymdstat/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-pymdstat: python3-pymdstat (library to parse /proc/mdstat)
+python3-pymdstat:
+python3-pymdstat: PyMDstat is a pythonic library to parse /proc/mdstat, which shows a
+python3-pymdstat: snapshot of the kernel's RAID/md state.
+python3-pymdstat:
+python3-pymdstat: Homepage: https://github.com/nicolargo/pymdstat
+python3-pymdstat:
+python3-pymdstat:
+python3-pymdstat:
+python3-pymdstat:
+python3-pymdstat:
diff --git a/libraries/python3-rpyc/README b/libraries/python3-rpyc/README
new file mode 100644
index 0000000000..6937591b75
--- /dev/null
+++ b/libraries/python3-rpyc/README
@@ -0,0 +1,3 @@
+RPyC (pronounced as are-pie-see), or Remote Python Call, is a
+transparent python library for symmetrical remote procedure calls,
+clustering and distributed-computing.
diff --git a/libraries/python3-rpyc/python3-rpyc.SlackBuild b/libraries/python3-rpyc/python3-rpyc.SlackBuild
new file mode 100644
index 0000000000..b10b856c57
--- /dev/null
+++ b/libraries/python3-rpyc/python3-rpyc.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# Slackware build script for python3-rpyc
+
+# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# 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.
+
+# 20220919 46and2: Updated version, added DEPS.
+# -build process changed
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-rpyc
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-6.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
+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 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/libraries/python3-rpyc/python3-rpyc.info b/libraries/python3-rpyc/python3-rpyc.info
new file mode 100644
index 0000000000..333d3a01d3
--- /dev/null
+++ b/libraries/python3-rpyc/python3-rpyc.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-rpyc"
+VERSION="6.0.0"
+HOMEPAGE="http://rpyc.readthedocs.org/en/latest/"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/r/rpyc/rpyc-6.0.0.tar.gz"
+MD5SUM="a18c605c4b739828af9645c80e37eec6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-plumbum"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/python3-rpyc/slack-desc b/libraries/python3-rpyc/slack-desc
new file mode 100644
index 0000000000..706810a642
--- /dev/null
+++ b/libraries/python3-rpyc/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-rpyc: python3-rpyc (Transparent and symmetric RPC library)
+python3-rpyc:
+python3-rpyc: RPyC (pronounced like are-pie-see), or Remote
+python3-rpyc: Python Call, is a transparent library for symmetrical
+python3-rpyc: remote procedure calls, clustering, and distributed-computing.
+python3-rpyc:
+python3-rpyc: Homepage: http://rpyc.readthedocs.org/en/latest/
+python3-rpyc:
+python3-rpyc:
+python3-rpyc:
+python3-rpyc:
diff --git a/libraries/python3-ruamel.yaml.clib/README b/libraries/python3-ruamel.yaml.clib/README
new file mode 100644
index 0000000000..98e8edcc46
--- /dev/null
+++ b/libraries/python3-ruamel.yaml.clib/README
@@ -0,0 +1,2 @@
+C version of reader, parser and emitter for ruamel.yaml derived
+from libyaml.
diff --git a/libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.SlackBuild b/libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.SlackBuild
new file mode 100644
index 0000000000..ea03cf6e35
--- /dev/null
+++ b/libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for python3-ruamel.yaml.clib
+
+# Copyright 2023 Dimitris Zlatanidis Greece, Orestiada
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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-ruamel.yaml.clib
+SRCNAM=ruamel.yaml.clib
+VERSION=${VERSION:-0.2.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"
+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 {} \;
+
+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 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/libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.info b/libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.info
new file mode 100644
index 0000000000..f974113afb
--- /dev/null
+++ b/libraries/python3-ruamel.yaml.clib/python3-ruamel.yaml.clib.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-ruamel.yaml.clib"
+VERSION="0.2.7"
+HOMEPAGE="https://sourceforge.net/projects/ruamel-yaml-clib/"
+DOWNLOAD="https://files.pythonhosted.org/packages/d5/31/a3e6411947eb7a4f1c669f887e9e47d61a68f9d117f10c3c620296694a0b/ruamel.yaml.clib-0.2.7.tar.gz"
+MD5SUM="4b7bc49c0022baf161203dc1ea4806f9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-build python3-wheel"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/python3-ruamel.yaml.clib/slack-desc b/libraries/python3-ruamel.yaml.clib/slack-desc
new file mode 100644
index 0000000000..7770d6a30a
--- /dev/null
+++ b/libraries/python3-ruamel.yaml.clib/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-ruamel.yaml.clib: python3-ruamel.yaml.clib (is the C based reader/scanner and emitter)
+python3-ruamel.yaml.clib:
+python3-ruamel.yaml.clib: C version of reader, parser and emitter for ruamel.yaml derived
+python3-ruamel.yaml.clib: from libyaml.
+python3-ruamel.yaml.clib:
+python3-ruamel.yaml.clib: Homepage: https://sourceforge.net/projects/ruamel-yaml-clib/
+python3-ruamel.yaml.clib:
+python3-ruamel.yaml.clib:
+python3-ruamel.yaml.clib:
+python3-ruamel.yaml.clib:
+python3-ruamel.yaml.clib:
diff --git a/libraries/python3-ruamel.yaml/README b/libraries/python3-ruamel.yaml/README
new file mode 100644
index 0000000000..b6476a7c67
--- /dev/null
+++ b/libraries/python3-ruamel.yaml/README
@@ -0,0 +1,15 @@
+YAML is a human friendly data serialization standard for all programming
+languages. It is commonly used for configuration files, logs, etc.
+
+ruamel.yaml is a YAML 1.2 loader/dumper package for Python. It is a
+derivative of Kirill Simonov's PyYAML 3.11.
+
+ruamel.yaml supports YAML 1.2 and has round-trip loaders and dumpers
+that preserves, among others:
+
+* comments
+* block style and key ordering are kept, so you can diff the
+ round-tripped source
+* flow style sequences ( ‘a: b, c, d’)
+* anchor names that are hand-crafted (i.e. not of the form``idNNN``)
+* merges in dictionaries are preserved
diff --git a/libraries/python3-ruamel.yaml/python3-ruamel.yaml.SlackBuild b/libraries/python3-ruamel.yaml/python3-ruamel.yaml.SlackBuild
new file mode 100644
index 0000000000..a04d98a79c
--- /dev/null
+++ b/libraries/python3-ruamel.yaml/python3-ruamel.yaml.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/bash
+
+# Slackware build script for python3-ruamel.yaml
+
+# Copyright 2019-2023, 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=python3-ruamel.yaml
+VERSION=${VERSION:-0.17.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}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf ${PRGNAM:8}-$VERSION
+tar xvf $CWD/${PRGNAM:8}-$VERSION.tar.gz
+cd ${PRGNAM:8}-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+RUAMEL_NO_PIP_INSTALL_CHECK=1 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 README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/python3-ruamel.yaml/python3-ruamel.yaml.info b/libraries/python3-ruamel.yaml/python3-ruamel.yaml.info
new file mode 100644
index 0000000000..48738ab44a
--- /dev/null
+++ b/libraries/python3-ruamel.yaml/python3-ruamel.yaml.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-ruamel.yaml"
+VERSION="0.17.40"
+HOMEPAGE="https://sourceforge.net/p/ruamel-yaml"
+DOWNLOAD="https://pypi.org/packages/source/r/ruamel.yaml/ruamel.yaml-0.17.40.tar.gz"
+MD5SUM="3c986d6f8fd1e8340e953ac1b09a244b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/python3-ruamel.yaml/slack-desc b/libraries/python3-ruamel.yaml/slack-desc
new file mode 100644
index 0000000000..f724b3a8f2
--- /dev/null
+++ b/libraries/python3-ruamel.yaml/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-ruamel.yaml: python3-ruamel.yaml (YAML 1.2 parser and emitter for Python)
+python3-ruamel.yaml:
+python3-ruamel.yaml: ruamel.yaml is a YAML 1.2 parser and emitter for Python that support
+python3-ruamel.yaml: comment preservation.
+python3-ruamel.yaml:
+python3-ruamel.yaml:
+python3-ruamel.yaml: Homepage: https://sourceforge.net/p/ruamel-yaml
+python3-ruamel.yaml:
+python3-ruamel.yaml:
+python3-ruamel.yaml:
+python3-ruamel.yaml:
diff --git a/libraries/python3-zc.lockfile/README b/libraries/python3-zc.lockfile/README
new file mode 100644
index 0000000000..5b6148a537
--- /dev/null
+++ b/libraries/python3-zc.lockfile/README
@@ -0,0 +1,2 @@
+The python3-zc.lockfile package provides a basic portable
+implementation of interprocess locks using lock files.
diff --git a/libraries/python3-zc.lockfile/python3-zc.lockfile.SlackBuild b/libraries/python3-zc.lockfile/python3-zc.lockfile.SlackBuild
new file mode 100644
index 0000000000..d405851aa8
--- /dev/null
+++ b/libraries/python3-zc.lockfile/python3-zc.lockfile.SlackBuild
@@ -0,0 +1,90 @@
+#!/bin/bash
+
+# Slackware build script for python3-zc.lockfile
+
+# Copyright 2022-23 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-zc.lockfile
+SRCNAM=${PRGNAM#python3-*}
+VERSION=${VERSION:-3.0.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 $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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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
diff --git a/libraries/python3-zc.lockfile/python3-zc.lockfile.info b/libraries/python3-zc.lockfile/python3-zc.lockfile.info
new file mode 100644
index 0000000000..256a417d96
--- /dev/null
+++ b/libraries/python3-zc.lockfile/python3-zc.lockfile.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-zc.lockfile"
+VERSION="3.0.post1"
+HOMEPAGE="https://pypi.python.org/pypi/zc.lockfile"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/z/zc.lockfile/zc.lockfile-3.0.post1.tar.gz"
+MD5SUM="5e902492de505a0f98e49b1e31cf2bc2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"
diff --git a/libraries/python3-zc.lockfile/slack-desc b/libraries/python3-zc.lockfile/slack-desc
new file mode 100644
index 0000000000..4eedc6721c
--- /dev/null
+++ b/libraries/python3-zc.lockfile/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-zc.lockfile: python3-zc.lockfile (Basic inter-process locks)
+python3-zc.lockfile:
+python3-zc.lockfile: The zc.lockfile package provides a basic portable implementation of
+python3-zc.lockfile: interprocess locks using lock files.
+python3-zc.lockfile:
+python3-zc.lockfile:
+python3-zc.lockfile: Homepage: https://github.com/zopefoundation/zc.lockfile
+python3-zc.lockfile:
+python3-zc.lockfile:
+python3-zc.lockfile:
+python3-zc.lockfile:
diff --git a/libraries/qca-qt5/Add_support_for_OpenSSL_1.1.0.diff.gz b/libraries/qca-qt5/Add_support_for_OpenSSL_1.1.0.diff.gz
deleted file mode 100644
index 040439a44a..0000000000
--- a/libraries/qca-qt5/Add_support_for_OpenSSL_1.1.0.diff.gz
+++ /dev/null
Binary files differ
diff --git a/libraries/qca-qt5/README b/libraries/qca-qt5/README
deleted file mode 100644
index 83d6c42327..0000000000
--- a/libraries/qca-qt5/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Qt Cryptographic Architecture for Qt5
-
-QCA aims to provide a straightforward and cross-platform crypto API,
-using Qt datatypes and conventions. QCA separates the API from the
-implementation, using plugins known as Providers. The advantage of
-this model is to allow applications to avoid linking to or explicitly
-depending on any particular cryptographic library. This allows one
-to easily change or upgrade crypto implementations without needing
-to recompile the application.
-
-QCA was written by Justin Karneges.
diff --git a/libraries/qca-qt5/qca-qt5.SlackBuild b/libraries/qca-qt5/qca-qt5.SlackBuild
deleted file mode 100644
index 0cdf4e8823..0000000000
--- a/libraries/qca-qt5/qca-qt5.SlackBuild
+++ /dev/null
@@ -1,118 +0,0 @@
-#!/bin/sh
-
-# Copyright 2006, 2008, 2009, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA
-# Modifications for qt5/sbo 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.
-
-# Modified by Robby Workman <rworkman@slackware.com> for qca-2.0.0
-# No additional license terms and no copyright claim
-
-PRGNAM=qca-qt5
-SRCNAM=qca
-VERSION=${VERSION:-2.1.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" = "s390" ]; then
- SLKCFLAGS="-O2"
- 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
-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 {} \;
-
-# Support OpenSSL-1.1.x:
-zcat $CWD/Add_support_for_OpenSSL_1.1.0.diff.gz | patch -p1 --verbose
-
-mkdir build
-cd build
-
-cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DQCA_MAN_INSTALL_DIR=/usr/man \
- -DQCA_FEATURE_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/qt5/mkspecs/features/ \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SHARED_LINKER_FLAGS="-lstdc++" \
- -DLIB_SUFFIX="${LIBDIRSUFFIX}" \
- -DQT4_BUILD:BOOL=OFF \
- -DQT5_BUILD:BOOL=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
-
-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 INSTALL 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/libraries/qca-qt5/qca-qt5.info b/libraries/qca-qt5/qca-qt5.info
deleted file mode 100644
index 142fb9729b..0000000000
--- a/libraries/qca-qt5/qca-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qca-qt5"
-VERSION="2.1.3"
-HOMEPAGE="https://userbase.kde.org/QCA"
-DOWNLOAD="http://download.kde.org/stable/qca/2.1.3/src/qca-2.1.3.tar.xz"
-MD5SUM="5019cc29efcf828681cd93164238ce26"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/qca-qt5/qca.tlsunittest.cpp.diff.gz b/libraries/qca-qt5/qca.tlsunittest.cpp.diff.gz
deleted file mode 100644
index a555ac0335..0000000000
--- a/libraries/qca-qt5/qca.tlsunittest.cpp.diff.gz
+++ /dev/null
Binary files differ
diff --git a/libraries/qca-qt5/slack-desc b/libraries/qca-qt5/slack-desc
deleted file mode 100644
index da44da289e..0000000000
--- a/libraries/qca-qt5/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------------------------------------------------------|
-qca-qt5: qca-qt5 (Qt Cryptographic Architecture for Qt5)
-qca-qt5:
-qca-qt5: QCA aims to provide a straightforward and cross-platform crypto API,
-qca-qt5: using Qt datatypes and conventions. QCA separates the API from the
-qca-qt5: implementation, using plugins known as Providers. The advantage of
-qca-qt5: this model is to allow applications to avoid linking to or explicitly
-qca-qt5: depending on any particular cryptographic library. This allows one
-qca-qt5: to easily change or upgrade crypto implementations without needing
-qca-qt5: to recompile the application.
-qca-qt5:
-qca-qt5: QCA was written by Justin Karneges.
diff --git a/libraries/qgnomeplatform/qgnomeplatform.SlackBuild b/libraries/qgnomeplatform/qgnomeplatform.SlackBuild
index 7c6fda909f..14cbbe6f6f 100644
--- a/libraries/qgnomeplatform/qgnomeplatform.SlackBuild
+++ b/libraries/qgnomeplatform/qgnomeplatform.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qgnomeplatform
@@ -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=qgnomeplatform
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=QGnomePlatform
@@ -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}
@@ -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/libraries/qgnomeplatform/qgnomeplatform.info b/libraries/qgnomeplatform/qgnomeplatform.info
index f4da3bfa22..2c6960381c 100644
--- a/libraries/qgnomeplatform/qgnomeplatform.info
+++ b/libraries/qgnomeplatform/qgnomeplatform.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/FedoraQt/QGnomePlatform/archive/0.5/QGnomePlatform-
MD5SUM="3947c40f8a6f1eda1e293d6704e5916e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Leo C."
EMAIL="leoc@gmx.com"
diff --git a/libraries/qml-material/README b/libraries/qml-material/README
index 337db12c4d..92b0b2e98f 100644
--- a/libraries/qml-material/README
+++ b/libraries/qml-material/README
@@ -2,4 +2,4 @@ This is a library of QML widgets implementing Google's Material
Design. It is completely cross platform, and runs on Linux, OS X,
and Windows. It may also run on iOS and Android, though those
platforms have not been tested and are not currently officially
-supported. \ No newline at end of file
+supported.
diff --git a/libraries/qml-material/qml-material.SlackBuild b/libraries/qml-material/qml-material.SlackBuild
index 11bc35b759..63fafc50e8 100644
--- a/libraries/qml-material/qml-material.SlackBuild
+++ b/libraries/qml-material/qml-material.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qml-material
@@ -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=qml-material
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}
@@ -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/libraries/qml-material/qml-material.info b/libraries/qml-material/qml-material.info
index 89124a9227..84ccdfe13c 100644
--- a/libraries/qml-material/qml-material.info
+++ b/libraries/qml-material/qml-material.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/papyros/qml-material/archive/v0.2.0/qml-material-0.
MD5SUM="b02f4662837aa0d4417bf1b56b483c91"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/qmltermwidget/qmltermwidget.SlackBuild b/libraries/qmltermwidget/qmltermwidget.SlackBuild
index 53b47fc296..9632b1803a 100644
--- a/libraries/qmltermwidget/qmltermwidget.SlackBuild
+++ b/libraries/qmltermwidget/qmltermwidget.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qmltermwidget
-# Copyright 2015-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2015-2022 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=qmltermwidget
-VERSION=${VERSION:-0.2.0}
+VERSION=${VERSION:-20220109_6322802}
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,7 +83,7 @@ find -L . \
qmake-qt5
make
-make INSTALL_ROOT=$PKG install
+make INSTALL_ROOT=$PKG install -j1
find $PKG -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 +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/libraries/qmltermwidget/qmltermwidget.info b/libraries/qmltermwidget/qmltermwidget.info
index 060d81a4ae..f94900a1cc 100644
--- a/libraries/qmltermwidget/qmltermwidget.info
+++ b/libraries/qmltermwidget/qmltermwidget.info
@@ -1,10 +1,10 @@
PRGNAM="qmltermwidget"
-VERSION="0.2.0"
+VERSION="20220109_6322802"
HOMEPAGE="https://github.com/Swordfish90/qmltermwidget"
-DOWNLOAD="https://github.com/Swordfish90/qmltermwidget/archive/0.2.0/qmltermwidget-0.2.0.tar.gz"
-MD5SUM="1a5c76f0af285f1281549498f7e8c2e9"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/qmltermwidget-20220109_6322802.tar.xz"
+MD5SUM="7ede5aa72cab2aeb8903b768a4684e24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/qoauth/qoauth.SlackBuild b/libraries/qoauth/qoauth.SlackBuild
index f3c8d97010..21b7cbc751 100644
--- a/libraries/qoauth/qoauth.SlackBuild
+++ b/libraries/qoauth/qoauth.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qoauth
@@ -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=qoauth
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-2.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"
@@ -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/libraries/qoauth/qoauth.info b/libraries/qoauth/qoauth.info
index 2083477bbd..c7345ed4b7 100644
--- a/libraries/qoauth/qoauth.info
+++ b/libraries/qoauth/qoauth.info
@@ -1,8 +1,8 @@
PRGNAM="qoauth"
-VERSION="1.0.1"
+VERSION="2.0.0"
HOMEPAGE="http://wiki.github.com/ayoy/qoauth/"
-DOWNLOAD="https://github.com/ayoy/qoauth/archive/v1.0.1/qoauth-1.0.1.tar.gz"
-MD5SUM="255121fc0070a1fbed83703e39111ce4"
+DOWNLOAD="https://github.com/ayoy/qoauth/archive/v2.0.0/qoauth-2.0.0.tar.gz"
+MD5SUM="a30ab54144bcdb5b5adaf4d45b59a7d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
index 1dac04653c..7249b83d31 100644
--- a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
+++ b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qt-assistant-compat
@@ -26,29 +26,41 @@
# Maintainer and packager is Ronald van Haren. Thank you!
# http://www.archlinux.org/packages/extra/i686/qt-assistant-compat/
+# 20220124 bkw: modified for -current qt4 build.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qt-assistant-compat
VERSION=${VERSION:-4.6.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=qt-assistant-qassistantclient-library-compat-src
SRCDIR=qt-assistant-qassistantclient-library-compat-version
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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,6 +75,8 @@ fi
set -e
+source /etc/profile.d/qt4.sh
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -72,9 +86,9 @@ cd $SRCDIR-$VERSION
chown -R root: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 {} \+
# The patch is from Archlinux, as mentioned above.
# For Archlinux it has been taken from Debian. Thank you both!
@@ -99,22 +113,22 @@ make
make install INSTALL_ROOT=$PKG
# Fix wrong path in prl file
-sed -i -e /^QMAKE_PRL_BUILD_DIR/d $PKG/usr/lib${LIBDIRSUFFIX}/qt/lib/libQtAssistantClient.prl
+sed -i -e /^QMAKE_PRL_BUILD_DIR/d $PKG/$QT4DIR/lib/libQtAssistantClient.prl
cd translations
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt/translations
-cp assistant_adp_*.qm $PKG/usr/lib${LIBDIRSUFFIX}/qt/translations/
+mkdir -p $PKG/$QT4DIR/translations
+cp assistant_adp_*.qm $PKG/$QT4DIR/translations/
cd ..
cd features
-install -D -m644 assistant.prf $PKG/usr/lib${LIBDIRSUFFIX}/qt/mkspecs/features/assistant.prf
+install -D -m644 assistant.prf $PKG/$QT4DIR/mkspecs/features/assistant.prf
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 \
+install -m0644 \
LGPL_EXCEPTION.txt LICENSE.LGPL LICENSE.GPL3 \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -123,4 +137,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/qt-assistant-compat/qt-assistant-compat.info b/libraries/qt-assistant-compat/qt-assistant-compat.info
index c0558107ae..5d9f51fabc 100644
--- a/libraries/qt-assistant-compat/qt-assistant-compat.info
+++ b/libraries/qt-assistant-compat/qt-assistant-compat.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://master.qt.io/archive/qt/4.6/qt-assistant-qassistantclient-libra
MD5SUM="a20148e0488d5c12ab35ccc107dcc64d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Petar Petrov"
EMAIL="slackalaxy@gmail.com"
diff --git a/libraries/qt-avif-image-plugin/README b/libraries/qt-avif-image-plugin/README
new file mode 100644
index 0000000000..8cd4eee0b1
--- /dev/null
+++ b/libraries/qt-avif-image-plugin/README
@@ -0,0 +1,4 @@
+qt-avif-image-plugin
+
+Qt plug-in to allow Qt and KDE based applications to read/write AVIF
+images.
diff --git a/libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild
new file mode 100644
index 0000000000..cc3bc23655
--- /dev/null
+++ b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.SlackBuild
@@ -0,0 +1,97 @@
+#!/bin/bash
+
+# Slackware build script for qt-avif-image-plugin
+
+# Copyright 2023-2024 Marek Šrejma, <marek at modweb dot de>, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qt-avif-image-plugin
+VERSION=${VERSION:-0.8.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" ] || [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+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 {} \;
+
+cmake -B build -S $TMP/$PRGNAM-$VERSION \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release
+
+cmake --build build
+DESTDIR=$PKG \
+QTDIR=$PKG/usr/lib$LIBDIRSUFFIX/qt5 \
+cmake --install build
+
+find $PKG -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 {P,R}*.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/libraries/qt-avif-image-plugin/qt-avif-image-plugin.info b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.info
new file mode 100644
index 0000000000..2726d4ff89
--- /dev/null
+++ b/libraries/qt-avif-image-plugin/qt-avif-image-plugin.info
@@ -0,0 +1,10 @@
+PRGNAM="qt-avif-image-plugin"
+VERSION="0.8.0"
+HOMEPAGE="https://github.com/novomesk/qt-avif-image-plugin"
+DOWNLOAD="https://github.com/novomesk/qt-avif-image-plugin/archive/refs/tags/v0.8.0/qt-avif-image-plugin-0.8.0.tar.gz"
+MD5SUM="66c59fff3575362d088eb1520f1f9f80"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libavif"
+MAINTAINER="Marek Šrejma"
+EMAIL="marek[at]modweb[dot]de"
diff --git a/libraries/qt-avif-image-plugin/slack-desc b/libraries/qt-avif-image-plugin/slack-desc
new file mode 100644
index 0000000000..2e5fc3da38
--- /dev/null
+++ b/libraries/qt-avif-image-plugin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qt-avif-image-plugin: qt-avif-image-plugin (Qt plug-in for AVIF image support)
+qt-avif-image-plugin:
+qt-avif-image-plugin: Qt plug-in to allow Qt and KDE based applications to read/write AVIF
+qt-avif-image-plugin: images.
+qt-avif-image-plugin:
+qt-avif-image-plugin:
+qt-avif-image-plugin:
+qt-avif-image-plugin:
+qt-avif-image-plugin:
+qt-avif-image-plugin:
+qt-avif-image-plugin:
diff --git a/libraries/qt-heif-image-plugin/README b/libraries/qt-heif-image-plugin/README
new file mode 100644
index 0000000000..227cb96d8d
--- /dev/null
+++ b/libraries/qt-heif-image-plugin/README
@@ -0,0 +1,4 @@
+qt-heif-image-plugin
+
+Qt plug-in to allow Qt and KDE based applications to read/write HEIF
+images.
diff --git a/libraries/qt-heif-image-plugin/qt-heif-image-plugin.SlackBuild b/libraries/qt-heif-image-plugin/qt-heif-image-plugin.SlackBuild
new file mode 100644
index 0000000000..12e4e2d7a8
--- /dev/null
+++ b/libraries/qt-heif-image-plugin/qt-heif-image-plugin.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for qt-heif-image-plugin
+
+# Copyright Marek Šrejma, <marek at modweb dot de>, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qt-heif-image-plugin
+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" ] || [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+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_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+make
+make install DESTDIR=$PKG QTDIR=$PKG/usr/lib$LIBDIRSUFFIX/qt5
+
+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 -ar LICENSE README.md 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/libraries/qt-heif-image-plugin/qt-heif-image-plugin.info b/libraries/qt-heif-image-plugin/qt-heif-image-plugin.info
new file mode 100644
index 0000000000..bd56a718fd
--- /dev/null
+++ b/libraries/qt-heif-image-plugin/qt-heif-image-plugin.info
@@ -0,0 +1,10 @@
+PRGNAM="qt-heif-image-plugin"
+VERSION="0.3.4"
+HOMEPAGE="https://github.com/jakar/qt-heif-image-plugin"
+DOWNLOAD="https://github.com/jakar/qt-heif-image-plugin/archive/refs/tags/0.3.4/qt-heif-image-plugin-0.3.4.tar.gz"
+MD5SUM="e0cc85ddd3e7578fb4bc4f9e1308b3a8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libheif"
+MAINTAINER="Marek Šrejma"
+EMAIL="marek[at]modweb[dot]de"
diff --git a/libraries/qt-heif-image-plugin/slack-desc b/libraries/qt-heif-image-plugin/slack-desc
new file mode 100644
index 0000000000..305429305c
--- /dev/null
+++ b/libraries/qt-heif-image-plugin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qt-heif-image-plugin: qt-heif-image-plugin (Qt plug-in for HEIF/HEIC support)
+qt-heif-image-plugin:
+qt-heif-image-plugin: Qt plug-in to allow Qt and KDE based applications to read/write HEIF
+qt-heif-image-plugin: images.
+qt-heif-image-plugin:
+qt-heif-image-plugin:
+qt-heif-image-plugin:
+qt-heif-image-plugin:
+qt-heif-image-plugin:
+qt-heif-image-plugin:
+qt-heif-image-plugin:
diff --git a/libraries/qt-jpegxl-image-plugin/README b/libraries/qt-jpegxl-image-plugin/README
new file mode 100644
index 0000000000..61cc083474
--- /dev/null
+++ b/libraries/qt-jpegxl-image-plugin/README
@@ -0,0 +1,4 @@
+qt-jpegxl-image-plugin
+
+Qt plug-in to allow Qt and KDE based applications to read/write
+JPEG XL images.
diff --git a/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild
new file mode 100644
index 0000000000..14977111f0
--- /dev/null
+++ b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.SlackBuild
@@ -0,0 +1,94 @@
+#!/bin/bash
+
+# Slackware build script for qt-jpegxl-image-plugin
+
+# Copyright 2023-2024 Marek Šrejma, <marek at modweb dot de>, Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qt-jpegxl-image-plugin
+VERSION=${VERSION:-0.6.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" ] || [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
+elif [ "$ARCH" = "x86_64" ] || [ "$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.?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 {} \;
+
+cmake -B build -S $TMP/$PRGNAM-$VERSION \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DBUILD_TESTING:BOOL=OFF \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+cmake --build build
+DESTDIR=$PKG cmake --install build
+
+find $PKG -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 LICENSE README.md testfiles $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info
new file mode 100644
index 0000000000..159a8a77b5
--- /dev/null
+++ b/libraries/qt-jpegxl-image-plugin/qt-jpegxl-image-plugin.info
@@ -0,0 +1,10 @@
+PRGNAM="qt-jpegxl-image-plugin"
+VERSION="0.6.2"
+HOMEPAGE="https://github.com/novomesk/qt-jpegxl-image-plugin"
+DOWNLOAD="https://github.com/novomesk/qt-jpegxl-image-plugin/archive/refs/tags/v0.6.2/qt-jpegxl-image-plugin-0.6.2.tar.gz"
+MD5SUM="5a5532e936fc6751a2a9b5c81c680ce3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libjxl"
+MAINTAINER="Marek Šrejma"
+EMAIL="marek[at]modweb[dot]de"
diff --git a/libraries/qt-jpegxl-image-plugin/slack-desc b/libraries/qt-jpegxl-image-plugin/slack-desc
new file mode 100644
index 0000000000..b87b9dd5be
--- /dev/null
+++ b/libraries/qt-jpegxl-image-plugin/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qt-jpegxl-image-plugin: qt-jpegxl-image-plugin (Qt plug-in for JPEG XL/JXL support)
+qt-jpegxl-image-plugin:
+qt-jpegxl-image-plugin: Qt plug-in to allow Qt and KDE based applications to read/write
+qt-jpegxl-image-plugin: JPEG XL images.
+qt-jpegxl-image-plugin:
+qt-jpegxl-image-plugin:
+qt-jpegxl-image-plugin:
+qt-jpegxl-image-plugin:
+qt-jpegxl-image-plugin:
+qt-jpegxl-image-plugin:
+qt-jpegxl-image-plugin:
diff --git a/libraries/qt3/README b/libraries/qt3/README
index e1afb37604..7c2d3dfe67 100644
--- a/libraries/qt3/README
+++ b/libraries/qt3/README
@@ -1,12 +1,14 @@
+qt3 (multi-platform C++ graphical user interface toolkit, version 3)
+
Qt is a complete and well-developed object-oriented framework for
developing graphical user interface (GUI) applications using C++.
-This release is free only for development of free software for the X Window
-System. If you use Qt for developing commercial or other non-free software,
-you must have a professional license. Please see
+This release is free only for development of free software for the
+X Window System. If you use Qt for developing commercial or other
+non-free software, you must have a professional license. Please see
http://qt.nokia.com/products/licensing for details on the licensing
options.
-This script builds the older qt3 library that coexists with the newer qt4
-library. It was adapted from the original version from Slackware 13.1 but
-uses the newer PNG and JPEG libraries.
+This script builds the older qt3 library, which coexists with newer
+versions of the library. It was adapted from the original version from
+Slackware 13.1 but uses the newer PNG and JPEG libraries.
diff --git a/libraries/qt3/doinst.sh b/libraries/qt3/doinst.sh
index d57fb03194..c2a7379aa7 100644
--- a/libraries/qt3/doinst.sh
+++ b/libraries/qt3/doinst.sh
@@ -1,9 +1,6 @@
-## This was causing problems compiling KDE for unknown reasons.
-## So, we'll symlink the libraries into /opt/kde3 again...
# Add QT library directory to /etc/ld.so.conf:
-if ! grep /opt/kde3/lib etc/ld.so.conf 1> /dev/null 2> /dev/null ; then
- echo "/opt/kde3/lib" >> etc/ld.so.conf
-fi
-if [ -x /sbin/ldconfig ]; then
- /sbin/ldconfig 2> /dev/null
+if [ -e etc/ld.so.conf ]; then
+ if ! grep /opt/kde3/lib etc/ld.so.conf 1> /dev/null 2> /dev/null ; then
+ echo "/opt/kde3/lib" >> etc/ld.so.conf
+ fi
fi
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild
index 04b9df95b5..d6b9806fa4 100644
--- a/libraries/qt3/qt3.SlackBuild
+++ b/libraries/qt3/qt3.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Formerly maintained by:
# Ryan P.C. McQuen | Everett, WA | <email removed>
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
# Copyright 2006, 2007, 2008 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
@@ -29,13 +29,16 @@
# This is based on the original SlackBuild from /extra/kde-compat in
# Slackware 13.1
-# Adapted for SlackBuilds.org by Niels Horn <email removed>
-# - moved building from /opt to $TMP
-# - included patch for new libpng (based on work by Stuart Winter)
-# Revision date 2012/08/09
-
+# 20220419 bkw: BUILD=3:
+# - remove useless INSTALL from doc dir.
+# - add SlackBuild to doc dir.
+# - doinst.sh only edits ld.so.conf if it exists.
+# - don't call ldconfig from doinst.sh (installpkg does that already).
+# - remove broken symlink.
+# 20220318 bkw: fix 32-bit build.
+# 20211120 bkw: BUILD=2, install the profile scripts non-executable.
+# 20200226 bkw: quit spamming /root, no change to package
# 20180209 bkw: fix download link, pkgs.fedoraproject.org is now toast.
-
# 20170324 bkw:
# - take over maintenance.
# - i486=>i586.
@@ -43,16 +46,18 @@
# - minor fix: stripping -jN from MAKEFLAGS failed, if N>9 (or if
# less than 9, with leading zero(es): -j05 for example).
-# TODO: fix these:
-#sbrun: WARNING: files altered outside the sandbox:
-#u /root/.qt/.qt_plugins_3.3rc.lock
-#t /root/.qt/qt_plugins_3.3rc.tmp
-#u /root/.qt/qt_plugins_3.3rc
+# Adapted for SlackBuilds.org by Niels Horn <email removed>
+# - moved building from /opt to $TMP
+# - included patch for new libpng (based on work by Stuart Winter)
+# Revision date 2012/08/09
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qt3
VERSION=${VERSION:-3.3.8b}
-BUILD=${BUILD:-5}
+BUILD=${BUILD:-7}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=qt-x11-free
@@ -64,7 +69,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}
@@ -113,14 +122,19 @@ patch -p1 < $CWD/qt3_gcc47.patch
# Make sure ownerships and permissions are sane:
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 {} \+
-
-# And here's what we are currently using. The "yes" agrees to the GPL, so don't run this script if you
-# don't agree. :-)
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# 20200226 bkw: don't write to /root/.qt, keep it all in the sandbox.
+# This doesn't change the resulting package, so BUILD stays the same.
+export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
+export HOME=$( pwd )
+
+# 20220318 bkw: for some reason, "-I /usr/include/tirpc" is needed
+# on 32-bit, but not on 64-bit (but it does no harm there).
+
+# And here's what we are currently using.
+# The "yes" agrees to the GPL, so don't run this script if you don't agree. :-)
echo "yes" | \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -147,7 +161,8 @@ CXXFLAGS="$SLKCFLAGS" \
-plugin-style-platinum \
-plugin-style-sgi \
-plugin-style-windows \
- -enable-opengl
+ -enable-opengl \
+ -I /usr/include/tirpc
# Set QTDIR...
QTDIR=$PKG/opt/kde3/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION
@@ -187,7 +202,7 @@ cat $CWD/profile.d/qt.sh | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \
> $PKG/etc/profile.d/qt.sh
cat $CWD/profile.d/qt.csh | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \
> $PKG/etc/profile.d/qt.csh
-chmod 755 $PKG/etc/profile.d/*
+chmod 644 $PKG/etc/profile.d/*
# Strip binaries:
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -210,8 +225,9 @@ cd -
# Add a documentation directory:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- FAQ INSTALL LICENSE.GPL* LICENSE.QPL MANIFEST PLATFORMS README* changes* \
+ FAQ LICENSE.GPL* LICENSE.QPL MANIFEST PLATFORMS README* changes* \
$PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Make a link to "qt3" w/o version number
cd $PKG/opt/kde3/lib${LIBDIRSUFFIX}
@@ -222,10 +238,16 @@ cd -
# source if you need it.
rm -rf $PKG/opt/kde3/lib${LIBDIRSUFFIX}/qt3/doc
+rm -f $PKG/usr/lib*/*.la
+
+# 20220419 bkw: broken symlink, targets the build directory. looks like
+# it's completely extraneous, just remove it.
+rm -f $PKG/opt/kde3/lib64/qt3/mkspecs/linux-g++/linux-g++
+
mkdir -p $PKG/install
cat $CWD/doinst.sh | sed -e "s|/lib|/lib${LIBDIRSUFFIX}|" \
> $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/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/libraries/qt3/qt3.info b/libraries/qt3/qt3.info
index f7bf8f48b3..be9c71459b 100644
--- a/libraries/qt3/qt3.info
+++ b/libraries/qt3/qt3.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/libraries/qt3/slack-desc b/libraries/qt3/slack-desc
index bde678d659..57972dc7d1 100644
--- a/libraries/qt3/slack-desc
+++ b/libraries/qt3/slack-desc
@@ -12,7 +12,7 @@ qt3: Qt is a complete and well-developed object-oriented framework for
qt3: developing graphical user interface (GUI) applications using C++.
qt3:
qt3: This release is free only for development of free software for the X
-qt3: Window System. If you use Qt for developing commercial or other
+qt3: Window System. If you use Qt for developing commercial or other
qt3: non-free software, you must have a professional license.
qt3:
qt3:
diff --git a/libraries/qt4/README b/libraries/qt4/README
new file mode 100644
index 0000000000..a8beb2faee
--- /dev/null
+++ b/libraries/qt4/README
@@ -0,0 +1,16 @@
+qt4 (a C++ graphical user interface toolkit, legacy version)
+
+Qt is a complete and well-developed object-oriented framework for
+developing graphical user interface (GUI) applications using C++.
+
+This is an older 'legacy' version of Qt, only intended to support
+older applications that have not yet been ported to Qt5. Don't use
+this for developing new code.
+
+If you're a SBo maintainer working on a script that requires qt4, see
+README_SBo.txt for some helpful hints.
+
+This qt4 does *not* include qt4-webkit, and there is no separate
+qt4-webkit SlackBuild. qt4-webkit is outdated, EOLed, and has security
+issues that will never be fixed. Nobody should still be using it at
+this late date.
diff --git a/libraries/qt4/README_SBo.txt b/libraries/qt4/README_SBo.txt
new file mode 100644
index 0000000000..84ab12b44d
--- /dev/null
+++ b/libraries/qt4/README_SBo.txt
@@ -0,0 +1,48 @@
+There are a few deliberate differences between this qt4 and the one
+that was in Slackware 14.2 as (as "qt"):
+
+- The install prefix is /usr/lib(64)?/qt4 (note that 14.2 used
+ /usr/lib(64)?/qt). This is because qt4 is no longer a core
+ Slackware package, and to avoid confusing users (and scripts).
+
+- The profile.d scripts are installed non-executable, and are intended
+ to stay that way. This is to avoid conflicts between our qt4 and
+ Slackware's qt5.
+
+What this means for users of SBo builds that use qt4: Nothing
+special. You just install qt4 when you need it as a dependency.
+It lives in its own directory, and it won't conflict with qt5.
+
+What it means for the maintainers of SBo builds that use qt4:
+
+1. If your script uses cmake, you might not have to change anything.
+ cmake is smart enough to find Qt4 without help from the environment.
+ For instance, quazip-qt4 didn't need any changes.
+
+2. If your script uses qmake, replace the qmake command with qmake-qt4.
+ If it also uses lrelease, moc, and/or uic, replace those with the
+ -qt4 versions as well.
+
+3. If the above doesn't work, your script should run
+ source /etc/profile.d/qt4.sh
+ before it compiles anything. I recommend putting it right after the
+ "set -e" line in the template. An example script that uses this
+ is kardsgt.
+
+4. If your script refers to any files in $PKG/usr/lib$LIBDIRSUFFIX/qt,
+ you'll have to change the 'qt' part to 'qt4'. The best way to do
+ this is to use the $QT4DIR variable: it's defined in qt4.sh (which
+ you already sourced), and in the unlikely event the qt4 directory
+ ever changes again, your script won't break. An example of a script
+ that needed this change is qt-assistant-compat.
+
+Note: if you're writing a new script and getting errors about qt4 not
+being installed, it might mean that your script depends on qt4... but
+before you decide that's the case, check and see if whatever you're
+building offers an option (configure flag, cmake variable, whatever)
+to use qt5. Also it's worth checking to see if someone has already
+ported it to qt5 (check upstream's git repo, packages.debian.org, the
+Arch AUR, the Gentoo ebuild repo, etc). qt4 is outdated and EOLed, and
+will eventually have to go away... not in Slackware 15, but at some
+point, gcc probably will change enough to make qt4 unbuildable on some
+future Slackware version.
diff --git a/libraries/qt4/doinst.sh b/libraries/qt4/doinst.sh
new file mode 100644
index 0000000000..272092b697
--- /dev/null
+++ b/libraries/qt4/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database /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/libraries/qt4/patches/qt-4.8-disable-sslv3.patch b/libraries/qt4/patches/qt-4.8-disable-sslv3.patch
new file mode 100644
index 0000000000..c9b1996ec4
--- /dev/null
+++ b/libraries/qt4/patches/qt-4.8-disable-sslv3.patch
@@ -0,0 +1,56 @@
+--- ./src/network/ssl/qsslsocket_openssl_symbols.cpp.orig 2019-11-09 12:55:26.646752874 -0600
++++ ./src/network/ssl/qsslsocket_openssl_symbols.cpp 2019-11-09 12:58:22.032754751 -0600
+@@ -253,7 +253,9 @@
+ #ifndef OPENSSL_NO_SSL2
+ DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ #endif
++#ifndef OPENSSL_NO_SSL3
+ DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
++#endif
+ #if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ #else
+@@ -263,7 +265,9 @@
+ #ifndef OPENSSL_NO_SSL2
+ DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ #endif
++#ifndef OPENSSL_NO_SSL3
+ DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
++#endif
+ #if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ #else
+@@ -272,7 +276,9 @@
+ DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ #else
+ DEFINEFUNC(SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
++#ifndef OPENSSL_NO_SSL3
+ DEFINEFUNC(SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
++#endif
+ DEFINEFUNC(SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ DEFINEFUNC(SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ DEFINEFUNC(SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
+@@ -756,7 +762,9 @@
+ RESOLVEFUNC(SSL_shutdown, 173, libs.first )
+ RESOLVEFUNC(SSL_write, 188, libs.first )
+ RESOLVEFUNC(SSLv2_client_method, 192, libs.first )
++#ifndef OPENSSL_NO_SSL3
+ RESOLVEFUNC(SSLv3_client_method, 195, libs.first )
++#endif
+ RESOLVEFUNC(SSLv23_client_method, 189, libs.first )
+ RESOLVEFUNC(TLSv1_client_method, 198, libs.first )
+ RESOLVEFUNC(SSLv2_server_method, 194, libs.first )
+--- ./src/network/ssl/qsslsocket_openssl.cpp.orig 2019-11-09 12:55:01.605752606 -0600
++++ ./src/network/ssl/qsslsocket_openssl.cpp 2019-11-09 12:55:26.632752874 -0600
+@@ -273,7 +273,11 @@
+ #endif
+ break;
+ case QSsl::SslV3:
++#ifndef OPENSSL_NO_SSL3
+ ctx = q_SSL_CTX_new(client ? q_SSLv3_client_method() : q_SSLv3_server_method());
++#else
++ ctx = 0; // SSL 3 not supported by the system, but chosen deliberately -> error
++#endif
+ break;
+ case QSsl::SecureProtocols: // SslV2 will be disabled below
+ case QSsl::TlsV1SslV3: // SslV2 will be disabled below
diff --git a/libraries/qt4/patches/qt-4.8-poll.patch b/libraries/qt4/patches/qt-4.8-poll.patch
new file mode 100644
index 0000000000..aed363c666
--- /dev/null
+++ b/libraries/qt4/patches/qt-4.8-poll.patch
@@ -0,0 +1,812 @@
+diff -up qt-everywhere-opensource-src-4.8.6/src/corelib/io/qprocess_unix.cpp.poll qt-everywhere-opensource-src-4.8.6/src/corelib/io/qprocess_unix.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/corelib/io/qprocess_unix.cpp.poll 2014-03-30 15:36:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/corelib/io/qprocess_unix.cpp 2014-03-31 18:04:05.958260978 -0500
+@@ -158,13 +158,6 @@ static void qt_sa_sigchld_sigaction(int
+ }
+ }
+
+-static inline void add_fd(int &nfds, int fd, fd_set *fdset)
+-{
+- FD_SET(fd, fdset);
+- if ((fd) > nfds)
+- nfds = fd;
+-}
+-
+ struct QProcessInfo {
+ QProcess *process;
+ int deathPipe;
+@@ -256,9 +249,9 @@ QProcessManager::~QProcessManager()
+ void QProcessManager::run()
+ {
+ forever {
+- fd_set readset;
+- FD_ZERO(&readset);
+- FD_SET(qt_qprocess_deadChild_pipe[0], &readset);
++ pollfd fd;
++ fd.fd = qt_qprocess_deadChild_pipe[0];
++ fd.events = POLLIN;
+
+ #if defined (QPROCESS_DEBUG)
+ qDebug() << "QProcessManager::run() waiting for children to die";
+@@ -267,8 +260,8 @@ void QProcessManager::run()
+ // block forever, or until activity is detected on the dead child
+ // pipe. the only other peers are the SIGCHLD signal handler, and the
+ // QProcessManager destructor.
+- int nselect = select(qt_qprocess_deadChild_pipe[0] + 1, &readset, 0, 0, 0);
+- if (nselect < 0) {
++ int ret = qt_safe_poll(&fd, 1, -1, /* retry_eintr */ false);
++ if (ret < 0) {
+ if (errno == EINTR)
+ continue;
+ break;
+@@ -1027,17 +1020,6 @@ void QProcessPrivate::killProcess()
+ ::kill(pid_t(pid), SIGKILL);
+ }
+
+-static int select_msecs(int nfds, fd_set *fdread, fd_set *fdwrite, int timeout)
+-{
+- if (timeout < 0)
+- return qt_safe_select(nfds, fdread, fdwrite, 0, 0);
+-
+- struct timeval tv;
+- tv.tv_sec = timeout / 1000;
+- tv.tv_usec = (timeout % 1000) * 1000;
+- return qt_safe_select(nfds, fdread, fdwrite, 0, &tv);
+-}
+-
+ /*
+ Returns the difference between msecs and elapsed. If msecs is -1,
+ however, -1 is returned.
+@@ -1060,10 +1042,10 @@ bool QProcessPrivate::waitForStarted(int
+ childStartedPipe[0]);
+ #endif
+
+- fd_set fds;
+- FD_ZERO(&fds);
+- FD_SET(childStartedPipe[0], &fds);
+- if (select_msecs(childStartedPipe[0] + 1, &fds, 0, msecs) == 0) {
++ pollfd fd;
++ fd.fd = childStartedPipe[0];
++ fd.events = POLLIN;
++ if (qt_safe_poll(&fd, 1, msecs) == 0) {
+ processError = QProcess::Timedout;
+ q->setErrorString(QProcess::tr("Process operation timed out"));
+ #if defined (QPROCESS_DEBUG)
+@@ -1079,6 +1061,47 @@ bool QProcessPrivate::waitForStarted(int
+ return startedEmitted;
+ }
+
++class QProcessFDSet {
++ pollfd fds[5];
++
++ static size_t size()
++ {
++ return sizeof(fds)/sizeof(fds[0]);
++ }
++
++public:
++ QProcessFDSet(QProcessPrivate &proc)
++ {
++ for (size_t i = 0; i < size(); ++i) {
++ fds[i].fd = -1;
++ fds[i].events = POLLIN;
++ }
++ death().fd = proc.deathPipe[0];
++
++ if (proc.processState == QProcess::Starting)
++ started().fd = proc.childStartedPipe[0];
++
++ stdout().fd = proc.stdoutChannel.pipe[0];
++ stderr().fd = proc.stderrChannel.pipe[0];
++
++ if (!proc.writeBuffer.isEmpty()) {
++ stdin().fd = proc.stdinChannel.pipe[1];
++ stdin().events = POLLOUT;
++ }
++ }
++
++ int poll(int timeout)
++ {
++ return qt_safe_poll(fds, size(), timeout);
++ }
++
++ pollfd &death() { return fds[0]; }
++ pollfd &started() { return fds[1]; }
++ pollfd &stdout() { return fds[2]; }
++ pollfd &stderr() { return fds[3]; }
++ pollfd &stdin() { return fds[4]; }
++};
++
+ bool QProcessPrivate::waitForReadyRead(int msecs)
+ {
+ Q_Q(QProcess);
+@@ -1090,28 +1113,9 @@ bool QProcessPrivate::waitForReadyRead(i
+ stopWatch.start();
+
+ forever {
+- fd_set fdread;
+- fd_set fdwrite;
+-
+- FD_ZERO(&fdread);
+- FD_ZERO(&fdwrite);
+-
+- int nfds = deathPipe[0];
+- FD_SET(deathPipe[0], &fdread);
+-
+- if (processState == QProcess::Starting)
+- add_fd(nfds, childStartedPipe[0], &fdread);
+-
+- if (stdoutChannel.pipe[0] != -1)
+- add_fd(nfds, stdoutChannel.pipe[0], &fdread);
+- if (stderrChannel.pipe[0] != -1)
+- add_fd(nfds, stderrChannel.pipe[0], &fdread);
+-
+- if (!writeBuffer.isEmpty() && stdinChannel.pipe[1] != -1)
+- add_fd(nfds, stdinChannel.pipe[1], &fdwrite);
+-
++ QProcessFDSet fdset(*this);
+ int timeout = qt_timeout_value(msecs, stopWatch.elapsed());
+- int ret = select_msecs(nfds + 1, &fdread, &fdwrite, timeout);
++ int ret = fdset.poll(timeout);
+ if (ret < 0) {
+ break;
+ }
+@@ -1121,18 +1125,18 @@ bool QProcessPrivate::waitForReadyRead(i
+ return false;
+ }
+
+- if (childStartedPipe[0] != -1 && FD_ISSET(childStartedPipe[0], &fdread)) {
++ if (qt_readable(fdset.started())) {
+ if (!_q_startupNotification())
+ return false;
+ }
+
+ bool readyReadEmitted = false;
+- if (stdoutChannel.pipe[0] != -1 && FD_ISSET(stdoutChannel.pipe[0], &fdread)) {
++ if (qt_readable(fdset.stdout())) {
+ bool canRead = _q_canReadStandardOutput();
+ if (processChannel == QProcess::StandardOutput && canRead)
+ readyReadEmitted = true;
+ }
+- if (stderrChannel.pipe[0] != -1 && FD_ISSET(stderrChannel.pipe[0], &fdread)) {
++ if (qt_readable(fdset.stderr())) {
+ bool canRead = _q_canReadStandardError();
+ if (processChannel == QProcess::StandardError && canRead)
+ readyReadEmitted = true;
+@@ -1140,13 +1144,13 @@ bool QProcessPrivate::waitForReadyRead(i
+ if (readyReadEmitted)
+ return true;
+
+- if (stdinChannel.pipe[1] != -1 && FD_ISSET(stdinChannel.pipe[1], &fdwrite))
++ if (qt_writable(fdset.stdin()))
+ _q_canWrite();
+
+- if (deathPipe[0] == -1 || FD_ISSET(deathPipe[0], &fdread)) {
++ if (qt_readable(fdset.death())) {
+ if (_q_processDied())
+ return false;
+- }
++ }
+ }
+ return false;
+ }
+@@ -1162,29 +1166,9 @@ bool QProcessPrivate::waitForBytesWritte
+ stopWatch.start();
+
+ while (!writeBuffer.isEmpty()) {
+- fd_set fdread;
+- fd_set fdwrite;
+-
+- FD_ZERO(&fdread);
+- FD_ZERO(&fdwrite);
+-
+- int nfds = deathPipe[0];
+- FD_SET(deathPipe[0], &fdread);
+-
+- if (processState == QProcess::Starting)
+- add_fd(nfds, childStartedPipe[0], &fdread);
+-
+- if (stdoutChannel.pipe[0] != -1)
+- add_fd(nfds, stdoutChannel.pipe[0], &fdread);
+- if (stderrChannel.pipe[0] != -1)
+- add_fd(nfds, stderrChannel.pipe[0], &fdread);
+-
+-
+- if (!writeBuffer.isEmpty() && stdinChannel.pipe[1] != -1)
+- add_fd(nfds, stdinChannel.pipe[1], &fdwrite);
+-
++ QProcessFDSet fdset(*this);
+ int timeout = qt_timeout_value(msecs, stopWatch.elapsed());
+- int ret = select_msecs(nfds + 1, &fdread, &fdwrite, timeout);
++ int ret = fdset.poll(timeout);
+ if (ret < 0) {
+ break;
+ }
+@@ -1195,24 +1179,24 @@ bool QProcessPrivate::waitForBytesWritte
+ return false;
+ }
+
+- if (childStartedPipe[0] != -1 && FD_ISSET(childStartedPipe[0], &fdread)) {
++ if (qt_readable(fdset.started())) {
+ if (!_q_startupNotification())
+ return false;
+ }
+
+- if (stdinChannel.pipe[1] != -1 && FD_ISSET(stdinChannel.pipe[1], &fdwrite))
++ if (qt_writable(fdset.stdin()))
+ return _q_canWrite();
+
+- if (stdoutChannel.pipe[0] != -1 && FD_ISSET(stdoutChannel.pipe[0], &fdread))
++ if (qt_readable(fdset.stdout()))
+ _q_canReadStandardOutput();
+
+- if (stderrChannel.pipe[0] != -1 && FD_ISSET(stderrChannel.pipe[0], &fdread))
++ if (qt_readable(fdset.stderr()))
+ _q_canReadStandardError();
+
+- if (deathPipe[0] == -1 || FD_ISSET(deathPipe[0], &fdread)) {
+- if (_q_processDied())
+- return false;
+- }
++ if (qt_readable(fdset.death())) {
++ if (_q_processDied())
++ return false;
++ }
+ }
+
+ return false;
+@@ -1229,29 +1213,9 @@ bool QProcessPrivate::waitForFinished(in
+ stopWatch.start();
+
+ forever {
+- fd_set fdread;
+- fd_set fdwrite;
+- int nfds = -1;
+-
+- FD_ZERO(&fdread);
+- FD_ZERO(&fdwrite);
+-
+- if (processState == QProcess::Starting)
+- add_fd(nfds, childStartedPipe[0], &fdread);
+-
+- if (stdoutChannel.pipe[0] != -1)
+- add_fd(nfds, stdoutChannel.pipe[0], &fdread);
+- if (stderrChannel.pipe[0] != -1)
+- add_fd(nfds, stderrChannel.pipe[0], &fdread);
+-
+- if (processState == QProcess::Running)
+- add_fd(nfds, deathPipe[0], &fdread);
+-
+- if (!writeBuffer.isEmpty() && stdinChannel.pipe[1] != -1)
+- add_fd(nfds, stdinChannel.pipe[1], &fdwrite);
+-
++ QProcessFDSet fdset(*this);
+ int timeout = qt_timeout_value(msecs, stopWatch.elapsed());
+- int ret = select_msecs(nfds + 1, &fdread, &fdwrite, timeout);
++ int ret = fdset.poll(timeout);
+ if (ret < 0) {
+ break;
+ }
+@@ -1261,20 +1225,20 @@ bool QProcessPrivate::waitForFinished(in
+ return false;
+ }
+
+- if (childStartedPipe[0] != -1 && FD_ISSET(childStartedPipe[0], &fdread)) {
++ if (qt_readable(fdset.started())) {
+ if (!_q_startupNotification())
+ return false;
+ }
+- if (stdinChannel.pipe[1] != -1 && FD_ISSET(stdinChannel.pipe[1], &fdwrite))
++ if (qt_writable(fdset.stdin()))
+ _q_canWrite();
+
+- if (stdoutChannel.pipe[0] != -1 && FD_ISSET(stdoutChannel.pipe[0], &fdread))
++ if (qt_readable(fdset.stdout()))
+ _q_canReadStandardOutput();
+
+- if (stderrChannel.pipe[0] != -1 && FD_ISSET(stderrChannel.pipe[0], &fdread))
++ if (qt_readable(fdset.stderr()))
+ _q_canReadStandardError();
+
+- if (deathPipe[0] == -1 || FD_ISSET(deathPipe[0], &fdread)) {
++ if (qt_readable(fdset.death())) {
+ if (_q_processDied())
+ return true;
+ }
+@@ -1284,10 +1248,10 @@ bool QProcessPrivate::waitForFinished(in
+
+ bool QProcessPrivate::waitForWrite(int msecs)
+ {
+- fd_set fdwrite;
+- FD_ZERO(&fdwrite);
+- FD_SET(stdinChannel.pipe[1], &fdwrite);
+- return select_msecs(stdinChannel.pipe[1] + 1, 0, &fdwrite, msecs < 0 ? 0 : msecs) == 1;
++ pollfd fd;
++ fd.fd = stdinChannel.pipe[1];
++ fd.events = POLLIN;
++ return qt_safe_poll(&fd, 1, msecs);
+ }
+
+ void QProcessPrivate::findExitCode()
+diff -up qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix.cpp.poll qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix.cpp.poll 2014-03-30 15:36:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix.cpp 2014-03-31 18:01:59.369715403 -0500
+@@ -99,4 +99,165 @@ int qt_safe_select(int nfds, fd_set *fdr
+ }
+ }
+
++#ifndef Q_OS_VXWORKS
++
++int qt_safe_poll(struct pollfd *fds, int nfds, int timeout_ms, bool retry_eintr)
++{
++ if (nfds == 0)
++ return 0;
++ if (nfds < 0) {
++ errno = EINVAL;
++ return -1;
++ }
++
++ // Retry on ret == 0 if the deadline has not yet passed because
++ // Linux can return early from the syscall, without setting EINTR.
++ if (timeout_ms < 0) {
++ forever {
++ int ret = ::poll(fds, nfds, -1);
++ if (ret > 0)
++ return ret;
++ if (retry_eintr) {
++ if (ret == 0 || ret == -1 && errno == EINTR) {
++ continue;
++ } else {
++ return -1;
++ }
++ }
++ if (ret == 0) {
++ errno = EINTR;
++ return -1;
++ }
++ return ret;
++ }
++ }
++
++ timeval previous = qt_gettime();
++ timeval deadline = previous;
++ deadline.tv_sec += timeout_ms / 1000;
++ deadline.tv_usec += (timeout_ms % 1000) * 1000;
++ if (deadline.tv_usec >= 1000000) {
++ ++deadline.tv_sec;
++ deadline.tv_usec -= 1000000;
++ }
++ int remaining = timeout_ms;
++
++ forever {
++ int ret = ::poll(fds, nfds, remaining);
++ if (ret > 0)
++ return ret;
++ timeval now = qt_gettime();
++ if ((now.tv_sec > deadline.tv_sec // past deadline
++ || (now.tv_sec == deadline.tv_sec
++ && now.tv_usec >= deadline.tv_usec))
++ || (now.tv_sec < previous.tv_sec // time warp
++ || (now.tv_sec == previous.tv_sec
++ && now.tv_usec < previous.tv_usec))
++ || (ret < 0 && (errno != EINTR || !retry_eintr))) // other error
++ return ret;
++ if (ret == 0 && !retry_eintr) {
++ errno = EINTR;
++ return -1;
++ }
++ remaining = (deadline.tv_sec - now.tv_sec) * 1000
++ + (deadline.tv_usec - now.tv_usec) / 1000;
++ previous = now;
++ }
++}
++
++#else
++
++// Poll emulation for VxWorks.
++
++static int mark_bad_descriptors(pollfd *fds, int nfds)
++{
++ fd_set r;
++ FD_ZERO(&r);
++ struct timeval tv;
++ tv.tv_sec = 0;
++ tv.tv_usec = 0;
++ int ret = 0;
++
++ // Check each descriptor invidually for badness.
++ for (int i = 0; i < nfds; ++i) {
++ pollfd &fd(fds[i]);
++ if (fd.fd >= 0) {
++ FD_SET(fd.fd, &r);
++ int ret = qt_safe_select(fd.fd + 1, &r, NULL, NULL, &tv);
++ FD_CLR(fd.fd, &r);
++ if (ret < 0 && errno == EBADF) {
++ fd.revents = POLLNVAL;
++ ++ret;
++ }
++ }
++ }
++ Q_ASSERT(ret > 0);
++ return ret;
++}
++
++int qt_safe_poll(pollfd *fds, int nfds, int timeout, bool retry_eintr)
++{
++ fd_set r, w;
++ FD_ZERO(&r);
++ FD_ZERO(&w);
++ int maxfd = -1;
++
++ // Extract the watched descriptors.
++ for (int i = 0; i < nfds; ++i) {
++ pollfd &fd(fds[i]);
++ if (fd.fd >= 0 && fd.fd < FD_SETSIZE) {
++ if (fd.events & POLLIN) {
++ FD_SET(fd.fd, &r);
++ if (fd.fd > maxfd)
++ maxfd = fd.fd;
++ }
++ if (fd.events & POLLOUT) {
++ FD_SET(fd.fd, &w);
++ if (fd.fd > maxfd)
++ maxfd = fd.fd;
++ }
++ }
++ }
++
++ // If timeout is negative, wait indefinitely for activity.
++ timeval tv;
++ timeval *ptv;
++ if (timeout >= 0) {
++ tv.tv_sec = timeout / 1000;
++ tv.tv_usec = (timeout % 1000) * 1000;
++ ptv = &tv;
++ } else
++ ptv = NULL;
++
++ int ret;
++ if (retry_eintr)
++ ret = qt_safe_select(maxfd + 1, &r, &w, NULL, ptv);
++ else
++ ret = ::select(maxfd + 1, &r, &w, NULL, ptv);
++ if (ret < 0 && errno == EBADF) {
++ return mark_bad_descriptors(fds, nfds);
++ }
++ if (ret <= 0)
++ return ret;
++
++ // Set the revents flags.
++ ret = 0;
++ for (int i = 0; i < nfds; ++i) {
++ pollfd &fd(fds[i]);
++ fd.revents = 0;
++ if (fd.fd >= 0 && fd.fd < FD_SETSIZE) {
++ if ((fd.events & POLLIN) && FD_ISSET(fd.fd, &r))
++ fd.revents |= POLLIN;
++ if ((fd.events & POLLOUT) && FD_ISSET(fd.fd, &w))
++ fd.revents |= POLLOUT;
++ if (fd.revents)
++ ++ret;
++ }
++ }
++ Q_ASSERT(ret > 0);
++ return ret;
++}
++
++#endif
++
+ QT_END_NAMESPACE
+diff -up qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix_p.h.poll qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix_p.h
+--- qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix_p.h.poll 2014-03-30 15:36:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcore_unix_p.h 2014-03-31 18:01:59.370715392 -0500
+@@ -345,9 +345,42 @@ static inline pid_t qt_safe_waitpid(pid_
+
+ timeval qt_gettime(); // in qelapsedtimer_mac.cpp or qtimestamp_unix.cpp
+
++// Deprecated due to FD_SETSIZE limitation, use qt_safe_poll instead.
+ Q_CORE_EXPORT int qt_safe_select(int nfds, fd_set *fdread, fd_set *fdwrite, fd_set *fdexcept,
+ const struct timeval *tv);
+
++#ifndef Q_OS_VXWORKS
++#include <poll.h>
++#else
++
++// Poll emulation for VxWorks.
++
++struct pollfd {
++ int fd;
++ short events;
++ short revents;
++};
++
++#define POLLIN 1
++#define POLLOUT 2
++#define POLLERR 4
++#define POLLHUP 8
++#define POLLNVAL 16
++#endif
++
++inline bool qt_readable(const pollfd &fd)
++{
++ return fd.fd >= 0 && (fd.revents & (POLLIN | POLLHUP | POLLERR | POLLNVAL)) != 0;
++}
++
++inline bool qt_writable(const pollfd &fd)
++{
++ return fd.fd >= 0 && (fd.revents & (POLLOUT | POLLHUP | POLLERR | POLLNVAL)) != 0;
++}
++
++Q_CORE_EXPORT int qt_safe_poll(pollfd *fds, int nfds, int timeout,
++ bool retry_eintr = true);
++
+ // according to X/OPEN we have to define semun ourselves
+ // we use prefix as on some systems sem.h will have it
+ struct semid_ds;
+diff -up qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalserver_unix.cpp.poll qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalserver_unix.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalserver_unix.cpp.poll 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalserver_unix.cpp 2014-03-31 18:01:59.370715392 -0500
+@@ -208,16 +208,11 @@ void QLocalServerPrivate::_q_onNewConnec
+
+ void QLocalServerPrivate::waitForNewConnection(int msec, bool *timedOut)
+ {
+- fd_set readfds;
+- FD_ZERO(&readfds);
+- FD_SET(listenSocket, &readfds);
++ struct pollfd fd;
++ fd.fd = listenSocket;
++ fd.events = POLLIN;
+
+- timeval timeout;
+- timeout.tv_sec = msec / 1000;
+- timeout.tv_usec = (msec % 1000) * 1000;
+-
+- int result = -1;
+- result = qt_safe_select(listenSocket + 1, &readfds, 0, 0, (msec == -1) ? 0 : &timeout);
++ int result = qt_safe_poll(&fd, 1, msec);
+ if (-1 == result) {
+ setError(QLatin1String("QLocalServer::waitForNewConnection"));
+ closeServer();
+diff -up qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalsocket_unix.cpp.poll qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalsocket_unix.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalsocket_unix.cpp.poll 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/network/socket/qlocalsocket_unix.cpp 2014-03-31 18:01:59.370715392 -0500
+@@ -56,10 +56,6 @@
+ #include <qdebug.h>
+ #include <qelapsedtimer.h>
+
+-#ifdef Q_OS_VXWORKS
+-# include <selectLib.h>
+-#endif
+-
+ #define QT_CONNECT_TIMEOUT 30000
+
+ QT_BEGIN_NAMESPACE
+@@ -520,32 +516,17 @@ bool QLocalSocket::waitForConnected(int
+ if (state() != ConnectingState)
+ return (state() == ConnectedState);
+
+- fd_set fds;
+- FD_ZERO(&fds);
+- FD_SET(d->connectingSocket, &fds);
+-
+- timeval timeout;
+- timeout.tv_sec = msec / 1000;
+- timeout.tv_usec = (msec % 1000) * 1000;
+-
+- // timeout can not be 0 or else select will return an error.
+- if (0 == msec)
+- timeout.tv_usec = 1000;
++ pollfd fd;
++ fd.fd = d->connectingSocket;
++ fd.events = POLLIN | POLLOUT;
+
+ int result = -1;
+ // on Linux timeout will be updated by select, but _not_ on other systems.
+ QElapsedTimer timer;
++ int remaining = msec;
+ timer.start();
+- while (state() == ConnectingState
+- && (-1 == msec || timer.elapsed() < msec)) {
+-#ifdef Q_OS_SYMBIAN
+- // On Symbian, ready-to-write is signaled when non-blocking socket
+- // connect is finised. Is ready-to-read really used on other
+- // UNIX paltforms when using non-blocking AF_UNIX socket?
+- result = ::select(d->connectingSocket + 1, 0, &fds, 0, &timeout);
+-#else
+- result = ::select(d->connectingSocket + 1, &fds, 0, 0, &timeout);
+-#endif
++ while (state() == ConnectingState) {
++ result = qt_safe_poll(&fd, 1, remaining, /* retry_eintr */ false);
+ if (-1 == result && errno != EINTR) {
+ d->errorOccurred( QLocalSocket::UnknownSocketError,
+ QLatin1String("QLocalSocket::waitForConnected"));
+@@ -553,6 +534,11 @@ bool QLocalSocket::waitForConnected(int
+ }
+ if (result > 0)
+ d->_q_connectToSocket();
++ if (msec >= 0) {
++ remaining = timer.elapsed() - msec;
++ if (remaining < 0)
++ break;
++ }
+ }
+
+ return (state() == ConnectedState);
+diff -up qt-everywhere-opensource-src-4.8.6/src/network/socket/qnativesocketengine_unix.cpp.poll qt-everywhere-opensource-src-4.8.6/src/network/socket/qnativesocketengine_unix.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/network/socket/qnativesocketengine_unix.cpp.poll 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/network/socket/qnativesocketengine_unix.cpp 2014-03-31 18:01:59.371715381 -0500
+@@ -1068,48 +1068,40 @@ qint64 QNativeSocketEnginePrivate::nativ
+
+ int QNativeSocketEnginePrivate::nativeSelect(int timeout, bool selectForRead) const
+ {
+- fd_set fds;
+- FD_ZERO(&fds);
+- FD_SET(socketDescriptor, &fds);
+-
+- struct timeval tv;
+- tv.tv_sec = timeout / 1000;
+- tv.tv_usec = (timeout % 1000) * 1000;
+-
+- int retval;
+- if (selectForRead)
+- retval = qt_safe_select(socketDescriptor + 1, &fds, 0, 0, timeout < 0 ? 0 : &tv);
+- else
+- retval = qt_safe_select(socketDescriptor + 1, 0, &fds, 0, timeout < 0 ? 0 : &tv);
+-
+- return retval;
++ struct pollfd fd;
++ fd.fd = socketDescriptor;
++ if (selectForRead) {
++ fd.events = POLLIN;
++ } else {
++ fd.events = POLLOUT;
++ }
++ return qt_safe_poll(&fd, 1, timeout);
+ }
+
+ int QNativeSocketEnginePrivate::nativeSelect(int timeout, bool checkRead, bool checkWrite,
+ bool *selectForRead, bool *selectForWrite) const
+ {
+- fd_set fdread;
+- FD_ZERO(&fdread);
++ struct pollfd fd;
++ fd.fd = socketDescriptor;
+ if (checkRead)
+- FD_SET(socketDescriptor, &fdread);
+-
+- fd_set fdwrite;
+- FD_ZERO(&fdwrite);
++ fd.events = POLLIN;
++ else
++ fd.events = 0;
+ if (checkWrite)
+- FD_SET(socketDescriptor, &fdwrite);
+-
+- struct timeval tv;
+- tv.tv_sec = timeout / 1000;
+- tv.tv_usec = (timeout % 1000) * 1000;
+-
+- int ret;
+- ret = qt_safe_select(socketDescriptor + 1, &fdread, &fdwrite, 0, timeout < 0 ? 0 : &tv);
+-
++ fd.events |= POLLOUT;
++ int ret = qt_safe_poll(&fd, 1, timeout);
+ if (ret <= 0)
+- return ret;
+- *selectForRead = FD_ISSET(socketDescriptor, &fdread);
+- *selectForWrite = FD_ISSET(socketDescriptor, &fdwrite);
+-
++ return ret;
++ bool r = (fd.revents & (POLLIN | POLLHUP | POLLERR)) != 0;
++ bool w = (fd.revents & (POLLOUT | POLLHUP | POLLERR)) != 0;
++ // Emulate the return value from select(2).
++ ret = 0;
++ if (r)
++ ++ret;
++ if (w)
++ ++ret;
++ *selectForRead = r;
++ *selectForWrite = w;
+ return ret;
+ }
+
+diff -up qt-everywhere-opensource-src-4.8.6/src/qt3support/network/q3socketdevice_unix.cpp.poll qt-everywhere-opensource-src-4.8.6/src/qt3support/network/q3socketdevice_unix.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/qt3support/network/q3socketdevice_unix.cpp.poll 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/qt3support/network/q3socketdevice_unix.cpp 2014-03-31 18:01:59.371715381 -0500
+@@ -68,6 +68,7 @@ static inline int qt_socket_socket(int d
+ #endif
+
+ #include "q3socketdevice.h"
++#include "private/qcore_unix_p.h"
+
+ #ifndef QT_NO_NETWORK
+
+@@ -588,19 +589,10 @@ Q_LONG Q3SocketDevice::waitForMore( int
+ {
+ if ( !isValid() )
+ return -1;
+- if ( fd >= FD_SETSIZE )
+- return -1;
+-
+- fd_set fds;
+- struct timeval tv;
+-
+- FD_ZERO( &fds );
+- FD_SET( fd, &fds );
+-
+- tv.tv_sec = msecs / 1000;
+- tv.tv_usec = (msecs % 1000) * 1000;
+
+- int rv = select( fd+1, &fds, 0, 0, msecs < 0 ? 0 : &tv );
++ pollfd pfd;
++ pfd.fd = fd;
++ int rv = qt_safe_poll(&pfd, 1, msecs, /* retry_eintr */ false);
+
+ if ( rv < 0 )
+ return -1;
+diff -up qt-everywhere-opensource-src-4.8.6/src/qt3support/other/q3process_unix.cpp.poll qt-everywhere-opensource-src-4.8.6/src/qt3support/other/q3process_unix.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/qt3support/other/q3process_unix.cpp.poll 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/qt3support/other/q3process_unix.cpp 2014-03-31 18:01:59.372715370 -0500
+@@ -981,13 +981,10 @@ bool Q3Process::isRunning() const
+ // On heavy processing, the socket notifier for the sigchild might not
+ // have found time to fire yet.
+ if ( d->procManager && d->procManager->sigchldFd[1] < FD_SETSIZE ) {
+- fd_set fds;
+- struct timeval tv;
+- FD_ZERO( &fds );
+- FD_SET( d->procManager->sigchldFd[1], &fds );
+- tv.tv_sec = 0;
+- tv.tv_usec = 0;
+- if ( ::select( d->procManager->sigchldFd[1]+1, &fds, 0, 0, &tv ) > 0 )
++ pollfd fd;
++ fd.fd = d->procManager->sigchldFd[1];
++ fd.events = POLLIN;
++ if ( qt_safe_poll(&fd, 1, 0, /* retry_eintr */ false) > 0 )
+ d->procManager->sigchldHnd( d->procManager->sigchldFd[1] );
+ }
+
+@@ -1124,29 +1121,21 @@ void Q3Process::socketRead( int fd )
+ }
+ }
+
+- if ( fd < FD_SETSIZE ) {
+- fd_set fds;
+- struct timeval tv;
+- FD_ZERO( &fds );
+- FD_SET( fd, &fds );
+- tv.tv_sec = 0;
+- tv.tv_usec = 0;
+- while ( ::select( fd+1, &fds, 0, 0, &tv ) > 0 ) {
+- // prepare for the next round
+- FD_ZERO( &fds );
+- FD_SET( fd, &fds );
+- // read data
+- ba = new QByteArray( basize );
+- n = ::read( fd, ba->data(), basize );
+- if ( n > 0 ) {
+- ba->resize( n );
+- buffer->append( ba );
+- ba = 0;
+- } else {
+- delete ba;
+- ba = 0;
+- break;
+- }
++ pollfd pfd;
++ pfd.fd = fd;
++ pfd.events = POLLIN;
++ while (qt_safe_poll(&pfd, 1, 0)) {
++ // read data
++ ba = new QByteArray( basize );
++ n = ::read( fd, ba->data(), basize );
++ if ( n > 0 ) {
++ ba->resize( n );
++ buffer->append( ba );
++ ba = 0;
++ } else {
++ delete ba;
++ ba = 0;
++ break;
+ }
+ }
+
diff --git a/libraries/qt4/patches/qt-aarch64.patch b/libraries/qt4/patches/qt-aarch64.patch
new file mode 100644
index 0000000000..cbe815deab
--- /dev/null
+++ b/libraries/qt4/patches/qt-aarch64.patch
@@ -0,0 +1,514 @@
+diff -up qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri.aarch64 qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri
+--- qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri.aarch64 2015-05-08 21:48:32.714057739 -0500
++++ qt-everywhere-opensource-src-4.8.7/include/QtCore/headers.pri 2015-05-08 21:53:21.088761971 -0500
+@@ -1,3 +1,3 @@
+-SYNCQT.HEADER_FILES = ../corelib/kernel/qabstracteventdispatcher.h ../corelib/kernel/qabstractitemmodel.h ../corelib/kernel/qbasictimer.h ../corelib/kernel/qcoreapplication.h ../corelib/kernel/qcoreevent.h ../corelib/kernel/qeventloop.h ../corelib/kernel/qfunctions_nacl.h ../corelib/kernel/qfunctions_vxworks.h ../corelib/kernel/qfunctions_wince.h ../corelib/kernel/qmath.h ../corelib/kernel/qmetaobject.h ../corelib/kernel/qmetatype.h ../corelib/kernel/qmimedata.h ../corelib/kernel/qobject.h ../corelib/kernel/qobjectcleanuphandler.h ../corelib/kernel/qobjectdefs.h ../corelib/kernel/qpointer.h ../corelib/kernel/qsharedmemory.h ../corelib/kernel/qsignalmapper.h ../corelib/kernel/qsocketnotifier.h ../corelib/kernel/qsystemsemaphore.h ../corelib/kernel/qtimer.h ../corelib/kernel/qtranslator.h ../corelib/kernel/qvariant.h ../corelib/animation/qabstractanimation.h ../corelib/animation/qanimationgroup.h ../corelib/animation/qparallelanimationgroup.h ../corelib/animation/qpauseanimation.h ../corelib/animation/qpropertyanimation.h ../corelib/animation/qsequentialanimationgroup.h ../corelib/animation/qvariantanimation.h ../corelib/arch/qatomic_alpha.h ../corelib/arch/qatomic_arch.h ../corelib/arch/qatomic_arm.h ../corelib/arch/qatomic_armv5.h ../corelib/arch/qatomic_armv6.h ../corelib/arch/qatomic_armv7.h ../corelib/arch/qatomic_avr32.h ../corelib/arch/qatomic_bfin.h ../corelib/arch/qatomic_bootstrap.h ../corelib/arch/qatomic_generic.h ../corelib/arch/qatomic_i386.h ../corelib/arch/qatomic_ia64.h ../corelib/arch/qatomic_integrity.h ../corelib/arch/qatomic_m68k.h ../corelib/arch/qatomic_macosx.h ../corelib/arch/qatomic_mips.h ../corelib/arch/qatomic_parisc.h ../corelib/arch/qatomic_powerpc.h ../corelib/arch/qatomic_s390.h ../corelib/arch/qatomic_sh.h ../corelib/arch/qatomic_sh4a.h ../corelib/arch/qatomic_sparc.h ../corelib/arch/qatomic_symbian.h ../corelib/arch/qatomic_vxworks.h ../corelib/arch/qatomic_windows.h ../corelib/arch/qatomic_windowsce.h ../corelib/arch/qatomic_x86_64.h ../corelib/tools/qalgorithms.h ../corelib/tools/qbitarray.h ../corelib/tools/qbytearray.h ../corelib/tools/qbytearraymatcher.h ../corelib/tools/qcache.h ../corelib/tools/qchar.h ../corelib/tools/qcontainerfwd.h ../corelib/tools/qcontiguouscache.h ../corelib/tools/qcryptographichash.h ../corelib/tools/qdatetime.h ../corelib/tools/qeasingcurve.h ../corelib/tools/qelapsedtimer.h ../corelib/tools/qhash.h ../corelib/tools/qiterator.h ../corelib/tools/qline.h ../corelib/tools/qlinkedlist.h ../corelib/tools/qlist.h ../corelib/tools/qlocale.h ../corelib/tools/qlocale_blackberry.h ../corelib/tools/qmap.h ../corelib/tools/qmargins.h ../corelib/tools/qpair.h ../corelib/tools/qpoint.h ../corelib/tools/qqueue.h ../corelib/tools/qrect.h ../corelib/tools/qregexp.h ../corelib/tools/qscopedpointer.h ../corelib/tools/qscopedvaluerollback.h ../corelib/tools/qset.h ../corelib/tools/qshareddata.h ../corelib/tools/qsharedpointer.h ../corelib/tools/qsharedpointer_impl.h ../corelib/tools/qsize.h ../corelib/tools/qstack.h ../corelib/tools/qstring.h ../corelib/tools/qstringbuilder.h ../corelib/tools/qstringlist.h ../corelib/tools/qstringmatcher.h ../corelib/tools/qtextboundaryfinder.h ../corelib/tools/qtimeline.h ../corelib/tools/qvarlengtharray.h ../corelib/tools/qvector.h ../corelib/plugin/qfactoryinterface.h ../corelib/plugin/qlibrary.h ../corelib/plugin/qplugin.h ../corelib/plugin/qpluginloader.h ../corelib/plugin/quuid.h ../corelib/xml/qxmlstream.h ../corelib/thread/qatomic.h ../corelib/thread/qbasicatomic.h ../corelib/thread/qmutex.h ../corelib/thread/qreadwritelock.h ../corelib/thread/qsemaphore.h ../corelib/thread/qthread.h ../corelib/thread/qthreadstorage.h ../corelib/thread/qwaitcondition.h ../corelib/statemachine/qabstractstate.h ../corelib/statemachine/qabstracttransition.h ../corelib/statemachine/qeventtransition.h ../corelib/statemachine/qfinalstate.h ../corelib/statemachine/qhistorystate.h ../corelib/statemachine/qsignaltransition.h ../corelib/statemachine/qstate.h ../corelib/statemachine/qstatemachine.h ../corelib/concurrent/qfuture.h ../corelib/concurrent/qfutureinterface.h ../corelib/concurrent/qfuturesynchronizer.h ../corelib/concurrent/qfuturewatcher.h ../corelib/concurrent/qrunnable.h ../corelib/concurrent/qtconcurrentcompilertest.h ../corelib/concurrent/qtconcurrentexception.h ../corelib/concurrent/qtconcurrentfilter.h ../corelib/concurrent/qtconcurrentfilterkernel.h ../corelib/concurrent/qtconcurrentfunctionwrappers.h ../corelib/concurrent/qtconcurrentiteratekernel.h ../corelib/concurrent/qtconcurrentmap.h ../corelib/concurrent/qtconcurrentmapkernel.h ../corelib/concurrent/qtconcurrentmedian.h ../corelib/concurrent/qtconcurrentreducekernel.h ../corelib/concurrent/qtconcurrentresultstore.h ../corelib/concurrent/qtconcurrentrun.h ../corelib/concurrent/qtconcurrentrunbase.h ../corelib/concurrent/qtconcurrentstoredfunctioncall.h ../corelib/concurrent/qtconcurrentthreadengine.h ../corelib/concurrent/qthreadpool.h ../corelib/io/qabstractfileengine.h ../corelib/io/qbuffer.h ../corelib/io/qdatastream.h ../corelib/io/qdebug.h ../corelib/io/qdir.h ../corelib/io/qdiriterator.h ../corelib/io/qfile.h ../corelib/io/qfileinfo.h ../corelib/io/qfilesystemwatcher.h ../corelib/io/qfsfileengine.h ../corelib/io/qiodevice.h ../corelib/io/qprocess.h ../corelib/io/qresource.h ../corelib/io/qsettings.h ../corelib/io/qtemporaryfile.h ../corelib/io/qtextstream.h ../corelib/io/qurl.h ../corelib/global/qconfig-dist.h ../corelib/global/qconfig-large.h ../corelib/global/qconfig-medium.h ../corelib/global/qconfig-minimal.h ../corelib/global/qconfig-nacl.h ../corelib/global/qconfig-small.h ../corelib/global/qendian.h ../corelib/global/qfeatures.h ../corelib/global/qglobal.h ../corelib/global/qlibraryinfo.h ../corelib/global/qnamespace.h ../corelib/global/qnumeric.h ../corelib/global/qt_windows.h ../corelib/global/qconfig.h ../corelib/codecs/qtextcodec.h ../corelib/codecs/qtextcodecplugin.h ../../include/QtCore/QtCore
++SYNCQT.HEADER_FILES = ../corelib/kernel/qabstracteventdispatcher.h ../corelib/kernel/qabstractitemmodel.h ../corelib/kernel/qbasictimer.h ../corelib/kernel/qcoreapplication.h ../corelib/kernel/qcoreevent.h ../corelib/kernel/qeventloop.h ../corelib/kernel/qfunctions_nacl.h ../corelib/kernel/qfunctions_vxworks.h ../corelib/kernel/qfunctions_wince.h ../corelib/kernel/qmath.h ../corelib/kernel/qmetaobject.h ../corelib/kernel/qmetatype.h ../corelib/kernel/qmimedata.h ../corelib/kernel/qobject.h ../corelib/kernel/qobjectcleanuphandler.h ../corelib/kernel/qobjectdefs.h ../corelib/kernel/qpointer.h ../corelib/kernel/qsharedmemory.h ../corelib/kernel/qsignalmapper.h ../corelib/kernel/qsocketnotifier.h ../corelib/kernel/qsystemsemaphore.h ../corelib/kernel/qtimer.h ../corelib/kernel/qtranslator.h ../corelib/kernel/qvariant.h ../corelib/animation/qabstractanimation.h ../corelib/animation/qanimationgroup.h ../corelib/animation/qparallelanimationgroup.h ../corelib/animation/qpauseanimation.h ../corelib/animation/qpropertyanimation.h ../corelib/animation/qsequentialanimationgroup.h ../corelib/animation/qvariantanimation.h ../corelib/arch/qatomic_aarch64.h ../corelib/arch/qatomic_alpha.h ../corelib/arch/qatomic_arch.h ../corelib/arch/qatomic_arm.h ../corelib/arch/qatomic_armv5.h ../corelib/arch/qatomic_armv6.h ../corelib/arch/qatomic_armv7.h ../corelib/arch/qatomic_avr32.h ../corelib/arch/qatomic_bfin.h ../corelib/arch/qatomic_bootstrap.h ../corelib/arch/qatomic_generic.h ../corelib/arch/qatomic_i386.h ../corelib/arch/qatomic_ia64.h ../corelib/arch/qatomic_integrity.h ../corelib/arch/qatomic_m68k.h ../corelib/arch/qatomic_macosx.h ../corelib/arch/qatomic_mips.h ../corelib/arch/qatomic_parisc.h ../corelib/arch/qatomic_powerpc.h ../corelib/arch/qatomic_s390.h ../corelib/arch/qatomic_sh.h ../corelib/arch/qatomic_sh4a.h ../corelib/arch/qatomic_sparc.h ../corelib/arch/qatomic_symbian.h ../corelib/arch/qatomic_vxworks.h ../corelib/arch/qatomic_windows.h ../corelib/arch/qatomic_windowsce.h ../corelib/arch/qatomic_x86_64.h ../corelib/tools/qalgorithms.h ../corelib/tools/qbitarray.h ../corelib/tools/qbytearray.h ../corelib/tools/qbytearraymatcher.h ../corelib/tools/qcache.h ../corelib/tools/qchar.h ../corelib/tools/qcontainerfwd.h ../corelib/tools/qcontiguouscache.h ../corelib/tools/qcryptographichash.h ../corelib/tools/qdatetime.h ../corelib/tools/qeasingcurve.h ../corelib/tools/qelapsedtimer.h ../corelib/tools/qhash.h ../corelib/tools/qiterator.h ../corelib/tools/qline.h ../corelib/tools/qlinkedlist.h ../corelib/tools/qlist.h ../corelib/tools/qlocale.h ../corelib/tools/qlocale_blackberry.h ../corelib/tools/qmap.h ../corelib/tools/qmargins.h ../corelib/tools/qpair.h ../corelib/tools/qpoint.h ../corelib/tools/qqueue.h ../corelib/tools/qrect.h ../corelib/tools/qregexp.h ../corelib/tools/qscopedpointer.h ../corelib/tools/qscopedvaluerollback.h ../corelib/tools/qset.h ../corelib/tools/qshareddata.h ../corelib/tools/qsharedpointer.h ../corelib/tools/qsharedpointer_impl.h ../corelib/tools/qsize.h ../corelib/tools/qstack.h ../corelib/tools/qstring.h ../corelib/tools/qstringbuilder.h ../corelib/tools/qstringlist.h ../corelib/tools/qstringmatcher.h ../corelib/tools/qtextboundaryfinder.h ../corelib/tools/qtimeline.h ../corelib/tools/qvarlengtharray.h ../corelib/tools/qvector.h ../corelib/plugin/qfactoryinterface.h ../corelib/plugin/qlibrary.h ../corelib/plugin/qplugin.h ../corelib/plugin/qpluginloader.h ../corelib/plugin/quuid.h ../corelib/xml/qxmlstream.h ../corelib/thread/qatomic.h ../corelib/thread/qbasicatomic.h ../corelib/thread/qmutex.h ../corelib/thread/qreadwritelock.h ../corelib/thread/qsemaphore.h ../corelib/thread/qthread.h ../corelib/thread/qthreadstorage.h ../corelib/thread/qwaitcondition.h ../corelib/statemachine/qabstractstate.h ../corelib/statemachine/qabstracttransition.h ../corelib/statemachine/qeventtransition.h ../corelib/statemachine/qfinalstate.h ../corelib/statemachine/qhistorystate.h ../corelib/statemachine/qsignaltransition.h ../corelib/statemachine/qstate.h ../corelib/statemachine/qstatemachine.h ../corelib/concurrent/qfuture.h ../corelib/concurrent/qfutureinterface.h ../corelib/concurrent/qfuturesynchronizer.h ../corelib/concurrent/qfuturewatcher.h ../corelib/concurrent/qrunnable.h ../corelib/concurrent/qtconcurrentcompilertest.h ../corelib/concurrent/qtconcurrentexception.h ../corelib/concurrent/qtconcurrentfilter.h ../corelib/concurrent/qtconcurrentfilterkernel.h ../corelib/concurrent/qtconcurrentfunctionwrappers.h ../corelib/concurrent/qtconcurrentiteratekernel.h ../corelib/concurrent/qtconcurrentmap.h ../corelib/concurrent/qtconcurrentmapkernel.h ../corelib/concurrent/qtconcurrentmedian.h ../corelib/concurrent/qtconcurrentreducekernel.h ../corelib/concurrent/qtconcurrentresultstore.h ../corelib/concurrent/qtconcurrentrun.h ../corelib/concurrent/qtconcurrentrunbase.h ../corelib/concurrent/qtconcurrentstoredfunctioncall.h ../corelib/concurrent/qtconcurrentthreadengine.h ../corelib/concurrent/qthreadpool.h ../corelib/io/qabstractfileengine.h ../corelib/io/qbuffer.h ../corelib/io/qdatastream.h ../corelib/io/qdebug.h ../corelib/io/qdir.h ../corelib/io/qdiriterator.h ../corelib/io/qfile.h ../corelib/io/qfileinfo.h ../corelib/io/qfilesystemwatcher.h ../corelib/io/qfsfileengine.h ../corelib/io/qiodevice.h ../corelib/io/qprocess.h ../corelib/io/qresource.h ../corelib/io/qsettings.h ../corelib/io/qtemporaryfile.h ../corelib/io/qtextstream.h ../corelib/io/qurl.h ../corelib/global/qconfig-dist.h ../corelib/global/qconfig-large.h ../corelib/global/qconfig-medium.h ../corelib/global/qconfig-minimal.h ../corelib/global/qconfig-nacl.h ../corelib/global/qconfig-small.h ../corelib/global/qendian.h ../corelib/global/qfeatures.h ../corelib/global/qglobal.h ../corelib/global/qlibraryinfo.h ../corelib/global/qnamespace.h ../corelib/global/qnumeric.h ../corelib/global/qt_windows.h ../corelib/global/qconfig.h ../corelib/codecs/qtextcodec.h ../corelib/codecs/qtextcodecplugin.h ../../include/QtCore/QtCore
+ SYNCQT.HEADER_CLASSES = ../../include/QtCore/QAbstractEventDispatcher ../../include/QtCore/QModelIndex ../../include/QtCore/QPersistentModelIndex ../../include/QtCore/QModelIndexList ../../include/QtCore/QAbstractItemModel ../../include/QtCore/QAbstractTableModel ../../include/QtCore/QAbstractListModel ../../include/QtCore/QBasicTimer ../../include/QtCore/QCoreApplication ../../include/QtCore/QtCleanUpFunction ../../include/QtCore/QEvent ../../include/QtCore/QTimerEvent ../../include/QtCore/QChildEvent ../../include/QtCore/QCustomEvent ../../include/QtCore/QDynamicPropertyChangeEvent ../../include/QtCore/QEventLoop ../../include/QtCore/QMetaMethod ../../include/QtCore/QMetaEnum ../../include/QtCore/QMetaProperty ../../include/QtCore/QMetaClassInfo ../../include/QtCore/QMetaType ../../include/QtCore/QMetaTypeId ../../include/QtCore/QMetaTypeId2 ../../include/QtCore/QMimeData ../../include/QtCore/QObjectList ../../include/QtCore/QObjectData ../../include/QtCore/QObject ../../include/QtCore/QObjectUserData ../../include/QtCore/QObjectCleanupHandler ../../include/QtCore/QGenericArgument ../../include/QtCore/QGenericReturnArgument ../../include/QtCore/QArgument ../../include/QtCore/QReturnArgument ../../include/QtCore/QMetaObject ../../include/QtCore/QMetaObjectAccessor ../../include/QtCore/QMetaObjectExtraData ../../include/QtCore/QPointer ../../include/QtCore/QSharedMemory ../../include/QtCore/QSignalMapper ../../include/QtCore/QSocketNotifier ../../include/QtCore/QSystemSemaphore ../../include/QtCore/QTimer ../../include/QtCore/QTranslator ../../include/QtCore/QVariant ../../include/QtCore/QVariantList ../../include/QtCore/QVariantMap ../../include/QtCore/QVariantHash ../../include/QtCore/QVariantComparisonHelper ../../include/QtCore/QAbstractAnimation ../../include/QtCore/QAnimationDriver ../../include/QtCore/QAnimationGroup ../../include/QtCore/QParallelAnimationGroup ../../include/QtCore/QPauseAnimation ../../include/QtCore/QPropertyAnimation ../../include/QtCore/QSequentialAnimationGroup ../../include/QtCore/QVariantAnimation ../../include/QtCore/QtAlgorithms ../../include/QtCore/QBitArray ../../include/QtCore/QBitRef ../../include/QtCore/QByteArray ../../include/QtCore/QByteRef ../../include/QtCore/QByteArrayMatcher ../../include/QtCore/QCache ../../include/QtCore/QLatin1Char ../../include/QtCore/QChar ../../include/QtCore/QtContainerFwd ../../include/QtCore/QContiguousCacheData ../../include/QtCore/QContiguousCacheTypedData ../../include/QtCore/QContiguousCache ../../include/QtCore/QCryptographicHash ../../include/QtCore/QDate ../../include/QtCore/QTime ../../include/QtCore/QDateTime ../../include/QtCore/QEasingCurve ../../include/QtCore/QElapsedTimer ../../include/QtCore/QHashData ../../include/QtCore/QHashDummyValue ../../include/QtCore/QHashDummyNode ../../include/QtCore/QHashNode ../../include/QtCore/QHash ../../include/QtCore/QMultiHash ../../include/QtCore/QHashIterator ../../include/QtCore/QMutableHashIterator ../../include/QtCore/QLine ../../include/QtCore/QLineF ../../include/QtCore/QLinkedListData ../../include/QtCore/QLinkedListNode ../../include/QtCore/QLinkedList ../../include/QtCore/QLinkedListIterator ../../include/QtCore/QMutableLinkedListIterator ../../include/QtCore/QListData ../../include/QtCore/QList ../../include/QtCore/QListIterator ../../include/QtCore/QMutableListIterator ../../include/QtCore/QSystemLocale ../../include/QtCore/QLocale ../../include/QtCore/QBBSystemLocaleData ../../include/QtCore/QMapData ../../include/QtCore/QMapNode ../../include/QtCore/QMapPayloadNode ../../include/QtCore/QMap ../../include/QtCore/QMultiMap ../../include/QtCore/QMapIterator ../../include/QtCore/QMutableMapIterator ../../include/QtCore/QMargins ../../include/QtCore/QPair ../../include/QtCore/QPoint ../../include/QtCore/QPointF ../../include/QtCore/QQueue ../../include/QtCore/QRect ../../include/QtCore/QRectF ../../include/QtCore/QRegExp ../../include/QtCore/QScopedPointerDeleter ../../include/QtCore/QScopedPointerArrayDeleter ../../include/QtCore/QScopedPointerPodDeleter ../../include/QtCore/QScopedPointer ../../include/QtCore/QScopedArrayPointer ../../include/QtCore/QScopedValueRollback ../../include/QtCore/QSet ../../include/QtCore/QSetIterator ../../include/QtCore/QMutableSetIterator ../../include/QtCore/QSharedData ../../include/QtCore/QSharedDataPointer ../../include/QtCore/QExplicitlySharedDataPointer ../../include/QtCore/QSharedPointer ../../include/QtCore/QWeakPointer ../../include/QtCore/QSize ../../include/QtCore/QSizeF ../../include/QtCore/QStack ../../include/QtCore/QStdWString ../../include/QtCore/QString ../../include/QtCore/QLatin1String ../../include/QtCore/QCharRef ../../include/QtCore/QConstString ../../include/QtCore/QStringRef ../../include/QtCore/QLatin1Literal ../../include/QtCore/QAbstractConcatenable ../../include/QtCore/QConcatenable ../../include/QtCore/QStringBuilder ../../include/QtCore/QStringListIterator ../../include/QtCore/QMutableStringListIterator ../../include/QtCore/QStringList ../../include/QtCore/QStringMatcher ../../include/QtCore/QTextBoundaryFinder ../../include/QtCore/QTimeLine ../../include/QtCore/QVarLengthArray ../../include/QtCore/QVectorData ../../include/QtCore/QVectorTypedData ../../include/QtCore/QVector ../../include/QtCore/QVectorIterator ../../include/QtCore/QMutableVectorIterator ../../include/QtCore/QFactoryInterface ../../include/QtCore/QLibrary ../../include/QtCore/QtPlugin ../../include/QtCore/QtPluginInstanceFunction ../../include/QtCore/QPluginLoader ../../include/QtCore/QUuid ../../include/QtCore/QXmlStreamStringRef ../../include/QtCore/QXmlStreamAttribute ../../include/QtCore/QXmlStreamAttributes ../../include/QtCore/QXmlStreamNamespaceDeclaration ../../include/QtCore/QXmlStreamNamespaceDeclarations ../../include/QtCore/QXmlStreamNotationDeclaration ../../include/QtCore/QXmlStreamNotationDeclarations ../../include/QtCore/QXmlStreamEntityDeclaration ../../include/QtCore/QXmlStreamEntityDeclarations ../../include/QtCore/QXmlStreamEntityResolver ../../include/QtCore/QXmlStreamReader ../../include/QtCore/QXmlStreamWriter ../../include/QtCore/QAtomicInt ../../include/QtCore/QAtomicPointer ../../include/QtCore/QBasicAtomicInt ../../include/QtCore/QBasicAtomicPointer ../../include/QtCore/QMutex ../../include/QtCore/QMutexLocker ../../include/QtCore/QMutexData ../../include/QtCore/QReadWriteLock ../../include/QtCore/QReadLocker ../../include/QtCore/QWriteLocker ../../include/QtCore/QSemaphore ../../include/QtCore/QThread ../../include/QtCore/QThreadStorageData ../../include/QtCore/QThreadStorage ../../include/QtCore/QWaitCondition ../../include/QtCore/QAbstractState ../../include/QtCore/QAbstractTransition ../../include/QtCore/QEventTransition ../../include/QtCore/QFinalState ../../include/QtCore/QHistoryState ../../include/QtCore/QSignalTransition ../../include/QtCore/QState ../../include/QtCore/QStateMachine ../../include/QtCore/QFuture ../../include/QtCore/QFutureIterator ../../include/QtCore/QMutableFutureIterator ../../include/QtCore/QFutureInterfaceBase ../../include/QtCore/QFutureInterface ../../include/QtCore/QFutureSynchronizer ../../include/QtCore/QFutureWatcherBase ../../include/QtCore/QFutureWatcher ../../include/QtCore/QRunnable ../../include/QtCore/QtConcurrentFilter ../../include/QtCore/QtConcurrentMap ../../include/QtCore/QtConcurrentRun ../../include/QtCore/QThreadPool ../../include/QtCore/QAbstractFileEngine ../../include/QtCore/QAbstractFileEngineHandler ../../include/QtCore/QAbstractFileEngineIterator ../../include/QtCore/QBuffer ../../include/QtCore/QDataStream ../../include/QtCore/QtDebug ../../include/QtCore/QDebug ../../include/QtCore/QNoDebug ../../include/QtCore/QDir ../../include/QtCore/QDirIterator ../../include/QtCore/QFile ../../include/QtCore/QFileInfo ../../include/QtCore/QFileInfoList ../../include/QtCore/QFileInfoListIterator ../../include/QtCore/QFileSystemWatcher ../../include/QtCore/QFSFileEngine ../../include/QtCore/QIODevice ../../include/QtCore/Q_PID ../../include/QtCore/QProcessEnvironment ../../include/QtCore/QProcess ../../include/QtCore/QResource ../../include/QtCore/QSettings ../../include/QtCore/QTemporaryFile ../../include/QtCore/QTextStream ../../include/QtCore/QTextStreamFunction ../../include/QtCore/QTextStreamManipulator ../../include/QtCore/QTS ../../include/QtCore/QTextIStream ../../include/QtCore/QTextOStream ../../include/QtCore/QUrl ../../include/QtCore/QtEndian ../../include/QtCore/QtGlobal ../../include/QtCore/QIntegerForSize ../../include/QtCore/QNoImplicitBoolCast ../../include/QtCore/Q_INT8 ../../include/QtCore/Q_UINT8 ../../include/QtCore/Q_INT16 ../../include/QtCore/Q_UINT16 ../../include/QtCore/Q_INT32 ../../include/QtCore/Q_UINT32 ../../include/QtCore/Q_INT64 ../../include/QtCore/Q_UINT64 ../../include/QtCore/Q_LLONG ../../include/QtCore/Q_ULLONG ../../include/QtCore/Q_LONG ../../include/QtCore/Q_ULONG ../../include/QtCore/QSysInfo ../../include/QtCore/QtMsgHandler ../../include/QtCore/QGlobalStatic ../../include/QtCore/QGlobalStaticDeleter ../../include/QtCore/QBool ../../include/QtCore/QTypeInfo ../../include/QtCore/QFlag ../../include/QtCore/QIncompatibleFlag ../../include/QtCore/QFlags ../../include/QtCore/QForeachContainer ../../include/QtCore/QForeachContainerBase ../../include/QtCore/QLibraryInfo ../../include/QtCore/Qt ../../include/QtCore/QInternal ../../include/QtCore/QCOORD ../../include/QtCore/QtConfig ../../include/QtCore/QTextCodec ../../include/QtCore/QTextEncoder ../../include/QtCore/QTextDecoder ../../include/QtCore/QTextCodecFactoryInterface ../../include/QtCore/QTextCodecPlugin
+ SYNCQT.PRIVATE_HEADER_FILES = ../corelib/kernel/qabstracteventdispatcher_p.h ../corelib/kernel/qabstractitemmodel_p.h ../corelib/kernel/qcore_mac_p.h ../corelib/kernel/qcore_symbian_p.h ../corelib/kernel/qcore_unix_p.h ../corelib/kernel/qcoreapplication_p.h ../corelib/kernel/qcorecmdlineargs_p.h ../corelib/kernel/qcoreglobaldata_p.h ../corelib/kernel/qcrashhandler_p.h ../corelib/kernel/qeventdispatcher_blackberry_p.h ../corelib/kernel/qeventdispatcher_glib_p.h ../corelib/kernel/qeventdispatcher_symbian_p.h ../corelib/kernel/qeventdispatcher_unix_p.h ../corelib/kernel/qeventdispatcher_win_p.h ../corelib/kernel/qfunctions_p.h ../corelib/kernel/qmetaobject_p.h ../corelib/kernel/qobject_p.h ../corelib/kernel/qsharedmemory_p.h ../corelib/kernel/qsystemerror_p.h ../corelib/kernel/qsystemsemaphore_p.h ../corelib/kernel/qtranslator_p.h ../corelib/kernel/qvariant_p.h ../corelib/kernel/qwineventnotifier_p.h ../corelib/animation/qabstractanimation_p.h ../corelib/animation/qanimationgroup_p.h ../corelib/animation/qparallelanimationgroup_p.h ../corelib/animation/qpropertyanimation_p.h ../corelib/animation/qsequentialanimationgroup_p.h ../corelib/animation/qvariantanimation_p.h ../corelib/tools/qbytedata_p.h ../corelib/tools/qdatetime_p.h ../corelib/tools/qharfbuzz_p.h ../corelib/tools/qlocale_data_p.h ../corelib/tools/qlocale_p.h ../corelib/tools/qlocale_tools_p.h ../corelib/tools/qpodlist_p.h ../corelib/tools/qringbuffer_p.h ../corelib/tools/qscopedpointer_p.h ../corelib/tools/qsimd_p.h ../corelib/tools/qtools_p.h ../corelib/tools/qunicodetables_p.h ../corelib/plugin/qelfparser_p.h ../corelib/plugin/qfactoryloader_p.h ../corelib/plugin/qlibrary_p.h ../corelib/plugin/qsystemlibrary_p.h ../corelib/xml/qxmlstream_p.h ../corelib/xml/qxmlutils_p.h ../corelib/thread/qmutex_p.h ../corelib/thread/qmutexpool_p.h ../corelib/thread/qorderedmutexlocker_p.h ../corelib/thread/qreadwritelock_p.h ../corelib/thread/qthread_p.h ../corelib/statemachine/qabstractstate_p.h ../corelib/statemachine/qabstracttransition_p.h ../corelib/statemachine/qeventtransition_p.h ../corelib/statemachine/qhistorystate_p.h ../corelib/statemachine/qsignaleventgenerator_p.h ../corelib/statemachine/qsignaltransition_p.h ../corelib/statemachine/qstate_p.h ../corelib/statemachine/qstatemachine_p.h ../corelib/concurrent/qfutureinterface_p.h ../corelib/concurrent/qfuturewatcher_p.h ../corelib/concurrent/qthreadpool_p.h ../corelib/io/qabstractfileengine_p.h ../corelib/io/qdatastream_p.h ../corelib/io/qdataurl_p.h ../corelib/io/qdir_p.h ../corelib/io/qfile_p.h ../corelib/io/qfileinfo_p.h ../corelib/io/qfilesystemengine_p.h ../corelib/io/qfilesystementry_p.h ../corelib/io/qfilesystemiterator_p.h ../corelib/io/qfilesystemmetadata_p.h ../corelib/io/qfilesystemwatcher_dnotify_p.h ../corelib/io/qfilesystemwatcher_fsevents_p.h ../corelib/io/qfilesystemwatcher_inotify_p.h ../corelib/io/qfilesystemwatcher_kqueue_p.h ../corelib/io/qfilesystemwatcher_p.h ../corelib/io/qfilesystemwatcher_symbian_p.h ../corelib/io/qfilesystemwatcher_win_p.h ../corelib/io/qfsfileengine_iterator_p.h ../corelib/io/qfsfileengine_p.h ../corelib/io/qiodevice_p.h ../corelib/io/qnoncontiguousbytedevice_p.h ../corelib/io/qprocess_p.h ../corelib/io/qresource_iterator_p.h ../corelib/io/qresource_p.h ../corelib/io/qsettings_p.h ../corelib/io/qtldurl_p.h ../corelib/io/qurltlds_p.h ../corelib/io/qwindowspipewriter_p.h ../corelib/global/qnumeric_p.h ../corelib/global/qt_pch.h ../corelib/codecs/qfontlaocodec_p.h ../corelib/codecs/qiconvcodec_p.h ../corelib/codecs/qisciicodec_p.h ../corelib/codecs/qlatincodec_p.h ../corelib/codecs/qsimplecodec_p.h ../corelib/codecs/qtextcodec_p.h ../corelib/codecs/qtsciicodec_p.h ../corelib/codecs/qutfcodec_p.h
+diff -up qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h.aarch64 qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h
+--- qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h.aarch64 2015-05-08 21:48:32.715057744 -0500
++++ qt-everywhere-opensource-src-4.8.7/include/QtCore/qatomic_aarch64.h 2015-05-08 21:48:32.715057744 -0500
+@@ -0,0 +1 @@
++#include "../../src/corelib/arch/qatomic_aarch64.h"
+diff -up qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri.aarch64 qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri
+--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri.aarch64 2015-05-07 09:14:47.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/JavaScriptCore.pri 2015-05-08 21:48:33.268061013 -0500
+@@ -66,6 +66,12 @@ contains(JAVASCRIPTCORE_JIT,no) {
+ }
+ }
+
++# Hack around AARCH64 fail wrt JSValue.h
++equals(QT_ARCH, aarch64) {
++ message("JavaScriptCore aarch64 hack: -fpermissive")
++ QMAKE_CXXFLAGS += -fpermissive
++}
++
+ wince* {
+ INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat
+ SOURCES += $$QT_SOURCE_TREE/src/3rdparty/ce-compat/ce_time.c
+diff -up qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri.aarch64 qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri
+--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri.aarch64 2015-05-07 09:14:45.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri 2015-05-08 21:48:33.268061013 -0500
+@@ -63,6 +63,12 @@ contains (CONFIG, text_breaking_with_icu
+ DEFINES += WTF_USE_QT_ICU_TEXT_BREAKING=1
+ }
+
++# Hack around AARCH64 fail wrt JSValue.h
++equals(QT_ARCH, aarch64) {
++ message("JavaScriptCore aarch64 hack: -fpermissive")
++ QMAKE_CXXFLAGS += -fpermissive
++}
++
+ wince* {
+ INCLUDEPATH += $$QT_SOURCE_TREE/src/3rdparty/ce-compat
+ INCLUDEPATH += $$PWD/../JavaScriptCore/os-win32
+diff -up qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.aarch64 qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
+--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.aarch64 2015-05-07 09:14:45.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h 2015-05-08 21:48:33.269061019 -0500
+@@ -369,7 +369,16 @@
+
+ #endif /* ARM */
+
+-#if CPU(ARM) || CPU(MIPS) || CPU(SH4)
++/* CPU(AARCH64) - AArch64 */
++#if defined(__aarch64__)
++#define WTF_CPU_AARCH64 1
++#if defined(__AARCH64EB__)
++#define WTF_CPU_BIG_ENDIAN 1
++#endif
++#endif
++
++/* Not sure about this one, qt5-qtwebkit doesn't include it -- rex */
++#if CPU(ARM) || CPU(MIPS) || CPU(SH4) || CPU(AARCH64)
+ #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
+ #endif
+
+@@ -1003,7 +1012,7 @@
+ || CPU(SPARC64) \
+ || CPU(S390X) \
+ || CPU(PPC64) \
+- || CPU(MIPS64)
++ || CPU(MIPS64) || CPU(AARCH64)
+ #define WTF_USE_JSVALUE64 1
+ #else
+ #define WTF_USE_JSVALUE32_64 1
+diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp.aarch64 2015-05-08 21:48:33.269061019 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/aarch64/qatomic_aarch64.cpp 2015-05-08 21:48:33.269061019 -0500
+@@ -0,0 +1,70 @@
++/****************************************************************************
++**
++** Copyright (C) 2012, 2013 Digia Plc and/or its subsidiary(-ies).
++** Contact: http://www.qt-project.org/legal
++**
++** This file is part of the QtCore module of the Qt Toolkit.
++**
++** $QT_BEGIN_LICENSE:LGPL$
++** Commercial License Usage
++** Licensees holding valid commercial Qt licenses may use this file in
++** accordance with the commercial license agreement provided with the
++** Software or, alternatively, in accordance with the terms contained in
++** a written agreement between you and Digia. For licensing terms and
++** conditions see http://qt.digia.com/licensing. For further information
++** use the contact form at http://qt.digia.com/contact-us.
++**
++** GNU Lesser General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU Lesser
++** General Public License version 2.1 as published by the Free Software
++** Foundation and appearing in the file LICENSE.LGPL included in the
++** packaging of this file. Please review the following information to
++** ensure the GNU Lesser General Public License version 2.1 requirements
++** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
++**
++** In addition, as a special exception, Digia gives you certain additional
++** rights. These rights are described in the Digia Qt LGPL Exception
++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
++**
++** GNU General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU
++** General Public License version 3.0 as published by the Free Software
++** Foundation and appearing in the file LICENSE.GPL included in the
++** packaging of this file. Please review the following information to
++** ensure the GNU General Public License version 3.0 requirements will be
++** met: http://www.gnu.org/copyleft/gpl.html.
++**
++**
++** $QT_END_LICENSE$
++**
++****************************************************************************/
++
++#include <QtCore/qglobal.h>
++
++#include <unistd.h>
++#ifdef _POSIX_PRIORITY_SCHEDULING
++# include <sched.h>
++#endif
++#include <time.h>
++
++QT_BEGIN_NAMESPACE
++
++QT_USE_NAMESPACE
++
++Q_CORE_EXPORT void qt_atomic_yield(int *count)
++{
++#ifdef _POSIX_PRIORITY_SCHEDULING
++ if((*count)++ < 50) {
++ sched_yield();
++ } else
++#endif
++ {
++ struct timespec tm;
++ tm.tv_sec = 0;
++ tm.tv_nsec = 2000001;
++ nanosleep(&tm, NULL);
++ *count = 0;
++ }
++}
++
++QT_END_NAMESPACE
+diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri
+--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri.aarch64 2015-05-07 09:14:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/arch.pri 2015-05-08 21:48:33.270061025 -0500
+@@ -31,7 +31,9 @@ integrity:HEADERS += arch/qatomic_integr
+ arch/qatomic_s390.h \
+ arch/qatomic_x86_64.h \
+ arch/qatomic_sh.h \
+- arch/qatomic_sh4a.h
++ arch/qatomic_sh4a.h \
++ arch/qatomic_aarch64.h \
++
+
+ QT_ARCH_CPP = $$QT_SOURCE_TREE/src/corelib/arch/$$QT_ARCH
+ DEPENDPATH += $$QT_ARCH_CPP
+diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h
+--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h.aarch64 2015-05-08 21:48:33.270061025 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_aarch64.h 2015-05-08 21:48:33.270061025 -0500
+@@ -0,0 +1,335 @@
++/****************************************************************************
++**
++** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
++** Contact: http://www.qt-project.org/legal
++**
++** This file is part of the QtCore module of the Qt Toolkit.
++**
++** $QT_BEGIN_LICENSE:LGPL$
++** Commercial License Usage
++** Licensees holding valid commercial Qt licenses may use this file in
++** accordance with the commercial license agreement provided with the
++** Software or, alternatively, in accordance with the terms contained in
++** a written agreement between you and Digia. For licensing terms and
++** conditions see http://qt.digia.com/licensing. For further information
++** use the contact form at http://qt.digia.com/contact-us.
++**
++** GNU Lesser General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU Lesser
++** General Public License version 2.1 as published by the Free Software
++** Foundation and appearing in the file LICENSE.LGPL included in the
++** packaging of this file. Please review the following information to
++** ensure the GNU Lesser General Public License version 2.1 requirements
++** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
++**
++** In addition, as a special exception, Digia gives you certain additional
++** rights. These rights are described in the Digia Qt LGPL Exception
++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
++**
++** GNU General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU
++** General Public License version 3.0 as published by the Free Software
++** Foundation and appearing in the file LICENSE.GPL included in the
++** packaging of this file. Please review the following information to
++** ensure the GNU General Public License version 3.0 requirements will be
++** met: http://www.gnu.org/copyleft/gpl.html.
++**
++**
++** $QT_END_LICENSE$
++**
++****************************************************************************/
++
++#ifndef QATOMIC_AARCH64_H
++#define QATOMIC_AARCH64_H
++
++QT_BEGIN_HEADER
++
++QT_BEGIN_NAMESPACE
++
++#define Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE
++
++inline bool QBasicAtomicInt::isReferenceCountingNative()
++{ return true; }
++inline bool QBasicAtomicInt::isReferenceCountingWaitFree()
++{ return false; }
++
++#define Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE
++
++inline bool QBasicAtomicInt::isTestAndSetNative()
++{ return true; }
++inline bool QBasicAtomicInt::isTestAndSetWaitFree()
++{ return false; }
++
++#define Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE
++
++inline bool QBasicAtomicInt::isFetchAndStoreNative()
++{ return true; }
++inline bool QBasicAtomicInt::isFetchAndStoreWaitFree()
++{ return false; }
++
++#define Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE
++
++inline bool QBasicAtomicInt::isFetchAndAddNative()
++{ return true; }
++inline bool QBasicAtomicInt::isFetchAndAddWaitFree()
++{ return false; }
++
++#define Q_ATOMIC_POINTER_TEST_AND_SET_IS_ALWAYS_NATIVE
++
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::isTestAndSetNative()
++{ return true; }
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::isTestAndSetWaitFree()
++{ return false; }
++
++#define Q_ATOMIC_POINTER_FETCH_AND_STORE_IS_ALWAYS_NATIVE
++
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::isFetchAndStoreNative()
++{ return true; }
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::isFetchAndStoreWaitFree()
++{ return false; }
++
++#define Q_ATOMIC_POINTER_FETCH_AND_ADD_IS_ALWAYS_NATIVE
++
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::isFetchAndAddNative()
++{ return true; }
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::isFetchAndAddWaitFree()
++{ return false; }
++
++#ifndef Q_DATA_MEMORY_BARRIER
++# define Q_DATA_MEMORY_BARRIER asm volatile("dmb sy\n":::"memory")
++#endif
++#ifndef Q_COMPILER_MEMORY_BARRIER
++# define Q_COMPILER_MEMORY_BARRIER asm volatile("":::"memory")
++#endif
++
++inline bool QBasicAtomicInt::ref()
++{
++ int newValue;
++
++ Q_COMPILER_MEMORY_BARRIER;
++ newValue = __atomic_add_fetch(&_q_value, 1, __ATOMIC_ACQ_REL);
++ Q_COMPILER_MEMORY_BARRIER;
++
++ return newValue != 0;
++}
++
++inline bool QBasicAtomicInt::deref()
++{
++ int newValue;
++
++ Q_COMPILER_MEMORY_BARRIER;
++ newValue = __atomic_sub_fetch(&_q_value, 1, __ATOMIC_ACQ_REL);
++ Q_COMPILER_MEMORY_BARRIER;
++
++ return newValue != 0;
++}
++
++inline bool QBasicAtomicInt::testAndSetRelaxed(int expectedValue, int newValue)
++{
++ bool val;
++
++ Q_COMPILER_MEMORY_BARRIER;
++ val = __atomic_compare_exchange_n (&_q_value, &expectedValue, newValue,
++ false, __ATOMIC_RELAXED, __ATOMIC_RELAXED);
++ Q_COMPILER_MEMORY_BARRIER;
++ return val;
++}
++
++inline int QBasicAtomicInt::fetchAndStoreRelaxed(int newValue)
++{
++ int val;
++ Q_COMPILER_MEMORY_BARRIER;
++ val = __atomic_exchange_n(&_q_value, newValue, __ATOMIC_RELAXED);
++ Q_COMPILER_MEMORY_BARRIER;
++ return val;
++}
++
++inline int QBasicAtomicInt::fetchAndAddRelaxed(int valueToAdd)
++{
++ int val;
++ Q_COMPILER_MEMORY_BARRIER;
++ val = __atomic_fetch_add(&_q_value, valueToAdd, __ATOMIC_RELAXED);
++ Q_COMPILER_MEMORY_BARRIER;
++ return val;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::testAndSetRelaxed(T *expectedValue, T *newValue)
++{
++ bool val;
++ Q_COMPILER_MEMORY_BARRIER;
++ val = __atomic_compare_exchange_n (&_q_value, &expectedValue, newValue,
++ false, __ATOMIC_RELAXED, __ATOMIC_RELAXED);
++ Q_COMPILER_MEMORY_BARRIER;
++ return val;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreRelaxed(T *newValue)
++{
++ T *val;
++ Q_COMPILER_MEMORY_BARRIER;
++ val = __atomic_exchange_n(&_q_value, newValue, __ATOMIC_RELAXED);
++ Q_COMPILER_MEMORY_BARRIER;
++ return val;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndAddRelaxed(qptrdiff valueToAdd)
++{
++ T *val;
++ Q_COMPILER_MEMORY_BARRIER;
++ val = __atomic_fetch_add(&_q_value, valueToAdd, __ATOMIC_RELAXED);
++ Q_COMPILER_MEMORY_BARRIER;
++ return val;
++}
++
++inline bool QBasicAtomicInt::testAndSetAcquire(int expectedValue, int newValue)
++{
++ bool returnValue = testAndSetRelaxed(expectedValue, newValue);
++ Q_DATA_MEMORY_BARRIER;
++ return returnValue;
++}
++
++inline bool QBasicAtomicInt::testAndSetRelease(int expectedValue, int newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ return testAndSetRelaxed(expectedValue, newValue);
++}
++
++inline bool QBasicAtomicInt::testAndSetOrdered(int expectedValue, int newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ bool returnValue = testAndSetRelaxed(expectedValue, newValue);
++ Q_COMPILER_MEMORY_BARRIER;
++ return returnValue;
++}
++
++inline int QBasicAtomicInt::fetchAndStoreAcquire(int newValue)
++{
++ int returnValue = fetchAndStoreRelaxed(newValue);
++ Q_DATA_MEMORY_BARRIER;
++ return returnValue;
++}
++
++inline int QBasicAtomicInt::fetchAndStoreRelease(int newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ return fetchAndStoreRelaxed(newValue);
++}
++
++inline int QBasicAtomicInt::fetchAndStoreOrdered(int newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ int returnValue = fetchAndStoreRelaxed(newValue);
++ Q_COMPILER_MEMORY_BARRIER;
++ return returnValue;
++}
++
++inline int QBasicAtomicInt::fetchAndAddAcquire(int valueToAdd)
++{
++ int returnValue = fetchAndAddRelaxed(valueToAdd);
++ Q_DATA_MEMORY_BARRIER;
++ return returnValue;
++}
++
++inline int QBasicAtomicInt::fetchAndAddRelease(int valueToAdd)
++{
++ Q_DATA_MEMORY_BARRIER;
++ return fetchAndAddRelaxed(valueToAdd);
++}
++
++inline int QBasicAtomicInt::fetchAndAddOrdered(int valueToAdd)
++{
++ Q_DATA_MEMORY_BARRIER;
++ int returnValue = fetchAndAddRelaxed(valueToAdd);
++ Q_COMPILER_MEMORY_BARRIER;
++ return returnValue;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::testAndSetAcquire(T *expectedValue, T *newValue)
++{
++ bool returnValue = testAndSetRelaxed(expectedValue, newValue);
++ Q_DATA_MEMORY_BARRIER;
++ return returnValue;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::testAndSetRelease(T *expectedValue, T *newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ return testAndSetRelaxed(expectedValue, newValue);
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE bool QBasicAtomicPointer<T>::testAndSetOrdered(T *expectedValue, T *newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ bool returnValue = testAndSetAcquire(expectedValue, newValue);
++ Q_COMPILER_MEMORY_BARRIER;
++ return returnValue;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreAcquire(T *newValue)
++{
++ T *returnValue = fetchAndStoreRelaxed(newValue);
++ Q_DATA_MEMORY_BARRIER;
++ return returnValue;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreRelease(T *newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ return fetchAndStoreRelaxed(newValue);
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndStoreOrdered(T *newValue)
++{
++ Q_DATA_MEMORY_BARRIER;
++ T *returnValue = fetchAndStoreRelaxed(newValue);
++ Q_COMPILER_MEMORY_BARRIER;
++ return returnValue;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndAddAcquire(qptrdiff valueToAdd)
++{
++ T *returnValue = fetchAndAddRelaxed(valueToAdd);
++ Q_DATA_MEMORY_BARRIER;
++ return returnValue;
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndAddRelease(qptrdiff valueToAdd)
++{
++ Q_DATA_MEMORY_BARRIER;
++ return fetchAndAddRelaxed(valueToAdd);
++}
++
++template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndAddOrdered(qptrdiff valueToAdd)
++{
++ Q_DATA_MEMORY_BARRIER;
++ T *returnValue = fetchAndAddRelaxed(valueToAdd);
++ Q_COMPILER_MEMORY_BARRIER;
++ return returnValue;
++}
++
++#undef Q_DATA_MEMORY_BARRIER
++#undef Q_COMPILER_MEMORY_BARRIER
++
++QT_END_NAMESPACE
++
++QT_END_HEADER
++
++#endif // QATOMIC_AARCH64_H
+diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h.aarch64 qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h
+--- qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h.aarch64 2015-05-07 09:14:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/corelib/arch/qatomic_arch.h 2015-05-08 21:48:33.271061031 -0500
+@@ -94,6 +94,8 @@ QT_BEGIN_HEADER
+ # include "QtCore/qatomic_sh4a.h"
+ #elif defined(QT_ARCH_NACL)
+ # include "QtCore/qatomic_generic.h"
++#elif defined(QT_ARCH_AARCH64)
++# include "QtCore/qatomic_aarch64.h"
+ #else
+ # error "Qt has not been ported to this architecture"
+ #endif
diff --git a/libraries/qt4/patches/qt-cupsEnumDests.patch b/libraries/qt4/patches/qt-cupsEnumDests.patch
new file mode 100644
index 0000000000..7d59f22e8d
--- /dev/null
+++ b/libraries/qt4/patches/qt-cupsEnumDests.patch
@@ -0,0 +1,238 @@
+diff -up qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups.cpp.cupsEnumDests qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups.cpp
+--- qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups.cpp.cupsEnumDests 2012-11-23 10:09:53.000000000 +0000
++++ qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups.cpp 2013-07-03 15:30:06.232936976 +0100
+@@ -50,9 +50,19 @@
+
+ QT_BEGIN_NAMESPACE
+
++typedef int (*CupsEnumDests)(unsigned flags, int msec, int *cancel,
++ cups_ptype_t type, cups_ptype_t mask,
++ cups_dest_cb_t cb, void *user_data);
++typedef http_t * (*CupsConnectDest)(cups_dest_t *dest, unsigned flags,
++ int msec, int *cancel,
++ char *resource, size_t resourcesize,
++ cups_dest_cb_t cb, void *user_data);
++typedef int (*CupsCopyDest)(cups_dest_t *dest, int num_dests,
++ cups_dest_t **dests);
+ typedef int (*CupsGetDests)(cups_dest_t **dests);
+ typedef void (*CupsFreeDests)(int num_dests, cups_dest_t *dests);
+ typedef const char* (*CupsGetPPD)(const char *printer);
++typedef const char* (*CupsGetPPD2)(http_t *http, const char *printer);
+ typedef int (*CupsMarkOptions)(ppd_file_t *ppd, int num_options, cups_option_t *options);
+ typedef ppd_file_t* (*PPDOpenFile)(const char *filename);
+ typedef void (*PPDMarkDefaults)(ppd_file_t *ppd);
+@@ -66,12 +76,24 @@ typedef const char* (*CupsLangEncoding)(
+ typedef int (*CupsAddOption)(const char *name, const char *value, int num_options, cups_option_t **options);
+ typedef int (*CupsTempFd)(char *name, int len);
+ typedef int (*CupsPrintFile)(const char * name, const char * filename, const char * title, int num_options, cups_option_t * options);
++typedef int (*CupsPrintFile2)(http_t *http, const char *name, const char *filename, const char *title, int num_options, cups_option_t *options);
++
++typedef struct
++{
++ cups_dest_t *printers;
++ int num_printers;
++} EnumDestsContext;
+
+ static bool cupsLoaded = false;
+ static int qt_cups_num_printers = 0;
++static cups_dest_t *qt_cups_printers = 0;
++static CupsEnumDests _cupsEnumDests = 0;
++static CupsConnectDest _cupsConnectDest = 0;
++static CupsCopyDest _cupsCopyDest = 0;
+ static CupsGetDests _cupsGetDests = 0;
+ static CupsFreeDests _cupsFreeDests = 0;
+ static CupsGetPPD _cupsGetPPD = 0;
++static CupsGetPPD2 _cupsGetPPD2 = 0;
+ static PPDOpenFile _ppdOpenFile = 0;
+ static PPDMarkDefaults _ppdMarkDefaults = 0;
+ static PPDClose _ppdClose = 0;
+@@ -84,14 +106,35 @@ static CupsLangEncoding _cupsLangEncodin
+ static CupsAddOption _cupsAddOption = 0;
+ static CupsTempFd _cupsTempFd = 0;
+ static CupsPrintFile _cupsPrintFile = 0;
++static CupsPrintFile2 _cupsPrintFile2 = 0;
++
++static int enum_dest_cb (void *user_data, unsigned flags, cups_dest_t *dest)
++{
++ EnumDestsContext *context = (EnumDestsContext *) user_data;
++
++ if ((flags & (CUPS_DEST_FLAGS_UNCONNECTED |
++ CUPS_DEST_FLAGS_REMOVED |
++ CUPS_DEST_FLAGS_ERROR |
++ CUPS_DEST_FLAGS_RESOLVING |
++ CUPS_DEST_FLAGS_CONNECTING |
++ CUPS_DEST_FLAGS_CANCELED)) == 0)
++ context->num_printers = _cupsCopyDest (dest, context->num_printers,
++ &context->printers);
++
++ return 1;
++}
+
+ static void resolveCups()
+ {
+ QLibrary cupsLib(QLatin1String("cups"), 2);
+ if(cupsLib.load()) {
++ _cupsEnumDests = (CupsEnumDests) cupsLib.resolve("cupsEnumDests");
++ _cupsConnectDest = (CupsConnectDest) cupsLib.resolve("cupsConnectDest");
++ _cupsCopyDest = (CupsCopyDest) cupsLib.resolve("cupsCopyDest");
+ _cupsGetDests = (CupsGetDests) cupsLib.resolve("cupsGetDests");
+ _cupsFreeDests = (CupsFreeDests) cupsLib.resolve("cupsFreeDests");
+ _cupsGetPPD = (CupsGetPPD) cupsLib.resolve("cupsGetPPD");
++ _cupsGetPPD2 = (CupsGetPPD2) cupsLib.resolve("cupsGetPPD2");
+ _cupsLangGet = (CupsLangGet) cupsLib.resolve("cupsLangGet");
+ _cupsLangEncoding = (CupsLangEncoding) cupsLib.resolve("cupsLangEncoding");
+ _ppdOpenFile = (PPDOpenFile) cupsLib.resolve("ppdOpenFile");
+@@ -104,14 +147,27 @@ static void resolveCups()
+ _cupsAddOption = (CupsAddOption) cupsLib.resolve("cupsAddOption");
+ _cupsTempFd = (CupsTempFd) cupsLib.resolve("cupsTempFd");
+ _cupsPrintFile = (CupsPrintFile) cupsLib.resolve("cupsPrintFile");
++ _cupsPrintFile2 = (CupsPrintFile2) cupsLib.resolve("cupsPrintFile2");
+
+- if (_cupsGetDests && _cupsFreeDests) {
+- cups_dest_t *printers;
++ if (_cupsEnumDests && _cupsCopyDest &&
++ _cupsConnectDest && _cupsGetPPD2 &&
++ _cupsPrintFile2) {
++ EnumDestsContext context;
++ context.printers = 0;
++ context.num_printers = 0;
++ _cupsEnumDests(0, -1, 0, 0, 0,
++ enum_dest_cb, &context);
++
++ qt_cups_printers = context.printers;
++ qt_cups_num_printers = context.num_printers;
++ } else if (_cupsGetDests && _cupsFreeDests) {
++ cups_dest_t *printers;
+ int num_printers = _cupsGetDests(&printers);
+- if (num_printers)
+- _cupsFreeDests(num_printers, printers);
+- qt_cups_num_printers = num_printers;
+- }
++
++ if (num_printers)
++ _cupsFreeDests(num_printers, printers);
++ qt_cups_num_printers = num_printers;
++ }
+ }
+ cupsLoaded = true;
+ }
+@@ -134,7 +190,15 @@ QCUPSSupport::QCUPSSupport()
+ return;
+
+ // Update the available printer count
+- qt_cups_num_printers = prnCount = _cupsGetDests(&printers);
++ if (qt_cups_printers && _cupsCopyDest) {
++ int i;
++ for (i = 0; i < qt_cups_num_printers; ++i) {
++ prnCount = _cupsCopyDest (&qt_cups_printers[i],
++ prnCount,
++ &printers);
++ }
++ } else
++ qt_cups_num_printers = prnCount = _cupsGetDests(&printers);
+
+ for (int i = 0; i < prnCount; ++i) {
+ if (printers[i].is_default) {
+@@ -188,7 +252,19 @@ const ppd_file_t* QCUPSSupport::setCurre
+ currPPD = 0;
+ page_sizes = 0;
+
+- const char *ppdFile = _cupsGetPPD(printers[index].name);
++ const char *ppdFile = 0;
++ if (_cupsConnectDest && _cupsGetPPD2) {
++ char resource[HTTP_MAX_URI];
++ http_t *http = _cupsConnectDest (&printers[index], 0, -1, 0,
++ resource, sizeof (resource),
++ 0, 0);
++ if (http) {
++ char *name = strrchr (resource, '/');
++ if (name)
++ ppdFile = _cupsGetPPD2 (http, ++name);
++ }
++ } else
++ ppdFile = _cupsGetPPD(printers[index].name);
+
+ if (!ppdFile)
+ return 0;
+@@ -343,7 +419,29 @@ bool QCUPSSupport::printerHasPPD(const c
+ {
+ if (!isAvailable())
+ return false;
+- const char *ppdFile = _cupsGetPPD(printerName);
++
++ const char *ppdFile = 0;
++ if (_cupsConnectDest && _cupsGetPPD2) {
++ int i;
++ for (i = 0; i < prnCount; ++i)
++ if (!strcmp (printers[i].name, printerName))
++ break;
++
++ if (i == prnCount)
++ return false;
++
++ char resource[HTTP_MAX_URI];
++ http_t *http = _cupsConnectDest (&printers[i], 0, -1, 0,
++ resource, sizeof (resource),
++ 0, 0);
++ if (http) {
++ char *name = strrchr (resource, '/');
++ if (name)
++ ppdFile = _cupsGetPPD2 (http, ++name);
++ }
++ } else
++ ppdFile = _cupsGetPPD(printerName);
++
+ if (ppdFile)
+ unlink(ppdFile);
+ return (ppdFile != 0);
+@@ -394,6 +492,26 @@ QPair<int, QString> QCUPSSupport::tempFd
+ int QCUPSSupport::printFile(const char * printerName, const char * filename, const char * title,
+ int num_options, cups_option_t * options)
+ {
++ if (_cupsConnectDest && _cupsPrintFile2) {
++ int i;
++ for (i = 0; i < prnCount; ++i)
++ if (!strcmp (printers[i].name, printerName))
++ break;
++
++ if (i != prnCount) {
++ char resource[HTTP_MAX_URI];
++ http_t *http = _cupsConnectDest (&printers[i], 0, -1, 0,
++ resource, sizeof (resource),
++ 0, 0);
++ if (http) {
++ char *name = strrchr (resource, '/');
++ if (name)
++ return _cupsPrintFile2 (http, ++name, filename, title,
++ num_options, options);
++ }
++ }
++ }
++
+ return _cupsPrintFile(printerName, filename, title, num_options, options);
+ }
+
+diff -up qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups_p.h.cupsEnumDests qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups_p.h
+--- qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups_p.h.cupsEnumDests 2012-11-23 10:09:53.000000000 +0000
++++ qt-everywhere-opensource-src-4.8.4/src/gui/painting/qcups_p.h 2013-07-03 15:27:24.733343017 +0100
+@@ -92,7 +92,7 @@ public:
+
+ QStringList options() const;
+
+- static bool printerHasPPD(const char *printerName);
++ bool printerHasPPD(const char *printerName);
+
+ QString unicodeString(const char *s);
+
+diff -up qt-everywhere-opensource-src-4.8.4/src/gui/painting/qprinter.cpp.cupsEnumDests qt-everywhere-opensource-src-4.8.4/src/gui/painting/qprinter.cpp
+--- qt-everywhere-opensource-src-4.8.4/src/gui/painting/qprinter.cpp.cupsEnumDests 2013-07-03 15:27:24.531342277 +0100
++++ qt-everywhere-opensource-src-4.8.4/src/gui/painting/qprinter.cpp 2013-07-03 15:27:24.733343017 +0100
+@@ -844,7 +844,7 @@ void QPrinter::setPrinterName(const QStr
+ if(d->use_default_engine
+ && d->outputFormat == QPrinter::NativeFormat) {
+ if (QCUPSSupport::cupsVersion() >= 10200
+- && QCUPSSupport::printerHasPPD(name.toLocal8Bit().constData()))
++ && QCUPSSupport().printerHasPPD(name.toLocal8Bit().constData()))
+ setOutputFormat(QPrinter::PdfFormat);
+ else
+ setOutputFormat(QPrinter::PostScriptFormat);
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.6.2-cups.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.6.2-cups.patch
new file mode 100644
index 0000000000..e0305e11b8
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.6.2-cups.patch
@@ -0,0 +1,84 @@
+diff -ur qt-everywhere-opensource-src-4.6.2/src/gui/dialogs/qprintdialog_unix.cpp qt-everywhere-opensource-src-4.6.2-cups/src/gui/dialogs/qprintdialog_unix.cpp
+--- qt-everywhere-opensource-src-4.6.2/src/gui/dialogs/qprintdialog_unix.cpp 2010-02-11 16:55:22.000000000 +0100
++++ qt-everywhere-opensource-src-4.6.2-cups/src/gui/dialogs/qprintdialog_unix.cpp 2010-02-28 04:34:16.000000000 +0100
+@@ -569,6 +569,32 @@
+ void QPrintDialogPrivate::selectPrinter(QCUPSSupport *cups)
+ {
+ options.duplex->setEnabled(cups && cups->ppdOption("Duplex"));
++
++ if (cups) {
++ const ppd_option_t* duplex = cups->ppdOption("Duplex");
++ if (duplex) {
++ // copy default ppd duplex to qt dialog
++ if (qstrcmp(duplex->defchoice, "DuplexTumble") == 0)
++ options.duplexShort->setChecked(true);
++ else if (qstrcmp(duplex->defchoice, "DuplexNoTumble") == 0)
++ options.duplexLong->setChecked(true);
++ else
++ options.noDuplex->setChecked(true);
++ }
++
++ if (cups->currentPPD()) {
++ // set default color
++ if (cups->currentPPD()->color_device)
++ options.color->setChecked(true);
++ else
++ options.grayscale->setChecked(true);
++ }
++
++ // set collation
++ const ppd_option_t *collate = cups->ppdOption("Collate");
++ if (collate)
++ options.collate->setChecked(qstrcmp(collate->defchoice, "True")==0);
++ }
+ }
+ #endif
+
+diff -ur qt-everywhere-opensource-src-4.6.2/src/gui/painting/qprinter.cpp qt-everywhere-opensource-src-4.6.2-cups/src/gui/painting/qprinter.cpp
+--- qt-everywhere-opensource-src-4.6.2/src/gui/painting/qprinter.cpp 2010-02-11 16:55:22.000000000 +0100
++++ qt-everywhere-opensource-src-4.6.2-cups/src/gui/painting/qprinter.cpp 2010-02-28 04:55:15.000000000 +0100
+@@ -627,6 +627,44 @@
+ && d_ptr->paintEngine->type() != QPaintEngine::MacPrinter) {
+ setOutputFormat(QPrinter::PdfFormat);
+ }
++
++#if !defined(QT_NO_CUPS) && !defined(QT_NO_LIBRARY)
++ // fill in defaults from ppd file
++ QCUPSSupport cups;
++
++ int printernum = -1;
++ for (int i = 0; i < cups.availablePrintersCount(); i++) {
++ if (printerName().toLocal8Bit() == cups.availablePrinters()[i].name)
++ printernum = i;
++ }
++ if (printernum >= 0) {
++ cups.setCurrentPrinter(printernum);
++
++ const ppd_option_t* duplex = cups.ppdOption("Duplex");
++ if (duplex) {
++ // copy default ppd duplex to qt dialog
++ if (qstrcmp(duplex->defchoice, "DuplexTumble") == 0)
++ setDuplex(DuplexShortSide);
++ else if (qstrcmp(duplex->defchoice, "DuplexNoTumble") == 0)
++ setDuplex(DuplexLongSide);
++ else
++ setDuplex(DuplexNone);
++ }
++
++ if (cups.currentPPD()) {
++ // set default color
++ if (cups.currentPPD()->color_device)
++ setColorMode(Color);
++ else
++ setColorMode(GrayScale);
++ }
++
++ // set collation
++ const ppd_option_t *collate = cups.ppdOption("Collate");
++ if (collate)
++ setCollateCopies(qstrcmp(collate->defchoice, "True")==0);
++ }
++#endif
+ }
+
+ /*!
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
new file mode 100644
index 0000000000..d4e5924dff
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
@@ -0,0 +1,69 @@
+diff -ur qt-everywhere-opensource-src-4.6.3/src/gui/kernel/qguieventdispatcher_glib.cpp qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck/src/gui/kernel/qguieventdispatcher_glib.cpp
+--- qt-everywhere-opensource-src-4.6.3/src/gui/kernel/qguieventdispatcher_glib.cpp 2010-06-02 04:03:15.000000000 +0200
++++ qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck/src/gui/kernel/qguieventdispatcher_glib.cpp 2010-12-08 22:22:38.000000000 +0100
+@@ -76,7 +76,7 @@
+ GX11EventSource *source = reinterpret_cast<GX11EventSource *>(s);
+ return (XEventsQueued(X11->display, QueuedAfterFlush)
+ || (!(source->flags & QEventLoop::ExcludeUserInputEvents)
+- && !source->d->queuedUserInputEvents.isEmpty()));
++ && source->d && !source->d->queuedUserInputEvents.isEmpty()));
+ }
+
+ static gboolean x11EventSourceCheck(GSource *s)
+@@ -84,7 +84,7 @@
+ GX11EventSource *source = reinterpret_cast<GX11EventSource *>(s);
+ return (XEventsQueued(X11->display, QueuedAfterFlush)
+ || (!(source->flags & QEventLoop::ExcludeUserInputEvents)
+- && !source->d->queuedUserInputEvents.isEmpty()));
++ && source->d && !source->d->queuedUserInputEvents.isEmpty()));
+ }
+
+ static gboolean x11EventSourceDispatch(GSource *s, GSourceFunc callback, gpointer user_data)
+@@ -95,7 +95,7 @@
+ do {
+ XEvent event;
+ if (!(source->flags & QEventLoop::ExcludeUserInputEvents)
+- && !source->d->queuedUserInputEvents.isEmpty()) {
++ && source->d && !source->d->queuedUserInputEvents.isEmpty()) {
+ // process a pending user input event
+ event = source->d->queuedUserInputEvents.takeFirst();
+ } else if (XEventsQueued(X11->display, QueuedAlready)) {
+@@ -112,7 +112,8 @@
+ case XKeyRelease:
+ case EnterNotify:
+ case LeaveNotify:
+- source->d->queuedUserInputEvents.append(event);
++ if (source->d)
++ source->d->queuedUserInputEvents.append(event);
+ continue;
+
+ case ClientMessage:
+@@ -127,7 +128,8 @@
+ break;
+ }
+ }
+- source->d->queuedUserInputEvents.append(event);
++ if (source->d)
++ source->d->queuedUserInputEvents.append(event);
+ continue;
+
+ default:
+@@ -140,7 +142,7 @@
+ }
+
+ // send through event filter
+- if (source->q->filterEvent(&event))
++ if (source->q && source->q->filterEvent(&event))
+ continue;
+
+ if (qApp->x11ProcessEvent(&event) == 1)
+@@ -152,7 +154,8 @@
+
+ out:
+
+- source->d->runTimersOnceWithNormalPriority();
++ if (source->d)
++ source->d->runTimersOnceWithNormalPriority();
+
+ if (callback)
+ callback(user_data);
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch
new file mode 100644
index 0000000000..4279ce2e77
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch
@@ -0,0 +1,41 @@
+diff -up qt-everywhere-opensource-src-4.8.0/src/corelib/tools/qlist.h.QTBUG-22037 qt-everywhere-opensource-src-4.8.0/src/corelib/tools/qlist.h
+--- qt-everywhere-opensource-src-4.8.0/src/corelib/tools/qlist.h.QTBUG-22037 2011-10-03 22:44:32.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.0/src/corelib/tools/qlist.h 2011-10-15 14:25:52.238694974 -0500
+@@ -769,26 +769,18 @@ Q_OUTOFLINE_TEMPLATE void QList<T>::clea
+ template <typename T>
+ Q_OUTOFLINE_TEMPLATE int QList<T>::removeAll(const T &_t)
+ {
+- int index = indexOf(_t);
+- if (index == -1)
+- return 0;
+-
++ detachShared();
+ const T t = _t;
+- detach();
+-
+- Node *i = reinterpret_cast<Node *>(p.at(index));
+- Node *e = reinterpret_cast<Node *>(p.end());
+- Node *n = i;
+- node_destruct(i);
+- while (++i != e) {
+- if (i->t() == t)
+- node_destruct(i);
+- else
+- *n++ = *i;
+- }
+-
+- int removedCount = e - n;
+- d->end -= removedCount;
++ int removedCount=0, i=0;
++ Node *n;
++ while (i < p.size())
++ if ((n = reinterpret_cast<Node *>(p.at(i)))->t() == t) {
++ node_destruct(n);
++ p.remove(i);
++ ++removedCount;
++ } else {
++ ++i;
++ }
+ return removedCount;
+ }
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-s390-atomic.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-s390-atomic.patch
new file mode 100644
index 0000000000..6fedcc8104
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-s390-atomic.patch
@@ -0,0 +1,20 @@
+diff -up qt-everywhere-opensource-src-4.8.0/src/corelib/arch/qatomic_s390.h.s390-atomic qt-everywhere-opensource-src-4.8.0/src/corelib/arch/qatomic_s390.h
+--- qt-everywhere-opensource-src-4.8.0/src/corelib/arch/qatomic_s390.h.s390-atomic 2011-12-18 16:15:20.000000000 +0100
++++ qt-everywhere-opensource-src-4.8.0/src/corelib/arch/qatomic_s390.h 2011-12-18 16:17:34.000000000 +0100
+@@ -400,6 +400,16 @@ Q_INLINE_TEMPLATE T* QBasicAtomicPointer
+
+
+ template <typename T>
++Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndAddOrdered(qptrdiff valueToAdd)
++{
++#ifndef __s390x__
++ return (T *)__CS_OLD_LOOP(&_q_value, valueToAdd * sizeof(T), "ar", "", "bcr 15,0\n");
++#else
++ return (T *)__CSG_OLD_LOOP(&_q_value, valueToAdd * sizeof(T), "agr", "", "bcr 15,0\n");
++#endif
++}
++
++template <typename T>
+ Q_INLINE_TEMPLATE T *QBasicAtomicPointer<T>::fetchAndAddRelaxed(qptrdiff valueToAdd)
+ {
+ return fetchAndAddOrdered(valueToAdd);
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-multilib-optflags.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-multilib-optflags.patch
new file mode 100644
index 0000000000..5c8b5a1dda
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-multilib-optflags.patch
@@ -0,0 +1,36 @@
+diff -up qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-32/qmake.conf.multilib qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-32/qmake.conf
+--- qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-32/qmake.conf.multilib 2011-05-23 12:26:21.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-32/qmake.conf 2011-05-25 13:39:38.789054074 +0200
+@@ -12,6 +12,8 @@ QMAKE_INCREMENTAL_STYLE = sublib
+ QMAKE_CFLAGS = -m32
+ QMAKE_LFLAGS = -m32
+
++QMAKE_CFLAGS_RELEASE += -O2
++
+ include(../common/linux.conf)
+ include(../common/gcc-base-unix.conf)
+ include(../common/g++-unix.conf)
+diff -up qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-64/qmake.conf.multilib qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-64/qmake.conf
+--- qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-64/qmake.conf.multilib 2011-05-23 12:26:21.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++-64/qmake.conf 2011-05-25 13:39:47.460747770 +0200
+@@ -15,6 +15,8 @@ QMAKE_INCREMENTAL_STYLE = sublib
+ QMAKE_CFLAGS = -m64
+ QMAKE_LFLAGS = -m64
+
++QMAKE_CFLAGS_RELEASE += -O2
++
+ include(../common/linux.conf)
+ include(../common/gcc-base-unix.conf)
+ include(../common/g++-unix.conf)
+diff -up qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++/qmake.conf.multilib qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++/qmake.conf
+--- qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++/qmake.conf.multilib 2011-05-23 12:26:21.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.0-tp/mkspecs/linux-g++/qmake.conf 2011-05-25 13:39:26.630088814 +0200
+@@ -9,6 +9,8 @@ CONFIG += qt warn_on release increment
+ QT += core gui
+ QMAKE_INCREMENTAL_STYLE = sublib
+
++QMAKE_CFLAGS_RELEASE += -O2
++
+ include(../common/linux.conf)
+ include(../common/gcc-base-unix.conf)
+ include(../common/g++-unix.conf)
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch
new file mode 100644
index 0000000000..947f7582d3
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch
@@ -0,0 +1,12 @@
+diff -up qt-everywhere-opensource-src-4.8.0-tp/src/gui/itemviews/qtreeview.cpp.qtreeview-kpackagekit-crash qt-everywhere-opensource-src-4.8.0-tp/src/gui/itemviews/qtreeview.cpp
+--- qt-everywhere-opensource-src-4.8.0-tp/src/gui/itemviews/qtreeview.cpp.qtreeview-kpackagekit-crash 2011-05-23 12:26:21.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.0-tp/src/gui/itemviews/qtreeview.cpp 2011-05-25 13:24:33.137315194 +0200
+@@ -3215,7 +3215,7 @@ int QTreeViewPrivate::itemHeight(int ite
+ return defaultItemHeight;
+ if (viewItems.isEmpty())
+ return 0;
+- const QModelIndex &index = viewItems.at(item).index;
++ QModelIndex index = viewItems.at(item).index;
+ if (!index.isValid())
+ return 0;
+ int height = viewItems.at(item).height;
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-linguist_qmake-qt4.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-linguist_qmake-qt4.patch
new file mode 100644
index 0000000000..e84446ce83
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-linguist_qmake-qt4.patch
@@ -0,0 +1,27 @@
+diff -up qt-everywhere-opensource-src-4.8.2/tools/linguist/lrelease/main.cpp.linguist_qtmake-qt4 qt-everywhere-opensource-src-4.8.2/tools/linguist/lrelease/main.cpp
+--- qt-everywhere-opensource-src-4.8.2/tools/linguist/lrelease/main.cpp.linguist_qtmake-qt4 2012-04-26 21:45:50.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.2/tools/linguist/lrelease/main.cpp 2012-05-29 12:17:03.416561535 +0200
+@@ -314,9 +314,9 @@ int main(int argc, char **argv)
+ parseHandler.verbose = evalHandler.verbose = cd.isVerbose();
+ ProFileOption option;
+ #ifdef QT_BOOTSTRAPPED
+- option.initProperties(binDir + QLatin1String("/qmake"));
++ option.initProperties(binDir + QLatin1String("/qmake-qt4"));
+ #else
+- option.initProperties(app.applicationDirPath() + QLatin1String("/qmake"));
++ option.initProperties(app.applicationDirPath() + QLatin1String("/qmake-qt4"));
+ #endif
+ ProFileParser parser(0, &parseHandler);
+ ProFileEvaluator visitor(&option, &parser, &evalHandler);
+diff -up qt-everywhere-opensource-src-4.8.2/tools/linguist/lupdate/main.cpp.linguist_qtmake-qt4 qt-everywhere-opensource-src-4.8.2/tools/linguist/lupdate/main.cpp
+--- qt-everywhere-opensource-src-4.8.2/tools/linguist/lupdate/main.cpp.linguist_qtmake-qt4 2012-04-26 21:45:50.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.2/tools/linguist/lupdate/main.cpp 2012-05-29 11:46:48.811134546 +0200
+@@ -765,7 +765,7 @@ int main(int argc, char **argv)
+
+ parseHandler.verbose = evalHandler.verbose = !!(options & Verbose);
+ ProFileOption option;
+- option.initProperties(app.applicationDirPath() + QLatin1String("/qmake"));
++ option.initProperties(app.applicationDirPath() + QLatin1String("/qmake-qt4"));
+ option.setCommandLineArguments(QStringList() << QLatin1String("CONFIG+=lupdate_run"));
+ ProFileParser parser(0, &parseHandler);
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch
new file mode 100644
index 0000000000..7458314672
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch
@@ -0,0 +1,10 @@
+diff -up qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro.debuginfo qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro
+--- qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro.debuginfo 2012-03-14 09:01:17.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.1/src/qt3support/qt3support.pro 2012-05-11 11:55:37.780070386 -0500
+@@ -34,6 +34,3 @@ MOCDIR = .moc
+
+ *-g++*: QMAKE_CXXFLAGS += -fno-strict-aliasing
+
+-CONFIG -= separate_debug_info
+-CONFIG += no_debug_info
+-
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.2--assistant-crash.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.2--assistant-crash.patch
new file mode 100644
index 0000000000..f0a41a42ed
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.2--assistant-crash.patch
@@ -0,0 +1,13 @@
+diff -up qt-everywhere-opensource-src-4.8.2/tools/assistant/tools/assistant/mainwindow.cpp.me qt-everywhere-opensource-src-4.8.2/tools/assistant/tools/assistant/mainwindow.cpp
+--- qt-everywhere-opensource-src-4.8.2/tools/assistant/tools/assistant/mainwindow.cpp.me 2012-06-19 12:52:22.740180410 +0200
++++ qt-everywhere-opensource-src-4.8.2/tools/assistant/tools/assistant/mainwindow.cpp 2012-06-19 12:52:51.953194103 +0200
+@@ -944,8 +944,7 @@ void MainWindow::updateApplicationFont()
+ if (helpEngine.usesAppFont())
+ font = helpEngine.appFont();
+
+- const QWidgetList &widgets = qApp->allWidgets();
+- foreach (QWidget* widget, widgets)
++ foreach (QWidget* widget, QApplication::allWidgets())
+ widget->setFont(font);
+ }
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-icu_no_debug.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-icu_no_debug.patch
new file mode 100644
index 0000000000..9c53f3c267
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-icu_no_debug.patch
@@ -0,0 +1,23 @@
+diff -up qt-everywhere-opensource-src-4.8.3/src/corelib/tools/qlocale_icu.cpp.icu_no_debug qt-everywhere-opensource-src-4.8.3/src/corelib/tools/qlocale_icu.cpp
+--- qt-everywhere-opensource-src-4.8.3/src/corelib/tools/qlocale_icu.cpp.icu_no_debug 2012-09-06 02:33:45.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.3/src/corelib/tools/qlocale_icu.cpp 2012-09-11 09:04:21.542379795 -0500
+@@ -84,7 +84,9 @@ bool qt_initIcu(const QString &localeStr
+ QLibrary lib(QLatin1String("icui18n"), QLatin1String(U_ICU_VERSION_SHORT));
+ lib.setLoadHints(QLibrary::ImprovedSearchHeuristics);
+ if (!lib.load()) {
++#ifndef QT_NO_DEBUG
+ qWarning() << "Unable to load library icui18n" << lib.errorString();
++#endif
+ status = ErrorLoading;
+ return false;
+ }
+@@ -114,7 +116,9 @@ bool qt_initIcu(const QString &localeStr
+ QLibrary ucLib(QLatin1String("icuuc"), QLatin1String(U_ICU_VERSION_SHORT));
+ ucLib.setLoadHints(QLibrary::ImprovedSearchHeuristics);
+ if (!ucLib.load()) {
++#ifndef QT_NO_DEBUG
+ qWarning() << "Unable to load library icuuc" << ucLib.errorString();
++#endif
+ status = ErrorLoading;
+ return false;
+ }
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-no_Werror.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-no_Werror.patch
new file mode 100644
index 0000000000..86dcc288d5
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-no_Werror.patch
@@ -0,0 +1,12 @@
+diff -up qt-everywhere-opensource-src-4.8.3/src/3rdparty/webkit/Source/WebKit.pri.no_Werror qt-everywhere-opensource-src-4.8.3/src/3rdparty/webkit/Source/WebKit.pri
+--- qt-everywhere-opensource-src-4.8.3/src/3rdparty/webkit/Source/WebKit.pri.no_Werror 2012-09-06 02:33:50.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.3/src/3rdparty/webkit/Source/WebKit.pri 2012-09-11 09:03:19.152159783 -0500
+@@ -102,7 +102,7 @@ CONFIG -= warn_on
+
+ # Treat warnings as errors on x86/Linux/GCC
+ linux-g++* {
+- !CONFIG(standalone_package):if(isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386)): QMAKE_CXXFLAGS += -Werror
++ #!CONFIG(standalone_package):if(isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386)): QMAKE_CXXFLAGS += -Werror
+
+ greaterThan(QT_GCC_MAJOR_VERSION, 3):greaterThan(QT_GCC_MINOR_VERSION, 5) {
+ if (!contains(QMAKE_CXXFLAGS, -std=c++0x) && !contains(QMAKE_CXXFLAGS, -std=gnu++0x)) {
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch
new file mode 100644
index 0000000000..dd3a5a0229
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch
@@ -0,0 +1,14 @@
+diff -up qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp.qdbusconnection_no_debug.patch qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp
+--- qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp.qdbusconnection_no_debug.patch 2012-09-06 02:33:44.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.3/src/dbus/qdbusconnection.cpp 2012-09-11 08:55:29.854026815 -0500
+@@ -1109,8 +1109,10 @@ public:
+ // make sure this connection is running on the main thread
+ QCoreApplication *instance = QCoreApplication::instance();
+ if (!instance) {
++#ifndef QT_NO_DEBUG
+ qWarning("QDBusConnection: %s D-Bus connection created before QCoreApplication. Application may misbehave.",
+ type == SessionBus ? "session" : type == SystemBus ? "system" : "generic");
++#endif
+ } else if (QDBusConnectionPrivate::d(*this)) {
+ QDBusConnectionPrivate::d(*this)->moveToThread(instance->thread());
+ }
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch
new file mode 100644
index 0000000000..0494c81f06
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch
@@ -0,0 +1,16 @@
+diff -up qt-everywhere-opensource-src-4.8.4/qmake/generators/makefile.cpp.qmake_pkgconfig_requires_private qt-everywhere-opensource-src-4.8.4/qmake/generators/makefile.cpp
+--- qt-everywhere-opensource-src-4.8.4/qmake/generators/makefile.cpp.qmake_pkgconfig_requires_private 2012-11-23 04:11:21.000000000 -0600
++++ qt-everywhere-opensource-src-4.8.4/qmake/generators/makefile.cpp 2013-02-11 07:36:36.192779528 -0600
+@@ -3293,6 +3293,12 @@ MakefileGenerator::writePkgConfigFile()
+ t << "Requires: " << requires << endl;
+ }
+
++ // requires.private
++ const QString requires_private = project->values("QMAKE_PKGCONFIG_REQUIRES_PRIVATE").join(" ");
++ if (!requires_private.isEmpty()) {
++ t << "Requires.private: " << requires_private << endl;
++ }
++
+ t << endl;
+ }
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-14467.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-14467.patch
new file mode 100644
index 0000000000..81d74ff4d5
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-14467.patch
@@ -0,0 +1,24 @@
+diff -up qt-everywhere-opensource-src-4.8.5/mkspecs/features/qt_functions.prf.QTBUG-14467 qt-everywhere-opensource-src-4.8.5/mkspecs/features/qt_functions.prf
+--- qt-everywhere-opensource-src-4.8.5/mkspecs/features/qt_functions.prf.QTBUG-14467 2013-05-30 16:19:17.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/mkspecs/features/qt_functions.prf 2013-06-09 11:53:45.709773603 -0500
+@@ -72,7 +72,7 @@ defineTest(qtAddLibrary) {
+ }
+ isEmpty(LINKAGE) {
+ if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
+- win32:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}d
++ win32:LINKAGE = -l$${LIB_NAME}d$${QT_LIBINFIX}
+ mac:LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}_debug
+ }
+ isEmpty(LINKAGE):LINKAGE = -l$${LIB_NAME}$${QT_LIBINFIX}
+diff -up qt-everywhere-opensource-src-4.8.5/mkspecs/features/win32/windows.prf.QTBUG-14467 qt-everywhere-opensource-src-4.8.5/mkspecs/features/win32/windows.prf
+--- qt-everywhere-opensource-src-4.8.5/mkspecs/features/win32/windows.prf.QTBUG-14467 2013-05-30 16:19:17.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/mkspecs/features/win32/windows.prf 2013-06-09 11:53:45.710773593 -0500
+@@ -6,7 +6,7 @@ contains(TEMPLATE, ".*app"){
+
+ qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) {
+ isEqual(entryLib, -lqtmain): {
+- CONFIG(debug, debug|release): QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}d
++ CONFIG(debug, debug|release): QMAKE_LIBS += $${entryLib}d$${QT_LIBINFIX}
+ else: QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}
+ } else {
+ QMAKE_LIBS += $${entryLib}
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch
new file mode 100644
index 0000000000..018872f6d4
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch
@@ -0,0 +1,84 @@
+diff -up qt-everywhere-opensource-src-4.8.5/src/gui/kernel/qapplication_x11.cpp.QTBUG-21900 qt-everywhere-opensource-src-4.8.5/src/gui/kernel/qapplication_x11.cpp
+--- qt-everywhere-opensource-src-4.8.5/src/gui/kernel/qapplication_x11.cpp.QTBUG-21900 2013-05-30 16:18:05.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/gui/kernel/qapplication_x11.cpp 2013-06-09 11:53:45.891771748 -0500
+@@ -818,6 +818,27 @@ static Bool qt_sync_request_scanner(Disp
+ #endif
+ #endif // QT_NO_XSYNC
+
++struct qt_configure_event_data
++{
++ WId window;
++ WId parent;
++};
++
++static Bool qt_configure_event_scanner(Display*, XEvent *event, XPointer arg)
++{
++ qt_configure_event_data *data =
++ reinterpret_cast<qt_configure_event_data*>(arg);
++ if (event->type == ConfigureNotify &&
++ event->xconfigure.window == data->window) {
++ return true;
++ } else if (event->type == ReparentNotify &&
++ event->xreparent.window == data->window) {
++ data->parent = event->xreparent.parent;
++ }
++
++ return false;
++}
++
+ static void qt_x11_create_intern_atoms()
+ {
+ const char *names[QX11Data::NAtoms];
+@@ -5302,8 +5323,11 @@ bool QETWidget::translateConfigEvent(con
+ if (d->extra->compress_events) {
+ // ConfigureNotify compression for faster opaque resizing
+ XEvent otherEvent;
+- while (XCheckTypedWindowEvent(X11->display, internalWinId(), ConfigureNotify,
+- &otherEvent)) {
++ qt_configure_event_data configureData;
++ configureData.window = internalWinId();
++ configureData.parent = d->topData()->parentWinId;
++ while (XCheckIfEvent(X11->display, &otherEvent,
++ &qt_configure_event_scanner, (XPointer)&configureData)) {
+ if (qt_x11EventFilter(&otherEvent))
+ continue;
+
+@@ -5316,13 +5340,19 @@ bool QETWidget::translateConfigEvent(con
+ newSize.setWidth(otherEvent.xconfigure.width);
+ newSize.setHeight(otherEvent.xconfigure.height);
+
++ trust = isVisible()
++ && (configureData.parent == XNone ||
++ configureData.parent == QX11Info::appRootWindow());
++
+ if (otherEvent.xconfigure.send_event || trust) {
+ newCPos.rx() = otherEvent.xconfigure.x +
+ otherEvent.xconfigure.border_width;
+ newCPos.ry() = otherEvent.xconfigure.y +
+ otherEvent.xconfigure.border_width;
+ isCPos = true;
+- }
++ } else {
++ isCPos = false;
++ }
+ }
+ #ifndef QT_NO_XSYNC
+ qt_sync_request_event_data sync_event;
+@@ -5335,9 +5365,14 @@ bool QETWidget::translateConfigEvent(con
+ }
+
+ if (!isCPos) {
+- // we didn't get an updated position of the toplevel.
+- // either we haven't moved or there is a bug in the window manager.
+- // anyway, let's query the position to be certain.
++ // If the last configure event didn't have a trustable position,
++ // it's necessary to query, see ICCCM 4.24:
++ //
++ // Any real ConfigureNotify event on a top-level window implies
++ // that the window’s position on the root may have changed, even
++ // though the event reports that the window’s position in its
++ // parent is unchanged because the window may have been reparented.
++
+ int x, y;
+ Window child;
+ XTranslateCoordinates(X11->display, internalWinId(),
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch
new file mode 100644
index 0000000000..5ca91145e0
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch
@@ -0,0 +1,12 @@
+diff -ur qt-everywhere-opensource-src-4.8.5-CVE-2013-4549/src/xml/sax/qxml.cpp qt-everywhere-opensource-src-4.8.5-QTBUG-35459/src/xml/sax/qxml.cpp
+--- qt-everywhere-opensource-src-4.8.5-CVE-2013-4549/src/xml/sax/qxml.cpp 2013-12-05 19:23:33.000000000 +0100
++++ qt-everywhere-opensource-src-4.8.5-QTBUG-35459/src/xml/sax/qxml.cpp 2014-01-13 20:13:59.000000000 +0100
+@@ -428,7 +428,7 @@
+ // for the DTD currently being parsed.
+ static const int dtdRecursionLimit = 2;
+ // The maximum amount of characters an entity value may contain, after expansion.
+- static const int entityCharacterLimit = 1024;
++ static const int entityCharacterLimit = 4096;
+
+ const QString &string();
+ void stringClear();
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch
new file mode 100644
index 0000000000..ee1d19136a
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch
@@ -0,0 +1,29 @@
+diff -up qt-everywhere-opensource-src-4.8.5/src/corelib/io/qfilesystemengine_unix.cpp.QTBUG-4862 qt-everywhere-opensource-src-4.8.5/src/corelib/io/qfilesystemengine_unix.cpp
+--- qt-everywhere-opensource-src-4.8.5/src/corelib/io/qfilesystemengine_unix.cpp.QTBUG-4862 2013-06-09 12:02:50.323221694 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/corelib/io/qfilesystemengine_unix.cpp 2013-06-09 12:38:53.140804742 -0500
+@@ -624,6 +624,25 @@ QString QFileSystemEngine::homePath()
+ {
+ QString home = QFile::decodeName(qgetenv("HOME"));
+ if (home.isEmpty())
++ {
++#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_OPENBSD)
++ int size_max = sysconf(_SC_GETPW_R_SIZE_MAX);
++ if (size_max == -1)
++ size_max = 1024;
++ QVarLengthArray<char, 1024> buf(size_max);
++#endif
++ struct passwd *pw = 0;
++ uid_t user_id = getuid();
++ pw = getpwuid(user_id);
++#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_OPENBSD)
++ struct passwd entry;
++ getpwuid_r(user_id, &entry, buf.data(), buf.size(), &pw);
++#else
++ pw = getpwuid(user_id);
++#endif
++ home = QFile::decodeName(QByteArray(pw->pw_dir));
++ }
++ if (home.isEmpty())
+ home = rootPath();
+ return QDir::cleanPath(home);
+ }
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-mysql_config.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-mysql_config.patch
new file mode 100644
index 0000000000..fc0ee7670b
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-mysql_config.patch
@@ -0,0 +1,19 @@
+diff -up qt-everywhere-opensource-src-4.8.5/configure.mysql_config qt-everywhere-opensource-src-4.8.5/configure
+--- qt-everywhere-opensource-src-4.8.5/configure.mysql_config 2013-06-07 00:16:41.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/configure 2014-03-07 10:09:27.412071146 -0600
+@@ -5480,8 +5480,15 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do
+ [ -z "$CFG_MYSQL_CONFIG" ] && CFG_MYSQL_CONFIG=`"$WHICH" mysql_config`
+ if [ -x "$CFG_MYSQL_CONFIG" ]; then
+ QT_CFLAGS_MYSQL=`$CFG_MYSQL_CONFIG --include 2>/dev/null`
++ $CFG_MYSQL_CONFIG --variable=pkglibdir &>/dev/null && \
++ QT_MYSQL_PKGLIBDIR=`$CFG_MYSQL_CONFIG --variable=pkglibdir 2>/dev/null`
++ if [ -n "$QT_MYSQL_PKGLIBDIR" ]; then
++ QT_LFLAGS_MYSQL_R="-L$QT_MYSQL_PKGLIBDIR -lmysqlclient_r"
++ QT_LFLAGS_MYSQL="-L$QT_MYSQL_PKGLIBDIR -lmysqlclient"
++ else
+ QT_LFLAGS_MYSQL_R=`$CFG_MYSQL_CONFIG --libs_r 2>/dev/null`
+ QT_LFLAGS_MYSQL=`$CFG_MYSQL_CONFIG --libs 2>/dev/null`
++ fi
+ QT_MYSQL_VERSION=`$CFG_MYSQL_CONFIG --version 2>/dev/null`
+ QT_MYSQL_VERSION_MAJOR=`echo $QT_MYSQL_VERSION | cut -d . -f 1`
+ fi
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qgtkstyle_disable_gtk_theme_check.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qgtkstyle_disable_gtk_theme_check.patch
new file mode 100644
index 0000000000..9a9f773537
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qgtkstyle_disable_gtk_theme_check.patch
@@ -0,0 +1,22 @@
+diff -up qt-everywhere-opensource-src-4.8.5/src/gui/styles/qgtkstyle_p.cpp.qgtkstyle_disable_gtk_theme_check qt-everywhere-opensource-src-4.8.5/src/gui/styles/qgtkstyle_p.cpp
+--- qt-everywhere-opensource-src-4.8.5/src/gui/styles/qgtkstyle_p.cpp.qgtkstyle_disable_gtk_theme_check 2013-06-09 16:28:22.938840346 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/gui/styles/qgtkstyle_p.cpp 2013-06-09 17:03:01.781125479 -0500
+@@ -503,18 +503,6 @@ void QGtkStylePrivate::initGtkWidgets()
+ return;
+ }
+
+- static QString themeName;
+- if (!gtkWidgetMap()->contains("GtkWindow") && themeName.isEmpty()) {
+- themeName = getThemeName();
+-
+- if (themeName == QLS("Qt") || themeName == QLS("Qt4")) {
+- // Due to namespace conflicts with Qt3 and obvious recursion with Qt4,
+- // we cannot support the GTK_Qt Gtk engine
+- qWarning("QGtkStyle cannot be used together with the GTK_Qt engine.");
+- return;
+- }
+- }
+-
+ if (QGtkStylePrivate::gtk_init) {
+ // Gtk will set the Qt error handler so we have to reset it afterwards
+ x11ErrorHandler qt_x_errhandler = XSetErrorHandler(0);
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch
new file mode 100644
index 0000000000..6a87783e3a
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch
@@ -0,0 +1,19 @@
+diff -up qt-everywhere-opensource-src-4.8.5/src/corelib/kernel/qcoreapplication.cpp.qt_plugin_path qt-everywhere-opensource-src-4.8.5/src/corelib/kernel/qcoreapplication.cpp
+--- qt-everywhere-opensource-src-4.8.5/src/corelib/kernel/qcoreapplication.cpp.qt_plugin_path 2013-06-07 00:16:52.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/corelib/kernel/qcoreapplication.cpp 2013-06-21 07:14:10.045039936 -0500
+@@ -2511,6 +2511,15 @@ QStringList QCoreApplication::libraryPat
+ if (!app_libpaths->contains(installPathPlugins))
+ app_libpaths->append(installPathPlugins);
+ }
++
++ // hack in support for kde4 plugin paths -- Rex
++ QString kde4PathPlugins = QLibraryInfo::location(QLibraryInfo::LibrariesPath) + QLatin1String("/kde4/plugins");
++ if (QFile::exists(kde4PathPlugins)) {
++ // Make sure we convert from backslashes to slashes.
++ //kde4PathPlugins = QDir(kde4PathPlugins).canonicalPath();
++ if (!app_libpaths->contains(kde4PathPlugins))
++ app_libpaths->append(kde4PathPlugins);
++ }
+ #endif
+
+ // If QCoreApplication is not yet instantiated,
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch
new file mode 100644
index 0000000000..2deeb51bbf
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch
@@ -0,0 +1,12 @@
+diff -up qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri.tds_no_strict_aliasing qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri
+--- qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri.tds_no_strict_aliasing 2013-06-09 11:57:49.198291245 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/sql/drivers/tds/qsql_tds.pri 2013-06-09 12:01:24.120100371 -0500
+@@ -1,6 +1,8 @@
+ HEADERS += $$PWD/qsql_tds.h
+ SOURCES += $$PWD/qsql_tds.cpp
+
++*-g++*: QMAKE_CXXFLAGS += -fno-strict-aliasing
++
+ unix|win32-g++*: {
+ LIBS += $$QT_LFLAGS_TDS
+ !contains(LIBS, .*sybdb.*):LIBS += -lsybdb
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-uic_multilib.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-uic_multilib.patch
new file mode 100644
index 0000000000..d04d1be5af
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-uic_multilib.patch
@@ -0,0 +1,28 @@
+diff -up qt-everywhere-opensource-src-4.8.5/src/tools/moc/moc.cpp.uic_multilib qt-everywhere-opensource-src-4.8.5/src/tools/moc/moc.cpp
+diff -up qt-everywhere-opensource-src-4.8.5/src/tools/uic3/embed.cpp.uic_multilib qt-everywhere-opensource-src-4.8.5/src/tools/uic3/embed.cpp
+--- qt-everywhere-opensource-src-4.8.5/src/tools/uic3/embed.cpp.uic_multilib 2013-05-30 16:18:04.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/tools/uic3/embed.cpp 2013-06-09 11:50:25.597813974 -0500
+@@ -152,8 +152,7 @@ void Ui3Reader::embed(const char *projec
+ for ( it = images.begin(); it != images.end(); ++it )
+ out << "** " << *it << "\n";
+ out << "**\n";
+- out << "** Created: " << QDateTime::currentDateTime().toString() << "\n";
+- out << "** by: The User Interface Compiler for Qt version " << QT_VERSION_STR << "\n";
++ out << "** Created: by: The User Interface Compiler for Qt version " << QT_VERSION_STR << "\n";
+ out << "**\n";
+ out << "** WARNING! All changes made in this file will be lost!\n";
+ out << "****************************************************************************/\n";
+diff -up qt-everywhere-opensource-src-4.8.5/src/tools/uic3/uic.cpp.uic_multilib qt-everywhere-opensource-src-4.8.5/src/tools/uic3/uic.cpp
+--- qt-everywhere-opensource-src-4.8.5/src/tools/uic3/uic.cpp.uic_multilib 2013-05-30 16:18:04.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/tools/uic3/uic.cpp 2013-06-09 11:51:28.310174526 -0500
+@@ -146,8 +146,7 @@ void Uic::writeCopyrightHeader(DomUI *ui
+ out << "/********************************************************************************\n";
+ out << "** Form generated from reading UI file '" << QFileInfo(opt.inputFile).fileName() << "'\n";
+ out << "**\n";
+- out << "** Created: " << QDateTime::currentDateTime().toString() << "\n";
+- out << "** " << QString::fromLatin1("by: Qt User Interface Compiler version %1\n").arg(QLatin1String(QT_VERSION_STR));
++ out << "** Created by: " << QString::fromLatin1("Qt User Interface Compiler version %1\n").arg(QLatin1String(QT_VERSION_STR));
+ out << "**\n";
+ out << "** WARNING! All changes made in this file will be lost when recompiling UI file!\n";
+ out << "********************************************************************************/\n\n";
+diff -up qt-everywhere-opensource-src-4.8.5/src/tools/uic/uic.cpp.uic_multilib qt-everywhere-opensource-src-4.8.5/src/tools/uic/uic.cpp
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-webcore_debuginfo.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-webcore_debuginfo.patch
new file mode 100644
index 0000000000..1ea8af2b0e
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.5-webcore_debuginfo.patch
@@ -0,0 +1,16 @@
+diff -up qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore/WebCore.pri.webkit_debuginfo qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore/WebCore.pri
+--- qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore/WebCore.pri.webkit_debuginfo 2013-06-07 00:16:55.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore/WebCore.pri 2013-07-11 14:04:19.937056249 -0500
+@@ -5,6 +5,12 @@ include(features.pri)
+
+ # Uncomment this to enable Texture Mapper.
+ # CONFIG += texmap
++#
++equals(QT_ARCH, s390)|equals(QT_ARCH, arm)|equals(QT_ARCH, mips)|equals(QT_ARCH, i386)|equals(QT_ARCH, i686)|equals(QT_ARCH, x86_64)|equals(QT_ARCH, powerpc64)|equals(QT_ARCH, powerpc) {
++ message("WebCore workaround for QtWebkit: do not build with -g, but with -g1")
++ QMAKE_CXXFLAGS_RELEASE -= -g
++ QMAKE_CXXFLAGS_RELEASE += -g1
++}
+
+ QT *= network
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch
new file mode 100644
index 0000000000..b6f5525dcc
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch
@@ -0,0 +1,17 @@
+diff -up qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829 qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp.QTBUG-22829 2015-05-07 09:14:44.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/tools/moc/main.cpp 2016-12-08 12:32:46.638962448 -0600
+@@ -188,8 +188,12 @@ int runMoc(int _argc, char **_argv)
+ pp.macros["Q_MOC_RUN"];
+ pp.macros["__cplusplus"];
+
+- // Workaround a bug while parsing the boost/type_traits/has_operator.hpp header. See QTBUG-22829
++ // Workaround a bugs while parsing some boost headers. See QTBUG-22829
+ pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"];
++ pp.macros["BOOST_LEXICAL_CAST_INCLUDED"];
++ pp.macros["BOOST_NEXT_PRIOR_HPP_INCLUDED"];
++ pp.macros["BOOST_TYPE_TRAITS_HPP"];
++ pp.macros["_SYS_SYSMACROS_H_OUTER"];
+
+ QByteArray filename;
+ QByteArray output;
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch
new file mode 100644
index 0000000000..d9fe24b7f6
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch
@@ -0,0 +1,94 @@
+--- a/src/corelib/kernel/qeventdispatcher_glib.cpp.sav 2014-03-28 15:26:37.000000000 +0100
++++ b/src/corelib/kernel/qeventdispatcher_glib.cpp 2014-04-24 09:44:09.358659204 +0200
+@@ -255,22 +255,30 @@ struct GPostEventSource
+ GSource source;
+ QAtomicInt serialNumber;
+ int lastSerialNumber;
++ QEventLoop::ProcessEventsFlags processEventsFlags;
+ QEventDispatcherGlibPrivate *d;
+ };
+
+ static gboolean postEventSourcePrepare(GSource *s, gint *timeout)
+ {
++ GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s);
+ QThreadData *data = QThreadData::current();
+ if (!data)
+ return false;
+
++ QEventLoop::ProcessEventsFlags excludeAllFlags
++ = QEventLoop::ExcludeUserInputEvents
++ | QEventLoop::ExcludeSocketNotifiers
++ | QEventLoop::X11ExcludeTimers;
++ if ((source->processEventsFlags & excludeAllFlags) == excludeAllFlags)
++ return false;
++
+ gint dummy;
+ if (!timeout)
+ timeout = &dummy;
+ const bool canWait = data->canWaitLocked();
+ *timeout = canWait ? -1 : 0;
+
+- GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s);
+ return (!canWait
+ || (source->serialNumber != source->lastSerialNumber));
+ }
+@@ -284,8 +292,14 @@ static gboolean postEventSourceDispatch(
+ {
+ GPostEventSource *source = reinterpret_cast<GPostEventSource *>(s);
+ source->lastSerialNumber = source->serialNumber;
+- QCoreApplication::sendPostedEvents();
+- source->d->runTimersOnceWithNormalPriority();
++ QEventLoop::ProcessEventsFlags excludeAllFlags
++ = QEventLoop::ExcludeUserInputEvents
++ | QEventLoop::ExcludeSocketNotifiers
++ | QEventLoop::X11ExcludeTimers;
++ if ((source->processEventsFlags & excludeAllFlags) != excludeAllFlags) {
++ QCoreApplication::sendPostedEvents();
++ source->d->runTimersOnceWithNormalPriority();
++ }
+ return true; // i dunno, george...
+ }
+
+@@ -329,6 +343,7 @@ QEventDispatcherGlibPrivate::QEventDispa
+ postEventSource = reinterpret_cast<GPostEventSource *>(g_source_new(&postEventSourceFuncs,
+ sizeof(GPostEventSource)));
+ postEventSource->serialNumber = 1;
++ postEventSource->processEventsFlags = QEventLoop::AllEvents;
+ postEventSource->d = this;
+ g_source_set_can_recurse(&postEventSource->source, true);
+ g_source_attach(&postEventSource->source, mainContext);
+@@ -423,6 +438,7 @@ bool QEventDispatcherGlib::processEvents
+
+ // tell postEventSourcePrepare() and timerSource about any new flags
+ QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags;
++ d->postEventSource->processEventsFlags = flags;
+ d->timerSource->processEventsFlags = flags;
+ d->socketNotifierSource->processEventsFlags = flags;
+
+@@ -435,6 +451,7 @@ bool QEventDispatcherGlib::processEvents
+ while (!result && canWait)
+ result = g_main_context_iteration(d->mainContext, canWait);
+
++ d->postEventSource->processEventsFlags = savedFlags;
+ d->timerSource->processEventsFlags = savedFlags;
+ d->socketNotifierSource->processEventsFlags = savedFlags;
+
+--- a/src/corelib/kernel/qeventdispatcher_unix.cpp.sav 2013-06-07 07:16:52.000000000 +0200
++++ b/src/corelib/kernel/qeventdispatcher_unix.cpp 2014-04-24 09:43:06.927589535 +0200
+@@ -905,7 +905,15 @@ bool QEventDispatcherUNIX::processEvents
+
+ // we are awake, broadcast it
+ emit awake();
+- QCoreApplicationPrivate::sendPostedEvents(0, 0, d->threadData);
++
++ QEventLoop::ProcessEventsFlags excludeAllFlags
++ = QEventLoop::ExcludeUserInputEvents
++ | QEventLoop::ExcludeSocketNotifiers
++ | QEventLoop::X11ExcludeTimers;
++ if ((flags & excludeAllFlags) == excludeAllFlags)
++ return false;
++ if(( flags & excludeAllFlags ) != excludeAllFlags )
++ QCoreApplicationPrivate::sendPostedEvents(0, 0, d->threadData);
+
+ int nevents = 0;
+ const bool canWait = (d->threadData->canWaitLocked()
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch
new file mode 100644
index 0000000000..6949bbfef3
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch
@@ -0,0 +1,63 @@
+Author: Jan-Marek Glogowski <glogow@fbihome.de>
+Date: Thu Mar 06 18:44:43 2014 +0100
+
+ Honor QEventLoop::ExcludeSocketNotifiers in glib event loop.
+
+ Implements QEventLoop::ExcludeSocketNotifiers in the same way
+ QEventLoop::X11ExcludeTimers is already implemented for the glib
+ event loop.
+
+--- qt4-x11-4.8.1.orig/src/corelib/kernel/qeventdispatcher_glib.cpp
++++ qt4-x11-4.8.1/src/corelib/kernel/qeventdispatcher_glib.cpp
+@@ -65,6 +65,7 @@ struct GPollFDWithQSocketNotifier
+ struct GSocketNotifierSource
+ {
+ GSource source;
++ QEventLoop::ProcessEventsFlags processEventsFlags;
+ QList<GPollFDWithQSocketNotifier *> pollfds;
+ };
+
+@@ -80,6 +81,9 @@ static gboolean socketNotifierSourceChec
+ GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source);
+
+ bool pending = false;
++ if (src->processEventsFlags & QEventLoop::ExcludeSocketNotifiers)
++ return pending;
++
+ for (int i = 0; !pending && i < src->pollfds.count(); ++i) {
+ GPollFDWithQSocketNotifier *p = src->pollfds.at(i);
+
+@@ -103,6 +107,9 @@ static gboolean socketNotifierSourceDisp
+ QEvent event(QEvent::SockAct);
+
+ GSocketNotifierSource *src = reinterpret_cast<GSocketNotifierSource *>(source);
++ if (src->processEventsFlags & QEventLoop::ExcludeSocketNotifiers)
++ return true;
++
+ for (int i = 0; i < src->pollfds.count(); ++i) {
+ GPollFDWithQSocketNotifier *p = src->pollfds.at(i);
+
+@@ -330,6 +337,7 @@ QEventDispatcherGlibPrivate::QEventDispa
+ reinterpret_cast<GSocketNotifierSource *>(g_source_new(&socketNotifierSourceFuncs,
+ sizeof(GSocketNotifierSource)));
+ (void) new (&socketNotifierSource->pollfds) QList<GPollFDWithQSocketNotifier *>();
++ socketNotifierSource->processEventsFlags = QEventLoop::AllEvents;
+ g_source_set_can_recurse(&socketNotifierSource->source, true);
+ g_source_attach(&socketNotifierSource->source, mainContext);
+
+@@ -415,6 +423,7 @@ bool QEventDispatcherGlib::processEvents
+ // tell postEventSourcePrepare() and timerSource about any new flags
+ QEventLoop::ProcessEventsFlags savedFlags = d->timerSource->processEventsFlags;
+ d->timerSource->processEventsFlags = flags;
++ d->socketNotifierSource->processEventsFlags = flags;
+
+ if (!(flags & QEventLoop::EventLoopExec)) {
+ // force timers to be sent at normal priority
+@@ -426,6 +435,7 @@ bool QEventDispatcherGlib::processEvents
+ result = g_main_context_iteration(d->mainContext, canWait);
+
+ d->timerSource->processEventsFlags = savedFlags;
++ d->socketNotifierSource->processEventsFlags = savedFlags;
+
+ if (canWait)
+ emit awake();
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch
new file mode 100644
index 0000000000..bf5ae16447
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch
@@ -0,0 +1,12 @@
+--- a/src/gui/kernel/qclipboard_x11.cpp.sav 2014-04-25 09:52:03.855693228 +0200
++++ a/src/gui/kernel/qclipboard_x11.cpp 2014-04-25 09:51:58.038693777 +0200
+@@ -548,7 +548,8 @@ bool QX11Data::clipboardWaitForEvent(Win
+ return false;
+
+ XSync(X11->display, false);
+- usleep(50000);
++ if (!XPending(X11->display))
++ usleep(5000);
+
+ now.start();
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-s390.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-s390.patch
new file mode 100644
index 0000000000..5098c08225
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-s390.patch
@@ -0,0 +1,31 @@
+diff -up qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+--- qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2014-03-31 17:59:16.846465899 -0500
+@@ -189,6 +189,18 @@
+ #define WTF_CPU_SPARC 1
+ #endif
+
++/* CPU(S390X) - S390 64-bit */
++#if defined(__s390x__)
++#define WTF_CPU_S390X 1
++#define WTF_CPU_BIG_ENDIAN 1
++#endif
++
++/* CPU(S390) - S390 32-bit */
++#if defined(__s390__)
++#define WTF_CPU_S390 1
++#define WTF_CPU_BIG_ENDIAN 1
++#endif
++
+ /* CPU(X86) - i386 / x86 32-bit */
+ #if defined(__i386__) \
+ || defined(i386) \
+@@ -903,7 +915,7 @@
+ #endif
+
+ #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
+-#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64)
++#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64) || CPU(S390X)
+ #define WTF_USE_JSVALUE64 1
+ #elif CPU(ARM) || CPU(PPC64)
+ #define WTF_USE_JSVALUE32 1
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-system-clucene.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-system-clucene.patch
new file mode 100644
index 0000000000..63a746290b
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-system-clucene.patch
@@ -0,0 +1,351 @@
+diff -ur qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/fulltextsearch.pri qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/fulltextsearch.pri
+--- qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/fulltextsearch.pri 2014-04-10 20:37:12.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/fulltextsearch.pri 2014-10-26 03:33:45.000000000 +0100
+@@ -1,125 +1,7 @@
+-DEFINES += _BUILD_FOR_QT_ LUCENE_DISABLE_MEMTRACKING
+-win32:DEFINES += _CRT_SECURE_NO_DEPRECATE _MT
+-
+-CLUCENEDIR = ../../../../src/3rdparty/clucene/src/CLucene
+-
+-INCLUDEPATH += . .. \
+- $$CLUCENEDIR \
+- $$CLUCENEDIR/../ \
+- $$CLUCENEDIR/analysis \
+- $$CLUCENEDIR/analysis/standard \
+- $$CLUCENEDIR/config \
+- $$CLUCENEDIR/debug \
+- $$CLUCENEDIR/document \
+- $$CLUCENEDIR/index \
+- $$CLUCENEDIR/queryParser \
+- $$CLUCENEDIR/search \
+- $$CLUCENEDIR/store \
+- $$CLUCENEDIR/util
+-
+-
+-SOURCES += $$CLUCENEDIR/StdHeader.cpp \
+- $$CLUCENEDIR/analysis/AnalysisHeader.cpp \
+- $$CLUCENEDIR/analysis/Analyzers.cpp \
+- $$CLUCENEDIR/config/gunichartables.cpp \
+- $$CLUCENEDIR/config/repl_lltot.cpp \
+- $$CLUCENEDIR/config/repl_tcscasecmp.cpp \
+- $$CLUCENEDIR/config/repl_tcslwr.cpp \
+- $$CLUCENEDIR/config/repl_tcstod.cpp \
+- $$CLUCENEDIR/config/repl_tcstoll.cpp \
+- $$CLUCENEDIR/config/repl_tprintf.cpp \
+- $$CLUCENEDIR/config/threads.cpp \
+- $$CLUCENEDIR/config/utf8.cpp \
+- $$CLUCENEDIR/debug/condition.cpp \
+- $$CLUCENEDIR/debug/error.cpp \
+- $$CLUCENEDIR/debug/memtracking.cpp \
+- $$CLUCENEDIR/document/DateField.cpp \
+- $$CLUCENEDIR/document/Document.cpp \
+- $$CLUCENEDIR/document/Field.cpp \
+- $$CLUCENEDIR/index/CompoundFile.cpp \
+- $$CLUCENEDIR/index/DocumentWriter.cpp \
+- $$CLUCENEDIR/index/FieldInfos.cpp \
+- $$CLUCENEDIR/index/FieldsReader.cpp \
+- $$CLUCENEDIR/index/FieldsWriter.cpp \
+- $$CLUCENEDIR/index/IndexModifier.cpp \
+- $$CLUCENEDIR/index/IndexReader.cpp \
+- $$CLUCENEDIR/index/IndexWriter.cpp \
+- $$CLUCENEDIR/index/MultiReader.cpp \
+- $$CLUCENEDIR/index/SegmentInfos.cpp \
+- $$CLUCENEDIR/index/SegmentMergeInfo.cpp \
+- $$CLUCENEDIR/index/SegmentMergeQueue.cpp \
+- $$CLUCENEDIR/index/SegmentMerger.cpp \
+- $$CLUCENEDIR/index/SegmentReader.cpp \
+- $$CLUCENEDIR/index/SegmentTermDocs.cpp \
+- $$CLUCENEDIR/index/SegmentTermEnum.cpp \
+- $$CLUCENEDIR/index/SegmentTermPositions.cpp \
+- $$CLUCENEDIR/index/SegmentTermVector.cpp \
+- $$CLUCENEDIR/index/Term.cpp \
+- $$CLUCENEDIR/index/TermInfo.cpp \
+- $$CLUCENEDIR/index/TermInfosReader.cpp \
+- $$CLUCENEDIR/index/TermInfosWriter.cpp \
+- $$CLUCENEDIR/index/TermVectorReader.cpp \
+- $$CLUCENEDIR/index/TermVectorWriter.cpp \
+- $$CLUCENEDIR/queryParser/Lexer.cpp \
+- $$CLUCENEDIR/queryParser/MultiFieldQueryParser.cpp \
+- $$CLUCENEDIR/queryParser/QueryParser.cpp \
+- $$CLUCENEDIR/queryParser/QueryParserBase.cpp \
+- $$CLUCENEDIR/queryParser/QueryToken.cpp \
+- $$CLUCENEDIR/queryParser/TokenList.cpp \
+- $$CLUCENEDIR/search/BooleanQuery.cpp \
+- $$CLUCENEDIR/search/BooleanScorer.cpp \
+- $$CLUCENEDIR/search/CachingWrapperFilter.cpp \
+- $$CLUCENEDIR/search/ChainedFilter.cpp \
+- $$CLUCENEDIR/search/ConjunctionScorer.cpp \
+- $$CLUCENEDIR/search/DateFilter.cpp \
+- $$CLUCENEDIR/search/ExactPhraseScorer.cpp \
+- $$CLUCENEDIR/search/Explanation.cpp \
+- $$CLUCENEDIR/search/FieldCache.cpp \
+- $$CLUCENEDIR/search/FieldCacheImpl.cpp \
+- $$CLUCENEDIR/search/FieldDocSortedHitQueue.cpp \
+- $$CLUCENEDIR/search/FieldSortedHitQueue.cpp \
+- $$CLUCENEDIR/search/FilteredTermEnum.cpp \
+- $$CLUCENEDIR/search/FuzzyQuery.cpp \
+- $$CLUCENEDIR/search/HitQueue.cpp \
+- $$CLUCENEDIR/search/Hits.cpp \
+- $$CLUCENEDIR/search/IndexSearcher.cpp \
+- $$CLUCENEDIR/search/MultiSearcher.cpp \
+- $$CLUCENEDIR/search/MultiTermQuery.cpp \
+- $$CLUCENEDIR/search/PhrasePositions.cpp \
+- $$CLUCENEDIR/search/PhraseQuery.cpp \
+- $$CLUCENEDIR/search/PhraseScorer.cpp \
+- $$CLUCENEDIR/search/PrefixQuery.cpp \
+- $$CLUCENEDIR/search/QueryFilter.cpp \
+- $$CLUCENEDIR/search/RangeFilter.cpp \
+- $$CLUCENEDIR/search/RangeQuery.cpp \
+- $$CLUCENEDIR/search/SearchHeader.cpp \
+- $$CLUCENEDIR/search/Similarity.cpp \
+- $$CLUCENEDIR/search/SloppyPhraseScorer.cpp \
+- $$CLUCENEDIR/search/Sort.cpp \
+- $$CLUCENEDIR/search/TermQuery.cpp \
+- $$CLUCENEDIR/search/TermScorer.cpp \
+- $$CLUCENEDIR/search/WildcardQuery.cpp \
+- $$CLUCENEDIR/search/WildcardTermEnum.cpp \
+- $$CLUCENEDIR/store/FSDirectory.cpp \
+- $$CLUCENEDIR/store/IndexInput.cpp \
+- $$CLUCENEDIR/store/IndexOutput.cpp \
+- $$CLUCENEDIR/store/Lock.cpp \
+- $$CLUCENEDIR/store/MMapInput.cpp \
+- $$CLUCENEDIR/store/RAMDirectory.cpp \
+- $$CLUCENEDIR/store/TransactionalRAMDirectory.cpp \
+- $$CLUCENEDIR/util/BitSet.cpp \
+- $$CLUCENEDIR/util/Equators.cpp \
+- $$CLUCENEDIR/util/FastCharStream.cpp \
+- $$CLUCENEDIR/util/fileinputstream.cpp \
+- $$CLUCENEDIR/util/Misc.cpp \
+- $$CLUCENEDIR/util/Reader.cpp \
+- $$CLUCENEDIR/util/StringBuffer.cpp \
+- $$CLUCENEDIR/util/StringIntern.cpp \
+- $$CLUCENEDIR/util/ThreadLocal.cpp \
+- $$CLUCENEDIR/analysis/standard/StandardAnalyzer.cpp \
+- $$CLUCENEDIR/analysis/standard/StandardFilter.cpp \
+- $$CLUCENEDIR/analysis/standard/StandardTokenizer.cpp
+
++INCLUDEPATH += /usr/include/clucene09 $$[QT_INSTALL_LIBS]/clucene09 $$[QT_INSTALL_LIBS]
++LIBS += -L$$[QT_INSTALL_LIBS]/clucene09 -lclucene
++#DEFINES += LUCENE_ENABLE_REFCOUNT (must be set at CLucene build time!)
+
+ #Header files
+ HEADERS += qclucene_global_p.h \
+diff -ur qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qclucene-config_p.h qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qclucene-config_p.h
+--- qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qclucene-config_p.h 2014-04-10 20:37:12.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qclucene-config_p.h 2014-10-26 02:28:54.000000000 +0100
+@@ -15,6 +15,8 @@
+ **
+ ****************************************************************************/
+
++#error This header must not be included when building against system CLucene.
++
+ #ifndef QCLUCENE_CONFIG_P_H
+ #define QCLUCENE_CONFIG_P_H
+
+diff -ur qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qclucene_global_p.h qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qclucene_global_p.h
+--- qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qclucene_global_p.h 2014-04-10 20:37:12.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qclucene_global_p.h 2014-10-26 02:31:54.000000000 +0100
+@@ -29,20 +29,10 @@
+ // We mean it.
+ //
+
+-#if !defined(_MSC_VER)
+-# include "qclucene-config_p.h"
+-#endif
+-
+ #include <QtCore/QChar>
+ #include <QtCore/QString>
+
+-#if !defined(_MSC_VER) && !defined(__MINGW32__) && defined(_CL_HAVE_WCHAR_H) && defined(_CL_HAVE_WCHAR_T)
+-# if !defined(TCHAR)
+-# define TCHAR wchar_t
+-# endif
+-#else
+-# include <windows.h>
+-#endif
++#include <CLucene/StdHeader.h>
+
+ QT_BEGIN_HEADER
+
+@@ -56,52 +46,6 @@
+ # define QHELP_EXPORT Q_DECL_IMPORT
+ #endif
+
+-//
+-// W A R N I N G
+-// -------------
+-//
+-// adjustments here, need to be done in
+-// QTDIR/src/3rdparty/clucene/src/CLucene/StdHeader.h as well
+-//
+-#if defined(_LUCENE_DONTIMPLEMENT_NS_MACROS)
+-
+-#elif !defined(DISABLE_NAMESPACE)
+-# ifdef QT_NAMESPACE
+-# define CL_NS_DEF(sub) namespace QT_NAMESPACE { namespace lucene{ namespace sub{
+-# define CL_NS_DEF2(sub,sub2) namespace QT_NAMESPACE { namespace lucene{ namespace sub{ namespace sub2 {
+-
+-# define CL_NS_END }}}
+-# define CL_NS_END2 }}}}
+-
+-# define CL_NS_USE(sub) using namespace QT_NAMESPACE::lucene::sub;
+-# define CL_NS_USE2(sub,sub2) using namespace QT_NAMESPACE::lucene::sub::sub2;
+-
+-# define CL_NS(sub) QT_NAMESPACE::lucene::sub
+-# define CL_NS2(sub,sub2) QT_NAMESPACE::lucene::sub::sub2
+-# else
+-# define CL_NS_DEF(sub) namespace lucene{ namespace sub{
+-# define CL_NS_DEF2(sub,sub2) namespace lucene{ namespace sub{ namespace sub2 {
+-
+-# define CL_NS_END }}
+-# define CL_NS_END2 }}}
+-
+-# define CL_NS_USE(sub) using namespace lucene::sub;
+-# define CL_NS_USE2(sub,sub2) using namespace lucene::sub::sub2;
+-
+-# define CL_NS(sub) lucene::sub
+-# define CL_NS2(sub,sub2) lucene::sub::sub2
+-# endif
+-#else
+-# define CL_NS_DEF(sub)
+-# define CL_NS_DEF2(sub, sub2)
+-# define CL_NS_END
+-# define CL_NS_END2
+-# define CL_NS_USE(sub)
+-# define CL_NS_USE2(sub,sub2)
+-# define CL_NS(sub)
+-# define CL_NS2(sub,sub2)
+-#endif
+-
+ namespace {
+ TCHAR* QStringToTChar(const QString &str)
+ {
+diff -ur qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qindexreader.cpp qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qindexreader.cpp
+--- qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qindexreader.cpp 2014-04-10 20:37:12.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qindexreader.cpp 2014-10-26 02:48:02.000000000 +0100
+@@ -18,6 +18,8 @@
+ #include "qindexreader_p.h"
+ #include "qclucene_global_p.h"
+
++#include <QtCore/QDir>
++
+ #include <CLucene.h>
+ #include <CLucene/index/IndexReader.h>
+
+@@ -59,13 +61,13 @@
+ {
+ using namespace lucene::index;
+
+- return IndexReader::isLuceneFile(filename);
++ return IndexReader::isLuceneFile(filename.toLocal8Bit().constData());
+ }
+
+ bool QCLuceneIndexReader::indexExists(const QString &directory)
+ {
+ using namespace lucene::index;
+- return IndexReader::indexExists(directory);
++ return IndexReader::indexExists(directory.toLocal8Bit().constData());
+ }
+
+ QCLuceneIndexReader QCLuceneIndexReader::open(const QString &path)
+@@ -73,7 +75,7 @@
+ using namespace lucene::index;
+
+ QCLuceneIndexReader indexReader;
+- indexReader.d->reader = IndexReader::open(path);
++ indexReader.d->reader = IndexReader::open(path.toLocal8Bit().constData());
+
+ return indexReader;
+ }
+@@ -81,25 +83,29 @@
+ void QCLuceneIndexReader::unlock(const QString &path)
+ {
+ using namespace lucene::index;
+- IndexReader::unlock(path);
++ IndexReader::unlock(path.toLocal8Bit().constData());
+ }
+
+ bool QCLuceneIndexReader::isLocked(const QString &directory)
+ {
++ // The system CLucene fails here if the directory does not exist yet, unlike
++ // the bundled one. Work around that.
++ QDir::current().mkpath(directory);
++
+ using namespace lucene::index;
+- return IndexReader::isLocked(directory);
++ return IndexReader::isLocked(directory.toLocal8Bit().constData());
+ }
+
+ quint64 QCLuceneIndexReader::lastModified(const QString &directory)
+ {
+ using namespace lucene::index;
+- return quint64(IndexReader::lastModified(directory));
++ return quint64(IndexReader::lastModified(directory.toLocal8Bit().constData()));
+ }
+
+ qint64 QCLuceneIndexReader::getCurrentVersion(const QString &directory)
+ {
+ using namespace lucene::index;
+- return qint64(IndexReader::getCurrentVersion(directory));
++ return qint64(IndexReader::getCurrentVersion(directory.toLocal8Bit().constData()));
+ }
+
+ void QCLuceneIndexReader::close()
+@@ -155,7 +161,7 @@
+ void QCLuceneIndexReader::setNorm(qint32 doc, const QString &field, qreal value)
+ {
+ TCHAR *fieldName = QStringToTChar(field);
+- d->reader->setNorm(int32_t(doc), fieldName, qreal(value));
++ d->reader->setNorm(int32_t(doc), fieldName, (float_t)value);
+ delete [] fieldName;
+ }
+
+diff -ur qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qindexwriter.cpp qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qindexwriter.cpp
+--- qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qindexwriter.cpp 2014-04-10 20:37:12.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qindexwriter.cpp 2014-10-26 02:48:27.000000000 +0100
+@@ -18,6 +18,8 @@
+ #include "qindexwriter_p.h"
+ #include "qindexreader_p.h"
+
++#include <QtCore/QDir>
++
+ #include <CLucene.h>
+ #include <CLucene/index/IndexWriter.h>
+
+@@ -50,7 +52,12 @@
+ : d(new QCLuceneIndexWriterPrivate())
+ , analyzer(analyzer)
+ {
+- d->writer = new lucene::index::IndexWriter(path,
++ // The system CLucene cannot create directories recursively, so do it here.
++ // Ignore failure: If it failed, we will get an error from CLucene anyway.
++ if (create)
++ QDir::current().mkpath(path);
++
++ d->writer = new lucene::index::IndexWriter(path.toLocal8Bit().constData(),
+ analyzer.d->analyzer, create, closeDir);
+ }
+
+diff -ur qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qsearchable.cpp qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qsearchable.cpp
+--- qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/fulltextsearch/qsearchable.cpp 2014-04-10 20:37:12.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/fulltextsearch/qsearchable.cpp 2014-10-26 02:48:44.000000000 +0100
+@@ -95,7 +95,7 @@
+ : QCLuceneSearcher()
+ {
+ lucene::search::IndexSearcher *searcher =
+- new lucene::search::IndexSearcher(path);
++ new lucene::search::IndexSearcher(path.toLocal8Bit().constData());
+
+ reader.d->reader = searcher->getReader();
+ reader.d->deleteCLuceneIndexReader = false;
+diff -ur qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/lib.pro qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/lib.pro
+--- qt-everywhere-opensource-src-4.8.6/tools/assistant/lib/lib.pro 2014-04-10 20:37:12.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.6-system-clucene/tools/assistant/lib/lib.pro 2014-10-26 02:27:55.000000000 +0100
+@@ -43,6 +43,7 @@
+ qhelp_global.cpp
+
+ # access to clucene
++INCLUDEPATH += /usr/include/clucene09 $$[QT_INSTALL_LIBS]/clucene09 $$[QT_INSTALL_LIBS]
+ SOURCES += qhelpsearchindexwriter_clucene.cpp \
+ qhelpsearchindexreader_clucene.cpp
+ HEADERS += qhelpenginecore.h \
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-systemtrayicon.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-systemtrayicon.patch
new file mode 100644
index 0000000000..60749d382f
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.6-systemtrayicon.patch
@@ -0,0 +1,1456 @@
+diff -up qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.cpp.systemtrayicon qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.cpp
+--- qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.cpp.systemtrayicon 2014-03-30 15:36:45.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.cpp 2014-03-31 18:16:39.707974934 -0500
+@@ -158,15 +158,23 @@ void Window::createIconGroupBox()
+ iconComboBox->addItem(QIcon(":/images/bad.svg"), tr("Bad"));
+ iconComboBox->addItem(QIcon(":/images/heart.svg"), tr("Heart"));
+ iconComboBox->addItem(QIcon(":/images/trash.svg"), tr("Trash"));
++ iconComboBox->addItem(QIcon::fromTheme("system-file-manager"), tr("File Manager"));
+
+ showIconCheckBox = new QCheckBox(tr("Show icon"));
+ showIconCheckBox->setChecked(true);
+
++#if defined(Q_WS_X11)
++ jitToolTipCheckBox = new QCheckBox(tr("Just In Time Tooltip"));
++#endif
++
+ QHBoxLayout *iconLayout = new QHBoxLayout;
+ iconLayout->addWidget(iconLabel);
+ iconLayout->addWidget(iconComboBox);
+ iconLayout->addStretch();
+ iconLayout->addWidget(showIconCheckBox);
++#if defined(Q_WS_X11)
++ iconLayout->addWidget(jitToolTipCheckBox);
++#endif
+ iconGroupBox->setLayout(iconLayout);
+ }
+
+@@ -254,5 +262,37 @@ void Window::createTrayIcon()
+ trayIconMenu->addAction(quitAction);
+
+ trayIcon = new QSystemTrayIcon(this);
++ QByteArray category = qgetenv("SNI_CATEGORY");
++ if (!category.isEmpty()) {
++ trayIcon->setProperty("_qt_sni_category", QString::fromLocal8Bit(category));
++ }
+ trayIcon->setContextMenu(trayIconMenu);
++
++#if defined(Q_WS_X11)
++ trayIcon->installEventFilter(this);
++#endif
++}
++
++#if defined(Q_WS_X11)
++bool Window::eventFilter(QObject *, QEvent *event)
++{
++ switch(event->type()) {
++ case QEvent::ToolTip:
++ if (jitToolTipCheckBox->isChecked()) {
++ QString timeString = QTime::currentTime().toString();
++ trayIcon->setToolTip(tr("Current Time: %1").arg(timeString));
++ }
++ break;
++ case QEvent::Wheel: {
++ QWheelEvent *wheelEvent = static_cast<QWheelEvent*>(event);
++ int delta = wheelEvent->delta() > 0 ? 1 : -1;
++ int index = (iconComboBox->currentIndex() + delta) % iconComboBox->count();
++ iconComboBox->setCurrentIndex(index);
++ break;
++ }
++ default:
++ break;
++ }
++ return false;
+ }
++#endif
+diff -up qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.h.systemtrayicon qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.h
+--- qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.h.systemtrayicon 2014-03-30 15:36:45.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/examples/desktop/systray/window.h 2014-03-31 18:16:39.707974934 -0500
+@@ -69,6 +69,9 @@ public:
+
+ protected:
+ void closeEvent(QCloseEvent *event);
++#if defined(Q_WS_X11)
++ bool eventFilter(QObject *object, QEvent *event);
++#endif
+
+ private slots:
+ void setIcon(int index);
+@@ -86,6 +89,9 @@ private:
+ QLabel *iconLabel;
+ QComboBox *iconComboBox;
+ QCheckBox *showIconCheckBox;
++#if defined(Q_WS_X11)
++ QCheckBox *jitToolTipCheckBox;
++#endif
+
+ QGroupBox *messageGroupBox;
+ QLabel *typeLabel;
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys.cpp.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys.cpp.systemtrayicon 2014-03-31 18:16:39.707974934 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys.cpp 2014-03-31 18:16:39.707974934 -0500
+@@ -0,0 +1,65 @@
++/****************************************************************************
++**
++** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
++** All rights reserved.
++** Contact: Nokia Corporation (qt-info@nokia.com)
++**
++** This file is part of the QtGui module of the Qt Toolkit.
++**
++** $QT_BEGIN_LICENSE:LGPL$
++** GNU Lesser General Public License Usage
++** This file may be used under the terms of the GNU Lesser General Public
++** License version 2.1 as published by the Free Software Foundation and
++** appearing in the file LICENSE.LGPL included in the packaging of this
++** file. Please review the following information to ensure the GNU Lesser
++** General Public License version 2.1 requirements will be met:
++** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
++**
++** In addition, as a special exception, Nokia gives you certain additional
++** rights. These rights are described in the Nokia Qt LGPL Exception
++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
++**
++** GNU General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU General
++** Public License version 3.0 as published by the Free Software Foundation
++** and appearing in the file LICENSE.GPL included in the packaging of this
++** file. Please review the following information to ensure the GNU General
++** Public License version 3.0 requirements will be met:
++** http://www.gnu.org/copyleft/gpl.html.
++**
++** Other Usage
++** Alternatively, this file may be used in accordance with the terms and
++** conditions contained in a signed written agreement between you and Nokia.
++**
++**
++**
++**
++**
++** $QT_END_LICENSE$
++**
++****************************************************************************/
++#ifndef QT_NO_SYSTEMTRAYICON
++
++#include "qabstractsystemtrayiconsys_p.h"
++
++
++QSystemTrayIconSysFactoryInterface::QSystemTrayIconSysFactoryInterface()
++{
++}
++
++/////////////////////////////////////////////////
++QAbstractSystemTrayIconSys::QAbstractSystemTrayIconSys(QSystemTrayIcon *icon)
++: trayIcon(icon)
++{
++}
++
++QAbstractSystemTrayIconSys::~QAbstractSystemTrayIconSys()
++{
++}
++
++void QAbstractSystemTrayIconSys::sendActivated(QSystemTrayIcon::ActivationReason reason)
++{
++ qtsystray_sendActivated(trayIcon, reason);
++}
++
++#endif
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys_p.h.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys_p.h
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys_p.h.systemtrayicon 2014-03-31 18:16:39.708974924 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/qabstractsystemtrayiconsys_p.h 2014-03-31 18:16:39.708974924 -0500
+@@ -0,0 +1,106 @@
++/****************************************************************************
++**
++** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
++** All rights reserved.
++** Contact: Nokia Corporation (qt-info@nokia.com)
++**
++** This file is part of the QtGui module of the Qt Toolkit.
++**
++** $QT_BEGIN_LICENSE:LGPL$
++** GNU Lesser General Public License Usage
++** This file may be used under the terms of the GNU Lesser General Public
++** License version 2.1 as published by the Free Software Foundation and
++** appearing in the file LICENSE.LGPL included in the packaging of this
++** file. Please review the following information to ensure the GNU Lesser
++** General Public License version 2.1 requirements will be met:
++** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
++**
++** In addition, as a special exception, Nokia gives you certain additional
++** rights. These rights are described in the Nokia Qt LGPL Exception
++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
++**
++** GNU General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU General
++** Public License version 3.0 as published by the Free Software Foundation
++** and appearing in the file LICENSE.GPL included in the packaging of this
++** file. Please review the following information to ensure the GNU General
++** Public License version 3.0 requirements will be met:
++** http://www.gnu.org/copyleft/gpl.html.
++**
++** Other Usage
++** Alternatively, this file may be used in accordance with the terms and
++** conditions contained in a signed written agreement between you and Nokia.
++**
++**
++**
++**
++**
++** $QT_END_LICENSE$
++**
++****************************************************************************/
++
++#ifndef QABSTRACTSYSTEMTRAYICONSYS_P_H
++#define QABSTRACTSYSTEMTRAYICONSYS_P_H
++
++//
++// W A R N I N G
++// -------------
++//
++// This file is not part of the Qt API. It exists for the convenience
++// of a number of Qt sources files. This header file may change from
++// version to version without notice, or even be removed.
++//
++// We mean it.
++//
++
++#ifndef QT_NO_SYSTEMTRAYICON
++
++#include <qfactoryinterface.h>
++#include <qsystemtrayicon.h>
++
++class QAbstractSystemTrayIconSys;
++
++class Q_GUI_EXPORT QSystemTrayIconSysFactoryInterface : public QObject, public QFactoryInterface
++{
++ Q_OBJECT
++public:
++ QSystemTrayIconSysFactoryInterface();
++ virtual QAbstractSystemTrayIconSys * create(QSystemTrayIcon *) = 0;
++ virtual bool isAvailable() const = 0;
++
++ // \reimp
++ virtual QStringList keys() const { return QStringList() << QLatin1String("default"); }
++
++Q_SIGNALS:
++ void availableChanged(bool);
++};
++
++#define QSystemTrayIconSysFactoryInterface_iid "com.nokia.qt.QSystemTrayIconSysFactoryInterface"
++Q_DECLARE_INTERFACE(QSystemTrayIconSysFactoryInterface, QSystemTrayIconSysFactoryInterface_iid)
++
++class QRect;
++
++class Q_GUI_EXPORT QAbstractSystemTrayIconSys
++{
++public:
++ QAbstractSystemTrayIconSys(QSystemTrayIcon *icon);
++ virtual ~QAbstractSystemTrayIconSys();
++
++ virtual QRect geometry() const = 0;
++ virtual void updateVisibility() = 0;
++ virtual void updateIcon() = 0;
++ virtual void updateToolTip() = 0;
++ virtual void updateMenu() = 0;
++ virtual void showMessage(const QString &title, const QString &message,
++ QSystemTrayIcon::MessageIcon icon, int msecs) = 0;
++
++ void sendActivated(QSystemTrayIcon::ActivationReason);
++
++protected:
++ QSystemTrayIcon *trayIcon;
++};
++
++#endif // QT_NO_SYSTEMTRAYICON
++
++#endif // QABSTRACTSYSTEMTRAYICONSYS_P_H
++
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon.cpp.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon.cpp.systemtrayicon 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon.cpp 2014-03-31 18:16:39.708974924 -0500
+@@ -287,12 +287,6 @@ bool QSystemTrayIcon::isVisible() const
+ */
+ bool QSystemTrayIcon::event(QEvent *e)
+ {
+-#if defined(Q_WS_X11)
+- if (e->type() == QEvent::ToolTip) {
+- Q_D(QSystemTrayIcon);
+- return d->sys->deliverToolTipEvent(e);
+- }
+-#endif
+ return QObject::event(e);
+ }
+
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_p.h.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_p.h
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_p.h.systemtrayicon 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_p.h 2014-03-31 18:16:39.708974924 -0500
+@@ -62,10 +62,17 @@
+ #include "QtGui/qpixmap.h"
+ #include "QtCore/qstring.h"
+ #include "QtCore/qpointer.h"
++#if defined(Q_WS_X11)
++#include "QtCore/qset.h"
++#endif
+
+ QT_BEGIN_NAMESPACE
+
++#if defined(Q_WS_X11)
++class QAbstractSystemTrayIconSys;
++#else
+ class QSystemTrayIconSys;
++#endif
+ class QToolButton;
+ class QLabel;
+
+@@ -75,6 +82,9 @@ class QSystemTrayIconPrivate : public QO
+
+ public:
+ QSystemTrayIconPrivate() : sys(0), visible(false) { }
++ #if defined(Q_WS_X11)
++ ~QSystemTrayIconPrivate();
++ #endif
+
+ void install_sys();
+ void remove_sys();
+@@ -90,7 +100,11 @@ public:
+ QPointer<QMenu> menu;
+ QIcon icon;
+ QString toolTip;
++ #if defined(Q_WS_X11)
++ QAbstractSystemTrayIconSys *sys;
++ #else
+ QSystemTrayIconSys *sys;
++ #endif
+ bool visible;
+ };
+
+@@ -123,60 +137,37 @@ private:
+ };
+
+ #if defined(Q_WS_X11)
+-QT_BEGIN_INCLUDE_NAMESPACE
+-#include <QtCore/qcoreapplication.h>
+-#include <X11/Xlib.h>
+-#include <X11/Xatom.h>
+-#include <X11/Xutil.h>
+-QT_END_INCLUDE_NAMESPACE
++class QSystemTrayIconSysFactoryInterface;
+
+-class QSystemTrayIconSys : public QWidget
++/**
++ * This class acts as a composite QSystemTrayIconSysFactory: It can create
++ * instances of QAbstractSystemTrayIconSys* using either a plugin or the
++ * builtin factory and will cause QSystemTrayIconPrivate to recreate their
++ * 'sys' instances if the plugin availability changes.
++ */
++class QSystemTrayIconSysFactory : public QObject
+ {
+- friend class QSystemTrayIconPrivate;
+-
++ Q_OBJECT
+ public:
+- QSystemTrayIconSys(QSystemTrayIcon *q);
+- ~QSystemTrayIconSys();
+- enum {
+- SYSTEM_TRAY_REQUEST_DOCK = 0,
+- SYSTEM_TRAY_BEGIN_MESSAGE = 1,
+- SYSTEM_TRAY_CANCEL_MESSAGE =2
+- };
+-
+- void addToTray();
+- void updateIcon();
+- XVisualInfo* getSysTrayVisualInfo();
+-
+- // QObject::event is public but QWidget's ::event() re-implementation
+- // is protected ;(
+- inline bool deliverToolTipEvent(QEvent *e)
+- { return QWidget::event(e); }
+-
+- static Window sysTrayWindow;
+- static QList<QSystemTrayIconSys *> trayIcons;
+- static QCoreApplication::EventFilter oldEventFilter;
+- static bool sysTrayTracker(void *message, long *result);
+- static Window locateSystemTray();
+- static Atom sysTraySelection;
+- static XVisualInfo sysTrayVisual;
++ QSystemTrayIconSysFactory();
++ void registerSystemTrayIconPrivate(QSystemTrayIconPrivate *iconPrivate);
++ void unregisterSystemTrayIconPrivate(QSystemTrayIconPrivate *iconPrivate);
+
+-protected:
+- void paintEvent(QPaintEvent *pe);
+- void resizeEvent(QResizeEvent *re);
+- bool x11Event(XEvent *event);
+- void mousePressEvent(QMouseEvent *event);
+- void mouseDoubleClickEvent(QMouseEvent *event);
+-#ifndef QT_NO_WHEELEVENT
+- void wheelEvent(QWheelEvent *event);
+-#endif
+- bool event(QEvent *e);
++ QAbstractSystemTrayIconSys *create(QSystemTrayIcon *) const;
++
++ bool isAvailable() const;
++
++private Q_SLOTS:
++ void refreshTrayIconPrivates();
+
+ private:
+- QPixmap background;
+- QSystemTrayIcon *q;
+- Colormap colormap;
++ QSystemTrayIconSysFactoryInterface *factory() const;
++ void loadPluginFactory();
++
++ QSystemTrayIconSysFactoryInterface *pluginFactory;
++ QSet<QSystemTrayIconPrivate *> trayIconPrivates;
+ };
+-#endif // Q_WS_X11
++#endif
+
+ QT_END_NAMESPACE
+
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_x11.cpp.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_x11.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_x11.cpp.systemtrayicon 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/qsystemtrayicon_x11.cpp 2014-03-31 18:16:39.709974914 -0500
+@@ -38,311 +38,122 @@
+ ** $QT_END_LICENSE$
+ **
+ ****************************************************************************/
++#ifndef QT_NO_SYSTEMTRAYICON
++
++#include <private/qfactoryloader_p.h>
+
+-#include "private/qt_x11_p.h"
+-#include "qlabel.h"
+-#include "qx11info_x11.h"
+-#include "qpainter.h"
+-#include "qpixmap.h"
+-#include "qbitmap.h"
+-#include "qevent.h"
+-#include "qapplication.h"
+-#include "qlist.h"
+-#include "qmenu.h"
+-#include "qtimer.h"
+ #include "qsystemtrayicon_p.h"
+-#include "qpaintengine.h"
++#include "qabstractsystemtrayiconsys_p.h"
++#include "qcoreapplication.h"
++#include "qxembedsystemtrayicon_x11_p.h"
+
+-#ifndef QT_NO_SYSTEMTRAYICON
+ QT_BEGIN_NAMESPACE
+
+-Window QSystemTrayIconSys::sysTrayWindow = XNone;
+-QList<QSystemTrayIconSys *> QSystemTrayIconSys::trayIcons;
+-QCoreApplication::EventFilter QSystemTrayIconSys::oldEventFilter = 0;
+-Atom QSystemTrayIconSys::sysTraySelection = XNone;
+-XVisualInfo QSystemTrayIconSys::sysTrayVisual = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
+-
+-// Locate the system tray
+-Window QSystemTrayIconSys::locateSystemTray()
+-{
+- Display *display = QX11Info::display();
+- if (sysTraySelection == XNone) {
+- int screen = QX11Info::appScreen();
+- QString net_sys_tray = QString::fromLatin1("_NET_SYSTEM_TRAY_S%1").arg(screen);
+- sysTraySelection = XInternAtom(display, net_sys_tray.toLatin1(), False);
+- }
+-
+- return XGetSelectionOwner(QX11Info::display(), sysTraySelection);
+-}
++Q_GLOBAL_STATIC(QSystemTrayIconSysFactory, qt_guiSystemTrayIconSysFactory)
+
+-XVisualInfo* QSystemTrayIconSys::getSysTrayVisualInfo()
++QSystemTrayIconSysFactory::QSystemTrayIconSysFactory()
++: pluginFactory(0)
+ {
+- Display *display = QX11Info::display();
+-
+- if (!sysTrayVisual.visual) {
+- Window win = locateSystemTray();
+- if (win != XNone) {
+- Atom actual_type;
+- int actual_format;
+- ulong nitems, bytes_remaining;
+- uchar *data = 0;
+- int result = XGetWindowProperty(display, win, ATOM(_NET_SYSTEM_TRAY_VISUAL), 0, 1,
+- False, XA_VISUALID, &actual_type,
+- &actual_format, &nitems, &bytes_remaining, &data);
+- VisualID vid = 0;
+- if (result == Success && data && actual_type == XA_VISUALID && actual_format == 32 &&
+- nitems == 1 && bytes_remaining == 0)
+- vid = *(VisualID*)data;
+- if (data)
+- XFree(data);
+- if (vid == 0)
+- return 0;
+-
+- uint mask = VisualIDMask;
+- XVisualInfo *vi, rvi;
+- int count;
+- rvi.visualid = vid;
+- vi = XGetVisualInfo(display, mask, &rvi, &count);
+- if (vi) {
+- sysTrayVisual = vi[0];
+- XFree((char*)vi);
+- }
+- if (sysTrayVisual.depth != 32)
+- memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
+- }
+- }
+-
+- return sysTrayVisual.visual ? &sysTrayVisual : 0;
+ }
+
+-bool QSystemTrayIconSys::sysTrayTracker(void *message, long *result)
++void QSystemTrayIconSysFactory::loadPluginFactory()
+ {
+- bool retval = false;
+- if (QSystemTrayIconSys::oldEventFilter)
+- retval = QSystemTrayIconSys::oldEventFilter(message, result);
+-
+- if (trayIcons.isEmpty())
+- return retval;
+-
+- Display *display = QX11Info::display();
+- XEvent *ev = (XEvent *)message;
+- if (ev->type == DestroyNotify && ev->xany.window == sysTrayWindow) {
+- sysTrayWindow = locateSystemTray();
+- memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
+- for (int i = 0; i < trayIcons.count(); i++) {
+- if (sysTrayWindow == XNone) {
+- QBalloonTip::hideBalloon();
+- trayIcons[i]->hide(); // still no luck
+- trayIcons[i]->destroy();
+- trayIcons[i]->create();
+- } else
+- trayIcons[i]->addToTray(); // add it to the new tray
+- }
+- retval = true;
+- } else if (ev->type == ClientMessage && sysTrayWindow == XNone) {
+- static Atom manager_atom = XInternAtom(display, "MANAGER", False);
+- XClientMessageEvent *cm = (XClientMessageEvent *)message;
+- if ((cm->message_type == manager_atom) && ((Atom)cm->data.l[1] == sysTraySelection)) {
+- sysTrayWindow = cm->data.l[2];
+- memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
+- XSelectInput(display, sysTrayWindow, StructureNotifyMask);
+- for (int i = 0; i < trayIcons.count(); i++) {
+- trayIcons[i]->addToTray();
+- }
+- retval = true;
+- }
+- } else if (ev->type == PropertyNotify && ev->xproperty.atom == ATOM(_NET_SYSTEM_TRAY_VISUAL) &&
+- ev->xproperty.window == sysTrayWindow) {
+- memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
+- for (int i = 0; i < trayIcons.count(); i++) {
+- trayIcons[i]->addToTray();
+- }
+- }
+-
+- return retval;
+-}
+-
+-QSystemTrayIconSys::QSystemTrayIconSys(QSystemTrayIcon *q)
+- : QWidget(0, Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint),
+- q(q), colormap(0)
+-{
+- setAttribute(Qt::WA_AlwaysShowToolTips);
+- setAttribute(Qt::WA_QuitOnClose, false);
+- setAttribute(Qt::WA_NoSystemBackground, true);
+- setAttribute(Qt::WA_PaintOnScreen);
+-
+- static bool eventFilterAdded = false;
+- Display *display = QX11Info::display();
+- if (!eventFilterAdded) {
+- oldEventFilter = qApp->setEventFilter(sysTrayTracker);
+- eventFilterAdded = true;
+- Window root = QX11Info::appRootWindow();
+- XWindowAttributes attr;
+- XGetWindowAttributes(display, root, &attr);
+- if ((attr.your_event_mask & StructureNotifyMask) != StructureNotifyMask) {
+- (void) QApplication::desktop(); // lame trick to ensure our event mask is not overridden
+- XSelectInput(display, root, attr.your_event_mask | StructureNotifyMask); // for MANAGER selection
+- }
++ if (pluginFactory) {
++ return;
+ }
+- if (trayIcons.isEmpty()) {
+- sysTrayWindow = locateSystemTray();
+- if (sysTrayWindow != XNone)
+- XSelectInput(display, sysTrayWindow, StructureNotifyMask); // track tray events
++#ifndef QT_NO_LIBRARY
++ QFactoryLoader loader(QSystemTrayIconSysFactoryInterface_iid, QLatin1String("/systemtrayicon"));
++ pluginFactory = qobject_cast<QSystemTrayIconSysFactoryInterface *>(loader.instance(QLatin1String("default")));
++ if (pluginFactory) {
++ // Set parent to ensure factory destructor is called when application
++ // is closed
++ pluginFactory->setParent(QCoreApplication::instance());
++ connect(pluginFactory, SIGNAL(availableChanged(bool)), SLOT(refreshTrayIconPrivates()));
+ }
+- trayIcons.append(this);
+- setMouseTracking(true);
+-#ifndef QT_NO_TOOLTIP
+- setToolTip(q->toolTip());
+-#endif
+- if (sysTrayWindow != XNone)
+- addToTray();
++#endif // QT_NO_LIBRARY
+ }
+
+-QSystemTrayIconSys::~QSystemTrayIconSys()
++QSystemTrayIconSysFactoryInterface *QSystemTrayIconSysFactory::factory() const
+ {
+- trayIcons.removeAt(trayIcons.indexOf(this));
+- Display *display = QX11Info::display();
+- if (trayIcons.isEmpty()) {
+- if (sysTrayWindow == XNone)
+- return;
+- if (display)
+- XSelectInput(display, sysTrayWindow, 0); // stop tracking the tray
+- sysTrayWindow = XNone;
++ if (!pluginFactory) {
++ const_cast<QSystemTrayIconSysFactory*>(this)->loadPluginFactory();
+ }
+- if (colormap)
+- XFreeColormap(display, colormap);
++ if (pluginFactory && pluginFactory->isAvailable()) {
++ return pluginFactory;
++ }
++ static QXEmbedSystemTrayIconSysFactory def;
++ return def.isAvailable() ? &def : 0;
+ }
+
+-void QSystemTrayIconSys::addToTray()
++void QSystemTrayIconSysFactory::refreshTrayIconPrivates()
+ {
+- Q_ASSERT(sysTrayWindow != XNone);
+- Display *display = QX11Info::display();
+-
+- XVisualInfo *vi = getSysTrayVisualInfo();
+- if (vi && vi->visual) {
+- Window root = RootWindow(display, vi->screen);
+- Window p = root;
+- if (QWidget *pw = parentWidget())
+- p = pw->effectiveWinId();
+- colormap = XCreateColormap(display, root, vi->visual, AllocNone);
+- XSetWindowAttributes wsa;
+- wsa.background_pixmap = 0;
+- wsa.colormap = colormap;
+- wsa.background_pixel = 0;
+- wsa.border_pixel = 0;
+- Window wid = XCreateWindow(display, p, -1, -1, 1, 1,
+- 0, vi->depth, InputOutput, vi->visual,
+- CWBackPixmap|CWBackPixel|CWBorderPixel|CWColormap, &wsa);
+- create(wid);
+- } else {
+- XSetWindowBackgroundPixmap(display, winId(), ParentRelative);
+- }
+-
+- // GNOME, NET WM Specification
+- static Atom netwm_tray_atom = XInternAtom(display, "_NET_SYSTEM_TRAY_OPCODE", False);
+- long l[5] = { CurrentTime, SYSTEM_TRAY_REQUEST_DOCK, static_cast<long>(winId()), 0, 0 };
+- XEvent ev;
+- memset(&ev, 0, sizeof(ev));
+- ev.xclient.type = ClientMessage;
+- ev.xclient.window = sysTrayWindow;
+- ev.xclient.message_type = netwm_tray_atom;
+- ev.xclient.format = 32;
+- memcpy((char *)&ev.xclient.data, (const char *) l, sizeof(l));
+- XSendEvent(display, sysTrayWindow, False, 0, &ev);
+- setMinimumSize(22, 22); // required at least on GNOME
+-}
+-
+-void QSystemTrayIconSys::updateIcon()
+-{
+- update();
+-}
+-
+-void QSystemTrayIconSys::resizeEvent(QResizeEvent *re)
+-{
+- QWidget::resizeEvent(re);
+- updateIcon();
+-}
+-
+-void QSystemTrayIconSys::paintEvent(QPaintEvent*)
+-{
+- QPainter p(this);
+- if (!getSysTrayVisualInfo()) {
+- const QRegion oldSystemClip = p.paintEngine()->systemClip();
+- const QRect clearedRect = oldSystemClip.boundingRect();
+- XClearArea(QX11Info::display(), winId(), clearedRect.x(), clearedRect.y(),
+- clearedRect.width(), clearedRect.height(), False);
+- QPaintEngine *pe = p.paintEngine();
+- pe->setSystemClip(clearedRect);
+- q->icon().paint(&p, rect());
+- pe->setSystemClip(oldSystemClip);
+- } else {
+- p.setCompositionMode(QPainter::CompositionMode_Source);
+- p.fillRect(rect(), Qt::transparent);
+- p.setCompositionMode(QPainter::CompositionMode_SourceOver);
+- q->icon().paint(&p, rect());
++ Q_FOREACH(QSystemTrayIconPrivate *trayIconPrivate, trayIconPrivates) {
++ if (trayIconPrivate->sys) {
++ delete trayIconPrivate->sys;
++ trayIconPrivate->sys = 0;
++ }
++ // When visible is true, sys is usually not 0 but it can be 0 if the
++ // call to install_sys() failed.
++ if (trayIconPrivate->visible) {
++ trayIconPrivate->install_sys();
++ }
+ }
+ }
+
+-void QSystemTrayIconSys::mousePressEvent(QMouseEvent *ev)
++void QSystemTrayIconSysFactory::registerSystemTrayIconPrivate(QSystemTrayIconPrivate* trayIconPrivate)
+ {
+- QPoint globalPos = ev->globalPos();
+- if (ev->button() == Qt::RightButton && q->contextMenu())
+- q->contextMenu()->popup(globalPos);
+-
+- if (QBalloonTip::isBalloonVisible()) {
+- emit q->messageClicked();
+- QBalloonTip::hideBalloon();
+- }
+-
+- if (ev->button() == Qt::LeftButton)
+- emit q->activated(QSystemTrayIcon::Trigger);
+- else if (ev->button() == Qt::RightButton)
+- emit q->activated(QSystemTrayIcon::Context);
+- else if (ev->button() == Qt::MidButton)
+- emit q->activated(QSystemTrayIcon::MiddleClick);
++ trayIconPrivates.insert(trayIconPrivate);
+ }
+
+-void QSystemTrayIconSys::mouseDoubleClickEvent(QMouseEvent *ev)
++void QSystemTrayIconSysFactory::unregisterSystemTrayIconPrivate(QSystemTrayIconPrivate* trayIconPrivate)
+ {
+- if (ev->button() == Qt::LeftButton)
+- emit q->activated(QSystemTrayIcon::DoubleClick);
++ trayIconPrivates.remove(trayIconPrivate);
+ }
+
+-#ifndef QT_NO_WHEELEVENT
+-void QSystemTrayIconSys::wheelEvent(QWheelEvent *e)
++QAbstractSystemTrayIconSys *QSystemTrayIconSysFactory::create(QSystemTrayIcon *trayIcon) const
+ {
+- QApplication::sendEvent(q, e);
++ QSystemTrayIconSysFactoryInterface *f = factory();
++ if (!f) {
++ qWarning("No systemtrayicon available");
++ return 0;
++ }
++ return f->create(trayIcon);
+ }
+-#endif
+
+-bool QSystemTrayIconSys::event(QEvent *e)
++bool QSystemTrayIconSysFactory::isAvailable() const
+ {
+- if (e->type() == QEvent::ToolTip) {
+- return QApplication::sendEvent(q, e);
+- }
+- return QWidget::event(e);
++ return factory();
+ }
+
+-bool QSystemTrayIconSys::x11Event(XEvent *event)
++////////////////////////////////////////////////
++QSystemTrayIconPrivate::~QSystemTrayIconPrivate()
+ {
+- if (event->type == ReparentNotify)
+- show();
+- return QWidget::x11Event(event);
++ qt_guiSystemTrayIconSysFactory()->unregisterSystemTrayIconPrivate(this);
++ delete sys;
+ }
+
+-////////////////////////////////////////////////////////////////////////////
+ void QSystemTrayIconPrivate::install_sys()
+ {
+ Q_Q(QSystemTrayIcon);
+- if (!sys)
+- sys = new QSystemTrayIconSys(q);
++ if (!sys) {
++ // Register ourself even if create() fails: our "sys" will get created
++ // later by refreshTrayIconPrivates() if a systemtray becomes
++ // available. This situation can happen for applications which are
++ // started at login time, while the desktop itself is starting up.
++ qt_guiSystemTrayIconSysFactory()->registerSystemTrayIconPrivate(this);
++ sys = qt_guiSystemTrayIconSysFactory()->create(q);
++ if (!sys) {
++ return;
++ }
++ }
++ sys->updateVisibility();
+ }
+
+ QRect QSystemTrayIconPrivate::geometry_sys() const
+ {
+- if (!sys)
+- return QRect();
+- return QRect(sys->mapToGlobal(QPoint(0, 0)), sys->size());
++ if (!sys || !visible)
++ return QRect();
++ return sys->geometry();
+ }
+
+ void QSystemTrayIconPrivate::remove_sys()
+@@ -350,35 +161,35 @@ void QSystemTrayIconPrivate::remove_sys(
+ if (!sys)
+ return;
+ QBalloonTip::hideBalloon();
+- sys->hide(); // this should do the trick, but...
+- delete sys; // wm may resize system tray only for DestroyEvents
+- sys = 0;
++ sys->updateVisibility();
+ }
+
+ void QSystemTrayIconPrivate::updateIcon_sys()
+ {
+- if (!sys)
++ if (!sys || !visible)
+ return;
+ sys->updateIcon();
+ }
+
+ void QSystemTrayIconPrivate::updateMenu_sys()
+ {
+-
++ if (!sys || !visible)
++ return;
++ sys->updateMenu();
+ }
+
+ void QSystemTrayIconPrivate::updateToolTip_sys()
+ {
+- if (!sys)
++ if (!sys || !visible)
+ return;
+ #ifndef QT_NO_TOOLTIP
+- sys->setToolTip(toolTip);
++ sys->updateToolTip();
+ #endif
+ }
+
+ bool QSystemTrayIconPrivate::isSystemTrayAvailable_sys()
+ {
+- return QSystemTrayIconSys::locateSystemTray() != XNone;
++ return qt_guiSystemTrayIconSysFactory()->isAvailable();
+ }
+
+ bool QSystemTrayIconPrivate::supportsMessages_sys()
+@@ -389,12 +200,9 @@ bool QSystemTrayIconPrivate::supportsMes
+ void QSystemTrayIconPrivate::showMessage_sys(const QString &message, const QString &title,
+ QSystemTrayIcon::MessageIcon icon, int msecs)
+ {
+- if (!sys)
++ if (!sys || !visible)
+ return;
+- QPoint g = sys->mapToGlobal(QPoint(0, 0));
+- QBalloonTip::showBalloon(icon, message, title, sys->q,
+- QPoint(g.x() + sys->width()/2, g.y() + sys->height()/2),
+- msecs);
++ sys->showMessage(message, title, icon, msecs);
+ }
+
+ QT_END_NAMESPACE
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11.cpp.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11.cpp
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11.cpp.systemtrayicon 2014-03-31 18:16:39.709974914 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11.cpp 2014-03-31 18:16:39.709974914 -0500
+@@ -0,0 +1,469 @@
++/****************************************************************************
++**
++** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
++** All rights reserved.
++** Contact: Nokia Corporation (qt-info@nokia.com)
++**
++** This file is part of the QtGui module of the Qt Toolkit.
++**
++** $QT_BEGIN_LICENSE:LGPL$
++** GNU Lesser General Public License Usage
++** This file may be used under the terms of the GNU Lesser General Public
++** License version 2.1 as published by the Free Software Foundation and
++** appearing in the file LICENSE.LGPL included in the packaging of this
++** file. Please review the following information to ensure the GNU Lesser
++** General Public License version 2.1 requirements will be met:
++** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
++**
++** In addition, as a special exception, Nokia gives you certain additional
++** rights. These rights are described in the Nokia Qt LGPL Exception
++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
++**
++** GNU General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU General
++** Public License version 3.0 as published by the Free Software Foundation
++** and appearing in the file LICENSE.GPL included in the packaging of this
++** file. Please review the following information to ensure the GNU General
++** Public License version 3.0 requirements will be met:
++** http://www.gnu.org/copyleft/gpl.html.
++**
++** Other Usage
++** Alternatively, this file may be used in accordance with the terms and
++** conditions contained in a signed written agreement between you and Nokia.
++**
++**
++**
++**
++**
++** $QT_END_LICENSE$
++**
++****************************************************************************/
++#include "qxembedsystemtrayicon_x11_p.h"
++
++#ifndef QT_NO_SYSTEMTRAYICON
++
++#include "private/qt_x11_p.h"
++#include "qapplication.h"
++#include "qevent.h"
++#include "qlist.h"
++#include "qmenu.h"
++#include "qpainter.h"
++#include "qpaintengine.h"
++#include "qsystemtrayicon_p.h"
++#include "qx11info_x11.h"
++
++QT_BEGIN_INCLUDE_NAMESPACE
++#include <QtCore/qcoreapplication.h>
++#include <X11/Xlib.h>
++#include <X11/Xatom.h>
++#include <X11/Xutil.h>
++QT_END_INCLUDE_NAMESPACE
++
++QT_BEGIN_NAMESPACE
++
++class QSystemTrayIconWidget : public QWidget
++{
++public:
++ QSystemTrayIconWidget(QSystemTrayIcon *q, QXEmbedSystemTrayIconSys *s);
++ ~QSystemTrayIconWidget();
++
++ static Window locateSystemTray();
++
++protected:
++ void paintEvent(QPaintEvent *pe);
++ void resizeEvent(QResizeEvent *re);
++ bool x11Event(XEvent *event);
++ void mousePressEvent(QMouseEvent *event);
++ void mouseDoubleClickEvent(QMouseEvent *event);
++#ifndef QT_NO_WHEELEVENT
++ void wheelEvent(QWheelEvent *event);
++#endif
++ bool event(QEvent *e);
++
++private:
++ enum {
++ SYSTEM_TRAY_REQUEST_DOCK = 0,
++ SYSTEM_TRAY_BEGIN_MESSAGE = 1,
++ SYSTEM_TRAY_CANCEL_MESSAGE =2
++ };
++
++ void addToTray();
++ static XVisualInfo* getSysTrayVisualInfo();
++
++ static Window sysTrayWindow;
++ static QList<QSystemTrayIconWidget *> trayIcons;
++ static QCoreApplication::EventFilter oldEventFilter;
++ static bool sysTrayTracker(void *message, long *result);
++ static Atom sysTraySelection;
++ static XVisualInfo sysTrayVisual;
++
++ QSystemTrayIcon *q;
++ QXEmbedSystemTrayIconSys *sys;
++ Colormap colormap;
++};
++
++Window QSystemTrayIconWidget::sysTrayWindow = XNone;
++QList<QSystemTrayIconWidget *> QSystemTrayIconWidget::trayIcons;
++QCoreApplication::EventFilter QSystemTrayIconWidget::oldEventFilter = 0;
++Atom QSystemTrayIconWidget::sysTraySelection = XNone;
++XVisualInfo QSystemTrayIconWidget::sysTrayVisual = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
++
++QSystemTrayIconWidget::QSystemTrayIconWidget(QSystemTrayIcon* q, QXEmbedSystemTrayIconSys* sys)
++: QWidget(0, Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint)
++, q(q)
++, sys(sys)
++, colormap(0)
++{
++ setAttribute(Qt::WA_AlwaysShowToolTips);
++ setAttribute(Qt::WA_QuitOnClose, false);
++ setAttribute(Qt::WA_NoSystemBackground, true);
++ setAttribute(Qt::WA_PaintOnScreen);
++ setMouseTracking(true);
++#ifndef QT_NO_TOOLTIP
++ setToolTip(q->toolTip());
++#endif
++
++ static bool eventFilterAdded = false;
++ Display *display = QX11Info::display();
++ if (!eventFilterAdded) {
++ oldEventFilter = qApp->setEventFilter(sysTrayTracker);
++ eventFilterAdded = true;
++ Window root = QX11Info::appRootWindow();
++ XWindowAttributes attr;
++ XGetWindowAttributes(display, root, &attr);
++ if ((attr.your_event_mask & StructureNotifyMask) != StructureNotifyMask) {
++ (void) QApplication::desktop(); // lame trick to ensure our event mask is not overridden
++ XSelectInput(display, root, attr.your_event_mask | StructureNotifyMask); // for MANAGER selection
++ }
++ }
++ if (trayIcons.isEmpty()) {
++ sysTrayWindow = locateSystemTray();
++ if (sysTrayWindow != XNone)
++ XSelectInput(display, sysTrayWindow, StructureNotifyMask); // track tray events
++ }
++ trayIcons.append(this);
++ if (sysTrayWindow != XNone)
++ addToTray();
++}
++
++QSystemTrayIconWidget::~QSystemTrayIconWidget()
++{
++ trayIcons.removeAt(trayIcons.indexOf(this));
++ Display *display = QX11Info::display();
++ if (trayIcons.isEmpty()) {
++ if (sysTrayWindow == XNone)
++ return;
++ if (display)
++ XSelectInput(display, sysTrayWindow, 0); // stop tracking the tray
++ sysTrayWindow = XNone;
++ }
++ if (colormap)
++ XFreeColormap(display, colormap);
++}
++
++void QSystemTrayIconWidget::resizeEvent(QResizeEvent *re)
++{
++ QWidget::resizeEvent(re);
++ update();
++}
++
++void QSystemTrayIconWidget::paintEvent(QPaintEvent*)
++{
++ QPainter p(this);
++ if (!getSysTrayVisualInfo()) {
++ const QRegion oldSystemClip = p.paintEngine()->systemClip();
++ const QRect clearedRect = oldSystemClip.boundingRect();
++ XClearArea(QX11Info::display(), winId(), clearedRect.x(), clearedRect.y(),
++ clearedRect.width(), clearedRect.height(), False);
++ QPaintEngine *pe = p.paintEngine();
++ pe->setSystemClip(clearedRect);
++ q->icon().paint(&p, rect());
++ pe->setSystemClip(oldSystemClip);
++ } else {
++ p.setCompositionMode(QPainter::CompositionMode_Source);
++ p.fillRect(rect(), Qt::transparent);
++ p.setCompositionMode(QPainter::CompositionMode_SourceOver);
++ q->icon().paint(&p, rect());
++ }
++}
++
++void QSystemTrayIconWidget::mousePressEvent(QMouseEvent *ev)
++{
++ QPoint globalPos = ev->globalPos();
++ if (ev->button() == Qt::RightButton && q->contextMenu())
++ q->contextMenu()->popup(globalPos);
++
++ if (QBalloonTip::isBalloonVisible()) {
++ QMetaObject::invokeMethod(q, "messageClicked");
++ QBalloonTip::hideBalloon();
++ }
++
++ if (ev->button() == Qt::LeftButton)
++ qtsystray_sendActivated(q, QSystemTrayIcon::Trigger);
++ else if (ev->button() == Qt::RightButton)
++ qtsystray_sendActivated(q, QSystemTrayIcon::Context);
++ else if (ev->button() == Qt::MidButton)
++ qtsystray_sendActivated(q, QSystemTrayIcon::MiddleClick);
++}
++
++void QSystemTrayIconWidget::mouseDoubleClickEvent(QMouseEvent *ev)
++{
++ if (ev->button() == Qt::LeftButton)
++ qtsystray_sendActivated(q, QSystemTrayIcon::DoubleClick);
++}
++
++#ifndef QT_NO_WHEELEVENT
++void QSystemTrayIconWidget::wheelEvent(QWheelEvent *e)
++{
++ sys->sendWheelEventToTrayIcon(e->delta(), e->orientation());
++}
++#endif
++
++bool QSystemTrayIconWidget::event(QEvent *e)
++{
++ if (e->type() == QEvent::ToolTip) {
++ sys->sendToolTipEventToTrayIcon();
++ }
++ return QWidget::event(e);
++}
++
++bool QSystemTrayIconWidget::x11Event(XEvent *event)
++{
++ if (event->type == ReparentNotify)
++ show();
++ return QWidget::x11Event(event);
++}
++
++// Locate the system tray
++Window QSystemTrayIconWidget::locateSystemTray()
++{
++ Display *display = QX11Info::display();
++ if (sysTraySelection == XNone) {
++ int screen = QX11Info::appScreen();
++ QString net_sys_tray = QString::fromLatin1("_NET_SYSTEM_TRAY_S%1").arg(screen);
++ sysTraySelection = XInternAtom(display, net_sys_tray.toLatin1(), False);
++ }
++
++ return XGetSelectionOwner(QX11Info::display(), sysTraySelection);
++}
++
++XVisualInfo* QSystemTrayIconWidget::getSysTrayVisualInfo()
++{
++ Display *display = QX11Info::display();
++
++ if (!sysTrayVisual.visual) {
++ Window win = locateSystemTray();
++ if (win != XNone) {
++ Atom actual_type;
++ int actual_format;
++ ulong nitems, bytes_remaining;
++ uchar *data = 0;
++ int result = XGetWindowProperty(display, win, ATOM(_NET_SYSTEM_TRAY_VISUAL), 0, 1,
++ False, XA_VISUALID, &actual_type,
++ &actual_format, &nitems, &bytes_remaining, &data);
++ VisualID vid = 0;
++ if (result == Success && data && actual_type == XA_VISUALID && actual_format == 32 &&
++ nitems == 1 && bytes_remaining == 0)
++ vid = *(VisualID*)data;
++ if (data)
++ XFree(data);
++ if (vid == 0)
++ return 0;
++
++ uint mask = VisualIDMask;
++ XVisualInfo *vi, rvi;
++ int count;
++ rvi.visualid = vid;
++ vi = XGetVisualInfo(display, mask, &rvi, &count);
++ if (vi) {
++ sysTrayVisual = vi[0];
++ XFree((char*)vi);
++ }
++ if (sysTrayVisual.depth != 32)
++ memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
++ }
++ }
++
++ return sysTrayVisual.visual ? &sysTrayVisual : 0;
++}
++
++bool QSystemTrayIconWidget::sysTrayTracker(void *message, long *result)
++{
++ bool retval = false;
++ if (QSystemTrayIconWidget::oldEventFilter)
++ retval = QSystemTrayIconWidget::oldEventFilter(message, result);
++
++ if (trayIcons.isEmpty())
++ return retval;
++
++ Display *display = QX11Info::display();
++ XEvent *ev = (XEvent *)message;
++ if (ev->type == DestroyNotify && ev->xany.window == sysTrayWindow) {
++ sysTrayWindow = locateSystemTray();
++ memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
++ for (int i = 0; i < trayIcons.count(); i++) {
++ if (sysTrayWindow == XNone) {
++ QBalloonTip::hideBalloon();
++ trayIcons[i]->hide(); // still no luck
++ trayIcons[i]->destroy();
++ trayIcons[i]->create();
++ } else
++ trayIcons[i]->addToTray(); // add it to the new tray
++ }
++ retval = true;
++ } else if (ev->type == ClientMessage && sysTrayWindow == XNone) {
++ static Atom manager_atom = XInternAtom(display, "MANAGER", False);
++ XClientMessageEvent *cm = (XClientMessageEvent *)message;
++ if ((cm->message_type == manager_atom) && ((Atom)cm->data.l[1] == sysTraySelection)) {
++ sysTrayWindow = cm->data.l[2];
++ memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
++ XSelectInput(display, sysTrayWindow, StructureNotifyMask);
++ for (int i = 0; i < trayIcons.count(); i++) {
++ trayIcons[i]->addToTray();
++ }
++ retval = true;
++ }
++ } else if (ev->type == PropertyNotify && ev->xproperty.atom == ATOM(_NET_SYSTEM_TRAY_VISUAL) &&
++ ev->xproperty.window == sysTrayWindow) {
++ memset(&sysTrayVisual, 0, sizeof(sysTrayVisual));
++ for (int i = 0; i < trayIcons.count(); i++) {
++ trayIcons[i]->addToTray();
++ }
++ }
++
++ return retval;
++}
++
++void QSystemTrayIconWidget::addToTray()
++{
++ Q_ASSERT(sysTrayWindow != XNone);
++ Display *display = QX11Info::display();
++
++ XVisualInfo *vi = getSysTrayVisualInfo();
++ if (vi && vi->visual) {
++ Window root = RootWindow(display, vi->screen);
++ Window p = root;
++ if (QWidget *pw = parentWidget())
++ p = pw->effectiveWinId();
++ colormap = XCreateColormap(display, root, vi->visual, AllocNone);
++ XSetWindowAttributes wsa;
++ wsa.background_pixmap = 0;
++ wsa.colormap = colormap;
++ wsa.background_pixel = 0;
++ wsa.border_pixel = 0;
++ Window wid = XCreateWindow(display, p, -1, -1, 1, 1,
++ 0, vi->depth, InputOutput, vi->visual,
++ CWBackPixmap|CWBackPixel|CWBorderPixel|CWColormap, &wsa);
++ create(wid);
++ } else {
++ XSetWindowBackgroundPixmap(display, winId(), ParentRelative);
++ }
++
++ // GNOME, NET WM Specification
++ static Atom netwm_tray_atom = XInternAtom(display, "_NET_SYSTEM_TRAY_OPCODE", False);
++ long l[5] = { CurrentTime, SYSTEM_TRAY_REQUEST_DOCK, static_cast<long>(winId()), 0, 0 };
++ XEvent ev;
++ memset(&ev, 0, sizeof(ev));
++ ev.xclient.type = ClientMessage;
++ ev.xclient.window = sysTrayWindow;
++ ev.xclient.message_type = netwm_tray_atom;
++ ev.xclient.format = 32;
++ memcpy((char *)&ev.xclient.data, (const char *) l, sizeof(l));
++ XSendEvent(display, sysTrayWindow, False, 0, &ev);
++ setMinimumSize(22, 22); // required at least on GNOME
++}
++
++////////////////////////////////////////////////////////////////////////////
++QXEmbedSystemTrayIconSys::QXEmbedSystemTrayIconSys(QSystemTrayIcon *q)
++: QAbstractSystemTrayIconSys(q)
++, widget(0)
++{
++}
++
++QXEmbedSystemTrayIconSys::~QXEmbedSystemTrayIconSys()
++{
++ delete widget;
++}
++
++QRect QXEmbedSystemTrayIconSys::geometry() const
++{
++ if (!widget)
++ return QRect();
++ return QRect(widget->mapToGlobal(QPoint(0, 0)), widget->size());
++}
++
++void QXEmbedSystemTrayIconSys::updateIcon()
++{
++ if (!widget)
++ return;
++ widget->update();
++}
++
++void QXEmbedSystemTrayIconSys::updateToolTip()
++{
++ if (!widget)
++ return;
++ widget->setToolTip(trayIcon->toolTip());
++}
++
++void QXEmbedSystemTrayIconSys::showMessage(const QString &message, const QString &title,
++ QSystemTrayIcon::MessageIcon icon, int msecs)
++{
++ if (!widget)
++ return;
++ QPoint point = geometry().center();
++ QBalloonTip::showBalloon(icon, message, title, trayIcon, point, msecs);
++}
++
++void QXEmbedSystemTrayIconSys::updateVisibility()
++{
++ bool visible = trayIcon->isVisible();
++ if (visible && !widget)
++ widget = new QSystemTrayIconWidget(trayIcon, this);
++ else if (!visible && widget) {
++ delete widget;
++ widget = 0;
++ }
++}
++
++void QXEmbedSystemTrayIconSys::sendToolTipEventToTrayIcon()
++{
++#ifndef QT_NO_TOOLTIP
++ // Pass the event through QSystemTrayIcon so that it gets a chance to
++ // update the tooltip, then asks widget to show the tooltip
++ Q_ASSERT(widget);
++ QPoint globalPos = QCursor::pos();
++ QPoint pos = widget->mapFromGlobal(globalPos);
++ QHelpEvent event(QEvent::ToolTip, pos, globalPos);
++ QApplication::sendEvent(trayIcon, &event);
++#endif
++}
++
++void QXEmbedSystemTrayIconSys::sendWheelEventToTrayIcon(int delta, Qt::Orientation orientation)
++{
++#ifndef QT_NO_WHEELEVENT
++ Q_ASSERT(widget);
++ QPoint globalPos = QCursor::pos();
++ QPoint pos = widget->mapFromGlobal(globalPos);
++ QWheelEvent event(pos, globalPos, delta, Qt::NoButton, Qt::NoModifier, orientation);
++ QApplication::sendEvent(trayIcon, &event);
++#endif
++}
++
++void QXEmbedSystemTrayIconSys::updateMenu()
++{
++}
++
++/////////////////////////////////////////////////////////////
++QAbstractSystemTrayIconSys * QXEmbedSystemTrayIconSysFactory::create(QSystemTrayIcon *icon)
++{
++ return new QXEmbedSystemTrayIconSys(icon);
++}
++
++bool QXEmbedSystemTrayIconSysFactory::isAvailable() const
++{
++ return QSystemTrayIconWidget::locateSystemTray() != XNone;
++}
++
++QT_END_NAMESPACE
++#endif //QT_NO_SYSTEMTRAYICON
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11_p.h.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11_p.h
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11_p.h.systemtrayicon 2014-03-31 18:16:39.709974914 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/qxembedsystemtrayicon_x11_p.h 2014-03-31 18:16:39.709974914 -0500
+@@ -0,0 +1,104 @@
++/****************************************************************************
++**
++** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
++** All rights reserved.
++** Contact: Nokia Corporation (qt-info@nokia.com)
++**
++** This file is part of the QtGui module of the Qt Toolkit.
++**
++** $QT_BEGIN_LICENSE:LGPL$
++** GNU Lesser General Public License Usage
++** This file may be used under the terms of the GNU Lesser General Public
++** License version 2.1 as published by the Free Software Foundation and
++** appearing in the file LICENSE.LGPL included in the packaging of this
++** file. Please review the following information to ensure the GNU Lesser
++** General Public License version 2.1 requirements will be met:
++** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
++**
++** In addition, as a special exception, Nokia gives you certain additional
++** rights. These rights are described in the Nokia Qt LGPL Exception
++** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
++**
++** GNU General Public License Usage
++** Alternatively, this file may be used under the terms of the GNU General
++** Public License version 3.0 as published by the Free Software Foundation
++** and appearing in the file LICENSE.GPL included in the packaging of this
++** file. Please review the following information to ensure the GNU General
++** Public License version 3.0 requirements will be met:
++** http://www.gnu.org/copyleft/gpl.html.
++**
++** Other Usage
++** Alternatively, this file may be used in accordance with the terms and
++** conditions contained in a signed written agreement between you and Nokia.
++**
++**
++**
++**
++**
++** $QT_END_LICENSE$
++**
++****************************************************************************/
++
++#ifndef QXEMBEDSYSTEMTRAYICON_X11_P_H
++#define QXEMBEDSYSTEMTRAYICON_X11_P_H
++
++//
++// W A R N I N G
++// -------------
++//
++// This file is not part of the Qt API. It exists for the convenience
++// of a number of Qt sources files. This header file may change from
++// version to version without notice, or even be removed.
++//
++// We mean it.
++//
++
++#ifndef QT_NO_SYSTEMTRAYICON
++
++#include "qabstractsystemtrayiconsys_p.h"
++
++QT_BEGIN_NAMESPACE
++
++class QSystemTrayIconWidget;
++
++class QXEmbedSystemTrayIconSys : public QAbstractSystemTrayIconSys
++{
++public:
++ QXEmbedSystemTrayIconSys(QSystemTrayIcon *);
++ ~QXEmbedSystemTrayIconSys();
++
++ QRect geometry() const;
++
++ void updateVisibility();
++
++ void updateIcon();
++
++ void updateToolTip();
++
++ void updateMenu();
++
++ void showMessage(const QString &message, const QString &title,
++ QSystemTrayIcon::MessageIcon icon, int msecs);
++
++private:
++ friend class QSystemTrayIconWidget;
++ QSystemTrayIconWidget *widget;
++
++ void sendToolTipEventToTrayIcon();
++
++ void sendWheelEventToTrayIcon(int delta, Qt::Orientation orientation);
++};
++
++struct QXEmbedSystemTrayIconSysFactory : public QSystemTrayIconSysFactoryInterface
++{
++ QAbstractSystemTrayIconSys * create(QSystemTrayIcon *trayIcon);
++ bool isAvailable() const;
++};
++
++
++QT_END_NAMESPACE
++
++#endif // QT_NO_SYSTEMTRAYICON
++
++#endif // QXEMBEDSYSTEMTRAYICON_X11_P_H
++
+diff -up qt-everywhere-opensource-src-4.8.6/src/gui/util/util.pri.systemtrayicon qt-everywhere-opensource-src-4.8.6/src/gui/util/util.pri
+--- qt-everywhere-opensource-src-4.8.6/src/gui/util/util.pri.systemtrayicon 2014-03-30 15:36:49.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.6/src/gui/util/util.pri 2014-03-31 18:16:39.710974903 -0500
+@@ -29,8 +29,13 @@ wince* {
+ }
+
+ unix:x11 {
++ HEADERS += \
++ util/qabstractsystemtrayiconsys_p.h \
++ util/qxembedsystemtrayicon_x11_p.h
+ SOURCES += \
+- util/qsystemtrayicon_x11.cpp
++ util/qabstractsystemtrayiconsys.cpp \
++ util/qsystemtrayicon_x11.cpp \
++ util/qxembedsystemtrayicon_x11.cpp
+ }
+
+ embedded|qpa {
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-QT_VERSION_CHECK.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-QT_VERSION_CHECK.patch
new file mode 100644
index 0000000000..9bce98ff83
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-QT_VERSION_CHECK.patch
@@ -0,0 +1,12 @@
+diff -up qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h.majmin qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h
+--- qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h.majmin 2015-05-07 09:14:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/corelib/global/qglobal.h 2016-12-08 12:10:29.677359701 -0600
+@@ -52,7 +52,7 @@
+ /*
+ can be used like #if (QT_VERSION >= QT_VERSION_CHECK(4, 4, 0))
+ */
+-#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
++#define QT_VERSION_CHECK(qt_version_check_major, qt_version_check_minor, qt_version_check_patch) ((qt_version_check_major<<16)|(qt_version_check_minor<<8)|(qt_version_check_patch))
+
+ #define QT_PACKAGEDATE_STR "2015-05-07"
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-alsa-1.1.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-alsa-1.1.patch
new file mode 100644
index 0000000000..572a955dc0
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-alsa-1.1.patch
@@ -0,0 +1,137 @@
+diff -up qt-everywhere-opensource-src-4.8.7/config.tests/unix/alsa/alsatest.cpp.than qt-everywhere-opensource-src-4.8.7/config.tests/unix/alsa/alsatest.cpp
+--- qt-everywhere-opensource-src-4.8.7/config.tests/unix/alsa/alsatest.cpp.than 2016-02-10 16:31:02.450152334 +0100
++++ qt-everywhere-opensource-src-4.8.7/config.tests/unix/alsa/alsatest.cpp 2016-02-10 16:31:51.495307579 +0100
+@@ -40,7 +40,7 @@
+ ****************************************************************************/
+
+ #include <alsa/asoundlib.h>
+-#if(!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10))
++#if(!(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 10)))
+ #error "Alsa version found too old, require >= 1.0.10"
+ #endif
+
+diff --git a/src/multimedia/audio/qaudiodeviceinfo_alsa_p.cpp b/src/multimedia/audio/qaudiodeviceinfo_alsa_p.cpp
+index 973cbab..0b27e9d 100644
+--- a/src/multimedia/audio/qaudiodeviceinfo_alsa_p.cpp
++++ b/src/multimedia/audio/qaudiodeviceinfo_alsa_p.cpp
+@@ -63,7 +63,7 @@ QAudioDeviceInfoInternal::QAudioDeviceInfoInternal(QByteArray dev, QAudio::Mode
+ device = QLatin1String(dev);
+ this->mode = mode;
+
+-#if (SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if (SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ checkSurround();
+ #endif
+ }
+@@ -159,13 +159,13 @@ bool QAudioDeviceInfoInternal::open()
+ QList<QByteArray> devices = availableDevices(mode);
+
+ if(dev.compare(QLatin1String("default")) == 0) {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = QLatin1String(devices.first().constData());
+ #else
+ dev = QLatin1String("hw:0,0");
+ #endif
+ } else {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = device;
+ #else
+ int idx = 0;
+@@ -212,13 +212,13 @@ bool QAudioDeviceInfoInternal::testSettings(const QAudioFormat& format) const
+ QList<QByteArray> devices = QAudioDeviceInfoInternal::availableDevices(QAudio::AudioOutput);
+
+ if(dev.compare(QLatin1String("default")) == 0) {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = QLatin1String(devices.first().constData());
+ #else
+ dev = QLatin1String("hw:0,0");
+ #endif
+ } else {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = device;
+ #else
+ int idx = 0;
+@@ -396,7 +396,7 @@ void QAudioDeviceInfoInternal::updateLists()
+ }
+ channelz.append(1);
+ channelz.append(2);
+-#if (SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if (SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ if (surround40) channelz.append(4);
+ if (surround51) channelz.append(6);
+ if (surround71) channelz.append(8);
+@@ -419,7 +419,7 @@ QList<QByteArray> QAudioDeviceInfoInternal::availableDevices(QAudio::Mode mode)
+ QList<QByteArray> devices;
+ QByteArray filter;
+
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ // Create a list of all current audio devices that support mode
+ void **hints, **n;
+ char *name, *descr, *io;
+@@ -498,7 +498,7 @@ QByteArray QAudioDeviceInfoInternal::defaultOutputDevice()
+ return devices.first();
+ }
+
+-#if (SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if (SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ void QAudioDeviceInfoInternal::checkSurround()
+ {
+ QList<QByteArray> devices;
+diff --git a/src/multimedia/audio/qaudiodeviceinfo_alsa_p.h b/src/multimedia/audio/qaudiodeviceinfo_alsa_p.h
+index 96febf4..714bf60 100644
+--- a/src/multimedia/audio/qaudiodeviceinfo_alsa_p.h
++++ b/src/multimedia/audio/qaudiodeviceinfo_alsa_p.h
+@@ -98,7 +98,7 @@ private:
+ bool open();
+ void close();
+
+-#if (SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if (SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ void checkSurround();
+ bool surround40;
+ bool surround51;
+diff --git a/src/multimedia/audio/qaudioinput_alsa_p.cpp b/src/multimedia/audio/qaudioinput_alsa_p.cpp
+index 339fd9f..abfa4a1 100644
+--- a/src/multimedia/audio/qaudioinput_alsa_p.cpp
++++ b/src/multimedia/audio/qaudioinput_alsa_p.cpp
+@@ -284,13 +284,13 @@ bool QAudioInputPrivate::open()
+ QString dev = QString(QLatin1String(m_device.constData()));
+ QList<QByteArray> devices = QAudioDeviceInfoInternal::availableDevices(QAudio::AudioInput);
+ if(dev.compare(QLatin1String("default")) == 0) {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = QLatin1String(devices.first());
+ #else
+ dev = QLatin1String("hw:0,0");
+ #endif
+ } else {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = QLatin1String(m_device);
+ #else
+ int idx = 0;
+diff --git a/src/multimedia/audio/qaudiooutput_alsa_p.cpp b/src/multimedia/audio/qaudiooutput_alsa_p.cpp
+index bf85de5..c29a89f 100644
+--- a/src/multimedia/audio/qaudiooutput_alsa_p.cpp
++++ b/src/multimedia/audio/qaudiooutput_alsa_p.cpp
+@@ -299,13 +299,13 @@ bool QAudioOutputPrivate::open()
+ QString dev = QString(QLatin1String(m_device.constData()));
+ QList<QByteArray> devices = QAudioDeviceInfoInternal::availableDevices(QAudio::AudioOutput);
+ if(dev.compare(QLatin1String("default")) == 0) {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = QLatin1String(devices.first());
+ #else
+ dev = QLatin1String("hw:0,0");
+ #endif
+ } else {
+-#if(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 14)
++#if(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 14))
+ dev = QLatin1String(m_device);
+ #else
+ int idx = 0;
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-crash-in-qppmhandler.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-crash-in-qppmhandler.patch
new file mode 100644
index 0000000000..eeed1b97c4
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-crash-in-qppmhandler.patch
@@ -0,0 +1,12 @@
+diff -up qt-everywhere-opensource-src-4.8.7/src/gui/image/qppmhandler.cpp.me qt-everywhere-opensource-src-4.8.7/src/gui/image/qppmhandler.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/gui/image/qppmhandler.cpp.me 2019-03-22 10:22:16.213800109 +0100
++++ qt-everywhere-opensource-src-4.8.7/src/gui/image/qppmhandler.cpp 2019-03-22 10:22:40.721890281 +0100
+@@ -108,7 +108,7 @@ static bool read_pbm_header(QIODevice *d
+ else
+ mcc = read_pbm_int(device); // get max color component
+
+- if (w <= 0 || w > 32767 || h <= 0 || h > 32767 || mcc <= 0)
++ if (w <= 0 || w > 32767 || h <= 0 || h > 32767 || mcc <= 0 || mcc > 0xffff)
+ return false; // weird P.M image
+
+ return true;
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-firebird.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-firebird.patch
new file mode 100644
index 0000000000..456abceb3a
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-firebird.patch
@@ -0,0 +1,45 @@
+diff -up qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.cpp.ibase qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.cpp
+--- qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.cpp.ibase 2015-05-07 09:14:42.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.cpp 2016-11-30 10:55:05.825339674 -0600
+@@ -39,7 +39,7 @@
+ **
+ ****************************************************************************/
+
+-#include <ibase.h>
++#include <firebird/ibase.h>
+
+ int main(int, char **)
+ {
+diff -up qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.pro.ibase qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.pro
+--- qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.pro.ibase 2015-05-07 09:14:42.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/config.tests/unix/ibase/ibase.pro 2016-11-30 10:56:11.017740104 -0600
+@@ -1,4 +1,4 @@
+ SOURCES = ibase.cpp
+ CONFIG -= qt dylib
+ mac:CONFIG -= app_bundle
+-LIBS += -lgds
++LIBS += -lfbclient
+diff -up qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.h.ibase qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.h
+--- qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.h.ibase 2015-05-07 09:14:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.h 2016-11-30 10:57:34.516252974 -0600
+@@ -45,7 +45,7 @@
+ #include <QtSql/qsqlresult.h>
+ #include <QtSql/qsqldriver.h>
+ #include <QtSql/private/qsqlcachedresult_p.h>
+-#include <ibase.h>
++#include <firebird/ibase.h>
+
+ QT_BEGIN_HEADER
+
+diff -up qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.pri.ibase qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.pri
+--- qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.pri.ibase 2015-05-07 09:14:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/sql/drivers/ibase/qsql_ibase.pri 2016-11-30 10:57:11.783113341 -0600
+@@ -2,7 +2,7 @@ HEADERS += $$PWD/qsql_ibase.h
+ SOURCES += $$PWD/qsql_ibase.cpp
+
+ unix {
+- !contains(LIBS, .*gds.*):!contains(LIBS, .*libfb.*):LIBS += -lgds
++ !contains(LIBS, .*gds.*):!contains(LIBS, .*libfb.*):LIBS += -lfbclient
+ } else {
+ !contains(LIBS, .*gds.*):!contains(LIBS, .*fbclient.*) {
+ win32-borland:LIBS += gds32.lib
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-fix_pointer_comparison_to_0.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-fix_pointer_comparison_to_0.patch
new file mode 100644
index 0000000000..b60b534902
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-fix_pointer_comparison_to_0.patch
@@ -0,0 +1,22 @@
+--- ./src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp
++++ ./src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp
+@@ -74,7 +74,7 @@
+ RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document));
+ if (optionalWidth)
+ image->setWidth(*optionalWidth);
+- if (optionalHeight > 0)
++ if (optionalHeight)
+ image->setHeight(*optionalHeight);
+ return image.release();
+ }
+--- ./tools/linguist/linguist/messagemodel.cpp
++++ ./tools/linguist/linguist/messagemodel.cpp
+@@ -183,7 +183,7 @@
+ if (ContextItem *c = one->findContext(oc->context())) {
+ for (int j = 0; j < oc->messageCount(); ++j) {
+ MessageItem *m = oc->messageItem(j);
+- if (c->findMessage(m->text(), m->comment()) >= 0)
++ if (c->findMessage(m->text(), m->comment()))
+ ++inBoth;
+ }
+ }
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc6.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc6.patch
new file mode 100644
index 0000000000..421292939a
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc6.patch
@@ -0,0 +1,35 @@
+diff -up qt-everywhere-opensource-src-4.8.7/configure.gcc6 qt-everywhere-opensource-src-4.8.7/configure
+--- qt-everywhere-opensource-src-4.8.7/configure.gcc6 2016-04-15 07:04:19.430268222 -0500
++++ qt-everywhere-opensource-src-4.8.7/configure 2016-04-15 07:05:22.157568689 -0500
+@@ -7744,7 +7744,7 @@ case "$XPLATFORM" in
+ *-g++*)
+ # Check gcc's version
+ case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
+- 5*|4*|3.4*)
++ 9*|8*|7*|6*|5*|4*|3.4*)
+ ;;
+ 3.3*)
+ canBuildWebKit="no"
+@@ -8060,7 +8060,7 @@ g++*)
+ 3.*)
+ COMPILER_VERSION="3.*"
+ ;;
+- 5*|4.*)
++ 9*|8*|7*|6*|5*|4.*)
+ COMPILER_VERSION="4"
+ ;;
+ *)
+diff -up qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h.gcc6 qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h
+--- qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h.gcc6 2015-05-07 09:14:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h 2016-04-15 07:04:19.431268227 -0500
+@@ -70,8 +70,8 @@ namespace QPatternist
+ ForegroundShift = 10,
+ BackgroundShift = 20,
+ SpecialShift = 20,
+- ForegroundMask = ((1 << ForegroundShift) - 1) << ForegroundShift,
+- BackgroundMask = ((1 << BackgroundShift) - 1) << BackgroundShift
++ ForegroundMask = 0x1f << ForegroundShift,
++ BackgroundMask = 0x7 << BackgroundShift
+ };
+
+ public:
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch
new file mode 100644
index 0000000000..7e79d2174b
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch
@@ -0,0 +1,13 @@
+diff -up qt-everywhere-opensource-src-4.8.7/src/script/script.pro.gcc8 qt-everywhere-opensource-src-4.8.7/src/script/script.pro
+--- qt-everywhere-opensource-src-4.8.7/src/script/script.pro.gcc8 2015-05-07 09:14:43.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/script/script.pro 2018-05-19 16:01:24.699926959 -0500
+@@ -91,6 +91,9 @@ symbian {
+ TARGET.UID3=0x2001B2E1
+ }
+
++# hack around gcc8 optimization bug with -O2
++QMAKE_CXXFLAGS_RELEASE += -O1
++
+ symbian {
+ symbian-abld|symbian-sbsv2 {
+ MMP_RULES += ALWAYS_BUILD_AS_ARM
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-icu59.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-icu59.patch
new file mode 100644
index 0000000000..3edcdef02b
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-icu59.patch
@@ -0,0 +1,28 @@
+From: Fabian Vogt <fabian@ritter-vogt.de>
+Subject: Fix build with ICU >= 59
+
+ICU >= 59 requires C++11 for its header files.
+Qt can't be compiled with -std=c++11 as a whole, so only enable
+it for qlocale_icu.cpp.
+
+Index: qt-everywhere-opensource-src-4.8.7/src/corelib/tools/tools.pri
+===================================================================
+--- qt-everywhere-opensource-src-4.8.7.orig/src/corelib/tools/tools.pri
++++ qt-everywhere-opensource-src-4.8.7/src/corelib/tools/tools.pri
+@@ -102,7 +102,15 @@ contains(QT_CONFIG, zlib):include($$PWD/
+ else:include($$PWD/../../3rdparty/zlib_dependency.pri)
+
+ contains(QT_CONFIG,icu) {
+- SOURCES += tools/qlocale_icu.cpp
++ cpp11.name = cpp11
++ cpp11.input = SOURCES_CPP11
++ cpp11.dependency_type = TYPE_C
++ cpp11.variable_out = OBJECTS
++ cpp11.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_IN_BASE}$${first(QMAKE_EXT_OBJ)}
++ cpp11.commands = $${QMAKE_CXX} $(CXXFLAGS) -std=c++11 $(INCPATH) -c ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
++ QMAKE_EXTRA_COMPILERS += cpp11
++
++ SOURCES_CPP11 += tools/qlocale_icu.cpp
+ DEFINES += QT_USE_ICU
+ }
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mariadb.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mariadb.patch
new file mode 100644
index 0000000000..7e480138b8
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mariadb.patch
@@ -0,0 +1,28 @@
+diff -up qt-everywhere-opensource-src-4.8.7/src/sql/drivers/mysql/qsql_mysql.cpp.mariadb qt-everywhere-opensource-src-4.8.7/src/sql/drivers/mysql/qsql_mysql.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/sql/drivers/mysql/qsql_mysql.cpp.mariadb 2015-05-07 09:14:48.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/src/sql/drivers/mysql/qsql_mysql.cpp 2017-10-23 14:13:15.871808984 -0500
+@@ -1105,11 +1105,16 @@ static void qLibraryInit()
+ }
+ # endif // MYSQL_VERSION_ID
+ #endif // Q_NO_MYSQL_EMBEDDED
++
++#if defined(MARIADB_BASE_VERSION) || defined(MARIADB_VERSION_ID)
++ qAddPostRoutine(mysql_server_end);
++#endif
+ }
+
+ static void qLibraryEnd()
+ {
+ #ifndef Q_NO_MYSQL_EMBEDDED
++#if !defined(MARIADB_BASE_VERSION) && !defined(MARIADB_VERSION_ID)
+ # if MYSQL_VERSION_ID > 40000
+ # if (MYSQL_VERSION_ID >= 40110 && MYSQL_VERSION_ID < 50000) || MYSQL_VERSION_ID >= 50003
+ mysql_library_end();
+@@ -1118,6 +1123,7 @@ static void qLibraryEnd()
+ # endif
+ # endif
+ #endif
++#endif
+ }
+
+ QMYSQLDriver::QMYSQLDriver(QObject * parent)
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mips64.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mips64.patch
new file mode 100644
index 0000000000..6456f2c614
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-mips64.patch
@@ -0,0 +1,13 @@
+diff -urp qt-everywhere-opensource-src-4.8.7/configure q/configure
+--- qt-everywhere-opensource-src-4.8.7/configure 2016-04-03 16:49:50.218644449 +0200
++++ q/configure 2016-04-03 17:22:35.376405024 +0200
+@@ -3331,6 +3331,9 @@ arm*)
+ CFG_ARCH=arm
+ COMPAT_ARCH=armv6
+ ;;
++mips*)
++ CFG_ARCH=mips
++ ;;
+ esac
+
+ if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-openssl-1.1.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-openssl-1.1.patch
new file mode 100644
index 0000000000..6a99460309
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-openssl-1.1.patch
@@ -0,0 +1,694 @@
+diff -ur qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslcertificate.cpp qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslcertificate.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslcertificate.cpp 2015-05-07 16:14:44.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslcertificate.cpp 2018-01-05 17:44:16.997588265 +0100
+@@ -259,10 +259,10 @@
+ QByteArray QSslCertificate::version() const
+ {
+ QMutexLocker lock(QMutexPool::globalInstanceGet(d.data()));
+- if (d->versionString.isEmpty() && d->x509)
++ if (d->versionString.isEmpty() && d->x509) {
+ d->versionString =
+- QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
+-
++ QByteArray::number(qlonglong(q_X509_get_version(d->x509)) + 1);
++ }
+ return d->versionString;
+ }
+
+@@ -276,7 +276,7 @@
+ {
+ QMutexLocker lock(QMutexPool::globalInstanceGet(d.data()));
+ if (d->serialNumberString.isEmpty() && d->x509) {
+- ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
++ ASN1_INTEGER *serialNumber = q_X509_get_serialNumber(d->x509);
+ // if we cannot convert to a long, just output the hexadecimal number
+ if (serialNumber->length > 4) {
+ QByteArray hexString;
+@@ -489,24 +489,33 @@
+ QSslKey key;
+
+ key.d->type = QSsl::PublicKey;
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ X509_PUBKEY *xkey = d->x509->cert_info->key;
++#else
++ X509_PUBKEY *xkey = q_X509_get_X509_PUBKEY(d->x509);
++#endif
+ EVP_PKEY *pkey = q_X509_PUBKEY_get(xkey);
+ Q_ASSERT(pkey);
+
+- if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
++ int key_id;
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
++ key_id = q_EVP_PKEY_type(pkey->type);
++#else
++ key_id = q_EVP_PKEY_base_id(pkey);
++#endif
++ if (key_id == EVP_PKEY_RSA) {
+ key.d->rsa = q_EVP_PKEY_get1_RSA(pkey);
+ key.d->algorithm = QSsl::Rsa;
+ key.d->isNull = false;
+- } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
++ } else if (key_id == EVP_PKEY_DSA) {
+ key.d->dsa = q_EVP_PKEY_get1_DSA(pkey);
+ key.d->algorithm = QSsl::Dsa;
+ key.d->isNull = false;
+- } else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
++ } else if (key_id == EVP_PKEY_DH) {
+ // DH unsupported
+ } else {
+ // error?
+ }
+-
+ q_EVP_PKEY_free(pkey);
+ return key;
+ }
+@@ -687,7 +696,11 @@
+ unsigned char *data = 0;
+ int size = q_ASN1_STRING_to_UTF8(&data, q_X509_NAME_ENTRY_get_data(e));
+ info[QString::fromUtf8(obj)] = QString::fromUtf8((char*)data, size);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ q_CRYPTO_free(data);
++#else
++ q_CRYPTO_free(data, __FILE__, __LINE__);
++#endif
+ }
+ return info;
+ }
+diff -ur qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslkey.cpp qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslkey.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslkey.cpp 2015-05-07 16:14:44.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslkey.cpp 2018-01-05 18:00:27.453937599 +0100
+@@ -321,8 +321,19 @@
+ {
+ if (d->isNull)
+ return -1;
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ return (d->algorithm == QSsl::Rsa)
+ ? q_BN_num_bits(d->rsa->n) : q_BN_num_bits(d->dsa->p);
++#else
++ if (d->algorithm == QSsl::Rsa) {
++ return q_RSA_bits(d->rsa);
++ } else {
++ const BIGNUM *p = (const BIGNUM *) NULL;
++ q_DSA_get0_pqg(d->dsa, &p, (const BIGNUM **) NULL, (const BIGNUM **) NULL);
++ return q_BN_num_bits(p);
++ }
++#endif
++
+ }
+
+ /*!
+diff -ur qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl.cpp qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl.cpp 2015-05-07 16:14:44.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl.cpp 2018-01-05 12:06:06.336990956 +0100
+@@ -93,6 +93,7 @@
+ bool QSslSocketPrivate::s_loadedCiphersAndCerts = false;
+ bool QSslSocketPrivate::s_loadRootCertsOnDemand = false;
+
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ /* \internal
+
+ From OpenSSL's thread(3) manual page:
+@@ -174,6 +175,8 @@
+ }
+ } // extern "C"
+
++#endif //OPENSSL_VERSION_NUMBER >= 0x10100000L
++
+ QSslSocketBackendPrivate::QSslSocketBackendPrivate()
+ : ssl(0),
+ ctx(0),
+@@ -222,9 +225,12 @@
+ ciph.d->encryptionMethod = descriptionList.at(4).mid(4);
+ ciph.d->exportable = (descriptionList.size() > 6 && descriptionList.at(6) == QLatin1String("export"));
+
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ ciph.d->bits = cipher->strength_bits;
+ ciph.d->supportedBits = cipher->alg_bits;
+-
++#else
++ ciph.d->bits = q_SSL_CIPHER_get_bits(cipher, &ciph.d->supportedBits);
++#endif
+ }
+ return ciph;
+ }
+@@ -363,7 +369,7 @@
+ //
+ // See also: QSslContext::fromConfiguration()
+ if (caCertificate.expiryDate() >= QDateTime::currentDateTime()) {
+- q_X509_STORE_add_cert(ctx->cert_store, (X509 *)caCertificate.handle());
++ q_X509_STORE_add_cert(q_SSL_CTX_get_cert_store(ctx), (X509 *)caCertificate.handle());
+ }
+ }
+
+@@ -500,8 +506,10 @@
+ */
+ void QSslSocketPrivate::deinitialize()
+ {
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ q_CRYPTO_set_id_callback(0);
+ q_CRYPTO_set_locking_callback(0);
++#endif
+ }
+
+ /*!
+@@ -522,13 +530,17 @@
+ return false;
+
+ // Check if the library itself needs to be initialized.
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ QMutexLocker locker(openssl_locks()->initLock());
++#endif
+ if (!s_libraryLoaded) {
+ s_libraryLoaded = true;
+
+ // Initialize OpenSSL.
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ q_CRYPTO_set_id_callback(id_function);
+ q_CRYPTO_set_locking_callback(locking_function);
++#endif
+ if (q_SSL_library_init() != 1)
+ return false;
+ q_SSL_load_error_strings();
+@@ -567,7 +579,9 @@
+
+ void QSslSocketPrivate::ensureCiphersAndCertsLoaded()
+ {
+- QMutexLocker locker(openssl_locks()->initLock());
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
++ QMutexLocker locker(openssl_locks()->initLock());
++#endif
+ if (s_loadedCiphersAndCerts)
+ return;
+ s_loadedCiphersAndCerts = true;
+@@ -659,13 +673,18 @@
+ STACK_OF(SSL_CIPHER) *supportedCiphers = q_SSL_get_ciphers(mySsl);
+ for (int i = 0; i < q_sk_SSL_CIPHER_num(supportedCiphers); ++i) {
+ if (SSL_CIPHER *cipher = q_sk_SSL_CIPHER_value(supportedCiphers, i)) {
+- if (cipher->valid) {
++
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
++ if (cipher->valid) {
++#endif
+ QSslCipher ciph = QSslSocketBackendPrivate::QSslCipher_from_SSL_CIPHER(cipher);
+ if (!ciph.isNull()) {
+ if (!ciph.name().toLower().startsWith(QLatin1String("adh")))
+ ciphers << ciph;
+ }
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ }
++#endif
+ }
+ }
+
+diff -ur qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl_p.h qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl_p.h
+--- qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl_p.h 2015-05-07 16:14:44.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl_p.h 2018-01-05 12:06:06.337990940 +0100
+@@ -84,6 +84,10 @@
+ #include <openssl/tls1.h>
+ #endif
+
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L
++#define OPENSSL_NO_SSL2
++#endif
++
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ typedef _STACK STACK;
+ #endif
+diff -ur qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl_symbols.cpp qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl_symbols.cpp
+--- qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl_symbols.cpp 2015-05-07 16:14:44.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl_symbols.cpp 2018-01-05 17:59:10.636973932 +0100
+@@ -111,16 +111,30 @@
+ DEFINEFUNC2(int, ASN1_STRING_to_UTF8, unsigned char **a, a, ASN1_STRING *b, b, return 0, return);
+ DEFINEFUNC4(long, BIO_ctrl, BIO *a, a, int b, b, long c, c, void *d, d, return -1, return)
+ DEFINEFUNC(int, BIO_free, BIO *a, a, return 0, return)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(BIO *, BIO_new, BIO_METHOD *a, a, return 0, return)
++#else
++DEFINEFUNC(BIO *, BIO_new, const BIO_METHOD *a, a, return 0, return)
++#endif
+ DEFINEFUNC2(BIO *, BIO_new_mem_buf, void *a, a, int b, b, return 0, return)
+ DEFINEFUNC3(int, BIO_read, BIO *a, a, void *b, b, int c, c, return -1, return)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(BIO_METHOD *, BIO_s_mem, void, DUMMYARG, return 0, return)
++#else
++DEFINEFUNC(const BIO_METHOD *, BIO_s_mem, void, DUMMYARG, return 0, return)
++#endif
+ DEFINEFUNC3(int, BIO_write, BIO *a, a, const void *b, b, int c, c, return -1, return)
+ DEFINEFUNC(int, BN_num_bits, const BIGNUM *a, a, return 0, return)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(int, CRYPTO_num_locks, DUMMYARG, DUMMYARG, return 0, return)
+ DEFINEFUNC(void, CRYPTO_set_locking_callback, void (*a)(int, int, const char *, int), a, return, DUMMYARG)
+ DEFINEFUNC(void, CRYPTO_set_id_callback, unsigned long (*a)(), a, return, DUMMYARG)
++#endif
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(void, CRYPTO_free, void *a, a, return, DUMMYARG)
++#else
++DEFINEFUNC3(void, CRYPTO_free, void *a, a, const char *b, b, int c, c, return, DUMMYARG)
++#endif
+ DEFINEFUNC(void, DSA_free, DSA *a, a, return, DUMMYARG)
+ #if OPENSSL_VERSION_NUMBER < 0x00908000L
+ DEFINEFUNC3(X509 *, d2i_X509, X509 **a, a, unsigned char **b, b, long c, c, return 0, return)
+@@ -157,6 +171,7 @@
+ DEFINEFUNC2(void, RAND_seed, const void *a, a, int b, b, return, DUMMYARG)
+ DEFINEFUNC(int, RAND_status, void, DUMMYARG, return -1, return)
+ DEFINEFUNC(void, RSA_free, RSA *a, a, return, DUMMYARG)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(int, sk_num, STACK *a, a, return -1, return)
+ DEFINEFUNC2(void, sk_pop_free, STACK *a, a, void (*b)(void*), b, return, DUMMYARG)
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
+@@ -166,6 +181,12 @@
+ DEFINEFUNC(void, sk_free, STACK *a, a, return, DUMMYARG)
+ DEFINEFUNC2(char *, sk_value, STACK *a, a, int b, b, return 0, return)
+ #endif
++#else
++DEFINEFUNC(int, OPENSSL_sk_num, STACK *a, a, return -1, return)
++DEFINEFUNC2(void, OPENSSL_sk_pop_free, STACK *a, a, void (*b)(void*), b, return, DUMMYARG)
++DEFINEFUNC(void, OPENSSL_sk_free, _STACK *a, a, return, DUMMYARG)
++DEFINEFUNC2(void *, OPENSSL_sk_value, STACK *a, a, int b, b, return 0, return)
++#endif
+ DEFINEFUNC(int, SSL_accept, SSL *a, a, return -1, return)
+ DEFINEFUNC(int, SSL_clear, SSL *a, a, return -1, return)
+ DEFINEFUNC3(char *, SSL_CIPHER_description, SSL_CIPHER *a, a, char *b, b, int c, c, return 0, return)
+@@ -213,8 +234,12 @@
+ #else
+ DEFINEFUNC(long, SSL_get_verify_result, SSL *a, a, return -1, return)
+ #endif
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(int, SSL_library_init, void, DUMMYARG, return -1, return)
+ DEFINEFUNC(void, SSL_load_error_strings, void, DUMMYARG, return, DUMMYARG)
++#else
++DEFINEFUNC2(int, OPENSSL_init_ssl, uint64_t opts, opts, const OPENSSL_INIT_SETTINGS *settings, settings, return -1, return)
++#endif
+ DEFINEFUNC(SSL *, SSL_new, SSL_CTX *a, a, return 0, return)
+ #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
+ DEFINEFUNC4(long, SSL_ctrl, SSL *a, a, int cmd, cmd, long larg, larg, void *parg, parg, return -1, return)
+@@ -229,13 +254,21 @@
+ DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ #endif
+ DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
++#else
++DEFINEFUNC(const SSL_METHOD *, TLS_client_method, DUMMYARG, DUMMYARG, return 0, return)
++#endif
+ DEFINEFUNC(const SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ #ifndef OPENSSL_NO_SSL2
+ DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ #endif
+ DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
++#else
++DEFINEFUNC(const SSL_METHOD *, TLS_server_method, DUMMYARG, DUMMYARG, return 0, return)
++#endif
+ DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ #else
+ DEFINEFUNC(SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
+@@ -274,7 +307,11 @@
+ DEFINEFUNC(int, X509_STORE_CTX_get_error, X509_STORE_CTX *a, a, return -1, return)
+ DEFINEFUNC(int, X509_STORE_CTX_get_error_depth, X509_STORE_CTX *a, a, return -1, return)
+ DEFINEFUNC(X509 *, X509_STORE_CTX_get_current_cert, X509_STORE_CTX *a, a, return 0, return)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get_chain, X509_STORE_CTX *a, a, return 0, return)
++#else
++DEFINEFUNC(STACK_OF(X509) *, X509_STORE_CTX_get0_chain, X509_STORE_CTX *a, a, return 0, return)
++#endif
+ DEFINEFUNC(X509_STORE_CTX *, X509_STORE_CTX_new, DUMMYARG, DUMMYARG, return 0, return)
+ #ifdef SSLEAY_MACROS
+ DEFINEFUNC2(int, i2d_DSAPrivateKey, const DSA *a, a, unsigned char **b, b, return -1, return)
+@@ -282,10 +319,34 @@
+ DEFINEFUNC3(RSA *, d2i_RSAPrivateKey, RSA **a, a, unsigned char **b, b, long c, c, return 0, return)
+ DEFINEFUNC3(DSA *, d2i_DSAPrivateKey, DSA **a, a, unsigned char **b, b, long c, c, return 0, return)
+ #endif
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(void, OPENSSL_add_all_algorithms_noconf, void, DUMMYARG, return, DUMMYARG)
+ DEFINEFUNC(void, OPENSSL_add_all_algorithms_conf, void, DUMMYARG, return, DUMMYARG)
++#else
++DEFINEFUNC2(int, OPENSSL_init_crypto, uint64_t opts, opts, const OPENSSL_INIT_SETTINGS *settings, settings, return -1, return)
++#endif
+ DEFINEFUNC3(int, SSL_CTX_load_verify_locations, SSL_CTX *ctx, ctx, const char *CAfile, CAfile, const char *CApath, CApath, return 0, return)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ DEFINEFUNC(long, SSLeay, void, DUMMYARG, return 0, return)
++#else
++DEFINEFUNC(unsigned long, OpenSSL_version_num, void, DUMMYARG, return 0, return)
++#endif
++DEFINEFUNC(X509_STORE *, SSL_CTX_get_cert_store, const SSL_CTX *ctx, ctx, return 0, return)
++
++DEFINEFUNC(ASN1_INTEGER *, X509_get_serialNumber, X509 *x, x, return 0, return)
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L
++DEFINEFUNC(int, EVP_PKEY_id, const EVP_PKEY *pkey, pkey, return 0, return)
++DEFINEFUNC(int, EVP_PKEY_base_id, const EVP_PKEY *pkey, pkey, return 0, return)
++DEFINEFUNC2(int, SSL_CIPHER_get_bits, const SSL_CIPHER *cipher, cipher, int *alg_bits, alg_bits, return 0, return)
++DEFINEFUNC2(long, SSL_CTX_set_options, SSL_CTX *ctx, ctx, long options, options, return 0, return)
++DEFINEFUNC(long, X509_get_version, X509 *x, x, return 0, return)
++DEFINEFUNC(X509_PUBKEY *, X509_get_X509_PUBKEY, X509 *x, x, return 0, return)
++DEFINEFUNC(int, RSA_bits, const RSA *rsa, rsa, return 0, return)
++DEFINEFUNC(int, DSA_security_bits, const DSA *dsa, dsa, return 0, return)
++DEFINEFUNC(ASN1_TIME *, X509_getm_notAfter, X509 *x, x, return 0, return)
++DEFINEFUNC(ASN1_TIME *, X509_getm_notBefore, X509 *x, x, return 0, return)
++DEFINEFUNC4(void, DSA_get0_pqg, const DSA *d, d, const BIGNUM **p, p, const BIGNUM **q, q, const BIGNUM **g, g, return, return)
++#endif
+
+ #ifdef Q_OS_SYMBIAN
+ #define RESOLVEFUNC(func, ordinal, lib) \
+@@ -580,7 +641,11 @@
+ static volatile bool symbolsResolved = false;
+ static volatile bool triedToResolveSymbols = false;
+ #ifndef QT_NO_THREAD
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_SSL_library_init));
++#else
++ QMutexLocker locker(QMutexPool::globalInstanceGet((void *)&q_OPENSSL_init_ssl));
++#endif
+ #endif
+ if (symbolsResolved)
+ return true;
+@@ -614,9 +679,11 @@
+ RESOLVEFUNC(BIO_write, 269, libs.second )
+ RESOLVEFUNC(BN_num_bits, 387, libs.second )
+ RESOLVEFUNC(CRYPTO_free, 469, libs.second )
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(CRYPTO_num_locks, 500, libs.second )
+ RESOLVEFUNC(CRYPTO_set_id_callback, 513, libs.second )
+ RESOLVEFUNC(CRYPTO_set_locking_callback, 516, libs.second )
++#endif
+ RESOLVEFUNC(DSA_free, 594, libs.second )
+ RESOLVEFUNC(ERR_error_string, 744, libs.second )
+ RESOLVEFUNC(ERR_get_error, 749, libs.second )
+@@ -674,8 +741,10 @@
+ RESOLVEFUNC(SSL_get_peer_cert_chain, 117, libs.first )
+ RESOLVEFUNC(SSL_get_peer_certificate, 118, libs.first )
+ RESOLVEFUNC(SSL_get_verify_result, 132, libs.first )
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(SSL_library_init, 137, libs.first )
+ RESOLVEFUNC(SSL_load_error_strings, 139, libs.first )
++#endif
+ RESOLVEFUNC(SSL_new, 140, libs.first )
+ #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
+ RESOLVEFUNC(SSL_ctrl, 95, libs.first )
+@@ -747,9 +816,11 @@
+ RESOLVEFUNC(BIO_write)
+ RESOLVEFUNC(BN_num_bits)
+ RESOLVEFUNC(CRYPTO_free)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(CRYPTO_num_locks)
+ RESOLVEFUNC(CRYPTO_set_id_callback)
+ RESOLVEFUNC(CRYPTO_set_locking_callback)
++#endif
+ RESOLVEFUNC(DSA_free)
+ RESOLVEFUNC(ERR_error_string)
+ RESOLVEFUNC(ERR_get_error)
+@@ -779,10 +850,17 @@
+ RESOLVEFUNC(RAND_seed)
+ RESOLVEFUNC(RAND_status)
+ RESOLVEFUNC(RSA_free)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(sk_free)
+ RESOLVEFUNC(sk_num)
+ RESOLVEFUNC(sk_pop_free)
+ RESOLVEFUNC(sk_value)
++#else
++ RESOLVEFUNC(OPENSSL_sk_free)
++ RESOLVEFUNC(OPENSSL_sk_num)
++ RESOLVEFUNC(OPENSSL_sk_pop_free)
++ RESOLVEFUNC(OPENSSL_sk_value)
++#endif
+ RESOLVEFUNC(SSL_CIPHER_description)
+ RESOLVEFUNC(SSL_CTX_check_private_key)
+ RESOLVEFUNC(SSL_CTX_ctrl)
+@@ -797,6 +875,7 @@
+ RESOLVEFUNC(SSL_CTX_use_PrivateKey)
+ RESOLVEFUNC(SSL_CTX_use_RSAPrivateKey)
+ RESOLVEFUNC(SSL_CTX_use_PrivateKey_file)
++ RESOLVEFUNC(SSL_CTX_get_cert_store)
+ RESOLVEFUNC(SSL_accept)
+ RESOLVEFUNC(SSL_clear)
+ RESOLVEFUNC(SSL_connect)
+@@ -807,8 +886,12 @@
+ RESOLVEFUNC(SSL_get_peer_cert_chain)
+ RESOLVEFUNC(SSL_get_peer_certificate)
+ RESOLVEFUNC(SSL_get_verify_result)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(SSL_library_init)
+ RESOLVEFUNC(SSL_load_error_strings)
++#else
++ RESOLVEFUNC(OPENSSL_init_ssl)
++#endif
+ RESOLVEFUNC(SSL_new)
+ #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
+ RESOLVEFUNC(SSL_ctrl)
+@@ -819,17 +902,47 @@
+ RESOLVEFUNC(SSL_set_connect_state)
+ RESOLVEFUNC(SSL_shutdown)
+ RESOLVEFUNC(SSL_write)
++
++ RESOLVEFUNC(X509_get_serialNumber)
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L
++ RESOLVEFUNC(SSL_CTX_ctrl)
++ RESOLVEFUNC(EVP_PKEY_id)
++ RESOLVEFUNC(EVP_PKEY_base_id)
++ RESOLVEFUNC(SSL_CIPHER_get_bits)
++ RESOLVEFUNC(SSL_CTX_set_options)
++ RESOLVEFUNC(X509_get_version)
++ RESOLVEFUNC(X509_get_X509_PUBKEY)
++ RESOLVEFUNC(RSA_bits)
++ RESOLVEFUNC(DSA_security_bits)
++ RESOLVEFUNC(DSA_get0_pqg)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
++ RESOLVEFUNC(X509_get_notAfter)
++ RESOLVEFUNC(X509_get_notBefore)
++#else
++ RESOLVEFUNC(X509_getm_notAfter)
++ RESOLVEFUNC(X509_getm_notBefore)
++#endif
++#endif
++
+ #ifndef OPENSSL_NO_SSL2
+ RESOLVEFUNC(SSLv2_client_method)
+ #endif
+ RESOLVEFUNC(SSLv3_client_method)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(SSLv23_client_method)
++#else
++ RESOLVEFUNC(TLS_client_method)
++#endif
+ RESOLVEFUNC(TLSv1_client_method)
+ #ifndef OPENSSL_NO_SSL2
+ RESOLVEFUNC(SSLv2_server_method)
+ #endif
+ RESOLVEFUNC(SSLv3_server_method)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(SSLv23_server_method)
++#else
++ RESOLVEFUNC(TLS_server_method)
++#endif
+ RESOLVEFUNC(TLSv1_server_method)
+ RESOLVEFUNC(X509_NAME_entry_count)
+ RESOLVEFUNC(X509_NAME_get_entry)
+@@ -846,7 +959,11 @@
+ RESOLVEFUNC(X509_STORE_CTX_get_error)
+ RESOLVEFUNC(X509_STORE_CTX_get_error_depth)
+ RESOLVEFUNC(X509_STORE_CTX_get_current_cert)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(X509_STORE_CTX_get_chain)
++#else
++ RESOLVEFUNC(X509_STORE_CTX_get0_chain)
++#endif
+ RESOLVEFUNC(X509_cmp)
+ #ifndef SSLEAY_MACROS
+ RESOLVEFUNC(X509_dup)
+@@ -867,10 +984,18 @@
+ RESOLVEFUNC(d2i_DSAPrivateKey)
+ RESOLVEFUNC(d2i_RSAPrivateKey)
+ #endif
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(OPENSSL_add_all_algorithms_noconf)
+ RESOLVEFUNC(OPENSSL_add_all_algorithms_conf)
++#else
++ RESOLVEFUNC(OPENSSL_init_crypto)
++#endif
+ RESOLVEFUNC(SSL_CTX_load_verify_locations)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ RESOLVEFUNC(SSLeay)
++#else
++ RESOLVEFUNC(OpenSSL_version_num)
++#endif
+ #endif // Q_OS_SYMBIAN
+ symbolsResolved = true;
+ delete libs.first;
+diff -ur qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl_symbols_p.h qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl_symbols_p.h
+--- qt-everywhere-opensource-src-4.8.7/src/network/ssl/qsslsocket_openssl_symbols_p.h 2015-05-07 16:14:44.000000000 +0200
++++ qt-everywhere-opensource-src-4.8.7-openssl-1.1/src/network/ssl/qsslsocket_openssl_symbols_p.h 2018-01-05 17:59:42.041550255 +0100
+@@ -207,16 +207,31 @@
+ int q_ASN1_STRING_to_UTF8(unsigned char **a, ASN1_STRING *b);
+ long q_BIO_ctrl(BIO *a, int b, long c, void *d);
+ int q_BIO_free(BIO *a);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ BIO *q_BIO_new(BIO_METHOD *a);
++#else
++BIO *q_BIO_new(const BIO_METHOD *a);
++#endif
+ BIO *q_BIO_new_mem_buf(void *a, int b);
+ int q_BIO_read(BIO *a, void *b, int c);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ BIO_METHOD *q_BIO_s_mem();
++#else
++const BIO_METHOD *q_BIO_s_mem();
++#endif
+ int q_BIO_write(BIO *a, const void *b, int c);
+ int q_BN_num_bits(const BIGNUM *a);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ int q_CRYPTO_num_locks();
+ void q_CRYPTO_set_locking_callback(void (*a)(int, int, const char *, int));
+ void q_CRYPTO_set_id_callback(unsigned long (*a)());
+ void q_CRYPTO_free(void *a);
++#else
++#define q_CRYPTO_num_locks() 1
++#define q_CRYPTO_set_locking_callback(a)
++#define q_CRYPTO_set_id_callback(a)
++void q_CRYPTO_free(void *a, const char *b, int c);
++#endif
+ void q_DSA_free(DSA *a);
+ #if OPENSSL_VERSION_NUMBER >= 0x00908000L
+ // 0.9.8 broke SC and BC by changing this function's signature.
+@@ -258,6 +273,7 @@
+ void q_RAND_seed(const void *a, int b);
+ int q_RAND_status();
+ void q_RSA_free(RSA *a);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ int q_sk_num(STACK *a);
+ void q_sk_pop_free(STACK *a, void (*b)(void *));
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
+@@ -267,6 +283,16 @@
+ void q_sk_free(STACK *a);
+ char * q_sk_value(STACK *a, int b);
+ #endif
++#else
++int q_OPENSSL_sk_num(STACK *a);
++void q_OPENSSL_sk_pop_free(STACK *a, void (*b)(void *));
++void q_OPENSSL_sk_free(_STACK *a);
++void * q_OPENSSL_sk_value(STACK *a, int b);
++#define q_sk_num q_OPENSSL_sk_num
++#define q_sk_pop_free q_OPENSSL_sk_pop_free
++#define q_sk_free q_OPENSSL_sk_free
++#define q_sk_value q_OPENSSL_sk_value
++#endif
+ int q_SSL_accept(SSL *a);
+ int q_SSL_clear(SSL *a);
+ char *q_SSL_CIPHER_description(SSL_CIPHER *a, char *b, int c);
+@@ -314,8 +340,14 @@
+ #else
+ long q_SSL_get_verify_result(SSL *a);
+ #endif
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ int q_SSL_library_init();
+ void q_SSL_load_error_strings();
++#else
++int q_OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
++#define q_SSL_library_init() q_OPENSSL_init_ssl(0, (const OPENSSL_INIT_SETTINGS *) NULL)
++#define q_SSL_load_error_strings() q_OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, (const OPENSSL_INIT_SETTINGS *) NULL)
++#endif
+ SSL *q_SSL_new(SSL_CTX *a);
+ #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
+ long q_SSL_ctrl(SSL *ssl,int cmd, long larg, void *parg);
+@@ -328,11 +360,21 @@
+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
+ const SSL_METHOD *q_SSLv2_client_method();
+ const SSL_METHOD *q_SSLv3_client_method();
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ const SSL_METHOD *q_SSLv23_client_method();
++#else
++const SSL_METHOD *q_TLS_client_method();
++#define q_SSLv23_client_method q_TLS_client_method
++#endif
+ const SSL_METHOD *q_TLSv1_client_method();
+ const SSL_METHOD *q_SSLv2_server_method();
+ const SSL_METHOD *q_SSLv3_server_method();
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ const SSL_METHOD *q_SSLv23_server_method();
++#else
++const SSL_METHOD *q_TLS_server_method();
++#define q_SSLv23_server_method q_TLS_server_method
++#endif
+ const SSL_METHOD *q_TLSv1_server_method();
+ #else
+ SSL_METHOD *q_SSLv2_client_method();
+@@ -377,7 +419,12 @@
+ int q_X509_STORE_CTX_get_error(X509_STORE_CTX *ctx);
+ int q_X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx);
+ X509 *q_X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ STACK_OF(X509) *q_X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx);
++#else
++STACK_OF(X509) *q_X509_STORE_CTX_get0_chain(X509_STORE_CTX *ctx);
++#define q_X509_STORE_CTX_get_chain q_X509_STORE_CTX_get0_chain
++#endif
+
+ #define q_BIO_get_mem_data(b, pp) (int)q_BIO_ctrl(b,BIO_CTRL_INFO,0,(char *)pp)
+ #define q_BIO_pending(b) (int)q_BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)
+@@ -399,7 +446,25 @@
+ PEM_ASN1_write_bio((int (*)(void*, unsigned char**))q_i2d_DSAPrivateKey,PEM_STRING_DSA,\
+ bp,(char *)x,enc,kstr,klen,cb,u)
+ #endif
++
++X509_STORE * q_SSL_CTX_get_cert_store(const SSL_CTX *ctx);
++ASN1_INTEGER * q_X509_get_serialNumber(X509 *x);
++
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ #define q_SSL_CTX_set_options(ctx,op) q_SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
++#define q_X509_get_version(x) X509_get_version(x)
++#else
++int q_EVP_PKEY_id(const EVP_PKEY *pkey);
++int q_EVP_PKEY_base_id(const EVP_PKEY *pkey);
++int q_SSL_CIPHER_get_bits(const SSL_CIPHER *cipher, int *alg_bits);
++long q_SSL_CTX_set_options(SSL_CTX *ctx, long options);
++long q_X509_get_version(X509 *x);
++X509_PUBKEY * q_X509_get_X509_PUBKEY(X509 *x);
++int q_RSA_bits(const RSA *rsa);
++int q_DSA_security_bits(const DSA *dsa);
++void q_DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
++#endif
++
+ #define q_SKM_sk_num(type, st) ((int (*)(const STACK_OF(type) *))q_sk_num)(st)
+ #define q_SKM_sk_value(type, st,i) ((type * (*)(const STACK_OF(type) *, int))q_sk_value)(st, i)
+ #define q_sk_GENERAL_NAME_num(st) q_SKM_sk_num(GENERAL_NAME, (st))
+@@ -410,8 +475,17 @@
+ #define q_sk_SSL_CIPHER_value(st, i) q_SKM_sk_value(SSL_CIPHER, (st), (i))
+ #define q_SSL_CTX_add_extra_chain_cert(ctx,x509) \
+ q_SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)
++
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ #define q_X509_get_notAfter(x) X509_get_notAfter(x)
+ #define q_X509_get_notBefore(x) X509_get_notBefore(x)
++#else
++ASN1_TIME *q_X509_getm_notAfter(X509 *x);
++ASN1_TIME *q_X509_getm_notBefore(X509 *x);
++#define q_X509_get_notAfter(x) q_X509_getm_notAfter(x)
++#define q_X509_get_notBefore(x) q_X509_getm_notBefore(x)
++#endif
++
+ #define q_EVP_PKEY_assign_RSA(pkey,rsa) q_EVP_PKEY_assign((pkey),EVP_PKEY_RSA,\
+ (char *)(rsa))
+ #define q_EVP_PKEY_assign_DSA(pkey,dsa) q_EVP_PKEY_assign((pkey),EVP_PKEY_DSA,\
+@@ -421,10 +495,21 @@
+ #else
+ #define q_OpenSSL_add_all_algorithms() q_OPENSSL_add_all_algorithms_noconf()
+ #endif
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ void q_OPENSSL_add_all_algorithms_noconf();
+ void q_OPENSSL_add_all_algorithms_conf();
++#else
++int q_OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
++#define q_OPENSSL_add_all_algorithms_conf() q_OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | OPENSSL_INIT_ADD_ALL_DIGESTS | OPENSSL_INIT_LOAD_CONFIG, (const OPENSSL_INIT_SETTINGS *) NULL)
++# define q_OPENSSL_add_all_algorithms_noconf() q_OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | OPENSSL_INIT_ADD_ALL_DIGESTS, (const OPENSSL_INIT_SETTINGS *) NULL)
++#endif
+ int q_SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath);
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ long q_SSLeay();
++#else
++unsigned long q_OpenSSL_version_num();
++#define q_SSLeay q_OpenSSL_version_num
++#endif
+
+ // Helper function
+ class QDateTime;
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qforeach.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qforeach.patch
new file mode 100644
index 0000000000..836dc13a43
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qforeach.patch
@@ -0,0 +1,40 @@
+--- a/src/corelib/global/qglobal.h
++++ b/src/corelib/global/qglobal.h
+@@ -2482,22 +2482,32 @@ typedef uint Flags;
+
+ #endif /* Q_NO_TYPESAFE_FLAGS */
+
+-#if defined(Q_CC_GNU) && !defined(Q_CC_INTEL) && !defined(Q_CC_RVCT)
++#if (defined(Q_CC_GNU) && !defined(Q_CC_RVCT))
+ /* make use of typeof-extension */
+ template <typename T>
+ class QForeachContainer {
+ public:
+- inline QForeachContainer(const T& t) : c(t), brk(0), i(c.begin()), e(c.end()) { }
++ inline QForeachContainer(const T& t) : c(t), i(c.begin()), e(c.end()), control(1) { }
+ const T c;
+ int brk;
+ typename T::const_iterator i, e;
++ int control;
+ };
+
++// Explanation of the control word:
++// - it's initialized to 1
++// - that means both the inner and outer loops start
++// - if there were no breaks, at the end of the inner loop, it's set to 0, which
++// causes it to exit (the inner loop is run exactly once)
++// - at the end of the outer loop, it's inverted, so it becomes 1 again, allowing
++// the outer loop to continue executing
++// - if there was a break inside the inner loop, it will exit with control still
++// set to 1; in that case, the outer loop will invert it to 0 and will exit too
+ #define Q_FOREACH(variable, container) \
+ for (QForeachContainer<__typeof__(container)> _container_(container); \
+- !_container_.brk && _container_.i != _container_.e; \
+- __extension__ ({ ++_container_.brk; ++_container_.i; })) \
+- for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
++ _container_.control && _container_.i != _container_.e; \
++ ++_container_.i, _container_.control ^= 1) \
++ for (variable = *_container_.i; _container_.control; _container_.control = 0)
+
+ #else
+
diff --git a/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qmake_LFLAGS.patch b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qmake_LFLAGS.patch
new file mode 100644
index 0000000000..f1a5a12e1b
--- /dev/null
+++ b/libraries/qt4/patches/qt-everywhere-opensource-src-4.8.7-qmake_LFLAGS.patch
@@ -0,0 +1,12 @@
+diff -up qt-everywhere-opensource-src-4.8.7/qmake/Makefile.unix.qmake_LFLAGS qt-everywhere-opensource-src-4.8.7/qmake/Makefile.unix
+--- qt-everywhere-opensource-src-4.8.7/qmake/Makefile.unix.qmake_LFLAGS 2015-05-07 09:14:42.000000000 -0500
++++ qt-everywhere-opensource-src-4.8.7/qmake/Makefile.unix 2018-02-15 08:25:13.168838577 -0600
+@@ -3,7 +3,7 @@ BUILD_PATH = @BUILD_PATH@
+ QTOBJS = @QMAKE_QTOBJS@
+ QTSRCS = @QMAKE_QTSRCS@
+ QMAKESPEC = @QMAKESPEC@
+-LFLAGS = @QMAKE_LFLAGS@
++LFLAGS = @QMAKE_LFLAGS@ $(QMAKE_LFLAGS_RELEASE)
+
+ #qmake code
+ OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o \
diff --git a/libraries/qt4/patches/qt-prefer_adwaita_on_gnome.patch b/libraries/qt4/patches/qt-prefer_adwaita_on_gnome.patch
new file mode 100644
index 0000000000..6a6239ec1d
--- /dev/null
+++ b/libraries/qt4/patches/qt-prefer_adwaita_on_gnome.patch
@@ -0,0 +1,17 @@
+--- a/src/gui/kernel/qguiplatformplugin.cpp.adwaita 2015-02-12 14:32:45.217935391 +0100
++++ b/src/gui/kernel/qguiplatformplugin.cpp 2015-02-12 14:46:11.471866038 +0100
+@@ -165,8 +165,13 @@ QString QGuiPlatformPlugin::styleName()
+ case DE_GNOME: {
+ QStringList availableStyles = QStyleFactory::keys();
+ // Set QGtkStyle for GNOME if available
++ QString adwaitaStyleKey = QString::fromLatin1("adwaita");
+ QString gtkStyleKey = QString::fromLatin1("GTK+");
+- if (availableStyles.contains(gtkStyleKey)) {
++ if (availableStyles.contains(adwaitaStyleKey)) {
++ stylename = adwaitaStyleKey;
++ break;
++ }
++ else if (availableStyles.contains(gtkStyleKey)) {
+ stylename = gtkStyleKey;
+ break;
+ }
diff --git a/libraries/qt4/patches/qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch b/libraries/qt4/patches/qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
new file mode 100644
index 0000000000..e5ab4bad96
--- /dev/null
+++ b/libraries/qt4/patches/qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
@@ -0,0 +1,50 @@
+diff -ur qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_i386.h qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_i386.h
+--- qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_i386.h 2009-02-25 22:09:21.000000000 +0100
++++ qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_i386.h 2009-04-01 17:54:21.000000000 +0200
+@@ -115,8 +115,8 @@
+ asm volatile("lock\n"
+ "incl %0\n"
+ "setne %1"
+- : "=m" (_q_value), "=qm" (ret)
+- : "m" (_q_value)
++ : "+m" (_q_value), "=qm" (ret)
++ :
+ : "memory");
+ return ret != 0;
+ }
+@@ -127,8 +127,8 @@
+ asm volatile("lock\n"
+ "decl %0\n"
+ "setne %1"
+- : "=m" (_q_value), "=qm" (ret)
+- : "m" (_q_value)
++ : "+m" (_q_value), "=qm" (ret)
++ :
+ : "memory");
+ return ret != 0;
+ }
+diff -ur qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_x86_64.h qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_x86_64.h
+--- qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_x86_64.h 2009-02-25 22:09:21.000000000 +0100
++++ qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_x86_64.h 2009-04-01 17:54:32.000000000 +0200
+@@ -116,8 +116,8 @@
+ asm volatile("lock\n"
+ "incl %0\n"
+ "setne %1"
+- : "=m" (_q_value), "=qm" (ret)
+- : "m" (_q_value)
++ : "+m" (_q_value), "=qm" (ret)
++ :
+ : "memory");
+ return ret != 0;
+ }
+@@ -128,8 +128,8 @@
+ asm volatile("lock\n"
+ "decl %0\n"
+ "setne %1"
+- : "=m" (_q_value), "=qm" (ret)
+- : "m" (_q_value)
++ : "+m" (_q_value), "=qm" (ret)
++ :
+ : "memory");
+ return ret != 0;
+ }
diff --git a/libraries/qt4/patches/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch b/libraries/qt4/patches/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
new file mode 100644
index 0000000000..4ab3ea4b11
--- /dev/null
+++ b/libraries/qt4/patches/qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
@@ -0,0 +1,12 @@
+diff -up qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp.enable_ft_lcdfilter qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp
+--- qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp.enable_ft_lcdfilter 2009-04-21 18:57:41.000000000 -0500
++++ qt-x11-opensource-src-4.5.1/src/gui/text/qfontengine_ft.cpp 2009-04-24 11:17:49.562695405 -0500
+@@ -72,7 +72,7 @@
+ #include FT_CONFIG_OPTIONS_H
+ #endif
+
+-#if defined(FT_LCD_FILTER_H) && defined(FT_CONFIG_OPTION_SUBPIXEL_RENDERING)
++#if defined(FT_LCD_FILTER_H)
+ #define QT_USE_FREETYPE_LCDFILTER
+ #endif
+
diff --git a/libraries/qt4/patches/series b/libraries/qt4/patches/series
new file mode 100644
index 0000000000..eb4ec18ba5
--- /dev/null
+++ b/libraries/qt4/patches/series
@@ -0,0 +1,52 @@
+# we have some commented-out patches here, leave for reference.
+
+qt-everywhere-opensource-src-4.8.5-uic_multilib.patch
+qt-everywhere-opensource-src-4.8.5-webcore_debuginfo.patch
+qt-cupsEnumDests.patch
+qt-prefer_adwaita_on_gnome.patch
+#qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
+qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
+qt-everywhere-opensource-src-4.8.3-qdbusconnection_no_debug.patch
+qt-everywhere-opensource-src-4.8.1-linguist_qmake-qt4.patch
+qt-everywhere-opensource-src-4.8.1-qt3support_debuginfo.patch
+qt-everywhere-opensource-src-4.8.5-qt_plugin_path.patch
+qt-everywhere-opensource-src-4.8.4-qmake_pkgconfig_requires_private.patch
+qt-everywhere-opensource-src-4.8.7-firebird.patch
+qt-everywhere-opensource-src-4.8.7-QT_VERSION_CHECK.patch
+qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
+qt-everywhere-opensource-src-4.8.5-mysql_config.patch
+qt-everywhere-opensource-src-4.6.2-cups.patch
+qt-everywhere-opensource-src-4.8.7-mariadb.patch
+qt-everywhere-opensource-src-4.8.7-qmake_LFLAGS.patch
+qt-everywhere-opensource-src-4.8.5-QTBUG-14467.patch
+qt-everywhere-opensource-src-4.8.0-tp-qtreeview-kpackagekit-crash.patch
+qt-everywhere-opensource-src-4.8.6-s390.patch
+qt-everywhere-opensource-src-4.8.3-no_Werror.patch
+qt-everywhere-opensource-src-4.8.0-QTBUG-22037.patch
+qt-everywhere-opensource-src-4.8.5-QTBUG-21900.patch
+qt-everywhere-opensource-src-4.8.5-tds_no_strict_aliasing.patch
+qt-everywhere-opensource-src-4.8.0-s390-atomic.patch
+qt-everywhere-opensource-src-4.8.3-icu_no_debug.patch
+qt-everywhere-opensource-src-4.8.2--assistant-crash.patch
+qt-everywhere-opensource-src-4.8.5-QTBUG-4862.patch
+qt-4.8-poll.patch
+qt-everywhere-opensource-src-4.8.6-QTBUG-37380.patch
+qt-everywhere-opensource-src-4.8.6-QTBUG-34614.patch
+qt-everywhere-opensource-src-4.8.6-QTBUG-38585.patch
+#qt-everywhere-opensource-src-4.8.6-system-clucene.patch
+qt-everywhere-opensource-src-4.8.7-mips64.patch
+qt-everywhere-opensource-src-4.8.7-gcc6.patch
+qt-everywhere-opensource-src-4.8.7-alsa-1.1.patch
+qt-everywhere-opensource-src-4.8.7-openssl-1.1.patch
+qt-everywhere-opensource-src-4.8.7-gcc8_qtscript.patch
+qt-everywhere-opensource-src-4.8.5-qgtkstyle_disable_gtk_theme_check.patch
+qt-everywhere-opensource-src-4.8.6-QTBUG-22829.patch
+qt-aarch64.patch
+qt-everywhere-opensource-src-4.8.7-qforeach.patch
+qt-everywhere-opensource-src-4.8.7-crash-in-qppmhandler.patch
+qt-everywhere-opensource-src-4.8.5-QTBUG-35459.patch
+qt-everywhere-opensource-src-4.8.6-systemtrayicon.patch
+#qt-everywhere-opensource-src-4.8.0-tp-multilib-optflags.patch
+qt-everywhere-opensource-src-4.8.7-icu59.patch
+qt-4.8-disable-sslv3.patch
+qt-everywhere-opensource-src-4.8.7-fix_pointer_comparison_to_0.patch
diff --git a/libraries/qt4/profile.d/qt4.csh b/libraries/qt4/profile.d/qt4.csh
new file mode 100644
index 0000000000..f023c50759
--- /dev/null
+++ b/libraries/qt4/profile.d/qt4.csh
@@ -0,0 +1,20 @@
+#!/bin/csh
+
+# Environment path variables for the Qt package
+
+# It's a very bad idea to make this script executable. Anything that
+# needs to build with qt4 should instead source this script. Failure
+# to follow this advice will likely break various builds that use qt5.
+# I seriously doubt anything will ever source this csh version, either.
+
+setenv QT4DIR /usr/lib/qt4
+
+# put the qt4 stuff first in $PATH, so running e.g. 'qmake' will
+# run the qt4 version, not the qt5 one.
+set path = ( $QT4DIR/bin $path )
+
+if ( $?CPLUS_INCLUDE_PATH ) then
+ setenv CPLUS_INCLUDE_PATH $QT4DIR/include:$CPLUS_INCLUDE_PATH
+else
+ setenv CPLUS_INCLUDE_PATH $QT4DIR/include
+endif
diff --git a/libraries/qt4/profile.d/qt4.sh b/libraries/qt4/profile.d/qt4.sh
new file mode 100644
index 0000000000..96c9e7ce83
--- /dev/null
+++ b/libraries/qt4/profile.d/qt4.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# Environment variables for the qt4 package.
+
+# It's a very bad idea to make this script executable. Anything that
+# needs to build with qt4 should instead source this script. Failure
+# to follow this advice will likely break various builds that use qt5.
+
+QT4DIR=/usr/lib/qt4
+
+if [ ! "$CPLUS_INCLUDE_PATH" = "" ]; then
+ CPLUS_INCLUDE_PATH=$QT4DIR/include:$CPLUS_INCLUDE_PATH
+else
+ CPLUS_INCLUDE_PATH=$QT4DIR/include
+fi
+
+# put the qt4 stuff first in $PATH, so running e.g. 'qmake' will
+# run the qt4 version, not the qt5 one.
+PATH="$QT4DIR/bin:$PATH"
+
+export QT4DIR
+export CPLUS_INCLUDE_PATH
diff --git a/libraries/qt4/qt4.SlackBuild b/libraries/qt4/qt4.SlackBuild
new file mode 100644
index 0000000000..a992f15827
--- /dev/null
+++ b/libraries/qt4/qt4.SlackBuild
@@ -0,0 +1,314 @@
+#!/bin/bash
+
+# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 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.
+
+# Merged some ideas from Alex Sarmardzic's script for qt4 at SlackBuilds.org
+# ^^ Modified by Robby Workman <rworkman@slackware.com> for QT4 & KDE4
+
+# Modifications 2010, 2011, 2012 Eric Hameleers, Eindhoven, NL
+
+# qt-4.8.7 is built from The Qt Company source, with lots of patches
+# from various sources.
+
+# This is the SBo-ized version. Heinz Wiesinger (pprkut) got this
+# to build on Slackware-current as of January 23, 2021. The stuff
+# in patches/ was collected (and in a few cases written) by him,
+# and he worked out the correct order to apply them. B. Watson
+# (urchlay@slackware.uk) modified pprkut's version to make it fit the SBo
+# template, and to make it install to /usr/lib(64)?/qt4/ to stay out of
+# the way.
+
+# 20220409 bkw: BUILD=2
+# - forgot to put the SlackBuild in the doc dir.
+# - resize icon correctly so it's really 48x48.
+# - get rid of Encoding from .desktop files (deprecated).
+
+# 20220302 bkw: webkit already wasn't being built, even with the
+# -webkit option passed to configure, so update the script to remove
+# the option to disable it (it's always disabled), and update the
+# README to document that fact.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qt4
+VERSION=${VERSION:-4.8.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" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ # To prevent "qatomic_armv6.h error: output number 2 not directly addressable"
+ # More permanent solution is to patch gcc:
+ # http://bazaar.launchpad.net/~linaro-toolchain-dev/gcc-linaro/4.6/revision/106731
+ SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -fno-strict-volatile-bitfields"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+case "$ARCH" in
+ arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
+ *) TARGET=$ARCH-slackware-linux ;;
+esac
+
+set -e
+
+SRC=qt-everywhere-opensource-src-$VERSION
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRC
+tar xvf $CWD/$SRC.tar.gz
+cd $SRC
+
+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 {} \+
+
+if [ "$ARCH" = "i486" -o "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then
+ sed -i -e "s/QMAKE_CFLAGS_RELEASE += -O2/QMAKE_CFLAGS_RELEASE += $SLKCFLAGS/" mkspecs/common/gcc-base.conf
+fi
+
+# 20220123 bkw: reworked a couple of these so they apply with -p1.
+# The funky sed stuff and while loop is so the 'series' file can
+# have comments and blank lines.
+sed -n -e 's/#.*//' -e '/./p' $CWD/patches/series | while read diff; do
+ echo "=== Applying $diff"
+ patch -p1 < $CWD/patches/$diff
+done
+
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS -std=gnu++98 -fpermissive -fno-delete-null-pointer-checks"
+export OPENSOURCE_CXXFLAGS="$CXXFLAGS"
+
+./configure \
+ -confirm-license \
+ -opensource \
+ -prefix /usr/lib${LIBDIRSUFFIX}/qt4 \
+ -fast \
+ -release \
+ -system-libpng \
+ -system-libjpeg \
+ -system-zlib \
+ -system-sqlite \
+ -plugin-sql-sqlite \
+ -dbus \
+ -no-webkit \
+ -no-phonon \
+ -nomake examples \
+ -nomake demos \
+ -nomake docs \
+ -no-separate-debug-info \
+ -no-pch \
+ -xmlpatterns
+ # No-precompiled-headers is ccache-friendly.
+
+make
+make install INSTALL_ROOT=$PKG
+
+# Binaries are already stripped.
+
+# Don't ship .la files:
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/*.la
+
+# 20220124 bkw: don't think we still need this, since this is no longer
+# a core Slackware package.
+# The infamous qt -> qt-${VERSION} link that keeps the full path out of .la files:
+#( cd $PKG/usr/lib${LIBDIRSUFFIX} ; ln -sf qt qt-${VERSION} )
+
+# Add a missing Qt.pc which is needed by KDE applications:
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/pkgconfig
+cat <<EOF > $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/pkgconfig/Qt.pc
+prefix=/usr/lib${LIBDIRSUFFIX}/qt4
+bindir=\${prefix}/bin
+datadir=\${prefix}
+docdir=\${prefix}/doc
+headerdir=\${prefix}/include
+importdir=\${prefix}/imports
+libdir=\${prefix}/lib
+moc=\${bindir}/moc
+plugindir=\${prefix}/plugins
+qmake=\${bindir}/qmake
+sysconfdir=\${prefix}/etc/settings
+translationdir=\${prefix}/translations
+
+Name: Qt
+Description: Qt Configuration
+Version: $VERSION
+EOF
+
+# libjscore is used internally. Prevent a false dependency on this in the .la and .pc files:
+sed -i "s,-ljscore,,g" $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/pkgconfig/*.pc
+sed -i "s,-L../JavaScriptCore/release,,g" $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/pkgconfig/*.pc
+
+# Make sure that .la, .pc, and .prl files use the correct $LIBDIRSUFFIX:
+sed -i "s,-L/usr/X11R6/lib ,-L/usr/X11R6/lib${LIBDIRSUFFIX} ,g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/pkgconfig/*.pc \
+ $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/*.prl
+
+# Link the shared libraries into /usr/lib:
+( cd $PKG/usr/lib${LIBDIRSUFFIX}
+ for file in qt4/lib/*.so* ; do
+ ln -sf $file .
+ done
+)
+
+# Add profile scripts
+mkdir -p $PKG/etc/profile.d
+sed -e "s#usr/lib/#usr/lib${LIBDIRSUFFIX}/#g" $CWD/profile.d/qt4.sh \
+ > $PKG/etc/profile.d/qt4.sh
+sed -e "s#usr/lib/#usr/lib${LIBDIRSUFFIX}/#g" $CWD/profile.d/qt4.csh \
+ > $PKG/etc/profile.d/qt4.csh
+chmod 0644 $PKG/etc/profile.d/* # do not make executable by default.
+
+# Put a ton of links to more "normal" places. I'd just use a prefix of /usr, but it
+# creates a ton of new (and ambiguously named) /usr directories...
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/lib${LIBDIRSUFFIX}/qt4/bin
+ for file in * ; do
+ ( cd $PKG/usr/bin ; ln -sf /usr/lib${LIBDIRSUFFIX}/qt4/bin/$file $file-qt4 )
+ done
+)
+
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+( cd $PKG/usr/lib${LIBDIRSUFFIX}/qt4/lib/pkgconfig
+ for file in *.pc ; do
+ ( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig ; ln -sf /usr/lib${LIBDIRSUFFIX}/qt4/lib/pkgconfig/$file . )
+ done
+)
+
+# Install Qt's private headers - at least Gentoo and Fedora are adding these
+# and some software has (inevitably) started depending on them:
+# We're using `rsync -R` as easy way to preserve relative path names:
+rsync -aR \
+ include/Qt{Core,Declarative,Gui,Script}/private \
+ src/{corelib,declarative,gui,script}/*/*_p.h \
+ ${PKG}/usr/lib${LIBDIRSUFFIX}/qt4/
+
+# Add menu entries for all those hidden but great Qt applications:
+# Assistant icons
+install -p -m644 -D tools/assistant/tools/assistant/images/assistant.png $PKG/usr/share/icons/hicolor/32x32/apps/assistant.png
+install -p -m644 -D tools/assistant/tools/assistant/images/assistant-128.png $PKG/usr/share/icons/hicolor/128x128/apps/assistant.png
+# Designer icon
+install -p -m644 -D tools/designer/src/designer/images/designer.png $PKG/usr/share/icons/hicolor/128x128/apps/designer.png
+# Linguist icons
+for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
+ size=$(echo $(basename ${icon}) | cut -d- -f2)
+ install -p -m644 -D ${icon} $PKG/usr/share/icons/hicolor/${size}x${size}/apps/linguist.png
+done
+# Qt logo:
+convert doc/src/images/qt-logo.png -resize 48x48! $PKG/usr/share/icons/hicolor/48x48/apps/qt-logo.png
+
+# And the .desktop files
+mkdir -p $PKG/usr/share/applications
+cat <<EOF > $PKG/usr/share/applications/designer.desktop
+[Desktop Entry]
+Name=Qt4 Designer
+GenericName=Interface Designer
+Comment=Design GUIs for Qt4 applications
+Exec=designer
+Icon=designer
+MimeType=application/x-designer;
+Terminal=false
+Type=Application
+Categories=Qt;Development;
+EOF
+cat <<EOF > $PKG/usr/share/applications/assistant.desktop
+[Desktop Entry]
+Name=Qt4 Assistant
+Comment=Shows Qt4 documentation and examples
+Exec=assistant
+Icon=assistant
+Terminal=false
+Type=Application
+Categories=Qt;Development;Documentation;
+EOF
+cat <<EOF > $PKG/usr/share/applications/linguist.desktop
+[Desktop Entry]
+Name=Qt4 Linguist
+Comment=Add translations to Qt4 applications
+Exec=linguist
+Icon=linguist
+MimeType=text/vnd.trolltech.linguist;application/x-linguist;
+Terminal=false
+Type=Application
+Categories=Qt;Development;
+EOF
+cat <<EOF > $PKG/usr/share/applications/qtconfig.desktop
+[Desktop Entry]
+Name=Qt4 Config
+Comment=Configure Qt4 behavior, styles, fonts
+Exec=qtconfig
+Icon=qt-logo
+Terminal=false
+Type=Application
+Categories=Qt;Settings;
+EOF
+
+# Add a documentation directory:
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a *GPL_EXCEPTION* LICENSE* README* changes-* $PKGDOC
+if [ -d $PKG/usr/lib${LIBDIRSUFFIX}/qt4/doc/html ]; then
+ ( cd $PKGDOC
+ ln -sf /usr/lib${LIBDIRSUFFIX}/qt4/doc/html .
+ )
+fi
+cat $CWD/README_SBo.txt > $PKGDOC/README_SBo.txt
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$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
diff --git a/libraries/qt4/qt4.info b/libraries/qt4/qt4.info
new file mode 100644
index 0000000000..d23d892103
--- /dev/null
+++ b/libraries/qt4/qt4.info
@@ -0,0 +1,10 @@
+PRGNAM="qt4"
+VERSION="4.8.7"
+HOMEPAGE="http://www.qt.io/"
+DOWNLOAD="https://download.qt.io/archive/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz"
+MD5SUM="d990ee66bf7ab0c785589776f35ba6ad"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/qt4/slack-desc b/libraries/qt4/slack-desc
new file mode 100644
index 0000000000..d45f7b33c9
--- /dev/null
+++ b/libraries/qt4/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------------------------------------------------------|
+qt4: qt4 (a C++ graphical user interface toolkit, legacy version)
+qt4:
+qt4: Qt is a complete and well-developed object-oriented framework for
+qt4: developing graphical user interface (GUI) applications using C++.
+qt4:
+qt4: This is an older 'legacy' version of Qt, only intended to support
+qt4: older applications that have not yet been ported to Qt5. Don't use
+qt4: this for developing new code.
+qt4:
+qt4:
+qt4:
diff --git a/libraries/qt5-legacy/README b/libraries/qt5-legacy/README
deleted file mode 100644
index eefa1df469..0000000000
--- a/libraries/qt5-legacy/README
+++ /dev/null
@@ -1,24 +0,0 @@
-Qt is a cross-platform C++ application framework. Qt's primary feature
-is its rich set of widgets that provide standard GUI functionality.
-
-This builds the legacy 5.7.1 version.
-
-Optional dependencies: unixodbc, freetds, OpenAL, libwebp, opus, snappy,
-wayland, and postgresql
-
-Optional dependencies: openvg and firebird (not available
-at slackbuilds.org)
-
-Note1: To build documentation pass DOCS=yes to the slackbuild
-
- DOCS=yes ./qt5-legacy.SlackBuild
-
-Note2: To build examples pass EXAMPLES=yes to the slackbuild
-
- EXAMPLES=yes ./qt5-legacy.SlackBuild
-
-Note3: To build support for proprietary media codecs (note that this
-will produce a non-redistributable package in some countries) pass
-PROPRIETARY_CODECS=yes to the slackbuild
-
- PROPRIETARY_CODECS=yes ./qt5-legacy.SlackBuild
diff --git a/libraries/qt5-legacy/desktop/assistant-qt5.desktop b/libraries/qt5-legacy/desktop/assistant-qt5.desktop
deleted file mode 100644
index 86f5701e34..0000000000
--- a/libraries/qt5-legacy/desktop/assistant-qt5.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Qt5 Assistant
-Comment=Shows Qt5 documentation and examples
-Exec=/usr/lib@LIBDIR@/qt5/bin/assistant
-Icon=assistant-qt5
-Terminal=false
-Type=Application
-Categories=Qt;Development;Documentation;
diff --git a/libraries/qt5-legacy/desktop/designer-qt5.desktop b/libraries/qt5-legacy/desktop/designer-qt5.desktop
deleted file mode 100644
index 16b91b8cb0..0000000000
--- a/libraries/qt5-legacy/desktop/designer-qt5.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Qt5 Designer
-GenericName=Interface Designer
-Comment=Design GUIs for Qt5 applications
-Exec=/usr/lib@LIBDIR@/qt5/bin/designer
-Icon=designer-qt5
-MimeType=application/x-designer;
-Terminal=false
-Type=Application
-Categories=Qt;Development;
diff --git a/libraries/qt5-legacy/desktop/linguist-qt5.desktop b/libraries/qt5-legacy/desktop/linguist-qt5.desktop
deleted file mode 100644
index 9ef2f0fbcb..0000000000
--- a/libraries/qt5-legacy/desktop/linguist-qt5.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Qt5 Linguist
-Comment=Add translations to Qt5 applications
-Exec=/usr/lib@LIBDIR@/qt5/bin/linguist
-Icon=linguist-qt5
-MimeType=text/vnd.trolltech.linguist;application/x-linguist;
-Terminal=false
-Type=Application
-Categories=Qt;Development;
diff --git a/libraries/qt5-legacy/desktop/qdbusviewer-qt5.desktop b/libraries/qt5-legacy/desktop/qdbusviewer-qt5.desktop
deleted file mode 100644
index 46947f092d..0000000000
--- a/libraries/qt5-legacy/desktop/qdbusviewer-qt5.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Qt5 QDbusViewer
-GenericName=Qt5 D-Bus Debugger
-Comment=Debug D-Bus applications
-Exec=/usr/lib@LIBDIR@/qt5/bin/qdbusviewer
-Icon=qdbusviewer-qt5
-Terminal=false
-Type=Application
-Categories=Qt;Development;Debugger;
diff --git a/libraries/qt5-legacy/doinst.sh b/libraries/qt5-legacy/doinst.sh
deleted file mode 100644
index 65c7e2eeb9..0000000000
--- a/libraries/qt5-legacy/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/libraries/qt5-legacy/patches/nss-update-sslv3-nonce.patch b/libraries/qt5-legacy/patches/nss-update-sslv3-nonce.patch
deleted file mode 100644
index 1700c226a6..0000000000
--- a/libraries/qt5-legacy/patches/nss-update-sslv3-nonce.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -Naur qt-everywhere-opensource-src-5.5.1.orig/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc
---- qt-everywhere-opensource-src-5.5.1.orig/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc 2015-10-13 04:36:54.000000000 +0000
-+++ qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_decrypter_nss.cc 2016-03-15 11:57:53.898988200 +0000
-@@ -66,9 +66,9 @@
- AeadParams* aead_params) const {
- aead_params->len = sizeof(aead_params->data.nss_aead_params);
- CK_NSS_AEAD_PARAMS* nss_aead_params = &aead_params->data.nss_aead_params;
-- nss_aead_params->pIv =
-+ nss_aead_params->pNonce =
- reinterpret_cast<CK_BYTE*>(const_cast<char*>(nonce.data()));
-- nss_aead_params->ulIvLen = nonce.size();
-+ nss_aead_params->ulNonceLen = nonce.size();
- nss_aead_params->pAAD =
- reinterpret_cast<CK_BYTE*>(const_cast<char*>(associated_data.data()));
- nss_aead_params->ulAADLen = associated_data.size();
-diff -Naur qt-everywhere-opensource-src-5.5.1.orig/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_encrypter_nss.cc qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_encrypter_nss.cc
---- qt-everywhere-opensource-src-5.5.1.orig/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_encrypter_nss.cc 2015-10-13 04:36:54.000000000 +0000
-+++ qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/quic/crypto/chacha20_poly1305_encrypter_nss.cc 2016-03-15 11:57:53.902988200 +0000
-@@ -66,9 +66,9 @@
- AeadParams* aead_params) const {
- aead_params->len = sizeof(aead_params->data.nss_aead_params);
- CK_NSS_AEAD_PARAMS* nss_aead_params = &aead_params->data.nss_aead_params;
-- nss_aead_params->pIv =
-+ nss_aead_params->pNonce =
- reinterpret_cast<CK_BYTE*>(const_cast<char*>(nonce.data()));
-- nss_aead_params->ulIvLen = nonce.size();
-+ nss_aead_params->ulNonceLen = nonce.size();
- nss_aead_params->pAAD =
- reinterpret_cast<CK_BYTE*>(const_cast<char*>(associated_data.data()));
- nss_aead_params->ulAADLen = associated_data.size();
-diff -Naur qt-everywhere-opensource-src-5.5.1.orig/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c
---- qt-everywhere-opensource-src-5.5.1.orig/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c 2015-10-13 04:36:52.000000000 +0000
-+++ qt-everywhere-opensource-src-5.5.1/qtwebengine/src/3rdparty/chromium/net/third_party/nss/ssl/ssl3con.c 2016-03-15 12:00:01.376986796 +0000
-@@ -2088,8 +2088,8 @@
- param.len = sizeof(aeadParams);
- param.data = (unsigned char *) &aeadParams;
- memset(&aeadParams, 0, sizeof(aeadParams));
-- aeadParams.pIv = (unsigned char *) additionalData;
-- aeadParams.ulIvLen = 8;
-+ aeadParams.pNonce = (unsigned char *) additionalData;
-+ aeadParams.ulNonceLen = 8;
- aeadParams.pAAD = (unsigned char *) additionalData;
- aeadParams.ulAADLen = additionalDataLen;
- aeadParams.ulTagLen = tagSize;
diff --git a/libraries/qt5-legacy/patches/qt5.mysql.h.diff b/libraries/qt5-legacy/patches/qt5.mysql.h.diff
deleted file mode 100644
index 41dc9d34d5..0000000000
--- a/libraries/qt5-legacy/patches/qt5.mysql.h.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur qt-everywhere-opensource-src-5.1.0.orig/qtbase/src/sql/drivers/mysql/qsql_mysql_p.h qt-everywhere-opensource-src-5.1.0/qtbase/src/sql/drivers/mysql/qsql_mysql_p.h
---- qt-everywhere-opensource-src-5.1.0.orig/qtbase/src/sql/drivers/mysql/qsql_mysql_p.h 2013-07-02 07:09:52.000000000 +0000
-+++ qt-everywhere-opensource-src-5.1.0/qtbase/src/sql/drivers/mysql/qsql_mysql_p.h 2013-07-21 21:21:01.190172379 +0000
-@@ -60,7 +60,7 @@
- #include <QtCore/qt_windows.h>
- #endif
-
--#include <mysql.h>
-+#include <mysql/mysql.h>
-
- #ifdef QT_PLUGIN
- #define Q_EXPORT_SQLDRIVER_MYSQL
diff --git a/libraries/qt5-legacy/profile.d/qt5.csh b/libraries/qt5-legacy/profile.d/qt5.csh
deleted file mode 100644
index ec1ecd9bef..0000000000
--- a/libraries/qt5-legacy/profile.d/qt5.csh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/csh
-# Environment path variables for the Qt package:
-if ( ! $?QT5DIR ) then
- # It's best to use the generic directory to avoid
- # compiling in a version-containing path:
- if ( -d /usr/lib@LIBDIRSUFFIX@/qt5 ) then
- setenv QT5DIR /usr/lib@LIBDIRSUFFIX@/qt5
- else
- # Find the newest Qt directory and set $QT5DIR to that:
- foreach qtd ( /usr/lib@LIBDIRSUFFIX@/qt5-* )
- if ( -d $qtd ) then
- setenv QT5DIR $qtd
- endif
- end
- endif
-endif
-set path = ( $path $QT5DIR/bin )
diff --git a/libraries/qt5-legacy/profile.d/qt5.sh b/libraries/qt5-legacy/profile.d/qt5.sh
deleted file mode 100644
index 8ee075e17e..0000000000
--- a/libraries/qt5-legacy/profile.d/qt5.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# Environment variables for the Qt package.
-#
-# It's best to use the generic directory to avoid
-# compiling in a version-containing path:
-if [ -d /usr/lib@LIBDIRSUFFIX@/qt5 ]; then
- QT5DIR=/usr/lib@LIBDIRSUFFIX@/qt5
-else
- # Find the newest Qt directory and set $QT5DIR to that:
- for qtd in /usr/lib@LIBDIRSUFFIX@/qt5-* ; do
- if [ -d $qtd ]; then
- QT5DIR=$qtd
- fi
- done
-fi
-PATH="$PATH:$QT5DIR/bin"
-export QT5DIR
diff --git a/libraries/qt5-legacy/qt5-legacy.SlackBuild b/libraries/qt5-legacy/qt5-legacy.SlackBuild
deleted file mode 100644
index 88e35e600c..0000000000
--- a/libraries/qt5-legacy/qt5-legacy.SlackBuild
+++ /dev/null
@@ -1,280 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qt5-legacy
-
-# Maintained 2018- by Dave Woodfall <dave@slackbuilds.org>
-# Copyright 2013-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 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.
-
-# Merged some ideas from Alex Sarmardzic's script for qt4 at SlackBuilds.org
-# ^^ Modified by Robby Workman <rworkman@slackware.com> for QT4 & KDE4
-
-# We're using qt-copy instead of a released qt version, as this git release
-# has at least one bugfix strongly recommended by the kde developers.
-
-# Obtained from:
-# git clone git://gitorious.org/+kde-developers/qt/kde-qt.git
-# git checkout origin/4.5.3-patched
-# git checkout origin/4.6.0-stable-patched
-# git checkout origin/4.6.1-patched
-# git checkout origin/4.7.0-patched
-#
-# Alternate method (we don't use this):
-# wget http://qt.gitorious.org/qt/kde-qt/archive-tarball/4.6.2-patched
-#
-# Modifications 2010, 2011, 2012 Eric Hameleers, Eindhoven, NL
-# qt 4.7.3, 4.7.4, 4.8.0, 4.8.1, 4.8.2, 4.8.4 are built from original nokia sources.
-
-# This is the highly modified version qt.SlackBuild found in Slackware
-# tailored to Qt 5. Modified by Larry Hajali.
-
-PRGNAM=qt5-legacy
-LIBNAM=qt5
-SRCNAM=qt-everywhere-opensource-src
-VERSION=${VERSION:-5.7.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"
-elif [ "$ARCH" = "armv7hl" ]; then
- # To prevent "qatomic_armv6.h error: output number 2 not directly addressable"
- # More permanent solution is to patch gcc:
- # http://bazaar.launchpad.net/~linaro-toolchain-dev/gcc-linaro/4.6/revision/106731
- SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -fno-strict-volatile-bitfields"
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-# http://doc.qt.io/qt-5/qtwebengine-platform-notes.html#audio-and-video-codec-support
-PRCOD=""
-[ "$PROPRIETARY_CODECS" = "yes" ] && PRCOD="WEBENGINE_CONFIG += use_proprietary_codecs"
-
-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 {} \;
-
-# Slackware patch to build against MySQL/MariaDB.
-patch -p1 < $CWD/patches/qt5.mysql.h.diff
-
-# Patch for the newer mozilla-nss
-patch -p1 < $CWD/patches/nss-update-sslv3-nonce.patch
-
-# Limit -reduce-relocations to ix86 and x86_64.
-# https://bugreports.qt-project.org/browse/QTBUG-36129
-if echo $ARCH | grep -q '\(i.86\|x86_64\)' 2>/dev/null; then
- RELOCATIONS="-reduce-relocations"
-else
- RELOCATIONS=""
-fi
-
-sed -i "s|-O2|$SLKCFLAGS|" qtbase/mkspecs/common/gcc-base.conf
-
-# Build examples. Default is no.
-if [ "${EXAMPLES:-no}" == "yes" ]; then
- BUILD_EXAMPLES=""
-else
- BUILD_EXAMPLES="-nomake examples"
-fi
-
-echo "$PRCOD" >> qtwebengine/.qmake.conf
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-./configure -v \
- -confirm-license \
- -opensource \
- -prefix "/usr/lib${LIBDIRSUFFIX}/$LIBNAM" \
- -sysconfdir "/etc/xdg" \
- -headerdir "/usr/include/$LIBNAM" \
- -libdir "/usr/lib${LIBDIRSUFFIX}" \
- -docdir "/usr/doc/$PRGNAM-$VERSION" \
- -system-libpng \
- -system-libjpeg \
- -system-zlib \
- -system-sqlite \
- -system-pcre \
- -plugin-sql-sqlite \
- -icu \
- -openssl \
- -verbose \
- -optimized-qmake \
- -dbus-linked \
- -qpa xcb \
- -xcb \
- -glib \
- -accessibility \
- -no-separate-debug-info \
- -no-pch \
- -no-rpath \
- -no-strip \
- -release \
- -no-use-gold-linker \
- -pulseaudio \
- $RELOCATIONS \
- $BUILD_EXAMPLES
-
-make
-make install INSTALL_ROOT=$PKG
-
-# Install documentation. Default is not to install documentation.
-if [ "${DOCS:-no}" == "yes" ]; then
- # Recreate Makefiles in order to use the just compiled qdoc.
- for doc in $(find . -name "Makefile*" | xargs egrep "^\s/usr/lib${LIBDIRSUFFIX}/qt5/bin/" \
- | cut -d':' -f1 | uniq)
- do
- rm -fv $doc
- done
- make docs
- make install_docs 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
-
-ln -s $LIBNAM $PKG/usr/lib${LIBDIRSUFFIX}/qt-$VERSION
-
-mkdir -p $PKG/usr/bin
-for BIN in $PKG/usr/lib${LIBDIRSUFFIX}/$LIBNAM/bin/*; do
- TMP_FILE=$(echo $BIN | sed -e "s|$PKG||")
- case $(basename $BIN) in
- syncqt.pl|fixqt4headers.pl)
- ln -s $TMP_FILE $PKG/usr/bin/$(basename $BIN)
- ;;
- *)
- ln -s $TMP_FILE $PKG/usr/bin/$(basename $BIN)-$LIBNAM
- ;;
- esac
-done
-
-# Create Environment variables
-mkdir -p $PKG/etc/profile.d
-sed -e "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" $CWD/profile.d/$LIBNAM.sh \
- > $PKG/etc/profile.d/$LIBNAM.sh
-sed -e "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" $CWD/profile.d/$LIBNAM.csh \
- > $PKG/etc/profile.d/$LIBNAM.csh
-chmod 0755 $PKG/etc/profile.d/*
-
-cat > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5.pc << EOF
-prefix=/usr/lib${LIBDIRSUFFIX}/$LIBNAM
-bindir=\${prefix}/bin
-datadir=\${prefix}
-docdir=/usr/doc/$PRGNAM-$VERSION
-archdatadir=\${prefix}
-examplesdir=\${prefix}/examples
-headerdir=/usr/include/$LIBNAM
-importdir=\${prefix}/imports
-qmldir=\${prefix}/qml
-libdir=/usr/lib${LIBDIRSUFFIX}
-libexec=\${prefix}/libexec
-moc=\${bindir}/moc
-plugindir=\${prefix}/plugins
-qmake=\${bindir}/qmake
-sysconfdir=/etc/xdg
-translationdir=\${prefix}/translations
-
-Name: Qt5
-Description: Qt5 Configuration
-Version: $VERSION
-EOF
-
-# Fix internal linking for Qt5WebEngineCore.pc.
-sed -i \
- -e 's|-Wl,--start-group.* -Wl,--end-group||' \
- -e "s|-L${PWD}/qtwebengine/src/core/api/Release||" \
- $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5WebEngineCore.pc
-
-# While we are at it, there isn't any reason to keep references to $PKG in the *.prl files.
-for PRL in $(find $PKG -name "*\.prl"); do
- sed -i '/^QMAKE_PRL_BUILD_DIR/d' $PRL
-done
-
-# One more for the road.
-sed -i "s|$PWD/qtbase|/usr/lib${LIBDIRSUFFIX}/$LIBNAM|" \
- $PKG/usr/lib${LIBDIRSUFFIX}/$LIBNAM/mkspecs/modules/qt_lib_bootstrap_private.pri
-
-sed -i "s|-L${PWD}/\w*/lib ||g" \
- $PKG/usr/lib${LIBDIRSUFFIX}/libqgsttools_p.prl
-
-for i in $CWD/desktop/*.desktop; do
- install -D -m 0644 $i $PKG/usr/share/applications/$(basename $i)
-done
-sed -i "s|@LIBDIR@|$LIBDIRSUFFIX|" $PKG/usr/share/applications/*
-
-install -D -m 0644 qttools/src/assistant/assistant/images/assistant-128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/assistant-qt5.png
-install -D -m 0644 qttools/src/designer/src/designer/images/designer.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/designer-qt5.png
-install -D -m 0644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/qdbusviewer-qt5.png
-for i in 16 32 48 64 128; do
- install -D -m 0644 qttools/src/linguist/linguist/images/icons/linguist-${i}-32.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/linguist-qt5.png
-done
-
-# Remove executable bits from files.
-find $PKG \( -name "*.qml" -o -name "*.app" \) -perm 755 -exec chmod 644 '{}' \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README qtbase/{header*,LGPL_EXCEPTION.txt,LICENSE.*L} \
- $PKG/usr/doc/$PRGNAM-$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/libraries/qt5-legacy/qt5-legacy.info b/libraries/qt5-legacy/qt5-legacy.info
deleted file mode 100644
index b2eac2c0f0..0000000000
--- a/libraries/qt5-legacy/qt5-legacy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qt5-legacy"
-VERSION="5.7.1"
-HOMEPAGE="http://qt-project.org/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/qt-everywhere-opensource-src-5.7.1.tar.xz"
-MD5SUM="7524ffba8411119d867f673155ec91bc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libxkbcommon libinput"
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/qt5-legacy/slack-desc b/libraries/qt5-legacy/slack-desc
deleted file mode 100644
index d5abcfd6c0..0000000000
--- a/libraries/qt5-legacy/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------------------------------------------------------|
-qt5-legacy: qt5-legacy (a multi-platform C++ graphical user interface toolkit)
-qt5-legacy:
-qt5-legacy: Qt is a cross-platform C++ application framework. Qt's primary feature
-qt5-legacy: is its rich set of widgets that provide standard GUI functionality.
-qt5-legacy:
-qt5-legacy: This is the legacy 5.7.1 version of qt5
-qt5-legacy:
-qt5-legacy: Homepage: http://qt-project.org
-qt5-legacy:
-qt5-legacy:
-qt5-legacy:
diff --git a/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.SlackBuild b/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.SlackBuild
index 9a73a96fc5..d2d39f7bbb 100644
--- a/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.SlackBuild
+++ b/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qt5-pbfimageplugin
-# Copyright 2018-2019 Nikolay Korotkiy <sikmir@gmail.com>
+# Copyright 2018-2020 Nikolay Korotkiy <sikmir@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=qt5-pbfimageplugin
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=QtPBFImagePlugin
@@ -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}
@@ -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/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.info b/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.info
index b35d4e34be..fcc8d46dd3 100644
--- a/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.info
+++ b/libraries/qt5-pbfimageplugin/qt5-pbfimageplugin.info
@@ -1,10 +1,10 @@
PRGNAM="qt5-pbfimageplugin"
-VERSION="2.0"
+VERSION="2.3"
HOMEPAGE="https://github.com/tumic0/QtPBFImagePlugin"
-DOWNLOAD="https://github.com/tumic0/QtPBFImagePlugin/archive/2.0/QtPBFImagePlugin-2.0.tar.gz"
-MD5SUM="1124302f218720acf3a912c13f53270d"
+DOWNLOAD="https://github.com/tumic0/QtPBFImagePlugin/archive/2.3/QtPBFImagePlugin-2.3.tar.gz"
+MD5SUM="1d014afa920be8018fefbd0fc6f8f764"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 protobuf3"
+REQUIRES="protobuf3"
MAINTAINER="Nikolay Korotkiy"
EMAIL="sikmir@gmail.com"
diff --git a/libraries/qt5-postgresql/README b/libraries/qt5-postgresql/README
new file mode 100644
index 0000000000..08fda2f238
--- /dev/null
+++ b/libraries/qt5-postgresql/README
@@ -0,0 +1 @@
+This is the postgresql plugin for Qt5.
diff --git a/libraries/qt5-postgresql/qt5-postgresql.SlackBuild b/libraries/qt5-postgresql/qt5-postgresql.SlackBuild
new file mode 100644
index 0000000000..b5e5faf758
--- /dev/null
+++ b/libraries/qt5-postgresql/qt5-postgresql.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for qt5-postgresql
+
+# Copyright 2008-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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qt5-postgresql
+VERSION=${VERSION:-5.15.3_20211130_014c375b}
+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 qt-everywhere-src-$VERSION
+tar xvf $CWD/qt-everywhere-src-$VERSION.tar.lz
+cd qt-everywhere-src-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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 qtbase/src/plugins/sqldrivers
+ qmake-qt5 \
+ QMAKE_CFLAGS+="$SLKCFLAGS" \
+ QMAKE_CXXFLAGS+="$SLKCFLAGS" \
+ sqldrivers.pro
+ make sub-psql
+ make sub-psql-install_subtargets INSTALL_ROOT=$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 qtbase/INSTALL qtbase/LICENSE* README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/qt5-postgresql/qt5-postgresql.info b/libraries/qt5-postgresql/qt5-postgresql.info
new file mode 100644
index 0000000000..ea0c3d9539
--- /dev/null
+++ b/libraries/qt5-postgresql/qt5-postgresql.info
@@ -0,0 +1,10 @@
+PRGNAM="qt5-postgresql"
+VERSION="5.15.3_20211130_014c375b"
+HOMEPAGE="http://qt-project.org/"
+DOWNLOAD="https://slackware.osuosl.org/slackware64-15.0/source/l/qt5/qt-everywhere-src-5.15.3_20211130_014c375b.tar.lz"
+MD5SUM="71b4c098da7accd01e2d0f6aad17a89a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="postgresql"
+MAINTAINER="Heinz Wiesinger"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/qt5-postgresql/slack-desc b/libraries/qt5-postgresql/slack-desc
new file mode 100644
index 0000000000..64d88b5391
--- /dev/null
+++ b/libraries/qt5-postgresql/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------------------------------------------------------|
+qt5-postgresql: qt5-postgresql (Postgresql plugin for Qt5)
+qt5-postgresql:
+qt5-postgresql: This is the postgresql plugin for Qt5.
+qt5-postgresql:
+qt5-postgresql:
+qt5-postgresql:
+qt5-postgresql:
+qt5-postgresql:
+qt5-postgresql:
+qt5-postgresql:
+qt5-postgresql:
diff --git a/libraries/qt5-styleplugins/patches/0001-fix-build-against-Qt-5.15.patch b/libraries/qt5-styleplugins/patches/0001-fix-build-against-Qt-5.15.patch
new file mode 100644
index 0000000000..7eb7441582
--- /dev/null
+++ b/libraries/qt5-styleplugins/patches/0001-fix-build-against-Qt-5.15.patch
@@ -0,0 +1,44 @@
+From 335dbece103e2cbf6c7cf819ab6672c2956b17b3 Mon Sep 17 00:00:00 2001
+From: Fabian Vogt <fvogt@suse.de>
+Date: Thu, 28 May 2020 12:35:42 +0200
+Subject: [PATCH] fix build against Qt 5.15
+
+With 0a93db4d82c051164923a10e4382b12de9049b45 ("Unify application
+palette handling between QGuiApplication and QApplication")
+QApplicationPrivate::setSystemPalette is no longer used and necessary.
+---
+ src/plugins/styles/gtk2/qgtkstyle.cpp | 2 ++
+ src/plugins/styles/gtk2/qgtkstyle_p.cpp | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/src/plugins/styles/gtk2/qgtkstyle.cpp b/src/plugins/styles/gtk2/qgtkstyle.cpp
+index 36169c9..2544593 100644
+--- a/src/plugins/styles/gtk2/qgtkstyle.cpp
++++ b/src/plugins/styles/gtk2/qgtkstyle.cpp
+@@ -440,7 +440,9 @@ void QGtkStyle::polish(QApplication *app)
+ // not supported as these should be entirely determined by
+ // current Gtk settings
+ if (app->desktopSettingsAware() && d->isThemeAvailable()) {
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ QApplicationPrivate::setSystemPalette(standardPalette());
++#endif
+ QApplicationPrivate::setSystemFont(d->getThemeFont());
+ d->applyCustomPaletteHash();
+ if (!d->isKDE4Session())
+diff --git a/src/plugins/styles/gtk2/qgtkstyle_p.cpp b/src/plugins/styles/gtk2/qgtkstyle_p.cpp
+index e57b3d8..e71beb0 100644
+--- a/src/plugins/styles/gtk2/qgtkstyle_p.cpp
++++ b/src/plugins/styles/gtk2/qgtkstyle_p.cpp
+@@ -508,7 +508,9 @@ void QGtkStyleUpdateScheduler::updateTheme()
+ if (oldTheme != QGtkStylePrivate::getThemeName()) {
+ oldTheme = QGtkStylePrivate::getThemeName();
+ QPalette newPalette = qApp->style()->standardPalette();
++#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ QApplicationPrivate::setSystemPalette(newPalette);
++#endif
+ QApplication::setPalette(newPalette);
+ if (!QGtkStylePrivate::instances.isEmpty()) {
+ QGtkStylePrivate::instances.last()->initGtkWidgets();
+--
+2.26.2
+
diff --git a/libraries/qt5-styleplugins/patches/0002-fix-gtk2-background.patch b/libraries/qt5-styleplugins/patches/0002-fix-gtk2-background.patch
new file mode 100644
index 0000000000..888ec0bb4b
--- /dev/null
+++ b/libraries/qt5-styleplugins/patches/0002-fix-gtk2-background.patch
@@ -0,0 +1,25 @@
+From 20b0985a77df913585628d49a3b541fb957ae366 Mon Sep 17 00:00:00 2001
+From: gamezelda
+Date: Thu, 4 Jun 2020 00:06:50 +0200
+Subject: [PATCH] fix setting background palette
+
+---
+ src/plugins/styles/gtk2/qgtkstyle.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/plugins/styles/gtk2/qgtkstyle.cpp b/src/plugins/styles/gtk2/qgtkstyle.cpp
+index 2544593..6138bd2 100644
+--- a/src/plugins/styles/gtk2/qgtkstyle.cpp
++++ b/src/plugins/styles/gtk2/qgtkstyle.cpp
+@@ -442,6 +442,8 @@ void QGtkStyle::polish(QApplication *app)
+ if (app->desktopSettingsAware() && d->isThemeAvailable()) {
+ #if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ QApplicationPrivate::setSystemPalette(standardPalette());
++#else
++ QApplication::setPalette(standardPalette());
+ #endif
+ QApplicationPrivate::setSystemFont(d->getThemeFont());
+ d->applyCustomPaletteHash();
+--
+2.27.0
+
diff --git a/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild b/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
index 7132a0064b..3ff06e7d9f 100644
--- a/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
+++ b/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qt5-styleplugins
@@ -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=qt5-styleplugins
VERSION=${VERSION:-5.0.0.20170112}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=qtstyleplugins
SRCVERSION=335dbece103e2cbf6c7cf819ab6672c2956b17b3
@@ -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}
@@ -72,6 +82,12 @@ 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 {} \;
+# Apply patches from Archlinux for qt-5.15.x
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
+# Force linking against Qt5DBus or build will fail
+sed -i "s|2.0$|2.0 Qt5DBus|" src/plugins/platformthemes/gtk2/gtk2.pro
+
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
PREFIX=/usr \
@@ -91,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/libraries/qt5-styleplugins/qt5-styleplugins.info b/libraries/qt5-styleplugins/qt5-styleplugins.info
index 8b10abf313..bc3d333927 100644
--- a/libraries/qt5-styleplugins/qt5-styleplugins.info
+++ b/libraries/qt5-styleplugins/qt5-styleplugins.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/qt/qtstyleplugins/archive/335dbece103e2cbf6c7cf819a
MD5SUM="88fb46f8ccdaf8655340b266577f166b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Azure Zanculmarktum"
EMAIL="zanculmarktum@gmail.com"
diff --git a/libraries/qt5-webkit-annulen/README b/libraries/qt5-webkit-annulen/README
deleted file mode 100644
index 8824621244..0000000000
--- a/libraries/qt5-webkit-annulen/README
+++ /dev/null
@@ -1,11 +0,0 @@
-qt5-webkit-annulen (annulen's fork of the Qt based web browser engine)
-
-Qtwebkit is a Qt based web browser engine.
-
-This package contains a fork of the Qt5 based version, with many bug
-and security fixes. This is an optional backend for the Qutebrowser web
-browser.
-
-Please note, this clashes with qt5-webkit.
-
-Optional dependency: libwebp
diff --git a/libraries/qt5-webkit-annulen/qt5-webkit-annulen.SlackBuild b/libraries/qt5-webkit-annulen/qt5-webkit-annulen.SlackBuild
deleted file mode 100644
index 0f296ba7de..0000000000
--- a/libraries/qt5-webkit-annulen/qt5-webkit-annulen.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 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.
-
-# Derived from the qt5.SlackBuild
-
-# Modifications for qt5-webkit 5.6.0, 5.6.1, 5.7.0, 5.7.1, 5.9.0, 5.9.1 2016,2017 by Eric Hameleers, Eindhoven, NL
-# Modified for the fork of qt5-webkit by annulen by David Woodfall.
-
-PRGNAM=qt5-webkit-annulen
-VERSION=${VERSION:-5.212.0_alpha2}
-SRCVERSION=${VERSION/_/-}
-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 qtwebkit-$SRCVERSION
-tar xfv $CWD/qtwebkit-$SRCVERSION.tar.xz
-cd qtwebkit-$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 {} \;
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-export QTDIR="/usr/lib$LIBDIRSUFFIX/qt5"
-export LD_LIBRARY_PATH="${QTDIR}/qtbase/lib:${QTDIR}/qttools/lib:${LD_LIBRARY_PATH}"
-
-mkdir -p build
-cd build
- cmake \
- -DPORT=Qt \
- -DQt5_DIR=$QTDIR \
- -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 \
- LICENSE.LGPLv21 \
- $PKG/usr/doc/$PRGNAM-$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/libraries/qt5-webkit-annulen/qt5-webkit-annulen.info b/libraries/qt5-webkit-annulen/qt5-webkit-annulen.info
deleted file mode 100644
index 74c8c32bb2..0000000000
--- a/libraries/qt5-webkit-annulen/qt5-webkit-annulen.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qt5-webkit-annulen"
-VERSION="5.212.0_alpha2"
-HOMEPAGE="https://github.com/annulen/webkit"
-DOWNLOAD="https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0-alpha2.tar.xz"
-MD5SUM="301dd0192b1d7ce0edd75c214706e257"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5 hyphen"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/qt5-webkit-annulen/slack-desc b/libraries/qt5-webkit-annulen/slack-desc
deleted file mode 100644
index 2c2fe150d2..0000000000
--- a/libraries/qt5-webkit-annulen/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------------------------------------------------------|
-qt5-webkit-annulen: qt5-webkit-annulen (annulen's fork of the Qt based web browser engine)
-qt5-webkit-annulen:
-qt5-webkit-annulen: Qtwebkit is a Qt based web browser engine.
-qt5-webkit-annulen:
-qt5-webkit-annulen: This package contains a fork of the Qt5 based version, with many bug
-qt5-webkit-annulen: and security fixes.
-qt5-webkit-annulen:
-qt5-webkit-annulen: This is an optional backend for the Qutebrowser web browser.
-qt5-webkit-annulen:
-qt5-webkit-annulen: https://github.com/annulen/webkit
-qt5-webkit-annulen:
diff --git a/libraries/qt5-webkit-legacy/README b/libraries/qt5-webkit-legacy/README
deleted file mode 100644
index 8f5e5cb3cd..0000000000
--- a/libraries/qt5-webkit-legacy/README
+++ /dev/null
@@ -1,7 +0,0 @@
-QtWebkit is a Qt based web browser engine.
-
-This is the legacy version to use with qt5-legacy
-
-This package contains the Qt5 based version.
-
-Optional dependencies: libwebp
diff --git a/libraries/qt5-webkit-legacy/doinst.sh b/libraries/qt5-webkit-legacy/doinst.sh
deleted file mode 100644
index 65c7e2eeb9..0000000000
--- a/libraries/qt5-webkit-legacy/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/libraries/qt5-webkit-legacy/platformplugin-install-path-fix.patch b/libraries/qt5-webkit-legacy/platformplugin-install-path-fix.patch
deleted file mode 100644
index 022166de66..0000000000
--- a/libraries/qt5-webkit-legacy/platformplugin-install-path-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur qt-everywhere-opensource-src-5.0.2.orig/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro
---- qt-everywhere-opensource-src-5.0.2.orig/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro 2013-04-09 00:11:38.000000000 +0000
-+++ qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro 2013-05-31 01:18:29.157175082 +0000
-@@ -20,7 +20,8 @@
- }
- }
-
--DESTDIR = $$[QT_INSTALL_PLUGINS]/webkit
-+target.path = $$[QT_INSTALL_PLUGINS]/webkit
-+INSTALLS += target
-
- SOURCES += \
- WebPlugin.cpp \
diff --git a/libraries/qt5-webkit-legacy/qt5-webkit-legacy.SlackBuild b/libraries/qt5-webkit-legacy/qt5-webkit-legacy.SlackBuild
deleted file mode 100644
index daf0199795..0000000000
--- a/libraries/qt5-webkit-legacy/qt5-webkit-legacy.SlackBuild
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qt5-webkit-legacy
-
-# Now maintained by Dave Woodfall <dave@slackbuilds.org>
-
-# Copyright 2016-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
-# All rights reserved.
-#
-# Some part of this SlackBuild is adapted from SBo and AlienBOB's qt5{-webkit} SlackBuild
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=qt5-webkit-legacy
-SRCNAM=qtwebkit-opensource-src
-VERSION=${VERSION:-5.7.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 $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 {} \;
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-export OPENSOURCE_CXXFLAGS="$SLKCFLAGS"
-export QTDIR="/usr/lib$LIBDIRSUFFIX/qt5"
-export LD_LIBRARY_PATH="${QTDIR}/qtbase/lib:${QTDIR}/qttools/lib:${LD_LIBRARY_PATH}"
-
-# Install path fix for libplatformplugin.so.
-# https://bugs.webkit.org/show_bug.cgi?id=117077
-patch -p2 < $CWD/platformplugin-install-path-fix.patch
-
-if [ -d include ]; then
- syncqt.pl -version $VERSION Source/sync.profile
-fi
-
-qmake-qt5 PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- -o Makefile WebKit.pro
-
-make
-make install INSTALL_ROOT=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Fix internal linking for Qt5WebKit.pc
-sed -i \
- -e "s|-Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -L${PWD}/Source/WebKit[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -L${PWD}/Source/WebKit2[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -L${PWD}/Source/WebCore[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lANGLE -Wl,-no-whole-archive -L${PWD}/Source/ThirdParty/ANGLE[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lleveldb -Wl,-no-whole-archive -L${PWD}/Source/ThirdParty/leveldb[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -L${PWD}/Source/JavaScriptCore[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lWTF -Wl,-no-whole-archive -L${PWD}/Source/WTF[^ ]* ||" \
- $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5WebKit.pc
-
-# Fix the path in prl files:
-find "$PKG/usr/lib${LIBDIRSUFFIX}" -type f -name '*.prl' \
- -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog* LICENSE* 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
-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/libraries/qt5-webkit-legacy/qt5-webkit-legacy.info b/libraries/qt5-webkit-legacy/qt5-webkit-legacy.info
deleted file mode 100644
index 58233e9b0a..0000000000
--- a/libraries/qt5-webkit-legacy/qt5-webkit-legacy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qt5-webkit-legacy"
-VERSION="5.7.1"
-HOMEPAGE="https://www.qt.io"
-DOWNLOAD="https://download.qt.io/community_releases/5.7/5.7.1/qtwebkit-opensource-src-5.7.1.tar.xz"
-MD5SUM="4fa8f47383ce36d59dcc36d701ce93cd"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5-legacy"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/qt5-webkit-legacy/slack-desc b/libraries/qt5-webkit-legacy/slack-desc
deleted file mode 100644
index cba6dbffc4..0000000000
--- a/libraries/qt5-webkit-legacy/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------------------------------------------------------|
-qt5-webkit-legacy: qt5-webkit-legacy (Qt based web browser engine)
-qt5-webkit-legacy:
-qt5-webkit-legacy: QtWebkit is a Qt based web browser engine.
-qt5-webkit-legacy: This package contains the Qt5 based version.
-qt5-webkit-legacy:
-qt5-webkit-legacy: This is the legacy version that should be used with qt5-legacy.
-qt5-webkit-legacy:
-qt5-webkit-legacy: Homepage: https://www.qt.io
-qt5-webkit-legacy:
-qt5-webkit-legacy:
-qt5-webkit-legacy:
diff --git a/libraries/qt5-webkit/README b/libraries/qt5-webkit/README
deleted file mode 100644
index 98bca031ab..0000000000
--- a/libraries/qt5-webkit/README
+++ /dev/null
@@ -1,5 +0,0 @@
-QtWebkit is a Qt based web browser engine.
-
-This package contains the Qt5 based version.
-
-Optional dependencies: libwebp
diff --git a/libraries/qt5-webkit/doinst.sh b/libraries/qt5-webkit/doinst.sh
deleted file mode 100644
index 65c7e2eeb9..0000000000
--- a/libraries/qt5-webkit/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/libraries/qt5-webkit/platformplugin-install-path-fix.patch b/libraries/qt5-webkit/platformplugin-install-path-fix.patch
deleted file mode 100644
index 022166de66..0000000000
--- a/libraries/qt5-webkit/platformplugin-install-path-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Naur qt-everywhere-opensource-src-5.0.2.orig/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro
---- qt-everywhere-opensource-src-5.0.2.orig/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro 2013-04-09 00:11:38.000000000 +0000
-+++ qt-everywhere-opensource-src-5.0.2/qtwebkit/Source/WebKit/qt/examples/platformplugin/platformplugin.pro 2013-05-31 01:18:29.157175082 +0000
-@@ -20,7 +20,8 @@
- }
- }
-
--DESTDIR = $$[QT_INSTALL_PLUGINS]/webkit
-+target.path = $$[QT_INSTALL_PLUGINS]/webkit
-+INSTALLS += target
-
- SOURCES += \
- WebPlugin.cpp \
diff --git a/libraries/qt5-webkit/qt5-webkit.SlackBuild b/libraries/qt5-webkit/qt5-webkit.SlackBuild
deleted file mode 100644
index a13f448a54..0000000000
--- a/libraries/qt5-webkit/qt5-webkit.SlackBuild
+++ /dev/null
@@ -1,124 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qt5-webkit
-
-# Copyright 2016-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
-# All rights reserved.
-#
-# Some part of this SlackBuild is adapted from SBo and AlienBOB's qt5{-webkit} SlackBuild
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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 for 5.9.0 by David Woodfall <dave@slackbuilds.org>
-
-PRGNAM=qt5-webkit
-SRCNAM=qtwebkit-opensource-src
-VERSION=${VERSION:-5.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 $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 {} \;
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-export OPENSOURCE_CXXFLAGS="$SLKCFLAGS"
-export QTDIR="/usr/lib$LIBDIRSUFFIX/qt5"
-export LD_LIBRARY_PATH="${QTDIR}/qtbase/lib:${QTDIR}/qttools/lib:${LD_LIBRARY_PATH}"
-
-# Install path fix for libplatformplugin.so.
-# https://bugs.webkit.org/show_bug.cgi?id=117077
-patch -p2 < $CWD/platformplugin-install-path-fix.patch
-
-if [ -d include ]; then
- syncqt.pl -version $VERSION Source/sync.profile
-fi
-
-qmake-qt5 PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
- -o Makefile WebKit.pro
-
-make
-make install INSTALL_ROOT=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Fix internal linking for Qt5WebKit.pc
-sed -i \
- -e "s|-Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -L${PWD}/Source/WebKit[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -L${PWD}/Source/WebKit2[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -L${PWD}/Source/WebCore[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lANGLE -Wl,-no-whole-archive -L${PWD}/Source/ThirdParty/ANGLE[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lleveldb -Wl,-no-whole-archive -L${PWD}/Source/ThirdParty/leveldb[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -L${PWD}/Source/JavaScriptCore[^ ]* ||" \
- -e "s|-Wl,-whole-archive -lWTF -Wl,-no-whole-archive -L${PWD}/Source/WTF[^ ]* ||" \
- $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5WebKit.pc
-
-# Fix the path in prl files:
-find "$PKG/usr/lib${LIBDIRSUFFIX}" -type f -name '*.prl' \
- -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog* LICENSE* 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
-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/libraries/qt5-webkit/qt5-webkit.info b/libraries/qt5-webkit/qt5-webkit.info
deleted file mode 100644
index b53918b710..0000000000
--- a/libraries/qt5-webkit/qt5-webkit.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qt5-webkit"
-VERSION="5.9.0"
-HOMEPAGE="https://www.qt.io"
-DOWNLOAD="https://download.qt.io/community_releases/5.9/5.9.0-final/qtwebkit-opensource-src-5.9.0.tar.xz"
-MD5SUM="1fc0ed873cc9326b823a8a83126714f5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/qt5-webkit/slack-desc b/libraries/qt5-webkit/slack-desc
deleted file mode 100644
index 1642645efc..0000000000
--- a/libraries/qt5-webkit/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------------------------------------------------------|
-qt5-webkit: qt5-webkit (Qt based web browser engine)
-qt5-webkit:
-qt5-webkit: QtWebkit is a Qt based web browser engine.
-qt5-webkit: This package contains the Qt5 based version.
-qt5-webkit:
-qt5-webkit: Homepage: https://www.qt.io
-qt5-webkit:
-qt5-webkit:
-qt5-webkit:
-qt5-webkit:
-qt5-webkit:
diff --git a/libraries/qt5/README b/libraries/qt5/README
deleted file mode 100644
index c0fc3bbad5..0000000000
--- a/libraries/qt5/README
+++ /dev/null
@@ -1,117 +0,0 @@
-Qt is a cross-platform C++ application framework. Qt's
-primary feature is its rich set of widgets that provide
-standard GUI functionality.
-
-The following are optional dependencies that Qt will link
-against if they are detected at build time:
-
-libwebp opus pcre2 snappy
-
-============================================================
-
-OPTIONS
-
-To use Qt's built-in ccache option:
-
- CCACHE=yes ./qt5.SlackBuild
-
-See README.benchmarks for the benefits of using ccache.
-
-To build the documentation:
-
- DOCS=yes ./qt5.SlackBuild
-
-To build the examples:
-
- EXAMPLES=yes ./qt5.SlackBuild
-
-To build support for proprietary media codecs:
-
- PROPRIETARY_CODECS=yes ./qt5.SlackBuild
-
-(this will produce a non-redistributable package in some
-countries)
-
-To disable support for pulseaudio:
-
- PULSEAUDIO=no ./qt5.SlackBuild
-
-(Qt will automatically detect if pulseaudio is not installed
-at build time and disable it if it is missing.)
-
-To NOT build qtwebengine (EXPERIMENTAL):
-
- WEBENGINE=no ./qt5.SlackBuild
-
-
-Combine any or all of the above.
-
-============================================================
-
-GENERAL NOTES
-
-After upgrading Qt5 it is important to rebuild qt5ct too, if
-it is installed, or some applications may not display or
-function correctly.
-
-There is a qt5-legacy (5.7.1) SlackBuild that is available
-for older applications that do not run correctly with this
-version. However it will not coexist with this version.
-
-Please report any problems about applications that don't
-work correctly to the Qt5 maintainer or to the mailing list.
-
-============================================================
-
-ROUGH SPEED & SIZE GUIDE
-
- OPTION PKG SPACE TIME
- Normal: 102M 5018M 9:55
- No Webengine: 50M 1895M 3:18
- With Documentation: 339M 6197M -
- With Examples: 391M 6388M -
- With Documentation and Examples: 628M 7604M -
-
- PKG: Package size.
- SPACE: Package directory + source space needed.
- TIME: Rough build time (- = unknown.)
-
-See README.benchmarks for more detailed information.
-See README.ccache for information on setting up ccache.
-
-============================================================
-
-NOTES ON OPTIONS
-
-* Using ccache should speed up subsequent rebuilds, but may
- be slower for first time or one-off builds.
-
-* Building the documentation and/or examples creates a
- significantly larger package.
-
-* Successfully tested so far without webengine (VERY quick
- tests):
-
- QMPlay2
- qt5ct
- qbittorrent-qt5
- speedcrunch
- qca-qt5
- psi-plus
- sddm
-
-============================================================
-
-BUILDING WITHOUT WEBENGINE
-
-See README.benchmarks for the benefits of not building
-webengine.
-
-YMMV whether it works with an application or not, but if you
-have no intention of using the browser code, which includes
-a chunk of 3rd party Google Chromium source, then it may
-make sense to skip it and save yourself about 2/3 of the
-build time.
-
-The package version has _nowebengine appended to it for
-clarity.
diff --git a/libraries/qt5/README.benchmarks b/libraries/qt5/README.benchmarks
deleted file mode 100644
index 466d6b924d..0000000000
--- a/libraries/qt5/README.benchmarks
+++ /dev/null
@@ -1,114 +0,0 @@
-ENVIRONMENT
-
- Linux 4.4.157 SMP x86_64 (stock 14.2 -huge.)
- Using /usr/bin/time rather than shell built-in.
- Jobs: 2.
- Qt version: 5.9.7
-
-DMI Info:
-
- Board: Lenovo Mahobay motherboard.
- CPU: Version: Intel(R) Pentium(R) CPU G640 @ 2.80GHz
- Family: Core i7 Core Count: 2
- Core Enabled: 2
- Thread Count: 2
- Max Speed: 2800 MHz
- Current Speed: 2800 MHz
- External Clock: 100 MHz
-
- CPUFREQ: Performance mode.
-
- RAM: 12G (1333 MHz) DDR3.
-
- An 8 GB tmpfs in /mnt/memory is used as a ramdisk for /tmp
- while the package was output on the real HDD. i.e.
- $TMP=/mnt/memory/SBo
- $OUTPUT=/tmp
-
-System ccache setup:
-
- cache size: 18.3 GB
- max_cache: 20.0 GB
- cache_dir: /root/.ccache
- CCACHE_TEMPDIR=/mnt/memory/ccache
-
-No special settings were used for Qt's -ccache.
-All builds with either ccache option were performed a few
-times to build up enough cache.
-
-BENCHMARKS
-
-BUILDS WITH WEBENGINE
-
-Normal build:
-
-45970.94 user
-2408.58 system
-9:55:02 elapsed
-135% CPU (0 avgtext + 0 avgdata 7378176 maxresident) k
-80232 inputs + 522800 outputs (263 major + 950621123 minor) pagefaults
-0 swaps
-
-Using Qt's -ccache option:
-
-36223.82 user
-1872.14 system
-6:58:03 elapsed
-151% CPU (0 avgtext + 0 avgdata 7375136 maxresident) k
-274848 inputs + 578712 outputs (730 major + 724828690 minor) pagefaults
-0 swaps
-
-Using system ccache:
-
-4008.03 user
-289.34 system
-1:17:11 elapsed
-92% CPU (0 avgtext + 0 avgdata 7377248 maxresident) k
-4396232 inputs + 391856 outputs (97 major + 59094442 minor) pagefaults
-0 swaps
-
-
-BUILDS WITHOUT WEBENGINE
-
-Normal build:
-
-10408.66 user
-687.60 system
-3:18:22 elapsed
-93% CPU (0 avgtext + 0 avgdata 3850048 maxresident) k
-48176 inputs + 414056 outputs (26 major + 265106108 minor) pagefaults
-0 swaps
-
-Using Qt's -ccache option:
-
-1055.75 user
-167.14 system
-22:17.13 elapsed
-91% CPU (0 avgtext + 0 avgdata 1188432 maxresident) k
-936 inputs + 468464 outputs (8 major + 42575851 minor) pagefaults
-0 swaps
-
-Using system ccache:
-
-922.05 user
-159.25 system
-19:42.82 elapsed
-91% CPU (0 avgtext + 0 avgdata 504048 maxresident) k
-5672 inputs + 158016 outputs (5 major + 38449127 minor) pagefaults
-0 swaps
-
-
-Average Packages Sizes:
-
-Normal: 102 MB
-Without webengine: 50 MB
-
-
-As is seen by the elapsed time in the results, using ccache
-system-wide has a huge benefit. Qt's -ccache option showed
-little gain when building the full package, but was good
-when building without webengine.
-
-See README.ccache for information on setting up ccache.
-
-Last updated Mon 10 Dec 03:46:29 UTC 2018
diff --git a/libraries/qt5/README.ccache b/libraries/qt5/README.ccache
deleted file mode 100644
index 1053bcc5c9..0000000000
--- a/libraries/qt5/README.ccache
+++ /dev/null
@@ -1,46 +0,0 @@
-NOTES ON SETTING UP CCACHE
-
-Using ccache can save a lot of time when building packages,
-and this is not limited to Qt5. Ccache is installed by
-default on stock Slackware.
-
-ccache(1) has a lot of useful info on using ccache, however
-I don't recommend using its method of symlinking. Instead I
-recommend the following way:
-
-mkdir -p /usr/local/bin
-ln -s /usr/bin/ccache /usr/local/bin/cc
-ln -s /usr/bin/ccache /usr/local/bin/c++
-ln -s /usr/bin/ccache /usr/local/bin/gcc
-ln -s /usr/bin/ccache /usr/local/bin/g++
-
-Doing it this way rather than copying the ccache binary as
-the man page suggests will ensure that the ccache used is
-updated whenever the ccache package is.
-
-The cache is created in the home directory of the user using
-it, and since slackbuilds are run by root that will be in
-/root/.ccache, therefore ensure that you have enough free
-space on the root file system for it. It is possible to put
-the cache directory elsewhere though. See the man page for
-info. But it would probably be fastest when on the same
-file system as the build directory.
-
-It's also possible to host the cache on a shared NFS
-directory, but be sure to test the speed before committing
-to that. The man page has some notes on this.
-
-Since Qt5 can take a lot of build space I recommend a max
-cache size of AT LEAST 6 GB. If you intend to use it all
-the time then use as much as you can. The default size is
-5 GB. I use 20 GB on my main build box, but use 7 GB on
-workstations and servers.
-
-Handy commands:
-
-ccache -s: To show some statistics.
-ccache -M <N>: To set the max cache size to N.
-
-(use G for GB with -M.)
-
-Last updated Mon 10 Dec 03:46:41 UTC 2018
diff --git a/libraries/qt5/desktop/assistant-qt5.desktop b/libraries/qt5/desktop/assistant-qt5.desktop
deleted file mode 100644
index 86f5701e34..0000000000
--- a/libraries/qt5/desktop/assistant-qt5.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Name=Qt5 Assistant
-Comment=Shows Qt5 documentation and examples
-Exec=/usr/lib@LIBDIR@/qt5/bin/assistant
-Icon=assistant-qt5
-Terminal=false
-Type=Application
-Categories=Qt;Development;Documentation;
diff --git a/libraries/qt5/desktop/designer-qt5.desktop b/libraries/qt5/desktop/designer-qt5.desktop
deleted file mode 100644
index 16b91b8cb0..0000000000
--- a/libraries/qt5/desktop/designer-qt5.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Qt5 Designer
-GenericName=Interface Designer
-Comment=Design GUIs for Qt5 applications
-Exec=/usr/lib@LIBDIR@/qt5/bin/designer
-Icon=designer-qt5
-MimeType=application/x-designer;
-Terminal=false
-Type=Application
-Categories=Qt;Development;
diff --git a/libraries/qt5/desktop/linguist-qt5.desktop b/libraries/qt5/desktop/linguist-qt5.desktop
deleted file mode 100644
index 9ef2f0fbcb..0000000000
--- a/libraries/qt5/desktop/linguist-qt5.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Qt5 Linguist
-Comment=Add translations to Qt5 applications
-Exec=/usr/lib@LIBDIR@/qt5/bin/linguist
-Icon=linguist-qt5
-MimeType=text/vnd.trolltech.linguist;application/x-linguist;
-Terminal=false
-Type=Application
-Categories=Qt;Development;
diff --git a/libraries/qt5/desktop/qdbusviewer-qt5.desktop b/libraries/qt5/desktop/qdbusviewer-qt5.desktop
deleted file mode 100644
index 46947f092d..0000000000
--- a/libraries/qt5/desktop/qdbusviewer-qt5.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Qt5 QDbusViewer
-GenericName=Qt5 D-Bus Debugger
-Comment=Debug D-Bus applications
-Exec=/usr/lib@LIBDIR@/qt5/bin/qdbusviewer
-Icon=qdbusviewer-qt5
-Terminal=false
-Type=Application
-Categories=Qt;Development;Debugger;
diff --git a/libraries/qt5/doinst.sh b/libraries/qt5/doinst.sh
deleted file mode 100644
index 65c7e2eeb9..0000000000
--- a/libraries/qt5/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/libraries/qt5/patches/explicitly-initialize-sqlite.patch b/libraries/qt5/patches/explicitly-initialize-sqlite.patch
deleted file mode 100644
index 2773658adc..0000000000
--- a/libraries/qt5/patches/explicitly-initialize-sqlite.patch
+++ /dev/null
@@ -1,217 +0,0 @@
-From 9bab2acc924790b0a01a08e76f9216acc2d6528b Mon Sep 17 00:00:00 2001
-From: Allan Sandfeld Jensen <allan.jensen@qt.io>
-Date: Thu, 16 May 2019 11:19:49 +0200
-Subject: [Backport] WebSQL: Explicitly initialize SQLite, remove deprecated
- API usage.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Change-Id: I291dd041c5646c4fdd714ff98dd939566861d921
-Reviewed-on: https://chromium-review.googlesource.com/892092
-Task-number: QTBUG-75853
-Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
----
- .../Source/modules/webdatabase/DatabaseTracker.cpp | 2 +-
- .../modules/webdatabase/sqlite/SQLiteFileSystem.cpp | 21 ++++++++++++++++++++-
- .../modules/webdatabase/sqlite/SQLiteFileSystem.h | 21 +++++++++++++++------
- .../webdatabase/sqlite/SQLiteFileSystemPosix.cpp | 19 ++++++++++---------
- .../webdatabase/sqlite/SQLiteFileSystemWin.cpp | 19 ++++++++++---------
- 5 files changed, 56 insertions(+), 26 deletions(-)
-
-diff --git a/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp b/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp
-index 13ea7d8181..f78d90a5df 100644
---- a/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp
-+++ b/chromium/third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp
-@@ -66,7 +66,7 @@ DatabaseTracker& DatabaseTracker::tracker() {
- }
-
- DatabaseTracker::DatabaseTracker() {
-- SQLiteFileSystem::registerSQLiteVFS();
-+ SQLiteFileSystem::initializeSQLite();
- }
-
- bool DatabaseTracker::canEstablishDatabase(DatabaseContext* databaseContext,
-diff --git a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp
-index 9c25341c57..2a6e140f9e 100644
---- a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp
-+++ b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.cpp
-@@ -39,9 +39,28 @@
- // platform-specific files SQLiteFileSystemChromium{Win|Posix}.cpp
- namespace blink {
-
--SQLiteFileSystem::SQLiteFileSystem() {}
-+#if DCHECK_IS_ON()
-+// static
-+bool SQLiteFileSystem::initialize_sqlite_called_ = false;
-+#endif // DCHECK_IS_ON
-
-+// static
-+void SQLiteFileSystem::initializeSQLite() {
-+#if DCHECK_IS_ON()
-+ DCHECK(!initialize_sqlite_called_) << __func__ << " already called";
-+ initialize_sqlite_called_ = true;
-+#endif // DCHECK_IS_ON()
-+
-+ sqlite3_initialize();
-+ registerSQLiteVFS();
-+}
-+
-+// static
- int SQLiteFileSystem::openDatabase(const String& filename, sqlite3** database) {
-+#if DCHECK_IS_ON()
-+ DCHECK(initialize_sqlite_called_)
-+ << "InitializeSQLite() must be called before " << __func__;
-+#endif // DCHECK_IS_ON()
- SafePointScope scope(BlinkGC::HeapPointersOnStack);
- return sqlite3_open_v2(filename.utf8().data(), database,
- SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,
-diff --git a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.h b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.h
-index 97c0ad83a1..af2bcd9211 100644
---- a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.h
-+++ b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystem.h
-@@ -42,22 +42,31 @@ namespace blink {
- // A class that abstracts the file system related operations required
- // by the WebKit database code.
- class SQLiteFileSystem {
-- DISALLOW_NEW();
--
- public:
-- // Registers a user-defined SQLite VFS.
-- static void registerSQLiteVFS();
-+ // This class is used as a namespace, so instantiating it doesn't make sense.
-+ SQLiteFileSystem() = delete;
-+
-+ // Initializes SQLite for Blink's use.
-+ //
-+ // This must be called exactly once in each renderer process that uses SQLite.
-+ static void initializeSQLite();
-
- // Opens a database file.
- //
-+ // initializeSQLite() must be called before this method is called.
-+ //
- // filemame - The name of the database file.
- // database - The SQLite structure that represents the database stored
- // in the given file.
- static int openDatabase(const String& filename, sqlite3** database);
-
- private:
-- // do not instantiate this class
-- SQLiteFileSystem();
-+ // Registers Chromium's VFS with SQLite.
-+ static void registerSQLiteVFS();
-+
-+#if DCHECK_IS_ON()
-+ static bool initialize_sqlite_called_;
-+#endif // DCHECK_IS_ON()
- }; // class SQLiteFileSystem
-
- } // namespace blink
-diff --git a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp
-index 77e7b6d904..20d0fd2e0e 100644
---- a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp
-+++ b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp
-@@ -321,11 +321,6 @@ int chromiumSleep(sqlite3_vfs* vfs, int microseconds) {
- return wrappedVfs->xSleep(wrappedVfs, microseconds);
- }
-
--int chromiumCurrentTime(sqlite3_vfs* vfs, double* prNow) {
-- sqlite3_vfs* wrappedVfs = static_cast<sqlite3_vfs*>(vfs->pAppData);
-- return wrappedVfs->xCurrentTime(wrappedVfs, prNow);
--}
--
- int chromiumGetLastError(sqlite3_vfs* vfs, int e, char* s) {
- // xGetLastError() has never been used by SQLite. The implementation in
- // os_win.c indicates this is a reasonable implementation.
-@@ -333,6 +328,11 @@ int chromiumGetLastError(sqlite3_vfs* vfs, int e, char* s) {
- return 0;
- }
-
-+int chromiumCurrentTimeInt64(sqlite3_vfs* vfs, sqlite3_int64* now) {
-+ sqlite3_vfs* wrapped_vfs = static_cast<sqlite3_vfs*>(vfs->pAppData);
-+ return wrapped_vfs->xCurrentTimeInt64(wrapped_vfs, now);
-+}
-+
- } // namespace
-
- void SQLiteFileSystem::registerSQLiteVFS() {
-@@ -342,9 +342,9 @@ void SQLiteFileSystem::registerSQLiteVFS() {
- // TODO(shess): Implement local versions.
- ASSERT(wrappedVfs->xRandomness);
- ASSERT(wrappedVfs->xSleep);
-- ASSERT(wrappedVfs->xCurrentTime);
-+ ASSERT(wrappedVfs->xCurrentTimeInt64);
-
-- static sqlite3_vfs chromium_vfs = {1,
-+ static sqlite3_vfs chromium_vfs = {2,
- sizeof(chromiumVfsFile),
- wrappedVfs->mxPathname,
- 0,
-@@ -360,8 +360,9 @@ void SQLiteFileSystem::registerSQLiteVFS() {
- chromiumDlClose,
- chromiumRandomness,
- chromiumSleep,
-- chromiumCurrentTime,
-- chromiumGetLastError};
-+ nullptr, // CurrentTime is deprecated.
-+ chromiumGetLastError,
-+ chromiumCurrentTimeInt64};
- sqlite3_vfs_register(&chromium_vfs, 0);
- }
-
-diff --git a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
-index 2933df65f6..31103047fd 100644
---- a/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
-+++ b/chromium/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemWin.cpp
-@@ -148,11 +148,6 @@ int chromiumSleep(sqlite3_vfs* vfs, int microseconds) {
- return wrappedVfs->xSleep(wrappedVfs, microseconds);
- }
-
--int chromiumCurrentTime(sqlite3_vfs* vfs, double* prNow) {
-- sqlite3_vfs* wrappedVfs = static_cast<sqlite3_vfs*>(vfs->pAppData);
-- return wrappedVfs->xCurrentTime(wrappedVfs, prNow);
--}
--
- int chromiumGetLastError(sqlite3_vfs* vfs, int e, char* s) {
- // xGetLastError() has never been used by SQLite. The implementation in
- // os_win.c indicates this is a reasonable implementation.
-@@ -160,6 +155,11 @@ int chromiumGetLastError(sqlite3_vfs* vfs, int e, char* s) {
- return 0;
- }
-
-+int chromiumCurrentTimeInt64(sqlite3_vfs* vfs, sqlite3_int64* now) {
-+ sqlite3_vfs* wrapped_vfs = static_cast<sqlite3_vfs*>(vfs->pAppData);
-+ return wrapped_vfs->xCurrentTimeInt64(wrapped_vfs, now);
-+}
-+
- } // namespace
-
- void SQLiteFileSystem::registerSQLiteVFS() {
-@@ -169,9 +169,9 @@ void SQLiteFileSystem::registerSQLiteVFS() {
- // TODO(shess): Implement local versions.
- ASSERT(wrappedVfs->xRandomness);
- ASSERT(wrappedVfs->xSleep);
-- ASSERT(wrappedVfs->xCurrentTime);
-+ ASSERT(wrappedVfs->xCurrentTimeInt64);
-
-- static sqlite3_vfs chromium_vfs = {1,
-+ static sqlite3_vfs chromium_vfs = {2,
- wrappedVfs->szOsFile,
- wrappedVfs->mxPathname,
- 0,
-@@ -187,8 +187,9 @@ void SQLiteFileSystem::registerSQLiteVFS() {
- chromiumDlClose,
- chromiumRandomness,
- chromiumSleep,
-- chromiumCurrentTime,
-- chromiumGetLastError};
-+ nullptr, // CurrentTime is deprecated.
-+ chromiumGetLastError,
-+ chromiumCurrentTimeInt64};
- sqlite3_vfs_register(&chromium_vfs, 0);
- }
-
---
-cgit v1.2.1
-
diff --git a/libraries/qt5/patches/qt5.mysql.h.diff b/libraries/qt5/patches/qt5.mysql.h.diff
deleted file mode 100644
index 1ac6faacfd..0000000000
--- a/libraries/qt5/patches/qt5.mysql.h.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur qt-everywhere-opensource-src-5.1.0.orig/qtbase/src/plugins/sqldrivers/mysql/qsql_mysql_p.h qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/sqldrivers/mysql/qsql_mysql_p.h
---- qt-everywhere-opensource-src-5.1.0.orig/qtbase/src/plugins/sqldrivers/mysql/qsql_mysql_p.h 2013-07-02 07:09:52.000000000 +0000
-+++ qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/sqldrivers/mysql/qsql_mysql_p.h 2013-07-21 21:21:01.190172379 +0000
-@@ -60,7 +60,7 @@
- #include <QtCore/qt_windows.h>
- #endif
-
--#include <mysql.h>
-+#include <mysql/mysql.h>
-
- #ifdef QT_PLUGIN
- #define Q_EXPORT_SQLDRIVER_MYSQL
diff --git a/libraries/qt5/profile.d/qt5.csh b/libraries/qt5/profile.d/qt5.csh
deleted file mode 100644
index ec1ecd9bef..0000000000
--- a/libraries/qt5/profile.d/qt5.csh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/csh
-# Environment path variables for the Qt package:
-if ( ! $?QT5DIR ) then
- # It's best to use the generic directory to avoid
- # compiling in a version-containing path:
- if ( -d /usr/lib@LIBDIRSUFFIX@/qt5 ) then
- setenv QT5DIR /usr/lib@LIBDIRSUFFIX@/qt5
- else
- # Find the newest Qt directory and set $QT5DIR to that:
- foreach qtd ( /usr/lib@LIBDIRSUFFIX@/qt5-* )
- if ( -d $qtd ) then
- setenv QT5DIR $qtd
- endif
- end
- endif
-endif
-set path = ( $path $QT5DIR/bin )
diff --git a/libraries/qt5/profile.d/qt5.sh b/libraries/qt5/profile.d/qt5.sh
deleted file mode 100644
index 8ee075e17e..0000000000
--- a/libraries/qt5/profile.d/qt5.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# Environment variables for the Qt package.
-#
-# It's best to use the generic directory to avoid
-# compiling in a version-containing path:
-if [ -d /usr/lib@LIBDIRSUFFIX@/qt5 ]; then
- QT5DIR=/usr/lib@LIBDIRSUFFIX@/qt5
-else
- # Find the newest Qt directory and set $QT5DIR to that:
- for qtd in /usr/lib@LIBDIRSUFFIX@/qt5-* ; do
- if [ -d $qtd ]; then
- QT5DIR=$qtd
- fi
- done
-fi
-PATH="$PATH:$QT5DIR/bin"
-export QT5DIR
diff --git a/libraries/qt5/qt5.SlackBuild b/libraries/qt5/qt5.SlackBuild
deleted file mode 100644
index ef7507d8de..0000000000
--- a/libraries/qt5/qt5.SlackBuild
+++ /dev/null
@@ -1,349 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qt5
-
-# Update for 5.9.6 by David Woodfall <dave@slackbuilds.org>
-#
-# Copyright 2013-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 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.
-
-# Merged some ideas from Alex Sarmardzic's script for qt4 at SlackBuilds.org
-# ^^ Modified by Robby Workman <rworkman@slackware.com> for QT4 & KDE4
-
-# We're using qt-copy instead of a released qt version, as this git release
-# has at least one bugfix strongly recommended by the kde developers.
-
-# Obtained from:
-# git clone git://gitorious.org/+kde-developers/qt/kde-qt.git
-# git checkout origin/4.5.3-patched
-# git checkout origin/4.6.0-stable-patched
-# git checkout origin/4.6.1-patched
-# git checkout origin/4.7.0-patched
-#
-# Alternate method (we don't use this):
-# wget http://qt.gitorious.org/qt/kde-qt/archive-tarball/4.6.2-patched
-#
-# Modifications 2010, 2011, 2012 Eric Hameleers, Eindhoven, NL
-# qt 4.7.3, 4.7.4, 4.8.0, 4.8.1, 4.8.2, 4.8.4 are built from original nokia sources.
-
-# This is the highly modified version qt.SlackBuild found in Slackware
-# tailored to Qt 5. Modified by Larry Hajali.
-
-# Adapted for Qt 5.9.6 by David Woodfall
-
-PRGNAM=qt5
-VERSION=${VERSION:-5.9.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}
-
-EXAMPLES=${EXAMPLES:-no}
-DOCS=${DOCS:-no}
-PROPRIETARY_CODECS=${PROPRIETARY_CODECS:-no}
-PULSEAUDIO=${PULSEAUDIO:-yes}
-CCACHE=${CCACHE:-no}
-WEBENGINE=${WEBENGINE:-yes}
-
-printf "\n%s\n\n" "SlackBuild Options:"
-printf "%s\n" "CCACHE: $CCACHE"
-printf "%s\n" "DOCS: $DOCS"
-printf "%s\n" "EXAMPLES: $EXAMPLES"
-printf "%s\n" "PROPRIETARY_CODECS: $PROPRIETARY_CODECS"
-printf "%s\n" "PULSEAUDIO: $PULSEAUDIO"
-printf "%s\n" "WEBENGINE: $WEBENGINE"
-printf "\n"
-
-# Default is no.
-if [ "$EXAMPLES" == "yes" ]; then
- BUILD_EXAMPLES=""
-else
- BUILD_EXAMPLES="-nomake examples"
-fi
-
-# Default is yes.
-if [ "$PULSEAUDIO" = "no" ]; then
- PULSE="-no-pulseaudio"
-fi
-
-# Default is no.
-if [ "$CCACHE" = "yes" ]; then
- CCACHE="-ccache"
-else
- unset CCACHE
-fi
-
-if [ "$WEBENGINE" = "no" ]; then
- EXCLUDE="--exclude=qtweb*"
- PKGVERSION="${VERSION}_nowebengine"
-else
- PKGVERSION="${VERSION}"
- # Note that this changes to -webengine-proprietary-codecs in later versions
- if [ "$PROPRIETARY_CODECS" = "yes" ]; then
- CODECS="-proprietary-codecs"
- fi
-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"
- SLKLDFLAGS="-L/usr/lib64"
-elif [ "$ARCH" = "armv7hl" ]; then
- # To prevent "qatomic_armv6.h error: output number 2 not directly addressable"
- # More permanent solution is to patch gcc:
- # http://bazaar.launchpad.net/~linaro-toolchain-dev/gcc-linaro/4.6/revision/106731
- SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -fno-strict-volatile-bitfields"
- LIBDIRSUFFIX=""
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-if [ -e /var/log/packages/$PRGNAM-legacy-[[:digit:]]* ]; then
- printf "%s\n%s\n%s\n" "You appear to have $PRGNAM-legacy installed." \
- "$PRGNAM will not co-exist with $PRGNAM-legacy." \
- "Please uninstall $PRGNAM-legacy and restart the SlackBuild."
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-echo "Removing any existing source directory. Please wait..."
-rm -rf ${PRGNAM/5/}-everywhere-opensource-src-$VERSION
-tar xvf $CWD/${PRGNAM/5/}-everywhere-opensource-src-$VERSION.tar.xz $EXCLUDE
-cd ${PRGNAM/5/}-everywhere-opensource-src-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-
-# Limit -reduce-relocations to ix86 and x86_64.
-# https://bugreports.qt-project.org/browse/QTBUG-36129
-if echo $ARCH | grep -q '\(i.86\|x86_64\)' 2>/dev/null; then
- RELOCATIONS="-reduce-relocations"
-else
- RELOCATIONS=""
-fi
-
-# Borrowed a few things from alienBOB:
-# Fix path to mysql header:
-cat $CWD/patches/qt5.mysql.h.diff | patch -p1 --verbose
-
-# Fix missing private includes: QTBUG-37417
-sed -e '/CMAKE_NO_PRIVATE_INCLUDES\ \=\ true/d' \
- -i qtbase/mkspecs/features/create_cmake.prf
-
-# Use our custom compiler and linker flags:
-sed -i -re "s,-O(2|3),$SLKCFLAGS," qtbase/mkspecs/common/gcc-base.conf
-sed -i -e "/^QMAKE_LFLAGS\s/s,+=,+= $SLKLDFLAGS,g" \
- qtbase/mkspecs/common/gcc-base.conf
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS -std=c++11"
-./configure -v \
- -confirm-license \
- -opensource \
- -prefix "/usr/lib${LIBDIRSUFFIX}/$PRGNAM" \
- -sysconfdir "/etc/xdg" \
- -headerdir "/usr/include/$PRGNAM" \
- -libdir "/usr/lib${LIBDIRSUFFIX}" \
- -docdir "/usr/doc/$PRGNAM-$VERSION" \
- -system-libpng \
- -system-libjpeg \
- -system-zlib \
- -system-sqlite \
- -plugin-sql-sqlite \
- -icu \
- -openssl-linked \
- -verbose \
- -dbus-linked \
- -qpa xcb \
- -xcb \
- -glib \
- -accessibility \
- -no-separate-debug-info \
- -no-pch \
- -no-rpath \
- -no-strip \
- -release \
- -no-use-gold-linker \
- -c++std c++11 \
- $CCACHE \
- $CODECS \
- $PULSE \
- $RELOCATIONS \
- $BUILD_EXAMPLES
-
-make
-make install INSTALL_ROOT=$PKG
-
-# Install documentation. Default is not to install documentation.
-if [ "$DOCS" == "yes" ]; then
- # Recreate Makefiles in order to use the just compiled qdoc.
- for doc in $(find . -name "Makefile*" | xargs egrep "^\s/usr/lib${LIBDIRSUFFIX}/qt5/bin/" \
- | cut -d':' -f1 | uniq)
- do
- rm -fv $doc
- done
- make docs
- make install_docs 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
-
-ln -s $PRGNAM $PKG/usr/lib${LIBDIRSUFFIX}/qt-$VERSION
-
-mkdir -p $PKG/usr/bin
-for BIN in $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/bin/*; do
- TMP_FILE=$(echo $BIN | sed -e "s|$PKG||")
- case $(basename $BIN) in
- syncqt.pl|fixqt4headers.pl)
- ln -s $TMP_FILE $PKG/usr/bin/$(basename $BIN)
- ;;
- *)
- ln -s $TMP_FILE $PKG/usr/bin/$(basename $BIN)-$PRGNAM
- ;;
- esac
-done
-
-# Create Environment variables
-mkdir -p $PKG/etc/profile.d
-sed -e "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" $CWD/profile.d/$PRGNAM.sh \
- > $PKG/etc/profile.d/$PRGNAM.sh
-sed -e "s|@LIBDIRSUFFIX@|${LIBDIRSUFFIX}|g" $CWD/profile.d/$PRGNAM.csh \
- > $PKG/etc/profile.d/$PRGNAM.csh
-chmod 0755 $PKG/etc/profile.d/*
-
-cat > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5.pc << EOF
-prefix=/usr/lib${LIBDIRSUFFIX}/$PRGNAM
-bindir=\${prefix}/bin
-datadir=\${prefix}
-docdir=/usr/doc/$PRGNAM-$VERSION
-archdatadir=\${prefix}
-examplesdir=\${prefix}/examples
-headerdir=/usr/include/$PRGNAM
-importdir=\${prefix}/imports
-qmldir=\${prefix}/qml
-libdir=/usr/lib${LIBDIRSUFFIX}
-libexec=\${prefix}/libexec
-moc=\${bindir}/moc
-plugindir=\${prefix}/plugins
-qmake=\${bindir}/qmake
-sysconfdir=/etc/xdg
-translationdir=\${prefix}/translations
-
-Name: Qt5
-Description: Qt5 Configuration
-Version: $VERSION
-EOF
-
-if [ "$WEBENGINE" = "yes" ]; then
- # Fix internal linking for Qt5WebEngineCore.pc.
- sed -i \
- -e 's|-Wl,--start-group.* -Wl,--end-group||' \
- -e "s|-L${PWD}/qtwebengine/src/core/api/Release||" \
- $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5WebEngineCore.pc
-fi
-
-# While we are at it, there isn't any reason to keep references to $PKG in the *.prl files.
-for PRL in $(find $PKG -name "*\.prl"); do
- sed -i '/^QMAKE_PRL_BUILD_DIR/d' $PRL
-done
-
-# One more for the road.
-sed -i "s|$PWD/qtbase|/usr/lib${LIBDIRSUFFIX}/$PRGNAM|" \
- $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/mkspecs/modules/qt_lib_bootstrap_private.pri
-
-sed -i "s|-L${PWD}/\w*/lib ||g" \
- $PKG/usr/lib${LIBDIRSUFFIX}/libqgsttools_p.prl
-
-for i in $CWD/desktop/*.desktop; do
- install -D -m 0644 $i $PKG/usr/share/applications/$(basename $i)
-done
-sed -i "s|@LIBDIR@|$LIBDIRSUFFIX|" $PKG/usr/share/applications/*
-
-# Currently not working for qt version 5.4.0. Extra layer added to *.ico file
-# freaks out ImageMagick and fails image conversion.
-# Eg.
-# $ convert assistant.ico -resize 96x96! assistant.png
-# convert: file format version mismatch `assistant.ico' @ error/xwd.c/ReadXWDImage/241.
-# convert: no images defined `assistant.png' @ error/convert.c/ConvertImageCommand/3127.
-#for i in $(find . -name "assistant.ico" -o -name "designer.ico" \
-# -o -name "linguist.ico" -o -name "qdbusviewer.ico"); do
-# for j in 16 24 32 48 64 96 128; do
-# convert $i -resize ${j}x${j}! $(basename $i)-$j.png
-# install -D -m 0644 $(basename $i)-$j-0.png \
-# $PKG/usr/share/icons/hicolor/${j}x${j}/apps/$(basename $i | sed 's|.ico||')-$PRGNAM.png
-# done
-#done
-
-install -D -m 0644 qttools/src/assistant/assistant/images/assistant-128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/assistant-qt5.png
-install -D -m 0644 qttools/src/designer/src/designer/images/designer.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/designer-qt5.png
-install -D -m 0644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/qdbusviewer-qt5.png
-for i in 16 32 48 64 128; do
- install -D -m 0644 qttools/src/linguist/linguist/images/icons/linguist-${i}-32.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/linguist-qt5.png
-done
-
-# Remove executable bits from files.
-find $PKG \( -name "*.qml" -o -name "*.app" \) -perm 755 -exec chmod 644 '{}' \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README qtbase/{header*,LGPL_EXCEPTION.txt,LICENSE.*L} \
- $CWD/README.benchmarks $CWD/README.ccache \
- $PKG/usr/doc/$PRGNAM-$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-$PKGVERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
-# vim: expandtab
diff --git a/libraries/qt5/qt5.info b/libraries/qt5/qt5.info
deleted file mode 100644
index 18ec3e1a45..0000000000
--- a/libraries/qt5/qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qt5"
-VERSION="5.9.9"
-HOMEPAGE="http://qt-project.org/"
-DOWNLOAD="https://download.qt.io/official_releases/qt/5.9/5.9.9/single/qt-everywhere-opensource-src-5.9.9.tar.xz"
-MD5SUM="97e81709b57e82ab2b279408eaa9270e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libxkbcommon libinput"
-MAINTAINER="Dave Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/libraries/qt5/slack-desc b/libraries/qt5/slack-desc
deleted file mode 100644
index 99abf5c2ba..0000000000
--- a/libraries/qt5/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------------------------------------------------------|
-qt5: qt5 (a multi-platform C++ graphical user interface toolkit)
-qt5:
-qt5: Qt is a cross-platform C++ application framework. Qt's primary feature
-qt5: is its rich set of widgets that provide standard GUI functionality.
-qt5:
-qt5: Homepage: http://qt-project.org
-qt5:
-qt5:
-qt5:
-qt5:
-qt5:
diff --git a/libraries/qt6keychain/README b/libraries/qt6keychain/README
new file mode 100644
index 0000000000..ad5bfe5eac
--- /dev/null
+++ b/libraries/qt6keychain/README
@@ -0,0 +1,8 @@
+QtKeychain is a Qt API to store passwords and other secret data
+securely. If running, GNOME Keyring is used, otherwise qtkeychain
+tries to use KWallet (via D-Bus), if available.
+
+Homepage: https://github.com/frankosterfeld/qtkeychain
+
+Slackware is shipping a version for qt5, this version is for
+qt6.
diff --git a/libraries/qt6keychain/qt6keychain.SlackBuild b/libraries/qt6keychain/qt6keychain.SlackBuild
new file mode 100644
index 0000000000..e9aa25bae8
--- /dev/null
+++ b/libraries/qt6keychain/qt6keychain.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for qt6keychain
+
+# Copyright 2024, 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=qt6keychain
+VERSION=${VERSION:-0.14.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"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+TARNAM=qtkeychain
+
+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 {} +
+
+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 \
+ -DBUILD_WITH_QT6=ON \
+ -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 \
+ COPYING ChangeLog ReadMe.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/qt6keychain/qt6keychain.info b/libraries/qt6keychain/qt6keychain.info
new file mode 100644
index 0000000000..99ad154bc0
--- /dev/null
+++ b/libraries/qt6keychain/qt6keychain.info
@@ -0,0 +1,10 @@
+PRGNAM="qt6keychain"
+VERSION="0.14.2"
+HOMEPAGE="https://github.com/frankosterfeld/qtkeychain/"
+DOWNLOAD="https://github.com/frankosterfeld/qtkeychain/archive/0.14.2/qtkeychain-0.14.2.tar.gz"
+MD5SUM="7f75753541784068400d903e0e7a0d55"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="qt6"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.qt6keychain_2024-03-15@lockywolf.net"
diff --git a/libraries/qt6keychain/slack-desc b/libraries/qt6keychain/slack-desc
new file mode 100644
index 0000000000..ac01d326c2
--- /dev/null
+++ b/libraries/qt6keychain/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------------------------------------------------------|
+qt6keychain: qt6keychain (Qt password storage API)
+qt6keychain:
+qt6keychain: QtKeychain is a Qt API to store passwords and other secret data
+qt6keychain: securely.
+qt6keychain:
+qt6keychain: Slackware is shipping the version for qt5, this is the same library,
+qt6keychain: but for qt6.
+qt6keychain:
+qt6keychain:
+qt6keychain:
+qt6keychain:
diff --git a/libraries/qtermwidget/qtermwidget.SlackBuild b/libraries/qtermwidget/qtermwidget.SlackBuild
index 55ef5af14c..6321e21551 100644
--- a/libraries/qtermwidget/qtermwidget.SlackBuild
+++ b/libraries/qtermwidget/qtermwidget.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qtermwidget
-# Copyright 2011-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2011-2023 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=qtermwidget
-VERSION=${VERSION:-0.14.1}
+VERSION=${VERSION:-1.4.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/libraries/qtermwidget/qtermwidget.info b/libraries/qtermwidget/qtermwidget.info
index 873b7451ee..1ecf5be586 100644
--- a/libraries/qtermwidget/qtermwidget.info
+++ b/libraries/qtermwidget/qtermwidget.info
@@ -1,8 +1,8 @@
PRGNAM="qtermwidget"
-VERSION="0.14.1"
+VERSION="1.4.0"
HOMEPAGE="https://github.com/lxde/qtermwidget"
-DOWNLOAD="https://github.com/lxde/qtermwidget/releases/download/0.14.1/qtermwidget-0.14.1.tar.xz"
-MD5SUM="63c389982f995a89755f4b81855fb879"
+DOWNLOAD="https://github.com/lxde/qtermwidget/releases/download/1.4.0/qtermwidget-1.4.0.tar.xz"
+MD5SUM="9fd252579ded4aa05665d4fc979629e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lxqt-build-tools"
diff --git a/libraries/qtmimetypes/qtmimetypes.SlackBuild b/libraries/qtmimetypes/qtmimetypes.SlackBuild
index 61ff2502d8..6e4cf149fe 100644
--- a/libraries/qtmimetypes/qtmimetypes.SlackBuild
+++ b/libraries/qtmimetypes/qtmimetypes.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qtmimetypes
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qtmimetypes
SRCNAM=mimetypes
VERSION=${VERSION:-20140903_123e525}
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,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 {} \;
+. /etc/profile.d/qt4.sh
sed -i "s|/lib$|/lib$LIBDIRSUFFIX|" mimetypes-nolibs.pri
export CXXFLAGS="$SLKCFLAGS"
qmake
@@ -89,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/libraries/qtmimetypes/qtmimetypes.info b/libraries/qtmimetypes/qtmimetypes.info
index 4a436e4e4c..d4d70e08f5 100644
--- a/libraries/qtmimetypes/qtmimetypes.info
+++ b/libraries/qtmimetypes/qtmimetypes.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxqt/mimetypes-20140903_123e525
MD5SUM="ddabb754a9af0e293e014f10bfdb0ff5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/quazip-qt4/README b/libraries/quazip-qt4/README
new file mode 100644
index 0000000000..aff044eeb5
--- /dev/null
+++ b/libraries/quazip-qt4/README
@@ -0,0 +1,9 @@
+QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package
+that can be used to access ZIP archives. It uses the Qt toolkit.
+
+QuaZIP allows you to access files inside ZIP archives using QIODevice
+API, and - yes! - that means that you can also use QTextStream,
+QDataStream or whatever you would like to use on your zipped files.
+
+QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
+reading from and writing to ZIP archives.
diff --git a/libraries/quazip-qt4/quazip-qt4.SlackBuild b/libraries/quazip-qt4/quazip-qt4.SlackBuild
new file mode 100644
index 0000000000..32b5e3e215
--- /dev/null
+++ b/libraries/quazip-qt4/quazip-qt4.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for quazip-qt4
+
+# Copyright 2013 Isaque Galdino <igaldino@gmail.com>
+# Copyright 2019-2020 Matteo Bernardini <ponce@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=quazip-qt4
+SRCNAM=quazip
+VERSION=${VERSION:-0.9.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"
+ SLKCFLAGS="-O2"
+ 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 {} \;
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DBUILD_WITH_QT4=1 \
+ ..
+ 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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a NEWS.txt COPYING *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/quazip-qt4/quazip-qt4.info b/libraries/quazip-qt4/quazip-qt4.info
new file mode 100644
index 0000000000..97919db8bd
--- /dev/null
+++ b/libraries/quazip-qt4/quazip-qt4.info
@@ -0,0 +1,10 @@
+PRGNAM="quazip-qt4"
+VERSION="0.9.1"
+HOMEPAGE="https://github.com/stachenov/quazip"
+DOWNLOAD="https://github.com/stachenov/quazip/archive/v0.9.1/quazip-0.9.1.tar.gz"
+MD5SUM="46a7c344355bd53af8da2bfcd5126c3c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="qt4"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/quazip-qt4/slack-desc b/libraries/quazip-qt4/slack-desc
new file mode 100644
index 0000000000..2d85c72bbf
--- /dev/null
+++ b/libraries/quazip-qt4/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------------------------------------------------------|
+quazip-qt4: quazip-qt4 (Qt/C++ wrapper for the ZIP/UNZIP API)
+quazip-qt4:
+quazip-qt4: QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package
+quazip-qt4: that can be used to access ZIP archives.
+quazip-qt4: This script packages the version for the Qt-4.x toolkit.
+quazip-qt4: QuaZIP allows you to access files inside ZIP archives using QIODevice
+quazip-qt4: API, and -yes!- that means that you can also use QTextStream,
+quazip-qt4: QDataStream or whatever you would like to use on your zipped files.
+quazip-qt4: QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
+quazip-qt4: reading from and writing to ZIP archives.
+quazip-qt4:
diff --git a/libraries/quazip-qt5/README b/libraries/quazip-qt5/README
deleted file mode 100644
index 16d8d75993..0000000000
--- a/libraries/quazip-qt5/README
+++ /dev/null
@@ -1,11 +0,0 @@
-QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package
-that can be used to access ZIP archives. It uses the Qt toolkit.
-
-QuaZIP allows you to access files inside ZIP archives using QIODevice API,
-and - yes! - that means that you can also use QTextStream, QDataStream
-or whatever you would like to use on your zipped files.
-
-QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
-reading from and writing to ZIP archives.
-
-This is the version based on qt5.
diff --git a/libraries/quazip-qt5/quazip-qt5.SlackBuild b/libraries/quazip-qt5/quazip-qt5.SlackBuild
deleted file mode 100644
index d1acfdcf2d..0000000000
--- a/libraries/quazip-qt5/quazip-qt5.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for quazip-qt5
-
-# Copyright 2019 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=quazip-qt5
-SRCNAM=quazip
-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"
- SLKCFLAGS="-O2"
- 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 {} \;
-
-mkdir build
-cd build
- cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- ..
-
- 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a NEWS.txt COPYING *.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/libraries/quazip-qt5/quazip-qt5.info b/libraries/quazip-qt5/quazip-qt5.info
deleted file mode 100644
index 3e51230aec..0000000000
--- a/libraries/quazip-qt5/quazip-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="quazip-qt5"
-VERSION="0.8.1"
-HOMEPAGE="https://github.com/stachenov/quazip/"
-DOWNLOAD="https://github.com/stachenov/quazip/archive/v0.8.1/quazip-0.8.1.tar.gz"
-MD5SUM="0161c679b1d32c289dab2f96c81354aa"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/quazip-qt5/slack-desc b/libraries/quazip-qt5/slack-desc
deleted file mode 100644
index e92132e4e7..0000000000
--- a/libraries/quazip-qt5/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------------------------------------------------------|
-quazip-qt5: quazip-qt5 (Qt/C++ wrapper for ZIP/UNZIP package)
-quazip-qt5:
-quazip-qt5: QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package
-quazip-qt5: that can be used to access ZIP archives. It uses the Qt toolkit.
-quazip-qt5:
-quazip-qt5: QuaZIP allows you to access files inside ZIP archives using QIODevice
-quazip-qt5: API, quazip: and -yes!- that means that you can also use QTextStream,
-quazip-qt5: QDataStream or whatever you would like to use on your zipped files.
-quazip-qt5:
-quazip-qt5: QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
-quazip-qt5: reading from and writing to ZIP archives.
diff --git a/libraries/quazip/README b/libraries/quazip/README
deleted file mode 100644
index 026ee2c7d4..0000000000
--- a/libraries/quazip/README
+++ /dev/null
@@ -1,10 +0,0 @@
-QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package
-that can be used to access ZIP archives. It uses the Qt toolkit.
-
-QuaZIP allows you to access files inside ZIP archives using QIODevice API,
-and - yes! - that means that you can also use QTextStream, QDataStream
-or whatever you would like to use on your zipped files.
-
-QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
-reading from and writing to ZIP archives.
-
diff --git a/libraries/quazip/quazip.SlackBuild b/libraries/quazip/quazip.SlackBuild
deleted file mode 100644
index 55ed195667..0000000000
--- a/libraries/quazip/quazip.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for quazip
-
-# Copyright 2013 Isaque Galdino <igaldino@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=quazip
-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"
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.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_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DBUILD_WITH_QT4=1 \
- ..
- 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a NEWS.txt COPYING *.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/libraries/quazip/quazip.info b/libraries/quazip/quazip.info
deleted file mode 100644
index 8545d85d7d..0000000000
--- a/libraries/quazip/quazip.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="quazip"
-VERSION="0.8.1"
-HOMEPAGE="https://github.com/stachenov/quazip"
-DOWNLOAD="https://github.com/stachenov/quazip/archive/v0.8.1/quazip-0.8.1.tar.gz"
-MD5SUM="0161c679b1d32c289dab2f96c81354aa"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/quazip/slack-desc b/libraries/quazip/slack-desc
deleted file mode 100644
index 719387fb45..0000000000
--- a/libraries/quazip/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------------------------------------------------------|
-quazip: quazip (Qt/C++ wrapper for ZIP/UNZIP package)
-quazip:
-quazip: QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package
-quazip: that can be used to access ZIP archives. It uses the Qt toolkit.
-quazip:
-quazip: QuaZIP allows you to access files inside ZIP archives using QIODevice
-quazip: API, quazip: and -yes!- that means that you can also use QTextStream,
-quazip: QDataStream or whatever you would like to use on your zipped files.
-quazip:
-quazip: QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both
-quazip: reading from and writing to ZIP archives.
diff --git a/libraries/quesoglc/quesoglc.SlackBuild b/libraries/quesoglc/quesoglc.SlackBuild
index 3e020babef..959f25c2c3 100644
--- a/libraries/quesoglc/quesoglc.SlackBuild
+++ b/libraries/quesoglc/quesoglc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for QuesoGLC
@@ -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=quesoglc
VERSION=${VERSION:-0.7.2}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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"
@@ -99,8 +109,10 @@ cp -a AUTHORS COPYING ChangeLog INSTALL THANKS 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/libraries/qutepart/qutepart.SlackBuild b/libraries/qutepart/qutepart.SlackBuild
index 665bc5190a..545b5c4274 100644
--- a/libraries/qutepart/qutepart.SlackBuild
+++ b/libraries/qutepart/qutepart.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qutepart
# Copyright 2012-2017 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=qutepart
-VERSION=${VERSION:-2.2.3}
+VERSION=${VERSION:-3.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCS="ChangeLog LICENSE 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/libraries/qutepart/qutepart.info b/libraries/qutepart/qutepart.info
index da407dda90..9a9d49101c 100644
--- a/libraries/qutepart/qutepart.info
+++ b/libraries/qutepart/qutepart.info
@@ -1,8 +1,8 @@
PRGNAM="qutepart"
-VERSION="2.2.3"
-HOMEPAGE="https://github.com/hlamer/qutepart"
-DOWNLOAD="https://github.com/hlamer/qutepart/archive/v2.2.3/qutepart-2.2.3.tar.gz"
-MD5SUM="bfeee66e09cd1191e5f5f2d9c93cf3c7"
+VERSION="3.3.3"
+HOMEPAGE="https://github.com/andreikop/qutepart"
+DOWNLOAD="https://github.com/andreikop/qutepart/archive/refs/tags/v3.3.3/qutepart-3.3.3.tar.gz"
+MD5SUM="f8fec81e2549d522eb0335b57f6b531a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/qutepart/slack-desc b/libraries/qutepart/slack-desc
index f09565c174..5d68f5d155 100644
--- a/libraries/qutepart/slack-desc
+++ b/libraries/qutepart/slack-desc
@@ -14,6 +14,6 @@ qutepart:
qutepart:
qutepart:
qutepart:
-qutepart: https://github.com/hlamer/qutepart
+qutepart: https://github.com/andreikop/qutepart
qutepart:
qutepart:
diff --git a/libraries/qwt-qt5/README b/libraries/qwt-qt5/README
deleted file mode 100644
index 22d5b69653..0000000000
--- a/libraries/qwt-qt5/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Qwt is an extension to the Qt5 GUI library that contains widgets and components
-which are primarily useful for programs with a technical background. Beside a
-framework for 2D plots it provides scales, sliders, dials, compasses,
-thermometers, wheels and knobs to control or display values, arrays, or ranges
-of type double.
diff --git a/libraries/qwt-qt5/patch-6.1.4-pkgconfig.diff b/libraries/qwt-qt5/patch-6.1.4-pkgconfig.diff
deleted file mode 100644
index 91c5ed4c78..0000000000
--- a/libraries/qwt-qt5/patch-6.1.4-pkgconfig.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/src.pro.orig 2014-12-12 00:13:13.461186493 +1000
-+++ src/src.pro 2015-10-05 08:55:43.504194164 +1000
-@@ -21,6 +21,19 @@
-
- DESTDIR = $${QWT_OUT_ROOT}/lib
-
-+# Add pkgconfig support
-+unix {
-+ CONFIG += create_pc create_prl no_install_prl
-+ QMAKE_PKGCONFIG_NAME = qwt-qt5
-+ QMAKE_PKGCONFIG_DESCRIPTION = GUI components
-+ QMAKE_PKGCONFIG_PREFIX = $${QWT_INSTALL_PREFIX}
-+ QMAKE_PKGCONFIG_LIBDIR = $${QWT_INSTALL_LIBS}
-+ QMAKE_PKGCONFIG_INCDIR = $${QWT_INSTALL_HEADERS}
-+ QMAKE_PKGCONFIG_REQUIRES = QtCore
-+ QMAKE_PKGCONFIG_DESTDIR = pkgconfig
-+}
-+
-+
- contains(QWT_CONFIG, QwtDll) {
-
- CONFIG += dll
diff --git a/libraries/qwt-qt5/patch-6.1.4-qwtconfig.diff b/libraries/qwt-qt5/patch-6.1.4-qwtconfig.diff
deleted file mode 100644
index 815013bd06..0000000000
--- a/libraries/qwt-qt5/patch-6.1.4-qwtconfig.diff
+++ /dev/null
@@ -1,54 +0,0 @@
---- qwtconfig.pri.orig 2014-12-11 14:13:13.513186492 +0000
-+++ qwtconfig.pri 2015-09-27 08:33:01.948490369 +0000
-@@ -16,11 +16,8 @@
- # Install paths
- ######################################################################
-
--QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
--
- unix {
-- QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION
-- # QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-qt-$$QT_VERSION
-+ QWT_INSTALL_PREFIX = /usr
- }
-
- win32 {
-@@ -29,8 +26,10 @@
- }
-
- QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc
--QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include
--QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib
-+QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include/qt5/qwt
-+QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib$${LIBDIRSUFFIX}
-+
-+
-
- ######################################################################
- # Designer plugin
-@@ -42,14 +41,12 @@
- # runtime environment of designer/creator.
- ######################################################################
-
--QWT_INSTALL_PLUGINS = $${QWT_INSTALL_PREFIX}/plugins/designer
--
- # linux distributors often organize the Qt installation
- # their way and QT_INSTALL_PREFIX doesn't offer a good
- # path. Also QT_INSTALL_PREFIX is only one of the default
- # search paths of the designer - not the Qt creator
-
--#QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PREFIX]/plugins/designer
-+QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PLUGINS]/designer
-
- ######################################################################
- # Features
-@@ -63,8 +60,7 @@
- # with every Qt upgrade.
- ######################################################################
-
--QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
--# QWT_INSTALL_FEATURES = $$[QT_INSTALL_PREFIX]/features
-+QWT_INSTALL_FEATURES = $$[QMAKE_MKSPECS]/features
-
- ######################################################################
- # Build the static/shared libraries.
diff --git a/libraries/qwt-qt5/patch-6.1.4-qwtfunctions.diff b/libraries/qwt-qt5/patch-6.1.4-qwtfunctions.diff
deleted file mode 100644
index b31dc22de6..0000000000
--- a/libraries/qwt-qt5/patch-6.1.4-qwtfunctions.diff
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -up qwt-6.1.2/qwtfunctions.pri.qt5 qwt-6.1.2/qwtfunctions.pri
---- qwt-6.1.2/qwtfunctions.pri.qt5 2014-12-11 08:13:13.511186492 -0600
-+++ qwt-6.1.2/qwtfunctions.pri 2014-12-12 20:45:24.556261966 -0600
-@@ -12,7 +12,12 @@
- defineReplace(qwtLibraryTarget) {
-
- unset(LIBRARY_NAME)
-+
-+ greaterThan(QT_MAJOR_VERSION, 4) {
-+ LIBRARY_NAME = $${1}-qt$${QT_MAJOR_VERSION}
-+ } else {
- LIBRARY_NAME = $$1
-+ }
-
- mac:contains(QWT_CONFIG, QwtFramework) {
-
-@@ -36,7 +41,11 @@ defineReplace(qwtLibraryTarget) {
- defineTest(qwtAddLibrary) {
-
- LIB_PATH = $$1
-+ greaterThan(QT_MAJOR_VERSION, 4) {
-+ LIB_NAME = $${2}-qt$${QT_MAJOR_VERSION}
-+ } else {
- LIB_NAME = $$2
-+ }
-
- mac:contains(QWT_CONFIG, QwtFramework) {
diff --git a/libraries/qwt-qt5/qwt-qt5.SlackBuild b/libraries/qwt-qt5/qwt-qt5.SlackBuild
deleted file mode 100644
index b3c360556e..0000000000
--- a/libraries/qwt-qt5/qwt-qt5.SlackBuild
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qwt-qt5
-
-# Modified from libraries/qwt
-# Copyright 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=qwt-qt5
-VERSION=${VERSION:-6.1.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=qwt
-
-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"
- 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.bz2
-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 -p0 < $CWD/patch-6.1.4-qwtconfig.diff
-patch -p0 < $CWD/patch-6.1.4-pkgconfig.diff
-patch -p1 < $CWD/patch-6.1.4-qwtfunctions.diff # OpenSUSE
-
-mkdir build
-cd build
- qmake-qt5 LIBDIRSUFFIX=$LIBDIRSUFFIX ..
- make \
- CFLAGS+="$SLKCFLAGS" \
- CXXFLAGS+="$SLKCFLAGS -std=c++11 -fPIC"
- make install INSTALL_ROOT=$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
-
-rm -rf $PKG/usr/doc/man
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES-6.1 COPYING INSTALL 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/libraries/qwt-qt5/qwt-qt5.info b/libraries/qwt-qt5/qwt-qt5.info
deleted file mode 100644
index c6d067114d..0000000000
--- a/libraries/qwt-qt5/qwt-qt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qwt-qt5"
-VERSION="6.1.4"
-HOMEPAGE="http://qwt.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/qwt/qwt-6.1.4.tar.bz2"
-MD5SUM="4fb1852f694420e3ab9c583526edecc5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
diff --git a/libraries/qwt-qt5/slack-desc b/libraries/qwt-qt5/slack-desc
deleted file mode 100644
index cd5febaac0..0000000000
--- a/libraries/qwt-qt5/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------------------------------------------------------|
-qwt-qt5: qwt-qt5 (Qt5 widgets for technical applications)
-qwt-qt5:
-qwt-qt5: Qwt is an extension to the Qt5 GUI library that contains widgets and
-qwt-qt5: components which are primarily useful for programs with a technical
-qwt-qt5: background. Beside a framework for 2D plots it provides scales,
-qwt-qt5: sliders, dials, compasses, thermometers, wheels and knobs to control
-qwt-qt5: or display values, arrays, or ranges of type double.
-qwt-qt5:
-qwt-qt5:
-qwt-qt5:
-qwt-qt5:
diff --git a/libraries/qwt/README b/libraries/qwt/README
index ddd2be7307..e72ff35b3c 100644
--- a/libraries/qwt/README
+++ b/libraries/qwt/README
@@ -1,8 +1,11 @@
-Qwt is an extension to the Qt GUI library from Troll Tech AS.
-The Qwt library contains widgets and components which are
-primarily useful for technical and scientifical purposes.
-It includes a 2-D plotting widget, different kinds of sliders,
-and much more.
+Qwt is an extension to the Qt GUI library from Troll Tech AS. The Qwt
+library contains widgets and components which are primarily useful
+for technical and scientifical purposes. It includes a 2-D plotting
+widget, different kinds of sliders, and much more.
-Support for Qt5 will be included if the qt5 package is detected at build time.
+Optional dependency: qt4. If installed, the package will include qt4
+support.
+If you're interested in developing software that uses qwt, you might
+want to build this with EXAMPLES=yes in the environment. This will
+compile the example programs and install them in the doc dir.
diff --git a/libraries/qwt/qwt.SlackBuild b/libraries/qwt/qwt.SlackBuild
index 46a4e9b453..15ad9c54d2 100644
--- a/libraries/qwt/qwt.SlackBuild
+++ b/libraries/qwt/qwt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qwt
@@ -6,12 +6,22 @@
# Nobbled from Slacky and sanitised for sanity :)
# Modified by dunkyp <dunkyp@gmail.com>
# Modified by the Slackbuilds.org project
-# Maintained 2015-2019 by Christoph Willing <chris.willing@linux.com>
+# Maintained 2015-2021 by Christoph Willing <chris.willing@linux.com>
+
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - don't build and install the example binaries by default;
+# add EXAMPLES=yes option.
+
+# 20220222 bkw: Modified by SlackBuilds.org:
+# - add optional qt4 support.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qwt
-VERSION=${VERSION:-6.1.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-6.1.6}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,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}
@@ -40,9 +54,6 @@ else
LIBDIRSUFFIX=""
fi
-# If Qt5 is installed, assume we want to use it
-QWT_QT5="no" ; pkg-config --exists Qt5 ; if [ "$?" = "0" ]; then QWT_QT5="yes" ; fi
-
set -e
rm -rf $PKG
@@ -55,33 +66,36 @@ patch -p0 < $CWD/patch-6.1.2-config.diff
chown -R root: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 {} \;
-
-mkdir -p build-qt4
-cd build-qt4
-qmake .. LIBDIRSUFFIX=$LIBDIRSUFFIX
-make CFLAGS+="$SLKCFLAGS" CXXFLAGS+="$SLKCFLAGS"
-make install INSTALL_ROOT=$PKG
-cd ..
+ -exec chmod 644 {} \+
+
+# 20220419 bkw: don't build the examples by default. they're not
+# particularly useful. the sources to the examples are installed in
+# the doc dir, if users want to play with them.
+[ "${EXAMPLES:-no}" != "yes" ] &&
+ sed -i '/^QWT_CONFIG.*QwtExamples/s,^,#,' qwtconfig.pri
+
+if [ -x /usr/lib$LIBDIRSUFFIX/qt4/bin/qmake ]; then
+ mkdir -p build-qt4
+ cd build-qt4
+ qmake-qt4 .. LIBDIRSUFFIX=$LIBDIRSUFFIX
+ make CFLAGS+="$SLKCFLAGS" CXXFLAGS+="$SLKCFLAGS -std=c++11 -fPIC"
+ make install INSTALL_ROOT=$PKG
+ cd ..
+fi
-if [ "$QWT_QT5" = "yes" ]; then
- echo "Supporting Qt5"
- mkdir -p build-qt5
- cd build-qt5
+mkdir -p build
+cd build
qmake-qt5 .. LIBDIRSUFFIX=$LIBDIRSUFFIX
make CFLAGS+="$SLKCFLAGS" CXXFLAGS+="$SLKCFLAGS -std=c++11 -fPIC"
make install INSTALL_ROOT=$PKG
- cd ..
-fi
+cd ..
# Rationalise the pkgconfig default filenames
( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
- ln -s qwt.pc Qwt6.pc
- if [ -f Qt5Qwt6.pc ]; then
- ln -s Qt5Qwt6.pc qwt-qt5.pc
- fi
+ [ -f qwt.pc ] && ln -s qwt.pc Qwt6.pc
+ [ -f Qt5Qwt6.pc ] && ln -s Qt5Qwt6.pc qwt-qt5.pc
)
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -89,29 +103,22 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mv $PKG/usr/doc/man $PKG/usr
rm -f $PKG/usr/man/man3/_tmp*
-( 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
-)
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
-find ./build-qt4/examples/ -name moc -type d |xargs rm -rf
-find ./build-qt4/examples/ -name obj -type d |xargs rm -rf
-cp -a ./build-qt4/examples/* $PKG/usr/doc/$PRGNAM-$VERSION/examples
-
-if [ -d build-qt5 ]; then
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples-qt5
- find ./build-qt5/examples/ -name moc -type d |xargs rm -rf
- find ./build-qt5/examples/ -name obj -type d |xargs rm -rf
- cp -a ./build-qt5/examples/* $PKG/usr/doc/$PRGNAM-$VERSION/examples-qt5
+gzip -9 $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC/examples
+cp -a examples/* $PKGDOC/examples/
+if [ "${EXAMPLES:-no}" = "yes" ]; then
+ mkdir -p $PKGDOC/examples/bin
+ install -s -m0755 build/examples/bin/* $PKGDOC/examples/bin
fi
-mv $PKG/usr/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES* COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/doc/html $PKGDOC
+cp -a CHANGES* COPYING README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/qwt/qwt.info b/libraries/qwt/qwt.info
index 1b81a031d9..36c5bc0943 100644
--- a/libraries/qwt/qwt.info
+++ b/libraries/qwt/qwt.info
@@ -1,8 +1,8 @@
PRGNAM="qwt"
-VERSION="6.1.4"
+VERSION="6.1.6"
HOMEPAGE="https://qwt.sourceforge.io/"
-DOWNLOAD="https://downloads.sourceforge.net/qwt/qwt-6.1.4.tar.bz2"
-MD5SUM="4fb1852f694420e3ab9c583526edecc5"
+DOWNLOAD="https://downloads.sourceforge.net/qwt/qwt-6.1.6.tar.bz2"
+MD5SUM="cc71be5d6c33c2fc19ae8082ccdd3e83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/qwt5/README b/libraries/qwt5/README
deleted file mode 100644
index b85ffd2c31..0000000000
--- a/libraries/qwt5/README
+++ /dev/null
@@ -1,15 +0,0 @@
-Qwt (GUI Components & utility for programs with technical background)
-
-The Qwt library contains GUI Components and utility classes which are
-primarily useful for programs with a technical background. Beside a
-2D plot widget it provides scales, sliders, dials, compasses,
-thermometers, wheels and knobs to control or display values, arrays,
-or ranges of type double.
-
-Qwt 5 is a legacy version of Qwt, but it is still used by some
-applications.
-
-NOTE: You can install qwt5 and qwt (Qwt 6.x) simultaneously in Slackware.
-qwt5.SlackBuild was written in a way that avoid any conflict with qwt
-by applying a patch in the 'qwtconfig.pri' file and by removing qwt5 man
-pages.
diff --git a/libraries/qwt5/qwt5.SlackBuild b/libraries/qwt5/qwt5.SlackBuild
deleted file mode 100644
index 95deec8a16..0000000000
--- a/libraries/qwt5/qwt5.SlackBuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qwt5
-
-# Written by Zordrak
-# Nobbled from Slacky and sanitised for sanity :)
-
-# Modified by the Slackbuilds.org project
-# Modified by Fellype do Nascimento (2016)
-
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=qwt5
-PRGNAMSRC=qwt
-VERSION=${VERSION:-5.2.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=""
- BASELIBDIR="lib${LIBDIRSUFFIX}"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- BASELIBDIR="lib${LIBDIRSUFFIX}"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BASELIBDIR="lib${LIBDIRSUFFIX}"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAMSRC-$VERSION
-tar xvf $CWD/$PRGNAMSRC-$VERSION.tar.bz2
-cd $PRGNAMSRC-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-## Patching qwtconfig.pri to:
-## - Enable display svg images on the plot canvas
-## - Fix installation location
-## - Change some parameters in qwtconfig.pri file in order to avoid conflicts with Qwt 6
-patch -p1 < $CWD/qwtconfig.pri.patch qwtconfig.pri
-
-qmake
-make \
- CFLAGS+="$SLKCFLAGS" \
- CXXFLAGS+="$SLKCFLAGS"
-make install INSTALL_ROOT=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-## Do not overwrite Qwt 6 man pages
-rm -Rf $PKG/usr/doc/man/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/doc/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
-
-if [ -e /usr/bin/requiredbuilder ]; then
- requiredbuilder -v -y -s $CWD $PKG
-fi
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/qwt5/qwt5.info b/libraries/qwt5/qwt5.info
deleted file mode 100644
index 26689b3956..0000000000
--- a/libraries/qwt5/qwt5.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qwt5"
-VERSION="5.2.3"
-HOMEPAGE="http://qwt.sourceforge.net/"
-DOWNLOAD="http://ufpr.dl.sourceforge.net/project/qwt/qwt/5.2.3/qwt-5.2.3.tar.bz2"
-MD5SUM="7d37a11d02bc7d095d0ca6427ec97b8d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Fellype do Nascimento"
-EMAIL="fellype(at)gmail.com"
diff --git a/libraries/qwt5/qwtconfig.pri.patch b/libraries/qwt5/qwtconfig.pri.patch
deleted file mode 100644
index fd81cf506d..0000000000
--- a/libraries/qwt5/qwtconfig.pri.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- qwtconfig.pri 2016-12-13 10:08:11.000000000 -0200
-+++ qwtconfig.pri.new 2016-12-13 10:07:49.000000000 -0200
-@@ -8,7 +8,7 @@
- VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
-
- unix {
-- INSTALLBASE = /usr/local/qwt-$$VERSION
-+ INSTALLBASE = /usr
- }
-
- win32 {
-@@ -16,7 +16,7 @@
- }
-
- target.path = $$INSTALLBASE/lib
--headers.path = $$INSTALLBASE/include
-+headers.path = $$INSTALLBASE/include/qwt5
- doc.path = $$INSTALLBASE/doc
-
- ######################################################################
-@@ -64,7 +64,7 @@
- ######################################################################
-
- DEBUG_SUFFIX =
--RELEASE_SUFFIX =
-+RELEASE_SUFFIX = 5
-
- win32 {
- DEBUG_SUFFIX = d
-@@ -98,7 +98,7 @@
- # QwtSVGItem.
- ######################################################################
-
--#CONFIG += QwtSVGItem
-+CONFIG += QwtSVGItem
-
- ######################################################################
- # You can use the MathML renderer of the Qt solutions package to
diff --git a/libraries/qwt5/slack-desc b/libraries/qwt5/slack-desc
deleted file mode 100644
index 60144161e4..0000000000
--- a/libraries/qwt5/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------------------------------------------------------|
-qwt5: qwt5 (GUI Components & utility)
-qwt5:
-qwt5: The Qwt library contains GUI Components and utility classes which are
-qwt5: primarily useful for programs with a technical background. Beside a
-qwt5: 2D plot widget it provides scales, sliders, dials, compasses,
-qwt5: thermometers, wheels and knobs to control or display values, arrays,
-qwt5: or ranges of type double.
-qwt5:
-qwt5:
-qwt5:
-qwt5:
diff --git a/libraries/qwtplot3d/README b/libraries/qwtplot3d/README
deleted file mode 100644
index cfec1a9015..0000000000
--- a/libraries/qwtplot3d/README
+++ /dev/null
@@ -1,5 +0,0 @@
-QwtPlot3D (A Qt/OpenGL-based C++ programming library)
-
-QwtPlot3D is not a program, but a feature-rich Qt/OpenGL-based C++
-programming library, providing essentially a bunch of 3D-widgets
-for programmers. The library is zlib licensed. \ No newline at end of file
diff --git a/libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch b/libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch
deleted file mode 100644
index ae10f48f07..0000000000
--- a/libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -urbN qwtplot3d/include/qwt3d_io_gl2ps.h qwtplot3d.patched/include/qwt3d_io_gl2ps.h
---- qwtplot3d/include/qwt3d_io_gl2ps.h 2005-07-10 16:54:52.000000000 +0300
-+++ qwtplot3d.patched/include/qwt3d_io_gl2ps.h 2012-01-21 22:15:20.000000000 +0200
-@@ -2,12 +2,7 @@
- #define qwt3d_io_gl2ps_h__2004_05_07_01_16_begin_guarded_code
-
- #include <time.h>
--
--#if QT_VERSION < 0x040000
--#include <qgl.h>
--#else
--#include <QtOpenGL/qgl.h>
--#endif
-+#include <QtOpenGL>
-
- #include "qwt3d_types.h"
- #include "qwt3d_io.h"
-diff -urbN qwtplot3d/include/qwt3d_openglhelper.h qwtplot3d.patched/include/qwt3d_openglhelper.h
---- qwtplot3d/include/qwt3d_openglhelper.h 2005-07-19 17:40:28.000000000 +0300
-+++ qwtplot3d.patched/include/qwt3d_openglhelper.h 2012-01-21 22:29:56.000000000 +0200
-@@ -2,11 +2,8 @@
- #define __openglhelper_2003_06_06_15_49__
-
- #include "qglobal.h"
--#if QT_VERSION < 0x040000
--#include <qgl.h>
--#else
--#include <QtOpenGL/qgl.h>
--#endif
-+#include <QtOpenGL>
-+#include <GL/glu.h>
-
- namespace Qwt3D
- {
diff --git a/libraries/qwtplot3d/qwtplot3d.SlackBuild b/libraries/qwtplot3d/qwtplot3d.SlackBuild
deleted file mode 100644
index b17a537893..0000000000
--- a/libraries/qwtplot3d/qwtplot3d.SlackBuild
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-# Heavily based on the Slackware 13.37 SlackBuild
-# http://qwtplot3d.sourceforge.net
-# Written by Andrea Sciucca ( gohanz at infinito.it)
-# http://www.slacky.eu
-# Modified by Fellype do Nascimento (2016)
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=qwtplot3d
-VERSION=${VERSION:-0.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=""
- BASELIBDIR="lib${LIBDIRSUFFIX}"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- BASELIBDIR="lib${LIBDIRSUFFIX}"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BASELIBDIR="lib${LIBDIRSUFFIX}"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-tar xvzf $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 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-#Applying a patch to fix problems with qt >= 4.8
-patch -p1 < $CWD/$PRGNAM-qt-4.8.0.patch
-
-qmake PREFIX=/usr -o Makefile qwtplot3d.pro
-
-LDFLAGS="$SLKLDFLAGS" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-mkdir -p $PKG/usr/include
-
-cp -f -d $TMP/$PRGNAM/lib/* $PKG/usr/lib${LIBDIRSUFFIX}
-cp -f $TMP/$PRGNAM/include/* $PKG/usr/include
-
-# Add documentation files
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cd $CWD
-cp -a $TMP/$PRGNAM/COPYING $PRGNAM.SlackBuild slack-desc $PKG/usr/doc/$PRGNAM-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# Strip binaries and shared objects, if present
-cd $PKG
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs -r strip --strip-unneeded 2> /dev/null || true
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs -r strip --strip-unneeded 2> /dev/null || true
-find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs -r strip --strip-unneeded 2> /dev/null || true
-
-chown -R root:root .
-
-# Find and print dependencies into slack-required file
-if [ -x /usr/bin/requiredbuilder ];then
- requiredbuilder -y -v -s $CWD $PKG
-fi
-
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/qwtplot3d/qwtplot3d.info b/libraries/qwtplot3d/qwtplot3d.info
deleted file mode 100644
index 5cf781b084..0000000000
--- a/libraries/qwtplot3d/qwtplot3d.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qwtplot3d"
-VERSION="0.2.7"
-HOMEPAGE="http://qwtplot3d.sourceforge.net/"
-DOWNLOAD="http://ufpr.dl.sourceforge.net/project/qwtplot3d/qwtplot3d/0.2.7/qwtplot3d-0.2.7.tgz"
-MD5SUM="2f14660152e2e26bfeaaeec479ed9f2b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Fellype do Nascimento"
-EMAIL="fellype(at)gmail.com"
diff --git a/libraries/qwtplot3d/slack-desc b/libraries/qwtplot3d/slack-desc
deleted file mode 100644
index 37b5607f87..0000000000
--- a/libraries/qwtplot3d/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------------------------------------------------------|
-qwtplot3d: qwtplot3d (A Qt/OpenGL-based C++ programming library)
-qwtplot3d:
-qwtplot3d: QwtPlot3D is not a program, but a feature-rich Qt/OpenGL-based C++
-qwtplot3d: programming library, providing essentially a bunch of 3D-widgets
-qwtplot3d: for programmers. The library is zlib licensed.
-qwtplot3d:
-qwtplot3d:
-qwtplot3d:
-qwtplot3d:
-qwtplot3d:
-qwtplot3d:
diff --git a/libraries/qwtpolar/README b/libraries/qwtpolar/README
deleted file mode 100644
index 8104678f86..0000000000
--- a/libraries/qwtpolar/README
+++ /dev/null
@@ -1,7 +0,0 @@
-QwtPolar - A Qwt/Qt Polar plot library with classes for
-displaying values on a polar coordinate system.
-
-Support for Qt5 will be included if, at build time,
-the SlackBuild detects the presence of both:
-1. qwt package built with Qt5 support
-2. qt5 package
diff --git a/libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch b/libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch
deleted file mode 100644
index ab5354da42..0000000000
--- a/libraries/qwtpolar/qwtpolar-1.1.1-pkgconfig.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-commit 223b5436294642c8d1e2150783f3703b28a93430
-Author: Volker Fröhlich <volker27@gmx.at>
-Date: Tue Sep 23 21:06:37 2014 +0200
-
- Add chkconfig support
-
-diff --git a/src/src.pro b/src/src.pro
-index 86e6a57..d9c7567 100644
---- a/src/src.pro 2014-09-19 20:28:24.308002267 +1000
-+++ b/src/src.pro 2015-10-05 10:29:40.869985742 +1000
-@@ -16,6 +16,16 @@
- TEMPLATE = lib
- TARGET = $$qwtPolarLibraryTarget(qwtpolar)
-
-+# pkgconfig support
-+CONFIG += create_pc create_prl no_install_prl
-+QMAKE_PKGCONFIG_NAME = qwtpolar
-+QMAKE_PKGCONFIG_DESCRIPTION = Qt/Qwt Polar Plot Widget
-+QMAKE_PKGCONFIG_PREFIX = $${QWT_POLAR_INSTALL_PREFIX}
-+QMAKE_PKGCONFIG_LIBDIR = $${QWT_POLAR_INSTALL_LIBS}
-+QMAKE_PKGCONFIG_INCDIR = $${QWT_POLAR_INSTALL_HEADERS}
-+QMAKE_PKGCONFIG_REQUIRES = qwt QtCore
-+QMAKE_PKGCONFIG_DESTDIR = pkgconfig
-+
- DESTDIR = $${QWT_POLAR_ROOT}/lib
-
- contains(QWT_POLAR_CONFIG, QwtPolarDll ) {
diff --git a/libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch b/libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch
deleted file mode 100644
index 438bb44276..0000000000
--- a/libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- ../src/src.pro.orig 2018-09-17 17:15:25.091000000 +1000
-+++ ../src/src.pro 2018-09-17 17:27:50.284000000 +1000
-@@ -14,7 +14,12 @@
- include( $${QWT_POLAR_ROOT}/qwtpolarfunctions.pri )
-
- TEMPLATE = lib
--TARGET = $$qwtPolarLibraryTarget(qwtpolar)
-+greaterThan(QT_MAJOR_VERSION, 4) {
-+ TARGET = $$qwtPolarLibraryTarget(qwtpolar-qt5)
-+}
-+else {
-+ TARGET = $$qwtPolarLibraryTarget(qwtpolar)
-+}
-
- # pkgconfig support
- CONFIG += create_pc create_prl no_install_prl
---- ../designer/designer.pro.orig 2014-09-19 20:28:24.313002267 +1000
-+++ ../designer/designer.pro 2018-09-17 17:32:26.175000000 +1000
-@@ -60,7 +60,12 @@
- LIBS += -L$${QWT_POLAR_ROOT}/lib
- }
-
-- qwtPolarAddLibrary(qwtpolar)
-+ greaterThan(QT_MAJOR_VERSION, 4) {
-+ qwtPolarAddLibrary(qwtpolar-qt5)
-+ }
-+ else {
-+ qwtPolarAddLibrary(qwtpolar)
-+ }
-
- contains(CONFIG, QwtPolarDll) {
-
diff --git a/libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch b/libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch
deleted file mode 100644
index 3458078b66..0000000000
--- a/libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch
+++ /dev/null
@@ -1,54 +0,0 @@
---- a/qwtpolarbuild.pri 2014-09-19 20:28:24.314002267 +1000
-+++ b/qwtpolarbuild.pri 2015-09-25 16:41:20.445026649 +1000
-@@ -13,7 +13,7 @@
- CONFIG += qt
- CONFIG += warn_on
- CONFIG += no_keywords
--CONFIG += silent
-+#CONFIG += silent
-
- CONFIG += qwt
-
---- a/qwtpolarconfig.pri 2014-09-19 20:28:24.318002267 +1000
-+++ b/qwtpolarconfig.pri 2015-09-25 16:45:43.466042709 +1000
-@@ -16,23 +16,19 @@
- QWT_POLAR_VERSION = $${QWT_POLAR_VER_MAJ}.$${QWT_POLAR_VER_MIN}.$${QWT_POLAR_VER_PAT}
-
- unix {
-- QWT_POLAR_INSTALL_PREFIX = /usr/local/qwtpolar-$$QWT_POLAR_VERSION
-+ QWT_POLAR_INSTALL_PREFIX = /usr
- }
-
--win32 {
-- QWT_POLAR_INSTALL_PREFIX = C:/QwtPolar-$$QWT_POLAR_VERSION
--}
--
--QWT_POLAR_INSTALL_DOCS = $${QWT_POLAR_INSTALL_PREFIX}/doc
--QWT_POLAR_INSTALL_HEADERS = $${QWT_POLAR_INSTALL_PREFIX}/include
--QWT_POLAR_INSTALL_LIBS = $${QWT_POLAR_INSTALL_PREFIX}/lib
-+QWT_POLAR_INSTALL_DOCS = $${QWT_POLAR_INSTALL_PREFIX}/doc/qwtpolar-$${QWT_POLAR_VERSION}
-+QWT_POLAR_INSTALL_HEADERS = $${QWT_POLAR_INSTALL_PREFIX}/include/qwt
-+QWT_POLAR_INSTALL_LIBS = $${QWT_POLAR_INSTALL_PREFIX}/lib$${LIBDIRSUFFIX}
-
- ######################################################################
- # Designer plugin
- ######################################################################
-
--QWT_POLAR_INSTALL_PLUGINS = $${QWT_POLAR_INSTALL_PREFIX}/plugins/designer
--# QWT_POLAR_INSTALL_PLUGINS = $${QT_INSTALL_PREFIX}/plugins/designer
-+#QWT_POLAR_INSTALL_PLUGINS = $${QWT_POLAR_INSTALL_PREFIX}/plugins/designer
-+QWT_POLAR_INSTALL_PLUGINS = $$[QT_INSTALL_PLUGINS]/designer
-
- ######################################################################
- # Build the static/shared libraries.
-@@ -61,8 +57,8 @@
- # with every Qt upgrade.
- ######################################################################
-
--QWT_POLAR_INSTALL_FEATURES = $${QWT_POLAR_INSTALL_PREFIX}/features
--# QWT_INSTALL_FEATURES = $${QT_INSTALL_PREFIX}/features
-+#QWT_POLAR_INSTALL_FEATURES = $${QWT_POLAR_INSTALL_PREFIX}/features
-+QWT_POLAR_INSTALL_FEATURES = $$[QMAKE_MKSPECS]/features
-
- ######################################################################
- # If you want to build the QwtPolar designer plugin,
diff --git a/libraries/qwtpolar/qwtpolar.SlackBuild b/libraries/qwtpolar/qwtpolar.SlackBuild
deleted file mode 100644
index fd33416f7f..0000000000
--- a/libraries/qwtpolar/qwtpolar.SlackBuild
+++ /dev/null
@@ -1,123 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for qwtpolar
-
-# 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.
-
-PRGNAM=qwtpolar
-VERSION=${VERSION:-1.1.1}
-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
-
-# If Qt5 is installed, assume we want to use it
-QWTP_QT5="no" ; pkg-config --exists Qt5 ; if [ "$?" = "0" ]; then QWTP_QT5="yes" ; fi
-# Also need qwt to have been built with Qt5 support
-pkg-config --exists Qt5Qwt6 ; if [ "$?" != "0" ]; then QWTP_QT5="no" ; 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
-
-patch -p1 < $CWD/qwtpolar-1.1.1-qt_paths.patch
-patch -p1 < $CWD/qwtpolar-1.1.1-pkgconfig.patch
-patch -p1 < $CWD/qwtpolar-1.1.1-qt5.patch
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir build-qt4
-cd build-qt4
-qmake ../qwtpolar.pro LIBDIRSUFFIX=$LIBDIRSUFFIX
-make
-make install INSTALL_ROOT=$PKG
-cd ..
-
-if [ "$QWTP_QT5" = "yes" ]; then
- echo "Supporting Qt5"
- mkdir build-qt5
- cd build-qt5
- qmake-qt5 ../qwtpolar.pro LIBDIRSUFFIX=$LIBDIRSUFFIX
- make
- make install INSTALL_ROOT=$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
-
-mv $PKG/usr/doc/$PRGNAM-$VERSION/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/examples
-find ./build-qt4/examples/ -name moc -type d |xargs rm -rf
-find ./build-qt4/examples/ -name obj -type d |xargs rm -rf
-cp -a ./build-qt4/examples/* $PKG/usr/doc/$PRGNAM-$VERSION/examples/
-if [ -d build-qt5 ]; then
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples-qt5
- find ./build-qt5/examples/ -name moc -type d |xargs rm -rf
- find ./build-qt5/examples/ -name obj -type d |xargs rm -rf
- cp -a ./build-qt5/examples/* $PKG/usr/doc/$PRGNAM-$VERSION/examples-qt5/
-fi
-cp -a CHANGES* COPYING INSTALL $PKG/usr/doc/$PRGNAM-$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/libraries/qwtpolar/qwtpolar.info b/libraries/qwtpolar/qwtpolar.info
deleted file mode 100644
index 556bb16acb..0000000000
--- a/libraries/qwtpolar/qwtpolar.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qwtpolar"
-VERSION="1.1.1"
-HOMEPAGE="http://qwtpolar.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/qwtpolar/qwtpolar/1.1.1/qwtpolar-1.1.1.tar.bz2"
-MD5SUM="0f549b51a06fa0f0f43b12f3269fe206"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qwt"
-MAINTAINER="Christoph Willing"
-EMAIL="chris.willing@linux.com"
diff --git a/libraries/qwtpolar/slack-desc b/libraries/qwtpolar/slack-desc
deleted file mode 100644
index ac03d245ff..0000000000
--- a/libraries/qwtpolar/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------------------------------------------------------|
-qwtpolar: qwtpolar (Qwt/Qt Polar Plot Library)
-qwtpolar:
-qwtpolar: The QwtPolar library contains classes for displaying values on a
-qwtpolar: polar coordinate system.
-qwtpolar:
-qwtpolar:
-qwtpolar:
-qwtpolar:
-qwtpolar:
-qwtpolar:
-qwtpolar:
diff --git a/libraries/qxmpp/README b/libraries/qxmpp/README
new file mode 100644
index 0000000000..7e35378740
--- /dev/null
+++ b/libraries/qxmpp/README
@@ -0,0 +1,15 @@
+QXmpp is a cross-platform C++ XMPP client and server library. It is
+written in C++ and uses Qt framework.
+
+QXmpp strives to be as easy to use as possible, the underlying TCP
+socket, the core XMPP RFCs (RFC6120 and RFC6121) and XMPP extensions
+have been nicely encapsulated into classes. QXmpp is ready to build
+XMPP clients complying with the XMPP Compliance Suites 2022 for IM and
+Advanced Mobile. It comes with full API documentation, automatic tests
+and some examples.
+
+QXmpp uses Qt extensively, and as such users need to a have working
+knowledge of C++ and Qt basics (Signals and Slots and Qt data types).
+
+Qt is the only third party library which is required to build QXmpp,
+but libraries such as GStreamer enable additional features.
diff --git a/libraries/qxmpp/qxmpp.SlackBuild b/libraries/qxmpp/qxmpp.SlackBuild
new file mode 100644
index 0000000000..a7841ccf4d
--- /dev/null
+++ b/libraries/qxmpp/qxmpp.SlackBuild
@@ -0,0 +1,115 @@
+#!/bin/bash
+
+# Slackware build script for qxmpp
+
+# 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=qxmpp
+VERSION=${VERSION:-1.5.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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} \
+ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -DCMAKE_C_COMPILER_LAUNCHER=ccache \
+ -DWITH_GSTREAMER=true \
+ -DQT_VERSION_MAJOR=5 \
+ -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 \
+AUTHORS SECURITY.md doc/ \
+CHANGELOG.md LICENSES/ README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/qxmpp/qxmpp.info b/libraries/qxmpp/qxmpp.info
new file mode 100644
index 0000000000..29cc82b8b8
--- /dev/null
+++ b/libraries/qxmpp/qxmpp.info
@@ -0,0 +1,10 @@
+PRGNAM="qxmpp"
+VERSION="1.5.5"
+HOMEPAGE="https://github.com/qxmpp-project/qxmpp/"
+DOWNLOAD="https://github.com/qxmpp-project/qxmpp/archive/v1.5.5/qxmpp-1.5.5.tar.gz"
+MD5SUM="24637d1f894887178ec961496873358a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.qxmpp_2023-11-17@lockywolf.net"
diff --git a/libraries/qxmpp/slack-desc b/libraries/qxmpp/slack-desc
new file mode 100644
index 0000000000..4714938f40
--- /dev/null
+++ b/libraries/qxmpp/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------------------------------------------------------|
+qxmpp: qxmpp (c++ library for XMPP/Jabber)
+qxmpp:
+qxmpp: QXmpp is a cross-platform C++ XMPP client and server library. It is
+qxmpp: written in C++ and uses Qt framework.
+qxmpp:
+qxmpp:
+qxmpp:
+qxmpp:
+qxmpp:
+qxmpp:
+qxmpp:
diff --git a/libraries/rabbitmq-c/README b/libraries/rabbitmq-c/README
index c9c03a2d15..5eda5e78fe 100644
--- a/libraries/rabbitmq-c/README
+++ b/libraries/rabbitmq-c/README
@@ -1,11 +1,55 @@
This is a C-language AMQP client library for use with v2.0+ of the
RabbitMQ broker.
-Under the /usr/doc/rabbitmq-c-$VERSION/ directory are examples/ and
-tests/ subdirectories.
+* `BUILD_EXAMPLES=ON/OFF` toggles building the examples.
+ OFF by default.
+
+* `BUILD_SHARED_LIBS=ON/OFF` toggles building rabbitmq-c as a shared
+ library.
+ ON by default.
+
+* `BUILD_STATIC_LIBS=ON/OFF` toggles building rabbitmq-c as a static
+ library.
+ OFF by default.
+
+* `BUILD_TESTS=ON/OFF` toggles building test code.
+ OFF by default.
+
+* `BUILD_TOOLS=ON/OFF` toggles building the command line tools.
+ ON by default.
+
+* `BUILD_TOOLS_DOCS=ON/OFF` toggles building the man pages for the
+ command line tools.
+ ON by default if BUILD_TOOLS is ON and xmlto is installed.
+
+* `ENABLE_SSL_SUPPORT=ON/OFF` toggles building rabbitmq-c with SSL
+ support.
+ ON by default if the OpenSSL headers and library can be found.
+
+* `BUILD_API_DOCS=ON/OFF` toggles building the Doxygen API documentation
+ OFF by default.
+
+* `RUN_SYSTEM_TESTS=ON/OFF` toggles building the system tests. Tests
+ require an accessible RabbitMQ server instance on localhost.
+ OFF by default.
+
+If BUILD_EXAMPLES=ON or BUILD_TESTS=ON then executable programs will
+be compiled from sources in /usr/doc/rabbitmq-c-$VERSION/examples/src/
+-and-or- /usr/doc/rabbitmq-c-$VERSION/examples/src/ The Extra Programs
+will be installed in /usr/doc/rabbitmq-c-$VERSION/{examples,tests}/bin/
+
+For Example, to build examples and tests:
+
+BUILD_EXAMPLES=ON BUILD_TESTS=ON ./rabbitmq-c.SlackBuild
To build a nice html Doxygen API documentation tree in the directory
/usr/doc/rabbitmq-c-$VERSION/html/ you need to pass BUILD_API_DOCS=ON
to the script, for example
BUILD_API_DOCS=ON ./rabbitmq-c.SlackBuild
+
+To build examples, tests and the html documentation:
+
+BUILD_EXAMPLES=ON \
+BUILD_TESTS=ON \
+BUILD_API_DOCS=ON ./rabbitmq-c.SlackBuild
diff --git a/libraries/rabbitmq-c/rabbitmq-c.SlackBuild b/libraries/rabbitmq-c/rabbitmq-c.SlackBuild
index 92d634d8df..42d97c224e 100644
--- a/libraries/rabbitmq-c/rabbitmq-c.SlackBuild
+++ b/libraries/rabbitmq-c/rabbitmq-c.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rabbitmq-c
@@ -21,11 +21,25 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=rabbitmq-c
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# these are rabbitmq-c CMake default options that are incompatible
+# with a SlackBuild. When turned on executables will be in the
+# /usr/doc/$PRGNAM-$VERSION/{examples,tests}/bin/ directories
+BUILD_EXAMPLES=${BUILD_EXAMPLES:-OFF}
+BUILD_TESTS=${BUILD_TESTS:-OFF}
+BUILD_TOOLS_DOCS=${BUILD_TOOLS_DOCS:-ON}
+
+# from CMakeLists.txt: tests and examples require the static library
+[ "$BUILD_TESTS" = "ON" \
+-o "$BUILD_EXAMPLES" = "ON" ] && BUILD_STATIC_LIBS=ON
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -60,7 +81,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.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -98,13 +119,46 @@ fi
for d in examples tests; do
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$d/src
- cp -a $d/* $PKG/usr/doc/$PRGNAM-$VERSION/$d/src/
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/$d/bin
- cp -a build/$d/* $PKG/usr/doc/$PRGNAM-$VERSION/$d/bin/
+ cp -a $d/* $PKG/usr/doc/$PRGNAM-$VERSION/$d/src/ || true
done
+if [ "$BUILD_EXAMPLES" = "ON" ] ; then
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples/bin
+ cp -a build/examples/* $PKG/usr/doc/$PRGNAM-$VERSION/examples/bin/ || true
+fi
+if [ "$BUILD_TESTS" = "ON" ] ; then
+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/tests/bin
+ cp -a build/tests/* $PKG/usr/doc/$PRGNAM-$VERSION/tests/bin/ || true
+fi
+
+# maybe make man entries in /usr/man/man1 and /usr/man/man7
+if [ -x `which xmlto` ] ; then
+ if [ "$BUILD_TOOLS" != "OFF" -a "$BUILD_TOOLS_DOCS" != "OFF" ] ;
+ then
+ mkdir -p $PKG/usr/man || true
+ cd $TMP/$PRGNAM-$VERSION/tools/doc
+ touch man-date.ent
+
+ for x in *.xml ; do
+ xmlto man $x
+ done
+
+ for m in *.[1-9] ; do
+ s="$(echo $m |awk -F'.' '{ print $NF }')"
+
+ [ "$s" = "" ] && continue
+
+ d="$PKG/usr/man/man${s}"
+
+ [ ! -d "$d" ] && mkdir -p "$d"
+
+ gzip < $m > $d/$m.gz
+ done
+ fi
+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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/rabbitmq-c/rabbitmq-c.info b/libraries/rabbitmq-c/rabbitmq-c.info
index 5117db9d2e..609bef612f 100644
--- a/libraries/rabbitmq-c/rabbitmq-c.info
+++ b/libraries/rabbitmq-c/rabbitmq-c.info
@@ -1,8 +1,8 @@
PRGNAM="rabbitmq-c"
-VERSION="0.8.0"
-HOMEPAGE="https://github.com/alanxz/rabbitmq-c/releases"
-DOWNLOAD="https://github.com/alanxz/rabbitmq-c/releases/download/v0.8.0/rabbitmq-c-0.8.0.tar.gz"
-MD5SUM="c15dbcd2dbb8e254c1de0494c1bb8c91"
+VERSION="0.11.0"
+HOMEPAGE="https://github.com/alanxz/rabbitmq-c"
+DOWNLOAD="https://github.com/alanxz/rabbitmq-c/archive/refs/tags/v0.11.0/rabbitmq-c-0.11.0.tar.gz"
+MD5SUM="e7d9896577aea6351811d7c1d7f0a68a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rabbitmq-server"
diff --git a/libraries/range-v3/README b/libraries/range-v3/README
new file mode 100644
index 0000000000..bcf2dece03
--- /dev/null
+++ b/libraries/range-v3/README
@@ -0,0 +1,5 @@
+Range library for C++14/17/20. This code was the basis of a formal
+proposal to add range support to the C++ standard library. That proposal
+evolved through a Technical Specification, and finally into P0896R4 "The
+One Ranges Proposal" which was merged into the C++20 working drafts in
+November 2018.
diff --git a/libraries/range-v3/range-v3.SlackBuild b/libraries/range-v3/range-v3.SlackBuild
new file mode 100644
index 0000000000..65fd7ec15f
--- /dev/null
+++ b/libraries/range-v3/range-v3.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for range-v3
+
+# Copyright 2022 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=range-v3
+VERSION=${VERSION:-0.12.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_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=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
+rm -rf $PKG/usr/share/ $PKG/usr/doc/$PRGNAM-$VERSION/NEWS
+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
diff --git a/libraries/range-v3/range-v3.info b/libraries/range-v3/range-v3.info
new file mode 100644
index 0000000000..ca9d904d07
--- /dev/null
+++ b/libraries/range-v3/range-v3.info
@@ -0,0 +1,10 @@
+PRGNAM="range-v3"
+VERSION="0.12.0"
+HOMEPAGE="https://github.com/ericniebler/range-v3"
+DOWNLOAD="https://github.com/ericniebler/range-v3/archive/0.12.0/range-v3-0.12.0.tar.gz"
+MD5SUM="373a795e450fd1c8251df624be784710"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ebben Aries"
+EMAIL="slackbuilds@dscp.org"
diff --git a/libraries/range-v3/slack-desc b/libraries/range-v3/slack-desc
new file mode 100644
index 0000000000..b9deca3b7a
--- /dev/null
+++ b/libraries/range-v3/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------------------------------------------------------|
+range-v3: range-v3 (C++ Range Library)
+range-v3:
+range-v3: Range library for C++14/17/20. This code was the basis of a formal
+range-v3: proposal to add range support to the C++ standard library. That
+range-v3: proposal evolved through a Technical Specification, and finally into
+range-v3: P0896R4 "The One Ranges Proposal" which was merged into the C++20
+range-v3: working drafts in November 2018.
+range-v3:
+range-v3:
+range-v3: Homepage: https://github.com/ericniebler/range-v3
+range-v3:
diff --git a/libraries/rapidjson/rapidjson.SlackBuild b/libraries/rapidjson/rapidjson.SlackBuild
index 7df09edb3c..e1454d89c6 100644
--- a/libraries/rapidjson/rapidjson.SlackBuild
+++ b/libraries/rapidjson/rapidjson.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for RapidJson
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - remove symlink in /usr/doc.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rapidjson
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
# Patch for -current but should be harmless on -stable
patch -p1 < $CWD/fix-build-on-gcc7.diff
@@ -76,7 +86,7 @@ find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i
mkdir -p build
cd build
cmake \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
@@ -88,11 +98,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/RapidJSON/* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.md license.txt readme.md readme.zh-cn.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-ln -s $PRGNAM-$VERSION $PKG/usr/doc/RapidJSON
rmdir --parents $PKG/usr/share/doc/RapidJSON 2>/dev/null || true
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/rapidyaml/README b/libraries/rapidyaml/README
new file mode 100644
index 0000000000..16bf67689b
--- /dev/null
+++ b/libraries/rapidyaml/README
@@ -0,0 +1,33 @@
+Rapid YAML, or ryml for short. ryml is a C++ library to parse and emit
+YAML, and do it fast, on everything from x64 to bare-metal chips
+without operating system. (If you are looking to use your programs
+with a YAML tree as a configuration tree with override facilities,
+take a look at c4conf).
+
+ryml parses both read-only and in-situ source buffers; the resulting
+data nodes hold only views to sub-ranges of the source buffer. No
+string copies or duplications are done, and no virtual functions are
+used. The data tree is a flat index-based structure stored in a single
+array. Serialization happens only at your direct request, after
+parsing / before emitting. Internally, the data tree representation
+stores only string views and has no knowledge of types, but of course,
+every node can have a YAML type tag. ryml makes it easy and fast to
+read and modify the data tree.
+
+ryml is available as a single header file, or it can be used as a
+simple library with cmake -- both separately (ie build->install->
+find_package()) or together with your project (ie with
+add_subdirectory()).
+
+ryml can use custom global and per-tree memory allocators and error
+handler callbacks, and is exception-agnostic. ryml provides a default
+implementation for the allocator (using std::malloc()) and error
+handlers (using using std::abort() is provided, but you can opt out
+and provide your own memory allocation and eg, exception-throwing
+callbacks.
+
+ryml does not depend on the STL, ie, it does not use any std
+container as part of its data structures), but it can serialize and
+deserialize these containers into the data tree, with the use of
+optional headers. ryml ships with c4core a small C++ utilities
+multiplatform library.
diff --git a/libraries/rapidyaml/rapidyaml.SlackBuild b/libraries/rapidyaml/rapidyaml.SlackBuild
new file mode 100644
index 0000000000..74e8f7e7b5
--- /dev/null
+++ b/libraries/rapidyaml/rapidyaml.SlackBuild
@@ -0,0 +1,137 @@
+#!/bin/bash
+
+# Slackware build script for rapidyaml
+
+# Copyright 2022 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=rapidyaml
+VERSION=${VERSION:-0.4.1}
+C4CORE=${C4CORE:-d35c7c9bf370134595699d791e6ff8db018ddc8d}
+CMAKE=${CMAKE:-371982300ff5a076d7c3199057ebed77bbe3472f}
+DEBUGBREAK=${DEBUGBREAK:-5dcbe41d2bd4712c8014aa7e843723ad7b40fd74}
+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}
+DEPS=$TMP/$PRGNAM-$VERSION/ext
+
+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
+
+tar xvf $CWD/c4core-$C4CORE.tar.gz -C \
+ $DEPS/c4core --strip-components 1
+tar xvf $CWD/cmake-$CMAKE.tar.gz -C \
+ $DEPS/c4core/cmake --strip-components 1
+tar xvf $CWD/debugbreak-$DEBUGBREAK.tar.gz -C \
+ $DEPS/c4core/src/c4/ext/debugbreak --strip-components 1
+export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+ -DRYML_BUILD_API=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+python3 setup.py install --root=$PKG
+
+rm $PKG/usr/_ryml.so
+rm $PKG/usr/ryml.py
+
+if [ "$LIBDIRSUFFIX" != "" ]; then
+ mv $PKG/usr/lib/* $PKG/usr/lib${LIBDIRSUFFIX}/
+ rmdir $PKG/usr/lib
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/c4core/c4coreConfig.cmake
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/c4core/c4coreTargets.cmake
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/c4core/c4coreTargets-release.cmake
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/ryml/rymlConfig.cmake
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/ryml/rymlTargets.cmake
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/ryml/rymlTargets-release.cmake
+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 \
+ *.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/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/rapidyaml/rapidyaml.info b/libraries/rapidyaml/rapidyaml.info
new file mode 100644
index 0000000000..0268902a8e
--- /dev/null
+++ b/libraries/rapidyaml/rapidyaml.info
@@ -0,0 +1,16 @@
+PRGNAM="rapidyaml"
+VERSION="0.4.1"
+HOMEPAGE="https://github.com/biojppm/rapidyaml"
+DOWNLOAD="https://github.com/biojppm/rapidyaml/archive/v0.4.1/rapidyaml-0.4.1.tar.gz \
+ https://github.com/biojppm/c4core/archive/d35c7c9bf370134595699d791e6ff8db018ddc8d/c4core-d35c7c9bf370134595699d791e6ff8db018ddc8d.tar.gz \
+ https://github.com/biojppm/cmake/archive/371982300ff5a076d7c3199057ebed77bbe3472f/cmake-371982300ff5a076d7c3199057ebed77bbe3472f.tar.gz \
+ https://github.com/biojppm/debugbreak/archive/5dcbe41d2bd4712c8014aa7e843723ad7b40fd74/debugbreak-5dcbe41d2bd4712c8014aa7e843723ad7b40fd74.tar.gz"
+MD5SUM="7643e9744cbac0758db77512a177c0e1 \
+ 5b92fc9443a5c5670f6bef371e0f91ed \
+ 6c44a93583b12250f154f6256bd06e34 \
+ 910b9328f335ae67f42ab090c6607f26"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-cmake-build-extension python-setuptools-git"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/rapidyaml/slack-desc b/libraries/rapidyaml/slack-desc
new file mode 100644
index 0000000000..ebab75125f
--- /dev/null
+++ b/libraries/rapidyaml/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------------------------------------------------------|
+rapidyaml: rapidyaml (C++ library to parse and emit YAML)
+rapidyaml:
+rapidyaml: Rapid YAML is a library to parse and emit YAML, and do it fast.
+rapidyaml:
+rapidyaml: Homepage: https://github.com/biojppm/rapidyaml
+rapidyaml:
+rapidyaml:
+rapidyaml:
+rapidyaml:
+rapidyaml:
+rapidyaml:
diff --git a/libraries/raptor/raptor-2.0.15-libxml2-2.11.patch b/libraries/raptor/raptor-2.0.15-libxml2-2.11.patch
new file mode 100644
index 0000000000..605301ca0f
--- /dev/null
+++ b/libraries/raptor/raptor-2.0.15-libxml2-2.11.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/906227
+https://github.com/dajobe/raptor/issues/59
+https://github.com/dajobe/raptor/pull/58
+
+From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001
+From: David Anes <david.anes@suse.com>
+Date: Thu, 4 May 2023 11:54:02 +0200
+Subject: [PATCH] Remove the access to entities 'checked' private symbol for
+ libxml2 2.11.0
+
+Since version 2.11.0, some private symbols that were never intended
+as public API/ABI have been removed from libxml2, therefore the field
+'checked' is no longer present and raptor fails to build in this
+scenario.
+--- a/src/raptor_libxml.c
++++ b/src/raptor_libxml.c
+@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name)
+
+ ret->owner = 1;
+
+-#if LIBXML_VERSION >= 20627
++#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
+ /* Checked field was released in 2.6.27 on 2006-10-25
+ * http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
+ *
++ * and was later removed in version 2.11.0
+ */
+
+ /* Mark this entity as having been checked - never do this again */
+
diff --git a/libraries/raptor/raptor.SlackBuild b/libraries/raptor/raptor.SlackBuild
index debe82a606..3e3ccbecb6 100644
--- a/libraries/raptor/raptor.SlackBuild
+++ b/libraries/raptor/raptor.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for raptor
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
+
+# Copyright 2012-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,29 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# some stuff is "inspired" by the official ex-raptor.SlackBuild
-# http://slackware.osuosl.org/slackware64-13.37/source/l/raptor/raptor.SlackBuild
+# some stuff is "inspired" by the official ex-raptor{,2}.SlackBuild
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=raptor
-VERSION=${VERSION:-1.4.21}
+VERSION=${VERSION:-2.0.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"
@@ -63,18 +73,17 @@ 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 \
- \( -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 {} \;
-# Remove a deprecated curl header
-sed -i "s|#include <curl/types\.h>||" src/raptor_internal.h
+patch -p1 < $CWD/raptor-2.0.15-libxml2-2.11.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -85,15 +94,12 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
+ --with-icu-config=/usr/bin/icu-config \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-# rapper is already included in raptor2, so rename it
-mv $PKG/usr/bin/{rapper,rapper1}
-mv $PKG/usr/man/man1/{rapper,rapper1}.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
@@ -102,11 +108,13 @@ 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-( cd $PKG/usr/doc/raptor-$VERSION ; ln -s /usr/share/gtk-doc/html/raptor html )
+( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s /usr/share/gtk-doc/html/${PRGNAM}2 html )
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/libraries/raptor/raptor.info b/libraries/raptor/raptor.info
index 08c91e3304..96ae762b26 100644
--- a/libraries/raptor/raptor.info
+++ b/libraries/raptor/raptor.info
@@ -1,8 +1,8 @@
PRGNAM="raptor"
-VERSION="1.4.21"
+VERSION="2.0.16"
HOMEPAGE="http://librdf.org"
-DOWNLOAD="http://download.librdf.org/source/raptor-1.4.21.tar.gz"
-MD5SUM="992061488af7a9e2d933df6b694bb876"
+DOWNLOAD="http://download.librdf.org/source/raptor2-2.0.16.tar.gz"
+MD5SUM="0a71f13b6eaa0a04bf411083d89d7bc2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/rarfile/README b/libraries/rarfile/README
index 958db48240..897463a7c5 100644
--- a/libraries/rarfile/README
+++ b/libraries/rarfile/README
@@ -3,11 +3,13 @@ RAR archive reader for Python.
This is Python module for RAR archive reading. The interface
is made as zipfile like as possible. Licensed under ISC
license.
-- Supports both RAR 2.x and 3.x archives.
+- Supports both RAR3 and RAR5 format archives.
- Supports multi volume archives.
- Supports Unicode filenames.
- Supports password-protected archives.
- Supports archive and file comments.
-- Archive parsing and non-compressed files are handled in pure Python code.
+- Archive parsing and non-compressed files handled in pure Python code.
- For compressed files runs ``unrar`` utility.
-- Works with both Python 2.x and 3.x.
+
+NOTE: Can swap unrar dependency for unrar-free, with whatever
+limitations unrar-free has over the proprietary unrar.
diff --git a/libraries/rarfile/rarfile.SlackBuild b/libraries/rarfile/rarfile.SlackBuild
index d4cd82b2e0..7669931081 100644
--- a/libraries/rarfile/rarfile.SlackBuild
+++ b/libraries/rarfile/rarfile.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rarfile
# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.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=rarfile
-VERSION=${VERSION:-3.1}
+VERSION=${VERSION:-4.2}
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,21 +63,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
-
-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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/rarfile/rarfile.info b/libraries/rarfile/rarfile.info
index 671979828e..37472876e9 100644
--- a/libraries/rarfile/rarfile.info
+++ b/libraries/rarfile/rarfile.info
@@ -1,10 +1,10 @@
PRGNAM="rarfile"
-VERSION="3.1"
+VERSION="4.2"
HOMEPAGE="https://github.com/markokr/rarfile"
-DOWNLOAD="https://files.pythonhosted.org/packages/88/0b/107dde3f330d04668e126932a09002ac47348841453aa0391634381fa087/rarfile-3.1.tar.gz"
-MD5SUM="d94cde501770c037b2054539d2977ff2"
+DOWNLOAD="https://github.com/markokr/rarfile/archive/refs/tags/v4.2/rarfile-4.2.tar.gz"
+MD5SUM="19d557536f63d4894332a5746c09dfa7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="unrar"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/rasqal/README b/libraries/rasqal/README
new file mode 100644
index 0000000000..96059cf996
--- /dev/null
+++ b/libraries/rasqal/README
@@ -0,0 +1,6 @@
+Redland is a library that provides a high-level interface for the
+Resource Description Framework (RDF) allowing the RDF graph to be
+parsed from XML, stored, queried and manipulated. Redland
+implements each of the RDF concepts in its own class via an object
+based API, reflected into the language APIs, currently C#, Java,
+Perl, PHP, Python, Ruby and Tcl.
diff --git a/libraries/rasqal/rasqal.SlackBuild b/libraries/rasqal/rasqal.SlackBuild
new file mode 100644
index 0000000000..0f3cb86b79
--- /dev/null
+++ b/libraries/rasqal/rasqal.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for rasqal
+
+# Copyright 2021 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=rasqal
+VERSION=${VERSION:-0.9.33}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+DOCS="AUTHORS COPYING* INSTALL INSTALL.html LICENSE* NEWS* NOTICE README*"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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
+
+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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ ln -s /usr/share/gtk-doc/html/$PRGNAM html
+)
+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
diff --git a/libraries/rasqal/rasqal.info b/libraries/rasqal/rasqal.info
new file mode 100644
index 0000000000..c2c37b5a03
--- /dev/null
+++ b/libraries/rasqal/rasqal.info
@@ -0,0 +1,10 @@
+PRGNAM="rasqal"
+VERSION="0.9.33"
+HOMEPAGE="http://librdf.org"
+DOWNLOAD="http://download.librdf.org/source/rasqal-0.9.33.tar.gz"
+MD5SUM="1f5def51ca0026cd192958ef07228b52"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="raptor"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/rasqal/slack-desc b/libraries/rasqal/slack-desc
new file mode 100644
index 0000000000..c1a1764d71
--- /dev/null
+++ b/libraries/rasqal/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------------------------------------------------------|
+rasqal: rasqal (RDF parsing library)
+rasqal:
+rasqal: Rasqal is a library providing full support for querying Resource
+rasqal: Description Framework (RDF) including parsing query syntaxes,
+rasqal: constructing the queries, executing them and returning result formats.
+rasqal: It currently handles the RDF Data Query Language (RDQL) and SPARQL
+rasqal: Query language.
+rasqal:
+rasqal: homepage: http://librdf.org
+rasqal:
+rasqal:
diff --git a/libraries/raylib/README b/libraries/raylib/README
new file mode 100644
index 0000000000..f8da3e89dd
--- /dev/null
+++ b/libraries/raylib/README
@@ -0,0 +1,9 @@
+raylib is a simple and easy-to-use library to enjoy videogames
+programming and it is highly inspired by Borland BGI graphics lib
+and by XNA framework.
+
+Set JARXM_LINEAR_INTERPOLATION=1 to patch jarxm to use linear
+interpolation instead of no interpolation when playing back XM
+(FastTracker II) music modules.
+
+Set WAYLAND=1 to make Raylib work on Wayland instead of X11.
diff --git a/libraries/raylib/jarxm_linear_interpolation.patch b/libraries/raylib/jarxm_linear_interpolation.patch
new file mode 100644
index 0000000000..65f1b1b1b9
--- /dev/null
+++ b/libraries/raylib/jarxm_linear_interpolation.patch
@@ -0,0 +1,10 @@
+--- raudio.c 2021-11-21 21:46:23.908021000 +0000
++++ raudio-new.c 2021-11-21 21:59:54.187104846 +0000
+@@ -1297,6 +1297,8 @@
+ jar_xm_context_t *ctxXm = NULL;
+ int result = jar_xm_create_context_from_file(&ctxXm, AUDIO.System.device.sampleRate, fileName);
+
++ ctxXm->module.linear_interpolation = 1;
++
+ music.ctxType = MUSIC_MODULE_XM;
+ music.ctxData = ctxXm;
diff --git a/libraries/raylib/raylib.SlackBuild b/libraries/raylib/raylib.SlackBuild
new file mode 100644
index 0000000000..73efeb0417
--- /dev/null
+++ b/libraries/raylib/raylib.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for raylib
+
+# 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=raylib
+VERSION=${VERSION:-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}
+
+JARXM_LINEAR_INTERPOLATION=${JARXM_LINEAR_INTERPOLATION:-0}
+WAYLAND=${WAYLAND:-0}
+
+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 [ $JARXM_LINEAR_INTERPOLATION -eq 1 ]; then
+ patch -d src < $CWD/jarxm_linear_interpolation.patch
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=ON \
+ -DUSE_WAYLAND=`[[ $WAYLAND -eq 1 ]] && echo "ON" || echo "OFF"` \
+ -DBUILD_EXAMPLES=OFF ..
+ make RAYLIB_MODULE_RAYGUI=TRUE
+ 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
+cat <<EOF > $PKG/usr/doc/$PRGNAM-$VERSION/build-flags
+WAYLAND="$WAYLAND"
+GLFW="$GLFW"
+EOF
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/raylib/raylib.info b/libraries/raylib/raylib.info
new file mode 100644
index 0000000000..eb78b09007
--- /dev/null
+++ b/libraries/raylib/raylib.info
@@ -0,0 +1,10 @@
+PRGNAM="raylib"
+VERSION="5.0"
+HOMEPAGE="https://raylib.com/"
+DOWNLOAD="https://github.com/raysan5/raylib/archive/refs/tags/5.0/raylib-5.0.tar.gz"
+MD5SUM="6d855d7bd87b506eb58308d4ed67ab97"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="rc_05"
+EMAIL="contact@rc-05.com"
diff --git a/libraries/raylib/slack-desc b/libraries/raylib/slack-desc
new file mode 100644
index 0000000000..e8c898f272
--- /dev/null
+++ b/libraries/raylib/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------------------------------------------------------|
+raylib: raylib (simple and easy-to-use library for game development)
+raylib:
+raylib: raylib is a simple and easy-to-use library to enjoy videogames
+raylib: programming.
+raylib:
+raylib: Homepage: https://raylib.com
+raylib:
+raylib:
+raylib:
+raylib:
+raylib:
diff --git a/libraries/re2/re2.SlackBuild b/libraries/re2/re2.SlackBuild
index 1fd6dfb038..e9c6ae87c8 100644
--- a/libraries/re2/re2.SlackBuild
+++ b/libraries/re2/re2.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for re2
-# Copyright 2018-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2018-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=re2
-VERSION=${VERSION:-2019_09_01}
+VERSION=${VERSION:-2024_04_01}
PKGVER=$(echo $VERSION | tr _ -)
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}
@@ -83,13 +91,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUILD CONTRIBUTING.md CONTRIBUTORS LICENSE README WORKSPACE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md LICENSE README 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/re2/re2.info b/libraries/re2/re2.info
index 9d42e175d1..b51d94de16 100644
--- a/libraries/re2/re2.info
+++ b/libraries/re2/re2.info
@@ -1,10 +1,10 @@
PRGNAM="re2"
-VERSION="2019_09_01"
+VERSION="2024_04_01"
HOMEPAGE="https://github.com/google/re2"
-DOWNLOAD="https://github.com/google/re2/archive/2019-09-01/re2-2019-09-01.tar.gz"
-MD5SUM="7f866527b1def4b0287d9eb3e871b1dc"
+DOWNLOAD="https://github.com/google/re2/archive/2024-04-01/re2-2024-04-01.tar.gz"
+MD5SUM="05e993e11aa173b63552fb4d88e6524c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES="abseil-cpp"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/redland/README b/libraries/redland/README
new file mode 100644
index 0000000000..96059cf996
--- /dev/null
+++ b/libraries/redland/README
@@ -0,0 +1,6 @@
+Redland is a library that provides a high-level interface for the
+Resource Description Framework (RDF) allowing the RDF graph to be
+parsed from XML, stored, queried and manipulated. Redland
+implements each of the RDF concepts in its own class via an object
+based API, reflected into the language APIs, currently C#, Java,
+Perl, PHP, Python, Ruby and Tcl.
diff --git a/libraries/redland/redland.SlackBuild b/libraries/redland/redland.SlackBuild
new file mode 100644
index 0000000000..21e3841d31
--- /dev/null
+++ b/libraries/redland/redland.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for redland
+
+# Copyright 2021 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=redland
+VERSION=${VERSION:-1.0.17}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+DOCS="AUTHORS COPYING* INSTALL INSTALL.html LICENSE* NEWS* NOTICE README* RELEASE.html TODO*"
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --with-included-ltdl=no \
+ --with-bdb-lib=/usr/lib${LIBDIRSUFFIX} \
+ --with-bdb-dbname=db-4.8 \
+ --with-threads \
+ --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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ ln -s /usr/share/gtk-doc/html/$PRGNAM html
+)
+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
diff --git a/libraries/redland/redland.info b/libraries/redland/redland.info
new file mode 100644
index 0000000000..a1795efa65
--- /dev/null
+++ b/libraries/redland/redland.info
@@ -0,0 +1,10 @@
+PRGNAM="redland"
+VERSION="1.0.17"
+HOMEPAGE="http://librdf.org"
+DOWNLOAD="http://download.librdf.org/source/redland-1.0.17.tar.gz"
+MD5SUM="e5be03eda13ef68aabab6e42aa67715e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="rasqal"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/redland/slack-desc b/libraries/redland/slack-desc
new file mode 100644
index 0000000000..e79365ce27
--- /dev/null
+++ b/libraries/redland/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------------------------------------------------------|
+redland: redland (RDF high-level interface library)
+redland:
+redland: Redland is a library that provides a high-level interface for the
+redland: Resource Description Framework (RDF) allowing the RDF graph to be
+redland: parsed from XML, stored, queried and manipulated. Redland
+redland: implements each of the RDF concepts in its own class via an object
+redland: based API, reflected into the language APIs, currently C#, Java,
+redland: Perl, PHP, Python, Ruby and Tcl.
+redland:
+redland: homepage: http://librdf.org
+redland:
diff --git a/libraries/remglk/remglk.SlackBuild b/libraries/remglk/remglk.SlackBuild
index f485f9a577..cd662ab678 100644
--- a/libraries/remglk/remglk.SlackBuild
+++ b/libraries/remglk/remglk.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for remglk
-# 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.
+# 20230104 bkw: updated for v0.3.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=remglk
-VERSION=${VERSION:-0.2.6}
+VERSION=${VERSION:-0.3.0}
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}
@@ -81,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/libraries/remglk/remglk.info b/libraries/remglk/remglk.info
index 4de8ac272b..78d6405a4c 100644
--- a/libraries/remglk/remglk.info
+++ b/libraries/remglk/remglk.info
@@ -1,10 +1,10 @@
PRGNAM="remglk"
-VERSION="0.2.6"
+VERSION="0.3.0"
HOMEPAGE="https://github.com/erkyrath/remglk/"
-DOWNLOAD="https://github.com/erkyrath/remglk/archive/remglk-0.2.6/remglk-remglk-0.2.6.tar.gz"
-MD5SUM="cfe14824773f1e078404a239edf6247d"
+DOWNLOAD="https://github.com/erkyrath/remglk/archive/remglk-0.3.0/remglk-remglk-0.3.0.tar.gz"
+MD5SUM="7984145d674af901492fbab4fbe9d3ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/rep-gtk/README b/libraries/rep-gtk/README
deleted file mode 100644
index 01ebd48eb2..0000000000
--- a/libraries/rep-gtk/README
+++ /dev/null
@@ -1,3 +0,0 @@
-rep-gtk (Binding of the GTK and GDK libraries)
-
-rep-gtk is binding of the GTK and GDK libraries for the librep Lisp environment.
diff --git a/libraries/rep-gtk/rep-gtk.SlackBuild b/libraries/rep-gtk/rep-gtk.SlackBuild
deleted file mode 100644
index e88f350e81..0000000000
--- a/libraries/rep-gtk/rep-gtk.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for rep-gtk.
-#
-# 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=rep-gtk
-VERSION=${VERSION:-0.90.8.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 -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.xz
-mv ${PRGNAM}_${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 {} \;
-
-./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 \
- --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
-
-DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README 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
-
-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/libraries/rep-gtk/rep-gtk.info b/libraries/rep-gtk/rep-gtk.info
deleted file mode 100644
index 8c021e6638..0000000000
--- a/libraries/rep-gtk/rep-gtk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rep-gtk"
-VERSION="0.90.8.3"
-HOMEPAGE="http://sawfish.wikia.com/wiki/Librep"
-DOWNLOAD="http://download.tuxfamily.org/librep/rep-gtk/rep-gtk_0.90.8.3.tar.xz"
-MD5SUM="b20f72cf00d316d35fa7f84a6e7532af"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="librep"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/rep-gtk/slack-desc b/libraries/rep-gtk/slack-desc
deleted file mode 100644
index 180f1760fa..0000000000
--- a/libraries/rep-gtk/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------------------------------------------------------|
-rep-gtk: rep-gtk (Binding of the GTK and GDK libraries)
-rep-gtk:
-rep-gtk: rep-gtk is binding of the GTK and GDK libraries for the librep Lisp
-rep-gtk: environment.
-rep-gtk:
-rep-gtk: Home Page: http://sawfish.wikia.com/wiki/Rep-GTK
-rep-gtk:
-rep-gtk:
-rep-gtk:
-rep-gtk:
-rep-gtk:
diff --git a/libraries/reportlab/README b/libraries/reportlab/README
deleted file mode 100644
index 2ad3ab4aad..0000000000
--- a/libraries/reportlab/README
+++ /dev/null
@@ -1,23 +0,0 @@
-The ReportLab Open Source PDF library is a proven industry-strength
-python-based PDF generating solution, suitable for web publishers,
-developers or creative design professionals who need to quickly and
-easily create or automate complex (even data-driven) documents.
-It is released by ReportLab Inc., under BSD license.
-
-It includes binary extensions (previously available separately)
-_rl_accel and renderPM
-
-It has the following features:
-- create professional portable documents
-- real document layout engine (Platypus)
-- flowable objects (paragraphs, headlines, tables, images, graphics, etc.)
-- arbitrary Type-1 fonts
-- bitmap images, vector graphics
-- library of reusable primitive shapes
-- extensible widget library
-- layered architecture
-- includes simple demos and more complex tools
-- allows for any data sources
-- strong community support
-- platform-independent
-- includes PythonPoint - PDF Presentation Tool
diff --git a/libraries/reportlab/reportlab.SlackBuild b/libraries/reportlab/reportlab.SlackBuild
deleted file mode 100644
index 8382e740b4..0000000000
--- a/libraries/reportlab/reportlab.SlackBuild
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for reportlab
-
-# Copyright 2007-2015 LukenShiro, 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.
-
-# Modified by SlackBuilds.org
-
-PRGNAM=reportlab
-VERSION=${VERSION:-3.2.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
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-# directory for python packages
-PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')")
-
-DOCFILES="CHANGES.md LICENSE.txt README.txt INSTALL.txt docs/*.pdf"
-OTHERPYFILES="demos tools tests"
-
-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 {} \;
-
-# Unzip T1 font curves
-cd src/reportlab/fonts/
-unzip $CWD/pfbfer-20070710.zip
-cd -
-
-# Generate pdf documentation
-( cd docs
- # workaround due to dependency loop if reportlab isn't previously installed
- PYTHONPATH=$PYTHONPATH:$TMP/$PRGNAM-$VERSION/src/ python genAll.py
-)
-
-# Move demos, tests and tools directories into python package's home
-# and remove duplicated file
-mkdir -p $PKG/$PYTHONDIR/$PRGNAM/
-mv $OTHERPYFILES $PKG/$PYTHONDIR/$PRGNAM
-rm -f $PKG/$PYTHONDIR/$PRGNAM/tools/docco/*.pdf
-
-# Fix some fonts search paths
-sed -i \
- -e "s|usr/share/fonts/truetype|usr/share/fonts/TTF|" \
- -e "s|usr/local/Acrobat9|opt/Adobe/Reader9|" \
- -e "s|%(HOME)s/fonts|%(HOME)s/.fonts|" \
- src/reportlab/rl_config.py || exit 1
-
-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
-
-# Move documentation .pdf files and text files to avoid file duplication in
-# python directory
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $DOCFILES $PKG/usr/doc/$PRGNAM-$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/libraries/reportlab/reportlab.info b/libraries/reportlab/reportlab.info
deleted file mode 100644
index 007cb5bc59..0000000000
--- a/libraries/reportlab/reportlab.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="reportlab"
-VERSION="3.2.0"
-HOMEPAGE="https://bitbucket.org/rptlab/reportlab/overview"
-DOWNLOAD="https://pypi.python.org/packages/source/r/reportlab/reportlab-3.2.0.tar.gz \
- http://www.reportlab.com/ftp/pfbfer-20070710.zip"
-MD5SUM="79d059e797c557aed4b40c68dd6c7eae \
- 35d20e26490cb2a8646fab6276ac6a4c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="LukenShiro"
-EMAIL="lukenshiro@ngi.it"
diff --git a/libraries/reportlab/slack-desc b/libraries/reportlab/slack-desc
deleted file mode 100644
index 129269eed8..0000000000
--- a/libraries/reportlab/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------------------------------------------------------|
-reportlab: reportlab (PDF generation toolkit using python)
-reportlab:
-reportlab: The ReportLab Open Source PDF library is a proven industry-strength
-reportlab: PDF generating solution, suitable for web publishers, developers
-reportlab: or creative design professionals who need to quickly and easily
-reportlab: create or automate complex (even data-driven) documents.
-reportlab: It is released by ReportLab Inc., under BSD license.
-reportlab:
-reportlab:
-reportlab:
-reportlab:
diff --git a/libraries/rest-legacy/README b/libraries/rest-legacy/README
new file mode 100644
index 0000000000..8888079afb
--- /dev/null
+++ b/libraries/rest-legacy/README
@@ -0,0 +1,5 @@
+This library has been designed to make it easier to access web
+services that claim to be "RESTful".
+
+This script will build rest version 0.8.1 and rest api 0.7. It can be
+installed with rest version in SBo without any conflict.
diff --git a/libraries/rest-legacy/rest-legacy.SlackBuild b/libraries/rest-legacy/rest-legacy.SlackBuild
new file mode 100644
index 0000000000..b0b4942701
--- /dev/null
+++ b/libraries/rest-legacy/rest-legacy.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for rest-legacy
+
+# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# All rights reserved.
+#
+# Modified for rest-legacy by Ozan turkyilmaz <ozan.turkyilmaz@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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rest-legacy
+PKGNAME=rest
+VERSION=${VERSION:-0.8.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PKGNAME-$VERSION
+tar xvf $CWD/$PKGNAME-$VERSION.tar.xz
+cd $PKGNAME-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING README docs/reference/rest/html/ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share/gtk-doc/
+
+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
diff --git a/libraries/rest-legacy/rest-legacy.info b/libraries/rest-legacy/rest-legacy.info
new file mode 100644
index 0000000000..686ea43a2e
--- /dev/null
+++ b/libraries/rest-legacy/rest-legacy.info
@@ -0,0 +1,10 @@
+PRGNAM="rest-legacy"
+VERSION="0.8.1"
+HOMEPAGE="https://www.gtk.org/"
+DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/rest/0.8/rest-0.8.1.tar.xz"
+MD5SUM="ece4547298a81105f307369d73c21b9d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/rest-legacy/slack-desc b/libraries/rest-legacy/slack-desc
new file mode 100644
index 0000000000..21ba51073e
--- /dev/null
+++ b/libraries/rest-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------------------------------------------------------|
+rest-legacy: rest-legacy (RESTful Library)
+rest-legacy:
+rest-legacy: This library has been designed to make it easier to access web
+rest-legacy: services that claim to be "RESTful".
+rest-legacy:
+rest-legacy:
+rest-legacy: This package includes rest API 0.7
+rest-legacy:
+rest-legacy:
+rest-legacy:
+rest-legacy:
diff --git a/libraries/rest/rest.SlackBuild b/libraries/rest/rest.SlackBuild
index a967f9b240..a141140cc1 100644
--- a/libraries/rest/rest.SlackBuild
+++ b/libraries/rest/rest.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rest
-# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-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=rest
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.9.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}
@@ -69,30 +76,38 @@ 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 \
- --build=$ARCH-slackware-linux
-
-make
-make install 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 \
+ -Dstrip=true \
+ -Dgtk_doc=false \
+ -Dtests=false \
+ -Dexamples=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 INSTALL README docs/reference/rest/html/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -rf $PKG/usr/share/gtk-doc/
+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/libraries/rest/rest.info b/libraries/rest/rest.info
index 620f082122..663a3bcc5d 100644
--- a/libraries/rest/rest.info
+++ b/libraries/rest/rest.info
@@ -1,10 +1,10 @@
PRGNAM="rest"
-VERSION="0.8.1"
+VERSION="0.9.1"
HOMEPAGE="https://www.gtk.org/"
-DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/rest/0.8/rest-0.8.1.tar.xz"
-MD5SUM="ece4547298a81105f307369d73c21b9d"
+DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/rest/0.9/rest-0.9.1.tar.xz"
+MD5SUM="b997b83232be3814a1b78530c5700df9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-typogrify gtksourceview5 libadwaita libsoup3"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/restbed/restbed.SlackBuild b/libraries/restbed/restbed.SlackBuild
index d123f49846..8fbac1471f 100644
--- a/libraries/restbed/restbed.SlackBuild
+++ b/libraries/restbed/restbed.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Corvusoft's Restbed framework
@@ -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=restbed
-VERSION=${VERSION:-4.6}
+VERSION=${VERSION:-4.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}
@@ -75,8 +85,8 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
- -DBUILD_SSL=ON \
- -DBUILD_SHARED=ON \
+ -DBUILD_SSL=OFF \
+ -DBUILD_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -86,11 +96,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/doc/$PRGNAM-$VERSION
-cp -raf LICENSE README.md example legal $PKG/usr/doc/$PRGNAM-$VERSION
+cp -raf LICENSE README.md legal $PKG/usr/doc/$PRGNAM-$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/libraries/restbed/restbed.info b/libraries/restbed/restbed.info
index 7a0466465c..e31fbcab60 100644
--- a/libraries/restbed/restbed.info
+++ b/libraries/restbed/restbed.info
@@ -1,8 +1,8 @@
PRGNAM="restbed"
-VERSION="4.6"
+VERSION="4.8"
HOMEPAGE="https://github.com/corvusoft/restbed"
-DOWNLOAD="https://github.com/Corvusoft/restbed/archive/4.6/restbed-4.6.tar.gz"
-MD5SUM="f80581e6c7a303be09a2849f1e9dd496"
+DOWNLOAD="https://github.com/Corvusoft/restbed/archive/4.8/restbed-4.8.tar.gz"
+MD5SUM="2964baf0ce5a2fe3d28546f3942f0d45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="asio kashmir"
diff --git a/libraries/rhino/README b/libraries/rhino/README
index 9c52471b9e..0eea4a3e29 100644
--- a/libraries/rhino/README
+++ b/libraries/rhino/README
@@ -1,5 +1,5 @@
-Rhino is an open-source implementation of JavaScript written entirely in
-Java. It is typically embedded into Java applications to provide scripting
-to end users.
+Rhino is an open-source implementation of JavaScript written entirely
+in Java. It is typically embedded into Java applications to provide
+scripting to end users.
This package includes javadoc and example.zip in /usr/doc/rhino-1_R2
diff --git a/libraries/rhino/rhino.SlackBuild b/libraries/rhino/rhino.SlackBuild
index e83d7652dd..4ab9b8e20a 100644
--- a/libraries/rhino/rhino.SlackBuild
+++ b/libraries/rhino/rhino.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rhino
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rhino
VERSION=${VERSION:-1_7R2}
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}
ANTHOME="/usr/share/ant"
-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,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/libraries/rhino/rhino.info b/libraries/rhino/rhino.info
index 26c7832b6b..69715ebf46 100644
--- a/libraries/rhino/rhino.info
+++ b/libraries/rhino/rhino.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://ftp.mozilla.org/pub/js/rhino1_7R2.zip"
MD5SUM="40d0a9abec8169e42920214b37fa8e0e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
diff --git a/libraries/rhonabwy/README b/libraries/rhonabwy/README
new file mode 100644
index 0000000000..72ee9dccc7
--- /dev/null
+++ b/libraries/rhonabwy/README
@@ -0,0 +1,11 @@
+Rhonabwy - JWK, JWKS, JWS, JWE and JWT library
+
+Create, modify, parse, import or export JSON Web Keys (JWK) and JSON
+Web Keys Set (JWKS).
+
+Create, modify, parse, validate or serialize JSON Web Signatures (JWS).
+
+Create, modify, parse, validate or serialize JSON Web Encryption (JWE)
+limited!
+
+Create, modify, parse, validate or serialize JSON Web Token (JWT).
diff --git a/libraries/rhonabwy/rhonabwy.SlackBuild b/libraries/rhonabwy/rhonabwy.SlackBuild
new file mode 100644
index 0000000000..7a7d1f8793
--- /dev/null
+++ b/libraries/rhonabwy/rhonabwy.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+# Slackware build script for rhonabwy
+#
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rhonabwy
+VERSION=${VERSION:-1.1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 -Wno-error=maybe-uninitialized"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -Wno-error=maybe-uninitialized"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC -Wno-error=maybe-uninitialized"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2 -Wno-error=maybe-uninitialized"
+ 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 \
+ -DWITH_JOURNALD=off \
+ -DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -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
+
+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
+DOCS="LICENSE README.md"
+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/libraries/rhonabwy/rhonabwy.info b/libraries/rhonabwy/rhonabwy.info
new file mode 100644
index 0000000000..74b55bcb4b
--- /dev/null
+++ b/libraries/rhonabwy/rhonabwy.info
@@ -0,0 +1,10 @@
+PRGNAM="rhonabwy"
+VERSION="1.1.13"
+HOMEPAGE="https://github.com/babelouest/rhonabwy"
+DOWNLOAD="https://github.com/babelouest/rhonabwy/archive/v1.1.13/rhonabwy-1.1.13.tar.gz"
+MD5SUM="1ecf153a0ba3ebbe64636e211b5d82ac"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="ulfius"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/rhonabwy/slack-desc b/libraries/rhonabwy/slack-desc
new file mode 100644
index 0000000000..13880570b6
--- /dev/null
+++ b/libraries/rhonabwy/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------------------------------------------------------|
+rhonabwy: rhonabwy (Manage JW* libraries)
+rhonabwy:
+rhonabwy: Rhonabwy - JWK, JWKS, JWS, JWE and JWT library
+rhonabwy:
+rhonabwy:
+rhonabwy:
+rhonabwy:
+rhonabwy: Project URL: https://github.com/babelouest/rhonabwy
+rhonabwy:
+rhonabwy:
+rhonabwy:
diff --git a/libraries/ring-daemon/README b/libraries/ring-daemon/README
deleted file mode 100644
index b6c503fa82..0000000000
--- a/libraries/ring-daemon/README
+++ /dev/null
@@ -1,19 +0,0 @@
-Ring is free software which allows its users to communicate in multiple ways.
-
-What is Ring?
-
- A telephone: a simple tool to connect, communicate and share.
-
- A teleconferencing tool: easily join calls to create conferences with
- multiple participants.
-
- A media sharing tool: Ring supports a variety of video input options,
- including mutliple cameras and image and video files, and the selection of
- audio inputs and outputs; all this is supported by multiple high quality
- audio and video codecs.
-
- A messenger: send text messeges during calls or out of calls (as long as
- your peer is connected).
-
- A building block for your IoT project: re-use the universal communications
- technology of Ring with its portable library on your system of choice.
diff --git a/libraries/ring-daemon/patches/libressl-rules.mak.diff b/libraries/ring-daemon/patches/libressl-rules.mak.diff
deleted file mode 100644
index e58c921eaf..0000000000
--- a/libraries/ring-daemon/patches/libressl-rules.mak.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- ring-daemon-20181026_114c66440/contrib/src/libressl/rules.mak.orig 2018-10-26 17:20:13.000000000 +0200
-+++ ring-daemon-20181026_114c66440/contrib/src/libressl/rules.mak 2018-10-27 22:36:00.608283629 +0200
-@@ -25,9 +25,9 @@
- OPENBSD_URL := https://github.com/libressl-portable/openbsd/archive/$(OPENBSD_VERSION).tar.gz
-
- # Check if openssl or libressl is already present on the system
--ifeq ($(call need_pkg,"openssl >= 1.0.0" || call need_pkg,"libressl >= 1.0.0"),)
--PKGS_FOUND += libressl
--endif
-+#ifeq ($(call need_pkg,"openssl >= 1.0.0" || call need_pkg,"libressl >= 1.0.0"),)
-+#PKGS_FOUND += libressl
-+#endif
-
- # Pure dependency of restbed: do not add to PKGS.
-
diff --git a/libraries/ring-daemon/patches/namedirectory.cpp.diff b/libraries/ring-daemon/patches/namedirectory.cpp.diff
deleted file mode 100644
index 1657a5fb71..0000000000
--- a/libraries/ring-daemon/patches/namedirectory.cpp.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- ring-daemon-4.0.0/src/ringdht/namedirectory.cpp.orig 2017-07-19 23:27:21.000000000 +0200
-+++ ring-daemon-4.0.0/src/ringdht/namedirectory.cpp 2017-08-01 15:50:13.311715765 +0200
-@@ -90,9 +90,9 @@
- size_t getContentLength(restbed::Response& reply)
- {
- size_t length = 0;
--#ifndef RESTBED_OLD_API
-- length =
--#endif
-+//#ifndef RESTBED_OLD_API
-+// length =
-+//#endif
- reply.get_header("Content-Length", length);
- return length;
- }
diff --git a/libraries/ring-daemon/patches/use_libexecdir.diff b/libraries/ring-daemon/patches/use_libexecdir.diff
deleted file mode 100644
index 1f9162bca8..0000000000
--- a/libraries/ring-daemon/patches/use_libexecdir.diff
+++ /dev/null
@@ -1,39 +0,0 @@
---- ring-daemon-4.0.0/configure.ac.orig 2017-07-19 23:27:21.000000000 +0200
-+++ ring-daemon-4.0.0/configure.ac 2017-08-01 16:34:48.826571353 +0200
-@@ -368,8 +368,8 @@
- AS_IF([test "x$with_dbus" = "xyes"], [
- PKG_CHECK_MODULES(DBUSCPP, dbus-c++-1,, AC_MSG_WARN([Missing dbus development files]))
-
-- AS_AC_EXPAND(LIBDIR, $libdir)
-- AC_SUBST(LIBDIR)
-+ AS_AC_EXPAND(LIBEXECDIR, $libexecdir)
-+ AC_SUBST(LIBEXECDIR)
-
- AC_CONFIG_FILES([bin/dbus/Makefile
- bin/dbus/cx.ring.Ring.service])
---- ring-daemon-4.0.0/globals.mk.orig 2017-07-19 23:27:21.000000000 +0200
-+++ ring-daemon-4.0.0/globals.mk 2017-08-01 16:36:01.520567429 +0200
-@@ -1,7 +1,7 @@
- # Global variables
-
- src=$(abs_top_srcdir)
--ringlibdir=$(DESTDIR)$(libdir)/ring
-+ringlibdir=$(DESTDIR)$(libexecdir)/ring
-
- ASTYLERC="$(top_srcdir)/../astylerc"
- indent="/usr/bin/astyle"
---- ring-daemon-4.0.0/bin/dbus/cx.ring.Ring.service.in.orig 2017-07-19 23:27:21.000000000 +0200
-+++ ring-daemon-4.0.0/bin/dbus/cx.ring.Ring.service.in 2017-08-01 16:39:22.606556575 +0200
-@@ -1,3 +1,3 @@
- [D-BUS Service]
- Name=cx.ring.Ring
--Exec=@LIBDIR@/ring/dring
-+Exec=@LIBEXECDIR@/ring/dring
---- ring-daemon-4.0.0/bin/Makefile.am.orig 2017-07-19 23:27:21.000000000 +0200
-+++ ring-daemon-4.0.0/bin/Makefile.am 2017-08-01 16:51:06.985518556 +0200
-@@ -1,4 +1,4 @@
--ringlibdir = $(libdir)/ring
-+ringlibdir = $(libexecdir)/ring
-
- if HAVE_WIN32
- ringlib_PROGRAMS = ringcli
diff --git a/libraries/ring-daemon/ring-daemon.SlackBuild b/libraries/ring-daemon/ring-daemon.SlackBuild
deleted file mode 100644
index bb65421af4..0000000000
--- a/libraries/ring-daemon/ring-daemon.SlackBuild
+++ /dev/null
@@ -1,125 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ring-daemon
-
-# Copyright 2017, 2018 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.
-
-PRGNAM=ring-daemon
-VERSION=${VERSION:-20181026_114c6644}
-COMMIT=${COMMIT:-114c6644004ab8667a5403a0f2578b249a57ee46}
-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-$COMMIT
-tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
-cd $PRGNAM-$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 {} \;
-
-patch -p1 <$CWD/patches/namedirectory.cpp.diff
-patch -p1 <$CWD/patches/use_libexecdir.diff
-patch -p1 <$CWD/patches/libressl-rules.mak.diff
-
-# Copy already present source tarballs
-for src in libdbus jsoncpp msgpack libnatpmp argon2 asio portable \
- openbsd restbed opendht pjproject secp256k1 gmp pupnp yaml-cpp; do
- cp $CWD/$src-*.tar.gz contrib/tarballs \
- || cp $CWD/$src-*.tar.bz2 contrib/tarballs
-done
-
-# Compile the dependencies
-( mkdir contrib/build
- cd contrib/build
- ../bootstrap
- make
-)
-
-./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 \
- --enable-ipv6 \
- --build=$ARCH-slackware-linux
-
-# This is where dependencies ended up
-export PATH=$PATH:$TMP/$PRGNAM-$COMMIT/contrib/$ARCH-slackware-linux/bin
-
-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 CODING COPYING 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/libraries/ring-daemon/ring-daemon.info b/libraries/ring-daemon/ring-daemon.info
deleted file mode 100644
index 8299e1877e..0000000000
--- a/libraries/ring-daemon/ring-daemon.info
+++ /dev/null
@@ -1,40 +0,0 @@
-PRGNAM="ring-daemon"
-VERSION="20181026_114c6644"
-HOMEPAGE="https://ring.cx/"
-DOWNLOAD="https://github.com/savoirfairelinux/ring-daemon/archive/114c66440/ring-daemon-114c6644004ab8667a5403a0f2578b249a57ee46.tar.gz \
- https://kent.dl.sourceforge.net/project/dbus-cplusplus/dbus-c++/0.9.0/libdbus-c++-0.9.0.tar.gz \
- https://github.com/open-source-parsers/jsoncpp/archive/1.7.2/jsoncpp-1.7.2.tar.gz \
- https://github.com/msgpack/msgpack-c/archive/cpp-2.1.5/msgpack-c-cpp-2.1.5.tar.gz \
- http://miniupnp.free.fr/files/libnatpmp-20150609.tar.gz \
- https://github.com/P-H-C/phc-winner-argon2/archive/1eea010/argon2-1eea0104e7cb2a38c617cf90ffa46ce5db6aceda.tar.gz \
- https://github.com/hlysunnaram/asio/archive/b0926b6/asio-b0926b61b057ce563241d609cae5768ed3a4e1b1.tar.gz \
- https://github.com/libressl-portable/portable/archive/0974145/portable-0974145a9e62d844b5b159cddbce36552bca30df.tar.gz \
- https://github.com/libressl-portable/openbsd/archive/OPENBSD_6_3/openbsd-OPENBSD_6_3.tar.gz \
- https://github.com/aberaud/restbed/archive/c3e28ad/restbed-c3e28adaf8b15b34162da6c1ed5514606288f91b.tar.gz \
- https://github.com/savoirfairelinux/opendht/archive/1.7.5rc3/opendht-1.7.5rc3.tar.gz \
- https://github.com/pjsip/pjproject/archive/2.8/pjproject-2.8.tar.gz \
- https://github.com/bitcoin-core/secp256k1/archive/0b70241/secp256k1-0b7024185045a49a1a6a4c5615bf31c94f63d9c4.tar.gz \
- https://ftpmirror.gnu.org/gmp/gmp-6.1.2.tar.bz2 \
- https://github.com/mrjimenez/pupnp/archive/release-1.6.25/pupnp-release-1.6.25.tar.gz \
- https://github.com/jbeder/yaml-cpp/archive/24fa1b3/yaml-cpp-24fa1b33805c9a91df0f32c46c28e314dd7ad96f.tar.gz"
-MD5SUM="2df7e66cabca695c147f0ca891b6ec2e \
- e752116f523fa88ef041e63d3dee4de2 \
- 3989402269147d1f853b57c542037536 \
- 6536e2072a1006e2004e2963081692a2 \
- 7bd1af6710271e1743df5422be350bd8 \
- c65e2070180a65c34db7190a6a932f3c \
- 54d7426e25ee9067b054e20b0e6a5ef8 \
- f2709fc74fd79304fba779cf5dce6d87 \
- d13111290b28c276ab72988bf92ac9bc \
- b88fe85299811b3232fd2b66a7aa887e \
- ff2cb351e51ee868b6a062283adec2e1 \
- 84ba9ecb5ceed1fde03bbeb5f5fc455b \
- 379b867ce2491314219a606bd7ac112f \
- 8ddbb26dc3bd4e2302984debba1406a5 \
- 1b07074b282af509c8d384f8b3751233 \
- 3aa5de709713385ca2e49037e4a12b6e"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mario Preksavec"
-EMAIL="mario at slackware dot hr"
diff --git a/libraries/ring-daemon/slack-desc b/libraries/ring-daemon/slack-desc
deleted file mode 100644
index 733f8bc164..0000000000
--- a/libraries/ring-daemon/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------------------------------------------------------|
-ring-daemon: ring-daemon (LibRing - daemon)
-ring-daemon:
-ring-daemon: Ring is a free and universal communication platform which preserves
-ring-daemon: the users' privacy and freedoms.
-ring-daemon:
-ring-daemon: Homepage: https://ring.cx/
-ring-daemon:
-ring-daemon:
-ring-daemon:
-ring-daemon:
-ring-daemon:
diff --git a/libraries/ring-lrc/README b/libraries/ring-lrc/README
deleted file mode 100644
index 0b0862ebcc..0000000000
--- a/libraries/ring-lrc/README
+++ /dev/null
@@ -1 +0,0 @@
-libringclient is a client library for GNU Ring
diff --git a/libraries/ring-lrc/ring-lrc.SlackBuild b/libraries/ring-lrc/ring-lrc.SlackBuild
deleted file mode 100644
index 198025504f..0000000000
--- a/libraries/ring-lrc/ring-lrc.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ring-lrc
-
-# Copyright 2017, 2018 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.
-
-PRGNAM=ring-lrc
-VERSION=${VERSION:-20181023_4cceb03}
-COMMIT=${COMMIT:-4cceb030f0d052c840044a09c6ea18abbb9aabd7}
-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-$COMMIT
-tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
-cd $PRGNAM-$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 \
- -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
-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:-tgz}
diff --git a/libraries/ring-lrc/ring-lrc.info b/libraries/ring-lrc/ring-lrc.info
deleted file mode 100644
index e285f751e7..0000000000
--- a/libraries/ring-lrc/ring-lrc.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ring-lrc"
-VERSION="20181023_4cceb03"
-HOMEPAGE="https://ring.cx/"
-DOWNLOAD="https://github.com/savoirfairelinux/ring-lrc/archive/4cceb03/ring-lrc-4cceb030f0d052c840044a09c6ea18abbb9aabd7.tar.gz"
-MD5SUM="c07ea1ca2a1c24f429656ccf8fbee2b5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ring-daemon qt5"
-MAINTAINER="Mario Preksavec"
-EMAIL="mario at slackware dot hr"
diff --git a/libraries/ring-lrc/slack-desc b/libraries/ring-lrc/slack-desc
deleted file mode 100644
index 8cb61d0d69..0000000000
--- a/libraries/ring-lrc/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------------------------------------------------------|
-ring-lrc: ring-lrc (LibRingClient - LRC)
-ring-lrc:
-ring-lrc: libringclient is a client library for GNU Ring
-ring-lrc:
-ring-lrc: Homepage: https://ring.cx/
-ring-lrc:
-ring-lrc:
-ring-lrc:
-ring-lrc:
-ring-lrc:
-ring-lrc:
diff --git a/libraries/rkcommon/README b/libraries/rkcommon/README
new file mode 100644
index 0000000000..dc8fb90a05
--- /dev/null
+++ b/libraries/rkcommon/README
@@ -0,0 +1,5 @@
+This project represents a common set of C++ infrastructure and CMake
+utilities used by various components of Intel® oneAPI Rendering
+Toolkit.
+
+It is a dependency of ospray.
diff --git a/libraries/rkcommon/rkcommon.SlackBuild b/libraries/rkcommon/rkcommon.SlackBuild
new file mode 100644
index 0000000000..0f694e938e
--- /dev/null
+++ b/libraries/rkcommon/rkcommon.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for rkcommon
+
+# Copyright 2024, 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=rkcommon
+VERSION=${VERSION:-1.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}
+
+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 \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.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/libraries/rkcommon/rkcommon.info b/libraries/rkcommon/rkcommon.info
new file mode 100644
index 0000000000..30bdc6b1d0
--- /dev/null
+++ b/libraries/rkcommon/rkcommon.info
@@ -0,0 +1,10 @@
+PRGNAM="rkcommon"
+VERSION="1.13.0"
+HOMEPAGE="https://github.com/ospray/rkcommon"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/ospray/rkcommon/archive/v1.13.0/rkcommon-1.13.0.tar.gz"
+MD5SUM_x86_64="b174b3e176b54b112e07b15bef0cf357"
+REQUIRES="tbb"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.rkcommon_2024-03-02@lockywolf.net"
diff --git a/libraries/rkcommon/slack-desc b/libraries/rkcommon/slack-desc
new file mode 100644
index 0000000000..87992d6b35
--- /dev/null
+++ b/libraries/rkcommon/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------------------------------------------------------|
+rkcommon: rkcommon (ommon set of C++ infrastructure for Inter Render Kit)
+rkcommon:
+rkcommon: This project represents a common set of C++ infrastructure and CMake
+rkcommon: utilities used by various components of Intel oneAPI Rendering
+rkcommon: Toolkit.
+rkcommon:
+rkcommon:
+rkcommon:
+rkcommon:
+rkcommon:
+rkcommon:
diff --git a/libraries/rlog/README b/libraries/rlog/README
deleted file mode 100644
index 54e06a864d..0000000000
--- a/libraries/rlog/README
+++ /dev/null
@@ -1,2 +0,0 @@
-RLog provides a flexible message logging facility for C++ programs and
-libraries. It is meant to be fast enough to leave in production code.
diff --git a/libraries/rlog/rlog.SlackBuild b/libraries/rlog/rlog.SlackBuild
deleted file mode 100644
index 1405be5c8d..0000000000
--- a/libraries/rlog/rlog.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for rlog
-
-# Copyright 2007-2011 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=rlog
-VERSION=${VERSION:-1.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-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL README rlog.lsm \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mv $PKG/usr/share/doc/rlog/* $PKG/usr/doc/$PRGNAM-$VERSION/
-rm -rf $PKG/usr/share
-
-mkdir -p $PKG/install
-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/libraries/rlog/rlog.info b/libraries/rlog/rlog.info
deleted file mode 100644
index 290c89dc4d..0000000000
--- a/libraries/rlog/rlog.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rlog"
-VERSION="1.4"
-HOMEPAGE="http://www.arg0.net/rlog"
-DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/rlog-1.4.tar.gz"
-MD5SUM="c29f74e0f50d66b20312d049b683ff82"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/libraries/rlog/slack-desc b/libraries/rlog/slack-desc
deleted file mode 100644
index 930a78403f..0000000000
--- a/libraries/rlog/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------------------------------------------------------|
-rlog: rlog (C++ Logging Library)
-rlog:
-rlog: RLog provides a flexible message logging facility for C++ programs and
-rlog: libraries. It is meant to be fast enough to leave in production code.
-rlog:
-rlog: Homepage: http://www.arg0.net/rlog
-rlog:
-rlog:
-rlog:
-rlog:
-rlog:
diff --git a/libraries/robin-map/README b/libraries/robin-map/README
index 724f3decf3..ef0cbe958e 100644
--- a/libraries/robin-map/README
+++ b/libraries/robin-map/README
@@ -1,3 +1,3 @@
-The robin-map library is a C++ implementation of a fast hash map and hash set
-using open-addressing and linear robin hood hashing with backward shift deletion
-to resolve collisions.
+The robin-map library is a C++ implementation of a fast hash map and
+hash set using open-addressing and linear robin hood hashing with
+backward shift deletion to resolve collisions.
diff --git a/libraries/robin-map/robin-map.SlackBuild b/libraries/robin-map/robin-map.SlackBuild
index 19c977c17a..46b8a97c3d 100644
--- a/libraries/robin-map/robin-map.SlackBuild
+++ b/libraries/robin-map/robin-map.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for robin-map
-# Copyright 2019 Christoph Willing Brisbane, Australia
+# Copyright 2019-2023 Christoph Willing Brisbane, Australia
# 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=robin-map
-VERSION=${VERSION:-0.6.2}
+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,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}
@@ -93,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/libraries/robin-map/robin-map.info b/libraries/robin-map/robin-map.info
index 348c759405..13fa5ae280 100644
--- a/libraries/robin-map/robin-map.info
+++ b/libraries/robin-map/robin-map.info
@@ -1,8 +1,8 @@
PRGNAM="robin-map"
-VERSION="0.6.2"
+VERSION="1.2.1"
HOMEPAGE="https://github.com/Tessil/robin-map"
-DOWNLOAD="https://github.com/Tessil/robin-map/archive/v0.6.2/robin-map-0.6.2.tar.gz"
-MD5SUM="2142db273d9bd0a274d076ad5411855d"
+DOWNLOAD="https://github.com/Tessil/robin-map/archive/v1.2.1/robin-map-1.2.1.tar.gz"
+MD5SUM="52b996544ac47bc89faabef5acf8d6e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/rocksdb/rocksdb.SlackBuild b/libraries/rocksdb/rocksdb.SlackBuild
index 5c945020bf..8d7800341e 100644
--- a/libraries/rocksdb/rocksdb.SlackBuild
+++ b/libraries/rocksdb/rocksdb.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Facebook RocksDB
@@ -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=rocksdb
VERSION=${VERSION:-5.7.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}
@@ -143,4 +153,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/rpyc/README b/libraries/rpyc/README
deleted file mode 100644
index fccea341c8..0000000000
--- a/libraries/rpyc/README
+++ /dev/null
@@ -1,3 +0,0 @@
-RPyC (pronounced as are-pie-see), or Remote Python Call, is a transparent
-python library for symmetrical remote procedure calls, clustering and
-distributed-computing.
diff --git a/libraries/rpyc/rpyc.SlackBuild b/libraries/rpyc/rpyc.SlackBuild
deleted file mode 100644
index cc591059ac..0000000000
--- a/libraries/rpyc/rpyc.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for rpyc
-
-# 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=rpyc
-VERSION=${VERSION:-3.3.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
-
-find $PKG -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 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/libraries/rpyc/rpyc.info b/libraries/rpyc/rpyc.info
deleted file mode 100644
index e3ed95057e..0000000000
--- a/libraries/rpyc/rpyc.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rpyc"
-VERSION="3.3.0"
-HOMEPAGE="http://rpyc.readthedocs.org/en/latest/"
-DOWNLOAD="https://pypi.python.org/packages/source/r/rpyc/rpyc-3.3.0.tar.gz"
-MD5SUM="6931cb92c41f547591b525142ccaeef1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="plumbum"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/libraries/rpyc/slack-desc b/libraries/rpyc/slack-desc
deleted file mode 100644
index 0d12d0f229..0000000000
--- a/libraries/rpyc/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------------------------------------------------------|
-rpyc: rpyc (Transparent and symmetric RPC library)
-rpyc:
-rpyc: RPyC (pronounced like are-pie-see), or Remote
-rpyc: Python Call, is a transparent library for symmetrical
-rpyc: remote procedure calls, clustering, and distributed-computing.
-rpyc:
-rpyc: Homepage: http://rpyc.readthedocs.org/en/latest/
-rpyc:
-rpyc:
-rpyc:
-rpyc:
diff --git a/libraries/rrdtool/README b/libraries/rrdtool/README
index cfb0dae0c2..d2fff6f95b 100644
--- a/libraries/rrdtool/README
+++ b/libraries/rrdtool/README
@@ -1,5 +1,8 @@
-RRDTool is the industry standard data logging and graphing application.
+RRDTool is the industry standard data logging and graphing
+application.
-This package makes all bindings that are supported on the system. Bindings for
-Lua and libdbi (optional dependencies) will be made automatically if they
-are detected, this can be changed with: LUA=no LIBDBI=no ./rrdtool.SlackBuild
+This package makes all bindings that are supported on the system.
+Bindings for Lua and libdbi (optional dependencies) will be made
+automatically if they are detected, this can be changed with:
+
+LUA=no LIBDBI=no ./rrdtool.SlackBuild
diff --git a/libraries/rrdtool/rrdtool.SlackBuild b/libraries/rrdtool/rrdtool.SlackBuild
index 556aa166ef..222235f121 100644
--- a/libraries/rrdtool/rrdtool.SlackBuild
+++ b/libraries/rrdtool/rrdtool.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for RRDTool
# Copyright 2007, 2008 Michael Johnson <youngmug at animeneko dot net>
# Copyright 2009, 2010, 2012 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014, 2015, 2016, 2017 Mario Preksavec, Zagreb, Croatia
+# Copyright 2014, 2022 Mario Preksavec, Zagreb, Croatia
# 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=rrdtool
-VERSION=${VERSION:-1.7.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.8.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ fi
PYTHON=$( python -c 'import sys; print sys.version[:3]' )
PERL=$( eval "$(perl -V:version)"; echo $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}
@@ -140,8 +150,10 @@ cp -a CHANGES CONTRIBUTORS COPYRIGHT LICENSE NEWS THREADS 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/libraries/rrdtool/rrdtool.info b/libraries/rrdtool/rrdtool.info
index 3d293b9f86..79c13dd956 100644
--- a/libraries/rrdtool/rrdtool.info
+++ b/libraries/rrdtool/rrdtool.info
@@ -1,8 +1,8 @@
PRGNAM="rrdtool"
-VERSION="1.7.0"
-HOMEPAGE="http://www.rrdtool.org/"
-DOWNLOAD="http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.7.0.tar.gz"
-MD5SUM="2f37eeb613bed11077470c9e2057010e"
+VERSION="1.8.0"
+HOMEPAGE="https://www.rrdtool.org/"
+DOWNLOAD="https://github.com/oetiker/rrdtool-1.x/releases/download/v1.8.0/rrdtool-1.8.0.tar.gz"
+MD5SUM="852754364cbd0703a099b5eb32932851"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/rrdtool/slack-desc b/libraries/rrdtool/slack-desc
index 4c4729445e..95b1292085 100644
--- a/libraries/rrdtool/slack-desc
+++ b/libraries/rrdtool/slack-desc
@@ -12,7 +12,7 @@ rrdtool: RRD is the acronym for Round Robin Database. It is a system to
rrdtool: store and display time-series data (i.e. network bandwidth,
rrdtool: machine-room temperature, server load average).
rrdtool:
-rrdtool: Homepage: http://oss.oetiker.ch/rrdtool/
+rrdtool: Homepage: https://oss.oetiker.ch/rrdtool/
rrdtool:
rrdtool:
rrdtool:
diff --git a/libraries/rtmidi/README b/libraries/rtmidi/README
new file mode 100644
index 0000000000..65fc25658e
--- /dev/null
+++ b/libraries/rtmidi/README
@@ -0,0 +1,13 @@
+rtmidi (crossplatform realtime MIDI library)
+
+RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
+classes) that provide a common API for realtime MIDI input/output
+across Linux (ALSA, JACK), Macintosh OS X (CoreMIDI, JACK), and
+Windows (Multimedia Library) operating systems. RtMidi significantly
+simplifies the process of interacting with computer MIDI hardware and
+software.
+
+Optional dependency: jack (autodetected). If jack is installed when
+rtmidi is built, rtmidi will be built with jack support. If you have
+jack installed and don't want to build rtmidi jack support, export
+JACK=no in the environment.
diff --git a/libraries/rtmidi/rtmidi.SlackBuild b/libraries/rtmidi/rtmidi.SlackBuild
new file mode 100644
index 0000000000..c925616f3b
--- /dev/null
+++ b/libraries/rtmidi/rtmidi.SlackBuild
@@ -0,0 +1,87 @@
+#!/bin/bash
+
+# Slackware build script for rtmidi
+
+# 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=rtmidi
+VERSION=${VERSION:-6.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# Claims to need cmake-3.24, but our 3.21.4 worx fine. Upstream
+# notified, no response yet.
+sed -i '/cmake_minimum_required/s,3\.24,3.21.4,' CMakeLists.txt
+
+[ "${JACK:-yes}" = "no" ] && JACKOPT="-DRTMIDI_API_JACK=OFF"
+
+mkdir -p build
+cd build
+ cmake \
+ $JACKOPT \
+ -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 ..
+
+# This goes in the slack-desc.
+WITHJACK="WITHOUT"
+objdump -p build/librtmidi.so | grep -q 'NEEDED.*libjack' && WITHJACK="WITH"
+
+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
+sed "s,@WITHJACK@,$WITHJACK," < $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/rtmidi/rtmidi.info b/libraries/rtmidi/rtmidi.info
new file mode 100644
index 0000000000..4f25f2162d
--- /dev/null
+++ b/libraries/rtmidi/rtmidi.info
@@ -0,0 +1,10 @@
+PRGNAM="rtmidi"
+VERSION="6.0.0"
+HOMEPAGE="https://github.com/thestk/rtmidi/"
+DOWNLOAD="https://github.com/thestk/rtmidi/archive/6.0.0/rtmidi-6.0.0.tar.gz"
+MD5SUM="5d15802402e4b8e26745c6b7da8b8575"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/rtmidi/slack-desc b/libraries/rtmidi/slack-desc
new file mode 100644
index 0000000000..9e2f0af1fb
--- /dev/null
+++ b/libraries/rtmidi/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------------------------------------------------------|
+rtmidi: rtmidi (crossplatform realtime MIDI library)
+rtmidi:
+rtmidi: RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
+rtmidi: classes) that provide a common API for realtime MIDI input/output
+rtmidi: across Linux (ALSA, JACK), Macintosh OS X (CoreMIDI, JACK), and
+rtmidi: Windows (Multimedia Library) operating systems. RtMidi significantly
+rtmidi: simplifies the process of interacting with computer MIDI hardware and
+rtmidi: software.
+rtmidi:
+rtmidi: This package is built @WITHJACK@ jack support.
+rtmidi:
diff --git a/libraries/rtorrent-python/README b/libraries/rtorrent-python/README
index 11177de900..52275c97cd 100644
--- a/libraries/rtorrent-python/README
+++ b/libraries/rtorrent-python/README
@@ -1,8 +1,8 @@
A simple rTorrent interface written in Python.
-The xmlrpc interface to rTorrent is extremely unintuitive and has very
-little documentation, this project aims to make interfacing with rTorrent
-much easier.
+The xmlrpc interface to rTorrent is extremely unintuitive and has
+very little documentation, this project aims to make interfacing with
+rTorrent much easier.
Optional dependency is lighttpd.
diff --git a/libraries/rtorrent-python/rtorrent-python.SlackBuild b/libraries/rtorrent-python/rtorrent-python.SlackBuild
index 2ca77d6294..1fa1a82efb 100644
--- a/libraries/rtorrent-python/rtorrent-python.SlackBuild
+++ b/libraries/rtorrent-python/rtorrent-python.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rtorrent-python
@@ -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=rtorrent-python
VERSION=${VERSION:-0.2.9}
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/libraries/rtrlib/rtrlib.SlackBuild b/libraries/rtrlib/rtrlib.SlackBuild
index 527f68d170..185eea09da 100644
--- a/libraries/rtrlib/rtrlib.SlackBuild
+++ b/libraries/rtrlib/rtrlib.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rtrlib
-# Copyright 2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2018-2023 Thibaut Notteboom, Paris, FRANCE
# 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=rtrlib
-VERSION=${VERSION:-0.6.1}
+VERSION=${VERSION:-0.8.0}
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}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -82,6 +92,8 @@ cd build
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
@@ -90,12 +102,11 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mv $PKG/usr/share/doc $PKG/usr/doc
mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share
-cp -a CHANGELOG CONTRIBUTING LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG CONTRIBUTING 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/rtrlib/rtrlib.info b/libraries/rtrlib/rtrlib.info
index d208a1e23f..4521a6c82f 100644
--- a/libraries/rtrlib/rtrlib.info
+++ b/libraries/rtrlib/rtrlib.info
@@ -1,8 +1,8 @@
PRGNAM="rtrlib"
-VERSION="0.6.1"
+VERSION="0.8.0"
HOMEPAGE="http://rtrlib.realmv6.org/"
-DOWNLOAD="https://github.com/rtrlib/rtrlib/archive/v0.6.1/rtrlib-0.6.1.tar.gz"
-MD5SUM="a67a9796f5f122c12ef7af91a65462f0"
+DOWNLOAD="https://github.com/rtrlib/rtrlib/archive/v0.8.0/rtrlib-0.8.0.tar.gz"
+MD5SUM="e6237318b51ea1162d9ae7b296f966c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/rudiments/README b/libraries/rudiments/README
index 26231a5a28..2c793158ff 100644
--- a/libraries/rudiments/README
+++ b/libraries/rudiments/README
@@ -1,3 +1,4 @@
-Rudiments is an Open Source C++ class library providing base classes for things
-such as daemons, clients and servers, and wrapper classes for the standard C
-functions for things like regular expressions, semaphores and signal handling.
+Rudiments is an Open Source C++ class library providing base classes
+for things such as daemons, clients and servers, and wrapper classes
+for the standard C functions for things like regular expressions,
+semaphores and signal handling.
diff --git a/libraries/rudiments/rudiments.SlackBuild b/libraries/rudiments/rudiments.SlackBuild
index 5ee33033b2..187ab12998 100644
--- a/libraries/rudiments/rudiments.SlackBuild
+++ b/libraries/rudiments/rudiments.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rudiments
@@ -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=rudiments
-VERSION=${VERSION:-0.55.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"
@@ -100,8 +110,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING 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/libraries/rudiments/rudiments.info b/libraries/rudiments/rudiments.info
index c3cd414a19..faec8d25b8 100644
--- a/libraries/rudiments/rudiments.info
+++ b/libraries/rudiments/rudiments.info
@@ -1,8 +1,8 @@
PRGNAM="rudiments"
-VERSION="0.55.0"
+VERSION="1.4.2"
HOMEPAGE="http://sqlrelay.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/rudiments/rudiments-0.55.0.tar.gz"
-MD5SUM="1b066c718074e78c96b82f900772cf6a"
+DOWNLOAD="http://downloads.sourceforge.net/rudiments/rudiments-1.4.2.tar.gz"
+MD5SUM="720aebdbff2ec24d9480bb1f10df32cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/rxtx/README b/libraries/rxtx/README
index 055dfecd8b..f573945dcc 100644
--- a/libraries/rxtx/README
+++ b/libraries/rxtx/README
@@ -1,7 +1,7 @@
RXTX is a Java library providing serial and parallel port communication.
-To build RXTX requires the jdk package (available in Slackware's extra/
-directory).
+RXTX's .info file says it requires the zulu-openjdk8 package, but other
+JDKs can be used instead (e.g. openjdk8, jdk).
If you are upgrading from rxtx-2.0_7pre2, please note that the javacomm
package is no longer required and should be uninstalled before building
diff --git a/libraries/rxtx/rxtx.SlackBuild b/libraries/rxtx/rxtx.SlackBuild
index f5529f322d..3daaf6a91e 100644
--- a/libraries/rxtx/rxtx.SlackBuild
+++ b/libraries/rxtx/rxtx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rxtx
# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
@@ -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=rxtx
VERSION=${VERSION:-2.2pre2}
-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"
@@ -54,11 +64,22 @@ else
fi
# Let's make sure that jdk is installed and the relevant environment variables
-# are set correctly (we need JAVA_HOME):
-if [ -r /etc/profile.d/jdk.sh ]; then
- . /etc/profile.d/jdk.sh
-else
- echo "JDK does not appear to be installed; exiting..."
+# are set correctly (we need JAVA_HOME).
+# 20220215 bkw: look at /etc/profile.d/*jdk* and pick the first one
+# that's executable. we just have too many jdk choices, and some of us
+# don't want to jump through oracle's hoops to download their jdk.
+if [ -z "$JAVA_HOME" ]; then
+ JDKS="jdk openjdk8 zulu-openjdk8"
+ for i in $JDKS; do
+ if [ -x /etc/profile.d/$i.sh ]; then
+ . /etc/profile.d/$i.sh
+ break
+ fi
+ done
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+ echo "No usable JDK appears to be installed; exiting..."
exit 1
fi
@@ -73,9 +94,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 {} \+
# Disable obsolete UTS_RELEASE check
# http://mailman.qbang.org/pipermail/rxtx/2009-September/5399616.html
@@ -100,13 +121,15 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL PORTING README \
+ AUTHORS COPYING ChangeLog PORTING README \
SerialPortInstructions.txt 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/libraries/rxtx/rxtx.info b/libraries/rxtx/rxtx.info
index 9a581729d0..c172dbaa19 100644
--- a/libraries/rxtx/rxtx.info
+++ b/libraries/rxtx/rxtx.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://gentoo.osuosl.org/distfiles/rxtx-2.2pre2.zip"
MD5SUM="7eedb18e3f33a427e2b0e9be8ce3f94c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/libraries/scafacos/README b/libraries/scafacos/README
new file mode 100644
index 0000000000..a4eece60a9
--- /dev/null
+++ b/libraries/scafacos/README
@@ -0,0 +1,7 @@
+ScaFaCoS ("Scalable Fast Coulomb Solver") is a parallel library that
+includes in a common interface various metods for solving electrostatic
+and gravitational problems in large particle simulations for scientific
+and technical applications in Phisics and Materials science.
+
+If you use this library for scientific researches please cite the
+Authors using the BibTex entry given in the file libfcs.bib.
diff --git a/libraries/scafacos/libfcs.bib b/libraries/scafacos/libfcs.bib
new file mode 100644
index 0000000000..b7dcc41b8f
--- /dev/null
+++ b/libraries/scafacos/libfcs.bib
@@ -0,0 +1,6 @@
+@MISC{scafacos-web,
+ Author = {M.~Bolten and F.~Fahrenberger and R.~Halver and F.~Heber and M.~Hofmann and I.~Kabadshow and O.~Lenz and M.~Pippig and G.~Sutmann},
+ Howpublished = {{\verb+http://scafacos.github.com/+}},
+ Title = {{ScaFaCoS, C subroutine library}},
+ Url = {http://scafacos.github.com},
+}
diff --git a/libraries/scafacos/scafacos-1.0.1.fix.diff b/libraries/scafacos/scafacos-1.0.1.fix.diff
new file mode 100644
index 0000000000..1307e4d841
--- /dev/null
+++ b/libraries/scafacos/scafacos-1.0.1.fix.diff
@@ -0,0 +1,188 @@
+--- ./lib/fmm/src/mp_wrapper.f90
++++ ./lib/fmm/src/mp_wrapper.f90
+index c78178b..6a3c403 100644
+--- a/lib/fmm/src/mp_wrapper.f90
++++ b/lib/fmm/src/mp_wrapper.f90
+@@ -491,7 +491,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
+-
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ integer(kind=8) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+ elem_tmp = 1
+
+ call mpi_allreduce(MPI_IN_PLACE,dst,elem_tmp,MPI_INTEGER8,op,comm,ierr)
+@@ -510,6 +515,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ integer(kind=8), dimension(*) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+
+ elem_tmp = elem
+
+@@ -528,6 +539,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode):: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ real(kind=4) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+
+ elem_tmp = 1
+
+@@ -547,6 +564,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ real(kind=4), dimension(*) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+
+ elem_tmp = elem
+
+@@ -566,6 +589,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ real(kind=4), dimension(*) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+
+ lo = lbound(dst,1)
+ hi = ubound(dst,1)
+@@ -586,6 +615,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode):: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ real(kind=8) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+
+ elem_tmp = 1
+
+@@ -605,6 +640,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ real(kind=8), dimension(*) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+
+ elem_tmp = elem
+
+@@ -624,6 +665,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allreduce(send,recv,num,rtype,rop,rcomm,rerr)
++ real(kind=8), dimension(*) :: recv
++ integer(kind=4) :: send, num, rop, rtype, rcomm, rerr
++ end subroutine mpi_allreduce
++ end interface
+
+ lo = lbound(dst,1)
+ hi = ubound(dst,1)
+@@ -648,6 +695,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode):: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr)
++ byte, dimension(*) :: recv
++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr
++ end subroutine mpi_allgather
++ end interface
+
+ lo = lbound(dst,1)
+ hi = ubound(dst,1)
+@@ -668,6 +721,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode):: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr)
++ byte, dimension(*) :: recv
++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr
++ end subroutine mpi_allgather
++ end interface
+
+ lo1 = lbound(dst,1)
+ hi1 = ubound(dst,1)
+@@ -690,6 +749,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr)
++ real(kind=4), dimension(*) :: recv
++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr
++ end subroutine mpi_allgather
++ end interface
+
+ elem_tmp = elem
+
+@@ -708,6 +773,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr)
++ integer(kind=8), dimension(*) :: recv
++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr
++ end subroutine mpi_allgather
++ end interface
+
+ elem_tmp = elem
+
+@@ -726,6 +797,12 @@ implicit none
+ integer(MyMPI_Comm) :: comm
+ integer(MyMPI_Errorcode) :: ierr,ierr2
+ integer(MyMPI_Entries) :: elem_tmp
++ interface
++ subroutine mpi_allgather(send,snum,stype,recv,rnum,rtype,gcomm,gerr)
++ integer(kind=8), dimension(*) :: recv
++ integer(kind=4) :: send, snum, rnum, stype, rtype, gcomm, gerr
++ end subroutine mpi_allgather
++ end interface
+
+ lo = lbound(dst,1)
+ hi = ubound(dst,1)
+diff --git a/src/fcs_fmm.c b/src/fcs_fmm.c
+index 37acb67..10bbd10 100644
+--- a/src/fcs_fmm.c
++++ b/src/fcs_fmm.c
+@@ -430,7 +430,7 @@ FCSResult fcs_fmm_tune(FCS handle, fcs_int local_particles, fcs_float *positions
+ return FCS_RESULT_SUCCESS;
+ }
+
+-int fcs_mpi_fmm_sort_front_part, fcs_mpi_fmm_sort_back_part, fcs_mpi_fmm_sort_front_merge_presorted;
++extern int fcs_mpi_fmm_sort_front_part, fcs_mpi_fmm_sort_back_part, fcs_mpi_fmm_sort_front_merge_presorted;
+
+ /* internal fmm-specific run function */
+ FCSResult fcs_fmm_run(FCS handle, fcs_int local_particles,
diff --git a/libraries/scafacos/scafacos.SlackBuild b/libraries/scafacos/scafacos.SlackBuild
new file mode 100644
index 0000000000..1bd68bf063
--- /dev/null
+++ b/libraries/scafacos/scafacos.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for scafacos
+
+# Copyright 2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=scafacos
+VERSION=${VERSION:-1.0.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 < $CWD/scafacos-1.0.1.fix.diff
+
+CFLAGS="$SLKCFLAGS -g " \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
+ --enable-fcs-solvers=fmm,p2nfft,direct,ewald,p3m \
+ --disable-static \
+ --enable-shared
+
+make
+make doc
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README COPYING.GPL COPYING.LGPL $CWD/libfcs.bib $PKG/usr/doc/$PRGNAM-$VERSION
+chown root:root $PKG/usr/doc/$PRGNAM-$VERSION/libfcs.bib
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/scafacos/scafacos.info b/libraries/scafacos/scafacos.info
new file mode 100644
index 0000000000..d615cb0d57
--- /dev/null
+++ b/libraries/scafacos/scafacos.info
@@ -0,0 +1,10 @@
+PRGNAM="scafacos"
+VERSION="1.0.1"
+HOMEPAGE="http://www.scafacos.de"
+DOWNLOAD="https://github.com/scafacos/scafacos/releases/download/v1.0.1/scafacos-1.0.1.tar.gz"
+MD5SUM="bd46d74e3296bd8a444d731bb10c1738"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="openmpi"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/scafacos/slack-desc b/libraries/scafacos/slack-desc
new file mode 100644
index 0000000000..9c3f1b73ad
--- /dev/null
+++ b/libraries/scafacos/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+scafacos: scafacos (Scalable Fast Coulomb Solver)
+scafacos:
+scafacos: ScaFaCoS is a parallel library that includes in a common interface
+scafacos: various algorithms for solving electrostatic and gravitational
+scafacos: problems in large particle simulations for scientific and technical
+scafacos: applications in Physics and Materials science.
+scafacos:
+scafacos: Home page: http://www.scafacos.de
+scafacos:
+scafacos:
+scafacos:
diff --git a/libraries/scalapack/README b/libraries/scalapack/README
new file mode 100644
index 0000000000..c8bb34669a
--- /dev/null
+++ b/libraries/scalapack/README
@@ -0,0 +1,6 @@
+ ScaLAPACK is a library of high-performance linear algebra routines
+for parallel distributed memory machines. ScaLAPACK solves dense and
+banded linear systems, least squares problems, eigenvalue problems,
+and singular value problems.
+
+* NOTE: version 2.2.0 Fortran linking problem at xzls
diff --git a/libraries/scalapack/scalapack.SlackBuild b/libraries/scalapack/scalapack.SlackBuild
new file mode 100644
index 0000000000..df23122d7c
--- /dev/null
+++ b/libraries/scalapack/scalapack.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for ScaLAPACK
+
+# 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=scalapack
+VERSION=${VERSION:-2.1.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 {} \;
+
+# Fortran compiling get's error, to avoid it set flags "-std=legacy"
+
+# building without cmake, it works but doesn't compile shared libs
+#cp -av SLmake.inc.example SLmake.inc
+#sed -i 's/NOOPT*.*= -O0/& -std=legacy/' SLmake.inc
+#sed -i 's/FCFLAGS*.*= -O3/& -std=legacy/' SLmake.inc
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=ON \
+ -DBUILD_STATIC_LIBS=OFF \
+ -DCMAKE_Fortran_FLAGS="-std=legacy" \
+ ..
+ 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 -depth -type d -empty -delete || 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/libraries/scalapack/scalapack.info b/libraries/scalapack/scalapack.info
new file mode 100644
index 0000000000..964a300d78
--- /dev/null
+++ b/libraries/scalapack/scalapack.info
@@ -0,0 +1,10 @@
+PRGNAM="scalapack"
+VERSION="2.1.0"
+HOMEPAGE="https://netlib.org/scalapack"
+DOWNLOAD="http://www.netlib.org/scalapack/scalapack-2.1.0.tgz"
+MD5SUM="3b239ef80353c67354a0a62d54946fa8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lapack openmpi"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/scalapack/slack-desc b/libraries/scalapack/slack-desc
new file mode 100644
index 0000000000..98836b1fd8
--- /dev/null
+++ b/libraries/scalapack/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------------------------------------------------------|
+scalapack: scalapack (Scalable Linear Algebra PACKage)
+scalapack:
+scalapack:
+scalapack: ScaLAPACK is a library of high-performance linear algebra routines
+scalapack: for parallel distributed memory machines. ScaLAPACK solves dense and
+scalapack: banded linear systems, least squares problems, eigenvalue problems,
+scalapack: and singular value problems.
+scalapack:
+scalapack:
+scalapack:
+scalapack:
diff --git a/libraries/sdformat/cmake.patch b/libraries/sdformat/cmake.patch
new file mode 100644
index 0000000000..38e6b6cca6
--- /dev/null
+++ b/libraries/sdformat/cmake.patch
@@ -0,0 +1,20 @@
+diff -Naur osrf-sdformat-e5ac5aaa49f2.orig/CMakeLists.txt osrf-sdformat-e5ac5aaa49f2/CMakeLists.txt
+--- osrf-sdformat-e5ac5aaa49f2.orig/CMakeLists.txt 2016-10-10 23:51:37.000000000 +0200
++++ osrf-sdformat-e5ac5aaa49f2/CMakeLists.txt 2017-07-29 19:46:16.021921859 +0200
+@@ -186,11 +186,13 @@
+ # OS Specific initialization
+ if (UNIX)
+ sdf_setup_unix()
+-else (WIN32)
++endif ()
++if (WIN32)
+ sdf_setup_windows()
+-else (APPLE)
++endif ()
++if (APPLE)
+ sdf_setup_apple()
+-endif()
++endif ()
+
+ #################################################
+ # Print warnings and errors
diff --git a/libraries/sdformat/sdformat.SlackBuild b/libraries/sdformat/sdformat.SlackBuild
index 5dea256ef6..daf4f7834c 100644
--- a/libraries/sdformat/sdformat.SlackBuild
+++ b/libraries/sdformat/sdformat.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sdformat
@@ -23,11 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sdformat
-DIRNAME=osrf-sdformat-e5ac5aaa49f2
VERSION=${VERSION:-4.2.0}
+SRCNAM="$PRGNAM"-sdformat4_"$VERSION"
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}
@@ -61,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DIRNAME
-tar xvf $CWD/${PRGNAM}4_$VERSION.tar.gz || tar xvf $CWD/$DIRNAME.tar.gz
-cd $DIRNAME
+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 \
@@ -71,6 +81,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch for cmake >= 3.9.x
+patch -p1 < $CWD/cmake.patch
+
mkdir -p build
cd build
cmake \
@@ -92,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/libraries/sdformat/sdformat.info b/libraries/sdformat/sdformat.info
index 51fd768eb8..6ca6187d2d 100644
--- a/libraries/sdformat/sdformat.info
+++ b/libraries/sdformat/sdformat.info
@@ -1,8 +1,8 @@
PRGNAM="sdformat"
VERSION="4.2.0"
HOMEPAGE="http://sdformat.org/"
-DOWNLOAD="https://bitbucket.org/osrf/sdformat/get/sdformat4_4.2.0.tar.gz"
-MD5SUM="6e5e3470b2a92b9c02f5b438feba11be"
+DOWNLOAD="https://github.com/ignitionrobotics/sdformat/archive/sdformat4_4.2.0/sdformat-sdformat4_4.2.0.tar.gz"
+MD5SUM="d9319f5af5ec5494835335338b2a067b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ignition-math2 tinyxml"
diff --git a/libraries/seatd/README b/libraries/seatd/README
new file mode 100644
index 0000000000..1a38c14fca
--- /dev/null
+++ b/libraries/seatd/README
@@ -0,0 +1,16 @@
+seatd is a seat management daemon, that does everything it needs to
+do. Nothing more, nothing less. Depends only on libc.
+
+libseat is a seat management library allowing applications to use
+whatever seat management is available.
+
+Supports:
+- seatd
+- (e)logind
+- embedded seatd for standalone operation
+
+Each backend can be compile-time included and is runtime auto-detected
+or manually selected with the `LIBSEAT_BACKEND` environment variable.
+
+Which backend is in use is transparent to the application, providing a
+simple common interface.
diff --git a/libraries/seatd/seatd.SlackBuild b/libraries/seatd/seatd.SlackBuild
new file mode 100644
index 0000000000..7461861fa2
--- /dev/null
+++ b/libraries/seatd/seatd.SlackBuild
@@ -0,0 +1,123 @@
+#!/bin/bash
+
+# Slackware build script for seatd
+
+# 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=seatd
+VERSION=${VERSION:-0.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"
+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/$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
+ 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 \
+ -Dlibseat-logind=elogind \
+ -Dlibseat-seatd=enabled \
+ -Dlibseat-builtin=disabled \
+ -Dserver=enabled \
+ -Dman-pages=enabled \
+
+ "${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
+
+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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/seatd/seatd.info b/libraries/seatd/seatd.info
new file mode 100644
index 0000000000..331c0897a0
--- /dev/null
+++ b/libraries/seatd/seatd.info
@@ -0,0 +1,10 @@
+PRGNAM="seatd"
+VERSION="0.6.4"
+HOMEPAGE="https://sr.ht/~kennylevinsen/seatd/"
+DOWNLOAD="https://git.sr.ht/~kennylevinsen/seatd/archive/0.6.4.tar.gz"
+MD5SUM="114604a0b346a40157839d5c8c8b2ce2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="scdoc"
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/seatd/slack-desc b/libraries/seatd/slack-desc
new file mode 100644
index 0000000000..acda835b90
--- /dev/null
+++ b/libraries/seatd/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------------------------------------------------------|
+seatd: seatd (universal seat management library and daemon)
+seatd:
+seatd: A minimal seat management daemon, and a universal
+seatd: seat management library.
+seatd: Supports: seatd, elogind, embedded seatd for standalone operation
+seatd:
+seatd: Homepage: https://sr.ht/~kennylevinsen/seatd/
+seatd:
+seatd:
+seatd:
+seatd:
diff --git a/libraries/secp256k1/secp256k1.SlackBuild b/libraries/secp256k1/secp256k1.SlackBuild
index c6742a6c21..2ade3f42aa 100644
--- a/libraries/secp256k1/secp256k1.SlackBuild
+++ b/libraries/secp256k1/secp256k1.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for secp256k1
-# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=secp256k1
-VERSION=${VERSION:-20170312}
-SRCVER="9d560f992db26612ce2630b194aef5f44d63a530"
+VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,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}
@@ -50,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -60,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-unzip $CWD/$PRGNAM-$SRCVER.zip
-cd $PRGNAM-$SRCVER
+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 \
@@ -83,6 +92,9 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-tests \
--disable-static \
--enable-module-recovery \
+ --enable-module-ecdh \
+ --enable-module-extrakeys \
+ --enable-module-schnorrsig \
--with-gnu-ld \
--build=$ARCH-slackware-linux
@@ -93,11 +105,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 TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING *.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/libraries/secp256k1/secp256k1.info b/libraries/secp256k1/secp256k1.info
index 712e871913..ca085c24f6 100644
--- a/libraries/secp256k1/secp256k1.info
+++ b/libraries/secp256k1/secp256k1.info
@@ -1,8 +1,8 @@
PRGNAM="secp256k1"
-VERSION="20170312"
+VERSION="0.4.1"
HOMEPAGE="https://github.com/bitcoin-core/secp256k1"
-DOWNLOAD="https://github.com/bitcoin-core/secp256k1/archive/9d560f992db26612ce2630b194aef5f44d63a530/secp256k1-9d560f992db26612ce2630b194aef5f44d63a530.zip"
-MD5SUM="9ccb51e81a4d94bc89d9d9d4a400e55a"
+DOWNLOAD="https://github.com/bitcoin-core/secp256k1/archive/v0.4.1/secp256k1-0.4.1.tar.gz"
+MD5SUM="d4900c6398801d5fcd58957b4519c5db"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/serd/README b/libraries/serd/README
index c04d76c994..bf73b46bc8 100644
--- a/libraries/serd/README
+++ b/libraries/serd/README
@@ -1,2 +1,6 @@
Serd is a lightweight C library for RDF syntax which supports reading
and writing Turtle and NTriples.
+
+By default docs aren't built: if you like to include them be sure
+to have the optional dependency Sphinx installed and pass the script
+the parameter DOCS=yes
diff --git a/libraries/serd/serd.SlackBuild b/libraries/serd/serd.SlackBuild
index 217fef0cf3..5a8066f13b 100644
--- a/libraries/serd/serd.SlackBuild
+++ b/libraries/serd/serd.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for serd
# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=serd
-VERSION=${VERSION:-0.22.0}
+VERSION=${VERSION:-0.30.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"
@@ -54,43 +65,50 @@ else
LIBDIRSUFFIX=""
fi
+doc="-Ddocs=disabled" ; [ "${DOCS:-no}" != "no" ] && doc="-Ddocs=enabled"
+
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 . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -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" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --configdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --largefile
-
-./waf
-
-./waf install \
- --destdir=$PKG
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+sed -i doc/meson.build -e "s|^docdir.*|docdir = '/usr/doc/$PRGNAM-$VERSION'|"
+
+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 \
+ $doc \
+ -Dstrip=true
+ "${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 {} \;
+[ "${DOCS:-no}" != "no" ] && find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL NEWS README \
+cp -a AUTHORS COPYING NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -98,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/libraries/serd/serd.info b/libraries/serd/serd.info
index 978a5b2323..99617c6034 100644
--- a/libraries/serd/serd.info
+++ b/libraries/serd/serd.info
@@ -1,10 +1,10 @@
PRGNAM="serd"
-VERSION="0.22.0"
+VERSION="0.30.16"
HOMEPAGE="http://drobilla.net/software/serd/"
-DOWNLOAD="http://download.drobilla.net/serd-0.22.0.tar.bz2"
-MD5SUM="541bceb9f7cec50f4bf618060332b87c"
+DOWNLOAD="http://download.drobilla.net/serd-0.30.16.tar.xz"
+MD5SUM="86e5ce5a874cd728a02aebf25b48dcc1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/setproctitle/README b/libraries/setproctitle/README
index 5cce4e85bd..d481f6c208 100644
--- a/libraries/setproctitle/README
+++ b/libraries/setproctitle/README
@@ -1,4 +1,4 @@
A library to allow customization of the process title.
-The library allows a process to change its title (as displayed by system tools
-such as ps and top).
+The library allows a process to change its title (as displayed by
+system tools such as ps and top).
diff --git a/libraries/setproctitle/setproctitle.SlackBuild b/libraries/setproctitle/setproctitle.SlackBuild
index 3626330579..4e47931298 100644
--- a/libraries/setproctitle/setproctitle.SlackBuild
+++ b/libraries/setproctitle/setproctitle.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for setproctitle
-# 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=setproctitle
-VERSION=${VERSION:-1.1.10}
+VERSION=${VERSION:-1.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,12 +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
-
-# 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
@@ -87,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/libraries/setproctitle/setproctitle.info b/libraries/setproctitle/setproctitle.info
index 03699c8df2..f8da93100e 100644
--- a/libraries/setproctitle/setproctitle.info
+++ b/libraries/setproctitle/setproctitle.info
@@ -1,10 +1,10 @@
PRGNAM="setproctitle"
-VERSION="1.1.10"
+VERSION="1.3.3"
HOMEPAGE="https://github.com/dvarrazzo/py-setproctitle"
-DOWNLOAD="https://pypi.python.org/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz"
-MD5SUM="2dcdd1b761700a5a13252fea3dfd1977"
+DOWNLOAD="https://files.pythonhosted.org/packages/ff/e1/b16b16a1aa12174349d15b73fd4b87e641a8ae3fb1163e80938dbbf6ae98/setproctitle-1.3.3.tar.gz"
+MD5SUM="1c042d6717212de791c4f9b63e7b544e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/libraries/shairplay/shairplay.SlackBuild b/libraries/shairplay/shairplay.SlackBuild
index 41dab701d9..e634eff7e8 100644
--- a/libraries/shairplay/shairplay.SlackBuild
+++ b/libraries/shairplay/shairplay.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shairplay
-# Copyright 2016 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2016-2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# 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=shairplay
-VERSION=${VERSION:-0.1.1}
+VERSION=${VERSION:-096b61a}
+SRCVER=${SRCVER:-096b61ad14c90169f438e690d096e3fcf87e504e}
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}
@@ -59,9 +67,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 $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
@@ -70,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 {} \;
+# Fix searching location for dns_sd.h
+sed -i 's|dns_sd.h|avahi-compat-libdns_sd/&|' configure.ac src/lib/dnssd.c
+
# Make the shairport look for the required airport.key in /etc/shairport
# rather than the current working directory
sed 's/airport.key/\/etc\/shairplay\/airport.key/' -i src/shairplay.c
@@ -85,11 +96,14 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --enable-playfair \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -104,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/libraries/shairplay/shairplay.info b/libraries/shairplay/shairplay.info
index 1f5168143e..88ff129fbc 100644
--- a/libraries/shairplay/shairplay.info
+++ b/libraries/shairplay/shairplay.info
@@ -1,10 +1,10 @@
PRGNAM="shairplay"
-VERSION="0.1.1"
-HOMEPAGE="https://github.com/qasim/shairplay/"
-DOWNLOAD="https://github.com/qasim/shairplay/archive/0.1.1/shairplay-0.1.1.tar.gz"
-MD5SUM="3cdfa8cfd210bd5543646b96f72d396b"
+VERSION="096b61a"
+HOMEPAGE="https://github.com/juhovh/shairplay/"
+DOWNLOAD="https://github.com/juhovh/shairplay/archive/096b61a/shairplay-096b61ad14c90169f438e690d096e3fcf87e504e.tar.gz"
+MD5SUM="98df256f98bf58732d08a699765a3a74"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="avahi"
MAINTAINER="Jeremy Hansen"
-EMAIL="jebrhansen+SBo -at- gmail dot com"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/simbody/simbody.SlackBuild b/libraries/simbody/simbody.SlackBuild
index 98b3081fc5..2f0b277dcb 100644
--- a/libraries/simbody/simbody.SlackBuild
+++ b/libraries/simbody/simbody.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for simbody
@@ -22,12 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - don't include api/ in doc dir if it's empty.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=simbody
SRCNAM=Simbody
-DIRNAM=simbody-Simbody-3.5.4
VERSION=${VERSION:-3.5.4}
-BUILD=${BUILD:-1}
+DIRNAM=$PRGNAM-$SRCNAM-$VERSION
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,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}
@@ -67,9 +77,9 @@ cd $DIRNAM
chown -R root: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 {} \+
# Move all docs to the correct location
sed -i "s|doc/simbody|doc/simbody-$VERSION|" CMakeLists.txt
@@ -83,17 +93,17 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip 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
+# 20220424 bkw: if this dir isn't empty, include it in the package.
+# not sure what optional dep is needed to populate it.
+rmdir $PKG/usr/doc/$PRGNAM-$VERSION/api &> /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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/simde/README b/libraries/simde/README
new file mode 100644
index 0000000000..f8906793b5
--- /dev/null
+++ b/libraries/simde/README
@@ -0,0 +1,8 @@
+Implementations of SIMD instruction sets for systems which don't
+natively support them.
+
+The SIMDe header-only library provides fast, portable implementations of
+SIMD intrinsics on hardware which doesn't natively support them, such as
+calling SSE functions on ARM. There is no performance penalty if the
+hardware supports the native implementation (e.g., SSE/AVX runs at full
+speed on x86, NEON on ARM, etc.).
diff --git a/libraries/simde/simde.SlackBuild b/libraries/simde/simde.SlackBuild
new file mode 100644
index 0000000000..ffedd6acbd
--- /dev/null
+++ b/libraries/simde/simde.SlackBuild
@@ -0,0 +1,71 @@
+#!/bin/bash
+
+# Slackware build script for simde
+
+# Copyright 2024 Eugene Wissner, Mannheim ,Germany
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=simde
+VERSION=${VERSION:-0.8.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=simde-amalgamated
+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.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 {} \;
+
+cd ..
+mkdir -p $PKG/usr/include
+mv $SRCNAM-$VERSION $PKG/usr/include/$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/libraries/simde/simde.info b/libraries/simde/simde.info
new file mode 100644
index 0000000000..c639595c47
--- /dev/null
+++ b/libraries/simde/simde.info
@@ -0,0 +1,10 @@
+PRGNAM="simde"
+VERSION="0.8.0"
+HOMEPAGE="https://simd-everywhere.github.io/blog/"
+DOWNLOAD="https://github.com/simd-everywhere/simde/releases/download/v0.8.0/simde-amalgamated-0.8.0.tar.xz"
+MD5SUM="1163abbb1c0c4627a1dfd95f8eedcc1d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Eugen Wissner"
+EMAIL="belka@caraus.de"
diff --git a/libraries/simde/slack-desc b/libraries/simde/slack-desc
new file mode 100644
index 0000000000..ec01a43379
--- /dev/null
+++ b/libraries/simde/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------------------------------------------------------|
+simde: simde (SIMD Everywhere)
+simde:
+simde: Implementations of SIMD instruction sets for systems which don't
+simde: natively support them.
+simde:
+simde: Homepage: https://simd-everywhere.github.io/blog/
+simde:
+simde:
+simde:
+simde:
+simde:
diff --git a/libraries/simpleini/README b/libraries/simpleini/README
new file mode 100644
index 0000000000..8522b7ab18
--- /dev/null
+++ b/libraries/simpleini/README
@@ -0,0 +1,2 @@
+Cross-platform C++ library providing a simple API to read and write
+INI-style configuration files
diff --git a/libraries/simpleini/simpleini.SlackBuild b/libraries/simpleini/simpleini.SlackBuild
new file mode 100644
index 0000000000..cde2789755
--- /dev/null
+++ b/libraries/simpleini/simpleini.SlackBuild
@@ -0,0 +1,95 @@
+#!/bin/bash
+
+# Slackware build script for simpleini
+
+# Copyright 2022-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=simpleini
+VERSION=${VERSION:-4.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.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/include
+cp -a SimpleIni.h ConvertUTF.h $PKG/usr/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/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENCE.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-noarch-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/simpleini/simpleini.info b/libraries/simpleini/simpleini.info
new file mode 100644
index 0000000000..72f590d499
--- /dev/null
+++ b/libraries/simpleini/simpleini.info
@@ -0,0 +1,10 @@
+PRGNAM="simpleini"
+VERSION="4.22"
+HOMEPAGE="https://github.com/brofield/simpleini"
+DOWNLOAD="https://github.com/brofield/simpleini/archive/v4.22/simpleini-4.22.tar.gz"
+MD5SUM="440bd308bbc5e1c39ab0ac3db14971f1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/simpleini/slack-desc b/libraries/simpleini/slack-desc
new file mode 100644
index 0000000000..a471d95e29
--- /dev/null
+++ b/libraries/simpleini/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------------------------------------------------------|
+simpleini: simpleini (C++ Library)
+simpleini:
+simpleini: Cross-platform C++ library providing a simple API to read and write
+simpleini: INI-style configuration files
+simpleini:
+simpleini: Homepage: https://github.com/brofield/simpleini
+simpleini:
+simpleini:
+simpleini:
+simpleini:
+simpleini:
diff --git a/libraries/skalibs/README b/libraries/skalibs/README
index c601481353..909a34f220 100644
--- a/libraries/skalibs/README
+++ b/libraries/skalibs/README
@@ -1,21 +1,21 @@
skalibs is a package centralizing the free software / open source C
development files used for building all software at skarnet.org: it
-contains essentially general-purpose libraries. You will need to
-install skalibs if you plan to build skarnet.org software. The point
-is that you won't have to download and compile big libraries, and care
-about portability issues, everytime you need to build a package: do it
-only once.
+contains essentially general-purpose libraries. You will need to install
+skalibs if you plan to build skarnet.org software. The point is that you
+won't have to download and compile big libraries, and care about
+portability issues, everytime you need to build a package: do it only
+once.
skalibs can also be used as a sound basic start for C development.
-There are a lot of general-purpose libraries out there; but if your
-main goal is to produce small and secure C code with a focus on system
+There are a lot of general-purpose libraries out there; but if your main
+goal is to produce small and secure C code with a focus on system
programming, skalibs might be for you.
NOTE:
-Upstream recommends building skarnet.org softwares with static libraries
-as most of skarnet.org softwares are small enough that using shared
-libraries are generally not worth using. Therefore, the SlackBuild
-script will only build the static libraries by default.
+Upstream recommends building skarnet.org software with static libraries,
+as most of skarnet.org software are small enough that shared libraries
+are generally not worth using. Therefore, this SlackBuild script will
+only build the static libraries by default.
If you want to also build the shared libraries, pass BUILD_SHARED=yes
environment variable to the script like below:
@@ -28,5 +28,13 @@ libraries and not the static ones, you can do something like
BUILD_SHARED=yes BUILD_STATIC=no ./skalibs.SlackBuild
-If you just want to build and use skarnet.org softwares, building only
+If you just want to build and use skarnet.org software, building only
the static libraries should be sufficient.
+
+Also, the execvep() function from skalibs (used by all skarnet.org
+software) has a default executable search path that will be used if the
+PATH environment variable is undefined. The default is /usr/bin:/bin.
+Pass DEF_PATH=some:path:list to the script if you want to change it,
+e.g.,
+
+ DEF_PATH=/usr/bin:/bin:/usr/sbin:/sbin ./skalibs.SlackBuild
diff --git a/libraries/skalibs/skalibs.SlackBuild b/libraries/skalibs/skalibs.SlackBuild
index b4271019a2..e2078191dc 100644
--- a/libraries/skalibs/skalibs.SlackBuild
+++ b/libraries/skalibs/skalibs.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for skalibs
@@ -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=skalibs
-VERSION=${VERSION:-2.9.1.0}
+VERSION=${VERSION:-2.14.1.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}
@@ -55,19 +65,20 @@ else
LIBDIRSUFFIX=""
fi
-# Upstream recommends building skarnet.org softwares using the static
-# version of skalibs so we are going to build just the static version of skalibs by default
-# If you need to build the shared libraries, just pass BUILD_SHARED=yes to this script
+# Upstream recommends building skarnet.org software with static libraries, as
+# most of skarnet.org software are small enough that shared libraries are
+# generally not worth using. Therefore, we will only build the static libraries
+# by default.
BUILD_STATIC=${BUILD_STATIC:-yes}
BUILD_SHARED=${BUILD_SHARED:-no}
+[ "$BUILD_STATIC" = "no" ] && LIBS_CONF="--disable-static"
+[ "$BUILD_SHARED" = "no" ] && LIBS_CONF="--disable-shared $LIBS_CONF"
-if [ "$BUILD_STATIC" = "no" ]; then
- LIBS_CONF="--disable-static"
-fi
-
-if [ "$BUILD_SHARED" = "no" ]; then
- LIBS_CONF="--disable-shared $LIBS_CONF"
-fi
+# The execvep() function from skalibs (used by all skarnet.org software) has a
+# default executable search path that will be used if the PATH environment
+# variable is undefined. The default is /usr/bin:/bin. Pass
+# DEF_PATH=some:path:list to this script if you want to change it.
+DEF_PATH=${DEF_PATH:-/usr/bin:/bin}
set -e
@@ -92,6 +103,7 @@ CXXFLAGS="$SLKCFLAGS" \
--includedir=/usr/include \
--sysdepdir=/usr/lib${LIBDIRSUFFIX}/skalibs/sysdeps \
--datadir=/etc \
+ --with-default-path=${DEF_PATH} \
$LIBS_CONF
make
@@ -99,11 +111,11 @@ make strip
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL NEWS README doc $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/skalibs/skalibs.info b/libraries/skalibs/skalibs.info
index 68bb358c91..ffde666904 100644
--- a/libraries/skalibs/skalibs.info
+++ b/libraries/skalibs/skalibs.info
@@ -1,8 +1,8 @@
PRGNAM="skalibs"
-VERSION="2.9.1.0"
+VERSION="2.14.1.0"
HOMEPAGE="https://skarnet.org/software/skalibs/"
-DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.9.1.0.tar.gz"
-MD5SUM="2e8a84c1969eb7327b67b9a96dd7332d"
+DOWNLOAD="https://skarnet.org/software/skalibs/skalibs-2.14.1.0.tar.gz"
+MD5SUM="289392217e4434909cf1ca31950e1f07"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/skalibs/slack-desc b/libraries/skalibs/slack-desc
index 12cb6a8087..c633620d5f 100644
--- a/libraries/skalibs/slack-desc
+++ b/libraries/skalibs/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-skalibs: skalibs (general-purpose C libraries for skarnet.org softwares)
+skalibs: skalibs (general-purpose C libraries for skarnet.org software)
skalibs:
skalibs: skalibs is a package centralizing the free software / open source C
skalibs: development files used for building all software at skarnet.org: it
@@ -16,3 +16,4 @@ skalibs: also be used as a general-purpose library. It is very suitable for
skalibs: creating small and secure system programs.
skalibs:
skalibs: Homepage: https://skarnet.org/software/skalibs/
+skalibs:
diff --git a/libraries/skalibs/sysdeps.cfg/sysdeps b/libraries/skalibs/sysdeps.cfg/sysdeps
deleted file mode 100644
index 8829fd46ab..0000000000
--- a/libraries/skalibs/sysdeps.cfg/sysdeps
+++ /dev/null
@@ -1 +0,0 @@
-target: x86_64-slackware-linux
diff --git a/libraries/skalibs/sysdeps.cfg/sysdeps.h b/libraries/skalibs/sysdeps.cfg/sysdeps.h
deleted file mode 100644
index 09dd53d4b8..0000000000
--- a/libraries/skalibs/sysdeps.cfg/sysdeps.h
+++ /dev/null
@@ -1,6 +0,0 @@
-/* ISC license. */
-
-#ifndef SYSDEPS_H
-#define SYSDEPS_H
-
-#define SKALIBS_TARGET "x86_64-slackware-linux"
diff --git a/libraries/skalibs/sysdeps.cfg/target b/libraries/skalibs/sysdeps.cfg/target
deleted file mode 100644
index 210a166722..0000000000
--- a/libraries/skalibs/sysdeps.cfg/target
+++ /dev/null
@@ -1 +0,0 @@
-x86_64-slackware-linux
diff --git a/libraries/skalibs/sysdeps.cfg/util.lib b/libraries/skalibs/sysdeps.cfg/util.lib
deleted file mode 100644
index 8b13789179..0000000000
--- a/libraries/skalibs/sysdeps.cfg/util.lib
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/libraries/skstream/skstream.SlackBuild b/libraries/skstream/skstream.SlackBuild
index 588f08b7d5..2b695553d8 100644
--- a/libraries/skstream/skstream.SlackBuild
+++ b/libraries/skstream/skstream.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for skstream
@@ -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=skstream
VERSION=${VERSION:-0.3.9}
-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}
@@ -91,8 +101,10 @@ 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/libraries/slib/slib.SlackBuild b/libraries/slib/slib.SlackBuild
index 4dab901554..bc65bad462 100644
--- a/libraries/slib/slib.SlackBuild
+++ b/libraries/slib/slib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for slib
@@ -22,38 +22,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - make noarch (no compiled code or lib64 dir here).
+# - fix doc permissions.
+# - remove extraneous /usr/doc/$PRGNAM- dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=slib
VERSION=${VERSION:-3b5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
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
+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}
-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,9 +57,9 @@ 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 \
+ -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 {} \+
# We don't have ginstall-info
sed -i s,ginstall-info,install-info,g Makefile
@@ -88,9 +80,6 @@ SCHEME=guile1.8 \
TEXI2HTML="$(which texi2html) -split -verbose" \
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
-
# https://www.gnu.org/software/guile/manual/html_node/SLIB-installation.html
mkdir -p $PKG/usr/share/guile/1.8/
ln -s ../../slib $PKG/usr/share/guile/1.8/
@@ -104,15 +93,17 @@ cat $CWD/guile-slibcat.script > $PKG/usr/libexec/slib/guile-slibcat.script
chmod 0755 $PKG/usr/libexec/slib/guile-slibcat.script
gzip -9 $PKG/usr/man/man1/*.1
-rm -f $PKG/usr/info/dir
+rm -rf $PKG/usr/info/dir $PKG/usr/doc/$PRGNAM-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCE ChangeLog COPYING FAQ README $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 ANNOUNCE ChangeLog COPYING FAQ 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 -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/libraries/slib/slib.info b/libraries/slib/slib.info
index 8900e100ce..99bfb09057 100644
--- a/libraries/slib/slib.info
+++ b/libraries/slib/slib.info
@@ -1,7 +1,7 @@
PRGNAM="slib"
VERSION="3b5"
HOMEPAGE="http://www-swiss.ai.mit.edu/~jaffer/SLIB.html"
-DOWNLOAD="http://groups.csail.mit.edu/mac/ftpdir/scm/slib-3b5.zip"
+DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/slib-3b5.zip"
MD5SUM="b3181fa98bbb4153a4fc984c3e71a86b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/slv2/slv2.SlackBuild b/libraries/slv2/slv2.SlackBuild
index 6807ffb551..70379c1e94 100644
--- a/libraries/slv2/slv2.SlackBuild
+++ b/libraries/slv2/slv2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for slv2
@@ -22,26 +22,43 @@
# 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=4:
+# - +x permission for shared lib.
+# - remove empty /usr/man/man3 dir.
+
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - strip binaries and libraries.
+# - don't run ldconfig while bulding.
+# - i486 => i586.
+# - remove useless INSTALL from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=slv2
VERSION=${VERSION:-0.6.6}
-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"
@@ -65,9 +82,15 @@ 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 {} \+
+
+# 20220424 bkw: don't run ldconfig in 'waf install'.
+sed -i 's,/sbin/ldconfig,/bin/true,' autowaf.py
+
+# In the newer lv2 the pkgconfig file is named differently...
+sed -i "s|lv2core|lv2|" wscript
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,16 +102,19 @@ CXXFLAGS="$SLKCFLAGS" \
./waf build
./waf install --destdir=$PKG
+strip $PKG/usr/bin/* $PKG/usr/lib*/*.so.*.*.*
+chmod 755 $PKG/usr/lib*/*.so.*.*.*
if [ "$LIBDIRSUFFIX" != "" ]; then
sed -i "s,/lib,/lib$LIBDIRSUFFIX," \
$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/$PRGNAM.pc
fi
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+rmdir $PKG/usr/man/man3 || true
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL README \
+cp -a AUTHORS ChangeLog COPYING README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,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/libraries/slv2/slv2.info b/libraries/slv2/slv2.info
index b3b71d8f74..e78aa8c225 100644
--- a/libraries/slv2/slv2.info
+++ b/libraries/slv2/slv2.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://download.drobilla.net/slv2-0.6.6.tar.bz2"
MD5SUM="b8e8e0e82dd04324fcd533e8acd1ce85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lv2"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+REQUIRES="lv2 redland"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/smmap/smmap.SlackBuild b/libraries/smmap/smmap.SlackBuild
index a4238238e8..f5973a7487 100644
--- a/libraries/smmap/smmap.SlackBuild
+++ b/libraries/smmap/smmap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smmap
@@ -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=smmap
VERSION=${VERSION:-0.9.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 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/smmap2/smmap2.SlackBuild b/libraries/smmap2/smmap2.SlackBuild
index ae66dcd27d..93ce6bb552 100644
--- a/libraries/smmap2/smmap2.SlackBuild
+++ b/libraries/smmap2/smmap2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smmap2
@@ -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=smmap2
VERSION=${VERSION:-2.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}
@@ -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/libraries/smpeg2/smpeg2.SlackBuild b/libraries/smpeg2/smpeg2.SlackBuild
index 4b2f268ec0..f33632545e 100644
--- a/libraries/smpeg2/smpeg2.SlackBuild
+++ b/libraries/smpeg2/smpeg2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for smpeg2
@@ -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=smpeg2
VERSION=${VERSION:-2.0.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}
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYING README README.SDL_mixer 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/libraries/smpeg2/smpeg2.info b/libraries/smpeg2/smpeg2.info
index 566abb568d..3ec0726aff 100644
--- a/libraries/smpeg2/smpeg2.info
+++ b/libraries/smpeg2/smpeg2.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.libsdl.org/projects/smpeg/release/smpeg2-2.0.0.tar.gz"
MD5SUM="0dd8ed3c25e0aa8eb3ac96fdec5c0283"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="SDL2"
+REQUIRES=""
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
diff --git a/libraries/soci/README b/libraries/soci/README
new file mode 100644
index 0000000000..339f750787
--- /dev/null
+++ b/libraries/soci/README
@@ -0,0 +1,8 @@
+SOCI is a database access library for C++ that makes the illusion of
+embedding SQL queries in the regular C++ code, staying entirely within
+within the Standard C++.
+
+The idea is to provide C++ programmers a way to access SQL databases
+in the most natural and intuitive way. If you find existing libraries
+too difficult for your needs or just distracting, SOCI can be a good
+alternative.
diff --git a/libraries/soci/slack-desc b/libraries/soci/slack-desc
new file mode 100644
index 0000000000..5da8d3067c
--- /dev/null
+++ b/libraries/soci/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------------------------------------------------------|
+soci: soci (Database Access Library for C++)
+soci:
+soci: SOCI is a database access library for C++ that makes the illusion of
+soci: embedding SQL queries in the regular C++ code, staying entirely within
+soci: the Standard C++.
+soci:
+soci:
+soci:
+soci:
+soci:
+soci:
diff --git a/libraries/soci/soci.SlackBuild b/libraries/soci/soci.SlackBuild
new file mode 100644
index 0000000000..e66c1ebca3
--- /dev/null
+++ b/libraries/soci/soci.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for soci
+
+# 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=soci
+VERSION=${VERSION:-4.0.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
+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 {} \;
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSOCI_TESTS=OFF \
+ -DCMAKE_CXX_STANDARD=11 \
+ -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 CHANGES README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/soci/soci.info b/libraries/soci/soci.info
new file mode 100644
index 0000000000..930f2b4f5a
--- /dev/null
+++ b/libraries/soci/soci.info
@@ -0,0 +1,10 @@
+PRGNAM="soci"
+VERSION="4.0.3"
+HOMEPAGE="http://soci.sf.net"
+DOWNLOAD="http://downloads.sourceforge.net/project/soci/soci/soci-4.0.3/soci-4.0.3.zip"
+MD5SUM="c700d18030f99bf25498f8f2230d687f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="postgresql unixODBC"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/libraries/sofia-sip/README b/libraries/sofia-sip/README
new file mode 100644
index 0000000000..7bf0a8d475
--- /dev/null
+++ b/libraries/sofia-sip/README
@@ -0,0 +1,7 @@
+Sofia-SIP is an open-source SIP User-Agent library, compliant with the
+IETF RFC3261 specification. It can be used as a building block for SIP
+client software for uses such as VoIP, IM, and many other real-time and
+person-to-person communication services. The primary target platform for
+Sofia-SIP is GNU/Linux. Sofia-SIP is based on a SIP stack developed at
+the Nokia Research Center. Sofia-SIP is licensed under the LGPL.
+
diff --git a/libraries/sofia-sip/slack-desc b/libraries/sofia-sip/slack-desc
new file mode 100644
index 0000000000..627f06eaa0
--- /dev/null
+++ b/libraries/sofia-sip/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------------------------------------------------------|
+sofia-sip: sofia-sip (SIP User-Agent Library)
+sofia-sip:
+sofia-sip: Sofia-SIP - RFC3261 compliant SIP User-Agent library.
+sofia-sip:
+sofia-sip:
+sofia-sip:
+sofia-sip:
+sofia-sip:
+sofia-sip:
+sofia-sip: https://github.com/freeswitch/sofia-sip
+sofia-sip:
diff --git a/libraries/sofia-sip/sofia-sip.SlackBuild b/libraries/sofia-sip/sofia-sip.SlackBuild
new file mode 100644
index 0000000000..2356a932fa
--- /dev/null
+++ b/libraries/sofia-sip/sofia-sip.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for sofia-sip
+
+# Copyright 2023, Bob Funk, Winnipeg Canada
+# Copyright 2023, Yossi Neiman, <mishehu+sbo@shavedgoats.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=sofia-sip
+VERSION=${VERSION:-1.13.16}
+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 {} \;
+
+# Run the autogen.sh script:
+sh 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
+
+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 \
+ AUTHORS COPYING COPYRIGHTS README README.developers RELEASE SECURITY.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/libraries/sofia-sip/sofia-sip.info b/libraries/sofia-sip/sofia-sip.info
new file mode 100644
index 0000000000..4a4214cb86
--- /dev/null
+++ b/libraries/sofia-sip/sofia-sip.info
@@ -0,0 +1,10 @@
+PRGNAM="sofia-sip"
+VERSION="1.13.16"
+HOMEPAGE="https://github.com/freeswitch/sofia-sip"
+DOWNLOAD="https://github.com/freeswitch/sofia-sip/archive/v1.13.16/sofia-sip-1.13.16.tar.gz"
+MD5SUM="777358bd504a76517a9d510c7aa78204"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Yossi Neiman"
+EMAIL="mishehu+sbo at shavedgoats.net"
diff --git a/libraries/soil/soil.SlackBuild b/libraries/soil/soil.SlackBuild
index ee39308036..d0dfdd8227 100644
--- a/libraries/soil/soil.SlackBuild
+++ b/libraries/soil/soil.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for soil
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=soil
VERSION=${VERSION:-1.07}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DIRNAM="Simple OpenGL Image Library"
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"
@@ -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/libraries/soil/soil.info b/libraries/soil/soil.info
index 19109bb895..460356508d 100644
--- a/libraries/soil/soil.info
+++ b/libraries/soil/soil.info
@@ -1,7 +1,7 @@
PRGNAM="soil"
VERSION="1.07"
HOMEPAGE="http://www.lonesock.net/soil.html"
-DOWNLOAD="http://www.lonesock.net/files/soil.zip"
+DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/4/7/4736ac4f34fd9a41fa0197eac23bbc24/soil.zip"
MD5SUM="4736ac4f34fd9a41fa0197eac23bbc24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/sord/sord.SlackBuild b/libraries/sord/sord.SlackBuild
index 1a8a102ed1..980863b2cd 100644
--- a/libraries/sord/sord.SlackBuild
+++ b/libraries/sord/sord.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sord
# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2020-2023 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=sord
-VERSION=${VERSION:-0.14.0}
+VERSION=${VERSION:-0.16.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"
@@ -60,28 +71,34 @@ 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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --configdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
-
-./waf
-
-./waf install \
- --destdir=$PKG
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+sed -i doc/meson.build -e "s|^docdir.*|docdir = '/usr/doc/'|" \
+ -e "s|docdir\ /\ versioned_name|docdir / '$PRGNAM-$VERSION'|"
+
+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 ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -89,7 +106,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL NEWS README \
+cp -a AUTHORS COPYING NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -97,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/libraries/sord/sord.info b/libraries/sord/sord.info
index 82211c257c..99015074e1 100644
--- a/libraries/sord/sord.info
+++ b/libraries/sord/sord.info
@@ -1,10 +1,10 @@
PRGNAM="sord"
-VERSION="0.14.0"
+VERSION="0.16.14"
HOMEPAGE="http://drobilla.net/software/sord/"
-DOWNLOAD="http://download.drobilla.net/sord-0.14.0.tar.bz2"
-MD5SUM="7ffda283ad0a5716f196f650edd25713"
+DOWNLOAD="http://download.drobilla.net/sord-0.16.14.tar.xz"
+MD5SUM="73ed5c03c43ef3cc62558c6826b15fa4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="serd"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/soundtouch/README b/libraries/soundtouch/README
index ecefc34dc3..64e3ad5cf3 100644
--- a/libraries/soundtouch/README
+++ b/libraries/soundtouch/README
@@ -1,7 +1,8 @@
-SoundTouch is an open-source audio processing library that allows changing
-the sound tempo, pitch, and playback rate parameters independently from each
-other. For example:
-- tempo can be increased or decreased while maintaining the original pitch
-- pitch can be increased or decreased while maintaining the original tempo
-- Change playback rate that affects both tempo and pitch at the same time
+SoundTouch is an open-source audio processing library that allows
+changing the sound tempo, pitch, and playback rate parameters
+independently from each other. For example:
+
+- tempo can be increased/decreased while maintaining the original pitch
+- pitch can be increased/decreased while maintaining the original tempo
+- Change playback rate, affects both tempo and pitch at the same time
- Choose any combination of tempo/pitch/rate
diff --git a/libraries/soundtouch/soundtouch.SlackBuild b/libraries/soundtouch/soundtouch.SlackBuild
index 8a5970a1fa..cd536760ab 100644
--- a/libraries/soundtouch/soundtouch.SlackBuild
+++ b/libraries/soundtouch/soundtouch.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for soundtouch
-# Copyright 2008-2013 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 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=soundtouch
-VERSION=${VERSION:-1.9.2}
+VERSION=${VERSION:-2.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"
@@ -59,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -77,6 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \
--disable-static \
--localstatedir=/var \
@@ -89,6 +100,9 @@ make install \
pkgdocdir="/usr/doc/$PRGNAM-$VERSION" \
DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -99,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/libraries/soundtouch/soundtouch.info b/libraries/soundtouch/soundtouch.info
index e4455f961d..9b96b6640d 100644
--- a/libraries/soundtouch/soundtouch.info
+++ b/libraries/soundtouch/soundtouch.info
@@ -1,10 +1,10 @@
PRGNAM="soundtouch"
-VERSION="1.9.2"
+VERSION="2.3.1"
HOMEPAGE="http://www.surina.net/soundtouch"
-DOWNLOAD="http://www.surina.net/soundtouch/soundtouch-1.9.2.tar.gz"
-MD5SUM="2d1ab4abb54640e8e308e36e309c94a6"
+DOWNLOAD="https://www.surina.net/soundtouch/soundtouch-2.3.1.tar.gz"
+MD5SUM="f9690985eee4778706a51d06aa935f6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/spandsp/README b/libraries/spandsp/README
new file mode 100644
index 0000000000..7408c9079b
--- /dev/null
+++ b/libraries/spandsp/README
@@ -0,0 +1,5 @@
+SpanDSP is a library of DSP functions for telephony, in the 8000
+sample per second world of E1s, T1s, and higher order PCM channels.
+It contains low level functions, such as basic filters. It also
+contains higher level functions, such as cadenced supervisory tone
+detection, and a complete software FAX machine.
diff --git a/libraries/spandsp/slack-desc b/libraries/spandsp/slack-desc
new file mode 100644
index 0000000000..37c8ac4bc7
--- /dev/null
+++ b/libraries/spandsp/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------------------------------------------------------|
+spandsp: spandsp (low-level signal processing library)
+spandsp:
+spandsp: SpanDSP is a library of DSP functions for telephony, in the 8000
+spandsp: sample per second world of E1s, T1s, and higher order PCM channels.
+spandsp: It contains low level functions, such as basic filters. It also
+spandsp: contains higher level functions, such as cadenced supervisory tone
+spandsp: detection, and a complete software FAX machine.
+spandsp:
+spandsp:
+spandsp:
+spandsp:
diff --git a/libraries/spandsp/spandsp.SlackBuild b/libraries/spandsp/spandsp.SlackBuild
new file mode 100644
index 0000000000..191ecaa38c
--- /dev/null
+++ b/libraries/spandsp/spandsp.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for spandsp
+
+# 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=spandsp
+VERSION=${VERSION:-0.0.6_0d2e6a}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+COMMIT=0d2e6ac65e0e8f53d652665a743015a88bf048d4
+
+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-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$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 {} \;
+
+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
+
+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 \
+AUTHORS NEWS \
+COPYING README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/spandsp/spandsp.info b/libraries/spandsp/spandsp.info
new file mode 100644
index 0000000000..8e22c38f73
--- /dev/null
+++ b/libraries/spandsp/spandsp.info
@@ -0,0 +1,10 @@
+PRGNAM="spandsp"
+VERSION="0.0.6_0d2e6a"
+HOMEPAGE="https://github.com/freeswitch/spandsp"
+DOWNLOAD="https://github.com/freeswitch/spandsp/archive/0d2e6a/spandsp-0d2e6ac65e0e8f53d652665a743015a88bf048d4.tar.gz"
+MD5SUM="632a1a4991d9cf6ca6fb484d423169a6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="fltk"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.spandsp_2023-07-10@lockywolf.net"
diff --git a/libraries/sparsehash/sparsehash.SlackBuild b/libraries/sparsehash/sparsehash.SlackBuild
index ffe9703129..a3b5f6c4e1 100644
--- a/libraries/sparsehash/sparsehash.SlackBuild
+++ b/libraries/sparsehash/sparsehash.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sparsehash
-# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2020 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=sparsehash
-VERSION=${VERSION:-2.0.3}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.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,6 +79,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 {} \;
+# the version number is incorrect
+sed -i "s|sparsehash,\ 2\.0\.2|sparsehash, 2.0.4|" configure.ac
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,12 +100,16 @@ 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 doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/$PRGNAM-* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -fR $PKG/usr/share
+cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html
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/libraries/sparsehash/sparsehash.info b/libraries/sparsehash/sparsehash.info
index 62f5d59320..8e58865768 100644
--- a/libraries/sparsehash/sparsehash.info
+++ b/libraries/sparsehash/sparsehash.info
@@ -1,8 +1,8 @@
PRGNAM="sparsehash"
-VERSION="2.0.3"
+VERSION="2.0.4"
HOMEPAGE="https://github.com/sparsehash/sparsehash"
-DOWNLOAD="https://github.com/sparsehash/sparsehash/archive/sparsehash-2.0.3/sparsehash-sparsehash-2.0.3.tar.gz"
-MD5SUM="d8d5e2538c1c25577b3f066d7a55e99e"
+DOWNLOAD="https://github.com/sparsehash/sparsehash/archive/sparsehash-2.0.4/sparsehash-sparsehash-2.0.4.tar.gz"
+MD5SUM="cb565465643c3588abfac569b31e7433"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/spdlog/README b/libraries/spdlog/README
index 0afd9e64a1..3759669027 100644
--- a/libraries/spdlog/README
+++ b/libraries/spdlog/README
@@ -1,3 +1,7 @@
Very fast, header-only/compiled, C++ logging library.
-fmt is an optional dependency.
+fmt is an optional dependency and will be autodetected if installed.
+
+This scripts builds both 32bit and 64bit libraries by autodetecting
+multilib. If you are on a multilib system and only wish to build the
+64bit library, pass COMPAT32=no to the build script.
diff --git a/libraries/spdlog/slack-desc b/libraries/spdlog/slack-desc
index 12a47c8e36..fc45d5b4a5 100644
--- a/libraries/spdlog/slack-desc
+++ b/libraries/spdlog/slack-desc
@@ -10,7 +10,7 @@ spdlog: spdlog (Fast C++ logging library)
spdlog:
spdlog: Very fast, header-only/compiled, C++ logging library.
spdlog:
-spdlog: https://github.com/gabime/spdlog
+spdlog: Homepage: https://github.com/gabime/spdlog
spdlog:
spdlog:
spdlog:
diff --git a/libraries/spdlog/spdlog.SlackBuild b/libraries/spdlog/spdlog.SlackBuild
index 029d456316..2895b47708 100644
--- a/libraries/spdlog/spdlog.SlackBuild
+++ b/libraries/spdlog/spdlog.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spdlog
-# Copyright 2017 Andre Barboza, Belo Horizonte - Brazil
+# Copyright 2023-2024 Steven Voges <Oregon, USA>
# Copyright 2019-2020 Hunter Sezen California, USA
+# Copyright 2017 Andre Barboza, Belo Horizonte - Brazil
# 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=spdlog
-VERSION=${VERSION:-1.5.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.12.0}
+BUILD=${BUILD:-2}
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}
@@ -55,7 +63,15 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+#Test for multilib
+COMPAT32=${COMPAT32@L}
+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"
+
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -66,12 +82,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 {} \;
-
-FMT=OFF
-pkg-config --exists fmt && FMT=ON
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p build
cd build
@@ -83,18 +96,41 @@ cd build
-DSPDLOG_BUILD_TESTS=ON \
-DSPDLOG_BUILD_BENCH=OFF \
-DSPDLOG_BUILD_EXAMPLE=OFF \
- -DSPDLOG_FMT_EXTERNAL=$FMT \
+ -DSPDLOG_FMT_EXTERNAL=OFF \
+ -DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ 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 \
+ -DSPDLOG_BUILD_SHARED=ON \
+ -DSPDLOG_BUILD_TESTS=ON \
+ -DSPDLOG_BUILD_BENCH=OFF \
+ -DSPDLOG_BUILD_EXAMPLE=OFF \
+ -DSPDLOG_FMT_EXTERNAL=OFF \
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+ cd ..
+fi
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md $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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/spdlog/spdlog.info b/libraries/spdlog/spdlog.info
index b734b776f8..2da0e77b10 100644
--- a/libraries/spdlog/spdlog.info
+++ b/libraries/spdlog/spdlog.info
@@ -1,10 +1,10 @@
PRGNAM="spdlog"
-VERSION="1.5.0"
+VERSION="1.12.0"
HOMEPAGE="https://github.com/gabime/spdlog"
-DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.5.0/spdlog-1.5.0.tar.gz"
-MD5SUM="a966eea01f81551527853d282896cb4d"
+DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.12.0/spdlog-1.12.0.tar.gz"
+MD5SUM="6b4446526264c1d1276105482adc18d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+REQUIRES="Catch2"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/spfft/README b/libraries/spfft/README
new file mode 100644
index 0000000000..4b6a15cccc
--- /dev/null
+++ b/libraries/spfft/README
@@ -0,0 +1,21 @@
+ SpFFT - A 3D FFT library for sparse frequency domain data written
+in C++ with support for MPI, OpenMP, CUDA and ROCm.
+
+ Inspired by the need of some computational material science
+applications with spherical cutoff data in frequency domain, SpFFT
+provides Fast Fourier Transformations of sparse frequency domain data.
+For distributed computations with MPI, slab decomposition in space
+domain and pencil decomposition in frequency domain (sparse data
+within a pencil / column must be on one rank) is used.
+
+
+ By default the package is compiled with single-precision float-point
+operations and a sequential version. If you want to change it use the
+following environment variable options:
+ - DP=yes, use double-precision.
+ - OMP=yes, use openmp.
+
+ Options that requires extra packages:
+ - MPI=yes, use MPI (requires a MPI implementation either mpich or
+ openmpi).
+ - CUDA=yes, requires CUDA Toolkit
diff --git a/libraries/spfft/slack-desc b/libraries/spfft/slack-desc
new file mode 100644
index 0000000000..e128e89d43
--- /dev/null
+++ b/libraries/spfft/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------------------------------------------------------|
+spfft: spfft (Sparse 3D FFT library)
+spfft:
+spfft:
+spfft:
+spfft: SpFFT - A 3D FFT library for sparse frequency domain data written
+spfft: in C++ with support for MPI, OpenMP, CUDA and ROCm.
+spfft:
+spfft:
+spfft:
+spfft:
+spfft:
diff --git a/libraries/spfft/spfft.SlackBuild b/libraries/spfft/spfft.SlackBuild
new file mode 100644
index 0000000000..61642fa121
--- /dev/null
+++ b/libraries/spfft/spfft.SlackBuild
@@ -0,0 +1,151 @@
+#!/bin/bash
+
+# Slackware build script for SpFFT
+
+# 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=spfft
+VERSION=${VERSION:-1.0.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=SpFFT
+
+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 [ "${DP:-no}" == "yes" ]; then
+ CMAKE_OPTS="-DSPFFT_SINGLE_PRECISION:BOOL=OFF"
+else
+ CMAKE_OPTS="-DSPFFT_SINGLE_PRECISION:BOOL=ON"
+fi
+
+if [ "${OMP:-no}" == "yes" ]; then
+ CMAKE_OPTS="$CMAKE_OPTS -DSPFFT_OMP:BOOL=ON"
+else
+ CMAKE_OPTS="$CMAKE_OPTS -DSPFFT_OMP:BOOL=OFF"
+fi
+
+if [ "${MPI:-no}" == "yes" ]; then
+ CMAKE_OPTS="$CMAKE_OPTS -DSPFFT_MPI:BOOL=ON"
+else
+ CMAKE_OPTS="$CMAKE_OPTS -DSPFFT_MPI:BOOL=OFF"
+fi
+
+if [ "${CUDA:-no}" == "yes" ]; then
+ CMAKE_OPTS="$CMAKE_OPTS -DSPFFT_GPU_BACKEND:STRING=CUDA"
+fi
+
+if [ "${ROCM:-no}" == "yes" ]; then
+ CMAKE_OPTS="$CMAKE_OPTS -DSPFFT_GPU_BACKEND:STRING=ROCM"
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DSPFFT_FORTRAN:BOOL=ON \
+ $CMAKE_OPTS \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -av examples $PKG/usr/share/$PRGNAM
+cat >> $PKG/usr/share/$PRGNAM/examples/Makefile <<EOF
+all:
+ cc example.c -o example -lspfft
+ gcc example.cpp -o example_cpp -lstdc++ -lspfft
+ gfortran example.f90 -o example_f -I/usr/include/spfft -lspfft
+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 \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/spfft/spfft.info b/libraries/spfft/spfft.info
new file mode 100644
index 0000000000..34e49e62d7
--- /dev/null
+++ b/libraries/spfft/spfft.info
@@ -0,0 +1,10 @@
+PRGNAM="spfft"
+VERSION="1.0.6"
+HOMEPAGE="https://github.com/eth-cscs/SpFFT"
+DOWNLOAD="https://github.com/eth-cscs/SpFFT/archive/v1.0.6/SpFFT-1.0.6.tar.gz"
+MD5SUM="d05a25d903e392a41fe343af35ca9b99"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/spglib/README b/libraries/spglib/README
new file mode 100644
index 0000000000..b162ea7578
--- /dev/null
+++ b/libraries/spglib/README
@@ -0,0 +1,14 @@
+Spglib is a C library that implements a computer algorithm to search
+crystal symmetries of crystal structures.
+It is supported as optional dependency in Avogadro 2 or can be used
+with python, fortran, rust, and ruby interfaces.
+
+This slackbuild installs by default the Python interface and the
+support to system OPENMP. You can disable both or one of these options
+passing the respective environment variable
+ PYTHON=no ./spglib.SlackBuild (python3-numpy not required)
+ OMP=no ./spglib.SlackBuild
+
+The build of Fortran interface is disabled by default. You can enable
+this option passing
+ FORTRAN=yes ./spglib.SlackBuild
diff --git a/libraries/spglib/slack-desc b/libraries/spglib/slack-desc
new file mode 100644
index 0000000000..ec30e29ab1
--- /dev/null
+++ b/libraries/spglib/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------------------------------------------------------|
+spglib: spglib (software library for crystal symmetry search)
+spglib:
+spglib: Spglib is a library for finding and handling crystal symmetries
+spglib: written in C
+spglib:
+spglib:
+spglib:
+spglib:
+spglib: Homepage: https://spglib.github.io/spglib/
+spglib:
+spglib:
diff --git a/libraries/spglib/spglib.SlackBuild b/libraries/spglib/spglib.SlackBuild
new file mode 100644
index 0000000000..c3714dc50d
--- /dev/null
+++ b/libraries/spglib/spglib.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for spglib
+
+# 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=spglib
+VERSION=${VERSION:-2.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
+
+# BUILDING OPTIONS:
+# python interface and openmp enabled by default
+with_python="-DSPGLIB_WITH_Python=ON" ; [ "${PYTHON:-yes}" = "no" ] && with_python=""
+with_omp="-DSPGLIB_USE_OMP=ON" ; [ "${OMP:-yes}" = "no" ] && with_omp=""
+# fortran interface disabled by default
+with_fortran="-DSPGLIB_WITH_Fortran=ON" ; [ "${FORTRAN:-no}" = "no" ] && with_fortran=""
+
+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 \
+ -DSPGLIB_WITH_TESTS=OFF \
+ $with_python \
+ $with_omp \
+ $with_fortran \
+ -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 COPYING README.md Contributing.md CITATION.cff $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/spglib/spglib.info b/libraries/spglib/spglib.info
new file mode 100644
index 0000000000..e2ef6a9fc3
--- /dev/null
+++ b/libraries/spglib/spglib.info
@@ -0,0 +1,10 @@
+PRGNAM="spglib"
+VERSION="2.4.0"
+HOMEPAGE="https://spglib.github.io/spglib/"
+DOWNLOAD="https://github.com/spglib/spglib/archive/v2.4.0/spglib-2.4.0.tar.gz"
+MD5SUM="1779172c4cc96d8ce1f5e19d050544e7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-numpy"
+MAINTAINER="Giancarlo Dessì"
+EMAIL="slack@giand.it"
diff --git a/libraries/spread-sheet-widget/README b/libraries/spread-sheet-widget/README
index fe1323e16a..8e1483a307 100644
--- a/libraries/spread-sheet-widget/README
+++ b/libraries/spread-sheet-widget/README
@@ -1,3 +1,3 @@
GNU Spread Sheet Widget is a library for Gtk+ which provides a widget
-for viewing and manipulating 2 dimensional tabular data in a manner similar
-to many popular spread sheet programs.
+for viewing and manipulating 2 dimensional tabular data in a manner
+similar to many popular spread sheet programs.
diff --git a/libraries/spread-sheet-widget/doinst.sh b/libraries/spread-sheet-widget/doinst.sh
deleted file mode 100644
index 9a8ded3c60..0000000000
--- a/libraries/spread-sheet-widget/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 >/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/libraries/spread-sheet-widget/spread-sheet-widget.SlackBuild b/libraries/spread-sheet-widget/spread-sheet-widget.SlackBuild
index ed8e7d5ac5..e5400a4940 100644
--- a/libraries/spread-sheet-widget/spread-sheet-widget.SlackBuild
+++ b/libraries/spread-sheet-widget/spread-sheet-widget.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for spread-sheet-widget
@@ -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=spread-sheet-widget
-VERSION=${VERSION:-0.3}
+VERSION=${VERSION:-0.10}
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}
@@ -69,7 +76,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-LIBS="-ltermcap -lgmp" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,8 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
- --build=$ARCH-slackware-linux \
- gl_cv_header_wchar_h_correct_inline=yes
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -94,12 +99,13 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog COPYING README AUTHORS INSTALL NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog COPYING README AUTHORS NEWS 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/libraries/spread-sheet-widget/spread-sheet-widget.info b/libraries/spread-sheet-widget/spread-sheet-widget.info
index 179ddf66e6..e41a17da28 100644
--- a/libraries/spread-sheet-widget/spread-sheet-widget.info
+++ b/libraries/spread-sheet-widget/spread-sheet-widget.info
@@ -1,10 +1,10 @@
PRGNAM="spread-sheet-widget"
-VERSION="0.3"
+VERSION="0.10"
HOMEPAGE="https://savannah.gnu.org/projects/ssw/"
-DOWNLOAD="http://alpha.gnu.org/gnu/ssw/spread-sheet-widget-0.3.tar.gz"
-MD5SUM="9bd94714a18229eb9e9a2b79dda30e1f"
+DOWNLOAD="http://alpha.gnu.org/gnu/ssw/spread-sheet-widget-0.10.tar.gz"
+MD5SUM="df5f0dbb29da0a8fb573d0dc52aead59"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Vitor Borrego"
-EMAIL="vitor@bitarus.allowed.org"
+EMAIL="vitor@bitarus.mooo.com"
diff --git a/libraries/sqliteodbc/sqliteodbc.SlackBuild b/libraries/sqliteodbc/sqliteodbc.SlackBuild
index c0162bfaed..6a786edcc8 100644
--- a/libraries/sqliteodbc/sqliteodbc.SlackBuild
+++ b/libraries/sqliteodbc/sqliteodbc.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqliteodbc
-# Copyright 2018 Jason Graham <jgraham@compukix.net>, USA
+# Copyright 2018,2020 Jason Graham <jgraham@compukix.net>, 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=sqliteodbc
-VERSION=${VERSION:-0.9996}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.9998}
+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}
@@ -64,9 +74,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
+rm -f source # avoid a find loop
patch -p1 < $CWD/fix-destdir-install.patch
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -106,8 +115,10 @@ if [ "${DOC}" = "yes" ]; then
cp -a html $PKG/usr/doc/$PRGNAM-$VERSION/
fi
+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/libraries/sqliteodbc/sqliteodbc.info b/libraries/sqliteodbc/sqliteodbc.info
index 555fefaa05..847bb96076 100644
--- a/libraries/sqliteodbc/sqliteodbc.info
+++ b/libraries/sqliteodbc/sqliteodbc.info
@@ -1,10 +1,10 @@
PRGNAM="sqliteodbc"
-VERSION="0.9996"
+VERSION="0.9998"
HOMEPAGE="http://www.ch-werner.de/sqliteodbc/"
-DOWNLOAD="http://www.ch-werner.de/sqliteodbc/sqliteodbc-0.9996.tar.gz"
-MD5SUM="703e298a7232e49be1ddf26769c71211"
+DOWNLOAD="http://www.ch-werner.de/sqliteodbc/sqliteodbc-0.9998.tar.gz"
+MD5SUM="42262e341806a92d56c7ca769dff105c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Jason Graham"
-EMAIL="jgraha8@gmail.com"
+EMAIL="jgraham@compukix.net"
diff --git a/libraries/sqlpp11-connector-mysql/README b/libraries/sqlpp11-connector-mysql/README
deleted file mode 100644
index 0adb77f895..0000000000
--- a/libraries/sqlpp11-connector-mysql/README
+++ /dev/null
@@ -1,13 +0,0 @@
-sqlpp11 offers you to code SQL in C++ almost naturally. You can
-use tables, columns and functions. Everything has strong types
-which allow the compiler to help you a lot. At compile time, it
-will tell about most of those pesky oversight errors you can
-make (typos, comparing apples with oranges, forgetting tables
-in a select statement, etc). And it does not stop at query
-construction. Results have ranges, and strongly typed members,
-so that you can browse through results in a type-safe manner,
-worthy of modern C++.
-
-sqlpp11 requires a certain api in order to connect with the
-database, sqlpp11-connector-mysql is a SQL connector for
-the MySql database.
diff --git a/libraries/sqlpp11-connector-mysql/slack-desc b/libraries/sqlpp11-connector-mysql/slack-desc
deleted file mode 100644
index 871ef51317..0000000000
--- a/libraries/sqlpp11-connector-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------------------------------------------------------|
-sqlpp11-connector-mysql: sqlpp11-connector-mysql (sqlpp11 connector for MySql)
-sqlpp11-connector-mysql:
-sqlpp11-connector-mysql: A C++ wrapper for mysql meant to be used in combination with
-sqlpp11-connector-mysql: sqlpp11.
-sqlpp11-connector-mysql:
-sqlpp11-connector-mysql:
-sqlpp11-connector-mysql:
-sqlpp11-connector-mysql:
-sqlpp11-connector-mysql:
-sqlpp11-connector-mysql: https://github.com/rbock/sqlpp11-connector-mysql
-sqlpp11-connector-mysql:
diff --git a/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.SlackBuild b/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.SlackBuild
deleted file mode 100644
index 1d9c6ac340..0000000000
--- a/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sqlpp11-connector-mysql
-
-# 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=sqlpp11-connector-mysql
-VERSION=${VERSION:-0.21}
-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
-patch -p1 < $CWD/sqlpp11-connector-mysql.patch
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release \
- -DDATE_INCLUDE_DIR=/usr/include \
- -DSQLPP11_INCLUDE_DIR=/usr/include/ ..
- 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 -ar LICENSE README.md 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:-tgz}
diff --git a/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.info b/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.info
deleted file mode 100644
index 5734134879..0000000000
--- a/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sqlpp11-connector-mysql"
-VERSION="0.21"
-HOMEPAGE="https://github.com/rbock/sqlpp11-connector-mysql"
-DOWNLOAD="https://github.com/rbock/sqlpp11-connector-mysql/archive/0.21/sqlpp11-connector-mysql-0.21.tar.gz"
-MD5SUM="b616a6d9c73aee0fec4a7ce6093a0572"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="sqlpp11"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch b/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch
deleted file mode 100644
index 42ec5d67f3..0000000000
--- a/libraries/sqlpp11-connector-mysql/sqlpp11-connector-mysql.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur sqlpp11-connector-mysql-0.20.old/CMakeLists.txt sqlpp11-connector-mysql-0.20/CMakeLists.txt
---- sqlpp11-connector-mysql-0.20.old/CMakeLists.txt 2016-09-03 08:51:52.000000000 -0300
-+++ sqlpp11-connector-mysql-0.20/CMakeLists.txt 2016-12-15 20:50:56.302051737 -0200
-@@ -72,7 +72,6 @@
- include_directories("${DATE_INCLUDE_DIR}")
- include_directories("${MYSQL_INCLUDE_DIRS}")
- set(include_dir "${PROJECT_SOURCE_DIR}/include")
--file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h)
- include_directories(${include_dir})
-
- add_subdirectory(src)
-Only in sqlpp11-connector-mysql-0.20: build
-diff -ur sqlpp11-connector-mysql-0.20.old/src/CMakeLists.txt sqlpp11-connector-mysql-0.20/src/CMakeLists.txt
---- sqlpp11-connector-mysql-0.20.old/src/CMakeLists.txt 2016-09-03 08:51:52.000000000 -0300
-+++ sqlpp11-connector-mysql-0.20/src/CMakeLists.txt 2016-12-15 20:52:25.970056347 -0200
-@@ -9,4 +9,4 @@
- target_link_libraries(sqlpp-mysql "${Boost_THREAD_LIBRARY}")
- endif()
-
--install(TARGETS sqlpp-mysql DESTINATION lib)
-+install(TARGETS sqlpp-mysql DESTINATION lib${LIB_SUFFIX})
diff --git a/libraries/sqlpp11-connector-sqlite3/README b/libraries/sqlpp11-connector-sqlite3/README
deleted file mode 100644
index 0fdcc921e9..0000000000
--- a/libraries/sqlpp11-connector-sqlite3/README
+++ /dev/null
@@ -1,13 +0,0 @@
-sqlpp11 offers you to code SQL in C++ almost naturally. You can
-use tables, columns and functions. Everything has strong types
-which allow the compiler to help you a lot. At compile time, it
-will tell about most of those pesky oversight errors you can
-make (typos, comparing apples with oranges, forgetting tables
-in a select statement, etc). And it does not stop at query
-construction. Results have ranges, and strongly typed members,
-so that you can browse through results in a type-safe manner,
-worthy of modern C++.
-
-sqlpp11 requires a certain api in order to connect with the
-database, sqlpp11-connector-sqlite3 is a SQL connector for
-the Sqlite3 database.
diff --git a/libraries/sqlpp11-connector-sqlite3/slack-desc b/libraries/sqlpp11-connector-sqlite3/slack-desc
deleted file mode 100644
index 593fde0191..0000000000
--- a/libraries/sqlpp11-connector-sqlite3/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------------------------------------------------------|
-sqlpp11-connector-sqlite3: sqlpp11-connector-sqlite3 (sqlpp11 connector for Sqlite3)
-sqlpp11-connector-sqlite3:
-sqlpp11-connector-sqlite3: A C++ wrapper for sqlite3 meant to be used in combination with
-sqlpp11-connector-sqlite3: sqlpp11.
-sqlpp11-connector-sqlite3:
-sqlpp11-connector-sqlite3:
-sqlpp11-connector-sqlite3:
-sqlpp11-connector-sqlite3:
-sqlpp11-connector-sqlite3:
-sqlpp11-connector-sqlite3: https://github.com/rbock/sqlpp11-connector-sqlite3
-sqlpp11-connector-sqlite3:
diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild
deleted file mode 100644
index d6a820cdb5..0000000000
--- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.SlackBuild
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for sqlpp11-connector-sqlite3
-
-# 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=sqlpp11-connector-sqlite3
-VERSION=${VERSION:-0.25}
-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
-patch -p1 < $CWD/sqlpp11-connector-sqlite3.patch
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release \
- -DDATE_INCLUDE_DIR=/usr/include \
- -DSQLPP11_INCLUDE_DIR=/usr/include/ ..
- 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 -ar LICENSE README.md 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:-tgz}
diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info
deleted file mode 100644
index 8516196c9f..0000000000
--- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="sqlpp11-connector-sqlite3"
-VERSION="0.25"
-HOMEPAGE="https://github.com/rbock/sqlpp11-connector-sqlite3"
-DOWNLOAD="https://github.com/rbock/sqlpp11-connector-sqlite3/archive/0.25/sqlpp11-connector-sqlite3-0.25.tar.gz"
-MD5SUM="7284fda1975474f7354da67ef12df0e1"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="sqlpp11"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch b/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch
deleted file mode 100644
index 38da3b8084..0000000000
--- a/libraries/sqlpp11-connector-sqlite3/sqlpp11-connector-sqlite3.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -ru sqlpp11-connector-sqlite3-0.25.old/CMakeLists.txt sqlpp11-connector-sqlite3-0.25/CMakeLists.txt
---- sqlpp11-connector-sqlite3-0.25.old/CMakeLists.txt 2017-09-02 06:15:02.000000000 -0300
-+++ sqlpp11-connector-sqlite3-0.25/CMakeLists.txt 2017-09-26 07:55:27.798021515 -0300
-@@ -82,7 +82,7 @@
- include_directories("${DATE_INCLUDE_DIR}")
- include_directories("${SQLITE3_INCLUDE_DIRS}")
- set(include_dir "${PROJECT_SOURCE_DIR}/include")
--file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h)
-+#file(GLOB_RECURSE sqlpp_headers ${include_dir}/*.h ${SQLPP11_INCLUDE_DIR}/*.h)
- include_directories(${include_dir})
-
- add_subdirectory(src)
-diff -ru sqlpp11-connector-sqlite3-0.25.old/src/CMakeLists.txt sqlpp11-connector-sqlite3-0.25/src/CMakeLists.txt
---- sqlpp11-connector-sqlite3-0.25.old/src/CMakeLists.txt 2017-09-02 06:15:02.000000000 -0300
-+++ sqlpp11-connector-sqlite3-0.25/src/CMakeLists.txt 2017-09-26 07:52:43.037017830 -0300
-@@ -17,5 +17,5 @@
- target_compile_options(sqlpp11-connector-sqlite3-dynamic INTERFACE -DSQLPP_DYNAMIC_LOADING)
- target_compile_options(sqlpp11-connector-sqlite3-dynamic PRIVATE -DSQLPP_DYNAMIC_LOADING -DSQLPP_DYNAMIC_LOADING_FILENAME=${SQLITE3_LIB_FILE})
-
--install(TARGETS sqlpp11-connector-sqlite3 DESTINATION lib)
--install(TARGETS sqlpp11-connector-sqlite3-dynamic DESTINATION lib)
-+install(TARGETS sqlpp11-connector-sqlite3 DESTINATION lib${LIB_SUFFIX})
-+install(TARGETS sqlpp11-connector-sqlite3-dynamic DESTINATION lib${LIB_SUFFIX})
diff --git a/libraries/sqlpp11/README b/libraries/sqlpp11/README
index 46719afa1a..e582894fde 100644
--- a/libraries/sqlpp11/README
+++ b/libraries/sqlpp11/README
@@ -7,3 +7,7 @@ statement, etc). And it does not stop at query construction.
Results have ranges, and strongly typed members, so that you can
browse through results in a type-safe manner, worthy of modern
C++.
+
+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/libraries/sqlpp11/sqlpp11.SlackBuild b/libraries/sqlpp11/sqlpp11.SlackBuild
index fbb3ffbeca..41b152f191 100644
--- a/libraries/sqlpp11/sqlpp11.SlackBuild
+++ b/libraries/sqlpp11/sqlpp11.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sqlpp11
@@ -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=sqlpp11
-VERSION=${VERSION:-0.51}
+VERSION=${VERSION:-0.61}
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}
@@ -62,7 +72,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-patch -p1 < $CWD/sqlpp11.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -93,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/libraries/sqlpp11/sqlpp11.info b/libraries/sqlpp11/sqlpp11.info
index 1931242ab5..767220bb78 100644
--- a/libraries/sqlpp11/sqlpp11.info
+++ b/libraries/sqlpp11/sqlpp11.info
@@ -1,10 +1,10 @@
PRGNAM="sqlpp11"
-VERSION="0.51"
+VERSION="0.61"
HOMEPAGE="https://github.com/rbock/sqlpp11"
-DOWNLOAD="https://github.com/rbock/sqlpp11/archive/0.51/sqlpp11-0.51.tar.gz"
-MD5SUM="1899ec5e552ad1dbddb4c5b7fe67cddd"
+DOWNLOAD="https://github.com/rbock/sqlpp11/archive/0.61/sqlpp11-0.61.tar.gz"
+MD5SUM="21318bdc67a55072223636aec9014111"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pyparsing hinnant-date"
+REQUIRES=""
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/squish/squish.SlackBuild b/libraries/squish/squish.SlackBuild
index 9d4eebfbfb..90d682e513 100644
--- a/libraries/squish/squish.SlackBuild
+++ b/libraries/squish/squish.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for squish
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=squish
VERSION=${VERSION:-r60}
SRCNAM=source-archive
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"
@@ -101,4 +111,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/libraries/sratom/README b/libraries/sratom/README
index 95dffb3d95..d2b8df7b0c 100644
--- a/libraries/sratom/README
+++ b/libraries/sratom/README
@@ -1,2 +1,6 @@
Sratom is a library for serialising LV2 atoms to/from RDF,
particularly the Turtle syntax.
+
+By default docs aren't built: if you like to include them be sure
+to have the optional dependency python-sphinx-lv2-theme installed
+and pass the script the parameter DOCS=yes
diff --git a/libraries/sratom/sratom.SlackBuild b/libraries/sratom/sratom.SlackBuild
index 5129da7c4e..2eab3077e7 100644
--- a/libraries/sratom/sratom.SlackBuild
+++ b/libraries/sratom/sratom.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sratom
# Copyright 2012-2016 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2020-2023 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=sratom
-VERSION=${VERSION:-0.4.6}
+VERSION=${VERSION:-0.6.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"
@@ -54,40 +65,46 @@ else
LIBDIRSUFFIX=""
fi
+doc="-Ddocs=disabled" ; [ "${DOCS:-no}" != "no" ] && doc="-Ddocs=enabled"
+
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 . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -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" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --configdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
-
-./waf
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./waf install \
- --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 \
+ $doc \
+ -Dstrip=true
+ "${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 COPYING NEWS README \
+cp -a COPYING NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -95,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/libraries/sratom/sratom.info b/libraries/sratom/sratom.info
index c534449740..cf5074f6b8 100644
--- a/libraries/sratom/sratom.info
+++ b/libraries/sratom/sratom.info
@@ -1,10 +1,10 @@
PRGNAM="sratom"
-VERSION="0.4.6"
+VERSION="0.6.14"
HOMEPAGE="http://drobilla.net/software/sratom/"
-DOWNLOAD="http://download.drobilla.net/sratom-0.4.6.tar.bz2"
-MD5SUM="5cf28520418779bf41fb14a40fbb20ad"
+DOWNLOAD="http://download.drobilla.net/sratom-0.6.14.tar.xz"
+MD5SUM="e229f08f841e5d8b5d967e63e0626fc4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lv2 sord"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+REQUIRES="lv2"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/srt/README b/libraries/srt/README
new file mode 100644
index 0000000000..edc9715127
--- /dev/null
+++ b/libraries/srt/README
@@ -0,0 +1,6 @@
+srt (Secure, Reliable, Transport)
+
+Secure Reliable Transport (SRT) is an open source transport technology
+that optimizes streaming performance across unpredictable networks,
+such as the Internet.
+
diff --git a/libraries/srt/slack-desc b/libraries/srt/slack-desc
new file mode 100644
index 0000000000..ce3aaf560f
--- /dev/null
+++ b/libraries/srt/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------------------------------------------------------|
+srt: srt (Secure, Reliable, Transport)
+srt:
+srt: Secure Reliable Transport (SRT) is an open source transport technology
+srt: that optimizes streaming performance across unpredictable networks,
+srt: such as the Internet.
+srt:
+srt:
+srt:
+srt:
+srt:
+srt:
diff --git a/libraries/srt/srt.SlackBuild b/libraries/srt/srt.SlackBuild
new file mode 100644
index 0000000000..24a8553e5f
--- /dev/null
+++ b/libraries/srt/srt.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for libsrtp
+
+# copyright 2021 Nicolás Dato <nicolas.dato@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.
+
+# 20220301 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix include paths in .pc files.
+# - fix permissions in /usr/doc (dirs were 644!)
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=srt
+VERSION=${VERSION:-1.4.3}
+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
+
+DOCS="CONTRIBUTING.md LICENSE README.md docs"
+
+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 \
+ --disable-static \
+ --cmake_install_libdir=/usr/lib${LIBDIRSUFFIX} \
+ --cmake_install_bindir=/usr/bin \
+ --cmake_install_includedir=/usr/include
+
+make
+
+# 20220307 bkw: these are generated files, sed them after make but
+# before install.
+sed -i '/^\(libdir\|includedir\)/s,=.*//,=/,' *.pc
+
+make install DESTDIR=$PKG
+strip $PKG/usr/bin/srt-{fi,l,t}* $PKG/usr/lib*/libsrt.so.*.*.*
+
+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
diff --git a/libraries/srt/srt.info b/libraries/srt/srt.info
new file mode 100644
index 0000000000..febdd60740
--- /dev/null
+++ b/libraries/srt/srt.info
@@ -0,0 +1,10 @@
+PRGNAM="srt"
+VERSION="1.4.3"
+HOMEPAGE="https://github.com/Haivision/srt"
+DOWNLOAD="https://github.com/Haivision/srt/archive/v1.4.3/srt-1.4.3.tar.gz"
+MD5SUM="3ed903e5a32b9ee9ec011028fb34f331"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Nicolas Dato"
+EMAIL="nicolas dot dato at gmail"
diff --git a/libraries/stfl/python-support.patch b/libraries/stfl/python-support.patch
index 514d93af25..b11c7be0bf 100644
--- a/libraries/stfl/python-support.patch
+++ b/libraries/stfl/python-support.patch
@@ -82,7 +82,7 @@ diff -Nur stfl-0.24/python3/Makefile.snippet stfl-0.24-py3/python3/Makefile.snip
- cp python/stfl.py $(DESTDIR)$(PYTHON_SITEARCH)/
+python3/_stfl.so python3/stfl.py python3/stfl.pyc: libstfl.a stfl.h python3/stfl.i swig/*.i
+ cd python3 && swig -python -threads stfl.i
-+ gcc -shared -pthread -fPIC python3/stfl_wrap.c -I/usr/include/python$(PYTHON3_VERSION)m \
++ gcc -shared -pthread -fPIC python3/stfl_wrap.c -I$(shell python3 -c "from distutils.sysconfig import get_python_inc ; print(get_python_inc())") \
+ -I. libstfl.a -lncursesw -o python3/_stfl.so
+ cd python3 && python3 -c 'import stfl'
+
diff --git a/libraries/stfl/stfl.SlackBuild b/libraries/stfl/stfl.SlackBuild
index fda3dd9b4f..e5edb31bb2 100644
--- a/libraries/stfl/stfl.SlackBuild
+++ b/libraries/stfl/stfl.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for stfl
# Originally written by slakmagik <jsun@freeshell.org>
# Maintained by Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=stfl
VERSION=${VERSION:-0.24}
BUILD=${BUILD:-2}
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}
@@ -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/libraries/stfl/stfl.info b/libraries/stfl/stfl.info
index 985a61d06c..074be481cd 100644
--- a/libraries/stfl/stfl.info
+++ b/libraries/stfl/stfl.info
@@ -1,7 +1,7 @@
PRGNAM="stfl"
VERSION="0.24"
HOMEPAGE="http://www.clifford.at/stfl/"
-DOWNLOAD="http://www.clifford.at/stfl/stfl-0.24.tar.gz"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/stfl-0.24.tar.gz"
MD5SUM="98c764ccc8f13ed05ea22559d7116b96"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/stk/stk.SlackBuild b/libraries/stk/stk.SlackBuild
index 27fce8acd8..2893b7ccdc 100644
--- a/libraries/stk/stk.SlackBuild
+++ b/libraries/stk/stk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for STK
@@ -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=stk
VERSION=${VERSION:-4.4.4}
-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"
@@ -115,8 +125,10 @@ cp -a \
find $PKG/usr/doc/$PRGNAM-$VERSION -iname "README-*.txt" -not -iname "*Linux*" -exec rm -f {} \;
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/libraries/stormlib/README b/libraries/stormlib/README
new file mode 100644
index 0000000000..227aa83966
--- /dev/null
+++ b/libraries/stormlib/README
@@ -0,0 +1,2 @@
+StomLib is an open-source library that can work with Blizzard MPQ
+archives.
diff --git a/libraries/stormlib/slack-desc b/libraries/stormlib/slack-desc
new file mode 100644
index 0000000000..aa94fe9b88
--- /dev/null
+++ b/libraries/stormlib/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------------------------------------------------------|
+stormlib: stormlib (MPQ Library)
+stormlib:
+stormlib: StomLib is an open-source library that can work with Blizzard MPQ
+stormlib: archives.
+stormlib:
+stormlib: Homepage: http://www.zezula.net/en/mpq/stormlib.html
+stormlib:
+stormlib:
+stormlib:
+stormlib:
+stormlib:
diff --git a/libraries/stormlib/stormlib.SlackBuild b/libraries/stormlib/stormlib.SlackBuild
new file mode 100644
index 0000000000..67b637c633
--- /dev/null
+++ b/libraries/stormlib/stormlib.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for stormlib
+
+# Copyright 2022-2023 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=stormlib
+SRCNAM=StormLib
+VERSION=${VERSION:-9.25}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+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
+
+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 {} \+
+
+sed -i "s| lib| lib${LIBDIRSUFFIX}|g" CMakeLists.txt
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+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/libraries/stormlib/stormlib.info b/libraries/stormlib/stormlib.info
new file mode 100644
index 0000000000..a627b512e7
--- /dev/null
+++ b/libraries/stormlib/stormlib.info
@@ -0,0 +1,10 @@
+PRGNAM="stormlib"
+VERSION="9.25"
+HOMEPAGE="http://www.zezula.net/en/mpq/stormlib.html"
+DOWNLOAD="https://github.com/ladislav-zezula/StormLib/archive/v9.25/StormLib-9.25.tar.gz"
+MD5SUM="d30d08c2e80d284575c8003c89576c6f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/suil/README b/libraries/suil/README
index b31b84b9b0..e8b20fceb5 100644
--- a/libraries/suil/README
+++ b/libraries/suil/README
@@ -1 +1,6 @@
-Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
+Suil is a lightweight C library for loading and wrapping LV2
+plugin UIs.
+
+By default docs aren't built: if you like to include them be sure
+to have the optional dependency python-sphinx-lv2-theme installed
+and pass the script the parameter DOCS=yes
diff --git a/libraries/suil/suil.SlackBuild b/libraries/suil/suil.SlackBuild
index 95aa37a684..8944a0df69 100644
--- a/libraries/suil/suil.SlackBuild
+++ b/libraries/suil/suil.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for suil
# Copyright 2012-2015 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2020-2023 Matteo Bernardini, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=suil
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-0.10.18}
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,13 +65,15 @@ else
LIBDIRSUFFIX=""
fi
+doc="-Ddocs=disabled" ; [ "${DOCS:-no}" != "no" ] && doc="-Ddocs=enabled"
+
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 . \
@@ -69,25 +82,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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./waf configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --configdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
-
-./waf
-
-./waf install \
- --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 \
+ $doc \
+ -Dstrip=true
+ "${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 INSTALL NEWS PACKAGING README \
+cp -a AUTHORS COPYING NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -95,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/libraries/suil/suil.info b/libraries/suil/suil.info
index e8d45badc4..9ebf87ac4c 100644
--- a/libraries/suil/suil.info
+++ b/libraries/suil/suil.info
@@ -1,10 +1,10 @@
PRGNAM="suil"
-VERSION="0.8.2"
+VERSION="0.10.18"
HOMEPAGE="http://drobilla.net/software/suil/"
-DOWNLOAD="http://download.drobilla.net/suil-0.8.2.tar.bz2"
-MD5SUM="1b06947b1fc028f9ffcbc16d30065aa5"
+DOWNLOAD="http://download.drobilla.net/suil-0.10.18.tar.xz"
+MD5SUM="4e6b74025721a8117526e6d2ebece352"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lv2"
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/superlu/README b/libraries/superlu/README
new file mode 100644
index 0000000000..0a5b15de31
--- /dev/null
+++ b/libraries/superlu/README
@@ -0,0 +1,18 @@
+SuperLU contains a set of subroutines to solve a sparse linear system
+A*X=B. It uses Gaussian elimination with partial pivoting (GEPP).
+The columns of A may be preordered before factorization; the
+preordering for sparsity is completely separate from the factorization.
+
+SuperLU is implemented in ANSI C, and must be compiled with standard
+ANSI C compilers. It provides functionality for both real and complex
+matrices, in both single and double precision. The file names for the
+single-precision real version start with letter "s" (such as sgstrf.c);
+the file names for the double-precision real version start with letter
+"d" (such as dgstrf.c); the file names for the single-precision complex
+version start with letter "c" (such as cgstrf.c); the file names for
+the double-precision complex version start with letter "z" (such as
+zgstrf.c).
+
+NOTE:
+OpenBLAS can be used instead of blas, and is recommended for better
+performance.
diff --git a/libraries/superlu/slack-desc b/libraries/superlu/slack-desc
new file mode 100644
index 0000000000..690a39a69a
--- /dev/null
+++ b/libraries/superlu/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------------------------------------------------------|
+superlu: superlu (SuperLU Library)
+superlu:
+superlu: SuperLU contains a set of subroutines to solve a sparse linear system
+superlu: A*X=B. It uses Gaussian elimination with partial pivoting (GEPP).
+superlu: The columns of A may be preordered before factorization; the
+superlu: preordering for sparsity is completely separate from the
+superlu: factorization.
+superlu:
+superlu: Homepage: https://portal.nersc.gov/project/sparse/superlu/
+superlu:
+superlu:
diff --git a/libraries/superlu/superlu.SlackBuild b/libraries/superlu/superlu.SlackBuild
new file mode 100644
index 0000000000..4a78e569bf
--- /dev/null
+++ b/libraries/superlu/superlu.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/bash
+
+# Slackware build script for superlu
+
+# Copyright 2022-2023 Bloyburt
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=superlu
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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 \
+ -Denable_internal_blaslib=NO \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a License.txt README 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/libraries/superlu/superlu.info b/libraries/superlu/superlu.info
new file mode 100644
index 0000000000..6f13b0df01
--- /dev/null
+++ b/libraries/superlu/superlu.info
@@ -0,0 +1,10 @@
+PRGNAM="superlu"
+VERSION="6.0.1"
+HOMEPAGE="https://portal.nersc.gov/project/sparse/superlu/"
+DOWNLOAD="https://github.com/xiaoyeli/superlu/archive/v6.0.1/superlu-6.0.1.tar.gz"
+MD5SUM="d15c61705f4ddf0777731d3f388e287f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="blas"
+MAINTAINER="Bloyburt"
+EMAIL="alexpen@startmail.com"
diff --git a/libraries/swfdec/swfdec.SlackBuild b/libraries/swfdec/swfdec.SlackBuild
index f75bc0a28c..814518380f 100644
--- a/libraries/swfdec/swfdec.SlackBuild
+++ b/libraries/swfdec/swfdec.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for swfdec
#
@@ -22,28 +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=swfdec
VERSION=${VERSION:-0.9.2}
-BUILD=${BUILD:-1}
+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}
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"
@@ -79,10 +86,12 @@ CFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install
-cp -ar AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README doc/html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar AUTHORS COPYING ChangeLog MAINTAINERS NEWS README doc/html $PKG/usr/doc/$PRGNAM-$VERSION
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/libraries/swfdec/swfdec.info b/libraries/swfdec/swfdec.info
index 3543ab6217..c17cc676c1 100644
--- a/libraries/swfdec/swfdec.info
+++ b/libraries/swfdec/swfdec.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/swfdec-0.9.2.tar.gz"
MD5SUM="7be5e39236e2d6efa61a18e83e5ab73d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="gst0-plugins-base"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
diff --git a/libraries/t4k_common/916060_bugfix.patch b/libraries/t4k_common/916060_bugfix.patch
new file mode 100644
index 0000000000..e8c8a499f7
--- /dev/null
+++ b/libraries/t4k_common/916060_bugfix.patch
@@ -0,0 +1,32 @@
+Description: fix loading each frame from SVG sprites
+ rsvg_handle_get_desc returns null so next sscanf segfaults. Use instead iterating
+ up from zero for id frame%d
+Author: cdonoghu@gmail.com
+Origin: other
+Forwarded: no
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/t4k_loaders.c
++++ b/src/t4k_loaders.c
+@@ -213,14 +213,13 @@
+ new_sprite = malloc(sizeof(sprite));
+ new_sprite->default_img = render_svg_from_handle(file_handle, width, height, "#default");
+
+- /* get number of frames from description */
+- sscanf(rsvg_handle_get_desc(file_handle), "%d", &new_sprite->num_frames);
+- DEBUGMSG(debug_loaders, "load_svg_sprite(): loading %d frames\n", new_sprite->num_frames);
+-
+- for(i = 0; i < new_sprite->num_frames; i++)
+- {
+- sprintf(lay_name, "#frame%d", i);
+- new_sprite->frame[i] = render_svg_from_handle(file_handle, width, height, lay_name);
++ /* get number of frames directly. End when #frame<num> doesn't exist */
++ new_sprite->num_frames = 0;
++ while(1) {
++ sprintf(lay_name, "#frame%d", new_sprite->num_frames);
++ if ( ! (rsvg_handle_has_sub(file_handle, lay_name)) ) break;
++ new_sprite->frame[new_sprite->num_frames] = render_svg_from_handle(file_handle, width, height, lay_name);
++ new_sprite->num_frames++;
+ }
+
+ g_object_unref(file_handle);
diff --git a/libraries/t4k_common/t4k_common.SlackBuild b/libraries/t4k_common/t4k_common.SlackBuild
index 9fb0cad487..722c390915 100644
--- a/libraries/t4k_common/t4k_common.SlackBuild
+++ b/libraries/t4k_common/t4k_common.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for t4k_common
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=t4k_common
VERSION=${VERSION:-0.1.1}
-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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,12 @@ find -L . \
# Patch for libpng16 (-current) (from Debian)
patch -p1 < $CWD/libpng.patch
-CFLAGS="$SLKCFLAGS" \
+# Fix segfaults with then newer librsvg (from Debian)
+patch -p1 < $CWD/916060_bugfix.patch
+
+patch -p1 < $CWD/wrapped_lines.patch
+
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -73,8 +88,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a 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/libraries/t4k_common/wrapped_lines.patch b/libraries/t4k_common/wrapped_lines.patch
new file mode 100644
index 0000000000..be3937f755
--- /dev/null
+++ b/libraries/t4k_common/wrapped_lines.patch
@@ -0,0 +1,13 @@
+diff --git a/src/t4k_common.h b/src/t4k_common.h
+index d4676e7..27e635c 100644
+--- a/src/t4k_common.h
++++ b/src/t4k_common.h
+@@ -239,7 +239,7 @@ MFStrategy;
+ #define MAX_LINES 128 //!< Maximum lines to wrap.
+ #define MAX_LINEWIDTH 256 //!< Maximum characters of each line.
+
+-char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
++extern char wrapped_lines[MAX_LINES][MAX_LINEWIDTH]; //!< Global buffer for wrapped lines.
+
+ //TODO separate headers for different areas a la SDL?
+
diff --git a/libraries/tDOM/README b/libraries/tDOM/README
index 3a2caa5452..97e051688e 100644
--- a/libraries/tDOM/README
+++ b/libraries/tDOM/README
@@ -1,12 +1,13 @@
-tDOM combines high performance XML data processing with easy and powerful
-Tcl scripting functionality. tDOM should be one of the fastest ways to
-manipulate XML with a scripting language and uses very little memory in the
-process (for example the DOM tree of the XML recommendation in XML (160K)
-needs only about 450K in memory)! The tDOM project was started by Jochen
-Lower. It is currently maintained by Rolf Ade.
+tDOM combines high performance XML data processing with easy and
+powerful Tcl scripting functionality. tDOM should be one of the
+fastest ways to manipulate XML with a scripting language and uses
+very little memory in the process (for example the DOM tree of the
+XML recommendation in XML (160K) needs only about 450K in memory)! The
+tDOM project was started by Jochen Lower. It is currently maintained
+by Rolf Ade.
-Note, tDOM ships with two extensions: tnc, an XML validation module and
-tdomhtml, a set of definitions for creating html documents using tDOM. The
-slackbuild script builds and installs both by default. If you do not wish
-to build one or both of these extensions then set the BUILD_TNC and
-BUILD_TDOMHTML variables to false as appropriate.
+Note, tDOM ships with two extensions: tnc, an XML validation module
+and tdomhtml, a set of definitions for creating html documents using
+tDOM. The slackbuild script builds and installs both by default.
+If you do not wish to build one or both of these extensions then set
+the BUILD_TNC and BUILD_TDOMHTML variables to false as appropriate.
diff --git a/libraries/tDOM/tDOM.SlackBuild b/libraries/tDOM/tDOM.SlackBuild
index 355e48a0a7..34ed9f2909 100644
--- a/libraries/tDOM/tDOM.SlackBuild
+++ b/libraries/tDOM/tDOM.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tDOM
-# Copyright 2013-2014 by Richard Ellis (USA)
+# Copyright 2013-2023 by Richard Ellis (USA)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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.
+# 20220301 bkw: Modified by SlackBuilds.org: fix tarball handling.
+# No changes to package, so BUILD stays at 4.
+
+# 20220612 Mods by Ruben Schuller for building ver 0.9.2
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tDOM
-VERSION=${VERSION:-0.8.3}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.9.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TARNAM=$(echo $PRGNAM | tr A-Z a-z)
# set these to false to omit building each as part of tDOM build
BUILD_TNC=${BUILD_TNC:-true} ; # build tnc XML validator module
@@ -39,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}
@@ -50,12 +63,15 @@ if [ "$ARCH" = "i586" ]; then
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ CONFIGURE=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ CONFIGURE="--enable-64bit"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
+ CONFIGURE=""
fi
set -e
@@ -63,82 +79,88 @@ 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 $TARNAM-$VERSION-src
+tar xvf $CWD/$TARNAM-$VERSION-src.tgz
+cd $TARNAM-$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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Upstream patch
-# https://github.com/tDOM/tdom/commit/3dd529139d2f44bb9ecfdcddd27b3d6a8df5ff41#diff-0
-patch -p1 < $CWD/tDOM-tcl8.6-compat.patch
-
-set -x
-# since we are building up to three different packages, reuse the build process
-function build {
- case $1 in
- tnc|tdomhtml)
- local EXTRA="--with-tdom=$PKG/usr/lib${LIBDIRSUFFIX}"
- local LINK="-L$PKG/usr/lib${LIBDIRSUFFIX}/tdom0.8.3/" ;;
- *)
- local EXTRA=""
- local LINK="" ;;
- esac
- LDFLAGS="$LINK" \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
+ -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 \
- $EXTRA \
- --build=$ARCH-slackware-linux
-
- make
- if [[ $1 == "tdom" ]] ; then
- make test ; # tests are broken for tnc - bug reported to upstream
- # tests do not exist for tdomhtml
- fi
- make install DESTDIR=$PKG
-}
-
-build tdom ; # always build tDOM
-
-if [[ $BUILD_TNC == "true" ]] ; then
- pushd extensions/tnc
- build tnc
- popd
+ --build=$ARCH-slackware-linux \
+ --enable-html5 \
+ $CONFIGURE
+
+make
+make install DESTDIR=$PKG
+
+if [ "$BUILD_TNC" == "true" ]; then
+ pushd extensions/tnc
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux \
+ --with-tdom=$PKG/usr/lib${LIBDIRSUFFIX} \
+ $CONFIGURE
+
+ # we need to set the LDFLAGS here, the values from tdomConfig.sh aren't
+ # right until tdom is installed.
+ make LDFLAGS="-L$PKG/usr/lib${LIBDIRSUFFIX}/tdom${VERSION} -ltdomstub${VERSION}"
+ make install DESTDIR=$PKG
+ popd
fi
-if [[ $BUILD_TDOMHTML == "true" ]] ; then
- pushd extensions/tdomhtml
- build tdomhtml
- popd
- rm $PKG/usr/man/mann/tdomhtml.n ; # this is an empty file in the src tarball - bug reported to upstream
+if [ "$BUILD_TDOMHTML" == "true" ]; then
+ pushd extensions/tdomhtml
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+
+ make install DESTDIR=$PKG
+ popd
fi
-set +x
-
find $PKG -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
+# this is empty
+rm -f $PKG/usr/man/mann/tdomhtml.n.gz
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+ls
cp -a \
- LICENSE NPL-1_1Final.html README \
+ LICENSE MPL_2.0.html 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/libraries/tDOM/tDOM.info b/libraries/tDOM/tDOM.info
index 43f556a5ef..0caaa72b57 100644
--- a/libraries/tDOM/tDOM.info
+++ b/libraries/tDOM/tDOM.info
@@ -1,10 +1,10 @@
PRGNAM="tDOM"
-VERSION="0.8.3"
+VERSION="0.9.2"
HOMEPAGE="http://www.tdom.org/"
-DOWNLOAD="https://github.com/downloads/tDOM/tdom/tDOM-0.8.3.tgz"
-MD5SUM="f773bef5b8f15e0b400f9f93f164a6bb"
+DOWNLOAD="http://tdom.org/downloads/tdom-0.9.2-src.tgz"
+MD5SUM="d44ca4ba4595fef27f23056c147ef7a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="gumbo-parser"
MAINTAINER="Richard Ellis"
EMAIL="rellis@dp100.com"
diff --git a/libraries/ta-lib/README b/libraries/ta-lib/README
index d00b0a635f..7f52acea8b 100644
--- a/libraries/ta-lib/README
+++ b/libraries/ta-lib/README
@@ -1,5 +1,5 @@
-TA-Lib is widely used by trading software developers requiring to perform
-technical analysis of financial market data.
+TA-Lib is widely used by trading software developers requiring to
+perform technical analysis of financial market data.
Includes
200 indicators as ADX, MACD, RSI, Stochastic, Bollinger Bands etc.
diff --git a/libraries/ta-lib/ta-lib.SlackBuild b/libraries/ta-lib/ta-lib.SlackBuild
index 91f2118bd8..ad453c2a46 100644
--- a/libraries/ta-lib/ta-lib.SlackBuild
+++ b/libraries/ta-lib/ta-lib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for TA-Lib
@@ -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.
+# 20220215 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add -j1 to the make command (parallel builds fail).
+# - get rid of static library.
+# - install changelong and history in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ta-lib
VERSION=${VERSION:-0.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERS=${SRCVERS:-${VERSION}-src}
@@ -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}
@@ -67,9 +79,9 @@ 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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,22 +94,20 @@ CXXFLAGS="$SLKCFLAGS" \
--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
+make -j1
+make -j1 install-strip DESTDIR=$PKG
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+# --disable-static is accepted and ignored, so:
+rm -f $PKG/usr/lib*/libta_lib.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 *.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/libraries/tamu_anova/tamu_anova.SlackBuild b/libraries/tamu_anova/tamu_anova.SlackBuild
index 0881285491..a84494c393 100644
--- a/libraries/tamu_anova/tamu_anova.SlackBuild
+++ b/libraries/tamu_anova/tamu_anova.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tamu_anova
-# Copyright 2011-2016 Petar Petrov slackalaxy@gmail.com
+# Copyright 2011-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=tamu_anova
VERSION=${VERSION:-0.2} # Website claims the version is 0.2.1. Weird.
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=tamuanova
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"
@@ -66,10 +76,10 @@ tar xvf $CWD/${SRCNAM}_${VERSION}.orig.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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -100,8 +110,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tbb/README b/libraries/tbb/README
index b528d2e175..f1473f845b 100644
--- a/libraries/tbb/README
+++ b/libraries/tbb/README
@@ -1,6 +1,7 @@
-Intel(r) Threading Building Blocks (Intel TBB) offers a rich and complete
-approach to expressing parallelism in a C++ program. It is a library that
-helps you take advantage of multi-core processor performance without having
-to be a threading expert. Intel TBB is not just a threads-replacement library.
-It represents a higher-level, task-based parallelism that abstracts platform
-details and threading mechanisms for scalability and performance.
+Intel(r) Threading Building Blocks (Intel TBB) offers a rich and
+complete approach to expressing parallelism in a C++ program. It
+is a library that helps you take advantage of multi-core processor
+performance without having to be a threading expert. Intel TBB is not
+just a threads-replacement library. It represents a higher-level,
+task-based parallelism that abstracts platform details and threading
+mechanisms for scalability and performance.
diff --git a/libraries/tbb/tbb.SlackBuild b/libraries/tbb/tbb.SlackBuild
index 8d6fae5db3..7f3e3eecab 100644
--- a/libraries/tbb/tbb.SlackBuild
+++ b/libraries/tbb/tbb.SlackBuild
@@ -1,14 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tbb
# Written by powtrix (@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tbb
-VERSION=${VERSION:-2019u9}
+VERSION=${VERSION:-2021.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-SRCVERSION=$( echo ${VERSION} | sed 's,u,_U,' )
+SRCNAM=oneTBB
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -18,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}
@@ -39,11 +46,11 @@ fi
set -e
-rm -rf $PKG $TMP/$PRGNAM-${SRCVERSION}
+rm -rf $PKG $TMP/oneTBB-${VERSION}
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-${SRCVERSION}.tar.gz
-cd $PRGNAM-${SRCVERSION}
+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 \
@@ -51,28 +58,30 @@ 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
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-# The *.so (no numerical suffix) files should be symlinks, but they're not,
-# so we'll do that correct ourselves
-mv build/linux_*_release/*.so.* $PKG/usr/lib${LIBDIRSUFFIX}
-ln -s libtbb.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbb.so
-ln -s libtbbmalloc.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbbmalloc.so
-ln -s libtbbmalloc_proxy.so.2 $PKG/usr/lib${LIBDIRSUFFIX}/libtbbmalloc_proxy.so
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DTBB_TEST=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
-mv include $PKG/usr
+ 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 CHANGES LICENSE README{,.md} doc/Release_Notes.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tbb/tbb.info b/libraries/tbb/tbb.info
index 5f5ee478ae..29de0a7d09 100644
--- a/libraries/tbb/tbb.info
+++ b/libraries/tbb/tbb.info
@@ -1,8 +1,8 @@
PRGNAM="tbb"
-VERSION="2019u9"
-HOMEPAGE="https://www.threadingbuildingblocks.org"
-DOWNLOAD="https://github.com/01org/tbb/archive/2019_U9/tbb-2019_U9.tar.gz"
-MD5SUM="584edbec127c508f2cd5b6e79ad200fc"
+VERSION="2021.10.0"
+HOMEPAGE="https://software.intel.com/en-us/tbb"
+DOWNLOAD="https://github.com/oneapi-src/oneTBB/archive/v2021.10.0/oneTBB-2021.10.0.tar.gz"
+MD5SUM="2caf55b3d35b53edccb33ecaf0f23402"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/tblis/README b/libraries/tblis/README
new file mode 100644
index 0000000000..1a29eddd2c
--- /dev/null
+++ b/libraries/tblis/README
@@ -0,0 +1,12 @@
+ TBLIS is a library and framework for performing tensor operations,
+especially tensor contraction, using native algorithms. In this
+context, native means that TBLIS does not translate tensor operations
+into matrix operations using the BLAS libraries. Instead, TBLIS uses
+the philosophy (and certain low-level kernels) of the BLIS framework
+to implement tensor contraction with essentially zero overhead
+compared to matrix multiplication. TBLIS also aims to offer a
+convenient C++ interface for tensors and tensor operations, as well
+as a stable C interface with high portability.
+
+
+ Optional dependence hwloc, autodetect.
diff --git a/libraries/tblis/slack-desc b/libraries/tblis/slack-desc
new file mode 100644
index 0000000000..a143236935
--- /dev/null
+++ b/libraries/tblis/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------------------------------------------------------|
+tblis: tblis (a library and framework for performing tensor operations)
+tblis:
+tblis: TBLIS is a library and framework for performing tensor operations,
+tblis: especially tensor contraction, using native algorithms. In this
+tblis: context, native means that TBLIS does not translate tensor operations
+tblis: into matrix operations using the BLAS libraries. Instead, TBLIS uses
+tblis: the philosophy (and certain low-level kernels) of the BLIS framework
+tblis: to implement tensor contraction with essentially zero overhead
+tblis: compared to matrix multiplication. TBLIS also aims to offer a
+tblis: convenient C++ interface for tensors and tensor operations, as well
+tblis: as a stable C interface with high portability.
diff --git a/libraries/tblis/tblis.SlackBuild b/libraries/tblis/tblis.SlackBuild
new file mode 100644
index 0000000000..a4b97b4719
--- /dev/null
+++ b/libraries/tblis/tblis.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for tblis
+
+# 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=tblis
+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"
+ 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 building errors
+sed -i '6i#include <limits>' src/external/marray/include/short_vector.hpp
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --disable-static \
+ --enable-config=x86 \
+ --build=$ARCH-slackware-linux
+
+make
+#bin/test -r 2
+make install DESTDIR=$PKG
+
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG -depth -type d -empty -delete || 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/libraries/tblis/tblis.info b/libraries/tblis/tblis.info
new file mode 100644
index 0000000000..3e599e2337
--- /dev/null
+++ b/libraries/tblis/tblis.info
@@ -0,0 +1,10 @@
+PRGNAM="tblis"
+VERSION="1.2.0"
+HOMEPAGE="https://github.com/devinamatthews/tblis"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/devinamatthews/tblis/archive/v1.2.0/tblis-1.2.0.tar.gz"
+MD5SUM_x86_64="3c3c23bac7f68f778864fa5c6ef9b514"
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/tcc4tcl/README b/libraries/tcc4tcl/README
new file mode 100644
index 0000000000..70537c20dc
--- /dev/null
+++ b/libraries/tcc4tcl/README
@@ -0,0 +1,12 @@
+tcc4tcl (Tiny C Compiler for Tcl) is a Tcl extension that provides
+an interface to TCC. It is a fork of tcltcc by Mark Janssen.
+
+It makes extending Tcl with C and creating compiled package
+extensions a simple and interactive experience. It incorporates TinyCC,
+a small yet featureful C compiler that works fast enough to be used as
+a JIT compiler.
+
+In addition to the TinyCC binding, tcc4tcl allows quick wrapping of C
+functions into Tcl procedures, and saving these procedures in libraries
+loadable as package extensions using the load command. It is similar to
+Critcl, except that the compiler is included.
diff --git a/libraries/tcc4tcl/slack-desc b/libraries/tcc4tcl/slack-desc
new file mode 100644
index 0000000000..309c21c8c6
--- /dev/null
+++ b/libraries/tcc4tcl/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------------------------------------------------------|
+tcc4tcl: tcc4tcl (Tiny C Compiler for tcl)
+tcc4tcl:
+tcc4tcl: tcc4tcl makes extending Tcl with C and creating compiled package
+tcc4tcl: extensions a simple and interactive experience. It incorporates
+tcc4tcl: TinyCC, a small yet featureful C compiler that works fast enough to
+tcc4tcl: be used as a JIT compiler
+tcc4tcl:
+tcc4tcl: for more info, visit:
+tcc4tcl: https://chiselapp.com/user/rkeene/repository/tcc4tcl
+tcc4tcl:
+tcc4tcl:
diff --git a/libraries/tcc4tcl/tcc4tcl.SlackBuild b/libraries/tcc4tcl/tcc4tcl.SlackBuild
new file mode 100644
index 0000000000..ccb988351f
--- /dev/null
+++ b/libraries/tcc4tcl/tcc4tcl.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for tcc4tcl
+
+# 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=tcc4tcl
+VERSION=${VERSION:-0.30}
+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 {} \;
+
+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-tcl=/usr/lib${LIBDIRSUFFIX} \
+ --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 \
+ 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/libraries/tcc4tcl/tcc4tcl.info b/libraries/tcc4tcl/tcc4tcl.info
new file mode 100644
index 0000000000..984205945d
--- /dev/null
+++ b/libraries/tcc4tcl/tcc4tcl.info
@@ -0,0 +1,10 @@
+PRGNAM="tcc4tcl"
+VERSION="0.30"
+HOMEPAGE="https://chiselapp.com/user/rkeene/repository/tcc4tcl"
+DOWNLOAD="http://rkeene.org/devel/tcc4tcl/tcc4tcl-0.30.tar.gz"
+MD5SUM="5fec79c4cff8fcb8df3e162950a07293"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/tcl-inotify/README b/libraries/tcl-inotify/README
index 77cb5c5b04..56f2807cd3 100644
--- a/libraries/tcl-inotify/README
+++ b/libraries/tcl-inotify/README
@@ -1,2 +1,2 @@
This is a Tcl extension that provides an interface to the inotify file
-system notification service of the Linux kernel. \ No newline at end of file
+system notification service of the Linux kernel.
diff --git a/libraries/tcl-inotify/tcl-inotify.SlackBuild b/libraries/tcl-inotify/tcl-inotify.SlackBuild
index 6c0c9e5172..9d94b0e2e2 100644
--- a/libraries/tcl-inotify/tcl-inotify.SlackBuild
+++ b/libraries/tcl-inotify/tcl-inotify.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tcl-inotify
@@ -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=tcl-inotify
VERSION=${VERSION:-1.4}
-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"
@@ -95,10 +105,12 @@ 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
rmdir $PKG/usr/bin # $PKG/usr/bin is empty - remove it
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tcl-promise/README b/libraries/tcl-promise/README
new file mode 100644
index 0000000000..9f2d5439be
--- /dev/null
+++ b/libraries/tcl-promise/README
@@ -0,0 +1,2 @@
+tcl-promise implements the 'promise' abstraction for asynchronous
+programming.
diff --git a/libraries/tcl-promise/dst-installer.patch b/libraries/tcl-promise/dst-installer.patch
new file mode 100644
index 0000000000..293f59d268
--- /dev/null
+++ b/libraries/tcl-promise/dst-installer.patch
@@ -0,0 +1,12 @@
+--- promise-1.1.0.tm.orig 2020-07-27 12:00:27.771781329 -0500
++++ promise-1.1.0.tm 2020-07-27 12:03:12.543787263 -0500
+@@ -1281,7 +1281,8 @@
+ }
+ }
+ install {
+- set dir [file join [tcl::pkgconfig get libdir,runtime] tcl8 8.6]
++ set dir [string cat [lindex $::argv 1] [file join [tcl::pkgconfig get libdir,runtime] tcl8 8.6]]
++ file mkdir $dir
+ if {[file extension $filename] eq ".tm"} {
+ # We already are a .tm with version number
+ set target $filename
diff --git a/libraries/tcl-promise/slack-desc b/libraries/tcl-promise/slack-desc
new file mode 100644
index 0000000000..b9ce42cbc3
--- /dev/null
+++ b/libraries/tcl-promise/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------------------------------------------------------|
+tcl-promise: tcl-promise (A promise/future lib for tcl)
+tcl-promise:
+tcl-promise: This package implements the 'promise' abstraction for asynchronous
+tcl-promise: programming.
+tcl-promise:
+tcl-promise: https://tcl-promise.magicsplat.com/
+tcl-promise:
+tcl-promise:
+tcl-promise:
+tcl-promise:
+tcl-promise:
diff --git a/libraries/tcl-promise/tcl-promise.SlackBuild b/libraries/tcl-promise/tcl-promise.SlackBuild
new file mode 100644
index 0000000000..0043b2272f
--- /dev/null
+++ b/libraries/tcl-promise/tcl-promise.SlackBuild
@@ -0,0 +1,68 @@
+#!/bin/bash
+
+# Slackware build script for promise
+
+# Copyright 2020 Jeff Parent <jeff+SBo@sh0.xyz>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=tcl-promise
+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}
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+cp $CWD/promise-${VERSION}.tm .
+patch < $CWD/dst-installer.patch
+
+tclsh ./promise-${VERSION}.tm install "${PKG}"
+
+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/libraries/tcl-promise/tcl-promise.info b/libraries/tcl-promise/tcl-promise.info
new file mode 100644
index 0000000000..afa3b5be6e
--- /dev/null
+++ b/libraries/tcl-promise/tcl-promise.info
@@ -0,0 +1,10 @@
+PRGNAM="tcl-promise"
+VERSION="1.1.0"
+HOMEPAGE="http://www.magicsplat.com/blog/tags/promises/"
+DOWNLOAD="https://master.dl.sourceforge.net/project/tcl-promise/promise-1.1.0.tm"
+MD5SUM="c8c10f855bdc8a935246f29ab238cd9f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Jeff Parent"
+EMAIL="jeff+SBo@sh0.xyz"
diff --git a/libraries/tcl-tls/tcl-tls.SlackBuild b/libraries/tcl-tls/tcl-tls.SlackBuild
index 7b22033726..60527f8a57 100644
--- a/libraries/tcl-tls/tcl-tls.SlackBuild
+++ b/libraries/tcl-tls/tcl-tls.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tcl-tls
@@ -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=tcl-tls
-VERSION=${VERSION:-1.6.7}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.7.20}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-PRGBASE=tls${VERSION}
+SRCNAM=tcltls
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}
@@ -61,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGBASE
-tar xvf $CWD/$PRGBASE-src.tar.gz
-cd $PRGBASE
+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 \
@@ -94,8 +104,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tcl-tls/tcl-tls.info b/libraries/tcl-tls/tcl-tls.info
index 179b544572..4882df9db3 100644
--- a/libraries/tcl-tls/tcl-tls.info
+++ b/libraries/tcl-tls/tcl-tls.info
@@ -1,8 +1,8 @@
PRGNAM="tcl-tls"
-VERSION="1.6.7"
-HOMEPAGE="https://sourceforge.net/projects/tls"
-DOWNLOAD="https://sourceforge.net/projects/tls/files/tls/1.6.7/tls1.6.7-src.tar.gz"
-MD5SUM="2765d84a7a520c9979d82a0abebc1647"
+VERSION="1.7.20"
+HOMEPAGE="https://core.tcl-lang.org/tcltls/"
+DOWNLOAD="https://core.tcl-lang.org/tcltls/uv/tcltls-1.7.20.tar.gz"
+MD5SUM="735ce57df0dfae9c6a8fe992574525d5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/tclap/README b/libraries/tclap/README
index 18bfebd9d6..80108d7a99 100644
--- a/libraries/tclap/README
+++ b/libraries/tclap/README
@@ -1,3 +1,8 @@
TCLAP is a small templatized library that provides a simple interface
for defining and accessing command line arguments. It was intially
inspired by the user friendly CLAP libary.
+
+By default, the API documentation is not built, as it's rather
+resource-intensive, and not required unless you're a developer. If
+you need the API docs, install graphviz, then run this build with
+APIDOC=yes in the environment.
diff --git a/libraries/tclap/tclap.SlackBuild b/libraries/tclap/tclap.SlackBuild
index 710616e154..9a3e7084b1 100644
--- a/libraries/tclap/tclap.SlackBuild
+++ b/libraries/tclap/tclap.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tclap
@@ -22,26 +22,38 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220417 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - make API docs optional.
+# - remove useless INSTAL from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tclap
VERSION=${VERSION:-1.2.2}
-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"
@@ -65,9 +77,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 \
+ -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 {} \+
+
+apidocopt="--disable-doxygen"
+[ "${APIDOC:-no}" = "yes" ] && apidocopt="--enable-doxygen"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -77,19 +92,24 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ $apidocopt \
--build=$ARCH-slackware-linux
make docdir=/usr/doc/$PRGNAM-$VERSION
make install docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# 20220418 bkw: this dir is empty if we disabled doxygen:
+rmdir $PKG/usr/doc/$PRGNAM-$VERSION/html &>/dev/null || true
+
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ AUTHORS COPYING ChangeLog 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tcllib/tcllib.SlackBuild b/libraries/tcllib/tcllib.SlackBuild
index 6f8ae62a89..37745061e3 100644
--- a/libraries/tcllib/tcllib.SlackBuild
+++ b/libraries/tcllib/tcllib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tcllib
@@ -23,10 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tcllib
-VERSION=${VERSION:-1.20}
+VERSION=${VERSION:-1.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,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}
@@ -66,9 +76,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,12 +91,11 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make install DESTDIR=$PKG
+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
-
-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
+# 20220419 bkw: remove a couple of empty files and fix all the permissions.
+find examples \
+ -type f \( \( -empty -delete \) -o \( -perm /111 -exec chmod 644 {} \+ \) \)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
@@ -94,8 +103,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION/examples
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/libraries/tcllib/tcllib.info b/libraries/tcllib/tcllib.info
index 9b642955a0..8d958c611d 100644
--- a/libraries/tcllib/tcllib.info
+++ b/libraries/tcllib/tcllib.info
@@ -1,8 +1,8 @@
PRGNAM="tcllib"
-VERSION="1.20"
+VERSION="1.21"
HOMEPAGE="http://core.tcl.tk/tcllib/"
-DOWNLOAD="https://core.tcl-lang.org/tcllib/uv/tcllib-1.20.tar.gz"
-MD5SUM="6997b159bd7fc2892fcd46d3e8c6aba7"
+DOWNLOAD="https://core.tcl-lang.org/tcllib/uv/tcllib-1.21.tar.gz"
+MD5SUM="daa445efcb4c459ee11c4f8dc933a685"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/tclsoap/README b/libraries/tclsoap/README
new file mode 100644
index 0000000000..7334466911
--- /dev/null
+++ b/libraries/tclsoap/README
@@ -0,0 +1,5 @@
+The TclSOAP package provides a mechanism to bind Tcl command
+procedures to remote procedure calls using the Simple Object
+Access Protocol (SOAP) and XML-RPC over HTTP. Both client and
+server code is provided.
+
diff --git a/libraries/tclsoap/patches/Makefile.in.patch b/libraries/tclsoap/patches/Makefile.in.patch
new file mode 100644
index 0000000000..88f64785f2
--- /dev/null
+++ b/libraries/tclsoap/patches/Makefile.in.patch
@@ -0,0 +1,12 @@
+# adapted from FreeBSD ports (author's email: dereckson@gmail.com)
+--- Makefile.in
++++ Makefile.in
+@@ -56,7 +56,7 @@ docdir = @docdir@
+
+ DESTDIR =
+
+-pkglibdir = $(libdir)/@PACKAGE@@VERSION@
++pkglibdir = $(libdir)/@PACKAGE@
+
+ top_builddir = .
+
diff --git a/libraries/tclsoap/patches/SOAP.tcl.patch b/libraries/tclsoap/patches/SOAP.tcl.patch
new file mode 100644
index 0000000000..1b7804bda1
--- /dev/null
+++ b/libraries/tclsoap/patches/SOAP.tcl.patch
@@ -0,0 +1,22 @@
+# adapted from FreeBSD ports (author's email: dereckson@gmail.com)
+--- SOAP.tcl
++++ SOAP.tcl
+@@ -22,12 +22,11 @@ package require rpcvar; # TclSOAP
+
+ namespace eval ::SOAP {variable domVersion}
+ if {[catch {package require SOAP::dom 1.0} ::SOAP::domVersion]} {
+- if { [catch {package require dom 2.0} ::SOAP::domVersion]} {
+- if { [catch {package require dom 1.6} ::SOAP::domVersion]} {
+- error "require dom package greater than 1.6"
+- }
+- package require SOAP::xpath; # TclSOAP
++ if {[catch {package require dom} ::SOAP::domVersion] || [package vcompare $::SOAP::domVersion 1.6] < 0} {
++ error "require dom package greater than 1.6"
+ }
++ package require SOAP::xpath; # TclSOAP
++
+ proc ::SOAP::createDocument {name} {
+ set doc [dom::DOMImplementation create]
+ return [dom::document createElement $doc $name]
+
+
diff --git a/libraries/tclsoap/patches/pkgIndex.tcl.patch b/libraries/tclsoap/patches/pkgIndex.tcl.patch
new file mode 100644
index 0000000000..71e2d674ed
--- /dev/null
+++ b/libraries/tclsoap/patches/pkgIndex.tcl.patch
@@ -0,0 +1,14 @@
+# adapted from FreeBSD ports (author's email: dereckson@gmail.com)
+--- pkgIndex.tcl
++++ pkgIndex.tcl
+@@ -11,8 +11,7 @@
+ package ifneeded SOAP 1.6.7 [list source [file join $dir SOAP.tcl]]
+ package ifneeded SOAP::CGI 1.0 [list source [file join $dir SOAP-CGI.tcl]]
+ package ifneeded SOAP::Domain 1.4 [list source [file join $dir SOAP-domain.tcl]]
+-package ifneeded SOAP::Service 0.4 [list source [file join $dir SOAP-service.tcl]]
+-package ifneeded SOAP::Utils 1.0 [list source [file join $dir utils.tcl]]
++package ifneeded SOAP::Utils 1.0.1 [list source [file join $dir utils.tcl]]
+ package ifneeded SOAP::ftp 1.0 [list source [file join $dir ftp.tcl]]
+ package ifneeded SOAP::http 1.0 [list source [file join $dir http.tcl]]
+ package ifneeded SOAP::https 1.0 [list source [file join $dir https.tcl]]
+
diff --git a/libraries/tclsoap/patches/xpath.tcl.patch b/libraries/tclsoap/patches/xpath.tcl.patch
new file mode 100644
index 0000000000..5aacac3c3b
--- /dev/null
+++ b/libraries/tclsoap/patches/xpath.tcl.patch
@@ -0,0 +1,17 @@
+# adapted from FreeBSD ports (author's email: dereckson@gmail.com)
+--- xpath.tcl
++++ xpath.tcl
+@@ -14,10 +14,9 @@
+ # for more details.
+ # -------------------------------------------------------------------------
+
+-if { [catch {package require dom 2.0}] } {
+- if { [catch {package require dom 1.6}] } {
++namespace eval ::SOAP {variable domVersion}
++if { [catch {package require dom} ::SOAP::domVersion] || [package vcompare $::SOAP::domVersion 1.6] < 0} {
+ error "require dom package greater than 1.6"
+- }
+ }
+
+ namespace eval SOAP::xpath {
+
diff --git a/libraries/tclsoap/slack-desc b/libraries/tclsoap/slack-desc
new file mode 100644
index 0000000000..4caabf5c74
--- /dev/null
+++ b/libraries/tclsoap/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------------------------------------------------------|
+tclsoap: tclsoap (SOAP client/server for Tcl)
+tclsoap:
+tclsoap: The TclSOAP package provides a mechanism to bind Tcl command
+tclsoap: procedures to remote procedure calls using the Simple Object
+tclsoap: Access Protocol (SOAP) and XML-RPC over HTTP. Both client and
+tclsoap: server code is provided.
+tclsoap:
+tclsoap:
+tclsoap:
+tclsoap: See more at: https://tclsoap.sourceforge.net
+tclsoap:
diff --git a/libraries/tclsoap/tclsoap.SlackBuild b/libraries/tclsoap/tclsoap.SlackBuild
new file mode 100644
index 0000000000..6d1a5a70c0
--- /dev/null
+++ b/libraries/tclsoap/tclsoap.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for tclsoap
+
+# 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=tclsoap
+VERSION=${VERSION:-1.6.7}
+TARNAM=TclSOAP
+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}
+
+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/$TARNAM-$VERSION.tar.gz
+mv $PRGNAM$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 {} \;
+
+# patches adapted from FreeBSD ports (author's email: dereckson@gmail.com)
+cat $CWD/patches/Makefile.in.patch | patch -p0
+cat $CWD/patches/SOAP.tcl.patch | patch -p0
+cat $CWD/patches/pkgIndex.tcl.patch | patch -p0
+cat $CWD/patches/xpath.tcl.patch | patch -p0
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr
+
+make
+make install DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ TclSOAP.ANN LICENSE DESCRIPTION.txt CHANGES doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION;
+# correct permissions in doc directory
+chmod 0755 $PKG/usr/doc/$PRGNAM-$VERSION/doc;
+chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/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
diff --git a/libraries/tclsoap/tclsoap.info b/libraries/tclsoap/tclsoap.info
new file mode 100644
index 0000000000..598dd59d16
--- /dev/null
+++ b/libraries/tclsoap/tclsoap.info
@@ -0,0 +1,10 @@
+PRGNAM="tclsoap"
+VERSION="1.6.7"
+HOMEPAGE="https://tclsoap.sourceforge.net"
+DOWNLOAD="https://sourceforge.net/projects/tclsoap/files/tclsoap/TclSOAP-1.6.7/TclSOAP-1.6.7.tar.gz"
+MD5SUM="6e07a5dad13233851fc9eecd9f7319e1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tcllib tclxml"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/tclws/README b/libraries/tclws/README
new file mode 100644
index 0000000000..5a5630be85
--- /dev/null
+++ b/libraries/tclws/README
@@ -0,0 +1,13 @@
+ This package provides a Tcl implementation of both client side access
+ to Web Services and server side creation of Web Services. Currently
+ only document/literal and rpc/encoded with HTTP Soap transport are
+ supported on the client side. The server side code currently works
+ with several web servers:
+* TclHttpd
+* Apache with Rivet
+* AOLserver
+* WUB
+* wibble
+* Microsoft IIS
+
+The server side code can also be embedded in other applications
diff --git a/libraries/tclws/slack-desc b/libraries/tclws/slack-desc
new file mode 100644
index 0000000000..ddde47c2c7
--- /dev/null
+++ b/libraries/tclws/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------------------------------------------------------|
+tclws: tclws (Tcl Web Services)
+tclws:
+tclws: the tclws package aims to provide both a tcl client and server
+tclws: support for webservices.
+tclws:
+tclws: https://core.tcl-lang.org/tclws
+tclws:
+tclws:
+tclws:
+tclws:
+tclws:
diff --git a/libraries/tclws/tclws.SlackBuild b/libraries/tclws/tclws.SlackBuild
new file mode 100644
index 0000000000..0e4840f727
--- /dev/null
+++ b/libraries/tclws/tclws.SlackBuild
@@ -0,0 +1,95 @@
+#!/bin/bash
+
+# Slackware build script for tclws
+
+# 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=tclws
+VERSION=${VERSION:-3.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ ARCH="noarch"
+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 {} \;
+
+
+TCLFILES="AOLserver.tcl Embedded.tcl ServerSide.tcl WubServer.tcl
+ ChannelServer.tcl Utilities.tcl ClientSide.tcl Wub.tcl
+ pkgIndex.tcl"
+
+mkdir -p $PKG/usr/lib/tclws
+cp -a $TCLFILES $PKG/usr/lib/tclws/
+
+
+DOCFILES="License.txt license.terms Examples docs"
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tclws/tclws.info b/libraries/tclws/tclws.info
new file mode 100644
index 0000000000..c3f5e6da90
--- /dev/null
+++ b/libraries/tclws/tclws.info
@@ -0,0 +1,10 @@
+PRGNAM="tclws"
+VERSION="3.4.0"
+HOMEPAGE="https://core.tcl-lang.org/tclws"
+DOWNLOAD="https://core.tcl-lang.org/tclws/tarball/tclws-3.4.0.tar.gz"
+MD5SUM="36815313028e90332048d9e16bd0726f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="tcllib tcl-tls tDOM"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/tclxml/README b/libraries/tclxml/README
new file mode 100644
index 0000000000..422cd0a473
--- /dev/null
+++ b/libraries/tclxml/README
@@ -0,0 +1,8 @@
+TclXML is a package that provides XML parsing for the Tcl
+scripting language. It has two implementations of XML parsers:
+one written purely in Tcl and a wrapper for the Gnome libxml2
+C library.
+
+The TclXML package now incorporates the TclDOM and TclXSLT packages.
+TclDOM and TclXSLT were previously distributed as separate packages.
+The three packages may still be used as if they were standalone.
diff --git a/libraries/tclxml/slack-desc b/libraries/tclxml/slack-desc
new file mode 100644
index 0000000000..645c7832f7
--- /dev/null
+++ b/libraries/tclxml/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------------------------------------------------------|
+tclxml: tclxml (XML support for Tcl)
+tclxml:
+tclxml: TclXML provides XML support for the Tcl scripting language.
+tclxml: It also provides a DOM API. Integration with libxml2 adds XSLT,
+tclxml: XML Schemas and Relax NG.
+tclxml:
+tclxml:
+tclxml:
+tclxml:
+tclxml: See more at: http://tclxml.sourceforge.net/
+tclxml:
diff --git a/libraries/tclxml/tclxml.SlackBuild b/libraries/tclxml/tclxml.SlackBuild
new file mode 100644
index 0000000000..a75e29c4e2
--- /dev/null
+++ b/libraries/tclxml/tclxml.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for tclxml
+
+# 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=tclxml
+VERSION=${VERSION:-3.3.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=TclXML
+
+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 {} \;
+
+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 \
+ LICENSE README.md examples doc \
+ $PKG/usr/doc/$PRGNAM-$VERSION;
+
+# correct file perms
+chmod 0644 \
+ $PKG/usr/doc/$PRGNAM-$VERSION/doc/xsltsl/cmp.xsl \
+ $PKG/usr/doc/$PRGNAM-$VERSION/examples/tclxml/REC-xml-20001006.xml
+
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tclxml/tclxml.info b/libraries/tclxml/tclxml.info
new file mode 100644
index 0000000000..ad6da95471
--- /dev/null
+++ b/libraries/tclxml/tclxml.info
@@ -0,0 +1,10 @@
+PRGNAM="tclxml"
+VERSION="3.3.1"
+HOMEPAGE="https://github.com/flightaware/TclXML"
+DOWNLOAD="https://github.com/flightaware/TclXML/archive/v3.3.1/TclXML-3.3.1.tar.gz"
+MD5SUM="fb8106c41efcb5053389007851d2a237"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/td_lib/README b/libraries/td_lib/README
new file mode 100644
index 0000000000..2d4a7dac55
--- /dev/null
+++ b/libraries/td_lib/README
@@ -0,0 +1,7 @@
+td_lib (support library for ded)
+
+This is a common library of procedures which are shared not only among
+the CM_TOOLS utilities, but also with other programs which are not
+part of CM_TOOLS.
+
+In practice, the only program that uses this library is "ded".
diff --git a/libraries/td_lib/slack-desc b/libraries/td_lib/slack-desc
new file mode 100644
index 0000000000..cd92a5ba4c
--- /dev/null
+++ b/libraries/td_lib/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+td_lib: td_lib (support library for ded)
+td_lib:
+td_lib: This is a common library of procedures which are shared not only among
+td_lib: the CM_TOOLS utilities, but also with other programs which are not
+td_lib: part of CM_TOOLS.
+td_lib:
+td_lib: In practice, the only program that uses this library is "ded".
+td_lib:
+td_lib:
+td_lib:
+td_lib:
diff --git a/libraries/td_lib/td_lib.SlackBuild b/libraries/td_lib/td_lib.SlackBuild
new file mode 100644
index 0000000000..1f9fef6ff9
--- /dev/null
+++ b/libraries/td_lib/td_lib.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for td_lib
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# For a long time, this was bundled with ded. However, recent versions
+# of ded have configure scripts and makefiles that have grown too
+# complex to easily force it to find td_lib in a custom directory. The
+# path of least resistance is to break this library out into its own
+# build, even though nothing else besides ded uses it.
+
+# 20240423 bkw, BUILD=2: add missing .pc file to package. I thought
+# ded was compiling OK without it, but it was actually pulling in
+# td_lib from $TMP, not the installed package... which meant building
+# td_lib followed by ded seemed to work, but building td_lib, then "rm
+# -rf /tmp/SBo", *then* building ded would fail. Grr.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=td_lib
+VERSION=${VERSION:-20230122}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# "checking for long filenames" wants to create files in /usr/lib and
+# /var/lib. Violates the principle of least surprise: users don't expect
+# configure scripts (or SlackBuilds) to touch their system directories.
+# We skip this check with an environment variable.
+
+ac_cv_sys_long_file_names="set" \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+# Yes, the -j1's are necessary.
+make -j1
+make -j1 install DESTDIR=$PKG
+
+# 20240423 bkw: make install doesn't install this, ded needs it.
+PC=$PKG/usr/lib$LIBDIRSUFFIX/pkgconfig
+mkdir -p $PC
+cp -a support/$PRGNAM.pc $PC
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a CHANGES COPYING README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/td_lib/td_lib.info b/libraries/td_lib/td_lib.info
new file mode 100644
index 0000000000..038ea2d55b
--- /dev/null
+++ b/libraries/td_lib/td_lib.info
@@ -0,0 +1,10 @@
+PRGNAM="td_lib"
+VERSION="20230122"
+HOMEPAGE="http://invisible-island.net/ded/"
+DOWNLOAD="https://invisible-mirror.net/archives/ded/td_lib-20230122.tgz"
+MD5SUM="bb6d9f756b77e2c5eaa1260a3f98bd0b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/template-glib/README b/libraries/template-glib/README
new file mode 100644
index 0000000000..183a0d617e
--- /dev/null
+++ b/libraries/template-glib/README
@@ -0,0 +1,8 @@
+Template-GLib is a library to help you generate text based on a
+template and user defined state. Template-GLib does not use a
+language runtime, so it is safe to use from any
+GObject-Introspectable language.
+
+Template-GLib allows you to access properties on GObjects as well as
+call simple methods via GObject-Introspection.
+
diff --git a/libraries/template-glib/slack-desc b/libraries/template-glib/slack-desc
new file mode 100644
index 0000000000..84983d1401
--- /dev/null
+++ b/libraries/template-glib/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------------------------------------------------------|
+template-glib: template-glib (A templating library for GLib)
+template-glib:
+template-glib: template-glib is a library for template expansion which supports
+template-glib: calling into GObject Introspection from templates.
+template-glib:
+template-glib:
+template-glib:
+template-glib:
+template-glib:
+template-glib: https://gitlab.gnome.org/GNOME/template-glib
+template-glib:
diff --git a/libraries/template-glib/template-glib.SlackBuild b/libraries/template-glib/template-glib.SlackBuild
new file mode 100644
index 0000000000..2b4a2e0341
--- /dev/null
+++ b/libraries/template-glib/template-glib.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for template-glib
+
+# 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=template-glib
+VERSION=${VERSION:-3.36.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.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 \
+ -Dvapi=true \
+ -Dintrospection=enabled \
+ -Dgtk_doc=true \
+ -Dtests=false
+ "${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 NEWS AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/template-glib/template-glib.info b/libraries/template-glib/template-glib.info
new file mode 100644
index 0000000000..560957e632
--- /dev/null
+++ b/libraries/template-glib/template-glib.info
@@ -0,0 +1,10 @@
+PRGNAM="template-glib"
+VERSION="3.36.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/template-glib"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/template-glib/-/archive/3.36.1/template-glib-3.36.1.tar.bz2"
+MD5SUM="5867afc4a067770355e27602d7f33dbe"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/tepl/README b/libraries/tepl/README
new file mode 100644
index 0000000000..70efd7881d
--- /dev/null
+++ b/libraries/tepl/README
@@ -0,0 +1,3 @@
+Tepl is a library that eases the development of GtkSourceView-based
+text editors and IDEs. Tepl was previously named Gtef.
+
diff --git a/libraries/tepl/slack-desc b/libraries/tepl/slack-desc
new file mode 100644
index 0000000000..74aeb7f3dd
--- /dev/null
+++ b/libraries/tepl/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------------------------------------------------------|
+tepl: tepl (Helper library for GtkSourceView-based editors)
+tepl:
+tepl: Tepl is a library that eases the development of GtkSourceView-based
+tepl: text editors and IDEs. Tepl was previously named Gtef.
+tepl:
+tepl:
+tepl:
+tepl:
+tepl:
+tepl: for more info visit: https://gitlab.gnome.org/swilmet/tepl
+tepl:
diff --git a/libraries/tepl/tepl.SlackBuild b/libraries/tepl/tepl.SlackBuild
new file mode 100644
index 0000000000..8790d5a26d
--- /dev/null
+++ b/libraries/tepl/tepl.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for tepl
+
+# 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
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=tepl
+VERSION=${VERSION:-6.8.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.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 {} \;
+
+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 \
+ -Dgtk_doc=false \
+ -Dstrip=true
+"${NINJA:=ninja}"
+DESTDIR=$PKG $NINJA install
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tepl/tepl.info b/libraries/tepl/tepl.info
new file mode 100644
index 0000000000..1b279bf63a
--- /dev/null
+++ b/libraries/tepl/tepl.info
@@ -0,0 +1,10 @@
+PRGNAM="tepl"
+VERSION="6.8.0"
+HOMEPAGE="https://gitlab.gnome.org/swilmet/tepl"
+DOWNLOAD="https://download.gnome.org/sources/tepl/6.8/tepl-6.8.0.tar.xz"
+MD5SUM="5d29b2c9032a1ba2d33ef9c9c9c7de79"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libgedit-gtksourceview libgedit-amtk"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/tff/tff.SlackBuild b/libraries/tff/tff.SlackBuild
index e1fdab2547..4b65a3606c 100644
--- a/libraries/tff/tff.SlackBuild
+++ b/libraries/tff/tff.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tff
@@ -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=tff
VERSION=${VERSION:-0.2.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}
@@ -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/libraries/tinygltf/README b/libraries/tinygltf/README
new file mode 100644
index 0000000000..6f60f93ffd
--- /dev/null
+++ b/libraries/tinygltf/README
@@ -0,0 +1,3 @@
+TinyGLTF is a header only C++11 glTF 2.0 library.
+
+It is required as dependency to build libdraco.
diff --git a/libraries/tinygltf/slack-desc b/libraries/tinygltf/slack-desc
new file mode 100644
index 0000000000..1adbf8c8b9
--- /dev/null
+++ b/libraries/tinygltf/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------------------------------------------------------|
+tinygltf: tinygltf (Header only tiny glTF library)
+tinygltf:
+tinygltf: TinyGLTF is a header only C++11 glTF 2.0 library.
+tinygltf:
+tinygltf:
+tinygltf: Home page: https://github.com/syoyo/tinygltf
+tinygltf:
+tinygltf:
+tinygltf:
+tinygltf:
+tinygltf:
diff --git a/libraries/tinygltf/tinygltf.SlackBuild b/libraries/tinygltf/tinygltf.SlackBuild
new file mode 100644
index 0000000000..f353097345
--- /dev/null
+++ b/libraries/tinygltf/tinygltf.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for tinygltf
+
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=tinygltf
+VERSION=${VERSION:-2.8.21}
+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 ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tinygltf/tinygltf.info b/libraries/tinygltf/tinygltf.info
new file mode 100644
index 0000000000..a52f62e949
--- /dev/null
+++ b/libraries/tinygltf/tinygltf.info
@@ -0,0 +1,10 @@
+PRGNAM="tinygltf"
+VERSION="2.8.21"
+HOMEPAGE="https://github.com/syoyo/tinygltf"
+DOWNLOAD="https://github.com/syoyo/tinygltf/archive/v2.8.21/tinygltf-2.8.21.tar.gz"
+MD5SUM="268fa79521795f4e067e5df34d898533"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/libraries/tinyxml/tinyxml.SlackBuild b/libraries/tinyxml/tinyxml.SlackBuild
index 1b1b8a75d8..c17fcfa0ac 100644
--- a/libraries/tinyxml/tinyxml.SlackBuild
+++ b/libraries/tinyxml/tinyxml.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tinyxml
@@ -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=tinyxml
VERSION=${VERSION:-2.6.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"
@@ -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/libraries/tinyxml2/README b/libraries/tinyxml2/README
index 98eb5c3d64..76a683e3ad 100644
--- a/libraries/tinyxml2/README
+++ b/libraries/tinyxml2/README
@@ -1,2 +1,2 @@
-TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily
-integrating into other programs.
+TinyXML-2 is a simple, small, efficient, C++ XML parser that can be
+easily integrating into other programs.
diff --git a/libraries/tinyxml2/tinyxml2.SlackBuild b/libraries/tinyxml2/tinyxml2.SlackBuild
index 21377dcded..0a7b6cca8f 100644
--- a/libraries/tinyxml2/tinyxml2.SlackBuild
+++ b/libraries/tinyxml2/tinyxml2.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tinyxml2
-# Copyright 2014-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2020 Larry Hajali <larryhaja[at]gmail[dot]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=tinyxml2
-VERSION=${VERSION:-7.1.0}
+VERSION=${VERSION:-8.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}
@@ -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/libraries/tinyxml2/tinyxml2.info b/libraries/tinyxml2/tinyxml2.info
index c8fd536315..529d10048b 100644
--- a/libraries/tinyxml2/tinyxml2.info
+++ b/libraries/tinyxml2/tinyxml2.info
@@ -1,8 +1,8 @@
PRGNAM="tinyxml2"
-VERSION="7.1.0"
+VERSION="8.0.0"
HOMEPAGE="http://www.grinninglizard.com/tinyxml2/index.html"
-DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/7.1.0/tinyxml2-7.1.0.tar.gz"
-MD5SUM="8a02c592702dcc7a061932425d8f3087"
+DOWNLOAD="https://github.com/leethomason/tinyxml2/archive/8.0.0/tinyxml2-8.0.0.tar.gz"
+MD5SUM="5dc535c8b34ee621fe2128f072d275b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/tkimg/tkimg.SlackBuild b/libraries/tkimg/tkimg.SlackBuild
index 1ed086839a..aa9a1318c5 100644
--- a/libraries/tkimg/tkimg.SlackBuild
+++ b/libraries/tkimg/tkimg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tkimg
@@ -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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tkimg
VERSION=${VERSION:-1.4.2}
MAJVER=1.4
-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"
@@ -94,8 +104,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a license.terms README ANNOUNCE $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/libraries/tksvg/README b/libraries/tksvg/README
new file mode 100644
index 0000000000..a67f3c1089
--- /dev/null
+++ b/libraries/tksvg/README
@@ -0,0 +1,7 @@
+This package adds support to read the SVG image format from Tk.
+The actual code to parse and raster the SVG comes from nanosvg.
+Note: this package is not required for Tk 8.7, as this functionality
+is included in the core. The package index file simulates a load on
+this version but actually does nothing.
+
+
diff --git a/libraries/tksvg/slack-desc b/libraries/tksvg/slack-desc
new file mode 100644
index 0000000000..7fb9c02253
--- /dev/null
+++ b/libraries/tksvg/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------------------------------------------------------|
+tksvg: tksvg (Tk support for SVG)
+tksvg:
+tksvg: This package adds support to read the SVG image format from Tk.
+tksvg: The actual code to parse and raster the SVG comes from nanosvg.
+tksvg: Note: this package is not required for Tk 8.7, as this functionality
+tksvg: is included in the core. The package index file simulates a load on
+tksvg: this version but actually does nothing.
+tksvg:
+tksvg:
+tksvg: For more information see: https://github.com/oehhar/tksvg
+tksvg:
diff --git a/libraries/tksvg/tksvg.SlackBuild b/libraries/tksvg/tksvg.SlackBuild
new file mode 100644
index 0000000000..9e9952c93e
--- /dev/null
+++ b/libraries/tksvg/tksvg.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for tksvg
+
+# 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=tksvg
+VERSION=${VERSION:-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=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 {} \;
+
+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
+
+# remove unnecessary empty directories
+rmdir $PKG/usr/bin $PKG/usr/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/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md license.terms \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tksvg/tksvg.info b/libraries/tksvg/tksvg.info
new file mode 100644
index 0000000000..7466e6bb0a
--- /dev/null
+++ b/libraries/tksvg/tksvg.info
@@ -0,0 +1,10 @@
+PRGNAM="tksvg"
+VERSION="0.13"
+HOMEPAGE="https://github.com/oehhar/tksvg"
+DOWNLOAD="https://github.com/oehhar/tksvg/archive/refs/tags/0.13/tksvg-0.13.tar.gz"
+MD5SUM="9a88e6ecbeee37f10dd77016f5911f12"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/libraries/tllist/README b/libraries/tllist/README
new file mode 100644
index 0000000000..a0113f5afe
--- /dev/null
+++ b/libraries/tllist/README
@@ -0,0 +1,24 @@
+Most C implementations of linked list are untyped. That is, their data
+carriers are typically void *. This is error prone since your compiler
+will not be able to help you correct your mistakes.
+
+tllist addresses this by using pre-processor macros to implement
+dynamic types, where the data carrier is typed to whatever you want;
+both primitive data types are supported as well as aggregated ones
+such as structs, enums and unions.
+
+Being a double-linked list, most operations are constant in time
+(including pushing and popping both to/from front and back).
+
+The memory overhead is fairly small; each item carries, besides its
+data, a prev and next pointer (i.e. a constant 16 byte overhead per item
+on 64-bit architectures).
+
+The list itself has two head and tail pointers, plus a length variable
+(typically 8 bytes on 64-bit architectures) to make list length lookup
+constant in time.
+
+Thus, assuming 64-bit pointers (and a 64-bit size_t type), the total
+overhead is 3*8 + n*2*8 bytes.
+
+tllist is a needed dependency for fcft,foot,fuzzel,fnott,wbg
diff --git a/libraries/tllist/slack-desc b/libraries/tllist/slack-desc
new file mode 100644
index 0000000000..1b63bf7a3f
--- /dev/null
+++ b/libraries/tllist/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------------------------------------------------------|
+tllist: tllist (typed linked list c header file)
+tllist:
+tllist: Tllist is a Typed Linked List C header file only library implemented
+tllist: using pre-processor macros.
+tllist:
+tllist:
+tllist:
+tllist: Homepage: https://codeberg.org/dnk/tllist
+tllist:
+tllist:
+tllist:
diff --git a/libraries/tllist/tllist.SlackBuild b/libraries/tllist/tllist.SlackBuild
new file mode 100644
index 0000000000..50a58a9e48
--- /dev/null
+++ b/libraries/tllist/tllist.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for tllist
+
+# 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=tllist
+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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 \
+
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+
+rm -r $PKG/usr/share
+
+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 PKGBUILD README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tllist/tllist.info b/libraries/tllist/tllist.info
new file mode 100644
index 0000000000..023a0d34de
--- /dev/null
+++ b/libraries/tllist/tllist.info
@@ -0,0 +1,10 @@
+PRGNAM="tllist"
+VERSION="1.1.0"
+HOMEPAGE="https://codeberg.org/dnkl/tllist"
+DOWNLOAD="https://codeberg.org/dnkl/tllist/archive/1.1.0.tar.gz"
+MD5SUM="77e9f57c5d37d74fd09522fee5f5137d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/tlsh/README b/libraries/tlsh/README
index d4e28dd8b5..07a5364496 100644
--- a/libraries/tlsh/README
+++ b/libraries/tlsh/README
@@ -3,8 +3,3 @@ length of 256 bytes, TLSH generates a hash value which can be used for
similarity comparisons.
("TLSH" stands for Trend Micro Locality Sensitive Hash.)
-
-python3 is an optional dependency. You need to set PYTHON3=yes,
-for example:
-
- PYTHON3=yes ./python-libarchive-c.SlackBuild
diff --git a/libraries/tlsh/install-libraries.patch b/libraries/tlsh/install-libraries.patch
deleted file mode 100644
index 83f9c6cae5..0000000000
--- a/libraries/tlsh/install-libraries.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From fb71fc45992a9adf73b3c8194bdd691391ca34d7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lunar@debian.org>
-Date: Wed, 27 Jan 2016 17:44:06 +0100
-Subject: [PATCH] install the library in expected directories
-
-We add CMake install directives in order to see the library files installed in
-the expected multiarch compatible locations.
----
- src/CMakeLists.txt | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index b1c92fb..c8d3fd9 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -21,3 +21,7 @@ set_target_properties(tlsh_shared PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SO
- set_target_properties(tlsh_shared PROPERTIES OUTPUT_NAME tlsh${BUILD_POSTFIX})
- set_target_properties(tlsh_shared PROPERTIES VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
- SOVERSION "0")
-+
-+include(GNUInstallDirs)
-+install(TARGETS tlsh_shared DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+install(FILES ../include/tlsh.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
diff --git a/libraries/tlsh/tlsh.SlackBuild b/libraries/tlsh/tlsh.SlackBuild
index 50088ba967..4db0ab69bd 100644
--- a/libraries/tlsh/tlsh.SlackBuild
+++ b/libraries/tlsh/tlsh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tlsh
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tlsh
-VERSION=${VERSION:-3.4.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.8.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -65,12 +75,14 @@ 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 {} \+
-# From Arch Linux (thanks!), but tweaked to omit static lib
-patch -p1 < $CWD/install-libraries.patch
+sed '/set(CMAKE_EXE_LINKER_FLAGS/d' -i CMakeLists.txt
+sed '/set(CMAKE_CXX_FLAGS/d' -i CMakeLists.txt
+sed 's|TLSH_SHARED_LIBRARY 0|TLSH_SHARED_LIBRARY 1|' -i src/CMakeLists.txt
+sed "s|DESTINATION\ lib|DESTINATION lib$LIBDIRSUFFIX|" -i src/CMakeLists.txt
mkdir -p build
cd build
@@ -78,19 +90,18 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
-mkdir -p $PKG/usr/bin
-install -D -m755 bin/tlsh_unittest $PKG/usr/bin
-ln -s tlsh_unittest $PKG/usr/bin/tlsh
+#mkdir -p $PKG/usr/bin
+#install -D -m755 bin/tlsh_unittest $PKG/usr/bin
+#ln -s tlsh_unittest $PKG/usr/bin/tlsh
cd py_ext
python setup.py install --root=$PKG
- if [ "${PYTHON3:-no}" == "yes" ]; then
+ if [ "${PYTHON3:-yes}" == "yes" ]; then
rm -rf build
python3 setup.py install --root=$PKG
fi
@@ -100,11 +111,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/doc/$PRGNAM-$VERSION
-cp -a *.pdf LICENSE NOTICE.txt PUBLIC.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 *.pdf LICENSE NOTICE.txt PUBLIC.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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/tlsh/tlsh.info b/libraries/tlsh/tlsh.info
index fbc5fd9578..694e1d62fc 100644
--- a/libraries/tlsh/tlsh.info
+++ b/libraries/tlsh/tlsh.info
@@ -1,8 +1,8 @@
PRGNAM="tlsh"
-VERSION="3.4.5"
+VERSION="4.8.2"
HOMEPAGE="https://github.com/trendmicro/tlsh"
-DOWNLOAD="https://github.com/trendmicro/tlsh/archive/v3.4.5/tlsh-3.4.5.tar.gz"
-MD5SUM="9e23c525cf5a1b0b44d9c161b2a637f8"
+DOWNLOAD="https://github.com/trendmicro/tlsh/archive/4.8.2/tlsh-4.8.2.tar.gz"
+MD5SUM="27106dfc3f90954ba3831d357ed7335d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/tmdb3/tmdb3.SlackBuild b/libraries/tmdb3/tmdb3.SlackBuild
index 5280f39637..4cc42298e9 100644
--- a/libraries/tmdb3/tmdb3.SlackBuild
+++ b/libraries/tmdb3/tmdb3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tmdb3
@@ -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=tmdb3
VERSION=${VERSION:-0.7.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}
@@ -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/libraries/tolua++/tolua++.SlackBuild b/libraries/tolua++/tolua++.SlackBuild
index 7db0ed754a..b04d61d391 100644
--- a/libraries/tolua++/tolua++.SlackBuild
+++ b/libraries/tolua++/tolua++.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tolua++
@@ -23,11 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220424 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tolua++
SRCNAM=toluapp
VERSION=${VERSION:-1.0.93}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,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}
@@ -62,14 +72,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$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 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 library directory, library and executable name, version info.
sed -i "s|INSTALL_LIB\ lib|INSTALL_LIB lib${LIBDIRSUFFIX}|" cmake/dist.cmake || exit 1
@@ -85,17 +95,15 @@ cd build
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
rm -fR $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
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 README*
cp -a \
- COPYRIGHT INSTALL README* doc/* \
+ COPYRIGHT README* doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -103,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/libraries/tolua++/tolua++.info b/libraries/tolua++/tolua++.info
index ebf8d5f6cc..256e37b9c7 100644
--- a/libraries/tolua++/tolua++.info
+++ b/libraries/tolua++/tolua++.info
@@ -1,7 +1,7 @@
PRGNAM="tolua++"
VERSION="1.0.93"
HOMEPAGE="https://github.com/LuaDist/toluapp"
-DOWNLOAD="https://github.com/LuaDist/toluapp/archive/1.0.93/tolua++-1.0.93.tar.gz"
+DOWNLOAD="https://github.com/LuaDist/toluapp/archive/1.0.93/toluapp-1.0.93.tar.gz"
MD5SUM="689d952034e55d4333fa240f7516e68a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/tomcat-native/tomcat-native.SlackBuild b/libraries/tomcat-native/tomcat-native.SlackBuild
index 733e5eef66..489e31b610 100644
--- a/libraries/tomcat-native/tomcat-native.SlackBuild
+++ b/libraries/tomcat-native/tomcat-native.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tomcat-native
-# Copyright 2019 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2019-2023 Thibaut Notteboom, Paris, FRANCE
# 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=tomcat-native
-VERSION=${VERSION:-1.2.23}
+VERSION=${VERSION:-1.2.39}
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}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -86,12 +96,11 @@ find -L . \
make install DESTDIR=$PKG
)
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGELOG.txt CMakeLists.txt LICENSE NOTICE README.txt TODO.txt docs/ \
@@ -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/libraries/tomcat-native/tomcat-native.info b/libraries/tomcat-native/tomcat-native.info
index 53b0e64fdf..50f5f7adb1 100644
--- a/libraries/tomcat-native/tomcat-native.info
+++ b/libraries/tomcat-native/tomcat-native.info
@@ -1,10 +1,10 @@
PRGNAM="tomcat-native"
-VERSION="1.2.23"
+VERSION="1.2.39"
HOMEPAGE="https://tomcat.apache.org/native-doc/"
-DOWNLOAD="https://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.23/source/tomcat-native-1.2.23-src.tar.gz"
-MD5SUM="feb49fa49373423afae28c36b62d82df"
+DOWNLOAD="https://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.39/source/tomcat-native-1.2.39-src.tar.gz"
+MD5SUM="267a5f753f31f2150fdc7beecbe9f054"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="adoptopenjdk"
+REQUIRES="zulu-openjdk11"
MAINTAINER="Thibaut Notteboom"
EMAIL="thibaut.notteboom@gmail.com"
diff --git a/libraries/tomlplusplus/README b/libraries/tomlplusplus/README
new file mode 100644
index 0000000000..1d0f753484
--- /dev/null
+++ b/libraries/tomlplusplus/README
@@ -0,0 +1,22 @@
+toml++ is a Header-only TOML config file parser and serializer for
+C++17. TOML aims to be a minimal configuration file format that's easy
+to read due to obvious semantics. TOML is designed to map unambiguously
+to a hash table. TOML should be easy to parse into data structures in a
+wide variety of languages.
+
+Library features
+
+ * Header-only (optional!)
+ * Supports the latest TOML release (v1.0.0), plus optional support for
+ some unreleased TOML features
+ * Passes all tests in the toml-test suite
+ * Supports serializing to JSON and YAML
+ * Proper UTF-8 handling (incl. BOM)
+ * C++17 (plus some C++20 features where available, e.g. experimental
+ support for char8_t strings)
+ * Doesn't require RTTI
+ * Works with or without exceptions
+ * Tested on Clang (6+), GCC (7+) and MSVC (VS2019)
+ * Tested on x64, x86 and ARM
+
+POXY_DOCS=YES option will generate html development documentation
diff --git a/libraries/tomlplusplus/slack-desc b/libraries/tomlplusplus/slack-desc
new file mode 100644
index 0000000000..cf01cbe335
--- /dev/null
+++ b/libraries/tomlplusplus/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------------------------------------------------------|
+tomlplusplus: tomlplusplus (Header-only TOML config file parser and serializer)
+tomlplusplus:
+tomlplusplus: TOML is a file format for configuration files. It is intended to be
+tomlplusplus: easy to read and write due to obvious semantics which aim to be
+tomlplusplus: minimal, and is designed to map unambiguously to a dictionary.
+tomlplusplus:
+tomlplusplus: This is a modern library for C++17 plus with some C++20 features
+tomlplusplus: and supports serializing to JSON and YAM
+tomlplusplus:
+tomlplusplus:
+tomlplusplus:
diff --git a/libraries/tomlplusplus/tomlplusplus.SlackBuild b/libraries/tomlplusplus/tomlplusplus.SlackBuild
new file mode 100644
index 0000000000..572d2af7e0
--- /dev/null
+++ b/libraries/tomlplusplus/tomlplusplus.SlackBuild
@@ -0,0 +1,101 @@
+#!/bin/bash
+
+# Slackware build script for tomlplusplus
+
+# Copyright 2022 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=tomlplusplus
+VERSION=${VERSION:-3.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}
+
+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|meson_version: '>=0.61.0',|meson_version: '>=0.59.4',|" meson.build
+sed -i "s|deprecated: true)|value: true)|g" meson_options.txt
+meson setup \
+ build \
+ --prefix=/usr \
+ --buildtype=plain \
+ --auto-features=enabled \
+ --wrap-mode=nodownload \
+ -Dbuild_tests=true \
+ -Db_lto=false \
+ -Db_pie=true
+
+meson install -C build --destdir $PKG
+build/tests/tomlplusplus_tests || exit $?
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# You can use this to generate docs
+# https://github.com/marzer/poxy
+# it's a local copy of https://marzer.github.io/tomlplusplus/
+#
+if [[ $POXY_DOCS == "YES" ]]; then
+ python3 -m poxy docs/poxy.toml
+ cp -a html $PKG/usr/doc/$PRGNAM-$VERSION
+ find -L html \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+fi
+cp LICENSE README.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
diff --git a/libraries/tomlplusplus/tomlplusplus.info b/libraries/tomlplusplus/tomlplusplus.info
new file mode 100644
index 0000000000..a084807a81
--- /dev/null
+++ b/libraries/tomlplusplus/tomlplusplus.info
@@ -0,0 +1,10 @@
+PRGNAM="tomlplusplus"
+VERSION="3.4.0"
+HOMEPAGE="https://marzer.github.io/tomlplusplus/"
+DOWNLOAD="https://github.com/marzer/tomlplusplus/archive/v3.4.0/tomlplusplus-3.4.0.tar.gz"
+MD5SUM="c1f32ced14311fe949b9ce7cc3f7a867"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/libraries/toro/toro.SlackBuild b/libraries/toro/toro.SlackBuild
index 1bd2cd85ce..3781c93625 100644
--- a/libraries/toro/toro.SlackBuild
+++ b/libraries/toro/toro.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for toro
@@ -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=toro
VERSION=${VERSION:-1.0.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}
@@ -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/libraries/totem-pl-parser/README b/libraries/totem-pl-parser/README
index 23c76bee47..8a20a3ef6c 100644
--- a/libraries/totem-pl-parser/README
+++ b/libraries/totem-pl-parser/README
@@ -1,4 +1,3 @@
-The totem playlist parser is a simple GObject-based library to parse a host
-of playlist formats, as well as save those.
+The totem playlist parser is a simple GObject-based library to parse a
+host of playlist formats, as well as save those.
-quvi is an optional dependency.
diff --git a/libraries/totem-pl-parser/slack-desc b/libraries/totem-pl-parser/slack-desc
index 1e2722c6b6..394b8cd8e9 100644
--- a/libraries/totem-pl-parser/slack-desc
+++ b/libraries/totem-pl-parser/slack-desc
@@ -15,5 +15,5 @@ totem-pl-parser:
totem-pl-parser:
totem-pl-parser:
totem-pl-parser:
-totem-pl-parser:
+totem-pl-parser: https://gitlab.gnome.org/GNOME/totem-pl-parser
totem-pl-parser:
diff --git a/libraries/totem-pl-parser/totem-pl-parser.SlackBuild b/libraries/totem-pl-parser/totem-pl-parser.SlackBuild
index a65d1f9a4d..19091c2ad9 100644
--- a/libraries/totem-pl-parser/totem-pl-parser.SlackBuild
+++ b/libraries/totem-pl-parser/totem-pl-parser.SlackBuild
@@ -1,29 +1,42 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for totem-pl-parser
# Written by crocket (crockabiscuit@gmail.com)
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binaries/libraries.
+
+# 20230408, Modified by Bob Funk: - Updated version to 3.26.6
+# - Reset BUILD=1
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=totem-pl-parser
-VERSION=${VERSION:-3.4.5}
+VERSION=${VERSION:-3.26.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 [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,30 +59,28 @@ 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 \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-static \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make V=1
-make install-strip DESTDIR=$PKG
+ --libexecdir=/usr/lib$LIBDIRSUFFIX \
+ --buildtype=release \
+ -Denable-gtk-doc=true \
+ -Dstrip=true \
+ ..
+"${NINJA:=ninja}"
+$NINJA
+DESTDIR="$PKG" $NINJA install
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README \
+ AUTHORS COPYING.LIB MAINTAINERS NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cd $PKG/usr/doc/$PRGNAM-$VERSION
ln -sf ../../share/gtk-doc/html/$PRGNAM html
@@ -80,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/totem-pl-parser/totem-pl-parser.info b/libraries/totem-pl-parser/totem-pl-parser.info
index 021acd7ecc..30abd09b85 100644
--- a/libraries/totem-pl-parser/totem-pl-parser.info
+++ b/libraries/totem-pl-parser/totem-pl-parser.info
@@ -1,10 +1,10 @@
PRGNAM="totem-pl-parser"
-VERSION="3.4.5"
-HOMEPAGE="ftp://ftp.gnome.org/pub/gnome/sources/totem-pl-parser"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/totem-pl-parser/3.4/totem-pl-parser-3.4.5.tar.xz"
-MD5SUM="c675bb7e0195397d3870fd3c9690b220"
+VERSION="3.26.6"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/totem-pl-parser"
+DOWNLOAD="https://download.gnome.org/sources/totem-pl-parser/3.26/totem-pl-parser-3.26.6.tar.xz"
+MD5SUM="69dc2cf0e61e6df71ed45156b24b14da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="byteframe"
-EMAIL="byteframe@gmail.com"
+REQUIRES="libuchardet"
+MAINTAINER="Bob Funk"
+EMAIL="bobfunk11@gmail.com"
diff --git a/libraries/tox-extension-messages/README b/libraries/tox-extension-messages/README
new file mode 100644
index 0000000000..d9b34a94c5
--- /dev/null
+++ b/libraries/tox-extension-messages/README
@@ -0,0 +1,3 @@
+Tox Extension Messages
+
+This is part of ToxExt, an extension library for tox.
diff --git a/libraries/tox-extension-messages/slack-desc b/libraries/tox-extension-messages/slack-desc
new file mode 100644
index 0000000000..4d92b32a1f
--- /dev/null
+++ b/libraries/tox-extension-messages/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------------------------------------------------------|
+tox-extension-messages: tox-extension-messages (extension library for tox)
+tox-extension-messages:
+tox-extension-messages: This is part of ToxExt, an extension library for tox.
+tox-extension-messages:
+tox-extension-messages: Homepage: https://github.com/toxext/tox_extension_messages
+tox-extension-messages:
+tox-extension-messages:
+tox-extension-messages:
+tox-extension-messages:
+tox-extension-messages:
+tox-extension-messages:
diff --git a/libraries/tox-extension-messages/tox-extension-messages.SlackBuild b/libraries/tox-extension-messages/tox-extension-messages.SlackBuild
new file mode 100644
index 0000000000..d1303fb4e2
--- /dev/null
+++ b/libraries/tox-extension-messages/tox-extension-messages.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for tox-extension-messages
+
+# Copyright 2021 Dr. Martin Rogge
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=tox-extension-messages
+SRCNAM=$(echo $PRGNAM | tr - _ )
+VERSION=${VERSION:-0.0.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 $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 {} \;
+
+sed -i "s|DESTINATION\ lib|DESTINATION lib$LIBDIRSUFFIX|" CMakeLists.txt
+
+cmake . \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error" \
+ -DCMAKE_INSTALL_PREFIX=/usr
+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 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/libraries/tox-extension-messages/tox-extension-messages.info b/libraries/tox-extension-messages/tox-extension-messages.info
new file mode 100644
index 0000000000..012ce602ff
--- /dev/null
+++ b/libraries/tox-extension-messages/tox-extension-messages.info
@@ -0,0 +1,10 @@
+PRGNAM="tox-extension-messages"
+VERSION="0.0.3"
+HOMEPAGE="https://github.com/toxext/tox_extension_messages"
+DOWNLOAD="https://github.com/toxext/tox_extension_messages/archive/v0.0.3/tox_extension_messages-0.0.3.tar.gz"
+MD5SUM="852efcaaefcaf981e7b2a6786876c64a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="toxext"
+MAINTAINER="Martin Rogge"
+EMAIL="martin_rogge@users.sourceforge.net"
diff --git a/libraries/toxext/README b/libraries/toxext/README
new file mode 100644
index 0000000000..ef5e569d51
--- /dev/null
+++ b/libraries/toxext/README
@@ -0,0 +1 @@
+ToxExt, an extension library for tox.
diff --git a/libraries/toxext/slack-desc b/libraries/toxext/slack-desc
new file mode 100644
index 0000000000..ec2d4597f1
--- /dev/null
+++ b/libraries/toxext/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------------------------------------------------------|
+toxext: toxext (extension library for tox)
+toxext:
+toxext: This is an extension library for tox.
+toxext:
+toxext: Homepage: https://github.com/toxext/toxext
+toxext:
+toxext:
+toxext:
+toxext:
+toxext:
+toxext:
diff --git a/libraries/toxext/toxext.SlackBuild b/libraries/toxext/toxext.SlackBuild
new file mode 100644
index 0000000000..7ea590deb6
--- /dev/null
+++ b/libraries/toxext/toxext.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for toxext
+
+# Copyright 2021 Dr. Martin Rogge
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=toxext
+VERSION=${VERSION:-0.0.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 {} \;
+
+sed -i "s|DESTINATION\ lib|DESTINATION lib$LIBDIRSUFFIX|" CMakeLists.txt
+
+cmake . \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error" \
+ -DCMAKE_INSTALL_PREFIX=/usr
+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 README.md DESIGN.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/libraries/toxext/toxext.info b/libraries/toxext/toxext.info
new file mode 100644
index 0000000000..4d4149f97a
--- /dev/null
+++ b/libraries/toxext/toxext.info
@@ -0,0 +1,10 @@
+PRGNAM="toxext"
+VERSION="0.0.3"
+HOMEPAGE="https://github.com/toxext/toxext"
+DOWNLOAD="https://github.com/toxext/toxext/archive/v0.0.3/toxext-0.0.3.tar.gz"
+MD5SUM="f384e7bcbef5f92418dc8ce1d5dddee8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="c-toxcore"
+MAINTAINER="Martin Rogge"
+EMAIL="martin_rogge@users.sourceforge.net"
diff --git a/libraries/trader/trader.SlackBuild b/libraries/trader/trader.SlackBuild
index c99a2e7ff3..21e8cfb39f 100644
--- a/libraries/trader/trader.SlackBuild
+++ b/libraries/trader/trader.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "trader".
@@ -25,27 +25,37 @@
# (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=trader
SRCNAM=trader
VERSION=${VERSION:-0.4.0}
-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"
@@ -95,8 +105,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CREDITS LICENSE $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/libraries/tre/README b/libraries/tre/README
index a7a6703f08..7c5da1f7de 100644
--- a/libraries/tre/README
+++ b/libraries/tre/README
@@ -1,3 +1,8 @@
-TRE is a lightweight, robust, and efficient POSIX compliant regexp
+tre (regular expression matching library)
+
+TRE is a lightweight, robust, and efficient POSIX compliant regex
matching library with some exciting features such as approximate
(fuzzy) matching.
+
+This includes the tre C library, python3 library, and the command-line
+tool "agrep".
diff --git a/libraries/tre/slack-desc b/libraries/tre/slack-desc
index 3b27be9006..66dbfba071 100644
--- a/libraries/tre/slack-desc
+++ b/libraries/tre/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-tre: tre (Regexp Matching Library)
+tre: tre (regular expression matching library)
tre:
-tre: TRE is a lightweight, robust, and efficient POSIX compliant regexp
+tre: TRE is a lightweight, robust, and efficient POSIX compliant regex
tre: matching library with some exciting features such as approximate
tre: (fuzzy) matching.
tre:
-tre: Homepage: https://laurikari.net/tre/
-tre:
+tre: This includes the tre C library, python3 library, and the command-line
+tre: tool "agrep".
tre:
tre:
tre:
diff --git a/libraries/tre/tre.SlackBuild b/libraries/tre/tre.SlackBuild
index 54560e0c0c..d026a687fb 100644
--- a/libraries/tre/tre.SlackBuild
+++ b/libraries/tre/tre.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for TRE
-# Copyright 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com>
+# Copyright 2008 Frank Caraballo <email removed>
+# Maintained 2013-2021 by Benjamin Trigona-Harany <email removed>
+# Maintained 2021- by B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +24,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20211018 bkw: v0.8.0, BUILD=3
+# - take over maintenance.
+# - strip python shared lib.
+# - move HTML docs to docdir html/, plus include the CSS.
+# - get rid of useless INSTALL from docdor.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tre
VERSION=${VERSION:-0.8.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -63,11 +78,8 @@ 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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,33 +92,27 @@ CFLAGS="$SLKCFLAGS" \
make install-strip DESTDIR=$PKG
-cp -r python python3
cd python
+ # Python 3 support from https://github.com/ahomansikka/tre/commit/d6a0220
+ patch -p0 < $CWD/python3.patch
CFLAGS="-I$PKG/usr/include" \
LDFLAGS="-L$PKG/usr/lib$LIBDIRSUFFIX" \
- python setup.py install --root=$PKG
+ python3 setup.py install --root=$PKG
+ strip $PKG/usr/lib*/python*/site-packages/*.so
cd -
-if $(python3 -c 'import sys' 2>/dev/null); then
- cd python3
- # Python 3 support from https://github.com/ahomansikka/tre/commit/d6a0220
- patch -p0 < $CWD/python3.patch
- CFLAGS="-I$PKG/usr/include" \
- LDFLAGS="-L$PKG/usr/lib$LIBDIRSUFFIX" \
- python3 setup.py install --root=$PKG
- cd -
-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
+gzip -9 $PKG/usr/man/man?/*.*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog INSTALL LICENSE NEWS README THANKS TODO doc/*.html \
- $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
+cp -a AUTHORS ChangeLog LICENSE NEWS README THANKS TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a doc/*.{html,css} $PKG/usr/doc/$PRGNAM-$VERSION/html
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/libraries/tre/tre.info b/libraries/tre/tre.info
index 7fc9f23251..96ddb86747 100644
--- a/libraries/tre/tre.info
+++ b/libraries/tre/tre.info
@@ -6,5 +6,5 @@ MD5SUM="b4d3232593dadf6746f4727bdda20b41"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/tree-sitter/README b/libraries/tree-sitter/README
new file mode 100644
index 0000000000..55e7321e7f
--- /dev/null
+++ b/libraries/tree-sitter/README
@@ -0,0 +1,4 @@
+Tree-sitter is a parser generator tool and an incremental
+parsing library. It can build a concrete syntax tree for a
+source file and efficiently update the syntax tree as the
+source file is edited.
diff --git a/libraries/tree-sitter/slack-desc b/libraries/tree-sitter/slack-desc
new file mode 100644
index 0000000000..a9210f6f2f
--- /dev/null
+++ b/libraries/tree-sitter/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------------------------------------------------------|
+tree-sitter: tree-sitter (parser generator)
+tree-sitter:
+tree-sitter: Tree-sitter is a parser generator tool and an incremental parsing
+tree-sitter: library. It can build a concrete syntax tree for a source file and
+tree-sitter: efficiently update the syntax tree as the source file is edited.
+tree-sitter:
+tree-sitter:
+tree-sitter:
+tree-sitter:
+tree-sitter:
+tree-sitter: https://github.com/tree-sitter/tree-sitter
diff --git a/libraries/tree-sitter/tree-sitter.SlackBuild b/libraries/tree-sitter/tree-sitter.SlackBuild
new file mode 100644
index 0000000000..6d85abd7cc
--- /dev/null
+++ b/libraries/tree-sitter/tree-sitter.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for tree-sitter
+
+# Copyright 2020 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=tree-sitter
+VERSION=${VERSION:-0.22.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.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 {} \;
+
+export CFLAGS+="$SLKCFLAGS"
+make
+make install DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
+
+find $PKG -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 static library
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/libtree-sitter.a
+
+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/libraries/tree-sitter/tree-sitter.info b/libraries/tree-sitter/tree-sitter.info
new file mode 100644
index 0000000000..dd061a9cce
--- /dev/null
+++ b/libraries/tree-sitter/tree-sitter.info
@@ -0,0 +1,10 @@
+PRGNAM="tree-sitter"
+VERSION="0.22.5"
+HOMEPAGE="https://github.com/tree-sitter/tree-sitter"
+DOWNLOAD="https://github.com/tree-sitter/tree-sitter/archive/v0.22.5/tree-sitter-0.22.5.tar.gz"
+MD5SUM="0dd82a02eb9fd99d0374fc95e4ca493d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Julian Grinblat"
+EMAIL="julian@dotcore.co.il"
diff --git a/libraries/trilinos/README b/libraries/trilinos/README
index 98891cb2d2..7fdd4b8262 100644
--- a/libraries/trilinos/README
+++ b/libraries/trilinos/README
@@ -11,8 +11,20 @@ system (without parallelism).
(i.e. amd, umfpack and metis) outside of suitesparse.SlackBuild.
** The suitesparse.SlackBuild, doesn't build metis by default.
For that you can use the parMETIS.SlackBuild.
-For more details about dependeces the Xyce webpage.
-have a list of required depences.
+For more details about dependeces the Xyce webpage have a
+list of required depences.
+
+This package is mantained for building Xyce at 32 and 64 bit
+architectures with serial and parallel mode. Nonetheless, some
+required packages for building Xyce are not compiling at 32-bit
+architectures, this is Kokkos. This SlackBuild includes a workaround
+for compiling Trilinos at 32-bit architectures, disabling some packages
+that depends on Kokkos, i.e. Amesos2 and Stokhos. These packages
+enable optional features in Xyce. However, according to the Xyce
+building instructions the ShyLU package is a requirement for
+Parallel Xyce but also depends on Kokkos.
+* The workaround solution may not allow total funtionality of
+Serial and Parallel Xyce on 32-bit architecture.
Optional dependences:
For enable parallelism set PARALLEL=yes. This requires the
diff --git a/libraries/trilinos/trilinos-12.4.2_lapack-3.6.0.patch b/libraries/trilinos/trilinos-12.4.2_lapack-3.6.0.patch
deleted file mode 100644
index b91b43c436..0000000000
--- a/libraries/trilinos/trilinos-12.4.2_lapack-3.6.0.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff -u -r trilinos-12.4.2-Source-orig/packages/epetra/src/Epetra_LAPACK.cpp trilinos-12.4.2-Source/packages/epetra/src/Epetra_LAPACK.cpp
---- trilinos-12.4.2-Source-orig/packages/epetra/src/Epetra_LAPACK.cpp 2015-10-06 15:43:00.000000000 +0100
-+++ trilinos-12.4.2-Source/packages/epetra/src/Epetra_LAPACK.cpp 2016-06-05 18:03:12.619388060 +0100
-@@ -365,8 +365,11 @@
- double* A, const int LDA, double* B, const int LDB,
- double* ALPHA, double* BETA, double* U, const int LDU, double* V, const int LDV, double* Q, const int LDQ, double* WORK, int* IWORK,
- int* INFO) const {
-- DGGSVD_F77(CHAR_MACRO(JOBU), CHAR_MACRO(JOBV), CHAR_MACRO(JOBQ), &M, &N, &P, K, L, A, &LDA, B, &LDB,
-- ALPHA, BETA, U, &LDU, V, &LDV, Q, &LDQ, WORK, IWORK, INFO);
-+ int LWORK;
-+ LWORK = (3*N) > M ? 3*N : M;
-+ LWORK = (LWORK > P ? LWORK : P) + N;
-+ DGGSVD3_F77(CHAR_MACRO(JOBU), CHAR_MACRO(JOBV), CHAR_MACRO(JOBQ), &M, &N, &P, K, L, A, &LDA, B, &LDB,
-+ ALPHA, BETA, U, &LDU, V, &LDV, Q, &LDQ, WORK, &LWORK, IWORK, INFO);
- }
-
- //=============================================================================
-@@ -374,8 +377,11 @@
- float* A, const int LDA, float* B, const int LDB,
- float* ALPHA, float* BETA, float* U, const int LDU, float* V, const int LDV, float* Q, const int LDQ, float* WORK, int* IWORK,
- int* INFO) const {
-- SGGSVD_F77(CHAR_MACRO(JOBU), CHAR_MACRO(JOBV), CHAR_MACRO(JOBQ), &M, &N, &P, K, L, A, &LDA, B, &LDB,
-- ALPHA, BETA, U, &LDU, V, &LDV, Q, &LDQ, WORK, IWORK, INFO);
-+ int LWORK;
-+ LWORK = (3*N) > M ? 3*N : M;
-+ LWORK = (LWORK > P ? LWORK : P) + N;
-+ SGGSVD3_F77(CHAR_MACRO(JOBU), CHAR_MACRO(JOBV), CHAR_MACRO(JOBQ), &M, &N, &P, K, L, A, &LDA, B, &LDB,
-+ ALPHA, BETA, U, &LDU, V, &LDV, Q, &LDQ, WORK, &LWORK, IWORK, INFO);
- }
-
- //=============================================================================
-diff -u -r trilinos-12.4.2-Source-orig/packages/epetra/src/Epetra_LAPACK_wrappers.h trilinos-12.4.2-Source/packages/epetra/src/Epetra_LAPACK_wrappers.h
---- trilinos-12.4.2-Source-orig/packages/epetra/src/Epetra_LAPACK_wrappers.h 2015-10-06 15:43:00.000000000 +0100
-+++ trilinos-12.4.2-Source/packages/epetra/src/Epetra_LAPACK_wrappers.h 2016-06-05 17:34:26.411666128 +0100
-@@ -73,7 +73,7 @@
- #define DGETRS_F77 SGETRS
- #define DGGEV_F77 SGGEV
- #define DGGLSE_F77 SGGLSE
--#define DGGSVD_F77 SGGSVD
-+#define DGGSVD3_F77 SGGSVD3
- #define DHSEQR_F77 SHSEQR
- #define DLAIC1_F77 SLAIC1
- #define DLAMCH_F77 SLAMCH
-@@ -172,7 +172,7 @@
- #define DGETRS_F77 F77_BLAS_MANGLE(dgetrs,DGETRS)
- #define DGGEV_F77 F77_BLAS_MANGLE(dggev,DGGEV)
- #define DGGLSE_F77 F77_BLAS_MANGLE(dgglse,DGGLSE)
--#define DGGSVD_F77 F77_BLAS_MANGLE(dggsvd,DGGSVD)
-+#define DGGSVD3_F77 F77_BLAS_MANGLE(dggsvd3,DGGSVD3)
- #define DHSEQR_F77 F77_BLAS_MANGLE(dhseqr,DHSEQR)
- #define DLAIC1_F77 F77_BLAS_MANGLE(dlaic1,DLAIC1)
- #define DLAMCH_F77 F77_BLAS_MANGLE(dlamch,DLAMCH)
-@@ -227,7 +227,7 @@
- #define SGETRS_F77 F77_BLAS_MANGLE(sgetrs,SGETRS)
- #define SGGEV_F77 F77_BLAS_MANGLE(sggev,SGGEV)
- #define SGGLSE_F77 F77_BLAS_MANGLE(sgglse,SGGLSE)
--#define SGGSVD_F77 F77_BLAS_MANGLE(sggsvd,SGGSVD)
-+#define SGGSVD3_F77 F77_BLAS_MANGLE(sggsvd3,SGGSVD3)
- #define SHSEQR_F77 F77_BLAS_MANGLE(shseqr,SHSEQR)
- #define SLAMCH_F77 F77_BLAS_MANGLE(slamch,SLAMCH)
- #define SLARFT_F77 F77_BLAS_MANGLE(slarft,SLARFT)
-@@ -302,10 +302,10 @@
- double * vr, const int * ldvr, double * work, const int * lwork, int * info);
- void PREFIX DGGLSE_F77(const int * m, const int * n, const int * p, double * a, const int * lda, double * b, const int * ldb,
- double * c, double * d, double * x, double * work, const int * lwork, int * info);
-- void PREFIX DGGSVD_F77(Epetra_fcd, Epetra_fcd, Epetra_fcd, const int * m, const int * n, const int * p, int * k, int * l,
-+ void PREFIX DGGSVD3_F77(Epetra_fcd, Epetra_fcd, Epetra_fcd, const int * m, const int * n, const int * p, int * k, int * l,
- double * a, const int * lda, double * b, const int * ldb, double * alpha, double * beta,
- double * u, const int * ldu, double * v, const int * ldv, double * q, const int * ldq, double * work,
-- int * iwork, int * info);
-+ int * lwork, int * iwork, int * info);
- void PREFIX DHSEQR_F77(Epetra_fcd job, Epetra_fcd, const int * n, const int * ilo, const int * ihi, double * h, const int * ldh,
- double * wr, double * wi, double * z, const int * ldz, double * work, const int * lwork, int * info);
- double PREFIX DLAMCH_F77(Epetra_fcd);
-@@ -407,10 +407,10 @@
- float * vr, const int * ldvr, float * work, const int * lwork, int * info);
- void PREFIX SGGLSE_F77(const int * m, const int * n, const int * p, float * a, const int * lda, float * b, const int * ldb,
- float * c, float * d, float * x, float * work, const int * lwork, int * info);
-- void PREFIX SGGSVD_F77(Epetra_fcd, Epetra_fcd, Epetra_fcd, const int * m, const int * n, const int * p, int * k, int * l,
-+ void PREFIX SGGSVD3_F77(Epetra_fcd, Epetra_fcd, Epetra_fcd, const int * m, const int * n, const int * p, int * k, int * l,
- float * a, const int * lda, float * b, const int * ldb, float * alpha, float * beta,
- float * u, const int * ldu, float * v, const int * ldv, float * q, const int * ldq, float * work,
-- int * iwork, int * info);
-+ int * lwork, int * iwork, int * info);
- void PREFIX SHSEQR_F77(Epetra_fcd job, Epetra_fcd, const int * n, const int * ilo, const int * ihi, float * h, const int * ldh,
- float * wr, float * wi, float * z, const int * ldz, float * work, const int * lwork, int * info);
- float PREFIX SLAMCH_F77(Epetra_fcd);
diff --git a/libraries/trilinos/trilinos.SlackBuild b/libraries/trilinos/trilinos.SlackBuild
index 6a61628580..66e36ef07c 100644
--- a/libraries/trilinos/trilinos.SlackBuild
+++ b/libraries/trilinos/trilinos.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for trilinos
-# Copyright 2015 Guilherme Calandrini - Madrid (Spain)
+# Copyright 2015-2022 William PC - Seattle (USA)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +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=trilinos
-VERSION=${VERSION:-12.6.3}
+VERSION=${VERSION:-13.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"
@@ -59,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-Source
-tar jxvf $CWD/$PRGNAM-$VERSION-Source.tar.bz2
-cd $PRGNAM-$VERSION-Source
+rm -rf Trilinos-$PRGNAM-release-13-2-0
+tar xvf $CWD/Trilinos-$PRGNAM-release-13-2-0.tar.gz
+cd Trilinos-$PRGNAM-release-13-2-0
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,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 {} \;
-patch -p1 < $CWD/trilinos-12.4.2_lapack-3.6.0.patch
-
# Use CUDA SDK and CUSPARSE.
if [ "${CUDA:-no}" == "yes" ]; then
OPT_DEPS="$OPT_DEPS -DTPL_ENABLE_CUDA -DTPL_ENABLE_CUSPARSE"
@@ -80,62 +90,27 @@ if [ "${EXAMPLES:-yes}" == "no" ]; then
OPT_DEPS="$OPT_DEPS -DTrilinos_ENABLE_EXAMPLES=OFF"
fi
- CFGSERIAL="-DCMAKE_C_COMPILER=/usr/bin/gcc \
- -DCMAKE_CXX_COMPILER=/usr/bin/g++ \
- -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran \
+ CFGCOMMON="
-DCMAKE_MAKE_PROGRAM=make \
+ -DTPL_ENABLE_BLAS=ON \
+ -DTPL_ENABLE_LAPACK=ON \
-DTrilinos_ENABLE_NOX=ON \
- -DNOX_ENABLE_LOCA=ON \
+ -DNOX_ENABLE_LOCA=ON \
-DTrilinos_ENABLE_EpetraExt=ON \
- -DEpetraExt_BUILD_BTF=ON \
- -DEpetraExt_BUILD_EXPERIMENTAL=ON \
- -DEpetraExt_BUILD_GRAPH_REORDERINGS=ON \
- -DTrilinos_ENABLE_TrilinosCouplings=ON \
- -DTrilinos_ENABLE_Ifpack=ON \
- -DTrilinos_ENABLE_Isorropia=ON \
+ -DEpetraExt_BUILD_BTF=ON \
+ -DEpetraExt_BUILD_EXPERIMENTAL=ON \
+ -DEpetraExt_BUILD_GRAPH_REORDERINGS=ON \
-DTrilinos_ENABLE_AztecOO=ON \
-DTrilinos_ENABLE_Belos=ON \
- -DTrilinos_ENABLE_Teuchos=ON \
- -DTeuchos_ENABLE_COMPLEX=ON \
- -DTrilinos_ENABLE_Amesos=ON \
- -DAmesos_ENABLE_KLU=ON \
- -DAmesos_ENABLE_UMFPACK=ON \
- -DTrilinos_ENABLE_Sacado=ON \
- -DTrilinos_ENABLE_Kokkos=OFF \
- -DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF \
- -DTPL_ENABLE_AMD=ON \
- -DAMD_LIBRARY_DIRS=/usr/lib${LIBDIRSUFFIX} \
- -DTPL_AMD_INCLUDE_DIRS=/usr/include/suitesparce \
- -DTPL_ENABLE_UMFPACK=ON \
- -DUMFPACK_LIBRARY_DIRS=/usr/lib${LIBDIRSUFFIX} \
- -DTPL_UMFPACK_INCLUDE_DIRS=/usr/include/suitesparse \
- -DTPL_ENABLE_BLAS=ON \
- -DTPL_ENABLE_LAPACK=ON "
-
- CFGPARALLEL="-DCMAKE_C_COMPILER=/usr/bin/mpicc \
- -DCMAKE_CXX_COMPILER=/usr/bin/mpic++ \
- -DCMAKE_Fortran_COMPILER=/usr/bin/mpif77 \
- -DCMAKE_MAKE_PROGRAM=make \
- -DTrilinos_ENABLE_NOX=ON \
- -DNOX_ENABLE_LOCA=ON \
- -DTrilinos_ENABLE_EpetraExt=ON \
- -DEpetraExt_BUILD_BTF=ON \
- -DEpetraExt_BUILD_EXPERIMENTAL=ON \
- -DEpetraExt_BUILD_GRAPH_REORDERINGS=ON \
-DTrilinos_ENABLE_TrilinosCouplings=ON \
-DTrilinos_ENABLE_Ifpack=ON \
- -DTrilinos_ENABLE_ShyLU=ON \
-DTrilinos_ENABLE_Isorropia=ON \
- -DTrilinos_ENABLE_AztecOO=ON \
- -DTrilinos_ENABLE_Belos=ON \
-DTrilinos_ENABLE_Teuchos=ON \
-DTeuchos_ENABLE_COMPLEX=ON \
-DTrilinos_ENABLE_Amesos=ON \
- -DAmesos_ENABLE_KLU=ON \
- -DAmesos_ENABLE_UMFPACK=ON \
+ -DAmesos_ENABLE_KLU=ON \
+ -DAmesos_ENABLE_UMFPACK=ON \
-DTrilinos_ENABLE_Sacado=ON \
- -DTrilinos_ENABLE_Kokkos=OFF \
- -DTrilinos_ENABLE_Zoltan=ON \
-DTrilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF \
-DTPL_ENABLE_AMD=ON \
-DAMD_LIBRARY_DIRS=/usr/lib${LIBDIRSUFFIX} \
@@ -143,12 +118,47 @@ fi
-DTPL_ENABLE_UMFPACK=ON \
-DUMFPACK_LIBRARY_DIRS=/usr/lib${LIBDIRSUFFIX} \
-DTPL_UMFPACK_INCLUDE_DIRS=/usr/include/suitesparse \
- -DTPL_ENABLE_BLAS=ON \
- -DTPL_ENABLE_LAPACK=ON \
+ "
+
+ ## Workaround Kokkos error in 32-bit
+ # these packages gives optional features to Xyce
+ if [ "$ARCH" = "x86_64" ]; then
+ CFGCOMMON="$CFGCOMMON \
+ -DTrilinos_ENABLE_Amesos2=ON \
+ -DAmesos2_ENABLE_KLU2=ON \
+ -DAmesos2_ENABLE_Basker=ON \
+ -DTrilinos_ENABLE_Stokhos=ON \
+ -DTrilinos_ENABLE_Kokkos=ON"
+ else
+ CFGCOMMON="$CFGCOMMON \
+ -DTrilinos_ENABLE_Kokkos=OFF"
+ fi
+
+ CFGSERIAL="$CFGCOMMON
+ -DCMAKE_C_COMPILER=/usr/bin/gcc \
+ -DCMAKE_CXX_COMPILER=/usr/bin/g++ \
+ -DCMAKE_Fortran_COMPILER=/usr/bin/gfortran"
+
+ CFGPARALLEL="$CFGCOMMON
+ -DCMAKE_C_COMPILER=/usr/bin/mpicc \
+ -DCMAKE_CXX_COMPILER=/usr/bin/mpic++ \
+ -DCMAKE_Fortran_COMPILER=/usr/bin/mpif77 \
-DTPL_ENABLE_ParMETIS=ON \
-DParMETIS_LIBRARY_DIRS=/usr/lib${LIBDIRSUFFIX} \
-DTPL_ParMETIS_INCLUDE_DIRS=/usr/include/parmetis \
- -DTPL_ENABLE_MPI=ON "
+ -DTPL_ENABLE_MPI=ON \
+ -DTrilinos_ENABLE_Zoltan=ON"
+
+ # ShyLU is required for use in Parallel Xyce
+ # however it depends on kokkos that doesn't compile
+ # on 32-bit. Yeah, another workaround.
+ if [ "$ARCH" = "x86_64" ]; then
+ CFGPARALLEL="$CFGPARALLEL \
+ -DTrilinos_ENABLE_ShyLU=ON"
+ else
+ CFGPARALLEL="$CFGPARALLEL \
+ -DTrilinos_ENABLE_ShyLU=OFF"
+ fi
CFGTRILINOS=$CFGSERIAL
BUILDDIR=build-serial
@@ -156,9 +166,10 @@ fi
if [ "${PARALLEL:-no}" == "yes" ]; then
CFGTRILINOS=$CFGPARALLEL
BUILDDIR=build-parallel
- SLKCFLAGS="CC=mpicc CXX=mpic++ F77=mpif77 $SLKCFLAGS"
+ #SLKCFLAGS="CC=mpicc CXX=mpic++ F77=mpif77 $SLKCFLAGS"
fi
+ rm -fr $BUILDDIR
mkdir -p $BUILDDIR
cd $BUILDDIR
@@ -174,6 +185,7 @@ fi
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=RELEASE ..
+ # check if this still necessary
for f in $(grep -r -l /usr//usr/lib .); do
sed -i -e 's:/usr//usr/lib:/usr/lib:g' $f
done
@@ -189,11 +201,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a {Copyright.txt,LICENSE,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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/trilinos/trilinos.info b/libraries/trilinos/trilinos.info
index cd2241c099..61d3f5b9b9 100644
--- a/libraries/trilinos/trilinos.info
+++ b/libraries/trilinos/trilinos.info
@@ -1,10 +1,10 @@
PRGNAM="trilinos"
-VERSION="12.6.3"
+VERSION="13.2.0"
HOMEPAGE="https://github.com/trilinos/Trilinos"
-DOWNLOAD="https://trilinos.org/oldsite/download/files/trilinos-12.6.3-Source.tar.bz2"
-MD5SUM="d94e31193559b334fd41d05eb22f9285"
+DOWNLOAD="https://github.com/trilinos/Trilinos/archive/trilinos-release-13-2-0/Trilinos-trilinos-release-13-2-0.tar.gz"
+MD5SUM="099680cd3660dba5ec447ddc50a8406c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lapack blas suitesparse"
-MAINTAINER="Guilherme Calandrini"
-EMAIL="g_calandrini[at]hotmail[dot]es"
+REQUIRES="suitesparse"
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/tslib/README b/libraries/tslib/README
new file mode 100644
index 0000000000..237c40a1bc
--- /dev/null
+++ b/libraries/tslib/README
@@ -0,0 +1,4 @@
+C library for filtering touchscreen events
+
+tslib consists of the library libts and tools that help you calibrate
+and use it in your environment.
diff --git a/libraries/tslib/slack-desc b/libraries/tslib/slack-desc
new file mode 100644
index 0000000000..fd2af0e57c
--- /dev/null
+++ b/libraries/tslib/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------------------------------------------------------|
+tslib: tslib (C library for filtering touchscreen events)
+tslib:
+tslib: tslib consists of the library libts and tools that help you
+tslib: calibrate and use it in your environment.
+tslib:
+tslib: https://github.com/libts/tslib
+tslib:
+tslib:
+tslib:
+tslib:
+tslib:
diff --git a/libraries/tslib/tslib.SlackBuild b/libraries/tslib/tslib.SlackBuild
new file mode 100644
index 0000000000..aee498bfc5
--- /dev/null
+++ b/libraries/tslib/tslib.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for <tslib>
+
+# Copyright 2023 Petar Petrov, slackalaxy@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=tslib
+VERSION=${VERSION:-1.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.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install 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/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 ChangeLog COPYING NEWS README README.md 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
diff --git a/libraries/tslib/tslib.info b/libraries/tslib/tslib.info
new file mode 100644
index 0000000000..5bb25d2079
--- /dev/null
+++ b/libraries/tslib/tslib.info
@@ -0,0 +1,10 @@
+PRGNAM="tslib"
+VERSION="1.22"
+HOMEPAGE="https://github.com/libts/tslib/"
+DOWNLOAD="https://github.com/libts/tslib/releases/download/1.22/tslib-1.22.tar.gz"
+MD5SUM="015a55444711e70dd293ba085c634f45"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/libraries/tsocks/README b/libraries/tsocks/README
index 1f61ecd8ba..66685de189 100644
--- a/libraries/tsocks/README
+++ b/libraries/tsocks/README
@@ -1,4 +1,5 @@
-tsocks' role is to allow these non SOCKS aware applications (e.g telnet, ssh,
-ftp etc) to use SOCKS without any modification. It does this by intercepting
-the calls that applications make to establish network connections and
-negotating them through a SOCKS server as necessary.
+tsocks' role is to allow these non SOCKS aware applications (e.g
+telnet, ssh, ftp etc) to use SOCKS without any modification. It does
+this by intercepting the calls that applications make to establish
+network connections and negotating them through a SOCKS server as
+necessary.
diff --git a/libraries/tsocks/tsocks.SlackBuild b/libraries/tsocks/tsocks.SlackBuild
index 0626efc3d6..1c0d9102d4 100644
--- a/libraries/tsocks/tsocks.SlackBuild
+++ b/libraries/tsocks/tsocks.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tsocks.
#
@@ -22,29 +22,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tsocks
VERSION=${VERSION:-1.8beta5}
SRCVERSION=${SRCVERSION:-1.8}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 ChangeLog FAQ tsocks.conf.simple.example tsocks.conf.complex.example"
-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,8 +111,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/libraries/ucl/ucl.SlackBuild b/libraries/ucl/ucl.SlackBuild
index d7cf336816..f1be3ca87e 100644
--- a/libraries/ucl/ucl.SlackBuild
+++ b/libraries/ucl/ucl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ucl
@@ -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=ucl
VERSION=${VERSION:-1.03}
-BUILD=${BUILD:-1}
+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}
@@ -71,6 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+CPPFLAGS="-std=c90" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -95,8 +106,10 @@ cp -a AUTHORS COPYING 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/libraries/ucommon/ucommon.SlackBuild b/libraries/ucommon/ucommon.SlackBuild
index c37d6cd1bf..e7afa78398 100644
--- a/libraries/ucommon/ucommon.SlackBuild
+++ b/libraries/ucommon/ucommon.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ucommon
# Was written by Euan Thoms <euan at potensol dot com>
@@ -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=ucommon
-VERSION=${VERSION:-6.1.10}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-7.0.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"
@@ -74,7 +84,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -99,8 +109,10 @@ cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+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/libraries/ucommon/ucommon.info b/libraries/ucommon/ucommon.info
index b90320835d..b31fa21fa4 100644
--- a/libraries/ucommon/ucommon.info
+++ b/libraries/ucommon/ucommon.info
@@ -1,8 +1,8 @@
PRGNAM="ucommon"
-VERSION="6.1.10"
+VERSION="7.0.0"
HOMEPAGE="http://www.gnu.org/software/commoncpp/"
-DOWNLOAD="http://ftp.gnu.org/gnu/commoncpp/ucommon-6.1.10.tar.gz"
-MD5SUM="a0908c7a1abad82ce9556bb59f77bedb"
+DOWNLOAD="http://ftp.gnu.org/gnu/commoncpp/ucommon-7.0.0.tar.gz"
+MD5SUM="90468af8f6692f0b6576189927414a39"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/udunits/udunits.SlackBuild b/libraries/udunits/udunits.SlackBuild
index a534a84e5f..40af8e42cf 100644
--- a/libraries/udunits/udunits.SlackBuild
+++ b/libraries/udunits/udunits.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for: udunits
# Copyright (c) 2018 Ekin Akoglu <ekinakoglu@gmail.com>
@@ -21,10 +21,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - fix broken symlink in doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=udunits
-VERSION=${VERSION:-2.2.26}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.2.28}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,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,9 +74,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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,22 +92,27 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ANNOUNCEMENT BACKLOG CHANGE_LOG COPYRIGHT README \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+
+# 20220419 bkw: 'make install' tries to symlink the *.xml files
+# to the doc dir, but fails because it expects the doc dir to be
+# /usr/share/doc.
+rm -f $PKGDOC/*.xml
+( cd $PKGDOC ; ln -s ../../share/$PRGNAM/*.xml . )
+
+cp -a BACKLOG CHANGE_LOG COPYRIGHT README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+rm -f $PKG/usr/lib*/*.la
mkdir $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/libraries/udunits/udunits.info b/libraries/udunits/udunits.info
index 85994d57b8..daee517c40 100644
--- a/libraries/udunits/udunits.info
+++ b/libraries/udunits/udunits.info
@@ -1,8 +1,8 @@
PRGNAM="udunits"
-VERSION="2.2.26"
+VERSION="2.2.28"
HOMEPAGE="https://www.unidata.ucar.edu/software/udunits/"
-DOWNLOAD="ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-2.2.26.tar.gz"
-MD5SUM="5803837c6019236d24a9c9795cc8b462"
+DOWNLOAD="https://artifacts.unidata.ucar.edu/repository/downloads-udunits/2.2.28/udunits-2.2.28.tar.gz"
+MD5SUM="58259d94f766c13b5b0cf1aed92ebbe3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/uhttpmock/README b/libraries/uhttpmock/README
new file mode 100644
index 0000000000..88b8da1c81
--- /dev/null
+++ b/libraries/uhttpmock/README
@@ -0,0 +1,9 @@
+uhttpmock is a project for mocking web service APIs which use HTTP or
+HTTPS. It provides a library, libuhttpmock, which implements recording
+and playback of HTTP requestresponse traces.
+
+Below variables can be used to configure the build:
+ GTKDOC=yes : Use gtk-doc to build documentation
+ INTROSPECTION=yes : Enable introspection for this build
+ VALA=yes : Build Vala bindings
+ COVERAGE=yes : Enable code coverage support
diff --git a/libraries/uhttpmock/slack-desc b/libraries/uhttpmock/slack-desc
new file mode 100644
index 0000000000..6c909f0388
--- /dev/null
+++ b/libraries/uhttpmock/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------------------------------------------------------|
+uhttpmock: uhttpmock (Library for Mocking web service API's)
+uhttpmock:
+uhttpmock: The uhttpmock package contains a library for
+uhttpmock: mocking web service APIs which use HTTP or HTTPS
+uhttpmock:
+uhttpmock: https://gitlab.com/uhttpmock/uhttpmock
+uhttpmock:
+uhttpmock:
+uhttpmock:
+uhttpmock:
+uhttpmock:
diff --git a/libraries/uhttpmock/uhttpmock.SlackBuild b/libraries/uhttpmock/uhttpmock.SlackBuild
new file mode 100644
index 0000000000..e2319d7dfd
--- /dev/null
+++ b/libraries/uhttpmock/uhttpmock.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for uhttpmock
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=uhttpmock
+VERSION=${VERSION:-0.5.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+INTROSPECTION=${INTROSPECTION:-no}
+GTKDOC=${GTKDOC:-no}
+VALA=${VALA:-no}
+COVERAGE=${COVERAGE:-no}
+
+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 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --enable-introspection="$INTROSPECTION" \
+ --enable-gtk-doc="$GTKDOC" \
+ --enable-gtk-doc-html="$GTKDOC" \
+ --enable-vala="$VALA" \
+ --enable-code-coverage="$COVERAGE" \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS INSTALL README COPYING HACKING 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/uhttpmock/uhttpmock.info b/libraries/uhttpmock/uhttpmock.info
new file mode 100644
index 0000000000..9fd62c13ba
--- /dev/null
+++ b/libraries/uhttpmock/uhttpmock.info
@@ -0,0 +1,10 @@
+PRGNAM="uhttpmock"
+VERSION="0.5.3"
+HOMEPAGE="https://gitlab.freedesktop.org/pwithnall/uhttpmock/"
+DOWNLOAD="https://tecnocode.co.uk/downloads/uhttpmock/uhttpmock-0.5.3.tar.xz"
+MD5SUM="dcbd66e80e1635e41b0e434b9852bd39"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/ulfius/ulfius.SlackBuild b/libraries/ulfius/ulfius.SlackBuild
index 0f3d9756ae..f9769c60a7 100644
--- a/libraries/ulfius/ulfius.SlackBuild
+++ b/libraries/ulfius/ulfius.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ulfius
#
# 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=ulfius
-VERSION=${VERSION:-2.6.5}
+VERSION=${VERSION:-2.7.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -33,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}
@@ -47,6 +54,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=""
@@ -63,9 +73,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p build
cd build
@@ -73,21 +83,24 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
- make install DESTDIR=$PKG
+ make install/strip 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
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
DOCS="CHANGELOG.md LICENSE README.md"
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+rm -f $PKGDOC/INSTALL.md
+cp -a $DOCS $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/libraries/ulfius/ulfius.info b/libraries/ulfius/ulfius.info
index 9f27937910..ef8137e64e 100644
--- a/libraries/ulfius/ulfius.info
+++ b/libraries/ulfius/ulfius.info
@@ -1,8 +1,8 @@
PRGNAM="ulfius"
-VERSION="2.6.5"
+VERSION="2.7.15"
HOMEPAGE="https://github.com/babelouest/ulfius"
-DOWNLOAD="https://github.com/babelouest/ulfius/archive/v2.6.5/ulfius-2.6.5.tar.gz"
-MD5SUM="88a2f725a3d8af830063f40c1b8fa723"
+DOWNLOAD="https://github.com/babelouest/ulfius/archive/v2.7.15/ulfius-2.7.15.tar.gz"
+MD5SUM="72101c6b274ea373ae48f8c29a5f7dcb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmicrohttpd yder"
diff --git a/libraries/unarr/CMakeLists.txt b/libraries/unarr/CMakeLists.txt
deleted file mode 100644
index 1dceae0981..0000000000
--- a/libraries/unarr/CMakeLists.txt
+++ /dev/null
@@ -1,99 +0,0 @@
-cmake_minimum_required(VERSION 2.6)
-project(unarr C)
-
-#Set up api and release version for later use.
-#Increase in major api version indicates api
-#breakage!! For non-breaking changes, use
-#minor api version instead.
-set (UNARR_API_VERSION_MAJOR 1)
-set (UNARR_API_VERSION_MINOR 0)
-
-#set build type to default if unset
-if( NOT CMAKE_BUILD_TYPE )
- set( CMAKE_BUILD_TYPE Release CACHE STRING
- "Choose the type of build, options are: None Debug Release RelWithDebInfo
-MinSizeRel."
- FORCE )
-endif()
-
-find_package(ZLIB)
-find_package(BZip2)
-
-if (UNIX OR MINGW)
- add_compile_options(-fomit-frame-pointer -D_FILE_OFFSET_BITS=64)
-endif (UNIX OR MINGW)
-
-#sources
-
-set (HEADERS common/allocator.h
- common/unarr-imp.h
- rar/rar.h
- rar/lzss.h
- rar/rarvm.h
- lzmasdk/LzmaDec.h
- lzmasdk/Ppmd7.h
- lzmasdk/CpuArch.h
- lzmasdk/Ppmd.h
- lzmasdk/7zTypes.h
- lzmasdk/Ppmd8.h
- lzmasdk/Precomp.h
- _7z/_7z.h
- zip/zip.h
- zip/inflate.h
- tar/tar.h)
-
-set (SOURCES rar/uncompress-rar.c
- rar/huffman-rar.c
- rar/rar.c
- rar/filter-rar.c
- rar/rarvm.c
- rar/parse-rar.c
- _7z/_7z.c
- zip/zip.c
- zip/inflate.c
- zip/parse-zip.c
- zip/uncompress-zip.c
- tar/tar.c
- tar/parse-tar.c
- lzmasdk/Ppmd7.c
- lzmasdk/Ppmd8.c
- lzmasdk/CpuArch.c
- lzmasdk/LzmaDec.c
- lzmasdk/Ppmd7Dec.c
- lzmasdk/Ppmd8Dec.c
- common/custalloc.c
- common/unarr.c
- common/stream.c
- common/conv.c
- common/crc32.c
- )
-
-#(below is edited to process just the shared library)
-
-#build targets
-add_library(unarr SHARED unarr.h ${HEADERS} ${SOURCES})
-#add_library(unarr_static STATIC unarr.h ${HEADERS} ${SOURCES})
-set_target_properties(unarr PROPERTIES VERSION ${UNARR_API_VERSION_MAJOR}.${UNARR_API_VERSION_MINOR} SOVERSION ${UNARR_API_VERSION_MAJOR})
-#set_target_properties(unarr_static PROPERTIES OUTPUT_NAME unarr VERSION ${UNARR_API_VERSION_MAJOR}.${UNARR_API_VERSION_MINOR} SOVERSION ${UNARR_API_VERSION_MAJOR})
-
-#library detection macros
-
-if (ZLIB_FOUND)
- include_directories(${ZLIB_INCLUDE_DIRS})
- target_link_libraries(unarr ${ZLIB_LIBRARIES})
-# target_link_libraries(unarr_static ${ZLIB_LIBRARIES})
- add_definitions(-DHAVE_ZLIB)
-endif(ZLIB_FOUND)
-
-if (BZIP2_FOUND)
- include_directories(${BZIP_INCLUDE_DIRS})
- target_link_libraries (unarr ${BZIP2_LIBRARIES})
-# target_link_libraries (unarr_static ${BZIP2_LIBRARIES})
- add_definitions(-DHAVE_BZIP2)
-endif (BZIP2_FOUND)
-
-#make install targets
-
-install(TARGETS unarr DESTINATION lib@LIBDIRSUFFIX@)
-#install(TARGETS unarr_static DESTINATION lib@LIBDIRSUFFIX@)
-install(FILES unarr.h DESTINATION include)
diff --git a/libraries/unarr/unarr.SlackBuild b/libraries/unarr/unarr.SlackBuild
index 5a90b3f1ec..160ee1a82b 100644
--- a/libraries/unarr/unarr.SlackBuild
+++ b/libraries/unarr/unarr.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for unarr
-# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2023 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=unarr
-VERSION=${VERSION:-1.0.1}
+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}
@@ -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/libraries/unarr/unarr.info b/libraries/unarr/unarr.info
index 2f59c69193..b18a386f49 100644
--- a/libraries/unarr/unarr.info
+++ b/libraries/unarr/unarr.info
@@ -1,8 +1,8 @@
PRGNAM="unarr"
-VERSION="1.0.1"
+VERSION="1.1.1"
HOMEPAGE="https://github.com/selmf/unarr"
-DOWNLOAD="https://github.com/selmf/unarr/releases/download/v1.0.1/unarr-1.0.1.tar.xz"
-MD5SUM="995a3de03b8a083c342e7d4b5a44fd52"
+DOWNLOAD="https://github.com/selmf/unarr/releases/download/v1.1.1/unarr-1.1.1.tar.xz"
+MD5SUM="e3848dba8c655230c105b574a533a825"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/unibilium/README b/libraries/unibilium/README
index 4002f2106c..dfde62b9bd 100644
--- a/libraries/unibilium/README
+++ b/libraries/unibilium/README
@@ -1,3 +1,3 @@
-Unibilium is a very basic terminfo library. It doesn't depend on curses or any
-other library. It also doesn't use global variables, so it should be
-thread-safe.
+Unibilium is a very basic terminfo library. It doesn't depend on
+curses or any other library. It also doesn't use global variables, so
+it should be thread-safe.
diff --git a/libraries/unibilium/unibilium.SlackBuild b/libraries/unibilium/unibilium.SlackBuild
index 6da72da65f..b01b47bafa 100644
--- a/libraries/unibilium/unibilium.SlackBuild
+++ b/libraries/unibilium/unibilium.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for unibilium
-# Copyright 2015 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2024 Alexander Verbovetsky, Moscow, Russia
+# Copyright 2021 Ruben Schuller <sb@rbn.im>
+# Copyright 2015-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,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=unibilium
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -76,11 +85,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 Changes LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes 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/libraries/unibilium/unibilium.info b/libraries/unibilium/unibilium.info
index 8cadbf84f8..0f83b315e7 100644
--- a/libraries/unibilium/unibilium.info
+++ b/libraries/unibilium/unibilium.info
@@ -1,10 +1,10 @@
PRGNAM="unibilium"
-VERSION="2.0.0"
-HOMEPAGE="https://github.com/mauke/unibilium"
-DOWNLOAD="https://github.com/mauke/unibilium/archive/v2.0.0/unibilium-2.0.0.tar.gz"
-MD5SUM="a89b8ef6e752cc76098e1863ff4b5457"
+VERSION="2.1.1"
+HOMEPAGE="https://github.com/neovim/unibilium"
+DOWNLOAD="https://github.com/neovim/unibilium/archive/v2.1.1/unibilium-2.1.1.tar.gz"
+MD5SUM="845c59ce10150d7808ee9862fef231cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/libraries/unixODBC/README b/libraries/unixODBC/README
index edeae937a2..2782b91481 100644
--- a/libraries/unixODBC/README
+++ b/libraries/unixODBC/README
@@ -1,16 +1,6 @@
-The unixODBC Project goals are to develop and promote unixODBC to be the
-definitive standard for ODBC on non MS Windows platforms. This is to
-include GUI support for both KDE and GNOME. ODBC is an open specification
-for providing application developers with a predictable API with which to
-access Data Sources. Data Sources include SQL Servers and any Data Source
-with an ODBC Driver.
-
-This will be compiled without GUI support. If you want to give it a try,
-edit the build script and comment out the "--disable-gui" configure
-argument.
-
-Also, there is a seperate GUI frontend available separately from:
-http://www.unixodbc.org/gui/
-
-NOTE: This package conflicts with libiodbc in Slackware. Make sure to
-reinstall libiodbc if you remove this package.
+The unixODBC Project goals are to develop and promote unixODBC to be
+the definitive standard for ODBC on non MS Windows platforms. This is
+to include GUI support for both KDE and GNOME. ODBC is an open
+specification for providing application developers with a predictable
+API with which to access Data Sources. Data Sources include SQL
+Servers and any Data Source with an ODBC Driver.
diff --git a/libraries/unixODBC/unixODBC.SlackBuild b/libraries/unixODBC/unixODBC.SlackBuild
index 80ace8b8c4..9b50e90011 100644
--- a/libraries/unixODBC/unixODBC.SlackBuild
+++ b/libraries/unixODBC/unixODBC.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for unixODBC
@@ -29,26 +29,33 @@
# (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=unixODBC
-VERSION=${VERSION:-2.3.7}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.3.12}
+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"
@@ -79,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --includedir=/usr/include/unixodbc \
--sysconfdir=/etc \
--disable-static \
--disable-gui \
@@ -106,9 +114,11 @@ cp -a AUTHORS COPYING README doc/* $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 {} \;
+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/libraries/unixODBC/unixODBC.info b/libraries/unixODBC/unixODBC.info
index 243f0a93a5..8d391aa611 100644
--- a/libraries/unixODBC/unixODBC.info
+++ b/libraries/unixODBC/unixODBC.info
@@ -1,10 +1,10 @@
PRGNAM="unixODBC"
-VERSION="2.3.7"
+VERSION="2.3.12"
HOMEPAGE="http://www.unixodbc.org/"
-DOWNLOAD="ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.7.tar.gz"
-MD5SUM="274a711b0c77394e052db6493840c6f9"
+DOWNLOAD="ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.12.tar.gz"
+MD5SUM="d62167d85bcb459c200c0e4b5a63ee48"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"
-MAINTAINER="Bob De Mars"
-EMAIL="mr.chew.baka@gmail.com"
+MAINTAINER="Fernando Lopez"
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/upscaledb/README b/libraries/upscaledb/README
deleted file mode 100644
index 8de72d2315..0000000000
--- a/libraries/upscaledb/README
+++ /dev/null
@@ -1,32 +0,0 @@
-upscaledb is a database engine written in C/C++. It is fast,
-production-proven and easy to use.
-
-Features:
-- Very fast sorted B+Tree with variable length keys
-- Basic schema support for POD types (i.e. uint32, uint64, real32 etc)
-- Very fast analytical functions
-- Can run as an in-memory database
-- Multiple databases in one file
-- Record number databases ("auto-increment")
-- Duplicate keys
-- Logging and recovery
-- Unlimited number of parallel Transactions
-- Transparent AES encryption
-- Transparent CRC32 verification
-- Various compression codecs for journal, keys and records using zlib,
- snappy, lzf
-- Compression for uint32 keys
-- Network access (remote databases) via TCP/Protocol Buffers
-- Very fast bi-directional database cursors
-- Configurable page size, cache size, key sizes etc
-- Runs on Linux, Unices, Microsoft Windows and other architectures
-- Uses memory mapped I/O for fast disk access (but falls back to
- read/write if mmap is not available)
-- Uses 64bit file pointers and supports huge files (>2 GB)
-- Easy to use and well-documented
-- Open source and released under APL 2.0 license
-- Wrappers for C++, Java, .NET, Erlang, Python, Ada and others
-
-Optional auto-detected dependencies:
-- snappy
-- protobuf or protobuf3
diff --git a/libraries/upscaledb/slack-desc b/libraries/upscaledb/slack-desc
deleted file mode 100644
index 753f83d9bb..0000000000
--- a/libraries/upscaledb/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------------------------------------------------------|
-upscaledb: upscaledb (embedded key/value database)
-upscaledb:
-upscaledb: upscaledb is a database engine written in C/C++. It is fast,
-upscaledb: production-proven and easy to use.
-upscaledb:
-upscaledb:
-upscaledb:
-upscaledb:
-upscaledb:
-upscaledb: https://upscaledb.com/
-upscaledb:
diff --git a/libraries/upscaledb/upscaledb.SlackBuild b/libraries/upscaledb/upscaledb.SlackBuild
deleted file mode 100644
index a44ff36551..0000000000
--- a/libraries/upscaledb/upscaledb.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for upscaledb
-
-# Copyright 2017 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=upscaledb
-VERSION=${VERSION:-2.2.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-release-$VERSION
-tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
-cd $PRGNAM-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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-./bootstrap.sh
-CFLAGS="$SLKCFLAGS -DNDEBUG" \
-CXXFLAGS="$SLKCFLAGS -DNDEBUG" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux \
- --disable-remote # requires libuv <= 0.11.X
- # newer versions are going to use boost.asio
- # https://github.com/cruppstahl/upscaledb/issues/90
-
-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 CREDITS INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-chmod ugo-x $PKG/usr/doc/$PRGNAM-$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/libraries/upscaledb/upscaledb.info b/libraries/upscaledb/upscaledb.info
deleted file mode 100644
index 3be15bda2c..0000000000
--- a/libraries/upscaledb/upscaledb.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="upscaledb"
-VERSION="2.2.2"
-HOMEPAGE="https://upscaledb.com/"
-DOWNLOAD="https://github.com/cruppstahl/upscaledb/archive/release-2.2.2/upscaledb-release-2.2.2.tar.gz"
-MD5SUM="ae656abd5e49f9dabe165148aba612ad"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="gperftools"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/uptime/uptime.SlackBuild b/libraries/uptime/uptime.SlackBuild
index 9117ca83fe..a72a26b8e7 100644
--- a/libraries/uptime/uptime.SlackBuild
+++ b/libraries/uptime/uptime.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uptime
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uptime
VERSION=${VERSION:-3.0.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}
@@ -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/libraries/urdfdom/urdfdom.SlackBuild b/libraries/urdfdom/urdfdom.SlackBuild
index 8c77ff7604..c4f37ab71a 100644
--- a/libraries/urdfdom/urdfdom.SlackBuild
+++ b/libraries/urdfdom/urdfdom.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urdfdom
@@ -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=urdfdom
VERSION=${VERSION:-0.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}
@@ -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/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \;
+sed -i "s/set(CMAKE_INSTALL_LIBDIR lib/set(CMAKE_INSTALL_LIBDIR lib$LIBDIRSUFFIX/" CMakeLists.txt
+
mkdir -p build
cd build
cmake \
@@ -91,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/libraries/urdfdom/urdfdom.info b/libraries/urdfdom/urdfdom.info
index bc3600200a..0aad8c44e4 100644
--- a/libraries/urdfdom/urdfdom.info
+++ b/libraries/urdfdom/urdfdom.info
@@ -1,7 +1,7 @@
PRGNAM="urdfdom"
VERSION="0.4.1"
HOMEPAGE="http://wiki.ros.org/urdf"
-DOWNLOAD="https://github.com/ros/urdfdom/archive/0.4.1.tar.gz"
+DOWNLOAD="https://github.com/ros/urdfdom/archive/0.4.1/urdfdom-0.4.1.tar.gz"
MD5SUM="808353b7ca64bea8925bd5a87a4bb776"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/urdfdom_headers/README b/libraries/urdfdom_headers/README
index 127658334c..e220a2849a 100644
--- a/libraries/urdfdom_headers/README
+++ b/libraries/urdfdom_headers/README
@@ -1,3 +1,3 @@
-The Unified Robot Description Format (URDF) headers provide core data
-structure headers for URDF. For now, the details of the URDF specifications
-reside on http://ros.org/wiki/urdf
+The Unified Robot Description Format (URDF) headers provide core
+data structure headers for URDF. For now, the details of the URDF
+specifications reside on http://ros.org/wiki/urdf
diff --git a/libraries/urdfdom_headers/urdfdom_headers.SlackBuild b/libraries/urdfdom_headers/urdfdom_headers.SlackBuild
index 45c6239986..af44399eee 100644
--- a/libraries/urdfdom_headers/urdfdom_headers.SlackBuild
+++ b/libraries/urdfdom_headers/urdfdom_headers.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urdfdom_headers
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - pkg-config file was getting installed to /usr/lib on x86_64, fix.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=urdfdom_headers
VERSION=${VERSION:-0.4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} +
mkdir -p build
cd build
@@ -80,8 +90,7 @@ cd build
make install DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+[ "$LIBDIRSUFFIX" != "" ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
@@ -91,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/libraries/urdfdom_headers/urdfdom_headers.info b/libraries/urdfdom_headers/urdfdom_headers.info
index 2511f6680d..4eef635ae8 100644
--- a/libraries/urdfdom_headers/urdfdom_headers.info
+++ b/libraries/urdfdom_headers/urdfdom_headers.info
@@ -1,7 +1,7 @@
PRGNAM="urdfdom_headers"
VERSION="0.4.1"
HOMEPAGE="http://wiki.ros.org/urdf"
-DOWNLOAD="https://github.com/ros/urdfdom_headers/archive/0.4.1.tar.gz"
+DOWNLOAD="https://github.com/ros/urdfdom_headers/archive/0.4.1/urdfdom_headers-0.4.1.tar.gz"
MD5SUM="73cfc08b936231a78dc899df5ebd269d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/uriparser/uriparser.SlackBuild b/libraries/uriparser/uriparser.SlackBuild
index 32944960ac..4011fb00d1 100644
--- a/libraries/uriparser/uriparser.SlackBuild
+++ b/libraries/uriparser/uriparser.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uriparser
-# Copyright 2015-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2015-2023 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=uriparser
-VERSION=${VERSION:-0.9.3}
+VERSION=${VERSION:-0.9.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}
@@ -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/libraries/uriparser/uriparser.info b/libraries/uriparser/uriparser.info
index 683158a09e..92a6f24b8a 100644
--- a/libraries/uriparser/uriparser.info
+++ b/libraries/uriparser/uriparser.info
@@ -1,8 +1,8 @@
PRGNAM="uriparser"
-VERSION="0.9.3"
+VERSION="0.9.7"
HOMEPAGE="https://uriparser.github.io"
-DOWNLOAD="https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.3/uriparser-0.9.3.tar.xz"
-MD5SUM="e857bf458b3aca5ea338d1e4b1f74c1a"
+DOWNLOAD="https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.7/uriparser-0.9.7.tar.xz"
+MD5SUM="5c64361cb0a7432b98309c94918a0b86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="graphviz"
diff --git a/libraries/usrsctp/README b/libraries/usrsctp/README
new file mode 100644
index 0000000000..4f18c88461
--- /dev/null
+++ b/libraries/usrsctp/README
@@ -0,0 +1,15 @@
+SCTP user-land implementation (usrsctp)
+
+SCTP is a message oriented, reliable transport protocol with direct
+support for multihoming that runs on top of IP or UDP, and supports both
+v4 and v6 versions.
+
+Like TCP, SCTP provides reliable, connection oriented data delivery with
+congestion control. Unlike TCP, SCTP also provides message boundary
+preservation, ordered and unordered message delivery, multi-streaming
+and multi-homing. Detection of data corruption, loss of data and
+duplication of data is achieved by using checksums and sequence numbers.
+A selective retransmission mechanism is applied to correct loss or
+corruption of data.
+
+usrsctp may be used by psi or psi-plus
diff --git a/libraries/usrsctp/slack-desc b/libraries/usrsctp/slack-desc
new file mode 100644
index 0000000000..82a11c874e
--- /dev/null
+++ b/libraries/usrsctp/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------------------------------------------------------|
+usrsctp: usrsctp (a userland SCTP stack)
+usrsctp:
+usrsctp: SCTP is a message oriented, reliable transport protocol with direct
+usrsctp: support for multihoming that runs on top of IP or UDP, and supports
+usrsctp: both v4 and v6 versions.
+usrsctp:
+usrsctp:
+usrsctp:
+usrsctp:
+usrsctp:
+usrsctp:
diff --git a/libraries/usrsctp/usrsctp.SlackBuild b/libraries/usrsctp/usrsctp.SlackBuild
new file mode 100644
index 0000000000..737a32426a
--- /dev/null
+++ b/libraries/usrsctp/usrsctp.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+# Slackware build script for usrsctp
+
+# 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=usrsctp
+VERSION=${VERSION:-0.9.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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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" \
+./bootstrap
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --infodir=/usr/info \
+ --enable-warnings-as-errors=no \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.md Manual.tex Manual.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/libraries/usrsctp/usrsctp.info b/libraries/usrsctp/usrsctp.info
new file mode 100644
index 0000000000..e3560ab72b
--- /dev/null
+++ b/libraries/usrsctp/usrsctp.info
@@ -0,0 +1,10 @@
+PRGNAM="usrsctp"
+VERSION="0.9.5.0"
+HOMEPAGE="https://github.com/sctplab/usrsctp/"
+DOWNLOAD="https://github.com/sctplab/usrsctp/archive/0.9.5.0/usrsctp-0.9.5.0.tar.gz"
+MD5SUM="9da8688d84668b86c6cdbb759b500985"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.usrsctp_2023-05-16@lockywolf.net"
diff --git a/libraries/utfcpp/utfcpp.SlackBuild b/libraries/utfcpp/utfcpp.SlackBuild
index 372fd62bfb..3ebefafc06 100644
--- a/libraries/utfcpp/utfcpp.SlackBuild
+++ b/libraries/utfcpp/utfcpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for utfcpp
# Copyright 2014 Lionel Young USA
# All rights reserved.
@@ -20,15 +20,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=utfcpp
VERSION=${VERSION:-2012.02.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
GITHUBVERS="2233ec933f5661c7050b94d3b14f5f9f51ae3d55"
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,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/libraries/uthash/uthash.SlackBuild b/libraries/uthash/uthash.SlackBuild
index 47dc4a8022..68307e543a 100644
--- a/libraries/uthash/uthash.SlackBuild
+++ b/libraries/uthash/uthash.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uthash
-# Copyright 2015 Ulrich Schaefer Germany
+# Copyright 2015-2022 Ulrich Schaefer, Hamburg, Germany
# 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=uthash
-VERSION=${VERSION:-1.9.9}
+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
- 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,7 +72,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $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 . \
@@ -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/libraries/uthash/uthash.info b/libraries/uthash/uthash.info
index ea9a45cc7c..cc6ba55a51 100644
--- a/libraries/uthash/uthash.info
+++ b/libraries/uthash/uthash.info
@@ -1,10 +1,10 @@
PRGNAM="uthash"
-VERSION="1.9.9"
+VERSION="2.3.0"
HOMEPAGE="https://troydhanson.github.io/uthash/"
-DOWNLOAD="https://github.com/troydhanson/uthash/archive/v1.9.9.tar.gz"
-MD5SUM="c3ce9197c818dcb7ca85b59912f310a4"
+DOWNLOAD="https://github.com/troydhanson/uthash/archive/v2.3.0/uthash-2.3.0.tar.gz"
+MD5SUM="9a4f0a675ca179b62ebc56b2dd8b59ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Ulrich Schaefer"
-EMAIL="us@ulischaefer.net"
+EMAIL="us@ulischaefer.de"
diff --git a/libraries/uuid/uuid.SlackBuild b/libraries/uuid/uuid.SlackBuild
index 33bf70599d..94d218ea53 100644
--- a/libraries/uuid/uuid.SlackBuild
+++ b/libraries/uuid/uuid.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uuid
@@ -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=uuid
VERSION=${VERSION:-1.6.2}
-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}
@@ -112,8 +122,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog 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/libraries/varconf/README b/libraries/varconf/README
index ccd08f43cf..e95916e643 100644
--- a/libraries/varconf/README
+++ b/libraries/varconf/README
@@ -1,4 +1,5 @@
Varconf is a configuration system designed for the STAGE server.
-Varconf can parse configuration files, command-line arguments and environment
-variables. It supports callbacks and can store its configuration information
-in separate Config objects or in one global configuration instance.
+Varconf can parse configuration files, command-line arguments and
+environment variables. It supports callbacks and can store its
+configuration information in separate Config objects or in one global
+configuration instance.
diff --git a/libraries/varconf/varconf.SlackBuild b/libraries/varconf/varconf.SlackBuild
index 56746234a4..cc096319be 100644
--- a/libraries/varconf/varconf.SlackBuild
+++ b/libraries/varconf/varconf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for varconf
@@ -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=varconf
VERSION=${VERSION:-1.0.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}
@@ -70,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++14" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -90,8 +100,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog 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/libraries/vcglib/vcglib.SlackBuild b/libraries/vcglib/vcglib.SlackBuild
index 5337b1e9df..c5d8a6e7d7 100644
--- a/libraries/vcglib/vcglib.SlackBuild
+++ b/libraries/vcglib/vcglib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vcglib
@@ -22,10 +22,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220410 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix /usr/include permissions.
+# - make this noarch (it really is).
+# - move docs and sample code to actual doc directory.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vcglib
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# 20220410 bkw: This is a header-only library, no ELF binaries and
+# no use of /usr/lib(64).
+ARCH=noarch
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +47,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
@@ -63,20 +65,21 @@ 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 . -type f -exec chmod 644 {} \+ -o -type d -exec chmod 755 {} \+
-install -c -d $PKG/usr/include/vcglib
-cp -r * /$PKG/usr/include/vcglib
+# 20220410 bkw: documentation and sample application code does not
+# belong in /usr/include. also, remove a couple of useless empty files.
+rm -f \
+ apps/trimeshinfo/trimeshinfo1.02/trimeshinfosample/eight3D.ply2.html \
+ apps/pivoting/curvature.h
+mkdir -p $PKG/usr/include/vcglib $PKG/usr/doc/$PRGNAM-$VERSION
+mv eigenlib docs apps *.txt *.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -r * $PKG/usr/include/vcglib
-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/libraries/vdk/vdk-config-2.1 b/libraries/vdk/vdk-config-2.1
new file mode 100644
index 0000000000..5ad0b37e21
--- /dev/null
+++ b/libraries/vdk/vdk-config-2.1
@@ -0,0 +1,60 @@
+.TH VDK 1 "" 2.0.0 SlackBuild.org
+.SH NAME
+vdk-config - The VDK (2) C++ Library config script
+.SH SYNOPSIS
+.B vdk-config-2
+[\-v
+\-\-version]
+[\-h
+\-\-help]
+[\-l
+\-\-libs]
+[\-\-libs\-only\-L]
+[\-\-libs\-only\-l]
+[\-c
+\-\-cflags]
+[\-d
+\-\-define]
+.SH DESCRIPTION
+.PP
+\fIvdk-config-2\fP is a tool that is used to configure to determine
+the compiler and linker flags that should be used to compile
+and link programs that use \fIVDK(2)\fP. It is also used internally
+to the .m4 macros for GNU autoconf that are included with \fIVDK(2)\fP.
+.
+.SH OPTIONS
+.l
+\fIvdk-config\fP accepts the following options:
+.TP 8
+.B \-v \-\-version
+Print the currently installed version of \fIVDK\fP on the standard output.
+.TP 8
+.B \-h \-\-help
+Print a short help on the standard output.
+.TP 8
+.B \-l \-\-libs
+Print the linker flags that are necessary to link a \fIVDK\fP program.
+.TP 8
+.B \-\-libs\-only\-L
+Print only the \-L/\-R part of the \-\-libs.
+.TP 8
+.B \-\-libs\-only\-l
+Print only the \-l part of the \-\-libs.
+.TP 8
+.B \-c \-\-cflags
+Print the compiler flags that are necessary to compile a \fIVDK(2)\fP program.
+.TP 8
+.B \-d \-\-define
+Add to the compiler flags a \fI-D_VDK_\fP.
+.SH SEE ALSO
+.BR gtk-config-2.0 (1),
+.BR /usr/doc/vdk-@VERSION@/vdk-config-2.txt
+.SH COPYRIGHT
+Copyright \(co 2000 VDK Team
+Copyright \(co 1998 Owen Taylor
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in
+supporting documentation.
diff --git a/libraries/vdk/vdk.SlackBuild b/libraries/vdk/vdk.SlackBuild
index 472a28ca2b..79a331d644 100644
--- a/libraries/vdk/vdk.SlackBuild
+++ b/libraries/vdk/vdk.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vdk
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - install an actual man page in /usr/man.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vdk
VERSION=${VERSION:-2.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,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}
@@ -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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -79,21 +89,28 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+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
+# 20220419 bkw: the "man page" isn't actually a man page. replace it
+# with the one from Debian and modified slightly.
+rm -f $PKG/usr/man/man1/vdk-config-2.1
+sed "s,@VERSION@,$VERSION," < $CWD/vdk-config-2.1 | \
+ gzip -9c > $PKG/usr/man/man1/vdk-config-2.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \
+cp -a AUTHORS BUGS COPYING ChangeLog NEWS README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
+
+# 20220419 bkw: include the text file that would have gotten installed
+# in /usr/man/man1.
+cp -a doc/vdk-config-2.1 $PKG/usr/doc/$PRGNAM-$VERSION/vdk-config-2.txt
+
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/libraries/vdpau-video/README b/libraries/vdpau-video/README
deleted file mode 100644
index 74498426ae..0000000000
--- a/libraries/vdpau-video/README
+++ /dev/null
@@ -1,3 +0,0 @@
-vdpau-video is a VDPAU-based backend for the VA API.
-
-A version of the proprietary NVIDIA display driver is required.
diff --git a/libraries/vdpau-video/slack-desc b/libraries/vdpau-video/slack-desc
deleted file mode 100644
index fca96beee0..0000000000
--- a/libraries/vdpau-video/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------------------------------------------------------|
-vdpau-video: vdpau-video (A VDPAU-based backend for VA API)
-vdpau-video:
-vdpau-video: vdpau-video is a VDPAU-based backend for VA API.
-vdpau-video:
-vdpau-video: Website: https://launchpad.net/ubuntu/+source/vdpau-video
-vdpau-video:
-vdpau-video:
-vdpau-video:
-vdpau-video:
-vdpau-video:
-vdpau-video:
diff --git a/libraries/vdpau-video/vdpau-video.SlackBuild b/libraries/vdpau-video/vdpau-video.SlackBuild
deleted file mode 100644
index 2bc29837ae..0000000000
--- a/libraries/vdpau-video/vdpau-video.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for vdpau-video
-
-# Written by Christopher Reimer (reimer.christopher@freenet.de)
-
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=vdpau-video
-SRCNAM=vdpau-driver
-VERSION=${VERSION:-0.7.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 $SRCNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_${VERSION}.orig.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/vdpau-video.patch
-./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 \
- --enable-glx \
- --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 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/libraries/vdpau-video/vdpau-video.info b/libraries/vdpau-video/vdpau-video.info
deleted file mode 100644
index 31bb86f1d9..0000000000
--- a/libraries/vdpau-video/vdpau-video.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vdpau-video"
-VERSION="0.7.4"
-HOMEPAGE="https://launchpad.net/ubuntu/+source/vdpau-video"
-DOWNLOAD="https://launchpad.net/ubuntu/+archive/primary/+files/vdpau-video_0.7.4.orig.tar.gz"
-MD5SUM="789fdf1f4d3042c90e658ce08f6149f6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Christopher Reimer"
-EMAIL="reimer.christopher@freenet.de"
diff --git a/libraries/vdpau-video/vdpau-video.patch b/libraries/vdpau-video/vdpau-video.patch
deleted file mode 100644
index d413e23956..0000000000
--- a/libraries/vdpau-video/vdpau-video.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-diff -ur a/src/vdpau_decode.c b/src/vdpau_decode.c
---- a/src/vdpau_decode.c 2012-10-05 10:02:58.000000000 -0500
-+++ b/src/vdpau_decode.c 2014-07-18 07:42:37.240166340 -0500
-@@ -1289,7 +1289,7 @@
- driver_data,
- obj_context->vdp_decoder,
- obj_surface->vdp_surface,
-- (VdpPictureInfo)&obj_context->vdp_picture_info,
-+ (VdpPictureInfo*)&obj_context->vdp_picture_info,
- obj_context->vdp_bitstream_buffers_count,
- obj_context->vdp_bitstream_buffers
- );
-
---- a/src/utils_glx.h 2012-10-05 16:02:58.000000000 +0100
-+++ b/src/utils_glx.h 2012-10-19 08:44:12.469642440 +0100
-@@ -48,6 +48,13 @@
- typedef void (*PFNGLXRELEASETEXIMAGEEXTPROC)(Display *, GLXDrawable, int);
- #endif
-
-+#if GL_GLEXT_VERSION >= 85
-+/* XXX: PFNGLMULTITEXCOORD2FPROC got out of the GL_VERSION_1_3_DEPRECATED
-+ block and is not defined if GL_VERSION_1_3 is defined in <GL/gl.h>
-+ Redefine the type here as an interim solution */
-+typedef void (*PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
-+#endif
-+
- #ifndef GL_FRAMEBUFFER_BINDING
- #define GL_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING_EXT
- #endif
-
---- vdpau-driver-0.7.4/src/vdpau_dump.c.orig 2016-02-16 02:18:26.497963851 +0700
-+++ vdpau-driver-0.7.4/src/vdpau_dump.c 2016-02-16 02:18:48.286710863 +0700
-@@ -59,8 +59,8 @@
- _(VAEncSequenceParameterBufferType);
- _(VAEncPictureParameterBufferType);
- _(VAEncSliceParameterBufferType);
-- _(VAEncH264VUIBufferType);
-- _(VAEncH264SEIBufferType);
-+ //_(VAEncH264VUIBufferType);
-+ //_(VAEncH264SEIBufferType);
- #endif
- #if VA_CHECK_VERSION(0,31,1)
- _(VAQMatrixBufferType);
diff --git a/libraries/vid.stab/README b/libraries/vid.stab/README
deleted file mode 100644
index cb41c8bc17..0000000000
--- a/libraries/vid.stab/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Vidstab is a video stabilization library which can be plugged-in
-with FFmpeg and Transcode.
-
-Pass TRANSCODE=yes to the script if you want to build the transcode
-filters. These filters depend on transcode.
diff --git a/libraries/vid.stab/slack-desc b/libraries/vid.stab/slack-desc
deleted file mode 100644
index 7bdddcbdec..0000000000
--- a/libraries/vid.stab/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------------------------------------------------------|
-vid.stab: vid.stab (video stabilization library)
-vid.stab:
-vid.stab: Vidstab is a video stabilization library which can be plugged-in
-vid.stab: with FFmpeg and Transcode.
-vid.stab:
-vid.stab: Homepage: http://public.hronopik.de/vid.stab/
-vid.stab:
-vid.stab:
-vid.stab:
-vid.stab:
-vid.stab:
diff --git a/libraries/vid.stab/vid.stab.SlackBuild b/libraries/vid.stab/vid.stab.SlackBuild
deleted file mode 100644
index 447a063349..0000000000
--- a/libraries/vid.stab/vid.stab.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for vid.stab
-
-# Copyright 2015-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=vid.stab
-VERSION=${VERSION:-97c6ae2}
-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.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
- cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DUSE_OMP=0 \
- ..
-
- make VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
-
-if ! [ "${TRANSCODE:-no}" = "no" ]; then
- mkdir transcode/build
- cd transcode/build
- cmake \
- -DCMAKE_CXX_FLAGS="${SLKCFLAGS} -I/usr/include/transcode" \
- -DCMAKE_C_FLAGS="${SLKCFLAGS} -I/usr/include/transcode" \
- -DCMAKE_INSTALL_PREFIX="/usr" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- ..
-
- make VERBOSE=1
-
- mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/transcode
- install -m 755 filter_deshake.so $PKG/usr/lib$LIBDIRSUFFIX/transcode/
- install -m 755 filter_stabilize.so $PKG/usr/lib$LIBDIRSUFFIX/transcode/
- install -m 755 filter_transform.so $PKG/usr/lib$LIBDIRSUFFIX/transcode/
- 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 Changelog Install LICENSE 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:-tgz}
diff --git a/libraries/vid.stab/vid.stab.info b/libraries/vid.stab/vid.stab.info
deleted file mode 100644
index 1dcbb6343c..0000000000
--- a/libraries/vid.stab/vid.stab.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vid.stab"
-VERSION="97c6ae2"
-HOMEPAGE="http://public.hronopik.de/vid.stab/"
-DOWNLOAD="http://www.liwjatan.at/files/src/vid.stab/vid.stab-97c6ae2.tar.xz"
-MD5SUM="422fc30cec5453c817d40083220311e6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
diff --git a/libraries/vigra/vigra.SlackBuild b/libraries/vigra/vigra.SlackBuild
index 6221bdd75f..d55250fb95 100644
--- a/libraries/vigra/vigra.SlackBuild
+++ b/libraries/vigra/vigra.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for vigra
# Home Page http://ukoethe.github.io/vigra/
@@ -25,10 +25,16 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - move API docs to /usr/doc/$PRGNAM-$VERSION.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="vigra"
VERSION=${VERSION:-1.11.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -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}
@@ -69,9 +79,9 @@ chown -R root: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
@@ -83,22 +93,23 @@ cd build
-DWITH_OPENEXR=true \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-# 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
-
# copy documentation
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
+# 20220419 bkw: if this stuff exists, it belongs in the proper Slackware doc dir.
+for i in $PRGNAM ${PRGNAM}numpy; do
+ [ -e $PKG/usr/doc/$i ] && mv $PKG/usr/doc/$i $PKG/usr/doc/$PRGNAM-$VERSION
+done
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
# Make 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/libraries/virglrenderer/virglrenderer.SlackBuild b/libraries/virglrenderer/virglrenderer.SlackBuild
index f22f601a13..af28a5ea95 100644
--- a/libraries/virglrenderer/virglrenderer.SlackBuild
+++ b/libraries/virglrenderer/virglrenderer.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for virglrenderer
-# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2024 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=virglrenderer
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-1.0.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}
@@ -67,23 +77,25 @@ 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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-glx \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ -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
+ "${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
@@ -96,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/libraries/virglrenderer/virglrenderer.info b/libraries/virglrenderer/virglrenderer.info
index 574b3cf8a7..c5a2d4a842 100644
--- a/libraries/virglrenderer/virglrenderer.info
+++ b/libraries/virglrenderer/virglrenderer.info
@@ -1,8 +1,8 @@
PRGNAM="virglrenderer"
-VERSION="0.7.0"
+VERSION="1.0.1"
HOMEPAGE="https://virgil3d.github.io"
-DOWNLOAD="https://www.freedesktop.org/software/virgl/virglrenderer-0.7.0.tar.bz2"
-MD5SUM="f46ff65025c869c0ae86ba337cc699c2"
+DOWNLOAD="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/1.0.1/virglrenderer-1.0.1.tar.bz2"
+MD5SUM="c3d2785352a8e612858017d61377b74d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/virtualpg/README b/libraries/virtualpg/README
new file mode 100644
index 0000000000..2b9fe1b3e4
--- /dev/null
+++ b/libraries/virtualpg/README
@@ -0,0 +1,16 @@
+VirtualPG is a loadable dynamic extension to both SQLite and SpatiaLite.
+
+Its intended scope is supporting direct SQL access to PostgreSQL and
+PostGIS own tables, so to make any possible kind of data exchange
+between these two popular open source Spatial DBMSes as straightforward
+and simple as possible.
+
+Note: VirtualPG can access PostGIS Table which means that postgis is
+an OPTIONAL REQUIRE.
+
+VirtualPG is licensed under the MPL tri-license terms; you are free to
+choose the best-fit license among:
+
+ the MPL 1.1
+ the GPL v2.0 or any subsequent version
+ the LGPL v2.1 or any subsequent version
diff --git a/libraries/virtualpg/slack-desc b/libraries/virtualpg/slack-desc
new file mode 100644
index 0000000000..c5dd8ba6fa
--- /dev/null
+++ b/libraries/virtualpg/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------------------------------------------------------|
+virtualpg: virtualpg (a loadable dynamic extension to SQLite and SpatiaLite)
+virtualpg:
+virtualpg: Its intended scope is supporting direct SQL access to PostgreSQL and
+virtualpg: PostGIS own tables, so to make any possible kind of data exchange
+virtualpg: between these two popular open source Spatial DBMSes as
+virtualpg: straightforward and simple as possible.
+virtualpg:
+virtualpg: VirtualPG is licensed under the MPL tri-license terms; you are free to
+virtualpg: choose the best-fit license between: the MPL 1.1, the GPL v2.0 or any
+virtualpg: subsequent version or the LGPL v2.1 or any subsequent version
+virtualpg:
diff --git a/libraries/virtualpg/virtualpg.SlackBuild b/libraries/virtualpg/virtualpg.SlackBuild
new file mode 100644
index 0000000000..ed357f8468
--- /dev/null
+++ b/libraries/virtualpg/virtualpg.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for virtualpg2
+
+# Copyright 2022 Konrad J Hambrick Round Rock, TX 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=virtualpg
+VERSION=${VERSION:-2.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 {} \;
+
+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
+
+find $PKG -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 \
+ README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/virtualpg/virtualpg.info b/libraries/virtualpg/virtualpg.info
new file mode 100644
index 0000000000..bcf25faf6b
--- /dev/null
+++ b/libraries/virtualpg/virtualpg.info
@@ -0,0 +1,10 @@
+PRGNAM="virtualpg"
+VERSION="2.0.1"
+HOMEPAGE="https://www.gaia-gis.it/fossil/virtualpg/home"
+DOWNLOAD="https://www.gaia-gis.it/gaia-sins/virtualpg-2.0.1.tar.gz"
+MD5SUM="c90fc631ba99a64a6f225b31172d6b5d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="postgresql"
+MAINTAINER="Konrad J Hambrick"
+EMAIL="kjhambrick@gmail.com"
diff --git a/libraries/vmaf/README b/libraries/vmaf/README
new file mode 100644
index 0000000000..fbd22db11a
--- /dev/null
+++ b/libraries/vmaf/README
@@ -0,0 +1,7 @@
+VMAF is a perceptual video quality assessment algorithm
+developed by NetFlix. This software includes a standalone C
+library libvmaf and its wrapping python library. The python
+also provides a set of tools that allows user to train and test
+a custom VMAF model.
+
+This is an optional dependency for FFmpeg.
diff --git a/libraries/vmaf/slack-desc b/libraries/vmaf/slack-desc
new file mode 100644
index 0000000000..e3c9e06993
--- /dev/null
+++ b/libraries/vmaf/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------------------------------------------------------|
+vmaf: vmaf (Video Multi Method Assessment Fusion)
+vmaf:
+vmaf: VMAF is a perceptual video quality assessment algorithm
+vmaf: developed by Netflix.It includes a standalone C library
+vmaf: libvmaf and its wrapping python library. The python library
+vmaf: also provides a set of tools that allows user to train and
+vmaf: test custom VMAF models.
+vmaf:
+vmaf: Homepage: https://github.com/Netflix/vmaf
+vmaf:
+vmaf:
diff --git a/libraries/vmaf/vmaf.SlackBuild b/libraries/vmaf/vmaf.SlackBuild
new file mode 100644
index 0000000000..d487f0a79d
--- /dev/null
+++ b/libraries/vmaf/vmaf.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/bash
+
+# Slackware build script for vmaf
+
+# Copyright 2022-2024 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=vmaf
+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
+
+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
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -pv $TMP/$PRGNAM-$VERSION/libvmaf/build
+
+meson setup libvmaf/build libvmaf --buildtype release --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} -Denable_float=true && \
+
+ninja -v -C libvmaf/build
+
+DESTDIR=$PKG ninja -v -C $TMP/$PRGNAM-$VERSION/libvmaf/build install
+
+mkdir -pv $PKG/usr/share/$PRGNAM-$VERSION
+
+cp -dr --no-preserve='ownership' $TMP/$PRGNAM-$VERSION/model "$PKG/usr/share/$PRGNAM-$VERSION/"
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
+ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+mkdir -pv $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 -pv $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/vmaf/vmaf.info b/libraries/vmaf/vmaf.info
new file mode 100644
index 0000000000..2d5985a9c5
--- /dev/null
+++ b/libraries/vmaf/vmaf.info
@@ -0,0 +1,10 @@
+PRGNAM="vmaf"
+VERSION="3.0.0"
+HOMEPAGE="https://github.com/Netflix/vmaf/"
+DOWNLOAD="https://github.com/Netflix/vmaf/archive/v3.0.0/vmaf-3.0.0.tar.gz"
+MD5SUM="dfd67ebfbfcb66ce76abc56fde0df06f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="OpenBLAS python3-numpy"
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/libraries/volk/README b/libraries/volk/README
new file mode 100644
index 0000000000..051c36dfdd
--- /dev/null
+++ b/libraries/volk/README
@@ -0,0 +1,17 @@
+VOLK is the Vector-Optimized Library of Kernels. It is a free
+library, currently offered under the GPLv3, that contains kernels of
+hand-written SIMD code for different mathematical operations. Since
+each SIMD architecture can be very different and no compiler has yet
+come along to handle vectorization properly or highly efficiently,
+VOLK approaches the problem differently.
+
+For each architecture or platform that a developer wishes to vectorize
+for, a new proto-kernel is added to VOLK. At runtime, VOLK will
+select the correct proto-kernel. In this way, the users of VOLK call
+a kernel for performing the operation that is platform/architecture
+agnostic. This allows us to write portable SIMD code that is optimized
+for a variety of platforms.
+
+VOLK was introduced as a part of GNU Radio in late 2010 based on
+code released in the public domain. In 2015 it was released as an
+independent library for use by a wider audience.
diff --git a/libraries/volk/slack-desc b/libraries/volk/slack-desc
new file mode 100644
index 0000000000..9ebabff76f
--- /dev/null
+++ b/libraries/volk/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------------------------------------------------------|
+volk: volk (Vector-Optimized Library of Kernels)
+volk:
+volk: VOLK is the Vector-Optimized Library of Kernels. It is a free
+volk: library, currently offered under the GPLv3, that contains kernels of
+volk: hand-written SIMD code for different mathematical operations. Since
+volk: each SIMD architecture can be very different and no compiler has yet
+volk: come along to handle vectorization properly or highly efficiently,
+volk: VOLK approaches the problem differently.
+volk:
+volk: Homepage: https://www.libvolk.org/
+volk:
diff --git a/libraries/volk/volk.SlackBuild b/libraries/volk/volk.SlackBuild
new file mode 100644
index 0000000000..19b913438d
--- /dev/null
+++ b/libraries/volk/volk.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for volk
+
+# Copyright 2021 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=volk
+VERSION=${VERSION:-2.5.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+MODNAM=cpu_features
+MODVER=0.6.0
+
+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
+tar -C $MODNAM -xvf $CWD/$MODNAM-$MODVER.tar.gz --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 {} \;
+
+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 \
+ CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING DCO.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/libraries/volk/volk.info b/libraries/volk/volk.info
new file mode 100644
index 0000000000..570f8a4337
--- /dev/null
+++ b/libraries/volk/volk.info
@@ -0,0 +1,12 @@
+PRGNAM="volk"
+VERSION="2.5.0"
+HOMEPAGE="https://www.libvolk.org/"
+DOWNLOAD="https://github.com/gnuradio/volk/archive/v2.5.0/volk-2.5.0.tar.gz \
+ https://github.com/google/cpu_features/archive/v0.6.0/cpu_features-0.6.0.tar.gz"
+MD5SUM="f4a00ab7a05a8dfc150d5d39d6791777 \
+ 72a153f809bfab2253978959da0915ef"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"
diff --git a/libraries/vsqlite++/vsqlite++.SlackBuild b/libraries/vsqlite++/vsqlite++.SlackBuild
index f3ce072d02..ab1d3c5588 100644
--- a/libraries/vsqlite++/vsqlite++.SlackBuild
+++ b/libraries/vsqlite++/vsqlite++.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vsqlite++
-# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2021 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=vsqlite++
VERSION=${VERSION:-0.3.13}
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,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+if [ -e $CWD/vsqlite%2B%2B-$VERSION.tar.gz ] ; then
+ tar xvf $CWD/vsqlite%2B%2B-$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -84,6 +98,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
@@ -95,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/libraries/vst3sdk/README b/libraries/vst3sdk/README
new file mode 100644
index 0000000000..83b9734c38
--- /dev/null
+++ b/libraries/vst3sdk/README
@@ -0,0 +1,22 @@
+A VST plug-in is an audio processing component that is utilized within
+a host application. This host application provides the audio or/and
+event streams that are processed by the plug-in's code. Generally
+speaking, a VST plug-in can take a stream of audio data, apply a
+process to the audio, and return the result to the host application.
+A VST Plug-in performs its process normally using the processor of the
+computer. The audio stream is broken down into a series of blocks. The
+host supplies the blocks in sequence. The host and its current
+environment control the block-size. The VST Plug-in maintains the
+status of all its own parameters relating to the running process: The
+host does not maintain any information about what the Plug-in did with
+the last block of data it processed.
+
+From the host application's point of view, a VST plug-in is a black box
+with an arbitrary number of inputs, outputs (Event (MIDI) or Audio),
+and associated parameters. The host needs no implicit knowledge of the
+plug-in's process to be able to use it. The Plug-in process can use
+whatever parameters it wishes, internally to the process, but depending
+on the capabilities of the host, it can allow the changes to user
+parameters to be automated by the host.
+
+Details on how to use are found at www.steinberg.net/sdklicenses_vst3
diff --git a/libraries/vst3sdk/slack-desc b/libraries/vst3sdk/slack-desc
new file mode 100644
index 0000000000..c70562a6a4
--- /dev/null
+++ b/libraries/vst3sdk/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------------------------------------------------------|
+vst3sdk: vst3sdk (Software development kit for VST3 plug-ins)
+vst3sdk:
+vst3sdk: This allows plug-in developers to create plug-ins in VST 3 format and
+vst3sdk: host developers to load VST 3 plug-ins into a DAW or audio editor.
+vst3sdk:
+vst3sdk:
+vst3sdk:
+vst3sdk:
+vst3sdk:
+vst3sdk:
+vst3sdk:
diff --git a/libraries/vst3sdk/vst3sdk.SlackBuild b/libraries/vst3sdk/vst3sdk.SlackBuild
new file mode 100644
index 0000000000..dac030aab0
--- /dev/null
+++ b/libraries/vst3sdk/vst3sdk.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for vst3sdk
+
+# Copyright 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=vst3sdk
+VERSION=${VERSION:-3.7.9}
+SDK_BUILD=${SDK_BUILD:-_build_61}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+# git submodules
+BASE=4737789f52b4e2610a99257e9d93dcbe7717e72e
+CMAKE=3ad5b558e8f94a5825c5c4930a7ffd0760d68c43
+DOC=1a90e37662834a54aa5406eeaa8634027f7801f8
+PLUGINTERFACES=f0eeef7ca771f3cac2dfe1922dc5733349766c7b
+PUBLIC_SDK=e61ee76eb0f8771a05e99018bc4705ac1b603e48
+TUTORIALS=dc425c8e588a78147bc4c3616857b8918b809dcd
+VSTGUI=65c353fcad783dd6baa34a2b9dbe23bb9f88d035
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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$SDK_BUILD
+tar xf $CWD/$PRGNAM-$VERSION$SDK_BUILD.tar.gz
+cd $PRGNAM-$VERSION$SDK_BUILD
+chown -R root:root .
+
+mkdir -p $PKG/usr/include/vst3sdk/{base,cmake,pluginterfaces,public.sdk,tutorials,vstgui4}
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/doc
+mkdir -p $PKG/usr/share/pkgconfig
+cp $CWD/vst3sdk.pc $PKG/usr/share/pkgconfig
+sed -i "s/VERSION/$VERSION$SDK_BUILD/g" $PKG/usr/share/pkgconfig/vst3sdk.pc
+
+tar xvzf $CWD/vst3_base-$BASE.tar.gz --strip-components=1 -C $PKG/usr/include/vst3sdk/base
+tar xvzf $CWD/vst3_cmake-$CMAKE.tar.gz --strip-components=1 -C $PKG/usr/include/vst3sdk/cmake
+tar xvzf $CWD/vst3_doc-$DOC.tar.gz --strip-components=1 -C $PKG/usr/doc/$PRGNAM-$VERSION/doc
+tar xvzf $CWD/vst3_pluginterfaces-$PLUGINTERFACES.tar.gz --strip-components=1 -C $PKG/usr/include/vst3sdk/pluginterfaces
+tar xvzf $CWD/vst3_public_sdk-$PUBLIC_SDK.tar.gz --strip-components=1 -C $PKG/usr/include/vst3sdk/public.sdk
+tar xvzf $CWD/vst3_tutorials-$TUTORIALS.tar.gz --strip-components=1 -C $PKG/usr/include/vst3sdk/tutorials
+tar xvzf $CWD/vstgui-$VSTGUI.tar.gz --strip-components=1 -C $PKG/usr/include/vst3sdk/vstgui4
+cp CMakeLists.txt $PKG/usr/include/vst3sdk
+
+cp -a \
+ LICENSE.txt \
+ README.md \
+ VST3_License_Agreement.pdf \
+ VST3_Usage_Guidelines.pdf \
+ index.html \
+$PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+chmod 755 $PKG/usr/include/vst3sdk
+find $PKG/usr/include/vst3sdk -type d -exec chmod 755 {} +
+find $PKG/usr/include/vst3sdk -type f -exec chmod 644 {} +
+
+chmod 755 $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc/$PRGNAM-$VERSION -type d -exec chmod 755 {} +
+find $PKG/usr/doc/$PRGNAM-$VERSION -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/libraries/vst3sdk/vst3sdk.info b/libraries/vst3sdk/vst3sdk.info
new file mode 100644
index 0000000000..63cfe6bb0c
--- /dev/null
+++ b/libraries/vst3sdk/vst3sdk.info
@@ -0,0 +1,24 @@
+PRGNAM="vst3sdk"
+VERSION="3.7.9"
+HOMEPAGE="https://www.steinberg.net/developers/"
+DOWNLOAD="https://github.com/steinbergmedia/vst3sdk/archive/v3.7.9_build_61/vst3sdk-3.7.9_build_61.tar.gz \
+ https://github.com/steinbergmedia/vst3_base/archive/4737789/vst3_base-4737789f52b4e2610a99257e9d93dcbe7717e72e.tar.gz \
+ https://github.com/steinbergmedia/vst3_cmake/archive/3ad5b55/vst3_cmake-3ad5b558e8f94a5825c5c4930a7ffd0760d68c43.tar.gz \
+ https://github.com/steinbergmedia/vst3_doc/archive/1a90e37/vst3_doc-1a90e37662834a54aa5406eeaa8634027f7801f8.tar.gz \
+ https://github.com/steinbergmedia/vst3_pluginterfaces/archive/f0eeef7/vst3_pluginterfaces-f0eeef7ca771f3cac2dfe1922dc5733349766c7b.tar.gz \
+ https://github.com/steinbergmedia/vst3_public_sdk/archive/e61ee76/vst3_public_sdk-e61ee76eb0f8771a05e99018bc4705ac1b603e48.tar.gz \
+ https://github.com/steinbergmedia/vst3_tutorials/archive/dc425c8/vst3_tutorials-dc425c8e588a78147bc4c3616857b8918b809dcd.tar.gz \
+ https://github.com/steinbergmedia/vstgui/archive/65c353f/vstgui-65c353fcad783dd6baa34a2b9dbe23bb9f88d035.tar.gz"
+MD5SUM="463991d7841d15c719a7e06f052b70af\
+ 42f09893f870635fea4f689aa6b9de98\
+ 9017e25a9ccb87d2de14a7936a37e581\
+ 53f1eece19363900ccb9f49261e97ffd\
+ 739bd26a2c2e786d9338e13042e20ee6\
+ cdc51a80c28577308b037caeeb274dd2\
+ f040faf28ba22514fcbe13667c1435ff\
+ b332b0cce26311a2a419b162be53ea54"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"
diff --git a/libraries/vst3sdk/vst3sdk.pc b/libraries/vst3sdk/vst3sdk.pc
new file mode 100644
index 0000000000..03d3ba8845
--- /dev/null
+++ b/libraries/vst3sdk/vst3sdk.pc
@@ -0,0 +1,5 @@
+Name: vst3sdk
+Description: VST 3 Plug-In SDK
+Version: VERSION
+Cflags: -I/usr/include/vst3sdk
+Libs:
diff --git a/libraries/vte2/README b/libraries/vte2/README
new file mode 100644
index 0000000000..4c78dea1a2
--- /dev/null
+++ b/libraries/vte2/README
@@ -0,0 +1,7 @@
+VTE2 is a terminal emulator widget for use with GTK+2.
+This package contains the VTE library and development files and
+a sample implementation (vte).
+
+This package can be installed side by side with vte included in
+the default Slackware installation since this package is intended
+for use with GTK+2.
diff --git a/libraries/vte2/fix_meta_alt_keybinding.patch b/libraries/vte2/fix_meta_alt_keybinding.patch
new file mode 100644
index 0000000000..bd364be584
--- /dev/null
+++ b/libraries/vte2/fix_meta_alt_keybinding.patch
@@ -0,0 +1,74 @@
+From 180dcc578e13c6096e277fb853e7162db640f207 Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Tue, 15 Nov 2011 03:06:40 -0500
+Subject: [PATCH] Map both gdk's Meta and Alt to vte's Meta for >=gtk+-3.2.2
+ compatibility
+
+Also, since VTE_META_MASK is now a mask with multiple bits set, code that
+compares gdk key modifiers to VTE_META_MASK by numerical equality is no
+longer guaranteed to work. Therefore, for such comparisons a new function,
+vte_keymap_fixup_modifiers, is introduced; it ensures that if any bits
+matching matching VTE_META_MASK are set, then all are set.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=663779
+---
+ src/keymap.c | 15 +++++++++++++--
+ src/keymap.h | 2 +-
+ 2 files changed, 14 insertions(+), 3 deletions(-)
+
+diff --git a/src/keymap.c b/src/keymap.c
+index 9a21669..95b4c5b 100644
+--- a/src/keymap.c
++++ b/src/keymap.c
+@@ -990,6 +990,17 @@ static const struct _vte_keymap_group {
+ {GDK_KEY (F35), _vte_keymap_GDK_F35},
+ };
+
++/* Restrict modifiers to the specified mask and ensure that VTE_META_MASK,
++ * despite being a compound mask, is treated as indivisible. */
++GdkModifierType
++_vte_keymap_fixup_modifiers(GdkModifierType modifiers,
++ GdkModifierType mask)
++{
++ if (modifiers & VTE_META_MASK)
++ modifiers |= VTE_META_MASK;
++ return modifiers & mask;
++}
++
+ /* Map the specified keyval/modifier setup, dependent on the mode, to either
+ * a literal string or a capability name. */
+ void
+@@ -1104,7 +1115,7 @@ _vte_keymap_map(guint keyval,
+ } else {
+ fkey_mode = fkey_default;
+ }
+- modifiers &= (GDK_SHIFT_MASK | GDK_CONTROL_MASK | VTE_META_MASK | VTE_NUMLOCK_MASK);
++ modifiers = _vte_keymap_fixup_modifiers(modifiers, GDK_SHIFT_MASK | GDK_CONTROL_MASK | VTE_META_MASK | VTE_NUMLOCK_MASK);
+
+ /* Search for the conditions. */
+ for (i = 0; entries[i].normal_length || entries[i].special[0]; i++)
+@@ -1375,7 +1386,7 @@ _vte_keymap_key_add_key_modifiers(guint keyval,
+ return;
+ }
+
+- switch (modifiers & significant_modifiers) {
++ switch (_vte_keymap_fixup_modifiers(modifiers, significant_modifiers)) {
+ case 0:
+ modifier = 0;
+ break;
+diff --git a/src/keymap.h b/src/keymap.h
+index 243e22e..21d9b8e 100644
+--- a/src/keymap.h
++++ b/src/keymap.h
+@@ -27,7 +27,7 @@
+
+ G_BEGIN_DECLS
+
+-#define VTE_META_MASK GDK_META_MASK
++#define VTE_META_MASK (GDK_META_MASK | GDK_MOD1_MASK)
+ #define VTE_NUMLOCK_MASK GDK_MOD2_MASK
+
+ /* Map the specified keyval/modifier setup, dependent on the mode, to either
+--
+1.7.8.rc3
+
diff --git a/libraries/vte2/slack-desc b/libraries/vte2/slack-desc
new file mode 100644
index 0000000000..1c583a507c
--- /dev/null
+++ b/libraries/vte2/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------------------------------------------------------|
+vte2: vte2 (gtk+2 terminal emulator widget)
+vte2:
+vte2: VTE2 is a terminal emulator widget for use with GTK+2. This package
+vte2: contains the VTE library and development files and a sample
+vte2: implementation (vte).
+vte2:
+vte2: homepage: https://github.com/GNOME/vte
+vte2:
+vte2:
+vte2:
+vte2:
diff --git a/libraries/vte2/vte.escape.cpu.usage.diff b/libraries/vte2/vte.escape.cpu.usage.diff
new file mode 100644
index 0000000000..e82cf46877
--- /dev/null
+++ b/libraries/vte2/vte.escape.cpu.usage.diff
@@ -0,0 +1,89 @@
+--- ./src/table.c.orig 2011-08-16 16:52:48.000000000 -0500
++++ ./src/table.c 2012-08-08 21:25:15.080344805 -0500
+@@ -550,7 +550,7 @@
+ if (G_UNLIKELY (*array == NULL)) {
+ *array = g_value_array_new(1);
+ }
+- g_value_set_long(&value, total);
++ g_value_set_long(&value, CLAMP (total, 0, G_MAXUSHORT));
+ g_value_array_append(*array, &value);
+ } while (i++ < arginfo->length);
+ g_value_unset(&value);
+--- ./src/vteseq.c.orig 2011-08-16 16:52:48.000000000 -0500
++++ ./src/vteseq.c 2012-08-08 21:25:15.104344804 -0500
+@@ -557,7 +557,7 @@
+ GValueArray *params,
+ VteTerminalSequenceHandler handler)
+ {
+- vte_sequence_handler_multiple_limited(terminal, params, handler, G_MAXLONG);
++ vte_sequence_handler_multiple_limited(terminal, params, handler, G_MAXUSHORT);
+ }
+
+ static void
+@@ -1392,7 +1392,7 @@
+ static void
+ vte_sequence_handler_DC (VteTerminal *terminal, GValueArray *params)
+ {
+- vte_sequence_handler_multiple(terminal, params, vte_sequence_handler_dc);
++ vte_sequence_handler_multiple_r(terminal, params, vte_sequence_handler_dc);
+ }
+
+ /* Delete a line at the current cursor position. */
+@@ -1785,7 +1785,7 @@
+ static void
+ vte_sequence_handler_RI (VteTerminal *terminal, GValueArray *params)
+ {
+- vte_sequence_handler_multiple(terminal, params, vte_sequence_handler_nd);
++ vte_sequence_handler_multiple_r(terminal, params, vte_sequence_handler_nd);
+ }
+
+ /* Save cursor (position). */
+@@ -2777,8 +2777,7 @@
+ {
+ GValue *value;
+ VteScreen *screen;
+- long param, end, row;
+- int i;
++ long param, end, row, i, limit;
+ screen = terminal->pvt->screen;
+ /* The default is one. */
+ param = 1;
+@@ -2796,7 +2795,13 @@
+ } else {
+ end = screen->insert_delta + terminal->row_count - 1;
+ }
+- /* Insert the new lines at the cursor. */
++
++ /* Only allow to insert as many lines as there are between this row
++ * and the end of the scrolling region. See bug #676090.
++ */
++ limit = end - row + 1;
++ param = MIN (param, limit);
++
+ for (i = 0; i < param; i++) {
+ /* Clear a line off the end of the region and add one to the
+ * top of the region. */
+@@ -2817,8 +2822,7 @@
+ {
+ GValue *value;
+ VteScreen *screen;
+- long param, end, row;
+- int i;
++ long param, end, row, i, limit;
+
+ screen = terminal->pvt->screen;
+ /* The default is one. */
+@@ -2837,6 +2841,13 @@
+ } else {
+ end = screen->insert_delta + terminal->row_count - 1;
+ }
++
++ /* Only allow to delete as many lines as there are between this row
++ * and the end of the scrolling region. See bug #676090.
++ */
++ limit = end - row + 1;
++ param = MIN (param, limit);
++
+ /* Clear them from below the current cursor. */
+ for (i = 0; i < param; i++) {
+ /* Insert a line at the end of the region and remove one from
diff --git a/libraries/vte2/vte2.SlackBuild b/libraries/vte2/vte2.SlackBuild
new file mode 100644
index 0000000000..9f1fde767f
--- /dev/null
+++ b/libraries/vte2/vte2.SlackBuild
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# Slackware build script for vte2
+
+# Copyright 2017 Matteo Bernardini <ponce@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=vte2
+SRCNAM=vte
+VERSION=${VERSION:-0.28.2}
+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 [ "$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.?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 {} \;
+
+# https://bugzilla.gnome.org/show_bug.cgi?id=663779
+patch -p1 < $CWD/fix_meta_alt_keybinding.patch
+
+# Escape sequences can cause high CPU usage (CVE-2012-2738):
+patch -p1 < $CWD/vte.escape.cpu.usage.diff
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --disable-introspection \
+ --enable-python \
+ --enable-gnome-pty-helper \
+ --with-gtk=2.0 \
+ --with-default-emulation=xterm \
+ --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 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
+
diff --git a/libraries/vte2/vte2.info b/libraries/vte2/vte2.info
new file mode 100644
index 0000000000..2ed7a7f4f6
--- /dev/null
+++ b/libraries/vte2/vte2.info
@@ -0,0 +1,10 @@
+PRGNAM="vte2"
+VERSION="0.28.2"
+HOMEPAGE="https://github.com/GNOME/vte"
+DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/vte/0.28/vte-0.28.2.tar.xz"
+MD5SUM="497f26e457308649e6ece32b3bb142ff"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/vte3-ng/README b/libraries/vte3-ng/README
deleted file mode 100644
index 18663adfbe..0000000000
--- a/libraries/vte3-ng/README
+++ /dev/null
@@ -1,9 +0,0 @@
-VTE is a library (libvte) implementing a terminal emulator widget for
-GTK+, and a minimal sample application (vte) using that. Vte is mainly
-used in gnome-terminal, but can also be used to embed a console/terminal
-in games, editors, IDEs, etc.
-
-This package will conflicts with vte3, so be sure to remove it first
-before installing this package.
-
- # /sbin/removepkg vte3
diff --git a/libraries/vte3-ng/slack-desc b/libraries/vte3-ng/slack-desc
deleted file mode 100644
index 54bcb7a372..0000000000
--- a/libraries/vte3-ng/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------------------------------------------------------|
-vte3-ng: vte3-ng (enhanced vte terminal widget)
-vte3-ng:
-vte3-ng: VTE is a library (libvte) implementing a terminal emulator widget for
-vte3-ng: GTK+, and a minimal sample application (vte) using that. Vte is
-vte3-ng: mainly used in gnome-terminal, but can also be used to embed a
-vte3-ng: console/terminal in games, editors, IDEs, etc.
-vte3-ng:
-vte3-ng:
-vte3-ng:
-vte3-ng:
-vte3-ng:
diff --git a/libraries/vte3-ng/vte3-ng.SlackBuild b/libraries/vte3-ng/vte3-ng.SlackBuild
deleted file mode 100644
index bce5471b2f..0000000000
--- a/libraries/vte3-ng/vte3-ng.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for vte3-ng
-
-# Copyright 2017-2018 Azure Zanculmarktum <zanculmarktum@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=vte3-ng
-VERSION=${VERSION:-0.50.2.a}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=${PRGNAM%3*}${PRGNAM#*3}
-
-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
-
-cd /var/log/packages
- for f in vte3*; do
- if echo "$f" | grep '^vte3-[^-]*-[^-]*-[^-]*$' >/dev/null 2>&1; then
- echo "vte3 package exists. Remove it first before continuing."
- echo " # /sbin/removepkg vte3"
- exit 1
- fi
- done
-cd - >/dev/null
-
-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 {} \;
-
-./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-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING 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/libraries/vte3-ng/vte3-ng.info b/libraries/vte3-ng/vte3-ng.info
deleted file mode 100644
index b7ef6e740b..0000000000
--- a/libraries/vte3-ng/vte3-ng.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vte3-ng"
-VERSION="0.50.2.a"
-HOMEPAGE="https://github.com/thestinger/vte-ng"
-DOWNLOAD="https://github.com/thestinger/vte-ng/archive/0.50.2.a/vte-ng-0.50.2.a.tar.gz"
-MD5SUM="af0863ef1b19250bedc903fc23c6bb08"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="pcre2 vala"
-MAINTAINER="Azure Zanculmarktum"
-EMAIL="zanculmarktum@gmail.com"
diff --git a/libraries/vte3/README b/libraries/vte3/README
deleted file mode 100644
index 86da295880..0000000000
--- a/libraries/vte3/README
+++ /dev/null
@@ -1,7 +0,0 @@
-VTE3 is a terminal emulator widget for use with GTK+3. This package
-contains the VTE library and development files and a sample
-implementation (vte).
-
-This package can be installed side by side with vte included
-in default Slackware installation since this package is intended for
-use with GTK+3.
diff --git a/libraries/vte3/slack-desc b/libraries/vte3/slack-desc
deleted file mode 100644
index 7f685687da..0000000000
--- a/libraries/vte3/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------------------------------------------------------|
-vte3: vte3 (terminal emulator widget)
-vte3:
-vte3: VTE3 is a terminal emulator widget for use with GTK+3. This package
-vte3: contains the VTE library and development files and a sample
-vte3: implementation (vte).
-vte3:
-vte3: VTE is used by XFce.
-vte3:
-vte3: homepage: https://github.com/GNOME/vte
-vte3:
-vte3:
diff --git a/libraries/vte3/vte3.SlackBuild b/libraries/vte3/vte3.SlackBuild
deleted file mode 100644
index 22767e6827..0000000000
--- a/libraries/vte3/vte3.SlackBuild
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for vte3
-
-# Copyright 2012-2017 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.
-
-SRCNAM=vte
-PRGNAM=vte3
-VERSION=${VERSION:-0.50.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
-
-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=$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 {} \;
-
-./autogen.sh
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --enable-introspection \
- --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 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/libraries/vte3/vte3.info b/libraries/vte3/vte3.info
deleted file mode 100644
index c6411ff75b..0000000000
--- a/libraries/vte3/vte3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vte3"
-VERSION="0.50.2"
-HOMEPAGE="https://github.com/GNOME/vte"
-DOWNLOAD="https://github.com/GNOME/vte/archive/0.50.2/vte-0.50.2.tar.gz"
-MD5SUM="bf2dfda34b2d641c5b9b839d1abcf410"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="vala pcre2"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/wangle/README b/libraries/wangle/README
deleted file mode 100644
index 906048204d..0000000000
--- a/libraries/wangle/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Wangle is a framework providing a set of common client/server
-abstractions for building services in a consistent, modular,
-and composable way.
-
-Wangle is a library that makes it easy to build protocols,
-application clients, and application servers.
-It's like Netty + Finagle smooshed together, but in C++.
diff --git a/libraries/wangle/slack-desc b/libraries/wangle/slack-desc
deleted file mode 100644
index 3d68beb7d9..0000000000
--- a/libraries/wangle/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------------------------------------------------------|
-wangle: wangle (C++ networking library)
-wangle:
-wangle: Wangle is a framework providing a set of common client/server
-wangle: abstractions for building services in a consistent, modular,
-wangle: and composable way.
-wangle:
-wangle:
-wangle:
-wangle:
-wangle: https://github.com/facebook/wangle
-wangle:
diff --git a/libraries/wangle/wangle.SlackBuild b/libraries/wangle/wangle.SlackBuild
deleted file mode 100644
index eb08bc04f3..0000000000
--- a/libraries/wangle/wangle.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Wangle
-
-# 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=wangle
-VERSION=${VERSION:-2017.09.25.00}
-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 {} \;
-
-pushd wangle
-sed -i -e "s#DESTINATION lib)#DESTINATION lib${LIBDIRSUFFIX})#" 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 \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DBUILD_TESTS:BOOL=OFF ..
- make
- make install DESTDIR=$PKG
-cd ..
-popd
-
-find $PKG -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 tutorial.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/libraries/wangle/wangle.info b/libraries/wangle/wangle.info
deleted file mode 100644
index c3422a7f8c..0000000000
--- a/libraries/wangle/wangle.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wangle"
-VERSION="2017.09.25.00"
-HOMEPAGE="https://github.com/facebook/wangle"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/facebook/wangle/archive/v2017.09.25.00/wangle-2017.09.25.00.tar.gz"
-MD5SUM_x86_64="af9cd0dfb1e40b1834da5a6f9d04bb66"
-REQUIRES="folly"
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
diff --git a/libraries/wayland/README b/libraries/wayland/README
deleted file mode 100644
index f6190360a2..0000000000
--- a/libraries/wayland/README
+++ /dev/null
@@ -1,16 +0,0 @@
-The Wayland display server
-
-Wayland is a project to define a protocol for a compositor to talk
-to its clients as well as a library implementation of the protocol.
-The compositor can be a standalone display server running on Linux
-kernel modesetting and evdev input devices, an X application, or a
-wayland client itself. The clients can be traditional applications,
-X servers (rootless or fullscreen) or other display servers.
-
-Optional Dependency
-
-Building man and html documentation is optional. If you want to build
-that, install graphviz 2.38.0 (ATTENTION!! 2.40.1 is not working!)
-and execute the slackbuild with
-
- GRAPHVIZ=yes ./wayland.SlackBuild
diff --git a/libraries/wayland/slack-desc b/libraries/wayland/slack-desc
deleted file mode 100644
index f433f282b7..0000000000
--- a/libraries/wayland/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------------------------------------------------------|
-wayland: wayland (The Wayland display server)
-wayland:
-wayland: Wayland is a project to define a protocol for a compositor to talk
-wayland: to its clients as well as a library implementation of the protocol.
-wayland: The compositor can be a standalone display server running on Linux
-wayland: kernel modesetting and evdev input devices, an X application, or a
-wayland: wayland client itself. The clients can be traditional applications,
-wayland: X servers (rootless or fullscreen) or other display servers.
-wayland:
-wayland: Homepage: http://wayland.freedesktop.org/
-wayland:
diff --git a/libraries/wayland/wayland.SlackBuild b/libraries/wayland/wayland.SlackBuild
deleted file mode 100644
index 2fce345824..0000000000
--- a/libraries/wayland/wayland.SlackBuild
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Wayland
-
-# Copyright 2014-2017 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.
-
-PRGNAM=wayland
-VERSION=${VERSION:-1.12.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 {} \;
-
-# Building man and html documentation is optional.
-# If you want to build that, install pre-req graphviz 2.38.0 (2.40.1 is failling)
-# and execute the slackbuild with "GRAPHVIZ=yes ./wayland.SlackBuild".
-GRAPHVIZ=${GRAPHVIZ:-no}
-case "$GRAPHVIZ" in
- no) DISABLE_DOC="--disable-documentation" ;;
- *) DISABLE_DOC="" ;;
-esac
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- $DISABLE_DOC \
- --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
-
-if [ -z "$DISABLE_DOC" ]; 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 README TODO doc/Contributing $PKG/usr/doc/$PRGNAM-$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/libraries/wayland/wayland.info b/libraries/wayland/wayland.info
deleted file mode 100644
index 78b6ba2600..0000000000
--- a/libraries/wayland/wayland.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wayland"
-VERSION="1.12.0"
-HOMEPAGE="https://wayland.freedesktop.org/"
-DOWNLOAD="https://wayland.freedesktop.org/releases/wayland-1.12.0.tar.xz"
-MD5SUM="ee615e2d1e205eec48b02f069327eb96"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Diniz Bortolotto"
-EMAIL="diniz.bortolotto@gmail.com"
diff --git a/libraries/waylandpp/README b/libraries/waylandpp/README
new file mode 100644
index 0000000000..0153874b11
--- /dev/null
+++ b/libraries/waylandpp/README
@@ -0,0 +1,10 @@
+waylandpp (Wayland C++ bindings)
+
+Wayland is an object oriented display protocol, which features request
+and events. Requests can be seen as method calls on certain objects,
+whereas events can be seen as signals of an object. This makes the
+Wayland protocol a perfect candidate for a C++ binding.
+
+The goal of this library is to create such a C++ binding for Wayland
+using the most modern C++ technology currently available, providing
+an easy to use C++ API to Wayland.
diff --git a/libraries/waylandpp/slack-desc b/libraries/waylandpp/slack-desc
new file mode 100644
index 0000000000..9e874d7f6d
--- /dev/null
+++ b/libraries/waylandpp/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------------------------------------------------------|
+waylandpp: waylandpp (Wayland C++ bindings)
+waylandpp:
+waylandpp: Wayland is an object oriented display protocol, which features request
+waylandpp: and events. Requests can be seen as method calls on certain objects,
+waylandpp: whereas events can be seen as signals of an object. This makes the
+waylandpp: Wayland protocol a perfect candidate for a C++ binding.
+waylandpp:
+waylandpp: The goal of this library is to create such a C++ binding for Wayland
+waylandpp: using the most modern C++ technology currently available, providing
+waylandpp: an easy to use C++ API to Wayland.
+waylandpp:
diff --git a/libraries/waylandpp/waylandpp.SlackBuild b/libraries/waylandpp/waylandpp.SlackBuild
new file mode 100644
index 0000000000..05ac0a64e4
--- /dev/null
+++ b/libraries/waylandpp/waylandpp.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for waylandpp
+
+# Copyright 2023 Jeremy Hansen jebrhansen+SBo@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=waylandpp
+VERSION=${VERSION:-1.0.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+#set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_DOCUMENTATION=$DOCS \
+ -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
+
+# Man page location is hardcoded. Let's move it.
+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
+# Doc location is hardcoded. Let's move it.
+mv $PKG/usr/share/doc/waylandpp/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -r $PKG/usr/share/doc/
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/waylandpp/waylandpp.info b/libraries/waylandpp/waylandpp.info
new file mode 100644
index 0000000000..9332c83ef2
--- /dev/null
+++ b/libraries/waylandpp/waylandpp.info
@@ -0,0 +1,10 @@
+PRGNAM="waylandpp"
+VERSION="1.0.0"
+HOMEPAGE="https://nilsbrause.github.io/waylandpp_docs/"
+DOWNLOAD="https://github.com/NilsBrause/waylandpp/archive/refs/tags/1.0.0/waylandpp-1.0.0.tar.gz"
+MD5SUM="2b0892152599210e9797a0651a119f65"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pugixml graphviz"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/libraries/wcslib/README b/libraries/wcslib/README
deleted file mode 100644
index 8ea64be5d9..0000000000
--- a/libraries/wcslib/README
+++ /dev/null
@@ -1,11 +0,0 @@
-WCSLIB is a set of C library routines that implements the World
-Coordinate System (WCS) standard in FITS (Flexible Image Transport
-System). It comes with support for FORTRAN via a set of wrapper
-functions. It also includes a general curvilinear axis drawing
-routine, PGSBOX, for PGPLOT. Another included utility program is
-HPXcvt, which is used to convert 1D HEALPix pixelization data stored
-in a variety of forms in FITS into a 2D primary image array with HPX
-or XPH coordinate representation.
-
-Usage with gcc compiler: use "-lwcs" command line argument for linking
-at compile time.
diff --git a/libraries/wcslib/slack-desc b/libraries/wcslib/slack-desc
deleted file mode 100644
index 2051c37450..0000000000
--- a/libraries/wcslib/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------------------------------------------------------|
-wcslib: wcslib (World Coordinate System for FITS)
-wcslib:
-wcslib: WCSLIB is a C library, supplied with a full set of Fortran wrappers,
-wcslib: that implements the World Coordinate System (WCS) standard in FITS
-wcslib: (Flexible Image Transport System). It also includes a PGPLOT-based
-wcslib: routine, PGSBOX, for drawing general curvilinear coordinate
-wcslib: graticules and a number of utility programs.
-wcslib:
-wcslib:
-wcslib: Homepage: http://www.atnf.csiro.au/people/mcalabre/WCS/
-wcslib:
diff --git a/libraries/wcslib/wcslib.SlackBuild b/libraries/wcslib/wcslib.SlackBuild
deleted file mode 100644
index 2a86fa0085..0000000000
--- a/libraries/wcslib/wcslib.SlackBuild
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for WCSLib
-
-# Copyright 2018 Nitish Ragoomundun, Mauritius
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=wcslib
-VERSION=${VERSION:-5.19.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.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-
-# Paths for PGPLOT in case it is not set properly
-PGPLOT_DIR="/usr/lib${LIBDIRSUFFIX}/pgplot"
-LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib${LIBDIRSUFFIX}/pgplot"
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-cfitsio \
- --with-cfitsiolib=/usr/lib${LIBDIRSUFFIX} \
- --with-cfitsioinc=/usr/include \
- --with-pgplot \
- --with-pgplotlib=${PGPLOT_DIR} \
- --with-pgplotinc=${PGPLOT_DIR} \
- --with-x \
- --build=$ARCH-slackware-linux
-
-make -j1
-make install DESTDIR=$PKG
-
-# Give root write permission on regular files as
-# many of them get 444 permissions by default
-find $PKG -type f -exec chmod u+w \{\} \;
-
-find $PKG -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/libraries/wcslib/wcslib.info b/libraries/wcslib/wcslib.info
deleted file mode 100644
index 5a3951006b..0000000000
--- a/libraries/wcslib/wcslib.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wcslib"
-VERSION="5.19.1"
-HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
-DOWNLOAD="ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-5.19.1.tar.bz2"
-MD5SUM="3d4f34a16577111e901bd3710904dd78"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="cfitsio pgplot"
-MAINTAINER="Nitish Ragoomundun"
-EMAIL="lrugratz@gmail.com"
diff --git a/libraries/web.py/README b/libraries/web.py/README
index b416c51cba..107f4822ba 100644
--- a/libraries/web.py/README
+++ b/libraries/web.py/README
@@ -1,3 +1,3 @@
-Web.py is a web framework for Python that is as simple as it is powerful.
-web.py is in the public domain; you can use it for whatever purpose with
-absolutely no restrictions.
+Web.py is a web framework for Python that is as simple as it is
+powerful. web.py is in the public domain; you can use it for whatever
+purpose with absolutely no restrictions.
diff --git a/libraries/web.py/web.py.SlackBuild b/libraries/web.py/web.py.SlackBuild
index 171cbadf93..209caed33a 100644
--- a/libraries/web.py/web.py.SlackBuild
+++ b/libraries/web.py/web.py.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for web.py
@@ -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=web.py
VERSION=${VERSION:-0.37}
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/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch b/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch
new file mode 100644
index 0000000000..62b893bdfc
--- /dev/null
+++ b/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch
@@ -0,0 +1,33 @@
+From 3d5373575695b293b8559155431d0079a6153aff Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro <mcatanzaro@redhat.com>
+Date: Mon, 5 Feb 2024 11:00:49 -0600
+Subject: [PATCH] =?UTF-8?q?[GTK]=20[2.42.5]=20LowLevelInterpreter.cpp:339:?=
+ =?UTF-8?q?21:=20error:=20=E2=80=98t6=E2=80=99=20was=20not=20declared=20in?=
+ =?UTF-8?q?=20this=20scope=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid?=
+ =?UTF-8?q?=3D268739?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Unreviewed build fix. Seems a backport went badly, and we didn't notice
+because the code is architecture-specific.
+
+* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:
+(JSC::CLoop::execute):
+---
+ Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+index 5064ead6cd2e7..9a2e2653b1219 100644
+--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
++++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
+ UNUSED_VARIABLE(t2);
+ UNUSED_VARIABLE(t3);
+ UNUSED_VARIABLE(t5);
+- UNUSED_VARIABLE(t6);
+- UNUSED_VARIABLE(t7);
+
+ struct StackPointerScope {
+ StackPointerScope(CLoopStack& stack)
diff --git a/libraries/webkit2gtk/README b/libraries/webkit2gtk/README
index fc82e5029b..a1da0642c3 100644
--- a/libraries/webkit2gtk/README
+++ b/libraries/webkit2gtk/README
@@ -6,4 +6,11 @@ It offers WebKit's full functionality and is useful in a wide range
of systems from desktop computers to embedded systems like phones,
tablets, and televisions.
-This package provides WebKit2 API and can co-exist with webkitgtk{3}.
+NOTE:
+This package builds the 4.0 WebKit API. If you need 4.1 WebKit API,
+use webkit2gtk4.1. Don't install both at the same time!!
+
+If your application is not working well after upgrading to this
+version, consider adding this environment variable before running
+the application:
+export WEBKIT_DISABLE_COMPOSITING_MODE=1
diff --git a/libraries/webkit2gtk/unhide-deprecated-api.patch b/libraries/webkit2gtk/unhide-deprecated-api.patch
new file mode 100644
index 0000000000..1133632b2d
--- /dev/null
+++ b/libraries/webkit2gtk/unhide-deprecated-api.patch
@@ -0,0 +1,12 @@
+diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
+index 6fa104c82992..8c8640c3dee7 100644
+--- a/Source/WTF/wtf/Platform.h
++++ b/Source/WTF/wtf/Platform.h
+@@ -113,7 +113,6 @@
+
+ /* FIXME: This does not belong in Platform.h and should instead be included in another mechanism (compiler option, prefix header, config.h, etc) */
+ /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */
+-#define U_HIDE_DEPRECATED_API 1
+ #define U_SHOW_CPLUSPLUS_API 0
+ #ifdef __cplusplus
+ #define UCHAR_TYPE char16_t
diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild
index d54d9bfc36..fe4f736d00 100644
--- a/libraries/webkit2gtk/webkit2gtk.SlackBuild
+++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for webkit2gtk
#
-# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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=webkit2gtk
SRCNAM=webkitgtk
-VERSION=${VERSION:-2.20.5}
+VERSION=${VERSION:-2.44.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,6 +43,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" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -55,10 +62,6 @@ else
LIBDIRSUFFIX=""
fi
-# This is needed to fix build issue on single make job
-# Thanks to ponce for investigating this issue.
-export MAKEFLAGS=${MAKEFLAGS:--j2}
-
set -eu
rm -rf $PKG
@@ -74,19 +77,43 @@ 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/unhide-deprecated-api.patch
+patch -p1 < $CWD/3d5373575695b293b8559155431d0079a6153aff.patch
+
mkdir -p build
cd build
cmake -DPORT=GTK \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-DLIBEXEC_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/webkit2gtk-4.0 \
- -DENABLE_MEDIA_SOURCE=NO \
- -DUSE_GSTREAMER_GL=NO \
+ -DENABLE_GAMEPAD=OFF \
+ -DENABLE_MINIBROWSER=ON \
+ -DUSE_SOUP2=ON \
+ -DENABLE_JOURNALD_LOG=OFF \
+ -DENABLE_DOCUMENTATION=OFF \
+ -DENABLE_BUBBLEWRAP_SANDBOX=off \
+ -DUSE_SYSTEM_MALLOC=on \
+ -DUSE_GSTREAMER_TRANSCODER=OFF \
+ -DUSE_AVIF=OFF \
+ -DUSE_GTK4=OFF \
+ -DUSE_LIBBACKTRACE=OFF \
+ -DUSE_JPEGXL=OFF \
+ -Wno-dev \
+ -G Ninja \
..
-make
-make install DESTDIR=$PKG
+
+# The build might crash on high specs machines because ninja eat all
+# of the resources, so let's try to limit it to half the available ones
+"${NINJA:=ninja}" -j$(expr $(nproc) / 2)
+DESTDIR=$PKG $NINJA -j1 install
+
+mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0
+cp -rf ../Documentation/* \
+ $PKG/usr/share/gtk-doc/html/webkit2gtk-4.0
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ../NEWS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -96,4 +123,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/webkit2gtk/webkit2gtk.info b/libraries/webkit2gtk/webkit2gtk.info
index 8c4164b2e7..3cf7294c8a 100644
--- a/libraries/webkit2gtk/webkit2gtk.info
+++ b/libraries/webkit2gtk/webkit2gtk.info
@@ -1,10 +1,10 @@
PRGNAM="webkit2gtk"
-VERSION="2.20.5"
+VERSION="2.44.1"
HOMEPAGE="https://www.webkitgtk.org/"
-DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.20.5.tar.xz"
-MD5SUM="72a05f6a4dc1c78b079590a8fd280401"
+DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.1.tar.xz"
+MD5SUM="b3a4504892162b30a774d3afde4707f7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geoclue2 hyphen libwebp woff2"
+REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy unifdef"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/webkit2gtk4.1/3d5373575695b293b8559155431d0079a6153aff.patch b/libraries/webkit2gtk4.1/3d5373575695b293b8559155431d0079a6153aff.patch
new file mode 100644
index 0000000000..62b893bdfc
--- /dev/null
+++ b/libraries/webkit2gtk4.1/3d5373575695b293b8559155431d0079a6153aff.patch
@@ -0,0 +1,33 @@
+From 3d5373575695b293b8559155431d0079a6153aff Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro <mcatanzaro@redhat.com>
+Date: Mon, 5 Feb 2024 11:00:49 -0600
+Subject: [PATCH] =?UTF-8?q?[GTK]=20[2.42.5]=20LowLevelInterpreter.cpp:339:?=
+ =?UTF-8?q?21:=20error:=20=E2=80=98t6=E2=80=99=20was=20not=20declared=20in?=
+ =?UTF-8?q?=20this=20scope=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid?=
+ =?UTF-8?q?=3D268739?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Unreviewed build fix. Seems a backport went badly, and we didn't notice
+because the code is architecture-specific.
+
+* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:
+(JSC::CLoop::execute):
+---
+ Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+index 5064ead6cd2e7..9a2e2653b1219 100644
+--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
++++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
+ UNUSED_VARIABLE(t2);
+ UNUSED_VARIABLE(t3);
+ UNUSED_VARIABLE(t5);
+- UNUSED_VARIABLE(t6);
+- UNUSED_VARIABLE(t7);
+
+ struct StackPointerScope {
+ StackPointerScope(CLoopStack& stack)
diff --git a/libraries/webkit2gtk4.1/README b/libraries/webkit2gtk4.1/README
new file mode 100644
index 0000000000..e3633f056f
--- /dev/null
+++ b/libraries/webkit2gtk4.1/README
@@ -0,0 +1,16 @@
+WebKitGTK+ is a full-featured port of the WebKit rendering engine,
+suitable for projects requiring any kind of web integration, from
+hybrid HTML/CSS applications to full-fledged web browsers.
+
+It offers WebKit's full functionality and is useful in a wide range
+of systems from desktop computers to embedded systems like phones,
+tablets, and televisions.
+
+NOTE:
+This package builds the 4.1 WebKit API. If you need 4.0 WebKit API,
+use webkit2gtk. Don't install both at the same time!!
+
+If your application is not working well after upgrading to this
+version, consider adding this environment variable before running
+the application:
+export WEBKIT_DISABLE_COMPOSITING_MODE=1
diff --git a/libraries/webkit2gtk4.1/slack-desc b/libraries/webkit2gtk4.1/slack-desc
new file mode 100644
index 0000000000..617429cb19
--- /dev/null
+++ b/libraries/webkit2gtk4.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------------------------------------------------------|
+webkit2gtk4.1: webkit2gtk4.1 (Web content rendering)
+webkit2gtk4.1:
+webkit2gtk4.1: WebKitGTK+ is a full-featured port of the WebKit rendering engine,
+webkit2gtk4.1: suitable for projects requiring any kind of web integration, from
+webkit2gtk4.1: hybrid HTML/CSS applications to full-fledged web browsers.
+webkit2gtk4.1: It offers WebKit's full functionality and is useful in a wide range
+webkit2gtk4.1: of systems from desktop computers to embedded systems like phones,
+webkit2gtk4.1: tablets, and televisions.
+webkit2gtk4.1:
+webkit2gtk4.1: https://www.webkitgtk.org/
+webkit2gtk4.1:
diff --git a/libraries/webkit2gtk4.1/unhide-deprecated-api.patch b/libraries/webkit2gtk4.1/unhide-deprecated-api.patch
new file mode 100644
index 0000000000..1133632b2d
--- /dev/null
+++ b/libraries/webkit2gtk4.1/unhide-deprecated-api.patch
@@ -0,0 +1,12 @@
+diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
+index 6fa104c82992..8c8640c3dee7 100644
+--- a/Source/WTF/wtf/Platform.h
++++ b/Source/WTF/wtf/Platform.h
+@@ -113,7 +113,6 @@
+
+ /* FIXME: This does not belong in Platform.h and should instead be included in another mechanism (compiler option, prefix header, config.h, etc) */
+ /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */
+-#define U_HIDE_DEPRECATED_API 1
+ #define U_SHOW_CPLUSPLUS_API 0
+ #ifdef __cplusplus
+ #define UCHAR_TYPE char16_t
diff --git a/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild
new file mode 100644
index 0000000000..59f324de96
--- /dev/null
+++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+#
+# Slackware build script for webkit2gtk4.1
+#
+# Copyright 2022-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=webkit2gtk4.1
+SRCNAM=webkitgtk
+VERSION=${VERSION:-2.44.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+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
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$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 {} \;
+
+patch -p1 < $CWD/unhide-deprecated-api.patch
+patch -p1 < $CWD/3d5373575695b293b8559155431d0079a6153aff.patch
+
+mkdir -p build
+cd build
+ cmake -DPORT=GTK \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DLIBEXEC_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/webkit2gtk-4.1 \
+ -DENABLE_GAMEPAD=OFF \
+ -DENABLE_MINIBROWSER=ON \
+ -DENABLE_JOURNALD_LOG=OFF \
+ -DENABLE_DOCUMENTATION=OFF \
+ -DENABLE_BUBBLEWRAP_SANDBOX=off \
+ -DUSE_SYSTEM_MALLOC=on \
+ -DUSE_AVIF=OFF \
+ -DUSE_GTK4=OFF \
+ -DUSE_LIBBACKTRACE=OFF \
+ -DUSE_JPEGXL=OFF \
+ -DUSE_GSTREAMER_TRANSCODER=OFF \
+ -Wno-dev \
+ -G Ninja \
+ ..
+
+# The build might crash on high specs machines because ninja eat all
+# of the resources, so let's try to limit it to half the available ones
+"${NINJA:=ninja}" -j$(expr $(nproc) / 2)
+DESTDIR=$PKG $NINJA -j1 install
+
+mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.1
+cp -rf ../Documentation/* \
+ $PKG/usr/share/gtk-doc/html/webkit2gtk-4.1/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ../NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/webkit2gtk4.1/webkit2gtk4.1.info b/libraries/webkit2gtk4.1/webkit2gtk4.1.info
new file mode 100644
index 0000000000..53e02a7130
--- /dev/null
+++ b/libraries/webkit2gtk4.1/webkit2gtk4.1.info
@@ -0,0 +1,10 @@
+PRGNAM="webkit2gtk4.1"
+VERSION="2.44.1"
+HOMEPAGE="https://www.webkitgtk.org/"
+DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.1.tar.xz"
+MD5SUM="b3a4504892162b30a774d3afde4707f7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy libsoup3 unifdef"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/webkitgtk/README b/libraries/webkitgtk/README
deleted file mode 100644
index 9472d468e7..0000000000
--- a/libraries/webkitgtk/README
+++ /dev/null
@@ -1,4 +0,0 @@
-WebKitGTK+ is the port of the portable web rendering
-engine WebKit to the GTK+ platform.
-
-geoclue (to enable support for geolocation) is an optional dep.
diff --git a/libraries/webkitgtk/slack-desc b/libraries/webkitgtk/slack-desc
deleted file mode 100644
index fd2375c8d3..0000000000
--- a/libraries/webkitgtk/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------------------------------------------------------|
-webkitgtk: webkitgtk (GTK+ port of the WebKit)
-webkitgtk:
-webkitgtk: WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web
-webkitgtk: content engine that powers numerous applications such as web
-webkitgtk: browsers, email clients, feed readers, web and text editors, and a
-webkitgtk: whole lot more.
-webkitgtk:
-webkitgtk:
-webkitgtk:
-webkitgtk: https://www.webkitgtk.org/
-webkitgtk:
diff --git a/libraries/webkitgtk/webkitgtk-2.4.9-abs.patch b/libraries/webkitgtk/webkitgtk-2.4.9-abs.patch
deleted file mode 100644
index 5fadc28890..0000000000
--- a/libraries/webkitgtk/webkitgtk-2.4.9-abs.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp
---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600
-+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700
-@@ -85,8 +85,8 @@
- guint32 eventTime = getEventTime(event);
-
- if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS)
-- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
-- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
-+ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
-+ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
- && (eventTime - m_previousClickTime < static_cast<guint>(doubleClickTime))
- && (buttonEvent->button == m_previousClickButton)))
- m_currentClickCount++;
-diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
-webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600
-+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700
-@@ -659,7 +659,7 @@
- if (!std::isfinite(time))
- return String::fromUTF8(_("indefinite time"));
-
-- int seconds = static_cast<int>(abs(time));
-+ int seconds = static_cast<int>(fabs(time));
- int days = seconds / (60 * 60 * 24);
- int hours = seconds / (60 * 60);
- int minutes = (seconds / 60) % 60;
-
diff --git a/libraries/webkitgtk/webkitgtk.SlackBuild b/libraries/webkitgtk/webkitgtk.SlackBuild
deleted file mode 100644
index 94991299db..0000000000
--- a/libraries/webkitgtk/webkitgtk.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for WebKitGTK+
-#
-# Copyright 2010-2015 Erik W. Hanson, Minneapolis, 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=webkitgtk
-VERSION=${VERSION:-2.4.11}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-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
-
-set -eu
-
-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 {} \;
-
-# Check if geoclue is there
-if pkg-config --exists geoclue ; then GEOCLUE="yes" ; else GEOCLUE="no" ; fi
-
-# Fix for gcc-6.x
-patch -p1 < $CWD/webkitgtk-2.4.9-abs.patch
-
-CFLAGS="$SLKCFLAGS -fno-delete-null-pointer-checks" \
-CXXFLAGS="$SLKCFLAGS -fno-delete-null-pointer-checks -fpermissive" \
-./configure \
- --prefix=/usr \
- --disable-static \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-gtk=2.0 \
- --enable-webkit2=no \
- --enable-geolocation=$GEOCLUE \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a 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/libraries/webkitgtk/webkitgtk.info b/libraries/webkitgtk/webkitgtk.info
deleted file mode 100644
index fe5491bd45..0000000000
--- a/libraries/webkitgtk/webkitgtk.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="webkitgtk"
-VERSION="2.4.11"
-HOMEPAGE="https://www.webkitgtk.org/"
-DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.4.11.tar.xz"
-MD5SUM="24a25ccc30a7914ae50922aedf24b7bc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libwebp"
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
diff --git a/libraries/webkitgtk3/README b/libraries/webkitgtk3/README
deleted file mode 100644
index e42539ee32..0000000000
--- a/libraries/webkitgtk3/README
+++ /dev/null
@@ -1,9 +0,0 @@
-WebKitGTK+ is the port of the portable web rendering engine WebKit
-to the GTK+ platform.
-
-This builds the GTK3 and webkit2 interface. It can be installed
-alongside webkitgtk - the only files that are in both packages
-are /usr/share/gtk-doc/html/webkitgtk/; as long as both webkitgtk
-and webkitgtk3 are the same version, the html docs are identical.
-
-geoclue (to enable support for geolocation) is an optional dep.
diff --git a/libraries/webkitgtk3/slack-desc b/libraries/webkitgtk3/slack-desc
deleted file mode 100644
index 97491a6b2e..0000000000
--- a/libraries/webkitgtk3/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------------------------------------------------------|
-webkitgtk3: webkitgtk3 (GTK+ port of the WebKit)
-webkitgtk3:
-webkitgtk3: WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web
-webkitgtk3: content engine that powers numerous applications such as web
-webkitgtk3: browsers, email clients, feed readers, web and text editors, and a
-webkitgtk3: whole lot more.
-webkitgtk3:
-webkitgtk3: This builds the GTK3 interface.
-webkitgtk3:
-webkitgtk3: https://www.webkitgtk.org/
-webkitgtk3:
diff --git a/libraries/webkitgtk3/webkitgtk-2.4.9-abs.patch b/libraries/webkitgtk3/webkitgtk-2.4.9-abs.patch
deleted file mode 100644
index 5fadc28890..0000000000
--- a/libraries/webkitgtk3/webkitgtk-2.4.9-abs.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp
---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2015-05-20 03:03:24.000000000 -0600
-+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/GtkClickCounter.cpp 2016-02-07 11:30:42.392686308 -0700
-@@ -85,8 +85,8 @@
- guint32 eventTime = getEventTime(event);
-
- if ((event->type == GDK_2BUTTON_PRESS || event->type == GDK_3BUTTON_PRESS)
-- || ((abs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
-- && (abs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
-+ || ((fabs(buttonEvent->x - m_previousClickPoint.x()) < doubleClickDistance)
-+ && (fabs(buttonEvent->y - m_previousClickPoint.y()) < doubleClickDistance)
- && (eventTime - m_previousClickTime < static_cast<guint>(doubleClickTime))
- && (buttonEvent->button == m_previousClickButton)))
- m_currentClickCount++;
-diff -Nur webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
-webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp
---- webkitgtk-2.4.9.orig/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2015-05-20 03:03:24.000000000 -0600
-+++ webkitgtk-2.4.9/Source/WebCore/platform/gtk/LocalizedStringsGtk.cpp 2016-02-07 11:49:36.384691005 -0700
-@@ -659,7 +659,7 @@
- if (!std::isfinite(time))
- return String::fromUTF8(_("indefinite time"));
-
-- int seconds = static_cast<int>(abs(time));
-+ int seconds = static_cast<int>(fabs(time));
- int days = seconds / (60 * 60 * 24);
- int hours = seconds / (60 * 60);
- int minutes = (seconds / 60) % 60;
-
diff --git a/libraries/webkitgtk3/webkitgtk3.SlackBuild b/libraries/webkitgtk3/webkitgtk3.SlackBuild
deleted file mode 100644
index e33636bf82..0000000000
--- a/libraries/webkitgtk3/webkitgtk3.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for WebKitGTK+ GTK3 interface.
-# Derived from the webkitgtk build by David Somero
-
-# Copyright 2010-2012 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2012 David Somero (dsomero@hotmail.com) Athens, TN, 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=webkitgtk3
-VERSION=${VERSION:-2.4.11}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-SRCNAM=webkitgtk
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-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=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 $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 {} \;
-
-# Check if geoclue is there
-if pkg-config --exists geoclue ; then GEOCLUE="yes" ; else GEOCLUE="no" ; fi
-
-# Fix for gcc-6.x
-patch -p1 < $CWD/webkitgtk-2.4.9-abs.patch
-
-CFLAGS="$SLKCFLAGS -fno-delete-null-pointer-checks" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --with-gtk=3.0 \
- --enable-introspection \
- --enable-webkit2 \
- --enable-geolocation=$GEOCLUE \
- --build=$ARCH-slackware-linux
-
-make clean
-make Programs_DumpRenderTree_LDFLAGS="-no-fast-install -no-install -lfontconfig"
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a 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/libraries/webkitgtk3/webkitgtk3.info b/libraries/webkitgtk3/webkitgtk3.info
deleted file mode 100644
index b73638093f..0000000000
--- a/libraries/webkitgtk3/webkitgtk3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="webkitgtk3"
-VERSION="2.4.11"
-HOMEPAGE="https://www.webkitgtk.org/"
-DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.4.11.tar.xz"
-MD5SUM="24a25ccc30a7914ae50922aedf24b7bc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libwebp"
-MAINTAINER="David Somero"
-EMAIL="dsomero@hotmail.com"
diff --git a/libraries/webrtc-audio-processing/README b/libraries/webrtc-audio-processing/README
new file mode 100644
index 0000000000..c6b89a4f79
--- /dev/null
+++ b/libraries/webrtc-audio-processing/README
@@ -0,0 +1,5 @@
+The AudioProcessing module from WebRTC.
+
+This is meant to be a more Linux packaging friendly copy of the
+AudioProcessing module from the WebRTC project. The ideal case is
+that we make no changes to the code to make tracking upstream code easy.
diff --git a/libraries/webrtc-audio-processing/slack-desc b/libraries/webrtc-audio-processing/slack-desc
new file mode 100644
index 0000000000..6cd92a8906
--- /dev/null
+++ b/libraries/webrtc-audio-processing/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------------------------------------------------------|
+webrtc-audio-processing: webrtc-audio-processing (The AudioProcessing module from WebRTC)
+webrtc-audio-processing:
+webrtc-audio-processing:
+webrtc-audio-processing: Linux packaging friendly copy of the AudioProcessing module from
+webrtc-audio-processing: the WebRTC project.
+webrtc-audio-processing:
+webrtc-audio-processing:
+webrtc-audio-processing:
+webrtc-audio-processing:
+webrtc-audio-processing:
+webrtc-audio-processing:
diff --git a/libraries/webrtc-audio-processing/webrtc-audio-processing.SlackBuild b/libraries/webrtc-audio-processing/webrtc-audio-processing.SlackBuild
new file mode 100644
index 0000000000..55e8f1524e
--- /dev/null
+++ b/libraries/webrtc-audio-processing/webrtc-audio-processing.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+# Slackware build script for webrtc-audio-processing
+# Copyright 2023 anonymous Earth
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=webrtc-audio-processing
+VERSION=${VERSION:-0.3.1.0.202107202114.6467c436}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+COMMIT=6467c436a892a06f9dcc7018a678c8677d39f08e
+
+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"-"$COMMIT"
+tar xvf $CWD/"$PRGNAM"-"$COMMIT".tar.gz
+cd "$PRGNAM"-"$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 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 ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+sed -i 's/Libs: -lwebrtc_audio_processing/Libs: -lwebrtc_audio_processing -lpthread/g' $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/webrtc-audio-processing.pc
+
+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
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/webrtc-audio-processing/webrtc-audio-processing.info b/libraries/webrtc-audio-processing/webrtc-audio-processing.info
new file mode 100644
index 0000000000..3dcaec5b29
--- /dev/null
+++ b/libraries/webrtc-audio-processing/webrtc-audio-processing.info
@@ -0,0 +1,10 @@
+PRGNAM="webrtc-audio-processing"
+VERSION="0.3.1.0.202107202114.6467c436"
+HOMEPAGE="https://github.com/cross-platform/webrtc-audio-processing"
+DOWNLOAD="https://github.com/cross-platform/webrtc-audio-processing/archive/6467c4/webrtc-audio-processing-6467c436a892a06f9dcc7018a678c8677d39f08e.tar.gz"
+MD5SUM="6045c7366647622c6f7c782a115f5f7c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.webrtc-audio-processing_2023-05-09@lockywolf.net"
diff --git a/libraries/wfmath/wfmath.SlackBuild b/libraries/wfmath/wfmath.SlackBuild
index ab81c1ceef..5c9d85e8a8 100644
--- a/libraries/wfmath/wfmath.SlackBuild
+++ b/libraries/wfmath/wfmath.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wfmath
@@ -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=wfmath
VERSION=${VERSION:-1.0.2}
-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}
@@ -90,8 +100,10 @@ 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
+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/libraries/wimlib/slack-desc b/libraries/wimlib/slack-desc
index ec0b2e780d..4b588dcd04 100644
--- a/libraries/wimlib/slack-desc
+++ b/libraries/wimlib/slack-desc
@@ -9,11 +9,11 @@
wimlib: wimlib (the open source Windows Imaging (WIM) library)
wimlib:
wimlib: wimlib is an open source, cross-platform library for creating,
-wimlib: extracting, and modifying Windows Imaging (WIM) archives.
+wimlib: extracting, and modifying Windows Imaging (WIM) archives.
wimlib: wimlib can be used to back up, install, or restore Windows operating
wimlib: systems; to create customized images of Windows PE; or to archive
wimlib: files on either Windows or UNIX/Linux.
wimlib: wimlib is fully supported on both Windows and UNIX-like systems.
wimlib:
-wimlib: https://www.wimlib.net
+wimlib: https://wimlib.net
wimlib:
diff --git a/libraries/wimlib/wimlib.SlackBuild b/libraries/wimlib/wimlib.SlackBuild
index 4ab8d64d97..4a98763cb1 100644
--- a/libraries/wimlib/wimlib.SlackBuild
+++ b/libraries/wimlib/wimlib.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wimlib.
#
@@ -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=wimlib
-VERSION=${VERSION:-1.13.1}
+VERSION=${VERSION:-1.14.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}
@@ -98,12 +108,14 @@ 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* NEWS COPYING* INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* NEWS* COPYING* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/man1
+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/libraries/wimlib/wimlib.info b/libraries/wimlib/wimlib.info
index f8c9148128..06e37db244 100644
--- a/libraries/wimlib/wimlib.info
+++ b/libraries/wimlib/wimlib.info
@@ -1,8 +1,8 @@
PRGNAM="wimlib"
-VERSION="1.13.1"
-HOMEPAGE="https://www.wimlib.net"
-DOWNLOAD="https://wimlib.net/downloads/wimlib-1.13.1.tar.gz"
-MD5SUM="8f148a0348689329d32f60a8b9509e2f"
+VERSION="1.14.4"
+HOMEPAGE="https://wimlib.net"
+DOWNLOAD="https://wimlib.net/downloads/wimlib-1.14.4.tar.gz"
+MD5SUM="6a54e53d20d524d139e5f60e4604b1a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/wjelement/wjelement.SlackBuild b/libraries/wjelement/wjelement.SlackBuild
index 9c45a5aa89..ce41fbe9ca 100644
--- a/libraries/wjelement/wjelement.SlackBuild
+++ b/libraries/wjelement/wjelement.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for WJElement
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wjelement
VERSION=${VERSION:-1.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,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/libraries/wjelement/wjelement.info b/libraries/wjelement/wjelement.info
index 04a1b5d91d..27e5e74428 100644
--- a/libraries/wjelement/wjelement.info
+++ b/libraries/wjelement/wjelement.info
@@ -1,7 +1,7 @@
PRGNAM="wjelement"
VERSION="1.3"
HOMEPAGE="https://github.com/netmail-open/wjelement"
-DOWNLOAD="https://github.com/netmail-open/wjelement/archive/v1.3.tar.gz"
+DOWNLOAD="https://github.com/netmail-open/wjelement/archive/v1.3/wjelement-1.3.tar.gz"
MD5SUM="236b3ed275bae73a7d144c927401d2bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/wlroots/README b/libraries/wlroots/README
new file mode 100644
index 0000000000..5d3d097da9
--- /dev/null
+++ b/libraries/wlroots/README
@@ -0,0 +1,19 @@
+Wlroots is modular Wayland compositor library,
+it provides backends that abstract the underlying display
+and input hardware, including KMS/DRM, libinput, Wayland,
+X11, and headless backends, plus any custom backends you
+choose to write, which can all be created or destroyed at
+runtime and used in concert with each other.
+wlroots provides unopinionated, mostly standalone implementations of
+many Wayland interfaces, both from wayland.xml and various protocol
+extensions.
+
+Wlroots provides several powerful, standalone, and optional tools that
+implement components common to many compositors, such as
+the arrangement of outputs in physical space.
+Provides an Xwayland abstraction that allows you to have excellent
+Xwayland support without worrying about writing your own X11 window
+manager on top of writing your compositor.
+Wlroots provides a renderer abstraction that simple compositors can use
+to avoid writing GL code directly, but which steps out of the way when
+your needs demand custom rendering code.
diff --git a/libraries/wlroots/slack-desc b/libraries/wlroots/slack-desc
new file mode 100644
index 0000000000..388f8257e5
--- /dev/null
+++ b/libraries/wlroots/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------------------------------------------------------|
+wlroots: wlroots (wayland compositor library)
+wlroots:
+wlroots: Wlroots is a modular wayland compositor library.
+wlroots:
+wlroots:
+wlroots:
+wlroots: Home: https://gitlab.freedesktop.org/wlroots/wlroots/
+wlroots:
+wlroots:
+wlroots:
+wlroots:
diff --git a/libraries/wlroots/wlroots.SlackBuild b/libraries/wlroots/wlroots.SlackBuild
new file mode 100644
index 0000000000..767fb8a872
--- /dev/null
+++ b/libraries/wlroots/wlroots.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for wlroots
+
+# 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=wlroots
+VERSION=${VERSION:-0.15.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 {} \;
+
+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 \
+ -Dxcb-errors=disabled \
+ -Dexamples=false \
+ -Drenderers=auto \
+ -Dxwayland=enabled \
+ -Dbackends=drm,libinput,x11
+
+ "${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 -name perllocal.pod \
+ -o -name ".packlist" \
+ -o -name "*.bs" \
+ | xargs rm -f
+
+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/libraries/wlroots/wlroots.info b/libraries/wlroots/wlroots.info
new file mode 100644
index 0000000000..2e57c86c6e
--- /dev/null
+++ b/libraries/wlroots/wlroots.info
@@ -0,0 +1,10 @@
+PRGNAM="wlroots"
+VERSION="0.15.1"
+HOMEPAGE="https://gitlab.freedesktop.org/wlroots/wlroots"
+DOWNLOAD="https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/0.15.1/wlroots-0.15.1.tar.gz"
+MD5SUM="d847f52dd4be602918fdfa25e00aef27"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="seatd"
+MAINTAINER="Damian Perticone"
+EMAIL="mjolnirdam@gmail.com"
diff --git a/libraries/wpebackend-fdo/README b/libraries/wpebackend-fdo/README
new file mode 100644
index 0000000000..e16c2ce9c4
--- /dev/null
+++ b/libraries/wpebackend-fdo/README
@@ -0,0 +1,7 @@
+WPE is the reference WebKit port for embedded and low-consumption
+computer devices. It has been designed from the ground-up with
+performance, small footprint, accelerated content rendering, and
+simplicity of deployment in mind, bringing the excellence of the
+WebKit engine to countless platforms and target devices.
+
+This is the freedesktop.org backend.
diff --git a/libraries/wpebackend-fdo/slack-desc b/libraries/wpebackend-fdo/slack-desc
new file mode 100644
index 0000000000..fdb6d636fe
--- /dev/null
+++ b/libraries/wpebackend-fdo/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------------------------------------------------------|
+wpebackend-fdo: wpebackend-fdo (freedesktop.org backend for WPE WebKit)
+wpebackend-fdo:
+wpebackend-fdo: WPE is the reference WebKit port for embedded and low-consumption
+wpebackend-fdo: computer devices. It has been designed from the ground-up with
+wpebackend-fdo: performance, small footprint, accelerated content rendering, and
+wpebackend-fdo: simplicity of deployment in mind, bringing the excellence of the
+wpebackend-fdo: WebKit engine to countless platforms and target devices.
+wpebackend-fdo: This is the freedesktop.org backend.
+wpebackend-fdo:
+wpebackend-fdo: Project URL: https://wpewebkit.org/
+wpebackend-fdo:
diff --git a/libraries/wpebackend-fdo/wpebackend-fdo.SlackBuild b/libraries/wpebackend-fdo/wpebackend-fdo.SlackBuild
new file mode 100644
index 0000000000..44c8baad1e
--- /dev/null
+++ b/libraries/wpebackend-fdo/wpebackend-fdo.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for wpebackend-fdo
+
+# Copyright 2020-2023 Matteo Bernardini <ponce@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=wpebackend-fdo
+VERSION=${VERSION:-1.14.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.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
+ "${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 COPYING 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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/wpebackend-fdo/wpebackend-fdo.info b/libraries/wpebackend-fdo/wpebackend-fdo.info
new file mode 100644
index 0000000000..651dab469f
--- /dev/null
+++ b/libraries/wpebackend-fdo/wpebackend-fdo.info
@@ -0,0 +1,10 @@
+PRGNAM="wpebackend-fdo"
+VERSION="1.14.2"
+HOMEPAGE="https://wpewebkit.org"
+DOWNLOAD="https://wpewebkit.org/releases/wpebackend-fdo-1.14.2.tar.xz"
+MD5SUM="dafd899646b2e31ef2d97938a638c48d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libwpe"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/ws4py/ws4py.SlackBuild b/libraries/ws4py/ws4py.SlackBuild
index 2c44162a32..68e770d20f 100644
--- a/libraries/ws4py/ws4py.SlackBuild
+++ b/libraries/ws4py/ws4py.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ws4py
@@ -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=ws4py
VERSION=${VERSION:-0.4.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}
@@ -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/libraries/wv/README b/libraries/wv/README
index 4e502b1c5e..55074d4f8b 100644
--- a/libraries/wv/README
+++ b/libraries/wv/README
@@ -1,5 +1,6 @@
wv (MS Word document import library)
-wv converts Word 2,6,7,8,9 files to html and latex. The Word 2 conversion is
-still incomplete (no formatting), but it will do a passable job extracting
-the text, which is what you probably want anyway.
+wv converts Word 2,6,7,8,9 files to html and latex. The Word 2
+conversion is still incomplete (no formatting), but it will do a
+passable job extracting the text, which is what you probably want
+anyway.
diff --git a/libraries/wv/wv.SlackBuild b/libraries/wv/wv.SlackBuild
index 9a9ead726f..2e65320dd1 100644
--- a/libraries/wv/wv.SlackBuild
+++ b/libraries/wv/wv.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wv
-# Copyright 2008-2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2008-2021, Robby Workman, Tuscaloosa, Alabama, USA
# 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=wv
VERSION=${VERSION:-1.2.9}
-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" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -93,8 +103,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a 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/libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff b/libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff
new file mode 100644
index 0000000000..5b98ae2919
--- /dev/null
+++ b/libraries/wvstreams/patches/01_kfreebsd_ftbfs.diff
@@ -0,0 +1,28 @@
+Description: fix FTBFS on kFreeBSD
+Author: Petr Salinger <Petr.Salinger@seznam.cz>
+Bug-Debian: http://bugs.debian.org/537883
+Forwarded: no
+Last-Update: 2013-10-30
+
+--- a/utils/wvcrash.cc
++++ b/utils/wvcrash.cc
+@@ -26,7 +26,7 @@
+ #endif
+
+ // FIXME: this file mostly only works in Linux
+-#ifdef __linux
++#if 1
+
+ # include <execinfo.h>
+ #include <unistd.h>
+--- a/utils/wvcrashbase.cc
++++ b/utils/wvcrashbase.cc
+@@ -66,7 +66,7 @@
+
+
+ // FIXME: leaving of a will and catching asserts mostly only works in Linux
+-#ifdef __linux
++#if 1
+
+ #ifdef __USE_GNU
+ static const char *argv0 = program_invocation_short_name;
diff --git a/libraries/wvstreams/patches/02_doc_path.diff b/libraries/wvstreams/patches/02_doc_path.diff
new file mode 100644
index 0000000000..9f3ebdad7e
--- /dev/null
+++ b/libraries/wvstreams/patches/02_doc_path.diff
@@ -0,0 +1,24 @@
+Description: use new /usr/share/sgml location for docbook.dsl
+Author: Matthias Klose <doko@debian.org>
+Forwarded: no
+Last-Update: 2013-10-30
+
+--- a/Docs/sgmlmanual/Makefile
++++ b/Docs/sgmlmanual/Makefile
+@@ -88,14 +88,14 @@
+ $(MAKE) dirimages htmlimages
+ rm -f $@
+ jade -t rtf -o $*.rtf.tmp \
+- -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl $<
++ -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl $<
+ cat $*.rtf.tmp | sed 's,"img/\(.*\)\.[^.]*","img.tmp/\1.gif",g' >$@
+ rm -f $*.rtf.tmp
+
+ %.tex: %.sgml
+ rm -f $@
+ jade -t tex -o $*.tex.tmp \
+- -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl $<
++ -d /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/docbook.dsl $<
+ cat $*.tex.tmp | sed 's,{img/\(.*\)\.[^.]*},{img.tmp/\1.eps},g' >$@
+ rm -f $*.tex.tmp
+
diff --git a/libraries/wvstreams/patches/03_html_sgml.diff b/libraries/wvstreams/patches/03_html_sgml.diff
new file mode 100644
index 0000000000..85e6ab2cee
--- /dev/null
+++ b/libraries/wvstreams/patches/03_html_sgml.diff
@@ -0,0 +1,18 @@
+Description: use .html extension for HTML documentation files
+ Define %html-ext% to ".html" while building HTML documentation, since current
+ docbook-dsssl appears to default to ".htm".
+Author: Matthias Klose <doko@debian.org>
+Forwarded: no
+Last-Update: 2013-10-30
+
+--- a/Docs/sgmlmanual/HTML.dsl
++++ b/Docs/sgmlmanual/HTML.dsl
+@@ -10,7 +10,7 @@
+ ;; your stuff goes here...
+ ;;(define %gentext-nav-use-ff% 1)
+ (define %use-id-as-filename% 1)
+-
++(define %html-ext% ".html")
+
+ </style-specification-body>
+ </style-specification>
diff --git a/libraries/wvstreams/patches/04_signed_request.diff b/libraries/wvstreams/patches/04_signed_request.diff
new file mode 100644
index 0000000000..354c85a65f
--- /dev/null
+++ b/libraries/wvstreams/patches/04_signed_request.diff
@@ -0,0 +1,18 @@
+Description: fix return type checking of X509_REQ_verify
+Author: Moritz Mühlenhoff <jmm@debian.org>
+Bug: https://code.google.com/p/wvstreams/issues/detail?id=40
+Bug-Debian: http://bugs.debian.org/513539
+Forwarded: yes
+Last-Update: 2013-10-30
+
+--- a/crypto/wvx509.cc
++++ b/crypto/wvx509.cc
+@@ -325,7 +325,7 @@
+ }
+
+ int verify_result = X509_REQ_verify(certreq, pk);
+- if (verify_result == 0)
++ if (verify_result == 0 || verify_result == -1)
+ {
+ debug(WvLog::Warning, "Self signed request failed");
+ X509_REQ_free(certreq);
diff --git a/libraries/wvstreams/patches/05_gcc-4.7.diff b/libraries/wvstreams/patches/05_gcc-4.7.diff
new file mode 100644
index 0000000000..45f53c5bb8
--- /dev/null
+++ b/libraries/wvstreams/patches/05_gcc-4.7.diff
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with gcc-4.7
+ Small header include change. This is borderlinde cosmetic, but still needed
+ to prevent the FTBFS.
+Author: Paul Tagliamonte <paultag@ubuntu.com>
+Origin: vendor
+Bug: https://code.google.com/p/wvstreams/issues/detail?id=34
+Bug-Debian: http://bugs.debian.org/667418
+Last-Update: 2013-10-30
+
+--- a/utils/wvuid.cc
++++ b/utils/wvuid.cc
+@@ -33,6 +33,7 @@
+
+ #else // not WIN32
+
++#include <unistd.h>
+
+ WvString wv_username_from_uid(wvuid_t uid)
+ {
diff --git a/libraries/wvstreams/patches/05_gcc.diff b/libraries/wvstreams/patches/05_gcc.diff
deleted file mode 100644
index 8e4fd03298..0000000000
--- a/libraries/wvstreams/patches/05_gcc.diff
+++ /dev/null
@@ -1,41 +0,0 @@
-Index: wvstreams-4.6.1/crypto/wvx509.cc
-===================================================================
---- wvstreams-4.6.1.orig/crypto/wvx509.cc 2011-05-20 00:02:38.119136584 +0200
-+++ wvstreams-4.6.1/crypto/wvx509.cc 2011-05-20 00:02:26.035136589 +0200
-@@ -1157,7 +1157,7 @@
-
- if (ext)
- {
-- X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
-+ X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext);
- if (!method)
- {
- WvDynBuf buf;
-Index: wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc
-===================================================================
---- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:38.391136584 +0200
-+++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:35.283136585 +0200
-@@ -1,8 +1,6 @@
- #include "wvunixdgsocket.h"
--#ifdef MACOS
- #include <sys/types.h>
- #include <sys/stat.h>
--#endif
-
- WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
- : socketfile(filename)
-Index: wvstreams-4.6.1/streams/wvatomicfile.cc
-===================================================================
---- wvstreams-4.6.1.orig/streams/wvatomicfile.cc 2011-05-20 00:02:38.223136584 +0200
-+++ wvstreams-4.6.1/streams/wvatomicfile.cc 2011-05-20 00:02:31.619136587 +0200
-@@ -10,10 +10,7 @@
- #include "wvatomicfile.h"
- #include "wvfileutils.h"
- #include "wvstrutils.h"
--
--#ifdef MACOS
- #include <sys/stat.h>
--#endif
-
- WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
- : tmp_file(WvString::null)
diff --git a/libraries/wvstreams/patches/06_buildflags.diff b/libraries/wvstreams/patches/06_buildflags.diff
new file mode 100644
index 0000000000..0ddaf7069f
--- /dev/null
+++ b/libraries/wvstreams/patches/06_buildflags.diff
@@ -0,0 +1,34 @@
+Description: build flags support
+ Don't force -O2 optimization. Make build logs verbose.
+Author: Matthias Klose <doko@debian.org>
+Forwarded: not-needed
+Last-Update: 2013-10-30
+
+--- a/gen-cc
++++ b/gen-cc
+@@ -15,6 +15,11 @@
+ shift
+ shift
+
++ echo $CC \$MODE -o \$BASE.o \$BASE.$EXT \\
++ -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
++ $CPPFLAGS \\
++ $CFLAGS \\
++ "\$@"
+ $CC \$MODE -o \$BASE.o \$BASE.$EXT \\
+ -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
+ $CPPFLAGS \\
+--- a/wvrules-posix.mk
++++ b/wvrules-posix.mk
+@@ -35,11 +35,6 @@
+ # Default compiler we use for linking
+ WVLINK_CC = $(CXX)
+
+-ifneq ("$(enable_optimization)", "no")
+- CXXFLAGS+=-O2
+- CFLAGS+=-O2
+-endif
+-
+ ifneq ("$(enable_warnings)", "no")
+ CXXFLAGS+=-Wall -Woverloaded-virtual
+ CFLAGS+=-Wall
diff --git a/libraries/wvstreams/patches/07_openssl-1.0.diff b/libraries/wvstreams/patches/07_openssl-1.0.diff
new file mode 100644
index 0000000000..fd2099d318
--- /dev/null
+++ b/libraries/wvstreams/patches/07_openssl-1.0.diff
@@ -0,0 +1,18 @@
+Description: fix FTBFS with OpenSSL 1.0
+Author: Luca Falavigna <dktrkranz@debian.org>
+Bug: https://code.google.com/p/wvstreams/issues/detail?id=27
+Bug-Debian: http://bugs.debian.org/621990
+Forwarded: no
+Last-Update: 2013-10-30
+
+--- a/crypto/wvx509.cc
++++ b/crypto/wvx509.cc
+@@ -1157,7 +1157,7 @@
+
+ if (ext)
+ {
+- X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
++ X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext);
+ if (!method)
+ {
+ WvDynBuf buf;
diff --git a/libraries/wvstreams/patches/08_glibc-2.12.diff b/libraries/wvstreams/patches/08_glibc-2.12.diff
new file mode 100644
index 0000000000..f9e1d6beaf
--- /dev/null
+++ b/libraries/wvstreams/patches/08_glibc-2.12.diff
@@ -0,0 +1,30 @@
+Description: fix FTBFS with glibc 2.12
+Author: Luca Falavigna <dktrkranz@debian.org>
+Bug: https://code.google.com/p/wvstreams/issues/detail?id=28
+Forwarded: no
+Last-Update: 2013-10-30
+
+--- a/ipstreams/wvunixdgsocket.cc
++++ b/ipstreams/wvunixdgsocket.cc
+@@ -1,8 +1,6 @@
+ #include "wvunixdgsocket.h"
+-#ifdef MACOS
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#endif
+
+ WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
+ : socketfile(filename)
+--- a/streams/wvatomicfile.cc
++++ b/streams/wvatomicfile.cc
+@@ -10,10 +10,7 @@
+ #include "wvatomicfile.h"
+ #include "wvfileutils.h"
+ #include "wvstrutils.h"
+-
+-#ifdef MACOS
+ #include <sys/stat.h>
+-#endif
+
+ WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
+ : tmp_file(WvString::null)
diff --git a/libraries/wvstreams/patches/09_readline.diff b/libraries/wvstreams/patches/09_readline.diff
new file mode 100644
index 0000000000..3902436ae3
--- /dev/null
+++ b/libraries/wvstreams/patches/09_readline.diff
@@ -0,0 +1,16 @@
+Description: make it possible to disable readline
+Author: Jakub Wilk <jwilk@debian.org>
+Bug: https://code.google.com/p/wvstreams/issues/detail?id=38
+Forwarded: no
+Last-Update: 2013-10-30
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -59,6 +59,7 @@
+
+ AC_ARG_WITH(dbus, AC_HELP_STRING([--with-dbus], [DBUS]))
+ AC_ARG_WITH(openssl, AC_HELP_STRING([--with-openssl], [OpenSSL >= 0.9.7 (required)]))
++AC_ARG_WITH(readline, AC_HELP_STRING([--with-readline], [readline]))
+ AC_ARG_WITH(pam, AC_HELP_STRING([--with-pam], [PAM]))
+ AC_ARG_WITH(tcl, AC_HELP_STRING([--with-tcl], [Tcl]))
+ AC_ARG_WITH(qt, AC_HELP_STRING([--with-qt], [Qt]))
diff --git a/libraries/wvstreams/patches/10_typos.diff b/libraries/wvstreams/patches/10_typos.diff
new file mode 100644
index 0000000000..56245e38dc
--- /dev/null
+++ b/libraries/wvstreams/patches/10_typos.diff
@@ -0,0 +1,39 @@
+Description: fix typos
+Author: Jakub Wilk <jwilk@debian.org>
+Bug: https://code.google.com/p/wvstreams/issues/detail?id=39
+Forwared: not-needed
+Last-Update: 2013-10-30
+
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -745,7 +745,7 @@
+ "wvtestmain ''" actually still runs all the tests, so skip the warning.
+
+ wvtest.cc prints a message "WARNING: WvTest: only ran tests starting
+- with specifed prefix(es)" if you give it any parameters restricting the
++ with specified prefix(es)" if you give it any parameters restricting the
+ tests to be run. But 'make runtests' actually sometimes provides an
+ existing but empty parameter, which doesn't restrict anything because *any*
+ test starts with the empty string. So suppress the warning in that case;
+--- a/utils/wvtest.cc
++++ b/utils/wvtest.cc
+@@ -252,7 +252,7 @@
+
+ if (prefixes && *prefixes && **prefixes)
+ printf("WvTest: WARNING: only ran tests starting with "
+- "specifed prefix(es).\n");
++ "specified prefix(es).\n");
+ else
+ printf("WvTest: ran all tests.\n");
+ printf("WvTest: %d test%s, %d failure%s.\n",
+--- a/uniconf/tests/uni.8.subst
++++ b/uniconf/tests/uni.8.subst
+@@ -78,7 +78,7 @@
+ .SH COMMANDS
+ .TP
+ get
+-Retreive the
++Retrieve the
+ .I VALUE
+ associated with the provided
+ .I KEY
diff --git a/libraries/wvstreams/patches/11_gcc-6.patch b/libraries/wvstreams/patches/11_gcc-6.patch
new file mode 100644
index 0000000000..b084887ba7
--- /dev/null
+++ b/libraries/wvstreams/patches/11_gcc-6.patch
@@ -0,0 +1,42 @@
+Description: Fix compilation with gcc-6
+Author: Gert Wollny <gw.fossdev@gmail.com>
+Last-Updated: 2016-07-26
+Forwarded: No
+Bug-Debian: https://bugs.debian.org/811659
+Bug-Debian: https://bugs.debian.org/831146
+
+--- a/streams/wvstream.cc
++++ b/streams/wvstream.cc
+@@ -907,9 +907,9 @@
+
+ if (forceable)
+ {
+- si.wants.readable = readcb;
+- si.wants.writable = writecb;
+- si.wants.isexception = exceptcb;
++ si.wants.readable = static_cast<bool>(readcb);
++ si.wants.writable = static_cast<bool>(writecb);
++ si.wants.isexception = static_cast<bool>(exceptcb);
+ }
+ else
+ {
+@@ -1019,7 +1019,8 @@
+
+ IWvStream::SelectRequest WvStream::get_select_request()
+ {
+- return IWvStream::SelectRequest(readcb, writecb, exceptcb);
++ return IWvStream::SelectRequest(static_cast<bool>(readcb), static_cast<bool>(writecb),
++ static_cast<bool>(exceptcb));
+ }
+
+
+@@ -1107,7 +1108,8 @@
+ // inefficient, because if the alarm was expired then pre_select()
+ // returned true anyway and short-circuited the previous select().
+ TRACE("hello-%p\n", this);
+- return !alarm_was_ticking || select(0, readcb, writecb, exceptcb);
++ return !alarm_was_ticking || select(0, static_cast<bool>(readcb),
++ static_cast<bool>(writecb), static_cast<bool>(exceptcb));
+ }
+
+
diff --git a/libraries/wvstreams/patches/12_increase_task_stack.patch b/libraries/wvstreams/patches/12_increase_task_stack.patch
new file mode 100644
index 0000000000..e8d7d5d52c
--- /dev/null
+++ b/libraries/wvstreams/patches/12_increase_task_stack.patch
@@ -0,0 +1,15 @@
+Description: Increase the task stack to work around stack corruption
+Author: Karol Ossowski <karol.ossowski@gmail.com>
+Bug-Debian: https://bugs.debian.org/863039
+
+--- wvstreams-4.6.1.orig/utils/wvtask.cc
++++ wvstreams-4.6.1/utils/wvtask.cc
+@@ -429,7 +429,7 @@ void WvTaskMan::_stackmaster()
+ total = (val+1) * (size_t)1024;
+
+ if (!use_shared_stack())
+- total = 1024; // enough to save the do_task stack frame
++ total = 2048; // enough to save the do_task stack frame
+
+ // set up a stack frame for the new task. This runs once
+ // per get_stack.
diff --git a/libraries/wvstreams/patches/13_wvstreams_openssl1.1.patch b/libraries/wvstreams/patches/13_wvstreams_openssl1.1.patch
new file mode 100644
index 0000000000..caa39fdadc
--- /dev/null
+++ b/libraries/wvstreams/patches/13_wvstreams_openssl1.1.patch
@@ -0,0 +1,539 @@
+Author: Reiner Herrmann <reiner@reiner-h.de>
+Description: Port to OpenSSL 1.1
+Bug-Debian: https://bugs.debian.org/859791
+Forwarded: https://github.com/apenwarr/wvstreams/pull/2
+
+diff --git a/crypto/wvcrl.cc b/crypto/wvcrl.cc
+index fa00c76..880ad85 100644
+--- a/crypto/wvcrl.cc
++++ b/crypto/wvcrl.cc
+@@ -357,31 +357,19 @@ bool WvCRL::isrevoked(WvStringParm serial_number) const
+ ASN1_INTEGER *serial = serial_to_int(serial_number);
+ if (serial)
+ {
+- X509_REVOKED mayberevoked;
+- mayberevoked.serialNumber = serial;
+- if (crl->crl->revoked)
+- {
+- int idx = sk_X509_REVOKED_find(crl->crl->revoked,
+- &mayberevoked);
+- ASN1_INTEGER_free(serial);
+- if (idx >= 0)
+- {
+- debug("Certificate is revoked.\n");
+- return true;
+- }
+- else
+- {
+- debug("Certificate is not revoked.\n");
+- return false;
+- }
+- }
+- else
+- {
+- ASN1_INTEGER_free(serial);
+- debug("CRL does not have revoked list.\n");
+- return false;
+- }
+-
++ X509_REVOKED *revoked_entry = NULL;
++ int idx = X509_CRL_get0_by_serial(crl, &revoked_entry, serial);
++ ASN1_INTEGER_free(serial);
++ if (idx >= 1 || revoked_entry)
++ {
++ debug("Certificate is revoked.\n");
++ return true;
++ }
++ else
++ {
++ debug("Certificate is not revoked.\n");
++ return false;
++ }
+ }
+ else
+ debug(WvLog::Warning, "Can't convert serial number to ASN1 format. "
+diff --git a/crypto/wvdiffiehellman.cc b/crypto/wvdiffiehellman.cc
+index 7c0bf32..15cd104 100644
+--- a/crypto/wvdiffiehellman.cc
++++ b/crypto/wvdiffiehellman.cc
+@@ -39,24 +39,25 @@ WvDiffieHellman::WvDiffieHellman(const unsigned char *_key, int _keylen,
+ {
+ int problems;
+ int check;
+- {
++
+ info = DH_new();
+- info->p = BN_bin2bn(_key, _keylen, NULL);
++ BIGNUM *p = BN_bin2bn(_key, _keylen, NULL);
+ // info->p->top = 0;
+ // info->p->dmax = _keylen * 8 / BN_BITS2;
+ // info->p->neg = 0;
+ // info->p->flags = 0;
+
+- info->g = BN_new();
+- BN_set_word(info->g, generator);
++ BIGNUM *g = BN_new();
++ BN_set_word(g, generator);
+ // info->g->d = &generator;
+ // info->g->top = 0;
+ // info->g->dmax = 1;
+ // info->g->neg = 0;
+ // info->g->flags = 0;
+- }
+
+- check = BN_mod_word(info->p, 24);
++ DH_set0_pqg(info, p, NULL, g);
++
++ check = BN_mod_word(p, 24);
+ DH_check(info, &problems);
+ if (problems & DH_CHECK_P_NOT_PRIME)
+ log(WvLog::Error, "Using a composite number for authentication.\n");
+@@ -64,7 +65,7 @@ WvDiffieHellman::WvDiffieHellman(const unsigned char *_key, int _keylen,
+ log(WvLog::Error,"Using an unsafe prime number for authentication.\n");
+ if (problems & DH_NOT_SUITABLE_GENERATOR)
+ log(WvLog::Error, "Can you just use 2 instead of %s (%s)!!\n",
+- BN_bn2hex(info->g), check);
++ BN_bn2hex(g), check);
+ if (problems & DH_UNABLE_TO_CHECK_GENERATOR)
+ log(WvLog::Notice, "Using a strange argument for diffie-hellman.\n");
+ DH_generate_key(info);
+@@ -72,18 +73,23 @@ WvDiffieHellman::WvDiffieHellman(const unsigned char *_key, int _keylen,
+
+ int WvDiffieHellman::pub_key_len()
+ {
+- return BN_num_bytes(info->pub_key);
++ const BIGNUM *pub_key = NULL;
++ DH_get0_key(info, &pub_key, NULL);
++ return BN_num_bytes(pub_key);
+ }
+
+ int WvDiffieHellman::get_public_value(WvBuf &outbuf, int len)
+ {
+- int key_len = BN_num_bytes(info->pub_key);
++ const BIGNUM *pub_key = NULL;
++ DH_get0_key(info, &pub_key, NULL);
++
++ int key_len = BN_num_bytes(pub_key);
+ if (key_len < len)
+ len = key_len;
+
+ // alloca is stack allocated, don't free it.
+ unsigned char *foo = (unsigned char*)alloca(key_len);
+- BN_bn2bin(info->pub_key, foo);
++ BN_bn2bin(pub_key, foo);
+ outbuf.put(foo, len);
+
+ return len;
+@@ -91,8 +97,10 @@ int WvDiffieHellman::get_public_value(WvBuf &outbuf, int len)
+
+ bool WvDiffieHellman::create_secret(WvBuf &inbuf, size_t in_len, WvBuf& outbuf)
+ {
++ const BIGNUM *pub_key = NULL;
++ DH_get0_key(info, &pub_key, NULL);
+ unsigned char *foo = (unsigned char *)alloca(DH_size(info));
+- log("My public value\n%s\nYour public value\n%s\n",BN_bn2hex(info->pub_key),
++ log("My public value\n%s\nYour public value\n%s\n",BN_bn2hex(pub_key),
+ hexdump_buffer(inbuf.peek(0, in_len), in_len, false));
+ int len = DH_compute_key (foo, BN_bin2bn(inbuf.get(in_len), in_len, NULL),
+ info);
+diff --git a/crypto/wvdigest.cc b/crypto/wvdigest.cc
+index 150edee..73ebb5d 100644
+--- a/crypto/wvdigest.cc
++++ b/crypto/wvdigest.cc
+@@ -13,10 +13,10 @@
+
+ /***** WvEVPMDDigest *****/
+
+-WvEVPMDDigest::WvEVPMDDigest(const env_md_st *_evpmd) :
++WvEVPMDDigest::WvEVPMDDigest(const EVP_MD*_evpmd) :
+ evpmd(_evpmd), active(false)
+ {
+- evpctx = new EVP_MD_CTX;
++ evpctx = EVP_MD_CTX_new();
+ _reset();
+ }
+
+@@ -24,7 +24,7 @@ WvEVPMDDigest::WvEVPMDDigest(const env_md_st *_evpmd) :
+ WvEVPMDDigest::~WvEVPMDDigest()
+ {
+ cleanup();
+- delete evpctx;
++ EVP_MD_CTX_free(evpctx);
+ }
+
+
+@@ -60,7 +60,7 @@ bool WvEVPMDDigest::_reset()
+ // the typecast is necessary for API compatibility with different
+ // versions of openssl. None of them *actually* change the contents of
+ // the pointer.
+- EVP_DigestInit(evpctx, (env_md_st *)evpmd);
++ EVP_DigestInit(evpctx, evpmd);
+ active = true;
+ return true;
+ }
+@@ -79,7 +79,7 @@ void WvEVPMDDigest::cleanup()
+
+ size_t WvEVPMDDigest::digestsize() const
+ {
+- return EVP_MD_size((env_md_st *)evpmd);
++ return EVP_MD_size(evpmd);
+ }
+
+
+@@ -104,14 +104,14 @@ WvHMACDigest::WvHMACDigest(WvEVPMDDigest *_digest,
+ {
+ key = new unsigned char[keysize];
+ memcpy(key, _key, keysize);
+- hmacctx = new HMAC_CTX;
++ hmacctx = HMAC_CTX_new();
+ _reset();
+ }
+
+ WvHMACDigest::~WvHMACDigest()
+ {
+ cleanup();
+- delete hmacctx;
++ HMAC_CTX_free(hmacctx);
+ deletev key;
+ delete digest;
+ }
+@@ -145,7 +145,7 @@ bool WvHMACDigest::_finish(WvBuf &outbuf)
+ bool WvHMACDigest::_reset()
+ {
+ cleanup();
+- HMAC_Init(hmacctx, key, keysize, (env_md_st *)digest->getevpmd());
++ HMAC_Init(hmacctx, key, keysize, digest->getevpmd());
+ active = true;
+ return true;
+ }
+diff --git a/crypto/wvocsp.cc b/crypto/wvocsp.cc
+index ddb2de4..7d5da07 100644
+--- a/crypto/wvocsp.cc
++++ b/crypto/wvocsp.cc
+@@ -118,9 +118,10 @@ bool WvOCSPResp::check_nonce(const WvOCSPReq &req) const
+
+ bool WvOCSPResp::signedbycert(const WvX509 &cert) const
+ {
+- EVP_PKEY *skey = X509_get_pubkey(cert.cert);
+- int i = OCSP_BASICRESP_verify(bs, skey, 0);
+- EVP_PKEY_free(skey);
++ STACK_OF(X509) *sk = sk_X509_new_null();
++ sk_X509_push(sk, cert.cert);
++ int i = OCSP_basic_verify(bs, sk, NULL, OCSP_NOVERIFY);
++ sk_X509_free(sk);
+
+ if(i > 0)
+ return true;
+@@ -131,33 +132,15 @@ bool WvOCSPResp::signedbycert(const WvX509 &cert) const
+
+ WvX509 WvOCSPResp::get_signing_cert() const
+ {
+- if (!bs || !sk_X509_num(bs->certs))
++ const STACK_OF(X509) *certs = OCSP_resp_get0_certs(bs);
++ if (!bs || !sk_X509_num(certs))
+ return WvX509();
+
+- // note: the following bit of code is taken almost verbatim from
+- // ocsp_vfy.c in OpenSSL 0.9.8. Copyright and attribution should
+- // properly belong to them
+-
+- OCSP_RESPID *id = bs->tbsResponseData->responderId;
+-
+- if (id->type == V_OCSP_RESPID_NAME)
+- {
+- X509 *x = X509_find_by_subject(bs->certs, id->value.byName);
+- if (x)
+- return WvX509(X509_dup(x));
++ X509 *signer = NULL;
++ if (OCSP_resp_get0_signer(bs, &signer, NULL) == 1) {
++ return WvX509(X509_dup(signer));
+ }
+
+- if (id->value.byKey->length != SHA_DIGEST_LENGTH) return NULL;
+- unsigned char tmphash[SHA_DIGEST_LENGTH];
+- unsigned char *keyhash = id->value.byKey->data;
+- for (int i = 0; i < sk_X509_num(bs->certs); i++)
+- {
+- X509 *x = sk_X509_value(bs->certs, i);
+- X509_pubkey_digest(x, EVP_sha1(), tmphash, NULL);
+- if(!memcmp(keyhash, tmphash, SHA_DIGEST_LENGTH))
+- return WvX509(X509_dup(x));
+- }
+-
+ return WvX509();
+ }
+
+diff --git a/crypto/wvx509.cc b/crypto/wvx509.cc
+index 70c9fa0..5e5f9be 100644
+--- a/crypto/wvx509.cc
++++ b/crypto/wvx509.cc
+@@ -974,7 +974,7 @@ static void add_aia(WvStringParm type, WvString identifier,
+ sk_ACCESS_DESCRIPTION_push(ainfo, acc);
+ acc->method = OBJ_txt2obj(type.cstr(), 0);
+ acc->location->type = GEN_URI;
+- acc->location->d.ia5 = M_ASN1_IA5STRING_new();
++ acc->location->d.ia5 = ASN1_IA5STRING_new();
+ unsigned char *cident
+ = reinterpret_cast<unsigned char *>(identifier.edit());
+ ASN1_STRING_set(acc->location->d.ia5, cident, identifier.len());
+@@ -1059,7 +1059,7 @@ void WvX509::set_crl_urls(WvStringList &urls)
+ GENERAL_NAMES *uris = GENERAL_NAMES_new();
+ GENERAL_NAME *uri = GENERAL_NAME_new();
+ uri->type = GEN_URI;
+- uri->d.ia5 = M_ASN1_IA5STRING_new();
++ uri->d.ia5 = ASN1_IA5STRING_new();
+ unsigned char *cident
+ = reinterpret_cast<unsigned char *>(i().edit());
+ ASN1_STRING_set(uri->d.ia5, cident, i().len());
+@@ -1158,10 +1158,11 @@ WvString WvX509::get_extension(int nid) const
+ if (ext)
+ {
+ X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext);
++ ASN1_OCTET_STRING *ext_data_str = X509_EXTENSION_get_data(ext);
+ if (!method)
+ {
+ WvDynBuf buf;
+- buf.put(ext->value->data, ext->value->length);
++ buf.put(ext_data_str->data, ext_data_str->length);
+ retval = buf.getstr();
+ }
+ else
+@@ -1172,21 +1173,21 @@ WvString WvX509::get_extension(int nid) const
+ // even though it's const (at least as of version 0.9.8e).
+ // gah.
+ #if OPENSSL_VERSION_NUMBER >= 0x0090800fL
+- const unsigned char * ext_value_data = ext->value->data;
++ const unsigned char * ext_value_data = ext_data_str->data;
+ #else
+ unsigned char *ext_value_data = ext->value->data;
+ #endif
+ if (method->it)
+ {
+ ext_data = ASN1_item_d2i(NULL, &ext_value_data,
+- ext->value->length,
++ ext_data_str->length,
+ ASN1_ITEM_ptr(method->it));
+ TRACE("Applied generic conversion!\n");
+ }
+ else
+ {
+ ext_data = method->d2i(NULL, &ext_value_data,
+- ext->value->length);
++ ext_data_str->length);
+ TRACE("Applied method specific conversion!\n");
+ }
+
+@@ -1321,13 +1322,13 @@ bool WvX509::verify(WvBuf &original, WvStringParm signature) const
+ return false;
+
+ /* Verify the signature */
+- EVP_MD_CTX sig_ctx;
+- EVP_VerifyInit(&sig_ctx, EVP_sha1());
+- EVP_VerifyUpdate(&sig_ctx, original.peek(0, original.used()),
++ EVP_MD_CTX *sig_ctx = EVP_MD_CTX_new();
++ EVP_VerifyInit(sig_ctx, EVP_sha1());
++ EVP_VerifyUpdate(sig_ctx, original.peek(0, original.used()),
+ original.used());
+- int sig_err = EVP_VerifyFinal(&sig_ctx, sig_buf, sig_size, pk);
++ int sig_err = EVP_VerifyFinal(sig_ctx, sig_buf, sig_size, pk);
+ EVP_PKEY_free(pk);
+- EVP_MD_CTX_cleanup(&sig_ctx); // Again, not my fault...
++ EVP_MD_CTX_free(sig_ctx); // Again, not my fault...
+ if (sig_err != 1)
+ {
+ debug("Verify failed!\n");
+@@ -1446,19 +1447,19 @@ void WvX509::set_ski()
+ {
+ CHECK_CERT_EXISTS_SET("ski");
+
+- ASN1_OCTET_STRING *oct = M_ASN1_OCTET_STRING_new();
+- ASN1_BIT_STRING *pk = cert->cert_info->key->public_key;
++ ASN1_OCTET_STRING *oct = ASN1_OCTET_STRING_new();
++ ASN1_BIT_STRING *pk = X509_get0_pubkey_bitstr(cert);
+ unsigned char pkey_dig[EVP_MAX_MD_SIZE];
+ unsigned int diglen;
+
+ EVP_Digest(pk->data, pk->length, pkey_dig, &diglen, EVP_sha1(), NULL);
+
+- M_ASN1_OCTET_STRING_set(oct, pkey_dig, diglen);
++ ASN1_OCTET_STRING_set(oct, pkey_dig, diglen);
+ X509_EXTENSION *ext = X509V3_EXT_i2d(NID_subject_key_identifier, 0,
+ oct);
+ X509_add_ext(cert, ext, -1);
+ X509_EXTENSION_free(ext);
+- M_ASN1_OCTET_STRING_free(oct);
++ ASN1_OCTET_STRING_free(oct);
+ }
+
+
+diff --git a/crypto/wvx509mgr.cc b/crypto/wvx509mgr.cc
+index f249eec..156d3a4 100644
+--- a/crypto/wvx509mgr.cc
++++ b/crypto/wvx509mgr.cc
+@@ -350,6 +350,8 @@ bool WvX509Mgr::signcert(WvX509 &unsignedcert) const
+ return false;
+ }
+
++ uint32_t ex_flags = X509_get_extension_flags(cert);
++ uint32_t ex_kusage = X509_get_key_usage(cert);
+ if (cert == unsignedcert.cert)
+ {
+ debug("Self Signing!\n");
+@@ -362,8 +364,8 @@ bool WvX509Mgr::signcert(WvX509 &unsignedcert) const
+ return false;
+ }
+ #endif
+- else if (!((cert->ex_flags & EXFLAG_KUSAGE) &&
+- (cert->ex_kusage & KU_KEY_CERT_SIGN)))
++ else if (!((ex_flags & EXFLAG_KUSAGE) &&
++ (ex_kusage & KU_KEY_CERT_SIGN)))
+ {
+ debug("This Certificate is not allowed to sign certificates!\n");
+ return false;
+@@ -390,6 +392,8 @@ bool WvX509Mgr::signcert(WvX509 &unsignedcert) const
+
+ bool WvX509Mgr::signcrl(WvCRL &crl) const
+ {
++ uint32_t ex_flags = X509_get_extension_flags(cert);
++ uint32_t ex_kusage = X509_get_key_usage(cert);
+ if (!isok() || !crl.isok())
+ {
+ debug(WvLog::Warning, "Asked to sign CRL, but certificate or CRL (or "
+@@ -403,12 +407,12 @@ bool WvX509Mgr::signcrl(WvCRL &crl) const
+ "CRLs!\n");
+ return false;
+ }
+- else if (!((cert->ex_flags & EXFLAG_KUSAGE) &&
+- (cert->ex_kusage & KU_CRL_SIGN)))
++ else if (!((ex_flags & EXFLAG_KUSAGE) &&
++ (ex_kusage & KU_CRL_SIGN)))
+ {
+ debug("Certificate not allowed to sign CRLs! (%s %s)\n",
+- (cert->ex_flags & EXFLAG_KUSAGE),
+- (cert->ex_kusage & KU_CRL_SIGN));
++ (ex_flags & EXFLAG_KUSAGE),
++ (ex_kusage & KU_CRL_SIGN));
+ return false;
+ }
+ #endif
+@@ -454,7 +458,6 @@ WvString WvX509Mgr::sign(WvBuf &data) const
+ {
+ assert(rsa);
+
+- EVP_MD_CTX sig_ctx;
+ unsigned char sig_buf[4096];
+
+ EVP_PKEY *pk = EVP_PKEY_new();
+@@ -467,20 +470,22 @@ WvString WvX509Mgr::sign(WvBuf &data) const
+ return WvString::null;
+ }
+
+- EVP_SignInit(&sig_ctx, EVP_sha1());
+- EVP_SignUpdate(&sig_ctx, data.peek(0, data.used()), data.used());
++ EVP_MD_CTX *sig_ctx = EVP_MD_CTX_new();
++ EVP_SignInit(sig_ctx, EVP_sha1());
++ EVP_SignUpdate(sig_ctx, data.peek(0, data.used()), data.used());
+ unsigned int sig_len = sizeof(sig_buf);
+- int sig_err = EVP_SignFinal(&sig_ctx, sig_buf,
++ int sig_err = EVP_SignFinal(sig_ctx, sig_buf,
+ &sig_len, pk);
+ if (sig_err != 1)
+ {
+ debug("Error while signing.\n");
+ EVP_PKEY_free(pk);
++ EVP_MD_CTX_free(sig_ctx);
+ return WvString::null;
+ }
+
+ EVP_PKEY_free(pk);
+- EVP_MD_CTX_cleanup(&sig_ctx); // this isn't my fault ://
++ EVP_MD_CTX_free(sig_ctx); // this isn't my fault ://
+ WvDynBuf buf;
+ buf.put(sig_buf, sig_len);
+ debug("Signature size: %s\n", buf.used());
+diff --git a/include/wvdiffiehellman.h b/include/wvdiffiehellman.h
+index af75ffa..a2d001f 100644
+--- a/include/wvdiffiehellman.h
++++ b/include/wvdiffiehellman.h
+@@ -27,7 +27,7 @@ public:
+ bool create_secret(WvBuf &inbuf, size_t in_len, WvBuf& outbuf);
+
+ protected:
+- struct dh_st *info;
++ DH *info;
+ BN_ULONG generator;
+
+ private:
+diff --git a/include/wvdigest.h b/include/wvdigest.h
+index fdc39bd..f2eed40 100644
+--- a/include/wvdigest.h
++++ b/include/wvdigest.h
+@@ -9,10 +9,8 @@
+
+ #include "wvencoder.h"
+ #include <stdint.h>
++#include <openssl/evp.h>
+
+-struct env_md_st;
+-struct env_md_ctx_st;
+-struct hmac_ctx_st;
+
+ /**
+ * Superclass for all message digests.
+@@ -45,8 +43,8 @@ public:
+ class WvEVPMDDigest : public WvDigest
+ {
+ friend class WvHMACDigest;
+- const env_md_st *evpmd;
+- env_md_ctx_st *evpctx;
++ const EVP_MD *evpmd;
++ EVP_MD_CTX *evpctx;
+ bool active;
+
+ public:
+@@ -54,13 +52,13 @@ public:
+ virtual size_t digestsize() const;
+
+ protected:
+- WvEVPMDDigest(const env_md_st *_evpmd);
++ WvEVPMDDigest(const EVP_MD *_evpmd);
+ virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf,
+ bool flush); // consumes input
+ virtual bool _finish(WvBuf &outbuf); // outputs digest
+ virtual bool _reset(); // supported: resets digest value
+
+- const env_md_st *getevpmd()
++ const EVP_MD *getevpmd()
+ { return evpmd; }
+
+ private:
+@@ -104,7 +102,7 @@ class WvHMACDigest : public WvDigest
+ WvEVPMDDigest *digest;
+ unsigned char *key;
+ size_t keysize;
+- hmac_ctx_st *hmacctx;
++ HMAC_CTX *hmacctx;
+ bool active;
+
+ public:
+diff --git a/include/wvtripledes.h b/include/wvtripledes.h
+index 185fe8a..a442e7a 100644
+--- a/include/wvtripledes.h
++++ b/include/wvtripledes.h
+@@ -70,11 +70,11 @@ protected:
+
+ private:
+ Mode mode;
+- des_cblock key;
+- des_key_schedule deskey1;
+- des_key_schedule deskey2;
+- des_key_schedule deskey3;
+- des_cblock ivec; // initialization vector
++ DES_cblock key;
++ DES_key_schedule deskey1;
++ DES_key_schedule deskey2;
++ DES_key_schedule deskey3;
++ DES_cblock ivec; // initialization vector
+ int ivecoff; // current offset into initvec
+ };
+
diff --git a/libraries/wvstreams/patches/14_cross.diff b/libraries/wvstreams/patches/14_cross.diff
new file mode 100644
index 0000000000..35e815f944
--- /dev/null
+++ b/libraries/wvstreams/patches/14_cross.diff
@@ -0,0 +1,53 @@
+From: Helmut Grohne <helmut@subdivi.de>
+Subject: prefix pkg-config with $ac_tool_prefix to support cross compilation
+
+Index: wvstreams-4.6.1/configure.ac
+===================================================================
+--- wvstreams-4.6.1.orig/configure.ac
++++ wvstreams-4.6.1/configure.ac
+@@ -345,8 +345,8 @@
+ LDFLAGS="$LDFLAGS_save"
+
+ # Detect pkg-config
+-AC_PATH_PROG([PKGCONFIG], [pkg-config], [no])
+-if test "$PKGCONFIG" = "no"; then
++PKG_PROG_PKG_CONFIG
++if test "x$PKG_CONFIG" = "x"; then
+ AC_MSG_WARN([pkg-config is not installed])
+ fi
+
+@@ -370,10 +370,10 @@
+ if test "$with_dbus" != "no"; then
+ if test "$with_dbus" = "" -o "$with_dbus" = "yes"; then
+ AC_MSG_CHECKING([Checking that D-Bus version greater than 1.2.14 installed.])
+- if pkg-config --atleast-version 1.2.14 dbus-1; then
+- WV_APPEND(CPPFLAGS, [`pkg-config --cflags dbus-1`])
+- WV_APPEND(LDFLAGS, [`pkg-config --libs-only-L dbus-1`])
+- LIBS_DBUS=`pkg-config --libs-only-l dbus-1`
++ if $PKG_CONFIG --atleast-version 1.2.14 dbus-1; then
++ WV_APPEND(CPPFLAGS, [`$PKG_CONFIG --cflags dbus-1`])
++ WV_APPEND(LDFLAGS, [`$PKG_CONFIG --libs-only-L dbus-1`])
++ LIBS_DBUS=`$PKG_CONFIG --libs-only-l dbus-1`
+ AC_MSG_RESULT([yes])
+ else
+ with_dbus=no
+@@ -497,7 +497,7 @@
+ CPPFLAGS_save="$CPPFLAGS"
+ LDFLAGS_save="$LDFLAGS"
+ LIBS_save="$LIBS"
+- for wv_qtdir in $with_qt $QTDIR $QT_SEARCH_PATH $(pkg-config --variable=prefix qt-mt); do
++ for wv_qtdir in $with_qt $QTDIR $QT_SEARCH_PATH $($PKG_CONFIG --variable=prefix qt-mt); do
+ eval wv_qtdir="$wv_qtdir"
+ CPPFLAGS="$CPPFLAGS_save -I$wv_qtdir/include -I$wv_qtdir/include/qt3"
+ LDFLAGS="$LDFLAGS_save -L$wv_qtdir/lib"
+Index: wvstreams-4.6.1/autogen.sh
+===================================================================
+--- wvstreams-4.6.1.orig/autogen.sh
++++ wvstreams-4.6.1/autogen.sh
+@@ -1,5 +1,6 @@
+ #!/bin/sh
+ set -e
++aclocal
+ autoheader
+ autoconf
+ (cd argp && autoconf)
diff --git a/libraries/wvstreams/patches/15_Fix-narrowing-conversion-error.patch b/libraries/wvstreams/patches/15_Fix-narrowing-conversion-error.patch
new file mode 100644
index 0000000000..fc9abd8e63
--- /dev/null
+++ b/libraries/wvstreams/patches/15_Fix-narrowing-conversion-error.patch
@@ -0,0 +1,29 @@
+From c86c524f951f6e973473bfee76fd5366368b2cbc Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 25 Dec 2019 09:32:41 -0800
+Subject: [PATCH] Fix narrowing conversion error
+
+xplc/moduleloader.cc: In static member function 'static Module* Module::loadModule(const char*)': xplc/moduleloader.cc:67:14: error: narrowing conversion of '-1' from 'int' to 'unsigned int' [-Wnarrowing] 67 | case (int)-1: | ^
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ xplc/moduleloader.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xplc/moduleloader.cc b/xplc/moduleloader.cc
+index 02dd9a4..c53f5d2 100644
+--- a/xplc/moduleloader.cc
++++ b/xplc/moduleloader.cc
+@@ -62,7 +62,7 @@ Module* Module::loadModule(const char* modulename) {
+ return NULL;
+ }
+
+- switch(moduleinfo->version_major) {
++ switch((int)moduleinfo->version_major) {
+ #ifdef UNSTABLE
+ case -1:
+ /* nothing to do */
+--
+2.24.1
+
diff --git a/libraries/wvstreams/patches/wvstreams-4.6.1-parallel-make.patch b/libraries/wvstreams/patches/16_wvstreams-4.6.1-parallel-make.patch
index 5ad79fd7a9..5ad79fd7a9 100644
--- a/libraries/wvstreams/patches/wvstreams-4.6.1-parallel-make.patch
+++ b/libraries/wvstreams/patches/16_wvstreams-4.6.1-parallel-make.patch
diff --git a/libraries/wvstreams/patches/wvstreams-4.6.1-gcc47.patch b/libraries/wvstreams/patches/wvstreams-4.6.1-gcc47.patch
deleted file mode 100644
index 3d67048324..0000000000
--- a/libraries/wvstreams/patches/wvstreams-4.6.1-gcc47.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- wvstreams-4.6.1-dist/include/wvuid.h 2012-01-05 10:18:58.713661236 +0100
-+++ wvstreams-4.6.1/include/wvuid.h 2012-01-05 10:27:42.198435328 +0100
-@@ -7,6 +7,7 @@
- #ifndef __WVUID_H
- #define __WVUID_H
-
-+#include <unistd.h>
- #include "wvstring.h"
-
- #if WIN32
diff --git a/libraries/wvstreams/wvstreams.SlackBuild b/libraries/wvstreams/wvstreams.SlackBuild
index 562bb05d11..8fc3e43efa 100644
--- a/libraries/wvstreams/wvstreams.SlackBuild
+++ b/libraries/wvstreams/wvstreams.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wvstreams
# Written by Vincent Batts, vbatts@batts.mine.nu
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wvstreams
VERSION=${VERSION:-4.6.1}
-BUILD=${BUILD:-2}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,26 +56,17 @@ 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 {} \;
-
-# patch to allow parallel builds
-patch -p1 < $CWD/patches/wvstreams-4.6.1-parallel-make.patch
-
-# patch for gcc-4.7
-# https://code.google.com/p/wvstreams/issues/detail?id=34
-patch -p1 < $CWD/patches/wvstreams-4.6.1-gcc47.patch
-# another patch for gcc and glibc > 2.12.0 from debian
-patch -p1 < $CWD/patches/05_gcc.diff
-
-# configure doesn't support disabling static libraries
-# Don't manually remove them either, as wvdial won't build then :)
-# Added more flags to avoid aborting when building with gcc-4.7.x
-# https://bugs.gentoo.org/show_bug.cgi?id=419971
-CFLAGS="$SLKCFLAGS -fno-tree-dce -fno-optimize-sibling-calls" \
-CXXFLAGS="$SLKCFLAGS -fno-tree-dce -fno-optimize-sibling-calls" \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 debian patches
+for i in $CWD/patches/*; do patch -p1 < $i ; done
+
+./autogen.sh
+
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -78,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS -fno-tree-dce -fno-optimize-sibling-calls" \
make
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
# Let's not clobber the config file
@@ -92,9 +93,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/libraries/wxGTK/README b/libraries/wxGTK/README
index 25b994df96..35adeac5d2 100644
--- a/libraries/wxGTK/README
+++ b/libraries/wxGTK/README
@@ -1,13 +1,14 @@
wxGTK is part of wxWidgets, a cross-platform API for writing GUI
-applications on multiple platforms that still utilize the native platform's
-controls and utilities.
+applications on multiple platforms that still utilize the native
+platform's controls and utilities.
-This is a unicode shared build. If you do not want the unicode build, use:
+This is a unicode shared build.
+If you do not want the unicode build, use:
UNICODE=NO ./wxGTK.SlackBuild
-If you want support for gnomeprint pass GNOMEPRINT=yes to the script. This
-will require libgnomeprint and libgnomeprintui, both available from
-SlackBuilds.org.
+If you want support for gnomeprint pass GNOMEPRINT=yes to the
+script. This will require libgnomeprint and libgnomeprintui, both
+available from SlackBuilds.org.
This package conflicts with wxPython because wxGTK is already included
there. Both cannot be installed at the same time!
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index 504e7b5084..09d88a1657 100644
--- a/libraries/wxGTK/wxGTK.SlackBuild
+++ b/libraries/wxGTK/wxGTK.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxGTK
@@ -27,10 +27,13 @@
# Lots of key help from Eric Hameleers and the SBo admins.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxGTK
VERSION=${VERSION:-2.8.12}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
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}
@@ -129,8 +139,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/libraries/wxGTK3/README b/libraries/wxGTK3/README
index 60664362d1..ee922ffcde 100644
--- a/libraries/wxGTK3/README
+++ b/libraries/wxGTK3/README
@@ -2,23 +2,39 @@ wxGTK3 is part of wxWidgets, a cross-platform API for writing GUI
applications on multiple platforms that still utilize the native
platform's controls and utilities.
-webkitgtk and webkitgtk3 are optional dependencies of this package.
-This will provide webview support.
-
-NOTE:
-this package is NOT built using --enable-stl by default.
-if you need to enable stl, use:
-STL=yes ./wxGTK3.SlackBuild
-
-If you need to build static version, use:
-STATIC=yes ./wxGTK3.SlackBuild
-When building with static libraries, plugin support will be disabled.
-
-This script also auto-detect webkitgtk presence. If it's installed,
-it will automatically use --enable-webkit parameter.
-
-wxGTK3 can be installed alongside with wxGTK/wxPython, but it will
-overwrite wx-config created by wxGTK/wxPython.
-If you need to build packages using wxGTK/wxPython, simply
-reinstall wxGTK/wxPython package and wx-config will point to correct version.
-The same solution can be used if wxGTK3's wx-config is overwritten.
+webkit2gtk is an optional dependency of this package. This will
+provide webview support.
+
+Notes:
+
+1. This package is NOT built using --enable-stl by default.
+ If you need to enable stl, use:
+ STL=yes ./wxGTK3.SlackBuild
+
+2. If you need to build static version, use:
+ STATIC=yes ./wxGTK3.SlackBuild
+ When building with static libraries, plugin support will be disabled.
+
+3. This script also auto-detects webkitgtk presence. If it's installed,
+ it will automatically use the --enable-webkit parameter.
+
+4. If you need the wxGTK3 API documentation, you can include it in the
+ package by installing graphviz, then running wxGTK3.SlackBuild with
+ APIDOC=yes in the environment. You won't need the API docs unless
+ you're developing software that uses wxGTK3.
+
+Conflict warning:
+
+wxGTK3 can be installed alongside wxGTK/wxPython, but it will
+overwrite the /usr/bin/wx-config created by wxGTK/wxPython.
+
+If you need to build packages using wxGTK/wxPython, simply reinstall
+the wxGTK/wxPython package and wx-config will point to correct
+version.
+
+The same solution can be used if wxGTK3's wx-config is overwritten
+by wxPython.
+
+We are in the process of updating all scripts that use wxGTK3 or
+wxPython to ignore the wx-config symlink at build time, so this will
+stop being a problem some time in the future.
diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild
index 43a7241a66..04ec33a820 100644
--- a/libraries/wxGTK3/wxGTK3.SlackBuild
+++ b/libraries/wxGTK3/wxGTK3.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxGTK3
-# Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220416 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - only build HTML docs if requested, since it's time-consuming,
+# requires optional dep graphviz, and 99.9% of users will never
+# read them (they're developer docs, not end-user docs).
+# - spelling/grammar/formatting fixes in README.
+
+# 20220414 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - actually generate and install HTML documentation.
+# - use relative symlink in /usr/bin.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxGTK3
-VERSION=${VERSION:-3.0.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.5}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=wxWidgets
@@ -37,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}
@@ -64,7 +81,7 @@ else
fi
# Check for WebKit
-webkit=`pkg-config --exists webkit-1.0`
+webkit=`pkg-config --exists webkit2gtk-4.0`
if [ "$?" -eq 0 ]; then
wk="--enable-webkit"
else
@@ -89,9 +106,9 @@ 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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -102,7 +119,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-mediactrl \
--with-opengl \
--enable-graphics_ctx \
- --with-gtk=2 \
+ --with-gtk=3 \
--enable-unicode \
--enable-plugins \
--enable-ipv6 \
@@ -119,20 +136,39 @@ 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
# Now let's fix the broken symlink created by the package
-if [ "${STATIC:-no}" = "yes" ]; then
-ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-static-3.0 \
- $PKG/usr/bin/wx-config
+linksrc=gtk3-unicode-3.0
+[ "${STATIC:-no}" = "yes" ] && linksrc=gtk3-unicode-static-3.0
+
+ln -sf ../lib${LIBDIRSUFFIX}/wx/config/$linksrc $PKG/usr/bin/wx-config
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
+# 20220414 bkw: instead of installing the *source* to the doxygen docs,
+# actually run doxygen and install the generated HTML docs.
+# This is only done if the users asks for it.
+# The "|| true" stuff is meant to keep errors in the documentation from
+# killing the build. DOT_NUM_THREADS=1 may slow things down a bit on
+# well-endowed hosts, but it prevents running out of memory on lesser ones.
+# Don't try to generate the API docs if graphviz is missing.
+if [ "${APIDOC:-no}" = "yes" ] && which dot &> /dev/null; then
+ echo "=== APIDOC=yes and graphviz exists, building API docs"
+ cd docs/doxygen
+ echo 'DOT_NUM_THREADS = 1' >> Doxyfile
+ GENERATE_LATEX=NO doxygen || true
+ mv out/html $PKG/usr/doc/$PRGNAM-$VERSION/api || true
+ cd -
else
- ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-3.0 \
- $PKG/usr/bin/wx-config
+ echo "=== not building API docs"
fi
+rm -rf docs/doxygen
-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/libraries/wxGTK3/wxGTK3.info b/libraries/wxGTK3/wxGTK3.info
index 7edde8a4a5..f1a3b86ea1 100644
--- a/libraries/wxGTK3/wxGTK3.info
+++ b/libraries/wxGTK3/wxGTK3.info
@@ -1,8 +1,8 @@
PRGNAM="wxGTK3"
-VERSION="3.0.4"
+VERSION="3.0.5"
HOMEPAGE="http://www.wxwidgets.org"
-DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.0.4/wxWidgets-3.0.4.tar.gz"
-MD5SUM="148a57dc7e1a025b28d5dbffc99e38eb"
+DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.0.5/wxWidgets-3.0.5.tar.gz"
+MD5SUM="0acae8c9d8df226ed2523d745200bdc4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/wxPython/README b/libraries/wxPython/README
index 25804957ea..1f20bd3ae7 100644
--- a/libraries/wxPython/README
+++ b/libraries/wxPython/README
@@ -1,15 +1,29 @@
-wxPython is a GUI toolkit for the Python programming language. It allows
-Python programmers to create programs with a robust, highly functional
-graphical user interface simply and easily. It is implemented as a Python
-extension module (native code) that wraps the popular wxWidgets cross
-platform GUI library which is written in C++.
+wxPython is a GUI toolkit for the Python programming language.
+It allows Python programmers to create programs with a robust,
+highly functional graphical user interface simply and easily. It is
+implemented as a Python extension module (native code) that wraps the
+popular wxWidgets cross platform GUI library which is written in C++.
-If you want support for gnomeprint pass GNOMEPRINT=yes to the script. This
-will require libgnomeprint and libgnomeprintui, both available from
-SlackBuilds.org.
+If you want support for gnomeprint pass GNOMEPRINT=yes to the
+script. This will require libgnomeprint and libgnomeprintui, both
+available from SlackBuilds.org.
Another optional dependency is libmspack, which is used by the CHM help
viewer.
-wxPython is a port of wxWidgets and as such compatible to other ports like
-wxGTK and wxX11.
+wxPython is a port of wxWidgets and as such compatible to other ports
+like wxGTK and wxX11. Note that SlackBuilds.org builds are only tested
+with wxPython (not wxGTK or wxX11), so this is the correct package to
+install unless you have very specific and weird requirements.
+
+wxPython can be installed alongside wxGTK3, but it will overwrite the
+/usr/bin/wx-config created by wxGTK3.
+
+If you need to build packages using wxGTK3, simply reinstall the
+wxGTK3 package and wx-config will point to correct version.
+
+The same solution can be used if wxPython's wx-config is overwritten.
+
+We are in the process of updating all scripts that use wxGTK3 or
+wxPython to ignore the wx-config symlink at build time, so this will
+stop being a problem some time in the future.
diff --git a/libraries/wxPython/wxPython.SlackBuild b/libraries/wxPython/wxPython.SlackBuild
index 148d8b0a87..a5ef7f01be 100644
--- a/libraries/wxPython/wxPython.SlackBuild
+++ b/libraries/wxPython/wxPython.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxPython
@@ -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.
+# 20220410 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - fix /usr/include permissions.
+# - make .desktop files validate.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxPython
VERSION=${VERSION:-2.8.12.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
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}
@@ -72,9 +83,9 @@ cd $PRGNAM-src-$VERSION
chown -R root: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 -Wno-narrowing" \
@@ -151,12 +162,21 @@ cd wxPython
rm -rf $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/tools/Editra
cd -
+# 20220410 bkw: this one .i file gets installed +x, because it's +x
+# in the source tarball... in a dir full of .i files that aren't +x.
+chmod 644 include/wx-2.8/wx/wxPython/i_files/aui.i
+
# install wxPython includes
cp -rf include/wx-2.8/wx/wxPython $PKG/usr/include/wx-2.8/wx/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20220410 bkw: fix the .desktop files so they validate.
+sed -i -e '/^Categories/s,Application;,,' \
+ -e '/Icon/s,\.png$,,' \
+ $PKG/usr/share/applications/*.desktop
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/wxPython
cp -a README.1st.txt docs* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a wxPython/docs/* $PKG/usr/doc/$PRGNAM-$VERSION/wxPython
@@ -166,9 +186,11 @@ cd $PKG/usr/doc/$PRGNAM-$VERSION/docs
rm -rf cocoa latex mac metrowerks microwin msw palmos word
cd -
+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/libraries/wxPython/wxPython.info b/libraries/wxPython/wxPython.info
index 5f62070e02..2dadc5d86c 100644
--- a/libraries/wxPython/wxPython.info
+++ b/libraries/wxPython/wxPython.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/libraries/wxPython3/README b/libraries/wxPython3/README
index 26a0ae22bf..0ca5d97f2d 100644
--- a/libraries/wxPython3/README
+++ b/libraries/wxPython3/README
@@ -1,10 +1,10 @@
wxPython3 (Crossplatform GUI Toolkit)
-wxPython is a GUI toolkit for the Python programming language. It allows
-Python programmers to create programs with a robust, highly functional
-graphical user interface simply and easily. It is implemented as a Python
-extension module (native code) that wraps the popular wxWidgets cross
-platform GUI library which is written in C++.
+wxPython is a GUI toolkit for the Python programming language.
+It allows Python programmers to create programs with a robust,
+highly functional graphical user interface simply and easily. It is
+implemented as a Python extension module (native code) that wraps the
+popular wxWidgets cross platform GUI library which is written in C++.
Another optional dependency is libmspack, which is used by the CHM help
viewer.
@@ -21,4 +21,4 @@ package and wx-config will point to correct version. The same solution
can be used if wxPython's wx-config is overwritten.
Optional dependency:
-- To have webview support, please install webkitgtk before installing wxGTK3.
+- To have webview support, install webkit2gtk before installing wxGTK3.
diff --git a/libraries/wxPython3/wxPython3.SlackBuild b/libraries/wxPython3/wxPython3.SlackBuild
index 4284135177..b838d38693 100644
--- a/libraries/wxPython3/wxPython3.SlackBuild
+++ b/libraries/wxPython3/wxPython3.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxPython3
# Copyright 2007-2014 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220410 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - fix permissions of a couple of files.
+
+# 20220214 bkw: Modified by SlackBuilds.org: make the build succeed
+# when wxPython and wxGTK3 are both installed, regardless of which one
+# was installed first.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxPython3
SRCNAM=wxPython
VERSION=${VERSION:-3.0.2.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,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}
@@ -57,7 +71,7 @@ else
fi
# check webkitgtk existence
-webkit=`pkg-config --exists webkit-1.0`
+webkit=`pkg-config --exists webkit2gtk-4.0`
if [ "$?" -eq 0 ]; then
wx="--enable-webview"
else
@@ -75,56 +89,21 @@ cd $SRCNAM-src-$VERSION
chown -R root: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 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --with-gtk=2 \
- --with-sdl \
- --with-opengl \
- --enable-unicode \
- --enable-graphics_ctx \
- --enable-display \
- --enable-mediactrl \
- --enable-sound \
- --disable-precomp-headers \
- --libdir=/usr/lib$LIBDIRSUFFIX \
- --build=$ARCH-slackware-linux \
- $wx
-
-make
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
cd wxPython
- python setup.py \
- WXPORT=gtk2 \
+ python2 setup.py \
+ WXPORT=gtk3 \
UNICODE=1 \
- EP_ADD_OPTS=1 \
- EP_FULL_VER=0 \
- NO_SCRIPTS=0 \
- WX_CONFIG="$TMP/$SRCNAM-src-$VERSION/wx-config --no_rpath" \
- build_ext --include-dirs=$TMP/$PRGNAM-src-$VERSION/lib/wx/include/gtk2-unicode-release-2.8 \
- --library-dirs=$TMP/$PRGNAM-src-$VERSION/lib \
- --rpath=/usr/lib$LIBDIRSUFFIX \
+ WX_CONFIG=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0 \
build
- python setup.py \
- WXPORT=gtk2 \
+ python2 setup.py \
+ WXPORT=gtk3 \
UNICODE=1 \
- EP_ADD_OPTS=1 \
- EP_FULL_VER=0 \
- NO_SCRIPTS=0 \
- WX_CONFIG="$TMP/$SRCNAM-src-$VERSION/wx-config --prefix=$PKG/usr/bin/ --no_rpath" \
- SYS_WX_CONFIG="wx-config --enable-unicode" \
- build_ext --include-dirs=$TMP/$PRGNAM-src-$VERSION/lib/wx/include/gtk2-unicode-release-2.8 \
- --library-dirs=$TMP/$PRGNAM-src-$VERSION/lib \
- --rpath=/usr/lib$LIBDIRSUFFIX \
+ WX_CONFIG=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0 \
install --root=$PKG
mkdir -p $PKG/usr/share/{applications,pixmaps} $PKG/usr/share/icons/hicolor/{16x16,32x32}/apps
@@ -144,10 +123,6 @@ cd wxPython
rm -rf $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/wx-3.0-gtk2/wx/tools/Editra
cd -
-# install wxPython includes
-mkdir -p $PKG/usr/include/wx-3.0/wx/
-cp -rf wxPython/include/wx/wxPython $PKG/usr/include/wx-3.0/wx/
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -159,9 +134,14 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd $PKG/usr/doc/$PRGNAM-$VERSION/docs
rm -rf cocoa latex mac metrowerks microwin msw palmos word
+# 20220410 bkw: docs and includes don't need +x permission.
+chmod 0644 \
+ $PKG/usr/include/wx-3.0/wx/wxPython/i_files/aui.i \
+ $PKG/usr/doc/$PRGNAM-$VERSION/docs/doxygen/scripts/doxymlparser.py
+
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/libraries/wxPython4/README b/libraries/wxPython4/README
index aa28a3c0c7..819388e529 100644
--- a/libraries/wxPython4/README
+++ b/libraries/wxPython4/README
@@ -1,17 +1,17 @@
wxPython4 (Crossplatform GUI Toolkit)
-wxPython is a cross-platform GUI toolkit for the Python programming language.
-It allows Python programmers to create programs with a robust, highly
-functional graphical user interface, simply and easily.
+wxPython is a cross-platform GUI toolkit for the Python programming
+language. It allows Python programmers to create programs with a
+robust, highly functional graphical user interface, simply and easily.
-It is implemented as a set of Python extension modules that wrap the GUI
-components of the popular wxWidgets cross platform library, which is written
-in C++.
+It is implemented as a set of Python extension modules that wrap the
+GUI components of the popular wxWidgets cross platform library, which
+is written in C++.
-wxPython is a cross-platform toolkit. This means that the same program will
-run on multiple platforms without modification.
+wxPython is a cross-platform toolkit. This means that the same program
+will run on multiple platforms without modification.
-Currently Supported platforms are Microsoft Windows, Mac OS X and macOS,
-and Linux or other unix-like systems with GTK2 or GTK3 libraries.
-In most cases the native widgets are used on each platform to provide
-a 100% native look and feel for the application.
+Currently Supported platforms are Microsoft Windows, Mac OS X
+and macOS, and Linux or other unix-like systems with GTK2 or GTK3
+libraries. In most cases the native widgets are used on each platform
+to provide a 100% native look and feel for the application.
diff --git a/libraries/wxPython4/cython.patch b/libraries/wxPython4/cython.patch
new file mode 100644
index 0000000000..3e1a2a0377
--- /dev/null
+++ b/libraries/wxPython4/cython.patch
@@ -0,0 +1,16 @@
+Fix compatibility with Cython 3.0.0
+Remove unused import which seems to be removed in Cython 3.
+https://github.com/wxWidgets/Phoenix/issues/2439
+https://github.com/wxWidgets/Phoenix/pull/2441
+https://github.com/wxWidgets/Phoenix/issues/2514
+https://github.com/wxWidgets/Phoenix/commit/aeb557d01e7cd37176ebbf0f1ae6d0b53c115378
+--- wx/svg/_nanosvg.pyx.orig
++++ wx/svg/_nanosvg.pyx
+@@ -42,7 +42,6 @@ for manipulating the SVG shape info in memory.
+
+ import sys
+
+-cimport cython.object
+ from cpython.buffer cimport (
+ Py_buffer, PyObject_CheckBuffer, PyObject_GetBuffer, PyBUF_SIMPLE,
+ PyBuffer_Release)
diff --git a/libraries/wxPython4/wxPython4.SlackBuild b/libraries/wxPython4/wxPython4.SlackBuild
index fb1167e6df..ea7862534f 100644
--- a/libraries/wxPython4/wxPython4.SlackBuild
+++ b/libraries/wxPython4/wxPython4.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxPython4
-# 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
@@ -23,13 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Big thanks to Rich Shepard and Christoph Willing for the discussion on LQ
-#
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wxPython4
SRCNAM=wxPython
-VERSION=${VERSION:-4.0.7.post2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.2.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,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}
@@ -69,9 +75,11 @@ 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 -p0 < $CWD/cython.patch
python3 setup.py install --root=$PKG
@@ -86,7 +94,7 @@ ln -s /usr/share/icons/hicolor/32x32/apps/PySlices.png $PKG/usr/share/pixmaps/Py
find $PKG -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/wxPython
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.rst LICENSE.txt docs/*.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -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/libraries/wxPython4/wxPython4.info b/libraries/wxPython4/wxPython4.info
index dd9a2561e6..7784561d1f 100644
--- a/libraries/wxPython4/wxPython4.info
+++ b/libraries/wxPython4/wxPython4.info
@@ -1,10 +1,10 @@
PRGNAM="wxPython4"
-VERSION="4.0.7.post2"
+VERSION="4.2.1"
HOMEPAGE="https://wxPython.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/b9/8b/31267dd6d026a082faed35ec8d97522c0236f2e083bf15aff64d982215e1/wxPython-4.0.7.post2.tar.gz"
-MD5SUM="e10f59d8e1565b034c4933334ea1eb19"
+DOWNLOAD="https://files.pythonhosted.org/packages/aa/64/d749e767a8ce7bdc3d533334e03bb1106fc4e4803d16f931fada9007ee13/wxPython-4.2.1.tar.gz"
+MD5SUM="e62c5bd836d2a9dcb6e955509715b157"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="webkit2gtk pathlib2 python3-sip"
+REQUIRES="webkit2gtk python3-pathlib2 python3-attrdict"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/wxSQLite3/README b/libraries/wxSQLite3/README
deleted file mode 100644
index 7505431a0a..0000000000
--- a/libraries/wxSQLite3/README
+++ /dev/null
@@ -1,4 +0,0 @@
-wxSQLite3 (wxWidgets wrapper for SQLite3).
-
-wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x database and
-is specifically designed for use in programs based on the wxWidgets library.
diff --git a/libraries/wxSQLite3/slack-desc b/libraries/wxSQLite3/slack-desc
deleted file mode 100644
index 8ada48b01d..0000000000
--- a/libraries/wxSQLite3/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------------------------------------------------------|
-wxSQLite3: wxSQLite3 (wxWidgets wrapper for SQLite3)
-wxSQLite3:
-wxSQLite3: wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x
-wxSQLite3: database and is specifically designed for use in programs based on
-wxSQLite3: the wxWidgets library.
-wxSQLite3:
-wxSQLite3: Home Page: https://utelle.github.io/wxsqlite3/docs/html/index.html
-wxSQLite3:
-wxSQLite3:
-wxSQLite3:
-wxSQLite3:
diff --git a/libraries/wxSQLite3/wxSQLite3.SlackBuild b/libraries/wxSQLite3/wxSQLite3.SlackBuild
deleted file mode 100644
index 57ca0fe1ef..0000000000
--- a/libraries/wxSQLite3/wxSQLite3.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for wxSQLite3.
-#
-# 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=wxSQLite3
-VERSION=${VERSION:-4.5.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
-
-SRCNAM=${SRCNAM:-wxsqlite3}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mv $SRCNAM-$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 {} \;
-
-autoreconf -fiv
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-codec=sqlcipher \
- --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 COPYING.txt GPL-3.0.txt LGPL-3.0.txt LICENCE.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:-tgz}
diff --git a/libraries/wxSQLite3/wxSQLite3.info b/libraries/wxSQLite3/wxSQLite3.info
deleted file mode 100644
index a3cea22c87..0000000000
--- a/libraries/wxSQLite3/wxSQLite3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wxSQLite3"
-VERSION="4.5.1"
-HOMEPAGE="https://utelle.github.io/wxsqlite3/docs/html/index.html"
-DOWNLOAD="https://github.com/utelle/wxsqlite3/archive/v4.5.1/wxsqlite3-4.5.1.tar.gz"
-MD5SUM="d51bd38d13a1febb2b54c96d7818c22f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wxGTK3"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/wxWidgets/README b/libraries/wxWidgets/README
new file mode 100644
index 0000000000..441c51d749
--- /dev/null
+++ b/libraries/wxWidgets/README
@@ -0,0 +1,28 @@
+wxWidgets is a cross-platform API for writing GUI applications
+on multiple platforms that still utilize the native platform's
+controls and utilities.
+
+webkit2gtk is an optional dependency of this package. This will
+provide webview support.
+
+nanosvg is another optional dependency. By default, the
+SlackBuild script checks for the nanosvg system headers and
+disables SVG support if they are not found; you can force
+different behavior (e.g. using wxWidgets' internal copy of
+nanosvg, or always disabling SVG support) with the "NANOSVG"
+environment variable (see wxWidgets.SlackBuild for details).
+
+Notes:
+
+1. This package is NOT built using --enable-stl by default.
+ If you need to enable stl, use:
+ STL=yes ./wxWidgets.SlackBuild
+
+2. If you need the wxWidgets API documentation, you need to
+ install graphviz, then run wxWidgets.SlackBuild with
+ APIDOC=yes in the environment. You won't need the API docs
+ unless you're developing software.
+
+This package provides 2 interfaces, GTK3 and Qt5.
+By default, wx-config will be linked to GTK3, but if you want
+to use Qt5, use INTERFACE=qt variable to override.
diff --git a/libraries/wxWidgets/slack-desc b/libraries/wxWidgets/slack-desc
new file mode 100644
index 0000000000..b8f912f3ce
--- /dev/null
+++ b/libraries/wxWidgets/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------------------------------------------------------|
+wxWidgets: wxWidgets (cross-platform GUI toolkit)
+wxWidgets:
+wxWidgets: wxWidgets is a cross-platform API for writing GUI applications on
+wxWidgets: multiple platforms that still utilize the native platform's control
+wxWidgets: and utilities.
+wxWidgets:
+wxWidgets: https://wxwidgets.org/
+wxWidgets:
+wxWidgets:
+wxWidgets:
+wxWidgets:
diff --git a/libraries/wxWidgets/wxWidgets.SlackBuild b/libraries/wxWidgets/wxWidgets.SlackBuild
new file mode 100644
index 0000000000..d0bd31f480
--- /dev/null
+++ b/libraries/wxWidgets/wxWidgets.SlackBuild
@@ -0,0 +1,208 @@
+#!/bin/bash
+
+# Slackware build script for wxWidgets
+
+# Copyright 2023 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=wxWidgets
+VERSION=${VERSION:-3.2.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
+
+# Check for STL
+if [ "${STL:-no}" = "yes" ]; then
+ stl="ON"
+else
+ stl="OFF"
+fi
+
+# Check for WebKit
+webkit=`pkg-config --exists webkit2gtk-4.0`
+if [ "$?" -eq 0 ]; then
+ wk="ON"
+else
+ wk="OFF"
+fi
+
+# BCS: check for NanoSVG
+test -f /usr/include/nanosvg/nanosvg.h
+case "${NANOSVG:-auto}" in
+ no|off) nanosvg=OFF ;;
+ yes|on) [ $? = 0 ] && nanosvg=sys || nanosvg=builtin ;;
+ auto) [ $? = 0 ] && nanosvg=sys || nanosvg=OFF ;;
+ internal) nanosvg=builtin ;;
+esac
+
+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|prefix}/lib|prefix}/lib$LIBDIRSUFFIX|" build/cmake/config.cmake
+
+if [ -z "$INTERFACE" ]; then
+cmake -B build-gtk3 \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DwxBUILD_TOOLKIT=gtk3 \
+ -DwxUSE_OPENGL=ON \
+ -DwxUSE_REGEX=sys\
+ -DwxUSE_ZLIB=sys \
+ -DwxUSE_EXPAT=sys \
+ -DwxUSE_LIBJPEG=sys \
+ -DwxUSE_LIBPNG=sys \
+ -DwxUSE_LIBTIFF=sys \
+ -DwxUSE_LIBLZMA=sys \
+ -DwxUSE_LIBMSPACK=ON \
+ -DwxUSE_NANOSVG=$nanosvg \
+ -DwxUSE_STL=$stl \
+ -DwxUSE_WEBVIEW_WEBKIT=$wk \
+ -DwxUSE_PRIVATE_FONTS=ON \
+ -DCMAKE_BUILD_TYPE=Release .
+cmake --build build-gtk3
+DESTDIR="$PKG" cmake --install build-gtk3
+
+elif [ "${INTERFACE:-gtk3}" = "qt" ]; then
+cmake -B build-qt5 \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DwxBUILD_TOOLKIT=qt \
+ -DwxUSE_OPENGL=ON \
+ -DwxUSE_REGEX=sys\
+ -DwxUSE_ZLIB=sys \
+ -DwxUSE_EXPAT=sys \
+ -DwxUSE_LIBJPEG=sys \
+ -DwxUSE_LIBPNG=sys \
+ -DwxUSE_LIBTIFF=sys \
+ -DwxUSE_LIBLZMA=sys \
+ -DwxUSE_LIBMSPACK=ON \
+ -DwxUSE_NANOSVG=OFF \
+ -DwxUSE_STL=$stl \
+ -DwxUSE_WEBVIEW_WEBKIT=$wk \
+ -DwxUSE_PRIVATE_FONTS=ON \
+ -DCMAKE_BUILD_TYPE=Release .
+cmake --build build-qt5
+DESTDIR="$PKG" cmake --install build-qt5
+fi
+
+#Move librarys to their correct location and fix pkgconfig
+if [ "$LIBDIRSUFFIX" != "" ]; then
+ mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/$PRGNAM/${PRGNAM}Config.cmake
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/$PRGNAM/${PRGNAM}Targets.cmake
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" \
+ $PKG/usr/lib${LIBDIRSUFFIX}/cmake/$PRGNAM/${PRGNAM}Targets-release.cmake
+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
+
+install -Dm644 wxwin.m4 -t $PKG/usr/share/aclocal
+
+# wxWidgets 3.2 provides 2 wx-configs, but we will use GTK by default
+gtk=gtk3-unicode-3.2
+qt=qt-unicode-3.2
+
+if [ "${INTERFACE:-gtk3}" = "qt" ]; then
+ ln -sf ../lib${LIBDIRSUFFIX}/wx/config/$qt $PKG/usr/bin/wx-config
+else
+ ln -sf ../lib${LIBDIRSUFFIX}/wx/config/$gtk $PKG/usr/bin/wx-config
+fi
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
+# 20220414 bkw: instead of installing the *source* to the doxygen docs,
+# actually run doxygen and install the generated HTML docs.
+# This is only done if the users asks for it.
+# The "|| true" stuff is meant to keep errors in the documentation from
+# killing the build. DOT_NUM_THREADS=1 may slow things down a bit on
+# well-endowed hosts, but it prevents running out of memory on lesser ones.
+# Don't try to generate the API docs if graphviz is missing.
+if [ "${APIDOC:-no}" = "yes" ] && which dot &> /dev/null; then
+ echo "=== APIDOC=yes and graphviz exists, building API docs"
+ cd docs/doxygen
+ echo 'DOT_NUM_THREADS = 1' >> Doxyfile
+ GENERATE_LATEX=NO doxygen || true
+ mv out/html $PKG/usr/doc/$PRGNAM-$VERSION/api || true
+ cd -
+else
+ echo "=== not building API docs"
+fi
+rm -rf docs/doxygen
+
+cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.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
diff --git a/libraries/wxWidgets/wxWidgets.info b/libraries/wxWidgets/wxWidgets.info
new file mode 100644
index 0000000000..041fd0b6ea
--- /dev/null
+++ b/libraries/wxWidgets/wxWidgets.info
@@ -0,0 +1,10 @@
+PRGNAM="wxWidgets"
+VERSION="3.2.4"
+HOMEPAGE="http://www.wxwidgets.org"
+DOWNLOAD="https://github.com/wxWidgets/wxWidgets/archive/v3.2.4/wxWidgets-3.2.4.tar.gz"
+MD5SUM="42f94852aad2be0a534424679a42db50"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"
diff --git a/libraries/wxX11/README b/libraries/wxX11/README
index b04791fe6f..badf9df242 100644
--- a/libraries/wxX11/README
+++ b/libraries/wxX11/README
@@ -1,9 +1,14 @@
-wxWidgets lets developers create applications for Win32, Mac OS X, GTK+, X11,
-Motif, WinCE, and more using one codebase. It can be used from languages such
-as C++, Python, Perl, and C#/.NET. Unlike other cross- platform toolkits,
-wxWidgets applications look and feel native. This is because wxWidgets uses
-the platform's own native controls rather than emulating them.
+wxWidgets lets developers create applications for Win32, Mac OS X,
+GTK+, X11, Motif, WinCE, and more using one codebase. It can be
+used from languages such as C++, Python, Perl, and C#/.NET. Unlike
+other cross- platform toolkits, wxWidgets applications look and feel
+native. This is because wxWidgets uses the platform's own native
+controls rather than emulating them.
-This package is built with the '--disable-gui' flag, which requires GTK1 or
-GTK2. If you need it for that purpose, then you need to track down those gtk
-dependencies.
+This package is built with the '--disable-gui' flag, which requires
+GTK1 or GTK2. If you need it for that purpose, then you need to track
+down those gtk dependencies.
+
+Note to maintainers: do not list wxX11 as a dependency for your
+builds! List either wxPython (for software requiring wx-2.x) or wxGTK3
+(for software requiring wx-3.x).
diff --git a/libraries/wxX11/wxX11.SlackBuild b/libraries/wxX11/wxX11.SlackBuild
index b6d7c8cd40..5496578384 100644
--- a/libraries/wxX11/wxX11.SlackBuild
+++ b/libraries/wxX11/wxX11.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxX11
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxX11
VERSION=${VERSION:-2.8.7}
-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"
@@ -69,8 +79,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/libraries/wxpdfdoc/README b/libraries/wxpdfdoc/README
new file mode 100644
index 0000000000..80ecc3a034
--- /dev/null
+++ b/libraries/wxpdfdoc/README
@@ -0,0 +1,11 @@
+wxPdfDocument allows wxWidgets applications to generate PDF
+documents. The code is a port of FPDF - a free PHP class for
+generating PDF files - to C++ using the wxWidgets library.
+Several add-on PHP scripts found on the FPDF web site are
+incorporated into wxPdfDocument.
+
+Embedding of PNG, JPEG, GIF and WMF images is supported. In
+addition to the 14 standard Adobe fonts it is possible to use
+other Type1, TrueType or OpenType fonts - with or without
+embedding them into the generated document. CJK fonts are supported,
+too. Graphics primitives allow the creation of simple drawings.
diff --git a/libraries/wxpdfdoc/slack-desc b/libraries/wxpdfdoc/slack-desc
new file mode 100644
index 0000000000..c3b63b29ea
--- /dev/null
+++ b/libraries/wxpdfdoc/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------------------------------------------------------|
+wxpdfdoc: wxpdfdoc (wxWidgets library to generate PDF)
+wxpdfdoc:
+wxpdfdoc: wxPdfDocument allows wxWidgets applications to generate PDF
+wxpdfdoc: documents. The code is a port of FPDF - a free PHP class for
+wxpdfdoc: generating PDF files - to C++ using the wxWidgets library.
+wxpdfdoc:
+wxpdfdoc: Several add-on PHP scripts found on the FPDF web site are
+wxpdfdoc: incorporated into wxPdfDocument.
+wxpdfdoc:
+wxpdfdoc: Homepage: https://utelle.github.io/wxpdfdoc/
+wxpdfdoc:
diff --git a/libraries/wxpdfdoc/wxpdfdoc.SlackBuild b/libraries/wxpdfdoc/wxpdfdoc.SlackBuild
new file mode 100644
index 0000000000..4cc83f3923
--- /dev/null
+++ b/libraries/wxpdfdoc/wxpdfdoc.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# Slackware build script for wxpdfdoc
+
+# Copyright 2023 Fernando Lopez Jr. <fernando.lopezjr@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=wxpdfdoc
+VERSION=${VERSION:-1.0.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 {} \;
+
+autoreconf
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --disable-static \
+ --enable-samples \
+ --build=$ARCH-slackware-linux
+
+ 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 \
+ CHANGELOG.md LICENCE.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/libraries/wxpdfdoc/wxpdfdoc.info b/libraries/wxpdfdoc/wxpdfdoc.info
new file mode 100644
index 0000000000..f95c306800
--- /dev/null
+++ b/libraries/wxpdfdoc/wxpdfdoc.info
@@ -0,0 +1,10 @@
+PRGNAM="wxpdfdoc"
+VERSION="1.0.3"
+HOMEPAGE="https://utelle.github.io/wxpdfdoc/"
+DOWNLOAD="https://github.com/utelle/wxpdfdoc/archive/v1.0.3/wxpdfdoc-1.0.3.tar.gz"
+MD5SUM="b9db280f9ee381bb159a9fa02f43472e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="wxWidgets"
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/libraries/wxsvg/gcc13.patch b/libraries/wxsvg/gcc13.patch
new file mode 100644
index 0000000000..fdc57958dd
--- /dev/null
+++ b/libraries/wxsvg/gcc13.patch
@@ -0,0 +1,31 @@
+From https://gcc.gnu.org/gcc-13/porting_to.html
+
+Some C++ Standard Library headers have been changed to no longer
+include other headers that were being used internally by the library.
+As such, C++ programs that used standard library components without
+including the right headers will no longer compile.
+
+The following headers are used less widely in libstdc++ and may need
+to be included explicitly when compiling with GCC 13:
+
+ <string> (for std::string, std::to_string, std::stoi etc.)
+ <system_error> (for std::error_code, std::error_category, std::system_error).
+ <cstdint> (for std::int8_t, std::int32_t etc.)
+ <cstdio> (for std::printf, std::fopen etc.)
+ <cstdlib> (for std::strtol, std::malloc etc.)
+
+-
+
+Matteo Bernardini <ponce@slackbuilds.org>
+
+diff -Naur wxsvg-1.5.24.orig/src/cairo/SVGCanvasCairo.cpp wxsvg-1.5.24/src/cairo/SVGCanvasCairo.cpp
+--- wxsvg-1.5.24.orig/src/cairo/SVGCanvasCairo.cpp 2022-08-31 16:56:26.000000000 +0200
++++ wxsvg-1.5.24/src/cairo/SVGCanvasCairo.cpp 2023-04-27 22:23:05.069420000 +0200
+@@ -14,6 +14,7 @@
+ #include "SVGCanvasImageCairo.h"
+ #include <wx/log.h>
+ #include <wx/file.h>
++#include <cstdint>
+
+ wxSVGCanvasCairo::~wxSVGCanvasCairo() {
+ Destroy();
diff --git a/libraries/wxsvg/wxsvg.SlackBuild b/libraries/wxsvg/wxsvg.SlackBuild
index e4c4268aec..3f09fe593d 100644
--- a/libraries/wxsvg/wxsvg.SlackBuild
+++ b/libraries/wxsvg/wxsvg.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wxsvg
-# Copyright 2013-2018 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,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=wxsvg
-VERSION=${VERSION:-1.5.12}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.5.24}
+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,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/gcc13.patch
+
sh autogen.sh || true
CFLAGS="$SLKCFLAGS" \
@@ -94,8 +106,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+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/libraries/wxsvg/wxsvg.info b/libraries/wxsvg/wxsvg.info
index cf4a40aca3..338ea9ccb4 100644
--- a/libraries/wxsvg/wxsvg.info
+++ b/libraries/wxsvg/wxsvg.info
@@ -1,10 +1,10 @@
PRGNAM="wxsvg"
-VERSION="1.5.12"
+VERSION="1.5.24"
HOMEPAGE="https://sourceforge.net/projects/wxsvg/"
-DOWNLOAD="https://downloads.sf.net/wxsvg/wxsvg-1.5.12.tar.bz2"
-MD5SUM="c822e0b7ea4a690b30e7b6711ce674fd"
+DOWNLOAD="https://downloads.sf.net/wxsvg/wxsvg-1.5.24.tar.bz2"
+MD5SUM="4f6780ef38bed0f7a7b6bb8d6499f405"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg wxGTK3"
+REQUIRES="wxWidgets"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/xalan-c/xalan-c.SlackBuild b/libraries/xalan-c/xalan-c.SlackBuild
index 7179afcf75..7e79f60e40 100644
--- a/libraries/xalan-c/xalan-c.SlackBuild
+++ b/libraries/xalan-c/xalan-c.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xalan-c
@@ -32,27 +32,37 @@
# To capture the current SVN trunk to a local directory:
# mkdir svn ; cd svn ; svn co http://svn.apache.org/repos/asf/xalan/c/trunk .
+# 20220425 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix doc permissions.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xalan-c
VERSION=${VERSION:-1.11_1335373}
-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"
@@ -83,9 +93,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 {} \+
XALANCROOT=$(pwd) \
XERCESCROOT="/usr" \
@@ -110,11 +120,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 KEYS LICENSE NOTICE readme.html README $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 KEYS LICENSE NOTICE readme.html 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/libraries/xalan/xalan.SlackBuild b/libraries/xalan/xalan.SlackBuild
index 8bcc895f0c..1a53e540fe 100644
--- a/libraries/xalan/xalan.SlackBuild
+++ b/libraries/xalan/xalan.SlackBuild
@@ -1,25 +1,35 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xalan
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xalan
VERSION=${VERSION:-2.7.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DVER=j_$(echo $VERSION | tr . _)
ANTHOME=/usr/share/ant
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=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}
@@ -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/libraries/xalan/xalan.info b/libraries/xalan/xalan.info
index 4b07fe5000..32084db412 100644
--- a/libraries/xalan/xalan.info
+++ b/libraries/xalan/xalan.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://archive.apache.org/dist/xml/xalan-j/xalan-j_2_7_1-bin-2jars.ta
MD5SUM="3ccda39bcd08b780436dfd2f22fb23d5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="apache-ant jdk"
+REQUIRES="apache-ant zulu-openjdk8"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
diff --git a/libraries/xapian-bindings/xapian-bindings.SlackBuild b/libraries/xapian-bindings/xapian-bindings.SlackBuild
index 23d68f439f..a59a3009d1 100644
--- a/libraries/xapian-bindings/xapian-bindings.SlackBuild
+++ b/libraries/xapian-bindings/xapian-bindings.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xapian-core
@@ -22,26 +22,37 @@
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - *DO NOT* install /tmp (with wrong permissions) as part of the package!
+# - remove useless INSTALL from docs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xapian-bindings
-VERSION=${VERSION:-1.2.8}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.4.19}
+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"
@@ -60,14 +71,14 @@ 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.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 \
+ -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 {} \+
export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
@@ -85,20 +96,23 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip 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
+# 20220419 bkw: BAD! Installing the old build of this package breaks
+# your OS, because it changes the permissions on /tmp to 0755.
+rm -rf $PKG/tmp
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS HACKING README \
+ AUTHORS COPYING ChangeLog NEWS HACKING README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/apidoc
+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/libraries/xapian-bindings/xapian-bindings.info b/libraries/xapian-bindings/xapian-bindings.info
index 405757edee..3e2e63e6f1 100644
--- a/libraries/xapian-bindings/xapian-bindings.info
+++ b/libraries/xapian-bindings/xapian-bindings.info
@@ -1,8 +1,8 @@
PRGNAM="xapian-bindings"
-VERSION="1.2.8"
+VERSION="1.4.19"
HOMEPAGE="http://www.xapian.org/"
-DOWNLOAD="http://oligarchy.co.uk/xapian/1.2.8/xapian-bindings-1.2.8.tar.gz"
-MD5SUM="4bfe673c71ac074e349ef691d7ba56d0"
+DOWNLOAD="http://oligarchy.co.uk/xapian/1.4.19/xapian-bindings-1.4.19.tar.xz"
+MD5SUM="77546d435bb2ed0b0d41f72ea110e2c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/xawplus/xawplus.SlackBuild b/libraries/xawplus/xawplus.SlackBuild
index 85ec7b6d2c..3b12552e98 100644
--- a/libraries/xawplus/xawplus.SlackBuild
+++ b/libraries/xawplus/xawplus.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xawplus
# Copyright 2012, Bojan Popović, Belgrade, Serbia, <bocke@slackware-srbija.org>
@@ -21,28 +21,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=xawplus
VERSION=${VERSION:-3.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}
DOCS="README GPL doc/*"
-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/libraries/xawplus/xawplus.info b/libraries/xawplus/xawplus.info
index d3b3c4f745..588a38fa27 100644
--- a/libraries/xawplus/xawplus.info
+++ b/libraries/xawplus/xawplus.info
@@ -1,7 +1,7 @@
PRGNAM="xawplus"
VERSION="3.1.0"
HOMEPAGE="http://www.ibiblio.org/pub/X11/contrib/widgets/xawplus-3.0.README"
-DOWNLOAD="http://bocke.na.rs/distfiles/xawplus-3.1.0.tgz"
+DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/4/a/4a2ce98279bb3e2b9879bd04dd1136f9/xawplus-3.1.0.tgz"
MD5SUM="4a2ce98279bb3e2b9879bd04dd1136f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/xblas/patches/automake.diff b/libraries/xblas/patches/automake.diff
index 79522b2cd2..d2484736c2 100644
--- a/libraries/xblas/patches/automake.diff
+++ b/libraries/xblas/patches/automake.diff
@@ -1,7 +1,7 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
-@@ -1,10 +1,12 @@
+@@ -1,10 +1,13 @@
dnl Copyright (c) 2005, Regents of the University of California
-AC_INIT(xblas, 1.0, extended_blas@cs.berkeley.edu)
-AC_PREREQ(2.59)
@@ -15,11 +15,12 @@ diff --git a/configure.ac b/configure.ac
+AC_CONFIG_AUX_DIR([config])
AC_CANONICAL_TARGET
+AM_INIT_AUTOMAKE([foreign subdir-objects])
-+LT_INIT
++AM_SILENT_RULES([yes])
++LT_INIT([disable-static])
AC_PROG_CC
-@@ -148,6 +150,6 @@
+@@ -148,6 +151,6 @@
[$M4 $M4_OPTS Makefile.m4 >Makefile], [M4=$M4; M4_OPTS="$M4_OPTS"])
AC_SUBST(EXTRA_LIBS, $EXTRA_LIBS)
diff --git a/libraries/xblas/xblas.SlackBuild b/libraries/xblas/xblas.SlackBuild
index edd20a8cfe..d8bf02a4d5 100644
--- a/libraries/xblas/xblas.SlackBuild
+++ b/libraries/xblas/xblas.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for XBLAS
-# Copyright 2017 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2017-2021 Kyle Guinn <elyk03@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=xblas
VERSION=${VERSION:-1.0.248}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,17 +38,21 @@ 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="LICENSE README* doc/report.ps"
-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
@@ -65,7 +72,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.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
@@ -85,8 +92,6 @@ autoreconf -vif
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared \
- --disable-static \
--disable-dependency-tracking \
--build=$ARCH-slackware-linux \
CFLAGS="$SLKCFLAGS" \
@@ -105,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/libraries/xblas/xblas.info b/libraries/xblas/xblas.info
index 3d01dad8ae..8fb3ef025e 100644
--- a/libraries/xblas/xblas.info
+++ b/libraries/xblas/xblas.info
@@ -1,7 +1,7 @@
PRGNAM="xblas"
VERSION="1.0.248"
-HOMEPAGE="http://www.netlib.org/xblas/"
-DOWNLOAD="http://www.netlib.org/xblas/xblas.tar.gz"
+HOMEPAGE="https://www.netlib.org/xblas/"
+DOWNLOAD="https://www.netlib.org/xblas/xblas-1.0.248.tar.gz"
MD5SUM="990c680fb5e446bb86c10936e4cd7f88"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/xbyak/README b/libraries/xbyak/README
new file mode 100644
index 0000000000..96606736bd
--- /dev/null
+++ b/libraries/xbyak/README
@@ -0,0 +1,12 @@
+A C++ JIT assembler for x86 (IA32), x64 (AMD64, x86-64)
+
+Xbyak is a C++ header library that enables dynamically to assemble
+x86(IA32), x64(AMD64, x86-64) mnemonic.
+
+The pronunciation of Xbyak is (kəi-bja-k). It is named from a Japanese
+word 開闢, which means the beginning of the world.
+
+Feature:
+ * header file only
+ * Intel/MASM like syntax
+ * fully support AVX-512
diff --git a/libraries/xbyak/slack-desc b/libraries/xbyak/slack-desc
new file mode 100644
index 0000000000..14178529b9
--- /dev/null
+++ b/libraries/xbyak/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------------------------------------------------------|
+xbyak: xbyak (C++ JIT assembler for x86/x64)
+xbyak:
+xbyak: a JIT assembler for x86(IA-32)/x64(AMD64, x86-64) MMX/SSE/SSE2/SSE3/
+xbyak: SSSE3/SSE4/FPU/AVX/AVX2/AVX-512 by C++ header
+xbyak:
+xbyak: Homepage: https://github.com/herumi/xbyak
+xbyak:
+xbyak:
+xbyak:
+xbyak:
+xbyak:
diff --git a/libraries/xbyak/xbyak.SlackBuild b/libraries/xbyak/xbyak.SlackBuild
new file mode 100644
index 0000000000..da9822bcdb
--- /dev/null
+++ b/libraries/xbyak/xbyak.SlackBuild
@@ -0,0 +1,109 @@
+#!/bin/bash
+
+# Slackware build script for xbyak
+
+# Copyright 2022-2023 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=xbyak
+VERSION=${VERSION:-6.73}
+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_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --prefix=/usr \
+ -Dstrip=true
+ install -Dm644 $TMP/$PRGNAM-$VERSION/build/meson-private/$PRGNAM.pc \
+ $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/$PRGNAM.pc
+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 \
+ COPYRIGHT readme.* doc/*.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/xbyak/xbyak.info b/libraries/xbyak/xbyak.info
new file mode 100644
index 0000000000..f948db43d5
--- /dev/null
+++ b/libraries/xbyak/xbyak.info
@@ -0,0 +1,10 @@
+PRGNAM="xbyak"
+VERSION="6.73"
+HOMEPAGE="https://github.com/herumi/xbyak"
+DOWNLOAD="https://github.com/herumi/xbyak/archive/v6.73/xbyak-6.73.tar.gz"
+MD5SUM="db8f619166c1da61d375cef88056325b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/xcb-util-xrm/xcb-util-xrm.SlackBuild b/libraries/xcb-util-xrm/xcb-util-xrm.SlackBuild
index 02aac19eeb..887671625d 100644
--- a/libraries/xcb-util-xrm/xcb-util-xrm.SlackBuild
+++ b/libraries/xcb-util-xrm/xcb-util-xrm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xcb-util-xrm
@@ -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=xcb-util-xrm
VERSION=${VERSION:-1.3}
-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}
@@ -92,8 +102,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp INSTALL COPYING README 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/libraries/xerces-c/xerces-c.SlackBuild b/libraries/xerces-c/xerces-c.SlackBuild
index 6410b82b15..4ef7fdb80a 100644
--- a/libraries/xerces-c/xerces-c.SlackBuild
+++ b/libraries/xerces-c/xerces-c.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xerces-c
@@ -48,20 +48,30 @@
#
################################################################
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xerces-c
-VERSION=${VERSION:-3.2.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.2.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}
@@ -73,8 +83,8 @@ WITHSAMPLES=${WITHSAMPLES:-0}
WITHDOCS=${WITHDOCS:-0}
##############################################################################
-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
@@ -113,7 +123,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--build=$ARCH-slackware-linux
-make -j1
+make
make install DESTDIR=$PKG
if [ "$WITHSAMPLES" = "1" ]; then
@@ -141,8 +151,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CREDITS README KEYS LICENSE NOTICE $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/libraries/xerces-c/xerces-c.info b/libraries/xerces-c/xerces-c.info
index a76b355080..bac10d4a05 100644
--- a/libraries/xerces-c/xerces-c.info
+++ b/libraries/xerces-c/xerces-c.info
@@ -1,8 +1,8 @@
PRGNAM="xerces-c"
-VERSION="3.2.0"
+VERSION="3.2.3"
HOMEPAGE="http://xerces.apache.org/xerces-c/"
-DOWNLOAD="http://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.2.0.tar.gz"
-MD5SUM="71f035103ef8157586a3be825c1553fd"
+DOWNLOAD="http://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.2.3.tar.gz"
+MD5SUM="a5fa4d920fce31c9ca3bfef241644494"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/xerces/xerces.SlackBuild b/libraries/xerces/xerces.SlackBuild
index 8b57319a0d..4f8511113c 100644
--- a/libraries/xerces/xerces.SlackBuild
+++ b/libraries/xerces/xerces.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xalan
@@ -24,23 +24,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=xerces
VERSION=${VERSION:-2.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DVER=$(echo $VERSION | tr . _)
ANTHOME=/usr/share/ant
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}
@@ -75,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/xerces/xerces.info b/libraries/xerces/xerces.info
index 07c8e24ee0..633db73357 100644
--- a/libraries/xerces/xerces.info
+++ b/libraries/xerces/xerces.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/Xerces-J-bin.2.11.0.tar.gz"
MD5SUM="29d731e0ae57eb3f2e09af6594bc2515"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="apache-ant jdk"
+REQUIRES="apache-ant zulu-openjdk8"
MAINTAINER="Vincent Batts"
EMAIL="vbatts@hashbangbash.com"
diff --git a/libraries/xf86-input-libinput/README b/libraries/xf86-input-libinput/README
deleted file mode 100644
index 5acca28f9c..0000000000
--- a/libraries/xf86-input-libinput/README
+++ /dev/null
@@ -1,20 +0,0 @@
-A generic input driver for the X.Org X11 X server based on libinput,
-supporting all devices.
-Serves as a wrapper needed by libinput to communicate with X.Org.
-
-Note that to have libinput properly operating on a Slackware 14.2
-system, you also need this wrapper.
-
-The package automatically places a default configuration file in
-/etc/X11/xorg.conf.d/90-libinput.conf
-To make sure that the driver takes precedence over any other drivers
-that try to control your input devices, make sure that the number of
-the above file is the highest of all the numbers in the same directory.
-If you want to customize the default parameters of the driver,
-modify the above file. Do not modify the system file in
-/usr/share/X11/xorg.conf.d/90-libinput.conf
-
-WARNING: Misconfiguration of an X input driver may leave you without
-usable input devices in your X session.
-To fix the problem, boot to init level 3 (terminal, without starting X)
-and make the appropriate fixes.
diff --git a/libraries/xf86-input-libinput/slack-desc b/libraries/xf86-input-libinput/slack-desc
deleted file mode 100644
index 47a5a44bd0..0000000000
--- a/libraries/xf86-input-libinput/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------------------------------------------------------|
-xf86-input-libinput: xf86-input-libinput (Xorg X11 libinput input driver)
-xf86-input-libinput:
-xf86-input-libinput: A generic input driver for the X.Org X11 X server based on libinput,
-xf86-input-libinput: supporting all devices. Serves as a wrapper needed by libinput to
-xf86-input-libinput: communicate with X.Org
-xf86-input-libinput:
-xf86-input-libinput:
-xf86-input-libinput: http://xorg.freedesktop.org/
-xf86-input-libinput: https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/
-xf86-input-libinput:
-xf86-input-libinput:
diff --git a/libraries/xf86-input-libinput/xf86-input-libinput.SlackBuild b/libraries/xf86-input-libinput/xf86-input-libinput.SlackBuild
deleted file mode 100644
index 532bdb2caa..0000000000
--- a/libraries/xf86-input-libinput/xf86-input-libinput.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for xf86-input-libinput
-
-# Copyright 2017 Nikolay Nikolov <nikobnikolov[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.
-
-PRGNAM=xf86-input-libinput
-VERSION=${VERSION:-0.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 xjvf $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 \
- --sharedstatedir=/var/lib \
- --infodir=/usr/info \
- --disable-silent-rules \
- --disable-dependency-tracking \
- --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 -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 README.md COPYING $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mv $PKG/usr/share/X11/xorg.conf.d/*-libinput.conf $PKG/usr/share/X11/xorg.conf.d/90-libinput.conf
-mkdir -p $PKG/etc/X11/xorg.conf.d/
-cp $PKG/usr/share/X11/xorg.conf.d/90-libinput.conf $PKG/etc/X11/xorg.conf.d/
-
-mkdir -p $PKG/install
-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/libraries/xf86-input-libinput/xf86-input-libinput.info b/libraries/xf86-input-libinput/xf86-input-libinput.info
deleted file mode 100644
index bdf9f216c9..0000000000
--- a/libraries/xf86-input-libinput/xf86-input-libinput.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="xf86-input-libinput"
-VERSION="0.28.0"
-HOMEPAGE="https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/"
-DOWNLOAD="https://www.x.org/releases/individual/driver/xf86-input-libinput-0.28.0.tar.bz2"
-MD5SUM="2d7519ac0e39d4c88f3be32e81a637aa"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="libinput"
-MAINTAINER="Nikolay Nikolov"
-EMAIL="nikobnikolov[at]gmail[dot]com"
diff --git a/libraries/xforms/README b/libraries/xforms/README
index c57878801f..df02a0090f 100644
--- a/libraries/xforms/README
+++ b/libraries/xforms/README
@@ -1,13 +1,15 @@
XForms (X11 graphical user interface toolkit)
-XForms is a graphical user interface toolkit based on the X11 Xlib library.
-It's written in C and allows to easily write GUIs for programs. For that,
-it comes with a lot of widgets (buttons, menus, input fields, scrollbars,
-you name it) as well as fdesign, a tool that lets you create a GUI using a
-GUI. In addition, the library is extensible and new objects can easily be
-created and added to the library.
+XForms is a graphical user interface toolkit based on the X11 Xlib
+library. It's written in C and allows to easily write GUIs for
+programs. For that, it comes with a lot of widgets (buttons, menus,
+input fields, scrollbars, you name it) as well as fdesign, a tool
+that lets you create a GUI using a GUI. In addition, the library is
+extensible and new objects can easily be created and added to the
+library.
-Note: the XForms toolkit hasn't anything to do with the W3C standardized
-XML XForms format which unfortunately also is called "XForms". The XForms
-toolkit already existed long before the XML XForms format stuff was invented
-and those newcomers just picked the same name ;-)
+Note: the XForms toolkit hasn't anything to do with the W3C
+standardized XML XForms format which unfortunately also is called
+"XForms". The XForms toolkit already existed long before the XML
+XForms format stuff was invented and those newcomers just picked the
+same name ;-)
diff --git a/libraries/xforms/xforms-1.2.4-fno-common.patch b/libraries/xforms/xforms-1.2.4-fno-common.patch
new file mode 100644
index 0000000000..fd4ca7714f
--- /dev/null
+++ b/libraries/xforms/xforms-1.2.4-fno-common.patch
@@ -0,0 +1,40 @@
+Description: Fix FTBFS with GCC 10
+Author: Paul Wise <pabs@debian.org>
+Bug-Debian: https://bugs.debian.org/957439
+Origin: upstream, extracted from two separate commits:
+ https://git.savannah.nongnu.org/cgit/xforms.git/commit/?id=9806bce102d0c079c2c486b25ae6bdac3c98eecf
+ https://git.savannah.nongnu.org/cgit/xforms.git/commit/?id=2c1a9f151baf50887a517280645ec23379fb96f8
+--- a/fdesign/sp_spinner.c
++++ b/fdesign/sp_spinner.c
+@@ -29,7 +29,7 @@
+ #include "spec/spinner_spec.h"
+
+ static FD_spinnerattrib * spn_attrib;
+-FL_OBJECT *curobj;
++static FL_OBJECT *curobj;
+
+
+ /***************************************
+--- a/fdesign/sp_twheel.c
++++ b/fdesign/sp_twheel.c
+@@ -38,7 +38,7 @@
+ #include "spec/twheel_spec.h"
+
+ static FD_twheelattrib * twheel_attrib;
+-FL_OBJECT * curobj;
++static FL_OBJECT * curobj;
+
+
+ /***************************************
+--- a/lib/objects.c
++++ b/lib/objects.c
+@@ -36,6 +36,9 @@
+
+ #define TRANSLATE_Y( obj, form ) ( form->h - obj->h - obj->y )
+
++extern FL_OBJECT * fli_handled_obj; /* defined in events.c */
++extern FL_OBJECT * fli_handled_parent; /* defined in events.c */
++
+ extern FL_FORM * fli_fast_free_object; /* defined in forms.c */
+
+ extern FL_OBJECT * fli_handled_obj; /* defined in events.c */
diff --git a/libraries/xforms/xforms.SlackBuild b/libraries/xforms/xforms.SlackBuild
index 989a8aff16..4b6303382f 100644
--- a/libraries/xforms/xforms.SlackBuild
+++ b/libraries/xforms/xforms.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xforms
# Copyright 2009-2014 LukenShiro, Italy
# All rights reserved.
-# Copyright 2019 Christoph Willing, Brisbane Australia
+# Copyright 2019-2021 Christoph Willing, Brisbane/Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - install demos stripped.
+# - don't install useless INSTALL* docs.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xforms
VERSION=${VERSION:-1.2.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,12 +44,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}
-DOCFILES="ChangeLog COPYING.LIB Copyright INSTALL* README"
+DOCFILES="ChangeLog COPYING.LIB Copyright README"
# sources with data examples, and pre-built ones
DEMOFILES="*.h *.c *.xbm *.xpm *.menu .libs/*"
DEMOFDFILES="*.h *.c *.fd *.xpm"
@@ -69,12 +80,13 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+patch -p1 < $CWD/xforms-1.2.4-fno-common.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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -93,9 +105,6 @@ CXXFLAGS="$SLKCFLAGS" \
make all
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
@@ -114,8 +123,13 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $DOCFILES $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
+
+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/libraries/xgboost/README b/libraries/xgboost/README
new file mode 100644
index 0000000000..2fd90ab1e3
--- /dev/null
+++ b/libraries/xgboost/README
@@ -0,0 +1,17 @@
+ XGBoost is an optimized distributed gradient boosting library
+designed to be highly efficient, flexible and portable. It implements
+machine learning algorithms under the Gradient Boosting framework.
+XGBoost provides a parallel tree boosting (also known as GBDT, GBM)
+that solve many data science problems in a fast and accurate way.
+The same code runs on major distributed environment (Hadoop, SGE,
+MPI) and can solve problems beyond billions of examples.
+
+
+ By default the package is build without parellization, if you want
+to enable OpenMP set the environment variable OMP=yes.
+ For enabling MPI set the environment variable MPI=yes, this requires
+a MPI implementation, use mpich (openmpi isn't working).
+ To enable GPU support set CUDA=yes, this requires the CUDA toolkit.
+ To install the Python module set PYTHON=yes (note: python3 only).
+ If you want to run the tests set the environment variable TESTS=yes,
+this requires gtest.
diff --git a/libraries/xgboost/slack-desc b/libraries/xgboost/slack-desc
new file mode 100644
index 0000000000..fb3d683bf1
--- /dev/null
+++ b/libraries/xgboost/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------------------------------------------------------|
+xgboost: xgboost (XGBoost - Optimized distributed gradient boosting library)
+xgboost:
+xgboost: XGBoost is an optimized distributed gradient boosting library
+xgboost: designed to be highly efficient, flexible and portable. It
+xgboost: implements machine learning algorithms under the Gradient Boosting
+xgboost: framework. XGBoost provides a parallel tree boosting (also known as
+xgboost: GBDT, GBM) that solve many data science problems in a fast and
+xgboost: accurate way. The same code runs on major distributed environment
+xgboost: (Hadoop, SGE, MPI) and can solve problems beyond billions of
+xgboost: examples.
+xgboost:
diff --git a/libraries/xgboost/xgboost.SlackBuild b/libraries/xgboost/xgboost.SlackBuild
new file mode 100644
index 0000000000..52827ad223
--- /dev/null
+++ b/libraries/xgboost/xgboost.SlackBuild
@@ -0,0 +1,182 @@
+#!/bin/bash
+
+# Slackware build script for xgboost
+
+# 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=xgboost
+VERSION=${VERSION:-1.6.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
+tar xvf $CWD/dmlc-core-0.5.tar.gz -C dmlc-core --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 {} \;
+
+
+if [ "${OMP:-no}" == "yes" ]; then
+ OPT_BUILD="-DUSE_OPENMP=ON"
+else
+ OPT_BUILD="-DUSE_OPENMP=OFF"
+fi
+
+if [ "${MPI:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DRABIT_BUILD_MPI=ON"
+fi
+
+if [ "${CUDA:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DUSE_CUDA=ON"
+ OPT_PYTHON="--use-cuda"
+fi
+
+if [ "${FULL_TESTS:-no}" == "yes" ]; then
+ OPT_BUILD="$OPT_BUILD -DGOOGLE_TEST=ON"
+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_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DCMAKE_INSTALL_DATADIR=/usr/doc/$PRGNAM-$VERSION \
+ -DBUILD_STATIC_LIB=OFF \
+ -DINSTALL_DOCUMENTATION=ON \
+ $OPT_BUILD \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+if [ "${PYTHON:-no}" == "yes" ]; then
+ cd python-package
+ python3 setup.py install $OPT_PYTHON --root=$PKG
+ cd ..
+fi
+
+if [ "${FULL_TESTS:-no}" == "yes" ]; then
+ ./build/dmlc-core/test/unittest/dmlc_unit_tests
+fi
+
+if [ "${TESTS:-no}" == "yes" ]; then
+ cd tests/cpp
+ if [ "$MPI" != "yes" ]; then
+ CC="c++"
+ SRCS="$SRCS test_serialization.cc \$(wildcard c_api/*.cc data/*.cc gbm/*.cc tree/*.cc)"
+ else
+ CC="mpic++"
+ fi
+cat <<EOF > Makefile
+CC = $CC
+LIBS = -lpthread -lgtest -lxgboost -ldmlc
+LDIR = -L../../build/dmlc-core -L../../lib -L/usr/lib${LIBDIRSUFFIX}
+INCLUDES = -I../../include -I../../dmlc-core/include -I../../rabit/include
+SRCS = helpers.cc test_global_config.cc \$(wildcard rabit/*.cc) test_main.cc $SRCS
+SRCS := \$(filter-out common/test_quantile.cc data/test_array_interface.cc data/test_sparse_page_dmatrix.cc, \$(SRCS))
+
+OBJS = \$(SRCS:.cc=.o)
+
+%.o: %.cc
+ \$(CC) \$(INCLUDES) \$(LDIR) -c $^ -o \$@ \$(LIBS)
+
+test_main: \$(OBJS)
+ \$(CC) \$(INCLUDES) \$(LDIR) -o \$@ $^ \$(LIBS)
+
+.PHONY : clean
+clean: \$(OBJS)
+ rm -f $^
+EOF
+ make test_main
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../lib \
+ ./test_main
+ cd ../..
+fi
+
+
+# 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 {CITATION,CONTRIBUTORS.md,LICENSE,NEWS.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/libraries/xgboost/xgboost.info b/libraries/xgboost/xgboost.info
new file mode 100644
index 0000000000..f8e2fb1c47
--- /dev/null
+++ b/libraries/xgboost/xgboost.info
@@ -0,0 +1,10 @@
+PRGNAM="xgboost"
+VERSION="1.6.2"
+HOMEPAGE="https://xgboost.ai"
+DOWNLOAD="https://github.com/dmlc/xgboost/archive/v1.6.2/xgboost-1.6.2.tar.gz https://github.com/dmlc/dmlc-core/archive/v0.5/dmlc-core-0.5.tar.gz"
+MD5SUM="0f331fe923f9545fbf1c6e535abc59fe 5b2b24ab4dd39db51c53ef5e780ed8e2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="William PC"
+EMAIL="w_calandrini[at]hotmail[dot]com"
diff --git a/libraries/xine-plugin/xine-plugin.SlackBuild b/libraries/xine-plugin/xine-plugin.SlackBuild
index 159446a2d9..a432f56b41 100644
--- a/libraries/xine-plugin/xine-plugin.SlackBuild
+++ b/libraries/xine-plugin/xine-plugin.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <xine-plugin>
#
# Michales (clavisound) Michaloudes korgie@gmail.com <2012-2013>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xine-plugin
VERSION=${VERSION:-1.0.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"
@@ -74,8 +84,10 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/xlt/xlt.SlackBuild b/libraries/xlt/xlt.SlackBuild
index 32c06e6ca1..1760c8ede9 100644
--- a/libraries/xlt/xlt.SlackBuild
+++ b/libraries/xlt/xlt.SlackBuild
@@ -1,34 +1,44 @@
-#!/bin/sh
+#!/bin/bash -e
# Slackware build script for xlt
# Written by Vincent Batts, vbatts@batts.mine.nu
# Modified by SlackBuilds.org
-set -e
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix doc permissions.
+# - remove useless INSTALL from doc dir.
+# - i486 => i586.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xlt
BIG_PRGNAM=Xlt
VERSION=${VERSION:-11.1.11}
-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"
@@ -45,14 +55,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $BIG_PRGNAM-$VERSION
-tar xzvf $CWD/$BIG_PRGNAM-$VERSION.tar.gz || exit 1
+tar xvf $CWD/$BIG_PRGNAM-$VERSION.tar.gz
cd $BIG_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 {} \+ \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \; || exit 1
+ -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -63,26 +73,21 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man || exit 1
-make || exit 1
-make install DESTDIR=$PKG || exit 1
-
-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 $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
-)
+make
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv -v $PKG/usr/$BIG_PRGNAM/doc/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/$BIG_PRGNAM
-cp -a INSTALL COPYING COPYING.LIB AUTHORS ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+install -m0644 COPYING* AUTHORS ChangeLog 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/libraries/xml-security-c/xml-security-c.SlackBuild b/libraries/xml-security-c/xml-security-c.SlackBuild
index e7358683d8..123ad3cc67 100644
--- a/libraries/xml-security-c/xml-security-c.SlackBuild
+++ b/libraries/xml-security-c/xml-security-c.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for XML-Security-C
-# Copyright 2012-2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2012-2023 Thibaut Notteboom, Paris, FRANCE
# 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=xml-security-c
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.0.4}
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}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -85,6 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGELOG.txt INSTALL.txt LICENSE.txt NOTICE.txt \
@@ -95,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/libraries/xml-security-c/xml-security-c.info b/libraries/xml-security-c/xml-security-c.info
index 1e23087950..1954bde982 100644
--- a/libraries/xml-security-c/xml-security-c.info
+++ b/libraries/xml-security-c/xml-security-c.info
@@ -1,8 +1,8 @@
PRGNAM="xml-security-c"
-VERSION="2.0.2"
+VERSION="2.0.4"
HOMEPAGE="http://santuario.apache.org/cindex.html"
-DOWNLOAD="https://www.apache.org/dist/santuario/c-library/xml-security-c-2.0.2.tar.gz"
-MD5SUM="656620cb91ec8802ecd6997379e7e4e4"
+DOWNLOAD="http://archive.apache.org/dist/santuario/c-library/xml-security-c-2.0.4.tar.gz"
+MD5SUM="4ed82d9a2279b0dc1d6065ddaf528639"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="xerces-c"
diff --git a/libraries/xmlgen/xmlgen.SlackBuild b/libraries/xmlgen/xmlgen.SlackBuild
index f78ae67711..59654161c0 100644
--- a/libraries/xmlgen/xmlgen.SlackBuild
+++ b/libraries/xmlgen/xmlgen.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <appname>
@@ -6,13 +6,23 @@
# Released into the public domain June 12, 2009.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmlgen
VERSION=${VERSION:-1.4}
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}
@@ -44,4 +54,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/xmlrpc-c/README b/libraries/xmlrpc-c/README
index 63ce81b85b..bca3827040 100644
--- a/libraries/xmlrpc-c/README
+++ b/libraries/xmlrpc-c/README
@@ -1,12 +1,13 @@
xmlrpc-c (modular implementation of XML-RPC for C and C++)
-XML-RPC is a quick-and-easy way to make procedure calls over the Internet.
-It converts the procedure call into XML document, sends it to a remote server
-using HTTP, and gets back the response as XML.
+XML-RPC is a quick-and-easy way to make procedure calls over the
+Internet. It converts the procedure call into XML document, sends it
+to a remote server using HTTP, and gets back the response as XML.
-This library provides a modular implementation of XML-RPC for C and C++.
+This library provides a modular implementation of XML-RPC for C and
+C++.
-The library also provides a variation on XML-RPC that works better in some
-cases (but is not standard): packet stream XML-RPC. XML-RPC For C and C++
-is designed for Unix and is most tested on unix. As far as we know, it works
-on any reasonably standard unix.
+The library also provides a variation on XML-RPC that works better in
+some cases (but is not standard): packet stream XML-RPC. XML-RPC For
+C and C++ is designed for Unix and is most tested on unix. As far as
+we know, it works on any reasonably standard unix.
diff --git a/libraries/xmlrpc-c/xmlrpc-c.SlackBuild b/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
index 80f61e3906..f701999820 100644
--- a/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
+++ b/libraries/xmlrpc-c/xmlrpc-c.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xmlrpc-c
@@ -22,26 +22,39 @@
# 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=3:
+# - fix doc permissions.
+# - add -j1 to make commands. parallel builds are unreliable: it will
+# work maybe once every 3 attempts.
+# - remove useless install instructions from doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmlrpc-c
VERSION=${VERSION:-1.33.16}
-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"
@@ -63,11 +76,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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# 20220425 bkw: tarball permissions are terrible, please don't revert
+# to template here.
+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" \
@@ -79,21 +92,29 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
+# 20220425 bkw: parallel builds (MAKEFLAGS=-jN) fail, please don't
+# remove the -j1 here.
+make -j1
+make -j1 install DESTDIR=$PKG
-# Remove empty man dir
-rm -rf $PKG/usr/man
+# 20220425 bkw: --disable-static not accepted, so:
+rm -f $PKG/usr/lib*/*.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
+# Remove empty man dir
+rm -rf $PKG/usr/man
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f doc/{INSTALL,configure_doc} # 20220425 bkw: build instructions, useless.
cp -a README doc/* examples $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/libraries/xmlsec/xmlsec.SlackBuild b/libraries/xmlsec/xmlsec.SlackBuild
index 7ae4d6dcb2..5e53788192 100644
--- a/libraries/xmlsec/xmlsec.SlackBuild
+++ b/libraries/xmlsec/xmlsec.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xmlsec
-# Copyright 2014-2017 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,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=xmlsec
SRCNAM=xmlsec1
-VERSION=${VERSION:-1.2.29}
+VERSION=${VERSION:-1.2.39}
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}
@@ -87,6 +94,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
@@ -94,11 +103,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 AUTHORS COPYING ChangeLog Copyright HACKING INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog Copyright HACKING 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/xmlsec/xmlsec.info b/libraries/xmlsec/xmlsec.info
index deea60f4fb..da777eecfa 100644
--- a/libraries/xmlsec/xmlsec.info
+++ b/libraries/xmlsec/xmlsec.info
@@ -1,8 +1,8 @@
PRGNAM="xmlsec"
-VERSION="1.2.29"
+VERSION="1.2.39"
HOMEPAGE="https://www.aleksey.com/xmlsec/"
-DOWNLOAD="https://www.aleksey.com/xmlsec/download/xmlsec1-1.2.29.tar.gz"
-MD5SUM="4755621ff2a7150e208de6bd7decca10"
+DOWNLOAD="https://www.aleksey.com/xmlsec/download/xmlsec1-1.2.39.tar.gz"
+MD5SUM="1d268a53b930aff8d4c352a29399fda1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/xmltooling/xmltooling.SlackBuild b/libraries/xmltooling/xmltooling.SlackBuild
index 4ebb859f4f..a92db2ab13 100644
--- a/libraries/xmltooling/xmltooling.SlackBuild
+++ b/libraries/xmltooling/xmltooling.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for XMLTooling
-# Copyright 2012-2018 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2012-2023 Thibaut Notteboom, Paris, FRANCE
# 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=xmltooling
-VERSION=${VERSION:-3.0.4}
+VERSION=${VERSION:-3.2.4}
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}
@@ -49,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -79,6 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mv $PKG/usr/share/doc $PKG/usr/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -86,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/libraries/xmltooling/xmltooling.info b/libraries/xmltooling/xmltooling.info
index 709d38d92c..3bd51e384c 100644
--- a/libraries/xmltooling/xmltooling.info
+++ b/libraries/xmltooling/xmltooling.info
@@ -1,10 +1,10 @@
PRGNAM="xmltooling"
-VERSION="3.0.4"
+VERSION="3.2.4"
HOMEPAGE="https://wiki.shibboleth.net/confluence/display/OpenSAML/XMLTooling-C"
-DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.0.1/xmltooling-3.0.4.tar.gz"
-MD5SUM="b9519c1a61fc3a587cfdb1996e2b4fba"
+DOWNLOAD="https://shibboleth.net/downloads/c++-opensaml/3.2.1/xmltooling-3.2.4.tar.gz"
+MD5SUM="38ad83d393d3c290f133ce2d8f3b4630"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="log4shib xml-security-c"
+REQUIRES="log4cpp xml-security-c"
MAINTAINER="Thibaut Notteboom"
EMAIL="thibaut.notteboom@gmail.com"
diff --git a/libraries/xmpppy/xmpppy.SlackBuild b/libraries/xmpppy/xmpppy.SlackBuild
index 9f94bc4895..b68b657628 100644
--- a/libraries/xmpppy/xmpppy.SlackBuild
+++ b/libraries/xmpppy/xmpppy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xmpppy
@@ -22,31 +22,32 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - add SlackBuild to the doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmpppy
VERSION=${VERSION:-0.5.0rc1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-02 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-02 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-02"
- LIBDIRSUFFIX=""
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
+[ "$ARCH" = "x86_64" ] && LIBDIRSUFFIX=64
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-${PRGNAM}
OUTPUT=${OUTPUT:-/tmp}
@@ -61,19 +62,20 @@ 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 $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
cp -a xmpp $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/* ChangeLog MANIFEST README $PKG/usr/doc/$PRGNAM-$VERSION
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
+find $PKG/usr/doc -type f -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/libraries/xulrunner/README b/libraries/xulrunner/README
deleted file mode 100644
index de70749144..0000000000
--- a/libraries/xulrunner/README
+++ /dev/null
@@ -1,12 +0,0 @@
-The XULRunner project is a Mozilla runtime package that can be used
-to bootstrap XUL+XPCOM applications that are as rich as Thunderbird
-and Firefox. It will provide mechanisms for installing, upgrading,
-and uninstalling these applications. XULRunner will also provide
-libxul, a solution which allows the embedding of Mozilla technologies
-in other projects and products.
-
-Note:
-If you have to install jdk you need to run ". /etc/profile" before
-trying to compile xurlrunner.
-
-Optional dependencies are avahi, gnome-vfs, libbonobo, and libgnome.
diff --git a/libraries/xulrunner/ftfntfmt.patch b/libraries/xulrunner/ftfntfmt.patch
deleted file mode 100644
index 176360f8a5..0000000000
--- a/libraries/xulrunner/ftfntfmt.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From bb146548c7846ba5d14f070f4be985797d83d5ca Mon Sep 17 00:00:00 2001
-From: Mike Hommey <mh+mozilla@glandium.org>
-Date: Fri, 14 Aug 2015 08:50:38 +0900
-Subject: [PATCH] Bug 1194520 - Add a system header wrapper for
- <freetype/ftfntfmt.h>
-
----
- config/system-headers | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/config/system-headers b/config/system-headers
-index bee35da..ad1f88d 100644
---- a/config/system-headers
-+++ b/config/system-headers
-@@ -450,16 +450,17 @@ foundation/base64.h
- foundation/hexdump.h
- #endif
- fp.h
- fpieee.h
- frame/log.h
- frame/req.h
- freetype/freetype.h
- freetype/ftcache.h
-+freetype/ftfntfmt.h
- freetype/ftglyph.h
- freetype/ftsynth.h
- freetype/ftoutln.h
- freetype/ttnameid.h
- freetype/tttables.h
- freetype/t1tables.h
- freetype/ftlcdfil.h
- freetype/ftsizes.h
---
-2.5.0.3.ge81d485
-
diff --git a/libraries/xulrunner/gold/gold b/libraries/xulrunner/gold/gold
deleted file mode 100644
index 8c86d3b06b..0000000000
--- a/libraries/xulrunner/gold/gold
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-/usr/bin/ld.gold "$@"
diff --git a/libraries/xulrunner/gold/ld b/libraries/xulrunner/gold/ld
deleted file mode 100644
index 8c86d3b06b..0000000000
--- a/libraries/xulrunner/gold/ld
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-/usr/bin/ld.gold "$@"
diff --git a/libraries/xulrunner/slack-desc b/libraries/xulrunner/slack-desc
deleted file mode 100644
index c86823db11..0000000000
--- a/libraries/xulrunner/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------------------------------------------------------|
-xulrunner: xulrunner (XULRunner provides the XUL Runtime environment)
-xulrunner:
-xulrunner: The XULRunner project is a Mozilla runtime package that can be used
-xulrunner: to bootstrap XUL+XPCOM applications that are as rich as Thunderbird
-xulrunner: and Firefox. It will provide mechanisms for installing, upgrading,
-xulrunner: and uninstalling these applications. XULRunner will also provide
-xulrunner: libxul, a solution which allows the embedding of Mozilla technologies
-xulrunner: in other projects and products.
-xulrunner:
-xulrunner: Homepage, http://developer.mozilla.org/en/XULRunner
-xulrunner:
diff --git a/libraries/xulrunner/xulrunner.SlackBuild b/libraries/xulrunner/xulrunner.SlackBuild
deleted file mode 100644
index ca27415be3..0000000000
--- a/libraries/xulrunner/xulrunner.SlackBuild
+++ /dev/null
@@ -1,162 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for xulrunner
-
-# Written by David Somero <dsomero@hotmail.com>
-# Derived from Slackware's Slackbuilds.
-#
-# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA
-# Copyright 2010, 2011 David Somero (dsomero@hotmail.com) Athens, TN, 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=xulrunner
-VERSION=${VERSION:-41.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=""
- LIBDIRSUFFIX=""
- OPTIMIZE=" --enable-optimize=-O2 "
- # On IA32, use gold since GNU ld runs out of memory linking libxul.so:
- PATH="$(pwd)/gold:$PATH"
- export CC="gcc -B$(pwd)/gold"
- export CXX="g++ -B$(pwd)/gold"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS=""
- LIBDIRSUFFIX=""
- OPTIMIZE=" --enable-optimize=-O2 "
- # On IA32, use gold since GNU ld runs out of memory linking libxul.so:
- PATH="$(pwd)/gold:$PATH"
- export CC="gcc -B$(pwd)/gold"
- export CXX="g++ -B$(pwd)/gold"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- OPTIMIZE=" --enable-optimize=-O2 "
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- OPTIMIZE=" --enable-optimize=-O2 "
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf mozilla-release
-tar xvf $CWD/$PRGNAM-$VERSION.source.tar.xz
-cd mozilla-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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# https://bugzilla.mozilla.org/show_bug.cgi?id=1143411
-# https://bug1194520.bmoattachments.org/attachment.cgi?id=8647805
-patch -p1 < $CWD/ftfntfmt.patch
-
-# Don't use --enable-system-cairo
-# https://bugzilla.mozilla.org/show_bug.cgi?id=722975
-OPTIONS="\
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-default-toolkit=cairo-gtk2 \
- $OPTIMIZE \
- --enable-application=xulrunner \
- --enable-javaxpcom \
- --enable-libxul \
- --enable-safe-browsing \
- --enable-image-encoders=all \
- --enable-image-decoders=all \
- --enable-pulseaudio \
- --enable-system-lcms \
- --with-system-zlib \
- --with-system-bz2 \
- --enable-system-ffi \
- --disable-system-sqlite \
- --disable-crashreporter \
- --disable-debug \
- --disable-mailnews \
- --disable-installer \
- --disable-updater \
- --disable-elf-hack \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux \
- --target=$ARCH-slackware-linux"
-
-export CFLAGS="$SLKCFLAGS"
-export CXXFLAGS="$SLKCFLAGS"
-export MOZ_MAKE_FLAGS="$MAKEFLAGS"
-
-unset DBUS_SESSION_BUS_ADDRESS ORBIT_SOCKETDIR SESSION_MANAGER \
- XDG_SESSION_COOKIE XAUTHORITY MAKEFLAGS
-
-echo ". \$topsrcdir/browser/config/mozconfig" > .mozconfig
-
-# Mozilla devs enforce using an objdir for building
-# https://developer.mozilla.org/en/Configuring_Build_Options#Building_with_an_objdir
-mkdir obj
-echo "mk_add_options MOZ_OBJDIR=$(pwd)/obj" >> .mozconfig
-
-if [ "$MOZLOCALIZE" ]; then
- echo "mk_add_options MOZ_CO_LOCALES=\"$MOZLOCALIZE\"" >> .mozconfig
-fi
-
-# Write in it the options above
-for option in $OPTIONS; do echo "ac_add_options $option" >> .mozconfig; done
-
-echo "ac_add_options --disable-tests" >> .mozconfig
-make -f client.mk build
-
-make -f client.mk 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 LICENSE LEGAL 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/libraries/xulrunner/xulrunner.info b/libraries/xulrunner/xulrunner.info
deleted file mode 100644
index 97cd112c61..0000000000
--- a/libraries/xulrunner/xulrunner.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="xulrunner"
-VERSION="41.0.2"
-HOMEPAGE="https://developer.mozilla.org/en/Getting_started_with_XULRunner"
-DOWNLOAD="https://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/41.0.2/source/xulrunner-41.0.2.source.tar.xz"
-MD5SUM="d6889657659025de38387986cc8764e6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="David Somero"
-EMAIL="dsomero@hotmail.com"
diff --git a/libraries/xview/README b/libraries/xview/README
index c89d9bf1a8..3defd3d840 100644
--- a/libraries/xview/README
+++ b/libraries/xview/README
@@ -1,4 +1,4 @@
-XView (X11 toolkit for OPEN LOOK applications)
+xview (X11 toolkit for OPEN LOOK applications)
XView is a cross-platform X11 toolkit which implements OPEN LOOK
specification. It was originally created by Sun Microsystems (now
@@ -7,11 +7,8 @@ several OPEN LOOK applications, including window managers (olwm,
olvwm), text editors (oledit, textedit), clock (olclock) and a
simple calculator (olcalc).
-!!! IMPORTANT !!!
Due to conflict with /sbin/clock, XView's clock was renamed to olclock.
-If you are using one of certain, older Slackware versions, XView
-applications may hang after first mouse button click. To prevent this
-behaviour, build this SlackBuild in the following way:
-
-XVIEW_BROKEN_X11_WORKAROUND=1 ./xview.SlackBuild
+Note to 64-bit users: xview isn't "64-bit clean". The window managers
+(olwm, olvwm) work, but the applications crash with a segfault on
+startup.
diff --git a/libraries/xview/xinitrc.olvwm b/libraries/xview/xinitrc.olvwm
new file mode 100644
index 0000000000..203011e0a3
--- /dev/null
+++ b/libraries/xview/xinitrc.olvwm
@@ -0,0 +1,16 @@
+#!/bin/sh
+# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+[ -f $sysresources ] && xrdb -merge $sysresources
+[ -f $sysmodmap ] && xmodmap $sysmodmap
+[ -f $userresources ] && xrdb -merge $userresources
+[ -f $usermodmap ] && xmodmap $usermodmap
+
+# Start the window manager:
+/usr/bin/olvwm
diff --git a/libraries/xview/xinitrc.olwm b/libraries/xview/xinitrc.olwm
new file mode 100644
index 0000000000..ec81c6341a
--- /dev/null
+++ b/libraries/xview/xinitrc.olwm
@@ -0,0 +1,16 @@
+#!/bin/sh
+# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+[ -f $sysresources ] && xrdb -merge $sysresources
+[ -f $sysmodmap ] && xmodmap $sysmodmap
+[ -f $userresources ] && xrdb -merge $userresources
+[ -f $usermodmap ] && xmodmap $usermodmap
+
+# Start the window manager:
+/usr/bin/olwm
diff --git a/libraries/xview/xview.SlackBuild b/libraries/xview/xview.SlackBuild
index e3a5c4ab5c..ed898de642 100644
--- a/libraries/xview/xview.SlackBuild
+++ b/libraries/xview/xview.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for XView
-# Copyright 2014 Tomasz Konojacki <me@xenu.tk>
+# Copyright 2014 Tomasz Konojacki <email removed>
+# Copyright 2020 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220419 bkw: BUILD=3
+# - move docs to correct Slackware doc dir (no /usr/share/doc).
+# - remove empty /usr/xview dir.
+# - symlink examples to doc dir.
+# 20200524 bkw:
+# - take over maintenance, BUILD=2
+# - add partial 64-bit support (olwm and olvwm work, apps don't)
+# - add xinitrc.ol[v]wm
+# - add MAKEFLAGS=-j1
+# - remove XVIEW_BROKEN_X11_WORKAROUND from README, not needed on 14.2
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xview
VERSION=${VERSION:-3.2p4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,54 +50,101 @@ if [ -z "$ARCH" ]; then
esac
fi
-if [ "$ARCH" != "i586" ] && [ "$ARCH" != "i686" ]; then
- echo "$ARCH is not supported."
- exit 1
+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
+ if [ "${WARN64:-yes}" = "yes" ]; then
+ cat <<"EOF"
+************************************************************************
+Warning: xview doesn't fully support 64-bit systems. The window managers
+(olwm and olvwm) work, but the applications (olclock, oledit, etc) crash
+on startup. Please don't report this as a bug, we already know.
+Press Enter or wait 5 seconds to continue, or press ^C to abort.
+************************************************************************
+EOF
+ read -t 5 || true
+ fi
+ 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 Zxvf $CWD/$PRGNAM-$VERSION.tar.Z
+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 {} \;
-
-DESTDIR=$PKG \
-XVIEW_USE_GCC=1 \
-bash Build-XView.bash libs clients contrib olvwm
-
-DESTDIR=$PKG \
-bash Build-XView.bash instlibs instclients instcontrib instolvwm instfinish
-
-# it conflicts with /sbin/clock from Slackware
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Apply our CFLAGS. There might be a simpler way to do it, but this works:
+sed -i "s|-O2|$SLKCFLAGS -fcommon -I/usr/include/tirpc -Wl,-ltirpc|g" \
+ clients/olvwm-4.1/compiler.tmpl \
+ clients/olwm/Makefile.simple \
+ config/XView.tmpl
+
+script=Build-XView.bash
+
+# lib64 support, and stop creating /usr/config outside of $TMP.
+sed -i \
+ -e "s|/lib/X11/config|/lib$LIBDIRSUFFIX/X11/config|g" \
+ -e '/instlibs)/,+1s|install-sh|#&|' \
+ $script
+
+# 20200524 bkw: Yes, we do need -j1 here.
+X11DIR=/usr
+OPENWINHOME=/usr
+DESTDIR=$PKG
+XVIEW_USE_GCC=1
+MAKEFLAGS=-j1
+export X11DIR OPENWINHOME DESTDIR XVIEW_USE_GCC MAKEFLAGS
+
+# "all" builds/installs everything according to the env vars set above.
+sh $script all
+
+# This conflicts with /sbin/clock from Slackware:
mv $PKG/usr/bin/clock $PKG/usr/bin/olclock
mv $PKG/usr/man/man1/clock.1x $PKG/usr/man/man1/olclock.1x
find $PKG -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
+gzip -9 $PKG/usr/man/man?/*
+
+mkdir -p $PKG/etc/X11/xinit
+install -m0755 -oroot -groot $CWD/xinitrc.* $PKG/etc/X11/xinit
+
+rm -rf $PKG/usr/$PRGNAM
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README CHANGELOG LEGAL_NOTICE $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 CHANGELOG LEGAL_NOTICE $PKGDOC
+mv $PKG/usr/share/doc/$PRGNAM/* $PKGDOC
+rm -rf $PKG/usr/share/doc
+ln -s ../../share/$PRGNAM/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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/xview/xview.info b/libraries/xview/xview.info
index 19e1836265..9f3e173fdc 100644
--- a/libraries/xview/xview.info
+++ b/libraries/xview/xview.info
@@ -1,10 +1,10 @@
PRGNAM="xview"
VERSION="3.2p4"
-HOMEPAGE="https://physionet.org/physiotools/xview/"
+HOMEPAGE="https://archive.physionet.org/physiotools/xview/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/xview-3.2p4.tar.Z"
MD5SUM="27b10252d53d2ccee12650221d873e2b"
-DOWNLOAD_x86_64="UNSUPPORTED"
+DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Tomasz Konojacki"
-EMAIL="me@xenu.tk"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/xylib/xylib.SlackBuild b/libraries/xylib/xylib.SlackBuild
index 82714ce15a..7ff9aa6ade 100644
--- a/libraries/xylib/xylib.SlackBuild
+++ b/libraries/xylib/xylib.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xylib
# Based on Slackware 14.2 SlackBuild
#
-# Copyright 2017, Fellype do Nascimento, Campinas - Brazil
+# Copyright 2017-2020, Fellype do Nascimento, Campinas - Brazil
# 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=xylib
-VERSION=${VERSION:-1.5}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.6}
+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}
@@ -89,8 +99,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
gzip -9 $PKG/usr/man/man1/xyconv.1
+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/libraries/xylib/xylib.info b/libraries/xylib/xylib.info
index 96cdc589f9..a38dfeafd2 100644
--- a/libraries/xylib/xylib.info
+++ b/libraries/xylib/xylib.info
@@ -1,10 +1,10 @@
PRGNAM="xylib"
-VERSION="1.5"
+VERSION="1.6"
HOMEPAGE="http://xylib.sourceforge.net/"
-DOWNLOAD="https://github.com/wojdyr/xylib/releases/download/v1.5/xylib-1.5.tar.bz2"
-MD5SUM="398d0e04fc50b231b5214a5196765d70"
+DOWNLOAD="https://github.com/wojdyr/xylib/releases/download/v1.6/xylib-1.6.tar.bz2"
+MD5SUM="028aa46b01180b0f9de363c691c5def4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3"
MAINTAINER="Fellype do Nascimento"
-EMAIL="fellype(at)gmail.com"
+EMAIL="fellype (at) gmail (dot) com"
diff --git a/libraries/yajl/patches/0001-pkg-config-file-should-be-in-lib-dir-not-shared-data.patch b/libraries/yajl/patches/0001-pkg-config-file-should-be-in-lib-dir-not-shared-data.patch
new file mode 100644
index 0000000000..5ac6d63e49
--- /dev/null
+++ b/libraries/yajl/patches/0001-pkg-config-file-should-be-in-lib-dir-not-shared-data.patch
@@ -0,0 +1,44 @@
+From a319e9c853d787a9033e14436a5a80381e954a26 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 10 Jul 2023 13:42:30 +0100
+Subject: [PATCH 1/8] pkg-config file should be in lib dir, not shared data dir
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ src/CMakeLists.txt | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 99cf9e9..789ddf9 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -30,7 +30,7 @@ ADD_DEFINITIONS(-DYAJL_BUILD)
+ # set up some paths
+ SET (libDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib)
+ SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/include/yajl)
+-SET (shareDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/share/pkgconfig)
++SET (pkgconfigDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib${LIB_SUFFIX}/pkgconfig)
+
+ # set the output path for libraries
+ SET(LIBRARY_OUTPUT_PATH ${libDir})
+@@ -61,7 +61,7 @@ FILE(MAKE_DIRECTORY ${incDir})
+ # generate build-time source
+ SET(dollar $)
+ CONFIGURE_FILE(api/yajl_version.h.cmake ${incDir}/yajl_version.h)
+-CONFIGURE_FILE(yajl.pc.cmake ${shareDir}/yajl.pc)
++CONFIGURE_FILE(yajl.pc.cmake ${pkgconfigDir}/yajl.pc)
+
+ # copy public headers to output directory
+ FOREACH (header ${PUB_HDRS})
+@@ -84,4 +84,4 @@ INSTALL(TARGETS yajl
+ INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib${LIB_SUFFIX})
+ INSTALL(FILES ${PUB_HDRS} DESTINATION include/yajl)
+ INSTALL(FILES ${incDir}/yajl_version.h DESTINATION include/yajl)
+-INSTALL(FILES ${shareDir}/yajl.pc DESTINATION share/pkgconfig)
++INSTALL(FILES ${pkgconfigDir}/yajl.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
+--
+2.41.0
+
diff --git a/libraries/yajl/patches/0002-pkg-config-include-dir-should-not-have-the-yajl-suff.patch b/libraries/yajl/patches/0002-pkg-config-include-dir-should-not-have-the-yajl-suff.patch
new file mode 100644
index 0000000000..b6175b38d4
--- /dev/null
+++ b/libraries/yajl/patches/0002-pkg-config-include-dir-should-not-have-the-yajl-suff.patch
@@ -0,0 +1,30 @@
+From 0eaa8db35c9e580f27ba0c90d11b173cb1d96687 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 10 Jul 2023 13:43:25 +0100
+Subject: [PATCH 2/8] pkg-config include dir should not have the 'yajl' suffix
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Apps use '#include <yajl/yajl.h>' for includes historically.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ src/yajl.pc.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/yajl.pc.cmake b/src/yajl.pc.cmake
+index 6eaca14..485ded9 100644
+--- a/src/yajl.pc.cmake
++++ b/src/yajl.pc.cmake
+@@ -1,6 +1,6 @@
+ prefix=${CMAKE_INSTALL_PREFIX}
+ libdir=${dollar}{prefix}/lib${LIB_SUFFIX}
+-includedir=${dollar}{prefix}/include/yajl
++includedir=${dollar}{prefix}/include
+
+ Name: Yet Another JSON Library
+ Description: A Portable JSON parsing and serialization library in ANSI C
+--
+2.41.0
+
diff --git a/libraries/yajl/patches/0003-fix-patch-to-test-files-to-take-account-of-vpath.patch b/libraries/yajl/patches/0003-fix-patch-to-test-files-to-take-account-of-vpath.patch
new file mode 100644
index 0000000000..8f1d5ab119
--- /dev/null
+++ b/libraries/yajl/patches/0003-fix-patch-to-test-files-to-take-account-of-vpath.patch
@@ -0,0 +1,49 @@
+From 39b9c104275a5eac498f5d2a92b462d10381a9eb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 10 Jul 2023 13:44:26 +0100
+Subject: [PATCH 3/8] fix patch to test files to take account of vpath
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ test/api/run_tests.sh | 2 +-
+ test/parsing/run_tests.sh | 6 +++---
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/test/api/run_tests.sh b/test/api/run_tests.sh
+index 6655152..88e43fb 100755
+--- a/test/api/run_tests.sh
++++ b/test/api/run_tests.sh
+@@ -5,7 +5,7 @@ echo Running api tests:
+ tests=0
+ passed=0
+
+-for file in `ls`; do
++for file in `ls ../../build/test/api`; do
+ [ ! -x $file -o -d $file ] && continue
+ tests=`expr 1 + $tests`
+ printf " test(%s): " $file
+diff --git a/test/parsing/run_tests.sh b/test/parsing/run_tests.sh
+index b37e4dd..ceb2e7a 100755
+--- a/test/parsing/run_tests.sh
++++ b/test/parsing/run_tests.sh
+@@ -16,11 +16,11 @@ fi
+ # find test binary on both platforms. allow the caller to force a
+ # particular test binary (useful for non-cmake build systems).
+ if [ -z "$testBin" ]; then
+- testBin="../build/test/parsing/Release/yajl_test.exe"
++ testBin="../../build/test/parsing/Release/yajl_test.exe"
+ if [ ! -x $testBin ] ; then
+- testBin="../build/test/parsing/Debug/yajl_test.exe"
++ testBin="../../build/test/parsing/Debug/yajl_test.exe"
+ if [ ! -x $testBin ] ; then
+- testBin="../build/test/parsing/yajl_test"
++ testBin="../../build/test/parsing/yajl_test"
+ if [ ! -x $testBin ] ; then
+ ${ECHO} "cannot execute test binary: '$testBin'"
+ exit 1;
+--
+2.41.0
+
diff --git a/libraries/yajl/patches/0004-drop-bogus-_s-suffix-from-yajl-dynamic-library.patch b/libraries/yajl/patches/0004-drop-bogus-_s-suffix-from-yajl-dynamic-library.patch
new file mode 100644
index 0000000000..1c97cc8ee9
--- /dev/null
+++ b/libraries/yajl/patches/0004-drop-bogus-_s-suffix-from-yajl-dynamic-library.patch
@@ -0,0 +1,43 @@
+From c98c00d6957601b95f3982f3d9460868469a299e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 10 Jul 2023 13:45:36 +0100
+Subject: [PATCH 4/8] drop bogus '_s' suffix from yajl dynamic library
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ reformatter/CMakeLists.txt | 2 +-
+ verify/CMakeLists.txt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/reformatter/CMakeLists.txt b/reformatter/CMakeLists.txt
+index 52a9bee..4b7b3fa 100644
+--- a/reformatter/CMakeLists.txt
++++ b/reformatter/CMakeLists.txt
+@@ -26,7 +26,7 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib)
+
+ ADD_EXECUTABLE(json_reformat ${SRCS})
+
+-TARGET_LINK_LIBRARIES(json_reformat yajl_s)
++TARGET_LINK_LIBRARIES(json_reformat yajl)
+
+ # In some environments, we must explicitly link libm (like qnx,
+ # thanks @shahbag)
+diff --git a/verify/CMakeLists.txt b/verify/CMakeLists.txt
+index 967fca1..2bceb26 100644
+--- a/verify/CMakeLists.txt
++++ b/verify/CMakeLists.txt
+@@ -26,7 +26,7 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib)
+
+ ADD_EXECUTABLE(json_verify ${SRCS})
+
+-TARGET_LINK_LIBRARIES(json_verify yajl_s)
++TARGET_LINK_LIBRARIES(json_verify yajl)
+
+ # copy in the binary
+ GET_TARGET_PROPERTY(binPath json_verify LOCATION)
+--
+2.41.0
+
diff --git a/libraries/yajl/patches/0005-Fix-for-CVE-2017-16516.patch b/libraries/yajl/patches/0005-Fix-for-CVE-2017-16516.patch
new file mode 100644
index 0000000000..7d48816341
--- /dev/null
+++ b/libraries/yajl/patches/0005-Fix-for-CVE-2017-16516.patch
@@ -0,0 +1,43 @@
+From 0b5e73c4321de0ba1d495fdc0967054b2a77931c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
+Date: Mon, 10 Jul 2023 13:36:10 +0100
+Subject: [PATCH 5/8] Fix for CVE-2017-16516
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Description: Fix for CVE-2017-16516
+ Potential buffer overread: A JSON file can cause denial of service.
+Origin: https://github.com/brianmario/yajl-ruby/commit/a8ca8f476655adaa187eedc60bdc770fff3c51ce
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040036
+Bug: https://github.com/lloyd/yajl/issues/248
+
+Patch taken from Debian package source
+
+NB, Fedora code can't trigger the reported aborts since it passes the
+-DNDEBUG flag, but pulling the fix for robustness in case a future
+change enables the assert()s.
+
+Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
+---
+ src/yajl_encode.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/yajl_encode.c b/src/yajl_encode.c
+index fd08258..0d97cc5 100644
+--- a/src/yajl_encode.c
++++ b/src/yajl_encode.c
+@@ -139,8 +139,8 @@ void yajl_string_decode(yajl_buf buf, const unsigned char * str,
+ end+=3;
+ /* check if this is a surrogate */
+ if ((codepoint & 0xFC00) == 0xD800) {
+- end++;
+- if (str[end] == '\\' && str[end + 1] == 'u') {
++ if (end + 2 < len && str[end + 1] == '\\' && str[end + 2] == 'u') {
++ end++;
+ unsigned int surrogate = 0;
+ hexToDigit(&surrogate, str + end + 2);
+ codepoint =
+--
+2.41.0
+
diff --git a/libraries/yajl/patches/0006-Fix-CVE-2022-24795.patch b/libraries/yajl/patches/0006-Fix-CVE-2022-24795.patch
new file mode 100644
index 0000000000..704e884a70
--- /dev/null
+++ b/libraries/yajl/patches/0006-Fix-CVE-2022-24795.patch
@@ -0,0 +1,60 @@
+From 17de4d15687aa30c49660dc4b792b1fb4d38b569 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Thu, 7 Apr 2022 17:29:54 +0200
+Subject: [PATCH 6/8] Fix CVE-2022-24795
+
+There was an integer overflow in yajl_buf_ensure_available() leading
+to allocating less memory than requested. Then data were written past
+the allocated heap buffer in yajl_buf_append(), the only caller of
+yajl_buf_ensure_available(). Another result of the overflow was an
+infinite loop without a return from yajl_buf_ensure_available().
+
+yajl-ruby project, which bundles yajl, fixed it
+<https://github.com/brianmario/yajl-ruby/pull/211> by checking for the
+integer overflow, fortifying buffer allocations, and report the
+failures to a caller. But then the caller yajl_buf_append() skips
+a memory write if yajl_buf_ensure_available() failed leading to a data
+corruption.
+
+A yajl fork mainter recommended calling memory allocation callbacks with
+the large memory request and let them to handle it. But that has the
+problem that it's not possible pass the overely large size to the
+callbacks.
+
+This patch catches the integer overflow and terminates the process
+with abort().
+
+https://github.com/lloyd/yajl/issues/239
+https://github.com/brianmario/yajl-ruby/security/advisories/GHSA-jj47-x69x-mxrm
+(cherry picked from commit 23cea2d7677e396efed78bbf1bf153961fab6bad
+ in https://github.com/ppisar/yajl)
+---
+ src/yajl_buf.c | 12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/src/yajl_buf.c b/src/yajl_buf.c
+index 1aeafde..55c11ad 100644
+--- a/src/yajl_buf.c
++++ b/src/yajl_buf.c
+@@ -45,7 +45,17 @@ void yajl_buf_ensure_available(yajl_buf buf, size_t want)
+
+ need = buf->len;
+
+- while (want >= (need - buf->used)) need <<= 1;
++ if (((buf->used > want) ? buf->used : want) > (size_t)(buf->used + want)) {
++ /* We cannot allocate more memory than SIZE_MAX. */
++ abort();
++ }
++ while (want >= (need - buf->used)) {
++ if (need >= (size_t)((size_t)(-1)<<1)>>1) {
++ /* need would overflow. */
++ abort();
++ }
++ need <<= 1;
++ }
+
+ if (need != buf->len) {
+ buf->data = (unsigned char *) YA_REALLOC(buf->alloc, buf->data, need);
+--
+2.41.0
+
diff --git a/libraries/yajl/patches/0007-yajl-fix-memory-leak-problem.patch b/libraries/yajl/patches/0007-yajl-fix-memory-leak-problem.patch
new file mode 100644
index 0000000000..0a6be95ab6
--- /dev/null
+++ b/libraries/yajl/patches/0007-yajl-fix-memory-leak-problem.patch
@@ -0,0 +1,41 @@
+From c4304a2c04a1b392eb1464a9da892a9e0dff7683 Mon Sep 17 00:00:00 2001
+From: wujing <wujing50@huawei.com>
+Date: Thu, 14 Feb 2019 03:12:30 +0800
+Subject: [PATCH 7/8] yajl: fix memory leak problem
+
+reason: fix memory leak problem
+(cherry picked from commit 3d65cb0c6db4d433e5e42ee7d91d8a04e21337cf
+ in https://github.com/openEuler-BaseService)
+
+Fixes: https://github.com/lloyd/yajl/issues/250 (CVE-2023-33460)
+---
+ src/yajl_tree.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/src/yajl_tree.c b/src/yajl_tree.c
+index 3d357a3..4b3cf2b 100644
+--- a/src/yajl_tree.c
++++ b/src/yajl_tree.c
+@@ -143,7 +143,7 @@ static yajl_val context_pop(context_t *ctx)
+ ctx->stack = stack->next;
+
+ v = stack->value;
+-
++ free (stack->key);
+ free (stack);
+
+ return (v);
+@@ -444,6 +444,10 @@ yajl_val yajl_tree_parse (const char *input,
+ snprintf(error_buffer, error_buffer_size, "%s", internal_err_str);
+ YA_FREE(&(handle->alloc), internal_err_str);
+ }
++ while(ctx.stack != NULL) {
++ yajl_val v = context_pop(&ctx);
++ yajl_tree_free(v);
++ }
+ yajl_free (handle);
+ return NULL;
+ }
+--
+2.41.0
+
diff --git a/libraries/yajl/patches/0008-fix-memory-leaks.patch b/libraries/yajl/patches/0008-fix-memory-leaks.patch
new file mode 100644
index 0000000000..cc8e5f7a01
--- /dev/null
+++ b/libraries/yajl/patches/0008-fix-memory-leaks.patch
@@ -0,0 +1,30 @@
+From 9cb871049261eeda844b8943d15580763a0ac3d3 Mon Sep 17 00:00:00 2001
+From: "zhang.jiujiu" <282627424@qq.com>
+Date: Tue, 7 Dec 2021 22:37:02 +0800
+Subject: [PATCH 8/8] fix memory leaks
+
+(cherry picked from commit 23a122eddaa28165a6c219000adcc31ff9a8a698
+ in https://github.com/openEuler-BaseService)
+
+Fixes: https://github.com/lloyd/yajl/issues/250 (CVE-2023-33460)
+---
+ src/yajl_tree.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/yajl_tree.c b/src/yajl_tree.c
+index 4b3cf2b..56c7012 100644
+--- a/src/yajl_tree.c
++++ b/src/yajl_tree.c
+@@ -449,6 +449,9 @@ yajl_val yajl_tree_parse (const char *input,
+ yajl_tree_free(v);
+ }
+ yajl_free (handle);
++ //If the requested memory is not released in time, it will cause memory leakage
++ if(ctx.root)
++ yajl_tree_free(ctx.root);
+ return NULL;
+ }
+
+--
+2.41.0
+
diff --git a/libraries/yajl/yajl.SlackBuild b/libraries/yajl/yajl.SlackBuild
index 0dc9f836f4..0c2408c1ab 100644
--- a/libraries/yajl/yajl.SlackBuild
+++ b/libraries/yajl/yajl.SlackBuild
@@ -1,12 +1,13 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yajl
# Written by Eugene Wissner <belka.ew@gmail.com>
# Updated by Marcin Herda <mherda@slackword.net>
# Updated by Johannes Schoepfer
+# Modified by Ricardo J. Barberis
#
-# Copyright (c) 2019, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com>
+# Copyright (c) 2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -25,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=yajl
VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
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}
@@ -72,6 +83,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 {} \;
+for i in $CWD/patches/* ; do patch -p1 < $i ; done
+
mkdir build
cd build
cmake .. \
@@ -95,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/libraries/yajl/yajl.info b/libraries/yajl/yajl.info
index 0674dbbefd..c2a7bc6586 100644
--- a/libraries/yajl/yajl.info
+++ b/libraries/yajl/yajl.info
@@ -1,10 +1,10 @@
PRGNAM="yajl"
VERSION="2.1.0"
HOMEPAGE="http://lloyd.github.com/yajl/"
-DOWNLOAD="http://github.com/lloyd/yajl/tarball/2.1.0/lloyd-yajl-2.1.0-0-ga0ecdde.tar.gz"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/lloyd-yajl-2.1.0-0-ga0ecdde.tar.gz"
MD5SUM="8df8a92a2799bc949577e8e7a9f43670"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Ricardo J. Barberis"
-EMAIL="ricardo.barberis@gmail.com"
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/yaml-cpp/yaml-cpp.SlackBuild b/libraries/yaml-cpp/yaml-cpp.SlackBuild
index a194c2c773..90ece54209 100644
--- a/libraries/yaml-cpp/yaml-cpp.SlackBuild
+++ b/libraries/yaml-cpp/yaml-cpp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yaml-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=yaml-cpp
VERSION=${VERSION:-0.6.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}
@@ -60,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -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/libraries/yaml-cpp/yaml-cpp.info b/libraries/yaml-cpp/yaml-cpp.info
index fcf0b3ef96..59710b7e60 100644
--- a/libraries/yaml-cpp/yaml-cpp.info
+++ b/libraries/yaml-cpp/yaml-cpp.info
@@ -1,7 +1,7 @@
PRGNAM="yaml-cpp"
VERSION="0.6.3"
HOMEPAGE="https://github.com/jbeder/yaml-cpp"
-DOWNLOAD="https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.3.tar.gz"
+DOWNLOAD="https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.3/yaml-cpp-yaml-cpp-0.6.3.tar.gz"
MD5SUM="b45bf1089a382e81f6b661062c10d0c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild b/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild
index 466dcb4b23..08f022c6ef 100644
--- a/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild
+++ b/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yaml-cpp
@@ -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=yaml-cpp0.3
SRCNAM=yaml-cpp
VERSION=${VERSION:-0.3.0}
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}
@@ -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/libraries/yaml-cpp0.3/yaml-cpp0.3.info b/libraries/yaml-cpp0.3/yaml-cpp0.3.info
index 62178bb2d5..8921b4a6ec 100644
--- a/libraries/yaml-cpp0.3/yaml-cpp0.3.info
+++ b/libraries/yaml-cpp0.3/yaml-cpp0.3.info
@@ -1,7 +1,7 @@
PRGNAM="yaml-cpp0.3"
VERSION="0.3.0"
HOMEPAGE="https://github.com/jbeder/yaml-cpp"
-DOWNLOAD="https://github.com/jbeder/yaml-cpp/archive/release-0.3.0.tar.gz"
+DOWNLOAD="https://github.com/jbeder/yaml-cpp/archive/release-0.3.0/yaml-cpp-release-0.3.0.tar.gz"
MD5SUM="0c0496b195299e956056430444e237b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/libraries/yascreen/README b/libraries/yascreen/README
new file mode 100644
index 0000000000..e65a76b3c1
--- /dev/null
+++ b/libraries/yascreen/README
@@ -0,0 +1,2 @@
+yascreen - Yet Another Screen Library (curses replacement for daemons
+and embedded apps)
diff --git a/libraries/yascreen/slack-desc b/libraries/yascreen/slack-desc
new file mode 100644
index 0000000000..91f1d97ae7
--- /dev/null
+++ b/libraries/yascreen/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------------------------------------------------------|
+yascreen: yascreen (screen library)
+yascreen:
+yascreen: yascreen - Yet Another Screen Library (curses replacement for daemons
+yascreen: and embedded apps)
+yascreen:
+yascreen: homepage: https://github.com/bbonev/yascreen
+yascreen:
+yascreen:
+yascreen:
+yascreen:
+yascreen:
diff --git a/libraries/yascreen/yascreen.SlackBuild b/libraries/yascreen/yascreen.SlackBuild
new file mode 100644
index 0000000000..e00d1cd642
--- /dev/null
+++ b/libraries/yascreen/yascreen.SlackBuild
@@ -0,0 +1,100 @@
+#!/bin/bash
+
+# Slackware build script for yascreen
+
+# Copyright 2022-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=yascreen
+VERSION=${VERSION:-1.97}
+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 {} \;
+
+sed -i "s|share/man|man|" Makefile.main || exit 1
+
+CFLAGS="$SLKCFLAGS" \
+make install DESTDIR=$PKG PREFIX=/usr LIBDIR=/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
+
+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/libraries/yascreen/yascreen.info b/libraries/yascreen/yascreen.info
new file mode 100644
index 0000000000..e0006d05b4
--- /dev/null
+++ b/libraries/yascreen/yascreen.info
@@ -0,0 +1,10 @@
+PRGNAM="yascreen"
+VERSION="1.97"
+HOMEPAGE="https://github.com/bbonev/yascreen"
+DOWNLOAD="https://github.com/bbonev/yascreen/releases/download/v1.97/yascreen-1.97.tar.xz"
+MD5SUM="6e0d650760d3376d83cedbff4133f214"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/libraries/yaz/README b/libraries/yaz/README
index e5b5169b07..18c68197fb 100644
--- a/libraries/yaz/README
+++ b/libraries/yaz/README
@@ -1,6 +1,6 @@
-YAZ is a programmers toolkit supporting the development of Z39.50/SRW/SRU
-clients and servers. Z39.50-2003 (version 3) as well as SRW/SRU version
-1.1 are supported in both the client and server roles.
+YAZ is a programmers toolkit supporting the development of
+Z39.50/SRW/SRU clients and servers. Z39.50-2003 (version 3) as well as
+SRW/SRU version 1.1 are supported in both the client and server roles.
The current version of YAZ includes support for the industry standard
ZOOM API for Z39.50. This API vastly simplifies the process of writing
diff --git a/libraries/yaz/yaz.SlackBuild b/libraries/yaz/yaz.SlackBuild
index 7857dec273..297fa58209 100644
--- a/libraries/yaz/yaz.SlackBuild
+++ b/libraries/yaz/yaz.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# SlackBuild script for yaz
@@ -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=yaz
VERSION=${VERSION:-4.2.51}
-BUILD=${BUILD:-1}
+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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; 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,8 +102,10 @@ cp -a LICENSE NEWS README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -rf $PKG/usr/share/doc
+rm -f $PKG/usr/lib*/*.la
+
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/yder/yder.SlackBuild b/libraries/yder/yder.SlackBuild
index 55fc637cda..850d48dafb 100644
--- a/libraries/yder/yder.SlackBuild
+++ b/libraries/yder/yder.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yder
#
# 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=yder
-VERSION=${VERSION:-1.4.9}
+VERSION=${VERSION:-1.4.20}
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}
@@ -47,6 +57,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=""
@@ -91,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/libraries/yder/yder.info b/libraries/yder/yder.info
index 1e1ac0079c..8733286ee6 100644
--- a/libraries/yder/yder.info
+++ b/libraries/yder/yder.info
@@ -1,8 +1,8 @@
PRGNAM="yder"
-VERSION="1.4.9"
+VERSION="1.4.20"
HOMEPAGE="https://github.com/babelouest/yder"
-DOWNLOAD="https://github.com/babelouest/yder/archive/v1.4.9/yder-1.4.9.tar.gz"
-MD5SUM="6a07f690e1a3da88aad9bcd27736baa2"
+DOWNLOAD="https://github.com/babelouest/yder/archive/v1.4.20/yder-1.4.20.tar.gz"
+MD5SUM="d03274fe02a8edb8679dc40d61c48c4f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="orcania"
diff --git a/libraries/ytnef/README b/libraries/ytnef/README
new file mode 100644
index 0000000000..9edb4610da
--- /dev/null
+++ b/libraries/ytnef/README
@@ -0,0 +1,4 @@
+Yerase's TNEF Stream Reader allows you to decode application/ms-tnef
+e-mail attachments, which are usually entitled "winmail.dat" and are
+generally a file container format that is only readable by Microsoft
+Outlook. Some TNEF streams also include RTF-formatted data.
diff --git a/libraries/ytnef/slack-desc b/libraries/ytnef/slack-desc
new file mode 100644
index 0000000000..05a392dae1
--- /dev/null
+++ b/libraries/ytnef/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------------------------------------------------------|
+ytnef: ytnef (Yerase's TNEF Stream Reader)
+ytnef:
+ytnef: Yerase's TNEF Stream Reader allows you to decode application/ms-tnef
+ytnef: e-mail attachments, which are usually entitled "winmail.dat" and are
+ytnef: generally a file container format that is only readable by Microsoft
+ytnef: Outlook. Some TNEF streams also include RTF-formatted data.
+ytnef:
+ytnef: https://github.com/Yeraze/ytnef
+ytnef:
+ytnef:
+ytnef:
diff --git a/libraries/ytnef/ytnef.SlackBuild b/libraries/ytnef/ytnef.SlackBuild
new file mode 100644
index 0000000000..15a7e50d0c
--- /dev/null
+++ b/libraries/ytnef/ytnef.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for ytnef
+
+# Copyright 2022 Ozan Türkyılmaz
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=ytnef
+VERSION=${VERSION:-2.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+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
+
+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 ChangeLog README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/ytnef/ytnef.info b/libraries/ytnef/ytnef.info
new file mode 100644
index 0000000000..3d8c75760c
--- /dev/null
+++ b/libraries/ytnef/ytnef.info
@@ -0,0 +1,10 @@
+PRGNAM="ytnef"
+VERSION="2.0"
+HOMEPAGE="https://github.com/Yeraze/ytnef"
+DOWNLOAD="https://github.com/Yeraze/ytnef/archive/refs/tags/v2.0/ytnef-2.0.tar.gz"
+MD5SUM="63cc29205d086aa5ef4827e2e10784f1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Ozan Türkyılmaz"
+EMAIL="ozan.turkyilmaz@gmail.com"
diff --git a/libraries/zbase32/README b/libraries/zbase32/README
deleted file mode 100644
index 02b5c243ac..0000000000
--- a/libraries/zbase32/README
+++ /dev/null
@@ -1 +0,0 @@
-zbase32 is an alternate base32 encoder (not RFC 3548 compliant).
diff --git a/libraries/zbase32/slack-desc b/libraries/zbase32/slack-desc
deleted file mode 100644
index 140d0d1fc1..0000000000
--- a/libraries/zbase32/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------------------------------------------------------|
-zbase32: zbase32 (Python base32 encoder/decoder)
-zbase32:
-zbase32: zbase32 is an alternate base32 encoder (not RFC 3548 compliant).
-zbase32:
-zbase32: Homepage: https://pypi.python.org/pypi/zbase32/
-zbase32:
-zbase32:
-zbase32:
-zbase32:
-zbase32:
-zbase32:
diff --git a/libraries/zbase32/zbase32.SlackBuild b/libraries/zbase32/zbase32.SlackBuild
deleted file mode 100644
index 514300b094..0000000000
--- a/libraries/zbase32/zbase32.SlackBuild
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for zbase32.
-
-# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2012-2013 Markus Reichelt, Stolberg (Rhld.), 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.
-#
-# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
-
-PRGNAM=zbase32
-VERSION=${VERSION:-1.1.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
-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 build
-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/doc/$PRGNAM-$VERSION
-cp -a DESIGN 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/libraries/zbase32/zbase32.info b/libraries/zbase32/zbase32.info
deleted file mode 100644
index a90eb4b22a..0000000000
--- a/libraries/zbase32/zbase32.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="zbase32"
-VERSION="1.1.5"
-HOMEPAGE="https://pypi.python.org/pypi/zbase32/"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zbase32/zbase32-1.1.5.tar.gz"
-MD5SUM="4dba0be4ac6d66968de8e5173f51d65d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
diff --git a/libraries/zc.lockfile/README b/libraries/zc.lockfile/README
deleted file mode 100644
index 1203ec6791..0000000000
--- a/libraries/zc.lockfile/README
+++ /dev/null
@@ -1,2 +0,0 @@
-The zc.lockfile package provides a basic portable implementation of
-interprocess locks using lock files.
diff --git a/libraries/zc.lockfile/slack-desc b/libraries/zc.lockfile/slack-desc
deleted file mode 100644
index ccbb67ba47..0000000000
--- a/libraries/zc.lockfile/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------------------------------------------------------|
-zc.lockfile: zc.lockfile (Basic inter-process locks)
-zc.lockfile:
-zc.lockfile: The zc.lockfile package provides a basic portable implementation of
-zc.lockfile: interprocess locks using lock files.
-zc.lockfile:
-zc.lockfile:
-zc.lockfile:
-zc.lockfile:
-zc.lockfile:
-zc.lockfile:
-zc.lockfile:
diff --git a/libraries/zc.lockfile/zc.lockfile.SlackBuild b/libraries/zc.lockfile/zc.lockfile.SlackBuild
deleted file mode 100644
index 15821590ef..0000000000
--- a/libraries/zc.lockfile/zc.lockfile.SlackBuild
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for zc.lockfile
-
-# Copyright 2013 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=zc.lockfile
-VERSION=${VERSION:-1.1.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}
-
-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 {} \;
-
-python setup.py install --root=$PKG
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT.txt LICENSE.txt README.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/libraries/zc.lockfile/zc.lockfile.info b/libraries/zc.lockfile/zc.lockfile.info
deleted file mode 100644
index 13177c72ec..0000000000
--- a/libraries/zc.lockfile/zc.lockfile.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="zc.lockfile"
-VERSION="1.1.0"
-HOMEPAGE="https://pypi.python.org/pypi/zc.lockfile"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zc.lockfile/zc.lockfile-1.1.0.zip"
-MD5SUM="8e46b830417363501363bd09e1af1ecc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
diff --git a/libraries/zdaemon/README b/libraries/zdaemon/README
deleted file mode 100644
index 99957eb67a..0000000000
--- a/libraries/zdaemon/README
+++ /dev/null
@@ -1,2 +0,0 @@
-zdaemon is a Python package which provides APIs for managing
-applications run as daemons.
diff --git a/libraries/zdaemon/slack-desc b/libraries/zdaemon/slack-desc
deleted file mode 100644
index f7a65cba6e..0000000000
--- a/libraries/zdaemon/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------------------------------------------------------|
-zdaemon: zdaemon (Daemon process control library)
-zdaemon:
-zdaemon: zdaemon is a Python package which provides APIs for managing
-zdaemon: applications run as daemons.
-zdaemon:
-zdaemon:
-zdaemon:
-zdaemon:
-zdaemon:
-zdaemon:
-zdaemon:
diff --git a/libraries/zdaemon/zdaemon.SlackBuild b/libraries/zdaemon/zdaemon.SlackBuild
deleted file mode 100644
index b8c86fe717..0000000000
--- a/libraries/zdaemon/zdaemon.SlackBuild
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for zdaemon
-
-# Copyright 2013 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=zdaemon
-VERSION=${VERSION:-4.0.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}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-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 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 COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst 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/libraries/zdaemon/zdaemon.info b/libraries/zdaemon/zdaemon.info
deleted file mode 100644
index ec13a70e82..0000000000
--- a/libraries/zdaemon/zdaemon.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="zdaemon"
-VERSION="4.0.1"
-HOMEPAGE="https://pypi.python.org/pypi/zdaemon"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zdaemon/zdaemon-4.0.1.tar.gz"
-MD5SUM="caaebf77ba5e9cf1d1d91bb72a55a1af"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="ZConfig"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
diff --git a/libraries/zeromq/zeromq.SlackBuild b/libraries/zeromq/zeromq.SlackBuild
index 25c0798109..61ec3a22b0 100644
--- a/libraries/zeromq/zeromq.SlackBuild
+++ b/libraries/zeromq/zeromq.SlackBuild
@@ -1,10 +1,11 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Zeromq
# Written by Patrick Pippen (dabittweiler@gmail.com)
-# Copyright 2018-2019 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2018-2021 Isaac Yu <isaacyu@protonmail.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
@@ -24,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=zeromq
-VERSION=${VERSION:-4.3.2}
+VERSION=${VERSION:-4.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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}
@@ -51,6 +62,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=""
@@ -82,11 +96,14 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
+ --disable-Werror \
--build=$ARCH-slackware-linux
make
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
@@ -94,12 +111,15 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING COPYING.LESSER ChangeLog NEWS doc/ \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog LICENSE NEWS README* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir $PKG/usr/doc/$PRGNAM-$VERSION/html $PKG/usr/doc/$PRGNAM-$VERSION/txt
+cp -a doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html
+cp -a doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION/txt
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/libraries/zeromq/zeromq.info b/libraries/zeromq/zeromq.info
index 538ed317ff..864ec9d3dd 100644
--- a/libraries/zeromq/zeromq.info
+++ b/libraries/zeromq/zeromq.info
@@ -1,10 +1,10 @@
PRGNAM="zeromq"
-VERSION="4.3.2"
+VERSION="4.3.5"
HOMEPAGE="http://www.zeromq.org/"
-DOWNLOAD="https://github.com/zeromq/libzmq/releases/download/v4.3.2/zeromq-4.3.2.tar.gz"
-MD5SUM="2047e917c2cc93505e2579bcba67a573"
+DOWNLOAD="https://github.com/zeromq/libzmq/releases/download/v4.3.5/zeromq-4.3.5.tar.gz"
+MD5SUM="ae933b1e98411fd7cb8309f9502d2737"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Isaac Yu"
-EMAIL="isaacyu1@isaacyu1.com"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/zfec/README b/libraries/zfec/README
deleted file mode 100644
index 957d71bbb6..0000000000
--- a/libraries/zfec/README
+++ /dev/null
@@ -1,23 +0,0 @@
-This package implements an "erasure code", or "forward error correction code".
-
-You may use this package under the GNU General Public License, version 2 or,
-at your option, any later version. You may use this package under the
-Transitive Grace Period Public Licence, version 1.0. (You may choose to use
-this package under the terms of either licence, at your option.) See the file
-COPYING.GPL for the terms of the GNU General Public License, version 2. See
-the file COPYING.TGPPL.html for the terms of the Transitive Grace Period
-Public Licence, version 1.0.
-
-The most widely known example of an erasure code is the RAID-5 algorithm which
-makes it so that in the event of the loss of any one hard drive, the stored
-data can be completely recovered. The algorithm in the zfec package has a
-similar effect, but instead of recovering from the loss of only a single
-element, it can be parameterized to choose in advance the number of elements
-whose loss it can tolerate.
-
-This package is largely based on the old "fec" library by Luigi Rizzo et al.,
-which is a mature and optimized implementation of erasure coding. The zfec
-package makes several changes from the original "fec" package, including
-addition of the Python API, refactoring of the C API to support zero-copy
-operation, a few clean-ups and optimizations of the core code itself, and the
-addition of a command-line tool named "zfec".
diff --git a/libraries/zfec/slack-desc b/libraries/zfec/slack-desc
deleted file mode 100644
index 647137b959..0000000000
--- a/libraries/zfec/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------------------------------------------------------|
-zfec: zfec (fast erasure codec)
-zfec:
-zfec: Fast, portable, programmable erasure coding a.k.a. "forward error
-zfec: correction": the generation of redundant blocks of information such
-zfec: that if some blocks are lost then the original data can be recovered
-zfec: from the remaining blocks. The zfec package includes command-line
-zfec: tools, C API, Python API, and Haskell API
-zfec:
-zfec: Homepage: https://pypi.python.org/pypi/zfec
-zfec:
-zfec:
diff --git a/libraries/zfec/zfec.SlackBuild b/libraries/zfec/zfec.SlackBuild
deleted file mode 100644
index 50ae3d71a2..0000000000
--- a/libraries/zfec/zfec.SlackBuild
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for zfec.
-
-# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2012 Markus Reichelt, Aachen, 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.
-#
-# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
-
-PRGNAM=zfec
-VERSION=${VERSION:-1.4.24}
-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 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/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING.GPL COPYING.TGPPL.html README.rst \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-#cleanup
-rm $PKG/usr/share/doc/zfec/*
-cd $PKG/usr
-rmdir -p share/doc/zfec
-
-mkdir -p $PKG/install
-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/libraries/zfec/zfec.info b/libraries/zfec/zfec.info
deleted file mode 100644
index e85032c4e9..0000000000
--- a/libraries/zfec/zfec.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="zfec"
-VERSION="1.4.24"
-HOMEPAGE="https://pypi.python.org/pypi/zfec"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zfec/zfec-1.4.24.tar.gz"
-MD5SUM="e1bca3a1f18374f72bdf8cd42ea9c919"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="darcsver pyutil"
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
diff --git a/libraries/zimg/README b/libraries/zimg/README
new file mode 100644
index 0000000000..f19101d38d
--- /dev/null
+++ b/libraries/zimg/README
@@ -0,0 +1,8 @@
+The "z" library implements the commonly required image processing
+basics of scaling, colorspace conversion, and depth conversion. A
+simple API enables conversion between any supported formats to operate
+with minimal knowledge from the programmer. All library routines
+were designed from the ground-up with correctness, flexibility, and
+thread-safety as first priorities. Allocation, buffering, and I/O are
+cleanly separated from processing, allowing the programmer to adapt
+"z" to many scenarios.
diff --git a/libraries/zimg/slack-desc b/libraries/zimg/slack-desc
new file mode 100644
index 0000000000..e44f7af219
--- /dev/null
+++ b/libraries/zimg/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------------------------------------------------------|
+zimg: zimg (Scaling, colorspace conversion, and dithering library)
+zimg:
+zimg: The "z" library implements the commonly required image processing
+zimg: basics of scaling, colorspace conversion, and depth conversion.
+zimg:
+zimg: Homepage: https://github.com/sekrit-twc/zimg
+zimg:
+zimg:
+zimg:
+zimg:
+zimg:
diff --git a/libraries/zimg/zimg.SlackBuild b/libraries/zimg/zimg.SlackBuild
new file mode 100644
index 0000000000..3918e5ca75
--- /dev/null
+++ b/libraries/zimg/zimg.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for zimg
+
+# Copyright 2020 Hunter Sezen California, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zimg
+VERSION=${VERSION:-3.0.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-release-$VERSION
+tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
+cd $PRGNAM-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 \
+ \( -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
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --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
+
+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
diff --git a/libraries/zimg/zimg.info b/libraries/zimg/zimg.info
new file mode 100644
index 0000000000..72906b4e66
--- /dev/null
+++ b/libraries/zimg/zimg.info
@@ -0,0 +1,10 @@
+PRGNAM="zimg"
+VERSION="3.0.1"
+HOMEPAGE="https://github.com/sekrit-twc/zimg"
+DOWNLOAD="https://github.com/sekrit-twc/zimg/archive/release-3.0.1/zimg-release-3.0.1.tar.gz"
+MD5SUM="b14d551f13819314e9733a400da04121"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/libraries/zint/zint.SlackBuild b/libraries/zint/zint.SlackBuild
index 7811381a9b..1a363cfedb 100644
--- a/libraries/zint/zint.SlackBuild
+++ b/libraries/zint/zint.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zint
@@ -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=zint
-VERSION=${VERSION:-2.6.5}
+VERSION=${VERSION:-2.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}
@@ -60,8 +70,10 @@ 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-src.tar.?z
+mv $PRGNAM-$VERSION-src $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 \
@@ -92,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/libraries/zint/zint.info b/libraries/zint/zint.info
index 7072c03f50..23371b5c9b 100644
--- a/libraries/zint/zint.info
+++ b/libraries/zint/zint.info
@@ -1,8 +1,8 @@
PRGNAM="zint"
-VERSION="2.6.5"
+VERSION="2.9.1"
HOMEPAGE="https://sourceforge.net/projects/zint/"
-DOWNLOAD="https://downloads.sourceforge.net/project/zint/zint/2.6.5/zint-2.6.5.tar.gz"
-MD5SUM="a05771402a37081b9342bb404a38ef53"
+DOWNLOAD="https://downloads.sourceforge.net/project/zint/zint/2.9.1/zint-2.9.1-src.tar.gz"
+MD5SUM="00511707a3b80023b97a6a79c9b145f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/zita-alsa-pcmi/README b/libraries/zita-alsa-pcmi/README
index 4692d95962..d54655e556 100644
--- a/libraries/zita-alsa-pcmi/README
+++ b/libraries/zita-alsa-pcmi/README
@@ -1 +1,12 @@
-Aeolus is a high quality pipe organ emulator using additive synthesis.
+Libzita-alsa-pcmi is a C++ library for using ALSA audio devices with
+minimal latency and using ALSA's memory-mapped mode (as used by Jack).
+It hides most of the complexity of configuring and using ALSA devices
+in this way.
+
+Input and output audio streams are converted to / from 32-bit float-
+ing point format, regardless of the hardware sample format. By cal-
+ling the read and write functions from a real-time thread, it is ea-
+sy to provide a callback interface, and to write applications that
+work with both ALSA and Jack using the same processing code.
+
+See jaaa or japa for examples.
diff --git a/libraries/zita-alsa-pcmi/slack-desc b/libraries/zita-alsa-pcmi/slack-desc
index 8fa370b779..15cb3c3ea8 100644
--- a/libraries/zita-alsa-pcmi/slack-desc
+++ b/libraries/zita-alsa-pcmi/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-zita-alsa-pcmi: zita-alsa-pcmi (Alsa library for Aeolus)
+zita-alsa-pcmi: zita-alsa-pcmi (C++ library for using ALSA audio devices)
zita-alsa-pcmi:
-zita-alsa-pcmi: Aeolus is a high quality pipe organ emulator using additive synthesis
+zita-alsa-pcmi: a C++ library for using ALSA audio devices with minimal latency and
+zita-alsa-pcmi: using ALSA's memory-mapped mode (as used by Jack). It hides most of
+zita-alsa-pcmi: the complexity of configuring and using ALSA devices in this way.
zita-alsa-pcmi:
zita-alsa-pcmi:
zita-alsa-pcmi: Project URL: http://kokkinizita.linuxaudio.org/linuxaudio/index.html
zita-alsa-pcmi:
zita-alsa-pcmi:
zita-alsa-pcmi:
-zita-alsa-pcmi:
-zita-alsa-pcmi:
diff --git a/libraries/zita-alsa-pcmi/zita-alsa-pcmi.SlackBuild b/libraries/zita-alsa-pcmi/zita-alsa-pcmi.SlackBuild
index 4762c53fcc..af616c67ff 100644
--- a/libraries/zita-alsa-pcmi/zita-alsa-pcmi.SlackBuild
+++ b/libraries/zita-alsa-pcmi/zita-alsa-pcmi.SlackBuild
@@ -1,12 +1,14 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <zita-alsa-pcmi>
# Written by Michales Michaloudes korgie@gmail.com <2014>
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zita-alsa-pcmi
-VERSION=${VERSION:-0.2.0}
+VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,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}
@@ -41,7 +50,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -50,37 +59,30 @@ 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 {} \;
-# compile libraries (mandatory).
-# fix prefix, delete ldconfig
-sed -i -e 's+/usr/local+/usr+' -e '/ldconfig/d' $TMP/$PRGNAM-$VERSION/libs/Makefile
-cd $TMP/$PRGNAM-$VERSION/libs
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
-make install DESTDIR=$PKG
+# Thanks to ARCH Linux
+sed -e '/native/d' \
+ -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+ -i source/Makefile
+sed -e 's|\ $(BINDIR)|\ $(DESTDIR)$(BINDIR)|' apps/Makefile
-# compile optional demo programs (you have to compile...
-# .. twice for the library to recognized :/ )
-### sed -i -e 's+/usr/local+/usr+' $TMP/$PRGNAM-$VERSION/apps/Makefile
-### cd $TMP/$PRGNAM-$VERSION/apps
-
-### CFLAGS="$SLKCFLAGS" \
-### CXXFLAGS="$SLKCFLAGS" \
-### make
-### make install DESTDIR=$PKG
+make -C source
+ln -sv lib$PRGNAM.so.$VERSION source/lib$PRGNAM.so
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -I../source" \
+LDFLAGS+=" -L../source" \
+make -C apps
+make -C source install DESTDIR=$PKG PREFIX=/usr SUFFIX="$LIBDIRSUFFIX"
find $PKG -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 $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL \
- $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
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zita-alsa-pcmi/zita-alsa-pcmi.info b/libraries/zita-alsa-pcmi/zita-alsa-pcmi.info
index 991c7ac326..fb24d6fcde 100644
--- a/libraries/zita-alsa-pcmi/zita-alsa-pcmi.info
+++ b/libraries/zita-alsa-pcmi/zita-alsa-pcmi.info
@@ -1,8 +1,8 @@
PRGNAM="zita-alsa-pcmi"
-VERSION="0.2.0"
+VERSION="0.6.1"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
-DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-alsa-pcmi-0.2.0.tar.bz2"
-MD5SUM="0ba4d59abce231056e2628d081124114"
+DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-alsa-pcmi-0.6.1.tar.bz2"
+MD5SUM="729aac728c23f0bc40220c8a08e9cdbe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/zita-convolver/README b/libraries/zita-convolver/README
index 64847d8367..2c355d4f1c 100644
--- a/libraries/zita-convolver/README
+++ b/libraries/zita-convolver/README
@@ -6,15 +6,17 @@ SSE - Use or don't use SSE for floating point math. Default is "auto",
which checks the build host CPU for SSE support. You can override this
with SSE=yes or SSE=no if you're going to install the package on a
different host from the build host (or maybe if you know for a fact,
-due to benchmarking, that your CPU's SSE implementation is slow or buggy).
+due to benchmarking, that your CPU's SSE implementation is slow or
+buggy).
MMX - Use or don't use MMX. Default is "auto". Set MMX=yes or MMX=no
to override.
-FORCE_O2 - Normally, Slackware packages are built with the optimization
-set to -O2. This package defaults to -O3 (because that's what upstream
-uses), but if you *really* want, you can set FORCE_O2=yes. I can't think
-of a good reason to do this, you probably can't either :)
+FORCE_O2 - Normally, Slackware packages are built with the
+optimization set to -O2. This package defaults to -O3 (because
+that's what upstream uses), but if you *really* want, you can set
+FORCE_O2=yes. I can't think of a good reason to do this, you probably
+can't either :)
With no options, the default is to build a package optimized for the
build host (which is just what you want, if you're going to build and
diff --git a/libraries/zita-convolver/zita-convolver.SlackBuild b/libraries/zita-convolver/zita-convolver.SlackBuild
index 8b9969a6b8..a60affdbda 100644
--- a/libraries/zita-convolver/zita-convolver.SlackBuild
+++ b/libraries/zita-convolver/zita-convolver.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zita-convolver
-# 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.
@@ -14,10 +14,13 @@
# Note to self: finish and upload SlackBuild for jconvolver, that was
# the original purpose for adding zita-convolver to the repo...
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zita-convolver
VERSION=${VERSION:-4.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -27,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}
@@ -128,4 +135,4 @@ sed \
$CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zita-convolver/zita-convolver.info b/libraries/zita-convolver/zita-convolver.info
index ef8eb0b9d7..9cbfe274d5 100644
--- a/libraries/zita-convolver/zita-convolver.info
+++ b/libraries/zita-convolver/zita-convolver.info
@@ -1,10 +1,10 @@
PRGNAM="zita-convolver"
VERSION="4.0.3"
-HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/"
-DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-4.0.3.tar.bz2"
+HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/"
+DOWNLOAD="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-4.0.3.tar.bz2"
MD5SUM="a357f6ff8588eb53af5335968cfacf3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/zita-resampler/zita-resampler.SlackBuild b/libraries/zita-resampler/zita-resampler.SlackBuild
index 4e62ce8487..ff459207b8 100644
--- a/libraries/zita-resampler/zita-resampler.SlackBuild
+++ b/libraries/zita-resampler/zita-resampler.SlackBuild
@@ -1,27 +1,37 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <zita-resampler>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zita-resampler
-VERSION=${VERSION:-1.3.0}
+VERSION=${VERSION:-1.11.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"
@@ -40,7 +50,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.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -49,40 +59,30 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# no configure file
-cd $TMP/$PRGNAM-$VERSION/libs
-sed -i -e 's+/usr/local+/usr/bin+' -e 's+^CXXFLAGS.*++' Makefile
+# Thanks to ARCH Linux
+sed -e '/native/d' \
+ -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+ -i source/Makefile
+sed -e 's|\ $(BINDIR)|\ $(DESTDIR)$(BINDIR)|' apps/Makefile
-SUFFIX="$LIBDIRSUFFIX" \
+make -C source
+ln -sv lib$PRGNAM.so.$VERSION source/lib$PRGNAM.so
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -Wall -ffast-math" \
- make
-
-# copy library and header file
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
-install -m 755 lib${PRGNAM}.so.${VERSION} $PKG/usr/lib${LIBDIRSUFFIX}
-cd $PKG/usr/lib${LIBDIRSUFFIX}/
-ln -s ./lib${PRGNAM}.so.${VERSION} ./lib${PRGNAM}.so
-
-cd $TMP/$PRGNAM-$VERSION/libs
-mkdir -p $PKG/usr/include/$PRGNAM
-install -m 644 $PRGNAM/*.h $PKG/usr/include/$PRGNAM/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cd $TMP/$PRGNAM-$VERSION/
-cp -a AUTHORS COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+CXXFLAGS="$SLKCFLAGS -I../source" \
+LDFLAGS+=" -L../source" \
+make -C apps
+make -C source install DESTDIR=$PKG PREFIX=/usr SUFFIX="$LIBDIRSUFFIX"
-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
cd $TMP/$PRGNAM-$VERSION/
-cp -a AUTHORS COPYING INSTALL $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
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zita-resampler/zita-resampler.info b/libraries/zita-resampler/zita-resampler.info
index 3ec8351b63..cdb65d95b0 100644
--- a/libraries/zita-resampler/zita-resampler.info
+++ b/libraries/zita-resampler/zita-resampler.info
@@ -1,8 +1,8 @@
PRGNAM="zita-resampler"
-VERSION="1.3.0"
+VERSION="1.11.2"
HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/zita-resampler-1.3.0.tar.bz2"
-MD5SUM="74c12e2280008f63ac9f2670fe4cf79b"
+DOWNLOAD="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-resampler-1.11.2.tar.xz"
+MD5SUM="da0373a02f0d1ba0a15a1fd270a177cd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/zmusic/README b/libraries/zmusic/README
new file mode 100644
index 0000000000..45b6f022cf
--- /dev/null
+++ b/libraries/zmusic/README
@@ -0,0 +1,4 @@
+zmusic (library for music support in games)
+
+ZMusic is GZDoom's music system separated as a stand-alone music
+library, providing a unified interface for its components.
diff --git a/libraries/zmusic/slack-desc b/libraries/zmusic/slack-desc
new file mode 100644
index 0000000000..73661cb029
--- /dev/null
+++ b/libraries/zmusic/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------------------------------------------------------|
+zmusic: zmusic (library for music support in games)
+zmusic:
+zmusic: ZMusic is GZDoom's music system separated as a stand-alone music
+zmusic: library, providing a unified interface for its components.
+zmusic:
+zmusic:
+zmusic:
+zmusic:
+zmusic:
+zmusic:
+zmusic:
diff --git a/libraries/zmusic/zmusic.SlackBuild b/libraries/zmusic/zmusic.SlackBuild
new file mode 100644
index 0000000000..31f5bd026d
--- /dev/null
+++ b/libraries/zmusic/zmusic.SlackBuild
@@ -0,0 +1,90 @@
+#!/bin/bash
+
+# Slackware build script for zmusic
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230109 bkw: updated for v1.1.11
+# 20220613 bkw: updated for v1.1.9
+# 20211010 bkw: updated for v1.1.8
+# 20201109 bkw: updated for v1.1.4
+# 20201003 bkw: added at v1.1.3
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zmusic
+VERSION=${VERSION:-1.1.11}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+SRCNAM=ZMusic
+
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS -DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# You're in a maze of twisty licenses, all slightly different.
+cp -a licenses/* $PKG/usr/doc/$PRGNAM-$VERSION
+# There's no other documentation at all, so include our own README
+cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zmusic/zmusic.info b/libraries/zmusic/zmusic.info
new file mode 100644
index 0000000000..2302cf2a02
--- /dev/null
+++ b/libraries/zmusic/zmusic.info
@@ -0,0 +1,10 @@
+PRGNAM="zmusic"
+VERSION="1.1.11"
+HOMEPAGE="https://github.com/coelckers/ZMusic"
+DOWNLOAD="https://github.com/coelckers/ZMusic/archive/1.1.11/ZMusic-1.1.11.tar.gz"
+MD5SUM="b36e1760f0ec9bc69499630e2d525f96"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/libraries/zope.component/zope.component.SlackBuild b/libraries/zope.component/zope.component.SlackBuild
index d432dbdd4a..bc320255d1 100644
--- a/libraries/zope.component/zope.component.SlackBuild
+++ b/libraries/zope.component/zope.component.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.component
# Copyright 2014 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,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=zope.component
-VERSION=${VERSION:-4.2.1}
+VERSION=${VERSION:-6.0}
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}
@@ -50,17 +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
-# 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 CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
@@ -70,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/libraries/zope.component/zope.component.info b/libraries/zope.component/zope.component.info
index 7cd8c14d8e..5593db33c3 100644
--- a/libraries/zope.component/zope.component.info
+++ b/libraries/zope.component/zope.component.info
@@ -1,10 +1,10 @@
PRGNAM="zope.component"
-VERSION="4.2.1"
+VERSION="6.0"
HOMEPAGE="https://pypi.python.org/pypi/zope.component/"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.component/zope.component-4.2.1.tar.gz"
-MD5SUM="cf55d496428d976f9329a4a2330a8b54"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.component/zope.component-6.0.tar.gz"
+MD5SUM="55d4d24f425b18e2368a18c468f8cc47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="zope.event zope.interface"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+REQUIRES="zope.event zope.hookable zope.interface"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/zope.configuration/zope.configuration.SlackBuild b/libraries/zope.configuration/zope.configuration.SlackBuild
index d16cf8081a..2cd6469b8f 100644
--- a/libraries/zope.configuration/zope.configuration.SlackBuild
+++ b/libraries/zope.configuration/zope.configuration.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.configuration
# 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.configuration
-VERSION=${VERSION:-4.0.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}
@@ -46,16 +57,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvzf $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 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
@@ -68,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/libraries/zope.configuration/zope.configuration.info b/libraries/zope.configuration/zope.configuration.info
index ec5a5b12e2..30be5f5cd5 100644
--- a/libraries/zope.configuration/zope.configuration.info
+++ b/libraries/zope.configuration/zope.configuration.info
@@ -1,10 +1,10 @@
PRGNAM="zope.configuration"
-VERSION="4.0.3"
+VERSION="5.0.1"
HOMEPAGE="https://pypi.python.org/pypi/zope.configuration"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-4.0.3.tar.gz"
-MD5SUM="d85ff342b524bfa819916632d5ef096a"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-5.0.1.tar.gz"
+MD5SUM="7fe73dae84f8e4433f8c13e806afc226"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zope.i18nmessageid zope.schema"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/zope.event/zope.event.SlackBuild b/libraries/zope.event/zope.event.SlackBuild
index a3b08363ba..4930c54492 100644
--- a/libraries/zope.event/zope.event.SlackBuild
+++ b/libraries/zope.event/zope.event.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.event
# 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.event
-VERSION=${VERSION:-4.0.3}
+VERSION=${VERSION:-5.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}
@@ -50,17 +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
-# 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 CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
@@ -70,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/libraries/zope.event/zope.event.info b/libraries/zope.event/zope.event.info
index e4d6813d17..da8400554a 100644
--- a/libraries/zope.event/zope.event.info
+++ b/libraries/zope.event/zope.event.info
@@ -1,10 +1,10 @@
PRGNAM="zope.event"
-VERSION="4.0.3"
+VERSION="5.0"
HOMEPAGE="https://pypi.python.org/pypi/zope.event/"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.event/zope.event-4.0.3.tar.gz"
-MD5SUM="9a3780916332b18b8b85f522bcc3e249"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.event/zope.event-5.0.tar.gz"
+MD5SUM="8639012f7c6a762d245f9229a6e900af"
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/libraries/zope.hookable/zope.hookable.SlackBuild b/libraries/zope.hookable/zope.hookable.SlackBuild
index bb511ea1ff..020898ad98 100644
--- a/libraries/zope.hookable/zope.hookable.SlackBuild
+++ b/libraries/zope.hookable/zope.hookable.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.hookable
# 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.hookable
-VERSION=${VERSION:-4.0.4}
+VERSION=${VERSION:-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}
@@ -50,22 +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 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 LICENSE.txt CHANGES.rst README.rst PKG-INFO $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/libraries/zope.hookable/zope.hookable.info b/libraries/zope.hookable/zope.hookable.info
index 120499eb94..53864ba1bd 100644
--- a/libraries/zope.hookable/zope.hookable.info
+++ b/libraries/zope.hookable/zope.hookable.info
@@ -1,10 +1,10 @@
PRGNAM="zope.hookable"
-VERSION="4.0.4"
+VERSION="6.0"
HOMEPAGE="https://pypi.python.org/pypi/zope.hookable"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.hookable/zope.hookable-4.0.4.tar.gz"
-MD5SUM="860328682d4f50563e1a3e6cb999b7f0"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.hookable/zope.hookable-6.0.tar.gz"
+MD5SUM="5b922cee23c4a837f741f398ba8be55f"
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/libraries/zope.i18nmessageid/zope.i18nmessageid.SlackBuild b/libraries/zope.i18nmessageid/zope.i18nmessageid.SlackBuild
index 414ef45ffc..b9fff943bf 100644
--- a/libraries/zope.i18nmessageid/zope.i18nmessageid.SlackBuild
+++ b/libraries/zope.i18nmessageid/zope.i18nmessageid.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.i18nmessageid
# 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.i18nmessageid
-VERSION=${VERSION:-4.0.3}
+VERSION=${VERSION:-6.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}
@@ -50,12 +61,12 @@ 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
@@ -68,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/libraries/zope.i18nmessageid/zope.i18nmessageid.info b/libraries/zope.i18nmessageid/zope.i18nmessageid.info
index f1df5c3a66..8f17883e1f 100644
--- a/libraries/zope.i18nmessageid/zope.i18nmessageid.info
+++ b/libraries/zope.i18nmessageid/zope.i18nmessageid.info
@@ -1,10 +1,10 @@
PRGNAM="zope.i18nmessageid"
-VERSION="4.0.3"
+VERSION="6.1.0"
HOMEPAGE="https://pypi.python.org/pypi/zope.i18nmessageid"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-4.0.3.tar.gz"
-MD5SUM="fc20d6e548d1671da4ab1d9110667f13"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-6.1.0.tar.gz"
+MD5SUM="01ac82116aecfabd86e5fec23ed62b99"
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/libraries/zope.location/zope.location.SlackBuild b/libraries/zope.location/zope.location.SlackBuild
index 015b97423e..76a9056c2a 100644
--- a/libraries/zope.location/zope.location.SlackBuild
+++ b/libraries/zope.location/zope.location.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.location
# Copyright 2014 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.location
-VERSION=${VERSION:-4.0.3}
+VERSION=${VERSION:-5.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}
@@ -50,19 +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 {} \;
+
+python3 setup.py install --root=$PKG
-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/doc/$PRGNAM-$VERSION
-cp -a COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst PKG-INFO $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/libraries/zope.location/zope.location.info b/libraries/zope.location/zope.location.info
index 391d13de5e..aead378524 100644
--- a/libraries/zope.location/zope.location.info
+++ b/libraries/zope.location/zope.location.info
@@ -1,10 +1,10 @@
PRGNAM="zope.location"
-VERSION="4.0.3"
+VERSION="5.0"
HOMEPAGE="https://pypi.python.org/pypi/zope.location"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.location/zope.location-4.0.3.tar.gz"
-MD5SUM="201416f4eb72a9cf61c7d6d37bb87f24"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.location/zope.location-5.0.tar.gz"
+MD5SUM="3ebc71530b2c36bef87d57210b15de67"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="zope.schema zope.proxy zope.component"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+REQUIRES="zope.schema zope.proxy"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/zope.proxy/zope.proxy.SlackBuild b/libraries/zope.proxy/zope.proxy.SlackBuild
index 232ed82306..d57dda4671 100644
--- a/libraries/zope.proxy/zope.proxy.SlackBuild
+++ b/libraries/zope.proxy/zope.proxy.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.proxy
# Copyright 2014 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.proxy
-VERSION=${VERSION:-4.1.4}
+VERSION=${VERSION:-5.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}
@@ -50,12 +61,12 @@ 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
@@ -68,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/libraries/zope.proxy/zope.proxy.info b/libraries/zope.proxy/zope.proxy.info
index 4af0a389a2..e17a239e05 100644
--- a/libraries/zope.proxy/zope.proxy.info
+++ b/libraries/zope.proxy/zope.proxy.info
@@ -1,10 +1,10 @@
PRGNAM="zope.proxy"
-VERSION="4.1.4"
+VERSION="5.2"
HOMEPAGE="https://pypi.python.org/pypi/zope.proxy"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-4.1.4.tar.gz"
-MD5SUM="3bcaf8b8512a99649ecf2f158c11d05b"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-5.2.tar.gz"
+MD5SUM="d3084fbed488c8c6b5090cfa00ac853b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zope.interface"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/zope.schema/zope.schema.SlackBuild b/libraries/zope.schema/zope.schema.SlackBuild
index 8cb74ad6d6..8cced830e4 100644
--- a/libraries/zope.schema/zope.schema.SlackBuild
+++ b/libraries/zope.schema/zope.schema.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.schema
# Copyright 2014 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.schema
-VERSION=${VERSION:-4.4.2}
+VERSION=${VERSION:-7.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 {} \;
+
+python3 setup.py install --root=$PKG
-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/doc/$PRGNAM-$VERSION
cp -a CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
@@ -65,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/libraries/zope.schema/zope.schema.info b/libraries/zope.schema/zope.schema.info
index bf916628f4..36ee1f39aa 100644
--- a/libraries/zope.schema/zope.schema.info
+++ b/libraries/zope.schema/zope.schema.info
@@ -1,10 +1,10 @@
PRGNAM="zope.schema"
-VERSION="4.4.2"
+VERSION="7.0.1"
HOMEPAGE="https://pypi.python.org/pypi/zope.schema"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.schema/zope.schema-4.4.2.tar.gz"
-MD5SUM="939680fec2a5cf9e214cc80d6665065c"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.schema/zope.schema-7.0.1.tar.gz"
+MD5SUM="d938af4000a89fa101d2f48f7a8fdd75"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zope.event zope.interface"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/zope.security/zope.security.SlackBuild b/libraries/zope.security/zope.security.SlackBuild
index bafc604455..38f85d3850 100644
--- a/libraries/zope.security/zope.security.SlackBuild
+++ b/libraries/zope.security/zope.security.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zope.security
# Copyright 2014 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.security
-VERSION=${VERSION:-4.0.1}
+VERSION=${VERSION:-6.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}
@@ -46,26 +57,26 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvzf $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 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 COPYRIGHT.txt LICENSE.txt CHANGES.rst README.rst PKG-INFO $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/libraries/zope.security/zope.security.info b/libraries/zope.security/zope.security.info
index 4c97608130..8f7a233163 100644
--- a/libraries/zope.security/zope.security.info
+++ b/libraries/zope.security/zope.security.info
@@ -1,10 +1,10 @@
PRGNAM="zope.security"
-VERSION="4.0.1"
+VERSION="6.2"
HOMEPAGE="https://pypi.python.org/pypi/zope.security"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zope.security/zope.security-4.0.1.tar.gz"
-MD5SUM="27d1f2873a0ee9c1f485f7b8f22d8e1c"
+DOWNLOAD="https://pypi.python.org/packages/source/z/zope.security/zope.security-6.2.tar.gz"
+MD5SUM="3ed709f662dcc2e168f751887783bb3f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="zope.configuration zope.location"
-MAINTAINER="Mikko Värri"
-EMAIL="vmj@linuxbox.fi"
+REQUIRES="zope.component zope.i18nmessageid zope.location"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/libraries/zsi/zsi.SlackBuild b/libraries/zsi/zsi.SlackBuild
index b54c83a7e2..d064816ccd 100644
--- a/libraries/zsi/zsi.SlackBuild
+++ b/libraries/zsi/zsi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ZSI
@@ -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=zsi
VERSION=${VERSION:-2.1a1}
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"
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zuluplay/README b/libraries/zuluplay/README
deleted file mode 100644
index 21fa0cb2d3..0000000000
--- a/libraries/zuluplay/README
+++ /dev/null
@@ -1,8 +0,0 @@
-zuluplay (fork for tcplay)
-
-zuluplay is a fork for tcplay[1] (the fork of the original tcplay[2]
-with support for VeraCrypt volumes) to add functionality missing in
-the upstream version.
-
-NOTE: zuluplay adds the ability to create truecrypt compatible
-encrypted containers.
diff --git a/libraries/zuluplay/slack-desc b/libraries/zuluplay/slack-desc
deleted file mode 100644
index b88f139ad6..0000000000
--- a/libraries/zuluplay/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------------------------------------------------------|
-zuluplay: zuluplay (fork for tcplay)
-zuluplay:
-zuluplay: zuluplay is a fork for tcplay[1] (the fork of the original tcplay[2]
-zuluplay: with support for VeraCrypt volumes) to add functionality missing in
-zuluplay: the upstream version.
-zuluplay:
-zuluplay: Home page: https://github.com/mhogomchungu/zuluplay
-zuluplay:
-zuluplay:
-zuluplay:
-zuluplay:
diff --git a/libraries/zuluplay/zuluplay.SlackBuild b/libraries/zuluplay/zuluplay.SlackBuild
deleted file mode 100644
index f5d961a62c..0000000000
--- a/libraries/zuluplay/zuluplay.SlackBuild
+++ /dev/null
@@ -1,99 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for zuluplay.
-#
-# Copyright 2017-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=zuluplay
-VERSION=${VERSION:-1.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
-rm -rf $TMP/$PRGNAM-$VERSION
-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 {} \;
-
-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
-
-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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp 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/libraries/zuluplay/zuluplay.info b/libraries/zuluplay/zuluplay.info
deleted file mode 100644
index 617e26657b..0000000000
--- a/libraries/zuluplay/zuluplay.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="zuluplay"
-VERSION="1.1"
-HOMEPAGE="https://github.com/mhogomchungu/zuluplay/"
-DOWNLOAD="https://github.com/mhogomchungu/zuluplay/archive/1.1/zuluplay-1.1.tar.gz"
-MD5SUM="78872bad39e8dfe6c8c30937ea9ee9a4"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere"
diff --git a/libraries/zycore-c/README b/libraries/zycore-c/README
new file mode 100644
index 0000000000..ea6d2f598e
--- /dev/null
+++ b/libraries/zycore-c/README
@@ -0,0 +1,21 @@
+Zyan Core Library for C
+
+Internal library providing platform independent types, macros and a
+fallback for environments without LibC.
+
+Features:
+ * Platform independent types
+ - Integer types (ZyanU8, ZyanI32, ZyanUSize, ...)
+ - ZyanBool (+ ZYAN_FALSE, ZYAN_TRUE)
+ - ZYAN_NULL
+ * Macros
+ - Compiler/Platform/Architecture detection
+ - Asserts and static asserts
+ - Utils (ARRAY_LENGTH, FALLTHROUGH, UNUSED, ...)
+ * Common types
+ - ZyanBitset
+ - ZyanString/ZyanStringView
+ * Container types
+ - ZyanVector
+ - ZyanList
+ * LibC abstraction (WiP)
diff --git a/libraries/zycore-c/slack-desc b/libraries/zycore-c/slack-desc
new file mode 100644
index 0000000000..94b0ee3047
--- /dev/null
+++ b/libraries/zycore-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------------------------------------------------------|
+zycore-c: zycore-c (LibC Fallback Library)
+zycore-c:
+zycore-c: Internal library providing platform independent types, macros and a
+zycore-c: fallback for environments without LibC.
+zycore-c:
+zycore-c: Homepage: https://github.com/zyantific/zycore-c
+zycore-c:
+zycore-c:
+zycore-c:
+zycore-c:
+zycore-c:
diff --git a/libraries/zycore-c/zycore-c.SlackBuild b/libraries/zycore-c/zycore-c.SlackBuild
new file mode 100644
index 0000000000..84847dc68c
--- /dev/null
+++ b/libraries/zycore-c/zycore-c.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for zycore-c
+
+# Copyright 2022-2023 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=zycore-c
+VERSION=${VERSION:-1.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"
+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 \
+ -DZYAN_WHOLE_PROGRAM_OPTIMIZATION=ON \
+ -DZYCORE_BUILD_SHARED_LIB=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip 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
+mv $PKG/usr/share/doc/Zycore/api $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -r $PKG/usr/share
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zycore-c/zycore-c.info b/libraries/zycore-c/zycore-c.info
new file mode 100644
index 0000000000..07979757a0
--- /dev/null
+++ b/libraries/zycore-c/zycore-c.info
@@ -0,0 +1,10 @@
+PRGNAM="zycore-c"
+VERSION="1.4.1"
+HOMEPAGE="https://github.com/zyantific/zycore-c"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/zyantific/zycore-c/archive/v1.4.1/zycore-c-1.4.1.tar.gz"
+MD5SUM_x86_64="2d54f1c04469b4255483ee275f7bc612"
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/zydis/README b/libraries/zydis/README
new file mode 100644
index 0000000000..7c7bedf1f4
--- /dev/null
+++ b/libraries/zydis/README
@@ -0,0 +1,15 @@
+Fast and lightweight x86/x86-64 disassembler and code generation
+library.
+
+Features
+ * Supports all x86 and x86-64 (AMD64) instructions and extensions
+ * Optimized for high performance
+ * No dynamic memory allocation ("malloc")
+ * Thread-safe by design
+ * Very small file-size overhead compared to other common
+ disassembler libraries
+ * Complete doxygen documentation
+ * Absolutely no third party dependencies — not even libc
+ - Should compile on any platform with a working C11 compiler
+ - Tested on Windows, macOS, FreeBSD, Linux and UEFI, both user
+ and kernel mode
diff --git a/libraries/zydis/slack-desc b/libraries/zydis/slack-desc
new file mode 100644
index 0000000000..5430505d37
--- /dev/null
+++ b/libraries/zydis/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------------------------------------------------------|
+zydis: zydis (x86/x64 Disassembler)
+zydis:
+zydis: Fast and lightweight x86/x86-64 disassembler and code generation
+zydis: library.
+zydis:
+zydis: Homepage: https://zydis.re
+zydis:
+zydis:
+zydis:
+zydis:
+zydis:
diff --git a/libraries/zydis/zydis.SlackBuild b/libraries/zydis/zydis.SlackBuild
new file mode 100644
index 0000000000..f767fa65fe
--- /dev/null
+++ b/libraries/zydis/zydis.SlackBuild
@@ -0,0 +1,112 @@
+#!/bin/bash
+
+# Slackware build script for zydis
+
+# Copyright 2022-2023 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=zydis
+VERSION=${VERSION:-4.0.0}
+ZYCOREC=${ZYCOREC:-1401fb85ac313f6605ec795c52bf99ea3f292a69}
+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}
+DEPS=$TMP/$PRGNAM-$VERSION/dependencies
+
+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
+tar xvf $CWD/zycore-c-$ZYCOREC.tar.gz -C \
+ $DEPS/zycore --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 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DZYDIS_BUILD_EXAMPLES=OFF \
+ -DZYDIS_BUILD_SHARED_LIB=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip 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
+
+mv $PKG/usr/share/doc/Zydis/* $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -R $PKG/usr/share
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zydis/zydis.info b/libraries/zydis/zydis.info
new file mode 100644
index 0000000000..d867b5389b
--- /dev/null
+++ b/libraries/zydis/zydis.info
@@ -0,0 +1,12 @@
+PRGNAM="zydis"
+VERSION="4.0.0"
+HOMEPAGE="https://zydis.re"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/zyantific/zydis/archive/v4.0.0/zydis-4.0.0.tar.gz \
+ https://github.com/zyantific/zycore-c/archive/1401fb85ac313f6605ec795c52bf99ea3f292a69/zycore-c-1401fb85ac313f6605ec795c52bf99ea3f292a69.tar.gz"
+MD5SUM_x86_64="31b7876eeb301ee38cfab49856af7325 \
+ e6dae83a1686a7fcd29f4ce28c69ecab"
+REQUIRES=""
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/libraries/zziplib/README b/libraries/zziplib/README
index f81f5f9bc8..f2f769038e 100644
--- a/libraries/zziplib/README
+++ b/libraries/zziplib/README
@@ -1,5 +1,12 @@
-The zziplib library is intentionally lightweight, it offers the ability
-to easily extract data from files archived in a single zip file.
-Applications can bundle files into a single zip archive and access them.
-The implementation is based only on the (free) subset of compression with
-the zlib algorithm which is actually used by the zip/unzip tools.
+zziplib (a lightweight zip library)
+
+zziplib provides read access on zip archives and unpacked data. It
+features an additional simplified API following the standard Posix API
+for file access.
+
+The zziplib library is intentionally lightweight, it offers the
+ability to easily extract data from files archived in a single zip
+file. Applications can bundle files into a single zip archive and
+access them. The implementation is based only on the (free) subset
+of compression with the zlib algorithm which is actually used by the
+zip/unzip tools.
diff --git a/libraries/zziplib/slack-desc b/libraries/zziplib/slack-desc
index 581be27a02..6d90b3c7a9 100644
--- a/libraries/zziplib/slack-desc
+++ b/libraries/zziplib/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-zziplib: zziplib (A lightweight zip library)
+zziplib: zziplib (a lightweight zip library)
+zziplib:
+zziplib: zziplib provides read access on zip archives and unpacked data. It
+zziplib: features an additional simplified API following the standard Posix API
+zziplib: for file access.
+zziplib:
+zziplib:
+zziplib:
zziplib:
-zziplib: The zziplib library is intentionally lightweight, it offers the
-zziplib: ability to easily extract data from files archived in a single zip
-zziplib: file. Applications can bundle files into a single zip archive and
-zziplib: access them. The implementation is based only on the (free) subset
-zziplib: of compression with the zlib algorithm which is actually used by the
-zziplib: zip/unzip tools.
zziplib:
-zziplib: Homepage: http://zziplib.sourceforge.net/zzip-index.html
zziplib:
diff --git a/libraries/zziplib/zziplib.SlackBuild b/libraries/zziplib/zziplib.SlackBuild
index 44761f2555..7a0860641b 100644
--- a/libraries/zziplib/zziplib.SlackBuild
+++ b/libraries/zziplib/zziplib.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zziplib
-# Copyright 2012-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2012-2020 Larry Hajali <email removed>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240314 bkw: update for v0.13.74.
+# 20230604 bkw:
+# - new maintainer.
+# - update for v0.13.72.
+# - switch to cmake.
+# - make slack-desc more concise.
+
+# Note: 0.13.71 had the file "usr/lib64/pkgconfig/zzip-zlib-config.pc",
+# and 0.13.72 doesn't have it. Dependees are alephone and milkytracker [*].
+# These build correctly without this .pc file. If anyone has issues
+# with new builds because of this, please contact me.
+# [*] desmume had zziplib listed in REQUIRES, but it doesn't actually
+# use it (maybe it did at one time?).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zziplib
-VERSION=${VERSION:-0.13.69}
+VERSION=${VERSION:-0.13.74}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +52,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,40 +84,39 @@ 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" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --enable-static=no \
- --enable-sdl \
- --without-debug \
- --disable-dependency-tracking \
- --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 ! -perm 644 -exec chmod 0644 '{}' \;
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ChangeLog COPYING* README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
+
+# 20230604 bkw: switch to cmake, because upstream is phasing out
+# autotools builds. the next zziplib release probably won't support
+# autotools at all.
+
+# -DZZIPTEST=OFF prevents cmake from doing network access, and makes
+# no difference in the package.
+
+mkdir -p build
+cd build
+ cmake \
+ -DZZIPTEST=OFF \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+gzip -9 $PKG/usr/man/man*/*
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a ChangeLog COPYING* 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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/libraries/zziplib/zziplib.info b/libraries/zziplib/zziplib.info
index 5e68f8ee35..9919a33322 100644
--- a/libraries/zziplib/zziplib.info
+++ b/libraries/zziplib/zziplib.info
@@ -1,10 +1,10 @@
PRGNAM="zziplib"
-VERSION="0.13.69"
-HOMEPAGE="http://zziplib.sourceforge.net/zzip-index.html"
-DOWNLOAD="https://github.com/gdraheim/zziplib/archive/v0.13.69/zziplib-0.13.69.tar.gz"
-MD5SUM="df52161252aa17031bca82e2fd381a14"
+VERSION="0.13.74"
+HOMEPAGE="https://zziplib.sourceforge.net/"
+DOWNLOAD="https://github.com/gdraheim/zziplib/archive/v0.13.74/zziplib-0.13.74.tar.gz"
+MD5SUM="860a9f5aea928df8516e2ba59e5b3d92"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"