summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Blender/01_FindEmbree_so.diff75
-rw-r--r--graphics/Blender/Blender.SlackBuild46
-rw-r--r--graphics/Blender/Blender.info8
-rw-r--r--graphics/Blender/README27
-rw-r--r--graphics/Blender/README.Slackware6
-rw-r--r--graphics/Blender/buildinfo-2.80.diff16
-rw-r--r--graphics/CairoSVG/CairoSVG.SlackBuild4
-rw-r--r--graphics/CairoSVG/CairoSVG.info8
-rw-r--r--graphics/GPS/README12
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild12
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.info6
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.SlackBuild102
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.info10
-rw-r--r--graphics/OpenSubdiv/README8
-rw-r--r--graphics/OpenSubdiv/slack-desc19
-rw-r--r--graphics/PyMOL/PyMOL.info2
-rw-r--r--graphics/SPIRV-Tools/README10
-rw-r--r--graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild102
-rw-r--r--graphics/SPIRV-Tools/SPIRV-Tools.info10
-rw-r--r--graphics/SPIRV-Tools/slack-desc19
-rw-r--r--graphics/SweetHome3D/README9
-rw-r--r--graphics/SweetHome3D/SweetHome3D4
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild32
-rw-r--r--graphics/SweetHome3D/SweetHome3D.info12
-rw-r--r--graphics/SweetHome3D/SweetHome3DIcon.pngbin0 -> 29519 bytes
-rw-r--r--graphics/Vulkan-Tools/README1
-rw-r--r--graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild105
-rw-r--r--graphics/Vulkan-Tools/Vulkan-Tools.info10
-rw-r--r--graphics/Vulkan-Tools/slack-desc19
-rw-r--r--graphics/XnViewMP/XnViewMP.SlackBuild2
-rw-r--r--graphics/XnViewMP/XnViewMP.info6
-rw-r--r--graphics/aaphoto/README13
-rw-r--r--graphics/aaphoto/aaphoto.SlackBuild89
-rw-r--r--graphics/aaphoto/aaphoto.info10
-rw-r--r--graphics/aaphoto/slack-desc19
-rw-r--r--graphics/abcm2ps/abcm2ps.info1
-rw-r--r--graphics/abcm2ps/doinst.sh63
-rw-r--r--graphics/abcm2ps/slack-desc2
-rw-r--r--graphics/apitrace/README15
-rw-r--r--graphics/apitrace/apitrace.SlackBuild96
-rw-r--r--graphics/apitrace/apitrace.info10
-rw-r--r--graphics/apitrace/slack-desc19
-rw-r--r--graphics/azpainter/README2
-rw-r--r--graphics/azpainter/azpainter.SlackBuild99
-rw-r--r--graphics/azpainter/azpainter.info10
-rw-r--r--graphics/azpainter/doinst.sh14
-rw-r--r--graphics/azpainter/slack-desc19
-rw-r--r--graphics/blender/README5
-rw-r--r--graphics/blender/blender.SlackBuild12
-rw-r--r--graphics/blender/blender.info10
-rw-r--r--graphics/brlcad/brlcad.SlackBuild2
-rw-r--r--graphics/brlcad/brlcad.info6
-rw-r--r--graphics/converseen/converseen.SlackBuild4
-rw-r--r--graphics/converseen/converseen.info6
-rw-r--r--graphics/dblatex/dblatex.SlackBuild8
-rw-r--r--graphics/dblatex/dblatex.info6
-rw-r--r--graphics/dcraw/dcraw.SlackBuild1
-rw-r--r--graphics/dcraw/dcraw.info4
-rw-r--r--graphics/dcraw/slack-desc2
-rw-r--r--graphics/deskew/deskew.SlackBuild8
-rw-r--r--graphics/deskew/deskew.info8
-rw-r--r--graphics/draw.io/draw.io.SlackBuild3
-rw-r--r--graphics/draw.io/draw.io.info6
-rw-r--r--graphics/draw.io/slack-desc1
-rw-r--r--graphics/embree/README43
-rw-r--r--graphics/embree/embree.SlackBuild144
-rw-r--r--graphics/embree/embree.info10
-rw-r--r--graphics/embree/slack-desc19
-rw-r--r--graphics/entangle/entangle.info4
-rw-r--r--graphics/exif/exif.SlackBuild45
-rw-r--r--graphics/exif/exif.info8
-rw-r--r--graphics/fbgrab/README2
-rw-r--r--graphics/fbgrab/fbgrab.SlackBuild90
-rw-r--r--graphics/fbgrab/fbgrab.info10
-rw-r--r--graphics/fbgrab/slack-desc19
-rw-r--r--graphics/fbpic/fbpic.SlackBuild25
-rw-r--r--graphics/fbpic/fbpic.info2
-rw-r--r--graphics/feh/feh.SlackBuild12
-rw-r--r--graphics/feh/feh.info6
-rw-r--r--graphics/findimagedupes/findimagedupes.SlackBuild13
-rw-r--r--graphics/findimagedupes/findimagedupes.info6
-rw-r--r--graphics/flameshot/README7
-rw-r--r--graphics/flameshot/flameshot.SlackBuild96
-rw-r--r--graphics/flameshot/flameshot.info10
-rw-r--r--graphics/flameshot/slack-desc19
-rw-r--r--graphics/flpsed/README14
-rw-r--r--graphics/flpsed/flpsed.SlackBuild27
-rw-r--r--graphics/flpsed/flpsed.info4
-rw-r--r--graphics/flpsed/slack-desc6
-rw-r--r--graphics/fontforge/README14
-rw-r--r--graphics/fontforge/fontforge.SlackBuild24
-rw-r--r--graphics/fontforge/fontforge.info16
-rw-r--r--graphics/fontmatrix/README13
-rw-r--r--graphics/fontmatrix/fontmatrix.info10
-rw-r--r--graphics/fritzing/fritzing.SlackBuild5
-rw-r--r--graphics/fritzing/libgit2-version.patch23
-rw-r--r--graphics/gcolor2/README9
-rw-r--r--graphics/gcolor2/amd64_segfault.patch46
-rw-r--r--graphics/gcolor2/color_definition_path.patch23
-rw-r--r--graphics/gcolor2/doinst.sh (renamed from graphics/fontmatrix/doinst.sh)0
-rw-r--r--graphics/gcolor2/gcolor2.SlackBuild108
-rw-r--r--graphics/gcolor2/gcolor2.desktop10
-rw-r--r--graphics/gcolor2/gcolor2.info10
-rw-r--r--graphics/gcolor2/gcolor2.svg317
-rw-r--r--graphics/gcolor2/slack-desc19
-rw-r--r--graphics/gdk-pixbuf-psd/README20
-rw-r--r--graphics/gdk-pixbuf-psd/doinst.sh3
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild81
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info10
-rw-r--r--graphics/gdk-pixbuf-psd/slack-desc19
-rw-r--r--graphics/gifsicle/gifsicle.SlackBuild9
-rw-r--r--graphics/gifsicle/gifsicle.info6
-rw-r--r--graphics/glslang/README5
-rw-r--r--graphics/glslang/SPIRV-Tools-shared.patch61
-rw-r--r--graphics/glslang/glslang.SlackBuild103
-rw-r--r--graphics/glslang/glslang.info10
-rw-r--r--graphics/glslang/slack-desc19
-rw-r--r--graphics/gmic/README3
-rw-r--r--graphics/gmic/gmic.SlackBuild29
-rw-r--r--graphics/gmic/gmic.info12
-rw-r--r--graphics/gmic/zart-opencv4.patch59
-rw-r--r--graphics/gnofract4d/gnofract4d.SlackBuild5
-rw-r--r--graphics/gource/gource.SlackBuild4
-rw-r--r--graphics/gource/gource.info6
-rw-r--r--graphics/graphene/README22
-rw-r--r--graphics/graphene/graphene.SlackBuild107
-rw-r--r--graphics/graphene/graphene.info10
-rw-r--r--graphics/graphene/slack-desc19
-rw-r--r--graphics/graphite2/README2
-rw-r--r--graphics/graphite2/graphite2.SlackBuild5
-rw-r--r--graphics/graphite2/graphite2.info6
-rw-r--r--graphics/gscan2pdf/README10
-rw-r--r--graphics/gscan2pdf/doinst.sh13
-rw-r--r--graphics/gscan2pdf/gscan2pdf.SlackBuild103
-rw-r--r--graphics/gscan2pdf/gscan2pdf.info10
-rw-r--r--graphics/gscan2pdf/slack-desc19
-rw-r--r--graphics/heif-gimp-plugin/README2
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild (renamed from graphics/wayland-egl/wayland-egl.SlackBuild)26
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.info10
-rw-r--r--graphics/heif-gimp-plugin/slack-desc19
-rw-r--r--graphics/icc_profiles/README5
-rw-r--r--graphics/icc_profiles/icc_profiles.SlackBuild47
-rw-r--r--graphics/icc_profiles/icc_profiles.info10
-rw-r--r--graphics/icc_profiles/slack-desc19
-rw-r--r--graphics/icc_profiles_from_eci/README5
-rw-r--r--graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild53
-rw-r--r--graphics/icc_profiles_from_eci/icc_profiles_from_eci.info14
-rw-r--r--graphics/icc_profiles_from_eci/slack-desc19
-rw-r--r--graphics/iccprofiles/README15
-rw-r--r--graphics/iccprofiles/iccprofiles.SlackBuild83
-rw-r--r--graphics/iccprofiles/iccprofiles.info14
-rw-r--r--graphics/iccprofiles/slack-desc19
-rw-r--r--graphics/img2pdf/README234
-rw-r--r--graphics/img2pdf/img2pdf.SlackBuild88
-rw-r--r--graphics/img2pdf/img2pdf.info10
-rw-r--r--graphics/img2pdf/slack-desc19
-rw-r--r--graphics/imv/README34
-rw-r--r--graphics/imv/doinst.sh25
-rw-r--r--graphics/imv/icons/16.pngbin0 -> 628 bytes
-rw-r--r--graphics/imv/icons/22.pngbin0 -> 896 bytes
-rw-r--r--graphics/imv/icons/24.pngbin0 -> 914 bytes
-rw-r--r--graphics/imv/icons/48.pngbin0 -> 1648 bytes
-rw-r--r--graphics/imv/icons/64.pngbin0 -> 2117 bytes
-rw-r--r--graphics/imv/icons/96.pngbin0 -> 2981 bytes
-rw-r--r--graphics/imv/imv.SlackBuild139
-rw-r--r--graphics/imv/imv.info10
-rw-r--r--graphics/imv/slack-desc19
-rw-r--r--graphics/imv/squelch_libtiff_warnings.diff44
-rw-r--r--graphics/inkscape/README8
-rw-r--r--graphics/inkscape/inkscape.SlackBuild4
-rw-r--r--graphics/inkscape/inkscape.info2
-rw-r--r--graphics/ipe/README16
-rw-r--r--graphics/ipe/doinst.sh7
-rw-r--r--graphics/ipe/ipe.SlackBuild (renamed from graphics/fontmatrix/fontmatrix.SlackBuild)68
-rw-r--r--graphics/ipe/ipe.info10
-rw-r--r--graphics/ipe/slack-desc19
-rw-r--r--graphics/lddot/lddot.SlackBuild9
-rw-r--r--graphics/lddot/lddot.info6
-rw-r--r--graphics/libplacebo/README5
-rw-r--r--graphics/libplacebo/libplacebo.SlackBuild11
-rw-r--r--graphics/libplacebo/libplacebo.info8
-rw-r--r--graphics/libplacebo/spirv-tools.patch12
-rw-r--r--graphics/librecad/librecad.SlackBuild4
-rw-r--r--graphics/librecad/librecad.info6
-rw-r--r--graphics/lilypond/README8
-rw-r--r--graphics/lilypond/lilypond.SlackBuild68
-rw-r--r--graphics/lilypond/lilypond.info10
-rw-r--r--graphics/lilypond/patches/detect-fontforge.diff12
-rw-r--r--graphics/maim/slack-desc2
-rw-r--r--graphics/meh/README2
-rw-r--r--graphics/mftrace/README3
-rw-r--r--graphics/mftrace/mftrace.SlackBuild10
-rw-r--r--graphics/mftrace/mftrace.info8
-rw-r--r--graphics/mozjpeg/README71
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild133
-rw-r--r--graphics/mozjpeg/mozjpeg.info6
-rw-r--r--graphics/mozjpeg/mozjpeg.sh8
-rw-r--r--graphics/mtpaint/README32
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild88
-rw-r--r--graphics/mtpaint/mtpaint.info14
-rw-r--r--graphics/mtpaint/slack-desc12
-rw-r--r--graphics/nomacs/nomacs.SlackBuild8
-rw-r--r--graphics/nomacs/nomacs.info10
-rw-r--r--graphics/nomacs/opencv4.diff33
-rw-r--r--graphics/openimageio/oiio-libopenimageio-exif-cpp.diff326
-rw-r--r--graphics/openimageio/openimageio.SlackBuild22
-rw-r--r--graphics/openimageio/openimageio.info6
-rw-r--r--graphics/openimageio/rawinput.diff114
-rw-r--r--graphics/openscad-mcad/README9
-rw-r--r--graphics/openscad-mcad/openscad-mcad.SlackBuild106
-rw-r--r--graphics/openscad-mcad/openscad-mcad.info10
-rw-r--r--graphics/openscad-mcad/slack-desc19
-rw-r--r--graphics/pcx-pixbuf-loader/README4
-rw-r--r--graphics/pcx-pixbuf-loader/doinst.sh3
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild79
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info10
-rw-r--r--graphics/pcx-pixbuf-loader/slack-desc19
-rw-r--r--graphics/pencil2d/README6
-rw-r--r--graphics/pencil2d/doinst.sh13
-rw-r--r--graphics/pencil2d/pencil2d.SlackBuild89
-rw-r--r--graphics/pencil2d/pencil2d.info10
-rw-r--r--graphics/pencil2d/slack-desc19
-rw-r--r--graphics/pencil3/pencil3.SlackBuild2
-rw-r--r--graphics/pencil3/pencil3.info6
-rw-r--r--graphics/phatch/phatch.info2
-rw-r--r--graphics/photoprint/photoprint.SlackBuild2
-rw-r--r--graphics/photoprint/photoprint.info2
-rw-r--r--graphics/plotutils/README18
-rw-r--r--graphics/plotutils/plotutils-2.6-libpng-1.6.patch (renamed from graphics/plotutils/plotutils-2.6-libpng-1.5.patch)2
-rw-r--r--graphics/plotutils/plotutils.SlackBuild63
-rw-r--r--graphics/plotutils/plotutils.info8
-rw-r--r--graphics/plotutils/slack-desc2
-rw-r--r--graphics/png2ico/README10
-rw-r--r--graphics/png2ico/png2ico-cstring.patch10
-rw-r--r--graphics/png2ico/png2ico.SlackBuild102
-rw-r--r--graphics/png2ico/png2ico.info10
-rw-r--r--graphics/png2ico/slack-desc19
-rw-r--r--graphics/potrace/patches/make-check-tolerance.diff34
-rw-r--r--graphics/potrace/potrace.SlackBuild7
-rw-r--r--graphics/potrace/potrace.info6
-rw-r--r--graphics/psftools/README7
-rw-r--r--graphics/psftools/psftools.SlackBuild29
-rw-r--r--graphics/psftools/psftools.info6
-rw-r--r--graphics/qcad/qcad.SlackBuild4
-rw-r--r--graphics/qcad/qcad.info6
-rw-r--r--graphics/qelectrotech/qelectrotech.info2
-rw-r--r--graphics/qiv/648ed5a.diff446
-rw-r--r--graphics/qiv/README34
-rw-r--r--graphics/qiv/new_formats.diff73
-rw-r--r--graphics/qiv/qiv-allfmt.sqf7
-rw-r--r--graphics/qiv/qiv.SlackBuild62
-rw-r--r--graphics/qiv/qiv.info6
-rw-r--r--graphics/qrencode/qrencode.SlackBuild7
-rw-r--r--graphics/qrencode/qrencode.info6
-rw-r--r--graphics/ralcgm/ralcgm.info2
-rw-r--r--graphics/raw-thumbnailer/README2
-rw-r--r--graphics/raw-thumbnailer/doinst.sh3
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild54
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.info12
-rw-r--r--graphics/raw-thumbnailer/slack-desc4
-rw-r--r--graphics/renderdoc/README12
-rw-r--r--graphics/renderdoc/doinst.sh13
-rw-r--r--graphics/renderdoc/renderdoc.SlackBuild120
-rw-r--r--graphics/renderdoc/renderdoc.info12
-rw-r--r--graphics/renderdoc/slack-desc19
-rw-r--r--graphics/scantailor/scantailor.info2
-rw-r--r--graphics/shaderc/fix-glslang-link-order.patch44
-rw-r--r--graphics/shaderc/shaderc.SlackBuild14
-rw-r--r--graphics/shaderc/shaderc.info8
-rw-r--r--graphics/sxiv/sxiv.SlackBuild2
-rw-r--r--graphics/sxiv/sxiv.info6
-rw-r--r--graphics/teighafileconverter/teighafileconverter.SlackBuild2
-rw-r--r--graphics/teighafileconverter/teighafileconverter.info4
-rw-r--r--graphics/tesseract/tesseract.SlackBuild10
-rw-r--r--graphics/tesseract/tesseract.info14
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild9
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.info6
-rw-r--r--graphics/tuxpaint/README5
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild39
-rw-r--r--graphics/tuxpaint/tuxpaint.info12
-rw-r--r--graphics/ueberzug/README5
-rw-r--r--graphics/ueberzug/slack-desc19
-rw-r--r--graphics/ueberzug/ueberzug.SlackBuild86
-rw-r--r--graphics/ueberzug/ueberzug.info10
-rw-r--r--graphics/unpaper/slack-desc2
-rw-r--r--graphics/unpaper/unpaper.SlackBuild19
-rw-r--r--graphics/unpaper/unpaper.info14
-rw-r--r--graphics/viewnior/README2
-rw-r--r--graphics/viewnior/doinst.sh8
-rw-r--r--graphics/viewnior/viewnior.SlackBuild41
-rw-r--r--graphics/viewnior/viewnior.info6
-rw-r--r--graphics/vsxu/README2
-rw-r--r--graphics/vuescan/README5
-rw-r--r--graphics/vuescan/vuescan.SlackBuild4
-rw-r--r--graphics/vuescan/vuescan.info10
-rw-r--r--graphics/vulkan-sdk-bin/slack-desc24
-rw-r--r--graphics/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild11
-rw-r--r--graphics/vulkan-sdk-bin/vulkan-sdk-bin.info6
-rw-r--r--graphics/vulkan-sdk/README2
-rw-r--r--graphics/vulkan-sdk/vulkan-loader-cmake.patch13
-rw-r--r--graphics/vulkan-sdk/vulkan-sdk.SlackBuild144
-rw-r--r--graphics/vulkan-sdk/vulkan-sdk.info28
-rw-r--r--graphics/wayland-egl/README12
-rw-r--r--graphics/wayland-egl/slack-desc19
-rw-r--r--graphics/wayland-egl/wayland-egl.info10
-rw-r--r--graphics/wayland-protocols/wayland-protocols.SlackBuild2
-rw-r--r--graphics/wayland-protocols/wayland-protocols.info6
-rw-r--r--graphics/webp-pixbuf-loader/README4
-rw-r--r--graphics/webp-pixbuf-loader/doinst.sh3
-rw-r--r--graphics/webp-pixbuf-loader/git2tarxz.sh42
-rw-r--r--graphics/webp-pixbuf-loader/slack-desc19
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild83
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.info10
-rw-r--r--graphics/white_dune/README2
-rw-r--r--graphics/white_dune/slack-desc4
-rw-r--r--graphics/white_dune/white_dune.SlackBuild14
-rw-r--r--graphics/white_dune/white_dune.info8
-rw-r--r--graphics/wine-nine-standalone/README5
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild76
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.info6
-rw-r--r--graphics/xcf-pixbuf-loader/README7
-rw-r--r--graphics/xcf-pixbuf-loader/doinst.sh3
-rw-r--r--graphics/xcf-pixbuf-loader/git2tarxz.sh42
-rw-r--r--graphics/xcf-pixbuf-loader/slack-desc19
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild84
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info10
-rw-r--r--graphics/xdaliclock/README5
-rw-r--r--graphics/xdaliclock/doinst.sh2
-rw-r--r--graphics/xdaliclock/slack-desc (renamed from graphics/fontmatrix/slack-desc)22
-rw-r--r--graphics/xdaliclock/xdaliclock.SlackBuild105
-rw-r--r--graphics/xdaliclock/xdaliclock.info10
-rw-r--r--graphics/xdot/xdot.SlackBuild12
-rw-r--r--graphics/xdot/xdot.info8
-rw-r--r--graphics/xfishtank/README9
-rw-r--r--graphics/xfishtank/doinst.sh2
-rw-r--r--graphics/xfishtank/slack-desc19
-rw-r--r--graphics/xfishtank/xfishtank.SlackBuild94
-rw-r--r--graphics/xfishtank/xfishtank.info10
-rw-r--r--graphics/xmedcon/README4
-rw-r--r--graphics/xmedcon/doinst.sh26
-rw-r--r--graphics/xmedcon/slack-desc2
-rw-r--r--graphics/xmedcon/xmedcon.SlackBuild17
-rw-r--r--graphics/xmedcon/xmedcon.desktop1
-rw-r--r--graphics/xmedcon/xmedcon.info10
-rw-r--r--graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch23
-rw-r--r--graphics/yacreader/yacreader.SlackBuild6
-rw-r--r--graphics/yacreader/yacreader.info6
-rw-r--r--graphics/yed/README2
-rw-r--r--graphics/yed/license_agreement.txt61
-rw-r--r--graphics/yed/slack-desc2
-rw-r--r--graphics/yed/yed.SlackBuild5
-rw-r--r--graphics/yed/yed.info10
352 files changed, 6830 insertions, 1956 deletions
diff --git a/graphics/Blender/01_FindEmbree_so.diff b/graphics/Blender/01_FindEmbree_so.diff
new file mode 100644
index 0000000000..6739f6852a
--- /dev/null
+++ b/graphics/Blender/01_FindEmbree_so.diff
@@ -0,0 +1,75 @@
+--- build_files/cmake/Modules/FindEmbree.cmake.orig 2020-10-21 18:59:19.000000000 +1000
++++ build_files/cmake/Modules/FindEmbree.cmake 2021-01-16 01:26:51.000000000 +1000
+@@ -7,19 +7,12 @@
+ # EMBREE_ROOT_DIR, The base directory to search for Embree.
+ # This can also be an environment variable.
+ # EMBREEFOUND, If false, do not try to use Embree.
+-#
+-# also defined, but not for general use are
+-# EMBREE_LIBRARY, where to find the Embree library.
+
+ #=============================================================================
+ # Copyright 2018 Blender Foundation.
+ #
+-# Distributed under the OSI-approved BSD License (the "License");
+-# see accompanying file Copyright.txt for details.
+-#
+-# This software is distributed WITHOUT ANY WARRANTY; without even the
+-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+-# See the License for more information.
++# Distributed under the OSI-approved BSD 3-Clause License,
++# see accompanying file BSD-3-Clause-license.txt for details.
+ #=============================================================================
+
+ # If EMBREE_ROOT_DIR was defined in the environment, use it.
+@@ -44,9 +37,9 @@
+
+ SET(_embree_FIND_COMPONENTS
+ embree3
++ embree_sse42
+ embree_avx
+ embree_avx2
+- embree_sse42
+ lexers
+ math
+ simd
+@@ -66,29 +59,28 @@
+ PATH_SUFFIXES
+ lib64 lib
+ )
++ IF (NOT EMBREE_${UPPERCOMPONENT}_LIBRARY)
++ IF (EMBREE_EMBREE3_LIBRARY)
++ # If we can't find all the static libraries, try to fall back to the shared library if found.
++ # This allows building with a shared embree library
++ SET(_embree_LIBRARIES ${EMBREE_EMBREE3_LIBRARY})
++ BREAK()
++ ENDIF ()
++ ENDIF ()
+ LIST(APPEND _embree_LIBRARIES "${EMBREE_${UPPERCOMPONENT}_LIBRARY}")
+ ENDFOREACH()
+
+
+-FIND_LIBRARY(EMBREE_LIBRARY
+- NAMES
+- libembree3
+- HINTS
+- ${_embree_SEARCH_DIRS}
+- PATH_SUFFIXES
+- lib64 lib
+-)
+-
+ # handle the QUIETLY and REQUIRED arguments and set EMBREE_FOUND to TRUE if
+ # all listed variables are TRUE
+ INCLUDE(FindPackageHandleStandardArgs)
+-FIND_PACKAGE_HANDLE_STANDARD_ARGS(EMBREE DEFAULT_MSG
++FIND_PACKAGE_HANDLE_STANDARD_ARGS(Embree DEFAULT_MSG
+ _embree_LIBRARIES EMBREE_INCLUDE_DIR)
+
+ IF(EMBREE_FOUND)
+ SET(EMBREE_LIBRARIES ${_embree_LIBRARIES})
+ SET(EMBREE_INCLUDE_DIRS ${EMBREE_INCLUDE_DIR})
+-ENDIF(EMBREE_FOUND)
++ENDIF()
+
+ MARK_AS_ADVANCED(
+ EMBREE_INCLUDE_DIR
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index bd1c2ef487..a8c4ca8b9d 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Blender
-# Copyright 2015-2019 Christoph Willing, Brisbane Australia
+# Copyright 2015-2021 Christoph Willing, Brisbane Australia
# 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.
+PRGNAM=Blender
+VERSION=${VERSION:-2.83.8}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+
SRCNAM=blender
-PKGNAM=Blender
-VERSION=${VERSION:-2.80}
+
BASE_VERSION=${BASE_VERSION:-$( echo $VERSION | sed -e 's/[^0-9.]*//g')}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
PYTHON_VERSION=$(python3 -c "import sys; print(sys.version[:3])")
if [ -z "$ARCH" ]; then
@@ -67,14 +69,30 @@ if [ -d /usr/include/cuda ]; then
fi
fi
+embree=""
+if [ -d /usr/include/embree3 ]; then
+ # If embree is installed, assume we want to use it
+ embree="-DWITH_CYCLES_EMBREE=ON"
+ # However disable embree if requested by e.g. EMBREE=no
+ if [ ${EMBREE:-yes} != "yes" ]; then
+ embree="-DWITH_CYCLES_EMBREE=OFF"
+ fi
+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/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
+patch -p0 < $CWD/01_FindEmbree_so.diff
+if [ ${FORCE_FFMPEG4:-no} = "yes" ]; then
+ echo "Force use of ffmpeg4"
+ SLKCFLAGS="$SLKCFLAGS -I/usr/include/ffmpeg4 -L/usr/lib${LIBDIRSUFFIX}/ffmpeg4"
+ sed -i -e "s|\"exitcode=0\"|&,\"LD_LIBRARY_PATH\":\"/usr/lib$LIBDIRSUFFIX/ffmpeg4\"|g" doc/manpage/blender.1.py
+fi
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -82,8 +100,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p0 < $CWD/buildinfo-$VERSION.diff
-
mkdir -p build
cd build
cmake ../ \
@@ -105,6 +121,8 @@ cd build
-DWITH_CODEC_SNDFILE:BOOL=ON \
-DWITH_FFTW3:BOOL=ON \
-DWITH_IMAGE_OPENJPEG:BOOL=ON \
+ -DWITH_SYSTEM_EIGEN3:BOOL=OFF \
+ -DWITH_SYSTEM_GLEW:BOOL=OFF \
-DWITH_SYSTEM_LZO:BOOL=ON \
-DWITH_MEM_JEMALLOC:BOOL=ON \
-DWITH_MEM_VALGRIND:BOOL=ON \
@@ -113,6 +131,7 @@ cd build
-DWITH_SDL_DYNLOAD:BOOL=ON \
-DCMAKE_BUILD_TYPE=Release \
$cuda \
+ $embree \
make
make install DESTDIR=$PKG
@@ -126,8 +145,7 @@ for bin in $BLENDERBINS ; do
mv $PKG/usr/bin/$bin $PKG/usr/bin/$bin.bin
cat <<EOF >$PKG/usr/bin/$bin
#!/bin/sh
-#export PYTHONPATH=/usr/share/$SRCNAM/$BASE_VERSION/python/lib$LIBDIRSUFFIX/python$PYTHON_VERSION
-export LD_LIBRARY_PATH=/usr/lib$LIBDIRSUFFIX/opencollada
+export LD_LIBRARY_PATH=/usr/lib$LIBDIRSUFFIX/opencollada:/usr/lib$LIBDIRSUFFIX/ffmpeg4
exec $bin.bin "\$@"
EOF
chmod 0755 $PKG/usr/bin/$bin
@@ -138,14 +156,14 @@ mkdir -p $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PKGNAM-$VERSION/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share/doc
-cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
+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/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/Blender/Blender.info b/graphics/Blender/Blender.info
index 123f67804c..26038a5885 100644
--- a/graphics/Blender/Blender.info
+++ b/graphics/Blender/Blender.info
@@ -1,10 +1,10 @@
PRGNAM="Blender"
-VERSION="2.80"
+VERSION="2.83.8"
HOMEPAGE="https://blender.org"
-DOWNLOAD="https://download.blender.org/source/blender-2.80.tar.gz"
-MD5SUM="30dedaf688741d0d5d6fa1e3c331610c"
+DOWNLOAD="https://download.blender.org/source/blender-2.83.8.tar.xz"
+MD5SUM="1a920506a3a695d629d5f312b9b45c01"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg jack-audio-connection-kit opencollada python-requests valgrind numpy3 SDL2 openimageio freealut"
+REQUIRES="ffmpeg jack opencollada opus python-requests valgrind numpy3 SDL2 openimageio freealut tbb embree"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/graphics/Blender/README b/graphics/Blender/README
index d415695a6c..e6fe94d6e9 100644
--- a/graphics/Blender/README
+++ b/graphics/Blender/README
@@ -1,9 +1,30 @@
Blender is an integrated suite of free and open source tools enabling
the creation of a broad range of 3D content with the singular
-benefits of cross- platform interoperability. It can be used to
+benefits of cross-platform interoperability. It can be used to
create 3D visualizations, stills as well as broadcast and cinema
quality video. It features fully integrated creation suite, offering
-a broad range of essential tools for the creation of 3D content,
+a broad range of essential tools for the creation of 3D content,
including modeling, uv-mapping, texturing, particle and other
-simulation, scripting, rendering, compositing,post-production, and
+simulation, scripting, rendering, compositing, post-production and
game creation.
+
+CUDA support is included if a CUDA installation is detected at build time.
+It may be disable by passing CUDA=no when building e.g.
+ CUDA=no sh ./Blender.SlackBuild
+
+Since Blender-2.83.0, SBo's cudatoolkit-8.0.61 is insufficient for a
+successful build. The CUDA handling above remains for cases which may:
+ - use a newer CUDA version toolkit
+ - require the existing cudatoolkit for other purposes
+ (so need CUDA=no for Blender)
+
+Support for embree may be disabled by passing EMBREE=no when building e.g.
+ EMBREE=no sh ./Blender.SlackBuild
+
+Support in 14.2 for using SBo's ffmpeg4 SlackBuild may be enabled by
+passing FORCE_FFMPEG4=yes when building e.g.
+ FORCE_FFMPEG4=yes sh ./Blender.SlackBuild
+
+Version 2.83.8 is the last SBo supported version of Blender for building
+from source code in Slackware64-14.2. A more recent compiler (gcc-9.3.1)
+is required for 2.90.x and later blender versions.
diff --git a/graphics/Blender/README.Slackware b/graphics/Blender/README.Slackware
index 669253f6c7..2371484de5 100644
--- a/graphics/Blender/README.Slackware
+++ b/graphics/Blender/README.Slackware
@@ -4,7 +4,7 @@ time consuming but allows finer tuning of capabilities of the resulting
package. Working through the prerequisite packages from the REQUIRES field
of Blender.info results in the following basic build order:
multimedia/ffmpeg
- audio/jack-audio-connection-kit
+ audio/jack
libraries/opencv
graphics/opencollada
libraries/OpenAL
@@ -66,6 +66,10 @@ being available at build time, set the CUDA environment variable to "no"
when running the SlackBuild e.g.
CUDA=no sh ./Blender.SlackBuild
+NB. Blender-2.83.0 and above requires a newer cudatoolkit than available
+at SBo. If the SBo cudatoolkit is nevertheless installed for other reasons,
+please use CUDA=no when running the SlackBuild.
+
2. the ffmpeg package could/should first be built with additional
features by preinstalling some other packages e.g.
REQUIRES="lame x264
diff --git a/graphics/Blender/buildinfo-2.80.diff b/graphics/Blender/buildinfo-2.80.diff
deleted file mode 100644
index 2db5014a51..0000000000
--- a/graphics/Blender/buildinfo-2.80.diff
+++ /dev/null
@@ -1,16 +0,0 @@
---- build_files/cmake/buildinfo.cmake.orig 2019-07-24 17:41:38.000000000 +1000
-+++ build_files/cmake/buildinfo.cmake 2019-07-31 17:36:21.614279355 +1000
-@@ -8,9 +8,10 @@
-
- # Extract working copy information for SOURCE_DIR into MY_XXX variables
- # with a default in case anything fails, for example when using git-svn
--set(MY_WC_HASH "unknown")
--set(MY_WC_BRANCH "unknown")
--set(MY_WC_COMMIT_TIMESTAMP 0)
-+# Timestamp from $(date --date='TZ="UTC" 16:47 29-Jul-19' +%s) - time & date of commit
-+set(MY_WC_HASH "f6cb5f54494e")
-+set(MY_WC_BRANCH "blender-v2.80-release")
-+set(MY_WC_COMMIT_TIMESTAMP 1564418820)
-
- # Guess if this is a git working copy and then look up the revision
- if(EXISTS ${SOURCE_DIR}/.git)
diff --git a/graphics/CairoSVG/CairoSVG.SlackBuild b/graphics/CairoSVG/CairoSVG.SlackBuild
index 49576d41d4..0725ad10cb 100644
--- a/graphics/CairoSVG/CairoSVG.SlackBuild
+++ b/graphics/CairoSVG/CairoSVG.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CairoSVG
-# Copyright 2014-2019 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
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=CairoSVG
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/CairoSVG/CairoSVG.info b/graphics/CairoSVG/CairoSVG.info
index 5b8cd0045e..15cb6ed231 100644
--- a/graphics/CairoSVG/CairoSVG.info
+++ b/graphics/CairoSVG/CairoSVG.info
@@ -1,10 +1,10 @@
PRGNAM="CairoSVG"
-VERSION="2.3.0"
+VERSION="2.5.0"
HOMEPAGE="https://cairosvg.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/f3/23/67e77d4ffd643287a0dfb7dc76acef05548bd1964cd355f588b93c026deb/CairoSVG-2.3.0.tar.gz"
-MD5SUM="0fb63ab45152cdb7968d861de6e8344c"
+DOWNLOAD="https://files.pythonhosted.org/packages/26/f5/d8fb11ac3ac613cae21f6860d9bebc12792240f7d22e62f84354dc365e7e/CairoSVG-2.5.0.tar.gz"
+MD5SUM="7b45e544969455167ce5b40406c25c30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 cairocffi cssselect tinycss python3-pillow python3-defusedxml"
+REQUIRES="cairocffi cssselect2 python3-pillow python3-defusedxml"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/GPS/README b/graphics/GPS/README
index 60ff332580..1568981f4e 100644
--- a/graphics/GPS/README
+++ b/graphics/GPS/README
@@ -4,5 +4,13 @@ transform the GNU Image Manipulation Program into a robust painting and
materials-emulation application. Great for painters, airbrushing and
re-touching, and illustrators.
-Note that this will overwrite any config files you might already have
-in ~/.gimp-2.8 so if you've got customizations, back 'em up.
+WARNING:
+This OVERWRITES any config files you have in ~/.gimp-2.8
+so if you've got customizations, back them up first.
+
+NOTE:
+If using GIMP 2.10 as a Flatpak, you must add ``/usr/share/gimp/2.0/``
+to your Folders path in Edit > Preferences > Folder.
+You must do this for each item you want GIMP to see (brushes, patterns,
+and so on).
+
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index 48d9dd13f1..ea968873ff 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -8,8 +8,10 @@
# MIA. Original version had no license; I'm licensing the update under the
# terms of the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# 20181201 bkw:
-# - update for v1.3.31 (BUILD=1 again).
+# 20201019 bkw: update for v1.3.35.
+# 20200111 bkw: update for v1.3.34, quit using sourceforge dl link.
+# 20191130 bkw: update for v1.3.33.
+# 20181201 bkw: update for v1.3.31 (BUILD=1 again).
# 20181126 bkw:
# - fix the perl module. at one point it really did work, but lately
@@ -40,8 +42,8 @@
# - document optional deps in README
PRGNAM=GraphicsMagick
-VERSION=${VERSION:-1.3.31}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.3.35}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -94,7 +96,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
diff --git a/graphics/GraphicsMagick/GraphicsMagick.info b/graphics/GraphicsMagick/GraphicsMagick.info
index df8854a27d..fa9006c4c4 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.info
+++ b/graphics/GraphicsMagick/GraphicsMagick.info
@@ -1,8 +1,8 @@
PRGNAM="GraphicsMagick"
-VERSION="1.3.31"
+VERSION="1.3.35"
HOMEPAGE="http://www.graphicsmagick.org/"
-DOWNLOAD="http://downloads.sourceforge.net/graphicsmagick/GraphicsMagick-1.3.31.tar.bz2"
-MD5SUM="0153df04efb27628e348071a53f2bf94"
+DOWNLOAD="http://ftp.icm.edu.pl/pub/unix/graphics/GraphicsMagick/1.3/GraphicsMagick-1.3.35.tar.xz"
+MD5SUM="e565b6ce1564d62409b3faa5c747096e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
new file mode 100644
index 0000000000..e9a279e7c4
--- /dev/null
+++ b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/sh
+
+# Slackware build script for Opensubdiv
+
+# Copyright 2019 J. "MUFTI" Scheurich Stuttgart/Germany
+# Copyright 2021 Christoph Willing Brisbane/Australia
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=OpenSubdiv
+SRCNAM=OpenSubDiv
+VERSION=${VERSION:-3.4.3}
+SRCVER=$(echo $VERSION | tr . _)
+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-$SRCVER
+tar xvf $CWD/$SRCNAM-$VERSION.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 \
+ -DCMAKE_LIBDIR_BASE=lib${LIBDIRSUFFIX} \
+ -DCMAKE_DOCDIR_BASE=doc/$PRGNAM-$VERSION \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -rf documentation/* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Can't have tutorials directory in /usr/bin
+mv $PKG/usr/bin/tutorials $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:-tgz}
diff --git a/graphics/OpenSubdiv/OpenSubdiv.info b/graphics/OpenSubdiv/OpenSubdiv.info
new file mode 100644
index 0000000000..b7292a557b
--- /dev/null
+++ b/graphics/OpenSubdiv/OpenSubdiv.info
@@ -0,0 +1,10 @@
+PRGNAM="OpenSubdiv"
+VERSION="3.4.3"
+HOMEPAGE="http://graphics.pixar.com/opensubdiv"
+DOWNLOAD="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_4_3/OpenSubDiv-3.4.3.tar.gz"
+MD5SUM="7bbfa275d021fb829e521df749160edb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/graphics/OpenSubdiv/README b/graphics/OpenSubdiv/README
new file mode 100644
index 0000000000..401ffff651
--- /dev/null
+++ b/graphics/OpenSubdiv/README
@@ -0,0 +1,8 @@
+OpenSubdiv is a set of open source libraries that implement high performance
+subdivision surface (subdiv) evaluation on massively parallel CPU and
+GPU architectures. This code path is optimized for drawing deforming surfaces
+with static topology at interactive framerates.
+
+Additional utility is available in OpenSubdiv when the following SBo packages
+are installed and detected at build time:
+ tbb cudatoolkit opencl-headers glfw docutils
diff --git a/graphics/OpenSubdiv/slack-desc b/graphics/OpenSubdiv/slack-desc
new file mode 100644
index 0000000000..e4edbfcaca
--- /dev/null
+++ b/graphics/OpenSubdiv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+OpenSubdiv: OpenSubdiv (The OpenSubdiv Library)
+OpenSubdiv:
+OpenSubdiv: OpenSubdiv is a set of open source libraries that implement high
+OpenSubdiv: performance subdivision surface (subdiv) evaluation on massively
+OpenSubdiv: parallel CPU and GPU architectures. This code path is optimized
+OpenSubdiv: for drawing deforming surfaces with static topology at interactive
+OpenSubdiv: framerates.
+OpenSubdiv:
+OpenSubdiv:
+OpenSubdiv: Project URL: http://graphics.pixar.com/opensubdiv/
+OpenSubdiv:
diff --git a/graphics/PyMOL/PyMOL.info b/graphics/PyMOL/PyMOL.info
index cbb0c4659e..ad9689369c 100644
--- a/graphics/PyMOL/PyMOL.info
+++ b/graphics/PyMOL/PyMOL.info
@@ -1,7 +1,7 @@
PRGNAM="PyMOL"
VERSION="2.2.0"
HOMEPAGE="http://pymol.org"
-DOWNLOAD="https://github.com/schrodinger/pymol-open-source/archive/v2.2.0/pymol-open-source-2.2.0.tar.gz "
+DOWNLOAD="https://github.com/schrodinger/pymol-open-source/archive/v2.2.0/pymol-open-source-2.2.0.tar.gz"
MD5SUM="aa6cde489112de7978daf377b265d748"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/SPIRV-Tools/README b/graphics/SPIRV-Tools/README
new file mode 100644
index 0000000000..d0f604b893
--- /dev/null
+++ b/graphics/SPIRV-Tools/README
@@ -0,0 +1,10 @@
+The SPIR-V Tools project provides an API and commands for processing
+SPIR-V modules.
+
+The project includes an assembler, binary module parser, disassembler,
+validator, and optimizer for SPIR-V. Except for the optimizer,
+all are based on a common static library. The library contains all
+of the implementation details, and is used in the standalone tools
+whilst also enabling integration into other code bases directly. The
+optimizer implementation resides in its own library, which depends
+on the core library.
diff --git a/graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild b/graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild
new file mode 100644
index 0000000000..cdde34904a
--- /dev/null
+++ b/graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/sh
+
+# Slackware build script for SPIRV-Tools
+
+# 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=SPIRV-Tools
+VERSION=${VERSION:-2020.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 -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_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DBUILD_SHARED_LIBS=ON \
+ -DSPIRV_TOOLS_BUILD_STATIC=OFF \
+ -DSPIRV_SKIP_TESTS=ON \
+ -DSPIRV_WERROR=OFF \
+ -DSPIRV-Headers_SOURCE_DIR=/usr \
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -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 CHANGES CODE_OF_CONDUCT.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:-tgz}
diff --git a/graphics/SPIRV-Tools/SPIRV-Tools.info b/graphics/SPIRV-Tools/SPIRV-Tools.info
new file mode 100644
index 0000000000..ab0b391ef3
--- /dev/null
+++ b/graphics/SPIRV-Tools/SPIRV-Tools.info
@@ -0,0 +1,10 @@
+PRGNAM="SPIRV-Tools"
+VERSION="2020.6"
+HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools"
+DOWNLOAD="https://github.com/KhronosGroup/SPIRV-Tools/archive/v2020.6/SPIRV-Tools-2020.6.tar.gz"
+MD5SUM="a5e7b94edc9f8ecc798c66a549bba181"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="SPIRV-Headers python3"
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/graphics/SPIRV-Tools/slack-desc b/graphics/SPIRV-Tools/slack-desc
new file mode 100644
index 0000000000..79e9d751ca
--- /dev/null
+++ b/graphics/SPIRV-Tools/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+SPIRV-Tools: SPIRV-Tools (API and commands for processing SPIR-V modules)
+SPIRV-Tools:
+SPIRV-Tools: The SPIR-V Tools project provides an API and commands for processing
+SPIRV-Tools: SPIR-V modules.
+SPIRV-Tools:
+SPIRV-Tools: Homepage: https://github.com/KhronosGroup/SPIRV-Tools
+SPIRV-Tools:
+SPIRV-Tools:
+SPIRV-Tools:
+SPIRV-Tools:
+SPIRV-Tools:
diff --git a/graphics/SweetHome3D/README b/graphics/SweetHome3D/README
index c550edef57..7221e81b74 100644
--- a/graphics/SweetHome3D/README
+++ b/graphics/SweetHome3D/README
@@ -2,11 +2,4 @@ Sweet Home 3D is a free interior design application
that helps you draw the plan of your house, arrange
furniture on it and visit the results in 3D.
-As a workaround for a java3d crash when using the
-Nvidia proprietary driver, try:
-
-NVIDIA=yes ./SweetHome3D.SlackBuild
-
-This will use an older version of java3D. Also, if
-SweetHome3D fails to run with OpenJDK, remove it and
-install the the official jdk on Slackbuilds.org
+JDK is an alternate dependency.
diff --git a/graphics/SweetHome3D/SweetHome3D b/graphics/SweetHome3D/SweetHome3D
new file mode 100644
index 0000000000..0318ac5c9b
--- /dev/null
+++ b/graphics/SweetHome3D/SweetHome3D
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Run Sweet Home 3D
+exec /usr/lib64/java/bin/java -Xmx2g -jar /usr/share/SweetHome3D/SweetHome3D.jar
diff --git a/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index 0a7e238c25..dee7336599 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -34,9 +34,10 @@
# 2.1 06-JAN-2018 version update
# 2.2 07-Aug-2018 version update
# 2.3 24-Jun-2019 version update
+# 2.4 23-APR-2020 version update, switch to .jar for openjdk compatibility
PRGNAM=SweetHome3D
-VERSION=${VERSION:-6.1.2}
+VERSION=${VERSION:-6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
NVIDIA=${NVIDIA:-no}
@@ -74,40 +75,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-linux-$TARGET.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 {} \;
mkdir -p $PKG/usr/bin
-if [ "${NVIDIA}" = "no" ]; then
- cp -a SweetHome3D $PKG/usr/bin
-else
- cp -a SweetHome3D-Java3D-1_5_2 $PKG/usr/bin/SweetHome3D
-fi
-
-# Set program location and use global java
-sed -i $PKG/usr/bin/SweetHome3D \
- -e "s,\"\$PROGRAM_DIR\"/jre8/bin/java,/usr/lib${LIBDIRSUFFIX}/java/bin/java,g" \
- -e "s,\"\$PROGRAM_DIR\"/jre8/lib,/usr/lib${LIBDIRSUFFIX}/java/jre/lib,g" \
- -e "s,\"\$PROGRAM_DIR\"/lib,/usr/share/$PRGNAM,g"
+install -D -m 755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/share/$PRGNAM
-cp -a lib/* $PKG/usr/share/$PRGNAM
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+install -D -m 644 $CWD/$PRGNAM-$VERSION.jar $PKG/usr/share/$PRGNAM/$PRGNAM.jar
mkdir -p $PKG/usr/share/{applications,pixmaps}
-cat $CWD/SweetHome3D.desktop > $PKG/usr/share/applications/SweetHome3D.desktop
-cat SweetHome3DIcon.png > $PKG/usr/share/pixmaps/SweetHome3D.png
+cp -a $CWD/SweetHome3D.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+cp -a $CWD/SweetHome3DIcon.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a *.TXT THIRDPARTY-LICENSE-JMF.HTML $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/SweetHome3D/SweetHome3D.info b/graphics/SweetHome3D/SweetHome3D.info
index b2c556c792..8c636e9f93 100644
--- a/graphics/SweetHome3D/SweetHome3D.info
+++ b/graphics/SweetHome3D/SweetHome3D.info
@@ -1,10 +1,10 @@
PRGNAM="SweetHome3D"
-VERSION="6.1.2"
+VERSION="6.3"
HOMEPAGE="http://www.sweethome3d.com/"
-DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.1.2/SweetHome3D-6.1.2-linux-x86.tgz"
-MD5SUM="afde31a885534d4ec7690f7a5c375ad8"
-DOWNLOAD_x86_64="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.1.2/SweetHome3D-6.1.2-linux-x64.tgz"
-MD5SUM_x86_64="297ed2ee1a0351c0bdc5ea56642c0b20"
-REQUIRES="jdk"
+DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.3/SweetHome3D-6.3.jar"
+MD5SUM="4f461a8a5e9586537367e8bf75668fa6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="openjdk8"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@gmail.com"
diff --git a/graphics/SweetHome3D/SweetHome3DIcon.png b/graphics/SweetHome3D/SweetHome3DIcon.png
new file mode 100644
index 0000000000..7cb7a0e4cb
--- /dev/null
+++ b/graphics/SweetHome3D/SweetHome3DIcon.png
Binary files differ
diff --git a/graphics/Vulkan-Tools/README b/graphics/Vulkan-Tools/README
new file mode 100644
index 0000000000..10206439f4
--- /dev/null
+++ b/graphics/Vulkan-Tools/README
@@ -0,0 +1 @@
+This project provides Khronos official Vulkan Tools and Utilities.
diff --git a/graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild b/graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild
new file mode 100644
index 0000000000..1e47b57e54
--- /dev/null
+++ b/graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/sh
+
+# Slackware build script for Vulkan-Tools
+
+# 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=Vulkan-Tools
+VERSION=${VERSION:-1.2.162.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-sdk-$VERSION
+tar xvf $CWD/$PRGNAM-sdk-$VERSION.tar.gz
+cd $PRGNAM-sdk-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Require an older cmake version.
+sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
+
+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 \
+ -DBUILD_WSI_XCB_SUPPORT=ON \
+ -DBUILD_WSI_XLIB_SUPPORT=ON \
+ -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
+ -DGLSLANG_INSTALL_DIR=/usr \
+ -DVULKAN_HEADERS_INSTALL_DIR=/usr \
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -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 CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.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:-tgz}
diff --git a/graphics/Vulkan-Tools/Vulkan-Tools.info b/graphics/Vulkan-Tools/Vulkan-Tools.info
new file mode 100644
index 0000000000..11f37a9fee
--- /dev/null
+++ b/graphics/Vulkan-Tools/Vulkan-Tools.info
@@ -0,0 +1,10 @@
+PRGNAM="Vulkan-Tools"
+VERSION="1.2.162.0"
+HOMEPAGE="https://www.khronos.org/vulkan/"
+DOWNLOAD="https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-1.2.162.0/Vulkan-Tools-sdk-1.2.162.0.tar.gz"
+MD5SUM="55b70e8a7fff81fbc2f659e1dcfba1d2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="vulkan-sdk"
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/graphics/Vulkan-Tools/slack-desc b/graphics/Vulkan-Tools/slack-desc
new file mode 100644
index 0000000000..ac886d645c
--- /dev/null
+++ b/graphics/Vulkan-Tools/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+Vulkan-Tools: Vulkan-Tools (Vulkan Utilities and Tools)
+Vulkan-Tools:
+Vulkan-Tools: This project provides Khronos official Vulkan Tools and Utilities.
+Vulkan-Tools:
+Vulkan-Tools: Homepage: https://www.khronos.org/vulkan/
+Vulkan-Tools:
+Vulkan-Tools:
+Vulkan-Tools:
+Vulkan-Tools:
+Vulkan-Tools:
+Vulkan-Tools:
diff --git a/graphics/XnViewMP/XnViewMP.SlackBuild b/graphics/XnViewMP/XnViewMP.SlackBuild
index c2969f1cf7..0d0adc7954 100644
--- a/graphics/XnViewMP/XnViewMP.SlackBuild
+++ b/graphics/XnViewMP/XnViewMP.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=XnViewMP
-VERSION=${VERSION:-0.92}
+VERSION=${VERSION:-0.94.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/XnViewMP/XnViewMP.info b/graphics/XnViewMP/XnViewMP.info
index eaabe5013e..c36502234c 100644
--- a/graphics/XnViewMP/XnViewMP.info
+++ b/graphics/XnViewMP/XnViewMP.info
@@ -1,10 +1,10 @@
PRGNAM="XnViewMP"
-VERSION="0.92"
+VERSION="0.94.1"
HOMEPAGE="https://www.xnview.com/en/xnviewmp/"
DOWNLOAD="https://download.xnview.com/XnViewMP-linux.tgz"
MD5SUM="17e8ab2a1de48c8d9bd5f4a42bfac83e"
DOWNLOAD_x86_64="https://download.xnview.com/XnViewMP-linux-x64.tgz"
-MD5SUM_x86_64="4b636f75b99f31c2c8a46c00704f4d36"
-REQUIRES=""
+MD5SUM_x86_64="c035de76b1b14589eb85312b6f7ab1bb"
+REQUIRES="OpenAL"
MAINTAINER="Melvin Mawhin"
EMAIL="mmawhin@hotmail.com"
diff --git a/graphics/aaphoto/README b/graphics/aaphoto/README
new file mode 100644
index 0000000000..ef3743f4c3
--- /dev/null
+++ b/graphics/aaphoto/README
@@ -0,0 +1,13 @@
+Auto Adjust Photo is a tiny command-line image manipulation tool for
+automatic color correction of photos. It tries to make the picture look
+better. The program analyzes the histogram of the image and tries to set
+the most optimal black and white point of the image. Removes the veiled
+effect caused by the shifted colors, adjusts the color balance and
+saturation, and corrects the gamma factor.
+
+This can be a solution for those kind of users who are not able to
+manage and correct images with complicated graphical softwares, or just
+simply don't intend to spend a lot of time with manually correcting the
+images one-by-one.
+
+The program handles the following image formats: bmp, jpg, png.
diff --git a/graphics/aaphoto/aaphoto.SlackBuild b/graphics/aaphoto/aaphoto.SlackBuild
new file mode 100644
index 0000000000..d42d4910ae
--- /dev/null
+++ b/graphics/aaphoto/aaphoto.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/sh
+
+# Slackware build script for aaphoto
+
+# Copyright 2020, 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=aaphoto
+VERSION=${VERSION:-0.45}
+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"
+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}_sources_$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYRIGHT ChangeLog NEWS README REMARKS 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/graphics/aaphoto/aaphoto.info b/graphics/aaphoto/aaphoto.info
new file mode 100644
index 0000000000..62abdd1b9d
--- /dev/null
+++ b/graphics/aaphoto/aaphoto.info
@@ -0,0 +1,10 @@
+PRGNAM="aaphoto"
+VERSION="0.45"
+HOMEPAGE="http://log69.com/aaphoto_en.html"
+DOWNLOAD="http://log69.com/downloads/aaphoto_sources_0.45.tar.gz"
+MD5SUM="cfbc454e803991a248827ff635e436db"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/graphics/aaphoto/slack-desc b/graphics/aaphoto/slack-desc
new file mode 100644
index 0000000000..f55976efb1
--- /dev/null
+++ b/graphics/aaphoto/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+aaphoto: aaphoto (automatic color correction of photo)
+aaphoto:
+aaphoto: Auto Adjust Photo is a tiny command-line image manipulation tool for
+aaphoto: automatic color correction of photos. It tries to make the picture
+aaphoto: look better. The program does this by analyzing the input image and
+aaphoto: then sets the most optimal contrast, gamma, color balance and
+aaphoto: saturation for it.
+aaphoto:
+aaphoto: Homepage: http://log69.com/aaphoto_en.html
+aaphoto:
+aaphoto:
diff --git a/graphics/abcm2ps/abcm2ps.info b/graphics/abcm2ps/abcm2ps.info
index ae6feafe84..76e6ee435f 100644
--- a/graphics/abcm2ps/abcm2ps.info
+++ b/graphics/abcm2ps/abcm2ps.info
@@ -8,4 +8,3 @@ MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
-
diff --git a/graphics/abcm2ps/doinst.sh b/graphics/abcm2ps/doinst.sh
deleted file mode 100644
index 1cdfb9ee43..0000000000
--- a/graphics/abcm2ps/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
-}
-
-schema_install blah.schemas
-preserve_perms etc/rc.d/rc.INIT.new
-config etc/configfile.new
-
-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
diff --git a/graphics/abcm2ps/slack-desc b/graphics/abcm2ps/slack-desc
index 0d1e2960d4..a3cd274738 100644
--- a/graphics/abcm2ps/slack-desc
+++ b/graphics/abcm2ps/slack-desc
@@ -10,7 +10,7 @@ abcm2ps: abcm2ps (converts abc music notation to ps or SVG)
abcm2ps:
abcm2ps: abcm2ps is a C program which converts music tunes from the ABC music
abcm2ps: notation to PostScript or SVG.
-abcm2ps:
+abcm2ps:
abcm2ps: Based on the abc2ps version 1.2.5 from Michael Methfessel, it was
abcm2ps: first developped to print barock organ scores that have independant
abcm2ps: voices played on one or many keyboards and a pedal-board
diff --git a/graphics/apitrace/README b/graphics/apitrace/README
new file mode 100644
index 0000000000..9a194296da
--- /dev/null
+++ b/graphics/apitrace/README
@@ -0,0 +1,15 @@
+apitrace consists of a set of tools to:
+
+ trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs calls to a file;
+
+ replay OpenGL and OpenGL ES calls from a file;
+
+ inspect OpenGL state at any call while retracing;
+
+ visualize and edit trace files.
+
+
+Optional dependencies:
+
+ qt5 - Builds the qapitrace gui.
+ snappy - Will use a bundled version if missing.
diff --git a/graphics/apitrace/apitrace.SlackBuild b/graphics/apitrace/apitrace.SlackBuild
new file mode 100644
index 0000000000..d0f5078f05
--- /dev/null
+++ b/graphics/apitrace/apitrace.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/sh
+
+# Slackware build script for apitrace
+
+# Copyright 2015-2017, 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=apitrace
+VERSION=${VERSION:-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 -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_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DDOC_INSTALL_DIR=doc/$PRGNAM-$VERSION \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DENABLE_STATIC_SNAPPY=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
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/apitrace/apitrace.info b/graphics/apitrace/apitrace.info
new file mode 100644
index 0000000000..f882c4141f
--- /dev/null
+++ b/graphics/apitrace/apitrace.info
@@ -0,0 +1,10 @@
+PRGNAM="apitrace"
+VERSION="9.0"
+HOMEPAGE="https://apitrace.github.io/"
+DOWNLOAD="https://github.com/apitrace/apitrace/archive/9.0/apitrace-9.0.tar.gz"
+MD5SUM="83bacfb35f4f339571702099d283f571"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3"
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/graphics/apitrace/slack-desc b/graphics/apitrace/slack-desc
new file mode 100644
index 0000000000..38c63576c1
--- /dev/null
+++ b/graphics/apitrace/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+apitrace: apitrace (Tools for tracing OpenGL and other graphics APIs)
+apitrace:
+apitrace: apitrace consists of a set of tools to:
+apitrace:
+apitrace: trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs calls to a
+apitrace: file; replay OpenGL and OpenGL ES calls from a file; inspect OpenGL
+apitrace: state at any call while retracing; visualize and edit trace files.
+apitrace:
+apitrace: Homepage: https://apitrace.github.io/
+apitrace:
+apitrace:
diff --git a/graphics/azpainter/README b/graphics/azpainter/README
new file mode 100644
index 0000000000..13714e253e
--- /dev/null
+++ b/graphics/azpainter/README
@@ -0,0 +1,2 @@
+AzPainter is mainly a full color painting software for illustration
+drawing.
diff --git a/graphics/azpainter/azpainter.SlackBuild b/graphics/azpainter/azpainter.SlackBuild
new file mode 100644
index 0000000000..9cc32580c1
--- /dev/null
+++ b/graphics/azpainter/azpainter.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/sh
+
+# Slackware build script for azpainter
+
+# Copyright 2019 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.
+
+PRGNAM=azpainter
+VERSION=${VERSION:-2.1.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 \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+# azpainter does not have manual/info pages
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog GPL3 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/graphics/azpainter/azpainter.info b/graphics/azpainter/azpainter.info
new file mode 100644
index 0000000000..efcebfa912
--- /dev/null
+++ b/graphics/azpainter/azpainter.info
@@ -0,0 +1,10 @@
+PRGNAM="azpainter"
+VERSION="2.1.5"
+HOMEPAGE="https://github.com/Symbian9/azpainter/"
+DOWNLOAD="https://github.com/Symbian9/azpainter/archive/v2.1.5/azpainter-2.1.5.tar.gz"
+MD5SUM="3de1b1eadbd37ea029320ee8c59c5064"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Charles Daniels"
+EMAIL="charles@cdaniels.net"
diff --git a/graphics/azpainter/doinst.sh b/graphics/azpainter/doinst.sh
new file mode 100644
index 0000000000..9830478e8c
--- /dev/null
+++ b/graphics/azpainter/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 [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/graphics/azpainter/slack-desc b/graphics/azpainter/slack-desc
new file mode 100644
index 0000000000..579e447887
--- /dev/null
+++ b/graphics/azpainter/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a 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------------------------------------------------------|
+azpainter: azpainter (a full color painting software for illustration drawing)
+azpainter:
+azpainter: AzPainter is mainly a full color painting software for illustration
+azpainter: drawing.
+azpainter:
+azpainter: Homepage: https://github.com/Symbian9/azpainter
+azpainter:
+azpainter:
+azpainter:
+azpainter:
+azpainter:
diff --git a/graphics/blender/README b/graphics/blender/README
index 1dc1788be2..7ec5ddf850 100644
--- a/graphics/blender/README
+++ b/graphics/blender/README
@@ -1,5 +1,6 @@
Blender is the free open source 3D content creation suite, available
for all major operating systems under the GNU General Public License.
-This version repackages the binary bundle, if you wish to build
-from source look for 'Blender' on SBo.
+This version repackages the binary bundle,
+for which only a 64bit version is available from upstream.
+If you wish to build from source look for 'graphics/Blender' on SBo.
diff --git a/graphics/blender/blender.SlackBuild b/graphics/blender/blender.SlackBuild
index 4df6935aca..334a9e41ec 100644
--- a/graphics/blender/blender.SlackBuild
+++ b/graphics/blender/blender.SlackBuild
@@ -27,11 +27,11 @@
# Thanks to Giorgio Peron <giorgio.peron@gmail.com> for some build tips
PRGNAM=blender
-VERSION=${VERSION:-2.78c}
+VERSION=${VERSION:-2.90.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=${VERSION}-linux-glibc219
+SRCVERSION=${VERSION}-linux64
# We'll remove the libGL* shared libaries that are shipped with blender (and
# instead use the ones that are shipped with Slackware's Xorg)
@@ -63,14 +63,14 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION-${ARCH}
-tar xvf $CWD/$PRGNAM-$SRCVERSION-${ARCH}.tar.bz2
-cd $PRGNAM-$SRCVERSION-${ARCH}
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.xz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
# Move the docs to our standard location first
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv GPL-license.txt copyright.txt Python-license.txt readme.html \
+mv *.txt readme.html \
$PKG/usr/doc/$PRGNAM-$VERSION
# Now move everything else
diff --git a/graphics/blender/blender.info b/graphics/blender/blender.info
index 01a70ecf71..dc059d3be8 100644
--- a/graphics/blender/blender.info
+++ b/graphics/blender/blender.info
@@ -1,10 +1,10 @@
PRGNAM="blender"
-VERSION="2.78c"
+VERSION="2.90.1"
HOMEPAGE="http://blender.org"
-DOWNLOAD="http://ftp.nluug.nl/pub/graphics/blender/release/Blender2.78/blender-2.78c-linux-glibc219-i686.tar.bz2"
-MD5SUM="be5315ba731ab4c80ba6b24562022124"
-DOWNLOAD_x86_64="http://ftp.nluug.nl/pub/graphics/blender/release/Blender2.78/blender-2.78c-linux-glibc219-x86_64.tar.bz2"
-MD5SUM_x86_64="6aec4319f0a0cd632f48e07e2866d2ab"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://ftp.nluug.nl/pub/graphics/blender/release/Blender2.90/blender-2.90.1-linux64.tar.xz"
+MD5SUM_x86_64="38c75023edf4c11aff79459a82808a62"
REQUIRES=""
MAINTAINER="DhabyX"
EMAIL="slack.dhabyx@gmail.com"
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index 4cd44015ad..694e2039f8 100644
--- a/graphics/brlcad/brlcad.SlackBuild
+++ b/graphics/brlcad/brlcad.SlackBuild
@@ -16,7 +16,7 @@
# ... and again to fix tcl/tk breakage
PRGNAM=brlcad
-VERSION=${VERSION:-7.28.0}
+VERSION=${VERSION:-7.30.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/brlcad/brlcad.info b/graphics/brlcad/brlcad.info
index 1ee2dff912..8b220de969 100644
--- a/graphics/brlcad/brlcad.info
+++ b/graphics/brlcad/brlcad.info
@@ -1,8 +1,8 @@
PRGNAM="brlcad"
-VERSION="7.28.0"
+VERSION="7.30.10"
HOMEPAGE="http://brlcad.org"
-DOWNLOAD="http://downloads.sourceforge.net/brlcad/brlcad-7.28.0.tar.bz2"
-MD5SUM="bbd56e0c6c32e8433ae328903652e44b"
+DOWNLOAD="http://downloads.sourceforge.net/brlcad/brlcad-7.30.10.tar.bz2"
+MD5SUM="534507304b4943b134d2a9ab49b10ae9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/converseen/converseen.SlackBuild b/graphics/converseen/converseen.SlackBuild
index cf85e2eb86..7b8ea81092 100644
--- a/graphics/converseen/converseen.SlackBuild
+++ b/graphics/converseen/converseen.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for converseen
-# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=converseen
-VERSION=${VERSION:-0.9.7.2}
+VERSION=${VERSION:-0.9.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/converseen/converseen.info b/graphics/converseen/converseen.info
index 238e622d16..812799be6d 100644
--- a/graphics/converseen/converseen.info
+++ b/graphics/converseen/converseen.info
@@ -1,8 +1,8 @@
PRGNAM="converseen"
-VERSION="0.9.7.2"
+VERSION="0.9.9.0"
HOMEPAGE="http://converseen.fasterland.net/"
-DOWNLOAD="http://downloads.sourceforge.net/converseen/converseen-0.9.7.2.tar.bz2"
-MD5SUM="0ab04c048268da1eaaba8b6f184e7b0a"
+DOWNLOAD="http://downloads.sourceforge.net/converseen/converseen-0.9.9.0.tar.bz2"
+MD5SUM="187e6d792c08ebda33016820b3cf4fbe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"
diff --git a/graphics/dblatex/dblatex.SlackBuild b/graphics/dblatex/dblatex.SlackBuild
index ce677f4415..1627eefa46 100644
--- a/graphics/dblatex/dblatex.SlackBuild
+++ b/graphics/dblatex/dblatex.SlackBuild
@@ -5,8 +5,8 @@
# Written by Vincent Batts, vbatts@hashbangbash.com
PRGNAM=dblatex
-VERSION=${VERSION:-0.3.4}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.3.10}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,6 +54,10 @@ find -L . \
# Fix build
patch -p0 -i $CWD/dblatex-0.3.4-build-fix.patch
+# latex in slackware 14.2 doesn't have this package
+unzip "$CWD/bookmark.tds.zip"
+cp -pav "./tex/latex/bookmark/" "./latex/"
+
python setup.py build
python setup.py install --root=$PKG
diff --git a/graphics/dblatex/dblatex.info b/graphics/dblatex/dblatex.info
index 1b9b782545..39c915efe4 100644
--- a/graphics/dblatex/dblatex.info
+++ b/graphics/dblatex/dblatex.info
@@ -1,8 +1,8 @@
PRGNAM="dblatex"
-VERSION="0.3.4"
+VERSION="0.3.10"
HOMEPAGE="http://dblatex.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/dblatex/dblatex-0.3.4.tar.bz2"
-MD5SUM="a511a2eaa55757b341e4c46353c5c681"
+DOWNLOAD="http://downloads.sourceforge.net/dblatex/dblatex-0.3.10.tar.bz2 http://mirrors.ctan.org/install/macros/latex/contrib/bookmark.tds.zip"
+MD5SUM="437513c07101cefe5be3cbe83f313878 21b68ae32b577f4aa6327122de4d93be"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild
index 8f30f4a25d..fca2e4c3b3 100644
--- a/graphics/dcraw/dcraw.SlackBuild
+++ b/graphics/dcraw/dcraw.SlackBuild
@@ -117,7 +117,6 @@ done
# remove any empty directories
find $PKG -depth -empty -type d -exec rmdir '{}' \;
-# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
diff --git a/graphics/dcraw/dcraw.info b/graphics/dcraw/dcraw.info
index 435ee45aaa..0129c6c0c4 100644
--- a/graphics/dcraw/dcraw.info
+++ b/graphics/dcraw/dcraw.info
@@ -1,7 +1,7 @@
PRGNAM="dcraw"
VERSION="9.28.0"
-HOMEPAGE="http://cybercom.net/~dcoffin/dcraw/"
-DOWNLOAD="https://sources.voidlinux.org/dcraw-9.28.0/dcraw-9.28.0.tar.gz"
+HOMEPAGE="https://www.dechifro.org/dcraw/"
+DOWNLOAD="https://www.dechifro.org/dcraw/archive/dcraw-9.28.0.tar.gz"
MD5SUM="e89175c1a7551a70744769049a139f9b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/dcraw/slack-desc b/graphics/dcraw/slack-desc
index a88becc7c6..8534120aba 100644
--- a/graphics/dcraw/slack-desc
+++ b/graphics/dcraw/slack-desc
@@ -12,7 +12,7 @@ dcraw: dcraw is a command line tool to decode raw digital photos
dcraw: written by Dave Coffin. It supports many raw photo formats
dcraw: for numerous digital camera manufacturers.
dcraw:
-dcraw: Home Page: http://cybercom.net/~dcoffin/dcraw/
+dcraw: Home Page: https://www.dechifro.org/dcraw/
dcraw:
dcraw:
dcraw:
diff --git a/graphics/deskew/deskew.SlackBuild b/graphics/deskew/deskew.SlackBuild
index 7796d08a7c..747820d380 100644
--- a/graphics/deskew/deskew.SlackBuild
+++ b/graphics/deskew/deskew.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=deskew
-VERSION=${VERSION:-1.25}
+VERSION=${VERSION:-1.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,8 +46,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/bin/ $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip -d $PRGNAM-$VERSION $CWD/$PRGNAM-${VERSION/./}.zip
-cd $PRGNAM-$VERSION/Deskew
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -55,8 +55,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 {} \;
+cd Scripts
chmod 755 compile.sh
./compile.sh
+cd ..
install -m 0755 -o root -g root Bin/deskew $PKG/usr/bin/
diff --git a/graphics/deskew/deskew.info b/graphics/deskew/deskew.info
index 931110d58b..d8b3eea7b3 100644
--- a/graphics/deskew/deskew.info
+++ b/graphics/deskew/deskew.info
@@ -1,8 +1,8 @@
PRGNAM="deskew"
-VERSION="1.25"
-HOMEPAGE="http://galfar.vevb.net/deskew"
-DOWNLOAD="http://galfar.vevb.net/wp/download/deskew-125.zip"
-MD5SUM="e48206c203a9569ad7334707d6786ed0"
+VERSION="1.30"
+HOMEPAGE="https://galfar.vevb.net/deskew"
+DOWNLOAD="https://github.com/galfar/deskew/archive/v1.30/deskew-1.30.tar.gz"
+MD5SUM="de0d3dd9f93f09c86b03496f52cf5281"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fpc"
diff --git a/graphics/draw.io/draw.io.SlackBuild b/graphics/draw.io/draw.io.SlackBuild
index 4aaee0015f..ed9834aa11 100644
--- a/graphics/draw.io/draw.io.SlackBuild
+++ b/graphics/draw.io/draw.io.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+# 2019/12/22 - Updated to upstream V12.4.2
# 2019/09/08 - Updated to upstream V11.2.5
#
PRGNAM=draw.io
-VERSION=${VERSION:-11.2.5}
+VERSION=${VERSION:-12.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/draw.io/draw.io.info b/graphics/draw.io/draw.io.info
index f213a00c21..a81d7980c8 100644
--- a/graphics/draw.io/draw.io.info
+++ b/graphics/draw.io/draw.io.info
@@ -1,10 +1,10 @@
PRGNAM="draw.io"
-VERSION="11.2.5"
+VERSION="12.4.2"
HOMEPAGE="https://www.draw.io"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/jgraph/drawio-desktop/releases/download/v11.2.5/draw.io-x86_64-11.2.5.rpm"
-MD5SUM_x86_64="fddbe8904286079c4b441c28e8c9d251"
+DOWNLOAD_x86_64="https://github.com/jgraph/drawio-desktop/releases/download/v12.4.2/draw.io-x86_64-12.4.2.rpm"
+MD5SUM_x86_64="5fc8ed1133e38e4179ee2ad3442e9659"
REQUIRES=""
MAINTAINER="Wayne Cuddy"
EMAIL="wcuddy@gmail.com"
diff --git a/graphics/draw.io/slack-desc b/graphics/draw.io/slack-desc
index 643ba2dbfe..e7f9df28df 100644
--- a/graphics/draw.io/slack-desc
+++ b/graphics/draw.io/slack-desc
@@ -17,4 +17,3 @@ draw.io: OneDrive and Trello. Supports exporting diagrams to several popular
draw.io: formats. Can be used online at https://www.draw.io or offline using
draw.io: this package.
draw.io:
-draw.io:
diff --git a/graphics/embree/README b/graphics/embree/README
new file mode 100644
index 0000000000..85e4ce2ad7
--- /dev/null
+++ b/graphics/embree/README
@@ -0,0 +1,43 @@
+Intel® Embree is a collection of high-performance ray tracing kernels,
+developed at Intel. The target users of Intel® Embree are graphics
+application engineers who want to improve the performance of their
+photo-realistic rendering application by leveraging Embree's
+performance- optimized ray tracing kernels. The kernels are optimized
+for the latest Intel® processors with support for SSE, AVX, AVX2, and
+AVX-512 instructions.
+
+Intel® Embree supports runtime code selection to choose the traversal
+and build algorithms that best matches the instruction set of your CPU.
+We recommend using Intel® Embree through its API to get the highest
+benefit from future improvements. Intel® Embree is released as Open
+Source under the Apache 2.0 license.
+
+Intel® Embree supports applications written with the Intel® SPMD Program
+Compiler (ISPC, https://ispc.github.io/) by also providing an ISPC
+interface to the core ray tracing algorithms. This makes it possible to
+write a renderer in ISPC that automatically vectorizes and leverages
+SSE, AVX, AVX2, and AVX-512 instructions. ISPC also supports runtime
+code selection, thus ISPC will select the best code path for your
+application.
+
+Intel® Embree contains algorithms optimized for incoherent workloads
+(e.g. Monte Carlo ray tracing algorithms) and coherent workloads (e.g.
+primary visibility and hard shadow rays).
+
+The single-ray traversal kernels of Intel® Embree provide high
+performance for incoherent workloads and are very easy to integrate into
+existing rendering applications. Using the stream kernels, even higher
+performance for incoherent rays is possible, but integration might
+require significant code changes to the application to use the stream
+paradigm. In general for coherent workloads, the stream mode with
+coherent flag set gives the best performance.
+
+Intel® Embree also supports dynamic scenes by implementing
+high-performance two-level spatial index structure construction
+algorithms.
+
+In addition to the ray tracing kernels, Intel® Embree provides some
+Embree Tutorials to demonstrate how to use the Embree API.
+
+Optional dependency: Intel® Threading Building Blocks (TBB) & Intel®
+SPMD Program Compiler (ISPC)
diff --git a/graphics/embree/embree.SlackBuild b/graphics/embree/embree.SlackBuild
new file mode 100644
index 0000000000..6a70fc784a
--- /dev/null
+++ b/graphics/embree/embree.SlackBuild
@@ -0,0 +1,144 @@
+#!/bin/sh
+
+# Slackware build script for embree
+
+# Copyright 2006-2014 Robby Workman, Northport, AL, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=embree
+VERSION=${VERSION:-3.12.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?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 {} \;
+
+#EMBREE_API_NAMESPACE:STRING=
+#EMBREE_BACKFACE_CULLING:BOOL=OFF
+#EMBREE_COMPACT_POLYS:BOOL=OFF
+#EMBREE_CURVE_SELF_INTERSECTION_AVOIDANCE_FACTOR:STRING=2.0
+#EMBREE_FILTER_FUNCTION:BOOL=ON
+#EMBREE_GEOMETRY_CURVE:BOOL=ON
+#EMBREE_GEOMETRY_GRID:BOOL=ON
+#EMBREE_GEOMETRY_INSTANCE:BOOL=ON
+#EMBREE_GEOMETRY_POINT:BOOL=ON
+#EMBREE_GEOMETRY_QUAD:BOOL=ON
+#EMBREE_GEOMETRY_SUBDIVISION:BOOL=ON
+#EMBREE_GEOMETRY_TRIANGLE:BOOL=ON
+#EMBREE_GEOMETRY_USER:BOOL=ON
+#EMBREE_IGNORE_CMAKE_CXX_FLAGS:BOOL=ON
+#EMBREE_IGNORE_INVALID_RAYS:BOOL=OFF
+#EMBREE_INSTALL_DEPENDENCIES:BOOL=OFF
+#EMBREE_ISA_AVX:BOOL=ON
+#EMBREE_ISA_AVX2:BOOL=ON
+#EMBREE_ISA_AVX512KNL:BOOL=OFF
+#EMBREE_ISA_AVX512SKX:BOOL=ON
+#EMBREE_ISA_SSE2:BOOL=ON
+#EMBREE_ISA_SSE42:BOOL=ON
+#EMBREE_ISPC_EXECUTABLE:FILEPATH=EMBREE_ISPC_EXECUTABLE-NOTFOUND
+#EMBREE_ISPC_SUPPORT:BOOL=ON
+#EMBREE_LIBRARY_NAME:STRING=embree3
+#EMBREE_MAX_INSTANCE_LEVEL_COUNT:STRING=1
+#EMBREE_MAX_ISA:STRING=NONE
+#EMBREE_MIN_WIDTH:BOOL=OFF
+#EMBREE_RAY_MASK:BOOL=OFF
+#EMBREE_RAY_PACKETS:BOOL=ON
+#EMBREE_STACK_PROTECTOR:BOOL=OFF
+#EMBREE_STATIC_LIB:BOOL=OFF
+#EMBREE_STAT_COUNTERS:BOOL=OFF
+#EMBREE_TASKING_SYSTEM:STRING=TBB
+#EMBREE_TUTORIALS:BOOL=ON
+#EMBREE_ZIP_MODE:BOOL=OFF
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc \
+ -DEMBREE_ISPC_SUPPORT=OFF \
+ -DEMBREE_TASKING_SYSTEM=OFF \
+ -DEMBREE_TUTORIALS=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || 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 \
+ third-party-programs-TBB.txt third-party-programs.txt readme.pdf README.md LICENSE.txt CHANGELOG.md doc/* \
+ $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 {} \;
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/embree/embree.info b/graphics/embree/embree.info
new file mode 100644
index 0000000000..e5130250b4
--- /dev/null
+++ b/graphics/embree/embree.info
@@ -0,0 +1,10 @@
+PRGNAM="embree"
+VERSION="3.12.1"
+HOMEPAGE="https://www.embree.org"
+DOWNLOAD="https://github.com/embree/embree/archive/v3.12.1/embree-3.12.1.tar.gz"
+MD5SUM="2d24fa44db63ae1900cf6279140abd8a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="glfw3"
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/embree/slack-desc b/graphics/embree/slack-desc
new file mode 100644
index 0000000000..6f4f28dc10
--- /dev/null
+++ b/graphics/embree/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+embree: embree (ray tracing kernels)
+embree:
+embree: Intel® Embree is a collection of high-performance ray tracing kernels,
+embree: developed at Intel.
+embree: The target users of Intel® Embree are graphics application engineers
+embree: who want to improve the performance of their photo-realistic rendering
+embree: application by leveraging Embree's performance-optimized ray tracing
+embree: kernels.
+embree:
+embree: Homepage: https://www.embree.org/
+embree:
diff --git a/graphics/entangle/entangle.info b/graphics/entangle/entangle.info
index cf5f0d0499..baff7b6a35 100644
--- a/graphics/entangle/entangle.info
+++ b/graphics/entangle/entangle.info
@@ -6,5 +6,5 @@ MD5SUM="bdb5fab70276ea27c4614fecfa5c1d86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libgexiv2 libpeas"
-MAINTAINER="Soydaner Ulker"
-EMAIL="soydaner@kahverengi.com"
+MAINTAINER="Philip Lacroix"
+EMAIL="slackph at posteo dot de"
diff --git a/graphics/exif/exif.SlackBuild b/graphics/exif/exif.SlackBuild
index 191007568e..c18c99c8a4 100644
--- a/graphics/exif/exif.SlackBuild
+++ b/graphics/exif/exif.SlackBuild
@@ -2,34 +2,34 @@
# Slackware build script for exif
-# Copyright 2012 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2012-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=exif
-VERSION=${VERSION:-0.6.21}
+VERSION=${VERSION:-0.6.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
@@ -45,6 +45,9 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
@@ -62,16 +65,11 @@ 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 {} \;
+chmod -R u+w,go-w,a+rX-st .
-CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -80,13 +78,16 @@ CFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-dependency-tracking \
--disable-static \
--build=$ARCH-slackware-linux \
+ CFLAGS="$SLKCFLAGS" \
make
+make check
make install-strip DESTDIR=$PKG
-find $PKG/usr/man -type f -exec gzip -9 {} \;
+find $PKG/usr/man -type f -exec gzip -9 {} +
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/exif/exif.info b/graphics/exif/exif.info
index dbdff768ef..60c9dcb2c9 100644
--- a/graphics/exif/exif.info
+++ b/graphics/exif/exif.info
@@ -1,8 +1,8 @@
PRGNAM="exif"
-VERSION="0.6.21"
-HOMEPAGE="http://libexif.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libexif/exif-0.6.21.tar.bz2"
-MD5SUM="0e744471b8c3b3b1534d5af38bbf6408"
+VERSION="0.6.22"
+HOMEPAGE="https://libexif.github.io/"
+DOWNLOAD="https://github.com/libexif/exif/releases/download/exif-0_6_22-release/exif-0.6.22.tar.xz"
+MD5SUM="bc600b12c50fbb26f025819164d963e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/fbgrab/README b/graphics/fbgrab/README
new file mode 100644
index 0000000000..aa736ff03d
--- /dev/null
+++ b/graphics/fbgrab/README
@@ -0,0 +1,2 @@
+FBGrab is a framebuffer screenshot program, capturing the linux
+frambuffer and converting it to a png-picture.
diff --git a/graphics/fbgrab/fbgrab.SlackBuild b/graphics/fbgrab/fbgrab.SlackBuild
new file mode 100644
index 0000000000..c232b5b4b9
--- /dev/null
+++ b/graphics/fbgrab/fbgrab.SlackBuild
@@ -0,0 +1,90 @@
+#!/bin/sh
+
+# Slackware build script for fbgrab
+
+# Copyright 2020 Serg Bormant
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=fbgrab
+VERSION=${VERSION:-1.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 {} \;
+
+sed -i -e 's,/usr/share/man/,/usr/man/,' Makefile
+CFLAGS="$SLKCFLAGS" \
+ make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ 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/graphics/fbgrab/fbgrab.info b/graphics/fbgrab/fbgrab.info
new file mode 100644
index 0000000000..6ed406b0fc
--- /dev/null
+++ b/graphics/fbgrab/fbgrab.info
@@ -0,0 +1,10 @@
+PRGNAM="fbgrab"
+VERSION="1.4"
+HOMEPAGE="https://github.com/GunnarMonell/fbgrab"
+DOWNLOAD="https://github.com/GunnarMonell/fbgrab/archive/1.4/fbgrab-1.4.tar.gz"
+MD5SUM="5a1df4d79b335ece8d9cf88de7e3e898"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Serg Bormant"
+EMAIL="bormant@mail.ru"
diff --git a/graphics/fbgrab/slack-desc b/graphics/fbgrab/slack-desc
new file mode 100644
index 0000000000..18d9208227
--- /dev/null
+++ b/graphics/fbgrab/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fbgrab: fbgrab (framebuffer screenshot program)
+fbgrab:
+fbgrab: FBGrab is a framebuffer screenshot program, capturing the linux
+fbgrab: frambuffer and converting it to a png-picture.
+fbgrab:
+fbgrab: Homepage: https://github.com/GunnarMonell/fbgrab
+fbgrab:
+fbgrab:
+fbgrab:
+fbgrab:
+fbgrab:
diff --git a/graphics/fbpic/fbpic.SlackBuild b/graphics/fbpic/fbpic.SlackBuild
index 1bc2e5358f..516c911975 100644
--- a/graphics/fbpic/fbpic.SlackBuild
+++ b/graphics/fbpic/fbpic.SlackBuild
@@ -4,9 +4,13 @@
# Written by K.D.Hedger kdhedger@yahoo.co.uk
+# 20210122 bkw: modified by SlackBuilds.org: This has been broken
+# for years and nobody complained. Made it build, and use standard
+# SLKCFLAGS.
+
PRGNAM=fbpic
VERSION=${VERSION:-0.0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -29,32 +33,29 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O3 -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-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
+mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM.tgz
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+chmod 644 *
-CXXFLAGS="$SLKCFLAGS" \
-make
+make CXXFLAGS="$SLKCFLAGS"
make install PREFIX=/usr 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/fbpic/fbpic.info b/graphics/fbpic/fbpic.info
index 8962c50070..b0608deb5f 100644
--- a/graphics/fbpic/fbpic.info
+++ b/graphics/fbpic/fbpic.info
@@ -1,6 +1,6 @@
PRGNAM="fbpic"
VERSION="0.0.2"
-HOMEPAGE="http://keithhedger.hostingsiteforfree.com"
+HOMEPAGE="http://web.archive.org/web/20140723200425/http://keithhedger.hostingsiteforfree.com/pages/apps.html#fbpic"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/fbpic.tgz"
MD5SUM="74d77dee97a4004cc165a34b98cfb4c6"
DOWNLOAD_x86_64=""
diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild
index f1f3ee8052..4873d18f5a 100644
--- a/graphics/feh/feh.SlackBuild
+++ b/graphics/feh/feh.SlackBuild
@@ -5,7 +5,7 @@
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# Copyright 2011-2012 Grigorios Bouzakis <grbzks@imap.cc>
# Copyright 2014-2015 Luka Novsak <lnovsak@gmail.com>
-# Copyright 2017-2019 Hunter Sezen <orbea@riseup.net>
+# Copyright 2017-2021 Hunter Sezen <orbea@riseup.net>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -24,7 +24,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=feh
-VERSION=${VERSION:-3.2.1}
+VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,10 +71,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 {} \;
-[ "${EXIF:=0}" != 0 ] && EXIF=1
-[ "${HELP:=0}" != 0 ] && HELP=1
-[ "${INOTIFY:=0}" != 0 ] && INOTIFY=1
-[ "${STAT64:=0}" != 0 ] && STAT64=1
+[ "${EXIF:=0}" = 0 ] || EXIF=1
+[ "${HELP:=0}" = 0 ] || HELP=1
+[ "${INOTIFY:=0}" = 0 ] || INOTIFY=1
+[ "${STAT64:=0}" = 0 ] || STAT64=1
CFLAGS="$SLKCFLAGS" \
make \
diff --git a/graphics/feh/feh.info b/graphics/feh/feh.info
index 2c50e1fc0b..5be6bc0044 100644
--- a/graphics/feh/feh.info
+++ b/graphics/feh/feh.info
@@ -1,8 +1,8 @@
PRGNAM="feh"
-VERSION="3.2.1"
+VERSION="3.6.1"
HOMEPAGE="https://feh.finalrewind.org"
-DOWNLOAD="https://feh.finalrewind.org/feh-3.2.1.tar.bz2"
-MD5SUM="37639abfcc7e8a24a35528bdc5b83d32"
+DOWNLOAD="https://feh.finalrewind.org/feh-3.6.1.tar.bz2"
+MD5SUM="0dd986d77805cd306a81864c69cf040c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"
diff --git a/graphics/findimagedupes/findimagedupes.SlackBuild b/graphics/findimagedupes/findimagedupes.SlackBuild
index 9519209a71..1f0d89034b 100644
--- a/graphics/findimagedupes/findimagedupes.SlackBuild
+++ b/graphics/findimagedupes/findimagedupes.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=findimagedupes
-VERSION=${VERSION:-2.18}
+VERSION=${VERSION:-2.19}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -20,12 +20,13 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+rm -rf $PKG $TMP/$PRGNAM
+mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
+cd $TMP/$PRGNAM
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+# 2.18 has an enclosing dir in the tarball, 2.19 doesn't, this worx with both:
+[ -d $PRGNAM-$VERSION ] && cd $PRGNAM-$VERSION
chown -R root:root .
chmod 644 *
@@ -41,7 +42,7 @@ pod2man -s1 --stderr -cSlackBuilds.org -r$VERSION $PRGNAM | \
gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYING history $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* COPYING history $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/findimagedupes/findimagedupes.info b/graphics/findimagedupes/findimagedupes.info
index 2b79d0ddf5..dd45db199d 100644
--- a/graphics/findimagedupes/findimagedupes.info
+++ b/graphics/findimagedupes/findimagedupes.info
@@ -1,8 +1,8 @@
PRGNAM="findimagedupes"
-VERSION="2.18"
+VERSION="2.19"
HOMEPAGE="http://www.jhnc.org/findimagedupes/"
-DOWNLOAD="http://www.jhnc.org/findimagedupes/findimagedupes-2.18.tar.gz"
-MD5SUM="5c353c6e4611e194114d4192c32c6adb"
+DOWNLOAD="http://www.jhnc.org/findimagedupes/findimagedupes-2.19.tar.gz"
+MD5SUM="24886738644e77cb20d78f56f7178ef8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Inline-C perl-file-mimeinfo GraphicsMagick"
diff --git a/graphics/flameshot/README b/graphics/flameshot/README
new file mode 100644
index 0000000000..ac12cec842
--- /dev/null
+++ b/graphics/flameshot/README
@@ -0,0 +1,7 @@
+Powerful yet simple to use screenshot software.
+
+Features:
+ Customizable appearance.
+ In-app screenshot edition.
+ DBus interface.
+ Upload to Imgur.
diff --git a/graphics/flameshot/flameshot.SlackBuild b/graphics/flameshot/flameshot.SlackBuild
new file mode 100644
index 0000000000..1f0df31576
--- /dev/null
+++ b/graphics/flameshot/flameshot.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/sh
+
+# Slackware build script for flameshot
+
+# Copyright 2019 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.
+
+PRGNAM=flameshot
+VERSION=${VERSION:-0.8.5}
+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.?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 {} \;
+
+mkdir -p build
+cd build
+ export "PATH=/opt/cmake-202x/bin:$PATH"
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+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:-tgz}
diff --git a/graphics/flameshot/flameshot.info b/graphics/flameshot/flameshot.info
new file mode 100644
index 0000000000..8ef185bd1e
--- /dev/null
+++ b/graphics/flameshot/flameshot.info
@@ -0,0 +1,10 @@
+PRGNAM="flameshot"
+VERSION="0.8.5"
+HOMEPAGE="https://flameshot.js.org"
+DOWNLOAD="https://github.com/lupoDharkael/flameshot/archive/v0.8.5/flameshot-0.8.5.tar.gz"
+MD5SUM="be843bc62c0955a0aadc2a5dcc66e4b3"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="qt5 cmake-202x"
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/flameshot/slack-desc b/graphics/flameshot/slack-desc
new file mode 100644
index 0000000000..578483cf8d
--- /dev/null
+++ b/graphics/flameshot/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+flameshot: flameshot (screenshot software)
+flameshot:
+flameshot: Powerful yet simple to use screenshot software.
+flameshot:
+flameshot: Features: Customizable appearance. In-app screenshot edition. DBus
+flameshot: interface. Upload to Imgur.
+flameshot:
+flameshot:
+flameshot: Homepage: flameshot.js.org
+flameshot:
+flameshot:
diff --git a/graphics/flpsed/README b/graphics/flpsed/README
index f74832118f..78805bb4a5 100644
--- a/graphics/flpsed/README
+++ b/graphics/flpsed/README
@@ -1,6 +1,8 @@
-flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
-existing elements of a document, but flpsed lets you add arbitrary
-text lines to existing PostScript documents. Added lines can later
-be reedited with flpsed. Using pdftops, which is part of xpdf, one
-can convert PDF documents to PostScript and also add text to them.
-flpsed is useful for filling in forms, adding notes, etcetera.
+flpsed (WYSIWYG PostScript annotator)
+
+flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
+existing elements of a document, but flpsed lets you add arbitrary
+text lines to existing PostScript documents. Added lines can later
+be reedited with flpsed. Using pdftops, which is part of xpdf, one
+can convert PDF documents to PostScript and also add text to them.
+flpsed is useful for filling in forms, adding notes, et cetera.
diff --git a/graphics/flpsed/flpsed.SlackBuild b/graphics/flpsed/flpsed.SlackBuild
index 29e74628b0..80b9bea7a3 100644
--- a/graphics/flpsed/flpsed.SlackBuild
+++ b/graphics/flpsed/flpsed.SlackBuild
@@ -1,14 +1,19 @@
#!/bin/sh
# Slackware build script for flpsed
-# Originally written by Jack Maddox <jackmaddox@gmail.com>
+# Originally written by Jack Maddox <email removed>
# Currently maintained by B. Watson <yalhcru@gmail.com>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201102 bkw: BUILD=2
+# - Include icons in the package
+# - Get rid of INSTALL in doc dir
+# - Homepage went away, use Fedora download and archive.org homepage.
+
PRGNAM=flpsed
VERSION=${VERSION:-0.7.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -47,11 +52,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,11 +71,18 @@ make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README INSTALL COPYING AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README COPYING AUTHORS NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# upstream ships icons but doesn't 'make install' them.
+mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/icons/hicolor/scalable/apps/
+cat $PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+gzip -9c < $PRGNAM.svg > $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svgz
+
mkdir -p $PKG/usr/share/applications
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+sed "/^Icon=\$/s,\$,$PRGNAM," \
+ $CWD/$PRGNAM.desktop > \
+ $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/flpsed/flpsed.info b/graphics/flpsed/flpsed.info
index 63a4e36d36..05c17f7f47 100644
--- a/graphics/flpsed/flpsed.info
+++ b/graphics/flpsed/flpsed.info
@@ -1,7 +1,7 @@
PRGNAM="flpsed"
VERSION="0.7.3"
-HOMEPAGE="http://flpsed.org/flpsed.html"
-DOWNLOAD="http://flpsed.org/flpsed-0.7.3.tar.gz"
+HOMEPAGE="http://web.archive.org/web/20201018005250/https://flpsed.org/flpsed.html"
+DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/flpsed/flpsed-0.7.3.tar.gz/3b7c2ffd349a41c2e484dad3fd3d73d0/flpsed-0.7.3.tar.gz"
MD5SUM="3b7c2ffd349a41c2e484dad3fd3d73d0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/flpsed/slack-desc b/graphics/flpsed/slack-desc
index f51e89dcb6..5600ed01e4 100644
--- a/graphics/flpsed/slack-desc
+++ b/graphics/flpsed/slack-desc
@@ -8,10 +8,10 @@
|-----handy-ruler------------------------------------------------------|
flpsed: flpsed (WYSIWYG PostScript annotator)
flpsed:
-flpsed: flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
+flpsed: flpsed is a WYSIWYG PostScript annotator. You can't remove or modify
flpsed: existing elements of a document, but flpsed lets you add arbitrary
-flpsed: text lines to existing PostScript documents. Added lines can later
-flpsed: be reedited with flpsed. Using pdftops, which is part of xpdf, one
+flpsed: text lines to existing PostScript documents. Added lines can later
+flpsed: be reedited with flpsed. Using pdftops, which is part of xpdf, one
flpsed: can convert PDF documents to PostScript and also add text to them.
flpsed: flpsed is useful for filling in forms, adding notes, etcetera.
flpsed:
diff --git a/graphics/fontforge/README b/graphics/fontforge/README
index 441d7b41f3..218367cd09 100644
--- a/graphics/fontforge/README
+++ b/graphics/fontforge/README
@@ -1,11 +1,7 @@
-FontForge is an outline font editor that lets you create your own postscript,
-truetype, opentype, cid-keyed, multi-master, cff, svg and bitmap (bdf, FON,
-NFNT) fonts, or edit existing ones. It also lets you convert one format to
-another. FontForge has support for many Macintosh font formats.
-
-You can specify an alternate version of freetype on the command line when
-running the script with e.g. FREETYPE=2.4.5 ./fontforge.SlackBuild
-but you will need to manually place that freetype tarball in the slackbuild
-directory.
+FontForge is an outline font editor that lets you create your own
+postscript, truetype, opentype, cid-keyed, multi-master, cff, svg and
+bitmap (bdf, FON, NFNT) fonts, or edit existing ones. It also lets you
+convert one format to another. FontForge has support for many Macintosh
+font formats.
NOTE: please remove previous version before building new version.
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index d7c4155631..0e5952bb93 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -22,19 +22,28 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Currently maintained by David Woodfall <dave@tty1.uk>
+# Currently maintained by David Woodfall <dave@slackbuilds.org>
+#
+# 2020-10-12 20:48:40 +0100:
+# Update to Version ff 20190801, gnulib 20200505~0747bf0
+# Added --without-libuninameslist
PRGNAM=fontforge
-VERSION=${VERSION:-20190317}
+VERSION=${VERSION:-20190801}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ENABLE_BCINT=${ENABLE_BCINT:-yes}
-#FREETYPE=${FREETYPE:-2.6.3}
FREETYPE=${FREETYPE:-2.10.0}
-GNULIB=${GNULIB:-20180621~6979c25}
+GNULIB=${GNULIB:-20200505~0747bf0}
UTHASH=${UTHASH:-2.1.0}
+if [ -e $( echo /var/log/packages/$PRGNAM-*-*-* ) ]; then
+ echo "Please uninstall any previous versions of $PRGNAM first."
+ echo "Exiting."
+ exit 1
+fi
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -75,8 +84,8 @@ chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION freetype-$FREETYPE
cd $PRGNAM-$VERSION
tar xvf $CWD/gnulib_$GNULIB.orig.tar.gz
tar xvf $CWD/uthash-$UTHASH.tar.gz
-mv gnulib-6979c25 gnulib
-mv uthash-$UTHASH uthash
+mv gnulib-"$GNULIB" gnulib
+mv uthash-"$UTHASH" uthash
chown -R root:root gnulib uthash
chmod -R u+w,go+r-w,a-s gnulib uthash
@@ -95,6 +104,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-tile-path \
--enable-static=no \
--enable-shared=yes \
+ --without-libuninameslist \
--build=$ARCH-slackware-linux
make
@@ -113,7 +123,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS INSTALL LICENSE $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
find $PKG/usr/doc -type f -exec chmod 644 {} \;
diff --git a/graphics/fontforge/fontforge.info b/graphics/fontforge/fontforge.info
index 6d14efaac2..50f91001a7 100644
--- a/graphics/fontforge/fontforge.info
+++ b/graphics/fontforge/fontforge.info
@@ -1,18 +1,18 @@
PRGNAM="fontforge"
-VERSION="20190317"
-HOMEPAGE="http://fontforge.sourceforge.net/"
-DOWNLOAD="https://github.com/fontforge/fontforge/archive/20190317/fontforge-20190317.tar.gz \
- http://unrealize.co.uk/source/cidmaps.tgz \
+VERSION="20190801"
+HOMEPAGE="http://fontforge.sourceforge.net"
+DOWNLOAD="https://github.com/fontforge/fontforge/releases/download/20190801/fontforge-20190801.tar.gz \
+ http://studioware.org/files/slackbuilds/source/cidmaps.tgz \
https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.10.0.tar.bz2 \
- http://http.debian.net/debian/pool/main/g/gnulib/gnulib_20180621~6979c25.orig.tar.gz \
+ http://studioware.org/files/slackbuilds/source/gnulib_20200505~0747bf0.orig.tar.gz \
https://github.com/troydhanson/uthash/archive/v2.1.0/uthash-2.1.0.tar.gz"
-MD5SUM="e461181fb446b90b96fcb773da6d87ce \
+MD5SUM="5d845f6092b8c3342473ff64bc8ee70c \
063691163e592515b31514515bb3ce8c \
a717e6925b61b9dda946322ecd278a42 \
- 508cba1d9bf589eefe2979a21a41e80e \
+ 82044230e40ba6b43d0aef70076167e5 \
4d0a33f6393260926032f1fad4bad39a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dave Woodfall"
-EMAIL="dave@tty1.uk"
+EMAIL="dave@slackbuilds.org"
diff --git a/graphics/fontmatrix/README b/graphics/fontmatrix/README
deleted file mode 100644
index d0db4dab95..0000000000
--- a/graphics/fontmatrix/README
+++ /dev/null
@@ -1,13 +0,0 @@
-Fontmatrix is a professional font manager and organiser.
-
-Fontmatrix is a manager built with the kind of features and abilities
-graphic designers, layout professionals along with others have felt
-necessary, but modernized with some new touches.
-
-Fontmatrix provides a font browser, organiser, and manager. It makes it
-easy to tag and group (or sub-group) fonts logically. It has extensive
-GUI support for showing all glyphs in a font, previews of sample text,
-variable sizing, and to reveal advanced Open Type features.
-
-Fontmatrix can also create a PDF catalogue of your fonts for printing or
-reference.
diff --git a/graphics/fontmatrix/fontmatrix.info b/graphics/fontmatrix/fontmatrix.info
deleted file mode 100644
index e006a798e1..0000000000
--- a/graphics/fontmatrix/fontmatrix.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="fontmatrix"
-VERSION="20161216"
-HOMEPAGE="https://github.com/fontmatrix/fontmatrix"
-DOWNLOAD="http://slackermedia.info/slackbuilds/fontmatrix/fontmatrix-20161216.zip"
-MD5SUM="3c2b3bab19a121a9e1e8a9a5d1900a57"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="podofo"
-MAINTAINER="Klaatu"
-EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/fritzing/fritzing.SlackBuild b/graphics/fritzing/fritzing.SlackBuild
index 496ce634bd..5f8d2436a8 100644
--- a/graphics/fritzing/fritzing.SlackBuild
+++ b/graphics/fritzing/fritzing.SlackBuild
@@ -65,6 +65,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-app-master
+rm -rf $PRGNAM-parts-master
unzip $CWD/$PRGNAM-app-master.zip
unzip $CWD/$PRGNAM-parts-master.zip
@@ -75,6 +76,10 @@ find -L . \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Patch for libgti2 vesion >= 1.0.
+patch -p1 < $CWD/libgit2-version.patch
+
qmake-qt5
make
diff --git a/graphics/fritzing/libgit2-version.patch b/graphics/fritzing/libgit2-version.patch
new file mode 100644
index 0000000000..878ee5a348
--- /dev/null
+++ b/graphics/fritzing/libgit2-version.patch
@@ -0,0 +1,23 @@
+From 472951243d70eeb40a53b1f7e16e6eab0588d079 Mon Sep 17 00:00:00 2001
+From: PsikoBlock <rramsch@googlemail.com>
+Date: Fri, 10 Apr 2020 21:41:52 +0200
+Subject: [PATCH] Fix libgit2 version check to allow building with versions >=
+ 1.0
+
+---
+ src/version/partschecker.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/version/partschecker.cpp b/src/version/partschecker.cpp
+index 65daf76e5..36300fe09 100644
+--- a/src/version/partschecker.cpp
++++ b/src/version/partschecker.cpp
+@@ -121,7 +121,7 @@
+ /**
+ * Connect to the remote.
+ */
+-#if LIBGIT2_VER_MINOR > 24
++#if LIBGIT2_VER_MAJOR > 0 || (LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR > 24)
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL, NULL);
+ #elif LIBGIT2_VER_MINOR == 24
+ error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL);
diff --git a/graphics/gcolor2/README b/graphics/gcolor2/README
new file mode 100644
index 0000000000..5a258055af
--- /dev/null
+++ b/graphics/gcolor2/README
@@ -0,0 +1,9 @@
+gcolor2 is a simple color selector that was originally based on gcolor,
+ported to GTK+2 and fitted with a new user interface. It only requires
+GTK+2, so it's not dependent on any specific desktop environment.
+
+It provides the usual color wheel method, input box method, color-picker
+method, and the ability to save user-defined colors.
+
+The list of saved colors is initially filled with the definitions read
+from /usr/share/X11/rgb.txt.
diff --git a/graphics/gcolor2/amd64_segfault.patch b/graphics/gcolor2/amd64_segfault.patch
new file mode 100644
index 0000000000..cd06a8315f
--- /dev/null
+++ b/graphics/gcolor2/amd64_segfault.patch
@@ -0,0 +1,46 @@
+diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN gcolor2-0.4.orig/src/callbacks.c gcolor2-0.4/src/callbacks.c
+--- gcolor2-0.4.orig/src/callbacks.c 2005-07-12 14:06:12.000000000 -0400
++++ gcolor2-0.4/src/callbacks.c 2007-02-17 19:19:38.000000000 -0500
+@@ -4,6 +4,9 @@
+
+ #include <gtk/gtk.h>
+ #include <stdio.h>
++#include <string.h>
++#include <glib.h>
++#include <glib/gprintf.h>
+
+ #include "callbacks.h"
+ #include "interface.h"
+@@ -172,6 +175,9 @@ void on_copy_color_to_clipboard_activate
+ gtk_clipboard_set_text (cb, hex, strlen (hex));
+ }
+
++void add_rgb_file (gchar *filename, gchar *type);
++gchar* get_system_file (void);
++
+ void on_show_system_colors_activate (GtkMenuItem *menuitem, gpointer user_data)
+ {
+ if (gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (menuitem)))
+@@ -266,6 +272,8 @@ void on_save_button_clicked (GtkButton *
+ gtk_widget_destroy (savedialog);
+ }
+
++void add_list_color (gchar *spec, gchar *name, gchar *type, gboolean is_new_color);
++
+ void add_color_to_treeview ()
+ {
+ GtkTreeView *treeview;
+diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c
+--- gcolor2-0.4.orig/src/main.c 2005-07-11 10:55:49.000000000 -0400
++++ gcolor2-0.4/src/main.c 2007-02-17 19:18:23.000000000 -0500
+@@ -4,6 +4,10 @@
+
+ #include <gtk/gtk.h>
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++#include <glib.h>
++#include <glib/gprintf.h>
+
+ #include "interface.h"
+ #include "support.h"
diff --git a/graphics/gcolor2/color_definition_path.patch b/graphics/gcolor2/color_definition_path.patch
new file mode 100644
index 0000000000..60c2830515
--- /dev/null
+++ b/graphics/gcolor2/color_definition_path.patch
@@ -0,0 +1,23 @@
+diff -Naur gcolor2-0.4.orig/src/callbacks.h gcolor2-0.4/src/callbacks.h
+--- gcolor2-0.4.orig/src/callbacks.h 2005-07-11 19:18:59.000000000 -0400
++++ gcolor2-0.4/src/callbacks.h 2008-03-11 03:59:49.000000000 -0400
+@@ -12,6 +12,7 @@
+ #define SYSTEM_FILE_2 "/usr/lib/X11/rgb.txt"
+ #define SYSTEM_FILE_3 "/etc/X11/rgb.txt"
+ #define SYSTEM_FILE_4 "/usr/openwin/lib/X11/rgb.txt"
++#define SYSTEM_FILE_5 "/usr/share/X11/rgb.txt"
+
+ /* about dialog text */
+ #define ABOUT_CREDITS_TEXT "Developer:\n" \
+diff -Naur gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c
+--- gcolor2-0.4.orig/src/main.c 2005-07-11 10:55:49.000000000 -0400
++++ gcolor2-0.4/src/main.c 2008-03-11 04:00:12.000000000 -0400
+@@ -36,6 +36,8 @@
+ sys_filename = SYSTEM_FILE_3;
+ else if (g_file_test (SYSTEM_FILE_4, G_FILE_TEST_EXISTS))
+ sys_filename = SYSTEM_FILE_4;
++ else if (g_file_test (SYSTEM_FILE_5, G_FILE_TEST_EXISTS))
++ sys_filename = SYSTEM_FILE_5;
+ else
+ return FALSE;
+ return TRUE;
diff --git a/graphics/fontmatrix/doinst.sh b/graphics/gcolor2/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/graphics/fontmatrix/doinst.sh
+++ b/graphics/gcolor2/doinst.sh
diff --git a/graphics/gcolor2/gcolor2.SlackBuild b/graphics/gcolor2/gcolor2.SlackBuild
new file mode 100644
index 0000000000..abde646cf7
--- /dev/null
+++ b/graphics/gcolor2/gcolor2.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/sh
+
+# Slackware build script for gcolor2
+#
+# Copyright 2010, 2011 slakmagik <slakmagik@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=gcolor2
+VERSION=${VERSION:-0.4}
+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 {} \;
+
+# add path to rgb.txt color definitions provided by X11:
+patch -p1 < $CWD/color_definition_path.patch
+# fix segfaults on x86_64 and remove some compilation warnings:
+patch -p1 < $CWD/amd64_segfault.patch
+# correct character class definition in configure script:
+sed -i '/gentoo_ltmain_version/s/\[:space:\]/[&]/g' configure
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+install -D -m 644 $CWD/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
+install -D -m 644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog 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
+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/graphics/gcolor2/gcolor2.desktop b/graphics/gcolor2/gcolor2.desktop
new file mode 100644
index 0000000000..1d7e199ee2
--- /dev/null
+++ b/graphics/gcolor2/gcolor2.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=gcolor2
+GenericName=Color Chooser
+Comment=Pick colors via numeric input, color wheel, or named colors
+Icon=gcolor2
+Exec=gcolor2
+Terminal=false
+Categories=Graphics;GTK;
diff --git a/graphics/gcolor2/gcolor2.info b/graphics/gcolor2/gcolor2.info
new file mode 100644
index 0000000000..608caa3ce6
--- /dev/null
+++ b/graphics/gcolor2/gcolor2.info
@@ -0,0 +1,10 @@
+PRGNAM="gcolor2"
+VERSION="0.4"
+HOMEPAGE="http://gcolor2.sourceforge.net/"
+DOWNLOAD="http://downloads.sourceforge.net/gcolor2/gcolor2-0.4.tar.gz"
+MD5SUM="02de9d925ad5921522685f402caec3ec"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Dominik Drobek"
+EMAIL="dominik.drobek (at) o2.pl"
diff --git a/graphics/gcolor2/gcolor2.svg b/graphics/gcolor2/gcolor2.svg
new file mode 100644
index 0000000000..d9de35dee3
--- /dev/null
+++ b/graphics/gcolor2/gcolor2.svg
@@ -0,0 +1,317 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="128"
+ height="128"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.46+devel"
+ sodipodi:docname="gcolor2_icon.inkscape.svg"
+ inkscape:export-filename="/media/shared/jason/Design/GColor2/gcolor2_16.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <defs
+ id="defs4">
+ <linearGradient
+ id="linearGradient3747">
+ <stop
+ id="stop3749"
+ offset="0"
+ style="stop-color:#373737;stop-opacity:1;" />
+ <stop
+ id="stop3751"
+ offset="1"
+ style="stop-color:#181818;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3714">
+ <stop
+ style="stop-color:#a41717;stop-opacity:1;"
+ offset="0"
+ id="stop3716" />
+ <stop
+ style="stop-color:#ff3434;stop-opacity:1;"
+ offset="1"
+ id="stop3718" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3706">
+ <stop
+ style="stop-color:#164fb2;stop-opacity:1;"
+ offset="0"
+ id="stop3708" />
+ <stop
+ style="stop-color:#498bfe;stop-opacity:1;"
+ offset="1"
+ id="stop3710" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3700">
+ <stop
+ id="stop3702"
+ offset="0"
+ style="stop-color:#01a600;stop-opacity:1;" />
+ <stop
+ id="stop3704"
+ offset="1"
+ style="stop-color:#44e143;stop-opacity:1;" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective2866"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3700"
+ id="linearGradient3698"
+ x1="98.392853"
+ y1="1010.7549"
+ x2="76.557144"
+ y2="995.75507"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3706"
+ id="linearGradient3712"
+ x1="63.392567"
+ y1="940.02802"
+ x2="60.180958"
+ y2="968.79077"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.000833,0,0,0.9372383,-0.05250858,61.692071)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3714"
+ id="linearGradient3720"
+ x1="21.657143"
+ y1="1010.2193"
+ x2="43.92857"
+ y2="994.505"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3706"
+ id="linearGradient3724"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0023015,0,0,0.87269084,-0.14376568,122.31164)"
+ x1="63.392567"
+ y1="940.02802"
+ x2="60.180958"
+ y2="968.79077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3706"
+ id="linearGradient3732"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.000833,0,0,0.9372383,-0.05250858,-862.67013)"
+ x1="63.392567"
+ y1="940.02802"
+ x2="60.180958"
+ y2="968.79077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3706"
+ id="linearGradient3359"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0023015,0,0,0.87269084,-0.14376568,122.31164)"
+ x1="63.392567"
+ y1="940.02802"
+ x2="60.180958"
+ y2="968.79077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3700"
+ id="linearGradient3361"
+ gradientUnits="userSpaceOnUse"
+ x1="98.392853"
+ y1="1010.7549"
+ x2="76.557144"
+ y2="995.75507" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3714"
+ id="linearGradient3363"
+ gradientUnits="userSpaceOnUse"
+ x1="21.657143"
+ y1="1010.2193"
+ x2="43.92857"
+ y2="994.505" />
+ <inkscape:perspective
+ id="perspective2847"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <filter
+ inkscape:collect="always"
+ id="filter3644">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="1.7270736"
+ id="feGaussianBlur3646" />
+ </filter>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3706"
+ id="linearGradient3656"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0023015,0,0,0.87269084,-0.14376568,122.31164)"
+ x1="63.392567"
+ y1="940.02802"
+ x2="60.180958"
+ y2="968.79077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3700"
+ id="linearGradient3658"
+ gradientUnits="userSpaceOnUse"
+ x1="98.392853"
+ y1="1010.7549"
+ x2="76.557144"
+ y2="995.75507" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3714"
+ id="linearGradient3660"
+ gradientUnits="userSpaceOnUse"
+ x1="21.657143"
+ y1="1010.2193"
+ x2="43.92857"
+ y2="994.505" />
+ <filter
+ inkscape:collect="always"
+ id="filter3700">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="2.1960711"
+ id="feGaussianBlur3702" />
+ </filter>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3706"
+ id="linearGradient3704"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0023015,0,0,0.87269084,-0.14376568,122.31164)"
+ x1="63.392567"
+ y1="940.02802"
+ x2="60.180958"
+ y2="968.79077" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3700"
+ id="linearGradient3707"
+ gradientUnits="userSpaceOnUse"
+ x1="98.392853"
+ y1="1010.7549"
+ x2="76.557144"
+ y2="995.75507" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3714"
+ id="linearGradient3709"
+ gradientUnits="userSpaceOnUse"
+ x1="21.657143"
+ y1="1010.2193"
+ x2="43.92857"
+ y2="994.505" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="2.8284271"
+ inkscape:cx="130.99559"
+ inkscape:cy="55.214658"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1280"
+ inkscape:window-height="752"
+ inkscape:window-x="0"
+ inkscape:window-y="25"
+ inkscape:window-maximized="1"
+ inkscape:showpageshadow="false"
+ width="300px"
+ inkscape:snap-grids="false"
+ inkscape:snap-to-guides="false"
+ inkscape:snap-global="false" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-924.3622)">
+ <image
+ sodipodi:absref="/media/shared/jason/Design/GColor2/resources/icon.png"
+ xlink:href="resources/icon.png"
+ y="930.21899"
+ x="142.2603"
+ id="image2868"
+ height="111.69012"
+ width="111.69012" />
+ <path
+ style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;opacity:0.4;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:4;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;filter:url(#filter3700);enable-background:accumulate;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
+ d="m 62.5,60.75 c -16.76191,2.117559 -32.597128,-4.141493 -37.936257,12.568852 -4.87823,5.160321 -5.509144,24.033359 -4.259817,23.891107 2.453386,2.1576 20.768542,16.475321 33.301669,27.332521 2.915159,2.5254 12.399696,3.5665 16.573331,0 4.263079,-3.6431 31.106044,-25.894679 35.680954,-29.234767 2.37106,-1.731082 -4.13957,-18.182618 -6.938741,-20.278902 C 83.653082,63.784781 89.555224,59.908179 62.5,60.75 z"
+ transform="matrix(1.0246691,0,0,0.98834997,-0.26608386,919.87121)"
+ id="path2900-2"
+ sodipodi:nodetypes="cccssscc" />
+ <path
+ style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans"
+ d="m 61.875092,927.19287 c -14.626739,8.03534 -41.07439,21.96388 -43.179583,23.12272 -2.235482,1.23054 -3.126151,2.03503 -2.795551,4.06724 0.35754,2.19783 0.952266,33.77384 1.172747,51.94127 0.04727,3.8949 0.515266,4.0828 2.977305,6.2048 2.378203,2.0498 23.448787,17.9951 35.597839,28.3097 2.825825,2.3991 8.711673,3.4139 12.757408,0.025 4.132437,-3.4609 37.229103,-27.9031 39.297853,-29.6626 2.15206,-1.8305 3.21097,-4.6041 3.21097,-7.9607 0,-17.27711 0.54294,-42.13201 0.502,-47.42021 -0.041,-5.28963 -2.19395,-5.65805 -4.58713,-6.80279 -2.53392,-1.21207 -24.369811,-13.83956 -37.549542,-21.41354 -2.746613,-1.57838 -5.426745,-1.49778 -7.404316,-0.41139 l 0,-10e-5 z"
+ id="path2900"
+ sodipodi:nodetypes="czzszszzszzssc" />
+ <g
+ id="g3354"
+ transform="matrix(0.96935521,0,0,0.950016,3.5493362,46.731044)">
+ <path
+ style="fill:url(#linearGradient3704);fill-opacity:1;stroke:#0e19a9;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 19.906876,953.66497 43.697256,-23.53875 40.239008,23.73834 -43.920614,26.44792 -40.01565,-26.64751 z"
+ id="path3722"
+ sodipodi:nodetypes="ccccc" />
+ <path
+ sodipodi:nodetypes="cccccc"
+ style="fill:url(#linearGradient3707);fill-opacity:1;stroke:#056500;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 62.682816,986.11364 0.183671,55.88716 43.200673,-32.1396 0.71172,-51.78048 -43.91752,28.21149 -0.178544,-0.17857 z"
+ id="path3726" />
+ <path
+ sodipodi:nodetypes="ccccc"
+ style="fill:url(#linearGradient3709);fill-opacity:1;stroke:#5d0000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="M 17.876512,960.23871 18.626133,1012 l 38.497353,30.3429 0.714287,-56.40161 -39.961261,-25.70258 z"
+ id="path3728" />
+ </g>
+ </g>
+</svg>
diff --git a/graphics/gcolor2/slack-desc b/graphics/gcolor2/slack-desc
new file mode 100644
index 0000000000..4bad1ac240
--- /dev/null
+++ b/graphics/gcolor2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gcolor2: gcolor2 (GTK+2 color selector)
+gcolor2:
+gcolor2: gcolor2 is a simple color selector application that is not dependent
+gcolor2: on any specific desktop environment.
+gcolor2:
+gcolor2: It provides the color wheel method, input box method, color-picker
+gcolor2: method, and the ability to save user-defined colors.
+gcolor2:
+gcolor2: Homepage: http://gcolor2.sourceforge.net/
+gcolor2:
+gcolor2:
diff --git a/graphics/gdk-pixbuf-psd/README b/graphics/gdk-pixbuf-psd/README
new file mode 100644
index 0000000000..f518211a31
--- /dev/null
+++ b/graphics/gdk-pixbuf-psd/README
@@ -0,0 +1,20 @@
+gdk-pixbuf-psd (gdk-pixbuf2 loader for Photoshop PSD files)
+
+This project aims to provide a GdkPixbuf loader for the PSD file format.
+
+GdkPixbuf is part of GTK and applications like Eye of GNOME and gThumb use
+it to handle image loading. The loader provided by this project will let
+those applications open PSD images and enable thumbnails in nautilus, too.
+
+The loader supports:
+- RGB and CYMK images
+- RLE compression
+- 8 and 16 bit color depths
+
+This implementation is based on this specification [1] and PHP PSD Reader [2].
+
+[1] http://www.fileformat.info/format/psd/egff.htm
+[2] http://www.kingsquare.nl/phppsdreader
+
+Installing this allows qiv to display PSD images. It should work for geeqie
+as well, but seems to have problems.
diff --git a/graphics/gdk-pixbuf-psd/doinst.sh b/graphics/gdk-pixbuf-psd/doinst.sh
new file mode 100644
index 0000000000..364414cfa1
--- /dev/null
+++ b/graphics/gdk-pixbuf-psd/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
+ /usr/bin/update-gdk-pixbuf-loaders >/dev/null 2>&1
+fi
diff --git a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
new file mode 100644
index 0000000000..206c20e956
--- /dev/null
+++ b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
@@ -0,0 +1,81 @@
+#!/bin/sh
+
+# Slackware build script for gdk-pixbuf-psd
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=gdk-pixbuf-psd
+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 -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+autoreconf -if
+
+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
+# NEWS is a 0-byte placeholder.
+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
+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/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info
new file mode 100644
index 0000000000..47664530bf
--- /dev/null
+++ b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info
@@ -0,0 +1,10 @@
+PRGNAM="gdk-pixbuf-psd"
+VERSION="0.1.0"
+HOMEPAGE="https://cgit.sukimashita.com/gdk-pixbuf-psd.git/"
+DOWNLOAD="https://cgit.sukimashita.com/gdk-pixbuf-psd.git/snapshot/gdk-pixbuf-psd-0.1.0.tar.bz2"
+MD5SUM="cdfc06fa261cac2025a7346fef9a2a22"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/gdk-pixbuf-psd/slack-desc b/graphics/gdk-pixbuf-psd/slack-desc
new file mode 100644
index 0000000000..950814a60d
--- /dev/null
+++ b/graphics/gdk-pixbuf-psd/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gdk-pixbuf-psd: gdk-pixbuf-psd (gdk-pixbuf2 loader for Photoshop PSD files)
+gdk-pixbuf-psd:
+gdk-pixbuf-psd: This project aims to provide a GdkPixbuf loader for the PSD file
+gdk-pixbuf-psd: format.
+gdk-pixbuf-psd:
+gdk-pixbuf-psd: GdkPixbuf is part of GTK and applications like Eye of GNOME and gThumb
+gdk-pixbuf-psd: use it to handle image loading. The loader provided by this project
+gdk-pixbuf-psd: will let those applications open PSD images and enable thumbnails
+gdk-pixbuf-psd: in nautilus, too.
+gdk-pixbuf-psd:
+gdk-pixbuf-psd: Installing this allows qiv to display PSD images.
diff --git a/graphics/gifsicle/gifsicle.SlackBuild b/graphics/gifsicle/gifsicle.SlackBuild
index 8f7881ef92..e10ad39025 100644
--- a/graphics/gifsicle/gifsicle.SlackBuild
+++ b/graphics/gifsicle/gifsicle.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=gifsicle
-VERSION=${VERSION:-1.91}
+VERSION=${VERSION:-1.92}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,11 +47,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 {} \+
# v1.88 shipped the configure script, v1.89 we have to generate it.
[ -x configure ] || autoreconf -ifv
diff --git a/graphics/gifsicle/gifsicle.info b/graphics/gifsicle/gifsicle.info
index 2f3daeb239..89ea143648 100644
--- a/graphics/gifsicle/gifsicle.info
+++ b/graphics/gifsicle/gifsicle.info
@@ -1,8 +1,8 @@
PRGNAM="gifsicle"
-VERSION="1.91"
+VERSION="1.92"
HOMEPAGE="http://www.lcdf.org/gifsicle/"
-DOWNLOAD="https://github.com/kohler/gifsicle/archive/v1.91/gifsicle-1.91.tar.gz"
-MD5SUM="aa0329e0105bec10f409c19a67579c19"
+DOWNLOAD="https://github.com/kohler/gifsicle/archive/v1.92/gifsicle-1.92.tar.gz"
+MD5SUM="fd31d55d9176607fc5034cb135cf64fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/glslang/README b/graphics/glslang/README
new file mode 100644
index 0000000000..d61381b370
--- /dev/null
+++ b/graphics/glslang/README
@@ -0,0 +1,5 @@
+Khronos-reference front end for GLSL/ESSL, partial front end for HLSL,
+and a SPIR-V generator.
+
+If SPIRV-Tools is not installed a package will be created where illegal
+SPIRV may be generated for HLSL.
diff --git a/graphics/glslang/SPIRV-Tools-shared.patch b/graphics/glslang/SPIRV-Tools-shared.patch
new file mode 100644
index 0000000000..34cb8ad9bc
--- /dev/null
+++ b/graphics/glslang/SPIRV-Tools-shared.patch
@@ -0,0 +1,61 @@
+From 1504af077935a0bfd1b1b59f77d8b1cd89f913b5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= <rverschelde@gmail.com>
+Date: Mon, 10 Dec 2018 13:05:15 +0100
+Subject: [PATCH] CMake: Allow linking against system-installed SPIRV-Tools
+
+Fixes #1585.
+---
+ CMakeLists.txt | 7 ++++++-
+ SPIRV/CMakeLists.txt | 21 +++++++++++++--------
+ 2 files changed, 19 insertions(+), 9 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ada2b8fb9..22243f491 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -320,7 +320,12 @@ if(BUILD_EXTERNAL AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/External)
+ add_subdirectory(External)
+ endif()
+
+-if(NOT TARGET SPIRV-Tools-opt)
++find_package(PkgConfig)
++if(PkgConfig_FOUND)
++ pkg_check_modules(SPIRV-Tools SPIRV-Tools)
++endif()
++# Former would be system-installed, later is from External
++if(NOT SPIRV-Tools_FOUND AND NOT TARGET SPIRV-Tools-opt)
+ set(ENABLE_OPT OFF)
+ endif()
+
+diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt
+index d699daddb..28beb47bb 100644
+--- a/SPIRV/CMakeLists.txt
++++ b/SPIRV/CMakeLists.txt
+@@ -91,14 +91,19 @@ if(WIN32 AND BUILD_SHARED_LIBS)
+ endif()
+
+ if(ENABLE_OPT)
+- target_include_directories(SPIRV
+- PRIVATE ${spirv-tools_SOURCE_DIR}/include
+- PRIVATE ${spirv-tools_SOURCE_DIR}/source
+- )
+- target_link_libraries(SPIRV PRIVATE MachineIndependent SPIRV-Tools-opt)
+- target_include_directories(SPIRV PUBLIC
+- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>
+- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>)
++ if(SPIRV-Tools_FOUND)
++ target_include_directories(SPIRV PUBLIC ${SPIRV-Tools_INCLUDEDIR})
++ target_link_libraries(SPIRV glslang ${SPIRV-Tools_LIBRARIES})
++ else()
++ target_include_directories(SPIRV
++ PRIVATE ${spirv-tools_SOURCE_DIR}/include
++ PRIVATE ${spirv-tools_SOURCE_DIR}/source
++ )
++ target_link_libraries(SPIRV PRIVATE MachineIndependent SPIRV-Tools-opt)
++ target_include_directories(SPIRV PUBLIC
++ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>
++ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>)
++ endif()
+ else()
+ target_link_libraries(SPIRV PRIVATE MachineIndependent)
+ endif(ENABLE_OPT)
diff --git a/graphics/glslang/glslang.SlackBuild b/graphics/glslang/glslang.SlackBuild
new file mode 100644
index 0000000000..db38ad19a9
--- /dev/null
+++ b/graphics/glslang/glslang.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/sh
+
+# Slackware build script for glslang
+
+# Copyright 2020-2021 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=glslang
+VERSION=${VERSION:-11.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 {} \;
+
+# CMake: Allow linking against system-installed SPIRV-Tools
+# https://github.com/KhronosGroup/glslang/issues/1585
+# https://github.com/KhronosGroup/glslang/pull/1621
+patch -p1 < $CWD/SPIRV-Tools-shared.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
+ -DBUILD_EXTERNAL=OFF \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -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 CHANGES.md CODE_OF_CONDUCT.md LICENSE.txt README-spirv-remap.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/graphics/glslang/glslang.info b/graphics/glslang/glslang.info
new file mode 100644
index 0000000000..2fd87c7139
--- /dev/null
+++ b/graphics/glslang/glslang.info
@@ -0,0 +1,10 @@
+PRGNAM="glslang"
+VERSION="11.1.0"
+HOMEPAGE="https://github.com/KhronosGroup/glslang"
+DOWNLOAD="https://github.com/KhronosGroup/glslang/archive/11.1.0/glslang-11.1.0.tar.gz"
+MD5SUM="1688a1e36945d72df960b859ede55078"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="SPIRV-Tools"
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/graphics/glslang/slack-desc b/graphics/glslang/slack-desc
new file mode 100644
index 0000000000..0693d091db
--- /dev/null
+++ b/graphics/glslang/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+glslang: glslang (GLSL/ESSL front end, HLSL front end SPIR-V generator)
+glslang:
+glslang: Khronos-reference front end for GLSL/ESSL, partial front end for HLSL,
+glslang: and a SPIR-V generator.
+glslang:
+glslang: Homepage: https://github.com/KhronosGroup/glslang
+glslang:
+glslang:
+glslang:
+glslang:
+glslang:
diff --git a/graphics/gmic/README b/graphics/gmic/README
index 7d747e8eec..da13ba4daa 100644
--- a/graphics/gmic/README
+++ b/graphics/gmic/README
@@ -7,6 +7,3 @@ convert/manipulate/filter/visualize generic image datasets, ranging from
thus including 2d color images.
This package contains the gimp plug-in.
-
-Note: When building opencv, make sure qt5 is not installed, otherwise
-it will link against it and cause gmic to fail to build.
diff --git a/graphics/gmic/gmic.SlackBuild b/graphics/gmic/gmic.SlackBuild
index 0184332d47..5c54c3b4d7 100644
--- a/graphics/gmic/gmic.SlackBuild
+++ b/graphics/gmic/gmic.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2018 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,8 +21,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gmic
-VERSION=${VERSION:-2.4.2}
-COMMUNITYVERSION=${COMMUNITYVERSION:-b43000765fee484a9156d180e891d7a0e1bf8d0b}
+VERSION=${VERSION:-2.7.5}
+COMMUNITYVERSION=${COMMUNITYVERSION:-5a9aefc05e9585c1198c1d68f4b47ee32ff68ae2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O0 -march=i686 -mtune=i686 -fno-fast-math"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O0 -fPIC -fno-fast-math"
+ SLKCFLAGS="-O3 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O0 -fno-fast-math"
@@ -76,12 +76,31 @@ find -L . \
sed -i -e "s|LIB = lib|LIB = lib$LIBDIRSUFFIX|g" \
-e "s|/share/man/|/man/|g" \
-e "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|g" \
+ -e "s|pkg-config opencv|pkg-config opencv4|" \
-e "s|qmake|qmake-qt5|g" \
src/Makefile
sed -i -e "s|-Ofast|-O2 -fno-fast-math --std=c++11|g" \
gmic-qt/gmic_qt.pro
-make -C src LIB=lib$LIBDIRSUFFIX OPT_CFLAGS="$SLKCFLAGS" all WGET=/bin/true
+# fix build with openCV 4.x
+cd zart
+patch -p1 -i $CWD/zart-opencv4.patch
+cd -
+
+make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} OPT_CFLAGS="$SLKCFLAGS " -j1
+
+cd gmic-qt
+qmake-qt5 GMIC_PATH=../src GMIC_DYNAMIC_LINKING=on HOST=none
+make
+qmake-qt5 GMIC_PATH=../src GMIC_DYNAMIC_LINKING=on HOST=gimp
+make
+qmake-qt5 GMIC_PATH=../src GMIC_DYNAMIC_LINKING=on HOST=krita
+make
+
+cd ../zart
+qmake-qt5 GMIC_PATH=../src GMIC_DYNAMIC_LINKING=off QMAKE_CXXFLAGS+=" -DOPENCV2_HEADERS"
+make
+cd ..
make -C src install LIB=lib$LIBDIRSUFFIX DESTDIR="$PKG" USR="/usr"
rmdir $PKG/usr/share || true
diff --git a/graphics/gmic/gmic.info b/graphics/gmic/gmic.info
index a62c7ee496..3d609c7b98 100644
--- a/graphics/gmic/gmic.info
+++ b/graphics/gmic/gmic.info
@@ -1,12 +1,12 @@
PRGNAM="gmic"
-VERSION="2.4.2"
+VERSION="2.7.5"
HOMEPAGE="https://gmic.eu"
-DOWNLOAD="https://gmic.eu/files/source/gmic_2.4.2.tar.gz \
- https://github.com/dtschump/gmic-community/archive/b43000765fee484a9156d180e891d7a0e1bf8d0b.zip"
-MD5SUM="a43389984672136ab04e0a170ed233b7 \
- 313abfe891858395626a0bbd7c33d786"
+DOWNLOAD="https://gmic.eu/files/source/gmic_2.7.5.tar.gz \
+ https://github.com/dtschump/gmic-community/archive/5a9aefc05e9585c1198c1d68f4b47ee32ff68ae2.zip"
+MD5SUM="d1c9baba2726b8ce8421804c91406a34 \
+ a54fa39b205e6dd712f42a2f3c1f45ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 opencv-legacy"
+REQUIRES="qt5 opencv"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/graphics/gmic/zart-opencv4.patch b/graphics/gmic/zart-opencv4.patch
new file mode 100644
index 0000000000..6396db571a
--- /dev/null
+++ b/graphics/gmic/zart-opencv4.patch
@@ -0,0 +1,59 @@
+diff --git a/include/VideoFileSource.h b/include/VideoFileSource.h
+index 0fda14e..8c15178 100644
+--- a/include/VideoFileSource.h
++++ b/include/VideoFileSource.h
+@@ -50,5 +50,7 @@
+ #include <QString>
+ #include <opencv2/opencv.hpp>
++#include <opencv2/videoio.hpp>
++#include <opencv2/videoio/videoio_c.h>
+ #include "ImageSource.h"
+
+ class VideoFileSource : public ImageSource {
+diff --git a/include/WebcamSource.h b/include/WebcamSource.h
+index 8c1911a..9194385 100644
+--- a/include/WebcamSource.h
++++ b/include/WebcamSource.h
+@@ -53,6 +53,8 @@
+ #include <QString>
+ #include <QVector>
+ #include <opencv2/opencv.hpp>
++#include <opencv2/videoio.hpp>
++#include <opencv2/videoio/videoio_c.h>
+ #include "ImageSource.h"
+
+ class QSplashScreen;
+diff --git a/zart.pro b/zart.pro
+index d98a192..ddb2d3b 100644
+--- a/zart.pro
++++ b/zart.pro
+@@ -19,7 +19,7 @@
+ CONFIG += warn_on
+ QT_CONFIG -= no-pkg-config
+ CONFIG += link_pkgconfig
+-PKGCONFIG += opencv fftw3 zlib
++PKGCONFIG += opencv4 fftw3 zlib
+ # LIBS += -lfftw3_threads
+ DEFINES += cimg_use_fftw3 cimg_use_zlib
+
+diff --git a/src/ImageConverter.cpp b/src/ImageConverter.cpp
+--- a/src/ImageConverter.cpp
++++ b/src/ImageConverter.cpp
+@@ -70,7 +70,7 @@
+
+ cv::Mat tmp(in->cols, in->rows, in->depth());
+
+- cvtColor(*in, tmp, (in->channels() == 1) ? CV_GRAY2RGB : CV_BGR2RGB);
++ cvtColor(*in, tmp, (in->channels() == 1) ? cv::COLOR_GRAY2RGB : cv::COLOR_BGR2RGB);
+
+ const unsigned int w3 = 3 * tmp.cols;
+ unsigned char * src = reinterpret_cast<unsigned char *>(tmp.ptr());
+@@ -106,7 +106,7 @@
+ dst += step;
+ }
+ }
+- cvtColor(**out, **out, CV_BGR2RGB);
++ cvtColor(**out, **out, cv::COLOR_BGR2RGB);
+ }
+
+ void ImageConverter::convert(const cimg_library::CImg<float> & in, QImage * out)
diff --git a/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild
index 559df355e6..e78829d63c 100644
--- a/graphics/gnofract4d/gnofract4d.SlackBuild
+++ b/graphics/gnofract4d/gnofract4d.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnofract4d
-SRCVER=${SRCVER:-V_3_14_1}
-VERSION=$(echo $SRCVER | tr _ . | cut -c3-8)
+VERSION=${VERSION:-3.14.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCVER=V_$(echo $VERSION | tr . _)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
diff --git a/graphics/gource/gource.SlackBuild b/graphics/gource/gource.SlackBuild
index 42d97e0a69..295a723014 100644
--- a/graphics/gource/gource.SlackBuild
+++ b/graphics/gource/gource.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gource
-# Copyright 2013-2018 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
@@ -25,7 +25,7 @@
# generated by grissiom's sbo-dev-helper
PRGNAM=gource
-VERSION=${VERSION:-0.49}
+VERSION=${VERSION:-0.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/gource/gource.info b/graphics/gource/gource.info
index 387285873d..38b29ef469 100644
--- a/graphics/gource/gource.info
+++ b/graphics/gource/gource.info
@@ -1,8 +1,8 @@
PRGNAM="gource"
-VERSION="0.49"
+VERSION="0.51"
HOMEPAGE="https://gource.io"
-DOWNLOAD="https://github.com/acaudwell/Gource/releases/download/gource-0.49/gource-0.49.tar.gz"
-MD5SUM="a5d5895141eae689b3fd6d8fbcbb4c4b"
+DOWNLOAD="https://github.com/acaudwell/Gource/releases/download/gource-0.51/gource-0.51.tar.gz"
+MD5SUM="957723684373e6d9493c4820e9c53399"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_image glm"
diff --git a/graphics/graphene/README b/graphics/graphene/README
new file mode 100644
index 0000000000..08152a6c50
--- /dev/null
+++ b/graphics/graphene/README
@@ -0,0 +1,22 @@
+When creating graphic libraries you most likely end up dealing with
+points and rectangles. If you're particularly unlucky, you may end
+up dealing with affine matrices and 2D transformations. If you're
+writing a graphic library with 3D transformations, though, you are
+going to hit the jackpot: 4x4 matrices, projections, transformations,
+vectors, and quaternions.
+
+Most of this stuff exists, in various forms, in other libraries,
+but it has the major drawback of coming along with the rest of those
+libraries, which may or may not be what you want. Those libraries
+are also available in various languages, as long as those languages
+are C++; again, it may or may not be something you want.
+
+For this reason, I decided to write the thinnest, smallest possible
+layer needed to write a canvas library; given its relative size, and
+the propensity for graphics libraries to have a pun in their name,
+I decided to call it Graphene.
+
+This library provides types and their relative API; it does not deal
+with windowing system surfaces, drawing, scene graphs, or input. You're
+supposed to do that yourself, in your own canvas implementation,
+which is the whole point of writing the library in the first place.
diff --git a/graphics/graphene/graphene.SlackBuild b/graphics/graphene/graphene.SlackBuild
new file mode 100644
index 0000000000..7b0bfa773d
--- /dev/null
+++ b/graphics/graphene/graphene.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/sh
+
+# Slackware build script for graphene
+
+# 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=graphene
+VERSION=${VERSION:-1.10.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.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 [ "${DEBUG:=0}" != 0 ]; then
+ NDEBUG=false
+ RELEASE=debug
+ SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')"
+else
+ NDEBUG=true
+ RELEASE=plain
+fi
+
+# Don't create the __pycache__ directory.
+export PYTHONDONTWRITEBYTECODE=1
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+meson \
+ --prefix=/usr \
+ --libdir=lib${LIBDIRSUFFIX} \
+ -Dinstalled_tests=false \
+ -Dstrip=$NDEBUG \
+ -Db_ndebug=$NDEBUG \
+ -Dbuildtype=$RELEASE \
+ build
+
+"${NINJA:=ninja}" -C build
+DESTDIR=$PKG "$NINJA" -C build install
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CODE_OF_CONDUCT.md CONTRIBUTING.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:-tgz}
diff --git a/graphics/graphene/graphene.info b/graphics/graphene/graphene.info
new file mode 100644
index 0000000000..fcc80acf74
--- /dev/null
+++ b/graphics/graphene/graphene.info
@@ -0,0 +1,10 @@
+PRGNAM="graphene"
+VERSION="1.10.2"
+HOMEPAGE="https://ebassi.github.io/graphene/"
+DOWNLOAD="https://github.com/ebassi/graphene/releases/download/1.10.2/graphene-1.10.2.tar.xz"
+MD5SUM="a2c26c4f44a02ca053e0e9afb63cc94c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="meson"
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/graphics/graphene/slack-desc b/graphics/graphene/slack-desc
new file mode 100644
index 0000000000..2815360bf5
--- /dev/null
+++ b/graphics/graphene/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+graphene: graphene (graphic data types layer)
+graphene:
+graphene: A thin layer of graphic data types.
+graphene:
+graphene: Homepage: https://ebassi.github.io/graphene/
+graphene:
+graphene:
+graphene:
+graphene:
+graphene:
+graphene:
diff --git a/graphics/graphite2/README b/graphics/graphite2/README
index 8084db6fb0..03a0e630a8 100644
--- a/graphics/graphite2/README
+++ b/graphics/graphite2/README
@@ -6,3 +6,5 @@ indicating how to combine and position the letters in complex ways.
Graphite was primarily developed to provide the flexibility needed for
minority languages which often need to be written according to slightly
different rules than well-known languages that use the same script.
+
+python3 is an optional dependency.
diff --git a/graphics/graphite2/graphite2.SlackBuild b/graphics/graphite2/graphite2.SlackBuild
index ed4a1ef360..c047c832bf 100644
--- a/graphics/graphite2/graphite2.SlackBuild
+++ b/graphics/graphite2/graphite2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for graphite2
-# 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
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=graphite2
-VERSION=${VERSION:-1.3.13}
+VERSION=${VERSION:-1.3.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,6 +76,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev ..
make
diff --git a/graphics/graphite2/graphite2.info b/graphics/graphite2/graphite2.info
index b627fa40a6..3402fcc300 100644
--- a/graphics/graphite2/graphite2.info
+++ b/graphics/graphite2/graphite2.info
@@ -1,8 +1,8 @@
PRGNAM="graphite2"
-VERSION="1.3.13"
+VERSION="1.3.14"
HOMEPAGE="http://graphite.sil.org/"
-DOWNLOAD="https://github.com/silnrsi/graphite/releases/download/1.3.13/graphite2-1.3.13.tgz"
-MD5SUM="29616d4f9651706036ca25c111508272"
+DOWNLOAD="https://github.com/silnrsi/graphite/releases/download/1.3.14/graphite2-1.3.14.tgz"
+MD5SUM="1bccb985a7da01092bfb53bb5041e836"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/gscan2pdf/README b/graphics/gscan2pdf/README
new file mode 100644
index 0000000000..c2cbdf489c
--- /dev/null
+++ b/graphics/gscan2pdf/README
@@ -0,0 +1,10 @@
+gscan2pdf - A GUI to produce PDFs or DjVus from scanned documents
+
+A GUI to ease the process of producing a multipage PDF from a scan.
+gscan2pdf should work on almost any Linux/BSD machine.
+
+-> Scan one or several pages in with File/Scan,
+-> Create PDF of selected pages with File/Save.
+
+Run the tests with:
+ MAKETEST=yes ./gscan2pdf.SlackBuild
diff --git a/graphics/gscan2pdf/doinst.sh b/graphics/gscan2pdf/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/graphics/gscan2pdf/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/graphics/gscan2pdf/gscan2pdf.SlackBuild b/graphics/gscan2pdf/gscan2pdf.SlackBuild
new file mode 100644
index 0000000000..2f27d18337
--- /dev/null
+++ b/graphics/gscan2pdf/gscan2pdf.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/sh
+
+# Slackware build script for gscanpdf
+
+# Copyright 2020 M.A.Begue mab974@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=gscan2pdf
+VERSION=${VERSION:-2.11.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+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
+
+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 {} \;
+
+# Build method #1
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+if [ "${MAKETEST:-no}" = "yes" ]; then
+ make test
+fi
+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 \
+ History \
+ $PKG/usr/doc/$PRGNAM-$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/graphics/gscan2pdf/gscan2pdf.info b/graphics/gscan2pdf/gscan2pdf.info
new file mode 100644
index 0000000000..89c1e917ad
--- /dev/null
+++ b/graphics/gscan2pdf/gscan2pdf.info
@@ -0,0 +1,10 @@
+PRGNAM="gscan2pdf"
+VERSION="2.11.0"
+HOMEPAGE="http://gscan2pdf.sourceforge.net/"
+DOWNLOAD="https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/2.11.0/gscan2pdf-2.11.0.tar.xz"
+MD5SUM="8cab16574dd95cab3d7d7c3b5c43ea60"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="perl-glib perl-Gtk3 perl-Image-Sane perl-Image-Magick perl-IPC-System-Simple perl-Date-Calc perl-html-parser perl-Log-Log4perl perl-Try-Tiny perl-Carp-Clan perl-Sub-Override perl-PDF-Builder perl-Proc-ProcessTable perl-Gtk3 perl-Set-IntSpan perl-List-MoreUtils perl-Filesys-Df"
+MAINTAINER="Michel A. BEGUE"
+EMAIL="mab974@gmail.com"
diff --git a/graphics/gscan2pdf/slack-desc b/graphics/gscan2pdf/slack-desc
new file mode 100644
index 0000000000..7d9b8c1965
--- /dev/null
+++ b/graphics/gscan2pdf/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gscan2pdf: gscan2pdf (A GUI to produce PDFs or DjVus from scanned documents)
+gscan2pdf:
+gscan2pdf: A GUI to ease the process of producing a multipage PDF from a scan.
+gscan2pdf: gscan2pdf should work on almost any Linux/BSD machine.
+gscan2pdf:
+gscan2pdf: -> Scan one or several pages in with File/Scan,
+gscan2pdf: -> Create PDF of selected pages with File/Save.
+gscan2pdf:
+gscan2pdf:
+gscan2pdf:
+gscan2pdf:
diff --git a/graphics/heif-gimp-plugin/README b/graphics/heif-gimp-plugin/README
new file mode 100644
index 0000000000..c72770432e
--- /dev/null
+++ b/graphics/heif-gimp-plugin/README
@@ -0,0 +1,2 @@
+This is a GIMP plugin for loading and saving HEIF images (High
+Efficiency Image File Format).
diff --git a/graphics/wayland-egl/wayland-egl.SlackBuild b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
index b9837647bd..6287e24f73 100644
--- a/graphics/wayland-egl/wayland-egl.SlackBuild
+++ b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for wayland-egl
+# Slackware build script for heif-gimp-plugin
-# Copyright 2017 Duncan Roe, Melbourne, Australia
+# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=wayland-egl
-VERSION=${VERSION:-17.0.4}
+PRGNAM=heif-gimp-plugin
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,8 +60,8 @@ 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/libheif-v$VERSION.tar.gz
+cd $PRGNAM-libheif-v$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,10 +69,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 {} \;
-libtoolize
-aclocal
-autoreconf --install
-
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,18 +79,19 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
+ --disable-static \
--build=$ARCH-slackware-linux
make
-make check
-make install DESTDIR=$PKG
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins
+install -m 0755 -o root -g root src/heif-gimp-plugin \
+ $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared 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
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/heif-gimp-plugin/heif-gimp-plugin.info b/graphics/heif-gimp-plugin/heif-gimp-plugin.info
new file mode 100644
index 0000000000..3866860c74
--- /dev/null
+++ b/graphics/heif-gimp-plugin/heif-gimp-plugin.info
@@ -0,0 +1,10 @@
+PRGNAM="heif-gimp-plugin"
+VERSION="1.1.0"
+HOMEPAGE="https://github.com/strukturag/heif-gimp-plugin"
+DOWNLOAD="https://github.com/strukturag/heif-gimp-plugin/archive/libheif-v1.1.0.tar.gz"
+MD5SUM="27cca588ebc72ebdbfae5b7b5e6ffa61"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libheif"
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"
diff --git a/graphics/heif-gimp-plugin/slack-desc b/graphics/heif-gimp-plugin/slack-desc
new file mode 100644
index 0000000000..404a4480ef
--- /dev/null
+++ b/graphics/heif-gimp-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------------------------------------------------------|
+heif-gimp-plugin: heif-gimp-plugin (HEIF plugin for GIMP)
+heif-gimp-plugin:
+heif-gimp-plugin: This is a GIMP plugin for loading and saving HEIF images (High
+heif-gimp-plugin: Efficiency Image File Format).
+heif-gimp-plugin:
+heif-gimp-plugin:
+heif-gimp-plugin:
+heif-gimp-plugin: Homepage: https://github.com/strukturag/heif-gimp-plugin
+heif-gimp-plugin:
+heif-gimp-plugin:
+heif-gimp-plugin:
diff --git a/graphics/icc_profiles/README b/graphics/icc_profiles/README
new file mode 100644
index 0000000000..d6f090ab2f
--- /dev/null
+++ b/graphics/icc_profiles/README
@@ -0,0 +1,5 @@
+Installs the Rec709 and related ICC Profiles as defined by the ITU
+spec located at https://www.itu.int/rec/R-REC-BT.709-6-201506-I/en
+
+This script installs Creative Commons BY-SA implementations of the ICC
+profiles to /usr/share/color/icc/ITU
diff --git a/graphics/icc_profiles/icc_profiles.SlackBuild b/graphics/icc_profiles/icc_profiles.SlackBuild
new file mode 100644
index 0000000000..bba13c8fd9
--- /dev/null
+++ b/graphics/icc_profiles/icc_profiles.SlackBuild
@@ -0,0 +1,47 @@
+#!/bin/sh
+# Slackware build script for Rec709 and related ITU color profiles
+
+# Copyright 2019 Klaatu | Lawrence, NZ | klaatu@member.fsf.org
+# 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.
+
+PRGNAM=icc_profiles
+SRCNAM="ICC Profiles - hbrendel.com"
+UNION=ITU
+
+VERSION=${VERSION:-2019}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+unzip $CWD/$PRGNAM.zip
+
+install -d $PKG/usr/share/color/icc/$UNION
+install -m644 "${SRCNAM}"/*.icc \
+ $PKG/usr/share/color/icc/$UNION
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/legalcode.txt > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/icc_profiles/icc_profiles.info b/graphics/icc_profiles/icc_profiles.info
new file mode 100644
index 0000000000..bd93ac6e0e
--- /dev/null
+++ b/graphics/icc_profiles/icc_profiles.info
@@ -0,0 +1,10 @@
+PRGNAM="icc_profiles"
+VERSION="2019"
+HOMEPAGE="http://www.color.support"
+DOWNLOAD="http://color.support/files/icc_profiles.zip"
+MD5SUM="b978c75649dd89b3c8c60da2d2ea3c7b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Klaatu"
+EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/icc_profiles/slack-desc b/graphics/icc_profiles/slack-desc
new file mode 100644
index 0000000000..611bc3e0eb
--- /dev/null
+++ b/graphics/icc_profiles/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+icc_profiles: icc_profiles (Rec709 and ITU profiles for color management workflows)
+icc_profiles:
+icc_profiles: ICC Profiles help maintain consistent color across different media
+icc_profiles: and applications. This installs the Rec709 and related profiles
+icc_profiles: as defined by ITU, used in high-definition (HD) video production.
+icc_profiles:
+icc_profiles: The color profiles installed are CC-BY-SA implementations of the
+icc_profiles: ITU specifications.
+icc_profiles:
+icc_profiles: https://www.itu.int/rec/R-REC-BT.709-6-201506-I/en
+icc_profiles: http://color.support/iccprofiles.html
diff --git a/graphics/icc_profiles_from_eci/README b/graphics/icc_profiles_from_eci/README
new file mode 100644
index 0000000000..e94151fb9f
--- /dev/null
+++ b/graphics/icc_profiles_from_eci/README
@@ -0,0 +1,5 @@
+Installs popular ICC Profiles from ECI (European Color Initiative) for
+better color management.
+
+This script installs the ECI's RGB, CMYK, and DeviceLink ICC profiles
+to /usr/share/color/icc/
diff --git a/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
new file mode 100644
index 0000000000..f8ea3ca6f8
--- /dev/null
+++ b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
@@ -0,0 +1,53 @@
+#!/bin/sh
+# Slackware build script for ECI (European Color Initiative) ICC profiles
+
+# Copyright 2019 Klaatu | Lawrence, NZ | klaatu@member.fsf.org
+# 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.
+
+PRGNAM=icc_profiles_from_eci
+VERSION=${VERSION:-"2017_08_27"}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+ECINAM=eciRGB_v2_profile
+CMYKNAM=ecicmyk
+DEVICELINK=ecicmyk_devicelinkprofiles_$(echo $VERSION | tr _ -)
+
+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 $ECINAM ${CMYKNAM}.icc
+
+unzip $CWD/ecirgbv20.zip
+
+install -d $PKG/usr/share/color/icc/
+install -m644 "${ECINAM}"/*.icc \
+ $PKG/usr/share/color/icc/
+
+unzip $CWD/$CMYKNAM.zip -d $PKG/usr/share/color/icc/
+unzip $CWD/$DEVICELINK.zip -d $PKG/usr/share/color/icc/
+rm -rf $PKG/usr/share/color/icc/__MACOSX/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m644 "${ECINAM}"/licence.rtf \
+ $PKG/usr/doc/${PRGNAM}-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/icc_profiles_from_eci/icc_profiles_from_eci.info b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.info
new file mode 100644
index 0000000000..6674ba6baa
--- /dev/null
+++ b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.info
@@ -0,0 +1,14 @@
+PRGNAM="icc_profiles_from_eci"
+VERSION="2017_08_27"
+HOMEPAGE="http://www.eci.org"
+DOWNLOAD="http://www.eci.org/_media/downloads/icc_profiles_from_eci/ecicmyk_devicelinkprofiles_2017-08-27.zip \
+ http://www.eci.org/_media/downloads/icc_profiles_from_eci/ecicmyk.zip \
+ http://www.eci.org/_media/downloads/icc_profiles_from_eci/ecirgbv20.zip"
+MD5SUM="0375b99af01f384731736054a43549c2 \
+ ce4216b5c7012784e3826c0d3ec602bd \
+ 20761e99976df9636bcf87ebe0d7e244"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Klaatu"
+EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/icc_profiles_from_eci/slack-desc b/graphics/icc_profiles_from_eci/slack-desc
new file mode 100644
index 0000000000..800d2917e5
--- /dev/null
+++ b/graphics/icc_profiles_from_eci/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+icc_profiles_from_eci: icc_profiles_from_eci (ECI ICC profiles for color management)
+icc_profiles_from_eci:
+icc_profiles_from_eci: ICC Profiles help maintain consistent color across different media
+icc_profiles_from_eci: and applications. This installs ECI RGB, CMYK, and DeviceLink ICC
+icc_profiles_from_eci: profiles. (For specific profiles, see the website of your printer,
+icc_profiles_from_eci: scanner, or specialty paper and install to /usr/share/color/icc).
+icc_profiles_from_eci:
+icc_profiles_from_eci: http://www.eci.org
+icc_profiles_from_eci:
+icc_profiles_from_eci:
+icc_profiles_from_eci:
diff --git a/graphics/iccprofiles/README b/graphics/iccprofiles/README
deleted file mode 100644
index 8fc5befceb..0000000000
--- a/graphics/iccprofiles/README
+++ /dev/null
@@ -1,15 +0,0 @@
-Installs popular ICC Profiles from Adobe and ECI for color management.
-Obviously there are many other ICC Profiles available for both
-printers and scanners, but for general purpose color management, these
-are fairly ubiquitous.
-
-Krita features built-in color management; GIMP users may wish to
-install separate+ (also available via SlackBuilds.org) for improved
-color management and better CMYK support.
-
-This script installs both Adobe and ECI profiles by default; exclude
-one or the other by passing ADOBE=no or ECI=no to the SlackBuild.
-
-http://www.adobe.com
-http://www.eci.org
-
diff --git a/graphics/iccprofiles/iccprofiles.SlackBuild b/graphics/iccprofiles/iccprofiles.SlackBuild
deleted file mode 100644
index 53c4c883e6..0000000000
--- a/graphics/iccprofiles/iccprofiles.SlackBuild
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for ECI and Adobe ICC Profiles
-# Written by klaatu at klaatu@hackerpublicradio.org
-# with a buncha corrections by thrice`
-
-PRGNAM=iccprofiles
-VERSION=${VERSION:-2011}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-# icc profiles are arch independent
-ARCH=noarch
-
-# get ready for some
-# really bad naming schemes cuz color profile
-# people and artists have no clue about logic or consistency
-
-ADBNAM=Adobe\ ICC\ Profiles\ \(end-user\)
-ECINAM=ECI_Offset_2009
-RGBNAM=eciRGB_v2_profile
-
-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
-
-if [ "${ADOBE}" != "no" ]; then
- unzip $CWD/Adobe*.zip
-
- # install Adobe profiles, without those ugly spaces
- install -d $PKG/usr/share/color/icc/${ADBNAM// /_}-${VERSION}/
- install -m644 "${ADBNAM}"/CMYK\ Profiles/*.icc \
- $PKG/usr/share/color/icc/${ADBNAM// /_}-${VERSION}/
- install -m644 "${ADBNAM}"/RGB\ Profiles/*.icc \
- $PKG/usr/share/color/icc/${ADBNAM// /_}-${VERSION}/
-
- # Add adobe docs
- mkdir -p $PKG/usr/doc/${PRGNAM}-${VERSION}/${ADBNAM// /_}
- install -m644 "${ADBNAM}"/*.pdf \
- $PKG/usr/doc/${PRGNAM}-${VERSION}/${ADBNAM// /_}/
-fi
-
-if [ "$ECI" != "no" ]; then
- unzip $CWD/eci_offset*.zip
- unzip $CWD/ecirgb*.zip
-
- # Install ECI_Offset profiles
- install -d $PKG/usr/share/color/icc/${ECINAM}-${VERSION}/
- install -m644 ${ECINAM}/*.icc \
- $PKG/usr/share/color/icc/${ECINAM}-${VERSION}/
-
- # Add ECI_Offset docs
- mkdir -p $PKG/usr/doc/${PRGNAM}-${VERSION}/${ECINAM}/
- install -m644 ${ECINAM}/*.pdf \
- $PKG/usr/doc/${PRGNAM}-${VERSION}/${ECINAM}/
-
- # Install eciRGB profiles
- install -d $PKG/usr/share/color/icc/${RGBNAM}-${VERSION}/
- install -m644 ${RGBNAM}/*.icc \
- $PKG/usr/share/color/icc/${RGBNAM}-${VERSION}/
-
- # Add RGB docs
- mkdir -p $PKG/usr/doc/${PRGNAM}-${VERSION}/${RGBNAM}/
- install -m644 ${RGBNAM}/*.rtf \
- $PKG/usr/doc/${PRGNAM}-${VERSION}/${RGBNAM}/
-fi
-
-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/graphics/iccprofiles/iccprofiles.info b/graphics/iccprofiles/iccprofiles.info
deleted file mode 100644
index f0934c0bd7..0000000000
--- a/graphics/iccprofiles/iccprofiles.info
+++ /dev/null
@@ -1,14 +0,0 @@
-PRGNAM="iccprofiles"
-VERSION="2011"
-HOMEPAGE="http://www.eci.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/ecirgbv20.zip \
- http://ponce.cc/slackware/sources/repo/eci_offset_2009.zip \
- http://download.adobe.com/pub/adobe/iccprofiles/win/AdobeICCProfilesWin_end-user.zip"
-MD5SUM="20761e99976df9636bcf87ebe0d7e244 \
- cf98d2ed58d8951c3473defa02cea4be \
- 8ef3e7079069449c1e0c01efa7a35c14"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Klaatu"
-EMAIL="klaatu@hackerpublicradio.org"
diff --git a/graphics/iccprofiles/slack-desc b/graphics/iccprofiles/slack-desc
deleted file mode 100644
index d7b100c528..0000000000
--- a/graphics/iccprofiles/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-iccprofiles: iccprofiles (ICC Profiles for color management workflows)
-iccprofiles:
-iccprofiles: ICC Profiles help maintain consistent color across different media
-iccprofiles: and applications. This installs general-purpose Adobe and ECI
-iccprofiles: profiles. (For specific profiles, see the website of your printer,
-iccprofiles: scanner, or specialty paper and install to /usr/share/color/icc)
-iccprofiles:
-iccprofiles: Use ADOBE=no or ECI=no to exclude either the Adobe or ECI profiles.
-iccprofiles:
-iccprofiles: http://www.eci.org
-iccprofiles: http://www.adobe.com
diff --git a/graphics/img2pdf/README b/graphics/img2pdf/README
new file mode 100644
index 0000000000..7da803e3ac
--- /dev/null
+++ b/graphics/img2pdf/README
@@ -0,0 +1,234 @@
+img2pdf
+
+Lossless conversion of raster images to PDF. You should use img2pdf if
+your priorities are (in this order):
+
+ always lossless: the image embedded in the PDF will always have the
+exact same color information for every pixel as the input small: if
+possible, the difference in filesize between the input image and the
+output PDF will only be the overhead of the PDF container itself fast:
+if possible, the input image is just pasted into the PDF document as-is
+without any CPU hungry re-encoding of the pixel data
+
+Conventional conversion software (like ImageMagick) would either:
+
+ not be lossless because lossy re-encoding to JPEG not be small
+because using wasteful flate encoding of raw pixel data not be fast
+because input data gets re-encoded
+
+Another advantage of not having to re-encode the input (in most common
+situations) is, that img2pdf is able to handle much larger input than
+other software, because the raw pixel data never has to be loaded into
+memory.
+
+The following table shows how img2pdf handles different input depending
+on the input file format and image color space. Format
+Colorspace Result JPEG any direct JPEG2000 any
+direct PNG (non-interlaced) any direct TIFF (CCITT Group 4)
+monochrome direct any any except CMYK and monochrome PNG
+Paeth any monochrome CCITT Group 4 any CMYK flate
+
+For JPEG, JPEG2000, non-interlaced PNG and TIFF images with CCITT Group
+4 encoded data, img2pdf directly embeds the image data into the PDF
+without re-encoding it. It thus treats the PDF format merely as a
+container format for the image data. In these cases, img2pdf only
+increases the filesize by the size of the PDF container (typically
+around 500 to 700 bytes). Since data is only copied and not re-encoded,
+img2pdf is also typically faster than other solutions for these input
+formats.
+
+For all other input types, img2pdf first has to transform the pixel data
+to make it compatible with PDF. In most cases, the PNG Paeth filter is
+applied to the pixel data. For monochrome input, CCITT Group 4 is used
+instead. Only for CMYK input no filter is applied before finally
+applying flate compression. Usage
+
+The images must be provided as files because img2pdf needs to seek in
+the file descriptor.
+
+If no output file is specified with the -o/--output option, output will
+be done to stdout. A typical invocation is:
+
+$ img2pdf img1.png img2.jpg -o out.pdf
+
+The detailed documentation can be accessed by running:
+
+$ img2pdf --help
+
+Bugs
+
+ If you find a JPEG, JPEG2000, PNG or CCITT Group 4 encoded TIFF file
+that, when embedded into the PDF cannot be read by the Adobe Acrobat
+Reader, please contact me.
+
+ I have not yet figured out how to determine the colorspace of
+JPEG2000 files. Therefore JPEG2000 files use DeviceRGB by default. For
+JPEG2000 files with other colorspaces, you must explicitly specify it
+using the --colorspace option.
+
+ Input images with alpha channels are not allowed. PDF only supports
+transparency using binary masks but is unable to store 8-bit
+transparency information as part of the image itself. But img2pdf will
+always be lossless and thus, input images must not carry transparency
+information.
+
+ img2pdf uses PIL (or Pillow) to obtain image meta data and to
+convert the input if necessary. To prevent decompression bomb denial of
+service attacks, Pillow limits the maximum number of pixels an input
+image is allowed to have. If you are sure that you know what you are
+doing, then you can disable this safeguard by passing the
+--pillow-limit-break option to img2pdf. This allows one to process even
+very large input images.
+
+Installation
+
+On a Debian- and Ubuntu-based systems, img2pdf can be installed from the
+official repositories:
+
+$ apt install img2pdf
+
+If you want to install it using pip, you can run:
+
+$ pip3 install img2pdf
+
+If you prefer to install from source code use:
+
+$ cd img2pdf/ $ pip3 install .
+
+To test the console script without installing the package on your
+system, use virtualenv:
+
+$ cd img2pdf/ $ virtualenv ve $ ve/bin/pip3 install .
+
+You can then test the converter using:
+
+$ ve/bin/img2pdf -o test.pdf src/tests/test.jpg
+
+For Microsoft Windows users, PyInstaller based .exe files are produced
+by appveyor. If you don't want to install Python before using img2pdf
+you can head to appveyor and click on "Artifacts" to download the latest
+version: https://ci.appveyor.com/project/josch/img2pdf GUI
+
+There exists an experimental GUI with all settings currently disabled.
+You can directly convert images to PDF but you cannot set any options
+via the GUI yet. If you are interested in adding more features to the
+PDF, please submit a merge request. The GUI is based on tkinter and
+works on Linux, Windows and MacOS.
+
+Library
+
+The package can also be used as a library:
+
+import img2pdf
+
+# opening from filename with open("name.pdf","wb") as f:
+f.write(img2pdf.convert('test.jpg'))
+
+# opening from file handle with open("name.pdf","wb") as f1,
+open("test.jpg") as f2: f1.write(img2pdf.convert(f2))
+
+# using in-memory image data with open("name.pdf","wb") as f:
+f.write(img2pdf.convert("\x89PNG...")
+
+# multiple inputs (variant 1) with open("name.pdf","wb") as f:
+f.write(img2pdf.convert("test1.jpg", "test2.png"))
+
+# multiple inputs (variant 2) with open("name.pdf","wb") as f:
+f.write(img2pdf.convert(["test1.jpg", "test2.png"]))
+
+# convert all files ending in .jpg inside a directory dirname =
+"/path/to/images" with open("name.pdf","wb") as f: imgs = [] for fname
+in os.listdir(dirname): if not fname.endswith(".jpg"): continue path =
+os.path.join(dirname, fname) if os.path.isdir(path): continue
+imgs.append(path) f.write(img2pdf.convert(imgs))
+
+# convert all files ending in .jpg in a directory and its subdirectories
+dirname = "/path/to/images" with open("name.pdf","wb") as f: imgs = []
+for r, _, f in os.walk(dirname): for fname in f: if not
+fname.endswith(".jpg"): continue imgs.append(os.path.join(r, fname))
+f.write(img2pdf.convert(imgs))
+
+
+# convert all files matching a glob import glob with
+open("name.pdf","wb") as f:
+f.write(img2pdf.convert(glob.glob("/path/to/*.jpg")))
+
+# writing to file descriptor with open("name.pdf","wb") as f1,
+open("test.jpg") as f2: img2pdf.convert(f2, outputstream=f1)
+
+# specify paper size (A4) a4inpt =
+(img2pdf.mm_to_pt(210),img2pdf.mm_to_pt(297)) layout_fun =
+img2pdf.get_layout_fun(a4inpt) with open("name.pdf","wb") as f:
+f.write(img2pdf.convert('test.jpg', layout_fun=layout_fun))
+
+Comparison to ImageMagick
+
+Create a large test image:
+
+$ convert logo: -resize 8000x original.jpg
+
+Convert it into PDF using ImageMagick and img2pdf:
+
+$ time img2pdf original.jpg -o img2pdf.pdf $ time convert original.jpg
+imagemagick.pdf
+
+Notice how ImageMagick took an order of magnitude longer to do the
+conversion than img2pdf. It also used twice the memory.
+
+Now extract the image data from both PDF documents and compare it to the
+original:
+
+$ pdfimages -all img2pdf.pdf tmp $ compare -metric AE original.jpg
+tmp-000.jpg null: 0 $ pdfimages -all imagemagick.pdf tmp $ compare
+-metric AE original.jpg tmp-000.jpg null: 118716
+
+To get lossless output with ImageMagick we can use Zip compression but
+that unnecessarily increases the size of the output:
+
+$ convert original.jpg -compress Zip imagemagick.pdf $ pdfimages -all
+imagemagick.pdf tmp $ compare -metric AE original.jpg tmp-000.png null:
+0 $ stat --format="%s %n" original.jpg img2pdf.pdf imagemagick.pdf
+1535837 original.jpg 1536683 img2pdf.pdf 9397809 imagemagick.pdf
+
+Comparison to pdfLaTeX
+
+pdfLaTeX performs a lossless conversion from included images to PDF by
+default. If the input is a JPEG, then it simply embeds the JPEG into the
+PDF in the same way as img2pdf does it. But for other image formats it
+uses flate compression of the plain pixel data and thus needlessly
+increases the output file size:
+
+$ convert logo: -resize 8000x original.png $ cat << END > pdflatex.tex
+\documentclass{article} \usepackage{graphicx} \begin{document}
+\includegraphics{original.png} \end{document} END $ pdflatex
+pdflatex.tex $ stat --format="%s %n" original.png pdflatex.pdf 4500182
+original.png 9318120 pdflatex.pdf
+
+Comparison to podofoimg2pdf
+
+Like pdfLaTeX, podofoimg2pdf is able to perform a lossless conversion
+from JPEG to PDF by plainly embedding the JPEG data into the pdf
+container. But just like pdfLaTeX it uses flate compression for all
+other file formats, thus sometimes resulting in larger files than
+necessary.
+
+$ convert logo: -resize 8000x original.png $ podofoimg2pdf out.pdf
+original.png stat --format="%s %n" original.png out.pdf 4500181
+original.png 9335629 out.pdf
+
+It also only supports JPEG, PNG and TIF as input and lacks many of the
+convenience features of img2pdf like page sizes, borders, rotation and
+metadata. Comparison to Tesseract OCR
+
+Tesseract OCR comes closest to the functionality img2pdf provides. It is
+able to convert JPEG and PNG input to PDF without needlessly increasing
+the filesize and is at the same time lossless. So if your input is JPEG
+and PNG images, then you should safely be able to use Tesseract instead
+of img2pdf. For other input, Tesseract might not do a lossless
+conversion. For example it converts CMYK input to RGB and removes the
+alpha channel from images with transparency. For multipage TIFF or
+animated GIF, it will only convert the first frame.
+
+OPTIONAL:
+
+python3
diff --git a/graphics/img2pdf/img2pdf.SlackBuild b/graphics/img2pdf/img2pdf.SlackBuild
new file mode 100644
index 0000000000..87a3ae33eb
--- /dev/null
+++ b/graphics/img2pdf/img2pdf.SlackBuild
@@ -0,0 +1,88 @@
+#!/bin/sh
+
+# Slackware build script for img2pdf
+
+# Copyright 2020 Alan Aversa
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=img2pdf
+VERSION=${VERSION:-0.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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/self.qmake_bin = 'qmake'/self.qmake_bin = 'qmake-qt5'/" setup.py
+
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+else
+ python 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:-tgz}
diff --git a/graphics/img2pdf/img2pdf.info b/graphics/img2pdf/img2pdf.info
new file mode 100644
index 0000000000..757c4f4abb
--- /dev/null
+++ b/graphics/img2pdf/img2pdf.info
@@ -0,0 +1,10 @@
+PRGNAM="img2pdf"
+VERSION="0.4.0"
+HOMEPAGE="https://gitlab.mister-muffin.de/josch/img2pdf"
+DOWNLOAD="https://files.pythonhosted.org/packages/80/ed/5167992abaf268f5a5867e974d9d36a8fa4802800898ec711f4e1942b4f5/img2pdf-0.4.0.tar.gz"
+MD5SUM="e4e3510dd301e50a5d03739bf9991a86"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alan Aversa"
+EMAIL="alan.aveNOrsaSP@AMcox.net (remove NO and SPAM)"
diff --git a/graphics/img2pdf/slack-desc b/graphics/img2pdf/slack-desc
new file mode 100644
index 0000000000..de4242d2bb
--- /dev/null
+++ b/graphics/img2pdf/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+img2pdf: img2pdf (Lossless conversion of raster images to PDF.)
+img2pdf:
+img2pdf: A Python package to losslessly convert raster images to PDF.
+img2pdf:
+img2pdf: Created and currently maintained by josch
+img2pdf: https://pypi.org/user/josch/
+img2pdf:
+img2pdf: Homepage: https://gitlab.mister-muffin.de/josch/img2pdf
+img2pdf:
+img2pdf:
+img2pdf:
diff --git a/graphics/imv/README b/graphics/imv/README
new file mode 100644
index 0000000000..30357235ef
--- /dev/null
+++ b/graphics/imv/README
@@ -0,0 +1,34 @@
+imv (image viewer for X and/or Wayland)
+
+imv is a command line image viewer intended for use with tiling window
+managers. Features:
+
+* Native Wayland [2] and X11 [1] support
+* Support for dozens of image formats including:
+ * PNG [1]
+ * JPEG [1]
+ * Animated GIFs [3]
+ * SVG [4]
+ * TIFF [1]
+ * Various RAW formats [5]
+ * Photoshop PSD files [5]
+* Configurable key bindings and behaviour
+* Highly scriptable with IPC via imv-msg
+
+Optional dependencies (autodetected):
+
+- wayland
+- FreeImage (support for GIF, RAW, PSD formats)
+- libnsgif (support for GIF)
+
+If you don't have at least one of FreeImage or libnsgif, imv won't
+support GIF images at all.
+
+Notes:
+
+[1] - uses a library from core Slackware, so always enabled.
+[2] - requires wayland.
+[3] - requires either FreeImage or libnsgif.
+[4] - imv supports SVG images, but the librsvg in Slackware 14.2 is too
+ old for imv to use, so SVG support is disabled. Sorry.
+[5] - requires FreeImage.
diff --git a/graphics/imv/doinst.sh b/graphics/imv/doinst.sh
new file mode 100644
index 0000000000..7a6eafcfff
--- /dev/null
+++ b/graphics/imv/doinst.sh
@@ -0,0 +1,25 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ rm $NEW
+ fi
+}
+
+config etc/imv/imv_config.new
+
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/imv/icons/16.png b/graphics/imv/icons/16.png
new file mode 100644
index 0000000000..8da696a803
--- /dev/null
+++ b/graphics/imv/icons/16.png
Binary files differ
diff --git a/graphics/imv/icons/22.png b/graphics/imv/icons/22.png
new file mode 100644
index 0000000000..3a766591f7
--- /dev/null
+++ b/graphics/imv/icons/22.png
Binary files differ
diff --git a/graphics/imv/icons/24.png b/graphics/imv/icons/24.png
new file mode 100644
index 0000000000..69549b70a2
--- /dev/null
+++ b/graphics/imv/icons/24.png
Binary files differ
diff --git a/graphics/imv/icons/48.png b/graphics/imv/icons/48.png
new file mode 100644
index 0000000000..31bb9ee702
--- /dev/null
+++ b/graphics/imv/icons/48.png
Binary files differ
diff --git a/graphics/imv/icons/64.png b/graphics/imv/icons/64.png
new file mode 100644
index 0000000000..ed5c510e32
--- /dev/null
+++ b/graphics/imv/icons/64.png
Binary files differ
diff --git a/graphics/imv/icons/96.png b/graphics/imv/icons/96.png
new file mode 100644
index 0000000000..89c3510dd1
--- /dev/null
+++ b/graphics/imv/icons/96.png
Binary files differ
diff --git a/graphics/imv/imv.SlackBuild b/graphics/imv/imv.SlackBuild
new file mode 100644
index 0000000000..a453bf317f
--- /dev/null
+++ b/graphics/imv/imv.SlackBuild
@@ -0,0 +1,139 @@
+#!/bin/sh
+
+# Slackware build script for imv
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=imv
+VERSION=${VERSION:-4.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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# libtiff complains "not a TIFF image" for every non-TIFF image imv
+# loads. patch disables libtiff warnings, and also moves libtiff to
+# the end of the backend list, so it'll get tried last (after all the
+# other backends have decided they can't handle the file).
+patch -p1 < $CWD/squelch_libtiff_warnings.diff
+
+# missing an include...
+sed -i '1i#include <string.h>' src/backend_freeimage.c
+
+# look in the right place for the config file.
+sed -i 's,/usr/local/etc/,/etc/imv/,' src/imv.c
+
+# No autodetection for optional deps. Help it out a little.
+# libpng, libtiff, libjpeg-turbo are always included.
+# librsvg never included, 14.2's is too old, and the minimum supported
+# version requires rust, meaning I don't love it enough to include a
+# static build here. I'm not just assuming it's too old because the
+# docs say so, I actually tried it. Sigh.
+W=x11; F=no; G=no; WS=no
+pkg-config --exists wayland-client && W=all && WS=yes
+[ -e /usr/include/FreeImage.h ] && F=yes
+pkg-config --exists libnsgif && G=yes
+
+cat >config.mk <<EOF
+# Core Slackware stuff:
+BACKEND_LIBTIFF=yes
+BACKEND_LIBPNG=yes
+BACKEND_LIBJPEG=yes
+
+# Core Slackware 14.2, but too old to use, sorry.
+BACKEND_LIBRSVG=no
+
+# Optional SBo packages (FreeImage, libnsgif):
+BACKEND_FREEIMAGE=$F
+BACKEND_LIBNSGIF=$G
+
+# Optional: window system (x11, wayland, or 'all' for both)
+WINDOWS=$W
+EOF
+
+make \
+ CFLAGS="$SLKCFLAGS" \
+ PREFIX=/usr \
+ CONFIGPREFIX=/etc/$PRGNAM
+
+make install \
+ DESTDIR=$PKG \
+ PREFIX=/usr \
+ CONFIGPREFIX=/etc/$PRGNAM \
+ MANPREFIX=/usr/man \
+ INSTALL_PROGRAM="install -s -m0755"
+
+gzip -9 $PKG/usr/man/man?/*.?
+
+( cd $PKG/etc/$PRGNAM; mv ${PRGNAM}_config ${PRGNAM}_config.new )
+
+# make install doesn't install the .desktop file. Also there's no icon
+# so we have to include one, below.
+mkdir -p $PKG/usr/share/applications
+sed "s,multimedia-photo-viewer,$PRGNAM," files/$PRGNAM.desktop > \
+ $PKG/usr/share/applications/$PRGNAM.desktop
+
+# Icon came from Debian moka-icon-theme package. I have no idea
+# what the default icon theme is in Debian (equivalent of hicolor in
+# Slackware). Don't care, either. So I picked one at random.
+for i in 16 22 24 48 64 96; do
+ mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps
+ cat $CWD/icons/$i.png > $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
+done
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS* CHANGE* CONTRIB* LICENSE* README* $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+
+sed -e "s,@F@,$F," \
+ -e "s,@G@,$G," \
+ -e "s,@W@,$WS," \
+ $CWD/slack-desc > $PKG/install/slack-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/graphics/imv/imv.info b/graphics/imv/imv.info
new file mode 100644
index 0000000000..88d3b72278
--- /dev/null
+++ b/graphics/imv/imv.info
@@ -0,0 +1,10 @@
+PRGNAM="imv"
+VERSION="4.1.0"
+HOMEPAGE="https://github.com/eXeC64/imv"
+DOWNLOAD="https://github.com/eXeC64/imv/archive/v4.1.0/imv-4.1.0.tar.gz"
+MD5SUM="325bac66149dfa3f6e7688b1f4ab5f67"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libxkbcommon"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/imv/slack-desc b/graphics/imv/slack-desc
new file mode 100644
index 0000000000..286c5202c9
--- /dev/null
+++ b/graphics/imv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+imv: imv (image viewer for X and/or Wayland)
+imv:
+imv: imv is a command line image viewer intended for use with tiling window
+imv: managers.
+imv:
+imv: Package built with support for:
+imv:
+imv: FreeImage: @F@ libnsgif: @G@ wayland: @W@
+imv:
+imv:
+imv:
diff --git a/graphics/imv/squelch_libtiff_warnings.diff b/graphics/imv/squelch_libtiff_warnings.diff
new file mode 100644
index 0000000000..9c66ba26f2
--- /dev/null
+++ b/graphics/imv/squelch_libtiff_warnings.diff
@@ -0,0 +1,44 @@
+diff -Naur imv-4.1.0/src/backend_libtiff.c imv-4.1.0.patched/src/backend_libtiff.c
+--- imv-4.1.0/src/backend_libtiff.c 2019-12-21 17:54:26.000000000 -0500
++++ imv-4.1.0.patched/src/backend_libtiff.c 2020-11-21 16:40:37.971589947 -0500
+@@ -110,6 +110,7 @@
+ {
+ struct private private;
+
++ TIFFSetErrorHandler(NULL);
+ private.tiff = TIFFOpen(path, "r");
+ if (!private.tiff) {
+ /* Header is read, so no BAD_PATH check here */
+@@ -129,6 +130,7 @@
+ static enum backend_result open_memory(void *data, size_t len, struct imv_source **src)
+ {
+ struct private *private = malloc(sizeof *private);
++ TIFFSetErrorHandler(NULL);
+ private->data = data;
+ private->len = len;
+ private->pos = 0;
+diff -Naur imv-4.1.0/src/main.c imv-4.1.0.patched/src/main.c
+--- imv-4.1.0/src/main.c 2019-12-21 17:54:26.000000000 -0500
++++ imv-4.1.0.patched/src/main.c 2020-11-21 16:40:46.483589173 -0500
+@@ -17,10 +17,6 @@
+ return 1;
+ }
+
+-#ifdef IMV_BACKEND_LIBTIFF
+- imv_install_backend(imv, &imv_backend_libtiff);
+-#endif
+-
+ #ifdef IMV_BACKEND_LIBPNG
+ imv_install_backend(imv, &imv_backend_libpng);
+ #endif
+@@ -41,6 +37,10 @@
+ imv_install_backend(imv, &imv_backend_freeimage);
+ #endif
+
++#ifdef IMV_BACKEND_LIBTIFF
++ imv_install_backend(imv, &imv_backend_libtiff);
++#endif
++
+ if (!imv_load_config(imv)) {
+ imv_free(imv);
+ return 1;
diff --git a/graphics/inkscape/README b/graphics/inkscape/README
index e461bbdb08..1d9e9dd712 100644
--- a/graphics/inkscape/README
+++ b/graphics/inkscape/README
@@ -3,9 +3,9 @@ similar to Illustrator, Freehand, CorelDraw, or Xara X using the W3C
standard Scalable Vector Graphics (SVG) file format. Supported SVG
features include shapes, paths, text, markers, clones, alpha blending,
transforms, gradients, patterns, and grouping. Inkscape also supports
-Creative Commons meta-data, node editing, layers, complex path operations,
-bitmap tracing, text-on-path, flowed text, direct XML editing, and more.
-It imports formats such as JPEG, PNG, TIFF, and others and exports PNG
-as well as multiple vector-based formats.
+Creative Commons meta-data, node editing, layers, complex path
+operations, bitmap tracing, text-on-path, flowed text, direct XML
+editing, and more. It imports formats such as JPEG, PNG, TIFF, and
+others and exports PNG as well as multiple vector-based formats.
Optional dependency: potrace (for bitmap tracing functionality).
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 2b53dc793d..4471bf3c1b 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -23,7 +23,6 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=inkscape
-PRGSUB=_A6N0YOn
VERSION=${VERSION:-0.92.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION$PRGSUB.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,6 +74,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \
./configure \
+ --enable-strict-build=no \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
diff --git a/graphics/inkscape/inkscape.info b/graphics/inkscape/inkscape.info
index c206ffccb0..39fe0759fd 100644
--- a/graphics/inkscape/inkscape.info
+++ b/graphics/inkscape/inkscape.info
@@ -1,7 +1,7 @@
PRGNAM="inkscape"
VERSION="0.92.4"
HOMEPAGE="http://www.inkscape.org/"
-DOWNLOAD="https://inkscape.org/gallery/item/13330/inkscape-0.92.4_A6N0YOn.tar.bz2"
+DOWNLOAD="https://inkscape.org/gallery/item/13330/inkscape-0.92.4.tar.bz2"
MD5SUM="ac30f6d5747fd9c620c00dad500f414f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/ipe/README b/graphics/ipe/README
new file mode 100644
index 0000000000..6c4c981f62
--- /dev/null
+++ b/graphics/ipe/README
@@ -0,0 +1,16 @@
+Ipe is a drawing editor for creating figures in PDF format. It supports
+making small figures for inclusion into LaTeX-documents as well as
+making multi-page PDF presentations.
+
+Ipe's main features are:
+* Entry of text as LaTeX source code. This makes it easy to enter
+ mathematical expressions, and to reuse the LaTeX-macros of the main
+ document. In the display text is displayed as it will appear in the
+ figure.
+* Produces pure PDF, including the text. Ipe converts the LaTeX-source
+ to PDF when the file is saved.
+* It is easy to align objects with respect to each other (for instance,
+ to place a point on the intersection of two lines, or to draw a circle
+ through three given points) using various snapping modes.
+* Users can provide ipelets (Ipe plug-ins) to add functionality to Ipe.
+ This way, Ipe can be extended for each task at hand.
diff --git a/graphics/ipe/doinst.sh b/graphics/ipe/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/graphics/ipe/doinst.sh
@@ -0,0 +1,7 @@
+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/graphics/fontmatrix/fontmatrix.SlackBuild b/graphics/ipe/ipe.SlackBuild
index 7a7eb49dfd..679ca9e1c5 100644
--- a/graphics/fontmatrix/fontmatrix.SlackBuild
+++ b/graphics/ipe/ipe.SlackBuild
@@ -1,11 +1,29 @@
#!/bin/sh
-# Slackware build script for fontmatrix
-# Written by Larry Hajali
-# Maintained by Klaatu <klaatu@member.fsf.org>
-
-PRGNAM=fontmatrix
-VERSION=${VERSION:-20161216}
+# Slackware build script for ipe
+
+# 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.
+
+PRGNAM=ipe
+VERSION=${VERSION:-7.2.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
+tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -51,29 +69,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|share/man|man|' CMakeLists.txt
-
-# Cmake uses the static python lib. Let's use the shared lib instead.
-PYVER=$(python -c 'import sys; print sys.version[:3]')
-PY_LIB_SHARED="/usr/lib${LIBDIRSUFFIX}/libpython${PYVER}.so"
-
-mkdir build && cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DWANT_M17N:BOOL=true \
- -DWANT_PODOFO:BOOL=true \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release ..
-
- # Remove -O3 flag.
- for i in $(find . -name "flags.make"); do
- sed -i 's|-O3||g' $i
- done || echo "not needed"
-
- make VERBOSE=1
- make install DESTDIR=$PKG
-cd ..
+QT_SELECT=5 make -C src IPEPREFIX="$PKG/usr/" IPEMANDIR="$PKG/usr/man/man1" MOC=moc-qt5
+QT_SELECT=5 make -C src install IPEPREFIX="$PKG/usr/" IPEMANDIR="$PKG/usr/man/man1" MOC=moc-qt5
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -81,20 +78,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 -rf $PKG/usr/share/icons
-for i in 16 22 32 48 64 128; do
- mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps
- install -m 0644 src/icons/application-fontmatrix_${i}.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
-done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog TODO harfbuzz/{COPYING.*,README,AUTHORS} \
+ gpl.txt install.txt macos.txt news.txt readme.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
-cat harfbuzz/COPYING > $PKG/usr/doc/$PRGNAM-$VERSION/COPYING.harfbuzz
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/ipe/ipe.info b/graphics/ipe/ipe.info
new file mode 100644
index 0000000000..624849a9b4
--- /dev/null
+++ b/graphics/ipe/ipe.info
@@ -0,0 +1,10 @@
+PRGNAM="ipe"
+VERSION="7.2.13"
+HOMEPAGE="http://ipe.otfried.org/"
+DOWNLOAD="https://dl.bintray.com/otfried/generic/ipe/7.2/ipe-7.2.13-src.tar.gz"
+MD5SUM="2653159b975ac83890f70095200f0658"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="lua53 qt5"
+MAINTAINER="Charles Daniels"
+EMAIL="charles@cdaniels.net"
diff --git a/graphics/ipe/slack-desc b/graphics/ipe/slack-desc
new file mode 100644
index 0000000000..379413276f
--- /dev/null
+++ b/graphics/ipe/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ipe: ipe (The Ipe extensible drawing editor)
+ipe:
+ipe: Ipe is a drawing editor for creating figures in PDF format. It supports
+ipe: making small figures for inclusion into LaTeX-documents as well as
+ipe: making multi-page PDF presentations.
+ipe:
+ipe: Homepage: http://ipe.otfried.org/
+ipe:
+ipe:
+ipe:
+ipe:
diff --git a/graphics/lddot/lddot.SlackBuild b/graphics/lddot/lddot.SlackBuild
index 1ba3976ee3..e2fec7da31 100644
--- a/graphics/lddot/lddot.SlackBuild
+++ b/graphics/lddot/lddot.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=lddot
-VERSION=${VERSION:-0.1}
+VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -27,11 +27,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
mkdir -p $PKG/usr/bin
install -m0755 $PRGNAM $PKG/usr/bin
diff --git a/graphics/lddot/lddot.info b/graphics/lddot/lddot.info
index f8ecdbde3f..ae78aec650 100644
--- a/graphics/lddot/lddot.info
+++ b/graphics/lddot/lddot.info
@@ -1,8 +1,8 @@
PRGNAM="lddot"
-VERSION="0.1"
+VERSION="0.2"
HOMEPAGE="http://jwilk.net/software/lddot"
-DOWNLOAD="https://github.com/jwilk/lddot/releases/download/0.1/lddot-0.1.tar.gz"
-MD5SUM="6738ceb8e2e09ceb0aacb93a40a35653"
+DOWNLOAD="https://github.com/jwilk/lddot/releases/download/0.2/lddot-0.2.tar.gz"
+MD5SUM="d1c274a39208357ec963c33094bdccae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/libplacebo/README b/graphics/libplacebo/README
index 8e22d6275a..a6f2969749 100644
--- a/graphics/libplacebo/README
+++ b/graphics/libplacebo/README
@@ -3,5 +3,6 @@ turned into a library.
shaderc is an optional dependency.
-libplacebo can be built without the vulkan-sdk, but most features will
-be missing.
+vulkan-sdk and Mako are optional dependencies for vulkan support.
+
+Mako must be built with python3 support.
diff --git a/graphics/libplacebo/libplacebo.SlackBuild b/graphics/libplacebo/libplacebo.SlackBuild
index 551cdd6653..0697bf74f0 100644
--- a/graphics/libplacebo/libplacebo.SlackBuild
+++ b/graphics/libplacebo/libplacebo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libplacebo
-# 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,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libplacebo
-VERSION=${VERSION:-1.18.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.72.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -78,9 +78,8 @@ else
RELEASE=plain
fi
-# Fixes the SPIRV-tools build
-# https://code.videolan.org/videolan/libplacebo/issues/67
-patch -p1 < $CWD/spirv-tools.patch
+# Use an older epoxy version.
+sed -i 's/1.4.0/1.3.1/' src/meson.build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/graphics/libplacebo/libplacebo.info b/graphics/libplacebo/libplacebo.info
index 0cbb9db109..51ae650726 100644
--- a/graphics/libplacebo/libplacebo.info
+++ b/graphics/libplacebo/libplacebo.info
@@ -1,10 +1,10 @@
PRGNAM="libplacebo"
-VERSION="1.18.0"
+VERSION="2.72.2"
HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
-DOWNLOAD="https://code.videolan.org/videolan/libplacebo/-/archive/v1.18.0/libplacebo-v1.18.0.tar.gz"
-MD5SUM="bc1758d2056092728bd95d9c511d37d1"
+DOWNLOAD="https://code.videolan.org/videolan/libplacebo/-/archive/v2.72.2/libplacebo-v2.72.2.tar.gz"
+MD5SUM="93b90922056c7d74455b45fae74959e4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson vulkan-sdk"
+REQUIRES="meson"
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/graphics/libplacebo/spirv-tools.patch b/graphics/libplacebo/spirv-tools.patch
deleted file mode 100644
index f16ae57871..0000000000
--- a/graphics/libplacebo/spirv-tools.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur libplacebo-v1.18.0.orig/src/meson.build libplacebo-v1.18.0/src/meson.build
---- libplacebo-v1.18.0.orig/src/meson.build 2019-02-14 10:11:33.000000000 -0800
-+++ libplacebo-v1.18.0/src/meson.build 2019-08-09 07:23:04.838656296 -0700
-@@ -63,6 +63,8 @@
- cxx.find_library('OGLCompiler', required: glslang_req),
- cxx.find_library('OSDependent', required: glslang_req),
- cxx.find_library('SPIRV', required: glslang_req),
-+ cxx.find_library('SPIRV-Tools', required: glslang_req),
-+ cxx.find_library('SPIRV-Tools-opt', required: glslang_req),
- cxx.find_library('SPVRemapper', required: glslang_req),
- ]
-
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild
index 86f34f6a96..04a1288799 100644
--- a/graphics/librecad/librecad.SlackBuild
+++ b/graphics/librecad/librecad.SlackBuild
@@ -27,8 +27,8 @@
PRGNAM=librecad
ORIGNAME=LibreCAD
-VERSION=${VERSION:-2.2.0rc1}
-SRCVER=${SRCVER:-2.2.0-rc1}
+VERSION=${VERSION:-9f2c32d}
+SRCVER=${SRCVER:-9f2c32dd4b9dc2ed5e028b682473b098c48ad3e0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/librecad/librecad.info b/graphics/librecad/librecad.info
index 9a6d6c875e..e59d8f1015 100644
--- a/graphics/librecad/librecad.info
+++ b/graphics/librecad/librecad.info
@@ -1,8 +1,8 @@
PRGNAM="librecad"
-VERSION="2.2.0rc1"
+VERSION="9f2c32d"
HOMEPAGE="https://librecad.org"
-DOWNLOAD="https://github.com/LibreCAD/LibreCAD/archive/2.2.0-rc1/LibreCAD-2.2.0-rc1.tar.gz"
-MD5SUM="647891c77aab2f5287dd5c6b1d174738"
+DOWNLOAD="https://github.com/LibreCAD/LibreCAD/archive/9f2c32d/LibreCAD-9f2c32dd4b9dc2ed5e028b682473b098c48ad3e0.tar.gz"
+MD5SUM="a4a2c18da5d06dafb14b60a25efbb46b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="muParser qt5"
diff --git a/graphics/lilypond/README b/graphics/lilypond/README
index 033b3da404..84c8c4cd96 100644
--- a/graphics/lilypond/README
+++ b/graphics/lilypond/README
@@ -1,10 +1,4 @@
LilyPond is a music typesetter. It produces beautiful
sheet music using a description file as input.
-To enable documentation (man and info pages), first install dblatex and a
-newer version of texi2html than shipped with Slackware, then run the script as
-
- # ENABLE_DOCS=yes ./lilypond.SlackBuild
-
-The documentation is disabled by default since SBo's texi2html package
-conflicts with Slackware's tetex package.
+extractpdfmark is an optional dependency.
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index 3126e32743..61caa7cd99 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -2,34 +2,34 @@
# Slackware build script for lilypond
-# Copyright 2012-2016 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2012-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lilypond
-VERSION=${VERSION:-2.18.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.22.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
@@ -37,7 +37,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
+PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS* COPYING* DEDICATION HACKING INSTALL* LICENSE* NEWS* README* ROADMAP"
@@ -45,6 +45,9 @@ DOCS="AUTHORS* COPYING* DEDICATION HACKING INSTALL* LICENSE* NEWS* README* ROADM
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
@@ -67,18 +70,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# configure does some sed-fu on `fontforge --version` and is finding a git hash
-# instead of a version/date since at least fontforge-20141014.
-# This appears to detect the fontforge build date, which should be good enough.
-patch -p1 < $CWD/patches/detect-fontforge.diff
-
# Move the vim syntax highlighting files to where vim can find them.
sed -i '/^vimdir/s|=.*|= $(datadir)/vim/vimfiles|' config.make.in
-# configure searches for naming variants like guile1.8-config but not this:
-GUILE_CONFIG=guile-config1.8 \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+# --with-texgyre-dir is needed until/unless texlive's fonts are available by default:
+# `cd /etc/fonts/conf.d && ln -s ../conf.avail/09-texlive.conf`
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -88,8 +84,11 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- --disable-debugging \
- --enable-documentation=${ENABLE_DOCS:-no}
+ --with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ GUILE_FLAVOR=guile-1.8 \
+ GUILE=guile1.8 \
make
make install DESTDIR=$PKG
@@ -97,16 +96,13 @@ make install DESTDIR=$PKG
find $PKG -exec file {} + | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-if [ "x${ENABLE_DOCS:-no}" = "xno" ]; then
- # These are (or should be) empty.
- rmdir $PKG/usr/man/man1
- rmdir $PKG/usr/man
-else
- find $PKG/usr/man -type f -execdir gzip -9 {} +
+find $PKG/usr/man -type f -execdir gzip -9 {} +
- rm -f $PKG/usr/info/dir
- find $PKG/usr/info -name '*.info*' -type f -execdir gzip -9 {} +
-fi
+# `make install` prints a reminder to run install-info on lilypond-web.info
+# (only this $MAIN_INFO_DOC, not the others), but forgets to install it.
+# Until that is fixed, omit running install-info from doinst.sh.
+rm -f $PKG/usr/info/dir
+find $PKG/usr/info -name '*.info*' -type f -execdir gzip -9 {} +
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/lilypond/lilypond.info b/graphics/lilypond/lilypond.info
index b3864d97c9..52aaf1ae73 100644
--- a/graphics/lilypond/lilypond.info
+++ b/graphics/lilypond/lilypond.info
@@ -1,10 +1,10 @@
PRGNAM="lilypond"
-VERSION="2.18.2"
-HOMEPAGE="http://www.lilypond.org/"
-DOWNLOAD="http://download.linuxaudio.org/lilypond/sources/v2.18/lilypond-2.18.2.tar.gz"
-MD5SUM="3c4bcbb708d12644668b32bfe82ebf25"
+VERSION="2.22.0"
+HOMEPAGE="https://lilypond.org/"
+DOWNLOAD="https://lilypond.org/download/sources/v2.22/lilypond-2.22.0.tar.gz"
+MD5SUM="4b0d869873b0120bda2e8bd94e1a628a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fontforge t1utils guile1.8"
+REQUIRES="python3 fontforge texlive texi2html dblatex guile1.8"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/lilypond/patches/detect-fontforge.diff b/graphics/lilypond/patches/detect-fontforge.diff
deleted file mode 100644
index 1d3e546dc5..0000000000
--- a/graphics/lilypond/patches/detect-fontforge.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/configure b/configure
---- a/configure
-+++ b/configure
-@@ -9810,7 +9810,7 @@
-
- if test -z "$_ver"; then
- ## If empty, try date [fontforge]
-- eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep '[0-9]\{6,8\}' \
-+ eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep 'libfontforge [0-9]\{6,8\}' \
- | head -n 1 \
- | sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
- fi
diff --git a/graphics/maim/slack-desc b/graphics/maim/slack-desc
index a7a2822ef6..bb0744d604 100644
--- a/graphics/maim/slack-desc
+++ b/graphics/maim/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-maim: maim 5.5.3 (make image)
+maim: maim (make image)
maim:
maim: maim is a utility that takes screenshots of your desktop. It's meant
maim: to overcome shortcomings of scrot and performs better in several ways
diff --git a/graphics/meh/README b/graphics/meh/README
index 1f319edf6a..47f6078f41 100644
--- a/graphics/meh/README
+++ b/graphics/meh/README
@@ -15,6 +15,6 @@ Features:
* All ImageMagick formats (almost 200)
* This allows limited support for PDFs and SVGs
* Scales images to window size
- * Preserves aspect ratio (either via EWMH hints or by padding the window)
+ * Preserves aspect ratio (either via EWMH hints or padding the window)
* XSHM Support
* Minimal dependencies (Xlib, libjpeg, libpng, giflib)
diff --git a/graphics/mftrace/README b/graphics/mftrace/README
index 82599bceda..c5d0806575 100644
--- a/graphics/mftrace/README
+++ b/graphics/mftrace/README
@@ -4,4 +4,7 @@ offer many advantages over bitmaps, as they allow PostScript files
to render correctly on printers with many resolutions. Moreover,
Ghostscript can generate much better PDF, if given scalable fonts.
+Mftrace requires a tracing program, either potrace or autotrace.
+If both are installed, potrace is chosen by default.
+
fontforge is an optional recommended dependency.
diff --git a/graphics/mftrace/mftrace.SlackBuild b/graphics/mftrace/mftrace.SlackBuild
index fa1b29a879..b8991b864c 100644
--- a/graphics/mftrace/mftrace.SlackBuild
+++ b/graphics/mftrace/mftrace.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mftrace
-# Copyright 2012-2017 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2012-2019 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mftrace
-VERSION=${VERSION:-1.2.19}
+VERSION=${VERSION:-1.2.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,8 +70,10 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# Make it support $SLKCFLAGS
-sed -i "s/^CFLAGS =/CFLAGS ?=/" GNUmakefile.in
+# Make it support $SLKCFLAGS.
+# Also, upstream forgot to distribute a manpage.
+sed -i -e 's/^CFLAGS =/CFLAGS ?=/' \
+ -e 's/gf2pbm.1//' GNUmakefile.in
./configure \
--prefix=/usr \
diff --git a/graphics/mftrace/mftrace.info b/graphics/mftrace/mftrace.info
index a8f6fff4f7..01a2f82d40 100644
--- a/graphics/mftrace/mftrace.info
+++ b/graphics/mftrace/mftrace.info
@@ -1,10 +1,10 @@
PRGNAM="mftrace"
-VERSION="1.2.19"
+VERSION="1.2.20"
HOMEPAGE="http://lilypond.org/mftrace/"
-DOWNLOAD="http://lilypond.org/downloads/sources/mftrace/mftrace-1.2.19.tar.gz"
-MD5SUM="3ebc54a327cde6c3ae8524bd49a5e8db"
+DOWNLOAD="http://lilypond.org/downloads/sources/mftrace/mftrace-1.2.20.tar.gz"
+MD5SUM="33056fadd1badce2ecffbeeab138f219"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="potrace t1utils"
+REQUIRES="python3 potrace t1utils"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README
index 00b151318f..a8d968a844 100644
--- a/graphics/mozjpeg/README
+++ b/graphics/mozjpeg/README
@@ -1,41 +1,60 @@
mozjpeg (Mozilla JPEG Encoder Project)
-mozjpeg is a fork of libjpeg-turbo from Mozilla Research. Its goal is to
-reduce the size of JPEG files without reducing quality or compatibility
-with the vast majority of the world's deployed decoders. The idea is to
-reduce transfer times for JPEGs on the Web, thus reducing page load times.
-
-mozjpeg is not intended to be a general JPEG library replacement. It makes
-tradeoffs that are intended to benefit Web use cases and focuses solely
-on improving encoding. It is best used as part of a Web encoding workflow.
-
-In essence, libjpeg-turbo (as shipped with Slackware) is optimized for
-speed of encoding/decoding, while mozjpeg is optimized for encoding
-smaller file sizes (at the expense of speed). mozjpeg will not interfere
-with Slackware's libjpeg-turbo package, as it installs to /opt/mozjpeg/.
+mozjpeg is a fork of libjpeg-turbo from Mozilla Research. Its
+goal is to reduce the size of JPEG files without reducing quality
+or compatibility with the vast majority of the world's deployed
+decoders. The idea is to reduce transfer times for JPEGs on the Web,
+thus reducing page load times.
+
+mozjpeg is not intended to be a general JPEG library replacement. It
+makes tradeoffs that are intended to benefit Web use cases and
+focuses solely on improving encoding. It is best used as part of a Web
+encoding workflow.
+
+In essence, libjpeg-turbo (as shipped with Slackware) is optimized
+for speed of encoding/decoding, while mozjpeg is optimized for
+encoding smaller file sizes (at the expense of speed). mozjpeg will
+not interfere with Slackware's libjpeg-turbo package, as it installs
+to /opt/mozjpeg/.
mozjpeg supports multiple versions of the libjpeg API. By default,
version 6b is built. If you need compatibility with libjpeg 7 or 8,
set API=7 or API=8 in the script's environment.
-Optionally, mozjpeg can be built with Java wrapper support for
-turbojpeg. To do this, install one of: jdk, openjdk, openjdk8, or
-openjdk6. Then run this script with JAVA=yes in the environment.
+Usage
+-----
+To run the binaries, either call them by their full paths, e.g:
-To run the binaries, it's probably easiest to add this to ~/.bash_profile:
+$ /opt/mozjpeg/bin/cjpeg
-export PATH=/opt/mozjpeg/bin:$PATH
-export MANPATH=/opt/mozjpeg/man:$MANPATH
+...or else:
-To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include
-and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or
-else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2,
-there's also pkg-config support for mozjpeg. In ~/.bash_profile:
+$ source /etc/profile.d/mozjpeg.sh
-export PKG_CONFIG_PATH=/opt/mozjpeg/lib64/pkgconfig:$PKG_CONFIG_PATH
+...to temporarily make mozjpeg the default, in the current shell.
+Running e.g. "cjpeg" will now run the mozjpeg one. If you wanted to
+do this permanently for all users (not recommended), you could:
-(chage lib64 to lib, for 32-bit Slackware)
+# chmod +x /etc/profile.d/mozjpeg.sh
-If you built with JAVA=yes, the java library will be installed
+...then log out and back in. The profile script isn't executable by
+default, to avoid surprises.
+
+Development
+-----------
+To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include
+and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or
+else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2,
+there's also pkg-config support for mozjpeg. If you source the profile
+script, software that uses pkg-config should find and link with the
+mozjpeg libraries automatically.
+
+Java Support
+------------
+Optionally, mozjpeg can be built with Java wrapper support
+for turbojpeg. To do this, install one of: jdk, openjdk8,
+openjdk7, or openjdk6 (or possibly one of the zulu-openjdk*
+or adoptopenjdk* packages; untested). Then run this script with
+JAVA=yes in the environment. The Java library will be installed
as /opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in
/usr/doc/mozjpeg-$VERSION/javadoc.
diff --git a/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild
index c752946864..ecf3732720 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -25,6 +25,18 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+# 20210310 bkw: update for v4.0.3.
+# - upstream switched from autoconf to cmake, so this script can't
+# build older versions any more.
+# - cmake chokes when trying to build static libs, apparently because
+# we don't have a static libpng.a. So no more static libs in this
+# package until further notice. If you actually care about this,
+# remind me to look into it again.
+# - get rid of man pages, they're identical to the ones from libjpeg-turbo.
+# - add profile script.
+# - add -Wl,-rpath to .pc files.
+# - install HTML docs in /usr/doc.
+
# 20180101 bkw: Update for v3.3.1. Script still works with 3.1 and 3.2,
# if you can think of a use for them.
@@ -45,7 +57,7 @@
# - BUILD=2
PRGNAM=mozjpeg
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-4.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,19 +97,18 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# JAVA=yes only tested with openjdk and openjdk6. We source the profile.d
-# script here in case someone's *just* installed jdk|openjdk, so they
-# won't have to log out & back in to get this built. This mostly helps
-# out sbopkg users.
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+ARGS=""
+
+# JAVA=yes only tested with openjdk8. We source the profile.d script
+# here in case someone's *just* installed jdk|openjdk, so they won't
+# have to log out & back in to get this built. This mostly helps out
+# sbopkg users.
JAVA="${JAVA:-no}"
if [ "$JAVA" = "yes" ]; then
- EXTRAOPTS="--with-java "
+ ARGS+="-DWITH_JAVA=TRUE "
# Find a JDK. Presumably a sane admin will only have one of these
# profile scripts executable, even if he's installed all of them.
@@ -105,84 +116,56 @@ if [ "$JAVA" = "yes" ]; then
# sure it actually matters that much ("write once, run anywhere" should
# mean a .jar built with openjdk will run with Oracle's jdk, right? But
# there's JNI (native code) involved...)
- for i in jdk openjdk8 openjdk openjdk6; do
+ for i in jdk openjdk8 openjdk7 openjdk6; do
if [ -x /etc/profile.d/$i.sh ]; then
source /etc/profile.d/$i.sh
break
fi
done
-
- # Whichever jdk we decided to use, use its JAVA_HOME. Unfortunately
- # mozjpeg ignores the *standard* JAVA_HOME env var, so we persuade
- # it thus:
- sed -i "s,/usr/java,$JAVA_HOME,g" configure.ac
fi
-autoreconf -fiv
-
-# Maybe TODO: really, there should be a way to build multiple API versions,
-# with file paths that don't clash: /opt/mozjpeg/jpeg$API/(bin|lib|include).
-# However, I'd be inventing my own directory layout for this (upstream
-# doesn't support it), which is kinda outside the scope of what a SlackBuild
-# should do. If you *really* need this feature, email me and convince me to
-# implement it (it's a lot of error-prone work, not going to do it unless
-# someone actually needs it).
API="${API:-6b}"
-case "$API" in
- 6b) ;; # do nothing, this is the default
- 7|8) EXTRAOPTS="$EXTRAOPTS --with-jpeg$API" ;;
- *) echo "Invalid API version, supported versions are 6b 7 8" 1>&2
- exit 1
- ;;
-esac
-
-# 20170310 bkw: This stuff needs documenting, or I'll forget why
-# I did it this way.
-
-# Leaving off all the --prefix and related options below, since the
-# default prefix is already /opt/mozjpeg... though starting with 3.2,
-# the man pages and docs are in $PREFIX/share/(man|doc), so use
-# --mandir and --docdir. Also, to make 3.2 match the 3.1 package, need
-# --datarootdir=$PREFIX to make the java classes go to $PREFIX/classes.
-
-# Ryan's version of this script had --disable-static, but I'm leaving
-# that off, because sometimes static libs are easier to deal with when
-# you're linking with libraries outside the system /usr/lib(64) dir.
-
-# The LDFLAGS gibberish below is to force the binaries in /opt/mozjpeg/bin
-# to use the libraries in /opt/mozjpeg/lib(64), otherwise they use the
-# system libjpeg in /usr/lib(64) which partly defeats the purpose of
-# having optimized jpeg libs...
-
-
-LDFLAGS="-Wl,-rpath,/opt/$PRGNAM/lib$LIBDIRSUFFIX" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- $EXTRAOPTS \
- --datarootdir=/opt/$PRGNAM \
- --mandir=/opt/$PRGNAM/man \
- --docdir=/opt/$PRGNAM/doc \
- --build=$ARCH-slackware-linux
-
-# the java stuff chokes without -j1, everything else is OK.
-if [ "$JAVA" = "yes" ]; then
- make -j1 -C java
-fi
-
-make # V=1
-make install-strip DESTDIR=$PKG
-gzip $PKG/opt/$PRGNAM/man/man?/*.?
-
-# docs are installed in /opt already (except the license)
+[ "$API" = "7" ] && ARGS+="-DWITH_JPEG7=TRUE "
+[ "$API" = "8" ] && ARGS+="-DWITH_JPEG8=TRUE "
+
+mkdir -p build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ cmake \
+ $ARGS \
+ -DENABLE_STATIC=FALSE \
+ -DPNG_LIBRARY_DEBUG=/usr/lib$LIBDIRSUFFIX/libpng.so \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Slackware has these man pages already.
+rm -rf $PKG/opt/$PRGNAM/man
+
+# most of the docs are installed in /opt already, but not all.
mkdir -p $PKG/usr/doc
mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f CMakeLists.txt BUILDING.* jconfig.txt # do not want
+cp -a *.txt *.md tjexample.c doc/html $PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
-cp -a LICENSE.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
[ "$JAVA" = "yes" ] && cp -a java/doc $PKG/usr/doc/$PRGNAM-$VERSION/javadoc
+# 20210312 bkw: profile script is new with v4.0.x. It's installed without +x
+# permission (see README).
+mkdir -p $PKG/etc/profile.d
+sed "s,@,$LIBDIRSUFFIX," $CWD/${PRGNAM}.sh > $PKG/etc/profile.d/${PRGNAM}.sh
+
+# 20210312 bkw: help pkg-config out a bit.
+sed -i '/^Libs:/s|$| -lm -Wl,-rpath,${libdir}|' \
+ $PKG/opt/$PRGNAM/lib$LIBDIRSUFFIX/pkgconfig/*.pc
+
mkdir -p $PKG/install
sed -e "s,@API@,$API," -e "s,@JAVA@,$JAVA," \
$CWD/slack-desc > \
diff --git a/graphics/mozjpeg/mozjpeg.info b/graphics/mozjpeg/mozjpeg.info
index fe1d1c78b8..b799b1deda 100644
--- a/graphics/mozjpeg/mozjpeg.info
+++ b/graphics/mozjpeg/mozjpeg.info
@@ -1,8 +1,8 @@
PRGNAM="mozjpeg"
-VERSION="3.3.1"
+VERSION="4.0.3"
HOMEPAGE="https://github.com/mozilla/mozjpeg"
-DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v3.3.1/mozjpeg-3.3.1.tar.gz"
-MD5SUM="63bc152b325666465ae86dc046786118"
+DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.0.3/mozjpeg-4.0.3.tar.gz"
+MD5SUM="c6910ca8f0ee82a8c0243dc5b7217aba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/mozjpeg/mozjpeg.sh b/graphics/mozjpeg/mozjpeg.sh
new file mode 100644
index 0000000000..fc784ee53a
--- /dev/null
+++ b/graphics/mozjpeg/mozjpeg.sh
@@ -0,0 +1,8 @@
+# mozjpeg.sh: part of the SBo mozjpeg build, by B. Watson
+# <yalhcru@gmail.com>. Source this file in your shell, to run
+# mozjpeg's binaries by default, and to compile software with
+# mozjpeg's libraries. Not installed +x by default to avoid
+# conflicting with Slackware's libjpeg-turbo package.
+
+export PATH=/opt/mozjpeg/bin:$PATH
+export PKG_CONFIG_PATH=/opt/mozjpeg/lib@/pkgconfig:$PKG_CONFIG_PATH
diff --git a/graphics/mtpaint/README b/graphics/mtpaint/README
index b4ae1d776f..14a8a222ae 100644
--- a/graphics/mtpaint/README
+++ b/graphics/mtpaint/README
@@ -1,19 +1,13 @@
-mtPaint is a painting program which Mark Tyler developed from scratch so
-he could easily create pixel art and manipulate digital photos.
-
-It uses the GTK+ toolkit (version 1 or 2) and runs on PC's via the
-GNU/Linux or Windows operating systems. Due to its efficient design it
-can run on older PC hardware (e.g. a 200MHz CPU and 16MB of free RAM).
-
-mtPaint is free software, which means you are able to freely use, modify
-and distribute it according to the GNU General Public License.
-
-Currently mtPaint is maintained by Dmitry Groshev.
-
-If you want internationalization, pass INTL=yes to the SlackBuild.
-If you want this built as a gtk1 app, pass GTK1=yes; else it will be
-gtk2.
-If you want gtk{1,2} widgets then pass TKWIDGETS=yes; else it will use
-its own file and color selector widgets.
-If you want the handbook installed (about a three meg html book) then
-pass HANDBOOK=yes.
+mtPaint is a GTK+ painting program which Mark Tyler developed from
+scratch. Currently mtPaint is maintained by Dmitry Groshev. It is
+aimed to be simple and easy to use.
+
+mtPaint can edit indexed palette or 24 bit RGB images and offers basic
+painting and palette manipulation tools. It also can handle JPEG, GIF,
+TIFF, BMP, XPM, and XBM files.
+
+NOTES:
+If you want this to build as a GTK3 app, pass GTK3=yes. mtPaint comes
+with its own file and color selector widgets. To use the GTK2 default
+ones, pass TKWIDGETS=yes to the script. This will have no effect with
+GTK3=yes.
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index 7ccd534395..35430fbdf0 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.SlackBuild
@@ -1,17 +1,36 @@
#!/bin/sh
# Slackware build script for mtpaint
-# Written by slakmagik <slakmagik@gmail.com>
-# Released under the WTFPL
+
+# Copyright 2020 Petar Petrov slackalaxy@gmail.com
+# Copyright 2010-2021 slackmagik <slakmagik@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=mtpaint
-VERSION=${VERSION:-3.40}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.50}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -36,16 +55,13 @@ else
LIBDIRSUFFIX=""
fi
-if [ "$GTK1" = yes ]; then
- GTK1=gtk1
+if [ "$GTK3" = yes ]; then
+ GTK3=gtk3
fi
+
if [ "$TKWIDGETS" = yes ]; then
TKWIDGETS="gtkfilesel gtkcolsel"
fi
-if [ "$INTL" = yes ]; then
- INTL=intl
-fi
-HANDBOOK=${HANDBOOK:-no}
set -e
@@ -55,52 +71,28 @@ 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 {} \;
-
-# bring deprecated function call into conformance with libpng14
-sed -i 's/png_set_gray_1_2_4_to_8/png_set_expand_gray_1_2_4_to_8/' src/png.c
-
-# Fix build with giflib-5.1 (thanks to Arch)
-sed -i 's:EGifOpenFileName(file_name, FALSE):EGifOpenFileName(file_name, FALSE, NULL):' src/png.c
-sed -i 's:DGifOpenFileName(file_name):DGifOpenFileName(file_name, NULL):g' src/png.c
-sed -i 's:EGifCloseFile(giffy):EGifCloseFile(giffy, NULL):g' src/png.c
-sed -i 's:DGifCloseFile(giffy):DGifCloseFile(giffy, NULL):g' src/png.c
-sed -i 's:MakeMapObject(:GifMakeMapObject(:g' src/png.c
-sed -i 's:FreeMapObject(:GifFreeMapObject(:g' src/png.c
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 you do not want the international language support, remove 'intl'
+# from the line below.
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure cflags man $GTK1 $TKWIDGETS $INTL \
+./configure cflags intl man $GTK3 $TKWIDGETS \
--prefix=/usr \
--mandir=/usr/man/man1 \
--docdir=/usr/doc/$PRGNAM-$VERSION
-# mtpaint autostrips the binary and autocompresses the manpage but doesn't
-# automatically create the viewer link
make
make DESTDIR=$PKG install
-(cd $PKG/usr/bin && ln -s mtpaint mtv)
-
-if [ "$HANDBOOK" = yes ]; then
- unzip $CWD/${PRGNAM}_handbook-$VERSION.zip
- ( cd ${PRGNAM}_handbook-$VERSION
- chown -R root:root .
- find -L . \
- \( -perm 777 -o -perm 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 DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION install
- cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION/COPYING.handbook )
-else
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-fi
-cp -a [CNR]* $PKG/usr/doc/$PRGNAM-$VERSION
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a NEWS README COPYING $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 {} \;
diff --git a/graphics/mtpaint/mtpaint.info b/graphics/mtpaint/mtpaint.info
index 56f596b114..67c074a32b 100644
--- a/graphics/mtpaint/mtpaint.info
+++ b/graphics/mtpaint/mtpaint.info
@@ -1,12 +1,10 @@
PRGNAM="mtpaint"
-VERSION="3.40"
-HOMEPAGE="http://mtpaint.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/mtpaint/mtpaint-3.40.tar.bz2 \
- http://downloads.sourceforge.net/mtpaint/mtpaint_handbook-3.40.zip"
-MD5SUM="957c8035dd62c6bfdb594cd0a4467d22 \
- d375790c951a90329e708c6ffc517b44"
+VERSION="3.50"
+HOMEPAGE="https://sourceforge.net/projects/mtpaint/"
+DOWNLOAD="https://sourceforge.net/projects/mtpaint/files/mtpaint/3.50/mtpaint-3.50.tar.bz2"
+MD5SUM="bd50c57259e22a96989b9c923743d1d0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="slakmagik"
-EMAIL="slakmagik@gmail.com"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/graphics/mtpaint/slack-desc b/graphics/mtpaint/slack-desc
index 8a591b2cbf..f17d196539 100644
--- a/graphics/mtpaint/slack-desc
+++ b/graphics/mtpaint/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
mtpaint: mtpaint (Mark Tyler's Painting Program)
mtpaint:
-mtpaint: mtPaint is a GTK+1/2 based painting program designed for creating
-mtpaint: icons and pixel based artwork. It can edit indexed palette or 24 bit
-mtpaint: RGB images and offers painting and palette manipulation tools.
-mtpaint:
-mtpaint: Homepage: http://mtpaint.sourceforge.net/
-mtpaint:
+mtpaint: mtPaint is a GTK+ painting program which is scratch is aimed to
+mtpaint: be simple and easy to use. It can edit indexed palette or 24 bit
+mtpaint: RGB images and offers basic painting and palette manipulation
+mtpaint: tools. It also can handle JPEG, GIF, TIFF, BMP, XPM, and XBM
+mtpaint: files.
mtpaint:
+mtpaint: Home: http://mtpaint.sourceforge.net/
mtpaint:
mtpaint:
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 2d471cc3b4..8eaa6158ae 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nomacs
-VERSION=${VERSION:-3.12}
-PVERSION=${PVERSION:-3.12.0}
+VERSION=${VERSION:-3.14.2}
+PVERSION=${PVERSION:-3.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,7 +76,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd ImageLounge
-patch -p0 < $CWD/opencv4.diff
# Fix man pages and plugins installation path
sed -i "s|share\/man|man|" cmake/UnixBuildTarget.cmake || exit 1
@@ -91,9 +90,6 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_QUAZIP=1 \
-DUSE_SYSTEM_QUAZIP=1 \
- -DENABLE_PAINT=0 \
- -DENABLE_THRESHOLD=1 \
- -DENABLE_TRANSFORM=0 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/graphics/nomacs/nomacs.info b/graphics/nomacs/nomacs.info
index b8e686e417..94fb09717d 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,10 +1,10 @@
PRGNAM="nomacs"
-VERSION="3.12"
+VERSION="3.14.2"
HOMEPAGE="http://www.nomacs.org"
-DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.12/nomacs-3.12.tar.gz \
- https://github.com/nomacs/nomacs-plugins/archive/3.12.0/nomacs-plugins-3.12.0.tar.gz"
-MD5SUM="7b2160cbcf907ee080d696c61b3dc4e8 \
- 4e174bfa19b695ac7fa6e0010de4d4a2"
+DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.14.2/nomacs-3.14.2.tar.gz \
+ https://github.com/nomacs/nomacs-plugins/archive/3.14/nomacs-plugins-3.14.tar.gz"
+MD5SUM="65bd50be8f611305850d3c071adcfcc3 \
+ 52eff2a14ff70e2f439f7f2119d80895"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lcov opencv quazip-qt5"
diff --git a/graphics/nomacs/opencv4.diff b/graphics/nomacs/opencv4.diff
deleted file mode 100644
index 7bd2969bcc..0000000000
--- a/graphics/nomacs/opencv4.diff
+++ /dev/null
@@ -1,33 +0,0 @@
---- plugins/FakeMiniaturesPlugin/src/DkFakeMiniaturesDialog.h.orig 2018-06-05 18:21:41.000000000 +1000
-+++ plugins/FakeMiniaturesPlugin/src/DkFakeMiniaturesDialog.h 2018-11-28 23:01:53.711000000 +1000
-@@ -44,8 +44,9 @@
- #pragma warning(disable: 4996)
- #endif
-
--#include "opencv2/core/core.hpp"
--#include "opencv2/imgproc/imgproc.hpp"
-+#include "opencv4/opencv2/core/core.hpp"
-+#include "opencv4/opencv2/imgproc/imgproc.hpp"
-+#include "opencv4/opencv2/imgproc/types_c.h"
-
- using namespace cv;
- #endif
-@@ -263,4 +264,4 @@
- ~DkSaturation();
- };
-
--};
-\ No newline at end of file
-+};
---- plugins/PageExtractionPlugin/src/DkPageSegmentationUtils.h.orig 2018-11-28 23:15:54.600000000 +1000
-+++ plugins/PageExtractionPlugin/src/DkPageSegmentationUtils.h 2018-11-28 23:20:57.093000000 +1000
-@@ -27,7 +27,8 @@
- #include "DkMath.h"
-
- #pragma warning(push, 0) // no warnings from includes - begin
--#include <opencv2/core/core.hpp>
-+#include <opencv4/opencv2/core/core.hpp>
-+#include <opencv4/opencv2/imgproc/imgproc_c.h>
- #include <QString>
- #pragma warning(pop) // no warnings from includes - end
-
diff --git a/graphics/openimageio/oiio-libopenimageio-exif-cpp.diff b/graphics/openimageio/oiio-libopenimageio-exif-cpp.diff
new file mode 100644
index 0000000000..b0955d5c7d
--- /dev/null
+++ b/graphics/openimageio/oiio-libopenimageio-exif-cpp.diff
@@ -0,0 +1,326 @@
+--- oiio-Release-2.0.13/src/libOpenImageIO/exif.cpp 2019-12-03 23:28:14.000000000 +0100
++++ oiio-Release-2.0.13/src/libOpenImageIO/exif.cpp 2021-02-02 02:54:55.000000000 +0100
+@@ -554,40 +528,44 @@
+
+
+
++// libtiff > 4.1.0 defines these in tiff.h. For older libtiff, let's define
++// them ourselves.
++#ifndef GPSTAG_VERSIONID
+ enum GPSTag {
+- GPSTAG_VERSIONID = 0,
+- GPSTAG_LATITUDEREF = 1,
+- GPSTAG_LATITUDE = 2,
+- GPSTAG_LONGITUDEREF = 3,
+- GPSTAG_LONGITUDE = 4,
+- GPSTAG_ALTITUDEREF = 5,
+- GPSTAG_ALTITUDE = 6,
+- GPSTAG_TIMESTAMP = 7,
+- GPSTAG_SATELLITES = 8,
+- GPSTAG_STATUS = 9,
+- GPSTAG_MEASUREMODE = 10,
+- GPSTAG_DOP = 11,
+- GPSTAG_SPEEDREF = 12,
+- GPSTAG_SPEED = 13,
+- GPSTAG_TRACKREF = 14,
+- GPSTAG_TRACK = 15,
+- GPSTAG_IMGDIRECTIONREF = 16,
+- GPSTAG_IMGDIRECTION = 17,
+- GPSTAG_MAPDATUM = 18,
+- GPSTAG_DESTLATITUDEREF = 19,
+- GPSTAG_DESTLATITUDE = 20,
+- GPSTAG_DESTLONGITUDEREF = 21,
+- GPSTAG_DESTLONGITUDE = 22,
+- GPSTAG_DESTBEARINGREF = 23,
+- GPSTAG_DESTBEARING = 24,
+- GPSTAG_DESTDISTANCEREF = 25,
+- GPSTAG_DESTDISTANCE = 26,
+- GPSTAG_PROCESSINGMETHOD = 27,
+- GPSTAG_AREAINFORMATION = 28,
+- GPSTAG_DATESTAMP = 29,
+- GPSTAG_DIFFERENTIAL = 30,
+- GPSTAG_HPOSITIONINGERROR = 31
++ GPSTAG_VERSIONID = 0,
++ GPSTAG_LATITUDEREF = 1,
++ GPSTAG_LATITUDE = 2,
++ GPSTAG_LONGITUDEREF = 3,
++ GPSTAG_LONGITUDE = 4,
++ GPSTAG_ALTITUDEREF = 5,
++ GPSTAG_ALTITUDE = 6,
++ GPSTAG_TIMESTAMP = 7,
++ GPSTAG_SATELLITES = 8,
++ GPSTAG_STATUS = 9,
++ GPSTAG_MEASUREMODE = 10,
++ GPSTAG_DOP = 11,
++ GPSTAG_SPEEDREF = 12,
++ GPSTAG_SPEED = 13,
++ GPSTAG_TRACKREF = 14,
++ GPSTAG_TRACK = 15,
++ GPSTAG_IMGDIRECTIONREF = 16,
++ GPSTAG_IMGDIRECTION = 17,
++ GPSTAG_MAPDATUM = 18,
++ GPSTAG_DESTLATITUDEREF = 19,
++ GPSTAG_DESTLATITUDE = 20,
++ GPSTAG_DESTLONGITUDEREF = 21,
++ GPSTAG_DESTLONGITUDE = 22,
++ GPSTAG_DESTBEARINGREF = 23,
++ GPSTAG_DESTBEARING = 24,
++ GPSTAG_DESTDISTANCEREF = 25,
++ GPSTAG_DESTDISTANCE = 26,
++ GPSTAG_PROCESSINGMETHOD = 27,
++ GPSTAG_AREAINFORMATION = 28,
++ GPSTAG_DATESTAMP = 29,
++ GPSTAG_DIFFERENTIAL = 30,
++ GPSTAG_GPSHPOSITIONINGERROR = 31
+ };
++#endif
+
+ static const TagInfo gps_tag_table[] = {
+ // clang-format off
+@@ -622,7 +600,7 @@
+ { GPSTAG_AREAINFORMATION, "GPS:AreaInformation", TIFF_UNDEFINED, 1 },
+ { GPSTAG_DATESTAMP, "GPS:DateStamp", TIFF_ASCII, 0 },
+ { GPSTAG_DIFFERENTIAL, "GPS:Differential", TIFF_SHORT, 1 },
+- { GPSTAG_HPOSITIONINGERROR, "GPS:HPositioningError",TIFF_RATIONAL, 1 }
++ { GPSTAG_GPSHPOSITIONINGERROR, "GPS:HPositioningError",TIFF_RATIONAL, 1 }
+ // clang-format on
+ };
+
+@@ -685,7 +663,7 @@
+ }
+ if (dirp->tdir_type == TIFF_RATIONAL) {
+ int n = dirp->tdir_count; // How many
+- float* f = (float*)alloca(n * sizeof(float));
++ float* f = OIIO_ALLOCA(float, n);
+ for (int i = 0; i < n; ++i) {
+ unsigned int num, den;
+ num = ((const unsigned int*)dataptr)[2 * i + 0];
+@@ -704,7 +682,7 @@
+ }
+ if (dirp->tdir_type == TIFF_SRATIONAL) {
+ int n = dirp->tdir_count; // How many
+- float* f = (float*)alloca(n * sizeof(float));
++ float* f = OIIO_ALLOCA(float, n);
+ for (int i = 0; i < n; ++i) {
+ int num, den;
+ num = ((const int*)dataptr)[2 * i + 0];
+@@ -799,7 +777,7 @@
+
+ #if DEBUG_EXIF_READ
+ std::cerr << "Read " << tagmap.mapname() << " ";
+- print_dir_entry(tagmap, dir, buf, offset_adjustment);
++ print_dir_entry(std::cerr, tagmap, dir, buf, offset_adjustment);
+ #endif
+
+ if (dir.tdir_tag == TIFFTAG_EXIFIFD || dir.tdir_tag == TIFFTAG_GPSIFD) {
+@@ -808,7 +786,7 @@
+ unsigned int offset = dirp->tdir_offset; // int stored in offset itself
+ if (swab)
+ swap_endian(&offset);
+- if (offset >= buf.size()) {
++ if (offset >= size_t(buf.size())) {
+ #if DEBUG_EXIF_READ
+ unsigned int off2 = offset;
+ swap_endian(&off2);
+@@ -863,6 +841,16 @@
+ unsigned int offset = dirp->tdir_offset; // int stored in offset itself
+ if (swab)
+ swap_endian(&offset);
++ if (offset >= size_t(buf.size())) {
++#if DEBUG_EXIF_READ
++ unsigned int off2 = offset;
++ swap_endian(&off2);
++ std::cerr << "Bad Exif block? ExifIFD has offset " << offset
++ << " inexplicably greater than exif buffer length "
++ << buf.size() << " (byte swapped = " << off2 << ")\n";
++#endif
++ return;
++ }
+ // Don't recurse if we've already visited this IFD
+ if (ifd_offsets_seen.find(offset) != ifd_offsets_seen.end())
+ return;
+
+@@ -964,49 +946,46 @@
+ const char* s = *(const char**)p.data();
+ int len = strlen(s) + 1;
+ append_tiff_dir_entry(dirs, data, tag, type, len, s,
+- offset_correction);
++ offset_correction, 0, endianreq);
+ return;
+ }
+ break;
+ case TIFF_RATIONAL:
+ if (element == TypeDesc::FLOAT) {
+- unsigned int* rat = (unsigned int*)alloca(2 * count
+- * sizeof(unsigned int));
++ unsigned int* rat = OIIO_ALLOCA(unsigned int, 2 * count);
+ const float* f = (const float*)p.data();
+ for (size_t i = 0; i < count; ++i)
+ float_to_rational(f[i], rat[2 * i], rat[2 * i + 1]);
+ append_tiff_dir_entry(dirs, data, tag, type, count, rat,
+- offset_correction);
++ offset_correction, 0, endianreq);
+ return;
+ }
+ break;
+ case TIFF_SRATIONAL:
+ if (element == TypeDesc::FLOAT) {
+- int* rat = (int*)alloca(2 * count * sizeof(int));
++ int* rat = OIIO_ALLOCA(int, 2 * count);
+ const float* f = (const float*)p.data();
+ for (size_t i = 0; i < count; ++i)
+ float_to_rational(f[i], rat[2 * i], rat[2 * i + 1]);
+ append_tiff_dir_entry(dirs, data, tag, type, count, rat,
+- offset_correction);
++ offset_correction, 0, endianreq);
+ return;
+ }
+ break;
+ case TIFF_SHORT:
+- if (append_tiff_dir_entry_integer<unsigned short>(p, dirs, data, tag,
+- type,
+- offset_correction))
++ if (append_tiff_dir_entry_integer<unsigned short>(
++ p, dirs, data, tag, type, offset_correction, endianreq))
+ return;
+ break;
+ case TIFF_LONG:
+ if (append_tiff_dir_entry_integer<unsigned int>(p, dirs, data, tag,
+- type,
+- offset_correction))
++ type, offset_correction,
++ endianreq))
+ return;
+ break;
+ case TIFF_BYTE:
+- if (append_tiff_dir_entry_integer<unsigned char>(p, dirs, data, tag,
+- type,
+- offset_correction))
++ if (append_tiff_dir_entry_integer<unsigned char>(
++ p, dirs, data, tag, type, offset_correction, endianreq))
+ return;
+ break;
+ default: break;
+@@ -1091,14 +1097,24 @@
+ bool
+ decode_exif(cspan<uint8_t> exif, ImageSpec& spec)
+ {
++ // Sometimes an exif blob starts with "Exif". Skip it.
++ if (exif.size() >= 6 && exif[0] == 'E' && exif[1] == 'x' && exif[2] == 'i'
++ && exif[3] == 'f' && exif[4] == 0 && exif[5] == 0) {
++ exif = exif.subspan(6);
++ }
++
+ #if DEBUG_EXIF_READ
+ std::cerr << "Exif dump:\n";
+- for (size_t i = 0; i < exif.size(); ++i) {
++ for (size_t i = 0; i < std::min(200L, exif.size()); ++i) {
++ if ((i % 16) == 0)
++ std::cerr << "[" << i << "] ";
+ if (exif[i] >= ' ')
+ std::cerr << (char)exif[i] << ' ';
+ std::cerr << "(" << (int)exif[i] << ") ";
++ if ((i % 16) == 15)
++ std::cerr << "\n";
+ }
+- std::cerr << "\n";
++ std::cerr << std::endl;
+ #endif
+
+ // The first item should be a standard TIFF header. Note that HERE,
+@@ -1176,8 +1192,10 @@
+
+ template<class T>
+ inline void
+-append(std::vector<char>& blob, const T& v)
++append(std::vector<char>& blob, T v, endian endianreq = endian::native)
+ {
++ if (endianreq != endian::native)
++ swap_endian(&v);
+ blob.insert(blob.end(), (const char*)&v, (const char*)&v + sizeof(T));
+ }
+
+@@ -1191,10 +1209,20 @@
+
+
+
++// DEPRECATED(2.1)
++void
++encode_exif(const ImageSpec& spec, std::vector<char>& blob)
++{
++ encode_exif(spec, blob, endian::native);
++}
++
++
++
+ // Construct an Exif data block from the ImageSpec, appending the Exif
+ // data as a big blob to the char vector.
+ void
+-encode_exif(const ImageSpec& spec, std::vector<char>& blob)
++encode_exif(const ImageSpec& spec, std::vector<char>& blob,
++ OIIO::endian endianreq)
+ {
+ const TagMap& exif_tagmap(exif_tagmap_ref());
+ const TagMap& gps_tagmap(gps_tagmap_ref());
+@@ -1243,9 +1271,9 @@
+ // Put a TIFF header
+ size_t tiffstart = blob.size(); // store initial size
+ TIFFHeader head;
+- head.tiff_magic = littleendian() ? 0x4949 : 0x4d4d;
++ head.tiff_magic = (endianreq == endian::little) ? 0x4949 : 0x4d4d;
+ head.tiff_version = 42;
+- // head.tiff_diroff -- fix below, once we know the sizes
++ // N.B. need to swap_endian head.tiff_diroff below, once we know the sizes
+ append(blob, head);
+
+ // Accumulate separate tag directories for TIFF, Exif, GPS, and Interop.
+@@ -1259,7 +1287,8 @@
+ if (Strutil::starts_with(p.name(), "GPS:")) {
+ int tag = gps_tagmap.tag(p.name());
+ if (tag >= 0)
+- encode_exif_entry(p, tag, gpsdirs, blob, gps_tagmap, tiffstart);
++ encode_exif_entry(p, tag, gpsdirs, blob, gps_tagmap, tiffstart,
++ endianreq);
+ } else {
+ // Not GPS
+ int tag = exif_tagmap.tag(p.name());
+@@ -1267,10 +1296,10 @@
+ // This range of Exif tags go in the main TIFF directories,
+ // not the Exif IFD. Whatever.
+ encode_exif_entry(p, tag, tiffdirs, blob, exif_tagmap,
+- tiffstart);
++ tiffstart, endianreq);
+ } else {
+ encode_exif_entry(p, tag, exifdirs, blob, exif_tagmap,
+- tiffstart);
++ tiffstart, endianreq);
+ }
+ }
+ }
+@@ -1293,12 +1322,14 @@
+ if (exifdirs.size() || makerdirs.size()) {
+ // Add some required Exif tags that wouldn't be in the spec
+ append_tiff_dir_entry(exifdirs, blob, EXIF_EXIFVERSION, TIFF_UNDEFINED,
+- 4, "0230", tiffstart);
++ 4, "0230", tiffstart, 0, endianreq);
+ append_tiff_dir_entry(exifdirs, blob, EXIF_FLASHPIXVERSION,
+- TIFF_UNDEFINED, 4, "0100", tiffstart);
++ TIFF_UNDEFINED, 4, "0100", tiffstart, 0,
++ endianreq);
+ static char componentsconfig[] = { 1, 2, 3, 0 };
+ append_tiff_dir_entry(exifdirs, blob, EXIF_COMPONENTSCONFIGURATION,
+- TIFF_UNDEFINED, 4, componentsconfig, tiffstart);
++ TIFF_UNDEFINED, 4, componentsconfig, tiffstart, 0,
++ endianreq);
+ }
+
+ // If any GPS info was found, add a version tag to the GPS fields.
+@@ -1306,7 +1337,7 @@
+ // Add some required Exif tags that wouldn't be in the spec
+ static char ver[] = { 2, 2, 0, 0 };
+ append_tiff_dir_entry(gpsdirs, blob, GPSTAG_VERSIONID, TIFF_BYTE, 4,
+- &ver, tiffstart);
++ &ver, tiffstart, 0, endianreq);
+ }
+
+ // Compute offsets:
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 0e7e19edb3..fa21c74582 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openimageio
-# Copyright 2015-2019 Christoph Willing Brisbane, Australia
+# Copyright 2015-2021 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,11 +24,10 @@
PRGNAM=openimageio
SRCNAM=oiio-Release
-VERSION=${VERSION:-2.0.10}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.0.13}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-PYLIB_INSTALL_DIRECTORY=$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
PYLIB3_INSTALL_DIRECTORY=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
if [ -z "$ARCH" ]; then
@@ -63,10 +62,18 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
patch -p0 < $CWD/oiio-include-cstdio.diff
+
+grep 20191103 /usr/include/tiffvers.h 2>&1 >/dev/null || {
+# libtiff-4.2.0 requires additional patches
+# (thanks to Giancarlo Dessi)
+ patch -p1 < $CWD/rawinput.diff
+ patch -p1 < $CWD/oiio-libopenimageio-exif-cpp.diff
+}
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,7 +88,7 @@ mkdir -p build
cd build
cmake ../ \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fcommon" \
-DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \
-DOPENJPEG_OPENJPEG_LIBRARY_RELEASE="/usr/lib${LIBDIRSUFFIX}/libopenmj2.so" \
-DCMAKE_BUILD_TYPE=Release \
@@ -92,8 +99,9 @@ cd build
-DUSE_OPENJPEG:BOOL=TRUE \
-DOIIO_BUILD_TESTS:BOOL=FALSE \
-DUSE_PYTHON:BOOL=TRUE \
+ -DPYTHON_VERSION=$(python3 --version | cut -d' ' -f2) \
-DUSE_EXTERNAL_PUGIXML:BOOL=FALSE \
- -DPYBIND11_INCLUDE_DIR:STRING=/usr/include/python2.7 \
+
make
make install DESTDIR=$PKG
diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index 9b3f6f5d1d..95dd9e8323 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,8 +1,8 @@
PRGNAM="openimageio"
-VERSION="2.0.10"
+VERSION="2.0.13"
HOMEPAGE="https://sites.google.com/site/openimageio/home"
-DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.0.10/oiio-Release-2.0.10.tar.gz"
-MD5SUM="b29934b036e83029d6bb89273de2e0c8"
+DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.0.13/oiio-Release-2.0.13.tar.gz"
+MD5SUM="76ce4d246409de331ad04453423479bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg libwebp opencv opencolorio pybind11 robin-map qt5 dcmtk"
diff --git a/graphics/openimageio/rawinput.diff b/graphics/openimageio/rawinput.diff
new file mode 100644
index 0000000000..e465621ac2
--- /dev/null
+++ b/graphics/openimageio/rawinput.diff
@@ -0,0 +1,114 @@
+--- oiio-Release-2.0.13/src/raw.imageio/rawinput.cpp 2019-12-03 23:28:14.000000000 +0100
++++ oiio-Release-2.0.13-fix/src/raw.imageio/rawinput.cpp 2020-12-20 23:29:30.556780764 +0100
+@@ -643,7 +643,7 @@
+ #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 17, 0)
+ if (other.parsed_gps.gpsparsed) {
+ add("GPS", "Latitude", other.parsed_gps.latitude, false, 0.0f);
+- add("GPS", "Longitude", other.parsed_gps.longtitude, false,
++ add("GPS", "Longitude", other.parsed_gps.longitude, false,
+ 0.0f); // N.B. wrong spelling!
+ add("GPS", "TimeStamp", other.parsed_gps.gpstimestamp, false, 0.0f);
+ add("GPS", "Altitude", other.parsed_gps.altitude, false, 0.0f);
+@@ -667,12 +667,12 @@
+ // float AmbientTemperature;
+ // float BatteryTemperature;
+ // float exifAmbientTemperature;
+- add("Exif", "Humidity", other.exifHumidity, false, 0.0f);
+- add("Exif", "Pressure", other.exifPressure, false, 0.0f);
+- add("Exif", "WaterDepth", other.exifWaterDepth, false, 0.0f);
+- add("Exif", "Acceleration", other.exifAcceleration, false, 0.0f);
+- add("Exif", "CameraElevactionAngle", other.exifCameraElevationAngle, false,
+- 0.0f);
++ //add("Exif", "Humidity", other.exifHumidity, false, 0.0f);
++ //add("Exif", "Pressure", other.exifPressure, false, 0.0f);
++ //add("Exif", "WaterDepth", other.exifWaterDepth, false, 0.0f);
++ //add("Exif", "Acceleration", other.exifAcceleration, false, 0.0f);
++ //add("Exif", "CameraElevactionAngle", other.exifCameraElevationAngle, false,
++ // 0.0f);
+ // float real_ISO;
+ #endif
+
+@@ -861,9 +861,9 @@
+ {
+ #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 18, 0)
+ auto const& mn(m_processor->imgdata.makernotes.olympus);
+- MAKERF(OlympusCropID);
+- MAKERF(OlympusFrame); /* upper left XY, lower right XY */
+- MAKERF(OlympusSensorCalibration);
++ //MAKERF(OlympusCropID);
++ //MAKERF(OlympusFrame); /* upper left XY, lower right XY */
++ //MAKERF(OlympusSensorCalibration);
+ MAKERF(FocusMode);
+ MAKERF(AutoFocus);
+ MAKERF(AFPoint);
+@@ -938,12 +938,12 @@
+ {
+ #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 18, 0)
+ auto const& mn(m_processor->imgdata.makernotes.fuji);
+- add(m_make, "ExpoMidPointShift", mn.FujiExpoMidPointShift);
+- add(m_make, "DynamicRange", mn.FujiDynamicRange);
+- add(m_make, "FilmMode", mn.FujiFilmMode);
+- add(m_make, "DynamicRangeSetting", mn.FujiDynamicRangeSetting);
+- add(m_make, "DevelopmentDynamicRange", mn.FujiDevelopmentDynamicRange);
+- add(m_make, "AutoDynamicRange", mn.FujiAutoDynamicRange);
++ add(m_make, "ExpoMidPointShift", mn.ExpoMidPointShift);
++ add(m_make, "DynamicRange", mn.DynamicRange);
++ add(m_make, "FilmMode", mn.FilmMode);
++ add(m_make, "DynamicRangeSetting", mn.DynamicRangeSetting);
++ add(m_make, "DevelopmentDynamicRange", mn.DevelopmentDynamicRange);
++ add(m_make, "AutoDynamicRange", mn.AutoDynamicRange);
+ MAKERF(FocusMode);
+ MAKERF(AFMode);
+ MAKERF(FocusPixel);
+@@ -967,7 +967,7 @@
+ {
+ #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 18, 0)
+ auto const& mn(m_processor->imgdata.makernotes.sony);
+- MAKERF(SonyCameraType);
++ MAKERF(CameraType);
+ #endif
+ #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 19, 0)
+ // uchar Sony0x9400_version; /* 0 if not found/deciphered, 0xa, 0xb, 0xc following exiftool convention */
+@@ -976,12 +976,12 @@
+ // uchar Sony0x9400_SequenceLength1;
+ // unsigned Sony0x9400_SequenceFileNumber;
+ // uchar Sony0x9400_SequenceLength2;
+- if (mn.raw_crop.cwidth || mn.raw_crop.cheight) {
+- add(m_make, "cropleft", mn.raw_crop.cleft, true);
+- add(m_make, "croptop", mn.raw_crop.ctop, true);
+- add(m_make, "cropwidth", mn.raw_crop.cwidth, true);
+- add(m_make, "cropheight", mn.raw_crop.cheight, true);
+- }
++ //if (mn.raw_crop.cwidth || mn.raw_crop.cheight) {
++ // add(m_make, "cropleft", mn.raw_crop.cleft, true);
++ // add(m_make, "croptop", mn.raw_crop.ctop, true);
++ // add(m_make, "cropwidth", mn.raw_crop.cwidth, true);
++ // add(m_make, "cropheight", mn.raw_crop.cheight, true);
++ //}
+ MAKERF(AFMicroAdjValue);
+ MAKERF(AFMicroAdjOn);
+ MAKER(AFMicroAdjRegisteredLenses, 0);
+@@ -1054,17 +1054,17 @@
+ MAKER(Adapter, 0);
+ MAKER(AttachmentID, 0ULL);
+ MAKER(Attachment, 0);
+- MAKER(CanonFocalUnits, 0);
++ MAKER(FocalUnits, 0);
+ MAKER(FocalLengthIn35mmFormat, 0.0f);
+ }
+
+ if (Strutil::iequals(m_make, "Nikon")) {
+ auto const& mn(m_processor->imgdata.lens.nikon);
+- add(m_make, "EffectiveMaxAp", mn.NikonEffectiveMaxAp);
+- add(m_make, "LensIDNumber", mn.NikonLensIDNumber);
+- add(m_make, "LensFStops", mn.NikonLensFStops);
+- add(m_make, "MCUVersion", mn.NikonMCUVersion);
+- add(m_make, "LensType", mn.NikonLensType);
++ add(m_make, "EffectiveMaxAp", mn.EffectiveMaxAp);
++ add(m_make, "LensIDNumber", mn.LensIDNumber);
++ add(m_make, "LensFStops", mn.LensFStops);
++ add(m_make, "MCUVersion", mn.MCUVersion);
++ add(m_make, "LensType", mn.LensType);
+ }
+ if (Strutil::iequals(m_make, "DNG")) {
+ auto const& mn(m_processor->imgdata.lens.dng);
diff --git a/graphics/openscad-mcad/README b/graphics/openscad-mcad/README
new file mode 100644
index 0000000000..cce08e8586
--- /dev/null
+++ b/graphics/openscad-mcad/README
@@ -0,0 +1,9 @@
+This library contains components commonly used in designing and
+mocking up mechanical designs. It is currently unfinished and you
+can expect some API changes, however many things are already working.
+
+This library was created by various authors as named in the
+individual files' comments. All the files are licensed under
+the LGPL 2.1 (see http://creativecommons.org/licenses/LGPL/2.1/
+or the included file lgpl-2.1.txt), some of them allow distribution
+under more permissive terms (as described in the files' comments).
diff --git a/graphics/openscad-mcad/openscad-mcad.SlackBuild b/graphics/openscad-mcad/openscad-mcad.SlackBuild
new file mode 100644
index 0000000000..2834c0043d
--- /dev/null
+++ b/graphics/openscad-mcad/openscad-mcad.SlackBuild
@@ -0,0 +1,106 @@
+#!/bin/sh
+
+# Slackware build script for openscad-mcad
+
+# Copyright 2020 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.
+
+PRGNAM=openscad-mcad
+COMVER=1ea402208c3127ffb443931e9bb1681c191dacca
+VERSION=${VERSION:-2020.10.09.$( printf %s $COMVER | cut -c1-7 )}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf MCAD-$COMVER
+tar xvf $CWD/$PRGNAM-$COMVER.tar.?z
+cd MCAD-$COMVER
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/share/openscad/libraries/MCAD/bitmap
+
+install -m775 2Dshapes.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 3d_triangle.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 array.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 bearing.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 bitmap/alphabet_block.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 bitmap/bitmap.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 bitmap/height_map.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 bitmap/letter_necklace.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 bitmap/name_tag.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 bitmap/test_name_tag.scad $PKG/usr/share/openscad/libraries/MCAD/bitmap
+install -m775 boxes.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 constants.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 curves.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 fonts.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 gears.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 gridbeam.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 hardware.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 involute_gears.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 layouts.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 lego_compatibility.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 libtriangles.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 linear_bearing.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 materials.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 math.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 metric_fastners.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 motors.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 multiply.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 nuts_and_bolts.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 polyholes.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 profiles.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 regular_shapes.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 screw.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 servos.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 shapes.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 stepper.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 teardrop.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 transformations.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 triangles.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 trochoids.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 units.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 unregular_shapes.scad $PKG/usr/share/openscad/libraries/MCAD/
+install -m775 utilities.scad $PKG/usr/share/openscad/libraries/MCAD/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a bitmap/README TODO README.markdown lgpl-2.1.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/graphics/openscad-mcad/openscad-mcad.info b/graphics/openscad-mcad/openscad-mcad.info
new file mode 100644
index 0000000000..748d96be6c
--- /dev/null
+++ b/graphics/openscad-mcad/openscad-mcad.info
@@ -0,0 +1,10 @@
+PRGNAM="openscad-mcad"
+VERSION="2020.10.09.1ea4022"
+HOMEPAGE="https://github.com/openscad/MCAD"
+DOWNLOAD="https://github.com/openscad/MCAD/archive/1ea402208c3127ffb443931e9bb1681c191dacca/openscad-mcad-1ea402208c3127ffb443931e9bb1681c191dacca.tar.gz"
+MD5SUM="a86572e744abff686ee146274eda87f4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/openscad-mcad/slack-desc b/graphics/openscad-mcad/slack-desc
new file mode 100644
index 0000000000..6ce7b6f630
--- /dev/null
+++ b/graphics/openscad-mcad/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+openscad-mcad: openscad-mcad (Parametric CAD Library)
+openscad-mcad:
+openscad-mcad: This library contains components commonly used in designing and
+openscad-mcad: mocking up mechanical designs. It is currently unfinished and you
+openscad-mcad: can expect some API changes, however many things are already working.
+openscad-mcad:
+openscad-mcad: Homepage: https://github.com/openscad/MCAD/
+openscad-mcad:
+openscad-mcad:
+openscad-mcad:
+openscad-mcad:
diff --git a/graphics/pcx-pixbuf-loader/README b/graphics/pcx-pixbuf-loader/README
new file mode 100644
index 0000000000..0bc979b4b3
--- /dev/null
+++ b/graphics/pcx-pixbuf-loader/README
@@ -0,0 +1,4 @@
+pcx-pixbuf-loader (PCX loader for gdk-pixbuf2)
+
+This allows gdk-pixbuf2 (and software using it) to load .pcx images.
+In particular it allows qiv and geeqie to display PCX images.
diff --git a/graphics/pcx-pixbuf-loader/doinst.sh b/graphics/pcx-pixbuf-loader/doinst.sh
new file mode 100644
index 0000000000..364414cfa1
--- /dev/null
+++ b/graphics/pcx-pixbuf-loader/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
+ /usr/bin/update-gdk-pixbuf-loaders >/dev/null 2>&1
+fi
diff --git a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
new file mode 100644
index 0000000000..e968158cfd
--- /dev/null
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
@@ -0,0 +1,79 @@
+#!/bin/sh
+
+# Slackware build script for pcx-pixbuf-loader
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=pcx-pixbuf-loader
+VERSION=${VERSION:-20140824.6211fd8}
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+mkdir build
+cd build
+ CFLAGS="-Wl,-s $SLKCFLAGS" \
+ CXXFLAGS="-Wl,-s $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 ..
+
+DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $DOCDIR
+cat README > $DOCDIR/README
+cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$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/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
new file mode 100644
index 0000000000..9367bad35e
--- /dev/null
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
@@ -0,0 +1,10 @@
+PRGNAM="pcx-pixbuf-loader"
+VERSION="20140824.6211fd8"
+HOMEPAGE="https://slackware.uk/~urchlay/src/pcx-pixbuf-loader.txt"
+DOWNLOAD="https://slackware.uk/~urchlay/src/pcx-pixbuf-loader-20140824.6211fd8.tar.xz"
+MD5SUM="3754d32e366a6f962765443810040267"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="meson"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/pcx-pixbuf-loader/slack-desc b/graphics/pcx-pixbuf-loader/slack-desc
new file mode 100644
index 0000000000..9aa695eaae
--- /dev/null
+++ b/graphics/pcx-pixbuf-loader/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+pcx-pixbuf-loader: pcx-pixbuf-loader (PCX loader for gdk-pixbuf2)
+pcx-pixbuf-loader:
+pcx-pixbuf-loader: This allows gdk-pixbuf2 (and software using it) to load .pcx images.
+pcx-pixbuf-loader: In particular it allows qiv and geeqie to display PCX images.
+pcx-pixbuf-loader:
+pcx-pixbuf-loader:
+pcx-pixbuf-loader:
+pcx-pixbuf-loader:
+pcx-pixbuf-loader:
+pcx-pixbuf-loader:
+pcx-pixbuf-loader:
diff --git a/graphics/pencil2d/README b/graphics/pencil2d/README
new file mode 100644
index 0000000000..ea7b43207d
--- /dev/null
+++ b/graphics/pencil2d/README
@@ -0,0 +1,6 @@
+Pencil2D is an animation/drawing software for Windows, macOS, Linux, and
+FreeBSD. It lets you create traditional hand-drawn animation (cartoon)
+using both bitmap and vector graphics. Pencil2D is free and open source.
+
+ffmpeg is runtime requirement. It's used to render mp4 and gif.
+Otherwise you can render every frame to png.
diff --git a/graphics/pencil2d/doinst.sh b/graphics/pencil2d/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/graphics/pencil2d/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/graphics/pencil2d/pencil2d.SlackBuild b/graphics/pencil2d/pencil2d.SlackBuild
new file mode 100644
index 0000000000..60e5868627
--- /dev/null
+++ b/graphics/pencil2d/pencil2d.SlackBuild
@@ -0,0 +1,89 @@
+#!/bin/sh
+# Slackware build script for <pencil2d>
+#
+# Michales (clavisound) Michaloudes korgie@gmail.com <2020>
+
+PRGNAM=pencil2d
+SRCNAM=pencil
+VERSION=${VERSION:-0.6.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 $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" \
+ qmake-qt5 \
+ PREFIX=/usr \
+ CONFIG+=release \
+ DEFINES+=QT_NO_DEBUG_OUTPUT \
+ DEFINES+=PENCIL2D_RELEASE
+
+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
+
+for i in 16 32 48 64 96 128
+do
+ mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps/
+ convert $PKG/usr/share/icons/hicolor/256x256/apps/org.$PRGNAM.Pencil2D.png \
+ -resize ${i}x${i} $PKG/usr/share/icons/hicolor/${i}x${i}/apps/org.$PRGNAM.Pencil2D.png
+done
+
+sed -i 's+Icon=pencil2d+Icon=/usr/share/icons/hicolor/48x48/apps/pencil2d.png+' \
+ $PKG/usr/share/applications/org.$PRGNAM.Pencil2D.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.TXT CODE_OF_CONDUCT.md 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
+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/graphics/pencil2d/pencil2d.info b/graphics/pencil2d/pencil2d.info
new file mode 100644
index 0000000000..de0918fc55
--- /dev/null
+++ b/graphics/pencil2d/pencil2d.info
@@ -0,0 +1,10 @@
+PRGNAM="pencil2d"
+VERSION="0.6.5"
+HOMEPAGE="https://www.pencil2d.org/"
+DOWNLOAD="https://github.com/pencil2d/pencil/archive/v0.6.5/pencil-0.6.5.tar.gz"
+MD5SUM="80f5f5ca1ba49453631353b5b1c8c5ee"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="six pyudev python-evdev graphviz ninja meson libwacom libinput libxkbcommon qt5"
+MAINTAINER="Michales Michaloudes"
+EMAIL="korgie@gmail.com"
diff --git a/graphics/pencil2d/slack-desc b/graphics/pencil2d/slack-desc
new file mode 100644
index 0000000000..940b2516a1
--- /dev/null
+++ b/graphics/pencil2d/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+pencil2d: pencil2d (animation/drawing software)
+pencil2d:
+pencil2d: Pencil2D is an animation/drawing software for Windows, macOS, Linux,
+pencil2d: and FreeBSD. It lets you create traditional hand-drawn animation
+pencil2d: (cartoon) using both bitmap and vector graphics. Pencil2D is free and
+pencil2d: open source.
+pencil2d:
+pencil2d: https://www.pencil2d.org
+pencil2d:
+pencil2d:
+pencil2d:
diff --git a/graphics/pencil3/pencil3.SlackBuild b/graphics/pencil3/pencil3.SlackBuild
index 2b0839e9d1..79650d5415 100644
--- a/graphics/pencil3/pencil3.SlackBuild
+++ b/graphics/pencil3/pencil3.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=pencil3
PKGNAM=pencil
-VERSION=${VERSION:-3.0.1}
+VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/pencil3/pencil3.info b/graphics/pencil3/pencil3.info
index aae70d0075..ce9bbff829 100644
--- a/graphics/pencil3/pencil3.info
+++ b/graphics/pencil3/pencil3.info
@@ -1,8 +1,8 @@
PRGNAM="pencil3"
-VERSION="3.0.1"
+VERSION="3.0.4"
HOMEPAGE="http://pencil.evolus.vn/"
-DOWNLOAD="https://github.com/evolus/pencil/archive/v3.0.1/pencil-3.0.1.tar.gz"
-MD5SUM="9cc7a3c9e4bcd390f72d6f5f4efe27e6"
+DOWNLOAD="https://github.com/evolus/pencil/archive/v3.0.4/pencil-3.0.4.tar.gz"
+MD5SUM="0300a9558547eaa3c6e8cfe749e4d7cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nodejs"
diff --git a/graphics/phatch/phatch.info b/graphics/phatch/phatch.info
index 0b4fea37b6..39897c05bf 100644
--- a/graphics/phatch/phatch.info
+++ b/graphics/phatch/phatch.info
@@ -1,7 +1,7 @@
PRGNAM="phatch"
VERSION="0.2.7.1"
HOMEPAGE="http://photobatch.stani.be"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/phatch-0.2.7.1.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/phatch-0.2.7.1.tar.gz"
MD5SUM="c0638bcc6510d340c03c40ddfb0a0c2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/photoprint/photoprint.SlackBuild b/graphics/photoprint/photoprint.SlackBuild
index 22b0eb2085..387d6db429 100644
--- a/graphics/photoprint/photoprint.SlackBuild
+++ b/graphics/photoprint/photoprint.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for photoprint
-# Copyright 2013 David Woodfall <dave@dawoodfall.net>
+# Copyright 2013 David Woodfall <dave@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
diff --git a/graphics/photoprint/photoprint.info b/graphics/photoprint/photoprint.info
index 4bdb66863b..1dd8a229a4 100644
--- a/graphics/photoprint/photoprint.info
+++ b/graphics/photoprint/photoprint.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="David Woodfall"
-EMAIL="dave@dawoodfall.net"
+EMAIL="dave@slackbuilds.org"
diff --git a/graphics/plotutils/README b/graphics/plotutils/README
index a6d56c5df6..ec7424f2f3 100644
--- a/graphics/plotutils/README
+++ b/graphics/plotutils/README
@@ -1,16 +1,18 @@
-GNU plotutils contains software for both programmers and technical users.
-Its centerpiece is libplot, a powerful C/C++ function library for exporting
-2-D vector graphics in many file formats, both vector and raster. It can
-also do vector graphics animations. libplot is device-independent in the
-sense that its API does not depend on the type of graphics file to be exported.
+GNU plotutils contains software for both programmers and technical
+users. Its centerpiece is libplot, a powerful C/C++ function library for
+exporting 2-D vector graphics in many file formats, both vector and
+raster. It can also do vector graphics animations. libplot is
+device-independent in the sense that its API does not depend on the type
+of graphics file to be exported.
-Besides libplot, the package contains command-line programs for plotting
+Besides libplot, the package contains command-line programs for plotting
scientific data. Many of them use libplot to export graphics.
-Other ./configure options that you may want to add (provided you install
+Other ./configure options that you may want to add (provided you install
the required fonts):
---enable-ps-fonts-in-pcl enable use of PS fonts in PCL and HP-GL/2 output
+--enable-ps-fonts-in-pcl enable use of PS fonts in PCL and HP-GL/2
+ output
--enable-lj-fonts-in-ps enable use of LaserJet fonts in PS output
--enable-lj-fonts-in-x enable use of LaserJet fonts on X displays
diff --git a/graphics/plotutils/plotutils-2.6-libpng-1.5.patch b/graphics/plotutils/plotutils-2.6-libpng-1.6.patch
index 8a10d19e56..835ea44932 100644
--- a/graphics/plotutils/plotutils-2.6-libpng-1.5.patch
+++ b/graphics/plotutils/plotutils-2.6-libpng-1.6.patch
@@ -1,4 +1,4 @@
-fix building with libpng-1.5
+fix building with libpng-1.6
--- libplot/z_write.c
+++ libplot/z_write.c
diff --git a/graphics/plotutils/plotutils.SlackBuild b/graphics/plotutils/plotutils.SlackBuild
index 9f769eaaa7..897f84f343 100644
--- a/graphics/plotutils/plotutils.SlackBuild
+++ b/graphics/plotutils/plotutils.SlackBuild
@@ -1,17 +1,35 @@
#!/bin/sh
-# Slackware build script for plotutils
-
-# Written by Luis Henrique <lmello.009@gmail.com>
+# Slackware build script for GNU plotutils
+
+# Originally written by Luis Henrique <lmello dot 009 at gmail dot com>
+# Currently maintained by Philip Lacroix <slackph at posteo dot 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=plotutils
VERSION=${VERSION:-2.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=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,25 +64,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 {} \;
-# Fix build with libpng16 (-current) (patch from Arch Linux)
-patch -p0 < $CWD/plotutils-2.6-libpng-1.5.patch
+# Fix build with libpng 1.6 (patch from Arch Linux)
+patch -p0 < $CWD/plotutils-2.6-libpng-1.6.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --htmldir=/usr/doc/$PRGNAM-$VERSION/html \
--enable-static=no \
--enable-shared=yes \
--enable-libplotter \
@@ -73,19 +88,19 @@ 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 -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
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
-DOCS="AUTHORS COMPAT COPYING ChangeLog INSTALL INSTALL.fonts INSTALL.pkg \
- KNOWN_BUGS NEWS ONEWS PROBLEMS README THANKS TODO"
+DOCS="AUTHORS COMPAT COPYING INSTALL INSTALL.fonts INSTALL.pkg KNOWN_BUGS \
+ NEWS ONEWS PROBLEMS README THANKS TODO"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/plotutils/plotutils.info b/graphics/plotutils/plotutils.info
index 51d93cbb9c..d989daf4d7 100644
--- a/graphics/plotutils/plotutils.info
+++ b/graphics/plotutils/plotutils.info
@@ -1,10 +1,10 @@
PRGNAM="plotutils"
VERSION="2.6"
-HOMEPAGE="http://www.gnu.org/software/plotutils"
-DOWNLOAD="http://mirrors.kernel.org/gnu/plotutils/plotutils-2.6.tar.gz"
+HOMEPAGE="https://www.gnu.org/software/plotutils"
+DOWNLOAD="https://ftpmirror.gnu.org/plotutils/plotutils-2.6.tar.gz"
MD5SUM="c08a424bd2438c80a786a7f4b5bb6a40"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Luis Henrique"
-EMAIL="lmello.009@gmail.com"
+MAINTAINER="Philip Lacroix"
+EMAIL="slackph at posteo dot de"
diff --git a/graphics/plotutils/slack-desc b/graphics/plotutils/slack-desc
index 0b6251b862..1ec9c19a6c 100644
--- a/graphics/plotutils/slack-desc
+++ b/graphics/plotutils/slack-desc
@@ -14,6 +14,6 @@ plotutils: function library for exporting 2-D vector graphics in many file
plotutils: formats, both vector and raster. It can also do vector graphics
plotutils: animations.
plotutils:
-plotutils: Homepage: http://www.gnu.org/software/plotutils
+plotutils: Homepage: https://www.gnu.org/software/plotutils
plotutils:
plotutils:
diff --git a/graphics/png2ico/README b/graphics/png2ico/README
new file mode 100644
index 0000000000..1f2e6e210c
--- /dev/null
+++ b/graphics/png2ico/README
@@ -0,0 +1,10 @@
+PNG2ico converts PNG files to Windows icon resource files. If you're looking for
+a program to create a favicon.ico for your website, look no further.
+
+The program is extremely simple to use. To create a favicon.ico that
+contains a logo in the resolutions 16x16 and 32x32 (an icon can contain
+multiple images of different sizes, but a single 16x16 image is enough
+for a favicon), you would use a command like the following:
+
+png2ico favicon.ico logo16x16.png logo32x32.png
+
diff --git a/graphics/png2ico/png2ico-cstring.patch b/graphics/png2ico/png2ico-cstring.patch
new file mode 100644
index 0000000000..d380c89976
--- /dev/null
+++ b/graphics/png2ico/png2ico-cstring.patch
@@ -0,0 +1,10 @@
+--- a/png2ico.cpp.orig 2002-12-07 14:37:58.000000000 -0800
++++ b/png2ico.cpp 2019-12-19 17:04:47.861832968 -0800
+@@ -35,6 +35,7 @@ Notes about transparent and inverted pix
+ #include <cstdio>
+ #include <vector>
+ #include <climits>
++#include <cstring>
+
+ #if __GNUC__ > 2
+ #include <ext/hash_map>
diff --git a/graphics/png2ico/png2ico.SlackBuild b/graphics/png2ico/png2ico.SlackBuild
new file mode 100644
index 0000000000..e164d06bce
--- /dev/null
+++ b/graphics/png2ico/png2ico.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/sh
+
+# Slackware build script for png2ico
+
+# Copyright 2019 Richard Narron, California
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=png2ico
+VERSION=${VERSION:-20021208}
+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-src-${VERSION:0:4}-${VERSION:4:2}-${VERSION:6:2}.tar.gz
+mv $PRGNAM $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Patch to include <cstring> in png2ico.cpp
+(echo " " && cat $CWD/png2ico-cstring.patch) | patch -b -p1
+
+# patch Makefile, append EXTRAFLAGS to CPPFLAGS
+mv Makefile Makefile.orig
+sed '/^CPPFLAGS/ s/$/ $(EXTRAFLAGS)/' Makefile.orig > Makefile
+
+EXTRAFLAGS="$SLKCFLAGS" \
+make
+
+install -D -m755 -t $PKG/usr/bin/ png2ico
+install -D -m644 -t $PKG/usr/man/man1/ doc/png2ico.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
+
+find $PKG/usr/man -type 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* VERSION doc/bmp.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/graphics/png2ico/png2ico.info b/graphics/png2ico/png2ico.info
new file mode 100644
index 0000000000..32f353fd9a
--- /dev/null
+++ b/graphics/png2ico/png2ico.info
@@ -0,0 +1,10 @@
+PRGNAM="png2ico"
+VERSION="20021208"
+HOMEPAGE="https://www.winterdrache.de/freeware/png2ico/"
+DOWNLOAD="https://www.winterdrache.de/freeware/png2ico/data/png2ico-src-2002-12-08.tar.gz"
+MD5SUM="9b663df81c826cd564638cba2e6bc75b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Richard Narron"
+EMAIL="richard@aaazen.com"
diff --git a/graphics/png2ico/slack-desc b/graphics/png2ico/slack-desc
new file mode 100644
index 0000000000..6c498957ca
--- /dev/null
+++ b/graphics/png2ico/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+png2ico: png2ico (PNG to icon converter)
+png2ico:
+png2ico: Converts PNG files to Windows icon resource files.
+png2ico:
+png2ico:
+png2ico:
+png2ico:
+png2ico:
+png2ico:
+png2ico:
+png2ico:
diff --git a/graphics/potrace/patches/make-check-tolerance.diff b/graphics/potrace/patches/make-check-tolerance.diff
deleted file mode 100644
index 54dff3781a..0000000000
--- a/graphics/potrace/patches/make-check-tolerance.diff
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/check/pdf-check.sh b/check/pdf-check.sh
---- a/check/pdf-check.sh
-+++ b/check/pdf-check.sh
-@@ -72,11 +72,11 @@
- echo "GS does not understand PDF; skipping this test" >& 2
- exit 77
- fi
--actiondiff "$TMP2" "$REFDATA" 1000
-+actiondiff "$TMP2" "$REFDATA" 1200
-
- action $POTRACE -r50 -p -L 0 -B 0 --opaque -b pdf -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g460x394 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
--actiondiff "$TMP2" "$REFDATA" 1200
-+actiondiff "$TMP2" "$REFDATA" 1600
-
- action $POTRACE -r50 -p -L 0 -B 0 -A 160 -b pdf -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g568x528 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
-diff --git a/check/postscript-check.sh b/check/postscript-check.sh
---- a/check/postscript-check.sh
-+++ b/check/postscript-check.sh
-@@ -70,11 +70,11 @@
- echo "Something is wrong with $GS; skipping this test" >& 2
- exit 77
- fi
--actiondiff "$TMP2" "$REFDATA" 1000
-+actiondiff "$TMP2" "$REFDATA" 1200
-
- action $POTRACE -r50 -p -L 0 -B 0 --opaque -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g460x394 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
--actiondiff "$TMP2" "$REFDATA" 1200
-+actiondiff "$TMP2" "$REFDATA" 1600
-
- action $POTRACE -r50 -p -L 0 -B 0 -A 160 -o "$TMP1" "$DATA"
- action "$GS" -q -dNOPAUSE -sDEVICE=pbmraw -g568x528 -r100x100 -sOutputFile="$TMP2" -- "$TMP1"
diff --git a/graphics/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild
index 20dc9cd6a3..e98cf3a4fc 100644
--- a/graphics/potrace/potrace.SlackBuild
+++ b/graphics/potrace/potrace.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=potrace
-VERSION=${VERSION:-1.15}
+VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,11 +70,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# https://sourceforge.net/p/potrace/discussion/300717/thread/80794047/
-# plus another tolerance change. If you still have problems with the
-# `make check` line below, feel free to comment it out.
-patch -p1 < $CWD/patches/make-check-tolerance.diff
-
# For metric units and papersizes, use the following flags to configure:
# --enable-metric Use metric units (centimeters) as default
# --enable-a4 Use A4 as the default papersize
diff --git a/graphics/potrace/potrace.info b/graphics/potrace/potrace.info
index 594c2c01e6..c21077bb26 100644
--- a/graphics/potrace/potrace.info
+++ b/graphics/potrace/potrace.info
@@ -1,8 +1,8 @@
PRGNAM="potrace"
-VERSION="1.15"
+VERSION="1.16"
HOMEPAGE="http://potrace.sourceforge.net/"
-DOWNLOAD="http://potrace.sourceforge.net/download/1.15/potrace-1.15.tar.gz"
-MD5SUM="60cecdaa9d14e0008f96b68dce77d246"
+DOWNLOAD="http://potrace.sourceforge.net/download/1.16/potrace-1.16.tar.gz"
+MD5SUM="5f0bd87ddd9a620b0c4e65652ef93d69"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/psftools/README b/graphics/psftools/README
index c800979abc..3bfbd42795 100644
--- a/graphics/psftools/README
+++ b/graphics/psftools/README
@@ -15,9 +15,10 @@ font formats:
- Hercules WriteOn
- Raw bitmaps
-...and can also convert fonts to XBM, PBM, C source, and human-readable
-text files. psftools can also merge font files together, and transform
-them in various ways (scaling, flipping, adjusting the bounding box, etc).
+...and can also convert fonts to XBM, PBM, C source, and human
+readable text files. psftools can also merge font files together,
+and transform them in various ways (scaling, flipping, adjusting the
+bounding box, etc).
The package also includes few console fonts, taken from the open source
release of the GEM operating system.
diff --git a/graphics/psftools/psftools.SlackBuild b/graphics/psftools/psftools.SlackBuild
index baec0d652c..1167b8bbe4 100644
--- a/graphics/psftools/psftools.SlackBuild
+++ b/graphics/psftools/psftools.SlackBuild
@@ -6,17 +6,21 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210219 bkw: updated for v1.1.1
+# 20201208 bkw: updated for v1.0.14
+# 20191129 bkw: updated for v1.0.13
+
# 20180112 bkw:
# - BUILD=2
# - install the fonts that ship with the source, for use with the console.
# 20170712 bkw:
-# - updated for v1.1.0
+# - updated for v1.0.10
# - expand the README since it was a bit too terse
PRGNAM=psftools
-VERSION=${VERSION:-1.0.10}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.1.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,11 +59,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 {} \+
# --docdir not supported
CFLAGS="$SLKCFLAGS" \
@@ -118,5 +119,17 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
# X fonts would need this:
## cat $CWD/doinst.sh > $PKG/install/doinst.sh
+# Contents of doinst.sh would be:
+## # Update the X font indexes:
+## if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then
+## ( cd usr/share/fonts/misc
+## /usr/bin/mkfontscale .
+## /usr/bin/mkfontdir .
+## )
+## fi
+## if [ -x /usr/bin/fc-cache ]; then
+## /usr/bin/fc-cache -f
+## fi
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/psftools/psftools.info b/graphics/psftools/psftools.info
index c2e52451be..bf272a5277 100644
--- a/graphics/psftools/psftools.info
+++ b/graphics/psftools/psftools.info
@@ -1,8 +1,8 @@
PRGNAM="psftools"
-VERSION="1.0.10"
+VERSION="1.1.1"
HOMEPAGE="http://www.seasip.info/Unix/PSF/index.html"
-DOWNLOAD="http://www.seasip.info/Unix/PSF/psftools-1.0.10.tar.gz"
-MD5SUM="c0037435aa44619be9c6c6dc8c4bccc1"
+DOWNLOAD="http://www.seasip.info/Unix/PSF/psftools-1.1.1.tar.gz"
+MD5SUM="fb29d0adae0384e70aa20e94998dd9e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/qcad/qcad.SlackBuild b/graphics/qcad/qcad.SlackBuild
index 7a84d6260f..efe3561212 100644
--- a/graphics/qcad/qcad.SlackBuild
+++ b/graphics/qcad/qcad.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qcad
-# Copyright 2013-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2013-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qcad
-VERSION=${VERSION:-3.21.3.7}
+VERSION=${VERSION:-3.23.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/qcad/qcad.info b/graphics/qcad/qcad.info
index 760a8f49ce..1f498dd1a9 100644
--- a/graphics/qcad/qcad.info
+++ b/graphics/qcad/qcad.info
@@ -1,8 +1,8 @@
PRGNAM="qcad"
-VERSION="3.21.3.7"
+VERSION="3.23.0.2"
HOMEPAGE="https://www.qcad.org/en/"
-DOWNLOAD="https://github.com/qcad/qcad/archive/v3.21.3.7/qcad-3.21.3.7.tar.gz"
-MD5SUM="1b8ed90553253d4b0181f59de596f9a9"
+DOWNLOAD="https://github.com/qcad/qcad/archive/v3.23.0.2/qcad-3.23.0.2.tar.gz"
+MD5SUM="566c97bfe2dbe39aaf441a0b23381054"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/qelectrotech/qelectrotech.info b/graphics/qelectrotech/qelectrotech.info
index a90397d4b1..ef8a0b7890 100644
--- a/graphics/qelectrotech/qelectrotech.info
+++ b/graphics/qelectrotech/qelectrotech.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://download.tuxfamily.org/qet/tags/20180306/qelectrotech-0.6-src.
MD5SUM="4012d9814780be8c7758cf9e1bf9eb55"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES="qt5-legacy"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"
diff --git a/graphics/qiv/648ed5a.diff b/graphics/qiv/648ed5a.diff
deleted file mode 100644
index 178a3b854a..0000000000
--- a/graphics/qiv/648ed5a.diff
+++ /dev/null
@@ -1,446 +0,0 @@
-diff -Naur qiv-2.3.1/Changelog qiv-648ed5a/Changelog
---- qiv-2.3.1/Changelog 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/Changelog 2016-07-14 23:26:53.000000000 -0400
-@@ -21,7 +21,7 @@
- al: Adrian Lopez <adrian2@caribe.net>
- yf: Y Furuhashi <y_furuhashi@ot.olympus.co.jp>
- wd: Wayne Davison <wayne@opencoder.net>
-- js: Johannes Stezenbach <js@convergence.de>
-+ js: Johannes Stezenbach <js@sig21.net>
- ok: OEyvind Kolaas <pippin@users.sourceforge.net>
- mc: Matthieu Castet <castet.matthieu@free.fr>
- jd: Geoffrey T. Dairik <dairiki@dairiki.org>
-@@ -34,6 +34,27 @@
- pw: Peter deWachter <pdewacht@gmail.com>
- ap: Akos Pasztory <akos.pasztory@gmail.com>
-
-+2.3.2pre
-+========
-+ 30.05.2016 [tw] Fix occasionally erratic behaviour of qiv statusbar
-+ [tw] Fix xpm autodetection with libmagic
-+ 26.05.2016 [tw] Fix small artefacts in pictures which might
-+ happen when running remote over slow link
-+ (patch by Derek Schrock)
-+ 20.05.2016 [tw] update image after it is exposed in window mode
-+ 12.05.2016 [js/tw] fix broken "-no-filter" option
-+ libmagic filter now works on symlinks
-+ 07.11.2015 [tw] fix linking order in "make debug", did not
-+ work in some newer gcc versions
-+ 18.06.2015 [as] turn on EXIF autorotation by default
-+ 13.09.2014 [tw] Add option to sort files by modification time.
-+ (patch by Stefan Rüger)
-+ 23.04.2014 [tw] In case of "watch" option, check image only every 1/10 sec,
-+ instead of every 200us. This was way too short for
-+ devices like RasPi etc. (Hamish)
-+ [tw] Leave jumping mode on invalid input and process input key
-+ as if it was entered in non jumping mode (Sergey Pinaev)
-+
- 2.3.1
- =====
- 25.11.2013 [tw] Add libXext to libraries for linking in Makefile.
-diff -Naur qiv-2.3.1/Makefile qiv-648ed5a/Makefile
---- qiv-2.3.1/Makefile 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/Makefile 2016-07-14 23:26:53.000000000 -0400
-@@ -122,7 +122,7 @@
- debug: $(PROGRAM_G)
-
- $(PROGRAM_G): $(OBJS_G)
-- $(CC) -g $(CFLAGS) $(DEFINES_G) $(LIBS) $(OBJS_G) -o $(PROGRAM_G)
-+ $(CC) -g $(CFLAGS) $(DEFINES_G) $(OBJS_G) $(LIBS) -o $(PROGRAM_G)
-
- $(OBJS_G): %.g: %.c $(HEADERS)
- $(CC) -c -g $(CFLAGS) $(DEFINES_G) $(INCLUDES) $< -o $@
-diff -Naur qiv-2.3.1/event.c qiv-648ed5a/event.c
---- qiv-2.3.1/event.c 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/event.c 2016-07-14 23:26:53.000000000 -0400
-@@ -193,10 +193,15 @@
- q->exposed = 1;
- qiv_set_cursor_timeout(q);
- }
-- if(fullscreen) {
-- if(center) center_image(q);
-+ if(center) center_image(q);
-+ if(fullscreen)
-+ {
- update_image(q, FULL_REDRAW);
- }
-+ else
-+ {
-+ update_image(q, MIN_REDRAW);
-+ }
- break;
-
- case GDK_LEAVE_NOTIFY:
-@@ -223,26 +228,6 @@
- // printf("GDK_CONFIGURE get_root_origin %d %d\n",
- // magnify_img.frame_x, magnify_img.frame_y);
- }
-- // gdk_draw_rectangle(q->win, q->status_gc, 1, 10, 10, 50, 50);
-- if (statusbar_window && !fullscreen) {
--#ifdef DEBUG
-- g_print("*** print statusbar at (%d, %d)\n", MAX(2,q->win_w-q->text_w-10), MAX(2,q->win_h-q->text_h-10));
--#endif
-- // printf(">>> statusbar_w %d %d %d %d\n",
-- // MAX(2,q->win_w-text_w-10), MAX(2,q->win_h-text_h-10), text_w+5, text_h+5);
--
-- gdk_draw_rectangle(q->win, q->bg_gc, 0,
-- MAX(2,q->win_w-q->text_w-10), MAX(2,q->win_h-q->text_h-10),
-- q->text_w+5, q->text_h+5);
-- gdk_draw_rectangle(q->win, q->status_gc, 1,
-- MAX(3,q->win_w-q->text_w-9), MAX(3,q->win_h-q->text_h-9),
-- q->text_w+4, q->text_h+4);
--
-- pango_layout_set_text(layout, q->win_title, -1);
-- pango_layout_get_pixel_size (layout, &(q->text_w), &(q->text_h));
-- gdk_draw_layout (q->win, q->text_gc, MAX(5,q->win_w-q->text_w-7), MAX(5,q->win_h-7-q->text_h), layout);
-- }
--
- break;
-
- case GDK_BUTTON_PRESS:
-@@ -418,9 +403,9 @@
- jcmd[jidx] = '\0';
- if (jumping) {
- jump2image(jcmd);
-- qiv_load_image(q);
-- jumping=0;
-- }
-+ qiv_load_image(q);
-+ jumping=0;
-+ }
- else { // extcommand=1
- int numlines = 0;
- const char **lines;
-@@ -436,6 +421,23 @@
- }
- /* else record keystroke if not null */
- else if(ev->key.string && *(ev->key.string) != '\0') {
-+ if (jumping) {
-+ /* leave jumping mode on invalid input and process
-+ * input key as if it entered in non jumping mode */
-+ if((jidx == 0 &&
-+ (*(ev->key.string) != 'f' &&
-+ *(ev->key.string) != 'F' &&
-+ *(ev->key.string) != 'b' &&
-+ *(ev->key.string) != 'B' &&
-+ *(ev->key.string) != 't' &&
-+ *(ev->key.string) != 'T')) ||
-+ (jidx > 0 &&
-+ (*(ev->key.string) < '0' || *(ev->key.string) > '9'))) {
-+ jumping = 0;
-+ qiv_handle_event(ev, data);
-+ return;
-+ }
-+ }
- jcmd[jidx++]=*(ev->key.string);
- jcmd[jidx] = '\0';
- if (extcommand)
-@@ -915,7 +917,8 @@
- "(File watching: on)" : "(File watching: off)");
- update_image(q, REDRAW);
- if(watch_file){
-- g_idle_add (qiv_watch_file, q);
-+ // check every 100ms
-+ g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, 100, qiv_watch_file, q, NULL);
- }
- break;
-
-diff -Naur qiv-2.3.1/image.c qiv-648ed5a/image.c
---- qiv-2.3.1/image.c 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/image.c 2016-07-14 23:26:53.000000000 -0400
-@@ -262,7 +262,6 @@
-
- if (first) {
- setup_win(q);
-- first = 0;
- }
-
- check_size(q, TRUE);
-@@ -366,7 +365,7 @@
- gdk_window_resize(q->win, q->win_w, q->win_h);
- }
- if (!(to_root || to_root_t || to_root_s))
-- gdk_window_show(q->win);
-+ gdk_window_lower(q->win);
-
- } else { /* fullscreen */
-
-@@ -771,6 +770,12 @@
- };
- gdk_window_set_geometry_hints(q->win, &geometry,
- GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE | GDK_HINT_WIN_GRAVITY);
-+
-+ if(first) {
-+ gdk_window_show(q->win);
-+ first = 0;
-+ }
-+
- gdk_window_move_resize(q->win, q->win_x, q->win_y, q->win_w, q->win_h);
-
- if (!q->error) {
-@@ -791,6 +796,24 @@
- }
- }
- gdk_window_clear(q->win);
-+
-+ if(statusbar_window)
-+ {
-+#ifdef DEBUG
-+ g_print("*** print statusbar at (%d, %d)\n", MAX(2,q->win_w-q->text_w-10), MAX(2,q->win_h-q->text_h-10));
-+#endif
-+ gdk_draw_rectangle(q->win, q->bg_gc, 0,
-+ MAX(2,q->win_w-q->text_w-10), MAX(2,q->win_h-q->text_h-10),
-+ q->text_w+5, q->text_h+5);
-+ gdk_draw_rectangle(q->win, q->status_gc, 1,
-+ MAX(3,q->win_w-q->text_w-9), MAX(3,q->win_h-q->text_h-9),
-+ q->text_w+4, q->text_h+4);
-+
-+ pango_layout_set_text(layout, q->win_title, -1);
-+ pango_layout_get_pixel_size (layout, &(q->text_w), &(q->text_h));
-+ gdk_draw_layout (q->win, q->text_gc, MAX(5,q->win_w-q->text_w-7), MAX(5,q->win_h-7-q->text_h), layout);
-+ }
-+
- } // if (!fullscreen)
- else
- {
-@@ -859,6 +882,12 @@
- q->text_ow = q->text_w;
- q->text_oh = q->text_h;
- q->statusbar_was_on = statusbar_fullscreen;
-+
-+ if(first) {
-+ gdk_window_show(q->win);
-+ first = 0;
-+ }
-+
- gdk_window_move_resize(q->win, monitor[q->mon_id].x, monitor[q->mon_id].y,
- monitor[q->mon_id].width, monitor[q->mon_id].height);
- }
-diff -Naur qiv-2.3.1/main.c qiv-648ed5a/main.c
---- qiv-2.3.1/main.c 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/main.c 2016-07-14 23:26:53.000000000 -0400
-@@ -192,7 +192,7 @@
- qiv_load_image(&main_img);
-
- if(watch_file){
-- g_idle_add (qiv_watch_file, &main_img);
-+ g_timeout_add_full(G_PRIORITY_DEFAULT_IDLE, 100, qiv_watch_file, &main_img, NULL);
- }
-
- g_main_run(qiv_main_loop); /* will never return */
-@@ -272,7 +272,7 @@
- #ifdef HAVE_MAGIC
- magic_t cookie;
-
-- cookie = magic_open(MAGIC_NONE);
-+ cookie = magic_open(MAGIC_SYMLINK);
- magic_load(cookie,NULL);
- #endif
-
-diff -Naur qiv-2.3.1/main.h qiv-648ed5a/main.h
---- qiv-2.3.1/main.h 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/main.h 2016-07-14 23:26:53.000000000 -0400
-@@ -65,7 +65,7 @@
- int magnify = 0; /* [lc] */
- int user_screen = 0; /* preferred (by user) monitor */
- int browse = 0; /* scan directory of file for browsing */
--int autorotate = 0; /* autorotate JPEGs according to EXIF tag */
-+int autorotate = 1; /* autorotate JPEGs according to EXIF tag */
- int rotation = 0; /* rotation x degrees clockwise, 1=90degrees 2=180degrees 3=270degrees */
- int vikeys = 0; /* option to give us some vi-like keys (for movement) */
-
-diff -Naur qiv-2.3.1/options.c qiv-648ed5a/options.c
---- qiv-2.3.1/options.c 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/options.c 2016-07-14 23:26:53.000000000 -0400
-@@ -25,7 +25,7 @@
-
- #define LONGOPT_VIKEYS 128
-
--static char *short_options = "ab:c:Cd:efg:hilLmno:pq:rstuvw:xyzA:BDF:GIMNPRSTW:X:Y:Z:";
-+static char *short_options = "ab:c:Cd:efg:hilLmno:pq:rstuvw:xyzA:BDF:GIKMNPRSTW:X:Y:Z:";
- static struct option long_options[] =
- {
- {"do_grab", 0, NULL, 'a'},
-@@ -62,6 +62,7 @@
- {"file", 1, NULL, 'F'},
- {"disable_grab", 0, NULL, 'G'},
- {"statusbar", 0, NULL, 'I'},
-+ {"mtime_sort", 0, NULL, 'K'},
- {"merged_case_sort", 0, NULL, 'M'},
- {"numeric_sort", 0, NULL, 'N'},
- {"ignore_path_sort", 0, NULL, 'P'},
-@@ -78,7 +79,7 @@
- {0, 0, NULL, 0}
- };
-
--static int numeric_sort = 0, merged_case_sort = 0, ignore_path_sort = 0;
-+static int mtime_sort = 0, numeric_sort = 0, merged_case_sort = 0, ignore_path_sort = 0;
-
- /* This array makes it easy to sort filenames into merged-case order
- * (e.g. AaBbCcDdEeFf...). */
-@@ -117,6 +118,17 @@
- 0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
- };
-
-+
-+static time_t get_mtime(unsigned char *fn) {
-+ struct stat attrib;
-+
-+ if(stat((char *) fn, &attrib) == 0)
-+ return attrib.st_mtime;
-+
-+ return 0;
-+}
-+
-+
- static int my_strcmp(const void *v1, const void *v2)
- {
- unsigned char *cp1 = *(unsigned char **)v1;
-@@ -129,6 +141,15 @@
- sufptr2 = cp2 + strlen((char *)cp2);
- while (--sufptr2 > cp2 && *sufptr2 != '.') {}
-
-+ if(mtime_sort) {
-+ time_t diff = get_mtime(cp1) - get_mtime(cp2);
-+ if(diff < 0)
-+ return -1;
-+ if(diff > 0)
-+ return 1;
-+ // fall through in case of same time stamp
-+ }
-+
- if (ignore_path_sort) {
- unsigned char *slash;
- if ((slash = (unsigned char *)strrchr((char *)cp1, '/')) != NULL)
-@@ -244,7 +265,7 @@
- case 'i': force_statusbar=0;
- break;
- #if GDK_PIXBUF_MINOR >= 12
-- case 'l': autorotate=1;
-+ case 'l': autorotate=0; /* turn autorotation OFF, default is ON */
- break;
- #endif
- case 'm': maxpect=1;
-@@ -297,6 +318,8 @@
- break;
- case 'I': force_statusbar=1;
- break;
-+ case 'K': mtime_sort = 1;
-+ break;
- case 'M': merged_case_sort = 1;
- break;
- case 'N': numeric_sort = 1;
-@@ -305,7 +328,7 @@
- break;
- case 'R': readonly=1;
- break;
-- case 'S': shuffle=1;need_sort=0;
-+ case 'S': shuffle=1; need_sort=0;
- break;
- case 'T': watch_file=1;
- break;
-@@ -330,8 +353,8 @@
- }
- }
-
-- /* In case user specified -D and -P, -M, or -N */
-- need_sort = need_sort | ignore_path_sort | merged_case_sort | numeric_sort;
-+ /* In case user specified -D and -K, -P, -M, or -N */
-+ need_sort = need_sort | mtime_sort | ignore_path_sort | merged_case_sort | numeric_sort;
-
- /* default: show statusbar only in fullscreen mode */
- /* user wants to override? */
-@@ -382,14 +405,16 @@
- strcpy(tmp,image_names[0]);
- }
- rreaddir(dirname(image_names[0]),0);
-- filter_images(&images,image_names);
-+ if(filter)
-+ filter_images(&images,image_names);
- if(need_sort)
- qsort(image_names, images, sizeof *image_names, my_strcmp);
- image_idx = find_image(images,image_names,tmp);
- free(tmp);
- }
- else {
-- filter_images(&images,image_names);
-+ if(filter)
-+ filter_images(&images,image_names);
- if(need_sort)
- qsort(image_names, images, sizeof *image_names, my_strcmp);
- }
-diff -Naur qiv-2.3.1/qiv.1 qiv-648ed5a/qiv.1
---- qiv-2.3.1/qiv.1 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/qiv.1 2016-07-14 23:26:53.000000000 -0400
-@@ -144,6 +144,9 @@
- .B \-M, \-\-merged_case_sort
- Sort all the image files in merged-case order (AaBbCc...).
- .TP
-+.B \-K, \-\-mtime_sort
-+Sort files by their modification time
-+.TP
- .B \-N, \-\-numeric_sort
- A "smart" numeric sort that attempts to sort filenames with numbers in
- a logical manner. For instance: 2.jpg sorts before 10.jpg; 1foo.jpg
-@@ -168,7 +171,7 @@
- a tall image is too tall to fit on the screen, it will be rotated.
- .TP
- .B \-l, \-\-autorotate
--Autorotate JPEGs according to EXIF rotation tag.
-+Do NOT autorotate JPEGs according to EXIF rotation tag. Default is ON.
- .TP
- .B \-X, \-\-xineramascreen \fIx\fB
- Use monitor \fIx\fR as preferred screen
-@@ -180,8 +183,8 @@
- Use color profile file x as display profile for all images
- .TP
- .B \-B, \-\-browse
--This option is useful when configuring qiv to be used with a file manager. qiv
--will scan the directory of the clicked image and allow you to scroll
-+This option is useful when configuring qiv to be used with a file manager.
-+qiv will scan the directory of the clicked image and allow you to scroll
- through those images.
- .TP
- .B \-\-vikeys
-diff -Naur qiv-2.3.1/qiv.h qiv-648ed5a/qiv.h
---- qiv-2.3.1/qiv.h 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/qiv.h 2016-07-14 23:26:53.000000000 -0400
-@@ -25,8 +25,8 @@
- #include <X11/extensions/xf86vmode.h> // for XF86VidModeGetModeLine
- */
-
--#define VERSION "2.3.1"
--#define VERSION_FULL "QIV - Quick Image Viewer v2.3.1 - http://qiv.spiegl.de/"
-+#define VERSION "2.3.2pre"
-+#define VERSION_FULL "QIV - Quick Image Viewer v2.3.2pre - http://qiv.spiegl.de/"
- #define TRASH_DIR ".qiv-trash"
- #define SELECT_DIR ".qiv-select"
- #define SLIDE_DELAY 3000 /* milliseconds */
-diff -Naur qiv-2.3.1/utils.c qiv-648ed5a/utils.c
---- qiv-2.3.1/utils.c 2013-12-19 19:50:37.000000000 -0500
-+++ qiv-648ed5a/utils.c 2016-07-14 23:26:53.000000000 -0400
-@@ -492,6 +492,7 @@
- " --readonly, -R Disable the deletion feature\n"
- " --maxpect, -m Zoom to screen size and preserve aspect ratio\n"
- " --merged_case_sort, -M Sort filenames with AaBbCc... alpha order\n"
-+ " --mtime_sort, -K Sort files by their modification time\n"
- " --no_filter, -n Do not filter images by extension\n"
- " --no_statusbar, -i Disable statusbar\n"
- " --statusbar, -I Enable statusbar\n"
-@@ -507,7 +508,7 @@
- " --followlinks, -L Follow symlinks to directories (requires --recursivedir)\n"
- " --select_dir, -A x Store the selected files in dir x (default is .qiv-select)\n"
- #if GDK_PIXBUF_MINOR >= 12
-- " --autorotate, -l Autorotate JPEGs according to EXIF rotation tag\n"
-+ " --autorotate, -l Do NOT autorotate JPEGs according to EXIF rotation tag\n"
- #endif
- " --rotate, -q x Rotate 90(x=1),180(x=2),270(x=3) degrees clockwise (11 & 13 for conditional)\n"
- " --xineramascreen, -X x Use monitor x as preferred screen\n"
-@@ -722,7 +723,6 @@
- update_image(q, REDRAW);
- }
- }
-- usleep(200); /* avoid eating 100% cpu */
-
- return TRUE;
- }
diff --git a/graphics/qiv/README b/graphics/qiv/README
index a5116afc6c..f8333c67bd 100644
--- a/graphics/qiv/README
+++ b/graphics/qiv/README
@@ -1,6 +1,40 @@
+qiv (Quick Image Viewer)
+
Quick Image Viewer (qiv) is a very small and pretty fast GDK/Imlib
image viewer. Features include zoom, maxpect, scale down, fullscreen,
brightness/contrast/gamma correction, slideshow, pan with keyboard
and mouse, rotate left/right, flip, delete (move to .qiv-trash/),
jump to image x, jump forward/backward x images, filename filter, and
you can use qiv to set your X11-Desktop background.
+
+These formats are supported by default:
+
+GIF TIFF XPM PNG PPM PNM PGM BMP JPEG SVG ICO TGA ICNS WMF[*]
+
+[*] If .wmf files won't load for you, make sure you've updated
+ Slackware recently (e.g. "slackpkg upgrade-all").
+
+Optional supported formats:
+
+Format | Optional dependenc(y|ies)
+------------------------+-----------------------------------------------
+PCX | pcx-pixbuf-loader
+------------------------+-----------------------------------------------
+PSD (PhotoShop native) | gdk-pixbuf-psd
+------------------------+-----------------------------------------------
+WEBP | libwebp imlib2 webp-pixbuf-loader. Build and
+ | install *in that order*.
+------------------------+-----------------------------------------------
+XCF (Gimp native) | xcf-pixbuf-loader
+------------------------+-----------------------------------------------
+RAW (camera images, | libopenraw. Note that only a few raw image
+ various extensions) | formats will actually display with qiv. These
+ | include .crw (Canon), .erf (Epson), and
+ | .nef (Nikon).
+------------------------+-----------------------------------------------
+
+These are runtime dependencies, so they can be installed at any time
+without rebuilding qiv.
+
+To easily build all the optional dependencies, use sbopkg with the
+qiv-allfmt.sqf in the SlackBuild directory.
diff --git a/graphics/qiv/new_formats.diff b/graphics/qiv/new_formats.diff
new file mode 100644
index 0000000000..bc5622fd89
--- /dev/null
+++ b/graphics/qiv/new_formats.diff
@@ -0,0 +1,73 @@
+diff -Naur qiv-2.3.2/Makefile qiv-2.3.2.patched/Makefile
+--- qiv-2.3.2/Makefile 2017-11-03 14:27:27.000000000 -0400
++++ qiv-2.3.2.patched/Makefile 2019-12-31 14:06:51.304388148 -0500
+@@ -24,7 +24,7 @@
+ # skipped.) It should reflect whatever is compiled into imlib.
+ # The latest version of imlib has removed imagemagick fallback support,
+ # so some extensions (XBM TGA) have been removed.
+-EXTNS = GIF TIFF XPM PNG PPM PNM PGM PCX BMP EIM JPEG SVG WMF ICO
++EXTNS = GIF TIFF XPM PNG PPM PNM PGM PCX BMP EIM JPEG SVG WMF ICO WEBP XCF PSD ICNS TGA RAW
+
+ # Comment this line out if your system doesn't have getopt_long().
+ GETOPT_LONG = -DHAVE_GETOPT_LONG
+diff -Naur qiv-2.3.2/main.h qiv-2.3.2.patched/main.h
+--- qiv-2.3.2/main.h 2017-11-03 14:27:27.000000000 -0400
++++ qiv-2.3.2.patched/main.h 2019-12-31 14:27:29.455909124 -0500
+@@ -199,6 +199,27 @@
+ #ifdef EXTN_SVG
+ ".svg",
+ #endif
++#ifdef EXTN_WEBP
++ ".webp",
++#endif
++#ifdef EXTN_XCF
++ ".xcf",
++#endif
++#ifdef EXTN_PSD
++ ".psd",
++#endif
++#ifdef EXTN_ICNS
++ ".icns",
++#endif
++ /* BROKEN in slackware 14.2, using newer versions
++ of jasper and gdk-pixbuf2 built with jasper didn't help.
++ Disabled in Makefile. */
++#ifdef EXTN_JP2
++ ".jp2", ".jpc", ".jpx", ".j2k", ".jpf",
++#endif
++#ifdef EXTN_RAW
++ "dng", "cr2", "crw", "nef", "orf", "pef", "arw", "erf", "mrw", "raf",
++#endif
+ NULL
+ };
+
+@@ -238,6 +259,29 @@
+ #ifdef EXTN_ICO
+ "MS Windows icon resource",
+ #endif
++#ifdef EXTN_WEBP
++ "RIFF (little-endian) data, Web/P image",
++#endif
++#ifdef EXTN_XCF
++ "GIMP XCF image data",
++#endif
++#ifdef EXTN_PSD
++ "Adobe Photoshop Image",
++#endif
++#ifdef EXTN_ICNS
++ "Mac OS X icon",
++#endif
++#ifdef EXTN_JP2
++ "JPEG 2000",
++#endif
++#ifdef EXTN_RAW
++ /* 20191231 bkw: some of these (dng, nef, erf, pef) show up as TIFF
++ with the file command, so we can't include them here. */
++ "Canon CIFF",
++ "Canon CR2",
++ "Olympus ORF",
++ "Minolta Dimage",
++#endif
+ NULL
+ };
+ #endif
diff --git a/graphics/qiv/qiv-allfmt.sqf b/graphics/qiv/qiv-allfmt.sqf
new file mode 100644
index 0000000000..5fa2cb06f6
--- /dev/null
+++ b/graphics/qiv/qiv-allfmt.sqf
@@ -0,0 +1,7 @@
+libopenraw
+libwebp
+webp-pixbuf-loader
+xcf-pixbuf-loader
+gdk-pixbuf-psd
+pcx-pixbuf-loader
+imlib2
diff --git a/graphics/qiv/qiv.SlackBuild b/graphics/qiv/qiv.SlackBuild
index 6933f0602d..0320a81708 100644
--- a/graphics/qiv/qiv.SlackBuild
+++ b/graphics/qiv/qiv.SlackBuild
@@ -8,6 +8,19 @@
# version had no license, modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
+# 20191231 bkw:
+# - Add libopenraw (raw camera image) formats, BUILD=2.
+# - Remove mention of wmf-pixbuf loader from README and .sqf
+# since there's a Slackware update that removes the need for it.
+
+# 20191226 bkw:
+# - Upgrade for v2.3.2. This was released a month after my last update,
+# but the download page on the site doesn't link to it (found it just
+# now by editing the URL for v2.3.1), so my update-checker script
+# never saw it...
+# - As compensation for my tardiness, add support for a bunch of new
+# image types.
+
# 20170209 bkw:
# - Take over maintenance
# - i486 => i586
@@ -17,8 +30,8 @@
# - Don't install README.INSTALL
PRGNAM=qiv
-VERSION=${VERSION:-2.3.2pre20160530}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.3.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -50,26 +63,39 @@ fi
set -e
-OLDVER=2.3.1
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$OLDVER
-tar xvf $CWD/$PRGNAM-$OLDVER.tgz
-cd $PRGNAM-$OLDVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-# bugfixes from upstream's git repo.
-patch -p1 < $CWD/648ed5a.diff
-
-sed -i "s/-O2 -Wall/$SLKCFLAGS/" Makefile
-sed -i "s|\./qiv|echo &|" Makefile # remove test
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# Patch to add potential support for various image formats. This patch
+# doesn't actually contain any code for decoding/displaying new image
+# formats. All it does is add file extensions and magic to the list
+# of filetypes qiv will attempt to display via imlib and/or pixbuf.
+# It's up to imlib/pixbuf to actually support the image types. Some of
+# these are already supported in Slackware, a few require optional deps
+# (see README).
+
+# For the optional ones (e.g. webp), this patch doesn't do any harm
+# if the support library's not installed. All it does is make qiv warn
+# "Unable to read file" on stderr, instead of silently skipping it.
+
+patch -p1 < $CWD/new_formats.diff
+
+# Three sed expressions here. In order:
+# 1. Make qiv build with our compiler flags.
+# 2. Disable the test, since it requires X to be running and
+# accepting connections from root.
+# 3. Put man page where Slackware likes them.
+sed -i -e "s/-O2 -Wall/$SLKCFLAGS/" \
+ -e "s|\./qiv|echo &|" \
+ -e 's,/share/man,/man,g' \
+ Makefile
make
make install PREFIX=$PKG/usr
diff --git a/graphics/qiv/qiv.info b/graphics/qiv/qiv.info
index 3ef95ba78a..1ec4d757ca 100644
--- a/graphics/qiv/qiv.info
+++ b/graphics/qiv/qiv.info
@@ -1,8 +1,8 @@
PRGNAM="qiv"
-VERSION="2.3.2pre20160530"
+VERSION="2.3.2"
HOMEPAGE="http://spiegl.de/qiv/"
-DOWNLOAD="http://spiegl.de/qiv/download/qiv-2.3.1.tgz"
-MD5SUM="93aea7469be64ebd35277a6dac079fc8"
+DOWNLOAD="http://spiegl.de/qiv/download/qiv-2.3.2.tgz"
+MD5SUM="e64dd2cbd49f31264f60012e0138549b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"
diff --git a/graphics/qrencode/qrencode.SlackBuild b/graphics/qrencode/qrencode.SlackBuild
index 58272c93eb..52fd2710fd 100644
--- a/graphics/qrencode/qrencode.SlackBuild
+++ b/graphics/qrencode/qrencode.SlackBuild
@@ -3,7 +3,7 @@
# SlackBuild Script for qrencode
# Copyright 2012 Matthew "mfillpot" Fillpot
-# Revised 2018 Lenard Spencer
+# Copyright 2018, 2020 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qrencode
-VERSION=${VERSION:-4.0.2}
+VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,9 +84,6 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-# Do not ship .la files
-find $PKG/usr/lib${LIBDIRSUFFIX} -name *.la -delete || 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
diff --git a/graphics/qrencode/qrencode.info b/graphics/qrencode/qrencode.info
index 64bc5d377a..ecdb156112 100644
--- a/graphics/qrencode/qrencode.info
+++ b/graphics/qrencode/qrencode.info
@@ -1,8 +1,8 @@
PRGNAM="qrencode"
-VERSION="4.0.2"
+VERSION="4.1.1"
HOMEPAGE="https://fukuchi.org/works/qrencode/"
-DOWNLOAD="https://fukuchi.org/works/qrencode/qrencode-4.0.2.tar.bz2"
-MD5SUM="3eb64357f6fbdb68c27cb2e44e97280a"
+DOWNLOAD="https://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.bz2"
+MD5SUM="de7185bcab635a34730e1b73d4efa705"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/ralcgm/ralcgm.info b/graphics/ralcgm/ralcgm.info
index 1a190b348c..21a5f4ae02 100644
--- a/graphics/ralcgm/ralcgm.info
+++ b/graphics/ralcgm/ralcgm.info
@@ -1,7 +1,7 @@
PRGNAM="ralcgm"
VERSION="3.50"
HOMEPAGE="http://www.agocg.ac.uk/train/cgm/ralcgm.htm"
-DOWNLOAD="http://web.warwick.ac.uk/ftp/x11/ralcgm-3.50.tar.Z"
+DOWNLOAD="http://attic-distfiles.pld-linux.org/distfiles/by-md5/c/1/c132d8533527c35eb99581ed7cc738db/ralcgm-3.50.tar.Z"
MD5SUM="c132d8533527c35eb99581ed7cc738db"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/raw-thumbnailer/README b/graphics/raw-thumbnailer/README
index e09b761965..5bf52ed689 100644
--- a/graphics/raw-thumbnailer/README
+++ b/graphics/raw-thumbnailer/README
@@ -1,3 +1,5 @@
+raw-thumbnailer (thumbnailer for RAW camera files)
+
This simple program generates thumbnails of digital camera raw image
files using libopenraw and GDK. It supports the same file formats as
libopenraw (http://libopenraw.freedesktop.org/wiki/FileFormats).
diff --git a/graphics/raw-thumbnailer/doinst.sh b/graphics/raw-thumbnailer/doinst.sh
new file mode 100644
index 0000000000..aa30ae34d7
--- /dev/null
+++ b/graphics/raw-thumbnailer/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/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
index eb7477aaa4..cda4309671 100644
--- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
+++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for raw-thumbnailer
# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2019 B. Watson
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -23,14 +24,28 @@
# (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.0.0
+# - i486 => i586
+# - don't install INSTALL or empty files in doc dir
+# - support both .gz and .bz2 tarballs, so we can still build v0.2.1
+# - add doinst.sh with update-mime-database
+# - fix slack-desc and README
+
+# Note to self: there's a bunch of sample images in various camera formats
+# here: https://www.rawsamples.ch/index.php/en/
+
PRGNAM=raw-thumbnailer
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,15 +56,15 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -61,14 +76,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -84,15 +96,15 @@ CXXFLAGS="$SLKCFLAGS" \
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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $DOCDIR
+cp -a AUTHORS COPYING ChangeLog NEWS README $DOCDIR
+find $DOCDIR -type f -a -empty -a -exec rm {} \+
+cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$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/graphics/raw-thumbnailer/raw-thumbnailer.info b/graphics/raw-thumbnailer/raw-thumbnailer.info
index b362b3d5c8..aeba16e267 100644
--- a/graphics/raw-thumbnailer/raw-thumbnailer.info
+++ b/graphics/raw-thumbnailer/raw-thumbnailer.info
@@ -1,10 +1,10 @@
PRGNAM="raw-thumbnailer"
-VERSION="0.2.1"
-HOMEPAGE="https://github.com/erlendd/raw-thumbnailer"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/raw-thumbnailer-0.2.1.tar.gz"
-MD5SUM="a39282120d8f754e9f6adb768d65b72a"
+VERSION="3.0.0"
+HOMEPAGE="https://libopenraw.freedesktop.org/raw-thumbnailer/"
+DOWNLOAD="https://libopenraw.freedesktop.org/download/raw-thumbnailer-3.0.0.tar.bz2"
+MD5SUM="fc56f327b3e2b2c647abd99b728b27a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libopenraw"
-MAINTAINER="Michiel van Wessem"
-EMAIL="michiel@slackbuilds.org"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/raw-thumbnailer/slack-desc b/graphics/raw-thumbnailer/slack-desc
index 20f2af6a9e..dada2f66bb 100644
--- a/graphics/raw-thumbnailer/slack-desc
+++ b/graphics/raw-thumbnailer/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-raw-thumbnailer: raw-thumbnailer (Short Application Description)
+raw-thumbnailer: raw-thumbnailer (thumbnailer for RAW camera files)
raw-thumbnailer:
raw-thumbnailer: This simple program generates thumbnails of digital camera
raw-thumbnailer: raw image files using libopenraw and GDK. It supports the
-raw-thumbnailer: same file formats as libopenraw.
+raw-thumbnailer: same file formats as libopenraw.
raw-thumbnailer:
raw-thumbnailer: This thumbnailer is designed to be small, lightweight
raw-thumbnailer: and fast. It is primarily intended to be used with file
diff --git a/graphics/renderdoc/README b/graphics/renderdoc/README
new file mode 100644
index 0000000000..415012ab7d
--- /dev/null
+++ b/graphics/renderdoc/README
@@ -0,0 +1,12 @@
+RenderDoc is a free MIT licensed stand-alone graphics debugger that
+allows quick and easy single-frame capture and detailed introspection of
+any application using Vulkan, D3D11, OpenGL & OpenGL ES or D3D12.
+
+qt5 and python3 are optional dependencies required to build the
+qrenderdoc GUI.
+
+To disable building the qrenderdoc GUI use:
+ QT=no ./renderdoc.SlackBuild
+
+To build debugging symbols use:
+ DEBUG=yes ./renderdoc.SlackBuild
diff --git a/graphics/renderdoc/doinst.sh b/graphics/renderdoc/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/graphics/renderdoc/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/graphics/renderdoc/renderdoc.SlackBuild b/graphics/renderdoc/renderdoc.SlackBuild
new file mode 100644
index 0000000000..573f723403
--- /dev/null
+++ b/graphics/renderdoc/renderdoc.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/sh
+
+# Slackware build script for renderdoc
+
+# 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=renderdoc
+VERSION=${VERSION:-1.11}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ # https://github.com/baldurk/renderdoc/issues/1991#issuecomment-670518428
+ printf %s\\n 'Only x86_64 is supported for linux.' >&2
+ exit 1
+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 {} \;
+
+if [ "${DEBUG:=0}" != 0 ]; then
+ RELEASE=Debug
+ SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')"
+else
+ RELEASE=Release
+fi
+
+if [ "${QT:-yes}" = yes ] && pkg-config --exists Qt5Core python3; then
+ GUI=ON
+else
+ GUI=OFF
+fi
+
+grep -rl "share/doc/$PRGNAM" |
+ xargs sed -i "s|share/doc/$PRGNAM|doc/$PRGNAM-$VERSION|"
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DQMAKE_QT5_COMMAND=qmake-qt5 \
+ -DLIB_SUBFOLDER=$PRGNAM \
+ -DVULKAN_LAYER_FOLDER=/usr/share/vulkan/implicit_layer.d \
+ -DRENDERDOC_SWIG_PACKAGE="$CWD/swig-$PRGNAM-modified-7.tar.gz" \
+ -DENABLE_PYRENDERDOC=$GUI \
+ -DENABLE_QRENDERDOC=$GUI \
+ -DBUILD_VERSION_STABLE=ON \
+ -DBUILD_VERSION_DIST_NAME=slackware \
+ -DBUILD_VERSION_DIST_CONTACT='https://lists.slackbuilds.org/' \
+ -DCMAKE_BUILD_TYPE=$RELEASE ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+# renderdoc explicity depends on CMAKE_INSTALL_RPATH
+# -DCMAKE_SKIP_RPATH=TRUE \
+
+if [ "$DEBUG" = 0 ]; 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
+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/graphics/renderdoc/renderdoc.info b/graphics/renderdoc/renderdoc.info
new file mode 100644
index 0000000000..5fcede2da5
--- /dev/null
+++ b/graphics/renderdoc/renderdoc.info
@@ -0,0 +1,12 @@
+PRGNAM="renderdoc"
+VERSION="1.11"
+HOMEPAGE="https://renderdoc.org/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/baldurk/renderdoc/archive/v1.11/renderdoc-1.11.tar.gz \
+ https://github.com/baldurk/swig/archive/renderdoc-modified-7/swig-renderdoc-modified-7.tar.gz"
+MD5SUM_x86_64="023a7cb3d7980a1aa054695059262b86 \
+ 5558ee4e2fcf33b8dceb191ed4795a23"
+REQUIRES=""
+MAINTAINER="Hunter Sezen"
+EMAIL="orbea@riseup.net"
diff --git a/graphics/renderdoc/slack-desc b/graphics/renderdoc/slack-desc
new file mode 100644
index 0000000000..4cd1395fbf
--- /dev/null
+++ b/graphics/renderdoc/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+renderdoc: renderdoc (Stand-alone graphics debugging tool)
+renderdoc:
+renderdoc: RenderDoc is a frame-capture based graphics debugger, currently
+renderdoc: available for Vulkan, D3D11, D3D12, OpenGL, and OpenGL ES
+renderdoc: development.
+renderdoc:
+renderdoc: Homepage: https://renderdoc.org/
+renderdoc:
+renderdoc:
+renderdoc:
+renderdoc:
diff --git a/graphics/scantailor/scantailor.info b/graphics/scantailor/scantailor.info
index ae2b470443..15146007f0 100644
--- a/graphics/scantailor/scantailor.info
+++ b/graphics/scantailor/scantailor.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/Tulon/scantailor/archive/EXPERIMENTAL_2016_01_13.ta
MD5SUM="90617c2bc82f288bfed472b9b03a1eef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES="qt5-legacy"
MAINTAINER="Zhischenko Sergey"
EMAIL="gishenko@mail.ru"
diff --git a/graphics/shaderc/fix-glslang-link-order.patch b/graphics/shaderc/fix-glslang-link-order.patch
deleted file mode 100644
index ad7de1f33b..0000000000
--- a/graphics/shaderc/fix-glslang-link-order.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 21c8be385b3fab5edcb934a6d99f69fd389c4e67 Mon Sep 17 00:00:00 2001
-From: Niklas Haas <git@haasn.xyz>
-Date: Tue, 29 May 2018 07:34:00 +0200
-Subject: [PATCH] Fix the link order of libglslang and libHLSL
-
-libglslang depends on libHLSL, so the latter needs to be specified last.
-This fixes an issue when trying to build shaderc against system-wide
-versions of libglslang/libHLSL, rather than the in-tree versions from
-third_party.
-
-Additionally, libshaderc_util also depends on SPIRV-Tools
----
- glslc/CMakeLists.txt | 2 +-
- libshaderc_util/CMakeLists.txt | 4 ++--
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/glslc/CMakeLists.txt b/glslc/CMakeLists.txt
-index acf6fb0..0f5d888 100644
---- a/glslc/CMakeLists.txt
-+++ b/glslc/CMakeLists.txt
-@@ -18,7 +18,7 @@ add_library(glslc STATIC
- shaderc_default_compile_options(glslc)
- target_include_directories(glslc PUBLIC ${glslang_SOURCE_DIR})
- target_link_libraries(glslc PRIVATE glslang OSDependent OGLCompiler
-- HLSL glslang SPIRV ${CMAKE_THREAD_LIBS_INIT})
-+ glslang SPIRV HLSL ${CMAKE_THREAD_LIBS_INIT})
- target_link_libraries(glslc PRIVATE shaderc_util shaderc)
-
- add_executable(glslc_exe src/main.cc)
-diff --git a/libshaderc_util/CMakeLists.txt b/libshaderc_util/CMakeLists.txt
-index 873540a..6d0c465 100644
---- a/libshaderc_util/CMakeLists.txt
-+++ b/libshaderc_util/CMakeLists.txt
-@@ -34,8 +34,8 @@ endif(SHADERC_ENABLE_INSTALL)
-
- find_package(Threads)
- target_link_libraries(shaderc_util PRIVATE
-- glslang OSDependent OGLCompiler HLSL glslang SPIRV
-- SPIRV-Tools-opt ${CMAKE_THREAD_LIBS_INIT})
-+ glslang OSDependent OGLCompiler glslang HLSL SPIRV
-+ SPIRV-Tools-opt SPIRV-Tools ${CMAKE_THREAD_LIBS_INIT})
-
- shaderc_add_tests(
- TEST_PREFIX shaderc_util
diff --git a/graphics/shaderc/shaderc.SlackBuild b/graphics/shaderc/shaderc.SlackBuild
index bf2c19eafb..9cb723fb0e 100644
--- a/graphics/shaderc/shaderc.SlackBuild
+++ b/graphics/shaderc/shaderc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for shaderc
-# Copyright 2018-2019 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
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=shaderc
-VERSION=${VERSION:-2019.0}
+VERSION=${VERSION:-2020.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,9 +76,6 @@ sed -i '/build-version/d' glslc/CMakeLists.txt
glslang_version="$(glslangValidator -v | grep 'Glslang Version')"
# Create build-version.inc since git versioning is disabled.
-# There does not seem to be any good way to get the glslang version
-# so use the latest version from their github repo.
-# https://github.com/KhronosGroup/glslang
# This is displayed with 'glslc --version'.
cat > glslc/src/build-version.inc <<EOF
"shaderc $VERSION\\n"
@@ -86,16 +83,13 @@ cat > glslc/src/build-version.inc <<EOF
"glslang-${glslang_version##* }\\n"
EOF
-# Fix the link order of libglslang and libHLS
-# https://github.com/google/shaderc/pull/463
-patch -p1 < $CWD/fix-glslang-link-order.patch
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -I/usr/include/glslang" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=ON \
-DSHADERC_SKIP_TESTS=ON \
-DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_BUILD_TYPE=Release ..
diff --git a/graphics/shaderc/shaderc.info b/graphics/shaderc/shaderc.info
index 1e5fb60f2b..398339dcec 100644
--- a/graphics/shaderc/shaderc.info
+++ b/graphics/shaderc/shaderc.info
@@ -1,10 +1,10 @@
PRGNAM="shaderc"
-VERSION="2019.0"
+VERSION="2020.4"
HOMEPAGE="https://github.com/google/shaderc"
-DOWNLOAD="https://github.com/google/shaderc/archive/v2019.0/shaderc-2019.0.tar.gz"
-MD5SUM="8eb2b40712db2762a5cc40b568fd8ad9"
+DOWNLOAD="https://github.com/google/shaderc/archive/v2020.4/shaderc-2020.4.tar.gz"
+MD5SUM="5c587cb6bd3b7e8745ca2e0dd46bb284"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vulkan-sdk"
+REQUIRES="glslang"
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/graphics/sxiv/sxiv.SlackBuild b/graphics/sxiv/sxiv.SlackBuild
index 3972b2430c..74af4635e8 100644
--- a/graphics/sxiv/sxiv.SlackBuild
+++ b/graphics/sxiv/sxiv.SlackBuild
@@ -25,7 +25,7 @@
# Modified by Eugene M., <damagedone at gmx dot com>
PRGNAM=sxiv
-VERSION=${VERSION:-25}
+VERSION=${VERSION:-26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/sxiv/sxiv.info b/graphics/sxiv/sxiv.info
index 016efc748c..3b6b6b77b1 100644
--- a/graphics/sxiv/sxiv.info
+++ b/graphics/sxiv/sxiv.info
@@ -1,8 +1,8 @@
PRGNAM="sxiv"
-VERSION="25"
+VERSION="26"
HOMEPAGE="https://github.com/muennich/sxiv"
-DOWNLOAD="https://github.com/muennich/sxiv/archive/v25/sxiv-25.tar.gz"
-MD5SUM="2c1c64a5714c6c876e7bfd8cd405b2a0"
+DOWNLOAD="https://github.com/muennich/sxiv/archive/v26/sxiv-26.tar.gz"
+MD5SUM="969d086bff438ae882433f8729d2b95d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"
diff --git a/graphics/teighafileconverter/teighafileconverter.SlackBuild b/graphics/teighafileconverter/teighafileconverter.SlackBuild
index 80bdd64851..e74c00cf10 100644
--- a/graphics/teighafileconverter/teighafileconverter.SlackBuild
+++ b/graphics/teighafileconverter/teighafileconverter.SlackBuild
@@ -90,7 +90,7 @@ chmod 755 $PKG/usr/bin/$ORIGNAM $PKGLIB/$ORIGNAM/$ORIGNAM
PKGAPP=$PKG/usr/share/applications
iconv -f ISO-8859-1 -t UTF-8 $PKGAPP/${ORIGNAM}_$VERSION.desktop | \
sed 's@/usr/bin/@@g' > \
- $PKGAPP/${ORIGNAM}.deskop
+ $PKGAPP/${ORIGNAM}.desktop
rm -f $PKGAPP/${ORIGNAM}_$VERSION.desktop
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/teighafileconverter/teighafileconverter.info b/graphics/teighafileconverter/teighafileconverter.info
index 9cd78e6cff..5ac7e7f72c 100644
--- a/graphics/teighafileconverter/teighafileconverter.info
+++ b/graphics/teighafileconverter/teighafileconverter.info
@@ -1,9 +1,9 @@
PRGNAM="teighafileconverter"
VERSION="19.5.0.0"
HOMEPAGE="https://www.opendesign.com/guestfiles/TeighaFileConverter"
-DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/TeighaFileConverter_QT5_lnxX86_4.7dll.deb"
+DOWNLOAD="https://slackware.uk/~urchlay/src/TeighaFileConverter_QT5_lnxX86_4.7dll.deb"
MD5SUM="68e6185b3419fcf31d53da1fe34142a4"
-DOWNLOAD_x86_64="http://urchlay.naptime.net/~urchlay/src/TeighaFileConverter_QT5_lnxX64_4.7dll.deb"
+DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/TeighaFileConverter_QT5_lnxX64_4.7dll.deb"
MD5SUM_x86_64="a9da11f38a74a767812f1a11d387bbbf"
REQUIRES="qt5"
MAINTAINER="B. Watson"
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index 20be19b845..9c4bf01262 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -3,6 +3,8 @@
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# Copyright 2013-2015 LukenShiro, Italy
+# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,7 +33,7 @@
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=tesseract
-VERSION=${VERSION:-3.04.00}
+VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCFILES="AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes"
+DOCFILES="AUTHORS CONTRIBUTING.md ChangeLog LICENSE README.md"
# Language data files
# replace this with the 3-character ISO 639-2 language code of the language(s)
# you want to install: different language data files can coexist nicely.
@@ -117,6 +119,10 @@ 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
+# Uncomment when migrating to 15.0:
+## Don't ship .la files:
+#rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES \
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/tesseract/tesseract.info b/graphics/tesseract/tesseract.info
index 1a4862f2a0..14c097c0be 100644
--- a/graphics/tesseract/tesseract.info
+++ b/graphics/tesseract/tesseract.info
@@ -1,12 +1,12 @@
PRGNAM="tesseract"
-VERSION="3.04.00"
+VERSION="4.1.1"
HOMEPAGE="https://github.com/tesseract-ocr"
-DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/3.04.00.tar.gz \
- https://github.com/tesseract-ocr/tessdata/raw/3.04.00/eng.traineddata"
-MD5SUM="078130b9c7d28c558a0e49d432505864 \
- 59a99c829aa385ae8cde35775e32e57f"
+DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.1/tesseract-4.1.1.tar.gz \
+ https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata"
+MD5SUM="51fe2bcbff1bbce77a25d180fd247f7d \
+ 57e0df3d84fed9fbf8c7a8e589f8f012"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="leptonica"
-MAINTAINER="LukenShiro"
-EMAIL="lukenshiro@ngi.it"
+MAINTAINER="Logan Rathbone"
+EMAIL="poprocks@gmail.com"
diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
index f899e3124b..7ef94508f5 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
@@ -6,7 +6,7 @@
# updated by Tim Dickson (dickson.tim@googlemail.com)
PRGNAM=tuxpaint-stamps
-VERSION=${VERSION:-2018.09.01}
+VERSION=${VERSION:-2020.12.27}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,13 +34,6 @@ find -L . \
#the "source" is just data which needs copying to the right place.
mkdir -p $PKG/usr/share/tuxpaint
cp -ar stamps $PKG/usr/share/tuxpaint/
-#remove some empty files (should be fixed upstream next time)
-if [ ! -s $PKG/usr/share/tuxpaint/stamps/plants/trees/holly_leaves.dat ]; then
- rm -f $PKG/usr/share/tuxpaint/stamps/plants/trees/holly_leaves.dat
-fi
-if [ ! -s $PKG/usr/share/tuxpaint/stamps/hobbies/music/wind/bassoon.dat ]; then
- rm -f $PKG/usr/share/tuxpaint/stamps/hobbies/music/wind/bassoon.dat
-fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.info b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
index 517c8b6adf..45cfd52869 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.info
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
@@ -1,8 +1,8 @@
PRGNAM="tuxpaint-stamps"
-VERSION="2018.09.01"
+VERSION="2020.12.27"
HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2018.09.01.tar.gz"
-MD5SUM="ac318e01b1f90a29325855e69e2e3901"
+DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2020.12.27.tar.gz"
+MD5SUM="99fbdd34e0e5cb1cf07742d55f797382"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="tuxpaint"
diff --git a/graphics/tuxpaint/README b/graphics/tuxpaint/README
index 3be2b90773..1884956536 100644
--- a/graphics/tuxpaint/README
+++ b/graphics/tuxpaint/README
@@ -9,4 +9,7 @@ and has entertaining, child-oriented additions such as sound effects.
tuxpaint-config is now also included as a gui tool to configure
tuxpaint.
-SDL_Pango is an optional dependency.
+Note: end users will need to create a Pictures directory in their home
+directory in order to export slideshows as animated GIFs. This bug has
+been reported and will hopefully get fixed for the next version.
+
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild
index 9132dc564d..92dccd38b8 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -8,9 +8,9 @@
# added tuxpaint-config 2019-02-11
PRGNAM=tuxpaint
-VERSION=${VERSION:-0.9.23}
-CONFVER=${CONFVER:-0.0.14}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.9.25}
+CONFVER=${CONFVER:-0.0.16}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -76,28 +76,17 @@ cp src/$PRGNAM.desktop $PKG/usr/share/applications/
cd ..
tar xvf $CWD/$PRGNAM-config-$CONFVER.tar.gz
cd $PRGNAM-config-$CONFVER
-make
-#unfortunately tuxpaint-config does not have DESTDIR configured, so we
-#have to do things by hand. copy executable, icons and desktop file and man
-mkdir -p $PKG/usr/bin
-cp $PRGNAM-config $PKG/usr/bin/
-mkdir -p $PKG/usr/share/pixmaps
-cp data/images/icon.png $PKG/usr/share/pixmaps/$PRGNAM-config.png
-cp data/images/icon32x32.xpm $PKG/usr/share/pixmaps/$PRGNAM-config.xpm
-for i in "16x16" "32x32" "48x48"; do
- mkdir -p $PKG/usr/share/icons/hicolor/$i
- cp data/images/icon$i.png $PKG/usr/share/icons/hicolor/$i/$PRGNAM-config.png
-done
-mkdir -p $PKG/usr/share/applications
-cp src/$PRGNAM-config.desktop $PKG/usr/share/applications/$PRGNAM-config.desktop
-mkdir -p $PKG/usr/man/man1
-cp src/$PRGNAM-config.1 $PKG/usr/man/man1/$PRGNAM-config.1
-gzip -9f $PKG/usr/man/man1/$PRGNAM-config.1
-#finally for translation files
-for i in `ls trans`; do
- mkdir -p $PKG/usr/share/locale/$i/LC_MESSAGES
- cp trans/$i $PKG/usr/share/locale/$i/LC_MESSAGES/$PRGNAM-config.mo
-done
+make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS"
+make \
+ MAN_PREFIX=/usr/man \
+ DEVMAN_PREFIX=/usr/man \
+ DOC_PREFIX=/usr/doc/$PRGNAM-$VERSION \
+ DEVDOC_PREFIX=/usr/doc/$PRGNAM-$VERSION \
+ PREFIX=/usr \
+ LIBDIRSUFFIX=$LIBDIRSUFFIX \
+ DESTDIR=$PKG \
+ install
+
#now sanitize stuff.
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/graphics/tuxpaint/tuxpaint.info b/graphics/tuxpaint/tuxpaint.info
index 4c2a9c9454..b73b6afc0e 100644
--- a/graphics/tuxpaint/tuxpaint.info
+++ b/graphics/tuxpaint/tuxpaint.info
@@ -1,12 +1,12 @@
PRGNAM="tuxpaint"
-VERSION="0.9.23"
+VERSION="0.9.25"
HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.23.tar.gz \
- http://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.14.tar.gz"
-MD5SUM="5dfc5a710b5550c54bbc8cb7cf06d594 \
- 1d7e81f01c52943ee9849aac5415cd86"
+DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.25.tar.gz \
+ http://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.16.tar.gz"
+MD5SUM="85e017d6e13f0c9cf53ff79eba97e11a \
+ 684408801d4be92fe7d0b989a6cac8d4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libpaper SDL_Pango"
+REQUIRES="libpaper SDL_Pango fltk pngquant"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
diff --git a/graphics/ueberzug/README b/graphics/ueberzug/README
new file mode 100644
index 0000000000..47b6e45832
--- /dev/null
+++ b/graphics/ueberzug/README
@@ -0,0 +1,5 @@
+Ãœberzug is a command line util which allows to draw images on
+terminals by using child windows.
+
+Note: dependencies must have been built with python3 support, where
+ that option is available.
diff --git a/graphics/ueberzug/slack-desc b/graphics/ueberzug/slack-desc
new file mode 100644
index 0000000000..0a1189e6e4
--- /dev/null
+++ b/graphics/ueberzug/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ueberzug: ueberzug (An alternative to w3mimgdisplay)
+ueberzug:
+ueberzug: Ãœberzug is a command line util which allows to draw images on
+ueberzug: terminals by using child windows.
+ueberzug:
+ueberzug:
+ueberzug:
+ueberzug:
+ueberzug:
+ueberzug: Homepage: https://github.com/seebye/ueberzug
+ueberzug:
diff --git a/graphics/ueberzug/ueberzug.SlackBuild b/graphics/ueberzug/ueberzug.SlackBuild
new file mode 100644
index 0000000000..1885df6697
--- /dev/null
+++ b/graphics/ueberzug/ueberzug.SlackBuild
@@ -0,0 +1,86 @@
+#!/bin/sh
+
+# Slackware build script for ueberzug
+
+# Copyright 2020 Leonardo Citrolo, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=ueberzug
+VERSION=${VERSION:-18.1.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ 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 MANIFEST.in 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/graphics/ueberzug/ueberzug.info b/graphics/ueberzug/ueberzug.info
new file mode 100644
index 0000000000..1dedf4676f
--- /dev/null
+++ b/graphics/ueberzug/ueberzug.info
@@ -0,0 +1,10 @@
+PRGNAM="ueberzug"
+VERSION="18.1.8"
+HOMEPAGE="https://github.com/seebye/ueberzug"
+DOWNLOAD="https://github.com/seebye/ueberzug/archive/18.1.8/ueberzug-18.1.8.tar.gz"
+MD5SUM="796b500c6cbbf9e0432d4bf9b616f388"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="docopt psutil python-xlib python3-attrs python3-pillow"
+MAINTAINER="Leo C."
+EMAIL="leoc@gmx.com"
diff --git a/graphics/unpaper/slack-desc b/graphics/unpaper/slack-desc
index b044e1fbdf..1b880d830e 100644
--- a/graphics/unpaper/slack-desc
+++ b/graphics/unpaper/slack-desc
@@ -16,4 +16,4 @@ unpaper: be useful to enhance the quality of scanned pages before performing
unpaper: optical character recognition (OCR). This is an active fork by D.E.
unpaper: "Flameeyes" Petteno'.
unpaper:
-unpaper: Homepage: https://www.flameeyes.eu/projects/unpaper
+unpaper: Homepage: https://www.flameeyes.com/projects/unpaper
diff --git a/graphics/unpaper/unpaper.SlackBuild b/graphics/unpaper/unpaper.SlackBuild
index 9eb6398396..96c606e8e3 100644
--- a/graphics/unpaper/unpaper.SlackBuild
+++ b/graphics/unpaper/unpaper.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for unpaper
# Copyright 2008-2014 LukenShiro, Italy
+# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,10 +23,21 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Slackware build script for scrot
+#
+# CHANGELOG
+#
+# 20191107 Logan Rathbone <poprocks@gmail.com> 6.1-1
+# - Update to 6.1
+# - Add ffmpeg as new dependency.
+# - As of time of writing, works against ffmpeg3 and 4 (as shipped
+# with current). Don't try to build against ffmpeg4 from SBO
+# presently, as it places pkgconfig files in the 'ffmpeg4' sub-
+# dir.
+# - The ffmpeg dep can be removed once 15.0 ships, as it will be
+# shipped wth the distro.
PRGNAM=unpaper
-VERSION=${VERSION:-5.1}
+VERSION=${VERSION:-6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,7 +94,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 INSTALL $PKG/usr/doc/$PRGNAM-$VERSION/
+cp 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
diff --git a/graphics/unpaper/unpaper.info b/graphics/unpaper/unpaper.info
index b6a31fb713..56eaaf044e 100644
--- a/graphics/unpaper/unpaper.info
+++ b/graphics/unpaper/unpaper.info
@@ -1,10 +1,10 @@
PRGNAM="unpaper"
-VERSION="5.1"
-HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
-DOWNLOAD="https://www.flameeyes.eu/files/unpaper-5.1.tar.xz"
-MD5SUM="e2968daaaf0664fa40afe441abf26966"
+VERSION="6.1"
+HOMEPAGE="https://www.flameeyes.com/projects/unpaper"
+DOWNLOAD="https://www.flameeyes.com/files/unpaper-6.1.tar.xz"
+MD5SUM="b5e79645765be7c7ae0e003697bdb9e2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="LukenShiro"
-EMAIL="lukenshiro@ngi.it"
+REQUIRES="ffmpeg"
+MAINTAINER="Logan Rathbone"
+EMAIL="poprocks@gmail.com"
diff --git a/graphics/viewnior/README b/graphics/viewnior/README
index d333058e6b..93e5afc8e2 100644
--- a/graphics/viewnior/README
+++ b/graphics/viewnior/README
@@ -6,5 +6,5 @@ your images. Viewnior is inspired by big projects like Eye of Gnome,
because of its usability and richness, and by GPicView, because of its
lightweight design and minimal interface.
-Viewnior is written in C (GTK+) and uses modified version of the
+Viewnior is written in C (GTK+) and uses a modified version of the
GtkImageView library by Bjourn Lindqvist.
diff --git a/graphics/viewnior/doinst.sh b/graphics/viewnior/doinst.sh
index 65c7e2eeb9..625ced33d1 100644
--- a/graphics/viewnior/doinst.sh
+++ b/graphics/viewnior/doinst.sh
@@ -1,9 +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
+
+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/graphics/viewnior/viewnior.SlackBuild b/graphics/viewnior/viewnior.SlackBuild
index 0fea2c8991..93ea00019a 100644
--- a/graphics/viewnior/viewnior.SlackBuild
+++ b/graphics/viewnior/viewnior.SlackBuild
@@ -2,8 +2,9 @@
#
# Slackware build script for viewnior.
#
-# Written by Å ime Ramov <s@ramov.com>
+# Written by Å ime Ramov <email removed>
# Copyright 2016-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2020 B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +24,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20200304 bkw:
+# - take over maintenance
+# - use proper github URL
+# - fix typos (It's => Its), BUILD=2
+# - fix permissions (svg icon in package was +x)
+# - tighten up script a bit
+
PRGNAM=viewnior
VERSION=${VERSION:-1.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCNAM=Viewnior-$PRGNAM
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -60,16 +70,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xzvf $CWD/Viewnior-$PRGNAM-$VERSION.tar.gz
-mv Viewnior-$PRGNAM-$VERSION $PRGNAM-$VERSION
-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 -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 {} \;
+# 20200304 bkw: upstream perms suck, do not revert to template:
+find -L . -type d -a -exec chmod 755 {} + -o \
+ -type f -a -exec chmod 644 {} +
+
+sed -i "s,It's,Its," man/$PRGNAM.1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,15 +91,11 @@ meson \
ninja -C build
DESTDIR=$PKG ninja -C build 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
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+strip $PKG/usr/bin/$PRGNAM
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp AUTHORS COPYING NEWS README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/viewnior/viewnior.info b/graphics/viewnior/viewnior.info
index 986a6fa577..9d73c3a563 100644
--- a/graphics/viewnior/viewnior.info
+++ b/graphics/viewnior/viewnior.info
@@ -1,10 +1,10 @@
PRGNAM="viewnior"
VERSION="1.7"
HOMEPAGE="https://github.com/hellosiyan/Viewnior"
-DOWNLOAD="https://github.com/hellosiyan/Viewnior/archive/viewnior-1.7.tar.gz"
+DOWNLOAD="https://github.com/hellosiyan/Viewnior/archive/viewnior-1.7/Viewnior-viewnior-1.7.tar.gz"
MD5SUM="b09587081077b50f9cc51bb4b0223ffe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="meson"
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/vsxu/README b/graphics/vsxu/README
index 0b0a7bad8e..721bda6801 100644
--- a/graphics/vsxu/README
+++ b/graphics/vsxu/README
@@ -2,4 +2,4 @@ VSXu (VSX Ultra) is an OpenGL-based (hardware-accelerated),
modular programming environment with its main purpose to
visualize music and create graphic effects in real-time.
-jack-audio-connection-kit is an optional build dependency.
+jack is an optional build dependency.
diff --git a/graphics/vuescan/README b/graphics/vuescan/README
index 030421d0e0..1f00a808fd 100644
--- a/graphics/vuescan/README
+++ b/graphics/vuescan/README
@@ -7,3 +7,8 @@ vuescan is commercial software but free to try indefinitly.
(watermarking the saved images)
vuescan supports many special scanners such as film scanners.
+
+The creators update vuescan about every two weeks - without changing
+the download file name. This will lead to md5sum failures. I endeavour
+to update the SlackBuild every week, but the changes won't show up
+until the next public update.
diff --git a/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild
index bdcfe72db2..aca0a51a11 100644
--- a/graphics/vuescan/vuescan.SlackBuild
+++ b/graphics/vuescan/vuescan.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for vuescan
# Copyright 2013-2017 Heiko Rosemann, Germany
-# Copyright 2019 Andrew Clemons, Wellington, New Zealand
+# Copyright 2019-2021 Andrew Clemons, Wellington, New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vuescan
-VERSION=${VERSION:-9.6.47}
+VERSION=${VERSION:-9.7.52}
SRCVER=${SRCVER:-$(echo "$VERSION" | sed -e 's/\.//' -e 's/\..*//')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/vuescan/vuescan.info b/graphics/vuescan/vuescan.info
index fa42051cd2..83e983e8ff 100644
--- a/graphics/vuescan/vuescan.info
+++ b/graphics/vuescan/vuescan.info
@@ -1,10 +1,10 @@
PRGNAM="vuescan"
-VERSION="9.6.47"
+VERSION="9.7.52"
HOMEPAGE="https://www.hamrick.com"
-DOWNLOAD="https://www.hamrick.com/files/vuex3296.tgz"
-MD5SUM="b177f718a339eea84895bb00d303ff10"
-DOWNLOAD_x86_64="https://www.hamrick.com/files/vuex6496.tgz"
-MD5SUM_x86_64="115523fcb74de2bbc23053b72ca95b4e"
+DOWNLOAD="https://www.hamrick.com/files/vuex3297.tgz"
+MD5SUM="7e9f7469b22142f85f46b262baa9f45f"
+DOWNLOAD_x86_64="https://www.hamrick.com/files/vuex6497.tgz"
+MD5SUM_x86_64="f90313b1192930d8ee4145a2a7973684"
REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/graphics/vulkan-sdk-bin/slack-desc b/graphics/vulkan-sdk-bin/slack-desc
index cd59507641..d2e166f431 100644
--- a/graphics/vulkan-sdk-bin/slack-desc
+++ b/graphics/vulkan-sdk-bin/slack-desc
@@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-vulkan-sdk-bink: vulkan-sdk-bink (Vulkan SDK)
-vulkan-sdk-bink:
-vulkan-sdk-bink: The Vulkan SDK provides the development and runtime components
-vulkan-sdk-bink: required to build, run and debug Vulkan applications. This SDK is
-vulkan-sdk-bink: based on the Vulkan API header. Th SDK also includes certain Vulkan
-vulkan-sdk-bink: extensions for window system integration and debug extensions.
-vulkan-sdk-bink:
-vulkan-sdk-bink: The Vulkan API is a low overhead, explicit, cross-platform graphics
-vulkan-sdk-bink: API that provides applications with direct control over the GPU,
-vulkan-sdk-bink: maximizing performance.
-vulkan-sdk-bink:
+ |-----handy-ruler------------------------------------------------------|
+vulkan-sdk-bin: vulkan-sdk-bin (Vulkan SDK)
+vulkan-sdk-bin:
+vulkan-sdk-bin: The Vulkan SDK provides the development and runtime components
+vulkan-sdk-bin: required to build, run and debug Vulkan applications. This SDK is
+vulkan-sdk-bin: based on the Vulkan API header. Th SDK also includes certain Vulkan
+vulkan-sdk-bin: extensions for window system integration and debug extensions.
+vulkan-sdk-bin:
+vulkan-sdk-bin: The Vulkan API is a low overhead, explicit, cross-platform graphics
+vulkan-sdk-bin: API that provides applications with direct control over the GPU,
+vulkan-sdk-bin: maximizing performance.
+vulkan-sdk-bin:
diff --git a/graphics/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild b/graphics/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild
index 4fce2361e2..9573026548 100644
--- a/graphics/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild
+++ b/graphics/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=vulkan-sdk-bin
SRCNAM=vulkansdk
-VERSION=${VERSION:-1.1.70.0}
+VERSION=${VERSION:-1.2.162.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,11 +53,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf VulkanSDK $PRGNAM-linux-$ARCH-$VERSION.run
-cp $CWD/$SRCNAM-linux-$ARCH-$VERSION.run .
-chmod +x $SRCNAM-linux-$ARCH-$VERSION.run
-./$SRCNAM-linux-$ARCH-$VERSION.run
-cd VulkanSDK
+rm -rf $VERSION
+tar xfv $CWD/vulkansdk-linux-x86_64-1.2.162.1.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -74,7 +71,7 @@ cp -r $VERSION/$ARCH/include/* $PKG/usr/include
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- $VERSION/{*.html,doc/,samples/,examples} \
+ $VERSION/{samples,*.txt} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/vulkan-sdk-bin/vulkan-sdk-bin.info b/graphics/vulkan-sdk-bin/vulkan-sdk-bin.info
index 6aaa38cfa3..1955ae707b 100644
--- a/graphics/vulkan-sdk-bin/vulkan-sdk-bin.info
+++ b/graphics/vulkan-sdk-bin/vulkan-sdk-bin.info
@@ -1,10 +1,10 @@
PRGNAM="vulkan-sdk-bin"
-VERSION="1.1.70.0"
+VERSION="1.2.162.1"
HOMEPAGE="https://www.lunarg.com/vulkan-sdk/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://vulkan.lunarg.com/sdk/download/1.1.70.0/linux/vulkansdk-linux-x86_64-1.1.70.0.run"
-MD5SUM_x86_64="98c6614ecd0979466bde74b88aa1e420"
+DOWNLOAD_x86_64="https://sdk.lunarg.com/sdk/download/1.2.162.1/linux/vulkansdk-linux-x86_64-1.2.162.1.tar.gz"
+MD5SUM_x86_64="ee59ff763ead2790562e55a2b123aec4"
REQUIRES=""
MAINTAINER="Dugan Chen"
EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/graphics/vulkan-sdk/README b/graphics/vulkan-sdk/README
index 3226fd36df..0796ec1f1a 100644
--- a/graphics/vulkan-sdk/README
+++ b/graphics/vulkan-sdk/README
@@ -4,6 +4,8 @@ level Vulkan commands. Additionally, the loader manages inserting Vulkan
layer libraries, including validation layers between the application and
the ICD.
+qt5 is an optional dependency for vkconfig.
+
This will not provide a vulkan driver which must be acquired elsewhere.
This SlackBuild will compile vulkan-sdk from source.
diff --git a/graphics/vulkan-sdk/vulkan-loader-cmake.patch b/graphics/vulkan-sdk/vulkan-loader-cmake.patch
new file mode 100644
index 0000000000..dcb63fd6cc
--- /dev/null
+++ b/graphics/vulkan-sdk/vulkan-loader-cmake.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d15214545..fe277fcd6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -138,7 +138,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
+ # all compilers until they all accept the C++17 standard
+ if(CMAKE_COMPILER_IS_GNUCC)
+ set(COMMON_COMPILE_FLAGS "${COMMON_COMPILE_FLAGS} -Wno-stringop-truncation -Wno-stringop-overflow")
+- if(CMAKE_CXX_COMPILER_VERSION GREATER_EQUAL 7.1)
++ if(CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 7.1 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.1)
+ set(COMMON_COMPILE_FLAGS "${COMMON_COMPILE_FLAGS} -Wimplicit-fallthrough=0")
+ endif()
+ endif()
diff --git a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild b/graphics/vulkan-sdk/vulkan-sdk.SlackBuild
index 4983b8e845..86909bc79f 100644
--- a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild
+++ b/graphics/vulkan-sdk/vulkan-sdk.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2016, 2017 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
-# 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
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vulkan-sdk
-VERSION=${VERSION:-1.1.114.0}
+VERSION=${VERSION:-1.2.162.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,26 +59,34 @@ fi
set -eu
+# VulkanTools from LunarG doesn't support an external jsoncpp
+JSONCPP_VERSION=${JSONCPP_VERSION:-1.8.0}
+
chdir () { cd -- "$SRC/$1"; printf %s\\n '' "Building $1" ''; }
cmake_build () {
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_SKIP_RPATH=TRUE \
-DCMAKE_BUILD_TYPE=Release \
"${@:-}" ..
make
make install DESTDIR=$PKG
}
-# Vulkan-ValidationLayers requires git versions
-# listed in the known_good.json file to build.
-# https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/1082
-GLSLANG_VERSION=${GLSLANG_VERSION:-3cea2e5882e3455731a8b6657fb06db913eb3aa1}
-SPIRV_HEADERS_VERSION=${SPIRV_HEADERS_VERSION:-45c2cc37276d69e5b257507d97fd90d2a5684ccc}
-SPIRV_TOOLS_VERSION=${SPIRV_TOOLS_VERSION:-aa9e8f538041db3055ea443080e0ccc315fa114f}
+copydocs () {
+ dir="$1"
+ mkdir -p -- "$PKG/usr/doc/$PRGNAM-$VERSION/$dir"
+ shift
+ for i do
+ cp -a -- "$dir-sdk-$VERSION/$i" "$PKG/usr/doc/$PRGNAM-$VERSION/$dir/"
+ done
+}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -86,22 +94,18 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+tar xvf $CWD/Vulkan-Loader-sdk-$VERSION.tar.gz
+tar xvf $CWD/Vulkan-ValidationLayers-sdk-$VERSION.tar.gz
+tar xvf $CWD/VulkanTools-sdk-$VERSION.tar.gz
+tar xvf $CWD/gfxreconstruct-sdk-$VERSION.tar.gz
(
- tar xvf $CWD/glslang-$GLSLANG_VERSION.tar.gz
- cd glslang-$GLSLANG_VERSION/External
- tar xvf $CWD/SPIRV-Tools-$SPIRV_TOOLS_VERSION.tar.gz
- mv SPIRV-Tools-$SPIRV_TOOLS_VERSION spirv-tools
- cd spirv-tools/external
- tar xvf $CWD/SPIRV-Headers-$SPIRV_HEADERS_VERSION.tar.gz
- mv SPIRV-Headers-$SPIRV_HEADERS_VERSION spirv-headers
+ cd VulkanTools-sdk-$VERSION/submodules
+ tar xvf $CWD/jsoncpp-$JSONCPP_VERSION.tar.gz
+ rm -rf jsoncpp
+ mv jsoncpp-$JSONCPP_VERSION jsoncpp
)
-tar xvf $CWD/Vulkan-Headers-sdk-$VERSION.tar.gz
-tar xvf $CWD/Vulkan-Loader-sdk-$VERSION.tar.gz
-tar xvf $CWD/Vulkan-ValidationLayers-sdk-$VERSION.tar.gz
-tar xvf $CWD/Vulkan-Tools-sdk-$VERSION.tar.gz
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -109,77 +113,101 @@ 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 {} \+
-chdir glslang-$GLSLANG_VERSION
-
-cmake_build \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_SKIP_RPATH=TRUE
-
-chdir Vulkan-Headers-sdk-$VERSION
-
-cmake_build
+#####################
+### vulkan-loader ###
+#####################
chdir Vulkan-Loader-sdk-$VERSION
# Require an older cmake version.
sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
+# cmake 3.5.2 does not have GREATER_EQUAL
+patch -p1 < $CWD/vulkan-loader-cmake.patch
+
cmake_build \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_SKIP_RPATH=TRUE \
-DBUILD_TESTS=OFF \
+ -DBUILD_WSI_XCB_SUPPORT=ON \
+ -DBUILD_WSI_XLIB_SUPPORT=ON \
-DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DVULKAN_HEADERS_INSTALL_DIR=$PKG/usr
+ -DVULKAN_HEADERS_INSTALL_DIR=/usr
+
+###############################
+### vulkan-validationlayers ###
+###############################
chdir Vulkan-ValidationLayers-sdk-$VERSION
# Require an older cmake version.
sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
-# Disable hardcoded errors
-sed -i '/-Werror/d' CMakeLists.txt
-
-# Workaround build error in 14.2
-sed -i '/#include <math.h>/i#include <cmath>\n' \
- layers/parameter_validation_utils.cpp
-
cmake_build \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_DATADIR=share \
- -DCMAKE_SKIP_RPATH=TRUE \
+ -DBUILD_LAYER_SUPPORT_FILES=ON \
-DBUILD_TESTS=OFF \
- -DBUILD_WSI_XLIB_SUPPORT=ON \
+ -DBUILD_WERROR=OFF \
-DBUILD_WSI_XCB_SUPPORT=ON \
+ -DBUILD_WSI_XLIB_SUPPORT=ON \
-DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DGLSLANG_INSTALL_DIR=$PKG/usr \
- -DVULKAN_HEADERS_INSTALL_DIR=$PKG/usr
+ -DGLSLANG_INSTALL_DIR=/usr \
+ -DSPIRV_HEADERS_INSTALL_DIR=/usr \
+ -DVULKAN_HEADERS_INSTALL_DIR=/usr
+
+###################
+### vulkantools ###
+###################
+
+chdir VulkanTools-sdk-$VERSION
-chdir Vulkan-Tools-sdk-$VERSION
+# Generate missing jsoncpp sources
+(
+ cd submodules/jsoncpp
+ python3 ./amalgamate.py
+)
# Require an older cmake version.
-sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
+find . -type f -name CMakeLists.txt | xargs grep -l '3\.10\.2' |
+ xargs sed -i 's/3.10.2/3.5.2/'
cmake_build \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_SKIP_RPATH=TRUE \
+ -DBUILD_GMOCK=OFF \
+ -DBUILD_WSI_XCB_SUPPORT=ON \
+ -DBUILD_WSI_XLIB_SUPPORT=ON \
-DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DVULKAN_HEADERS_INSTALL_DIR=$PKG/usr \
+ -DINSTALL_GTEST=OFF \
+ -DVULKAN_HEADERS_INSTALL_DIR=/usr \
-DVULKAN_LOADER_INSTALL_DIR=$PKG/usr \
- -DGLSLANG_INSTALL_DIR=$PKG/usr
+ -DVULKAN_VALIDATIONLAYERS_INSTALL_DIR=$PKG/usr
+
+######################
+### gfxreconstruct ###
+######################
+
+chdir gfxreconstruct-sdk-$VERSION
+
+# Require an older cmake version.
+sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
+
+# cmake 3.5.2 does not have FILTER for the list command
+sed -i '/generate_target_source_files(/d' cmake/CodeStyle.cmake
+
+cmake_build \
+ -DBUILD_WERROR=OFF \
+ -DVULKAN_HEADER=/usr/include/vulkan
cd -- "$SRC"
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a Vulkan-Loader-sdk-$VERSION/*.txt \
- Vulkan-Loader-sdk-$VERSION/loader/LoaderAndLayerInterface.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+copydocs Vulkan-Loader CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md \
+ LICENSE.txt README.md
+copydocs Vulkan-ValidationLayers CODE_OF_CONDUCT.md CONTRIBUTING.md \
+ GOVERNANCE.md LAYER_CONFIGURATION.md LICENSE.txt README.md
+copydocs VulkanTools CONTRIBUTING.md GOVERNANCE.md LICENSE.txt README.md
+copydocs gfxreconstruct CONTRIBUTING.md LICENSE.txt LICENSE_ThirdParty.txt \
+ README.md USAGE_android.md USAGE_desktop.md
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/vulkan-sdk/vulkan-sdk.info b/graphics/vulkan-sdk/vulkan-sdk.info
index fdb98db77a..879c8f7d73 100644
--- a/graphics/vulkan-sdk/vulkan-sdk.info
+++ b/graphics/vulkan-sdk/vulkan-sdk.info
@@ -1,22 +1,18 @@
PRGNAM="vulkan-sdk"
-VERSION="1.1.114.0"
+VERSION="1.2.162.0"
HOMEPAGE="https://www.khronos.org/vulkan/"
-DOWNLOAD="https://github.com/KhronosGroup/SPIRV-Headers/archive/45c2cc37276d69e5b257507d97fd90d2a5684ccc/SPIRV-Headers-45c2cc37276d69e5b257507d97fd90d2a5684ccc.tar.gz \
- https://github.com/KhronosGroup/SPIRV-Tools/archive/aa9e8f538041db3055ea443080e0ccc315fa114f/SPIRV-Tools-aa9e8f538041db3055ea443080e0ccc315fa114f.tar.gz \
- https://github.com/KhronosGroup/Vulkan-Headers/archive/sdk-1.1.114.0/Vulkan-Headers-sdk-1.1.114.0.tar.gz \
- https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-1.1.114.0/Vulkan-Loader-sdk-1.1.114.0.tar.gz \
- https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-1.1.114.0/Vulkan-Tools-sdk-1.1.114.0.tar.gz \
- https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-1.1.114.0/Vulkan-ValidationLayers-sdk-1.1.114.0.tar.gz \
- https://github.com/KhronosGroup/glslang/archive/3cea2e5882e3455731a8b6657fb06db913eb3aa1/glslang-3cea2e5882e3455731a8b6657fb06db913eb3aa1.tar.gz"
-MD5SUM="5246ac55180130bf95aaaa24f3305c51 \
- 9e765d479dde70704936a26bfac8a208 \
- 652808b60901d4646264c877960b9d2b \
- 7836cf803548d39c3100bc24bcc208bc \
- f5dc368e5feafec79d24a1d287df4733 \
- 07cdf6abc6a700c9264380951a438613 \
- 10dfaf401d008835bb07cfec742393ac"
+DOWNLOAD="https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-1.2.162.0/Vulkan-Loader-sdk-1.2.162.0.tar.gz \
+ https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-1.2.162.0/Vulkan-ValidationLayers-sdk-1.2.162.0.tar.gz \
+ https://github.com/LunarG/VulkanTools/archive/sdk-1.2.162.0/VulkanTools-sdk-1.2.162.0.tar.gz \
+ https://github.com/LunarG/gfxreconstruct/archive/sdk-1.2.162.0/gfxreconstruct-sdk-1.2.162.0.tar.gz \
+ https://github.com/open-source-parsers/jsoncpp/archive/1.8.0/jsoncpp-1.8.0.tar.gz"
+MD5SUM="97de90f2b599979ea492a3ed92c025fb \
+ 5c0c6daedacd2d535bb0cd41dcbd2995 \
+ aa116fff3ef50d7c299bc168953eacec \
+ 7d48f5d115f8baad2ed800769545f21a \
+ 6d6cbd82b5fe4a9cbae4ffef01f9e9fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES="Vulkan-Headers glslang"
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/graphics/wayland-egl/README b/graphics/wayland-egl/README
deleted file mode 100644
index dbd1aeca18..0000000000
--- a/graphics/wayland-egl/README
+++ /dev/null
@@ -1,12 +0,0 @@
-wayland-egl (mesa EGL component)
-
-The Wayland display server protocol uses EGL. If you build qt5 with
-its optional dependency wayland and then build vlc then vlc will
-require wayland-egl.
-
-EGL is an interface between Khronos rendering APIs (such as OpenGL,
-OpenGL ES or OpenVG) and the underlying native platform windowing
-system. EGL handles graphics context management, surface/buffer
-binding, rendering synchronization, and enables "high-performance,
-accelerated, mixed-mode 2D APIs". EGL is managed by the non-profit
-technology consortium Khronos Group.
diff --git a/graphics/wayland-egl/slack-desc b/graphics/wayland-egl/slack-desc
deleted file mode 100644
index 90e73f0ec1..0000000000
--- a/graphics/wayland-egl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 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-egl: wayland-egl (mesa EGL component)
-wayland-egl:
-wayland-egl: EGL is an interface between Khronos rendering APIs (such as OpenGL,
-wayland-egl: OpenGL ES or OpenVG) and the underlying native platform windowing
-wayland-egl: system. EGL handles graphics context management, surface/buffer
-wayland-egl: binding, rendering synchronization, and enables "high-performance,
-wayland-egl: accelerated, mixed-mode 2D APIs". EGL is managed by the non-profit
-wayland-egl: technology consortium Khronos Group.
-wayland-egl: The Wayland display server protocol uses EGL. If you build qt5 with
-wayland-egl: its optional dependency wayland and then build vlc then vlc will
-wayland-egl: require wayland-egl.
diff --git a/graphics/wayland-egl/wayland-egl.info b/graphics/wayland-egl/wayland-egl.info
deleted file mode 100644
index 49585a2338..0000000000
--- a/graphics/wayland-egl/wayland-egl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wayland-egl"
-VERSION="17.0.4"
-HOMEPAGE="https://www.mesa3d.org/"
-DOWNLOAD="https://github.com/duncan-roe/wayland-egl/archive/v17.0.4/wayland-egl-17.0.4.tar.gz"
-MD5SUM="be5670c106bf1e5859e5580f898d688b"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wayland"
-MAINTAINER="Duncan Roe"
-EMAIL="duncan_roe@optusnet.com.au"
diff --git a/graphics/wayland-protocols/wayland-protocols.SlackBuild b/graphics/wayland-protocols/wayland-protocols.SlackBuild
index f93448d3aa..e335be7b3a 100644
--- a/graphics/wayland-protocols/wayland-protocols.SlackBuild
+++ b/graphics/wayland-protocols/wayland-protocols.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wayland-protocols
-VERSION=${VERSION:-1.17}
+VERSION=${VERSION:-1.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/wayland-protocols/wayland-protocols.info b/graphics/wayland-protocols/wayland-protocols.info
index bf2c438398..c8846e3309 100644
--- a/graphics/wayland-protocols/wayland-protocols.info
+++ b/graphics/wayland-protocols/wayland-protocols.info
@@ -1,8 +1,8 @@
PRGNAM="wayland-protocols"
-VERSION="1.7"
+VERSION="1.18"
HOMEPAGE="https://wayland.freedesktop.org/"
-DOWNLOAD="https://wayland.freedesktop.org/releases/wayland-protocols-1.17.tar.xz"
-MD5SUM="55ddd5fdb02b73b9de9559aaec267315"
+DOWNLOAD="https://wayland.freedesktop.org/releases/wayland-protocols-1.18.tar.xz"
+MD5SUM="af38f22d8e233c2f2e00ddc8dcc94694"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wayland"
diff --git a/graphics/webp-pixbuf-loader/README b/graphics/webp-pixbuf-loader/README
new file mode 100644
index 0000000000..b2f4324907
--- /dev/null
+++ b/graphics/webp-pixbuf-loader/README
@@ -0,0 +1,4 @@
+webp-pixbuf-loader (WEBP loader for gdk-pixbuf2)
+
+This allows gdk-pixbuf2 (and software using it) to load WebP images.
+In particular it allows qiv and geeqie to display WebP images.
diff --git a/graphics/webp-pixbuf-loader/doinst.sh b/graphics/webp-pixbuf-loader/doinst.sh
new file mode 100644
index 0000000000..364414cfa1
--- /dev/null
+++ b/graphics/webp-pixbuf-loader/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
+ /usr/bin/update-gdk-pixbuf-loaders >/dev/null 2>&1
+fi
diff --git a/graphics/webp-pixbuf-loader/git2tarxz.sh b/graphics/webp-pixbuf-loader/git2tarxz.sh
new file mode 100644
index 0000000000..ad624a1341
--- /dev/null
+++ b/graphics/webp-pixbuf-loader/git2tarxz.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number. We don't include the git history in the tarball.
+
+# 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.
+
+PRGNAM=webp-pixbuf-loader
+CLONE_URL=https://github.com/aruiz/$PRGNAM.git
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+VERSION=$( git log --date=format:%Y%m%d --pretty=format:%cd.%h -n1 )
+
+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
+
+cat <<EOF
+
+Archive created: $PRGNAM-$VERSION.tar.xz
+
+Update $PRGNAM.info with:
+
+VERSION="$VERSION"
+DOWNLOAD="https://slackware.uk/~urchlay/src/$PRGNAM-$VERSION.tar.xz"
+MD5SUM="$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )"
+
+Don't forget to upload the new source!
+EOF
diff --git a/graphics/webp-pixbuf-loader/slack-desc b/graphics/webp-pixbuf-loader/slack-desc
new file mode 100644
index 0000000000..0b8cc74f0e
--- /dev/null
+++ b/graphics/webp-pixbuf-loader/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+webp-pixbuf-loader: webp-pixbuf-loader (WEBP loader for gdk-pixbuf2)
+webp-pixbuf-loader:
+webp-pixbuf-loader: This allows gdk-pixbuf2 (and software using it) to load WebP images.
+webp-pixbuf-loader: In particular it allows qiv and geeqie to display WebP images.
+webp-pixbuf-loader:
+webp-pixbuf-loader:
+webp-pixbuf-loader:
+webp-pixbuf-loader:
+webp-pixbuf-loader:
+webp-pixbuf-loader:
+webp-pixbuf-loader:
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
new file mode 100644
index 0000000000..d93e42fb70
--- /dev/null
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
@@ -0,0 +1,83 @@
+#!/bin/sh
+
+# Slackware build script for webp-pixbuf-loader
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=webp-pixbuf-loader
+VERSION=${VERSION:-20191003.fb04954}
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# this stuff is for making meson/ninja update the loaders, we do that
+# in doinst.sh instead.
+sed -i '/gdk_pb_query_loaders/d' meson.build
+
+mkdir build
+cd build
+ CFLAGS="-Wl,-s $SLKCFLAGS" \
+ CXXFLAGS="-Wl,-s $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 ..
+
+DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $DOCDIR
+cat $CWD/README > $DOCDIR/README
+cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$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/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
new file mode 100644
index 0000000000..0328f67fbb
--- /dev/null
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
@@ -0,0 +1,10 @@
+PRGNAM="webp-pixbuf-loader"
+VERSION="20191003.fb04954"
+HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader"
+DOWNLOAD="https://slackware.uk/~urchlay/src/webp-pixbuf-loader-20191003.fb04954.tar.xz"
+MD5SUM="d3e9041ab56b18020c647dcb9f3176d4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="meson libwebp"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/white_dune/README b/graphics/white_dune/README
index 1c6bef156a..c97e0a60db 100644
--- a/graphics/white_dune/README
+++ b/graphics/white_dune/README
@@ -1,5 +1,5 @@
white_dune is a graphical VRML97/X3D editor, simple NURBS/Superformula
-3D modeller, animation tool, and VRML97/X3DV commandline compiler.
+3D modeller, animation tool and VRML97/X3DV commandline compiler.
With white_dune you can create/change 3D objects and animate them
(in a easy way if you choose the -4kids GUI).
diff --git a/graphics/white_dune/slack-desc b/graphics/white_dune/slack-desc
index 7c52db6ca8..e4f9d86d99 100644
--- a/graphics/white_dune/slack-desc
+++ b/graphics/white_dune/slack-desc
@@ -9,8 +9,8 @@
white_dune: white_dune (X3DV/VRML97 editor/animation tool/simple 3D modeller)
white_dune:
white_dune: white_dune is a graphical VRML97/X3D editor, simple
-white_dune: NURBS/Superformula 3D modeller, animation tool, and VRML97/X3DV
-white_dune: commandline compiler in development.
+white_dune: NURBS/Superformula 3D modeller, animation tool and VRML97/X3DV
+white_dune: commandline compiler.
white_dune:
white_dune: Project URL: http://wdune.ourproject.org
white_dune:
diff --git a/graphics/white_dune/white_dune.SlackBuild b/graphics/white_dune/white_dune.SlackBuild
index a65f38d3c6..40df579d10 100644
--- a/graphics/white_dune/white_dune.SlackBuild
+++ b/graphics/white_dune/white_dune.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=white_dune
SRCNAM=wdune
-VERSION=${VERSION:-1.212}
+VERSION=${VERSION:-1.876}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
export CFLAGS=$SLKCFLAGS
-export CXXFLAGS=$SLKCFLAGS
+export CXXFLAGS="$SLKCFLAGS -std=c++11"
./configure \
--with-wwwbrowser=firefox \
--with-helpurl="/usr/doc/$PRGNAM-$VERSION/docs" \
@@ -79,7 +79,8 @@ export CXXFLAGS=$SLKCFLAGS
make
install -c -d $PKG/install $PKG/usr/bin $PKG/usr/man/man1
-cp bin/* /$PKG/usr/bin
+cp -a bin/* /$PKG/usr/bin
+cp -a tools/run_dune_and_aqsis.sh /$PKG/usr/bin
install -c -m 644 ./man/dune.1 /$PKG/usr/man/man1
install -c -d $PKG/usr/doc/$PRGNAM-$VERSION
cp -fr docs $PKG/usr/doc/$PRGNAM-$VERSION
@@ -87,6 +88,12 @@ install -D -m 0644 desktop/kde/dune.desktop \
$PKG/usr/share/applications/dune.desktop
install -D -m 0644 desktop/kde/dune.png \
$PKG/usr/share/pixmaps/dune.png
+install -D -m 644 -p include/white_dune/libC++RWD_namespace.h \
+ $PKG/usr/include/white_dune/libC++RWD_namespace.h
+install -D -m 644 -p include/white_dune/libC++RWD.h \
+ $PKG/usr/include/white_dune/libC++RWD.h
+install -D -m 644 -p include/white_dune/libCRWD.h \
+ $PKG/usr/include/white_dune/libCRWD.h
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -99,3 +106,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+
diff --git a/graphics/white_dune/white_dune.info b/graphics/white_dune/white_dune.info
index feb61357ce..780e528fc2 100644
--- a/graphics/white_dune/white_dune.info
+++ b/graphics/white_dune/white_dune.info
@@ -1,10 +1,10 @@
PRGNAM="white_dune"
-VERSION="1.212"
+VERSION="1.876"
HOMEPAGE="https://wdune.ourproject.org/"
-DOWNLOAD="ftp://ftp.ourproject.org/pub/wdune/wdune-1.212.tar.bz2"
-MD5SUM="716916e27656529066277d88d1382fcd"
+DOWNLOAD="ftp://ftp.ourproject.org/pub/wdune/wdune-1.876.tar.bz2"
+MD5SUM="0bddc4c43586251482f179c1c67e92b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="CGAL vcglib ffmpeg"
+REQUIRES="CGAL vcglib ffmpeg OpenSubdiv"
MAINTAINER="J. Scheurich"
EMAIL="mufti11@web.de"
diff --git a/graphics/wine-nine-standalone/README b/graphics/wine-nine-standalone/README
index e4fc1e042c..1af24f6d81 100644
--- a/graphics/wine-nine-standalone/README
+++ b/graphics/wine-nine-standalone/README
@@ -18,3 +18,8 @@ To enable 64-bit support wine must be built with wine64.
To build on a pure Slackware64 install 32-bit wine must be disabled.
WIN32=no WIN64=yes ./wine.SlackBuild
+
+On multilib systems pkgconf is required.
+
+On Slackware 14.2 multilib systems compat32 packages of both kbproto and
+xproto are also required.
diff --git a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
index 4758daa1e3..5927c3191b 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for wine-nine-standalone
-# 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,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wine-nine-standalone
-VERSION=${VERSION:-0.4}
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,24 +57,54 @@ fi
set -eu
exists () {
- v=1
+ r=0; cwd="$(pwd)"
while [ $# -gt 0 ]; do
- arg="$1"; shift
- case "$arg" in ''|*/) continue ;; esac
- x="${arg##*/}" z="${arg%/*}"
- [ ! -f "$z/$x" ] || [ ! -x "$z/$x" ] && [ "$z/$x" = "$arg" ] && continue
- [ "$x" = "$z" ] && [ -x "$z/$x" ] && [ ! -f "$arg" ] && z=
- p=":$z:$PATH"
- while [ "$p" != "${p#*:}" ]; do
- p="${p#*:}"; d="${p%%:*}"
- if [ -f "$d/$x" ] && [ -x "$d/$x" ]; then
- printf %s\\n "$d/$x"
- v=0
- break
- fi
- done
+ v=1; arg="$1"; shift
+ case "$arg" in
+ ''|*/ )
+ :
+ ;;
+ /* )
+ if [ -f "$arg" ] && [ -x "$arg" ]; then
+ printf %s\\n "$arg"
+ v=0
+ fi
+ ;;
+ ./* )
+ if [ -f "$arg" ] && [ -x "$arg" ]; then
+ pre="$(cd -- "${arg%%/*}/" && pwd)"
+ printf %s\\n "${pre%/}/$arg"
+ v=0
+ fi
+ ;;
+ */* )
+ if [ -f "$arg" ] && [ -x "$arg" ]; then
+ printf %s\\n "$(cd -- "${arg%%/*}/.." && pwd)/$arg"
+ v=0
+ fi
+ ;;
+ * )
+ if [ -n "${PATH+x}" ]; then
+ p=":${PATH:-$cwd}"
+ while [ "$p" != "${p#*:}" ] && [ -n "${p#*:}" ]; do
+ p="${p#*:}"; x="${p%%:*}"; z="${x:-$cwd}"; d="${z%/}/$arg"
+ if [ -f "$d" ] && [ -x "$d" ]; then
+ case "$d" in
+ /* ) : ;;
+ ./* ) pre="$(cd -- "${d%/*}/" && pwd)"; d="${pre%/}/$d" ;;
+ * ) d="$(cd -- "${d%/*}/" && pwd)/$arg" ;;
+ esac
+ printf %s\\n "$d"
+ v=0
+ break
+ fi
+ done
+ fi
+ ;;
+ esac
+ [ $v = 0 ] || r=1
done
- return $v
+ return $r
}
rm -rf $PKG
@@ -91,9 +121,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
if [ "${DEBUG:=0}" != 0 ]; then
+ NDEBUG=false
RELEASE=debug
SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')"
else
+ NDEBUG=true
RELEASE=plain
fi
@@ -125,7 +157,8 @@ for bin do
--libdir=lib$bin \
--bindir=bin$bin \
--cross-file=tools/cross-wine$bin \
- -Dstrip=false \
+ -Dstrip=$NDEBUG \
+ -Db_ndebug=$NDEBUG \
-Dbuildtype=$RELEASE \
build$bin
@@ -148,11 +181,6 @@ EOF
chmod 0755 $PKG/usr/bin/ninewinecfg$suffix
done
-if [ "$DEBUG" = 0 ]; 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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/wine-nine-standalone/wine-nine-standalone.info b/graphics/wine-nine-standalone/wine-nine-standalone.info
index 4a09708289..cb55c58bf5 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.info
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.info
@@ -1,8 +1,8 @@
PRGNAM="wine-nine-standalone"
-VERSION="0.4"
+VERSION="0.7"
HOMEPAGE="https://github.com/iXit/wine-nine-standalone"
-DOWNLOAD="https://github.com/iXit/wine-nine-standalone/archive/v0.4/wine-nine-standalone-0.4.tar.gz"
-MD5SUM="fd1abab4f89dae2fded7a35b2bd684bc"
+DOWNLOAD="https://github.com/iXit/wine-nine-standalone/archive/v0.7/wine-nine-standalone-0.7.tar.gz"
+MD5SUM="285d7d1ffa746ec4016e7f9244fe5842"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="meson wine"
diff --git a/graphics/xcf-pixbuf-loader/README b/graphics/xcf-pixbuf-loader/README
new file mode 100644
index 0000000000..be12107a5a
--- /dev/null
+++ b/graphics/xcf-pixbuf-loader/README
@@ -0,0 +1,7 @@
+xcf-pixbuf-loader (gdk-pixbuf2 loader for Gimp image files)
+
+XCF is the Gimp's native file format, as created by its Save command. This
+loader allows applications using gdk-pixbuf2 to load .xcf files. In
+particular, it works with qiv.
+
+Note: loading large .xcf files is slow. Be patient.
diff --git a/graphics/xcf-pixbuf-loader/doinst.sh b/graphics/xcf-pixbuf-loader/doinst.sh
new file mode 100644
index 0000000000..364414cfa1
--- /dev/null
+++ b/graphics/xcf-pixbuf-loader/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
+ /usr/bin/update-gdk-pixbuf-loaders >/dev/null 2>&1
+fi
diff --git a/graphics/xcf-pixbuf-loader/git2tarxz.sh b/graphics/xcf-pixbuf-loader/git2tarxz.sh
new file mode 100644
index 0000000000..32b25e45e8
--- /dev/null
+++ b/graphics/xcf-pixbuf-loader/git2tarxz.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+# Create source tarball from git repo, with generated version
+# number. We don't include the git history in the tarball.
+
+# 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.
+
+PRGNAM=xcf-pixbuf-loader
+CLONE_URL=https://github.com/StephaneDelcroix/$PRGNAM.git
+
+set -e
+
+GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
+rm -rf $GITDIR
+git clone $CLONE_URL $GITDIR
+
+CWD="$( pwd )"
+cd $GITDIR
+
+VERSION=$( git log --date=format:%Y%m%d --pretty=format:%cd.%h -n1 )
+
+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
+
+cat <<EOF
+
+Archive created: $PRGNAM-$VERSION.tar.xz
+
+Update $PRGNAM.info with:
+
+VERSION="$VERSION"
+DOWNLOAD="https://slackware.uk/~urchlay/src/$PRGNAM-$VERSION.tar.xz"
+MD5SUM="$( md5sum $PRGNAM-$VERSION.tar.xz | cut -d' ' -f1 )"
+
+Don't forget to upload the new source!
+EOF
diff --git a/graphics/xcf-pixbuf-loader/slack-desc b/graphics/xcf-pixbuf-loader/slack-desc
new file mode 100644
index 0000000000..ead6e823ef
--- /dev/null
+++ b/graphics/xcf-pixbuf-loader/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+xcf-pixbuf-loader: xcf-pixbuf-loader (gdk-pixbuf2 loader for Gimp image files)
+xcf-pixbuf-loader:
+xcf-pixbuf-loader: XCF is the Gimp's native file format, as created by its Save
+xcf-pixbuf-loader: command. This loader allows applications using gdk-pixbuf2 to load
+xcf-pixbuf-loader: .xcf files. In particular, it works with qiv.
+xcf-pixbuf-loader:
+xcf-pixbuf-loader:
+xcf-pixbuf-loader:
+xcf-pixbuf-loader:
+xcf-pixbuf-loader:
+xcf-pixbuf-loader:
diff --git a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
new file mode 100644
index 0000000000..b2b38eabec
--- /dev/null
+++ b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
@@ -0,0 +1,84 @@
+#!/bin/sh
+
+# Slackware build script for xcf-pixbuf-loader
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=xcf-pixbuf-loader
+VERSION=${VERSION:-20180108.eb42b85}
+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 /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+sh autogen.sh
+
+MODDIR="$( pkg-config gdk-pixbuf-2.0 --variable gdk_pixbuf_moduledir )"
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --disable-static \
+ --enable-shared \
+ --prefix=/usr \
+ --libdir=$MODDIR \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+rename libio libpixbufloader- $PKG/$MODDIR/*
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# ChangeLog is a 0-byte placeholder.
+cp -a AUTHORS COPYING NEWS README test*.xcf* $PKG/usr/doc/$PRGNAM-$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/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info
new file mode 100644
index 0000000000..f344d6dbfa
--- /dev/null
+++ b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info
@@ -0,0 +1,10 @@
+PRGNAM="xcf-pixbuf-loader"
+VERSION="20180108.eb42b85"
+HOMEPAGE="https://github.com/StephaneDelcroix/xcf-pixbuf-loader"
+DOWNLOAD="https://slackware.uk/~urchlay/src/xcf-pixbuf-loader-20180108.eb42b85.tar.xz"
+MD5SUM="b73f994ba57edcfd25c964bfc1f3680f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/graphics/xdaliclock/README b/graphics/xdaliclock/README
new file mode 100644
index 0000000000..d948083b4e
--- /dev/null
+++ b/graphics/xdaliclock/README
@@ -0,0 +1,5 @@
+xdaliclock displays a melting time or date
+the digits are melting into their new shape
+Click and hold the mouse ot switch from time to date
+
+inspired by Alto and Macintosh programmes written by Steve Capps
diff --git a/graphics/xdaliclock/doinst.sh b/graphics/xdaliclock/doinst.sh
new file mode 100644
index 0000000000..21f456f953
--- /dev/null
+++ b/graphics/xdaliclock/doinst.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+#
diff --git a/graphics/fontmatrix/slack-desc b/graphics/xdaliclock/slack-desc
index 293c0c0771..b559400d04 100644
--- a/graphics/fontmatrix/slack-desc
+++ b/graphics/xdaliclock/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-fontmatrix: fontmatrix (font manager)
-fontmatrix:
-fontmatrix: fontmatrix is a manager built with the kind of features and abilities
-fontmatrix: graphic designers, layout professionals, and others have felt
-fontmatrix: necessary, but modernized with some new touches.
-fontmatrix:
-fontmatrix: Homepage: https://github.com/fontmatrix/fontmatrix
-fontmatrix:
-fontmatrix:
-fontmatrix:
-fontmatrix:
+xdaliclock: xdaliclock (melting digital clock)
+xdaliclock:
+xdaliclock: xdaliclock displays a melting time or date
+xdaliclock: the digits are melting into their new shape
+xdaliclock: Click and hold the mouse ot switch from time to date
+xdaliclock:
+xdaliclock: inspired by Alto and Macintosh programmes written by Steve Capps
+xdaliclock:
+xdaliclock:
+xdaliclock:
+xdaliclock:
diff --git a/graphics/xdaliclock/xdaliclock.SlackBuild b/graphics/xdaliclock/xdaliclock.SlackBuild
new file mode 100644
index 0000000000..2b6484e120
--- /dev/null
+++ b/graphics/xdaliclock/xdaliclock.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/sh
+
+# Slackware build script for xdaliclock
+
+# Copyright 2019 Peter Dambier
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=xdaliclock
+VERSION=${VERSION:-2.44}
+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/X11
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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
+
+mkdir $PKG/usr
+mkdir $PKG/usr/bin $PKG/usr/man
+mkdir $PKG/usr/man/man1
+install $PRGNAM $PKG/usr/bin/$PRGNAM
+install $PRGNAM.man $PKG/usr/man/man1/$PRGNAM.1
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type 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
+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/graphics/xdaliclock/xdaliclock.info b/graphics/xdaliclock/xdaliclock.info
new file mode 100644
index 0000000000..bea9515358
--- /dev/null
+++ b/graphics/xdaliclock/xdaliclock.info
@@ -0,0 +1,10 @@
+PRGNAM="xdaliclock"
+VERSION="2.44"
+HOMEPAGE="https://www.jwz.org/xdaliclock"
+DOWNLOAD="https://www.jwz.org/xdaliclock/xdaliclock-2.44.tar.gz"
+MD5SUM="5aaf72806e15f501c33d3d8453876e42"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Peter Dambier"
+EMAIL="peter@peter-dambier.de"
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild
index 569f8fab3d..76c4ca34ca 100644
--- a/graphics/xdot/xdot.SlackBuild
+++ b/graphics/xdot/xdot.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for xdot
#
# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it>
-# 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
@@ -25,7 +25,7 @@
PRGNAM=xdot
SRCNAM=xdot.py
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,14 @@ cd $SRCNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
+# xdot expects named tuples to be returned by some GDK functions, else it
+# spams stderr with stack traces. Likely changed in version 3.19.1 of
+# pygobject3-python3, but SBo is still on 3.18.2. Use regular tuples for now.
+sed -i \
+ -e 's/pointer.x/pointer[1]/' \
+ -e 's/pointer.y/pointer[2]/' \
+ xdot/ui/actions.py
+
python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/xdot/xdot.info b/graphics/xdot/xdot.info
index 87fdf507dd..95aa9dd57f 100644
--- a/graphics/xdot/xdot.info
+++ b/graphics/xdot/xdot.info
@@ -1,10 +1,10 @@
PRGNAM="xdot"
-VERSION="1.1"
+VERSION="1.2"
HOMEPAGE="https://github.com/jrfonseca/xdot.py"
-DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.1/xdot.py-1.1.tar.gz"
-MD5SUM="600a17f4832c88b34b4ae618999da214"
+DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.2/xdot.py-1.2.tar.gz"
+MD5SUM="2ba702657b050ee351630ac25f014855"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 pygobject3-python3 graphviz"
+REQUIRES="python3 pygobject3-python3 numpy3 graphviz"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/xfishtank/README b/graphics/xfishtank/README
new file mode 100644
index 0000000000..6f80a27a84
--- /dev/null
+++ b/graphics/xfishtank/README
@@ -0,0 +1,9 @@
+xfishtank
+
+The X11 aquarium
+
+Does not like KDE or Gnome
+Looks great on FVWM Crystal
+
+On my screen looks particularly good in 1280 x 720 resolution.
+
diff --git a/graphics/xfishtank/doinst.sh b/graphics/xfishtank/doinst.sh
new file mode 100644
index 0000000000..21f456f953
--- /dev/null
+++ b/graphics/xfishtank/doinst.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+#
diff --git a/graphics/xfishtank/slack-desc b/graphics/xfishtank/slack-desc
new file mode 100644
index 0000000000..f2ab20f5ca
--- /dev/null
+++ b/graphics/xfishtank/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+xfishtank: xfishtank (X11 aquarium)
+xfishtank:
+xfishtank: The X11 aquarium
+xfishtank: Does not like KDE or Gnome
+xfishtank: Awesome on FVWM Crystal
+xfishtank: on my screen 1280 x 720 has more impact than higher resolution
+xfishtank:
+xfishtank:
+xfishtank:
+xfishtank:
+xfishtank:
diff --git a/graphics/xfishtank/xfishtank.SlackBuild b/graphics/xfishtank/xfishtank.SlackBuild
new file mode 100644
index 0000000000..f3bdffb6d4
--- /dev/null
+++ b/graphics/xfishtank/xfishtank.SlackBuild
@@ -0,0 +1,94 @@
+#!/bin/sh
+
+# Slackware build script for xfishtank
+
+# Copyright 2019 Peter Dambier
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (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=xfishtank
+VERSION=${VERSION:-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.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"
+
+xmkmf -a
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+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/graphics/xfishtank/xfishtank.info b/graphics/xfishtank/xfishtank.info
new file mode 100644
index 0000000000..24960abeca
--- /dev/null
+++ b/graphics/xfishtank/xfishtank.info
@@ -0,0 +1,10 @@
+PRGNAM="xfishtank"
+VERSION="2.5"
+HOMEPAGE="https://jim.rees.org"
+DOWNLOAD="https://jim.rees.org/computers/xfishtank.tar.gz"
+MD5SUM="3aadec19d46d9ab1a115185428c19c1b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="imlib2"
+MAINTAINER="Peter Dambier"
+EMAIL="peter@peter-dambier.de"
diff --git a/graphics/xmedcon/README b/graphics/xmedcon/README
index a5f54bba55..ff7debd7e7 100644
--- a/graphics/xmedcon/README
+++ b/graphics/xmedcon/README
@@ -1,4 +1,4 @@
(X)MedCon (Medical Image Conversion)
-A medical image conversion utility & library; hereby hoping to lower at least
-one barrier in medical research projects.
+A medical image conversion utility & library; hereby hoping to lower at
+least one barrier in medical research projects.
diff --git a/graphics/xmedcon/doinst.sh b/graphics/xmedcon/doinst.sh
index 9b66a71f65..9a8ded3c60 100644
--- a/graphics/xmedcon/doinst.sh
+++ b/graphics/xmedcon/doinst.sh
@@ -1,29 +1,3 @@
-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
-}
-
-config etc/xmedconrc.new
-
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/graphics/xmedcon/slack-desc b/graphics/xmedcon/slack-desc
index 2e1192cf80..febee6646e 100644
--- a/graphics/xmedcon/slack-desc
+++ b/graphics/xmedcon/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-xmedcon: xmedcon (X)
+xmedcon: (X)MedCon (Medical Image Conversion)
xmedcon:
xmedcon: a medical image conversion utility & library; hereby hoping to lower
xmedcon: at least one barrier in medical research projects.
diff --git a/graphics/xmedcon/xmedcon.SlackBuild b/graphics/xmedcon/xmedcon.SlackBuild
index 149b24e67e..74c04c01e5 100644
--- a/graphics/xmedcon/xmedcon.SlackBuild
+++ b/graphics/xmedcon/xmedcon.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for (X)MedCon
#
-# Copyright 2016 Marek Srejma (sam_web@yahoo.de)
+# Copyright 2016-2021 Marek Srejma (sam@modweb.de)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmedcon
-VERSION=${VERSION:-0.14.1}
+VERSION=${VERSION:-0.17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,11 +84,16 @@ 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
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+for i in $( find $PKG/usr/man -type l )
+do
+ ln -s $( readlink $i ).gz $i.gz
+ rm $i
+done
mv $PKG/usr/etc $PKG/
mv $PKG/etc/xmedconrc $PKG/etc/xmedconrc.new
@@ -101,7 +106,7 @@ install -m644 $CWD/xmedcon.desktop $PKG/usr/share/applications/xmedcon.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README REMARKS \
+ AUTHORS COPYING COPYING.LIB INSTALL NEWS README REMARKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/xmedcon/xmedcon.desktop b/graphics/xmedcon/xmedcon.desktop
index d1c267ec46..95e6adf0e1 100644
--- a/graphics/xmedcon/xmedcon.desktop
+++ b/graphics/xmedcon/xmedcon.desktop
@@ -5,3 +5,4 @@ GenericName=Medical Image Conversion
Exec=xmedcon
Icon=xmedcon
Categories=Graphics;Utility;
+MimeType=application/dicom;
diff --git a/graphics/xmedcon/xmedcon.info b/graphics/xmedcon/xmedcon.info
index c139ab303e..6c97e4f52e 100644
--- a/graphics/xmedcon/xmedcon.info
+++ b/graphics/xmedcon/xmedcon.info
@@ -1,10 +1,10 @@
PRGNAM="xmedcon"
-VERSION="0.14.1"
+VERSION="0.17.0"
HOMEPAGE="http://xmedcon.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/xmedcon/XMedCon-Source/0.14.1/xmedcon-0.14.1.tar.bz2"
-MD5SUM="59c9211857790c2453ce5d13f8743a90"
+DOWNLOAD="https://downloads.sourceforge.net/project/xmedcon/XMedCon-Source/0.17.0/xmedcon-0.17.0.tar.bz2"
+MD5SUM="5193242f66fb2a393902c332ef74e9b1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="slacksam"
-EMAIL="sam_web@yahoo.de"
+MAINTAINER="Marek Srejma"
+EMAIL="sam@modweb.de"
diff --git a/graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch b/graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch
deleted file mode 100644
index 611f370ad3..0000000000
--- a/graphics/yacreader/0001-Fix-YACReader-build-for-Qt-5.7.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 1fbf1195b997c11509afce8d4a7322e7561ab301 Mon Sep 17 00:00:00 2001
-From: Felix Kauselmann <licorn@gmail.com>
-Date: Sun, 1 Jul 2018 14:39:46 +0200
-Subject: [PATCH] Fix YACReader build for Qt <= 5.7
-
-diff -Naur yacreader-9.5.0.orig/YACReader/main.cpp yacreader-9.5.0/YACReader/main.cpp
---- yacreader-9.5.0.orig/YACReader/main.cpp 2018-06-30 17:15:50.000000000 +0200
-+++ yacreader-9.5.0/YACReader/main.cpp 2018-07-02 13:59:36.165035000 +0200
-@@ -83,8 +83,14 @@
- QCommandLineOption comicId("comicId", "", "comicId");
- QCommandLineOption libraryId("libraryId", "", "libraryId");
- // hide comicId and libraryId from help
-+ #if QT_VERSION >= 0x050800
- comicId.setFlags(QCommandLineOption::HiddenFromHelp);
- libraryId.setFlags(QCommandLineOption::HiddenFromHelp);
-+ #else
-+ comicId.setHidden(true);
-+ libraryId.setHidden(true);
-+ #endif
-+
- // process
- parser.addOption(comicId);
- parser.addOption(libraryId);
diff --git a/graphics/yacreader/yacreader.SlackBuild b/graphics/yacreader/yacreader.SlackBuild
index cdeebac5c7..baed9b6d53 100644
--- a/graphics/yacreader/yacreader.SlackBuild
+++ b/graphics/yacreader/yacreader.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for yacreader
-# Copyright 2016-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yacreader
-VERSION=${VERSION:-9.5.0}
+VERSION=${VERSION:-9.7.1.2009123}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,8 +69,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/0001-Fix-YACReader-build-for-Qt-5.7.patch
-
sed -i \
-e "s|/usr/lib|/usr/lib$LIBDIRSUFFIX|" \
-e "s|PREFIX/lib|PREFIX/lib$LIBDIRSUFFIX|" \
diff --git a/graphics/yacreader/yacreader.info b/graphics/yacreader/yacreader.info
index 4072dc2b6c..38192aafee 100644
--- a/graphics/yacreader/yacreader.info
+++ b/graphics/yacreader/yacreader.info
@@ -1,8 +1,8 @@
PRGNAM="yacreader"
-VERSION="9.5.0"
+VERSION="9.7.1.2009123"
HOMEPAGE="https://www.yacreader.com"
-DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.5.0/yacreader-9.5.0-src.tar.xz"
-MD5SUM="8a60573783d25cf3e8c73908a65c663e"
+DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.7.1/yacreader-9.7.1.2009123-src.tar.xz"
+MD5SUM="66df4ee9c9b82370d250547f8c484bed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libwebp poppler-qt5 qrencode unarr"
diff --git a/graphics/yed/README b/graphics/yed/README
index 78b7197c6e..6d394711d6 100644
--- a/graphics/yed/README
+++ b/graphics/yed/README
@@ -3,3 +3,5 @@ and effectively generate high-quality diagrams. Create diagrams
manually, or import your external data for analysis. Automatic
layout algorithms arrange even large data sets with just the press
of a button.
+
+* Please read licenses informations below or in /usr/share/doc/yed-? *
diff --git a/graphics/yed/license_agreement.txt b/graphics/yed/license_agreement.txt
new file mode 100644
index 0000000000..53e9ede1d3
--- /dev/null
+++ b/graphics/yed/license_agreement.txt
@@ -0,0 +1,61 @@
+
+yEd Software License Agreement
+
+Version 1.2
+
+This is a legal agreement ("this Agreement") between yWorks GmbH ("yWorks") and the licensee ("the Licensee"). yWorks licenses the yEd Software ("the Software") only if all the following terms are accepted by the Licensee. The Software includes the yEd byte code executable and any files and documents associated with it.
+
+By installing the Software, the Licensee is indicating that he/she has read and understands this Agreement and agrees to be bound by its terms and conditions. If this Agreement is unacceptable to the Licensee, the Licensee must destroy any copies of the Software in the Licensee's possession immediately.
+1. LICENSE CONDITIONS
+
+The Licensee is granted a non-exclusive and non-transferable right to install one copy of the Software and use it as an application. The Software may not be used as part of an automated process. The Licensee may not reverse engineer, disassemble, decompile, or unjar the Software, or otherwise attempt to derive the source code of the Software.
+
+The Licensee acknowledges that Software furnished hereunder is under test and may be defective. No claims whatsoever can be made on yWorks based on any expectation about the Software.
+2. TERM, TERMINATION AND SURVIVAL
+
+The Licensee may terminate this Agreement at any time by destroying all copies of the Software in possession.
+
+If the Licensee fails to comply with any term of this Agreement, this Agreement is terminated and the Licensee has no further right to use the Software.
+
+On termination, the Licensee shall have no claim on or arising from the Software. The Software and any copies shall be destroyed.
+3. NO WARRANTY
+
+The Software is licensed to the Licensee on an "AS IS" basis. The Licensee is solely responsible for determining the suitability of the Software and accepts full responsibility and risks associated with the use of the Software.
+4. MAINTENANCE AND SUPPORT
+
+yWorks is not required to provide maintenance or support to the Licensee.
+5. LIMITATION OF LIABILITY
+
+In no event will yWorks be liable for any damages, including but not limited to any loss of revenue, profit, or data, however caused, directly or indirectly, by the Software or by this Agreement.
+6. DISTRIBUTION
+
+No distribution is to be made of the Software by the Licensee. The Licensee may make one copy of the Software for backup purpose only.
+7. AVAILABILITY
+
+The Software is not available to those not permitted by law to have access to the Software.
+8. INSERTION OF MARKER
+
+The Software may insert some markers into any output files to identify that the files are generated by the Software. yWorks bears no responsibility for any damages arising.
+9. MISCELLANEOUS
+
+This agreement is made and shall be construed in accordance with the laws of Germany.
+
+
+
+
+THIRD-PARTY SOFTWARE AND LICENSES
+
+This Software uses the Batik SVG Toolkit, Apache XMLBeans, Apache POI, and FreeHEP VectorGraphics library which are licensed under The Apache Software License.
+
+This Software uses the JIDE Docking Framework and the JIDE Action Framework licensed from JIDE Software.
+
+This Software uses icons licensed from Incors GmbH.
+
+This Software includes a parser generated with ANTLR v3, a Swing LnF created by JGoodies, and the TwelveMonkeys library. The BSD License applies to them.
+
+The Swing LnF created by JGoodies uses some icons from the Tango project licensed under the Creative Commons Attribution Share-Alike license.
+
+This Software uses the svg-viewer rendering engine. The MIT License applies to it.
+
+This Software uses the JavaHelp System v2.0_02. The Sun Microsystems, Inc. Binary Code License Agreement with JavaHelp Version 2.0 Supplemental License Terms applies to it.
+
diff --git a/graphics/yed/slack-desc b/graphics/yed/slack-desc
index 0a71d8ca3b..5124a03918 100644
--- a/graphics/yed/slack-desc
+++ b/graphics/yed/slack-desc
@@ -16,4 +16,4 @@ yed: of a button.
yed:
yed: Homepage: https://www.yworks.com/products/yed
yed:
-yed:
+yed:* Please read licenses informations below or in /usr/share/doc/yed-? *
diff --git a/graphics/yed/yed.SlackBuild b/graphics/yed/yed.SlackBuild
index a5dba6144c..d6332575dc 100644
--- a/graphics/yed/yed.SlackBuild
+++ b/graphics/yed/yed.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for yEd
# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2021 Michel Begue <mab974@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yed
-VERSION=${VERSION:-3.14.2}
+VERSION=${VERSION:-3.20.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,7 +52,7 @@ mv lib *.jar $PKG/usr/share/$PRGNAM
for SIZE in 16 32; do
mkdir -p $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps
- mv icons/yicon$SIZE.png $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps/$PRGNAM.png
+ mv icons/yed$SIZE.png $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps/$PRGNAM.png
done
mkdir -p $PKG/usr/bin
diff --git a/graphics/yed/yed.info b/graphics/yed/yed.info
index 09b14873ff..13d6c1dfcd 100644
--- a/graphics/yed/yed.info
+++ b/graphics/yed/yed.info
@@ -1,10 +1,10 @@
PRGNAM="yed"
-VERSION="3.14.2"
+VERSION="3.20.1"
HOMEPAGE="https://www.yworks.com/products/yed"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/yEd-3.14.2.zip"
-MD5SUM="ed8b0c766148d0855d2620b6d352317e"
+DOWNLOAD="https://www.yworks.com/resources/yed/demo/yEd-3.20.1.zip"
+MD5SUM="513d4b0031b35e1a12116df3b61eae07"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
+MAINTAINER="Michel Begue"
+EMAIL="mab974@gmail.com"