summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ART/ART.SlackBuild114
-rw-r--r--graphics/ART/ART.info10
-rw-r--r--graphics/ART/README13
-rw-r--r--graphics/ART/disable_mimalloc.patch11
-rw-r--r--graphics/ART/doinst.sh9
-rw-r--r--graphics/ART/slack-desc19
-rw-r--r--graphics/BOSL2/BOSL2.SlackBuild171
-rw-r--r--graphics/BOSL2/BOSL2.info10
-rw-r--r--graphics/BOSL2/README2
-rw-r--r--graphics/BOSL2/slack-desc19
-rw-r--r--graphics/Blender/Blender.SlackBuild26
-rw-r--r--graphics/Blender/Blender.info8
-rw-r--r--graphics/Blender/README22
-rw-r--r--graphics/Blender/README.Slackware95
-rw-r--r--graphics/Blender/overloaded_min.diff51
-rw-r--r--graphics/CairoSVG/CairoSVG.SlackBuild4
-rw-r--r--graphics/CairoSVG/CairoSVG.info8
-rw-r--r--graphics/FSPViewer/FSPViewer.SlackBuild6
-rw-r--r--graphics/FSPViewer/FSPViewer.info2
-rw-r--r--graphics/FotoKilof/FotoKilof.SlackBuild161
-rw-r--r--graphics/FotoKilof/FotoKilof.info10
-rw-r--r--graphics/FotoKilof/README26
-rw-r--r--graphics/FotoKilof/doinst.sh (renamed from graphics/OpenVSP/doinst.sh)0
-rw-r--r--graphics/FotoKilof/icon.pngbin0 -> 35212 bytes
-rw-r--r--graphics/FotoKilof/slack-desc19
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild5
-rw-r--r--graphics/FreeCAD/FreeCAD.info8
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild26
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.info8
-rw-r--r--graphics/GraphicsMagick/README3
-rw-r--r--graphics/MaterialX/MaterialX.SlackBuild233
-rw-r--r--graphics/MaterialX/MaterialX.info24
-rw-r--r--graphics/MaterialX/MaterialXGraphEditor.desktop21
-rw-r--r--graphics/MaterialX/MaterialXView.desktop21
-rw-r--r--graphics/MaterialX/README51
-rw-r--r--graphics/MaterialX/doinst.sh19
-rw-r--r--graphics/MaterialX/fix-setup_py_in.patch16
-rw-r--r--graphics/MaterialX/materialx.pngbin0 -> 37184 bytes
-rw-r--r--graphics/MaterialX/slack-desc19
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild39
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.info6
-rw-r--r--graphics/OpenCASCADE/README5
-rw-r--r--graphics/OpenCASCADE/fix-flow-control-nesting.patch31
-rw-r--r--graphics/OpenCASCADE/occt-7.3.0_vtk_InsertNextTupleValue.diff64
-rw-r--r--graphics/OpenCASCADE/occt.git-7f523af8e8a63ee17d8fc26f107c191cd51dcd44.patch36
-rw-r--r--graphics/OpenShadingLanguage/OpenShadingLanguage.SlackBuild108
-rw-r--r--graphics/OpenShadingLanguage/OpenShadingLanguage.info10
-rw-r--r--graphics/OpenShadingLanguage/README19
-rw-r--r--graphics/OpenShadingLanguage/slack-desc19
-rw-r--r--graphics/OpenSubdiv/CUDA-compatibility.patch18
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.SlackBuild19
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.info6
-rw-r--r--graphics/OpenSubdiv/README12
-rw-r--r--graphics/OpenVSP/OpenVSP.desktop9
-rw-r--r--graphics/OpenVSP/OpenVSP.info10
-rw-r--r--graphics/OpenVSP/README13
-rw-r--r--graphics/OpenVSP/slack-desc19
-rw-r--r--graphics/Pixie/Pixie.SlackBuild6
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild20
-rw-r--r--graphics/SweetHome3D/SweetHome3D.info14
-rw-r--r--graphics/SweetHome3D/SweetHome3DIcon.pngbin29519 -> 0 bytes
-rw-r--r--graphics/VariCAD/VariCAD.SlackBuild4
-rw-r--r--graphics/XnViewMP/XnViewMP.info2
-rw-r--r--graphics/aaphoto/aaphoto.SlackBuild12
-rw-r--r--graphics/aaphoto/aaphoto.info6
-rw-r--r--graphics/aaphoto/slack-desc2
-rw-r--r--graphics/advancecomp/advancecomp.SlackBuild6
-rw-r--r--graphics/advancecomp/advancecomp.info8
-rw-r--r--graphics/aewan/aewan.SlackBuild6
-rw-r--r--graphics/alembic-framework/README17
-rw-r--r--graphics/alembic-framework/alembic-framework.SlackBuild125
-rw-r--r--graphics/alembic-framework/alembic-framework.info10
-rw-r--r--graphics/alembic-framework/slack-desc19
-rw-r--r--graphics/amide/README36
-rw-r--r--graphics/amide/amide.SlackBuild133
-rw-r--r--graphics/amide/amide.info10
-rw-r--r--graphics/amide/doinst.sh4
-rw-r--r--graphics/amide/slack-desc19
-rw-r--r--graphics/apitrace/apitrace-11-thirdparty.patch61
-rw-r--r--graphics/apitrace/apitrace.SlackBuild16
-rw-r--r--graphics/apitrace/apitrace.info14
-rw-r--r--graphics/baires/baires.SlackBuild2
-rw-r--r--graphics/baires/baires.info2
-rw-r--r--graphics/bdfedit/bdfedit.12
-rw-r--r--graphics/bdfedit/bdfedit.SlackBuild2
-rw-r--r--graphics/bdfedit/bdfedit.info2
-rw-r--r--graphics/bdfedit/bdfedit.pod2
-rw-r--r--graphics/birdfont/README6
-rw-r--r--graphics/birdfont/birdfont.SlackBuild16
-rw-r--r--graphics/birdfont/birdfont.info8
-rw-r--r--graphics/birdfont/install-path.patch66
-rw-r--r--graphics/blockbench/README7
-rw-r--r--graphics/blockbench/blockbench.SlackBuild85
-rw-r--r--graphics/blockbench/blockbench.info10
-rw-r--r--graphics/blockbench/doinst.sh13
-rw-r--r--graphics/blockbench/slack-desc19
-rw-r--r--graphics/brlcad/README3
-rw-r--r--graphics/brlcad/brlcad-skip-gstep.patch (renamed from graphics/brlcad/brlcad-7.32.4-skip-gstep.patch)0
-rw-r--r--graphics/brlcad/brlcad.SlackBuild47
-rw-r--r--graphics/brlcad/brlcad.info6
-rw-r--r--graphics/brlcad/fix-step-g-segfault.diff70
-rw-r--r--graphics/cam/cam.SlackBuild3
-rw-r--r--graphics/cam/cam.info2
-rw-r--r--graphics/catimg/README6
-rw-r--r--graphics/catimg/catimg.SlackBuild107
-rw-r--r--graphics/catimg/catimg.info10
-rw-r--r--graphics/catimg/slack-desc19
-rw-r--r--graphics/chafa/README3
-rw-r--r--graphics/chafa/chafa.SlackBuild (renamed from graphics/dvisvgm/dvisvgm.SlackBuild)61
-rw-r--r--graphics/chafa/chafa.info10
-rw-r--r--graphics/chafa/changelog27
-rw-r--r--graphics/chafa/slack-desc19
-rw-r--r--graphics/converseen/converseen.SlackBuild10
-rw-r--r--graphics/converseen/converseen.info6
-rw-r--r--graphics/converseen/doinst.sh6
-rw-r--r--graphics/ctpv/README4
-rw-r--r--graphics/ctpv/ctpv.SlackBuild (renamed from graphics/pygifme/pygifme.SlackBuild)36
-rw-r--r--graphics/ctpv/ctpv.info10
-rw-r--r--graphics/ctpv/slack-desc19
-rw-r--r--graphics/darktable/darktable.SlackBuild21
-rw-r--r--graphics/darktable/darktable.info8
-rw-r--r--graphics/dblatex/dblatex.SlackBuild6
-rw-r--r--graphics/djview4/djview4.SlackBuild6
-rw-r--r--graphics/draw.io/slack-desc19
-rw-r--r--graphics/drawio/README (renamed from graphics/draw.io/README)0
-rw-r--r--graphics/drawio/doinst.sh15
-rw-r--r--graphics/drawio/drawio.SlackBuild (renamed from graphics/draw.io/draw.io.SlackBuild)34
-rw-r--r--graphics/drawio/drawio.info (renamed from graphics/draw.io/draw.io.info)8
-rw-r--r--graphics/drawio/slack-desc19
-rw-r--r--graphics/dvisvgm/README35
-rw-r--r--graphics/dvisvgm/c-std.h.diff14
-rw-r--r--graphics/dvisvgm/dvisvgm.info10
-rw-r--r--graphics/dvisvgm/slack-desc19
-rw-r--r--graphics/embree/embree.SlackBuild4
-rw-r--r--graphics/embree/embree.info8
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.SlackBuild14
-rw-r--r--graphics/entangle/README21
-rw-r--r--graphics/entangle/doinst.sh7
-rw-r--r--graphics/entangle/entangle.SlackBuild65
-rw-r--r--graphics/entangle/entangle.info8
-rw-r--r--graphics/entangle/slack-desc10
-rw-r--r--graphics/eog-plugins/README3
-rw-r--r--graphics/eog-plugins/doinst.sh (renamed from graphics/mcomix3/doinst.sh)2
-rw-r--r--graphics/eog-plugins/eog-plugins.SlackBuild107
-rw-r--r--graphics/eog-plugins/eog-plugins.info10
-rw-r--r--graphics/eog-plugins/slack-desc19
-rw-r--r--graphics/eog/README3
-rw-r--r--graphics/eog/a06e6325907e136678b0bbe7058c25d688034afd.patch77
-rw-r--r--graphics/eog/doinst.sh15
-rw-r--r--graphics/eog/eog.SlackBuild133
-rw-r--r--graphics/eog/eog.info10
-rw-r--r--graphics/eog/slack-desc19
-rw-r--r--graphics/exif/exif.SlackBuild7
-rw-r--r--graphics/exiftags/exiftags.SlackBuild6
-rw-r--r--graphics/farbfeld/README13
-rw-r--r--graphics/farbfeld/farbfeld.SlackBuild75
-rw-r--r--graphics/farbfeld/farbfeld.info4
-rw-r--r--graphics/farbfeld/slack-desc10
-rw-r--r--graphics/fbida/fbida.SlackBuild2
-rw-r--r--graphics/fbida/fbida.info2
-rw-r--r--graphics/fbv/fbv.SlackBuild2
-rw-r--r--graphics/fbv/fbv.info2
-rw-r--r--graphics/fim/fim.info6
-rw-r--r--graphics/findimagedupes/findimagedupes.SlackBuild5
-rw-r--r--graphics/findimagedupes/findimagedupes.info8
-rw-r--r--graphics/flam3/README7
-rw-r--r--graphics/flam3/flam3.SlackBuild111
-rw-r--r--graphics/flam3/flam3.info10
-rw-r--r--graphics/flam3/slack-desc19
-rw-r--r--graphics/flpsed/flpsed.SlackBuild2
-rw-r--r--graphics/flpsed/flpsed.info2
-rw-r--r--graphics/focus-stack/README14
-rw-r--r--graphics/focus-stack/focus-stack.SlackBuild117
-rw-r--r--graphics/focus-stack/focus-stack.info10
-rw-r--r--graphics/focus-stack/slack-desc19
-rw-r--r--graphics/fontforge/fontforge.info4
-rw-r--r--graphics/fyre/doinst.sh6
-rw-r--r--graphics/fyre/fyre.SlackBuild10
-rw-r--r--graphics/g3dviewer/g3dviewer.SlackBuild6
-rw-r--r--graphics/gbdfed/gbdfed.SlackBuild8
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild2
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info2
-rw-r--r--graphics/gifsicle/gifsicle.SlackBuild10
-rw-r--r--graphics/gifsicle/gifsicle.info8
-rw-r--r--graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild2
-rw-r--r--graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild7
-rw-r--r--graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.info6
-rw-r--r--graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild4
-rw-r--r--graphics/gliv/gliv.SlackBuild6
-rw-r--r--graphics/glmark2/README6
-rw-r--r--graphics/glmark2/glmark2.SlackBuild122
-rw-r--r--graphics/glmark2/glmark2.info10
-rw-r--r--graphics/glmark2/slack-desc (renamed from graphics/pygifme/slack-desc)22
-rw-r--r--graphics/gmic/doinst.sh9
-rw-r--r--graphics/gmic/gmic.SlackBuild13
-rw-r--r--graphics/gnofract4d/gnofract4d.SlackBuild18
-rw-r--r--graphics/gnofract4d/gnofract4d.info10
-rw-r--r--graphics/gnofract4d/slack-desc2
-rw-r--r--graphics/gource/gource.SlackBuild6
-rw-r--r--graphics/gource/gource.info6
-rw-r--r--graphics/gpaint/gpaint.SlackBuild26
-rw-r--r--graphics/gpaint/gpaint.info6
-rw-r--r--graphics/gpaint/patches/01_drawing.patch21
-rw-r--r--graphics/gpaint/patches/02_remove_menu_h_reference.patch16
-rw-r--r--graphics/gpaint/patches/09_fix_menu_entry.patch25
-rw-r--r--graphics/gpaint/patches/10_fix_crash_on_font_select.patch97
-rw-r--r--graphics/gpaint/patches/11_fix_image_rotation.patch110
-rw-r--r--graphics/gpaint/patches/20_fix_line_width_combo.patch352
-rw-r--r--graphics/gpaint/patches/21_fix_crash_on_fill_button_click.patch25
-rw-r--r--graphics/gpaint/patches/22_fix_not_printable_string.patch21
-rw-r--r--graphics/gpaint/patches/23_add_accelerator_keys.patch92
-rw-r--r--graphics/gpaint/patches/24_fix_crash_on_failed_write.patch105
-rw-r--r--graphics/gpaint/patches/25_fix_color_selection.patch79
-rw-r--r--graphics/gpaint/patches/26_fix_toolbar.patch21
-rw-r--r--graphics/gpicview/gpicview.SlackBuild6
-rw-r--r--graphics/gpscorrelate/gpscorrelate.SlackBuild6
-rw-r--r--graphics/gqview/README4
-rw-r--r--graphics/gqview/doinst.sh3
-rw-r--r--graphics/gqview/gqview.SlackBuild119
-rw-r--r--graphics/gqview/gqview.info10
-rw-r--r--graphics/gqview/gqview.patch78
-rw-r--r--graphics/gqview/slack-desc19
-rw-r--r--graphics/grafx2/README5
-rw-r--r--graphics/grafx2/doinst.sh6
-rw-r--r--graphics/grafx2/grafx2.SlackBuild85
-rw-r--r--graphics/grafx2/grafx2.info6
-rw-r--r--graphics/grafx2/slack-desc4
-rw-r--r--graphics/graph-easy/graph-easy.SlackBuild12
-rw-r--r--graphics/graphviz/ghostscript918.patch18
-rw-r--r--graphics/graphviz/graphviz.SlackBuild13
-rw-r--r--graphics/graphviz/graphviz.info6
-rw-r--r--graphics/graphviz/php_5.4_compat.patch17
-rw-r--r--graphics/gscan2pdf/gscan2pdf.SlackBuild2
-rw-r--r--graphics/gscan2pdf/gscan2pdf.info8
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild14
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.info6
-rw-r--r--graphics/hp2xx/doinst.sh6
-rw-r--r--graphics/hp2xx/hp2xx.SlackBuild12
-rw-r--r--graphics/hp2xx/hp2xx.info2
-rw-r--r--graphics/hugin/boost-1.85.0-patch16
-rw-r--r--graphics/hugin/hugin.SlackBuild13
-rw-r--r--graphics/hugin/hugin.info6
-rw-r--r--graphics/imgcurses/imgcurses.SlackBuild2
-rw-r--r--graphics/imgcurses/imgcurses.info2
-rw-r--r--graphics/implot/CMakeLists.txt52
-rw-r--r--graphics/implot/README7
-rw-r--r--graphics/implot/implot.SlackBuild108
-rw-r--r--graphics/implot/implot.info10
-rw-r--r--graphics/implot/slack-desc19
-rw-r--r--graphics/imv/README1
-rw-r--r--graphics/imv/imv.SlackBuild30
-rw-r--r--graphics/imv/imv.info10
-rw-r--r--graphics/imv/slack-desc2
-rw-r--r--graphics/inkscape-gtk2/README12
-rw-r--r--graphics/inkscape-gtk2/doinst.sh10
-rw-r--r--graphics/inkscape-gtk2/gcc9.patch95
-rw-r--r--graphics/inkscape-gtk2/im7.patch106
-rw-r--r--graphics/inkscape-gtk2/inkscape-gtk2.SlackBuild131
-rw-r--r--graphics/inkscape-gtk2/inkscape-gtk2.info10
-rw-r--r--graphics/inkscape-gtk2/poppler-21.11.0.patch26
-rw-r--r--graphics/inkscape-gtk2/slack-desc19
-rw-r--r--graphics/inkscape/inkscape.SlackBuild12
-rw-r--r--graphics/inkscape/inkscape.info8
-rw-r--r--graphics/inkscape/libxml2-2.12.patch33
-rw-r--r--graphics/ipe/slack-desc6
-rw-r--r--graphics/jhead/README4
-rw-r--r--graphics/jhead/jhead.SlackBuild20
-rw-r--r--graphics/jhead/jhead.info12
-rw-r--r--graphics/jhead/slack-desc2
-rw-r--r--graphics/jp2a/jp2a.info2
-rw-r--r--graphics/jpeg2ps/jpeg2ps.SlackBuild6
-rw-r--r--graphics/jpegoptim/jpegoptim.SlackBuild19
-rw-r--r--graphics/jpegoptim/jpegoptim.info8
-rw-r--r--graphics/kColorPicker/kColorPicker.SlackBuild13
-rw-r--r--graphics/kImageAnnotator/kImageAnnotator.SlackBuild13
-rw-r--r--graphics/kim4/kim4.SlackBuild6
-rw-r--r--graphics/klayout/README22
-rw-r--r--graphics/klayout/doinst.sh7
-rw-r--r--graphics/klayout/klayout.SlackBuild171
-rw-r--r--graphics/klayout/klayout.desktop7
-rw-r--r--graphics/klayout/klayout.info10
-rw-r--r--graphics/klayout/slack-desc19
-rw-r--r--graphics/ksnip/ksnip.SlackBuild13
-rw-r--r--graphics/kuickshow/kuickshow.SlackBuild15
-rw-r--r--graphics/kuickshow/kuickshow.info6
-rw-r--r--graphics/lcdtest/lcdtest.SlackBuild2
-rw-r--r--graphics/lddot/lddot.SlackBuild2
-rw-r--r--graphics/lddot/lddot.info2
-rw-r--r--graphics/ldglite/ldglite.SlackBuild6
-rw-r--r--graphics/lensfun03/README9
-rw-r--r--graphics/lensfun03/lensfun03.SlackBuild127
-rw-r--r--graphics/lensfun03/lensfun03.info10
-rw-r--r--graphics/lensfun03/slack-desc19
-rw-r--r--graphics/leocad/leocad.SlackBuild4
-rw-r--r--graphics/leocad/leocad.info6
-rw-r--r--graphics/leocad_pieces/leocad_pieces.SlackBuild4
-rw-r--r--graphics/leocad_pieces/leocad_pieces.info6
-rw-r--r--graphics/libfpx/libfpx.SlackBuild27
-rw-r--r--graphics/libfpx/libfpx.info4
-rw-r--r--graphics/libplacebo/README1
-rw-r--r--graphics/libplacebo/libplacebo.SlackBuild12
-rw-r--r--graphics/libplacebo/libplacebo.info12
-rw-r--r--graphics/libplacebo/use_meson-0.59.4.diff11
-rw-r--r--graphics/lilypond/doinst.sh6
-rw-r--r--graphics/lilypond/lilypond.SlackBuild27
-rw-r--r--graphics/lilypond/lilypond.info8
-rw-r--r--graphics/lximage-qt/README2
-rw-r--r--graphics/lximage-qt/doinst.sh9
-rw-r--r--graphics/lximage-qt/lximage-qt.SlackBuild102
-rw-r--r--graphics/lximage-qt/lximage-qt.info10
-rw-r--r--graphics/lximage-qt/slack-desc19
-rw-r--r--graphics/maim/maim.SlackBuild32
-rw-r--r--graphics/maim/maim.info12
-rw-r--r--graphics/mangohud/README6
-rw-r--r--graphics/mangohud/doinst.sh5
-rw-r--r--graphics/mangohud/mangohud.SlackBuild62
-rw-r--r--graphics/mangohud/mangohud.info22
-rw-r--r--graphics/mangohud/slack-desc2
-rw-r--r--graphics/mapcrafter/mapcrafter.info2
-rw-r--r--graphics/mcomix/README (renamed from graphics/mcomix3/README)5
-rw-r--r--graphics/mcomix/doinst.sh9
-rw-r--r--graphics/mcomix/mcomix.SlackBuild98
-rw-r--r--graphics/mcomix/mcomix.info12
-rw-r--r--graphics/mcomix/slack-desc19
-rw-r--r--graphics/mcomix3/git2tarxz.sh44
-rw-r--r--graphics/mcomix3/mcomix3.SlackBuild107
-rw-r--r--graphics/mcomix3/mcomix3.info10
-rw-r--r--graphics/mcomix3/slack-desc19
-rw-r--r--graphics/meh/meh.SlackBuild2
-rw-r--r--graphics/meh/meh.info2
-rw-r--r--graphics/metapixel/metapixel.SlackBuild6
-rw-r--r--graphics/mftrace/mftrace.SlackBuild7
-rw-r--r--graphics/mirage/mirage.SlackBuild2
-rw-r--r--graphics/mirage/mirage.info6
-rw-r--r--graphics/mozjpeg/README12
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild69
-rw-r--r--graphics/mozjpeg/mozjpeg.info8
-rw-r--r--graphics/mozjpeg/mozjpeg.sh2
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild20
-rw-r--r--graphics/mtpaint/mtpaint.info8
-rw-r--r--graphics/mypaint/mypaint.info2
-rw-r--r--graphics/nomacs/nomacs.SlackBuild8
-rw-r--r--graphics/nomacs/nomacs.info16
-rw-r--r--graphics/nsxiv/nsxiv.SlackBuild13
-rw-r--r--graphics/nsxiv/nsxiv.info6
-rw-r--r--graphics/opencollada/no_werror.diff11
-rw-r--r--graphics/opencollada/opencollada.SlackBuild7
-rw-r--r--graphics/opencolorio/opencolorio.SlackBuild15
-rw-r--r--graphics/opencolorio/opencolorio.info6
-rw-r--r--graphics/openimageio/ffmpeg-5.1.diff37
-rw-r--r--graphics/openimageio/openimageio.SlackBuild20
-rw-r--r--graphics/openimageio/openimageio.info10
-rw-r--r--graphics/openscad-gearbox/README4
-rw-r--r--graphics/openscad-gearbox/openscad-gearbox.SlackBuild72
-rw-r--r--graphics/openscad-gearbox/openscad-gearbox.info10
-rw-r--r--graphics/openscad-gearbox/slack-desc19
-rw-r--r--graphics/openscad-threads/README4
-rw-r--r--graphics/openscad-threads/openscad-threads.SlackBuild69
-rw-r--r--graphics/openscad-threads/openscad-threads.info10
-rw-r--r--graphics/openscad-threads/slack-desc19
-rw-r--r--graphics/opentoonz/README10
-rw-r--r--graphics/opentoonz/doinst.sh10
-rw-r--r--graphics/opentoonz/opentoonz.SlackBuild127
-rw-r--r--graphics/opentoonz/opentoonz.info10
-rw-r--r--graphics/opentoonz/slack-desc19
-rw-r--r--graphics/optipng/optipng.SlackBuild6
-rw-r--r--graphics/paraview/README9
-rw-r--r--graphics/paraview/paraview.SlackBuild14
-rw-r--r--graphics/paraview/paraview.info14
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild2
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info2
-rw-r--r--graphics/pd-gears/README20
-rw-r--r--graphics/pd-gears/pd-gears.SlackBuild71
-rw-r--r--graphics/pd-gears/pd-gears.info10
-rw-r--r--graphics/pd-gears/slack-desc19
-rw-r--r--graphics/pdf2png/README12
-rw-r--r--graphics/pdf2png/pdf2png.SlackBuild27
-rw-r--r--graphics/pdf2png/pdf2png.info10
-rw-r--r--graphics/pdf2png/slack-desc2
-rw-r--r--graphics/peek/peek.SlackBuild2
-rw-r--r--graphics/pho/pho.SlackBuild6
-rw-r--r--graphics/photoqt/photoqt.SlackBuild11
-rw-r--r--graphics/photoqt/photoqt.info8
-rw-r--r--graphics/pngcrush/pngcrush.SlackBuild2
-rw-r--r--graphics/pngquant/README3
-rw-r--r--graphics/pngquant/pngquant.SlackBuild35
-rw-r--r--graphics/posterazor/README6
-rw-r--r--graphics/posterazor/posterazor.SlackBuild (renamed from graphics/OpenVSP/OpenVSP.SlackBuild)72
-rw-r--r--graphics/posterazor/posterazor.info10
-rw-r--r--graphics/posterazor/slack-desc19
-rw-r--r--graphics/potrace/potrace.SlackBuild7
-rw-r--r--graphics/povray/doinst.sh8
-rw-r--r--graphics/povray/povray.SlackBuild14
-rw-r--r--graphics/pqiv/README2
-rw-r--r--graphics/pqiv/pqiv.SlackBuild58
-rw-r--r--graphics/pqiv/pqiv.info10
-rw-r--r--graphics/pqiv/slack-desc4
-rw-r--r--graphics/psftools/psftools.SlackBuild2
-rw-r--r--graphics/psftools/psftools.info2
-rw-r--r--graphics/pyformex/pyformex.info2
-rw-r--r--graphics/pygifme/README2
-rw-r--r--graphics/pygifme/pygifme.info10
-rw-r--r--graphics/python3-gds3xtrude/README7
-rw-r--r--graphics/python3-gds3xtrude/python3-gds3xtrude.SlackBuild81
-rw-r--r--graphics/python3-gds3xtrude/python3-gds3xtrude.info10
-rw-r--r--graphics/python3-gds3xtrude/slack-desc19
-rw-r--r--graphics/qcomicbook/README20
-rw-r--r--graphics/qcomicbook/doinst.sh5
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild70
-rw-r--r--graphics/qcomicbook/qcomicbook.info6
-rw-r--r--graphics/qcomicbook/slack-desc14
-rw-r--r--graphics/qcustomplot/README5
-rw-r--r--graphics/qcustomplot/doinst.sh3
-rw-r--r--graphics/qcustomplot/qcustomplot.SlackBuild130
-rw-r--r--graphics/qcustomplot/qcustomplot.info12
-rw-r--r--graphics/qcustomplot/slack-desc19
-rw-r--r--graphics/qelectrotech/qelectrotech.SlackBuild6
-rw-r--r--graphics/qimgv/README10
-rw-r--r--graphics/qimgv/doinst.sh10
-rw-r--r--graphics/qimgv/qimgv.SlackBuild110
-rw-r--r--graphics/qimgv/qimgv.info10
-rw-r--r--graphics/qimgv/slack-desc19
-rw-r--r--graphics/qiv/README19
-rw-r--r--graphics/qiv/new_formats.diff46
-rw-r--r--graphics/qiv/qiv-allfmt.sqf5
-rw-r--r--graphics/qiv/qiv.SlackBuild18
-rw-r--r--graphics/qiv/qiv.info8
-rw-r--r--graphics/ralcgm/ralcgm.SlackBuild2
-rw-r--r--graphics/ralcgm/ralcgm.info2
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild2
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.info2
-rw-r--r--graphics/rawtherapee-haldclut/README6
-rw-r--r--graphics/rawtherapee-haldclut/rawtherapee-haldclut.SlackBuild72
-rw-r--r--graphics/rawtherapee-haldclut/rawtherapee-haldclut.info10
-rw-r--r--graphics/rawtherapee-haldclut/slack-desc19
-rw-r--r--graphics/ristretto/ristretto.SlackBuild9
-rw-r--r--graphics/ristretto/ristretto.info8
-rw-r--r--graphics/scantailor-advanced/README10
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.SlackBuild16
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.info10
-rw-r--r--graphics/scantailor-advanced/slack-desc2
-rw-r--r--graphics/screengrab/doinst.sh6
-rw-r--r--graphics/screengrab/screengrab.SlackBuild2
-rw-r--r--graphics/screengrab/screengrab.info6
-rw-r--r--graphics/scrot/scrot.SlackBuild10
-rw-r--r--graphics/scrot/scrot.info12
-rw-r--r--graphics/shutter/shutter.info2
-rw-r--r--graphics/stltools/README5
-rw-r--r--graphics/stltools/slack-desc19
-rw-r--r--graphics/stltools/stltools.SlackBuild105
-rw-r--r--graphics/stltools/stltools.info10
-rw-r--r--graphics/svp/svp.SlackBuild6
-rw-r--r--graphics/swappy/README7
-rw-r--r--graphics/swappy/doinst.sh9
-rw-r--r--graphics/swappy/slack-desc19
-rw-r--r--graphics/swappy/swappy.SlackBuild130
-rw-r--r--graphics/swappy/swappy.info10
-rw-r--r--graphics/sxiv/sxiv.info4
-rw-r--r--graphics/synfig/README8
-rw-r--r--graphics/synfig/slack-desc19
-rw-r--r--graphics/synfig/synfig.SlackBuild105
-rw-r--r--graphics/synfig/synfig.info10
-rw-r--r--graphics/synfigstudio/README8
-rw-r--r--graphics/synfigstudio/doinst.sh13
-rw-r--r--graphics/synfigstudio/douninst.sh1
-rw-r--r--graphics/synfigstudio/slack-desc19
-rw-r--r--graphics/synfigstudio/synfigstudio.SlackBuild108
-rw-r--r--graphics/synfigstudio/synfigstudio.info10
-rw-r--r--graphics/teighafileconverter/teighafileconverter.SlackBuild16
-rw-r--r--graphics/teighafileconverter/teighafileconverter.info2
-rw-r--r--graphics/tesseract/tesseract.SlackBuild10
-rw-r--r--graphics/tesseract/tesseract.info6
-rw-r--r--graphics/textext/textext.SlackBuild6
-rw-r--r--graphics/textext/textext.info2
-rw-r--r--graphics/tgif-QPL/tgif-QPL.info2
-rw-r--r--graphics/tikzit/README5
-rw-r--r--graphics/tikzit/doinst.sh14
-rw-r--r--graphics/tikzit/slack-desc19
-rw-r--r--graphics/tikzit/tikzit.SlackBuild96
-rw-r--r--graphics/tikzit/tikzit.info10
-rw-r--r--graphics/tkpng/tkpng.SlackBuild6
-rw-r--r--graphics/ttfautohint/README36
-rw-r--r--graphics/ttfautohint/slack-desc19
-rw-r--r--graphics/ttfautohint/ttfautohint.SlackBuild118
-rw-r--r--graphics/ttfautohint/ttfautohint.info10
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild22
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.info8
-rw-r--r--graphics/tuxpaint/README5
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild45
-rw-r--r--graphics/tuxpaint/tuxpaint.info14
-rw-r--r--graphics/ueberzug/ueberzug.SlackBuild68
-rw-r--r--graphics/ueberzug/ueberzug.info8
-rw-r--r--graphics/ueberzugpp/README15
-rw-r--r--graphics/ueberzugpp/slack-desc19
-rw-r--r--graphics/ueberzugpp/ueberzugpp.SlackBuild110
-rw-r--r--graphics/ueberzugpp/ueberzugpp.info10
-rw-r--r--graphics/unpaper/README33
-rw-r--r--graphics/unpaper/unpaper-7.0.0-no-sphinx.patch21
-rw-r--r--graphics/unpaper/unpaper.SlackBuild77
-rw-r--r--graphics/unpaper/unpaper.info6
-rw-r--r--graphics/viewnior/exiv2-0.28.patch145
-rw-r--r--graphics/viewnior/viewnior.SlackBuild19
-rw-r--r--graphics/viewnior/viewnior.info8
-rw-r--r--graphics/vimiv-qt/README7
-rw-r--r--graphics/vimiv-qt/doinst.sh9
-rw-r--r--graphics/vimiv-qt/slack-desc19
-rw-r--r--graphics/vimiv-qt/vimiv-qt.SlackBuild99
-rw-r--r--graphics/vimiv-qt/vimiv-qt.info10
-rw-r--r--graphics/vips/vips.SlackBuild5
-rw-r--r--graphics/vuescan/vuescan.SlackBuild71
-rw-r--r--graphics/vuescan/vuescan.info14
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild9
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.info8
-rw-r--r--graphics/xbmbrowser/xbmbrowser.info2
-rw-r--r--graphics/xcalib/xcalib.SlackBuild4
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild2
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info2
-rw-r--r--graphics/xcur2png/xcur2png.SlackBuild2
-rw-r--r--graphics/xcur2png/xcur2png.info2
-rw-r--r--graphics/xdot/xdot.SlackBuild17
-rw-r--r--graphics/xdot/xdot.info8
-rw-r--r--graphics/ximaging/README4
-rw-r--r--graphics/ximaging/slack-desc19
-rw-r--r--graphics/ximaging/ximaging.SlackBuild113
-rw-r--r--graphics/ximaging/ximaging.info10
-rw-r--r--graphics/xli/xli.SlackBuild2
-rw-r--r--graphics/xli/xli.info2
-rw-r--r--graphics/xloadimage/README5
-rw-r--r--graphics/xloadimage/enable-image-types.patch74
-rw-r--r--graphics/xloadimage/png15-tiff4.patch50
-rw-r--r--graphics/xloadimage/slack-desc19
-rw-r--r--graphics/xloadimage/xloadimage.SlackBuild123
-rw-r--r--graphics/xloadimage/xloadimage.info10
-rw-r--r--graphics/xmedcon/xmedcon.SlackBuild21
-rw-r--r--graphics/xmedcon/xmedcon.info6
-rw-r--r--graphics/xzgv/doinst.sh10
-rw-r--r--graphics/xzgv/douninst.sh22
-rw-r--r--graphics/xzgv/xzgv.SlackBuild139
-rw-r--r--graphics/xzgv/xzgv.info12
-rw-r--r--graphics/yacreader/README3
-rw-r--r--graphics/yacreader/yacreader.SlackBuild6
-rw-r--r--graphics/yacreader/yacreader.info8
-rw-r--r--graphics/yagf/yagf.SlackBuild6
-rw-r--r--graphics/yed/yed.SlackBuild2
-rw-r--r--graphics/yed/yed.info6
-rw-r--r--graphics/yvonne/README9
-rw-r--r--graphics/yvonne/doinst.sh9
-rw-r--r--graphics/yvonne/fixencoding.diff12
-rw-r--r--graphics/yvonne/fixgarbage.diff18
-rw-r--r--graphics/yvonne/fixwarnings.diff36
-rw-r--r--graphics/yvonne/slack-desc19
-rw-r--r--graphics/yvonne/yvonne.SlackBuild118
-rw-r--r--graphics/yvonne/yvonne.desktop8
-rw-r--r--graphics/yvonne/yvonne.info10
-rw-r--r--graphics/zgrviewer/README7
-rw-r--r--graphics/zgrviewer/slack-desc19
-rw-r--r--graphics/zgrviewer/zgrviewer4
-rw-r--r--graphics/zgrviewer/zgrviewer.SlackBuild105
-rw-r--r--graphics/zgrviewer/zgrviewer.info10
559 files changed, 9800 insertions, 3235 deletions
diff --git a/graphics/ART/ART.SlackBuild b/graphics/ART/ART.SlackBuild
new file mode 100644
index 0000000000..a5b19b3344
--- /dev/null
+++ b/graphics/ART/ART.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Slackware build script for ART
+
+# Copyright 2023 Daniel Prosser, Lexington Park, MD
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ART
+VERSION=${VERSION:-1.20.2}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# lensfun-0.3.95 segfaults with mimalloc. Version 0.3.3 solves the issue, but
+# we need to wait until Slackware-15.1 for that.
+patch -p0 < $CWD/disable_mimalloc.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
+cp -a \
+ AUTHORS.txt CONTRIBUTING.md LICENSE.txt README.md RELEASE_NOTES.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ART/ART.info b/graphics/ART/ART.info
new file mode 100644
index 0000000000..f3955b297a
--- /dev/null
+++ b/graphics/ART/ART.info
@@ -0,0 +1,10 @@
+PRGNAM="ART"
+VERSION="1.20.2"
+HOMEPAGE="https://bitbucket.org/agriggio/art/wiki/Home"
+DOWNLOAD="https://bitbucket.org/agriggio/art/downloads/ART-1.20.2.tar.xz"
+MD5SUM="cebe96c68a3f5d88c1c97a6d28f8d19c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Prosser"
+EMAIL="dpross1100@msn.com"
diff --git a/graphics/ART/README b/graphics/ART/README
new file mode 100644
index 0000000000..131257b2e8
--- /dev/null
+++ b/graphics/ART/README
@@ -0,0 +1,13 @@
+ART is a free, open-source, cross-platform raw image processing
+program. It is a derivative of RawTherapee, trading a bit of
+customization and control over various processing parameters for a
+simpler and easier to use interface, while still maintaining the power
+and quality of RawTherapee. Some features have been added too, including
+local editing and masks, a perspective correction tool, and better
+metadata handling.
+
+opencolorio is a optional but highly recommended dependency to add
+support for ACES CLF LUTs.
+
+rawtherapee-haldclut is an optional dependency, which adds film
+simulations to both ART and RawTherapee.
diff --git a/graphics/ART/disable_mimalloc.patch b/graphics/ART/disable_mimalloc.patch
new file mode 100644
index 0000000000..c77763ed12
--- /dev/null
+++ b/graphics/ART/disable_mimalloc.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt 2023-01-16 02:54:14.000000000 -0500
++++ CMakeLists.txt.new 2023-02-10 23:26:49.042916996 -0500
+@@ -606,8 +606,6 @@
+ add_definitions(-DWITH_MIMALLOC)
+ set(ART_MIMALLOC_VERSION_INFO "V${mimalloc_VERSION}")
+ endif()
+-else()
+- message(FATAL_ERROR "ART requires the mimalloc library. Please install it (see https://microsoft.github.io/mimalloc/)")
+ endif()
+
+ if(ENABLE_LIBRAW)
diff --git a/graphics/ART/doinst.sh b/graphics/ART/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/graphics/ART/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/ART/slack-desc b/graphics/ART/slack-desc
new file mode 100644
index 0000000000..6dac4bab48
--- /dev/null
+++ b/graphics/ART/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ART: ART (raw image processing program)
+ART:
+ART: ART is a raw image processing program derived from RawTherapee. It is
+ART: very similar to RawTherapee, trading a bit of customization and
+ART: control for a simpler and easier to use interface, while still
+ART: maintaining the power and control of RawTherapee and also adding some
+ART: features.
+ART:
+ART: Homepage: https://bitbucket.org/agriggio/art/wiki/Home
+ART:
+ART:
diff --git a/graphics/BOSL2/BOSL2.SlackBuild b/graphics/BOSL2/BOSL2.SlackBuild
new file mode 100644
index 0000000000..40365cb86e
--- /dev/null
+++ b/graphics/BOSL2/BOSL2.SlackBuild
@@ -0,0 +1,171 @@
+#!/bin/bash
+
+# Slackware build script for BOSL2
+
+# Copyright 2023 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=BOSL2
+COMVER=1c8e5efa96e3e9231c65c52ed3142b6da0cb484e
+VERSION=${VERSION:-2023.05.19.1c8e5ef}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+SRCNAM=BOSL2
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$COMVER
+tar xvf $CWD/$SRCNAM-$COMVER.tar.gz
+cd $SRCNAM-$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/BOSL2/tests
+
+install -m775 tests/polyhedra.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_affine.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_attachments.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_comparisons.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_coords.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_cubetruss.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_distributors.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_drawing.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_edges.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_fnliterals.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_geometry.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_linalg.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_linear_bearings.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_lists.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_masks2d.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_math.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_mutators.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_paths.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_regions.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_rounding.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_screw_drive.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_shapes2d.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_shapes3d.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_skin.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_strings.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_structs.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_transforms.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_trigonometry.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_utility.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_vectors.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_version.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+install -m775 tests/test_vnf.scad $PKG/usr/share/openscad/libraries/BOSL2/tests
+
+mkdir -p $PKG/usr/share/openscad/libraries/BOSL2/examples
+
+install -m775 examples/BOSL2logo.scad $PKG/usr/share/openscad/libraries/BOSL2/examples
+install -m775 examples/attachments.scad $PKG/usr/share/openscad/libraries/BOSL2/examples
+install -m775 examples/boolean_geometry.scad $PKG/usr/share/openscad/libraries/BOSL2/examples
+install -m775 examples/fractal_tree.scad $PKG/usr/share/openscad/libraries/BOSL2/examples
+install -m775 examples/lsystems.scad $PKG/usr/share/openscad/libraries/BOSL2/examples
+install -m775 examples/orientations.scad $PKG/usr/share/openscad/libraries/BOSL2/examples
+install -m775 examples/spherical_patch.scad $PKG/usr/share/openscad/libraries/BOSL2/examples
+
+install -m775 affine.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 attachments.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 ball_bearings.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 beziers.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 bosl1compat.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 bottlecaps.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 builtins.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 color.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 comparisons.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 constants.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 coords.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 cubetruss.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 distributors.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 drawing.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 fnliterals.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 gears.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 geometry.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 hinges.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 joiners.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 linalg.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 linear_bearings.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 lists.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 masks2d.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 masks3d.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 math.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 metric_screws.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 modular_hose.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 mutators.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 nema_steppers.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 partitions.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 paths.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 polyhedra.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 regions.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 rounding.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 screw_drive.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 screws.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 shapes2d.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 shapes3d.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 skin.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 sliders.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 std.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 strings.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 structs.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 threading.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 transforms.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 trigonometry.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 tripod_mounts.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 turtle3d.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 utility.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 vectors.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 version.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 vnf.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 walls.scad $PKG/usr/share/openscad/libraries/BOSL2/
+install -m775 wiring.scad $PKG/usr/share/openscad/libraries/BOSL2/
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CONTRIBUTING.md LICENSE README.md WRITING_DOCS.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/BOSL2/BOSL2.info b/graphics/BOSL2/BOSL2.info
new file mode 100644
index 0000000000..4c4f6a0323
--- /dev/null
+++ b/graphics/BOSL2/BOSL2.info
@@ -0,0 +1,10 @@
+PRGNAM="BOSL2"
+VERSION="2023.05.19.1c8e5ef"
+HOMEPAGE="https://github.com/revarbat/BOSL2/"
+DOWNLOAD="https://github.com/revarbat/BOSL2/archive/1c8e5efa96e3e9231c65c52ed3142b6da0cb484e/BOSL2-1c8e5efa96e3e9231c65c52ed3142b6da0cb484e.tar.gz"
+MD5SUM="07c302486c2641f84ab7e4df6d00d2ff"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/BOSL2/README b/graphics/BOSL2/README
new file mode 100644
index 0000000000..40601223cd
--- /dev/null
+++ b/graphics/BOSL2/README
@@ -0,0 +1,2 @@
+A library for OpenSCAD, filled with useful tools, shapes, masks,
+math and manipulators, designed to make OpenSCAD easier to use.
diff --git a/graphics/BOSL2/slack-desc b/graphics/BOSL2/slack-desc
new file mode 100644
index 0000000000..34b3a74f7c
--- /dev/null
+++ b/graphics/BOSL2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+BOSL2: BOSL2 (The Belfry OpenScad Library, v2)
+BOSL2:
+BOSL2: A library for OpenSCAD, filled with useful tools, shapes, masks,
+BOSL2: math and manipulators, designed to make OpenSCAD easier to use.
+BOSL2:
+BOSL2:
+BOSL2: Homepage: https://github.com/revarbat/BOSL2/
+BOSL2:
+BOSL2:
+BOSL2:
+BOSL2:
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index 6436396a75..90999a35a7 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Blender
-# Copyright 2015-2022 Christoph Willing, Brisbane Australia
+# Copyright 2015-2024 Christoph Willing, Sydney Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,13 +25,13 @@
# 20220322 bkw: Modified by SlackBuilds.org, BUILD=2:
# - make embree optional (makes it possible to build Blender on 32-bit,
# since embree is 64-bit-only).
-# - add patch to fix 32-bit compilation.
+# - add patch to fix 32-bit compilation. (no longer needed)
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Blender
-VERSION=${VERSION:-3.0.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.3.10}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,7 +54,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$SRCNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
@@ -102,8 +102,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# 20220322 bkw: 32-bit needs this
-[ -z "$LIBDIRSUFFIX" ] && patch -p1 < $CWD/overloaded_min.diff
+sed -i -e '/#include <stdio.h>/a #include <iostream>' intern/locale/boost_locale_wrapper.cpp
+sed -i -e '/#include "util\/windows.h"/a #include <system_error>' intern/cycles/util/thread.cpp
+sed -i -e '/#include <fstream>/a #include <cstdint>' extern/quadriflow/src/loader.cpp
mkdir -p build
cd build
@@ -157,10 +158,13 @@ EOF
chmod 0755 $PKG/usr/bin/$bin
done
-mkdir -p $PKG/usr/man/man1
-./doc/manpage/blender.1.py --blender build/bin/blender --output $PKG/usr/man/man1/blender.1
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# Recent OSL breaks manpage generation
+if [ ! -e "/usr/lib$LIBDIRSUFFIX/liboslcomp.so" ]; then
+ mkdir -p $PKG/usr/man/man1
+ ./doc/manpage/blender.1.py --blender build/bin/blender --output $PKG/usr/man/man1/blender.1
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
diff --git a/graphics/Blender/Blender.info b/graphics/Blender/Blender.info
index c4c49dc934..967d92ba92 100644
--- a/graphics/Blender/Blender.info
+++ b/graphics/Blender/Blender.info
@@ -1,10 +1,10 @@
PRGNAM="Blender"
-VERSION="3.0.1"
+VERSION="3.3.10"
HOMEPAGE="https://blender.org"
-DOWNLOAD="https://download.blender.org/source/blender-3.0.1.tar.xz"
-MD5SUM="41cccf2fe68b9b307204e9b9b2278b0c"
+DOWNLOAD="https://download.blender.org/source/blender-3.3.10.tar.xz"
+MD5SUM="a190dbfc5dfd490d737ee64ba68ce79c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="potrace OpenSubdiv pugixml jack opencollada valgrind numpy3 openimageio freealut"
+REQUIRES="potrace OpenSubdiv pugixml jack opencollada valgrind python3-numpy openimageio freealut tbb"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/graphics/Blender/README b/graphics/Blender/README
index 2cefbda47d..8fd9285fea 100644
--- a/graphics/Blender/README
+++ b/graphics/Blender/README
@@ -9,7 +9,7 @@ scripting, rendering, compositing, post-production and game creation.
CUDA support is included if cudatoolkit is installed.
It may be disabled by passing CUDA=no when building:
- CUDA=no sh ./Blender.SlackBuild
+ CUDA=no bash ./Blender.SlackBuild
CUDA support hasn't been thorougly tested, and may break the build. If
so, build with CUDA=no and report a bug to the maintainer of this
@@ -17,10 +17,28 @@ script.
Optional dependency: embree. If installed, Blender will be built with
support for it. It may be disabled by passing EMBREE=no when building:
- EMBREE=no sh ./Blender.SlackBuild
+ EMBREE=no bash ./Blender.SlackBuild
Note for 32-bit users: embree is 64-bit only, and can't be built on
32-bit Slackware.
+Optional dependency: alembic-framework. If already installed, it will
+be automatically detected and incorporated when Blender is built.
+
+To enable support for OptiX Ray Tracing Engine, the OptiX SDK must be
+available in the build environment. Use the OPTIX_ROOT_DIR environment
+variable to identify the SDK location e.g.
+ OPTIX_ROOT_DIR=/home/chris/NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64 bash ./Blender.SlackBuild
+
+Optional dependency: OpenShadingLanguage (OSL). If already installed,
+it will be automatically detected and incorporated when Blender is built.
+Due to an unresolved issue with the current OSL version, generation of
+the blender manpage is suppressed when OSL is detected.
+
+
+This SlackBuild builds Blender from source code. For Slackware 15.0,
+due to its Python 3 version of 3.9.17, the Blender version to be built
+is restricted to version 3.3.10.
+
See also: graphics/blender (note, lowercase B), which repackages the
official Blender x86_64 release binary.
diff --git a/graphics/Blender/README.Slackware b/graphics/Blender/README.Slackware
index 2371484de5..36aca39941 100644
--- a/graphics/Blender/README.Slackware
+++ b/graphics/Blender/README.Slackware
@@ -3,81 +3,20 @@ an existing binary version. The process is therefore more complex and
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
- libraries/opencv
- graphics/opencollada
- libraries/OpenAL
- python/python3
- python/python-requests
- development/valgrind
- libraries/libwebp
- development/numpy3
- development/SDL2
- graphics/opencolorio
- graphics/openimageio
- libraries/freealut
- graphics/Blender
-
-When generating a new build order, python3 should first be added to the
-REQUIRES field of python-requests.info.
-
-To facilitate the greatest utility for Blender, its is strongly
-suggested that a number of standard SBo packages be built with
-a more complete set of features than provided by the default scripts:
- 1. the opencv package could/should first be built with additional
-features by preinstalling some other packages e.g.
-REQUIRES="
-opencl-headers libjpeg-turbo ffmpeg Sphinx libdc1394
-numpy3 gtkglext tbb jdk
-"
-The cmake configuration in opencv.SlackBuild can be replaced with:
- cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE="Release" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -DENABLE_PRECOMPILED_HEADERS=OFF \
- -DLIB_SUFFIX=$LIBDIRSUFFIX \
- -DWITH_TBB=ON \
- -DWITH_OPENCL=ON \
- -DWITH_OPENGL=ON \
- -DWITH_QT=ON \
- -DWITH_XINE=ON \
- -DBUILD_EXAMPLES=ON \
- -DINSTALL_C_EXAMPLES=ON \
- -DINSTALL_PYTHON_EXAMPLES=ON \
- -DBUILD_NEW_PYTHON_SUPPORT=ON \
- -DWITH_FFMPEG=ON \
- -DCMAKE_SKIP_RPATH=ON \
- -DWITH_1394:BOOL=ON \
- ..
-
-If resources allow, the very large cudatoolkit package is another
-possible package which may be preinstalled and be utilised by the
-opencv build process.
-
-Blender itself can also use cudatoolkit to provide GPU rendering in
-systems with NVidia GPU cards. In this case, the SlackBuild will
-enable CUDA support if a cudatoolkit installation is detected at
-build time. In the unlikely CUDA support is not wanted despite cudatoolkit
-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
-speex libbluray xvidcore OpenAL libmodplug frei0r libdc1394 libavc1394
-libiec61883 ladspa_sdk gsm rtmpdump libva twolame celt faac dirac schroedinger"
-
- 3. the numpy SlackBuild at SBo does not build the python3 modules
-which are needed to be useful for any numpy-related python scripting in
-blender. It is therefore numpy3 which is the prerequisite for this build
-of blender.
-
+ libraries/libaec
+ development/python3-numpy
+ graphics/OpenSubdiv
+ graphics/opencollada
+ libraries/freealut
+ libraries/tbb
+ audio/jack
+ libraries/robin-map
+ libraries/hdf5
+ python/pybind11
+ graphics/opencolorio
+ development/valgrind
+ libraries/pugixml
+ graphics/potrace
+ libraries/dcmtk
+ graphics/openimageio
+ graphics/Blender
diff --git a/graphics/Blender/overloaded_min.diff b/graphics/Blender/overloaded_min.diff
deleted file mode 100644
index 5612d01599..0000000000
--- a/graphics/Blender/overloaded_min.diff
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naur blender-3.0.1/intern/cycles/scene/hair.cpp blender-3.0.1.patched/intern/cycles/scene/hair.cpp
---- blender-3.0.1/intern/cycles/scene/hair.cpp 2021-10-27 15:21:51.000000000 -0400
-+++ blender-3.0.1.patched/intern/cycles/scene/hair.cpp 2022-03-22 14:54:15.181140060 -0400
-@@ -119,7 +119,7 @@
- {
- /* Figure out which steps we need to fetch and their interpolation factor. */
- const size_t max_step = num_steps - 1;
-- const size_t step = min((int)(time * max_step), max_step - 1);
-+ const size_t step = min((int)(time * max_step), (int)(max_step - 1));
- const float t = time * max_step - step;
- /* Fetch vertex coordinates. */
- float4 curr_keys[2];
-@@ -147,7 +147,7 @@
- {
- /* Figure out which steps we need to fetch and their interpolation factor. */
- const size_t max_step = num_steps - 1;
-- const size_t step = min((int)(time * max_step), max_step - 1);
-+ const size_t step = min((int)(time * max_step), (int)(max_step - 1));
- const float t = time * max_step - step;
- /* Fetch vertex coordinates. */
- float4 curr_keys[4];
-@@ -192,7 +192,7 @@
- float4 r_keys[2]) const
- {
- k0 = max(k0, 0);
-- k1 = min(k1, num_keys - 1);
-+ k1 = min((int)k1, (int)(num_keys - 1));
- const size_t center_step = ((num_steps - 1) / 2);
- if (step == center_step) {
- /* Center step: regular key location. */
-@@ -238,7 +238,7 @@
- float4 r_keys[4]) const
- {
- k0 = max(k0, 0);
-- k3 = min(k3, num_keys - 1);
-+ k3 = min((int)k3, (int)(num_keys - 1));
- const size_t center_step = ((num_steps - 1) / 2);
- if (step == center_step) {
- /* Center step: regular key location. */
-diff -Naur blender-3.0.1/intern/cycles/scene/mesh.cpp blender-3.0.1.patched/intern/cycles/scene/mesh.cpp
---- blender-3.0.1/intern/cycles/scene/mesh.cpp 2021-10-27 15:21:51.000000000 -0400
-+++ blender-3.0.1.patched/intern/cycles/scene/mesh.cpp 2022-03-22 15:35:52.169528851 -0400
-@@ -53,7 +53,7 @@
- {
- /* Figure out which steps we need to fetch and their interpolation factor. */
- const size_t max_step = num_steps - 1;
-- const size_t step = min((int)(time * max_step), max_step - 1);
-+ const size_t step = min((int)(time * max_step), (int)(max_step - 1));
- const float t = time * max_step - step;
- /* Fetch vertex coordinates. */
- float3 curr_verts[3];
diff --git a/graphics/CairoSVG/CairoSVG.SlackBuild b/graphics/CairoSVG/CairoSVG.SlackBuild
index c5b5ad5031..6dc5c839b0 100644
--- a/graphics/CairoSVG/CairoSVG.SlackBuild
+++ b/graphics/CairoSVG/CairoSVG.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CairoSVG
-# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=CairoSVG
-VERSION=${VERSION:-2.5.0}
+VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/graphics/CairoSVG/CairoSVG.info b/graphics/CairoSVG/CairoSVG.info
index ba1f25fede..3cc38afe68 100644
--- a/graphics/CairoSVG/CairoSVG.info
+++ b/graphics/CairoSVG/CairoSVG.info
@@ -1,10 +1,10 @@
PRGNAM="CairoSVG"
-VERSION="2.5.0"
+VERSION="2.7.0"
HOMEPAGE="https://cairosvg.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/26/f5/d8fb11ac3ac613cae21f6860d9bebc12792240f7d22e62f84354dc365e7e/CairoSVG-2.5.0.tar.gz"
-MD5SUM="7b45e544969455167ce5b40406c25c30"
+DOWNLOAD="https://files.pythonhosted.org/packages/a8/e1/a69d14425d125fcac173c68b445816d3a539bb95a09edd620108bdc9348e/CairoSVG-2.7.0.tar.gz"
+MD5SUM="df4c6ffbc62103539afba05a253f3085"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cairocffi cssselect2 python3-defusedxml"
+REQUIRES="python3-cairocffi cssselect2 python3-defusedxml"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/FSPViewer/FSPViewer.SlackBuild b/graphics/FSPViewer/FSPViewer.SlackBuild
index 18c70fe43b..c42064c0f9 100644
--- a/graphics/FSPViewer/FSPViewer.SlackBuild
+++ b/graphics/FSPViewer/FSPViewer.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=FSPViewer
VERSION=${VERSION:-2.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,9 +43,6 @@ else
exit 1
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -64,6 +61,7 @@ tar xf $CWD/$PRGNAM-$VERSION-$SRCSUFFIX.tar.gz -C $PKG
mkdir -p $PKG/usr/bin
mv $PKG/FSPViewer$SRCSUFFIX $PKG/usr/bin
+strip --strip-unneeded $/usr/bin/FSPViewer$SRCSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/FSPViewer/FSPViewer.info b/graphics/FSPViewer/FSPViewer.info
index 20682af298..b3fbbe3c46 100644
--- a/graphics/FSPViewer/FSPViewer.info
+++ b/graphics/FSPViewer/FSPViewer.info
@@ -4,7 +4,7 @@ HOMEPAGE="http://www.fsoft.it/FSPViewer/"
DOWNLOAD="http://www.fsoft.it/FSPViewer/dwn-files/FSPViewer-2.1.0-32.tar.gz"
MD5SUM="93f190434d3987d6bb7eafdfa006b5ae"
DOWNLOAD_x86_64="http://www.fsoft.it/FSPViewer/dwn-files/FSPViewer-2.1.0-64.tar.gz"
-MD5SUM_x86_64="86f9688c0a0c2ca26e432cd1790b2983"
+MD5SUM_x86_64="ebe42fe03a99ed42657133137091fd16"
REQUIRES="libpng-legacy12"
MAINTAINER="junkyardsparkle"
EMAIL="junkyardsparkle@yepmail.net"
diff --git a/graphics/FotoKilof/FotoKilof.SlackBuild b/graphics/FotoKilof/FotoKilof.SlackBuild
new file mode 100644
index 0000000000..d94eff5cfd
--- /dev/null
+++ b/graphics/FotoKilof/FotoKilof.SlackBuild
@@ -0,0 +1,161 @@
+#!/bin/bash
+
+# Slackware build script for FotoKilof
+
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=FotoKilof
+VERSION=${VERSION:-4.4.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# compile MO files, for available localization
+cd fotokilof/locale/
+echo "Build translations..."
+for I in ??; do
+ cd $I/LC_MESSAGES
+ if [ -e fotokilof.po ]; then
+ msgfmt fotokilof.po -o fotokilof.mo
+ fi
+ cd ../../
+done
+cd ../../
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+#Install the application icon and desktop entry
+mkdir -p $PKG/usr/share/icons/hicolor/256x256/apps
+cp -a $CWD/icon.png $PKG/usr/share/icons/hicolor/256x256/apps/fotokilof.png
+
+mkdir -p $PKG/usr/share/applications
+cat << EOF > $PKG/usr/share/applications/fotokilof.desktop
+[Desktop Entry]
+Type=Application
+Name=FotoKilof
+GenericName=Graphical Interface for ImageMagick
+GenericName[bg]=Графичен интерфейс за ImageMagick
+GenericName[de]=Grafische Benutzeroberfläche für ImageMagick
+GenericName[es]=Interfaz gráfica para ImageMagick
+GenericName[fr]=Interface graphique pour ImageMagick
+GenericName[id]=Antarmuka Grafis untuk ImageMagick
+GenericName[it]=Interfaccia grafica per ImageMagick
+GenericName[pl]=Interfejs graficzny dla ImageMagick
+GenericName[pt]=Interface Gráfica para ImageMagick
+GenericName[tr]=ImageMagick için Grafik Arayüzü
+Comment=Graphical Interface to various ImageMagick functions for processing pictures
+Comment[bg]=Графичен интерфейс към различни функции на ImageMagick за обработка на снимки
+Comment[de]=Grafische Benutzeroberfläche zu verschiedenen ImageMagick-Funktionen zur Bildbearbeitung
+Comment[es]=Interfaz gráfica para varias funciones de ImageMagick para el procesamiento de imágenes
+Comment[fr]=Interface graphique vers diverses fonctions ImageMagick pour le traitement des images
+Comment[id]=Antarmuka Grafis ke berbagai fungsi ImageMagick untuk memproses gambar
+Comment[it]=Interfaccia grafica a varie funzioni di ImageMagick per l'elaborazione delle immagini
+Comment[pl]=Interfejs graficzny do różnych funkcji ImageMagick do przetwarzania obrazów
+Comment[pt]=Interface gráfica para várias funções do ImageMagick para processamento de imagens
+Comment[tr]=Resimleri işlemek için çeşitli ImageMagick işlevlerine Grafik Arayüzü
+Exec=/usr/bin/fotokilof
+Icon=/usr/share/icons/hicolor/256x256/apps/fotokilof.png
+Terminal=false
+Categories=Graphics;
+StartupNotify=true
+MimeType=image/jpeg;image/png;image/tiff;
+
+EOF
+
+# Create manually and install an executable python script needed to
+# launch the application (Derived from the FotoKilof package installed with pip)
+mkdir -p $PKG/usr/bin
+cat << 'EOF' > $PKG/usr/bin/fotokilof
+#!/usr/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+from fotokilof import __main__
+if __name__ == '__main__':
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
+ sys.exit(__main__())
+
+EOF
+
+chmod 755 $PKG/usr/bin/fotokilof
+chown root:root $PKG/usr/share/icons/hicolor/256x256/apps/fotokilof.png
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/FotoKilof/FotoKilof.info b/graphics/FotoKilof/FotoKilof.info
new file mode 100644
index 0000000000..ef5aab9a15
--- /dev/null
+++ b/graphics/FotoKilof/FotoKilof.info
@@ -0,0 +1,10 @@
+PRGNAM="FotoKilof"
+VERSION="4.4.8"
+HOMEPAGE="https://github.com/TeaM-TL/FotoKilof"
+DOWNLOAD="https://github.com/TeaM-TL/FotoKilof/archive/4.4.8/FotoKilof-4.4.8.tar.gz"
+MD5SUM="87fc8d5f297cad5cf96c3d3b26ee6095"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python-wand ttkbootstrap"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/graphics/FotoKilof/README b/graphics/FotoKilof/README
new file mode 100644
index 0000000000..cf14f89a93
--- /dev/null
+++ b/graphics/FotoKilof/README
@@ -0,0 +1,26 @@
+FotoKilof is a Graphical User Interface for ImageMagick and Wand
+that allows, as alternative to command line approach, the processing
+of pictures and other graphic files in JPEG, PNG, TIFF, and (for
+import) SVG formats.
+
+FotoKilof does not give access to the whole functionality of
+ImageMagick, but it supports most of its usual functions and features,
+so may be useful for users that have no familiarity with the shell
+interface to ImageMagick. Also, the preview features allow to prevent
+errors from accidental overwriting of a number of pictures by setting
+incorrect options to ImageMagick commands, i.e. when users crop or
+resize images.
+
+FotoKilof supports common kinds of graphic conversion like resizing,
+crop, rotation, mirroring, addition of text, logos, borders,
+conversion in other formats, applying of filters or effects (sepia,
+black-white, equalization, contrast increase/decrease, histogram
+stretching, ecc.). For a full information about features and functions
+of FotoKilof please see the home page of the project.
+
+FotoKilof is written in Python and its GUI uses tkinter (already
+included in the Slackware's Python 3 package), the python theme engine
+for Tk, so your system must have the Tk/Tcl platform installed.
+
+The graphic interface supports two different themes: Light (default)
+and Dark. F2 key allows to switch between them at any time.
diff --git a/graphics/OpenVSP/doinst.sh b/graphics/FotoKilof/doinst.sh
index aea0f894eb..aea0f894eb 100644
--- a/graphics/OpenVSP/doinst.sh
+++ b/graphics/FotoKilof/doinst.sh
diff --git a/graphics/FotoKilof/icon.png b/graphics/FotoKilof/icon.png
new file mode 100644
index 0000000000..f413117be0
--- /dev/null
+++ b/graphics/FotoKilof/icon.png
Binary files differ
diff --git a/graphics/FotoKilof/slack-desc b/graphics/FotoKilof/slack-desc
new file mode 100644
index 0000000000..da6f0e503a
--- /dev/null
+++ b/graphics/FotoKilof/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+FotoKilof: FotoKilof (graphic interface for ImageMagick functionality)
+FotoKilof:
+FotoKilof: FotoKilof is a Graphical interface written in Python which
+FotoKilof: allows you to process pictures with ImageMagick as alternative to
+FotoKilof: command line.
+FotoKilof: It supports most ImageMagick functionality giving at the same time a
+FotoKilof: comfortable graphical user interface.
+FotoKilof:
+FotoKilof: Home page: https://github.com/TeaM-TL/FotoKilof
+FotoKilof:
+FotoKilof:
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild
index e54fa1bb08..497de0bc8a 100644
--- a/graphics/FreeCAD/FreeCAD.SlackBuild
+++ b/graphics/FreeCAD/FreeCAD.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=FreeCAD
-VERSION=${VERSION:-0.19.2}
+VERSION=${VERSION:-0.20.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i -e '/# include <Standard_TooManyUsers.hxx>/d' src/Mod/Part/App/OCCError.h
+
mkdir build
cd build
cmake \
@@ -91,7 +93,6 @@ cd build
-DOCC_INCLUDE_DIR:PATH=/usr/include/opencascade \
-DOCC_LIBRARY:PATH=/usr/lib${LIBDIRSUFFIX} \
-DRESOURCEDIR=/opt/$PRGNAM/share/data \
- -DBUILD_ENABLE_CXX_STD=C++14 \
-DBUILD_QT5=ON \
-DBUILD_FEM=OFF \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
diff --git a/graphics/FreeCAD/FreeCAD.info b/graphics/FreeCAD/FreeCAD.info
index 0c35cbfdd1..61b9193c6a 100644
--- a/graphics/FreeCAD/FreeCAD.info
+++ b/graphics/FreeCAD/FreeCAD.info
@@ -1,10 +1,10 @@
PRGNAM="FreeCAD"
-VERSION="0.19.2"
+VERSION="0.20.2"
HOMEPAGE="https://www.freecadweb.org/"
-DOWNLOAD="https://github.com/FreeCAD/FreeCAD/archive/0.19.2/FreeCAD-0.19.2.tar.gz"
-MD5SUM="5c13477c7cc2e9a8324da2e5aa47ef66"
+DOWNLOAD="https://github.com/FreeCAD/FreeCAD/archive/0.20.2/FreeCAD-0.20.2.tar.gz"
+MD5SUM="eb80214ec61df548fdf25430ae70d503"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenCASCADE Pivy pyside2 shiboken2 xerces-c"
+REQUIRES="OpenCASCADE Pivy pyside2 xerces-c"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index 3438f363e9..cac6bcf307 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -4,10 +4,13 @@
# Originally written by Giovanne Castro <email removed>.
-# Updated by B. Watson <yalhcru@gmail.com>, as the original author is
+# Updated by B. Watson <urchlay@slackware.uk>, as the original author is
# 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.
+# 20231108 bkw: update for v1.3.42.
+# 20230710 bkw: update for v1.3.40.
+# 20230105 bkw: update for v1.3.39, using sourceforge link again.
# 20210910 bkw: update for v1.3.36.
# 20201019 bkw: update for v1.3.35.
# 20200111 bkw: update for v1.3.34, quit using sourceforge dl link.
@@ -45,8 +48,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=GraphicsMagick
-VERSION=${VERSION:-1.3.36}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.3.42}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -228,27 +231,26 @@ if [ "${TCL:-yes}" = "yes" ]; then
WITHTCL=WITH
cd -
- rename .la_renamed .la $PKG/usr/lib$LIBDIRSUFFIX/*.la_renamed
fi
### Done with tcl module
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+gzip -9 $PKG/usr/man/man*/*
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+rm -f $PKG/usr/lib*/*.la* $PKG/usr/lib*/Tcl*/*.la
+
+find $PKG/usr/lib* $PKG/usr/bin -type f -print0 | \
+ xargs -0 file -m /etc/file/magic/elf | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
find $PKG -name perllocal.pod \
-o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+ -o -name "*.bs" | \
+ xargs rm -rf || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
sed \
-e "s,@WITHOMP@,$WITHOMP," \
diff --git a/graphics/GraphicsMagick/GraphicsMagick.info b/graphics/GraphicsMagick/GraphicsMagick.info
index 0851a5f60d..2e80988001 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.info
+++ b/graphics/GraphicsMagick/GraphicsMagick.info
@@ -1,10 +1,10 @@
PRGNAM="GraphicsMagick"
-VERSION="1.3.36"
+VERSION="1.3.42"
HOMEPAGE="http://www.graphicsmagick.org/"
-DOWNLOAD="https://ftp.icm.edu.pl/pub/unix/graphics/GraphicsMagick/1.3/GraphicsMagick-1.3.36.tar.xz"
-MD5SUM="3e936b42fd46fb460016f91c1a239e33"
+DOWNLOAD="https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.42/GraphicsMagick-1.3.42.tar.xz"
+MD5SUM="68c8d23aaa2dbed1e1adfab7b5e28096"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/GraphicsMagick/README b/graphics/GraphicsMagick/README
index 6d8b001534..62b6b38931 100644
--- a/graphics/GraphicsMagick/README
+++ b/graphics/GraphicsMagick/README
@@ -29,3 +29,6 @@ dcraw (Raw camera files, various filename extensions)
hp2xx (HP-GL plotter language, .hp and .hpg)
ralcgm (Computer Graphics Metafile, .cgm)
libfpx (FlashPix, .fpx)
+graphviz (.dot digraph files)
+libjxl (.jxl, JPEG XL)
+libheif and libde265 (.heif .heifs .heic .heics .avci .avcs .avif .hif)
diff --git a/graphics/MaterialX/MaterialX.SlackBuild b/graphics/MaterialX/MaterialX.SlackBuild
new file mode 100644
index 0000000000..44cb75666a
--- /dev/null
+++ b/graphics/MaterialX/MaterialX.SlackBuild
@@ -0,0 +1,233 @@
+#!/bin/bash
+
+# Slackware build script for MaterialX
+
+# Copyright 2023-2024 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=MaterialX
+VERSION=${VERSION:-1.38.10}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+EXTVERSION=20240101
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+if [ -d /usr/share/cmake-3.28 ]; then
+ # This prevents some cmake warnings in current
+ CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0148=OLD "
+else
+ CMAKE_POLICY=""
+fi
+
+if pkg-config --exists OpenImageIO; then
+ WITHOIIO=""; [ "${OIIO:-yes}" = "yes" ] && WITHOIIO="ON"
+else
+ WITHOIIO=""
+fi
+
+if [ "$WITHOIIO" = "ON" ]; then
+ TMPOIIO=/tmp/oiio
+ WITHOIIO="-DMATERIALX_BUILD_OIIO=ON -DOPENIMAGEIO_ROOT_DIR=$TMPOIIO "
+ # to prevent build failures we need to create a temporary
+ # directory with symbolic links to OIIO executables
+ rm -rf $TMPOIIO
+ mkdir -p $TMPOIIO/bin
+ ln -s /usr/bin/iconvert $TMPOIIO/bin/icovert
+ ln -s /usr/bin/idiff $TMPOIIO/bin/idiff
+ ln -s /usr/bin/igrep $TMPOIIO/bin/igrep
+ ln -s /usr/bin/info $TMPOIIO/bin/info
+ ln -s /usr/bin/iv $TMPOIIO/bin/iv
+ ln -s /usr/bin/maketx $TMPOIIO/bin/maketx
+ ln -s /usr/bin/oiiotool $TMPOIIO/bin/oiiotool
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+BUILDOPTIONS=""
+GUI=no
+SET_GRAPH_EDITOR=no
+SET_VIEWER=no
+
+# Some third-part modules are build as internal but are not included in the
+# source tarball because should be added in a git repository of
+# MaterialX cloned with git -recursive, so we have to do the following steps
+
+if [ ${VIEWER:-yes} = "yes" ]; then
+ tar xvf $CWD/nanogui-$EXTVERSION.tar.gz
+ tar xvf $CWD/glfw-$EXTVERSION.tar.gz
+ tar xvf $CWD/nanobind-$EXTVERSION.tar.gz
+ tar xvf $CWD/nanovg-$EXTVERSION.tar.gz
+ tar xvf $CWD/robin-map-$EXTVERSION.tar.gz
+ rm -rf nanogui-$EXTVERSION/ext/glfw
+ rm -rf nanogui-$EXTVERSION/ext/nanovg
+ rm -rf nanogui-$EXTVERSION/ext/nanobind
+ mv glfw-$EXTVERSION nanogui-$EXTVERSION/ext/glfw
+ mv nanovg-$EXTVERSION nanogui-$EXTVERSION/ext/nanovg
+ mv nanobind-$EXTVERSION nanogui-$EXTVERSION/ext/nanobind
+ rm -rf nanogui-$EXTVERSION/ext/robin_map
+ mv robin-map-$EXTVERSION nanogui-$EXTVERSION/ext/nanobind/ext/robin_map
+ rm -rf source/MaterialXView/NanoGUI
+ mv nanogui-$EXTVERSION source/MaterialXView/NanoGUI
+
+ BUILDOPTIONS="-DMATERIALX_BUILD_VIEWER=ON -DNANOGUI_PREFERRED_BACKEND=OpenGL "
+ GUI=yes
+ SET_VIEWER=yes
+
+ sed -i ./source/MaterialXView/NanoGUI/resources/bin2c.cmake -e \
+ "s/cmake_minimum_required (VERSION 2.8.12)/cmake_minimum_required (VERSION 3.5)/g"
+fi
+
+if [ ${EDITOR:-yes} = "yes" ]; then
+ tar xvf $CWD/imgui-$EXTVERSION.tar.gz
+ tar xvf $CWD/imgui-node-editor-$EXTVERSION.tar.gz
+ rm -rf source/MaterialXGraphEditor/External/ImGui*
+ mv imgui-$EXTVERSION source/MaterialXGraphEditor/External/ImGui
+ mv imgui-node-editor-$EXTVERSION source/MaterialXGraphEditor/External/ImGuiNodeEditor
+
+ BUILDOPTIONS="$BUILDOPTIONS -DMATERIALX_BUILD_GRAPH_EDITOR=ON "
+ GUI=yes
+ SET_GRAPH_EDITOR=yes
+
+ sed -i ./source/MaterialXGraphEditor/External/Glfw/CMakeLists.txt -e \
+ "s/cmake_minimum_required(VERSION 3.1)/cmake_minimum_required (VERSION 3.5)/g"
+fi
+
+if [ $GUI = "yes" ]; then
+ cp -a $CWD/materialx.png $CWD/*.desktop ./
+fi
+
+if [ ${PYTHON:-yes} = "yes" ]; then
+ BUILDOPTIONS="$BUILDOPTIONS -DMATERIALX_BUILD_PYTHON=ON -DMATERIALX_INSTALL_PYTHON=ON "
+ patch -p1 < $CWD/fix-setup_py_in.patch
+else
+ BUILDOPTIONS="$BUILDOPTIONS -DMATERIALX_BUILD_PYTHON=OFF "
+fi
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr/share/MaterialX \
+ -DMATERIALX_BUILD_SHARED_LIBS=ON \
+ -DMATERIALX_INSTALL_LIB_PATH=../../lib${LIBDIRSUFFIX} \
+ $WITHOIIO \
+ $BUILDOPTIONS \
+ $CMAKE_POLICY \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+# fix wrong, redundant, and/or non standard installation path
+rm -rf $PKG/tmp
+rm -f $PKG/usr/share/MaterialX/*.md $PKG/usr/share/MaterialX/LICENSE
+
+# add symbolic links to executable and include files
+mkdir -p $PKG/usr/include
+cd $PKG/usr/include
+ln -s ../share/MaterialX/include MaterialX
+
+# remove eventual temporary directory with symlinks to OIIO executables
+rm -rf /tmp/oiio
+
+if [ $GUI = "yes" ]; then
+ mkdir -p $PKG/usr/bin
+ mkdir -p $PKG/usr/share/applications
+ mkdir -p $PKG/usr/share/icons/hicolor/256x256/apps
+ cp -a $TMP/$PRGNAM-$VERSION/materialx.png $PKG/usr/share/icons/hicolor/256x256/apps
+ cd $PKG/usr/bin
+fi
+
+if [ "$SET_GRAPH_EDITOR" = "yes" ]; then
+ echo "Creating symbolic links and desktop entry for MaterialX Graph Editor ..."
+ ln -s ../share/MaterialX/bin/MaterialXGraphEditor MaterialXGraphEditor
+ cp -a $TMP/$PRGNAM-$VERSION/MaterialXGraphEditor.desktop \
+ $PKG/usr/share/applications/MaterialXGraphEditor.desktop
+fi
+
+if [ "$SET_VIEWER" = "yes" ]; then
+ echo "Creating symbolic links and desktop entry for MaterialX View ..."
+ ln -s ../share/MaterialX/bin/MaterialXView MaterialXView
+ cp -a $TMP/$PRGNAM-$VERSION/MaterialXView.desktop \
+ $PKG/usr/share/applications/MaterialXView.desktop
+fi
+
+cd $TMP/$PRGNAM-$VERSION
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/MaterialX/MaterialX.info b/graphics/MaterialX/MaterialX.info
new file mode 100644
index 0000000000..2a9ef0f1f5
--- /dev/null
+++ b/graphics/MaterialX/MaterialX.info
@@ -0,0 +1,24 @@
+PRGNAM="MaterialX"
+VERSION="1.38.10"
+HOMEPAGE="https://materialx.org/"
+DOWNLOAD="https://github.com/AcademySoftwareFoundation/MaterialX/archive/v1.38.10/MaterialX-1.38.10.tar.gz \
+ https://github.com/giandex/nanogui/archive/20240101/nanogui-20240101.tar.gz \
+ https://github.com/giandex/nanobind/archive/20240101/nanobind-20240101.tar.gz \
+ https://github.com/giandex/nanovg/archive/20240101/nanovg-20240101.tar.gz \
+ https://github.com/giandex/glfw/archive/20240101/glfw-20240101.tar.gz \
+ https://github.com/giandex/robin-map/archive/20240101/robin-map-20240101.tar.gz \
+ https://github.com/giandex/imgui/archive/20240101/imgui-20240101.tar.gz \
+ https://github.com/giandex/imgui-node-editor/archive/20240101/imgui-node-editor-20240101.tar.gz"
+MD5SUM="a25ab82be078cfc47c5237e9630615ca \
+ 405cc59e1bd28e7571b9587c9c9c21a5 \
+ ec7d95e77a32fc06a1670fd938981b82 \
+ 84ef5e0623bcfc65c3cf767ba71ce5dd \
+ e22ebcdf0e0105caab481ef602f45a03 \
+ edbf5a3f54414b524b59fafda78a0e29 \
+ 597bc2b0664ba3fad4c6b8c7b4871c2b \
+ 3295c5ccd31706814bcca8e5f92c8744"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pybind11 zenity"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/graphics/MaterialX/MaterialXGraphEditor.desktop b/graphics/MaterialX/MaterialXGraphEditor.desktop
new file mode 100644
index 0000000000..d5b2a15755
--- /dev/null
+++ b/graphics/MaterialX/MaterialXGraphEditor.desktop
@@ -0,0 +1,21 @@
+[Desktop Entry]
+Type=Application
+Name=MaterialXGraphEditor
+GenericName=MaterialX Graph Editor
+GenericName[de]=MaterialX Grafikeditor
+GenericName[es]=Editor de Gráficos MaterialX
+GenericName[fr]=Éditeur de Graphique MaterialX
+GenericName[it]=Editor di Grafica MaterialX
+GenericName[pt]=Editor Gráfico MaterialX
+Comment=MaterialX graphics processing interface
+Comment[de]=MaterialX Grafikverarbeitungsschnittstelle
+Comment[es]=Interfaz de procesamiento de gráficos MaterialX
+Comment[fr]=Interface de traitement de graphique MaterialX
+Comment[it]=Interfaccia per l'elaborazione di grafica MaterialX
+Comment[pt]=Interface de processamento gráfico MaterialX
+Exec=MaterialXGraphEditor %f
+Icon=/usr/share/icons/hicolor/256x256/apps/materialx.png
+Terminal=false
+Categories=Graphics;
+StartupNotify=true
+MimeType=application/x-mtlx;model/materialx;application/x-materialx;application/mtlx+xml;image/mtlx;application/mtlx+json;
diff --git a/graphics/MaterialX/MaterialXView.desktop b/graphics/MaterialX/MaterialXView.desktop
new file mode 100644
index 0000000000..35bedc4803
--- /dev/null
+++ b/graphics/MaterialX/MaterialXView.desktop
@@ -0,0 +1,21 @@
+[Desktop Entry]
+Type=Application
+Name=MaterialXView
+GenericName=MaterialX Viewer
+GenericName[de]=MaterialX Viewer
+GenericName[es]=Visor de MaterialX
+GenericName[fr]=Visionneuse de MaterialX
+GenericName[it]=Visualizzatore di MaterialX
+GenericName[pt]=Visualizador de MaterialX
+Comment=Interface for viewing GLSL shaders for MaterialX
+Comment[de]=Schnittstelle zum Anzeigen von GLSL-Shadern für MaterialX
+Comment[es]=Interfaz para ver sombreadores GLSL para MaterialX
+Comment[fr]=Interface de visualisation des shaders GLSL pour MaterialX
+Comment[it]=Interfaccia per la visualizzazione di ombreggiatori GLSL per MaterialX
+Comment[pt]=Interface para visualização de shaders GLSL para MaterialX
+Exec=MaterialXView %f
+Icon=/usr/share/icons/hicolor/256x256/apps/materialx.png
+Terminal=false
+Categories=Graphics;
+StartupNotify=true
+MimeType=application/x-mtlx;model/materialx;application/x-materialx;application/mtlx+xml;image/mtlx+xml;application/mtlx+json;
diff --git a/graphics/MaterialX/README b/graphics/MaterialX/README
new file mode 100644
index 0000000000..be690d1f96
--- /dev/null
+++ b/graphics/MaterialX/README
@@ -0,0 +1,51 @@
+MaterialX is an open standard for representing rich material and
+look-development content in computer graphics, enabling its
+platform-independent description and exchange across applications
+and renderers.
+Launched at Industrial Light & Magic in 2012, MaterialX has been a key
+technology in their feature films and real-time experiences. The
+project was released as open source in 2017 and MaterialX is a hosted
+project of the Academy Software Foundation since 2021. This standard
+is supported as optional extension by standards and platforms for
+computer graphics, like OpenShadingLanguage and Blender.
+
+MaterialX includes also two graphical interfaces, MaterialX Viewer and
+MaterialX Graph Editor.
+
+MaterialX Viewer creates the GLSL shaders from MaterialX graphs and
+renders the results using the NanoGUI framework. This framework is not
+available in SBo but is built as third part component of MaterialX.
+The build of internal NanoGUI requires also the buildof robin-map as
+external component. Although this dependency is available in SBo you
+cannot use the one installed in your system. The built does not affect
+other installations of robin-map.
+
+MaterialX Graph Editor can be used to visualize, create, and edit
+MaterialX graphs. It uses the ImGui framework also built as third
+part component with the headers of an internal GLFW. Although these
+dependencies are available in SBo, the build does not allow the use of
+imgui and glfw3 installed in the system, but the internal components
+built with MaterialX do not conflict with other installations.
+
+By default this slackbuild installs both the graphical interfaces and
+the Python bindings. If not required, you can disable their built by
+setting the following variables:
+
+VIEWER=no disables the build of MaterialX Viewer. The dependency zenity
+ is not required. You have no even the download of these extrasources:
+ nanogui, nanobind, nanovg, glfw, and robin-map.
+
+EDITOR=no disables the build of MaterialX Graph Editor. The download of
+ following extrasources is not required: imgui and imgui-node-editor.
+
+PYTHON=no disables the build of Python bindings. The dependency
+ python3-pybind11 is not required.
+
+For example, if you want disable both the graphical interfaces you have
+to launch the script with the following command:
+ VIEWER=no EDITOR=no ./MaterialXViewer.SlackBuild
+
+openimageio is an optional dependency autodetected and its support
+will be enable by default if found in the system. If you do not
+require this extension you can disable it by passing
+ OIIO=no ./MaterialX.SlackBuild
diff --git a/graphics/MaterialX/doinst.sh b/graphics/MaterialX/doinst.sh
new file mode 100644
index 0000000000..f25bed6fb6
--- /dev/null
+++ b/graphics/MaterialX/doinst.sh
@@ -0,0 +1,19 @@
+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
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/MaterialX/fix-setup_py_in.patch b/graphics/MaterialX/fix-setup_py_in.patch
new file mode 100644
index 0000000000..34b1703edc
--- /dev/null
+++ b/graphics/MaterialX/fix-setup_py_in.patch
@@ -0,0 +1,16 @@
+--- ./python/setup.py.in 2023-09-08 21:34:30.000000000 +0200
++++ ./python/setup.py.in 2023-12-29 20:55:34.110939801 +0100
+@@ -1,4 +1,4 @@
+-from setuptools import setup
++from setuptools import setup, find_packages
+ import os
+
+ os.chdir(os.path.dirname(os.path.abspath(__file__)))
+@@ -13,6 +13,6 @@
+ setup(name='MaterialX',
+ url='www.materialx.org',
+ version='${MATERIALX_MAJOR_VERSION}.${MATERIALX_MINOR_VERSION}.${MATERIALX_BUILD_VERSION}',
+- packages=['MaterialX'],
++ packages=find_packages(['MaterialX']),
+ package_data={'MaterialX' : getRecursivePackageData('MaterialX')},
+ zip_safe = False)
diff --git a/graphics/MaterialX/materialx.png b/graphics/MaterialX/materialx.png
new file mode 100644
index 0000000000..d02a7861a5
--- /dev/null
+++ b/graphics/MaterialX/materialx.png
Binary files differ
diff --git a/graphics/MaterialX/slack-desc b/graphics/MaterialX/slack-desc
new file mode 100644
index 0000000000..7893c111f5
--- /dev/null
+++ b/graphics/MaterialX/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+MaterialX: MaterialX (open standard for computer graphics)
+MaterialX:
+MaterialX: MaterialX is an open standard for representing rich material and
+MaterialX: look-development content in computer graphics, enabling its
+MaterialX: platform-independent description and exchange across applications
+MaterialX: and renderers.
+MaterialX:
+MaterialX: Home page: https://materialx.org/
+MaterialX:
+MaterialX:
+MaterialX:
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
index f38e5b9b39..d225d48942 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
+++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
@@ -24,20 +24,23 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+# NOTE sbopkglint finds 3 non-execuatble bash scripts in /usr/bin
+# but I can't tell if they are needed there or not, so leaving them for now
+# - Dave W.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenCASCADE
-VERSION=${VERSION:-7.3.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-7.7.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=occt
-SRCVER=V$(echo $VERSION | tr . _)
+SRCNAM=opencascade
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -55,8 +58,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"
@@ -74,9 +77,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
-cd $SRCNAM-$SRCVER
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tgz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -84,11 +87,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 < $CWD/fix-flow-control-nesting.patch
-
-# Thanks to Chris Willing for the fix for VTK-8.1.0 compatibility.
-# This new version of the patch is still needed for occt 7.3.0 :(
-patch -p0 < $CWD/occt-7.3.0_vtk_InsertNextTupleValue.diff
+patch -p1 < $CWD/occt.git-7f523af8e8a63ee17d8fc26f107c191cd51dcd44.patch
+sed -i -e '/#include <iostream>/a#include <limits>' src/ViewerTest/ViewerTest_CmdParser.cxx
# Fix bogus install path
sed -i -e 's|\${INSTALL_DIR}/\${INSTALL_DIR_CMAKE}/OpenCASCADECompile|${INSTALL_DIR_CMAKE}/OpenCASCADECompile|' \
@@ -107,15 +107,15 @@ cd build
-DINSTALL_DIR_CMAKE=lib${LIBDIRSUFFIX}/cmake/opencascade \
-DINSTALL_DIR_DOC=doc/$PRGNAM-$VERSION \
-DUSE_GLES2=OFF \
- -DUSE_FFMPEG=${WITH_FFMPEG:-OFF} \
+ -DUSE_FFMPEG=ON \
-DUSE_FREEIMAGE=${WITH_FREEIMAGE:-OFF} \
-DUSE_GL2PS=${WITH_GL2PS:-OFF} \
-DUSE_TBB=${WITH_TBB:-OFF} \
-DUSE_VTK=ON \
- -D3RDPARTY_VTK_INCLUDE_DIR=/usr/include/vtk-9.0 \
+ -D3RDPARTY_VTK_INCLUDE_DIR=/usr/include/vtk-9.3 \
-D3RDPARTY_VTK_LIBRARY_DIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
- find . -name link.txt -exec sed -i s/vtkRenderingOpenGL/vtkRenderingOpenGL2/g {} +
+
make
make install DESTDIR=$PKG
cd ..
@@ -129,6 +129,9 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# fix perms in docs dir
+chmod -c 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/OpenCASCADE/OpenCASCADE.info b/graphics/OpenCASCADE/OpenCASCADE.info
index fc80a6bb78..fabbbcf5ca 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.info
+++ b/graphics/OpenCASCADE/OpenCASCADE.info
@@ -1,8 +1,8 @@
PRGNAM="OpenCASCADE"
-VERSION="7.3.0"
+VERSION="7.7.0"
HOMEPAGE="https://www.opencascade.com/"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/OpenCASCADE/occt-V7_3_0.tar.gz"
-MD5SUM="68156b53f8c944fd244df3eb0d25f5c6"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/OpenCASCADE/opencascade-7.7.0.tgz"
+MD5SUM="49ce04b520b99067ea5adc6df2c437e9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="VTK"
diff --git a/graphics/OpenCASCADE/README b/graphics/OpenCASCADE/README
index 3d45c027c1..69878332b4 100644
--- a/graphics/OpenCASCADE/README
+++ b/graphics/OpenCASCADE/README
@@ -5,12 +5,11 @@ visualization, data exchange and rapid application development.
NOTE: This package needs about 2.5GB of space to build, so adapt your
OUTPUT / TMP variables if necessary.
-ffmpeg, FreeImage, tbb and gl2ps are optional dependencies.
+FreeImage, tbb and gl2ps are optional dependencies.
-* To build with ffmpeg support, use the option FFMPEG=yes
* To build with FreeImage support, use the option FREEIMAGE=yes
* To build with tbb support, use the option TBB=yes
* To build with gl2ps support, use the option GL2PS=yes
For example:
- FFMPEG=yes TBB=yes ./OpenCASCADE.SlackBuild
+ TBB=yes ./OpenCASCADE.SlackBuild
diff --git a/graphics/OpenCASCADE/fix-flow-control-nesting.patch b/graphics/OpenCASCADE/fix-flow-control-nesting.patch
deleted file mode 100644
index 7e2bb1d7b2..0000000000
--- a/graphics/OpenCASCADE/fix-flow-control-nesting.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From e69c42386239bcc08143607df12b8bb3f1ff14ba Mon Sep 17 00:00:00 2001
-From: Bernd Waibel <waebbl-gentoo@posteo.net>
-Date: Wed, 24 Feb 2021 20:06:02 +0100
-Subject: [PATCH] adm/cmake/vtk.cmake: fix flow control nesting
-
-Fix an unbalanced nesting of flow control statements
-for >=cmake-3.20.0
-
-Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
----
- adm/cmake/vtk.cmake | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/adm/cmake/vtk.cmake b/adm/cmake/vtk.cmake
-index c5692fd6..00b7ff4a 100644
---- a/adm/cmake/vtk.cmake
-+++ b/adm/cmake/vtk.cmake
-@@ -156,8 +156,8 @@ if (VTK_FOUND)
- endif()
- endif()
- endif()
-- endif()
-- endforeach()
-+ endforeach()
-+ endif()
- endif()
-
- if (3RDPARTY_VTK_INCLUDE_DIRS)
---
-2.30.1
-
diff --git a/graphics/OpenCASCADE/occt-7.3.0_vtk_InsertNextTupleValue.diff b/graphics/OpenCASCADE/occt-7.3.0_vtk_InsertNextTupleValue.diff
deleted file mode 100644
index 9062cc5cd7..0000000000
--- a/graphics/OpenCASCADE/occt-7.3.0_vtk_InsertNextTupleValue.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- src/IVtkVTK/IVtkVTK_ShapeData.cxx.orig 2018-05-29 11:14:02.000000000 +0100
-+++ src/IVtkVTK/IVtkVTK_ShapeData.cxx 2018-05-31 14:07:39.166422383 +0100
-@@ -81,9 +81,15 @@
- vtkIdType aPointIdVTK = thePointId;
- myPolyData->InsertNextCell (VTK_VERTEX, 1, &aPointIdVTK);
- const vtkIdType aShapeIDVTK = theShapeID;
-+#if (VTK_MAJOR_VERSION < 7 ) || (VTK_MAJOR_VERSION == 7 && VTK_MINOR_VERSION == 0)
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
- const vtkIdType aType = theMeshType;
- myMeshTypes->InsertNextTupleValue (&aType);
-+#else
-+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
-+ const vtkIdType aType = theMeshType;
-+ myMeshTypes->InsertNextTypedTuple (&aType);
-+#endif
- }
-
- //================================================================
-@@ -98,9 +104,15 @@
- vtkIdType aPoints[2] = { thePointId1, thePointId2 };
- myPolyData->InsertNextCell (VTK_LINE, 2, aPoints);
- const vtkIdType aShapeIDVTK = theShapeID;
-+#if (VTK_MAJOR_VERSION < 7 ) || (VTK_MAJOR_VERSION == 7 && VTK_MINOR_VERSION == 0)
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
- const vtkIdType aType = theMeshType;
- myMeshTypes->InsertNextTupleValue (&aType);
-+#else
-+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
-+ const vtkIdType aType = theMeshType;
-+ myMeshTypes->InsertNextTypedTuple (&aType);
-+#endif
- }
-
- //================================================================
-@@ -125,9 +137,15 @@
-
- myPolyData->InsertNextCell (VTK_POLY_LINE, anIdList);
- const vtkIdType aShapeIDVTK = theShapeID;
-+#if (VTK_MAJOR_VERSION < 7 ) || (VTK_MAJOR_VERSION == 7 && VTK_MINOR_VERSION == 0)
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
- const vtkIdType aType = theMeshType;
- myMeshTypes->InsertNextTupleValue (&aType);
-+#else
-+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
-+ const vtkIdType aType = theMeshType;
-+ myMeshTypes->InsertNextTypedTuple (&aType);
-+#endif
- }
- }
-
-@@ -144,7 +162,13 @@
- vtkIdType aPoints[3] = { thePointId1, thePointId2, thePointId3 };
- myPolyData->InsertNextCell (VTK_TRIANGLE, 3, aPoints);
- const vtkIdType aShapeIDVTK = theShapeID;
-+#if (VTK_MAJOR_VERSION < 7 ) || (VTK_MAJOR_VERSION == 7 && VTK_MINOR_VERSION == 0)
- mySubShapeIDs->InsertNextTupleValue (&aShapeIDVTK);
- const vtkIdType aType = theMeshType;
- myMeshTypes->InsertNextTupleValue (&aType);
-+#else
-+ mySubShapeIDs->InsertNextTypedTuple (&aShapeIDVTK);
-+ const vtkIdType aType = theMeshType;
-+ myMeshTypes->InsertNextTypedTuple (&aType);
-+#endif
- }
diff --git a/graphics/OpenCASCADE/occt.git-7f523af8e8a63ee17d8fc26f107c191cd51dcd44.patch b/graphics/OpenCASCADE/occt.git-7f523af8e8a63ee17d8fc26f107c191cd51dcd44.patch
new file mode 100644
index 0000000000..039ce99950
--- /dev/null
+++ b/graphics/OpenCASCADE/occt.git-7f523af8e8a63ee17d8fc26f107c191cd51dcd44.patch
@@ -0,0 +1,36 @@
+From: Aiden Grossman <agrossman154@yahoo.com>
+Date: Mon, 10 Oct 2022 18:25:13 +0000 (-0700)
+Subject: Fix naming conflict between X11 headers and VTK 9.2.2+
+X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=7f523af8e8a63ee17d8fc26f107c191cd51dcd44
+
+Fix naming conflict between X11 headers and VTK 9.2.2+
+
+Currently, the GLX headers include the X11 headers which use a
+preprocessor define to make Status an int. However, VTK has a class
+called Status, and this define replaces this class name with int which
+results in compilation errors. This patch undefs Status and Success,
+which are both defined in the X11 headers if they exist so that there
+are no conflicts within the VTK headers for newer versions.
+---
+
+diff --git a/src/IVtkDraw/IVtkDraw_Interactor.cxx b/src/IVtkDraw/IVtkDraw_Interactor.cxx
+index 08e5fe3dde..c8f3ebc860 100644
+--- a/src/IVtkDraw/IVtkDraw_Interactor.cxx
++++ b/src/IVtkDraw/IVtkDraw_Interactor.cxx
+@@ -27,6 +27,16 @@
+ #undef AllValues
+ #endif
+
++// Prevent naming collisions between X11
++// and VTK versions 9.2.0 and above.
++// X11 is included through glx
++#ifdef Status
++#undef Status
++#endif
++#ifdef Success
++#undef Success
++#endif
++
+ #include <vtkXRenderWindowInteractor.h>
+ #include <vtkXOpenGLRenderWindow.h>
+ #endif
diff --git a/graphics/OpenShadingLanguage/OpenShadingLanguage.SlackBuild b/graphics/OpenShadingLanguage/OpenShadingLanguage.SlackBuild
new file mode 100644
index 0000000000..b523911764
--- /dev/null
+++ b/graphics/OpenShadingLanguage/OpenShadingLanguage.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for OpenShadingLanguage
+
+# Copyright 2023 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=OpenShadingLanguage
+VERSION=${VERSION:-1.12.14.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DUSE_partio=OFF \
+ -DUSE_Qt6=OFF \
+ -DUSE_PYTHON=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/OSL/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL.md
+rm -r $PKG/usr/share/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/OpenShadingLanguage/OpenShadingLanguage.info b/graphics/OpenShadingLanguage/OpenShadingLanguage.info
new file mode 100644
index 0000000000..45c7382837
--- /dev/null
+++ b/graphics/OpenShadingLanguage/OpenShadingLanguage.info
@@ -0,0 +1,10 @@
+PRGNAM="OpenShadingLanguage"
+VERSION="1.12.14.0"
+HOMEPAGE="https://github.com/AcademySoftwareFoundation/OpenShadingLanguage"
+DOWNLOAD="https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/archive/v1.12.14.0/OpenShadingLanguage-1.12.14.0.tar.gz"
+MD5SUM="0948e423177f7279b5e231d58bf358aa"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="openimageio pugixml"
+MAINTAINER="Giancarlo Dessì"
+EMAIL="slack@giand.it"
diff --git a/graphics/OpenShadingLanguage/README b/graphics/OpenShadingLanguage/README
new file mode 100644
index 0000000000..a1d99c32fe
--- /dev/null
+++ b/graphics/OpenShadingLanguage/README
@@ -0,0 +1,19 @@
+Open Shading Language (OSL) is a small but rich language for
+programmable shading in advanced renderers and other applications,
+ideal for describing materials, lights, displacement, and pattern
+generation.
+
+OSL was originally developed by Sony Pictures Imageworks for use in its
+in- house renderer used for feature film animation and visual effects,
+released as open source so it could be used by other visual effects and
+animation studios and rendering software vendors. Now it's the de facto
+standard shading language for VFX and animated features, used across
+the industry in many commercial and studio- proprietary renderers.
+
+Cuda and OptIx are optional dependencies but they are not tested.
+
+OSL is an optional dependency for Blender.
+
+Warning for Slackware current users: since the current's LLVM is
+updated to version 17, this version of OSL cannot be built on Slackware
+current because versions of LLVM greater than 15 are out of range.
diff --git a/graphics/OpenShadingLanguage/slack-desc b/graphics/OpenShadingLanguage/slack-desc
new file mode 100644
index 0000000000..e2e08cea17
--- /dev/null
+++ b/graphics/OpenShadingLanguage/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+OpenShadingLanguage: OpenShadingLanguage (Shading language for production GI renderers)
+OpenShadingLanguage:
+OpenShadingLanguage: Open Shading Language (OSL) is a small but rich language for
+OpenShadingLanguage: programmable shading in advanced renderers and other applications,
+OpenShadingLanguage: ideal for describing materials, lights, displacement, and pattern
+OpenShadingLanguage: generation for feature film animations and visual effects.
+OpenShadingLanguage: Born as platform of Sony Pictures Imageworks, it was released as
+OpenShadingLanguage: open source. OSL is hosted by the Academy Software Foundation.
+OpenShadingLanguage:
+OpenShadingLanguage: Home page: https://www.aswf.io
+OpenShadingLanguage:
diff --git a/graphics/OpenSubdiv/CUDA-compatibility.patch b/graphics/OpenSubdiv/CUDA-compatibility.patch
new file mode 100644
index 0000000000..2db18f6413
--- /dev/null
+++ b/graphics/OpenSubdiv/CUDA-compatibility.patch
@@ -0,0 +1,18 @@
+--- CMakeLists.txt.orig 2023-08-29 11:13:57.755000000 +1000
++++ CMakeLists.txt 2023-08-29 11:19:42.759000000 +1000
+@@ -605,8 +605,14 @@
+ if (NOT DEFINED OSD_CUDA_NVCC_FLAGS)
+ if (CUDA_VERSION_MAJOR LESS 6)
+ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_11 )
+- elseif (CUDA_VERSION_MAJOR LESS 8)
++ elseif (CUDA_VERSION_MAJOR LESS 9)
+ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_20 )
++ elseif (CUDA_VERSION_MAJOR LESS 11)
++ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_30 )
++ elseif (CUDA_VERSION_MAJOR LESS 12)
++ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_35 )
++ else ()
++ set( OSD_CUDA_NVCC_FLAGS --gpu-architecture compute_50 )
+ endif()
+ endif()
+ endif()
diff --git a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
index e0cb77c13b..c5d6c08cbd 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
+++ b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Opensubdiv
# Copyright 2019 J. "MUFTI" Scheurich Stuttgart/Germany
-# Copyright 2021 Christoph Willing Brisbane/Australia
+# Copyright 2021-2023 Christoph Willing Brisbane/Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -30,9 +30,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenSubdiv
-VERSION=${VERSION:-3.4.4}
+VERSION=${VERSION:-3.6.0}
SRCVER=$(echo $VERSION | tr . _)
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,6 +74,13 @@ cd $TMP
rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
+sed -i -e '/${OPENGL_gl_LIBRARY}/a${OPENGL_glx_LIBRARY}' CMakeLists.txt
+patch -p0 < $CWD/CUDA-compatibility.patch
+#if test -e /usr/include/tbb ; then cp $CWD/FindTBB.cmake cmake/ ; fi
+
+# Silence CL_TARGET_OPENCL_VERSION pragmas
+sed -i -e '/opencl.h/i#define CL_TARGET_OPENCL_VERSION 300' opensubdiv/osd/opencl.h
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,6 +88,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+cuda="-DNO_CUDA=ON";
+[ "${ENABLE_CUDA:-no}" = "yes" ] && cuda=""
+
mkdir -p build
cd build
cmake \
@@ -89,6 +99,9 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_LIBDIR_BASE=lib${LIBDIRSUFFIX} \
-DCMAKE_DOCDIR_BASE=doc/$PRGNAM-$VERSION \
+ -DNO_CLEW=ON \
+ -DNO_EXAMPLES=ON \
+ $cuda \
-DCMAKE_BUILD_TYPE=Release ..
make
diff --git a/graphics/OpenSubdiv/OpenSubdiv.info b/graphics/OpenSubdiv/OpenSubdiv.info
index 80af2f00f3..da54c3d828 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.info
+++ b/graphics/OpenSubdiv/OpenSubdiv.info
@@ -1,8 +1,8 @@
PRGNAM="OpenSubdiv"
-VERSION="3.4.4"
+VERSION="3.6.0"
HOMEPAGE="http://graphics.pixar.com/opensubdiv"
-DOWNLOAD="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_4_4/OpenSubdiv-3_4_4.tar.gz"
-MD5SUM="39ecc5caf0abebc943d1ce131855e76e"
+DOWNLOAD="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_6_0/OpenSubdiv-3_6_0.tar.gz"
+MD5SUM="cd03aaf8890bc0b8550eef62029cabe7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/OpenSubdiv/README b/graphics/OpenSubdiv/README
index 18aa13c063..3e64c556ac 100644
--- a/graphics/OpenSubdiv/README
+++ b/graphics/OpenSubdiv/README
@@ -5,5 +5,13 @@ 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
-glfw
+packages are installed and detected at build time:
+ tbb glfw3 ptex
+
+Some graphics cards are not supported with the existing version of
+the cudatoolkit at SBo. Therefore CUDA backend support is not enabled
+by default in this SlackBuild. It must be explicitly enabled (as well
+as cudatoolkit being installed) to use it in the build e.g.
+ ENABLE_CUDA=yes bash OpenSubdiv.SlackBuild
+N.B. Building with CUDA is currently unsupported (broken) - don't use!
+
diff --git a/graphics/OpenVSP/OpenVSP.desktop b/graphics/OpenVSP/OpenVSP.desktop
deleted file mode 100644
index b9c345e7fc..0000000000
--- a/graphics/OpenVSP/OpenVSP.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=OpenVSP
-GenericName=OpenVSP
-Comment=3D Aircraft Modeler
-Exec=vsp
-Icon=OpenVSP
-Terminal=false
-Type=Application
-Categories=Graphics;
diff --git a/graphics/OpenVSP/OpenVSP.info b/graphics/OpenVSP/OpenVSP.info
deleted file mode 100644
index 145153f129..0000000000
--- a/graphics/OpenVSP/OpenVSP.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="OpenVSP"
-VERSION="3.27.1"
-HOMEPAGE="http://openvsp.org"
-DOWNLOAD="https://github.com/OpenVSP/OpenVSP/archive/refs/tags/OpenVSP_3.27.1/OpenVSP-OpenVSP_3.27.1.tar.gz"
-MD5SUM="1c2bddcb2556dfeda7ef1387d33694c3"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="fltk"
-MAINTAINER="Lenard Spencer"
-EMAIL="lenardrspencer@gmail.com"
diff --git a/graphics/OpenVSP/README b/graphics/OpenVSP/README
deleted file mode 100644
index 79c0c29acd..0000000000
--- a/graphics/OpenVSP/README
+++ /dev/null
@@ -1,13 +0,0 @@
-OpenVSP is a parametric aircraft geometry tool. OpenVSP allows the
-user to create a 3D model of an aircraft defined by common engineering
-parameters. This model can be processed into formats suitable for
-engineering analysis.
-
-The predecessors to OpenVSP have been developed by J.R. Gloudemans and
-others for NASA since the early 1990's. On January 10 2012, OpenVSP
-was released as an open source project under the NASA Open Source
-Agreement (NOSA) version 1.3.
-
-You can download sample aircraft at http://hangar.openvsp.org.
-
-Requires fltk from Slackware's /extra folder.
diff --git a/graphics/OpenVSP/slack-desc b/graphics/OpenVSP/slack-desc
deleted file mode 100644
index 2aed2df60f..0000000000
--- a/graphics/OpenVSP/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-OpenVSP: OpenVSP (3D aircraft modeling tool)
-OpenVSP:
-OpenVSP: OpenVSP is a parametric aircraft geometry tool that allows the user
-OpenVSP: to create a 3D model of an aircraft defined by common engineering
-OpenVSP: parameters. This model can be processed into formats suitable for
-OpenVSP: engineering analysis. OpenVSP was released as an open source project
-OpenVSP: under the NASA Open Source Agreement (NOSA) version 1.3.
-OpenVSP:
-OpenVSP:
-OpenVSP: homepage: http://openvsp.org
-OpenVSP:
diff --git a/graphics/Pixie/Pixie.SlackBuild b/graphics/Pixie/Pixie.SlackBuild
index 89de46056e..d7c0d6ca06 100644
--- a/graphics/Pixie/Pixie.SlackBuild
+++ b/graphics/Pixie/Pixie.SlackBuild
@@ -34,7 +34,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -49,8 +49,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"
diff --git a/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index a20506cd17..ea6486cb35 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
# Copyright 2012-2018 by Edward Koenig, Vancouver, Washington, USA <kingbeowulf@linuxgalaxy.org>
+# Copyright 2023-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SweetHome3D
-VERSION=${VERSION:-6.6}
+VERSION=${VERSION:-7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -53,16 +51,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
TARGET="x86"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
TARGET="x86"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
TARGET="x64"
- LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ echo "$ARCH is unsupported."
+ exit 1
fi
set -e
@@ -76,6 +71,13 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-linux-$TARGET.tgz
ln -s $PRGNAM-$VERSION $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
+
+# Make ELF libraries/binaries executable to prevent sbopkglint failure
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs chmod +x 2> /dev/null || true
+
mkdir -p $PKG/usr/bin
install -D -m 755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM
diff --git a/graphics/SweetHome3D/SweetHome3D.info b/graphics/SweetHome3D/SweetHome3D.info
index 968ac7f820..990e48b998 100644
--- a/graphics/SweetHome3D/SweetHome3D.info
+++ b/graphics/SweetHome3D/SweetHome3D.info
@@ -1,10 +1,10 @@
PRGNAM="SweetHome3D"
-VERSION="6.6"
+VERSION="7.3"
HOMEPAGE="http://www.sweethome3d.com/"
-DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.6/SweetHome3D-6.6-linux-x86.tgz"
-MD5SUM="d66d9afbbcf2c8e8722e77c5090b1c4c"
-DOWNLOAD_x86_64="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.6/SweetHome3D-6.6-linux-x64.tgz"
-MD5SUM_x86_64="299be9d6ec9e6c2f939bfd88b200dc04"
+DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.3/SweetHome3D-7.3-linux-x86.tgz"
+MD5SUM="0e2defe57d4414f2832517092f743bc3"
+DOWNLOAD_x86_64="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.3/SweetHome3D-7.3-linux-x64.tgz"
+MD5SUM_x86_64="432dfd359bb57e86d6d4583d037af0ed"
REQUIRES="zulu-openjdk8"
-MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@linuxgalaxy.org"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"
diff --git a/graphics/SweetHome3D/SweetHome3DIcon.png b/graphics/SweetHome3D/SweetHome3DIcon.png
deleted file mode 100644
index 7cb7a0e4cb..0000000000
--- a/graphics/SweetHome3D/SweetHome3DIcon.png
+++ /dev/null
Binary files differ
diff --git a/graphics/VariCAD/VariCAD.SlackBuild b/graphics/VariCAD/VariCAD.SlackBuild
index 8c0c0bbc22..7558878ec0 100644
--- a/graphics/VariCAD/VariCAD.SlackBuild
+++ b/graphics/VariCAD/VariCAD.SlackBuild
@@ -42,12 +42,12 @@ SRCVERSION=$(echo $VERSION | sed "s/_/-$SRCLANG-/")
PKGVERSION="${VERSION}_$SRCLANG"
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SRCARCH="i586"
PKGARCH="i586"
elif [ "$ARCH" = "x86_64" ]; then
diff --git a/graphics/XnViewMP/XnViewMP.info b/graphics/XnViewMP/XnViewMP.info
index da322c2aca..28724152a1 100644
--- a/graphics/XnViewMP/XnViewMP.info
+++ b/graphics/XnViewMP/XnViewMP.info
@@ -4,7 +4,7 @@ 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="a4a8ec89ff10f16f3df7b86ea3e7f57a"
+MD5SUM_x86_64="5cea53367f8c00025974b1236102732d"
REQUIRES=""
MAINTAINER="Melvin Mawhin"
EMAIL="mmawhin@hotmail.com"
diff --git a/graphics/aaphoto/aaphoto.SlackBuild b/graphics/aaphoto/aaphoto.SlackBuild
index 2973b6f7e8..dfba6d20c9 100644
--- a/graphics/aaphoto/aaphoto.SlackBuild
+++ b/graphics/aaphoto/aaphoto.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for aaphoto
-# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2020-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aaphoto
VERSION=${VERSION:-0.45}
+COMMIT="ad4fc3c04b9e25212d78c231e1507458dfea8909" # this is ver. 0.45
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -65,9 +63,9 @@ 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
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/${PRGNAM}-${COMMIT}.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/graphics/aaphoto/aaphoto.info b/graphics/aaphoto/aaphoto.info
index 62abdd1b9d..615764b7e0 100644
--- a/graphics/aaphoto/aaphoto.info
+++ b/graphics/aaphoto/aaphoto.info
@@ -1,8 +1,8 @@
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"
+HOMEPAGE="https://github.com/log69/aaphoto"
+DOWNLOAD="https://github.com/log69/aaphoto/archive/ad4fc3c/aaphoto-ad4fc3c04b9e25212d78c231e1507458dfea8909.tar.gz"
+MD5SUM="6296b7f842df7f9feb11cefe64dfc068"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/aaphoto/slack-desc b/graphics/aaphoto/slack-desc
index f55976efb1..bd41423d92 100644
--- a/graphics/aaphoto/slack-desc
+++ b/graphics/aaphoto/slack-desc
@@ -14,6 +14,6 @@ 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: Homepage: https://github.com/log69/aaphoto
aaphoto:
aaphoto:
diff --git a/graphics/advancecomp/advancecomp.SlackBuild b/graphics/advancecomp/advancecomp.SlackBuild
index 2ae6c18846..eba1e84834 100644
--- a/graphics/advancecomp/advancecomp.SlackBuild
+++ b/graphics/advancecomp/advancecomp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for advancecomp
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=advancecomp
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,8 +78,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-SLKCFLAGS+=" -std=c++11"
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/graphics/advancecomp/advancecomp.info b/graphics/advancecomp/advancecomp.info
index 034fecebfa..468c4db738 100644
--- a/graphics/advancecomp/advancecomp.info
+++ b/graphics/advancecomp/advancecomp.info
@@ -1,10 +1,10 @@
PRGNAM="advancecomp"
-VERSION="2.1"
+VERSION="2.6"
HOMEPAGE="http://www.advancemame.it/"
-DOWNLOAD="https://github.com/amadvance/advancecomp/releases/download/v2.1/advancecomp-2.1.tar.gz"
-MD5SUM="9f888ff52a40da8d82da611a9b0eba96"
+DOWNLOAD="https://github.com/amadvance/advancecomp/releases/download/v2.6/advancecomp-2.6.tar.gz"
+MD5SUM="fc7f6c2bdbabae26f90bf18ec63e9242"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/graphics/aewan/aewan.SlackBuild b/graphics/aewan/aewan.SlackBuild
index 19f56c30cd..c18108d9c5 100644
--- a/graphics/aewan/aewan.SlackBuild
+++ b/graphics/aewan/aewan.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,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"
diff --git a/graphics/alembic-framework/README b/graphics/alembic-framework/README
new file mode 100644
index 0000000000..5d4b45e870
--- /dev/null
+++ b/graphics/alembic-framework/README
@@ -0,0 +1,17 @@
+Alembic is an open computer graphics interchange framework. Alembic
+distills complex, animated scenes into a non-procedural, application-
+independent set of baked geometric results. This 'distillation' of
+scenes into baked geometry is exactly analogous to the distillation
+of lighting and rendering scenes into rendered image data.
+
+Alembic is focused on efficiently storing the computed results of
+complex procedural geometric constructions. It is very specifically not
+concerned with storing the complex dependency graph of procedural tools
+used to create the computed results.
+
+HDF5 is an optional dependency autodetected with the support enabled by
+default if found in your system. You can disable it passing to the
+script an environment variable as following:
+ HDF5=no ./alembic-framework.Slackbuild
+
+alembic-framework is an optional dependency for Blender autodetected.
diff --git a/graphics/alembic-framework/alembic-framework.SlackBuild b/graphics/alembic-framework/alembic-framework.SlackBuild
new file mode 100644
index 0000000000..1f50c53621
--- /dev/null
+++ b/graphics/alembic-framework/alembic-framework.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for alembic-framework
+
+# Copyright 2023 Giancarlo Dessi, Cagliari, IT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=alembic-framework
+VERSION=${VERSION:-1.8.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM="alembic"
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+if pkg-config --exists hdf5; then
+ USEHDF5="" ; [ "${HDF5:-yes}" = "yes" ] && USEHDF5="-DUSE_HDF5=ON "
+else
+ USEHDF5=""
+fi
+
+if ! (pkg-config --exists Imath); then
+ sed -i -e 's:FIND_PACKAGE(Imath):#FIND_PACKAGE(Imath):g' cmake/AlembicIlmBase.cmake
+fi
+
+if [ -d /usr/share/cmake-3.28 ]; then
+ CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD "
+else
+ CMAKE_POLICY=""
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DALEMBIC_LIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DUSE_PYALEMBIC=OFF \
+ $USEHDF5 \
+ $CMAKE_POLICY \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ACKNOWLEDGEMENTS.txt FEEDBACK.txt LICENSE.txt NEWS.txt README.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/alembic-framework/alembic-framework.info b/graphics/alembic-framework/alembic-framework.info
new file mode 100644
index 0000000000..f414245fe7
--- /dev/null
+++ b/graphics/alembic-framework/alembic-framework.info
@@ -0,0 +1,10 @@
+PRGNAM="alembic-framework"
+VERSION="1.8.6"
+HOMEPAGE="https://www.alembic.io"
+DOWNLOAD="https://github.com/alembic/alembic/archive/1.8.6/alembic-1.8.6.tar.gz"
+MD5SUM="15b1d7e7396bb9dfad527a7cf13e8976"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/graphics/alembic-framework/slack-desc b/graphics/alembic-framework/slack-desc
new file mode 100644
index 0000000000..ea4a794b2e
--- /dev/null
+++ b/graphics/alembic-framework/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+alembic-framework: alembic-framework (open computer graphics interchange framework)
+alembic-framework:
+alembic-framework: Alembic is an open source geometry caching format that promotes
+alembic-framework: interoperability between authoring tools.
+alembic-framework: Alembic distills complex, animated scenes into a non-procedural,
+alembic-framework: application-independent set of baked geometric results.
+alembic-framework:
+alembic-framework: Home page: https://www.alembic.io
+alembic-framework:
+alembic-framework:
+alembic-framework:
diff --git a/graphics/amide/README b/graphics/amide/README
new file mode 100644
index 0000000000..e3b52b6a48
--- /dev/null
+++ b/graphics/amide/README
@@ -0,0 +1,36 @@
+AMIDE is a competely free tool for viewing, analyzing, and registering
+volumetric medical imaging data sets. It's been written on top of GTK+,
+and runs on any system that supports this toolkit (Linux, Windows,
+Mac OS X, etc.).
+
+FEATURES:
+* Abitrary orientation, thickness, and time period slice viewing of
+ a data set.
+* Thick slabs can be generated by averaging (MPR), taking the
+ maximum (MIP), or the minimum (MIP).
+* Multiple data sets can be loaded and viewed at once.
+* Nearest Neighbor and Trilinear interpolation functions
+* Zooming
+* Black/White,White/Black,Red/Green/Blue Temperature,
+ Hot Metal/Blue/Green, Spectrum, NIH/UCLA colormaps
+* Thresholding: data sets are thresholded independently.
+* 3-dimensional ROI's can be drawn directly on the images and
+ statistics can be generated for these ROI's.
+* Imports raw data files (8bit,16bit,32bit,float,etc).
+* Imports Acr/Nema 2.0, Analyze (SPM), DICOM 3.0, InterFile3.3,
+ ECAT 6/7, and Gif87a/89a (using the (X)medcon/libmdc).
+* Imports most clinical DICOM files (using the DCMTK library).
+* Allows cropping and clearing regions of data sets.
+* Anisotropic filtering wizard.
+* Saves studies (ROI and Data Set data) as XML data.
+* Series of slices can be viewed.
+* Fly through movies can be generated as MPEG1 files
+* True volume rendering support with the capability of rendering
+ multiple data sets at a time. Series of renderings can be saved
+ as MPEG1 movies. Data sets can also be rendered as stereoscopic
+ image pairs
+* Alignment of data sets is supported using fiducial markers.
+* A profile tool is included that can calculate gaussian fits and
+ FWHM's of the generated line profiles.
+
+
diff --git a/graphics/amide/amide.SlackBuild b/graphics/amide/amide.SlackBuild
new file mode 100644
index 0000000000..d313e62c23
--- /dev/null
+++ b/graphics/amide/amide.SlackBuild
@@ -0,0 +1,133 @@
+#!/bin/bash
+
+# Slackware build script for amide
+
+# Copyright 2023 Juan M. Lasca <juanmlasca@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=amide
+VERSION=${VERSION:-1.0.6+20231009_c02babd}
+COMMIT=c02babd6b660a8d83c7f90eab69bbff34253923d
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+intltoolize
+libtoolize
+touch gtk-doc.make gnome-doc-utils.make
+autoreconf -i
+
+CFLAGS="$SLKCFLAGS -Dg_warning=printf" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux \
+ --disable-gnome-vfs \
+ --disable-doc \
+ --disable-scrollkeeper
+
+# workaround GTK+-2.0 ABI issue
+sed -i '$a\#define g_warning printf' amide_config.h;
+
+make -j1
+make -j1 install DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+# Correct .desktop file
+sed -i '/Encoding=UTF-8/d;s/Graphics;Education;Science;MedicalSoftware;/Graphics;/' \
+ $PKG/usr/share/applications/amide.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ RELEASE_NOTES README.md NEWS AUTHORS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/amide/amide.info b/graphics/amide/amide.info
new file mode 100644
index 0000000000..d4c5404207
--- /dev/null
+++ b/graphics/amide/amide.info
@@ -0,0 +1,10 @@
+PRGNAM="amide"
+VERSION="1.0.6+20231009_c02babd"
+HOMEPAGE="https://amide.sourceforge.net/"
+DOWNLOAD="https://github.com/ferdymercury/amide/archive/c02babd/amide-c02babd6b660a8d83c7f90eab69bbff34253923d.tar.gz"
+MD5SUM="650f348061896c5efcb1443bc12239bd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libgnomecanvas xmedcon dcmtk"
+MAINTAINER="Juan M. Lasca"
+EMAIL="juanmlasca@gmail.com"
diff --git a/graphics/amide/doinst.sh b/graphics/amide/doinst.sh
new file mode 100644
index 0000000000..696d35bad7
--- /dev/null
+++ b/graphics/amide/doinst.sh
@@ -0,0 +1,4 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/graphics/amide/slack-desc b/graphics/amide/slack-desc
new file mode 100644
index 0000000000..b121241e4f
--- /dev/null
+++ b/graphics/amide/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+amide: amide (Amide's a Medical Imaging Data Examiner)
+amide:
+amide: AMIDE is a competely free tool for viewing, analyzing, and
+amide: registering volumetric medical imaging data sets. It's been written
+amide: on top of GTK+, and runs on any system that supports this toolkit
+amide: (Linux, Windows, Mac OS X, etc.).
+amide:
+amide:
+amide:
+amide: For more information, see: https://amide.sourceforge.net/
+amide:
diff --git a/graphics/apitrace/apitrace-11-thirdparty.patch b/graphics/apitrace/apitrace-11-thirdparty.patch
new file mode 100644
index 0000000000..23b8a1aeca
--- /dev/null
+++ b/graphics/apitrace/apitrace-11-thirdparty.patch
@@ -0,0 +1,61 @@
+--- apitrace-11.1/CMakeLists.txt 2022-05-21 00:14:48.000000000 +1000
++++ apitrace-11.1-patched/CMakeLists.txt 2023-09-23 08:21:56.858903298 +1000
+@@ -492,7 +492,9 @@
+ pkg_check_modules (BROTLIENC IMPORTED_TARGET libbrotlienc>=1.0.7)
+ endif ()
+
+- find_package (GTest)
++ if (BUILD_TESTING)
++ find_package (GTest)
++ endif ()
+ endif ()
+
+ add_subdirectory (thirdparty)
+@@ -504,12 +506,15 @@
+ include_directories (BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/khronos)
+
+ # Convenience macro for adding unit tests
+-macro (add_gtest)
+- add_executable (${ARGV})
+- target_link_libraries (${ARGV0} GTest::GTest)
+- add_dependencies (check ${ARGV0})
+- add_test (NAME ${ARGV0} COMMAND ${ARGV0})
+-endmacro ()
++# Should only be invoked when BUILD_TESTING is enabled
++if (BUILD_TESTING)
++ macro (add_gtest)
++ add_executable (${ARGV})
++ target_link_libraries (${ARGV0} GTest::GTest)
++ add_dependencies (check ${ARGV0})
++ add_test (NAME ${ARGV0} COMMAND ${ARGV0})
++ endmacro ()
++endif ()
+
+
+ ##############################################################################
+--- apitrace-11.1/thirdparty/CMakeLists.txt 2022-05-21 00:14:48.000000000 +1000
++++ apitrace-11.1-patched/thirdparty/CMakeLists.txt 2023-09-23 08:21:56.859903298 +1000
+@@ -23,12 +23,12 @@
+ zlib/README
+ )
+ if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${path}")
+- message (SEND_ERROR "error: ${CMAKE_CURRENT_SOURCE_DIR}/${path} does not exist")
++ message (STATUS "${CMAKE_CURRENT_SOURCE_DIR}/${path} does not exist, relying on system version")
+ set (SUBMODULES_MISSING TRUE)
+ endif ()
+ endforeach ()
+ if (SUBMODULES_MISSING)
+- message (FATAL_ERROR "Update Git submodules by running\ngit submodule update --init --depth 1 --recursive")
++ message (WARNING "If any dependencies are not found, update Git submodules by running\ngit submodule update --init --depth 1 --recursive")
+ endif ()
+
+ if (ENABLE_STATIC_SNAPPY OR NOT Snappy_FOUND)
+@@ -56,7 +56,7 @@
+ endif ()
+
+ # We use non-standard C++ flags, so we can't just use GTest's CMakeLists.txt
+-if (NOT GTEST_FOUND)
++if (BUILD_TESTING AND NOT GTEST_FOUND)
+ message (STATUS "Using bundled GTest")
+ include_with_scope (gtest.cmake)
+ endif ()
diff --git a/graphics/apitrace/apitrace.SlackBuild b/graphics/apitrace/apitrace.SlackBuild
index f44b48fc46..6b9d6d9234 100644
--- a/graphics/apitrace/apitrace.SlackBuild
+++ b/graphics/apitrace/apitrace.SlackBuild
@@ -28,10 +28,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=apitrace
-VERSION=${VERSION:-9.0}
+VERSION=${VERSION:-11.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+LIBBACKTRACE_COMMIT=${LIBBACKTRACE_COMMIT:-9ae4f4ae4481b1e69d38ed810980d33103544613}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -84,6 +85,17 @@ find -L . \
# directory (because we don't really support debian-style multiarch).
sed -i 's,dpkg-architecture,true,' CMakeLists.txt
+# 20230920 bcs: Patch to allow building without googletest, and to
+# allow use of system packages for most dependencies. libbacktrace
+# is the only one that doesn't already have a SlackBuild script.
+patch -p1 < $CWD/apitrace-11-thirdparty.patch
+(
+ cd thirdparty
+ rm -rf libbacktrace
+ tar -xf $CWD/libbacktrace-$LIBBACKTRACE_COMMIT.tar.gz
+ mv libbacktrace-$LIBBACKTRACE_COMMIT libbacktrace
+)
+
mkdir -p build
cd build
cmake \
@@ -93,6 +105,8 @@ cd build
-DDOC_INSTALL_DIR=doc/$PRGNAM-$VERSION \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_STATIC_SNAPPY=OFF \
+ -DBUILD_TESTING=no \
+ -DDEFAULT_APITRACE_VERSION=${VERSION} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG
diff --git a/graphics/apitrace/apitrace.info b/graphics/apitrace/apitrace.info
index 33b4734337..70d45a2220 100644
--- a/graphics/apitrace/apitrace.info
+++ b/graphics/apitrace/apitrace.info
@@ -1,10 +1,12 @@
PRGNAM="apitrace"
-VERSION="9.0"
+VERSION="11.1"
HOMEPAGE="https://apitrace.github.io/"
-DOWNLOAD="https://github.com/apitrace/apitrace/archive/9.0/apitrace-9.0.tar.gz"
-MD5SUM="83bacfb35f4f339571702099d283f571"
+DOWNLOAD="https://github.com/apitrace/apitrace/archive/11.1/apitrace-11.1.tar.gz \
+ https://github.com/ianlancetaylor/libbacktrace/archive/9ae4f4ae4481b1e69d38ed810980d33103544613/libbacktrace-9ae4f4ae4481b1e69d38ed810980d33103544613.tar.gz"
+MD5SUM="28a1eb4a7b69dd7c419378cd00d73e2b \
+ 0a6b1da56e805d627daeb5927e4f7bc4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+REQUIRES="snappy"
+MAINTAINER="Brent Spillner"
+EMAIL="spillner@acm.org"
diff --git a/graphics/baires/baires.SlackBuild b/graphics/baires/baires.SlackBuild
index 60cfc2bca2..03454fdf8b 100644
--- a/graphics/baires/baires.SlackBuild
+++ b/graphics/baires/baires.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Baires
# Copyright 2012, Bojan Popovic, Belgrade, Serbia, <email removed>
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
diff --git a/graphics/baires/baires.info b/graphics/baires/baires.info
index ceb3aa6e20..8adb83a6af 100644
--- a/graphics/baires/baires.info
+++ b/graphics/baires/baires.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/bdfedit/bdfedit.1 b/graphics/bdfedit/bdfedit.1
index 5c281b91bd..aae33e48cf 100644
--- a/graphics/bdfedit/bdfedit.1
+++ b/graphics/bdfedit/bdfedit.1
@@ -117,5 +117,5 @@ Defaults to use for newly-created fonts. See \fB/usr/doc/bdfedit\-1.3/bdfedit.sa
.IX Header "AUTHOR"
\&\fBbdfedit\fR is © 2000 Thomas A. Fine.
.PP
-Man page created by B. Watson <yalhcru@gmail.com>, for the SlackBuilds.org project (but
+Man page created by B. Watson <urchlay@slackware.uk>, for the SlackBuilds.org project (but
it may be used by anyone).
diff --git a/graphics/bdfedit/bdfedit.SlackBuild b/graphics/bdfedit/bdfedit.SlackBuild
index 0d1912a14b..c97898ad97 100644
--- a/graphics/bdfedit/bdfedit.SlackBuild
+++ b/graphics/bdfedit/bdfedit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for bdfedit
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
diff --git a/graphics/bdfedit/bdfedit.info b/graphics/bdfedit/bdfedit.info
index 3e22c52ac8..fc13958890 100644
--- a/graphics/bdfedit/bdfedit.info
+++ b/graphics/bdfedit/bdfedit.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/bdfedit/bdfedit.pod b/graphics/bdfedit/bdfedit.pod
index 809e2426b7..334874995e 100644
--- a/graphics/bdfedit/bdfedit.pod
+++ b/graphics/bdfedit/bdfedit.pod
@@ -48,5 +48,5 @@ Defaults to use for newly-created fonts. See B</usr/doc/bdfedit-1.3/bdfedit.samp
B<bdfedit> is © 2000 Thomas A. Fine.
-Man page created by B. Watson <yalhcru@gmail.com>, for the SlackBuilds.org project (but
+Man page created by B. Watson <urchlay@slackware.uk>, for the SlackBuilds.org project (but
it may be used by anyone).
diff --git a/graphics/birdfont/README b/graphics/birdfont/README
index 54074a257d..cc8b8f6a0b 100644
--- a/graphics/birdfont/README
+++ b/graphics/birdfont/README
@@ -2,3 +2,9 @@ Birdfont is a free font editor which lets you create vector graphics
and export TTF, OTF and SVG fonts.
The editor has good support for both monochrome and color font
formats.
+
+Version 2.33.3 is the latest can be installed in Slackware 15.0 because
+earlier versions require webkit2gtk4.1. Since the build of Birdfont is
+based on vala and the version 0.54 available in Slackware 15.0 does not
+create the APIs for webkit2gtk 4.1, the build of version earlier than
+2.33.3 will fail.
diff --git a/graphics/birdfont/birdfont.SlackBuild b/graphics/birdfont/birdfont.SlackBuild
index 0902b39e5a..5346149641 100644
--- a/graphics/birdfont/birdfont.SlackBuild
+++ b/graphics/birdfont/birdfont.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for birdfont
-# Copyright 2020-2022 Giancarlo Dessì, Cagliari, IT
+# Copyright 2020-2023 Giancarlo Dessi, Cagliari, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=birdfont
-VERSION=${VERSION:-2.30.0}
+VERSION=${VERSION:-2.33.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -43,7 +43,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,6 +69,7 @@ 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 \
@@ -76,14 +77,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./configure --prefix=$PKG/usr
+./configure --prefix=/usr --cflags="$SLKCFLAGS"
./build.py
-./install.py
+./install.py --dest "$PKG" --libdir /lib$LIBDIRSUFFIX --manpages-directory /man/man1
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/*.so.*.*
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type 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 NEWS README.md GPLv3.txt LGPLv3.txt TRANSLATORS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/birdfont/birdfont.info b/graphics/birdfont/birdfont.info
index 7d071df160..e2e4a9edc0 100644
--- a/graphics/birdfont/birdfont.info
+++ b/graphics/birdfont/birdfont.info
@@ -1,10 +1,10 @@
PRGNAM="birdfont"
-VERSION="2.30.0"
+VERSION="2.33.3"
HOMEPAGE="https://birdfont.org"
-DOWNLOAD="https://birdfont.org/releases/birdfont-2.30.0.tar.xz"
-MD5SUM="aab50cf67a0129f04143725a8ffc66d9"
+DOWNLOAD="https://birdfont.org/releases/birdfont-2.33.3.tar.xz"
+MD5SUM="b78ca7c27d623bc941cb7986d84f206b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk libxmlbird"
-MAINTAINER="Giancarlo Dessì"
+MAINTAINER="Giancarlo Dessi"
EMAIL="slack@giand.it"
diff --git a/graphics/birdfont/install-path.patch b/graphics/birdfont/install-path.patch
new file mode 100644
index 0000000000..db13ae6077
--- /dev/null
+++ b/graphics/birdfont/install-path.patch
@@ -0,0 +1,66 @@
+This patch does not fix any bug. It solves some issues given by the build from sources
+using the packaging standard in Slackbuilds.org that sets '/tmp/SBo/package-application'
+as directory of installation ($PKG variable)
+Do not apply if you install birdfont with a slackbuild modified using another path
+for $PKG
+
+--- ./install.py 2023-08-07 21:01:22.000000000 +0200
++++ ./install.py 2023-09-05 18:30:08.552843554 +0200
+@@ -47,6 +47,6 @@
+ f = getDest (file, dir)
+ print ("install: " + f)
+- run ('install -d ' + dest + prefix + dir)
+- run ('install -m ' + str(mode) + ' ' + file + ' ' + dest + prefix + dir + '/')
++ run ('install -d ' + '/tmp/SBo/package-birdfont/' + dest + prefix + dir)
++ run ('install -m ' + str(mode) + ' ' + file + ' ' + '/tmp/SBo/package-birdfont/' + dest + prefix + dir + '/')
+ installed.write (f + "\n")
+
+@@ -54,11 +54,11 @@
+ f = getDestRoot (file, dir)
+ print ("install: " + f)
+- run ('install -d ' + dest + dir)
+- run ('install -m ' + str(mode) + ' ' + file + ' ' + dest + dir + '/')
++ run ('install -d ' + '/tmp/SBo/package-birdfont/' + dest + dir)
++ run ('install -m ' + str(mode) + ' ' + file + ' ' + '/tmp/SBo/package-birdfont/' + dest + dir + '/')
+
+ def link (dir, file, linkname):
+ f = getDest (linkname, dir)
+ print ("install link: " + f)
+- run ('cd ' + dest + prefix + dir + ' && ln -sf ' + file + ' ' + linkname)
++ run ('cd ' + '/tmp/SBo/package-birdfont/' + dest + prefix + dir + ' && ln -sf ' + file + ' ' + linkname)
+ installed.write (f + "\n")
+
+@@ -162,13 +162,13 @@
+ install ('build/bin/libbirdfont.so.' + '${LIBbirdfont_VERSION}', '/lib', 644)
+ elif os.path.isfile ('build/bin/libbirdfont.so.' + version.SO_VERSION):
+- install ('build/bin/libbirdfont.so.' + version.SO_VERSION, libdir, 644)
++ install ('build/bin/libbirdfont.so.' + version.SO_VERSION, libdir, 755)
+ link (libdir, 'libbirdfont.so.' + version.SO_VERSION, ' libbirdfont.so.' + version.SO_VERSION_MAJOR)
+ link (libdir, 'libbirdfont.so.' + version.SO_VERSION, ' libbirdfont.so')
+ elif os.path.isfile ('build/libbirdfont.so.' + version.SO_VERSION):
+- install ('build/libbirdfont.so.' + version.SO_VERSION, libdir, 644)
++ install ('build/libbirdfont.so.' + version.SO_VERSION, libdir, 755)
+ link (libdir, 'libbirdfont.so.' + version.SO_VERSION, ' libbirdfont.so.' + version.SO_VERSION_MAJOR)
+ link (libdir, 'libbirdfont.so.' + version.SO_VERSION, ' libbirdfont.so')
+ elif os.path.isfile ('build/bin/libbirdfont.' + version.SO_VERSION + '.dylib'):
+- install ('build/bin/libbirdfont.' + version.SO_VERSION + '.dylib', libdir, 644)
++ install ('build/bin/libbirdfont.' + version.SO_VERSION + '.dylib', libdir, 755)
+ link (libdir, 'libbirdfont.' + version.SO_VERSION + '.dylib', ' libbirdfont.dylib.' + version.SO_VERSION_MAJOR)
+ link (libdir, 'libbirdfont.' + version.SO_VERSION + '.dylib', ' libbirdfont.dylib')
+@@ -180,13 +180,13 @@
+ install ('build/bin/libbirdgems.so.' + '${LIBbirdgems_VERSION}', '/lib', 644)
+ elif os.path.isfile ('build/bin/libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION):
+- install ('build/bin/libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, libdir, 644)
++ install ('build/bin/libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, libdir, 755)
+ link (libdir, 'libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, ' libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION_MAJOR)
+ link (libdir, 'libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, ' libbirdgems.so')
+ elif os.path.isfile ('build/libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION):
+- install ('build/libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, libdir, 644)
++ install ('build/libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, libdir, 755)
+ link (libdir, 'libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, ' libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION_MAJOR)
+ link (libdir, 'libbirdgems.so.' + version.LIBBIRDGEMS_SO_VERSION, ' libbirdgems.so')
+ elif os.path.isfile ('build/bin/libbirdgems.' + version.LIBBIRDGEMS_SO_VERSION + '.dylib'):
+- install ('build/bin/libbirdgems.' + version.LIBBIRDGEMS_SO_VERSION + '.dylib', libdir, 644)
++ install ('build/bin/libbirdgems.' + version.LIBBIRDGEMS_SO_VERSION + '.dylib', libdir, 755)
+ link (libdir, 'libbirdgems.' + version.LIBBIRDGEMS_SO_VERSION + '.dylib', ' libbirdgems.dylib.' + version.LIBBIRDGEMS_SO_VERSION_MAJOR)
+ link (libdir, 'libbirdgems.' + version.LIBBIRDGEMS_SO_VERSION + '.dylib', ' libbirdgems.dylib')
diff --git a/graphics/blockbench/README b/graphics/blockbench/README
new file mode 100644
index 0000000000..2ae8e69a91
--- /dev/null
+++ b/graphics/blockbench/README
@@ -0,0 +1,7 @@
+blockbench (3D model editor)
+
+Blockbench is a free, modern model editor for low-poly and boxy models
+with pixel art textures. Models can be exported into standardized
+formats, to be shared, rendered, 3D-printed, or used in game engines.
+There are also multiple dedicated formats for Minecraft Java and
+Bedrock Edition with format-specific features.
diff --git a/graphics/blockbench/blockbench.SlackBuild b/graphics/blockbench/blockbench.SlackBuild
new file mode 100644
index 0000000000..949040d433
--- /dev/null
+++ b/graphics/blockbench/blockbench.SlackBuild
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+# Slackware build script for blockbench
+
+# Copyright 2023 Sean Eubanks <seanmeu@protonmail.com>, Cheraw, SC, USA
+# All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=blockbench
+SRCNAM=Blockbench
+VERSION=${VERSION:-4.7.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+rpm2cpio < $CWD/${SRCNAM}_${VERSION}.rpm | cpio -imdv
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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 {} \;
+
+cp -ap {opt,usr} $PKG/
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# RPM does not come with symlink from opt so creating that here
+mkdir $PKG/usr/bin
+ln -s /opt/$SRCNAM/$PRGNAM $PKG/usr/bin/$PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/blockbench/blockbench.info b/graphics/blockbench/blockbench.info
new file mode 100644
index 0000000000..9400ed280b
--- /dev/null
+++ b/graphics/blockbench/blockbench.info
@@ -0,0 +1,10 @@
+PRGNAM="blockbench"
+VERSION="4.7.4"
+HOMEPAGE="https://www.blockbench.net"
+DOWNLOAD="https://github.com/JannisX11/blockbench/releases/download/v4.7.4/Blockbench_4.7.4.rpm"
+MD5SUM="1fb720af21e58be0a4cd192ea9dca51e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Sean Eubanks"
+EMAIL="seanmeu@protonmail.com"
diff --git a/graphics/blockbench/doinst.sh b/graphics/blockbench/doinst.sh
new file mode 100644
index 0000000000..9169c83208
--- /dev/null
+++ b/graphics/blockbench/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/blockbench/slack-desc b/graphics/blockbench/slack-desc
new file mode 100644
index 0000000000..f644ee7f78
--- /dev/null
+++ b/graphics/blockbench/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+blockbench: blockbench (3D model editor)
+blockbench:
+blockbench: Blockbench is a free, modern model editor for low-poly and boxy models
+blockbench: with pixel art textures. Models can be exported into standardized
+blockbench: formats, to be shared, rendered, 3D-printed, or used in game engines.
+blockbench: There are also multiple dedicated formats for Minecraft Java and
+blockbench: Bedrock Edition with format-specific features.
+blockbench:
+blockbench:
+blockbench:
+blockbench: https://www.blockbench.net/
diff --git a/graphics/brlcad/README b/graphics/brlcad/README
index 6f018ab1a0..bddd1a2309 100644
--- a/graphics/brlcad/README
+++ b/graphics/brlcad/README
@@ -9,6 +9,9 @@ Optional dependencies: astyle, proj, gdal. BRL-CAD will use them
if available; if not it will use bundled versions. gdal is used by
BRL-CAD but it does not detect the SBo version and always uses bundled
one.
+Note: Having assimp installed breaks the build.
+There may be other packages which may alter the brlcad build, possibly
+making it worthless. It is best to build it on a clean environment.
Also there are a few options. Usage:
OPTION=ON/OFF sh ./brlcad.SlackBuild
diff --git a/graphics/brlcad/brlcad-7.32.4-skip-gstep.patch b/graphics/brlcad/brlcad-skip-gstep.patch
index 5768ad63a2..5768ad63a2 100644
--- a/graphics/brlcad/brlcad-7.32.4-skip-gstep.patch
+++ b/graphics/brlcad/brlcad-skip-gstep.patch
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index 0a3ec395e5..4779562217 100644
--- a/graphics/brlcad/brlcad.SlackBuild
+++ b/graphics/brlcad/brlcad.SlackBuild
@@ -12,23 +12,12 @@
# Maintained as of version 7.16.6 by Niels Horn <niels.horn@gmail.com>
# Revision date: 2012/09/13
-# Modified by John Vogel <jvogel4@stny.rr.com> for build with cmake
-# ... and again to fix tcl/tk breakage
-
-# 20220404 bkw: Modified by SlackBuilds.org, BUILD=3:
-# - fix broken symlink in doc dir.
-
-# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
-# Previous version wouldn't build, updated for v7.32.4, and still
-# had to patch that.
-
-# 20220321 acl: Modified by SlackBuilds.org: fix build on 15.0 32bit.
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=brlcad
-VERSION=${VERSION:-7.32.4}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-7.38.2}
+SRCVER=rel-${VERSION//./-}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -52,15 +41,23 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
+ ENDIAN="LITTLE"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ ENDIAN="LITTLE"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ ENDIAN="LITTLE"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ ENDIAN="BIG"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
+ ENDIAN="BIG"
fi
set -e
@@ -68,9 +65,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,15 +75,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# 20220225 bkw: Fix for null pointer dereference, causes "Error 139" in
-# 'Generating ../../share/db/nist/NIST_MBE_PMI_1.g'. Refs:
-# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256166
-# https://github.com/BRL-CAD/brlcad/commit/b0dd45620f1ffdd8814069df091b20e8780e1b3e
-patch -p1 < $CWD/fix-step-g-segfault.diff
-
# thanks arch maintainers.
# fixes build on i586.
-patch -p1 < $CWD/brlcad-7.32.4-skip-gstep.patch
+patch -p1 < $CWD/brlcad-skip-gstep.patch
+sed -i 's%#define OPENNURBS_INC_IN_PROGRESS%#define OPENNURBS_INC_IN_PROGRESS\n\n#define ON_'${ENDIAN}'_ENDIAN%' src/other/openNURBS/opennurbs.h
+
mkdir -p build
cd build
@@ -114,11 +107,17 @@ cmake \
-DDATA_DIR=share \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DON_${ENDIAN}_ENDIAN=ON \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" ..
make
make install/strip DESTDIR=$PKG
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/opt/$PRGNAM/lib/ -print0 | xargs -0 file | grep -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs chmod 755 2> /dev/null || true
+
find $PKG/opt/$PRGNAM/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/opt/$PRGNAM/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/graphics/brlcad/brlcad.info b/graphics/brlcad/brlcad.info
index 1b33ce7009..18235da774 100644
--- a/graphics/brlcad/brlcad.info
+++ b/graphics/brlcad/brlcad.info
@@ -1,8 +1,8 @@
PRGNAM="brlcad"
-VERSION="7.32.4"
+VERSION="7.38.2"
HOMEPAGE="https://brlcad.org"
-DOWNLOAD="https://github.com/BRL-CAD/brlcad/releases/download/rel-7-32-4/brlcad-7.32.4.tar.bz2"
-MD5SUM="5de62ca1c617ee47a5b28313263d5f49"
+DOWNLOAD="https://github.com/BRL-CAD/brlcad/archive/rel-7-38-2/brlcad-7-38-2.tar.gz"
+MD5SUM="658a363c6064532bf17cba5924cab7f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/brlcad/fix-step-g-segfault.diff b/graphics/brlcad/fix-step-g-segfault.diff
deleted file mode 100644
index 6c5048232d..0000000000
--- a/graphics/brlcad/fix-step-g-segfault.diff
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -Naur brlcad-7.32.4/src/other/stepcode/src/clstepcore/complexSupport.h brlcad-7.32.4.patched/src/other/stepcode/src/clstepcore/complexSupport.h
---- brlcad-7.32.4/src/other/stepcode/src/clstepcore/complexSupport.h 2021-07-28 23:11:47.000000000 -0400
-+++ brlcad-7.32.4.patched/src/other/stepcode/src/clstepcore/complexSupport.h 2022-02-25 17:42:27.909342186 -0500
-@@ -208,26 +208,26 @@
- // but all we need.
- EntList * firstNot( JoinType );
- EntList * nextNot( JoinType j ) {
-- return next->firstNot( j );
-+ return (next) ? next->firstNot(j) : NULL;
- }
- EntList * firstWanted( MatchType );
- EntList * nextWanted( MatchType mat ) {
-- return next->firstWanted( mat );
-+ return (next) ? next->firstWanted(mat) : NULL;
- }
- EntList * lastNot( JoinType );
- EntList * prevNot( JoinType j ) {
-- return prev->lastNot( j );
-+ return (prev) ? prev->lastNot(j) : NULL;
- }
- EntList * lastWanted( MatchType );
- EntList * prevWanted( MatchType mat ) {
-- return prev->lastWanted( mat );
-+ return (prev) ? prev->lastWanted(mat) : NULL;
- }
-
- JoinType join;
- int multiple() {
- return ( join != SIMPLE );
- }
-- EntList * next, *prev;
-+ EntList * next = NULL, *prev = NULL;
-
- protected:
- MatchType viable;
-diff -Naur brlcad-7.32.4/src/other/stepcode/src/exp2cxx/complexSupport.h brlcad-7.32.4.patched/src/other/stepcode/src/exp2cxx/complexSupport.h
---- brlcad-7.32.4/src/other/stepcode/src/exp2cxx/complexSupport.h 2021-07-28 23:11:48.000000000 -0400
-+++ brlcad-7.32.4.patched/src/other/stepcode/src/exp2cxx/complexSupport.h 2022-02-25 17:40:52.465760163 -0500
-@@ -162,26 +162,26 @@
- // but all we need.
- EntList * firstNot( JoinType );
- EntList * nextNot( JoinType j ) {
-- return next->firstNot( j );
-+ return (next) ? next->firstNot(j) : NULL;
- }
- EntList * firstWanted( MatchType );
- EntList * nextWanted( MatchType mat ) {
-- return next->firstWanted( mat );
-+ return (next) ? next->firstWanted(mat) : NULL;
- }
- EntList * lastNot( JoinType );
- EntList * prevNot( JoinType j ) {
-- return prev->lastNot( j );
-+ return (prev) ? prev->lastNot(j) : NULL;
- }
- EntList * lastWanted( MatchType );
- EntList * prevWanted( MatchType mat ) {
-- return prev->lastWanted( mat );
-+ return (prev) ? prev->lastWanted(mat) : NULL;
- }
-
- JoinType join;
- int multiple() {
- return ( join != SIMPLE );
- }
-- EntList * next, *prev;
-+ EntList * next = NULL, *prev = NULL;
-
- protected:
- MatchType viable;
diff --git a/graphics/cam/cam.SlackBuild b/graphics/cam/cam.SlackBuild
index 3dddc841c5..27e3214765 100644
--- a/graphics/cam/cam.SlackBuild
+++ b/graphics/cam/cam.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cam
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -27,7 +27,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/cam/cam.info b/graphics/cam/cam.info
index 8a11c9a5b5..c77fcf5d06 100644
--- a/graphics/cam/cam.info
+++ b/graphics/cam/cam.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/catimg/README b/graphics/catimg/README
new file mode 100644
index 0000000000..74c05c3c56
--- /dev/null
+++ b/graphics/catimg/README
@@ -0,0 +1,6 @@
+catimg (Insanely fast image printing in your terminal)
+
+catimg is a little program written in C with no dependencies that
+prints images in terminal. It supports JPEG, PNG and GIF formats.
+This program was originally a script that did the same by using
+ImageMagick convert.
diff --git a/graphics/catimg/catimg.SlackBuild b/graphics/catimg/catimg.SlackBuild
new file mode 100644
index 0000000000..7036219cbe
--- /dev/null
+++ b/graphics/catimg/catimg.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for catimg
+
+# Copyright 2023 Samuel Young, MO, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=catimg
+VERSION=${VERSION:-2.7.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/man/man1
+gzip -c9 $PKG/usr/share/man/man1/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+rm -r $PKG/usr/share
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/catimg/catimg.info b/graphics/catimg/catimg.info
new file mode 100644
index 0000000000..2495dc7cc8
--- /dev/null
+++ b/graphics/catimg/catimg.info
@@ -0,0 +1,10 @@
+PRGNAM="catimg"
+VERSION="2.7.0"
+HOMEPAGE="https://posva.net/shell/retro/bash/2013/05/27/catimg"
+DOWNLOAD="https://github.com/posva/catimg/archive/2.7.0/catimg-2.7.0.tar.gz"
+MD5SUM="0b0f7dadc00b3664b7b07eb52557b2c2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Samuel Young"
+EMAIL="samyoung12788@gmail.com"
diff --git a/graphics/catimg/slack-desc b/graphics/catimg/slack-desc
new file mode 100644
index 0000000000..716b1a557a
--- /dev/null
+++ b/graphics/catimg/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+catimg: catimg (Insanely fast image printing in your terminal)
+catimg:
+catimg: catimg is a little program written in C with no dependencies that
+catimg: prints images in terminal. It supports JPEG, PNG and GIF formats.
+catimg: This program was originally a script that did the same by using
+catimg: ImageMagick convert.
+catimg:
+catimg:
+catimg:
+catimg: Homepage: https://posva.net/shell/retro/bash/2013/05/27/catimg
+catimg:
diff --git a/graphics/chafa/README b/graphics/chafa/README
new file mode 100644
index 0000000000..d2542a50ff
--- /dev/null
+++ b/graphics/chafa/README
@@ -0,0 +1,3 @@
+chafa is a tool that gives reasonable approximations of
+pictures and animations in the comfort of your favorite
+terminal emulator.
diff --git a/graphics/dvisvgm/dvisvgm.SlackBuild b/graphics/chafa/chafa.SlackBuild
index 6d3e5cc420..6b131b4122 100644
--- a/graphics/dvisvgm/dvisvgm.SlackBuild
+++ b/graphics/chafa/chafa.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/bash
-# Slackware build script for dvisvgm
-# SlackBuild Version: 151119
-# Copyright 2015 Igor ( igor29768 AT gmail.com )
-# Based on the SlackBuild script by Rudson Alves (rudsonalves@yahoo.com.br)
+
+# Slackware build script for chafa
+
+# Copyright 2022-2024 Vijay Marcel
+
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,15 +25,16 @@
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=dvisvgm
-VERSION=${VERSION:-1.12}
+PRGNAM=chafa
+VERSION=${VERSION:-1.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,14 +52,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -65,12 +67,13 @@ else
fi
set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,36 +82,32 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Libkpathsea check...
-# If Slackware tetex is installed
-if [ -d /usr/share/texmf/include/kpathsea ] && [ ! -e /usr/include/kpathsea ]; then
- cp -r /usr/share/texmf/include/kpathsea/ $TMP/$PRGNAM-$VERSION
- cd kpathsea
- patch -i $CWD/c-std.h.diff
- cd ..
- export CPPFLAGS+="$SLKCFLAGS -I$TMP/$PRGNAM-$VERSION"
-fi
-
-if [ ! -e /usr/lib${LIBDIRSUFFIX}/libkpathsea.la ] && [ -e /usr/share/texmf/lib/libkpathsea.la ]; then
- LIBS+=" -l/usr/share/texmf/lib/"
- export LDFLAGS+=" -L/usr/share/texmf/lib/"
-fi
-
-echo "CPPFLAGS=$CPPFLAGS LIBS=$LIBS LDFLAGS=$LDFLAGS"
-
-CFLAGS="$SLKCFLAGS" \
+CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
+CFLAGS="$SLKCFLAGS $(pkg-config --libs libwebp)" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --enable-man \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-shared \
+ --disable-static \
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-gtk-doc-pdf \
+ --without-avif \
+ --with-gnu-ld \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
+/sbin/ldconfig
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -117,7 +116,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL LGPL-2.1.txt NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING COPYING.LESSER HACKING NEWS README README.md SECURITY.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/chafa/chafa.info b/graphics/chafa/chafa.info
new file mode 100644
index 0000000000..b228710458
--- /dev/null
+++ b/graphics/chafa/chafa.info
@@ -0,0 +1,10 @@
+PRGNAM="chafa"
+VERSION="1.14.0"
+HOMEPAGE="https://hpjansson.org/chafa"
+DOWNLOAD="https://hpjansson.org/chafa/releases/chafa-1.14.0.tar.xz"
+MD5SUM="9b13047a48ee89fd1064886ef73ad06b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/graphics/chafa/changelog b/graphics/chafa/changelog
new file mode 100644
index 0000000000..8b7e5ac5cb
--- /dev/null
+++ b/graphics/chafa/changelog
@@ -0,0 +1,27 @@
+Changelog for chafa SlackBuild Script
+--------------------------------------------------------------------
+
+20/08/2022:
+
+Added to slackbuilds.org
+
+11/05/2023:
+
+updated to version 1.12.4
+
+05/12/2023:
+
+updated to version 1.12.5
+During compilation chafa fails to
+build because of error in libwebp
+saying error adding symbols:
+DSO missing from command line
+to avoid this modify the CFLAGS to
+CFLAGS="$SLKCFLAGS $(pkg-config --libs libwebp)"
+Thanks to Christoph Willing for the solution.
+
+05/02/2024:
+
+updated to version 1.14.0
+libavif is an optional dependency.This slackbuild
+builds without avif support.
diff --git a/graphics/chafa/slack-desc b/graphics/chafa/slack-desc
new file mode 100644
index 0000000000..094a2fbf1f
--- /dev/null
+++ b/graphics/chafa/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+chafa: chafa (Terminal ASCII Art)
+chafa:
+chafa: chafa is a tool that gives reasonable approximations of
+chafa: pictures and animations in the comfort of your favorite
+chafa: terminal emulator.
+chafa:
+chafa: Homepage: https://hpjansson.org/chafa
+chafa:
+chafa:
+chafa:
+chafa:
diff --git a/graphics/converseen/converseen.SlackBuild b/graphics/converseen/converseen.SlackBuild
index 376d967f4c..27ed069f05 100644
--- a/graphics/converseen/converseen.SlackBuild
+++ b/graphics/converseen/converseen.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for converseen
-# Copyright 2014-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=converseen
-VERSION=${VERSION:-0.9.9.5}
+VERSION=${VERSION:-0.12.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -94,7 +91,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/converseen/converseen.info b/graphics/converseen/converseen.info
index 613f0ee985..5d0d864c13 100644
--- a/graphics/converseen/converseen.info
+++ b/graphics/converseen/converseen.info
@@ -1,8 +1,8 @@
PRGNAM="converseen"
-VERSION="0.9.9.5"
+VERSION="0.12.2.3"
HOMEPAGE="https://converseen.fasterland.net/"
-DOWNLOAD="https://downloads.sourceforge.net/converseen/converseen-0.9.9.5.tar.bz2"
-MD5SUM="5a5fd84cf7d1daabc0db3809faf8a5d3"
+DOWNLOAD="https://downloads.sourceforge.net/converseen/converseen-0.12.2.3.tar.bz2"
+MD5SUM="8e00aaaeee81a52798e6fd9b2f29db98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/converseen/doinst.sh b/graphics/converseen/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/graphics/converseen/doinst.sh
+++ b/graphics/converseen/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/ctpv/README b/graphics/ctpv/README
new file mode 100644
index 0000000000..992a3b4210
--- /dev/null
+++ b/graphics/ctpv/README
@@ -0,0 +1,4 @@
+ctpv is a file previewer utility for terminals.
+
+It was especially made for integration with the lf file manager;
+however, it is also compatible with other programs as well.
diff --git a/graphics/pygifme/pygifme.SlackBuild b/graphics/ctpv/ctpv.SlackBuild
index 731a4d6525..f330116332 100644
--- a/graphics/pygifme/pygifme.SlackBuild
+++ b/graphics/ctpv/ctpv.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for pygifme
+# Slackware build script for ctpv
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2: fix build on 15.0.
-
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=pygifme
-VERSION=${VERSION:-0.1}
-BUILD=${BUILD:-2}
+PRGNAM=ctpv
+VERSION=${VERSION:-1.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,25 +72,25 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# 20220227 bkw: uhhh...
-# AttributeError: module 'platform' has no attribute 'dist'
-# ...this is just a print(), it doesn't *do* anything.
-sed -i "/print.*'Distribution:'/d" setup.py
+# Fix man path
+sed 's|share/man|/man/|' -i Makefile
-python3 setup.py install --root=$PKG
+make CFLAGS="$SLKCFLAGS"
+make install PREFIX=/usr DESTDIR=$PKG
-rm -rf $PKG/usr/share
+# Strip ELF binaries
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# 20220227 bkw: we don't need a shell script for this...
-rm -f $PKG/usr/bin/$PRGNAM
-ln -s $PRGNAM.py $PKG/usr/bin/$PRGNAM
+# Compress man page
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/ctpv/ctpv.info b/graphics/ctpv/ctpv.info
new file mode 100644
index 0000000000..ed548b1171
--- /dev/null
+++ b/graphics/ctpv/ctpv.info
@@ -0,0 +1,10 @@
+PRGNAM="ctpv"
+VERSION="1.1"
+HOMEPAGE="https://github.com/NikitaIvanovV/ctpv"
+DOWNLOAD="https://github.com/NikitaIvanovV/ctpv/archive/v1.1/ctpv-1.1.tar.gz"
+MD5SUM="d52fb7bbd5b3de1ad15790f1bdf9aa08"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/graphics/ctpv/slack-desc b/graphics/ctpv/slack-desc
new file mode 100644
index 0000000000..836faa978c
--- /dev/null
+++ b/graphics/ctpv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ctpv: ctpv (Image previews for lf file manager)
+ctpv:
+ctpv: ctpv is a file preview utility for terminals.
+ctpv:
+ctpv:
+ctpv:
+ctpv:
+ctpv:
+ctpv:
+ctpv:
+ctpv:
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild
index c7f3676018..2c20db3062 100644
--- a/graphics/darktable/darktable.SlackBuild
+++ b/graphics/darktable/darktable.SlackBuild
@@ -22,18 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230510 bkw: use cmake rpath support, so lensfun03 doesn't need
+# /etc/ld.so.conf.d/ any more.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=darktable
-VERSION=${VERSION:-3.4.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.2.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+# Slackware's lensfun isn't compatible
+LENSFUN=${LENSFUN:-lensfun03}
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
# SSE2 instructions are *required* at runtime. That's a proper subset of i686,
# but hopefully forcing i686 in the package name will alert users of older cpus.
+ case "$( uname -m )" in
i?86) ARCH=i686 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
@@ -85,6 +90,8 @@ find -L . \
mkdir -p build
cd build
cmake \
+ -DCMAKE_INSTALL_RPATH=/opt/$LENSFUN/lib$LIBDIRSUFFIX \
+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -93,6 +100,9 @@ cd build
-DUSE_LIBSECRET=On \
-DBINARY_PACKAGE_BUILD=1 \
-DDONT_USE_INTERNAL_LUA=0 \
+ -DLensFun_INCLUDE_DIR="/opt/$LENSFUN/include/lensfun" \
+ -DLensFun_LIBRARIES="/opt/$LENSFUN/lib$LIBDIRSUFFIX" \
+ -DLensFun_LIBRARY="/opt/$LENSFUN/lib$LIBDIRSUFFIX/liblensfun.so" \
-DCMAKE_BUILD_TYPE=Release ..
VERBOSE=1 make
make install DESTDIR=$PKG
@@ -108,7 +118,10 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mv $PKG/usr/share/doc $PKG/usr
mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
# Add a few missed docs
-cp -a doc/ChangeLog doc/NEWS doc/TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CONTRIBUTING.md LICENSE RELEASE_NOTES.md LICENSE AUTHORS \
+ doc/thumbnail*.txt doc/grouping.txt doc/*.md doc/NEWS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM )
diff --git a/graphics/darktable/darktable.info b/graphics/darktable/darktable.info
index 8825b51e24..38835785d1 100644
--- a/graphics/darktable/darktable.info
+++ b/graphics/darktable/darktable.info
@@ -1,10 +1,10 @@
PRGNAM="darktable"
-VERSION="3.4.0"
+VERSION="4.2.1"
HOMEPAGE="https://www.darktable.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-3.4.0/darktable-3.4.0.tar.xz"
-MD5SUM_x86_64="e360fbf37eb256ce8c31c2181e5197c2"
-REQUIRES="gmic pugixml"
+DOWNLOAD_x86_64="https://github.com/darktable-org/darktable/releases/download/release-4.2.1/darktable-4.2.1.tar.xz"
+MD5SUM_x86_64="ac7b028c0768f19ce9cb604beaac3d86"
+REQUIRES="gmic pugixml lensfun03"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/dblatex/dblatex.SlackBuild b/graphics/dblatex/dblatex.SlackBuild
index 5a0d0d0bee..d3a96042c0 100644
--- a/graphics/dblatex/dblatex.SlackBuild
+++ b/graphics/dblatex/dblatex.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,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"
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index 16c0e9651c..ef2c76e027 100644
--- a/graphics/djview4/djview4.SlackBuild
+++ b/graphics/djview4/djview4.SlackBuild
@@ -36,7 +36,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +54,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"
diff --git a/graphics/draw.io/slack-desc b/graphics/draw.io/slack-desc
deleted file mode 100644
index e7f9df28df..0000000000
--- a/graphics/draw.io/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-draw.io: draw.io (powerful diagram editor)
-draw.io:
-draw.io: Easy to use diagram editor that can create flowcharts, process
-draw.io: diagrams, org charts, UML, ER diagrams, network diagrams and much
-draw.io: more.
-draw.io:
-draw.io: Supports on-line integration with Google Drive, GitHub, Dropbox,
-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:
diff --git a/graphics/draw.io/README b/graphics/drawio/README
index b752fd5a76..b752fd5a76 100644
--- a/graphics/draw.io/README
+++ b/graphics/drawio/README
diff --git a/graphics/drawio/doinst.sh b/graphics/drawio/doinst.sh
new file mode 100644
index 0000000000..c07153b007
--- /dev/null
+++ b/graphics/drawio/doinst.sh
@@ -0,0 +1,15 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/draw.io/draw.io.SlackBuild b/graphics/drawio/drawio.SlackBuild
index 71d5e72fa7..568f2b1b02 100644
--- a/graphics/draw.io/draw.io.SlackBuild
+++ b/graphics/drawio/drawio.SlackBuild
@@ -23,26 +23,21 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+# 2022/10/08 - Updated to upstream V20.3.0
+# - Updated package name draw.io -> drawio to be consistent with
+# upstream naming adjustment.
# 2019/12/22 - Updated to upstream V12.4.2
# 2019/09/08 - Updated to upstream V11.2.5
#
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=draw.io
-VERSION=${VERSION:-12.4.2}
+PRGNAM=drawio
+VERSION=${VERSION:-20.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,6 +51,14 @@ case "$(uname -m)" in
;;
esac
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
set -e
rm -rf $PKG
@@ -64,16 +67,23 @@ cd $PKG
rpm2cpio $CWD/$PRGNAM-$ARCH-$VERSION.rpm | cpio -vdium
+# Remove useless links that clutter the /usr file system.
+rm -rf usr/lib/.build-id
+
+# Prevent sbopkglint error
+mv usr/share/icons/hicolor/720x720 usr/share/icons/hicolor/718x718
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cp opt/draw.io/LICENSES.chromium.html $PKG/usr/doc/$PRGNAM-$VERSION
-cp opt/draw.io/LICENSE.electron.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp opt/$PRGNAM/LICENSES.chromium.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp opt/$PRGNAM/LICENSE.electron.txt $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/draw.io/draw.io.info b/graphics/drawio/drawio.info
index a81d7980c8..8b3aa6f253 100644
--- a/graphics/draw.io/draw.io.info
+++ b/graphics/drawio/drawio.info
@@ -1,10 +1,10 @@
-PRGNAM="draw.io"
-VERSION="12.4.2"
+PRGNAM="drawio"
+VERSION="20.3.0"
HOMEPAGE="https://www.draw.io"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-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"
+DOWNLOAD_x86_64="https://github.com/jgraph/drawio-desktop/releases/download/v20.3.0/drawio-x86_64-20.3.0.rpm"
+MD5SUM_x86_64="8fe12644883c373cc45dddc4c0eabfdf"
REQUIRES=""
MAINTAINER="Wayne Cuddy"
EMAIL="wcuddy@gmail.com"
diff --git a/graphics/drawio/slack-desc b/graphics/drawio/slack-desc
new file mode 100644
index 0000000000..48d60fdcbe
--- /dev/null
+++ b/graphics/drawio/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+drawio: drawio (powerful diagram editor)
+drawio:
+drawio: Easy to use diagram editor that can create flowcharts, process
+drawio: diagrams, org charts, UML, ER diagrams, network diagrams and much
+drawio: more.
+drawio:
+drawio: Supports on-line integration with Google Drive, GitHub, Dropbox,
+drawio: OneDrive and Trello. Supports exporting diagrams to several popular
+drawio: formats. Can be used online at https://www.draw.io or offline using
+drawio: this package.
+drawio:
diff --git a/graphics/dvisvgm/README b/graphics/dvisvgm/README
deleted file mode 100644
index 148ce481e5..0000000000
--- a/graphics/dvisvgm/README
+++ /dev/null
@@ -1,35 +0,0 @@
-dvisvgm is a fast DVI (and EPS) to SVG converter
-
-The command-line utility dvisvgm is a tool for TeX/LaTeX users. It
-converts DVI and EPS files to the XML-based scalable vector graphics
-format SVG. The latest releases support standard DVI files (format 2)
-as well as DVI output created by pTeX in vertical mode (format 3), and
-XeTeX (format 5 and 6, also known as XDV).
-
-dvisvgm version 1.6 is present in texlive-2014052. This separate
-package presents an updated version 1.11 of dvisvgm offering various
-bugfixes and the following main features:
-
-* Complete font support including virtual fonts, evaluation of font
- encodings, CMap files, sub-font definitions and font maps.
-* Glyph outlines of all required fonts are embedded into the generated
- SVG files.
-* Glyph outlines of fonts that are not available in a vector format are
- generated on-the-fly by vectorizing METAFONT's bitmap output.
-* dvisvgm allows to replace font definitions by paths so that
- applications without SVG font support are enabled to render dvisvgm's
- output properly.
-* Computes tight bounding boxes for the generated graphics, but
- supports common paper formats and arbitrary user-defined sizes
- as well.
-* Option --eps allows to convert EPS files to SVG.
-* Intersections of clipping paths can be computed directly instead of
- delegating this task to the SVG renderer. This increases the
- compatibility of the generated SVG files.
-* Approximates PostScript color gradient fills not directly supported
- by SVG 1.1.
-* Optionally creates compressed SVGZ files.
-* Provides options for applying page transformations, like translation,
- rotation, scaling, and skewing.
-* Evaluates color, emTeX, tpic, hyperref/HyperTeX, PDF mapfile, and
- PostScript specials.
diff --git a/graphics/dvisvgm/c-std.h.diff b/graphics/dvisvgm/c-std.h.diff
deleted file mode 100644
index 7f8d403523..0000000000
--- a/graphics/dvisvgm/c-std.h.diff
+++ /dev/null
@@ -1,14 +0,0 @@
---- c-std.h 2010-05-17 22:01:37.000000000 +0200
-+++ c-std.h.new 2015-11-19 10:18:18.000000000 +0100
-@@ -93,9 +93,9 @@
- #else
- #ifndef WIN32
- /* `popen' and `pclose' are part of POSIX.2, not POSIX.1. So
-- STDC_HEADERS isn't enough. */
-+ STDC_HEADERS isn't enough.
- extern FILE *popen ();
--extern int pclose ();
-+extern int pclose (); */
- #endif /* not WIN32 */
- #endif /* not VMS */
-
diff --git a/graphics/dvisvgm/dvisvgm.info b/graphics/dvisvgm/dvisvgm.info
deleted file mode 100644
index 7d343a50be..0000000000
--- a/graphics/dvisvgm/dvisvgm.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="dvisvgm"
-VERSION="1.12"
-HOMEPAGE="http://dvisvgm.bplaced.net"
-DOWNLOAD="https://github.com/mgieseki/dvisvgm/releases/download/1.12/dvisvgm-1.12.tar.gz"
-MD5SUM="a6b3870156cdbdb1eadc543a3f7d5b8d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="potrace"
-MAINTAINER="Igor"
-EMAIL="igor29768@gmail.com"
diff --git a/graphics/dvisvgm/slack-desc b/graphics/dvisvgm/slack-desc
deleted file mode 100644
index 96cddb1654..0000000000
--- a/graphics/dvisvgm/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-dvisvgm: dvisvgm (converts DVI and EPS files to SVG -Scalable Vector Graphics)
-dvisvgm:
-dvisvgm: dvisvgm a tool for TeX/LaTeX users to converts DVI and
-dvisvgm: EPS files to the XML-based scalable vector graphics format SVG
-dvisvgm: version 1.1.
-dvisvgm: It currently supports standard DVI files (format 2) as well as
-dvisvgm: DVI output created by pTeX in vertical mode (format 3), and
-dvisvgm: XeTeX (format 5 and 6, also known as XDV).
-dvisvgm: Option --eps allows to convert EPS files to SVG.
-dvisvgm:
-dvisvgm: http://dvisvgm.bplaced.net
diff --git a/graphics/embree/embree.SlackBuild b/graphics/embree/embree.SlackBuild
index 5b591244b5..b3d6cf0506 100644
--- a/graphics/embree/embree.SlackBuild
+++ b/graphics/embree/embree.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=embree
-VERSION=${VERSION:-3.12.1}
+VERSION=${VERSION:-4.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -125,7 +125,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_DOCDIR=/usr/doc \
- -DEMBREE_ISPC_SUPPORT=OFF \
+ -DEMBREE_ISPC_SUPPORT=ON \
-DEMBREE_TASKING_SYSTEM=OFF \
-DEMBREE_TUTORIALS=OFF \
-DCMAKE_BUILD_TYPE=Release ..
diff --git a/graphics/embree/embree.info b/graphics/embree/embree.info
index 7406ec1f4a..17b729fec0 100644
--- a/graphics/embree/embree.info
+++ b/graphics/embree/embree.info
@@ -1,10 +1,10 @@
PRGNAM="embree"
-VERSION="3.12.1"
+VERSION="4.3.1"
HOMEPAGE="https://www.embree.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/embree/embree/archive/v3.12.1/embree-3.12.1.tar.gz"
-MD5SUM_x86_64="2d24fa44db63ae1900cf6279140abd8a"
-REQUIRES="glfw3"
+DOWNLOAD_x86_64="https://github.com/embree/embree/archive/v4.3.1/embree-4.3.1.tar.gz"
+MD5SUM_x86_64="dfb88f2019e093052a72a2cc6a43dfc4"
+REQUIRES="glfw3 ispc"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
index e5ee3b4272..1e06bc91c6 100644
--- a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
+++ b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
@@ -23,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230629 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install binaries stripped.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=enblend-enfuse
VERSION=${VERSION:-20191019_4c30a326b3f4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -76,9 +76,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
#sed -i '/^#include <vector>$/a #include <limits>' src/minimizer.h
@@ -96,7 +96,7 @@ cd build
-Wno-dev ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd -
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/graphics/entangle/README b/graphics/entangle/README
index 7a429e9ce3..81780b1da2 100644
--- a/graphics/entangle/README
+++ b/graphics/entangle/README
@@ -1,8 +1,15 @@
-Entangle is Open Source software licensed under the GNU GPL v3+.
-It is built on top of libgphoto using GTK-3 for its interface.
-It is fully colour managed, auto-detecting system monitor profile and
-applying the neccessary transforms when displaying images.
+Entangle provides a graphical interface for tethered camera control
+and capture, which means taking photographs with a digital camera
+completely controlled from the computer.
-Entangle provides a graphical interface for "tethered shooting",
-aka taking photographs with a digital camera completely controlled
-from the computer.
+With a sufficiently capable digital SLR camera, Entangle allows to:
+
+- Trigger the shutter from the computer
+- Live preview of the scene before shooting
+- Automatic download and display of photos as they are shot
+- Control of all camera settings from the computer
+
+Licensed under the GNU GPL v3+, it is built on top of libgphoto
+and uses GTK3 for its interface. It is fully colour-managed, auto-
+detects the system's monitor profile and applies the necessary
+transforms when displaying images.
diff --git a/graphics/entangle/doinst.sh b/graphics/entangle/doinst.sh
index 6fa145a19f..2d36e69d79 100644
--- a/graphics/entangle/doinst.sh
+++ b/graphics/entangle/doinst.sh
@@ -7,3 +7,10 @@ if [ -e usr/share/glib-2.0/schemas ]; then
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
fi
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/graphics/entangle/entangle.SlackBuild b/graphics/entangle/entangle.SlackBuild
index df2087fb47..3311950f6c 100644
--- a/graphics/entangle/entangle.SlackBuild
+++ b/graphics/entangle/entangle.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for entangle
-# Copyright 2014 Soydaner Ulker Istanbul,Turkey
+# Copyright 2014 Soydaner Ulker, Istanbul,Turkey
+# Copyright 2023 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=entangle
-VERSION=${VERSION:-0.7.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -70,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $TMP/$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,39 +77,36 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i -e 's/gnome-icon-theme-symbolic/adwaita-icon-theme/g' configure
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --disable-schemas-compile
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-DOCS="AUTHORS COPYING ChangeLog NEWS README"
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --buildtype=release \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Compress man page
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+
+# Install documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS ChangeLog CONTRIBUTING.md COPYING NEWS README.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/entangle/entangle.info b/graphics/entangle/entangle.info
index b1eb789f8e..c02b5558c3 100644
--- a/graphics/entangle/entangle.info
+++ b/graphics/entangle/entangle.info
@@ -1,8 +1,8 @@
PRGNAM="entangle"
-VERSION="0.7.0"
-HOMEPAGE="http://entangle-photo.org"
-DOWNLOAD="http://entangle-photo.org/download/sources/entangle-0.7.0.tar.gz"
-MD5SUM="bdb5fab70276ea27c4614fecfa5c1d86"
+VERSION="3.0"
+HOMEPAGE="https://entangle-photo.org"
+DOWNLOAD="https://entangle-photo.org/download/sources/entangle-3.0.tar.xz"
+MD5SUM="32060351f18a8caa04e3bf7dd888e54d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libpeas"
diff --git a/graphics/entangle/slack-desc b/graphics/entangle/slack-desc
index 9715d5075e..8eecd39c5a 100644
--- a/graphics/entangle/slack-desc
+++ b/graphics/entangle/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-entangle: entangle (Digital camera control GUI)
+entangle: entangle (tethered camera control and capture)
entangle:
-entangle: Entangle provides a graphical interface for "tethered shooting"
-entangle: aka taking photographs with a digital camera completely controlled
-entangle: from the computer.
+entangle: Entangle provides a graphical interface for tethered camera control
+entangle: and capture, which means taking photographs with a digital camera
+entangle: completely controlled from the computer.
entangle:
-entangle: homepage: http://entangle-photo.org/
+entangle: Homepage: https://entangle-photo.org
entangle:
entangle:
entangle:
diff --git a/graphics/eog-plugins/README b/graphics/eog-plugins/README
new file mode 100644
index 0000000000..9097e1d10b
--- /dev/null
+++ b/graphics/eog-plugins/README
@@ -0,0 +1,3 @@
+It's a collection of plugins for use with the Eye of GNOME Image Viewer.
+The included plugins provide a map view for where the picture was taken,
+display of Exif information, Zoom to fit, etc
diff --git a/graphics/mcomix3/doinst.sh b/graphics/eog-plugins/doinst.sh
index 0254ea06d8..9091c626ac 100644
--- a/graphics/mcomix3/doinst.sh
+++ b/graphics/eog-plugins/doinst.sh
@@ -12,4 +12,4 @@ 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
+fi
diff --git a/graphics/eog-plugins/eog-plugins.SlackBuild b/graphics/eog-plugins/eog-plugins.SlackBuild
new file mode 100644
index 0000000000..53e41e640c
--- /dev/null
+++ b/graphics/eog-plugins/eog-plugins.SlackBuild
@@ -0,0 +1,107 @@
+#!/bin/bash
+
+# Slackware build script for eog-plugins
+
+# Copyright 2023 Nathaniel Russell <naterussell83@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=eog-plugins
+VERSION=${VERSION:-3.26.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $CWD/README AUTHORS COPYING ChangeLog* NEWS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/eog-plugins/eog-plugins.info b/graphics/eog-plugins/eog-plugins.info
new file mode 100644
index 0000000000..2f9c72e361
--- /dev/null
+++ b/graphics/eog-plugins/eog-plugins.info
@@ -0,0 +1,10 @@
+PRGNAM="eog-plugins"
+VERSION="3.26.8"
+HOMEPAGE="https://wiki.gnome.org/Apps/EyeOfGnome"
+DOWNLOAD="https://download.gnome.org/sources/eog-plugins/3.26/eog-plugins-3.26.8.tar.xz"
+MD5SUM="54dd0b8841abccb0023f72b0969505ef"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="eog"
+MAINTAINER="Nathaniel Russell"
+EMAIL="naterussell83@gmail.com"
diff --git a/graphics/eog-plugins/slack-desc b/graphics/eog-plugins/slack-desc
new file mode 100644
index 0000000000..164d287263
--- /dev/null
+++ b/graphics/eog-plugins/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+eog-plugins: eog-plugins (Plugins for Eye of GNOME)
+eog-plugins:
+eog-plugins: Plugins to extend the functionality of image viewing for the Eye of
+eog-plugins: GNOME.
+eog-plugins:
+eog-plugins: Homepage: https://wiki.gnome.org/Apps/EyeOfGnome
+eog-plugins:
+eog-plugins:
+eog-plugins:
+eog-plugins:
+eog-plugins:
diff --git a/graphics/eog/README b/graphics/eog/README
new file mode 100644
index 0000000000..06ddb358eb
--- /dev/null
+++ b/graphics/eog/README
@@ -0,0 +1,3 @@
+The Eye of GNOME image viewer (eog) is the official image viewer for the
+GNOME desktop. It can view single image files in a variety of formats,
+as well as large image collections.
diff --git a/graphics/eog/a06e6325907e136678b0bbe7058c25d688034afd.patch b/graphics/eog/a06e6325907e136678b0bbe7058c25d688034afd.patch
new file mode 100644
index 0000000000..09fa4ee5cd
--- /dev/null
+++ b/graphics/eog/a06e6325907e136678b0bbe7058c25d688034afd.patch
@@ -0,0 +1,77 @@
+From a06e6325907e136678b0bbe7058c25d688034afd Mon Sep 17 00:00:00 2001
+From: Patrick Griffis <pgriffis@igalia.com>
+Date: Tue, 21 Dec 2021 16:35:36 -0600
+Subject: [PATCH] Update libportal usage
+
+libportal 0.5 is the first release with a stable API so some changes
+were made.
+---
+ meson.build | 8 ++++++--
+ org.gnome.Eog.json | 9 +++++----
+ src/eog-util.c | 2 +-
+ 3 files changed, 12 insertions(+), 7 deletions(-)
+
+diff --git a/meson.build b/meson.build
+index 9a32e4bb..9d49aa45 100644
+--- a/meson.build
++++ b/meson.build
+@@ -165,11 +165,15 @@ config_h.set('HAVE_EXEMPI', enable_xmp)
+ # xdg-desktop-portal support with libportal (optional)
+ enable_libportal = get_option('libportal')
+ if enable_libportal
+- libportal_dep = dependency('libportal', version: '>= 0.3', required: false)
++ libportal_dep = dependency('libportal', version: '>= 0.5', required: false)
+ assert(libportal_dep.found() and cc.has_header('libportal/portal.h', dependencies: libportal_dep),
+ 'xdg-desktop-portal support requested but library not found. Please use -Dlibportal=false')
+
+- common_deps += libportal_dep
++ libportal_gtk3_dep = dependency('libportal-gtk3', version: '>= 0.5', required: false)
++ assert(libportal_gtk3_dep.found() and cc.has_header('libportal-gtk3/portal-gtk3.h', dependencies: libportal_gtk3_dep),
++ 'xdg-desktop-portal support requested but library not found. Please use -Dlibportal=false')
++
++ common_deps += [libportal_dep, libportal_gtk3_dep]
+ endif
+ config_h.set('HAVE_LIBPORTAL', enable_libportal)
+
+diff --git a/org.gnome.Eog.json b/org.gnome.Eog.json
+index 94f09234..b7def6af 100644
+--- a/org.gnome.Eog.json
++++ b/org.gnome.Eog.json
+@@ -48,16 +48,17 @@
+ {
+ "name" : "libportal",
+ "config-opts" : [
+- "--libdir=/app/lib",
+- "--buildtype=debugoptimized"
++ "--buildtype=debugoptimized",
++ "-Dbackends=gtk3",
++ "-Dintrospection=false",
++ "-Ddocs=false"
+ ],
+ "buildsystem" : "meson",
+- "builddir" : true,
+ "sources" : [
+ {
+ "type" : "git",
+ "url" : "https://github.com/flatpak/libportal.git",
+- "tag" : "0.4"
++ "tag" : "0.5"
+ }
+ ]
+ },
+diff --git a/src/eog-util.c b/src/eog-util.c
+index 90b9768e..56d23472 100644
+--- a/src/eog-util.c
++++ b/src/eog-util.c
+@@ -45,7 +45,7 @@
+ #include <glib/gi18n.h>
+ #ifdef HAVE_LIBPORTAL
+ #include <libportal/portal.h>
+-#include <libportal/portal-gtk3.h>
++#include <libportal-gtk3/portal-gtk3.h>
+ #endif
+
+ void
+--
+GitLab
+
diff --git a/graphics/eog/doinst.sh b/graphics/eog/doinst.sh
new file mode 100644
index 0000000000..9091c626ac
--- /dev/null
+++ b/graphics/eog/doinst.sh
@@ -0,0 +1,15 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/eog/eog.SlackBuild b/graphics/eog/eog.SlackBuild
new file mode 100644
index 0000000000..d546a6e3aa
--- /dev/null
+++ b/graphics/eog/eog.SlackBuild
@@ -0,0 +1,133 @@
+#!/bin/bash
+
+# Slackware build script for eog
+
+# Copyright 2023 Nathaniel Russell <naterussell83@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# 2023 Apr 10 - Added libportal patch to allow building this older eog version
+# to build against newer libportal versions. The patch can be removed once a newer
+# slackware version is released and eog can be upgraded.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=eog
+VERSION=${VERSION:-41.2}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ 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 {} \;
+
+# Conditionally apply patch to allow building with newer versions of
+# libportal, if detected:
+if (pkg-config --atleast-version 0.5 libportal) ; then
+ echo "Patching build to allow building with libportal >= 0.5"
+ patch -Np1 -i $CWD/a06e6325907e136678b0bbe7058c25d688034afd.patch
+else
+ echo "Skipping libportal patch"
+fi
+
+mkdir build
+cd build
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+meson setup ..\
+ --prefix=/usr \
+ --buildtype=release \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --sysconfdir=/etc \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --localstatedir=/var \
+ -Ddefault_library=shared \
+ -Dlibexif=true \
+ -Dcms=true \
+ -Dxmp=true \
+ -Dlibjpeg=true \
+ -Dlibrsvg=true \
+ -Dgtk_doc=false \
+ -Dintrospection=true \
+ -Dinstalled_tests=false \
+ -Dlibportal=true \
+ -Dprofile=default
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog* HACKING MAINTAINERS NEWS README.md THANKS \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/eog/eog.info b/graphics/eog/eog.info
new file mode 100644
index 0000000000..39cecc97e5
--- /dev/null
+++ b/graphics/eog/eog.info
@@ -0,0 +1,10 @@
+PRGNAM="eog"
+VERSION="41.2"
+HOMEPAGE="https://wiki.gnome.org/Apps/EyeOfGnome"
+DOWNLOAD="https://download.gnome.org/sources/eog/41/eog-41.2.tar.xz"
+MD5SUM="0418d8953ea59d16eba6b3f2bc52f20f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="gnome-desktop libpeas exempi libportal"
+MAINTAINER="Nathaniel Russell"
+EMAIL="naterussell83@gmail.com"
diff --git a/graphics/eog/slack-desc b/graphics/eog/slack-desc
new file mode 100644
index 0000000000..d95d6502f7
--- /dev/null
+++ b/graphics/eog/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+eog: eog (This is the Eye of GNOME)
+eog:
+eog: This is the Eye of GNOME, an image viewer program.
+eog: It is meant to be a fast and functional image viewer.
+eog:
+eog:
+eog:
+eog:
+eog:
+eog: https://gitlab.gnome.org/GNOME/eog
+eog:
diff --git a/graphics/exif/exif.SlackBuild b/graphics/exif/exif.SlackBuild
index d9f87de2d9..fa7534e3b3 100644
--- a/graphics/exif/exif.SlackBuild
+++ b/graphics/exif/exif.SlackBuild
@@ -47,15 +47,12 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
diff --git a/graphics/exiftags/exiftags.SlackBuild b/graphics/exiftags/exiftags.SlackBuild
index b8c8641b13..50ae84455a 100644
--- a/graphics/exiftags/exiftags.SlackBuild
+++ b/graphics/exiftags/exiftags.SlackBuild
@@ -15,7 +15,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -33,8 +33,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"
diff --git a/graphics/farbfeld/README b/graphics/farbfeld/README
index 219510bc34..ab1a17dbf7 100644
--- a/graphics/farbfeld/README
+++ b/graphics/farbfeld/README
@@ -1,11 +1,6 @@
-farbfeld is a lossless image format which is easy to parse, pipe
-and compress.
+farbfeld (lossless image format from suckless.org)
-farbfeld includes the following programs:
+farbfeld is a lossless image format which is easy to parse, pipe
+and compress. farbfeld includes the following programs:
-ff2jpg
-ff2pam
-ff2png
-ff2ppm
-jpg2ff
-png2ff
+2ff ff2jpg ff2pam ff2png ff2ppm jpg2ff png2ff
diff --git a/graphics/farbfeld/farbfeld.SlackBuild b/graphics/farbfeld/farbfeld.SlackBuild
index 74cac1f10d..1792d213c4 100644
--- a/graphics/farbfeld/farbfeld.SlackBuild
+++ b/graphics/farbfeld/farbfeld.SlackBuild
@@ -2,31 +2,23 @@
# Slackware build script for ferbfeld
-# Copyright 2022 Brandon Pribula, BC Canada
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Original author: 2022 Brandon Pribula, BC Canada.
+# Now maintained by B. Watson (urchlay@slackware.uk).
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230914 bkw: BUILD=2
+# - take over maintenance.
+# - relicense as WTFPL.
+# - tweak README and slack-desc.
+# - remove some template cruft.
+# - use our flags (reinstate -O2).
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=farbfeld
VERSION=${VERSION:-4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -47,20 +39,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Keep the optimization flag as upstream intended,
-# so remove -O2 from SLKCFLAGS.
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-fPIC"
- LIBDIRSUFFIX="64"
+ SLKCFLAGS="-O2 -fPIC"
else
- SLKCFLAGS=""
- LIBDIRSUFFIX=""
+ SLKCFLAGS="-O2"
fi
set -e
@@ -72,31 +58,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 {} \;
+chmod 644 *
-# Modify config.mk so CFLAGS can be prepended.
-sed -i '/CFLAGS/s/=/+=/' config.mk
+sed -i "/CFLAGS/s,-Os,$SLKCFLAGS," config.mk
-CFLAGS="$SLKCFLAGS" \
make
-make install \
- PREFIX=/usr \
- MANPREFIX=/usr/man \
- DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+make install PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a FORMAT LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a FORMAT LICENSE README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/farbfeld/farbfeld.info b/graphics/farbfeld/farbfeld.info
index 921a405649..a39cf90aa1 100644
--- a/graphics/farbfeld/farbfeld.info
+++ b/graphics/farbfeld/farbfeld.info
@@ -6,5 +6,5 @@ MD5SUM="1e39351f5e8c9e2b5910959565a23349"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Brandon Pribula"
-EMAIL="b.pribs11@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/farbfeld/slack-desc b/graphics/farbfeld/slack-desc
index 0b20975f06..d003ab0f81 100644
--- a/graphics/farbfeld/slack-desc
+++ b/graphics/farbfeld/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-farbfeld: farbfeld (lossless image format)
-farbfeld:
-farbfeld: farbfeld is a lossless image format which is easy to parse, pipe
-farbfeld: and compress.
+farbfeld: farbfeld (lossless image format from suckless.org)
farbfeld:
+farbfeld: farbfeld is a lossless image format which is easy to parse, pipe
+farbfeld: and compress. farbfeld includes the following programs:
farbfeld:
+farbfeld: 2ff ff2jpg ff2pam ff2png ff2ppm jpg2ff png2ff
farbfeld:
+farbfeld: Homepage: https://tools.suckless.org/farbfeld/
farbfeld:
farbfeld:
-farbfeld: Homepage: https://tools.suckless.org/farbfeld/
farbfeld:
diff --git a/graphics/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild
index 1a90c1b897..66d4846e1e 100644
--- a/graphics/fbida/fbida.SlackBuild
+++ b/graphics/fbida/fbida.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Luis Henrique <email removed>
-# Modified and currently maintained by B. Watson <yalhcru@gmail.com>
+# Modified and currently maintained by B. Watson <urchlay@slackware.uk>
# 20170921 bkw:
# - update for v2.14
diff --git a/graphics/fbida/fbida.info b/graphics/fbida/fbida.info
index 3d085e3e6c..96257067c8 100644
--- a/graphics/fbida/fbida.info
+++ b/graphics/fbida/fbida.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/fbv/fbv.SlackBuild b/graphics/fbv/fbv.SlackBuild
index 71ff16e7a4..a2317b45e9 100644
--- a/graphics/fbv/fbv.SlackBuild
+++ b/graphics/fbv/fbv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fbv
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/fbv/fbv.info b/graphics/fbv/fbv.info
index 198c9ca198..497283391c 100644
--- a/graphics/fbv/fbv.info
+++ b/graphics/fbv/fbv.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/fim/fim.info b/graphics/fim/fim.info
index 25e19a7188..bb9277b91f 100644
--- a/graphics/fim/fim.info
+++ b/graphics/fim/fim.info
@@ -1,8 +1,8 @@
PRGNAM="fim"
VERSION="0.6_trunk"
-HOMEPAGE="http://www.nongnu.org/fbi-improved/"
-DOWNLOAD="http://download.savannah.nongnu.org/releases/fbi-improved/fim-0.6-trunk.tar.gz"
-MD5SUM="96492d5c53f806ebdf6d624e73360bdd"
+HOMEPAGE="https://www.nongnu.org/fbi-improved/"
+DOWNLOAD="https://downloads.sourceforge.net/project/dslackw/src/fim/fim-0.6-trunk.tar.gz"
+MD5SUM="116d513030ef26cd4dff9aada2bea77a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/findimagedupes/findimagedupes.SlackBuild b/graphics/findimagedupes/findimagedupes.SlackBuild
index 1f65f19254..8bf3dd0a51 100644
--- a/graphics/findimagedupes/findimagedupes.SlackBuild
+++ b/graphics/findimagedupes/findimagedupes.SlackBuild
@@ -2,16 +2,17 @@
# Slackware build script for findimagedupes
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230105 bkw: update for v2.20.1.
# 20210910 bkw: update for v2.19.1.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=findimagedupes
-VERSION=${VERSION:-2.19.1}
+VERSION=${VERSION:-2.20.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/graphics/findimagedupes/findimagedupes.info b/graphics/findimagedupes/findimagedupes.info
index 6c71c02609..344d5c5b74 100644
--- a/graphics/findimagedupes/findimagedupes.info
+++ b/graphics/findimagedupes/findimagedupes.info
@@ -1,10 +1,10 @@
PRGNAM="findimagedupes"
-VERSION="2.19.1"
+VERSION="2.20.1"
HOMEPAGE="http://www.jhnc.org/findimagedupes/"
-DOWNLOAD="http://www.jhnc.org/findimagedupes/findimagedupes-2.19.1.tar.gz"
-MD5SUM="86be2910f2b5af31b5015e8db2d51a4a"
+DOWNLOAD="http://www.jhnc.org/findimagedupes/findimagedupes-2.20.1.tar.gz"
+MD5SUM="8f2b0a2f7936d2db50d1d7fee22a76e2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Inline-C perl-file-mimeinfo GraphicsMagick"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/flam3/README b/graphics/flam3/README
new file mode 100644
index 0000000000..e51cf13228
--- /dev/null
+++ b/graphics/flam3/README
@@ -0,0 +1,7 @@
+FLAM3 - cosmic recursive fractal flames
+
+This is free software to render fractal flames.
+Flam3-animate makes animations, and flam3-render
+makes still images. Flam3-genome creates and
+manipulates genomes (parameter sets). A C library
+is also installed.
diff --git a/graphics/flam3/flam3.SlackBuild b/graphics/flam3/flam3.SlackBuild
new file mode 100644
index 0000000000..1c1737281b
--- /dev/null
+++ b/graphics/flam3/flam3.SlackBuild
@@ -0,0 +1,111 @@
+#!/bin/bash
+
+# Slackware build script for flam3
+
+# Copyright 2022 chickazee4 <lyndsay@vivaldi.net>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=flam3
+VERSION=${VERSION:-3.1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG/usr/man -type 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
+mv $TMP/$PRGNAM-$VERSION/README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+mv $TMP/$PRGNAM-$VERSION/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/flam3/flam3.info b/graphics/flam3/flam3.info
new file mode 100644
index 0000000000..1617804d95
--- /dev/null
+++ b/graphics/flam3/flam3.info
@@ -0,0 +1,10 @@
+PRGNAM="flam3"
+VERSION="3.1.1"
+HOMEPAGE="https://flam3.com"
+DOWNLOAD="https://github.com/scottdraves/flam3/archive/v3.1.1/flam3-3.1.1.tar.gz"
+MD5SUM="23f51a80cb4aa6f4268293adeeeb7838"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="chickazee4"
+EMAIL="lyndsay@vivaldi.net"
diff --git a/graphics/flam3/slack-desc b/graphics/flam3/slack-desc
new file mode 100644
index 0000000000..ff5e640312
--- /dev/null
+++ b/graphics/flam3/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+flam3: flam3 (the original flam3 renderer)
+flam3:
+flam3: flam3 is a fractal flame renderer and the basis for more advanced
+flam3: software like Apophysis, Qosmic, and Chaotica.
+flam3:
+flam3: Homepage: https://flam3.com
+flam3:
+flam3:
+flam3:
+flam3:
+flam3:
diff --git a/graphics/flpsed/flpsed.SlackBuild b/graphics/flpsed/flpsed.SlackBuild
index 0690918aa9..1ce28cfc24 100644
--- a/graphics/flpsed/flpsed.SlackBuild
+++ b/graphics/flpsed/flpsed.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for flpsed
# Originally written by Jack Maddox <email removed>
-# Currently maintained by B. Watson <yalhcru@gmail.com>
+# Currently maintained by B. Watson <urchlay@slackware.uk>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/flpsed/flpsed.info b/graphics/flpsed/flpsed.info
index 3d37a50204..9399d7c9c6 100644
--- a/graphics/flpsed/flpsed.info
+++ b/graphics/flpsed/flpsed.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fltk"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/focus-stack/README b/graphics/focus-stack/README
new file mode 100644
index 0000000000..a0040a44d3
--- /dev/null
+++ b/graphics/focus-stack/README
@@ -0,0 +1,14 @@
+focus-stack is an application for fast and easy focus stacking.
+
+It takes a series of photographs captured from the same location but
+a different focus distances and then combines them to create a single
+photograph so that the complete subject is in focus. This is commonly
+called extended depth of field, or focus stacking. Typical use is for
+microscope photography where it is difficult to obtain large enough
+depth of field to cover the whole subject. The focus stacking
+algorithm used was invented and first described in "Complex Wavelets
+for Extended Depth-of-Field: A New Method for the Fusion of
+Multichannel Microscopy Images" by B. Forster, D. Van De Ville, J.
+Berent, D. Sage and M. Unser. The application also uses multiple
+algorithms from OpenCV library. Most importantly, findTransformECC
+is used to align the source images.
diff --git a/graphics/focus-stack/focus-stack.SlackBuild b/graphics/focus-stack/focus-stack.SlackBuild
new file mode 100644
index 0000000000..03680a34c6
--- /dev/null
+++ b/graphics/focus-stack/focus-stack.SlackBuild
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+# Slackware build script for focus-stack
+
+# Copyright 2024 Pedro Mendes, Farmington CT
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=focus-stack
+VERSION=${VERSION:-1.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# This only uses a Makefile, no config step
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+DESTDIR="$PKG" \
+prefix=/usr \
+make
+
+DESTDIR="$PKG" \
+prefix=/usr \
+make install
+
+# Move man pages
+mkdir -p $PKG/usr/man
+mv $PKG/usr/share/man/man1 $PKG/usr/man/
+rmdir $PKG/usr/share/man
+
+# Strip binaries and libraries
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type 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/imgs
+cp -a \
+ docs/focus-stack.html docs/focus-stack.md docs/Algorithms.md docs/imgs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# Copy examples into the package
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -a examples $PKG/usr/share/$PRGNAM
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/focus-stack/focus-stack.info b/graphics/focus-stack/focus-stack.info
new file mode 100644
index 0000000000..94dd70a8aa
--- /dev/null
+++ b/graphics/focus-stack/focus-stack.info
@@ -0,0 +1,10 @@
+PRGNAM="focus-stack"
+VERSION="1.4"
+HOMEPAGE="https://github.com/PetteriAimonen/focus-stack"
+DOWNLOAD="https://github.com/PetteriAimonen/focus-stack/archive/1.4/focus-stack-1.4.tar.gz"
+MD5SUM="c7a6b7b0b5bd666199dba1823fd27cc2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Pedro Mendes"
+EMAIL="pedro@gepasi.org"
diff --git a/graphics/focus-stack/slack-desc b/graphics/focus-stack/slack-desc
new file mode 100644
index 0000000000..38d587adf4
--- /dev/null
+++ b/graphics/focus-stack/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+focus-stack: focus-stack (Fast and easy focus stacking)
+focus-stack:
+focus-stack: focus-stack takes a set of photos taken at different focus settings
+focus-stack: and combines them into one, selecting the sharpest source image for
+focus-stack: each pixel position. This is commonly called extended depth of field,
+focus-stack: or focus stacking. Typical use is for microscope photography where it
+focus-stack: is difficult to obtain large enough depth of field to cover the whole
+focus-stack: subject. This application uses OpenCV library and its OpenCL
+focus-stack: acceleration interface.
+focus-stack:
+focus-stack:
diff --git a/graphics/fontforge/fontforge.info b/graphics/fontforge/fontforge.info
index 36ce98e00d..40ee270f73 100644
--- a/graphics/fontforge/fontforge.info
+++ b/graphics/fontforge/fontforge.info
@@ -2,7 +2,7 @@ PRGNAM="fontforge"
VERSION="20201107"
HOMEPAGE="http://fontforge.sourceforge.net"
DOWNLOAD="https://github.com/fontforge/fontforge/archive/20201107/fontforge-20201107.tar.gz \
- http://studioware.org/files/slackbuilds/source/cidmaps.tgz \
+ https://ponce.cc/slackware/sources/repo/cidmaps.tgz \
https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.11.1.tar.xz \
https://github.com/coreutils/gnulib/archive/v0.1/gnulib-0.1.tar.gz \
https://github.com/troydhanson/uthash/archive/v2.3.0/uthash-2.3.0.tar.gz"
@@ -14,5 +14,5 @@ MD5SUM="adf8fb57cdab2ec9bf74c0ac0280d2f2 \
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/graphics/fyre/doinst.sh b/graphics/fyre/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/graphics/fyre/doinst.sh
+++ b/graphics/fyre/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/fyre/fyre.SlackBuild b/graphics/fyre/fyre.SlackBuild
index 191165001b..48087c69a2 100644
--- a/graphics/fyre/fyre.SlackBuild
+++ b/graphics/fyre/fyre.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fyre
-# Copyright 2013-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2013-2023 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fyre
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -97,12 +97,16 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# no association with *.fa files, pls
+rm -rf $PKG/usr/share/mime
+rm -rf $PKG/usr/share/icons/hicolor/48x48
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared 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 README TODO \
+ AUTHORS ChangeLog COPYING README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/g3dviewer/g3dviewer.SlackBuild b/graphics/g3dviewer/g3dviewer.SlackBuild
index 89dc22206e..a6429b93c5 100644
--- a/graphics/g3dviewer/g3dviewer.SlackBuild
+++ b/graphics/g3dviewer/g3dviewer.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,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"
diff --git a/graphics/gbdfed/gbdfed.SlackBuild b/graphics/gbdfed/gbdfed.SlackBuild
index e99d94d320..ef73a90e2b 100644
--- a/graphics/gbdfed/gbdfed.SlackBuild
+++ b/graphics/gbdfed/gbdfed.SlackBuild
@@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
@@ -28,13 +28,13 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="NEWS README"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
index 316ba27406..c3e9c61e6b 100644
--- a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
+++ b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gdk-pixbuf-psd
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info
index 47664530bf..b6b412e8ee 100644
--- a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info
+++ b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/gifsicle/gifsicle.SlackBuild b/graphics/gifsicle/gifsicle.SlackBuild
index 4f8e459bf6..b33eb323f6 100644
--- a/graphics/gifsicle/gifsicle.SlackBuild
+++ b/graphics/gifsicle/gifsicle.SlackBuild
@@ -2,14 +2,16 @@
# Slackware build script for gifsicle
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240315 bkw: update for v1.95.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gifsicle
-VERSION=${VERSION:-1.93}
+VERSION=${VERSION:-1.95}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,6 +59,10 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# in v1.95, upstream claims we need autoconf >= 2.72, but it builds fine
+# with our 2.69 if we change the required version.
+sed -i '/AC_PREREQ/s,2\.72,2.69,' configure.ac
+
# 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 9032f72a99..6bacd6cb07 100644
--- a/graphics/gifsicle/gifsicle.info
+++ b/graphics/gifsicle/gifsicle.info
@@ -1,10 +1,10 @@
PRGNAM="gifsicle"
-VERSION="1.93"
+VERSION="1.95"
HOMEPAGE="https://www.lcdf.org/gifsicle/"
-DOWNLOAD="https://github.com/kohler/gifsicle/archive/v1.93/gifsicle-1.93.tar.gz"
-MD5SUM="beb45d12d78293a660dc3fb7c667a50b"
+DOWNLOAD="https://github.com/kohler/gifsicle/archive/v1.95/gifsicle-1.95.tar.gz"
+MD5SUM="0829444e48d58b6c0c6c6a33f5d087e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
index 4e5e8dbd33..eb22fb671c 100644
--- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
+++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
diff --git a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
index 8717df7da7..473ccbe6d3 100644
--- a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
+++ b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gimp-plugin-export-layers
-# Copyright 2018 - 2019 Andrew Strong, Blue Mountains, Australia.
+# Copyright 2018 - 2023 Andrew Strong, Blue Mountains, Australia.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gimp-plugin-export-layers
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-3.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
diff --git a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.info b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.info
index bd4d0a117f..6c952b7a8d 100644
--- a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.info
+++ b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.info
@@ -1,8 +1,8 @@
PRGNAM="gimp-plugin-export-layers"
-VERSION="3.3.1"
+VERSION="3.3.5"
HOMEPAGE="https://github.com/khalim19/gimp-plugin-export-layers"
-DOWNLOAD="https://github.com/khalim19/gimp-plugin-export-layers/releases/download/3.3.1/export_layers-3.3.1.zip"
-MD5SUM="8ba9097000829dc5051f920231aa2e8a"
+DOWNLOAD="https://github.com/khalim19/gimp-plugin-export-layers/releases/download/3.3.5/export_layers-3.3.5.zip"
+MD5SUM="498840b29c0d22afc0df884eb449ab11"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
index 15548724a8..9938485132 100644
--- a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
+++ b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
@@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gimp-wideangle-plugin
VERSION=${VERSION:-1.0.10}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,7 +66,7 @@ fi
GIMPPLUGINS=usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
mkdir -p $PKG/$GIMPPLUGINS
-gcc $SLKCFLAGS \
+gcc $SLKCFLAGS -lm \
$( pkg-config --cflags gimpui-2.0 gimp-2.0 gtk+-2.0 ) \
-o $PKG/$GIMPPLUGINS/$SRCNAM $SRC \
$( pkg-config --libs gimpui-2.0 gimp-2.0 gtk+-2.0 )
diff --git a/graphics/gliv/gliv.SlackBuild b/graphics/gliv/gliv.SlackBuild
index 45c796cb0a..c8a95215d8 100644
--- a/graphics/gliv/gliv.SlackBuild
+++ b/graphics/gliv/gliv.SlackBuild
@@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -31,8 +31,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"
diff --git a/graphics/glmark2/README b/graphics/glmark2/README
new file mode 100644
index 0000000000..1e4b5fa22c
--- /dev/null
+++ b/graphics/glmark2/README
@@ -0,0 +1,6 @@
+glmark2 is a benchmarking tool for opengl.
+
+glmark2 is developed by Alexandros Frantzis and Jesse Barker based on
+the original glmark benchmark by Ben Smith.
+
+You can use it to test GPU performance or stress it for stability.
diff --git a/graphics/glmark2/glmark2.SlackBuild b/graphics/glmark2/glmark2.SlackBuild
new file mode 100644
index 0000000000..f881b20e99
--- /dev/null
+++ b/graphics/glmark2/glmark2.SlackBuild
@@ -0,0 +1,122 @@
+#!/bin/bash
+
+# Slackware build script for glmark2
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=glmark2
+VERSION=${VERSION:-2023.01}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dflavors='drm-gl,drm-glesv2,gbm-gl,gbm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2,x11-gl-egl' \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+COPYING NEWS \
+COPYING.SGI README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/glmark2/glmark2.info b/graphics/glmark2/glmark2.info
new file mode 100644
index 0000000000..4e9222a1c8
--- /dev/null
+++ b/graphics/glmark2/glmark2.info
@@ -0,0 +1,10 @@
+PRGNAM="glmark2"
+VERSION="2023.01"
+HOMEPAGE="https://github.com/glmark2/glmark2"
+DOWNLOAD="https://github.com/glmark2/glmark2/archive/2023.01/glmark2-2023.01.tar.gz"
+MD5SUM="f6f20b4cb95aa40a446e8637115c7138"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.glmark2_2023-11-18@lockywolf.net"
diff --git a/graphics/pygifme/slack-desc b/graphics/glmark2/slack-desc
index 5017fa77fc..64931c3d5a 100644
--- a/graphics/pygifme/slack-desc
+++ b/graphics/glmark2/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-pygifme: pygifme (simple command line tool to generate GIFs)
-pygifme:
-pygifme: Pygifme is a simple command line tool to
-pygifme: generate animated GIFs. It is a python port from
-pygifme: the original ruby script gifme created by Zach Holman.
-pygifme:
-pygifme:
-pygifme:
-pygifme:
-pygifme: Homepage: https://github.com/shakaran/pygifme
-pygifme:
+glmark2: glmark2 (glmark2 is an OpenGL 2.0 and ES 2.0 benchmark)
+glmark2:
+glmark2: glmark2 is a benchmarking tool for opengl.
+glmark2:
+glmark2:
+glmark2:
+glmark2:
+glmark2:
+glmark2:
+glmark2:
+glmark2:
diff --git a/graphics/gmic/doinst.sh b/graphics/gmic/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/graphics/gmic/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/gmic/gmic.SlackBuild b/graphics/gmic/gmic.SlackBuild
index f2b15bf316..ae724de793 100644
--- a/graphics/gmic/gmic.SlackBuild
+++ b/graphics/gmic/gmic.SlackBuild
@@ -20,12 +20,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230629 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add doinst.sh to handle .desktop and icons.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gmic
VERSION=${VERSION:-2.9.4}
COMMUNITYVERSION=${COMMUNITYVERSION:-6e9a20ef40e1db99c9b761853ad493ee7439e1b7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -37,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -79,9 +79,9 @@ cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
sed -i -e "s|LIB = lib|LIB = lib$LIBDIRSUFFIX|g" \
-e "s|/share/man/|/man/|g" \
@@ -119,6 +119,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild
index e09f994074..a97d52ee13 100644
--- a/graphics/gnofract4d/gnofract4d.SlackBuild
+++ b/graphics/gnofract4d/gnofract4d.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gnofract4d
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,13 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnofract4d
-VERSION=${VERSION:-3.14.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-4.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCVER=V_$(echo $VERSION | tr . _)
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -71,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz || tar xvf $CWD/$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -93,7 +91,7 @@ find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
rm -rf $PKG/usr/share/doc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README Todo $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md LICENSE Todo $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/gnofract4d/gnofract4d.info b/graphics/gnofract4d/gnofract4d.info
index cc25c5bd7d..6473db9a08 100644
--- a/graphics/gnofract4d/gnofract4d.info
+++ b/graphics/gnofract4d/gnofract4d.info
@@ -1,10 +1,10 @@
PRGNAM="gnofract4d"
-VERSION="3.14.1"
-HOMEPAGE="https://github.com/edyoung/gnofract4d"
-DOWNLOAD="https://github.com/edyoung/gnofract4d/archive/V_3_14_1.tar.gz"
-MD5SUM="0872b6acefa9123205e099c9e174a791"
+VERSION="4.3"
+HOMEPAGE="https://github.com/fract4d/gnofract4d"
+DOWNLOAD="https://github.com/fract4d/gnofract4d/archive/v4.3/gnofract4d-4.3.tar.gz"
+MD5SUM="d815353c682eab9787e2fdad26f625ba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"
diff --git a/graphics/gnofract4d/slack-desc b/graphics/gnofract4d/slack-desc
index e9f75b2218..4ac59d24b1 100644
--- a/graphics/gnofract4d/slack-desc
+++ b/graphics/gnofract4d/slack-desc
@@ -12,7 +12,7 @@ gnofract4d: Gnofract 4D is a program which allows you to create varied fractal
gnofract4d: images such as the Mandelbrot set and many more. It provides a
gnofract4d: compiler so you can create your own formulas.
gnofract4d:
-gnofract4d: Homepage: http://gnofract4d.sourceforge.net/
+gnofract4d: Homepage: https://github.com/fract4d/gnofract4d
gnofract4d:
gnofract4d:
gnofract4d:
diff --git a/graphics/gource/gource.SlackBuild b/graphics/gource/gource.SlackBuild
index 250d7c458f..e7486547b9 100644
--- a/graphics/gource/gource.SlackBuild
+++ b/graphics/gource/gource.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gource
-# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gource
-VERSION=${VERSION:-0.51}
+VERSION=${VERSION:-0.53}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,7 +66,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="COPYING ChangeLog INSTALL README THANKS"
+DOCS="COPYING ChangeLog INSTALL README.md THANKS"
set -e
diff --git a/graphics/gource/gource.info b/graphics/gource/gource.info
index 11fc125fc1..bb700f65a7 100644
--- a/graphics/gource/gource.info
+++ b/graphics/gource/gource.info
@@ -1,8 +1,8 @@
PRGNAM="gource"
-VERSION="0.51"
+VERSION="0.53"
HOMEPAGE="https://gource.io"
-DOWNLOAD="https://github.com/acaudwell/Gource/releases/download/gource-0.51/gource-0.51.tar.gz"
-MD5SUM="957723684373e6d9493c4820e9c53399"
+DOWNLOAD="https://github.com/acaudwell/Gource/releases/download/gource-0.53/gource-0.53.tar.gz"
+MD5SUM="26c6061352105f5c880fcbcbfbd0e33c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="glm"
diff --git a/graphics/gpaint/gpaint.SlackBuild b/graphics/gpaint/gpaint.SlackBuild
index eaf7533c25..107df39559 100644
--- a/graphics/gpaint/gpaint.SlackBuild
+++ b/graphics/gpaint/gpaint.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gpaint
-# Copyright 2013-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2013-2023 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gpaint
-VERSION=${VERSION:-0.3.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-2-$VERSION
-tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
+tar xvf $CWD/$PRGNAM-2-$VERSION.tar.gz
cd $PRGNAM-2-$VERSION
chown -R root:root .
find -L . \
@@ -79,22 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Thanks to Debian for the patches! And the man page and icon! And the
-# whole source tarball, actually...
-patch -p1 -i $CWD/patches/01_drawing.patch
-patch -p1 -i $CWD/patches/02_remove_menu_h_reference.patch
-patch -p1 -i $CWD/patches/09_fix_menu_entry.patch
-patch -p1 -i $CWD/patches/10_fix_crash_on_font_select.patch
-patch -p1 -i $CWD/patches/11_fix_image_rotation.patch
-patch -p1 -i $CWD/patches/20_fix_line_width_combo.patch
-patch -p1 -i $CWD/patches/21_fix_crash_on_fill_button_click.patch
-patch -p1 -i $CWD/patches/22_fix_not_printable_string.patch
-patch -p1 -i $CWD/patches/23_add_accelerator_keys.patch
-patch -p1 -i $CWD/patches/24_fix_crash_on_failed_write.patch
-patch -p1 -i $CWD/patches/25_fix_color_selection.patch
-patch -p1 -i $CWD/patches/26_fix_toolbar.patch
-
-LIBS="-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -118,7 +102,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO \
+ AUTHORS ChangeLog COPYING NEWS README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/gpaint/gpaint.info b/graphics/gpaint/gpaint.info
index f78e541e07..70f7c8d9fe 100644
--- a/graphics/gpaint/gpaint.info
+++ b/graphics/gpaint/gpaint.info
@@ -1,8 +1,8 @@
PRGNAM="gpaint"
-VERSION="0.3.3"
+VERSION="0.3.4"
HOMEPAGE="http://www.gnu.org/software/gpaint/"
-DOWNLOAD="http://ftp.de.debian.org/debian/pool/main/g/gpaint/gpaint_0.3.3.orig.tar.gz"
-MD5SUM="037cc283d2cdd806dbdc462839bb3b72"
+DOWNLOAD="https://alpha.gnu.org/gnu/gpaint/gpaint-2-0.3.4.tar.gz"
+MD5SUM="81bd9ba6814c7e1c196c51859bad5e6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/gpaint/patches/01_drawing.patch b/graphics/gpaint/patches/01_drawing.patch
deleted file mode 100644
index 9b587f9f92..0000000000
--- a/graphics/gpaint/patches/01_drawing.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Fixes compiling with recent versions of libgtk
- Newer versions of Gtk+ don't define the GTK_RESPONSE_DISCARD symbol, so we
- replace its ocurrence by GTK_RESPONSE_NO to make gpaint build without
- errors.
-Bug: https://savannah.gnu.org/bugs/index.php?21703
-Forwarded: https://savannah.gnu.org/patch/?7047
-
-Index: b/src/drawing.c
-===================================================================
---- a/src/drawing.c 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/drawing.c 2009-12-19 17:12:10.000000000 -0200
-@@ -427,7 +427,7 @@
- _("Do you want to save the changes you made to \"%s\"?\nYour changes will be lost if you don't save them."),
- drawing->filename->str);
- #ifdef GTK_STOCK_DISCARD
-- gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_DISCARD,GTK_RESPONSE_DISCARD);
-+ gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_DISCARD,GTK_RESPONSE_NO);
- #else
- gtk_dialog_add_button(GTK_DIALOG(dialog), _("Close _without Saving"), GTK_RESPONSE_NO);
- #endif /* !GTK_STOCK_DISCARD */
diff --git a/graphics/gpaint/patches/02_remove_menu_h_reference.patch b/graphics/gpaint/patches/02_remove_menu_h_reference.patch
deleted file mode 100644
index 192a457bcc..0000000000
--- a/graphics/gpaint/patches/02_remove_menu_h_reference.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Removes reference to non-existent menu.h file
-Forwarded: https://savannah.gnu.org/patch/?7050
-
-Index: b/src/menu.c
-===================================================================
---- a/src/menu.c 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/menu.c 2009-12-19 17:12:10.000000000 -0200
-@@ -34,7 +34,6 @@
- #include "image.h"
- #include "image_processing.h"
- #include "tool_palette.h"
--#include "menu.h"
- #include "print.h"
- #include "file.h"
- #include "text.h"
diff --git a/graphics/gpaint/patches/09_fix_menu_entry.patch b/graphics/gpaint/patches/09_fix_menu_entry.patch
deleted file mode 100644
index 309a548a66..0000000000
--- a/graphics/gpaint/patches/09_fix_menu_entry.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Fixes the gpaint.desktop file
- Change executable and icon filenames according to changes applied in the
- Debian packaging.
-
-Index: b/gpaint.desktop
-===================================================================
---- a/gpaint.desktop 2009-12-19 17:11:48.000000000 -0200
-+++ b/gpaint.desktop 2009-12-19 17:12:10.000000000 -0200
-@@ -3,11 +3,9 @@
- Comment=A small-scale painting program for GNOME, the GNU Desktop
- Comment[fr]=Un petit outil de dessin pour GNOME, le desktop GNU
- Comment[pt_BR]=Um pequeno programa de desenho para o GNOME, o Desktop GNU
--TryExec=gpaint-2
--Exec=gpaint-2
--Icon=gnome-logo-icon-transparent.png
-+TryExec=gpaint
-+Exec=gpaint
-+Icon=gpaint.svg
- Terminal=0
- Type=Application
--
--
--
-+Categories=Graphics;2DGraphics;RasterGraphics;
diff --git a/graphics/gpaint/patches/10_fix_crash_on_font_select.patch b/graphics/gpaint/patches/10_fix_crash_on_font_select.patch
deleted file mode 100644
index 868c05a569..0000000000
--- a/graphics/gpaint/patches/10_fix_crash_on_font_select.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Avoids crash on font selection
- Makes the font selection button active only when the text tool is selected,
- avoiding a crash that would occur if it is clicked without selectiong the
- text tool.
-Bug-Debian: http://bugs.debian.org/497201
-Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gpaint/+bug/262889
-Forwarded: https://savannah.gnu.org/patch/?6645
-
-Index: b/gpaint.glade
-===================================================================
---- a/gpaint.glade 2009-12-19 17:11:48.000000000 -0200
-+++ b/gpaint.glade 2009-12-19 17:12:10.000000000 -0200
-@@ -1137,6 +1137,7 @@
- <child>
- <widget class="GtkFontButton" id="fontpicker">
- <property name="visible">True</property>
-+ <property name="sensitive">False</property>
- <property name="can_focus">True</property>
- <property name="show_style">True</property>
- <property name="show_size">True</property>
-Index: b/src/main.c
-===================================================================
---- a/src/main.c 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/main.c 2009-12-19 17:12:10.000000000 -0200
-@@ -73,6 +73,10 @@
- tool_palette_set_active_button(main_window, "pen_button");
- /* make the pen tool the default initial tool so the user can draw right away */
-
-+ gpaint_tool *text_tool = tool_palette_get_tool(main_window, "text");
-+ widget = lookup_widget(main_window, "fontpicker");
-+ text_set_fontpicker(text_tool, widget);
-+
- #if (!defined(HAVE_GTK_PRINT) && !defined(HAVE_GNOME_PRINT))
- /* disable print menus and buttons if no print support available*/
- widget = lookup_widget(main_window, "print_button");
-Index: b/src/text.c
-===================================================================
---- a/src/text.c 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/text.c 2009-12-19 17:12:10.000000000 -0200
-@@ -54,6 +54,7 @@
- GString *textbuf;
- int max_width;
- int max_height;
-+ GtkFontButton *fontpicker;
- } gpaint_text;
-
-
-@@ -94,6 +95,7 @@
- GPAINT_TOOL(text)->commit_change = text_commit_change;
-
- text->textbuf = g_string_new(0);
-+ text->fontpicker = NULL;
- return GPAINT_TOOL(text);
- }
-
-@@ -118,6 +120,7 @@
- g_string_printf(text->textbuf, "");
- text->timer = g_timeout_add(TEXT_CURSOR_BLINK_RATE,
- (GtkFunction)(text_handle_timeout), text);
-+ gtk_widget_set_sensitive(GTK_WIDGET(text->fontpicker), TRUE);
- }
-
- static void
-@@ -145,7 +148,7 @@
- text_draw_string(text);
- }
- text_clear(text);
--
-+ gtk_widget_set_sensitive(GTK_WIDGET(text->fontpicker), FALSE);
- }
-
- static gboolean
-@@ -474,6 +477,8 @@
-
- }
-
--
--
--
-+void text_set_fontpicker(gpaint_tool *tool, GtkFontButton *fontpicker)
-+{
-+ gpaint_text *text = GPAINT_TEXT(tool);
-+ text->fontpicker = fontpicker;
-+}
-Index: b/src/text.h
-===================================================================
---- a/src/text.h 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/text.h 2009-12-19 17:12:10.000000000 -0200
-@@ -30,6 +30,6 @@
-
-
- gpaint_tool* text_create(const char *name);
--
-+void text_set_fontpicker(gpaint_tool *tool, GtkFontButton *fontpicker);
-
- #endif
diff --git a/graphics/gpaint/patches/11_fix_image_rotation.patch b/graphics/gpaint/patches/11_fix_image_rotation.patch
deleted file mode 100644
index 4990b52c28..0000000000
--- a/graphics/gpaint/patches/11_fix_image_rotation.patch
+++ /dev/null
@@ -1,110 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Fixes rotation operations
- Implement the rotation in multiples of 90 degrees using the
- gdk_pixbuf_rotate_simple function instead of the custom (and broken)
- rotation algorithm
-Bug-Debian: http://bugs.debian.org/497487
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/262942
-Forwarded: https://savannah.gnu.org/patch/?6643
-
-Index: b/src/drawing.c
-===================================================================
---- a/src/drawing.c 2009-12-19 17:12:10.000000000 -0200
-+++ b/src/drawing.c 2009-12-19 17:12:11.000000000 -0200
-@@ -462,12 +462,23 @@
- }
-
- void
--drawing_rotate(gpaint_drawing *drawing, double degrees)
-+drawing_rotate(gpaint_drawing *drawing, int degrees)
- {
- gpaint_image *image = drawing_create_image(drawing);
- if (image)
- {
-- image_rotate(image, degrees);
-+ switch (degrees)
-+ {
-+ case 0:
-+ case 90:
-+ case 180:
-+ case 270:
-+ image_rotate_simple(image, degrees);
-+ break;
-+ default:
-+ image_rotate(image, degrees);
-+ break;
-+ }
-
- /* copy rotated image on the pixmap */
- gdk_pixmap_unref(drawing->backing_pixmap);
-Index: b/src/drawing.h
-===================================================================
---- a/src/drawing.h 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/drawing.h 2009-12-19 17:12:11.000000000 -0200
-@@ -58,6 +58,6 @@
- void drawing_clear(gpaint_drawing *drawing);
- void drawing_clear_selection(gpaint_drawing *drawing, gpaint_point_array *points);
- gboolean drawing_prompt_to_save(gpaint_drawing *drawing);
--void drawing_rotate(gpaint_drawing *drawing, double degrees);
-+void drawing_rotate(gpaint_drawing *drawing, int degrees);
-
- #endif
-Index: b/src/image.c
-===================================================================
---- a/src/image.c 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/image.c 2009-12-19 17:12:11.000000000 -0200
-@@ -628,6 +628,27 @@
- return 0;
- }
-
-+int
-+image_rotate_simple (gpaint_image *image, int degrees)
-+{
-+ GdkPixbuf *newpixbuf;
-+
-+ switch (degrees)
-+ {
-+ case GDK_PIXBUF_ROTATE_NONE:
-+ case GDK_PIXBUF_ROTATE_COUNTERCLOCKWISE:
-+ case GDK_PIXBUF_ROTATE_UPSIDEDOWN:
-+ case GDK_PIXBUF_ROTATE_CLOCKWISE:
-+ newpixbuf = gdk_pixbuf_rotate_simple (image->pixbuf, degrees);
-+ gdk_pixbuf_unref (image->pixbuf);
-+ image->pixbuf = newpixbuf;
-+ return 0;
-+ break;
-+ default:
-+ return 1;
-+ }
-+}
-+
-
- GdkPixbuf* image_pixbuf(gpaint_image* image) {
- return image->pixbuf;
-Index: b/src/image.h
-===================================================================
---- a/src/image.h 2009-12-19 17:11:48.000000000 -0200
-+++ b/src/image.h 2009-12-19 17:12:11.000000000 -0200
-@@ -45,5 +45,6 @@
- int image_flip_x(gpaint_image *image);
- int image_flip_y(gpaint_image *image);
- int image_rotate(gpaint_image *image, double radians);
-+int image_rotate_simple(gpaint_image *image, int degrees);
- GdkPixbuf* image_pixbuf(gpaint_image *image);
- #endif
-Index: b/src/menu.c
-===================================================================
---- a/src/menu.c 2009-12-19 17:12:10.000000000 -0200
-+++ b/src/menu.c 2009-12-19 17:12:11.000000000 -0200
-@@ -486,9 +486,9 @@
-
- sscanf(name, "rotate_%c%d_menu", &sign, &degrees);
- debug2("sign = %c degrees = %d", sign, degrees);
-- if (sign=='n')
-+ if (sign=='p')
- {
-- degrees *= -1;
-+ degrees = 360 - degrees;
- }
- canvas_focus_lost(canvas);
- drawing_rotate(canvas->drawing, degrees);
diff --git a/graphics/gpaint/patches/20_fix_line_width_combo.patch b/graphics/gpaint/patches/20_fix_line_width_combo.patch
deleted file mode 100644
index 61cabff290..0000000000
--- a/graphics/gpaint/patches/20_fix_line_width_combo.patch
+++ /dev/null
@@ -1,352 +0,0 @@
-Author: Thomas Viehmann <tv@beamnet.de>
-Description: Fix line width combo box
- Fixes the line width combo box by puting items in the drop down
- menu in the gpaint.glade file.
-Bug-Debian: http://bugs.debian.org/497484
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/209173
-Forwarded: https://savannah.gnu.org/patch/?6644
-
-Index: b/gpaint.glade
-===================================================================
---- a/gpaint.glade 2009-12-19 17:12:10.000000000 -0200
-+++ b/gpaint.glade 2009-12-19 17:12:11.000000000 -0200
-@@ -1230,6 +1230,34 @@
- <property name="column_spacing">0</property>
-
- <child>
-+ <widget class="GtkLabel" id="Line Width">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">line width</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_CENTER</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0.5</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ <signal name="realize" handler="on_small_label_realize"/>
-+ </widget>
-+ <packing>
-+ <property name="left_attach">0</property>
-+ <property name="right_attach">1</property>
-+ <property name="top_attach">0</property>
-+ <property name="bottom_attach">1</property>
-+ <property name="x_options"></property>
-+ <property name="y_options"></property>
-+ </packing>
-+ </child>
-+ <child>
- <widget class="GtkCombo" id="line_width_combo">
- <property name="width_request">60</property>
- <property name="height_request">25</property>
-@@ -1239,27 +1267,264 @@
- <property name="case_sensitive">False</property>
- <property name="enable_arrow_keys">True</property>
- <property name="enable_arrows_always">False</property>
-- <signal name="check_resize" handler="on_line_width_combo_check_resize"/>
- <signal name="add" handler="on_line_width_combo_add"/>
-+ <signal name="check_resize" handler="on_line_width_combo_check_resize"/>
-
- <child internal-child="entry">
-- <widget class="GtkEntry" id="entry1">
-+ <widget class="GtkEntry" id="line_width_combo_combo_entry">
- <property name="visible">True</property>
-+ <property name="tooltip" translatable="yes">line width</property>
- <property name="can_focus">True</property>
- <property name="editable">True</property>
- <property name="visibility">True</property>
- <property name="max_length">0</property>
- <property name="text" translatable="yes"></property>
- <property name="has_frame">True</property>
-- <property name="invisible_char">•</property>
-+ <property name="invisible_char">*</property>
- <property name="activates_default">False</property>
-+ <signal name="changed" handler="on_line_width_combo_combo_entry_changed"/>
- </widget>
- </child>
-
- <child internal-child="list">
-- <widget class="GtkList" id="list1">
-+ <widget class="GtkList" id="convertwidget1">
- <property name="visible">True</property>
- <property name="selection_mode">GTK_SELECTION_BROWSE</property>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget2">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget3">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">1</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget4">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget5">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">2</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget6">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget7">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">3</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget8">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget9">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">4</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget10">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget11">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">5</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget12">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget13">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">6</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget14">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget15">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">7</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget16">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget17">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">8</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
-+
-+ <child>
-+ <widget class="GtkListItem" id="convertwidget18">
-+ <property name="visible">True</property>
-+
-+ <child>
-+ <widget class="GtkLabel" id="convertwidget19">
-+ <property name="visible">True</property>
-+ <property name="label" translatable="yes">9</property>
-+ <property name="use_underline">False</property>
-+ <property name="use_markup">False</property>
-+ <property name="justify">GTK_JUSTIFY_LEFT</property>
-+ <property name="wrap">False</property>
-+ <property name="selectable">False</property>
-+ <property name="xalign">0</property>
-+ <property name="yalign">0.5</property>
-+ <property name="xpad">0</property>
-+ <property name="ypad">0</property>
-+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-+ <property name="width_chars">-1</property>
-+ <property name="single_line_mode">False</property>
-+ <property name="angle">0</property>
-+ </widget>
-+ </child>
-+ </widget>
-+ </child>
- </widget>
- </child>
- </widget>
-@@ -1272,35 +1537,6 @@
- <property name="y_options"></property>
- </packing>
- </child>
--
-- <child>
-- <widget class="GtkLabel" id="Line Width">
-- <property name="visible">True</property>
-- <property name="label" translatable="yes">line width</property>
-- <property name="use_underline">False</property>
-- <property name="use_markup">False</property>
-- <property name="justify">GTK_JUSTIFY_CENTER</property>
-- <property name="wrap">False</property>
-- <property name="selectable">False</property>
-- <property name="xalign">0.5</property>
-- <property name="yalign">0.5</property>
-- <property name="xpad">0</property>
-- <property name="ypad">0</property>
-- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
-- <property name="width_chars">-1</property>
-- <property name="single_line_mode">False</property>
-- <property name="angle">0</property>
-- <signal name="realize" handler="on_small_label_realize"/>
-- </widget>
-- <packing>
-- <property name="left_attach">0</property>
-- <property name="right_attach">1</property>
-- <property name="top_attach">0</property>
-- <property name="bottom_attach">1</property>
-- <property name="x_options"></property>
-- <property name="y_options"></property>
-- </packing>
-- </child>
- </widget>
- </child>
- </widget>
diff --git a/graphics/gpaint/patches/21_fix_crash_on_fill_button_click.patch b/graphics/gpaint/patches/21_fix_crash_on_fill_button_click.patch
deleted file mode 100644
index 132b349030..0000000000
--- a/graphics/gpaint/patches/21_fix_crash_on_fill_button_click.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: fix crash on fill button click
- Avoid crashing when clicking on fill button by checking that
- tool->canvas->drawing_area is not null before casting it to GtkWidget
-Bug-Debian: http://bugs.debian.org/544162
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/227174
-Bug: https://savannah.gnu.org/bugs/?25117
-Forwarded: https://savannah.gnu.org/patch/?7045
-
-Index: pkg-gpaint/src/text.c
-===================================================================
---- pkg-gpaint.orig/src/text.c 2009-12-22 21:03:29.000000000 -0200
-+++ pkg-gpaint/src/text.c 2009-12-23 13:01:33.000000000 -0200
-@@ -156,7 +156,10 @@
- {
- debug_fn();
- GtkStyle *style;
-- GtkWidget *widget = GTK_WIDGET(tool->canvas->drawing_area);
-+ GtkWidget *widget = NULL;
-+
-+ if ((tool->canvas == NULL) || (tool->canvas->drawing_area == NULL)) return FALSE;
-+ widget = GTK_WIDGET(tool->canvas->drawing_area);
- style = gtk_widget_get_style(widget);
- g_assert(style);
-
diff --git a/graphics/gpaint/patches/22_fix_not_printable_string.patch b/graphics/gpaint/patches/22_fix_not_printable_string.patch
deleted file mode 100644
index 6e2b98734f..0000000000
--- a/graphics/gpaint/patches/22_fix_not_printable_string.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Author: Ying-Chun Liu (PaulLiu) <grandpaul@gmail.com>
-Description: Ignore non-printable characters on text input
-Bug-Debian: http://bugs.debian.org/535217
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/262648
-Bug: https://savannah.gnu.org/bugs/?26923
-Forwarded: https://savannah.gnu.org/patch/?7051
-
-Index: b/src/text.c
-===================================================================
---- a/src/text.c 2009-12-19 17:12:11.000000000 -0200
-+++ b/src/text.c 2009-12-19 17:12:11.000000000 -0200
-@@ -238,7 +238,9 @@
- }
- else if (keyevent->string)
- {
-+ if (isprint(keyevent->string[0])) {
- g_string_append(text->textbuf, keyevent->string);
-+ }
- }
- else if ((keyevent->keyval >= GDK_space) && (keyevent->keyval < GDK_Shift_L))
- {
diff --git a/graphics/gpaint/patches/23_add_accelerator_keys.patch b/graphics/gpaint/patches/23_add_accelerator_keys.patch
deleted file mode 100644
index f53813444c..0000000000
--- a/graphics/gpaint/patches/23_add_accelerator_keys.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-Author: Matt Wheeler <m@funkyhat.org>
-Description: Add accelerator keys to common functions
- Add accelerator keys for common operations in gpaint
-Bug-Debian: http://bugs.debian.org/550305
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/444750
-Bug: https://savannah.gnu.org/bugs/?27618
-Forwarded: https://savannah.gnu.org/patch/?7053
-
-Index: b/gpaint.glade
-===================================================================
---- a/gpaint.glade 2009-12-19 17:12:11.000000000 -0200
-+++ b/gpaint.glade 2009-12-19 17:12:11.000000000 -0200
-@@ -341,6 +341,7 @@
- <property name="label" translatable="yes">_New</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_new_file_menu_activate"/>
-+ <accelerator key="N" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image25">
-@@ -362,6 +363,7 @@
- <property name="label" translatable="yes">_Open</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_open_menu_activate"/>
-+ <accelerator key="O" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image26">
-@@ -383,6 +385,7 @@
- <property name="label" translatable="yes">_Save</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_save_menu_activate"/>
-+ <accelerator key="S" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image27">
-@@ -453,6 +456,7 @@
- <property name="label" translatable="yes">_Print</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_print_menu_activate"/>
-+ <accelerator key="P" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image30">
-@@ -480,6 +484,7 @@
- <property name="label" translatable="yes">_Close</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_close_window_activate"/>
-+ <accelerator key="W" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image31">
-@@ -501,6 +506,7 @@
- <property name="label" translatable="yes">_Quit</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_quit_menu_activate"/>
-+ <accelerator key="Q" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image32">
-@@ -535,6 +541,7 @@
- <property name="label" translatable="yes">Cu_t</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_cut_menu_activate"/>
-+ <accelerator key="X" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image33">
-@@ -556,6 +563,7 @@
- <property name="label" translatable="yes">_Copy</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_copy_menu_activate"/>
-+ <accelerator key="C" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image34">
-@@ -577,6 +585,7 @@
- <property name="label" translatable="yes">_Paste</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_paste_menu_activate"/>
-+ <accelerator key="V" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image35">
-@@ -625,6 +634,7 @@
- <property name="label" translatable="yes">_Select All</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="on_select_all_activate"/>
-+ <accelerator key="A" modifiers="GDK_CONTROL_MASK" signal="activate"/>
- </widget>
- </child>
- </widget>
diff --git a/graphics/gpaint/patches/24_fix_crash_on_failed_write.patch b/graphics/gpaint/patches/24_fix_crash_on_failed_write.patch
deleted file mode 100644
index 92be4e8020..0000000000
--- a/graphics/gpaint/patches/24_fix_crash_on_failed_write.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Fix crash when saving in unsupported format
- Check if the format chosen by the user is supported before trying to save.
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/386234
-Bug: https://savannah.gnu.org/bugs/?25334
-Forwarded: https://savannah.gnu.org/patch/?7052
-
-Index: b/src/drawing.c
-===================================================================
---- a/src/drawing.c 2009-12-19 17:12:11.000000000 -0200
-+++ b/src/drawing.c 2009-12-19 17:12:12.000000000 -0200
-@@ -262,7 +262,7 @@
- (error && error->message) ? error->message : "");
- gtk_dialog_run(GTK_DIALOG(dialog));
- gtk_widget_destroy(GTK_WIDGET(dialog));
-- g_free(error); /* allocated by gdk-pixbuf library */
-+ g_error_free(error); /* allocated by gdk-pixbuf library */
- }
- return saved;
- }
-Index: b/src/image.c
-===================================================================
---- a/src/image.c 2009-12-19 17:12:11.000000000 -0200
-+++ b/src/image.c 2009-12-19 17:12:12.000000000 -0200
-@@ -32,6 +32,7 @@
- #include <gdk/gdkx.h> /* for gdk_root_parent */
- #include <gdk-pixbuf/gdk-pixbuf.h>
-
-+#define _(String) gettext (String)
-
- static int cmp_int(const void *a, const void *b);
- static void fill_polygon(
-@@ -191,13 +192,48 @@
- return image;
- }
-
-+
-+gboolean
-+is_writable (GSList *formats, gchar *type)
-+{
-+ gboolean writable = FALSE;
-+
-+ while (!writable && formats != NULL)
-+ {
-+ gchar** extensions = gdk_pixbuf_format_get_extensions((GdkPixbufFormat *)(formats->data));
-+ gchar** e = NULL;
-+ for (e = extensions; *e; ++e)
-+ {
-+ if (!strcmp(*e, type))
-+ {
-+ writable = TRUE;
-+ break;
-+ }
-+ }
-+ g_strfreev (extensions);
-+ formats = g_slist_next (formats);
-+ }
-+ return writable;
-+}
-+
-+void add_if_writable (GdkPixbufFormat *data, GSList **list)
-+{
-+ if (gdk_pixbuf_format_is_writable (data))
-+ *list = g_slist_prepend (*list, data);
-+}
-+
- int
- image_write(gpaint_image* image, const gchar* filename, GError **perror)
- {
- gboolean saved = FALSE;
- gchar *ext = NULL;
- gchar *type = NULL;
--
-+
-+ GSList *formats = gdk_pixbuf_get_formats ();
-+ GSList *writable_formats = NULL;
-+ g_slist_foreach (formats, add_if_writable, &writable_formats);
-+ g_slist_free (formats);
-+
- ext = g_strrstr(filename, ".");
- if (!ext)
- {
-@@ -214,13 +250,20 @@
- {
- type = g_ascii_strdown(ext+1,-1);
- debug1("type=[%s]",type);
-- saved = gdk_pixbuf_save(image->pixbuf, filename, type, perror, NULL);
-+ if (is_writable (writable_formats, type))
-+ {
-+ saved = gdk_pixbuf_save(image->pixbuf, filename, type, perror, NULL);
-+ } else {
-+ saved = FALSE;
-+ *perror = g_error_new (GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_BAD_OPTION, _("Saving in the '%s' format is not supported by gdk_pixbuf"), type);
-+ }
- g_free(type);
- }
- if (!saved && *perror)
- {
- g_warning("Could not save image %s: %s\n", filename, (*perror)->message);
-- }
-+ }
-+ g_slist_free (writable_formats);
- return saved;
- }
-
diff --git a/graphics/gpaint/patches/25_fix_color_selection.patch b/graphics/gpaint/patches/25_fix_color_selection.patch
deleted file mode 100644
index 7af4eb2ed1..0000000000
--- a/graphics/gpaint/patches/25_fix_color_selection.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Fix foreground/background color selection
- Fixes the foreground/background color selection by checking the GtkColorButton
- color when the user chooses the color.
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/344237
-Forwarded: https://savannah.gnu.org/patch/index.php?7028
-
-diff --git a/src/callbacks.h b/src/callbacks.h
-index 985dddf..5485329 100644
---- a/src/callbacks.h
-+++ b/src/callbacks.h
-@@ -359,18 +359,10 @@ on_fontpicker_font_set (GtkFontButton *gnomefontpicker,
-
- void
- on_foreground_color_picker_color_set (GtkColorButton *gnomecolorpicker,
-- guint arg1,
-- guint arg2,
-- guint arg3,
-- guint arg4,
- gpointer user_data);
-
- void
- on_background_color_picker_color_set (GtkColorButton *gnomecolorpicker,
-- guint arg1,
-- guint arg2,
-- guint arg3,
-- guint arg4,
- gpointer user_data);
-
- void
-diff --git a/src/color_palette.c b/src/color_palette.c
-index 9502acc..8c259e7 100644
---- a/src/color_palette.c
-+++ b/src/color_palette.c
-@@ -338,7 +338,7 @@ change_color(gpaint_color_swatch *swatch, gpaint_color_mode mode)
- g_assert(swatch);
- canvas = canvas_lookup(swatch->widget);
- gdk_gc_get_values(swatch->gc, &gcvalues);
--
-+
- if (mode==FOREGROUND)
- {
- change_foreground_color(canvas, &(gcvalues.foreground));
-@@ -362,15 +362,12 @@ change_color(gpaint_color_swatch *swatch, gpaint_color_mode mode)
- */
- void
- on_foreground_color_picker_color_set (GtkColorButton *gnomecolorpicker,
-- guint arg1,
-- guint arg2,
-- guint arg3,
-- guint arg4,
- gpointer user_data)
- {
-- GdkColor color = {0, arg1, arg2, arg3};
-+ GdkColor color;
- gpaint_canvas *canvas = canvas_lookup(GTK_WIDGET(gnomecolorpicker));
-
-+ gtk_color_button_get_color(gnomecolorpicker, &color);
- gdk_color_alloc(gdk_colormap_get_system(), &color);
- change_foreground_color(canvas, &color);
- }
-@@ -380,15 +377,12 @@ on_foreground_color_picker_color_set (GtkColorButton *gnomecolorpicker,
- */
- void
- on_background_color_picker_color_set (GtkColorButton *gnomecolorpicker,
-- guint arg1,
-- guint arg2,
-- guint arg3,
-- guint arg4,
- gpointer user_data)
- {
-- GdkColor color = {0, arg1, arg2, arg3};
-+ GdkColor color;
- gpaint_canvas *canvas = canvas_lookup(GTK_WIDGET(gnomecolorpicker));
-
-+ gtk_color_button_get_color(gnomecolorpicker, &color);
- gdk_color_alloc(gdk_colormap_get_system(), &color);
- change_background_color(canvas, &color);
- }
diff --git a/graphics/gpaint/patches/26_fix_toolbar.patch b/graphics/gpaint/patches/26_fix_toolbar.patch
deleted file mode 100644
index c6fdc63e33..0000000000
--- a/graphics/gpaint/patches/26_fix_toolbar.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Author: Goedson Teixeira Paixao <goedson@debian.org>
-Description: Fix toolbar behaviour
- Do not set a fixed toolbar style so that gpaint follows the style set in
- the user preferences
-Bug-Debian: http://bugs.debian.org/497488
-Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/127296
-Bug: https://savannah.gnu.org/bugs/?21260
-Forwarded: https://savannah.gnu.org/patch/index.php?7044
-
-Index: pkg-gpaint/gpaint.glade
-===================================================================
---- pkg-gpaint.orig/gpaint.glade 2009-12-22 20:56:13.000000000 -0200
-+++ pkg-gpaint/gpaint.glade 2009-12-22 20:56:33.000000000 -0200
-@@ -1004,7 +1004,6 @@
- <property name="height_request">55</property>
- <property name="visible">True</property>
- <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
-- <property name="toolbar_style">GTK_TOOLBAR_BOTH</property>
- <property name="tooltips">True</property>
- <property name="show_arrow">True</property>
-
diff --git a/graphics/gpicview/gpicview.SlackBuild b/graphics/gpicview/gpicview.SlackBuild
index e0dad5781b..cfbe30d77c 100644
--- a/graphics/gpicview/gpicview.SlackBuild
+++ b/graphics/gpicview/gpicview.SlackBuild
@@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -31,8 +31,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"
diff --git a/graphics/gpscorrelate/gpscorrelate.SlackBuild b/graphics/gpscorrelate/gpscorrelate.SlackBuild
index c9919b0a7d..0f6b46aac3 100644
--- a/graphics/gpscorrelate/gpscorrelate.SlackBuild
+++ b/graphics/gpscorrelate/gpscorrelate.SlackBuild
@@ -34,7 +34,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -52,8 +52,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"
diff --git a/graphics/gqview/README b/graphics/gqview/README
new file mode 100644
index 0000000000..3f8e0538c6
--- /dev/null
+++ b/graphics/gqview/README
@@ -0,0 +1,4 @@
+GQView is an image browser that features single-click access to
+view images and move around the directory tree. It provides a front
+end to lossless jpeg rotation with jpegtran, and user configurable
+integration to call The Gimp and other editors.
diff --git a/graphics/gqview/doinst.sh b/graphics/gqview/doinst.sh
new file mode 100644
index 0000000000..98d466d8b9
--- /dev/null
+++ b/graphics/gqview/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x usr/bin/update-desktop-database ]; then
+ ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+fi
diff --git a/graphics/gqview/gqview.SlackBuild b/graphics/gqview/gqview.SlackBuild
new file mode 100644
index 0000000000..9e1ecd90fb
--- /dev/null
+++ b/graphics/gqview/gqview.SlackBuild
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+# Slackware build script for gqview
+
+# Copyright 2006 Robby Workman (http://rlworkman.net)
+# All rights reserved.
+# Updates copyright 2023 David Fletcher (https://www.megapico.co.uk)
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# Modified by the SlackBuilds.org project
+
+# Modified by David Fletcher
+# - patch to allow gqview to compile on Slackware 15,
+# and to correctly call the Gimp for image editing
+# - inclusion of -lm which is not picked up by configure script
+# - updates to current Slackbuilds script format
+# Revision date 4th December 2023
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=gqview
+VERSION=${VERSION:-2.1.5}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
+rm -rf $PRGNAM-$VERSION
+tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+rm NEWS
+rm INSTALL
+
+patch -p2 < $CWD/gqview.patch
+
+export LIBS=-lm
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --program-prefix="" \
+ --program-suffix="" \
+ || exit 1
+
+make || exit 1
+make install-strip DESTDIR=$PKG || exit 1
+
+# Fix path to icon in gqview.desktop file
+sed -i 's#^Icon=\(.\+\)$#Icon=/usr/share/pixmaps/\1#' \
+ $PKG/usr/share/applications/gqview.desktop || exit 1
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/usr/share/doc/$PRGNAM-$VERSION/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -r $PKG/usr/share/doc
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gqview/gqview.info b/graphics/gqview/gqview.info
new file mode 100644
index 0000000000..be469f9812
--- /dev/null
+++ b/graphics/gqview/gqview.info
@@ -0,0 +1,10 @@
+PRGNAM="gqview"
+VERSION="2.1.5"
+HOMEPAGE="http://gqview.sourceforge.net/"
+DOWNLOAD="https://master.dl.sourceforge.net/project/gqview/unstable/2.1.5/gqview-2.1.5.tar.gz"
+MD5SUM="4644187d9b14b1dc11ac3bb146f262ea"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="David Fletcher"
+EMAIL="david@megapico.co.uk"
diff --git a/graphics/gqview/gqview.patch b/graphics/gqview/gqview.patch
new file mode 100644
index 0000000000..14ef67caaa
--- /dev/null
+++ b/graphics/gqview/gqview.patch
@@ -0,0 +1,78 @@
+diff -Nur ./gqview-2.1.5.orig/src/bar_exif.c ./gqview-2.1.5.new/src/bar_exif.c
+--- ./gqview-2.1.5.orig/src/bar_exif.c 2006-11-26 23:38:29.000000000 +0000
++++ ./gqview-2.1.5.new/src/bar_exif.c 2023-12-03 21:08:00.619450308 +0000
+@@ -26,29 +26,6 @@
+
+ #define BAR_EXIF_DATA_COLUMN_WIDTH 250
+
+-static const gchar *bar_exif_key_list_real[] = {
+- "fCamera",
+- "fDateTime",
+- "fShutterSpeed",
+- "fAperture",
+- "ExposureProgram",
+- "fExposureBias",
+- "fISOSpeedRating",
+- "fFocalLength",
+- "fSubjectDistance",
+- "MeteringMode",
+- "fFlash",
+- "LightSource",
+- "fResolution",
+- "Orientation",
+- "ImageDescription",
+- "Copyright"
+-};
+-
+-const gchar **bar_exif_key_list = bar_exif_key_list_real;
+-const gint bar_exif_key_count = (sizeof(bar_exif_key_list_real) / sizeof(gchar *));
+-
+-
+ /*
+ *-------------------------------------------------------------------
+ * table util
+diff -Nur ./gqview-2.1.5.orig/src/bar_exif.h ./gqview-2.1.5.new/src/bar_exif.h
+--- ./gqview-2.1.5.orig/src/bar_exif.h 2006-11-03 15:12:39.000000000 +0000
++++ ./gqview-2.1.5.new/src/bar_exif.h 2023-12-03 21:08:14.331450821 +0000
+@@ -24,8 +24,27 @@
+
+ /* these are exposed for when duplication of the exif bar's text is needed */
+
+-const gchar **bar_exif_key_list;
+-const gint bar_exif_key_count;
++static const gchar *bar_exif_key_list_real[] = {
++ "fCamera",
++ "fDateTime",
++ "fShutterSpeed",
++ "fAperture",
++ "ExposureProgram",
++ "fExposureBias",
++ "fISOSpeedRating",
++ "fFocalLength",
++ "fSubjectDistance",
++ "MeteringMode",
++ "fFlash",
++ "LightSource",
++ "fResolution",
++ "Orientation",
++ "ImageDescription",
++ "Copyright"
++};
++
++static const gchar **bar_exif_key_list = bar_exif_key_list_real;
++static const gint bar_exif_key_count = (sizeof(bar_exif_key_list_real) / sizeof(gchar *));
+
+ gchar *bar_exif_validate_text(gchar *text);
+
+diff -Nur ./gqview-2.1.5.orig/src/editors.c ./gqview-2.1.5.new/src/editors.c
+--- ./gqview-2.1.5.orig/src/editors.c 2006-12-03 01:15:04.000000000 +0000
++++ ./gqview-2.1.5.new/src/editors.c 2023-12-04 18:56:19.956040817 +0000
+@@ -47,7 +47,7 @@
+
+
+ static gchar *editor_slot_defaults[] = {
+- N_("The Gimp"), "gimp-remote -n %f",
++ N_("The Gimp"), "gimp -n %f",
+ N_("XV"), "xv %f",
+ N_("Xpaint"), "xpaint %f",
+ NULL, NULL,
diff --git a/graphics/gqview/slack-desc b/graphics/gqview/slack-desc
new file mode 100644
index 0000000000..05a46ff41e
--- /dev/null
+++ b/graphics/gqview/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+gqview: gqview (Image Browser)
+gqview:
+gqview: GQView is an image browser that features single-click access to
+gqview: view images and move around the directory tree. It provides a
+gqview: front end to lossless jpeg rotation with jpegtran, and user
+gqview: configurable integration to call The Gimp and other editors.
+gqview:
+gqview: Homepage: http://gqview.sourceforge.net/
+gqview:
+gqview:
+gqview:
diff --git a/graphics/grafx2/README b/graphics/grafx2/README
index fda64c8c5d..3bdf638551 100644
--- a/graphics/grafx2/README
+++ b/graphics/grafx2/README
@@ -4,5 +4,6 @@ GrafX2 is a drawing program dedicated to pixelart and low-color
graphics. Its layout is not very different from the famous
Deluxe Paint or Brilliance.
-If you want LUA scripting support, pass LUA=yes to the
-SlackBuild. This requires "lua".
+If you want Lua scripting support, install lua before building
+this and it will be auto-detected. You can also pass LUA=no in the
+environment to disable Lua, if it's installed.
diff --git a/graphics/grafx2/doinst.sh b/graphics/grafx2/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/graphics/grafx2/doinst.sh
+++ b/graphics/grafx2/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/grafx2/grafx2.SlackBuild b/graphics/grafx2/grafx2.SlackBuild
index 9c5b4f1a41..961cf9f911 100644
--- a/graphics/grafx2/grafx2.SlackBuild
+++ b/graphics/grafx2/grafx2.SlackBuild
@@ -22,15 +22,29 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by B. Watson, 20230421. I'm not taking over this build;
+# I'm updating it at the request of the maintainer.
+# - updated for v2.8.3091.
+# - add gtk-update-icon-cache to doinst.sh.
+# - autodetect lua (allow LUA=no to override).
+# - make the slack-desc show whether or not lua scripting is built in.
+# - don't include the sample lua scripts if lua is disabled.
+# - move 32x32 bitmap icon to correct dir, install 48x48 icon.
+# - install man pages.
+# - make the .desktop file actually work (name executable 'grafx2').
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=grafx2
-VERSION=${VERSION:-2.5.1960}
+VERSION=${VERSION:-2.8.3091}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRC=30
+# 20230421 bkw: depending on whether content-disposition is respected
+# or not, the file gets saved with one or the other of these 2 names.
+SRC1=65
+SRC2=$PRGNAM-$VERSION-HEAD-src.tgz
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,9 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -66,10 +77,14 @@ else
LIBDIRSUFFIX=""
fi
-if [ "$LUA" = yes ]; then
+# 20230421 bkw: Assume the user wants lua scripting if lua is
+# installed... unless he says LUA=no.
+if [ -x /usr/bin/lua ] && [ "${LUA:-yes}" = "yes" ]; then
LUA=""
+ WITHLUA="WITH"
else
LUA="NOLUA=1"
+ WITHLUA="WITHOUT"
fi
set -e
@@ -80,29 +95,53 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tgz || tar xvzf $CWD/$SRC
+tar xvf $CWD/$SRC1 || tar xvf $CWD/$SRC2
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 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-cd src
CFLAGS="$SLKCFLAGS" \
-make install prefix=/usr DESTDIR=$PKG $LUA
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ make -C src install V=1 PREFIX=/usr DESTDIR=$PKG $LUA
+
+# 20230421 bkw: shut sbopkglint up.
+echo "Placeholder; ignore me." > $PKG/usr/share/grafx2/scripts/libs/.emptydir.ok
+
+# 20230421 bkw: if we built the package without lua, don't include the
+# directory full of (now-useless) lua scripts.
+[ "$WITHLUA" = "WITHOUT" ] && rm -rf $PKG/usr/share/$PRGNAM/scripts
+
+# 20230421 bkw: The Makefile installs it as "grafx2-sdl", but the
+# .desktop file and man pages call it plain "grafx2". Symlink it so
+# either name is correct.
+strip $PKG/usr/bin/$PRGNAM-sdl
+ln -s $PRGNAM-sdl $PKG/usr/bin/$PRGNAM
+
+# 20230421 bkw: The 32x32 icon gets installed in the wrong place.
+# There's also a 48x48 icon hidden away, might as well install it, too.
+# Also link it to pixmap dir, for old-style WMs.
+HICOLOR=$PKG/usr/share/icons/hicolor
+mkdir -p $HICOLOR/{32x32,48x48}/apps
+mv $HICOLOR/scalable/apps/*.xpm $HICOLOR/32x32/apps
+cat misc/morphos/$PRGNAM.info > $HICOLOR/48x48/apps/$PRGNAM.png
+mkdir -p $PKG/usr/share/pixmaps
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+# 20230421 bkw: 'make install' doesn't install the man pages. Looks
+# like we have English and French ones. The .fr page is actually in
+# ASCII (not ISO-8859-1 nor UTF-8), so it goes in /usr/man/fr.
+mkdir -p $PKG/usr/man/man1 $PKG/usr/man/fr/man1
+gzip -9c < misc/unix/grafx2.1 > $PKG/usr/man/man1/grafx2.1.gz
+gzip -9c < misc/unix/grafx2.fr.1 > $PKG/usr/man/fr/man1/grafx2.1.gz
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+rm -f doc/COMPILING.txt # don't need in package
+cp -a doc/*.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
+sed "s,@WITHLUA@,$WITHLUA," < $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
diff --git a/graphics/grafx2/grafx2.info b/graphics/grafx2/grafx2.info
index a46824cbdf..4e3284bb06 100644
--- a/graphics/grafx2/grafx2.info
+++ b/graphics/grafx2/grafx2.info
@@ -1,8 +1,8 @@
PRGNAM="grafx2"
-VERSION="2.5.1960"
+VERSION="2.8.3091"
HOMEPAGE="http://pulkomandy.tk/projects/GrafX2"
-DOWNLOAD="http://pulkomandy.tk/projects/GrafX2/downloads/30"
-MD5SUM="80b0bc1dd66a87a62b1621b963b28fc1"
+DOWNLOAD="http://pulkomandy.tk/projects/GrafX2/downloads/65"
+MD5SUM="9a0a61d59019d409475bbca0f472607b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/grafx2/slack-desc b/graphics/grafx2/slack-desc
index 75933bd380..a400011e4a 100644
--- a/graphics/grafx2/slack-desc
+++ b/graphics/grafx2/slack-desc
@@ -12,8 +12,8 @@ grafx2: GrafX2 is a drawing program dedicated to pixelart and low-color
grafx2: graphics. Its layout is not very different from the famous Deluxe
grafx2: Paint or Brilliance.
grafx2:
-grafx2: Homepage: http://pulkomandy.tk/projects/GrafX2
-grafx2:
+grafx2: This package was built @WITHLUA@ lua scripting support.
grafx2:
+grafx2: Homepage: http://pulkomandy.tk/projects/GrafX2
grafx2:
grafx2:
diff --git a/graphics/graph-easy/graph-easy.SlackBuild b/graphics/graph-easy/graph-easy.SlackBuild
index bd1eb30a6b..3952670358 100644
--- a/graphics/graph-easy/graph-easy.SlackBuild
+++ b/graphics/graph-easy/graph-easy.SlackBuild
@@ -16,12 +16,15 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# 20230629 bkw: modified by SlackBuilds.org, BUILD=3: get rid of .packlist
+# 20230304 bkw: modified by SlackBuilds.org, BUILD=2: get rid of perllocal.pod
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=graph-easy
SRCNAM=Graph-Easy
VERSION=${VERSION:-0.76}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,9 +73,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
perl Makefile.PL \
PREFIX=/usr \
@@ -88,6 +91,9 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
find $PKG -depth -type d -empty -delete || true
+# 20230304 bkw: nope.
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README TODO CHANGES LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/graphviz/ghostscript918.patch b/graphics/graphviz/ghostscript918.patch
deleted file mode 100644
index 189c5134ae..0000000000
--- a/graphics/graphviz/ghostscript918.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -uprb graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c graphviz-2.38.0/plugin/gs/gvloadimage_gs.c
---- graphviz-2.38.0.orig/plugin/gs/gvloadimage_gs.c 2014-04-13 23:40:25.000000000 +0300
-+++ graphviz-2.38.0/plugin/gs/gvloadimage_gs.c 2015-11-11 00:08:32.916123704 +0200
-@@ -72,11 +72,11 @@ static void gs_error(GVJ_t * job, const
-
- assert (err < 0);
-
-- if (err >= e_VMerror)
-+ if (err >= gs_error_VMerror)
- errsrc = "PostScript Level 1";
-- else if (err >= e_unregistered)
-+ else if (err >= gs_error_unregistered)
- errsrc = "PostScript Level 2";
-- else if (err >= e_invalidid)
-+ else if (err >= gs_error_invalidid)
- errsrc = "DPS error";
- else
- errsrc = "Ghostscript internal error";
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index b01c7229ed..40849f7daf 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -28,8 +28,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=graphviz
-VERSION=${VERSION:-3.0.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-10.0.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,6 +62,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -116,10 +119,10 @@ find $PKG/usr/lib${LIBDIRSUFFIX}/graphviz -depth -type d -empty -exec rmdir {} \
# message during installation.
echo '# Dummy content.' > $PKG/usr/lib${LIBDIRSUFFIX}/graphviz/config6
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc
+mv $PKG/usr/share/doc/$PRGNAM/ $PKG/usr/doc/$PRGNAM-$VERSION
+rmdir $PKG/usr/share/doc
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/doc/* $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/$PRGNAM/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/lib*/*.la
diff --git a/graphics/graphviz/graphviz.info b/graphics/graphviz/graphviz.info
index 9cdb92c408..2418064f2d 100644
--- a/graphics/graphviz/graphviz.info
+++ b/graphics/graphviz/graphviz.info
@@ -1,8 +1,8 @@
PRGNAM="graphviz"
-VERSION="3.0.0"
+VERSION="10.0.1"
HOMEPAGE="https://www.graphviz.org/"
-DOWNLOAD="https://gitlab.com/graphviz/graphviz/-/archive/3.0.0/graphviz-3.0.0.tar.bz2"
-MD5SUM="10ca2332031486b4d7ac39ecf17349e5"
+DOWNLOAD="https://gitlab.com/graphviz/graphviz/-/archive/10.0.1/graphviz-10.0.1.tar.bz2"
+MD5SUM="5d343d0ba08dc11624d3961af2b4755c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/graphviz/php_5.4_compat.patch b/graphics/graphviz/php_5.4_compat.patch
deleted file mode 100644
index 58c2993b36..0000000000
--- a/graphics/graphviz/php_5.4_compat.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naur graphviz-2.28.0.orig/tclpkg/gv/gv_php_init.c graphviz-2.28.0/tclpkg/gv/gv_php_init.c
---- graphviz-2.28.0.orig/tclpkg/gv/gv_php_init.c 2011-01-25 17:30:51.000000000 +0100
-+++ graphviz-2.28.0/tclpkg/gv/gv_php_init.c 2012-05-30 04:10:40.657221055 +0200
-@@ -19,11 +19,13 @@
-
- static size_t gv_string_writer (GVJ_t *job, const char *s, size_t len)
- {
-+ TSRMLS_FETCH();
- return PHPWRITE(s, len);
- }
-
- static size_t gv_channel_writer (GVJ_t *job, const char *s, size_t len)
- {
-+ TSRMLS_FETCH();
- return PHPWRITE(s, len);
- }
-
diff --git a/graphics/gscan2pdf/gscan2pdf.SlackBuild b/graphics/gscan2pdf/gscan2pdf.SlackBuild
index 6e0e94ff28..6cf90eaa5e 100644
--- a/graphics/gscan2pdf/gscan2pdf.SlackBuild
+++ b/graphics/gscan2pdf/gscan2pdf.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gscan2pdf
-VERSION=${VERSION:-2.12.4}
+VERSION=${VERSION:-2.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/graphics/gscan2pdf/gscan2pdf.info b/graphics/gscan2pdf/gscan2pdf.info
index 99010bf646..b9e6f23aed 100644
--- a/graphics/gscan2pdf/gscan2pdf.info
+++ b/graphics/gscan2pdf/gscan2pdf.info
@@ -1,10 +1,10 @@
PRGNAM="gscan2pdf"
-VERSION="2.12.4"
+VERSION="2.13.2"
HOMEPAGE="http://gscan2pdf.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/2.12.4/gscan2pdf-2.12.4.tar.xz"
-MD5SUM="b3c1df326f3d4a165a77c328943de30b"
+DOWNLOAD="https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/2.13.2/gscan2pdf-2.13.2.tar.xz"
+MD5SUM="dfff65b1d9cfd8b429bea78a0bbf6d5e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Image-Sane perl-IPC-System-Simple perl-Date-Calc perl-config-general perl-html-parser perl-Log-Log4perl perl-Carp-Clan perl-Sub-Override perl-PDF-Builder perl-Proc-ProcessTable perl-Gtk3-SimpleList perl-Gtk3-ImageView perl-Set-IntSpan perl-List-MoreUtils perl-Filesys-Df perl-Locale-Codes perl-Data-UUID perl-GooCanvas2"
+REQUIRES="perl-Image-Sane perl-IPC-System-Simple perl-Date-Calc perl-config-general perl-html-parser perl-Log-Log4perl perl-Sub-Override perl-PDF-Builder perl-Proc-ProcessTable perl-Gtk3-SimpleList perl-Gtk3-ImageView perl-Set-IntSpan perl-List-MoreUtils perl-Filesys-Df perl-Locale-Codes perl-Data-UUID perl-GooCanvas2"
MAINTAINER="Michel A. BEGUE"
EMAIL="mab974@misouk.com"
diff --git a/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
index ed1a02dead..bc95b628cc 100644
--- a/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
+++ b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for heif-gimp-plugin
-# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2020-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=heif-gimp-plugin
-VERSION=${VERSION:-20191012_d6bea52}
+VERSION=${VERSION:-1.1.0+20230216_15a6986}
+COMMIT=15a69868a82d6f8d5cd2c11708fb371510fd725e
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -69,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf libheif-$VERSION
-tar xvf $CWD/libheif-$VERSION.tar.?z
-cd libheif-$VERSION
+rm -rf heif-gimp-plugin-$COMMIT
+tar xvf $CWD/heif-gimp-plugin-$COMMIT.tar.gz
+cd heif-gimp-plugin-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/graphics/heif-gimp-plugin/heif-gimp-plugin.info b/graphics/heif-gimp-plugin/heif-gimp-plugin.info
index 2ac251b97e..e93921bd58 100644
--- a/graphics/heif-gimp-plugin/heif-gimp-plugin.info
+++ b/graphics/heif-gimp-plugin/heif-gimp-plugin.info
@@ -1,8 +1,8 @@
PRGNAM="heif-gimp-plugin"
-VERSION="20191012_d6bea52"
+VERSION="1.1.0+20230216_15a6986"
HOMEPAGE="https://github.com/strukturag/heif-gimp-plugin"
-DOWNLOAD="https://ponce.cc/slackware/sources/repo/libheif-20191012_d6bea52.tar.xz"
-MD5SUM="3a88695db56d5d5539fabf0eec30b95f"
+DOWNLOAD="https://github.com/strukturag/heif-gimp-plugin/archive/15a6986/heif-gimp-plugin-15a69868a82d6f8d5cd2c11708fb371510fd725e.tar.gz"
+MD5SUM="f5d085affe1aaee9d817c71dcc852933"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libheif"
diff --git a/graphics/hp2xx/doinst.sh b/graphics/hp2xx/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/graphics/hp2xx/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/graphics/hp2xx/hp2xx.SlackBuild b/graphics/hp2xx/hp2xx.SlackBuild
index 3f656af52b..8eecefda6a 100644
--- a/graphics/hp2xx/hp2xx.SlackBuild
+++ b/graphics/hp2xx/hp2xx.SlackBuild
@@ -2,15 +2,17 @@
# Slackware build script for hp2xx
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230705 bkw: BUILD=2, handle /usr/info/dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hp2xx
VERSION=${VERSION:-3.4.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -33,16 +35,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -83,6 +81,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/hp2xx/hp2xx.info b/graphics/hp2xx/hp2xx.info
index a0cfa58506..c7411ccbfc 100644
--- a/graphics/hp2xx/hp2xx.info
+++ b/graphics/hp2xx/hp2xx.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/hugin/boost-1.85.0-patch b/graphics/hugin/boost-1.85.0-patch
new file mode 100644
index 0000000000..d2909ded9b
--- /dev/null
+++ b/graphics/hugin/boost-1.85.0-patch
@@ -0,0 +1,16 @@
+--- src/hugin_base/hugin_utils/filesystem.h.old 2023-05-08 20:19:14.000000000 +0200
++++ src/hugin_base/hugin_utils/filesystem.h 2024-04-21 10:00:22.770138350 +0200
+@@ -64,6 +64,12 @@
+ #endif
+ #include <boost/filesystem.hpp>
+ namespace fs = boost::filesystem;
+- #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
++ #if BOOST_VERSION>=107400
++ // in Boost 1.74 and later filesystem::copy_option is deprecated
++ // use filesystem::copy_options instead
++ #define OVERWRITE_EXISTING boost::filesystem::copy_options::overwrite_existing
++ #else
++ #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
++ #endif
+ #endif
+ #endif // _HUGIN_UTILS_FILESYSTEM_H
diff --git a/graphics/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index b436dc131a..cd74672bfe 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Hugin
#
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2011-2022 by titopoquito (titopoquito@gmail.com)
+# Copyright 2011-2024 by titopoquito (titopoquito@gmail.com)
# Thanks to Romain Dartigues for the help with the update to 2016.2.0
# All rights reserved.
#
@@ -24,6 +24,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230630 bkw: Modified by SlackBuilds.org, BUILD=3:
+# - fix permissions of files in /usr/doc (they were 770).
+
# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
# - fix build if /usr/bin/wx-config points to wxPython2.
# - remove install instructions from doc dir.
@@ -31,8 +34,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hugin
-VERSION=${VERSION:-2021.0.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2023.0.0}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,6 +79,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+patch -p0 <$CWD/boost-1.85.0-patch
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -102,7 +107,7 @@ cd ..
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.txt Changes.txt README TODO \
+install -m0644 -oroot -groot AUTHORS COPYING.txt Changes.txt README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/hugin/hugin.info b/graphics/hugin/hugin.info
index 9e154b8814..39bbc764eb 100644
--- a/graphics/hugin/hugin.info
+++ b/graphics/hugin/hugin.info
@@ -1,8 +1,8 @@
PRGNAM="hugin"
-VERSION="2021.0.0"
+VERSION="2023.0.0"
HOMEPAGE="http://hugin.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/hugin/hugin-2021.0.0.tar.bz2"
-MD5SUM="166a8e795548cec566a06db38f0ed664"
+DOWNLOAD="https://downloads.sourceforge.net/hugin/hugin-2023.0.0.tar.bz2"
+MD5SUM="a0a14535cc5a06b75940c4d3a989b658"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="enblend-enfuse exiftool libpano13 tclap wxGTK3"
diff --git a/graphics/imgcurses/imgcurses.SlackBuild b/graphics/imgcurses/imgcurses.SlackBuild
index f1ff4ac777..ac592dc9d0 100644
--- a/graphics/imgcurses/imgcurses.SlackBuild
+++ b/graphics/imgcurses/imgcurses.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for imgcurses
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/imgcurses/imgcurses.info b/graphics/imgcurses/imgcurses.info
index 5179cee68a..72ea3a4ac1 100644
--- a/graphics/imgcurses/imgcurses.info
+++ b/graphics/imgcurses/imgcurses.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/implot/CMakeLists.txt b/graphics/implot/CMakeLists.txt
new file mode 100644
index 0000000000..6807c550d7
--- /dev/null
+++ b/graphics/implot/CMakeLists.txt
@@ -0,0 +1,52 @@
+cmake_minimum_required(VERSION 3.8)
+project(implot CXX)
+
+find_package(imgui CONFIG REQUIRED)
+get_target_property(IMGUI_INCLUDE_DIRS imgui::imgui
+ INTERFACE_INCLUDE_DIRECTORIES
+)
+
+set(CMAKE_DEBUG_POSTFIX d)
+
+add_library(${PROJECT_NAME} "")
+add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
+target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
+target_include_directories(
+ ${PROJECT_NAME}
+ PUBLIC
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+ $<INSTALL_INTERFACE:include>
+ PRIVATE
+ ${IMGUI_INCLUDE_DIRS}
+)
+
+target_sources(
+ ${PROJECT_NAME}
+ PRIVATE
+ ${CMAKE_CURRENT_SOURCE_DIR}/implot.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/implot_items.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/implot_demo.cpp
+)
+
+install(
+ TARGETS ${PROJECT_NAME}
+ EXPORT ${PROJECT_NAME}_target
+ ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib
+ RUNTIME DESTINATION bin
+)
+
+if(NOT IMPLOT_SKIP_HEADERS)
+ install(FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/implot.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/implot_internal.h
+ DESTINATION include
+ )
+endif()
+
+install(
+ EXPORT ${PROJECT_NAME}_target
+ NAMESPACE ${PROJECT_NAME}::
+ FILE ${PROJECT_NAME}-config.cmake
+ DESTINATION share/${PROJECT_NAME}
+)
diff --git a/graphics/implot/README b/graphics/implot/README
new file mode 100644
index 0000000000..cb96f0c13a
--- /dev/null
+++ b/graphics/implot/README
@@ -0,0 +1,7 @@
+ImPlot is an immediate mode, GPU accelerated plotting library for Dear
+ImGui. It aims to provide a first-class API that ImGui fans will love.
+ImPlot is well suited for visualizing program data in real-time or
+creating interactive plots, and requires minimal code to integrate.
+Just like ImGui, it does not burden the end user with GUI state
+management, avoids STL containers and C++ headers, and has no external
+dependencies except for ImGui itself.
diff --git a/graphics/implot/implot.SlackBuild b/graphics/implot/implot.SlackBuild
new file mode 100644
index 0000000000..85838c4d93
--- /dev/null
+++ b/graphics/implot/implot.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for implot
+
+# Copyright 2022-2023 Steven Voges <Oregon, USA>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=implot
+VERSION=${VERSION:-0.16}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+cp $CWD/CMakeLists.txt .
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+if [ "$LIBDIRSUFFIX" != "" ]; then
+ mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+ sed -i "s/\/lib\//\/lib${LIBDIRSUFFIX}\//g" $PKG/usr/share/$PRGNAM/$PRGNAM-config-release.cmake
+fi
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ *.md LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/implot/implot.info b/graphics/implot/implot.info
new file mode 100644
index 0000000000..a272c1ec4e
--- /dev/null
+++ b/graphics/implot/implot.info
@@ -0,0 +1,10 @@
+PRGNAM="implot"
+VERSION="0.16"
+HOMEPAGE="https://github.com/epezent/implot"
+DOWNLOAD="https://github.com/epezent/implot/archive/v0.16/implot-0.16.tar.gz"
+MD5SUM="56f81b59538a1d406dcb6788d0442b05"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="imgui"
+MAINTAINER="Steven Voges"
+EMAIL="svoges.sbo@gmail.com"
diff --git a/graphics/implot/slack-desc b/graphics/implot/slack-desc
new file mode 100644
index 0000000000..02d23a0885
--- /dev/null
+++ b/graphics/implot/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+implot: implot (Plotting Library)
+implot:
+implot: Immediate Mode Plotting
+implot:
+implot: Homepage: https://github.com/epezent/implot
+implot:
+implot:
+implot:
+implot:
+implot:
+implot:
diff --git a/graphics/imv/README b/graphics/imv/README
index 3d369fad5f..a1d5c75fb0 100644
--- a/graphics/imv/README
+++ b/graphics/imv/README
@@ -22,6 +22,7 @@ Optional dependencies (autodetected):
- FreeImage (support for GIF, RAW, PSD formats)
- libnsgif (support for GIF)
- libheif (support for HEIF/AVIF)
+- libjxl (support for JXL aka JPEG XL)
If you don't have at least one of FreeImage or libnsgif, imv won't
support GIF images at all.
diff --git a/graphics/imv/imv.SlackBuild b/graphics/imv/imv.SlackBuild
index 67d583c534..51a2f1d939 100644
--- a/graphics/imv/imv.SlackBuild
+++ b/graphics/imv/imv.SlackBuild
@@ -2,10 +2,22 @@
# Slackware build script for imv
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240318 bkw:
+# - update for v4.5.0.
+# - upstream now has tagged releases, no more commit hash filenames.
+# - libjxl is now supported, add to README and slack-desc.
+# - note: libnsgif < 1.0.0 is required for build. no problem we have
+# 0.2.1, but if libnsgif ever gets updated to 1.0.0, this will need
+# fixing.
+
+# 20230901 bkw:
+# - update for v4.4.0.
+# - new homepage and git repo, fugly tarball filename.
+
# 20210909 bkw:
# - update for v4.3.0.
# - upstream switched to meson, can't build old versions with this script.
@@ -18,7 +30,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=imv
-VERSION=${VERSION:-4.3.0}
+VERSION=${VERSION:-4.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,12 +71,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-v$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $PRGNAM-v$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# meson takes an option to say where to install the config file, but
# it doesn't actually change where the binary looks for it.
@@ -114,15 +126,17 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
# update slack-desc to say which optional deps are included
-F=no; G=no; H=no
+F=no; G=no; H=no; J=no
ldd $PKG/usr/bin/$PRGNAM-x11 > lddtmp
grep -q 'libfreeimage' lddtmp && F=yes
grep -q 'libnsgif' lddtmp && G=yes
grep -q 'libheif' lddtmp && H=yes
+grep -q 'libjxl' lddtmp && J=yes
sed -e "s,@F@,$F," \
-e "s,@G@,$G," \
-e "s,@H@,$H," \
+ -e "s,@J@,$J," \
$CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/graphics/imv/imv.info b/graphics/imv/imv.info
index 0534731c08..1eb4aed8c8 100644
--- a/graphics/imv/imv.info
+++ b/graphics/imv/imv.info
@@ -1,10 +1,10 @@
PRGNAM="imv"
-VERSION="4.3.0"
-HOMEPAGE="https://github.com/eXeC64/imv"
-DOWNLOAD="https://github.com/eXeC64/imv/archive/v4.3.0/imv-4.3.0.tar.gz"
-MD5SUM="d01fb291c384497cfcc771ad6603a3c0"
+VERSION="4.5.0"
+HOMEPAGE="https://sr.ht/~exec64/imv/"
+DOWNLOAD="https://git.sr.ht/~exec64/imv/archive/v4.5.0.tar.gz"
+MD5SUM="854614e252c58588e0fbf4a9f75a6b0d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/imv/slack-desc b/graphics/imv/slack-desc
index a9ae922b5f..db04840f5a 100644
--- a/graphics/imv/slack-desc
+++ b/graphics/imv/slack-desc
@@ -13,7 +13,7 @@ imv: managers.
imv:
imv: Package built with support for:
imv:
-imv: FreeImage: @F@ libnsgif: @G@ libheif: @H@
+imv: FreeImage: @F@ libnsgif: @G@ libheif: @H@ libjxl: @J@
imv:
imv:
imv:
diff --git a/graphics/inkscape-gtk2/README b/graphics/inkscape-gtk2/README
new file mode 100644
index 0000000000..b1fbe59e60
--- /dev/null
+++ b/graphics/inkscape-gtk2/README
@@ -0,0 +1,12 @@
+This is the last GTK2 version of Inkscape. It will conflict with the
+latest one, so don't install both.
+
+Inkscape is an Open Source vector graphics editor, with capabilities
+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.
diff --git a/graphics/inkscape-gtk2/doinst.sh b/graphics/inkscape-gtk2/doinst.sh
new file mode 100644
index 0000000000..f452554ffa
--- /dev/null
+++ b/graphics/inkscape-gtk2/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
diff --git a/graphics/inkscape-gtk2/gcc9.patch b/graphics/inkscape-gtk2/gcc9.patch
new file mode 100644
index 0000000000..c9106beb02
--- /dev/null
+++ b/graphics/inkscape-gtk2/gcc9.patch
@@ -0,0 +1,95 @@
+--- a/src/ui/dialog/document-properties.cpp.ORIG 2019-01-15 05:29:27.000000000 +0100
++++ b/src/ui/dialog/document-properties.cpp 2019-02-01 12:24:16.664281733 +0100
+@@ -563,7 +563,7 @@
+ }
+
+ struct _cmp {
+- bool operator()(const SPObject * const & a, const SPObject * const & b)
++ bool operator()(const SPObject * const & a, const SPObject * const & b) const
+ {
+ const Inkscape::ColorProfile &a_prof = reinterpret_cast<const Inkscape::ColorProfile &>(*a);
+ const Inkscape::ColorProfile &b_prof = reinterpret_cast<const Inkscape::ColorProfile &>(*b);
+--- a/src/vanishing-point.h.ORIG 2019-05-14 11:10:14.069835323 +0200
++++ b/src/vanishing-point.h 2019-05-14 15:49:31.931911893 +0200
+@@ -78,7 +78,7 @@
+ return _persp = persp;
+ }
+
+- inline bool hasBox (SPBox3D *box) {
++ inline bool hasBox (SPBox3D *box) const {
+ return persp3d_has_box(_persp, box);
+ }
+ inline unsigned int numberOfBoxes() const {
+@@ -104,7 +104,7 @@
+ g_return_if_fail (_persp);
+ persp3d_get_VP (_persp, _axis).print("");
+ }
+- inline char const *axisString () { return Proj::string_from_axis(_axis); }
++ inline char const *axisString () const { return Proj::string_from_axis(_axis); }
+
+ unsigned int my_counter;
+ static unsigned int global_counter; // FIXME: Only to implement operator< so that we can merge lists. Do this in a better way!!
+@@ -116,7 +116,7 @@
+ struct VPDrag;
+
+ struct less_ptr : public std::binary_function<VanishingPoint *, VanishingPoint *, bool> {
+- bool operator()(VanishingPoint *vp1, VanishingPoint *vp2) {
++ bool operator()(VanishingPoint *vp1, VanishingPoint *vp2) const {
+ return GPOINTER_TO_INT(vp1) < GPOINTER_TO_INT(vp2);
+ }
+ };
+@@ -144,8 +144,8 @@
+ void updateTip();
+
+ unsigned int numberOfBoxes(); // the number of boxes linked to all VPs of the dragger
+- VanishingPoint *findVPWithBox(SPBox3D *box);
+- std::set<VanishingPoint*, less_ptr> VPsOfSelectedBoxes();
++ VanishingPoint *findVPWithBox(SPBox3D *box) const;
++ std::set<VanishingPoint*, less_ptr> VPsOfSelectedBoxes() const;
+
+ bool hasPerspective(const Persp3D *persp);
+ void mergePerspectives(); // remove duplicate perspectives
+--- a/src/vanishing-point.cpp.ORIG 2019-01-15 05:29:27.000000000 +0100
++++ b/src/vanishing-point.cpp 2019-05-14 16:01:07.035873590 +0200
+@@ -382,17 +382,17 @@
+ }
+
+ VanishingPoint *
+-VPDragger::findVPWithBox (SPBox3D *box) {
+- for (std::list<VanishingPoint>::iterator vp = vps.begin(); vp != vps.end(); ++vp) {
++VPDragger::findVPWithBox (SPBox3D *box) const {
++ for (std::list<VanishingPoint>::const_iterator vp = vps.begin(); vp != vps.end(); ++vp) {
+ if ((*vp).hasBox(box)) {
+- return &(*vp);
++ return const_cast<VanishingPoint*>(&(*vp));
+ }
+ }
+ return NULL;
+ }
+
+ std::set<VanishingPoint*, less_ptr>
+-VPDragger::VPsOfSelectedBoxes() {
++VPDragger::VPsOfSelectedBoxes() const {
+ std::set<VanishingPoint*, less_ptr> sel_vps;
+ VanishingPoint *vp;
+ // FIXME: Should we take the selection from the parent VPDrag? I guess it shouldn't make a difference.
+@@ -402,7 +402,7 @@
+ SPItem *item = *i;
+ SPBox3D *box = dynamic_cast<SPBox3D *>(item);
+ if (box) {
+- vp = this->findVPWithBox(box);
++ vp = const_cast<VPDragger*>(this)->findVPWithBox(box);
+ if (vp) {
+ sel_vps.insert (vp);
+ }
+--- a/src/ui/widget/color-icc-selector.cpp.ORIG 2019-01-15 05:29:27.000000000 +0100
++++ b/src/ui/widget/color-icc-selector.cpp 2019-02-01 12:31:47.770306444 +0100
+@@ -673,7 +673,7 @@
+
+ #if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2)
+ struct _cmp {
+- bool operator()(const SPObject * const & a, const SPObject * const & b)
++ bool operator()(const SPObject * const & a, const SPObject * const & b) const
+ {
+ const Inkscape::ColorProfile &a_prof = reinterpret_cast<const Inkscape::ColorProfile &>(*a);
+ const Inkscape::ColorProfile &b_prof = reinterpret_cast<const Inkscape::ColorProfile &>(*b);
diff --git a/graphics/inkscape-gtk2/im7.patch b/graphics/inkscape-gtk2/im7.patch
new file mode 100644
index 0000000000..0572cd5f59
--- /dev/null
+++ b/graphics/inkscape-gtk2/im7.patch
@@ -0,0 +1,106 @@
+diff -Naur orig/src/extension/CMakeLists.txt patched/src/extension/CMakeLists.txt
+--- orig/src/extension/CMakeLists.txt 2017-03-24 00:51:36.134741323 +0100
++++ patched/src/extension/CMakeLists.txt 2017-03-24 04:14:34.510756391 +0100
+@@ -218,8 +218,8 @@
+ internal/bitmap/normalize.h
+ internal/bitmap/oilPaint.cpp
+ internal/bitmap/oilPaint.h
+- internal/bitmap/opacity.cpp
+- internal/bitmap/opacity.h
++# internal/bitmap/opacity.cpp
++# internal/bitmap/opacity.h
+ internal/bitmap/raise.cpp
+ internal/bitmap/raise.h
+ internal/bitmap/reduceNoise.cpp
+diff -Naur orig/src/extension/init.cpp patched/src/extension/init.cpp
+--- orig/src/extension/init.cpp 2017-03-24 00:51:36.134741323 +0100
++++ patched/src/extension/init.cpp 2017-03-24 13:12:39.709882011 +0100
+@@ -88,7 +88,7 @@
+ #include "internal/bitmap/negate.h"
+ #include "internal/bitmap/normalize.h"
+ #include "internal/bitmap/oilPaint.h"
+-#include "internal/bitmap/opacity.h"
++//#include "internal/bitmap/opacity.h"
+ #include "internal/bitmap/raise.h"
+ #include "internal/bitmap/reduceNoise.h"
+ #include "internal/bitmap/sample.h"
+@@ -224,7 +224,7 @@
+ Internal::Bitmap::Negate::init();
+ Internal::Bitmap::Normalize::init();
+ Internal::Bitmap::OilPaint::init();
+- Internal::Bitmap::Opacity::init();
++// Internal::Bitmap::Opacity::init();
+ Internal::Bitmap::Raise::init();
+ Internal::Bitmap::ReduceNoise::init();
+ Internal::Bitmap::Sample::init();
+diff -Naur orig/src/extension/internal/bitmap/channel.cpp patched/src/extension/internal/bitmap/channel.cpp
+--- orig/src/extension/internal/bitmap/channel.cpp 2017-03-24 00:51:36.134741323 +0100
++++ patched/src/extension/internal/bitmap/channel.cpp 2017-03-24 03:06:36.164250664 +0100
+@@ -28,7 +28,7 @@
+ else if (!strcmp(_layerName, "Yellow Channel")) layer = Magick::YellowChannel;
+ else if (!strcmp(_layerName, "Black Channel")) layer = Magick::BlackChannel;
+ else if (!strcmp(_layerName, "Opacity Channel")) layer = Magick::OpacityChannel;
+- else if (!strcmp(_layerName, "Matte Channel")) layer = Magick::MatteChannel;
++ else if (!strcmp(_layerName, "Alpha Channel")) layer = Magick::AlphaChannel;
+
+ image->channel(layer);
+ }
+@@ -56,7 +56,7 @@
+ "<_item value='Yellow Channel'>" N_("Yellow Channel") "</_item>\n"
+ "<_item value='Black Channel'>" N_("Black Channel") "</_item>\n"
+ "<_item value='Opacity Channel'>" N_("Opacity Channel") "</_item>\n"
+- "<_item value='Matte Channel'>" N_("Matte Channel") "</_item>\n"
++ "<_item value='Alpha Channel'>" N_("Alpha Channel") "</_item>\n"
+ "</param>\n"
+ "<effect>\n"
+ "<object-type>all</object-type>\n"
+diff -Naur orig/src/extension/internal/bitmap/crop.cpp patched/src/extension/internal/bitmap/crop.cpp
+--- orig/src/extension/internal/bitmap/crop.cpp 2017-03-24 00:51:36.134741323 +0100
++++ patched/src/extension/internal/bitmap/crop.cpp 2017-03-24 02:31:09.915343848 +0100
+@@ -24,7 +24,7 @@
+ int width = image->baseColumns() - (_left + _right);
+ int height = image->baseRows() - (_top + _bottom);
+ if (width > 0 and height > 0) {
+- image->crop(Magick::Geometry(width, height, _left, _top, false, false));
++ image->crop(Magick::Geometry(width, height, _left, _top));
+ image->page("+0+0");
+ }
+ }
+diff -Naur orig/src/extension/internal/bitmap/levelChannel.cpp patched/src/extension/internal/bitmap/levelChannel.cpp
+--- orig/src/extension/internal/bitmap/levelChannel.cpp 2017-03-24 00:51:36.134741323 +0100
++++ patched/src/extension/internal/bitmap/levelChannel.cpp 2017-03-24 03:45:35.902823802 +0100
+@@ -28,9 +28,9 @@
+ else if (!strcmp(_channelName, "Yellow Channel")) channel = Magick::YellowChannel;
+ else if (!strcmp(_channelName, "Black Channel")) channel = Magick::BlackChannel;
+ else if (!strcmp(_channelName, "Opacity Channel")) channel = Magick::OpacityChannel;
+- else if (!strcmp(_channelName, "Matte Channel")) channel = Magick::MatteChannel;
+- Magick::Quantum black_point = Magick::Color::scaleDoubleToQuantum(_black_point / 100.0);
+- Magick::Quantum white_point = Magick::Color::scaleDoubleToQuantum(_white_point / 100.0);
++ else if (!strcmp(_channelName, "Alpha Channel")) channel = Magick::AlphaChannel;
++ Magick::Quantum black_point = static_cast<Magick::Quantum>(_black_point / 100.0);
++ Magick::Quantum white_point = static_cast<Magick::Quantum>(_white_point / 100.0);
+ image->levelChannel(channel, black_point, white_point, _mid_point);
+ }
+
+@@ -60,7 +60,7 @@
+ "<_item value='Yellow Channel'>" N_("Yellow Channel") "</_item>\n"
+ "<_item value='Black Channel'>" N_("Black Channel") "</_item>\n"
+ "<_item value='Opacity Channel'>" N_("Opacity Channel") "</_item>\n"
+- "<_item value='Matte Channel'>" N_("Matte Channel") "</_item>\n"
++ "<_item value='Alpha Channel'>" N_("Alpha Channel") "</_item>\n"
+ "</param>\n"
+ "<param name=\"blackPoint\" _gui-text=\"" N_("Black Point:") "\" type=\"float\" min=\"0.0\" max=\"100.0\">0.0</param>\n"
+ "<param name=\"whitePoint\" _gui-text=\"" N_("White Point:") "\" type=\"float\" min=\"0.0\" max=\"100.0\">100.0</param>\n"
+diff -Naur orig/src/extension/internal/bitmap/level.cpp patched/src/extension/internal/bitmap/level.cpp
+--- orig/src/extension/internal/bitmap/level.cpp 2017-03-24 00:51:36.134741323 +0100
++++ patched/src/extension/internal/bitmap/level.cpp 2017-03-24 03:45:33.306793000 +0100
+@@ -19,8 +19,8 @@
+
+ void
+ Level::applyEffect(Magick::Image* image) {
+- Magick::Quantum black_point = Magick::Color::scaleDoubleToQuantum(_black_point / 100.0);
+- Magick::Quantum white_point = Magick::Color::scaleDoubleToQuantum(_white_point / 100.0);
++ Magick::Quantum black_point = static_cast<Magick::Quantum>(_black_point / 100.0);
++ Magick::Quantum white_point = static_cast<Magick::Quantum>(_white_point / 100.0);
+ image->level(black_point, white_point, _mid_point);
+ }
diff --git a/graphics/inkscape-gtk2/inkscape-gtk2.SlackBuild b/graphics/inkscape-gtk2/inkscape-gtk2.SlackBuild
new file mode 100644
index 0000000000..37ed79422b
--- /dev/null
+++ b/graphics/inkscape-gtk2/inkscape-gtk2.SlackBuild
@@ -0,0 +1,131 @@
+#!/bin/bash
+
+# Slackware build script for inkscape-gtk2
+
+# Modified 2023 Petar Petrov slackalaxy@gmail.com
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=inkscape-gtk2
+SRCNAM=inkscape
+VERSION=${VERSION:-0.92.5}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -p1 -i $CWD/gcc9.patch
+patch -p1 -i $CWD/im7.patch
+patch -p1 -i $CWD/poppler-21.11.0.patch
+
+sed -i "s:lib/inkscape:lib${LIBDIRSUFFIX}/inkscape:g" CMakeLists.txt
+sed -i "s:{CMAKE_BINARY_DIR}/lib:{CMAKE_BINARY_DIR}/lib${LIBDIRSUFFIX}:g" CMakeLists.txt
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DINKSCAPE_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ sed -i "s:lib/inkscape:lib${LIBDIRSUFFIX}/inkscape:g" src/cmake_install.cmake
+
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# We don't want the static libs
+rm -rf $PKG/usr/lib
+
+# Move man pages to their proper place
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+
+# fix the desktop file
+sed -i -n '/\[Drawing Shortcut Group\]/q;p' $PKG/usr/share/applications/inkscape.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS ChangeLog COPYING GPL2.txt GPL3.txt LGPL2.1.txt NEWS README README.*.txt TRANSLATORS 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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/inkscape-gtk2/inkscape-gtk2.info b/graphics/inkscape-gtk2/inkscape-gtk2.info
new file mode 100644
index 0000000000..e8bc7095d6
--- /dev/null
+++ b/graphics/inkscape-gtk2/inkscape-gtk2.info
@@ -0,0 +1,10 @@
+PRGNAM="inkscape-gtk2"
+VERSION="0.92.5"
+HOMEPAGE="http://www.inkscape.org/"
+DOWNLOAD="https://ftp.osuosl.org/pub/blfs/conglomeration/inkscape/inkscape-0.92.5.tar.bz2"
+MD5SUM="592c0e94cf00ea9e0a8901883d8f06fd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python2-lxml potrace"
+MAINTAINER="Petar Petrov"
+EMAIL="slackalaxy@gmail.com"
diff --git a/graphics/inkscape-gtk2/poppler-21.11.0.patch b/graphics/inkscape-gtk2/poppler-21.11.0.patch
new file mode 100644
index 0000000000..dd908756f0
--- /dev/null
+++ b/graphics/inkscape-gtk2/poppler-21.11.0.patch
@@ -0,0 +1,26 @@
+From ff61b5e3df3351d4ab5437181fe6d34729f4cbbb Mon Sep 17 00:00:00 2001
+From: Evangelos Foutras <evangelos@foutrelis.com>
+Date: Mon, 1 Nov 2021 21:45:38 +0200
+Subject: [PATCH] Fix build with poppler 21.11.0
+
+GfxFont::tag is now of type std::string instead of GooString *.
+---
+ src/extension/internal/pdfinput/pdf-parser.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp
+index e3d04d544b..feecefa043 100644
+--- a/src/extension/internal/pdfinput/pdf-parser.cpp
++++ b/src/extension/internal/pdfinput/pdf-parser.cpp
+@@ -2169,7 +2169,11 @@ void PdfParser::opSetFont(Object args[], int /*numArgs*/)
+ }
+ if (printCommands) {
+ printf(" font: tag=%s name='%s' %g\n",
++#if POPPLER_CHECK_VERSION(21,11,0)
++ font->getTag().c_str(),
++#else
+ font->getTag()->getCString(),
++#endif
+ font->getName() ? font->getName()->getCString() : "???",
+ args[1].getNum());
+ fflush(stdout);
diff --git a/graphics/inkscape-gtk2/slack-desc b/graphics/inkscape-gtk2/slack-desc
new file mode 100644
index 0000000000..ce3bb6623c
--- /dev/null
+++ b/graphics/inkscape-gtk2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+inkscape-gtk2: inkscape-gtk2 (Open Source vector graphics editor)
+inkscape-gtk2:
+inkscape-gtk2: Inkscape is an Open Source vector graphics editor, with capabilities
+inkscape-gtk2: similar to Illustrator, Freehand, CorelDraw, or Xara X using the W3C
+inkscape-gtk2: standard Scalable Vector Graphics (SVG) file format.
+inkscape-gtk2:
+inkscape-gtk2: Homepage: http://www.inkscape.org/
+inkscape-gtk2:
+inkscape-gtk2:
+inkscape-gtk2:
+inkscape-gtk2:
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 9eca4b02be..416df46df2 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=inkscape
-VERSION=${VERSION:-1.1.2}
-EXTRAVER=${EXTRAVER:-2022-02-04_0a00cf5339}
+VERSION=${VERSION:-1.3.2}
+EXTRAVER=${EXTRAVER:-2023-11-25_091e20ef0f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,7 +71,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}-${VERSION}_${EXTRAVER}
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/${PRGNAM}-${VERSION}.tar.?z*
cd ${PRGNAM}-${VERSION}_${EXTRAVER}
chown -R root:root .
find -L . \
@@ -94,8 +94,7 @@ dos2unix -k -q share/extensions/*.py
# Fix man page location:
sed -i CMakeScripts/Pod2man.cmake -e "s/SHARE_INSTALL/CMAKE_INSTALL_PREFIX/g"
-# patch from archlinux
-#patch -p1 < $CWD/poppler-21.11.0.patch
+patch -p1 < $CWD/libxml2-2.12.patch
mkdir -p build
cd build
@@ -111,7 +110,6 @@ cd build
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DBUILD_SHARED_LIBS=ON \
- -DWITH_DBUS=ON \
-DWITH_GRAPHICS_MAGICK=ON \
-DWITH_IMAGE_MAGICK=OFF \
..
@@ -133,7 +131,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING* README* TRANSLATORS LICENSES *.md doc/* \
+ AUTHORS CONTRIBUTING.md COPYING INSTALL.md NEWS.md README.md TRANSLATORS LICENSES 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 {} \;
diff --git a/graphics/inkscape/inkscape.info b/graphics/inkscape/inkscape.info
index af2aa17102..b3887b766d 100644
--- a/graphics/inkscape/inkscape.info
+++ b/graphics/inkscape/inkscape.info
@@ -1,10 +1,10 @@
PRGNAM="inkscape"
-VERSION="1.1.2"
+VERSION="1.3.2"
HOMEPAGE="http://www.inkscape.org/"
-DOWNLOAD="https://media.inkscape.org/dl/resources/file/inkscape-1.1.2.tar.xz"
-MD5SUM="a486807ffdf89a1d7ce9425dd60555ec"
+DOWNLOAD="https://inkscape.org/gallery/item/44615/inkscape-1.3.2.tar.xz"
+MD5SUM="76ed1f4b13065e80de8b2d77b6427b83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="GraphicsMagick gdl dos2unix double-conversion libcdr lxml numpy potrace pstoedit scour"
+REQUIRES="GraphicsMagick gdl dos2unix libcdr python3-lxml python2-numpy potrace pstoedit scour 2geom"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/inkscape/libxml2-2.12.patch b/graphics/inkscape/libxml2-2.12.patch
new file mode 100644
index 0000000000..dc5b0f5346
--- /dev/null
+++ b/graphics/inkscape/libxml2-2.12.patch
@@ -0,0 +1,33 @@
+From 694d8ae43d06efff21adebf377ce614d660b24cd Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Fri, 17 Nov 2023 22:30:42 +0100
+Subject: [PATCH] include missing header file
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This fixes build error:
+```
+/build/inkscape/src/inkscape/src/object/uri.cpp: In constructor ‘Inkscape::URI::URI(const gchar*, const char*)’:
+/build/inkscape/src/inkscape/src/object/uri.cpp:86:9: error: ‘xmlFree’ was not declared in this scope; did you mean ‘xmlFreeURI’?
+ 86 | xmlFree(full);
+```
+---
+ src/object/uri.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/object/uri.h b/src/object/uri.h
+index 381adec58cf..d5b211fe2b2 100644
+--- a/src/object/uri.h
++++ b/src/object/uri.h
+@@ -13,6 +13,7 @@
+ #define INKSCAPE_URI_H
+
+ #include <libxml/uri.h>
++#include <libxml/xmlmemory.h>
+ #include <memory>
+ #include <string>
+
+--
+GitLab
+
diff --git a/graphics/ipe/slack-desc b/graphics/ipe/slack-desc
index 379413276f..cc937ffb4d 100644
--- a/graphics/ipe/slack-desc
+++ b/graphics/ipe/slack-desc
@@ -8,9 +8,9 @@
|-----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 is a drawing editor for creating figures in PDF format. It
+ipe: supports making small figures for inclusion into LaTeX-documents
+ipe: as well as making multi-page PDF presentations.
ipe:
ipe: Homepage: http://ipe.otfried.org/
ipe:
diff --git a/graphics/jhead/README b/graphics/jhead/README
index f66ddff784..608c82f974 100644
--- a/graphics/jhead/README
+++ b/graphics/jhead/README
@@ -1,3 +1,5 @@
+jhead (JPEG Exif header manipulation tool)
+
Jhead is a command line program for manipulating the non-image
parts of Exif JPEG files that most digital cameras produce.
@@ -9,5 +11,3 @@ Though there are many programs out there now that can manipulate
Exif headers today, for many tasks, jhead remains the simplest and
most effective tool for the job, especially if used for automated
or scripted tasks.
-
-Homepage: http://www.sentex.net/~mwandel/jhead/
diff --git a/graphics/jhead/jhead.SlackBuild b/graphics/jhead/jhead.SlackBuild
index 78406c8c18..c2a0525234 100644
--- a/graphics/jhead/jhead.SlackBuild
+++ b/graphics/jhead/jhead.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for jhead
# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
+# Copyright 2023 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,22 +26,19 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jhead
-VERSION=${VERSION:-3.00}
+VERSION=${VERSION:-3.08}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,18 +48,14 @@ 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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -75,9 +69,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} +
make CFLAGS="$SLKCFLAGS"
diff --git a/graphics/jhead/jhead.info b/graphics/jhead/jhead.info
index cca85384b9..e18a20bfb7 100644
--- a/graphics/jhead/jhead.info
+++ b/graphics/jhead/jhead.info
@@ -1,10 +1,10 @@
PRGNAM="jhead"
-VERSION="3.00"
-HOMEPAGE="http://www.sentex.net/~mwandel/jhead/"
-DOWNLOAD="http://www.sentex.net/~mwandel/jhead/jhead-3.00.tar.gz"
-MD5SUM="86cc05ad59d049c35963c7c1a5296801"
+VERSION="3.08"
+HOMEPAGE="https://github.com/Matthias-Wandel/jhead"
+DOWNLOAD="https://github.com/Matthias-Wandel/jhead/archive/3.08/jhead-3.08.tar.gz"
+MD5SUM="d861962834d7e54a21478aeb954040b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/graphics/jhead/slack-desc b/graphics/jhead/slack-desc
index dca0a5b5ae..b0c9ffd290 100644
--- a/graphics/jhead/slack-desc
+++ b/graphics/jhead/slack-desc
@@ -14,6 +14,6 @@ jhead:
jhead: For many tasks, jhead remains the simplest and most effective tool
jhead: for the job, especially if used for automated or scripted tasks.
jhead:
-jhead: Homepage: http://www.sentex.net/~mwandel/jhead/
+jhead: https://github.com/Matthias-Wandel/jhead
jhead:
jhead:
diff --git a/graphics/jp2a/jp2a.info b/graphics/jp2a/jp2a.info
index 7e71e2e52b..417f95036f 100644
--- a/graphics/jp2a/jp2a.info
+++ b/graphics/jp2a/jp2a.info
@@ -1,7 +1,7 @@
PRGNAM="jp2a"
VERSION="1.0.7"
HOMEPAGE="https://csl.name/jp2a/"
-DOWNLOAD="https://github.com/cslarsen/jp2a/archive/v1.0.7.tar.gz"
+DOWNLOAD="https://github.com/cslarsen/jp2a/archive/v1.0.7/jp2a-1.0.7.tar.gz"
MD5SUM="7da403ce64bb6630bbb0002655831ab4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/jpeg2ps/jpeg2ps.SlackBuild b/graphics/jpeg2ps/jpeg2ps.SlackBuild
index 84c8b2297f..3dcc401f2f 100644
--- a/graphics/jpeg2ps/jpeg2ps.SlackBuild
+++ b/graphics/jpeg2ps/jpeg2ps.SlackBuild
@@ -22,7 +22,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,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"
diff --git a/graphics/jpegoptim/jpegoptim.SlackBuild b/graphics/jpegoptim/jpegoptim.SlackBuild
index 2365eadabc..f347c3af31 100644
--- a/graphics/jpegoptim/jpegoptim.SlackBuild
+++ b/graphics/jpegoptim/jpegoptim.SlackBuild
@@ -3,10 +3,15 @@
# Slackware build script for jpegoptim
# Originally written Ryan P.C. McQuen.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230902 bkw: update for v1.5.5.
+# 20230706 bkw: update for v1.5.4.
+# 20230105 bkw: update for v1.5.1.
+# 20220610 bkw: update for v1.4.7.
+
# 20210909 bkw: BUILD=2
# - relicense as WTFPL, with permission from original author.
# - expand README and slack-desc.
@@ -21,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jpegoptim
-VERSION=${VERSION:-1.4.6}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.5.5}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-RELEASE.$VERSION
-tar xvf $CWD/$PRGNAM-RELEASE.$VERSION.tar.gz
-cd $PRGNAM-RELEASE.$VERSION
+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 {} \+
@@ -86,7 +91,7 @@ make install DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING COPYRIGHT README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE COPYRIGHT README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/jpegoptim/jpegoptim.info b/graphics/jpegoptim/jpegoptim.info
index 2488f0da08..0d348b15f0 100644
--- a/graphics/jpegoptim/jpegoptim.info
+++ b/graphics/jpegoptim/jpegoptim.info
@@ -1,10 +1,10 @@
PRGNAM="jpegoptim"
-VERSION="1.4.6"
+VERSION="1.5.5"
HOMEPAGE="https://github.com/tjko/jpegoptim"
-DOWNLOAD="https://github.com/tjko/jpegoptim/archive/RELEASE.1.4.6/jpegoptim-RELEASE.1.4.6.tar.gz"
-MD5SUM="0c0da6caae5c29016e2e10ab87c65181"
+DOWNLOAD="https://github.com/tjko/jpegoptim/archive/v1.5.5/jpegoptim-1.5.5.tar.gz"
+MD5SUM="d756b8f407ac64f93a09f6155ba7959f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/kColorPicker/kColorPicker.SlackBuild b/graphics/kColorPicker/kColorPicker.SlackBuild
index c82f67cd2d..8736763cdc 100644
--- a/graphics/kColorPicker/kColorPicker.SlackBuild
+++ b/graphics/kColorPicker/kColorPicker.SlackBuild
@@ -30,14 +30,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,6 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
diff --git a/graphics/kImageAnnotator/kImageAnnotator.SlackBuild b/graphics/kImageAnnotator/kImageAnnotator.SlackBuild
index bdfa9d4ad2..a6ec4e9a45 100644
--- a/graphics/kImageAnnotator/kImageAnnotator.SlackBuild
+++ b/graphics/kImageAnnotator/kImageAnnotator.SlackBuild
@@ -30,14 +30,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,6 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
diff --git a/graphics/kim4/kim4.SlackBuild b/graphics/kim4/kim4.SlackBuild
index 3885b2b590..3317502c56 100644
--- a/graphics/kim4/kim4.SlackBuild
+++ b/graphics/kim4/kim4.SlackBuild
@@ -36,7 +36,7 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL README manual/index.html manual/work.css
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +54,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"
diff --git a/graphics/klayout/README b/graphics/klayout/README
new file mode 100644
index 0000000000..7c51c499ef
--- /dev/null
+++ b/graphics/klayout/README
@@ -0,0 +1,22 @@
+KLayout is a popular and open-source layout viewer and editor for GDS
+and OASIS formats. It's used primarily in the field of Electronic
+Design Automation (EDA).
+
+GDS and OASIS are file formats for design layouts of integrated
+circuits. KLayout allows users to view these complex layouts in a
+human-readable form, zooming in and out, panning, and moving around
+the design.
+
+In addition to viewing capabilities, KLayout also provides editing
+features. Users can manipulate the layout, changing shapes and
+patterns, or creating new elements from scratch.
+
+The software provides many more features useful in EDA, including:
+
+Support for different file formats like GDSII, OASIS, DXF, CIF, etc.
+Powerful search capabilities to locate specific elements in complex
+designs. A macro development environment that lets users automate
+tasks. Layout vs. Schematic (LVS) comparison tools. Overall, KLayout
+is a highly useful tool for anyone working in electronics design or
+fabrication, as it allows the inspection and modification of intricate
+IC designs.
diff --git a/graphics/klayout/doinst.sh b/graphics/klayout/doinst.sh
new file mode 100644
index 0000000000..318705f972
--- /dev/null
+++ b/graphics/klayout/doinst.sh
@@ -0,0 +1,7 @@
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+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/klayout/klayout.SlackBuild b/graphics/klayout/klayout.SlackBuild
new file mode 100644
index 0000000000..e92f62b20e
--- /dev/null
+++ b/graphics/klayout/klayout.SlackBuild
@@ -0,0 +1,171 @@
+#!/bin/bash
+
+# Slackware build script for klayout
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=klayout
+VERSION=${VERSION:-0.28.9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.*z?
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir builddir
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+QMAKE_CCACHE=1 \
+./build.sh \
+ -bin builddir/bin \
+ -build builddir/build \
+ -j4 \
+ -libcurl \
+ -libexpat \
+ -libpng
+#( cd $PKG
+ find builddir | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+ find builddir | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || :
+#)
+
+install -D -m 644 $CWD/klayout.desktop "$PKG"/usr/share/applications/klayoutEditor.desktop
+
+PYTHON_VERSION=$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/python"${PYTHON_VERSION}"/site-packages/klayout
+cp -pdr builddir/bin/pymod/* $PKG/usr/lib$LIBDIRSUFFIX/python"${PYTHON_VERSION}"/site-packages/
+for d in tl db rdb; do
+ mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/python"${PYTHON_VERSION}"/site-packages/klayout/$d
+ cp -pd builddir/bin/pymod/klayout/$d/* $PKG/usr/lib$LIBDIRSUFFIX/python"${PYTHON_VERSION}"/site-packages/klayout/$d/
+# chmod 644 $PKG/usr/lib$LIBDIRSUFFIX/python"${PYTHON_VERSION}"/site-packages/klayout/$d/*
+done
+find -L $PKG/usr/lib$LIBDIRSUFFIX/python"${PYTHON_VERSION}"/site-packages/klayout \
+ -type d -exec chmod 755 {} \; -o -type f -exec chmod 644 {} \;
+
+# lib
+
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/klayout
+cp -pd builddir/bin/*.so* $PKG/usr/lib$LIBDIRSUFFIX/klayout/
+chmod 644 $PKG/usr/lib$LIBDIRSUFFIX/klayout/*.so*
+
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/klayout/db_plugins
+cp -pd builddir/bin/db_plugins/*.so* $PKG/usr/lib$LIBDIRSUFFIX/klayout/db_plugins/
+chmod 644 $PKG/usr/lib$LIBDIRSUFFIX/klayout/db_plugins/*.so*
+
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/klayout/lay_plugins
+cp -pd builddir/bin/lay_plugins/*.so* $PKG/usr/lib$LIBDIRSUFFIX/klayout/lay_plugins/
+chmod 644 $PKG/usr/lib$LIBDIRSUFFIX/klayout/lay_plugins/*.so*
+
+# pymod
+# cd /tmp/klayout/%{_libdir}/klayout/pymod
+# #install pymod
+# for f in `find`; do
+# if [ -f "$f" ]; then
+# install -Dm644 "$f" "%{buildroot}%{python3_sitearch}/$f"
+# fi
+# done
+
+# create and populate bindir
+mkdir -p $PKG/usr/bin
+cp -pd builddir/bin/klayout builddir/bin/strm* $PKG/usr/bin/
+chmod 755 $PKG/usr/bin
+
+# create and populate includes
+mkdir -p $PKG/usr/include/klayout
+mkdir -p $PKG/usr/include/klayout/atomic
+find . -name '*.h' -exec install -Dm644 {} $PKG/usr/include/klayout \;
+install -Dm644 $PKG/usr/include/klayout/atomic.h $PKG/usr/include/klayout/atomic/
+install -Dm644 $PKG/usr/include/klayout/atomic_msvc.h $PKG/usr/include/klayout/atomic/
+install -Dm644 $PKG/usr/include/klayout/spinlock.h $PKG/usr/include/klayout/atomic/
+
+#other
+install -Dm644 etc/klayout.desktop $PKG/usr/share/applications/klayout.desktop
+install -Dm644 etc/logo.png $PKG/usr/share/pixmaps/klayout.png
+
+# ldconfing idiocy
+for mfile in $(find $PKG/ -type f -exec file {} + | grep ELF | awk -F: '{print $1}') ; do
+ old_rpath=$(patchelf --print-rpath $mfile)
+ patchelf --set-rpath ${old_rpath}:/usr/lib$LIBDIRSUFFIX/klayout/ $mfile
+done
+
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md CONTRIB COPYRIGHT \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/klayout/klayout.desktop b/graphics/klayout/klayout.desktop
new file mode 100644
index 0000000000..7ceedc7dab
--- /dev/null
+++ b/graphics/klayout/klayout.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=klayout
+GenericName=GDS2 chip layout Viewer
+Categories=Education;Math;
+Exec=klayout
+Icon=klayout
diff --git a/graphics/klayout/klayout.info b/graphics/klayout/klayout.info
new file mode 100644
index 0000000000..a3a685f97f
--- /dev/null
+++ b/graphics/klayout/klayout.info
@@ -0,0 +1,10 @@
+PRGNAM="klayout"
+VERSION="0.28.9"
+HOMEPAGE="https://www.klayout.de"
+DOWNLOAD="https://www.klayout.org/downloads/source/klayout-0.28.9.tar.bz2"
+MD5SUM="bb49d7042f71d48c08cbc9959b72abf6"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.klayout_2023-07-3@lockywolf.net"
diff --git a/graphics/klayout/slack-desc b/graphics/klayout/slack-desc
new file mode 100644
index 0000000000..d334724cc9
--- /dev/null
+++ b/graphics/klayout/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a 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------------------------------------------------------|
+klayout: klayout (Tool to view and edit gds/oas files.)
+klayout:
+klayout: KLayout is a popular and open-source layout viewer and editor for GDS
+klayout: and OASIS formats. It's used primarily in the field of Electronic
+klayout: Design Automation (EDA).
+klayout:
+klayout:
+klayout:
+klayout:
+klayout:
+klayout:
diff --git a/graphics/ksnip/ksnip.SlackBuild b/graphics/ksnip/ksnip.SlackBuild
index 22815afb4c..a75b2e10b1 100644
--- a/graphics/ksnip/ksnip.SlackBuild
+++ b/graphics/ksnip/ksnip.SlackBuild
@@ -30,14 +30,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,6 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
diff --git a/graphics/kuickshow/kuickshow.SlackBuild b/graphics/kuickshow/kuickshow.SlackBuild
index 5bb679618a..610ea1f32d 100644
--- a/graphics/kuickshow/kuickshow.SlackBuild
+++ b/graphics/kuickshow/kuickshow.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for KuickShow
-# Copyright 2013-2020, SlackBuilds.org Project, David Melik, Spokane, WA, USA
+# Copyright 2013-2024, SlackBuilds.org Project, David Melik, Spokane, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kuickshow
-VERSION=${VERSION:-0.10.1}
+VERSION=${VERSION:-20240316_791359a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+GITVER="$( echo $VERSION | cut -d_ -f2 )"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -38,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -69,9 +68,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$GITVER*
+tar xvf $CWD/$PRGNAM-$GITVER*.tar.?z
+cd $PRGNAM-$GITVER*
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/graphics/kuickshow/kuickshow.info b/graphics/kuickshow/kuickshow.info
index d3fc55a98c..9d5a916e17 100644
--- a/graphics/kuickshow/kuickshow.info
+++ b/graphics/kuickshow/kuickshow.info
@@ -1,8 +1,8 @@
PRGNAM="kuickshow"
-VERSION="0.10.1"
+VERSION="20240316_791359a"
HOMEPAGE="https://userbase.kde.org/KuickShow"
-DOWNLOAD="https://github.com/KDE/kuickshow/archive/v0.10.1/kuickshow-0.10.1.tar.gz"
-MD5SUM="9a62b261885c202434719526b5bf7df4"
+DOWNLOAD="https://github.com/KDE/kuickshow/archive/791359a/kuickshow-791359a71708347476ca9aac472f398fc4b31d3c.tar.gz"
+MD5SUM="80ba9432bed18a1cf41dbcffc1b2b635"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib"
diff --git a/graphics/lcdtest/lcdtest.SlackBuild b/graphics/lcdtest/lcdtest.SlackBuild
index 95e4b13ce3..0d52e383f6 100644
--- a/graphics/lcdtest/lcdtest.SlackBuild
+++ b/graphics/lcdtest/lcdtest.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
diff --git a/graphics/lddot/lddot.SlackBuild b/graphics/lddot/lddot.SlackBuild
index 9c1cf64e7c..af5288d8f3 100644
--- a/graphics/lddot/lddot.SlackBuild
+++ b/graphics/lddot/lddot.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lddot
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/lddot/lddot.info b/graphics/lddot/lddot.info
index 51dbadff5c..85e1c37797 100644
--- a/graphics/lddot/lddot.info
+++ b/graphics/lddot/lddot.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/ldglite/ldglite.SlackBuild b/graphics/ldglite/ldglite.SlackBuild
index eba610fa71..f037b4efb8 100644
--- a/graphics/ldglite/ldglite.SlackBuild
+++ b/graphics/ldglite/ldglite.SlackBuild
@@ -37,7 +37,7 @@ SRCVERSION=$(echo $VERSION | tr . _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -56,8 +56,8 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# We cannot use -O2 - compilation will crash
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
diff --git a/graphics/lensfun03/README b/graphics/lensfun03/README
new file mode 100644
index 0000000000..eb262929fe
--- /dev/null
+++ b/graphics/lensfun03/README
@@ -0,0 +1,9 @@
+Photographic lens info database
+
+lensfun is a library that provide a open source database of
+photographic lenses and their characteristics also provides a set of
+algorithms for correcting images based on detailed knowledge of lens
+properties and calibration data.
+
+This is version 0.3.x which should not conflict with Slackware's
+version and is needed by darktable.
diff --git a/graphics/lensfun03/lensfun03.SlackBuild b/graphics/lensfun03/lensfun03.SlackBuild
new file mode 100644
index 0000000000..d0e56962c9
--- /dev/null
+++ b/graphics/lensfun03/lensfun03.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Copyright 2009, 2010, 2012, 2017, 2019 Eric Hameleers, Eindhoven, NL
+# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+# 20230510 bkw: BUILD=2, get rid of /etc/ld.so.conf.d/
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lensfun03
+SRCNAM=lensfun
+VERSION=${VERSION:-0.3.3}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$(uname -m)" in
+ i?86) ARCH=i586 ;;
+ arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
+ *) ARCH=$(uname -m) ;;
+ esac
+ export ARCH
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "s390" ]; then
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "armv7hl" ]; then
+ SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
+ LIBDIRSUFFIX=""
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
+cd $SRCNAM-$VERSION
+
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+mkdir cmake-build
+cd cmake-build
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DBUILD_LENSTOOL=ON \
+ -DBUILD_FOR_SSE=ON \
+ -DBUILD_FOR_SSE2=ON \
+ -DBUILD_TESTS=OFF \
+ -DINSTALL_HELPER_SCRIPTS=ON \
+ ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+
+mkdir -p $PKG/usr/doc/${PRGNAM}-$VERSION
+cp -a \
+ ChangeLog README* docs/*.txt \
+ $PKG/usr/doc/${PRGNAM}-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/${PRGNAM}-$VERSION/$PRGNAM.SlackBuild
+
+if [ -r ChangeLog ]; then
+ DOCSDIR=$(echo $PKG/usr/doc/${PRGNAM}-$VERSION)
+ cat ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
+fi
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/lensfun03/lensfun03.info b/graphics/lensfun03/lensfun03.info
new file mode 100644
index 0000000000..ebd51fe94c
--- /dev/null
+++ b/graphics/lensfun03/lensfun03.info
@@ -0,0 +1,10 @@
+PRGNAM="lensfun03"
+VERSION="0.3.3"
+HOMEPAGE="http://lensfun.sourceforge.net"
+DOWNLOAD="https://github.com/lensfun/lensfun/archive/v0.3.3/lensfun-0.3.3.tar.gz"
+MD5SUM="04e0b58fd685ee680b0d70d61f0a5c17"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="D Woodfall"
+EMAIL="dave@slackbuilds.org"
diff --git a/graphics/lensfun03/slack-desc b/graphics/lensfun03/slack-desc
new file mode 100644
index 0000000000..e916387358
--- /dev/null
+++ b/graphics/lensfun03/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a 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------------------------------------------------------|
+lensfun03: lensfun03 (photographic lens info database)
+lensfun03:
+lensfun03: lensfun is a library that provide a open source database of
+lensfun03: photographic lenses and their characteristics also provides a set of
+lensfun03: algorithms for correcting images based on detailed knowledge of lens
+lensfun03: properties and calibration data.
+lensfun03:
+lensfun03: Homepage: http://lensfun.sourceforge.net
+lensfun03:
+lensfun03:
+lensfun03:
diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild
index 975f55be25..0e23b75d35 100644
--- a/graphics/leocad/leocad.SlackBuild
+++ b/graphics/leocad/leocad.SlackBuild
@@ -4,7 +4,7 @@
# 3D design program for bricks
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2015-2022 Philip van der Hoeven, Almere, The Netherlands
+# Copyright 2015-2024 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=leocad
-VERSION=${VERSION:-21.06}
+VERSION=${VERSION:-23.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info
index 9dce05db4c..feb5457c28 100644
--- a/graphics/leocad/leocad.info
+++ b/graphics/leocad/leocad.info
@@ -1,8 +1,8 @@
PRGNAM="leocad"
-VERSION="21.06"
+VERSION="23.03"
HOMEPAGE="https://www.leocad.org/"
-DOWNLOAD="https://github.com/leozide/leocad/archive/v21.06/leocad-21.06.tar.gz"
-MD5SUM="8fab6045cc7aa709cc1cf82ba3bde67a"
+DOWNLOAD="https://github.com/leozide/leocad/archive/v23.03/leocad-23.03.tar.gz"
+MD5SUM="973fe3b15dff71e711e88616db61ea30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="leocad_pieces"
diff --git a/graphics/leocad_pieces/leocad_pieces.SlackBuild b/graphics/leocad_pieces/leocad_pieces.SlackBuild
index b8eedd5723..403de4cd70 100644
--- a/graphics/leocad_pieces/leocad_pieces.SlackBuild
+++ b/graphics/leocad_pieces/leocad_pieces.SlackBuild
@@ -4,7 +4,7 @@
# LeoCAD
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2016-2022 Philip van der Hoeven, Almere, The Netherlands
+# Copyright 2016-2024 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=leocad_pieces
-VERSION=${VERSION:-20.03}
+VERSION=${VERSION:-23.06}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/graphics/leocad_pieces/leocad_pieces.info b/graphics/leocad_pieces/leocad_pieces.info
index 2cc4d0e914..aa5a42af7d 100644
--- a/graphics/leocad_pieces/leocad_pieces.info
+++ b/graphics/leocad_pieces/leocad_pieces.info
@@ -1,8 +1,8 @@
PRGNAM="leocad_pieces"
-VERSION="20.03"
+VERSION="23.06"
HOMEPAGE="https://www.leocad.org/"
-DOWNLOAD="https://github.com/leozide/leocad/releases/download/v21.06/Library-20.03.zip"
-MD5SUM="484fa1711bcecf78bc75484abd2e1788"
+DOWNLOAD="https://github.com/leozide/leocad/releases/download/v23.03/Library-23.06.zip"
+MD5SUM="4245a97303f6057e59f4c623afa43002"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/libfpx/libfpx.SlackBuild b/graphics/libfpx/libfpx.SlackBuild
index 02ce4f0fa3..05bf8faee5 100644
--- a/graphics/libfpx/libfpx.SlackBuild
+++ b/graphics/libfpx/libfpx.SlackBuild
@@ -2,15 +2,23 @@
# Slackware build script for libfpx
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230919 bkw: update download link (thanks to Alexander Verbovetsky for
+# finding the new URL).
+
+# 20230203 bkw: BUILD=2: the PDF docs are unreadable, remove from package.
+
+# Note to self: keep an eye on https://github.com/ImageMagick/libfpx
+# So far nothing new there but minor build fixes.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libfpx
VERSION=${VERSION:-1.3.1_10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -55,8 +63,8 @@ rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
cd $PRGNAM-$SRCVER
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
patch -p1 < $CWD/export-symbols.patch
@@ -76,10 +84,13 @@ make
make install-strip DESTDIR=$PKG
rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog NEWS README doc/* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20230203 bkw: Do not include doc/* here. The PDF files are
+# gibberish, can't seem to recover them with either ghostscript or
+# mutool. The readme.txt doesn't look useful at all.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS ChangeLog NEWS README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/libfpx/libfpx.info b/graphics/libfpx/libfpx.info
index c8acc78a00..c301723e7e 100644
--- a/graphics/libfpx/libfpx.info
+++ b/graphics/libfpx/libfpx.info
@@ -1,10 +1,10 @@
PRGNAM="libfpx"
VERSION="1.3.1_10"
HOMEPAGE="http://fileformats.archiveteam.org/wiki/FlashPix"
-DOWNLOAD="https://ftp.osuosl.org/pub/gentoo/distfiles/libfpx-1.3.1-10.tar.bz2"
+DOWNLOAD="https://imagemagick.org/archive/delegates/libfpx-1.3.1-10.tar.bz2"
MD5SUM="2841629bac1e3ae2b00c40d1ab2b721a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/libplacebo/README b/graphics/libplacebo/README
index 689ce78569..eff104786c 100644
--- a/graphics/libplacebo/README
+++ b/graphics/libplacebo/README
@@ -1,4 +1,3 @@
libplacebo is essentially the core rendering algorithms and ideas of mpv
turned into a library.
-shaderc is an optional dependency.
diff --git a/graphics/libplacebo/libplacebo.SlackBuild b/graphics/libplacebo/libplacebo.SlackBuild
index 87133eddc8..ddda6f8e38 100644
--- a/graphics/libplacebo/libplacebo.SlackBuild
+++ b/graphics/libplacebo/libplacebo.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for libplacebo
# Copyright 2019-2020 Hunter Sezen California, USA
+# Copyright 2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libplacebo
-VERSION=${VERSION:-3.120.3}
+VERSION=${VERSION:-6.338.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -72,6 +70,7 @@ cd $TMP
rm -rf $PRGNAM-v$VERSION
tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
cd $PRGNAM-v$VERSION
+patch -p0 < $CWD/use_meson-0.59.4.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -88,8 +87,8 @@ else
RELEASE=plain
fi
-# Use an older epoxy version.
-sed -i 's/1.4.0/1.3.1/' src/meson.build
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages/
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -99,6 +98,7 @@ meson \
-Dstrip=$NDEBUG \
-Db_ndebug=$NDEBUG \
-Dbuildtype=$RELEASE \
+ -Ddemos=false \
build
"${NINJA:=ninja}" -C build
diff --git a/graphics/libplacebo/libplacebo.info b/graphics/libplacebo/libplacebo.info
index 9508244dc0..0bbbb982d8 100644
--- a/graphics/libplacebo/libplacebo.info
+++ b/graphics/libplacebo/libplacebo.info
@@ -1,10 +1,10 @@
PRGNAM="libplacebo"
-VERSION="3.120.3"
+VERSION="6.338.1"
HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
-DOWNLOAD="https://code.videolan.org/videolan/libplacebo/-/archive/v3.120.3/libplacebo-v3.120.3.tar.gz"
-MD5SUM="56161af56c2568ce77467092b5c005c9"
+DOWNLOAD="https://code.videolan.org/videolan/libplacebo/-/archive/v6.338.1/libplacebo-v6.338.1.tar.gz"
+MD5SUM="36f5d178cc8a5366e35fe1e7400c19c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+REQUIRES="python3-meson-opt python3-glad"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"
diff --git a/graphics/libplacebo/use_meson-0.59.4.diff b/graphics/libplacebo/use_meson-0.59.4.diff
new file mode 100644
index 0000000000..3c1c83ebde
--- /dev/null
+++ b/graphics/libplacebo/use_meson-0.59.4.diff
@@ -0,0 +1,11 @@
+--- meson.build.orig 2023-03-24 00:53:00.000000000 +1000
++++ meson.build 2023-08-23 10:52:45.189000000 +1000
+@@ -6,7 +6,7 @@
+ 'c_std=c11',
+ 'cpp_std=c++11',
+ ],
+- meson_version: '>=0.63',
++ meson_version: '>=0.59.4',
+ version: '@0@.@1@.@2@'.format(
+ # Major version
+ 5,
diff --git a/graphics/lilypond/doinst.sh b/graphics/lilypond/doinst.sh
new file mode 100644
index 0000000000..1bef502028
--- /dev/null
+++ b/graphics/lilypond/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/graphics/lilypond/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index dd233036cb..825747fadc 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lilypond
-# Copyright 2012-2022 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2012-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lilypond
-VERSION=${VERSION:-2.22.2}
+VERSION=${VERSION:-2.24.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -44,15 +44,12 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="AUTHORS* COPYING* DEDICATION HACKING INSTALL* LICENSE* NEWS* README* ROADMAP"
+DOCS="AUTHORS* COPYING* DEDICATION INSTALL* LICENSE* NEWS* README* ROADMAP"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -80,8 +77,6 @@ chmod -R u+w,go-w,a+rX-st .
# Move the vim syntax highlighting files to where vim can find them.
sed -i '/^vimdir/s|=.*|= $(datadir)/vim/vimfiles|' config.make.in
-# --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=\${exec_prefix}/lib${LIBDIRSUFFIX} \
@@ -91,23 +86,17 @@ sed -i '/^vimdir/s|=.*|= $(datadir)/vim/vimfiles|' config.make.in
--infodir=\${prefix}/info \
--docdir=\${prefix}/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- --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
+make all bytecode
+make install install-bytecode DESTDIR=$PKG
find $PKG -exec file {} + | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -execdir gzip -9 {} +
-# `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 {} +
@@ -117,6 +106,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/doinst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/lilypond/lilypond.info b/graphics/lilypond/lilypond.info
index 760fa6d37a..b4df6b9b50 100644
--- a/graphics/lilypond/lilypond.info
+++ b/graphics/lilypond/lilypond.info
@@ -1,10 +1,10 @@
PRGNAM="lilypond"
-VERSION="2.22.2"
+VERSION="2.24.3"
HOMEPAGE="https://lilypond.org/"
-DOWNLOAD="https://lilypond.org/download/sources/v2.22/lilypond-2.22.2.tar.gz"
-MD5SUM="677e68e728b24f66be5d20072294f41c"
+DOWNLOAD="https://lilypond.org/download/sources/v2.24/lilypond-2.24.3.tar.gz"
+MD5SUM="4e968f826586b7a5ac24f54f6007166a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fontforge texi2html guile1.8"
+REQUIRES="fontforge texi2html"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/lximage-qt/README b/graphics/lximage-qt/README
new file mode 100644
index 0000000000..c6b0ea6b08
--- /dev/null
+++ b/graphics/lximage-qt/README
@@ -0,0 +1,2 @@
+LXImage-Qt is the Qt port of LXImage, a simple and fast image viewer.
+It also features a tool for taking screenshots.
diff --git a/graphics/lximage-qt/doinst.sh b/graphics/lximage-qt/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/graphics/lximage-qt/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/lximage-qt/lximage-qt.SlackBuild b/graphics/lximage-qt/lximage-qt.SlackBuild
new file mode 100644
index 0000000000..3b9fa78999
--- /dev/null
+++ b/graphics/lximage-qt/lximage-qt.SlackBuild
@@ -0,0 +1,102 @@
+#!/bin/bash
+
+# Slackware build script for lximage-qt
+
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=lximage-qt
+VERSION=${VERSION:-1.4.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/lximage-qt/lximage-qt.info b/graphics/lximage-qt/lximage-qt.info
new file mode 100644
index 0000000000..01897e2d43
--- /dev/null
+++ b/graphics/lximage-qt/lximage-qt.info
@@ -0,0 +1,10 @@
+PRGNAM="lximage-qt"
+VERSION="1.4.0"
+HOMEPAGE="https://github.com/lxqt/lximage-qt"
+DOWNLOAD="https://github.com/lxqt/lximage-qt/releases/download/1.4.0/lximage-qt-1.4.0.tar.xz"
+MD5SUM="968fb15faefa2e016e8e17c8b70d2715"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libfm-qt"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/graphics/lximage-qt/slack-desc b/graphics/lximage-qt/slack-desc
new file mode 100644
index 0000000000..9259cb5aae
--- /dev/null
+++ b/graphics/lximage-qt/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+lximage-qt: lximage-qt (LXQt image viewer)
+lximage-qt:
+lximage-qt: LXImage-Qt is the Qt port of LXImage, a simple and fast image viewer.
+lximage-qt: It also features a tool for taking screenshots.
+lximage-qt:
+lximage-qt:
+lximage-qt:
+lximage-qt:
+lximage-qt:
+lximage-qt:
+lximage-qt:
diff --git a/graphics/maim/maim.SlackBuild b/graphics/maim/maim.SlackBuild
index efb8883830..161480adec 100644
--- a/graphics/maim/maim.SlackBuild
+++ b/graphics/maim/maim.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for maim
-# Copyright 2019 klorophatu
+# Copyright 2019 klorophatu <klorophatu@krutt.org>
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230126 bkw: Modified by SlackBuilds.org:
+# - remove false imlib2 dependency from .info file. no script changes.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=maim
-VERSION=${VERSION:-5.5.3}
+VERSION=${VERSION:-5.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,23 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -80,7 +66,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 {} \;
-cmake -DCMAKE_INSTALL_PREFIX="/usr/" ./
+cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_INSTALL_MANDIR="/usr/man/" ./
make
make install DESTDIR=$PKG
@@ -88,8 +74,8 @@ 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/share/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README.md license.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/maim/maim.info b/graphics/maim/maim.info
index a4be07ed55..be9208b41d 100644
--- a/graphics/maim/maim.info
+++ b/graphics/maim/maim.info
@@ -1,10 +1,10 @@
PRGNAM="maim"
-VERSION="5.5.3"
+VERSION="5.8.0"
HOMEPAGE="https://github.com/naelstrof/maim"
-DOWNLOAD="https://github.com/naelstrof/maim/archive/v5.5.3/maim-5.5.3.tar.gz"
-MD5SUM="ca877cdcf454f454076c6bf7a6d85890"
+DOWNLOAD="https://github.com/naelstrof/maim/archive/v5.8.0/maim-5.8.0.tar.gz"
+MD5SUM="4364b51a607fdaa6c2eeaa9d87f84727"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="imlib2 slop"
-MAINTAINER="klorophatu"
-EMAIL="klorophatu@krutt.org"
+REQUIRES="slop"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/graphics/mangohud/README b/graphics/mangohud/README
index e9caaf0449..f0410f70b4 100644
--- a/graphics/mangohud/README
+++ b/graphics/mangohud/README
@@ -14,8 +14,4 @@ the build script.
This SlackBuild defaults to building mangoapp as well. To
disable this behavior, pass MANGOAPP=false to the build
script. This removes the dependency on glfw3 and
-nlohmann_json's include.zip
-
-If you would like multilib support, pass COMPAT32=yes to
-the build script. Please note that this only adds 32bit
-support for mangohud, NOT mangoapp.
+nlohmann_json.
diff --git a/graphics/mangohud/doinst.sh b/graphics/mangohud/doinst.sh
new file mode 100644
index 0000000000..4110f5514d
--- /dev/null
+++ b/graphics/mangohud/doinst.sh
@@ -0,0 +1,5 @@
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/mangohud/mangohud.SlackBuild b/graphics/mangohud/mangohud.SlackBuild
index ca7f8c936c..a46883284c 100644
--- a/graphics/mangohud/mangohud.SlackBuild
+++ b/graphics/mangohud/mangohud.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mangohud
-# Copyright 2022 Steven Voges <svoges.sbo@gmail.com>
+# Copyright 2022-2023 Steven Voges <Oregon, USA>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,16 +26,15 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mangohud
SRCNAM=MangoHud
-VERSION=${VERSION:-0.6.7}
-IMGUIVER=${IMGUIVER:-1.81}
-SPDLOGVER=${SPDLOGVER:-1.8.5}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-COMPAT32=${COMPAT32:-no}
+VERSION=${VERSION:-0.6.9.1}
+SRCVER=${SRCVER:-0.6.9-1}
+IMGUI=${IMGUI:-1.81}
+VULKANHEADERS=${VULKANHEADERS:-1.2.158}
XNVCTRL=${XNVCTRL:-disabled}
-SYSVULKAN=${SYSVULKAN:-enabled}
MANGOAPP=${MANGOAPP:-true}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,15 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -72,24 +67,36 @@ else
LIBDIRSUFFIX=""
fi
+#Test for multilib
+COMPAT32=${COMPAT32@L}
+COMPATTMP="$( mktemp -d $TMP/compat32-test-XXXXXX )"
+cd $COMPATTMP
+echo "int main(void) {; return(0); }" > "$COMPATTMP/test.c"
+gcc -m32 "$COMPATTMP/test.c" -o /dev/null >/dev/null 2>&1 && COMPAT32=${COMPAT32:-yes}
+cd - >/dev/null 2>&1
+rm -rf "$COMPATTMP"
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
-cd $SRCNAM-$VERSION/subprojects
-tar xvf $CWD/imgui-$IMGUIVER.tar.gz
-unzip $CWD/imgui_$IMGUIVER-1_patch.zip
-tar xvf $CWD/spdlog-$SPDLOGVER.tar.gz
-unzip $CWD/spdlog_$SPDLOGVER-1_patch.zip
-if [ "$MANGOAPP" = "true" ]; then
- unzip $CWD/include.zip -d nlohmann_json-3.10.5
-fi
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.?z
+cd $SRCNAM-$SRCVER/subprojects
+tar xvf $CWD/Vulkan-Headers-$VULKANHEADERS.tar.gz
+unzip $CWD/vulkan-headers_$VULKANHEADERS-2_patch.zip
+tar xvf $CWD/imgui-$IMGUI.tar.gz
+unzip $CWD/imgui_$IMGUI-1_patch.zip
cd ..
-chown -R root:root .
+#Slackware 15.0 ships meson 59.4, and mangohud requires 60.0, so we patch it.
+sed -i "s/0.60.0/0.59.4/g" meson.build
+#Fix install_tag warnings that may become errors in the future.
+sed -i "/install_tag/d" data/meson.build
+sed -i "/install_tag/d" src/meson.build
+
+chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
@@ -109,7 +116,7 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
- -Duse_system_vulkan=$SYSVULKAN \
+ -Duse_system_spdlog=enabled \
-Dwith_xnvctrl=$XNVCTRL \
-Dmangoapp=$MANGOAPP
ninja
@@ -133,9 +140,9 @@ if [ "$COMPAT32" = "yes" ]; then
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc \
- -Duse_system_vulkan=$SYSVULKAN \
+ -Duse_system_spdlog=enabled \
-Dwith_xnvctrl=$XNVCTRL \
- -Dmangoapp=$MANGOAPP
+ -Dmangoapp=false
ninja
DESTDIR=$PKG ninja install
cd ..
@@ -157,6 +164,7 @@ rm -rf $PKG/usr/share/doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mangohud/mangohud.info b/graphics/mangohud/mangohud.info
index 4875743957..2c56637691 100644
--- a/graphics/mangohud/mangohud.info
+++ b/graphics/mangohud/mangohud.info
@@ -1,20 +1,18 @@
PRGNAM="mangohud"
-VERSION="0.6.7"
+VERSION="0.6.9.1"
HOMEPAGE="https://github.com/flightlessmango/MangoHud"
-DOWNLOAD="https://github.com/flightlessmango/MangoHud/archive/v0.6.7/MangoHud-0.6.7.tar.gz \
+DOWNLOAD="https://github.com/flightlessmango/MangoHud/archive/v0.6.9-1/MangoHud-0.6.9-1.tar.gz \
+ https://github.com/KhronosGroup/Vulkan-Headers/archive/v1.2.158/Vulkan-Headers-1.2.158.tar.gz \
+ https://github.com/mesonbuild/wrapdb/releases/download/vulkan-headers_1.2.158-2/vulkan-headers_1.2.158-2_patch.zip \
https://github.com/ocornut/imgui/archive/v1.81/imgui-1.81.tar.gz \
- https://github.com/mesonbuild/wrapdb/releases/download/imgui_1.81-1/imgui_1.81-1_patch.zip \
- https://github.com/gabime/spdlog/archive/v1.8.5/spdlog-1.8.5.tar.gz \
- https://github.com/mesonbuild/wrapdb/releases/download/spdlog_1.8.5-1/spdlog_1.8.5-1_patch.zip \
- https://github.com/nlohmann/json/releases/download/v3.10.5/include.zip"
-MD5SUM="0a749dce36dc158d12bd9d77b3e0815e \
+ https://github.com/mesonbuild/wrapdb/releases/download/imgui_1.81-1/imgui_1.81-1_patch.zip"
+MD5SUM="572b748eabd3b61443301991b177eb9b \
+ 44245ecbc0c428b1c8db58089eb59821 \
+ 4c47a8c306c495f94d2ec2fe8f611178 \
9b48ac38829b538233f99c0aa8cacf50 \
- ea266ae77ac14290ceb2eafa56c1de83 \
- 8755cdbc857794730a022722a66d431a \
- 73a3c3149a4aa2b105aeef3a1d45bcb0 \
- 3cea575f0b559e2609507a5ee6469dea"
+ ea266ae77ac14290ceb2eafa56c1de83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="glfw3 %README%"
+REQUIRES="glfw3 nlohmann_json spdlog"
MAINTAINER="Steven Voges"
EMAIL="svoges.sbo@gmail.com"
diff --git a/graphics/mangohud/slack-desc b/graphics/mangohud/slack-desc
index 28ac83f9e1..e8c616c788 100644
--- a/graphics/mangohud/slack-desc
+++ b/graphics/mangohud/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-mangohud: mangohud (Vulkan/OpenGL Overlay)
+mangohud: mangohud (Performance Overlay)
mangohud:
mangohud: MangoHud is a Vulkan and OpenGL overlay for monitoring FPS,
mangohud: temperatures, CPU/GPU load and more.
diff --git a/graphics/mapcrafter/mapcrafter.info b/graphics/mapcrafter/mapcrafter.info
index da1e12942c..3412557818 100644
--- a/graphics/mapcrafter/mapcrafter.info
+++ b/graphics/mapcrafter/mapcrafter.info
@@ -1,7 +1,7 @@
PRGNAM="mapcrafter"
VERSION="2.3.1"
HOMEPAGE="https://mapcrafter.org/"
-DOWNLOAD="https://github.com/mapcrafter/mapcrafter/archive/v.2.3.1.tar.gz"
+DOWNLOAD="https://github.com/mapcrafter/mapcrafter/archive/v.2.3.1/mapcrafter-v.2.3.1.tar.gz"
MD5SUM="9a63fbeb841eef9932dda8644f038f3d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/mcomix3/README b/graphics/mcomix/README
index 5a531628f2..4ee2c79199 100644
--- a/graphics/mcomix3/README
+++ b/graphics/mcomix/README
@@ -1,10 +1,9 @@
-mcomix3 (comic book reader)
+mcomix (comic book reader)
MComix is a user-friendly, customizable image viewer. It is
specifically designed to handle comic books (both Western comics and
manga) and supports a variety of container formats (including CBR,
-CBZ, CB7, CBT, LHA and PDF). MComix is a fork of Comix, and MComix3 is
-a Python3 fork of MComix.
+CBZ, CB7, CBT, LHA and PDF).
Optional runtime dependencies:
diff --git a/graphics/mcomix/doinst.sh b/graphics/mcomix/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/graphics/mcomix/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/mcomix/mcomix.SlackBuild b/graphics/mcomix/mcomix.SlackBuild
new file mode 100644
index 0000000000..8fb34f22ef
--- /dev/null
+++ b/graphics/mcomix/mcomix.SlackBuild
@@ -0,0 +1,98 @@
+#!/bin/bash
+
+# Slackware build script for mcomix
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20240207 bkw: update for v3.1.0.
+# 20231124 bkw: update for v3.0.0.
+# 20230905 bkw: update for v2.3.0
+# 20230822 bkw: update for v2.2.1.
+# 20230625 bkw: update for v2.1.1.
+
+# Note to self: it would be possible to use bsdtar in place of unrar
+# and p7zip, but it would require too much patching. Better to talk
+# upstream into adding it as an option.
+
+# 20230111 bkw: This is an all-new SlackBuild for mcomix. We removed
+# mcomix from SBo in May of 2020 because it needed python2 libraries
+# that no longer existed in Slackware. It was replaced with mcomix3,
+# a python3 fork of mcomix. Since then, the original mcomix has been
+# ported to python3, and mcomix3 development has ended.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mcomix
+VERSION=${VERSION:-3.1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# No need for SLKCFLAGS (no C code here). No LIBDIRSUFFIX either,
+# setup.py is smart enough to choose lib or lib64 as needed.
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+# Bad tarball permissions (every file is +x), please do not "fix" this
+# by reverting to template.
+find . -type f -a -exec chmod 644 {} + -o \
+ -type d -a -exec chmod 755 {} +
+
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir "$PKG" dist/*.whl
+
+# 20231124 bkw: 3.0.0 ships this stuff but doesn't install it like
+# the 2.x series did.
+mv share/man man
+cp -a share man $PKG/usr
+
+# 20230905 bkw: 2.2.1 has good icons. The ones in 2.3.0 are wrong-sized,
+# e.g. the "32x32" one is actually 32x24. So I made a tarball of the old
+# icons... which didn't include the giant 256x256 one.
+# 20231124 bkw: 3.0.0 icons are still b0rked.
+rm -rf $PKG/usr/share/icons/hicolor/256x256
+( cd $PKG ; tar xvf $CWD/mcomix-good-icons.tar.xz )
+mkdir -p $PKG/usr/share/pixmaps
+
+# 20230905 bkw: old-style icon.
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a COPYING README* ChangeLog* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mcomix/mcomix.info b/graphics/mcomix/mcomix.info
new file mode 100644
index 0000000000..c50562ab6d
--- /dev/null
+++ b/graphics/mcomix/mcomix.info
@@ -0,0 +1,12 @@
+PRGNAM="mcomix"
+VERSION="3.1.0"
+HOMEPAGE="https://sourceforge.net/projects/mcomix/"
+DOWNLOAD="https://downloads.sourceforge.net/project/mcomix/MComix-3.1.0/mcomix-3.1.0.tar.gz \
+ https://slackware.uk/~urchlay/src/mcomix-good-icons.tar.xz"
+MD5SUM="4d55265ebd28f24a86a7e88ef2d84353 \
+ dea5da6a93d316d3c4aad92ec40d1be1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-setuptools-opt"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/mcomix/slack-desc b/graphics/mcomix/slack-desc
new file mode 100644
index 0000000000..a049e626a9
--- /dev/null
+++ b/graphics/mcomix/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mcomix: mcomix (comic book reader)
+mcomix:
+mcomix: MComix is a user-friendly, customizable image viewer. It is
+mcomix: specifically designed to handle comic books (both Western comics and
+mcomix: manga) and supports a variety of container formats (including CBR,
+mcomix: CBZ, CB7, CBT, LHA and PDF).
+mcomix:
+mcomix:
+mcomix:
+mcomix:
+mcomix:
diff --git a/graphics/mcomix3/git2tarxz.sh b/graphics/mcomix3/git2tarxz.sh
deleted file mode 100644
index 9271c6cd0e..0000000000
--- a/graphics/mcomix3/git2tarxz.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-# Create source tarball from git repo, with generated version
-# number.
-
-# Note that this script doesn't need to be run as root. It does
-# need to be able to write to the current directory it's run from.
-
-# Takes one optional argument, which is the commit or tag to create
-# a tarball of. With no arg, HEAD is used.
-
-PRGNAM=mcomix3
-CLONE_URL=https://github.com/multiSnow/mcomix3
-
-set -e
-
-GITDIR=$( mktemp -dt $PRGNAM.git.XXXXXX )
-rm -rf $GITDIR
-git clone $CLONE_URL $GITDIR
-
-CWD="$( pwd )"
-cd $GITDIR
-
-if [ "$1" != "" ]; then
- git reset --hard "$1" || exit 1
-fi
-
-GIT_SHA=$( git rev-parse --short HEAD )
-
-DATE=$( git log --date=format:%Y%m%d --format=%cd | head -1 )
-
-VERSION=${DATE}_${GIT_SHA}
-
-rm -rf .git
-find . -name .gitignore -print0 | xargs -0 rm -f
-
-cd "$CWD"
-rm -rf $PRGNAM-$VERSION $PRGNAM-$VERSION.tar.xz
-mv $GITDIR $PRGNAM-$VERSION
-tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION
-
-echo
-echo "Created tarball: $PRGNAM-$VERSION.tar.xz"
-echo "VERSION=$VERSION"
diff --git a/graphics/mcomix3/mcomix3.SlackBuild b/graphics/mcomix3/mcomix3.SlackBuild
deleted file mode 100644
index c1e07dccd0..0000000000
--- a/graphics/mcomix3/mcomix3.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for mcomix3
-
-# Written by B. Watson (yalhcru@gmail.com)
-
-# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=mcomix3
-VERSION=${VERSION:-20211016_483f4b3}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- 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 {} \+
-
-# README.rst says not to use setup.py, use installer.py instead.
-# It looks like someone wrote 100 lines of python code that
-# does the same thing as "cp -a $src $target" would do, but
-# I guess when all you have is a hammer...
-python3 installer.py --srcdir=mcomix --target=$PKG/usr/share
-
-# executables get symlinks. the .desktop and .thumbnailer files
-# refer to these as "mcomix" and "comicthumb", with no absolute
-# path and without the .py extension, so these are absolutely
-# necessary (instead of just being convenient).
-mkdir -p $PKG/usr/bin
-ln -s ../share/mcomix/mcomixstarter.py $PKG/usr/bin/mcomix
-ln -s ../share/mcomix/comicthumb.py $PKG/usr/bin/comicthumb
-
-# .desktop and icons don't get installed by installer.py
-mkdir -p $PKG/usr/share/applications
-cp -a mime/mcomix.desktop $PKG/usr/share/applications
-
-# symlink app icons, not move. it's not 100% clear to me whether the
-# application uses them in their original location or not.
-PKGHIC=$PKG/usr/share/icons/hicolor
-for i in 16 22 24 32 48; do
- px="${i}x${i}"
- mkdir -p $PKGHIC/$px/{apps,mimetypes}
- #cp -a mcomix/mcomix/images/$px/* $PKGHIC/$px/apps
- ln -s ../../../../mcomix/mcomix/images/$px/mcomix.png $PKGHIC/$px/apps/mcomix.png
- cp -a mime/icons/$px/* $PKGHIC/$px/mimetypes
-done
-
-# mime stuff also needs manual install.
-mkdir -p $PKG/usr/share/metainfo \
- $PKG/usr/share/glib-2.0/schemas \
- $PKG/usr/share/thumbnailers
-cp -a mime/mcomix.appdata.xml $PKG/usr/share/metainfo
-cp -a mime/comicbook.schemas $PKG/usr/share/glib-2.0/schemas
-cp -a mime/comicthumb.thumbnailer $PKG/usr/share/thumbnailers
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mcomix3/mcomix3.info b/graphics/mcomix3/mcomix3.info
deleted file mode 100644
index c46837b1ff..0000000000
--- a/graphics/mcomix3/mcomix3.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mcomix3"
-VERSION="20211016_483f4b3"
-HOMEPAGE="https://github.com/multiSnow/mcomix3"
-DOWNLOAD="https://slackware.uk/~urchlay/src/mcomix3-20211016_483f4b3.tar.xz"
-MD5SUM="30be909380290909ccf7e8b154fe3f78"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/graphics/mcomix3/slack-desc b/graphics/mcomix3/slack-desc
deleted file mode 100644
index 9aaf378214..0000000000
--- a/graphics/mcomix3/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-mcomix3: mcomix3 (comic book reader)
-mcomix3:
-mcomix3: MComix is a user-friendly, customizable image viewer. It is
-mcomix3: specifically designed to handle comic books (both Western comics and
-mcomix3: manga) and supports a variety of container formats (including CBR,
-mcomix3: CBZ, CB7, CBT, LHA and PDF). MComix is a fork of Comix, and MComix3 is
-mcomix3: a Python3 fork of MComix.
-mcomix3:
-mcomix3:
-mcomix3:
-mcomix3:
diff --git a/graphics/meh/meh.SlackBuild b/graphics/meh/meh.SlackBuild
index a06270ee21..cdf5ba03db 100644
--- a/graphics/meh/meh.SlackBuild
+++ b/graphics/meh/meh.SlackBuild
@@ -20,7 +20,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
# 20180628 bkw:
# - Take over maintenance.
diff --git a/graphics/meh/meh.info b/graphics/meh/meh.info
index fb0b5489b4..2089da298a 100644
--- a/graphics/meh/meh.info
+++ b/graphics/meh/meh.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/metapixel/metapixel.SlackBuild b/graphics/metapixel/metapixel.SlackBuild
index 9755a7d2d7..e77a7acb2a 100644
--- a/graphics/metapixel/metapixel.SlackBuild
+++ b/graphics/metapixel/metapixel.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,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"
diff --git a/graphics/mftrace/mftrace.SlackBuild b/graphics/mftrace/mftrace.SlackBuild
index a3fcfc643a..3f7eb3f07e 100644
--- a/graphics/mftrace/mftrace.SlackBuild
+++ b/graphics/mftrace/mftrace.SlackBuild
@@ -47,15 +47,12 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="COPYING ChangeLog README*"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
diff --git a/graphics/mirage/mirage.SlackBuild b/graphics/mirage/mirage.SlackBuild
index 9eff1a6079..2515c4bd24 100644
--- a/graphics/mirage/mirage.SlackBuild
+++ b/graphics/mirage/mirage.SlackBuild
@@ -30,7 +30,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mirage
-VERSION=${VERSION:-0.11.1}
+VERSION=${VERSION:-0.11.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/graphics/mirage/mirage.info b/graphics/mirage/mirage.info
index 963499dc1e..3a4eb10aa2 100644
--- a/graphics/mirage/mirage.info
+++ b/graphics/mirage/mirage.info
@@ -1,8 +1,8 @@
PRGNAM="mirage"
-VERSION="0.11.1"
+VERSION="0.11.2"
HOMEPAGE="https://gitlab.com/thomasross/mirage/"
-DOWNLOAD="https://gitlab.com/thomasross/mirage/-/archive/0.11.1/mirage-0.11.1.tar.bz2"
-MD5SUM="65fdc4d55f65160af42dd17bc415c766"
+DOWNLOAD="https://gitlab.com/thomasross/mirage/-/archive/0.11.2/mirage-0.11.2.tar.bz2"
+MD5SUM="6105a1e98130a3926fb4c063a4421f63"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README
index 511af1e870..3c7dac79ca 100644
--- a/graphics/mozjpeg/README
+++ b/graphics/mozjpeg/README
@@ -51,10 +51,10 @@ 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*
-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
+Optionally, mozjpeg can be built with Java wrapper support for
+turbojpeg. To do this, install one of: zulu-openjdk8, openjdk8,
+openjdk7, or openjdk6 (or possibly jdk, or one of the later
+zulu-openjdk* 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 8c18569b60..a175e3cd8f 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -3,12 +3,21 @@
# Slackware build script for mozjpeg
# Originally written by Ryan P.C. McQuen
-# Now maintained by B. Watson (yalhcru@gmail.com)
+# Now maintained by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# 20220318 bkw: fix 32-bit lib vs. lib32 install path mess.
+# 20240317 bkw: update for v4.1.5.
+# 20230912 bkw: update for v4.1.4.
+
+# 20230710 bkw:
+# - update for v4.1.3.
+# - fail if API in env is bad (not blank, 6b, 7, or 8).
+# - add zulu-openjdk11 and 17 to JDK search.
+# - fail if JAVA=yes but we can't find a JDK.
+# 20230105 bkw: update for v4.1.1, fix doc symlink.
+# 20220318 bkw: fix 32-bit lib vs. lib32 install path mess.
# 20210909 bkw: relicense as WTFPL, w/permission from original author.
# 20210310 bkw: update for v4.0.3.
@@ -45,7 +54,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mozjpeg
-VERSION=${VERSION:-4.0.3}
+VERSION=${VERSION:-4.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,23 +92,24 @@ fi
set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $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 {} \+
-
ARGS=""
+# 20230710 bkw: sanity-check the API environment variable.
+API="${API:-6b}"
+case "$API" in
+ 6b) ARGS="" ;; # this is the default.
+ 7) ARGS="-DWITH_JPEG7=TRUE " ;;
+ 8) ARGS="-DWITH_JPEG8=TRUE " ;;
+ *) echo "*** $0: invalid API. must be one of: 6b (default), 7, 8."
+ exit 1 ;;
+esac
+
# 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}"
+javafound=no
if [ "$JAVA" = "yes" ]; then
ARGS+="-DWITH_JAVA=TRUE "
@@ -109,17 +119,29 @@ 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 openjdk7 openjdk6 zulu-openjdk6 zulu-openjdk7 zulu-openjdk8 ; do
+ for i in jdk openjdk8 openjdk7 openjdk6 zulu-openjdk{6,8,11,17}; do
if [ -x /etc/profile.d/$i.sh ]; then
+ javafound="$i"
source /etc/profile.d/$i.sh
break
fi
done
+ if [ "$javafound" = "no" ]; then
+ echo "*** $0: you set JAVA=yes, but I can't find a JDK to build with"
+ exit 1
+ fi
+ javafound="yes ($javafound)"
fi
-API="${API:-6b}"
-[ "$API" = "7" ] && ARGS+="-DWITH_JPEG7=TRUE "
-[ "$API" = "8" ] && ARGS+="-DWITH_JPEG8=TRUE "
+rm -rf $PKG
+mkdir -p $TMP $PKG $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 {} +
mkdir -p build
cd build
@@ -149,14 +171,15 @@ fi
rm -rf $PKG/opt/$PRGNAM/man
# most of the docs are installed in /opt already, but not all.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/usr/doc
-mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/opt/$PRGNAM/doc $PKGDOC
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
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cp -a *.txt *.md tjexample.c doc/html $PKGDOC
+ln -s ../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
-[ "$JAVA" = "yes" ] && cp -a java/doc $PKG/usr/doc/$PRGNAM-$VERSION/javadoc
+[ "$JAVA" = "yes" ] && cp -a java/doc $PKGDOC/javadoc
# 20210312 bkw: profile script is new with v4.0.x. It's installed without +x
# permission (see README).
@@ -168,7 +191,7 @@ 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," \
+sed -e "s,@API@,$API," -e "s,@JAVA@,$javafound," \
$CWD/slack-desc > \
$PKG/install/slack-desc
diff --git a/graphics/mozjpeg/mozjpeg.info b/graphics/mozjpeg/mozjpeg.info
index b799b1deda..35fdb49570 100644
--- a/graphics/mozjpeg/mozjpeg.info
+++ b/graphics/mozjpeg/mozjpeg.info
@@ -1,10 +1,10 @@
PRGNAM="mozjpeg"
-VERSION="4.0.3"
+VERSION="4.1.5"
HOMEPAGE="https://github.com/mozilla/mozjpeg"
-DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.0.3/mozjpeg-4.0.3.tar.gz"
-MD5SUM="c6910ca8f0ee82a8c0243dc5b7217aba"
+DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.1.5/mozjpeg-4.1.5.tar.gz"
+MD5SUM="d37f58b3ebc811deaf3f684c85700294"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/mozjpeg/mozjpeg.sh b/graphics/mozjpeg/mozjpeg.sh
index fc784ee53a..19f6968a6d 100644
--- a/graphics/mozjpeg/mozjpeg.sh
+++ b/graphics/mozjpeg/mozjpeg.sh
@@ -1,5 +1,5 @@
# mozjpeg.sh: part of the SBo mozjpeg build, by B. Watson
-# <yalhcru@gmail.com>. Source this file in your shell, to run
+# <urchlay@slackware.uk>. 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.
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index 7302f81716..ff2b1157c4 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mtpaint
-# Copyright 2020-2021 Petar Petrov slackalaxy@gmail.com
+# Copyright 2020-2023 Petar Petrov slackalaxy@gmail.com
# Copyright 2010-2020 slackmagik <slakmagik@gmail.com>
# All rights reserved.
#
@@ -26,11 +26,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mtpaint
-VERSION=${VERSION:-3.50}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.50.09}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+SRCNAM=mtPaint
+COMMIT=199472ad6a4ecee6c8583fb5a504a2e99712b4fc
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -78,9 +81,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$COMMIT
+tar xvf $CWD/$SRCNAM-$COMMIT.tar.gz
+cd $SRCNAM-$COMMIT
chown -R root:root .
find -L . \
@@ -95,12 +98,15 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure cflags intl man $GTK3 $TKWIDGETS \
--prefix=/usr \
- --mandir=/usr/man/man1 \
+ --mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION
make
make DESTDIR=$PKG install
+# key "Encoding" is deprecated
+sed -i '/^Encoding/d' $PKG/usr/share/applications/$PRGNAM.desktop
+
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
diff --git a/graphics/mtpaint/mtpaint.info b/graphics/mtpaint/mtpaint.info
index 67c074a32b..3dfd572821 100644
--- a/graphics/mtpaint/mtpaint.info
+++ b/graphics/mtpaint/mtpaint.info
@@ -1,8 +1,8 @@
PRGNAM="mtpaint"
-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"
+VERSION="3.50.09"
+HOMEPAGE="https://github.com/wjaguar/mtpaint"
+DOWNLOAD="https://github.com/wjaguar/mtPaint/archive/199472a/mtPaint-199472ad6a4ecee6c8583fb5a504a2e99712b4fc.tar.gz"
+MD5SUM="1ca875b797b9be1b715501702f7faabc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/mypaint/mypaint.info b/graphics/mypaint/mypaint.info
index ac601ad34a..df68fbfa23 100644
--- a/graphics/mypaint/mypaint.info
+++ b/graphics/mypaint/mypaint.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/mypaint/mypaint/archive/v2.0.1/mypaint-2.0.1.tar.gz
MD5SUM="0046817e2e5987ac0c517a96b6e481b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="numpy3 mypaint-brushes2"
+REQUIRES="python3-numpy mypaint-brushes2"
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 30aeaba967..54e559d3d0 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nomacs
-# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nomacs
-VERSION=${VERSION:-3.17.2206}
-PVERSION=${PVERSION:-3.16}
+VERSION=${VERSION:-3.17.2287}
+PVERSION=${PVERSION:-3.17.2285}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -84,7 +84,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 {} \;
-zcat $CWD/nomacs-$VERSION-quazip-1.0.0.patch.gz | patch -p1 || exit 1
+zcat $CWD/quazip-1.0.0.patch.gz | patch -p1 || exit 1
cd ImageLounge
diff --git a/graphics/nomacs/nomacs.info b/graphics/nomacs/nomacs.info
index 1c34b9fe7e..f591293dad 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,14 +1,14 @@
PRGNAM="nomacs"
-VERSION="3.17.2206"
+VERSION="3.17.2287"
HOMEPAGE="http://www.nomacs.org"
-DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.17.2206/nomacs-3.17.2206.tar.gz \
- https://github.com/nomacs/nomacs-plugins/archive/3.16/nomacs-plugins-3.16.tar.gz \
- http://ponce.cc/slackware/sources/repo/nomacs-3.17.2206-quazip-1.0.0.patch.gz"
-MD5SUM="26358fe1754dada245022331df3b0d35 \
- fe809775c82da4e55fb47a6e0d05b97a \
- 9ad5e75dd6b3c52841db146e0e0328bc"
+DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.17.2287/nomacs-3.17.2287.tar.gz \
+ https://github.com/novomesk/nomacs-plugins/archive/3.17.2285/nomacs-plugins-3.17.2285.tar.gz \
+ http://ponce.cc/slackware/sources/repo/quazip-1.0.0.patch.gz"
+MD5SUM="cad22b0c7cfe367b050f98910e696df2 \
+ ada999b5dd3016280046b585661fe5fc \
+ 476482ba8065f1e5c3eda96c6b7d9ef6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lcov"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/nsxiv/nsxiv.SlackBuild b/graphics/nsxiv/nsxiv.SlackBuild
index 7201873774..493ce4a9dd 100644
--- a/graphics/nsxiv/nsxiv.SlackBuild
+++ b/graphics/nsxiv/nsxiv.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nsxiv
-# Copyright 2022 Eugene M.
+# Copyright 2022-2023 Eugene M.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nsxiv
-VERSION=${VERSION:-29}
+VERSION=${VERSION:-32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,6 +79,7 @@ find -L . \
make install-all \
PREFIX=/usr \
MANPREFIX=/usr/man \
+ EGPREFIX=/usr/share/nsxiv/examples \
CFLAGS="-std=c99 -Wall -pedantic $SLKCFLAGS -I/usr/include -DHAVE_GIFLIB" \
DESTDIR=$PKG
@@ -87,7 +90,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 LICENSE README.md CHANGELOG.md CONTRIBUTING.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -95,4 +98,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/nsxiv/nsxiv.info b/graphics/nsxiv/nsxiv.info
index bf134e3490..e4b4c8bb89 100644
--- a/graphics/nsxiv/nsxiv.info
+++ b/graphics/nsxiv/nsxiv.info
@@ -1,8 +1,8 @@
PRGNAM="nsxiv"
-VERSION="29"
+VERSION="32"
HOMEPAGE="https://github.com/nsxiv/"
-DOWNLOAD="https://github.com/nsxiv/nsxiv/archive/refs/tags/v29/nsxiv-29.tar.gz"
-MD5SUM="931f52f1b28ca398cd02be3669ec385d"
+DOWNLOAD="https://github.com/nsxiv/nsxiv/archive/refs/tags/v32/nsxiv-32.tar.gz"
+MD5SUM="44bc85122b99335198ad8c7977a73193"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"
diff --git a/graphics/opencollada/no_werror.diff b/graphics/opencollada/no_werror.diff
new file mode 100644
index 0000000000..c76a7a8ffe
--- /dev/null
+++ b/graphics/opencollada/no_werror.diff
@@ -0,0 +1,11 @@
+--- DAEValidator/CMakeLists.txt.orig 2018-11-27 08:43:10.000000000 +1000
++++ DAEValidator/CMakeLists.txt 2023-07-22 10:17:56.130000000 +1000
+@@ -100,7 +100,7 @@
+ # C4820: 'bytes' bytes padding added after construct 'member_name'
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /Wall /WX /wd4505 /wd4514 /wd4592 /wd4710 /wd4711 /wd4820")
+ else ()
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Werror")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
+ endif ()
+
+ add_custom_command(
diff --git a/graphics/opencollada/opencollada.SlackBuild b/graphics/opencollada/opencollada.SlackBuild
index 47330cdb90..a1f0efc246 100644
--- a/graphics/opencollada/opencollada.SlackBuild
+++ b/graphics/opencollada/opencollada.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for opencollada
-# Copyright 2015-2019 Christoph Willing, Brisbane Australia
+# Copyright 2015-2023 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=opencollada
SRCNAM=OpenCOLLADA
VERSION=${VERSION:-1.6.68}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,6 +82,9 @@ find -L . \
# https://github.com/KhronosGroup/OpenCOLLADA/issues/570
patch -p1 < $CWD/pcre.patch
+patch -p0 < $CWD/no_werror.diff
+sed -i -e '/#include "Macros.h"/i #include <cstdint>' DAEValidator/library/src/DaeValidator.cpp
+sed -i -e '/#include "Macros.h"/i #include <cstdint>' DAEValidator/library/src/XmlDoc.cpp
mkdir -p build
cd build
diff --git a/graphics/opencolorio/opencolorio.SlackBuild b/graphics/opencolorio/opencolorio.SlackBuild
index 9d70ea657b..7762f39c44 100644
--- a/graphics/opencolorio/opencolorio.SlackBuild
+++ b/graphics/opencolorio/opencolorio.SlackBuild
@@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=opencolorio
SRCNAM=OpenColorIO
-VERSION=${VERSION:-2.1.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.1.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,6 +85,8 @@ find -L . \
SLKCFLAGS+=" -msse2"
+sed -i '/StringUtils.h/a #include <cstring>' src/OpenColorIO/FileRules.cpp
+
mkdir -p build
cd build
cmake \
@@ -101,7 +103,14 @@ cd build
cd ..
-rm -rf $PKG/$TMP
+BASE=$(dirname $PKG/$TMP)
+while [ "$BASE" != "$PKG" ]; do
+ if [ "$BASE" = "/" ]; then
+ break
+ fi
+ rm -rf "$BASE"
+ BASE=$(dirname "$BASE")
+done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/graphics/opencolorio/opencolorio.info b/graphics/opencolorio/opencolorio.info
index 3f385b8ded..fed82c6e8f 100644
--- a/graphics/opencolorio/opencolorio.info
+++ b/graphics/opencolorio/opencolorio.info
@@ -1,8 +1,8 @@
PRGNAM="opencolorio"
-VERSION="2.1.1"
+VERSION="2.1.2"
HOMEPAGE="http://opencolorio.org/"
-DOWNLOAD="https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v2.1.1/OpenColorIO-2.1.1.tar.gz"
-MD5SUM="604f562e073f23d88ce89ed4f7f709ba"
+DOWNLOAD="https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v2.1.2/OpenColorIO-2.1.2.tar.gz"
+MD5SUM="e2e86dd3416726a058000ce4bdadb704"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pybind11"
diff --git a/graphics/openimageio/ffmpeg-5.1.diff b/graphics/openimageio/ffmpeg-5.1.diff
new file mode 100644
index 0000000000..6d3633c831
--- /dev/null
+++ b/graphics/openimageio/ffmpeg-5.1.diff
@@ -0,0 +1,37 @@
+From b4b3e26d3b58a4f0feee175290ec7bb4924ebec3 Mon Sep 17 00:00:00 2001
+From: Michael Cho <cho-m@tuta.io>
+Date: Thu, 11 Aug 2022 23:29:06 -0700
+Subject: [PATCH] cmake: fix ffmpeg 5.1 detection (#3516)
+
+---
+ src/cmake/modules/FindFFmpeg.cmake | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/src/cmake/modules/FindFFmpeg.cmake b/src/cmake/modules/FindFFmpeg.cmake
+index bb1e9d65fa..0e5ac2979a 100644
+--- a/src/cmake/modules/FindFFmpeg.cmake
++++ b/src/cmake/modules/FindFFmpeg.cmake
+@@ -59,7 +59,11 @@ else ()
+ endif ()
+
+ if (FFMPEG_INCLUDES)
+- file(STRINGS "${FFMPEG_INCLUDES}/libavcodec/version.h" TMP
++ set (_libavcodec_version_major_h "${FFMPEG_INCLUDES}/libavcodec/version_major.h")
++ if (NOT EXISTS "${_libavcodec_version_major_h}")
++ set (_libavcodec_version_major_h "${FFMPEG_INCLUDES}/libavcodec/version.h")
++ endif()
++ file(STRINGS "${_libavcodec_version_major_h}" TMP
+ REGEX "^#define LIBAVCODEC_VERSION_MAJOR .*$")
+ string (REGEX MATCHALL "[0-9]+[.0-9]+" LIBAVCODEC_VERSION_MAJOR "${TMP}")
+ file(STRINGS "${FFMPEG_INCLUDES}/libavcodec/version.h" TMP
+@@ -69,7 +73,9 @@ if (FFMPEG_INCLUDES)
+ REGEX "^#define LIBAVCODEC_VERSION_MICRO .*$")
+ string (REGEX MATCHALL "[0-9]+[.0-9]+" LIBAVCODEC_VERSION_MICRO "${TMP}")
+ set (LIBAVCODEC_VERSION "${LIBAVCODEC_VERSION_MAJOR}.${LIBAVCODEC_VERSION_MINOR}.${LIBAVCODEC_VERSION_MICRO}")
+- if (LIBAVCODEC_VERSION VERSION_GREATER_EQUAL 59.18.100)
++ if (LIBAVCODEC_VERSION VERSION_GREATER_EQUAL 59.37.100)
++ set (FFMPEG_VERSION 5.1)
++ elseif (LIBAVCODEC_VERSION VERSION_GREATER_EQUAL 59.18.100)
+ set (FFMPEG_VERSION 5.0)
+ elseif (LIBAVCODEC_VERSION VERSION_GREATER_EQUAL 58.134.100)
+ set (FFMPEG_VERSION 4.4)
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index 5e006fcf98..5be9a3d692 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for openimageio
-# Copyright 2015-2022 Christoph Willing Brisbane, Australia
+# Copyright 2015-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,9 +25,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openimageio
-SRCNAM=oiio-Release
-VERSION=${VERSION:-2.2.19.0}
-BUILD=${BUILD:-1}
+SRCNAM=OpenImageIO-Release
+VERSION=${VERSION:-2.2.21.0}
+FMT=${FMT:-"fmt-7.1.3"}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,8 +72,16 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
+patch -p1 < $CWD/ffmpeg-5.1.diff
+
+# Use private fmt
+mkdir -p ext
+cd ext
+tar xf $CWD/${FMT}.tar.gz
+ln -s $FMT fmt
+cd ..
chown -R root:root .
find -L . \
@@ -88,6 +97,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fcommon" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_FMT_FORCE:BOOL=TRUE \
-DPYLIB_INCLUDE_SONAME:BOOL=TRUE \
-DPYLIB_LIB_PREFIX:BOOL=FALSE \
-DUSE_OPENJPEG:BOOL=FALSE \
diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index 71f8d2f1e6..6149a876d1 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,10 +1,12 @@
PRGNAM="openimageio"
-VERSION="2.2.19.0"
+VERSION="2.2.21.0"
HOMEPAGE="https://sites.google.com/site/openimageio/home"
-DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.2.19.0/oiio-Release-2.2.19.0.tar.gz"
-MD5SUM="bcef7161f04648cbb400d7a3bd66c549"
+DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.2.21.0/OpenImageIO-Release-2.2.21.0.tar.gz \
+ https://github.com/fmtlib/fmt/archive/7.1.3/fmt-7.1.3.tar.gz"
+MD5SUM="384ba30cadc2ceb62edd3895b797a6d1 \
+ 2522ec65070c0bda0ca288677ded2831"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="opencolorio robin-map dcmtk tbb fmt hdf5"
+REQUIRES="opencolorio robin-map dcmtk hdf5"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/graphics/openscad-gearbox/README b/graphics/openscad-gearbox/README
new file mode 100644
index 0000000000..cf1f95b726
--- /dev/null
+++ b/graphics/openscad-gearbox/README
@@ -0,0 +1,4 @@
+This library contains components commonly used in designing
+gears.
+
+requires: pd-gears
diff --git a/graphics/openscad-gearbox/openscad-gearbox.SlackBuild b/graphics/openscad-gearbox/openscad-gearbox.SlackBuild
new file mode 100644
index 0000000000..be60801310
--- /dev/null
+++ b/graphics/openscad-gearbox/openscad-gearbox.SlackBuild
@@ -0,0 +1,72 @@
+#!/bin/bash
+
+# Slackware build script for openscad-gearbox
+
+# Copyright 2023 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=openscad-gearbox
+SRCNAM=gearbox
+VERSION=${VERSION:-0.1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+mkdir -p $PKG/usr/share/openscad/libraries/gearbox
+
+install -m775 gearbox.scad $PKG/usr/share/openscad/libraries/gearbox
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/openscad-gearbox/openscad-gearbox.info b/graphics/openscad-gearbox/openscad-gearbox.info
new file mode 100644
index 0000000000..aa21f7f3fa
--- /dev/null
+++ b/graphics/openscad-gearbox/openscad-gearbox.info
@@ -0,0 +1,10 @@
+PRGNAM="openscad-gearbox"
+VERSION="0.1.0"
+HOMEPAGE="https://github.com/sadr0b0t/gearbox"
+DOWNLOAD="https://github.com/sadr0b0t/gearbox/archive/v0.1.0/gearbox-v0.1.0.tar.gz"
+MD5SUM="53db2374cd609d6aff76ea4aeeb15ee2"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/openscad-gearbox/slack-desc b/graphics/openscad-gearbox/slack-desc
new file mode 100644
index 0000000000..5e261ff0b5
--- /dev/null
+++ b/graphics/openscad-gearbox/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 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-gearbox: openscad-gearbox (gearbox CAD Library)
+openscad-gearbox:
+openscad-gearbox: This library contains components commonly used in designing
+openscad-gearbox: gears.
+openscad-gearbox:
+openscad-gearbox:
+openscad-gearbox:
+openscad-gearbox:
+openscad-gearbox:
+openscad-gearbox:
+openscad-gearbox:
diff --git a/graphics/openscad-threads/README b/graphics/openscad-threads/README
new file mode 100644
index 0000000000..0d81b3f6be
--- /dev/null
+++ b/graphics/openscad-threads/README
@@ -0,0 +1,4 @@
+This library contains components commonly used in designing
+threads to specifications found in the wikipedia.
+
+thank you Dan for your contribution and support.
diff --git a/graphics/openscad-threads/openscad-threads.SlackBuild b/graphics/openscad-threads/openscad-threads.SlackBuild
new file mode 100644
index 0000000000..3187f96355
--- /dev/null
+++ b/graphics/openscad-threads/openscad-threads.SlackBuild
@@ -0,0 +1,69 @@
+#!/bin/bash
+
+# Slackware build script for openscad-threads
+
+# Copyright 2023 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=openscad-threads
+VERSION=${VERSION:-2.8}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \+
+
+mkdir -p $PKG/usr/share/openscad/libraries/dk
+
+install -m775 threads.scad $PKG/usr/share/openscad/libraries/dk
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/openscad-threads/openscad-threads.info b/graphics/openscad-threads/openscad-threads.info
new file mode 100644
index 0000000000..cc61877b1c
--- /dev/null
+++ b/graphics/openscad-threads/openscad-threads.info
@@ -0,0 +1,10 @@
+PRGNAM="openscad-threads"
+VERSION="2.8"
+HOMEPAGE="https://dkprojects.net/openscad-threads/"
+DOWNLOAD="https://dkprojects.net/openscad-threads/openscad-threads-2.8.tar.xz"
+MD5SUM="cd8df981183b9e00f781987b39c05acc"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/openscad-threads/slack-desc b/graphics/openscad-threads/slack-desc
new file mode 100644
index 0000000000..788bb6d814
--- /dev/null
+++ b/graphics/openscad-threads/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 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-threads: openscad-threads (threads CAD Library)
+openscad-threads:
+openscad-threads: This library contains components commonly used in designing
+openscad-threads: threads to specifications found in the wikipedia.
+openscad-threads:
+openscad-threads:
+openscad-threads: Homepage: https://dkprojects.net/openscad-threads/
+openscad-threads:
+openscad-threads:
+openscad-threads:
+openscad-threads:
diff --git a/graphics/opentoonz/README b/graphics/opentoonz/README
new file mode 100644
index 0000000000..ea3cc3e5dc
--- /dev/null
+++ b/graphics/opentoonz/README
@@ -0,0 +1,10 @@
+OpenToonz is a 2D animation software published by DWANGO. It is based
+on Toonz Studio Ghibli Version, originally developed in Italy by
+Digital Video, Inc., and customized by Studio Ghibli over many years
+of production.
+
+After installation, a local "stuff" directory on your user area will
+be required in order for the program to run. This directory can be
+initialised by running the following commands:
+ mkdir -p $HOME/.config/OpenToonz
+ cp -r /usr/share/opentoonz/stuff $HOME/.config/OpenToonz/
diff --git a/graphics/opentoonz/doinst.sh b/graphics/opentoonz/doinst.sh
new file mode 100644
index 0000000000..a993650058
--- /dev/null
+++ b/graphics/opentoonz/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/opentoonz/opentoonz.SlackBuild b/graphics/opentoonz/opentoonz.SlackBuild
new file mode 100644
index 0000000000..bf2b894b7d
--- /dev/null
+++ b/graphics/opentoonz/opentoonz.SlackBuild
@@ -0,0 +1,127 @@
+#!/bin/bash
+
+# Slackware build script for opentoonz
+
+# Copyright 2023 Bloyburt
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=opentoonz
+VERSION=${VERSION:-1.7.1}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# Build the modified libtiff to use during the build process
+# (features from the modified libtiff are currently needed)
+cd thirdparty/tiff-4.0.3
+./configure --with-pic --disable-jbig
+make
+cd ../../toonz
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 OpenToonz
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ ../sources
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+if [ -n "${LIBDIRSUFFIX}" ] ; then
+ mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
+ sed -i "s,/lib/,/lib${LIBDIRSUFFIX}/,g" $PKG/usr/bin/opentoonz
+fi
+
+# Add executability to the .so library files
+chmod +x $PKG/usr/lib${LIBDIRSUFFIX}/opentoonz/*.so
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/opentoonz/opentoonz.info b/graphics/opentoonz/opentoonz.info
new file mode 100644
index 0000000000..dbaa5b72a4
--- /dev/null
+++ b/graphics/opentoonz/opentoonz.info
@@ -0,0 +1,10 @@
+PRGNAM="opentoonz"
+VERSION="1.7.1"
+HOMEPAGE="https://opentoonz.github.io/e/"
+DOWNLOAD="https://github.com/opentoonz/opentoonz/archive/v1.7.1/opentoonz-1.7.1.tar.gz"
+MD5SUM="54df35b3787ca5e93554dc2b31b30783"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="cblas lapack superlu VTK"
+MAINTAINER="Bloyburt"
+EMAIL="alexpen@startmail.com"
diff --git a/graphics/opentoonz/slack-desc b/graphics/opentoonz/slack-desc
new file mode 100644
index 0000000000..5b997f412d
--- /dev/null
+++ b/graphics/opentoonz/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+opentoonz: opentoonz (OpenToonz 2D Animation Software)
+opentoonz:
+opentoonz: OpenToonz is a 2D animation software published by DWANGO. It is
+opentoonz: based on Toonz Studio Ghibli Version, originally developed in Italy
+opentoonz: by Digital Video, Inc., and customized by Studio Ghibli over many
+opentoonz: years of production.
+opentoonz:
+opentoonz: Homepage: https://opentoonz.github.io/e/
+opentoonz:
+opentoonz:
+opentoonz:
diff --git a/graphics/optipng/optipng.SlackBuild b/graphics/optipng/optipng.SlackBuild
index e1eb379afb..471f4ee37a 100644
--- a/graphics/optipng/optipng.SlackBuild
+++ b/graphics/optipng/optipng.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,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"
diff --git a/graphics/paraview/README b/graphics/paraview/README
index 021b2bba86..c1edbf8977 100644
--- a/graphics/paraview/README
+++ b/graphics/paraview/README
@@ -8,7 +8,8 @@ processing capabilities.
This SlackBuild, in line with official Paraview releases,
is intended only for 64bit systems.
-Although not recommended, building without MPI (mpich) support
-is possible by setting the relevant variables in the build environment:
-
- MPICH=no sh paraview.SlackBuild
+MPI support requires build time installation of mpich or openmpi,
+both available from SBo but which should not both be installed
+at the same time. In addition, the PV_USE_MPI environment variable
+should be set to "yes" e.g.
+ PV_USE_MPI=yes sh paraview.SlackBuild
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index dc38c62410..67522c97c7 100644
--- a/graphics/paraview/paraview.SlackBuild
+++ b/graphics/paraview/paraview.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for paraview
-# Copyright 2016-2022 Christoph Willing Brisbane, Australia
+# Copyright 2016-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,9 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=paraview
SRCNAM=ParaView
-VERSION=${VERSION:-5.10.1}
-SHORT_VERSION=${SHORT_VERSION:-5.10}
-DOC_VERSION=${DOC_VERSION:-5.10.1}
+VERSION=${VERSION:-5.11.2}
+SHORT_VERSION=${SHORT_VERSION:-5.11}
+DOC_VERSION=${DOC_VERSION:-5.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,7 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-mpich="-DPARAVIEW_USE_MPI=ON" ; [ "${MPICH:-yes}" != "yes" ] && mpich=""
+mpi="" ; [ "${PV_USE_MPI:-no}" = "yes" ] && mpi="-DPARAVIEW_USE_MPI=ON"
set -e
@@ -102,7 +102,7 @@ cd build
-DQtTesting_INSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
-DQtTesting_INSTALL_CMAKE_DIR=lib${LIBDIRSUFFIX}/cmake/qttesting \
-DVTK_USE_TK=ON \
- $mpich \
+ $mpi \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -115,7 +115,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CONTRIBUTING* Copyright* License_v1.2.txt README* version.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/ParaViewGettingStarted-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
+cp $CWD/ParaViewGettingStarted-${VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/GettingStarted.pdf
cp $CWD/ParaViewTutorial-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Tutorial.pdf
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/paraview/paraview.info b/graphics/paraview/paraview.info
index ab48a5fe40..3bbc28f071 100644
--- a/graphics/paraview/paraview.info
+++ b/graphics/paraview/paraview.info
@@ -1,14 +1,14 @@
PRGNAM="paraview"
-VERSION="5.10.1"
+VERSION="5.11.2"
HOMEPAGE="https://www.paraview.org"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://www.paraview.org/files/v5.10/ParaView-v5.10.1.tar.xz \
- https://www.paraview.org/files/v5.10/ParaViewTutorial-5.10.1.pdf \
- https://www.paraview.org/files/v5.10/ParaViewGettingStarted-5.10.1.pdf"
-MD5SUM_x86_64="0e1463ef95b4661b90e2ef4ea3c5182f \
- 9aa92ec6c1540f2425849c4ffddd158d \
+DOWNLOAD_x86_64="https://www.paraview.org/files/v5.11/ParaView-v5.11.2.tar.xz \
+ https://www.paraview.org/files/v5.11/ParaViewTutorial-5.11.1.pdf \
+ https://www.paraview.org/files/v5.11/ParaViewGettingStarted-5.11.2.pdf"
+MD5SUM_x86_64="b5a13247fec282b8294a28d3101049fb \
+ 9aa92ec6c1540f2425849c4ffddd158d \
392a29c111c5867b51e78bcb83e64198"
-REQUIRES="gdal hdf5 mpich python3-matplotlib Sphinx"
+REQUIRES="gdal hdf5 python3-matplotlib Sphinx"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
index bf086383c2..e2558b5cf2 100644
--- a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pcx-pixbuf-loader
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
index 88facc5301..bfcb8eed86 100644
--- a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/pd-gears/README b/graphics/pd-gears/README
new file mode 100644
index 0000000000..a2a61cd4c3
--- /dev/null
+++ b/graphics/pd-gears/README
@@ -0,0 +1,20 @@
+This is the wiki and issue tracker for the OpenSCAD Modules Registry.
+
+OpenSCAD-Modules is a package manager for OpenSCAD. It's powered by
+NPM, the package manager of the Node.js project and a registry
+dedicated for Openscad-Modules itself. The aim of an openscad
+package manager is to have a tooling which handles dependencies
+among multiple projects. With NPM we achieve the following goals:
+
+one of the best package managers for free :)
+
+easy to use, large community, stable and well established
+
+project description including dependencies in a well
+understandable json format
+
+supports modules from the registry and also from github
+repositories directly
+
+a lot of documentation, ranging from installing npm, to creating
+your first modules, ...
diff --git a/graphics/pd-gears/pd-gears.SlackBuild b/graphics/pd-gears/pd-gears.SlackBuild
new file mode 100644
index 0000000000..14710ece6a
--- /dev/null
+++ b/graphics/pd-gears/pd-gears.SlackBuild
@@ -0,0 +1,71 @@
+#!/bin/bash
+
+# Slackware build script for openscad-threads
+
+# Copyright 2023 Fernando Lopez Jr. <fernando.lopezjr@gmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=pd-gears
+VERSION=${VERSION:-2.0.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 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/pd-gears
+
+install -m775 pd-gears.scad $PKG/usr/share/openscad/libraries/pd-gears
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/pd-gears/pd-gears.info b/graphics/pd-gears/pd-gears.info
new file mode 100644
index 0000000000..b3e5c8a084
--- /dev/null
+++ b/graphics/pd-gears/pd-gears.info
@@ -0,0 +1,10 @@
+PRGNAM="pd-gears"
+VERSION="2.0.1"
+HOMEPAGE="https://github.com/sadr0b0t/pd-gears/"
+DOWNLOAD="https://github.com/sadr0b0t/pd-gears/archive/v2.0.1/pd-gears-2.0.1.tar.gz"
+MD5SUM="d52d1e6e8ec93f99b6c04767d99d327a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Fernando Lopez Jr."
+EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/pd-gears/slack-desc b/graphics/pd-gears/slack-desc
new file mode 100644
index 0000000000..e4eb8a6699
--- /dev/null
+++ b/graphics/pd-gears/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+pd-gears: pd-gears (OpenSCAD CAD Library)
+pd-gears:
+pd-gears: OpenSCAD involute parametrized gear generator.
+pd-gears:
+pd-gears:
+pd-gears:
+pd-gears:
+pd-gears:
+pd-gears:
+pd-gears:
+pd-gears:
diff --git a/graphics/pdf2png/README b/graphics/pdf2png/README
index df727b452a..866e73657c 100644
--- a/graphics/pdf2png/README
+++ b/graphics/pdf2png/README
@@ -1,15 +1,15 @@
-pdf2png converts PDF files to image format with a simple graphical
-interface based on python, using ghostscript.
+pdf2png converts PDF files to image format with a simple
+graphical interface based on python, using ghostscript.
-It supports up to 4 different image extensions like PNG, JPEG, BMP
+It supports up to 4 different image extensions like PNG, JPEG, BMP,
and TIFF.
How To-
Increasing or decreasing the resolution will change the image quality.
-Once given correct numbers for the From page and To page, click on
-Select PDF file to open a dialog window to browse and select the
-wanted PDF book, and click on Convert to convert the selected pages.
+Once given correct numbers for the From page and To page,
+click on Select PDF file to open a dialog window to browse and select
+the wanted PDF book, and click on Convert to convert the selected pages.
It would convert the pdf and output the image(s) in the same directory
where the pdf resides.
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild
index 520c94b3a9..841b38359f 100644
--- a/graphics/pdf2png/pdf2png.SlackBuild
+++ b/graphics/pdf2png/pdf2png.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pdf2png
-# Copyright 2014 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2014-2022 Aaditya <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,28 +22,29 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - remove /usr/share/doc (forbidden dir) and /usr/share/pdf2png-0.5.3/makefile
+# (not useful).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdf2png
-VERSION=${VERSION:-0.5}
+VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
ARCH=noarch
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
set -e
rm -rf $PKG
@@ -59,9 +60,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Patch for using python3 in header
-sed -i 's|#!/usr/bin/python3|#!/usr/bin/python|' bin/$PRGNAM.py
-
make install DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -70,6 +68,9 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20240330 bkw: Cleanup on aisle 6!
+rm -rf $PKG/usr/share/doc $PKG/usr/share/$PRGNAM-$VERSION
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/graphics/pdf2png/pdf2png.info b/graphics/pdf2png/pdf2png.info
index 5376403ab3..f25fd2b02d 100644
--- a/graphics/pdf2png/pdf2png.info
+++ b/graphics/pdf2png/pdf2png.info
@@ -1,10 +1,10 @@
PRGNAM="pdf2png"
-VERSION="0.5"
-HOMEPAGE="https://github.com/aadityabagga/pdf2png"
-DOWNLOAD="https://github.com/aadityabagga/pdf2png/archive/0.5.tar.gz"
-MD5SUM="f7cb3d67d5acb978e6ce910dfd213937"
+VERSION="0.5.3"
+HOMEPAGE="https://github.com/abchk1234/pdf2png"
+DOWNLOAD="https://github.com/abchk1234/pdf2png/archive/0.5.3/pdf2png-0.5.3.tar.gz"
+MD5SUM="473eb4da10a52eafe265831ff0f06ce7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Aaditya Bagga"
+MAINTAINER="Aaditya"
EMAIL="aaditya_gnulinux@zoho.com"
diff --git a/graphics/pdf2png/slack-desc b/graphics/pdf2png/slack-desc
index e793ba64af..5c2d98379e 100644
--- a/graphics/pdf2png/slack-desc
+++ b/graphics/pdf2png/slack-desc
@@ -14,6 +14,6 @@ pdf2png:
pdf2png: It supports up to 4 different image extensions like PNG, JPEG,
pdf2png: BMP and TIFF.
pdf2png:
-pdf2png: Homepage: https://github.com/aadityabagga/pdf2png
+pdf2png: Homepage: https://github.com/abchk1234/pdf2png
pdf2png:
pdf2png:
diff --git a/graphics/peek/peek.SlackBuild b/graphics/peek/peek.SlackBuild
index c55d76fb17..f7b9512531 100644
--- a/graphics/peek/peek.SlackBuild
+++ b/graphics/peek/peek.SlackBuild
@@ -43,7 +43,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-TMP=${TMP:-/tmp}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/graphics/pho/pho.SlackBuild b/graphics/pho/pho.SlackBuild
index 4456eb554b..4732cf30de 100644
--- a/graphics/pho/pho.SlackBuild
+++ b/graphics/pho/pho.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,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"
diff --git a/graphics/photoqt/photoqt.SlackBuild b/graphics/photoqt/photoqt.SlackBuild
index 0dbb740622..111123fd8d 100644
--- a/graphics/photoqt/photoqt.SlackBuild
+++ b/graphics/photoqt/photoqt.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for photoqt
-# Copyright 2013-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=photoqt
-VERSION=${VERSION:-2.5}
+VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,6 +64,7 @@ else
LIBDIRSUFFIX=""
fi
+if pkg-config --exists mpv; then MPV=ON; else MPV=OFF; fi
if pkg-config --exists exiv2; then EXIV2=ON; else EXIV2=OFF; fi
if pkg-config --exists GraphicsMagick; then GM=ON; else GM=OFF; fi
if pkg-config --exists libraw; then RAW=ON; else RAW=OFF; fi
@@ -88,18 +89,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|exiv2lib|exiv2|" CMakeLists.txt
+
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DEXIV2=$EXIV2 \
- -DGM=$GM \
+ -DGRAPHICSMAGICK=$GM \
-DRAW=$RAW \
-DDEVIL=$DEVIL \
-DPOPPLER=$POPPLER \
-DFREEIMAGE=$FREEIMAGE \
+ -DVIDEO_MPV=$MPV \
-DCHROMECAST=NO \
-DCMAKE_BUILD_TYPE=Release ..
make
diff --git a/graphics/photoqt/photoqt.info b/graphics/photoqt/photoqt.info
index 4fd61f0d9e..e5e06a628a 100644
--- a/graphics/photoqt/photoqt.info
+++ b/graphics/photoqt/photoqt.info
@@ -1,10 +1,10 @@
PRGNAM="photoqt"
-VERSION="2.5"
+VERSION="3.4"
HOMEPAGE="https://photoqt.org"
-DOWNLOAD="https://ponce.cc/slackware/sources/repo/photoqt-2.5.tar.gz"
-MD5SUM="fa8d5330aa17cf1eb8c49b08e8aea478"
+DOWNLOAD="https://photoqt.org/downloads/source/photoqt-3.4.tar.gz"
+MD5SUM="5c28042f6019f00985deaf4e1b8b3231"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="GraphicsMagick pugixml"
+REQUIRES="pugixml"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/pngcrush/pngcrush.SlackBuild b/graphics/pngcrush/pngcrush.SlackBuild
index a9d8621e85..c7d6f7e4ed 100644
--- a/graphics/pngcrush/pngcrush.SlackBuild
+++ b/graphics/pngcrush/pngcrush.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Eugene M., <damagedone at gmx dot com>
-# Modified by B. Watson <yalhcru@gmail.com>, fix x86 build error
+# Modified by B. Watson <urchlay@slackware.uk>, fix x86 build error
cd $(dirname $0) ; CWD=$(pwd)
diff --git a/graphics/pngquant/README b/graphics/pngquant/README
index 780f4ae139..e96226c5cd 100644
--- a/graphics/pngquant/README
+++ b/graphics/pngquant/README
@@ -6,3 +6,6 @@ browsers, and have better fallback in IE6 than 24-bit PNGs.
Optional features:
OPENMP=yes|no (default: no) Enables parallelized batch jobs.
+
+Note: OPENMP=yes builds are currently broken. If this bothers
+you, please send a patch to fix it.
diff --git a/graphics/pngquant/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild
index 818b86d61d..93aeb3cee6 100644
--- a/graphics/pngquant/pngquant.SlackBuild
+++ b/graphics/pngquant/pngquant.SlackBuild
@@ -25,11 +25,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip binary and shared lib.
+# - remove INSTALL from doc dir (compile instructions only).
+# - add README note saying OPENMP=yes is broken.
+#
+# Note: upstream switched from C to Rust. The last C release was
+# 2.18.0 (Feb 3, 2023), which this build should probably be updated
+# for (assuming it doesn't break imgmin or tuxpaint, which depend on
+# this).
+#
+# The 3.0.x releases don't look like they're API compatible. I would
+# rather stab myself in the eye with a rusty fork than deal with Rust,
+# but someone might want to look into 3.0.x (possibly as a separate
+# SlackBuild, leaving this one at 2.18.0).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pngquant
VERSION=${VERSION:-2.9.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +56,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -53,7 +65,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="CHANGELOG COPYRIGHT INSTALL README.md"
+DOCS="CHANGELOG COPYRIGHT README.md"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -80,6 +92,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
+# 20230701 bkw: building with OPENMP=yes is broken on Slackware 15.0,
+# which I suppose is why this was disabled by default. I thought using
+# CC=clang might help, but it doesn't.
if [ "${OPENMP:-no}" != "no" ]; then
openmp="--with-openmp"
fi
@@ -93,13 +108,15 @@ sed -i -e 's#share/man#man#' Makefile
make
make -C lib shared
+strip $PRGNAM
make PREFIX=$PKG/usr install
+
# manual installation of libraries:
-install -D -m0755 lib/libimagequant.so.0 $PKG/usr/lib${LIBDIRSUFFIX}/libimagequant.so.0
-install -D -m0644 lib/libimagequant.a $PKG/usr/lib${LIBDIRSUFFIX}/libimagequant.a
-install -D -m0644 lib/libimagequant.h $PKG/usr/include/libimagequant.h
+install -s -D -m0755 lib/libimagequant.so.0 $PKG/usr/lib${LIBDIRSUFFIX}/libimagequant.so.0
+install -D -m0644 lib/libimagequant.a $PKG/usr/lib${LIBDIRSUFFIX}/libimagequant.a
+install -D -m0644 lib/libimagequant.h $PKG/usr/include/libimagequant.h
-find $PKG/usr/man -type f -exec gzip -9 {} +
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/posterazor/README b/graphics/posterazor/README
new file mode 100644
index 0000000000..1a42e6f332
--- /dev/null
+++ b/graphics/posterazor/README
@@ -0,0 +1,6 @@
+posterazor (make poster printing patterns)
+
+A GUI tool to make printable files that can be later glued
+together from large images.
+
+
diff --git a/graphics/OpenVSP/OpenVSP.SlackBuild b/graphics/posterazor/posterazor.SlackBuild
index d11295e845..e210c2b405 100644
--- a/graphics/OpenVSP/OpenVSP.SlackBuild
+++ b/graphics/posterazor/posterazor.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-# Slackware build script for OpenVSP
+# Slackware build script for posterazor
-# Copyright 2022 Lenard Spencer, Orlando, Florida, USA
+# Copyright 2023, Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
cd $(dirname $0) ; CWD=$(pwd)
-PRGNAM=OpenVSP
-VERSION=${VERSION:-3.27.1}
+PRGNAM=posterazor
+TGZNAM=PosteRazor
+VERSION=${VERSION:-1.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,9 +71,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}-${PRGNAM}_$VERSION
-tar -xvf $CWD/${PRGNAM}-${PRGNAM}_$VERSION.tar.gz
-cd $PRGNAM-${PRGNAM}_$VERSION
+
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+ls $CWD/
+unzip $CWD/"$TGZNAM-$VERSION-Source.zip*"
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,57 +85,41 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p build buildlibs
+(
+cd src
+sed -i '/#include "TranslationConstants.h"/a#include <filesystem>' FlPosteRazorDialog.cpp
+#sed -i 's/exists/std::filesystem::exists/' FlPosteRazorDialog.cpp
+sed -i 's/return (access(fileName, 0) == 0);/return (std::filesystem::exists(fileName));/g' FlPosteRazorDialog.cpp
+# return (std::filesystem::exists(fileName));
-cd buildlibs
- cmake \
- -DVSP_USE_SYSTEM_LIBXML2=true \
- -DVSP_USE_SYSTEM_FLTK=true \
- -DVSP_USE_SYSTEM_GLM=false \
- -DVSP_USE_SYSTEM_GLEW=true \
- -DVSP_USE_SYSTEM_CMINPACK=false \
- -DVSP_USE_SYSTEM_LIBIGES=false \
- -DVSP_USE_SYSTEM_EIGEN=true \
- -DVSP_USE_SYSTEM_CODEELI=false \
- -DVSP_USE_SYSTEM_CPPTEST=false \
- -DCMAKE_BUILD_TYPE=Release \
- ../Libraries
- make -j1 # parallel builds broken
-
-cd ../build
+mkdir -p build
+cd build
+pwd
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DVSP_LIBRARY_PATH=$TMP/${PRGNAM}-${PRGNAM}_$VERSION/buildlibs \
- -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
-cd ..
+ strip PosteRazor
+ mkdir -p $PKG/usr/bin
+ cp PosteRazor $PKG/usr/bin/
+)
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-for i in 16 32 64 128; do
- convert vspIcon.png -resize ${i}x${i}! $PRGNAM-${i}.png
- install -D -m 0644 $PRGNAM-${i}.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
-done
-install -D -m0644 $CWD/OpenVSP.desktop \
- $PKG/usr/share/applications/OpenVSP.desktop
-
-# Create symlink to executable:
-(mkdir -p $PKG/usr/bin ; cd $PKG/usr/bin ; ln -sf /opt/OpenVSP/vsp )
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE README.md \
+ CHANGES LICENSE README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/posterazor/posterazor.info b/graphics/posterazor/posterazor.info
new file mode 100644
index 0000000000..588e89d60d
--- /dev/null
+++ b/graphics/posterazor/posterazor.info
@@ -0,0 +1,10 @@
+PRGNAM="posterazor"
+VERSION="1.5.1"
+HOMEPAGE="https://posterazor.sourceforge.io"
+DOWNLOAD="https://master.dl.sourceforge.net/project/posterazor/Source%20Releases/1.5.1/PosteRazor-1.5.1-Source.zip?viasf=1"
+MD5SUM="e2914d3a6faae7588b9e3be913cc863d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="FreeImage fltk"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.posterazor_2023-05-31@lockywolf.net"
diff --git a/graphics/posterazor/slack-desc b/graphics/posterazor/slack-desc
new file mode 100644
index 0000000000..98709efe2a
--- /dev/null
+++ b/graphics/posterazor/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+posterazor: posterazor (make poster printing patterns)
+posterazor:
+posterazor: A GUI tool to make printable files that can be later glued
+posterazor: together from large images.
+posterazor:
+posterazor:
+posterazor:
+posterazor:
+posterazor:
+posterazor:
+posterazor:
diff --git a/graphics/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild
index 432cb5b151..5d02a41155 100644
--- a/graphics/potrace/potrace.SlackBuild
+++ b/graphics/potrace/potrace.SlackBuild
@@ -47,15 +47,12 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
diff --git a/graphics/povray/doinst.sh b/graphics/povray/doinst.sh
index 55cd6f9e02..f374d1b79a 100644
--- a/graphics/povray/doinst.sh
+++ b/graphics/povray/doinst.sh
@@ -11,10 +11,10 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-if [ -e /etc/povray/@VERSION@/povray.conf.new ]; then
- config /etc/povray/@VERSION@/povray.conf.new
+if [ -e etc/povray/@VERSION@/povray.conf.new ]; then
+ config etc/povray/@VERSION@/povray.conf.new
fi
-if [ -e /etc/povray/@VERSION@/povray.ini.new ]; then
- config /etc/povray/@VERSION@/povray.ini.new
+if [ -e etc/povray/@VERSION@/povray.ini.new ]; then
+ config etc/povray/@VERSION@/povray.ini.new
fi
diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index fd34e5b921..71cbf2e775 100644
--- a/graphics/povray/povray.SlackBuild
+++ b/graphics/povray/povray.SlackBuild
@@ -25,6 +25,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230620 bkw: currently, sbopkglint complains:
+# Running test: 40-newconfig...
+# --- doinst.sh doesn't handle .new config files:
+# -rw-r--r-- 1 root root 4369 Jun 20 00:19 ./etc/povray/3.8/povray.conf.new
+# -rw-r--r-- 1 root root 2494 Jun 20 00:19 ./etc/povray/3.8/povray.ini.new
+# ...but ignore it, because the doinst.sh does handle the config files,
+# it's just that sbopkglint isn't (yet?) smart enough to understand it.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=povray
@@ -42,7 +50,7 @@ SHORTVER=$( echo $VERSION | cut -f1-2 -d. )
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -61,8 +69,8 @@ OUTPUT=${OUTPUT:-/tmp}
POVRAY_BUILDER=${POVRAY_BUILDER:-"$(whoami) on $(hostname)"}
# povray prefers -O3 to build, so we do not use the -O2 flag
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
diff --git a/graphics/pqiv/README b/graphics/pqiv/README
index a66232a29b..ccbf49a87f 100644
--- a/graphics/pqiv/README
+++ b/graphics/pqiv/README
@@ -1,3 +1,5 @@
+pqiv (powerful image viewer with minimal UI)
+
pqiv is a powerful GTK 3 based command-line image viewer with a
minimal UI. It is highly customizable, can be fully controlled from
scripts, and has support for various file formats including PDF,
diff --git a/graphics/pqiv/pqiv.SlackBuild b/graphics/pqiv/pqiv.SlackBuild
index 16debbf00e..9cc3b76e0a 100644
--- a/graphics/pqiv/pqiv.SlackBuild
+++ b/graphics/pqiv/pqiv.SlackBuild
@@ -2,30 +2,21 @@
# Slackware build script for pqiv
-# Copyright 2019 Leonardo Citrolo, Italy
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Originally written by Leonardo Citrolo, Italy.
+# Now maintained by B. Watson (urchlay@slackware.uk).
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20240317 bkw: update for v2.13.1.
+# 20230507 bkw:
+# - new maintainer.
+# - update for v2.12.
+# - relicense as WTFPL with original author's permission.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pqiv
-VERSION=${VERSION:-2.11}
+VERSION=${VERSION:-2.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +29,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -73,14 +61,12 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 {} +
# --prefix is the only option that the ./configure script really takes into
# account at present, but I'll leave the others, just in case.
+# 20230507 bkw: and --mandir (it complains, but works).
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -91,18 +77,14 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
+strip $PRGNAM
make install DESTDIR=$PKG
+gzip $PKG/usr/man/man*/*
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.markdown \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE README* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/pqiv/pqiv.info b/graphics/pqiv/pqiv.info
index b1015c6a1a..850d7efeed 100644
--- a/graphics/pqiv/pqiv.info
+++ b/graphics/pqiv/pqiv.info
@@ -1,10 +1,10 @@
PRGNAM="pqiv"
-VERSION="2.11"
+VERSION="2.13.1"
HOMEPAGE="http://www.pberndt.com/Programme/Linux/pqiv/index.html"
-DOWNLOAD="https://github.com/phillipberndt/pqiv/archive/2.11/pqiv-2.11.tar.gz"
-MD5SUM="47a15801c7917cf646bd87ed288b9955"
+DOWNLOAD="https://github.com/phillipberndt/pqiv/archive/2.13.1/pqiv-2.13.1.tar.gz"
+MD5SUM="cb63d0bba73d167f3a61f239b8e59e71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Leo C."
-EMAIL="leoc@gmx.com"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/pqiv/slack-desc b/graphics/pqiv/slack-desc
index b3066bf905..775af75df0 100644
--- a/graphics/pqiv/slack-desc
+++ b/graphics/pqiv/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-pqiv: pqiv (Powerful image viewer with minimal UI)
+pqiv: pqiv (powerful image viewer with minimal UI)
pqiv:
pqiv: pqiv is a powerful GTK 3 based command-line image viewer with a
pqiv: minimal UI. It is highly customizable, can be fully controlled from
@@ -14,6 +14,6 @@ pqiv: scripts, and has support for various file formats including PDF,
pqiv: Postscript, video files and archives. It is optimized to be quick and
pqiv: responsive.
pqiv:
-pqiv:
pqiv: Homepage: http://www.pberndt.com/Programme/Linux/pqiv/index.html
pqiv:
+pqiv:
diff --git a/graphics/psftools/psftools.SlackBuild b/graphics/psftools/psftools.SlackBuild
index dac5906b1d..7e158fc510 100644
--- a/graphics/psftools/psftools.SlackBuild
+++ b/graphics/psftools/psftools.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for psftools
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/psftools/psftools.info b/graphics/psftools/psftools.info
index 5946d92416..ee16536631 100644
--- a/graphics/psftools/psftools.info
+++ b/graphics/psftools/psftools.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/pyformex/pyformex.info b/graphics/pyformex/pyformex.info
index ad1c584cdd..ed2ca0a43c 100644
--- a/graphics/pyformex/pyformex.info
+++ b/graphics/pyformex/pyformex.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://slackware.uk/~urchlay/src/pyformex-1.0.5.tar.gz"
MD5SUM="5fa1526927c44cf67882195d3f988edd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="PyOpenGL numpy pyside"
+REQUIRES="PyOpenGL python2-numpy pyside"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/pygifme/README b/graphics/pygifme/README
deleted file mode 100644
index 78e2077d3f..0000000000
--- a/graphics/pygifme/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Pygifme is a simple command line tool to generate animated GIFs.
-script gifme created by Zach Holman.
diff --git a/graphics/pygifme/pygifme.info b/graphics/pygifme/pygifme.info
deleted file mode 100644
index b858dbcf01..0000000000
--- a/graphics/pygifme/pygifme.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="pygifme"
-VERSION="0.1"
-HOMEPAGE="https://github.com/shakaran/pygifme"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pygifme/pygifme-0.1.tar.gz"
-MD5SUM="44a086ea3d1d5a0ca880085db1df982d"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="argcomplete"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/python3-gds3xtrude/README b/graphics/python3-gds3xtrude/README
new file mode 100644
index 0000000000..bcad782613
--- /dev/null
+++ b/graphics/python3-gds3xtrude/README
@@ -0,0 +1,7 @@
+gds3xtrude takes the layers of your layout and converts them into 3D
+volumes by extrusion. gds3xtrude is intended to be used in two
+different ways:
+
+1. as KLayout extension: Show 3D model of the active view.
+2. as standalone tool: Convert GDS to OpenSCAD/Blender from the
+ command line.
diff --git a/graphics/python3-gds3xtrude/python3-gds3xtrude.SlackBuild b/graphics/python3-gds3xtrude/python3-gds3xtrude.SlackBuild
new file mode 100644
index 0000000000..4aabafe781
--- /dev/null
+++ b/graphics/python3-gds3xtrude/python3-gds3xtrude.SlackBuild
@@ -0,0 +1,81 @@
+#!/bin/bash
+
+# Slackware build script for python3-gds3xtrude
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=python3-gds3xtrude
+TARNAM=gds3xtrude
+VERSION=${VERSION:-0.0.13}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $TARNAM-$VERSION
+tar xvf $CWD/$TARNAM-$VERSION.tar.gz
+cd $TARNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+python3 setup.py install --root=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE PKG-INFO README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/python3-gds3xtrude/python3-gds3xtrude.info b/graphics/python3-gds3xtrude/python3-gds3xtrude.info
new file mode 100644
index 0000000000..6a2517718f
--- /dev/null
+++ b/graphics/python3-gds3xtrude/python3-gds3xtrude.info
@@ -0,0 +1,10 @@
+PRGNAM="python3-gds3xtrude"
+VERSION="0.0.13"
+HOMEPAGE="https://github.com/fsitok/gds3xtrude"
+DOWNLOAD="https://files.pythonhosted.org/packages/e9/11/683cee1ad6e7927005400477b8c5ceeee3dab004f51349467cb3f9280ad0/gds3xtrude-0.0.13.tar.gz"
+MD5SUM="8755ad97da2a6d080aff10c35380c270"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="python3-solidpython klayout openscad"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.python3-gds3xtrude_2023-07-03@lockywolf.net"
diff --git a/graphics/python3-gds3xtrude/slack-desc b/graphics/python3-gds3xtrude/slack-desc
new file mode 100644
index 0000000000..c34808602c
--- /dev/null
+++ b/graphics/python3-gds3xtrude/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+python3-gds3xtrude: python3-gds3xtrude (A simple layout to 3D converter)
+python3-gds3xtrude:
+python3-gds3xtrude: gds3xtrude takes the layers of your layout and converts them into 3D
+python3-gds3xtrude: volumes by extrusion. gds3xtrude is intended to be used in two
+python3-gds3xtrude: different ways: as KLayout extension: Show 3D model of the active
+python3-gds3xtrude: view. as standalone tool: Convert GDS to OpenSCAD/Blender from the
+python3-gds3xtrude: command line.
+python3-gds3xtrude:
+python3-gds3xtrude:
+python3-gds3xtrude:
+python3-gds3xtrude:
diff --git a/graphics/qcomicbook/README b/graphics/qcomicbook/README
index a4d1ff82ff..faf2052b14 100644
--- a/graphics/qcomicbook/README
+++ b/graphics/qcomicbook/README
@@ -1,5 +1,17 @@
-QComicBook (Comic Book Reader)
+qcomicbook (comic book reader)
-QComicBook is a graphical application that allows sequential display of
-archived (zip or rar) images, a well known technique for distributing
-digital copies of comic books.
+QComicBook is a viewer for PDF files and comic book archives
+containing jpeg/png/xpm/gif/bmp images, which aims at convenience
+and simplicity. Features include: automatic unpacking of archive
+files, full-screen mode, continuous scrolling mode, double-pages
+viewing, manga mode, thumbnails view, page scaling, mouse or keyboard
+navigation etc.
+
+Optional, but highly recommended:
+
+unrar - required for .cbr files.
+p7zip - required for .cb7 files.
+unace - required for .cba files (which are pretty rare).
+
+These are runtime dependencies; you don't have to rebuild qcomicbook
+after installing them.
diff --git a/graphics/qcomicbook/doinst.sh b/graphics/qcomicbook/doinst.sh
index 4e8ba7071d..3e5691a052 100644
--- a/graphics/qcomicbook/doinst.sh
+++ b/graphics/qcomicbook/doinst.sh
@@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index c863fb1248..eada94d7a0 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -3,9 +3,10 @@
# Slackware build script for QComicBook:
# a program to visualize digitalized comic books
-# Original version written by Amiralul - tanaselia@gmail.com
+# Original version written by Amiralul (email removed)
# Copyright 2009-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2023 B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,14 +26,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2012/07/23
+# 20230418 bkw: BUILD=2
+# - new maintainer.
+# - move icon to /usr/share/icons (and symlink to pixmaps).
+# - make .desktop file validate with no warnings.
+# - replace README and slack-desc with something more descriptive.
+# - make unrar optional.
+# - document unrar and other decompressors in README.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qcomicbook
SRCNAM=QComicBook
VERSION=${VERSION:-0.9.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -55,16 +62,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -76,39 +79,48 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-# Icon info in the desktop file should not have a file extension
-sed -i 's/\.png$//' data/qcomicbook.desktop
+# 20230418 bkw: install man pages and icon in right places.
+sed -i 's,share/man,man,' help/CMakeLists.txt
+sed -i 's,pixmaps,icons/hicolor/48x48/apps,' data/CMakeLists.txt
-# Remove the iCCP chunk from the PNG images to avoid warnings
+# Icon info in the desktop file should not have a file extension.
+# 20230418 bkw: also, remove deprecated stuff.
+sed -i -e 's/\.png$//' \
+ -e 's,Application;,,' \
+ -e '/^Encoding/d' \
+ data/qcomicbook.desktop
+
+# Remove the iCCP chunk from the PNG images to avoid warnings.
for i in data/*.png; do
mv $i $i.old.png
convert $i.old.png $i
rm $i.old.png
done
-cmake . \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
+mkdir build
+cd build
+ cmake .. \
+ -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS -DNDEBUG" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd -
-make VERBOSE=1
-make install/strip DESTDIR=$PKG
+gzip $PKG/usr/man/man*/*
-# Move manpage to correct location and gzip them
-mv $PKG/usr/share/man $PKG/usr/man
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+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 COPYING ChangeLog README THANKS TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION/
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# NEWS is a 0-byte placeholder, do not package.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS COPYING ChangeLog README THANKS TODO $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/qcomicbook/qcomicbook.info b/graphics/qcomicbook/qcomicbook.info
index 5555ba25c5..c1dd8e12ce 100644
--- a/graphics/qcomicbook/qcomicbook.info
+++ b/graphics/qcomicbook/qcomicbook.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/stolowski/QComicBook/archive/0.9.1/QComicBook-0.9.1
MD5SUM="d8762ff0698652cd2c383dbaa30cc132"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="unrar"
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/qcomicbook/slack-desc b/graphics/qcomicbook/slack-desc
index 7f2386c538..8430e4cdaf 100644
--- a/graphics/qcomicbook/slack-desc
+++ b/graphics/qcomicbook/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-qcomicbook: qcomicbook (Comic Book Reader)
-qcomicbook:
-qcomicbook: QComicBook is a graphical application that allows sequential
-qcomicbook: display of archived (zip or rar) images, a well known
-qcomicbook: technique for distributing digital copies of comic books.
-qcomicbook:
-qcomicbook: Homepage: https://github.com/stolowski/QComicBook
+qcomicbook: qcomicbook (comic book reader)
qcomicbook:
+qcomicbook: QComicBook is a viewer for PDF files and comic book archives
+qcomicbook: containing jpeg/png/xpm/gif/bmp images, which aims at convenience
+qcomicbook: and simplicity. Features include: automatic unpacking of archive
+qcomicbook: files, full-screen mode, continuous scrolling mode, double-pages
+qcomicbook: viewing, manga mode, thumbnails view, page scaling, mouse or keyboard
+qcomicbook: navigation etc.
qcomicbook:
qcomicbook:
qcomicbook:
diff --git a/graphics/qcustomplot/README b/graphics/qcustomplot/README
new file mode 100644
index 0000000000..5e4a187782
--- /dev/null
+++ b/graphics/qcustomplot/README
@@ -0,0 +1,5 @@
+QCustomPlot is a Qt C++ widget for plotting and data visualization.
+
+This plotting library focuses on making good looking, publication
+quality 2D plots, graphs and charts, as well as offering high
+performance for realtime visualization applications.
diff --git a/graphics/qcustomplot/doinst.sh b/graphics/qcustomplot/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/graphics/qcustomplot/doinst.sh
@@ -0,0 +1,3 @@
+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/qcustomplot/qcustomplot.SlackBuild b/graphics/qcustomplot/qcustomplot.SlackBuild
new file mode 100644
index 0000000000..d0a253a36c
--- /dev/null
+++ b/graphics/qcustomplot/qcustomplot.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+# Slackbuild for qcustomplot
+# Brian Cox <hamslackbuild@comcast.net>
+
+# Copyright 2023
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+SRCNAM=QCustomPlot
+PRGNAM=qcustomplot
+VERSION=${VERSION:-2.1.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar -xvf $CWD/$SRCNAM-v$VERSION.tar.gz
+tar -xvf $CWD/$SRCNAM-source.tar.gz
+mv -v $SRCNAM-v$VERSION $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+cp -v "../${PRGNAM}-source/"*.{cpp,h} .
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+qmake-qt5 sharedlib/sharedlib-compilation/sharedlib-compilation.pro
+make
+make install DESTDIR=$PKG
+
+doxygen -u
+doxygen
+qhelpgenerator documentation/html/index.qhp \
+ -o documentation/qthelp/qcustomplot.qch
+find documentation/html -type f \
+ -iname "*.qhp" -or -iname "*.map" -or -iname "*.md5" -delete
+
+install -vDm 644 "${PRGNAM}.h" -t "${PKG}/usr/include/"
+install -vdm 755 "${PKG}/usr/lib${LIBDIRSUFFIX}/"
+cp -av "lib${PRGNAM}.so"* $PKG/usr/lib${LIBDIRSUFFIX}
+
+install -vDm 644 documentation/qthelp/*.qch -t "${PKG}/usr/doc/$PRGNAM-$VERSION/qt/"
+find examples -type f -exec install -vDm 644 {} "${PKG}/usr/doc/$PRGNAM-$VERSION/"{} \;
+(
+ cd documentation
+ find html -type f -exec install -vDm 644 {} "${PKG}/usr/doc/$PRGNAM-$VERSION/"{} \;
+)
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+pwd
+cp -a \
+ changelog.txt \
+ GPL.txt \
+ ./sharedlib/readme.txt \
+ $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/qcustomplot/qcustomplot.info b/graphics/qcustomplot/qcustomplot.info
new file mode 100644
index 0000000000..baab57cc97
--- /dev/null
+++ b/graphics/qcustomplot/qcustomplot.info
@@ -0,0 +1,12 @@
+PRGNAM="qcustomplot"
+VERSION="2.1.1"
+HOMEPAGE="https://www.qcustomplot.com/"
+DOWNLOAD="https://gitlab.com/ecme2/QCustomPlot/-/archive/v2.1.1/QCustomPlot-v2.1.1.tar.gz \
+ https://www.qcustomplot.com/release/2.1.1/QCustomPlot-source.tar.gz"
+MD5SUM="e481fc69a91cd9ad1341397338457caa \
+ dec87d6ad14745683ebe166b5936bab1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Brian Cox"
+EMAIL="hamslackbuild@comcast.net"
diff --git a/graphics/qcustomplot/slack-desc b/graphics/qcustomplot/slack-desc
new file mode 100644
index 0000000000..1c026c6897
--- /dev/null
+++ b/graphics/qcustomplot/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qcustomplot: qcustomplot (Qt C++ widget for plotting and data visualization)
+qcustomplot:
+qcustomplot: This plotting library focuses on making good looking, publication
+qcustomplot: quality 2D plots, graphs and charts, as well as offering high
+qcustomplot: performance for realtime visualization applications.
+qcustomplot:
+qcustomplot:
+qcustomplot: Homepage: https://QCustomPlot.com/
+qcustomplot:
+qcustomplot:
+qcustomplot:
diff --git a/graphics/qelectrotech/qelectrotech.SlackBuild b/graphics/qelectrotech/qelectrotech.SlackBuild
index 3929feb8f0..92c5d92bad 100644
--- a/graphics/qelectrotech/qelectrotech.SlackBuild
+++ b/graphics/qelectrotech/qelectrotech.SlackBuild
@@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -51,8 +51,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"
diff --git a/graphics/qimgv/README b/graphics/qimgv/README
new file mode 100644
index 0000000000..13b87fa88c
--- /dev/null
+++ b/graphics/qimgv/README
@@ -0,0 +1,10 @@
+A qt5 cross-platform image viewer with video support
+
+Notes:
+To build with video support, pass WITH_VIDEO=ON to the build script.
+mpv is required for the video support
+
+To disable KDE integration, pass WITH_KDE=OFF
+
+WARNING: you will need to disable KDE integration if you do not have
+KDE installed or the build will fail.
diff --git a/graphics/qimgv/doinst.sh b/graphics/qimgv/doinst.sh
new file mode 100644
index 0000000000..4a25de5e6f
--- /dev/null
+++ b/graphics/qimgv/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/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/qimgv/qimgv.SlackBuild b/graphics/qimgv/qimgv.SlackBuild
new file mode 100644
index 0000000000..6fd2126411
--- /dev/null
+++ b/graphics/qimgv/qimgv.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Copyright 2023 S. S. Bolokanar, Bulgaria <bolokanar@bulgars.org>
+# С. С. Болоканаръ, България
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=qimgv
+VERSION=${VERSION:-1.0.2}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+WITH_VIDEO=${WITH_VIDEO:-OFF}
+WITH_KDE=${WITH_KDE:-ON}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 video support is enabled, fix for mpv >= 0.35 - thanks to Christoph Willing
+[ "$WITH_VIDEO" != "OFF" ] && sed -i -e '/mpv_opengl_init_params/ s/, nullptr};/};/' plugins/player_mpv/src/mpvwidget.cpp
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DEXIV2=ON \
+ -DOPENCV_SUPPORT=ON \
+ -DVIDEO_SUPPORT=${WITH_VIDEO} \
+ -DKDE_SUPPORT=${WITH_KDE} \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/qimgv/qimgv.info b/graphics/qimgv/qimgv.info
new file mode 100644
index 0000000000..32da74c5ab
--- /dev/null
+++ b/graphics/qimgv/qimgv.info
@@ -0,0 +1,10 @@
+PRGNAM="qimgv"
+VERSION="1.0.2"
+HOMEPAGE="https://github.com/easymodo/qimgv"
+DOWNLOAD="https://github.com/easymodo/qimgv/archive/v1.0.2/qimgv-1.0.2.tar.gz"
+MD5SUM="3c5b4daa98425aabd6c498aafb7e71a9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="S. S. Bolokanar"
+EMAIL="bolokanar@bulgars.org"
diff --git a/graphics/qimgv/slack-desc b/graphics/qimgv/slack-desc
new file mode 100644
index 0000000000..bcac520cbe
--- /dev/null
+++ b/graphics/qimgv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+qimgv: qimgv (lightweight image viewer)
+qimgv:
+qimgv: A cross-platform image viewer with webm support, written in qt5
+qimgv:
+qimgv: Homepage: https://github.com/easymodo/qimgv
+qimgv:
+qimgv:
+qimgv:
+qimgv:
+qimgv:
+qimgv:
diff --git a/graphics/qiv/README b/graphics/qiv/README
index def7dfa374..8daaa2239f 100644
--- a/graphics/qiv/README
+++ b/graphics/qiv/README
@@ -9,10 +9,7 @@ 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").
+GIF TIFF XPM PNG PPM PNM PGM BMP JPEG SVG ICO TGA ICNS JP2
Optional supported formats:
@@ -22,16 +19,20 @@ PCX | pcx-pixbuf-loader
------------------------+-----------------------------------------------
PSD (PhotoShop native) | gdk-pixbuf-psd
------------------------+-----------------------------------------------
-WEBP | 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).
------------------------+-----------------------------------------------
+WEBP | imlib2 and webp-pixbuf-loader. Build and
+ | install *in that order*.
+------------------------+-----------------------------------------------
+WMF (Windows MetaFile) | libwmf-type1-fonts (only needed for .wmf files
+ | with embedded text, but all the ones I tested
+ | do have text...)
+------------------------+-----------------------------------------------
+XCF (Gimp native) | xcf-pixbuf-loader
+------------------------+-----------------------------------------------
These are runtime dependencies, so they can be installed at any time
without rebuilding qiv.
diff --git a/graphics/qiv/new_formats.diff b/graphics/qiv/new_formats.diff
index bc5622fd89..0953a23b67 100644
--- a/graphics/qiv/new_formats.diff
+++ b/graphics/qiv/new_formats.diff
@@ -1,25 +1,22 @@
-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.
+diff -Naur qiv-2.3.3/Makefile qiv-2.3.3.patched/Makefile
+--- qiv-2.3.3/Makefile 2023-01-28 16:37:29.000000000 -0500
++++ qiv-2.3.3.patched/Makefile 2023-06-06 02:52:08.518230436 -0400
+@@ -26,7 +26,7 @@
+ # or 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
+-EXTNS = GIF TIFF XPM PNG PPM PNM PGM PCX BMP EIM JPEG SVG WMF ICO WEBP HEIF
++EXTNS = GIF TIFF XPM PNG PPM PNM PGM PCX BMP EIM JPEG SVG WMF ICO WEBP HEIF XCF PSD ICNS TGA RAW JP2
# 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",
+diff -Naur qiv-2.3.3/main.h qiv-2.3.3.patched/main.h
+--- qiv-2.3.3/main.h 2023-01-28 16:37:29.000000000 -0500
++++ qiv-2.3.3.patched/main.h 2023-06-06 02:58:13.422196095 -0400
+@@ -211,6 +211,21 @@
+ #ifdef EXTN_HEIF
+ ".heic", ".heif",
#endif
-+#ifdef EXTN_WEBP
-+ ".webp",
-+#endif
+#ifdef EXTN_XCF
+ ".xcf",
+#endif
@@ -29,25 +26,19 @@ diff -Naur qiv-2.3.2/main.h qiv-2.3.2.patched/main.h
+#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",
++ ".dng", ".cr2", ".crw", ".nef", ".orf", ".pef", ".arw", ".erf", ".mrw", ".raf",
+#endif
NULL
};
-@@ -238,6 +259,29 @@
- #ifdef EXTN_ICO
- "MS Windows icon resource",
+@@ -256,6 +271,27 @@
+ #ifdef EXTN_HEIF
+ "ISO Media, HEIF Image",
#endif
-+#ifdef EXTN_WEBP
-+ "RIFF (little-endian) data, Web/P image",
-+#endif
+#ifdef EXTN_XCF
+ "GIMP XCF image data",
+#endif
@@ -62,7 +53,8 @@ diff -Naur qiv-2.3.2/main.h qiv-2.3.2.patched/main.h
+#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. */
++ with the file command, so we can't include them here. cr3 is "ISO Media",
++ which fails to work if added here. */
+ "Canon CIFF",
+ "Canon CR2",
+ "Olympus ORF",
diff --git a/graphics/qiv/qiv-allfmt.sqf b/graphics/qiv/qiv-allfmt.sqf
index 5fa2cb06f6..a550ba4e91 100644
--- a/graphics/qiv/qiv-allfmt.sqf
+++ b/graphics/qiv/qiv-allfmt.sqf
@@ -1,7 +1,8 @@
+imlib2
libopenraw
-libwebp
webp-pixbuf-loader
xcf-pixbuf-loader
gdk-pixbuf-psd
pcx-pixbuf-loader
-imlib2
+libwmf-type1-fonts
+qiv
diff --git a/graphics/qiv/qiv.SlackBuild b/graphics/qiv/qiv.SlackBuild
index 0751aaaf72..cb552ebf14 100644
--- a/graphics/qiv/qiv.SlackBuild
+++ b/graphics/qiv/qiv.SlackBuild
@@ -4,10 +4,18 @@
# Written by Pablo Santamaria (email removed)
-# Modified & now maintained by B. Watson <yalhcru@gmail.com>. Original
+# Modified & now maintained by B. Watson <urchlay@slackware.uk>. Original
# version had no license, modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
+# 20230605 bkw:
+# - Update for v2.3.3.
+# - JPEG 2000 works now, so enable it in the Makefile.
+# - WMF is broken. Fixed by adding new libwmf-type1-fonts optional
+# dep. Documented in README.
+# - Rework new_formats.diff. Script can no longer build old version.
+# - Fix and update qiv-allfmt.sqf.
+
# 20191231 bkw:
# - Add libopenraw (raw camera image) formats, BUILD=2.
# - Remove mention of wmf-pixbuf loader from README and .sqf
@@ -32,8 +40,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qiv
-VERSION=${VERSION:-2.3.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.3.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,16 +64,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
diff --git a/graphics/qiv/qiv.info b/graphics/qiv/qiv.info
index 71b2b86155..4061bbd4d7 100644
--- a/graphics/qiv/qiv.info
+++ b/graphics/qiv/qiv.info
@@ -1,10 +1,10 @@
PRGNAM="qiv"
-VERSION="2.3.2"
+VERSION="2.3.3"
HOMEPAGE="https://spiegl.de/qiv/"
-DOWNLOAD="https://spiegl.de/qiv/download/qiv-2.3.2.tgz"
-MD5SUM="e64dd2cbd49f31264f60012e0138549b"
+DOWNLOAD="https://spiegl.de/qiv/download/qiv-2.3.3.tgz"
+MD5SUM="62f7a3adf62b85cdc6244913abf56bac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/ralcgm/ralcgm.SlackBuild b/graphics/ralcgm/ralcgm.SlackBuild
index 895f831984..10c5231783 100644
--- a/graphics/ralcgm/ralcgm.SlackBuild
+++ b/graphics/ralcgm/ralcgm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ralcgm
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/ralcgm/ralcgm.info b/graphics/ralcgm/ralcgm.info
index 21a5f4ae02..79f7a143a1 100644
--- a/graphics/ralcgm/ralcgm.info
+++ b/graphics/ralcgm/ralcgm.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
index 9d7c974dac..f4880a2f34 100644
--- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
+++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
@@ -24,7 +24,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
# For testing: raw-thumbnailer -s size input.raw output.png
diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.info b/graphics/raw-thumbnailer/raw-thumbnailer.info
index aeba16e267..48a77fd3d7 100644
--- a/graphics/raw-thumbnailer/raw-thumbnailer.info
+++ b/graphics/raw-thumbnailer/raw-thumbnailer.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libopenraw"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/rawtherapee-haldclut/README b/graphics/rawtherapee-haldclut/README
new file mode 100644
index 0000000000..1b4aafba64
--- /dev/null
+++ b/graphics/rawtherapee-haldclut/README
@@ -0,0 +1,6 @@
+rawtherapee-haldclut is a collection of LUT (Lookup Table) images that
+can be used for film simulation in RawTherapee or ART. The collection
+contains simulations of dozens of classic black-and-white and color
+films as well as several creative filters. To use them in RawTherapee or
+ART, set the HaldCLUT directory under Preferences -> Image Processing to
+/usr/share/rawtherapee-haldclut after installing.
diff --git a/graphics/rawtherapee-haldclut/rawtherapee-haldclut.SlackBuild b/graphics/rawtherapee-haldclut/rawtherapee-haldclut.SlackBuild
new file mode 100644
index 0000000000..8b91dfed42
--- /dev/null
+++ b/graphics/rawtherapee-haldclut/rawtherapee-haldclut.SlackBuild
@@ -0,0 +1,72 @@
+#!/bin/bash
+
+# Slackware build script for rawtherapee-haldclut
+
+# Copyright 2022 Daniel Prosser, Lexington Park, MD
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rawtherapee-haldclut
+VERSION=${VERSION:-20150920}
+SRCNAM=HaldCLUT
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM
+unzip $CWD/$SRCNAM.zip
+cd $SRCNAM
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -r Black-and-White Color $PKG/usr/share/$PRGNAM
+cp -a Hald_CLUT_Identity_12.tif Negative.png $PKG/usr/share/$PRGNAM
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/rawtherapee-haldclut/rawtherapee-haldclut.info b/graphics/rawtherapee-haldclut/rawtherapee-haldclut.info
new file mode 100644
index 0000000000..90baabf51f
--- /dev/null
+++ b/graphics/rawtherapee-haldclut/rawtherapee-haldclut.info
@@ -0,0 +1,10 @@
+PRGNAM="rawtherapee-haldclut"
+VERSION="20150920"
+HOMEPAGE="https://bitbucket.org/agriggio/art/wiki/Home"
+DOWNLOAD="http://rawtherapee.com/shared/HaldCLUT.zip"
+MD5SUM="4742e362a70c1a1c0fb9042a17d285e1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Daniel Prosser"
+EMAIL="dpross1100@msn.com"
diff --git a/graphics/rawtherapee-haldclut/slack-desc b/graphics/rawtherapee-haldclut/slack-desc
new file mode 100644
index 0000000000..cae923b194
--- /dev/null
+++ b/graphics/rawtherapee-haldclut/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+rawtherapee-haldclut: rawtherapee-haldclut (film simulation collection)
+rawtherapee-haldclut:
+rawtherapee-haldclut: rawtherapee-haldclut is a collection of LUT (Lookup Table) images that
+rawtherapee-haldclut: can be used for film simulation in RawTherapee or ART.
+rawtherapee-haldclut:
+rawtherapee-haldclut: Homepage: https://rawpedia.rawtherapee.com/Film_Simulation
+rawtherapee-haldclut:
+rawtherapee-haldclut:
+rawtherapee-haldclut:
+rawtherapee-haldclut:
+rawtherapee-haldclut:
diff --git a/graphics/ristretto/ristretto.SlackBuild b/graphics/ristretto/ristretto.SlackBuild
index bd6d60248d..3fad0b2848 100644
--- a/graphics/ristretto/ristretto.SlackBuild
+++ b/graphics/ristretto/ristretto.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ristretto
-# Copyright 2015-2019 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2015-2023 Aaditya <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ristretto
-VERSION=${VERSION:-0.12.2}
+VERSION=${VERSION:-0.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -94,7 +91,7 @@ make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog NEWS README.md TODO \
+ AUTHORS COPYING ChangeLog NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/ristretto/ristretto.info b/graphics/ristretto/ristretto.info
index f62c805e48..256eaa9ba1 100644
--- a/graphics/ristretto/ristretto.info
+++ b/graphics/ristretto/ristretto.info
@@ -1,10 +1,10 @@
PRGNAM="ristretto"
-VERSION="0.12.2"
+VERSION="0.13.2"
HOMEPAGE="https://docs.xfce.org/apps/ristretto/start"
-DOWNLOAD="https://archive.xfce.org/src/apps/ristretto/0.12/ristretto-0.12.2.tar.bz2"
-MD5SUM="f42056310bfbc16d2657b502aa27719c"
+DOWNLOAD="https://archive.xfce.org/src/apps/ristretto/0.13/ristretto-0.13.2.tar.bz2"
+MD5SUM="f3b1706a991a34f9866b0b2c27c6d0e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Aaditya Bagga"
+MAINTAINER="Aaditya"
EMAIL="aaditya_gnulinux@zoho.com"
diff --git a/graphics/scantailor-advanced/README b/graphics/scantailor-advanced/README
index bc9f041e8e..fc60888c42 100644
--- a/graphics/scantailor-advanced/README
+++ b/graphics/scantailor-advanced/README
@@ -12,3 +12,13 @@ this project.
The ScanTailor version that merges the features of the ScanTailor
Featured and ScanTailor Enhanced versions, brings new ones and fixes.
+
+qt6 is an optional dependency and will be autodetected if it is present
+at build time. Otherwise, qt5 will be used.
+
+When using the qt6 version on a low-resolution monitor, the following
+settings can be needed
+
+export QT_ENABLE_HIGHDPI_SCALING=0
+
+in, for example, /etc/profile.d/qt6_disable_high-dpi_scaling.sh
diff --git a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
index 42809cd223..98f0bbdaf5 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
+++ b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for scantailor-advanced
-# Copyright 2019, Alexander Verbovetsky, Moscow, Russia
+# Copyright 2019-2023, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scantailor-advanced
-VERSION=${VERSION:-20200531_3d1e74e}
+VERSION=${VERSION:-1.0.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -70,8 +67,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
+sed -i '1a#include<algorithm>' src/foundation/Proximity.cpp
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,11 +83,11 @@ mkdir -p build
cd build
cmake -G "Unix Makefiles" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/graphics/scantailor-advanced/scantailor-advanced.info b/graphics/scantailor-advanced/scantailor-advanced.info
index 0358965e80..3a78557542 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.info
+++ b/graphics/scantailor-advanced/scantailor-advanced.info
@@ -1,10 +1,10 @@
PRGNAM="scantailor-advanced"
-VERSION="20200531_3d1e74e"
-HOMEPAGE="https://github.com/4lex4/scantailor-advanced"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/scantailor-advanced-20200531_3d1e74e.tar.xz"
-MD5SUM="61dfa53ca5f607aa03f4809a796cef08"
+VERSION="1.0.19"
+HOMEPAGE="https://github.com/vigri/scantailor-advanced"
+DOWNLOAD="https://github.com/vigri/scantailor-advanced/archive/v1.0.19/scantailor-advanced-1.0.19.tar.gz"
+MD5SUM="852ae1ec6ce5f5c8dcd3c1f24ef18549"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="%README%"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"
diff --git a/graphics/scantailor-advanced/slack-desc b/graphics/scantailor-advanced/slack-desc
index 6e56222d78..8264f39bc3 100644
--- a/graphics/scantailor-advanced/slack-desc
+++ b/graphics/scantailor-advanced/slack-desc
@@ -13,7 +13,7 @@ scantailor-advanced:
scantailor-advanced:
scantailor-advanced:
scantailor-advanced:
-scantailor-advanced: Homepage: https://github.com/4lex4/scantailor-advanced
+scantailor-advanced: Homepage: https://github.com/vigri/scantailor-advanced
scantailor-advanced:
scantailor-advanced:
scantailor-advanced:
diff --git a/graphics/screengrab/doinst.sh b/graphics/screengrab/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/graphics/screengrab/doinst.sh
+++ b/graphics/screengrab/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/screengrab/screengrab.SlackBuild b/graphics/screengrab/screengrab.SlackBuild
index 74a618dcb8..d2ae794912 100644
--- a/graphics/screengrab/screengrab.SlackBuild
+++ b/graphics/screengrab/screengrab.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=screengrab
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/graphics/screengrab/screengrab.info b/graphics/screengrab/screengrab.info
index 64fe734284..175222d143 100644
--- a/graphics/screengrab/screengrab.info
+++ b/graphics/screengrab/screengrab.info
@@ -1,8 +1,8 @@
PRGNAM="screengrab"
-VERSION="2.3.0"
+VERSION="2.6.0"
HOMEPAGE="https://github.com/lxqt/screengrab"
-DOWNLOAD="https://github.com/lxqt/screengrab/releases/download/2.3.0/screengrab-2.3.0.tar.xz"
-MD5SUM="464622312df4c17e1952f865f03ba5fa"
+DOWNLOAD="https://github.com/lxqt/screengrab/releases/download/2.6.0/screengrab-2.6.0.tar.xz"
+MD5SUM="628db4fd51b27bb8076da7e73e72de89"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libqtxdg"
diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild
index 99764166b8..5cb78fa3b5 100644
--- a/graphics/scrot/scrot.SlackBuild
+++ b/graphics/scrot/scrot.SlackBuild
@@ -24,13 +24,11 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
-set -e
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scrot
-VERSION=${VERSION:-0.8}
-BUILD=${BUILD:-4}
+VERSION=${VERSION:-1.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -86,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux
diff --git a/graphics/scrot/scrot.info b/graphics/scrot/scrot.info
index 217b7a54c6..53d9f82640 100644
--- a/graphics/scrot/scrot.info
+++ b/graphics/scrot/scrot.info
@@ -1,10 +1,10 @@
PRGNAM="scrot"
-VERSION="0.8"
-HOMEPAGE="https://github.com/dreamer/scrot"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/scrot/scrot-0.8.tar.gz"
-MD5SUM="ccae904d225609571bdd3b03445c1e88"
+VERSION="1.10"
+HOMEPAGE="https://github.com/resurrecting-open-source-projects/scrot"
+DOWNLOAD="https://github.com/resurrecting-open-source-projects/scrot/releases/download/1.10/scrot-1.10.tar.gz"
+MD5SUM="100d97845016421e60fcf444232a3781"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="giblib"
-MAINTAINER="Ryan S. Northrup"
-EMAIL="northrup@yellowapple.us"
+MAINTAINER="rc_05"
+EMAIL="rc_o5@protonmail.com"
diff --git a/graphics/shutter/shutter.info b/graphics/shutter/shutter.info
index f4a8b7f9e7..7bd0dd6b4f 100644
--- a/graphics/shutter/shutter.info
+++ b/graphics/shutter/shutter.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://launchpad.net/shutter/0.9x/0.94.3/+download/shutter-0.94.3.tar
MD5SUM="e1f22983322897f27c5690f49de226cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-gnome2 perl-file-basedir perl-File-Copy-Recursive perl-File-Which perl-gnome2-wnck perl-goo-canvas perl-gtk2-imageview perl-Gtk2-Unique exiftool perl-JSON perl-Cpanel-JSON-XS perl-JSON-MaybeXS perl-net-dbus perl-Path-Class perl-Proc-ProcessTable perl-Proc-ProcessTable perl-Proc-Simple perl-www-mechanize perl-x11-protocol perl-Sort-Naturally perl-http-message libwww-perl perl-LWP-Protocol-https perl-LWP-Protocol-socks perl-URI-Simple perl-WebService-Gyazo-B"
+REQUIRES="perl-gnome2 perl-file-basedir perl-File-Copy-Recursive perl-gnome2-wnck perl-goo-canvas perl-gtk2-imageview perl-Gtk2-Unique exiftool perl-JSON perl-Cpanel-JSON-XS perl-JSON-MaybeXS perl-net-dbus perl-Path-Class perl-Proc-ProcessTable perl-Proc-Simple perl-www-mechanize perl-x11-protocol perl-Sort-Naturally perl-WebService-Gyazo-B"
MAINTAINER="Donald Cooley"
EMAIL="chytraeu@sdf.org"
diff --git a/graphics/stltools/README b/graphics/stltools/README
new file mode 100644
index 0000000000..2b13537b0b
--- /dev/null
+++ b/graphics/stltools/README
@@ -0,0 +1,5 @@
+The stltools module reads both text and binary STL files and creates STL
+objects. It also handles coordinate transforms and projections.
+
+The scripts stl2pov, stl2ps and stl2pdf use this library to convert STL
+files to POV-ray meshes, PostScript and PDF files respectively.
diff --git a/graphics/stltools/slack-desc b/graphics/stltools/slack-desc
new file mode 100644
index 0000000000..2940852dba
--- /dev/null
+++ b/graphics/stltools/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+stltools: stltools (Python modules and scripts for handling stl files)
+stltools:
+stltools: The stltools module reads both text and binary STL files and creates
+stltools: STL objects. It also handles coordinate transforms and projections.
+stltools: The scripts stl2pov, stl2ps and stl2pdf use this library to convert
+stltools: STL files to POV-ray meshes, PostScript and PDF files respectively.
+stltools:
+stltools:
+stltools:
+stltools:
+stltools:
diff --git a/graphics/stltools/stltools.SlackBuild b/graphics/stltools/stltools.SlackBuild
new file mode 100644
index 0000000000..2a8df3495f
--- /dev/null
+++ b/graphics/stltools/stltools.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for <stltools>
+
+# Copyright 2023, Michales Michaloudes (clavisound), Greece
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=stltools
+VERSION=${VERSION:-2022.01.20}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+sed -i 's_env python_env python3_' $TMP/$PRGNAM-$VERSION/setup.py
+python3 setup.py
+
+mkdir -p $PKG/usr/bin
+for i in info 2pdf 2ps 2pov
+do
+ cp stl$i $PKG/usr/bin/
+done
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE.txt README.rst doc/* \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+#cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/stltools/stltools.info b/graphics/stltools/stltools.info
new file mode 100644
index 0000000000..0000601166
--- /dev/null
+++ b/graphics/stltools/stltools.info
@@ -0,0 +1,10 @@
+PRGNAM="stltools"
+VERSION="2022.01.20"
+HOMEPAGE="https://rsmith.home.xs4all.nl/software/stltools.html"
+DOWNLOAD="https://github.com/rsmith-nl/stltools/archive/2022.01.20/stltools-2022.01.20.tar.gz"
+MD5SUM="d67aa58bb5cb50bd5967d146a3df762e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Michales Michaloudes"
+EMAIL="korgie@gmail.com"
diff --git a/graphics/svp/svp.SlackBuild b/graphics/svp/svp.SlackBuild
index 2a55b2ba7b..ab3b1ebb9d 100644
--- a/graphics/svp/svp.SlackBuild
+++ b/graphics/svp/svp.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
diff --git a/graphics/swappy/README b/graphics/swappy/README
new file mode 100644
index 0000000000..3f397dc27d
--- /dev/null
+++ b/graphics/swappy/README
@@ -0,0 +1,7 @@
+swappy (wayland screenshot editor)
+
+A Wayland native snapshot and editor tool, inspired by Snappy on
+macOS. Works great with grim, slurp and sway. But can easily work
+with other screen copy tools that can output a final image to stdout.
+
+Optional dependancy 'scdoc' for manpage.
diff --git a/graphics/swappy/doinst.sh b/graphics/swappy/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/graphics/swappy/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/swappy/slack-desc b/graphics/swappy/slack-desc
new file mode 100644
index 0000000000..6624c33999
--- /dev/null
+++ b/graphics/swappy/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+swappy: swappy (wayland screenshot editor)
+swappy:
+swappy: A Wayland native snapshot and editor tool, inspired by Snappy on
+swappy: macOS. Works great with grim, slurp and sway. But can easily work
+swappy: with other screen copy tools that can output a final image to stdout.
+swappy:
+swappy: Homepage: https://github.com/jtheoof/swappy
+swappy:
+swappy:
+swappy:
+swappy:
diff --git a/graphics/swappy/swappy.SlackBuild b/graphics/swappy/swappy.SlackBuild
new file mode 100644
index 0000000000..5ff715ece5
--- /dev/null
+++ b/graphics/swappy/swappy.SlackBuild
@@ -0,0 +1,130 @@
+#!/bin/bash
+
+# Slackware build script for swappy
+
+# Copyright 2022 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=swappy
+VERSION=${VERSION:-1.5.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z || tar xvf $CWD/v$VERSION.tar.?z
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir meson-build
+cd meson-build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson setup .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Compress and link manpages, if any:
+if [ -d $PKG/usr/man ]; then
+ ( cd $PKG/usr/man
+ for manpagedir in $(find . -type d -name "man*") ; do
+ ( cd $manpagedir
+ for eachpage in $( find . -type l -maxdepth 1) ; do
+ ln -s $( readlink $eachpage ).gz $eachpage.gz
+ rm $eachpage
+ done
+ gzip -9 *.*
+ )
+ done
+ )
+fi
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/swappy/swappy.info b/graphics/swappy/swappy.info
new file mode 100644
index 0000000000..2b3e422cfc
--- /dev/null
+++ b/graphics/swappy/swappy.info
@@ -0,0 +1,10 @@
+PRGNAM="swappy"
+VERSION="1.5.1"
+HOMEPAGE="https://github.com/jtheoof/swappy"
+DOWNLOAD="https://github.com/jtheoof/swappy/releases/download/v1.5.1/swappy-1.5.1.tar.gz"
+MD5SUM="c702fdc12ac01a4c84c430883a4f3dfd"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Jay Lanagan"
+EMAIL="j@lngn.net"
diff --git a/graphics/sxiv/sxiv.info b/graphics/sxiv/sxiv.info
index 3b6b6b77b1..5511bd90c9 100644
--- a/graphics/sxiv/sxiv.info
+++ b/graphics/sxiv/sxiv.info
@@ -1,7 +1,7 @@
PRGNAM="sxiv"
VERSION="26"
-HOMEPAGE="https://github.com/muennich/sxiv"
-DOWNLOAD="https://github.com/muennich/sxiv/archive/v26/sxiv-26.tar.gz"
+HOMEPAGE="https://github.com/xyb3rt/sxiv"
+DOWNLOAD="https://github.com/xyb3rt/sxiv/archive/v26/sxiv-26.tar.gz"
MD5SUM="969d086bff438ae882433f8729d2b95d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/synfig/README b/graphics/synfig/README
new file mode 100644
index 0000000000..9eefa71e6c
--- /dev/null
+++ b/graphics/synfig/README
@@ -0,0 +1,8 @@
+Synfig (Professional vector animation program, CLI)
+
+Synfig is a free and open-source 2D animation software,
+designed as powerful industrial-strength solution for creating
+film-quality animation using a vector and bitmap artwork. It
+eliminates the need to create animation frame-by frame, allowing
+you to produce 2D animation of a higher quality with fewer people
+and resources.
diff --git a/graphics/synfig/slack-desc b/graphics/synfig/slack-desc
new file mode 100644
index 0000000000..2e675f62fc
--- /dev/null
+++ b/graphics/synfig/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+synfig: synfig (Professional vector animation program, CLI)
+synfig:
+synfig: Synfig is a free and open-source 2D animation software,
+synfig: designed as powerful industrial-strength solution for creating
+synfig: film-quality animation using a vector and bitmap artwork. It
+synfig: eliminates the need to create animation frame-by frame, allowing you
+synfig: to produce 2D animation of a higher quality with fewer people and
+synfig: resources.
+synfig:
+synfig: Home page: https://www.synfig.org
+synfig:
diff --git a/graphics/synfig/synfig.SlackBuild b/graphics/synfig/synfig.SlackBuild
new file mode 100644
index 0000000000..03b97ebdfb
--- /dev/null
+++ b/graphics/synfig/synfig.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for <synfig>
+
+# Copyright 2020, Zhu Qun-Ying
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=synfig
+VERSION=${VERSION:-1.5.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ 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 .
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --with-imagemagick \
+ --with-magickpp \
+ --with-libavcodec \
+ --with-libav \
+ --with-ffmpeg \
+ --build=$ARCH-slackware-linux
+
+make $JOBS
+make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS COPYING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/synfig/synfig.info b/graphics/synfig/synfig.info
new file mode 100644
index 0000000000..70a83765a5
--- /dev/null
+++ b/graphics/synfig/synfig.info
@@ -0,0 +1,10 @@
+PRGNAM="synfig"
+VERSION="1.5.1"
+HOMEPAGE="https://www.synfig.org/"
+DOWNLOAD="https://github.com/synfig/synfig/releases/download/v1.5.1/synfig-1.5.1.tar.gz"
+MD5SUM="8e14f0e4809e17367fdc7c7fe92ed0a4"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="libxml++ libdv ETL"
+MAINTAINER="Zhu Qun-Ying"
+EMAIL="zhu.qunying@gmail.com"
diff --git a/graphics/synfigstudio/README b/graphics/synfigstudio/README
new file mode 100644
index 0000000000..d997b560e2
--- /dev/null
+++ b/graphics/synfigstudio/README
@@ -0,0 +1,8 @@
+Synfig Studio (Professional vector animation program, GUI)
+
+Synfig Studio is a free and open-source 2D animation software,
+designed as powerful industrial-strength solution for creating
+film-quality animation using a vector and bitmap artwork. It
+eliminates the need to create animation frame-by frame, allowing
+you to produce 2D animation of a higher quality with fewer
+people and resources.
diff --git a/graphics/synfigstudio/doinst.sh b/graphics/synfigstudio/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/graphics/synfigstudio/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/synfigstudio/douninst.sh b/graphics/synfigstudio/douninst.sh
new file mode 100644
index 0000000000..dcf26cbc36
--- /dev/null
+++ b/graphics/synfigstudio/douninst.sh
@@ -0,0 +1 @@
+/usr/bin/update-mime-database /usr/share/mime
diff --git a/graphics/synfigstudio/slack-desc b/graphics/synfigstudio/slack-desc
new file mode 100644
index 0000000000..a82ad11e84
--- /dev/null
+++ b/graphics/synfigstudio/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+synfigstudio: synfigstudio (Synfig Studio - Professional vector animation program)
+synfigstudio:
+synfigstudio: Synfig Studio is a free and open-source 2D animation software,
+synfigstudio: designed as powerful industrial-strength solution for creating
+synfigstudio: film-quality animation using a vector and bitmap artwork. It
+synfigstudio: eliminates the need to create animation frame-by frame, allowing you
+synfigstudio: to produce 2D animation of a higher quality with fewer people and
+synfigstudio: resources.
+synfigstudio:
+synfigstudio: Home page: https://www.synfig.org
+synfigstudio:
diff --git a/graphics/synfigstudio/synfigstudio.SlackBuild b/graphics/synfigstudio/synfigstudio.SlackBuild
new file mode 100644
index 0000000000..10b55c9ea3
--- /dev/null
+++ b/graphics/synfigstudio/synfigstudio.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for <synfigstudio>
+
+# Copyright 2020, Zhu Qun-Ying
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=synfigstudio
+VERSION=${VERSION:-1.5.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ 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 .
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --with-libavcodec --with-libdv \
+ --localstatedir=/var \
+ --disable-static \
+ --with-imagemagick \
+ --with-magickpp \
+ --with-libavcodec \
+ --with-libav \
+ --with-ffmpeg \
+ --build=$ARCH-slackware-linux
+
+make $JOBS
+make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS COPYING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/synfigstudio/synfigstudio.info b/graphics/synfigstudio/synfigstudio.info
new file mode 100644
index 0000000000..4e7b3730f2
--- /dev/null
+++ b/graphics/synfigstudio/synfigstudio.info
@@ -0,0 +1,10 @@
+PRGNAM="synfigstudio"
+VERSION="1.5.1"
+HOMEPAGE="https://www.synfig.org/"
+DOWNLOAD="https://github.com/synfig/synfig/releases/download/v1.5.1/synfigstudio-1.5.1.tar.gz"
+MD5SUM="49390c6bca7f78ebb7cc0e1d00710f4e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="synfig"
+MAINTAINER="Zhu Qun-Ying"
+EMAIL="zhu.qunying@gmail.com"
diff --git a/graphics/teighafileconverter/teighafileconverter.SlackBuild b/graphics/teighafileconverter/teighafileconverter.SlackBuild
index b4fb79c5a5..1633c3b4c4 100644
--- a/graphics/teighafileconverter/teighafileconverter.SlackBuild
+++ b/graphics/teighafileconverter/teighafileconverter.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for TeighaFileConverter
# Copyright 2012-2014 Fridrich von Stauffenberg <email removed>
-# Copyright 2018 B. Watson <yalhcru@gmail.com>
+# Copyright 2018 B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,6 +23,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230115 bkw: BUILD=2, strip bins/libs and get rid of bad icon.
# 20180724 bkw:
# - Take over maintenance.
# - Update for v19.5.0.0. This adds x86_64 support, but means qt5 is
@@ -37,7 +38,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=teighafileconverter
VERSION=${VERSION:-19.5.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,17 +82,15 @@ cd $PKG
ar p $CWD/${ORIGNAM}_QT5_lnx${DEBARCH}_*dll.deb data.tar.gz | tar xvfz -
chown -R root:root .
-find . -type d -exec chmod 755 {} \;
-find -L . \! -name '*.so' \! -name '*.tx*' -type f -exec chmod 644 {} \;
-
-# Binaries aren't stripped, according to 'file', but they don't get any
-# smaller if I strip them, so leave them as-is.
+find . -type d -exec chmod 755 {} \+
+find -L . \! -name '*.so' \! -name '*.tx*' -type f -exec chmod 644 {} \+
PKGLIB=$PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKGLIB
mv $PKG/usr/bin/${ORIGNAM}_$VERSION $PKGLIB/$ORIGNAM
sed "s,@LIBDIRSUFFIX@,$LIBDIRSUFFIX,g" $CWD/$PRGNAM.sh > $PKG/usr/bin/$ORIGNAM
chmod 755 $PKG/usr/bin/$ORIGNAM $PKGLIB/$ORIGNAM/$ORIGNAM
+strip $PKG/usr/lib*/*/*
# .desktop file spec says they *must* be UTF-8, upstream used 8859-1...
PKGAPP=$PKG/usr/share/applications
@@ -100,6 +99,9 @@ iconv -f ISO-8859-1 -t UTF-8 $PKGAPP/${ORIGNAM}_$VERSION.desktop | \
$PKGAPP/${ORIGNAM}.desktop
rm -f $PKGAPP/${ORIGNAM}_$VERSION.desktop
+# 16x16 icon is the wrong size (17x17), just nuke it
+rm -rf $PKG/usr/share/icons/hicolor/16x16
+
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
mv $PKG/usr/share/doc/$ORIGNAM/* $PKGDOC
diff --git a/graphics/teighafileconverter/teighafileconverter.info b/graphics/teighafileconverter/teighafileconverter.info
index 842e22ad01..52f16e54d8 100644
--- a/graphics/teighafileconverter/teighafileconverter.info
+++ b/graphics/teighafileconverter/teighafileconverter.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/TeighaFileConverter_QT5_lnxX6
MD5SUM_x86_64="a9da11f38a74a767812f1a11d387bbbf"
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index caa5ac6b9f..e822d7d170 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -3,7 +3,7 @@
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# Copyright 2013-2015 LukenShiro, Italy
-# Copyright 2019-2022 Logan Rathbone <poprocks@gmail.com>
+# Copyright 2019-2024 Logan Rathbone <poprocks@gmail.com>
#
# All rights reserved.
#
@@ -35,14 +35,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tesseract
-VERSION=${VERSION:-5.0.1}
+VERSION=${VERSION:-5.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -60,8 +60,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"
diff --git a/graphics/tesseract/tesseract.info b/graphics/tesseract/tesseract.info
index 976d062fd6..68ca311d7a 100644
--- a/graphics/tesseract/tesseract.info
+++ b/graphics/tesseract/tesseract.info
@@ -1,9 +1,9 @@
PRGNAM="tesseract"
-VERSION="5.0.1"
+VERSION="5.3.4"
HOMEPAGE="https://github.com/tesseract-ocr"
-DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/5.0.1/tesseract-5.0.1.tar.gz \
+DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/5.3.4/tesseract-5.3.4.tar.gz \
https://github.com/tesseract-ocr/tessdata/raw/4.1.0/eng.traineddata"
-MD5SUM="5b4e638bc01850278f9948938cfc390f \
+MD5SUM="53de961804ccbcb83b73122f721d8f83 \
57e0df3d84fed9fbf8c7a8e589f8f012"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/textext/textext.SlackBuild b/graphics/textext/textext.SlackBuild
index 20ad34660e..bac193d132 100644
--- a/graphics/textext/textext.SlackBuild
+++ b/graphics/textext/textext.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,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"
diff --git a/graphics/textext/textext.info b/graphics/textext/textext.info
index bd0b0bd616..b2cf0336c0 100644
--- a/graphics/textext/textext.info
+++ b/graphics/textext/textext.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/textext-0.4.4.tar.gz"
MD5SUM="5dbb18bf762565196f8ac1f68f8607e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="inkscape lxml pdf2svg"
+REQUIRES="inkscape pdf2svg"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"
diff --git a/graphics/tgif-QPL/tgif-QPL.info b/graphics/tgif-QPL/tgif-QPL.info
index fc465b63be..2a42a65418 100644
--- a/graphics/tgif-QPL/tgif-QPL.info
+++ b/graphics/tgif-QPL/tgif-QPL.info
@@ -1,7 +1,7 @@
PRGNAM="tgif-QPL"
VERSION="4.2.5"
HOMEPAGE="http://bourbon.usc.edu/tgif/index.html"
-DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/tgif-QPL-4.2.5.tar.gz"
+DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/71/tgif-QPL-4.2.5.tar.gz"
MD5SUM="a622240ce2377f15b6d8261e4c49b8f6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/tikzit/README b/graphics/tikzit/README
new file mode 100644
index 0000000000..6e275ae77b
--- /dev/null
+++ b/graphics/tikzit/README
@@ -0,0 +1,5 @@
+TikZiT
+
+TikZiT is a graphical tool for rapidly creating graphs and string
+diagrams using PGF/TikZ. It was used, for example, to make all of the
+2500+ diagrams in http://cambridge.org/pqp
diff --git a/graphics/tikzit/doinst.sh b/graphics/tikzit/doinst.sh
new file mode 100644
index 0000000000..262eb5a9e5
--- /dev/null
+++ b/graphics/tikzit/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 other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/tikzit/slack-desc b/graphics/tikzit/slack-desc
new file mode 100644
index 0000000000..0e216ef47f
--- /dev/null
+++ b/graphics/tikzit/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tikzit: tikzit (a graphical tool for rapidly creating TikZ graphics)
+tikzit:
+tikzit: tikzit is a graphical tool for rapidly creating graphs and string
+tikzit: diagrams using PGF/TikZ.
+tikzit:
+tikzit:
+tikzit:
+tikzit:
+tikzit:
+tikzit:
+tikzit:
diff --git a/graphics/tikzit/tikzit.SlackBuild b/graphics/tikzit/tikzit.SlackBuild
new file mode 100644
index 0000000000..b8a303a0ed
--- /dev/null
+++ b/graphics/tikzit/tikzit.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/bash
+# Slackware build script for tikzit
+# Copyright 2023 Lockywolf Earth
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+PRGNAM=tikzit
+VERSION=${VERSION:-2.1.6}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+set -e
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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 '/set(SOUR/ifile(GLOB SOURCES src/*.cpp src/data/*.cpp src/gui/*.cpp)' CMakeLists.txt
+sed -i '/set(SOUR/,/)/d' CMakeLists.txt
+sed -i '/set(HEAD/,/)/d' CMakeLists.txt
+mkdir -p build
+(
+cd build
+ qmake PREFIX=/usr \
+ QMAKE_CFLAGS="${SLKCFLAGS}" \
+ QMAKE_CXXFLAGS="${SLKCFLAGS}" -r ..
+ make
+ make INSTALL_ROOT="$PKG" install
+)
+mv $PKG/usr/share/man $PKG/usr
+chmod 644 $PKG/usr/share/applications/tikzit.desktop
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.md COPYING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/tikzit/tikzit.info b/graphics/tikzit/tikzit.info
new file mode 100644
index 0000000000..771d7877e1
--- /dev/null
+++ b/graphics/tikzit/tikzit.info
@@ -0,0 +1,10 @@
+PRGNAM="tikzit"
+VERSION="2.1.6"
+HOMEPAGE="https://github.com/tikzit/tikzit"
+DOWNLOAD="https://github.com/tikzit/tikzit/archive/v2.1.6/tikzit-2.1.6.tar.gz"
+MD5SUM="e12715e9571cd256b1a39c54c06f9b5f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo-tikzit_2023-05-07@lockywolf.net"
diff --git a/graphics/tkpng/tkpng.SlackBuild b/graphics/tkpng/tkpng.SlackBuild
index 5be7117ced..1ba48ceaf6 100644
--- a/graphics/tkpng/tkpng.SlackBuild
+++ b/graphics/tkpng/tkpng.SlackBuild
@@ -17,7 +17,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -35,8 +35,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"
diff --git a/graphics/ttfautohint/README b/graphics/ttfautohint/README
new file mode 100644
index 0000000000..842f87edff
--- /dev/null
+++ b/graphics/ttfautohint/README
@@ -0,0 +1,36 @@
+ttfautohint provides 99% automated hinting process and a
+platform for finely hand-hinting the last 1%. It is ideal
+for web fonts and supports many scripts: Latin,Greek,Hebrew,
+Devanagari,Khmer,Thai and many more.
+
+It takes a TrueType font as the input,removes its bytecode
+instructions (if any), and returns a new font where all
+glyphs are bytecode hinted using the information given by
+FreeType's auto-hinting module. The idea is to provide the
+excellent quality of the auto-hinter on platforms
+that don't use FreeType.
+
+The library has a single API function, `TTF_autohint'; see
+`lib/ttfautohint.h' for a detailed description.
+Note that the library itself won't get installed currently.
+
+A command-line interface to the library is the `ttfautohint'
+program; after compilation and installation, say
+
+ ttfautohint --help
+
+for usage information, or say
+
+ man ttfautohint
+
+Optional dependencies:
+
+Inkscape: To convert SVG images to PDF.
+pandoc-bin: To create pdf and html docs.
+
+Note:
+
+For this to build properly you will need to have a true login
+shell in order to have a correctly populated environment
+you will need to either use "su -l" when switching to root,
+or source the /etc/profile script after doing "su"
diff --git a/graphics/ttfautohint/slack-desc b/graphics/ttfautohint/slack-desc
new file mode 100644
index 0000000000..a2100921c4
--- /dev/null
+++ b/graphics/ttfautohint/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ttfautohint: ttfautohint (TTF Auto Hinter)
+ttfautohint:
+ttfautohint: ttfautohint provides 99% automated hinting process and a
+ttfautohint: platform for finely hand-hinting the last 1%. It is ideal
+ttfautohint: for web fonts and supports many scripts: Latin,Greek,Hebrew,
+ttfautohint: Devanagari,Khmer,Thai and many more.
+ttfautohint:
+ttfautohint: Homepage:https://freetype.org/ttfautohint
+ttfautohint:
+ttfautohint:
+ttfautohint:
diff --git a/graphics/ttfautohint/ttfautohint.SlackBuild b/graphics/ttfautohint/ttfautohint.SlackBuild
new file mode 100644
index 0000000000..3b5b4a1e74
--- /dev/null
+++ b/graphics/ttfautohint/ttfautohint.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for ttfautohint
+
+# Copyright 2023 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ttfautohint
+VERSION=${VERSION:-1.8.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+export TTFONTS='/usr/share/fonts/TTF'
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog FTL.TXT GPLv2.TXT README THANKS TODO NEWS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ttfautohint/ttfautohint.info b/graphics/ttfautohint/ttfautohint.info
new file mode 100644
index 0000000000..705d2bbecf
--- /dev/null
+++ b/graphics/ttfautohint/ttfautohint.info
@@ -0,0 +1,10 @@
+PRGNAM="ttfautohint"
+VERSION="1.8.4"
+HOMEPAGE="https://freetype.org/ttfautohint/"
+DOWNLOAD="https://downloads.sourceforge.net/freetype/ttfautohint-1.8.4.tar.gz"
+MD5SUM="5e5b320217909ddfc9ba527cbf7ec823"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
index ac1544e8d2..b1f8370604 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
@@ -8,7 +8,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tuxpaint-stamps
-VERSION=${VERSION:-2021.11.25}
+VERSION=${VERSION:-2024.01.29}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,8 +32,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+#the "source" is just data which needs copying to the right place.
+#we'll extract it directly and remove the junk to save copying twice
+mkdir -p $PKG/usr/share/tuxpaint
+cd $PKG/usr/share/tuxpaint
+tar -xv --strip-components=1 --exclude='macos' --exclude='po' --exclude='androi*' --exclude='win32' -f $CWD/$PRGNAM-$VERSION.tar.gz
+#clean up extras we don't need
+rm -f *.sh *.spec Makefile
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+#remove docs from wrong place
+rm -rf docs
+#lets fix permisions
+cd $PKG
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -41,11 +52,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 {} \;
-#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/
-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
mkdir -p $PKG/install
diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.info b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
index 3b578cedf2..9eb8861075 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.info
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
@@ -1,8 +1,8 @@
PRGNAM="tuxpaint-stamps"
-VERSION="2021.11.25"
-HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2021.11.25.tar.gz"
-MD5SUM="8c5488d3f094ec5ce41b492dded2af07"
+VERSION="2024.01.29"
+HOMEPAGE="https://tuxpaint.org"
+DOWNLOAD="https://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2024.01.29.tar.gz"
+MD5SUM="1c1efcbbf78fdbf1b81ae5ca7245c38c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/tuxpaint/README b/graphics/tuxpaint/README
index 1884956536..9efd841a1c 100644
--- a/graphics/tuxpaint/README
+++ b/graphics/tuxpaint/README
@@ -8,8 +8,3 @@ a very limited tool-set. However, it provides a much simpler interface,
and has entertaining, child-oriented additions such as sound effects.
tuxpaint-config is now also included as a gui tool to configure
tuxpaint.
-
-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 560bd9b0df..bd19add0de 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -4,19 +4,18 @@
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
-# Taken over maintenance (and some updates) by Tim Dickson (dickson.tim@googlemail.com)
+# re-written by Tim Dickson (dickson.tim@googlemail.com)
# added tuxpaint-config 2019-02-11
-# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
-# - update for v0.9.27 and config v0.0.18.
-# - fix parallel builds.
-# - stop spamming the real /usr (ugh).
+# previous update history cleaned out.
+# 29239721 tun: update to 0.9.31 and 0.0.22 (fixed upstream makefile)
+# 2024/01/29: bump version to 0.9.32 and config to 0.0.23
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tuxpaint
-VERSION=${VERSION:-0.9.27}
-CONFVER=${CONFVER:-0.0.18}
+VERSION=${VERSION:-0.9.32}
+CONFVER=${CONFVER:-0.0.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,15 +67,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 {} \+
-# 20220226 bkw: fix parallel builds.
-mkdir trans
-
-# 20220226 bkw: FFS, do NOT attempt to install icons and .desktop
-# using the xdg-icon-resource and xdg-desktop-menu tools: these don't
-# support DESTDIR or any other way to control where the files get
-# installed (meaning they install to the real /usr, not $PKG/usr).
-sed -i '/^linux_ARCH_INSTALL/s,install-xdg ,,' Makefile
-
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS"
make \
MAN_PREFIX=$PKG/usr/man \
@@ -85,23 +75,11 @@ make \
DEVDOC_PREFIX=$PKG/usr/doc/$PRGNAM-$VERSION \
PREFIX=/usr \
LIBDIRSUFFIX=$LIBDIRSUFFIX \
+ PACKAGE_ONLY=yes \
DESTDIR=$PKG \
install
mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new
-mkdir -p $PKG/usr/share/applications
-cp src/$PRGNAM.desktop $PKG/usr/share/applications/
-
-# 20220226 bkw: install the icons correctly, to $PKG. Not only were
-# they going to the real /usr, they were incorrectly named!
-for i in data/images/icon*x*.png; do
- px="$( basename $i | cut -dx -f2 | cut -d. -f1 )"
- size=${px}x${px}
- dir=$PKG/usr/share/icons/hicolor/$size/apps
- mkdir -p $dir
- cp -a $i $dir/$PRGNAM.png
-done
-
#
#now for tuxpaint-config
#
@@ -109,9 +87,6 @@ cd ..
tar xvf $CWD/$PRGNAM-config-$CONFVER.tar.gz
cd $PRGNAM-config-$CONFVER
-# 20220226 bkw: fix parallel builds.
-mkdir trans
-
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS"
make \
MAN_PREFIX=/usr/man \
@@ -124,8 +99,12 @@ make \
install
strip $PKG/usr/bin/tuxpaint{,-config} $PKG/usr/lib*/tuxpaint/plugins/*.so
-
+#fix permissions
+chmod 0644 $PKG/usr/man/*/*/tuxpaint.1.gz
+chmod 0644 $PKG/usr/man/man1/*.gz
+find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/tuxpaint/tuxpaint.info b/graphics/tuxpaint/tuxpaint.info
index 6a3b3204bd..5989c055e5 100644
--- a/graphics/tuxpaint/tuxpaint.info
+++ b/graphics/tuxpaint/tuxpaint.info
@@ -1,12 +1,12 @@
PRGNAM="tuxpaint"
-VERSION="0.9.27"
-HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.27.tar.gz \
- http://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.18.tar.gz"
-MD5SUM="397b50d6c374d74380450b7d63733855 \
- 1f19c79ba30d6654a246885375c2a1a4"
+VERSION="0.9.32"
+HOMEPAGE="https://tuxpaint.org"
+DOWNLOAD="https://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.32.tar.gz \
+ https://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.23.tar.gz"
+MD5SUM="f556f36bf71167ce163ac41c6199bac0 \
+ 18ea8151cbb927310f2fab11e34034a0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libpaper SDL_Pango SDL_gfx fltk pngquant libunibreak"
+REQUIRES="libpaper SDL2_Pango fltk pngquant libunibreak"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
diff --git a/graphics/ueberzug/ueberzug.SlackBuild b/graphics/ueberzug/ueberzug.SlackBuild
index 14d1660066..2631b777c8 100644
--- a/graphics/ueberzug/ueberzug.SlackBuild
+++ b/graphics/ueberzug/ueberzug.SlackBuild
@@ -2,31 +2,21 @@
# 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.
+# Originally written by Leonardo Citrolo, Italy.
+# Now maintained by B. Watson.
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# 20230508 bkw:
+# - new maintainer.
+# - update for v18.1.9.
+# - relicense as WTFPL with permission from original author.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ueberzug
-VERSION=${VERSION:-18.1.8}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-18.1.9}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +28,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,20 +37,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -73,21 +46,16 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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 {} \+
python3 setup.py install --root=$PKG
+strip $PKG/usr/lib*/python*/site-packages/*.so
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE MANIFEST.in README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a LICENSE README.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/graphics/ueberzug/ueberzug.info b/graphics/ueberzug/ueberzug.info
index 0d0a5c46d0..c4474d01a4 100644
--- a/graphics/ueberzug/ueberzug.info
+++ b/graphics/ueberzug/ueberzug.info
@@ -1,10 +1,10 @@
PRGNAM="ueberzug"
-VERSION="18.1.8"
+VERSION="18.1.9"
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="https://github.com/seebye/ueberzug/archive/18.1.9/ueberzug-18.1.9.tar.gz"
+MD5SUM="9d6ee6e2ef75c68e318bdb224be71af1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="docopt psutil python-xlib python3-attrs"
+REQUIRES="python3-docopt python3-psutil python-xlib python3-attrs"
MAINTAINER="Leo C."
EMAIL="leoc@gmx.com"
diff --git a/graphics/ueberzugpp/README b/graphics/ueberzugpp/README
new file mode 100644
index 0000000000..7099964e32
--- /dev/null
+++ b/graphics/ueberzugpp/README
@@ -0,0 +1,15 @@
+ueberzugpp (drop in replacement for ueberzug written in C++)
+
+Ueberzug++ is a command line utility written in C++ which allows to
+draw images on terminals by using X11/wayland child windows, sixels,
+kitty and iterm2 protocols or chafa.
+
+This project intends to be a drop-in replacement for the now
+defunct ueberzug project (https://github.com/seebye/ueberzug).
+
+Options:
+ * WAYLAND=yes -- enable support for wayland (window positioning is
+ correct only for sway and hyprland)
+
+NOTE: Do not install at the same time with "ueberzug" package!
+ Both provide /usr/bin/ueberzug.
diff --git a/graphics/ueberzugpp/slack-desc b/graphics/ueberzugpp/slack-desc
new file mode 100644
index 0000000000..c042e68380
--- /dev/null
+++ b/graphics/ueberzugpp/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ueberzugpp: ueberzugpp (drop in replacement for ueberzug written in C++)
+ueberzugpp:
+ueberzugpp: Ueberzug++ is a command line utility written in C++ which allows to
+ueberzugpp: draw images on terminals by using X11/wayland child windows, sixels,
+ueberzugpp: kitty and iterm2 protocols or chafa.
+ueberzugpp:
+ueberzugpp: This project intends to be a drop-in replacement for the now
+ueberzugpp: defunct ueberzug project.
+ueberzugpp:
+ueberzugpp:
+ueberzugpp:
diff --git a/graphics/ueberzugpp/ueberzugpp.SlackBuild b/graphics/ueberzugpp/ueberzugpp.SlackBuild
new file mode 100644
index 0000000000..ec3af988fc
--- /dev/null
+++ b/graphics/ueberzugpp/ueberzugpp.SlackBuild
@@ -0,0 +1,110 @@
+#!/bin/bash
+
+# Slackware build script for ueberzugpp
+
+# Copyright 2023 xaizek
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ueberzugpp
+VERSION=${VERSION:-2.9.4}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+WAYLAND=${WAYLAND:-no}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+with_wayland=()
+if [ "$WAYLAND" = "yes" ]; then
+ with_wayland=( -DENABLE_WAYLAND=ON )
+fi
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release \
+ "${with_wayland[@]}" \
+ ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ueberzugpp/ueberzugpp.info b/graphics/ueberzugpp/ueberzugpp.info
new file mode 100644
index 0000000000..49f1b3a994
--- /dev/null
+++ b/graphics/ueberzugpp/ueberzugpp.info
@@ -0,0 +1,10 @@
+PRGNAM="ueberzugpp"
+VERSION="2.9.4"
+HOMEPAGE="https://github.com/jstkdng/ueberzugpp"
+DOWNLOAD="https://github.com/jstkdng/ueberzugpp/archive/v2.9.4/ueberzugpp-2.9.4.tar.gz"
+MD5SUM="7388e482a328d1fdfc655d48576e017b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="CLI11 chafa fmt libsixel nlohmann_json oneTBB range-v3 spdlog vips"
+MAINTAINER="xaizek"
+EMAIL="xaizek@posteo.net"
diff --git a/graphics/unpaper/README b/graphics/unpaper/README
index b1c15f6b1e..b43f1399bc 100644
--- a/graphics/unpaper/README
+++ b/graphics/unpaper/README
@@ -3,21 +3,30 @@ especially for book pages that have been scanned from previously
created photocopies. The main purpose is to make scanned book pages
better readable on screen after conversion to PDF. Additionally,
unpaper might be useful to enhance the quality of scanned pages before
-performing optical character recognition (OCR). unpaper tries to clean
-scanned images by removing dark edges that appeared through scanning
-or copying on areas outside the actual page content (e.g. dark areas
-between the left-hand-side and the right-hand-side of a double-sided
-book-page scan). The program also tries to detect disaligned
-centering and rotation of pages and will automatically straighten
-each page by rotating it to the correct angle. This process is called
-"deskewing". Note that the automatic processing will sometimes fail.
-It is always a good idea to manually control the results of unpaper
-and adjust the parameter settings according to the requirements of
-the input. Each processing step can also be disabled individually
-for each sheet. Input and output files can be in either .pbm, .pgm or
+performing optical character recognition (OCR).
+
+unpaper tries to clean scanned images by removing dark edges that
+appeared through scanning or copying on areas outside the actual page
+content (e.g. dark areas between the left-hand-side and the
+right-hand-side of a double-sided book-page scan). The program also
+tries to detect disaligned centering and rotation of pages and will
+automatically straighten each page by rotating it to the correct
+angle. This process is called "deskewing".
+
+Note that the automatic processing will sometimes fail. It is always
+a good idea to manually control the results of unpaper and adjust the
+parameter settings according to the requirements of the input. Each
+processing step can also be disabled individually for each sheet.
+Input and output files can be in either .pbm, .pgm or
.ppm format, thus generally in .pnm format, as also used by the Linux
scanning tools scanimage and scanadf. Conversion to PDF can e.g. be
achieved with the Linux tools pgm2tiff, tiffcp and tiff2pdf.
This is a fork of the original unpaper software by D.E. "Flameeyes"
Petteno'.
+
+BUILD OPTIONS:
+
+SPHINX => set to 'true' to build the manpage for unpaper, which now
+requires "Sphinx" (available in SBo), which is a large python package
+with many dependencies. Thus, it is disabled by default.
diff --git a/graphics/unpaper/unpaper-7.0.0-no-sphinx.patch b/graphics/unpaper/unpaper-7.0.0-no-sphinx.patch
new file mode 100644
index 0000000000..40f9718102
--- /dev/null
+++ b/graphics/unpaper/unpaper-7.0.0-no-sphinx.patch
@@ -0,0 +1,21 @@
+diff -Naur unpaper-7.0.0.orig/meson.build unpaper-7.0.0/meson.build
+--- unpaper-7.0.0.orig/meson.build 2023-08-12 12:37:30.389999033 -0400
++++ unpaper-7.0.0/meson.build 2023-08-12 12:37:57.307998930 -0400
+@@ -36,17 +36,6 @@
+ install : true,
+ )
+
+-sphinx = find_program('sphinx-build', required: true, version: '>= 3.4')
+-
+-custom_target(
+- 'man',
+- command: [sphinx, '-b', 'man', join_paths(meson.source_root(), 'doc'), '@OUTDIR@'],
+- input: ['doc/conf.py', 'doc/index.rst', 'doc/unpaper.1.rst'],
+- output: 'unpaper.1',
+- install: true,
+- install_dir: join_paths(get_option('prefix'), get_option('mandir'), 'man1'),
+-)
+-
+ pymod = import('python')
+ python = pymod.find_installation(required: false, modules: ['pytest', 'PIL'], disabler: true)
+
diff --git a/graphics/unpaper/unpaper.SlackBuild b/graphics/unpaper/unpaper.SlackBuild
index 1606b5f5fd..f9ff3b6c79 100644
--- a/graphics/unpaper/unpaper.SlackBuild
+++ b/graphics/unpaper/unpaper.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for unpaper
# Copyright 2008-2014 LukenShiro, Italy
-# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
+# Copyright 2019-2023 Logan Rathbone <poprocks@gmail.com>
#
# All rights reserved.
#
@@ -24,7 +24,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# CHANGELOG
+# CHANGELOG - Discontinued as of 7.0.0; see git log.
#
# 20191107 Logan Rathbone <poprocks@gmail.com> 6.1-1
# - Update to 6.1
@@ -39,22 +39,20 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=unpaper
-VERSION=${VERSION:-6.1}
+VERSION=${VERSION:-7.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -64,12 +62,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
@@ -78,33 +82,58 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
+
cd $PRGNAM-$VERSION
+
+# Building the manpage requires "sphinx" which is a huge python package
+# with many dependencies. Since there is no meson_options.txt in unpaper
+# at this time which allows us to optionally disable this, patch it out
+# unless the SPHINX option is set to true.
+
+SPHINX=${SPHINX:-false}
+
+if [ "$SPHINX" != "true" ]; then
+ patch -p1 < $CWD/unpaper-7.0.0-no-sphinx.patch
+fi
+
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mkdir build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
+meson setup \
+ --buildtype=plain \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ build/
+${NINJA:=ninja} -v -C build/
+DESTDIR=$PKG $NINJA -C build/ install
+
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+if [ "$SPHINX" = "true" ]; then
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+fi
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
-cp AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION/
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS NEWS README.md LICENSES/ \
+ $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 c554b09a89..a1a652c7a1 100644
--- a/graphics/unpaper/unpaper.info
+++ b/graphics/unpaper/unpaper.info
@@ -1,8 +1,8 @@
PRGNAM="unpaper"
-VERSION="6.1"
+VERSION="7.0"
HOMEPAGE="https://www.flameeyes.com/projects/unpaper"
-DOWNLOAD="https://www.flameeyes.com/files/unpaper-6.1.tar.xz"
-MD5SUM="b5e79645765be7c7ae0e003697bdb9e2"
+DOWNLOAD="https://www.flameeyes.com/files/unpaper-7.0.0.tar.xz"
+MD5SUM="24be66b049a27b6f841cc7444ceff9cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/viewnior/exiv2-0.28.patch b/graphics/viewnior/exiv2-0.28.patch
new file mode 100644
index 0000000000..73d5f44493
--- /dev/null
+++ b/graphics/viewnior/exiv2-0.28.patch
@@ -0,0 +1,145 @@
+From b6bb81a1b46e911d15bbf9a730972523de177705 Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Tue, 16 May 2023 10:54:40 +0200
+Subject: [PATCH 1/2] change exiv2 AutoPtr to unique_ptr
+
+exiv2-0.28.0 removed Exiv2::Image::AutoPtr and added
+Exiv2::Image::UniquePtr instead. since it's a typedef for
+std::unique_ptr<Image>, i'm using that directly instead of adding a
+condition on the exiv2 version.
+---
+ src/uni-exiv2.cpp | 21 +++++++++++----------
+ 1 file changed, 11 insertions(+), 10 deletions(-)
+
+diff --git a/src/uni-exiv2.cpp b/src/uni-exiv2.cpp
+index 0d14b9f..77064c2 100644
+--- a/src/uni-exiv2.cpp
++++ b/src/uni-exiv2.cpp
+@@ -22,12 +22,13 @@
+
+ #include <exiv2/exiv2.hpp>
+ #include <iostream>
++#include <memory>
+
+ #include "uni-exiv2.hpp"
+
+ #define ARRAY_SIZE(array) (sizeof array/sizeof(array[0]))
+
+-static Exiv2::Image::AutoPtr cached_image;
++static std::unique_ptr<Exiv2::Image> cached_image;
+
+ extern "C"
+ void
+@@ -35,8 +36,8 @@ uni_read_exiv2_map(const char *uri, void (*callback)(const char*, const char*, v
+ {
+ Exiv2::LogMsg::setLevel(Exiv2::LogMsg::mute);
+ try {
+- Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(uri);
+- if ( image.get() == 0 ) {
++ std::unique_ptr<Exiv2::Image> image = Exiv2::ImageFactory::open(uri);
++ if (image == nullptr) {
+ return;
+ }
+
+@@ -91,14 +92,14 @@ uni_read_exiv2_to_cache(const char *uri)
+ {
+ Exiv2::LogMsg::setLevel(Exiv2::LogMsg::mute);
+
+- if ( cached_image.get() != NULL ) {
++ if (cached_image != nullptr) {
+ cached_image->clearMetadata();
+- cached_image.reset(NULL);
++ cached_image.reset(nullptr);
+ }
+
+ try {
+ cached_image = Exiv2::ImageFactory::open(uri);
+- if ( cached_image.get() == 0 ) {
++ if (cached_image == nullptr) {
+ return 1;
+ }
+
+@@ -116,13 +117,13 @@ uni_write_exiv2_from_cache(const char *uri)
+ {
+ Exiv2::LogMsg::setLevel(Exiv2::LogMsg::mute);
+
+- if ( cached_image.get() == NULL ) {
++ if (cached_image == nullptr) {
+ return 1;
+ }
+
+ try {
+- Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(uri);
+- if ( image.get() == 0 ) {
++ std::unique_ptr<Exiv2::Image> image = Exiv2::ImageFactory::open(uri);
++ if (image == nullptr) {
+ return 2;
+ }
+
+@@ -130,7 +131,7 @@ uni_write_exiv2_from_cache(const char *uri)
+ image->writeMetadata();
+
+ cached_image->clearMetadata();
+- cached_image.reset(NULL);
++ cached_image.reset(nullptr);
+
+ return 0;
+ } catch (Exiv2::AnyError& e) {
+
+From 47d0b98cb46526aa8aa035bebcabc14a11fa57ee Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Tue, 16 May 2023 11:17:00 +0200
+Subject: [PATCH 2/2] add support for exiv-0.28.0 errors
+
+exiv2-0.28.0 changed Exiv2::AnyError to Exiv2::Error.
+---
+ src/uni-exiv2.cpp | 15 ++++++++++++---
+ 1 file changed, 12 insertions(+), 3 deletions(-)
+
+diff --git a/src/uni-exiv2.cpp b/src/uni-exiv2.cpp
+index 77064c2..567a50f 100644
+--- a/src/uni-exiv2.cpp
++++ b/src/uni-exiv2.cpp
+@@ -28,6 +28,15 @@
+
+ #define ARRAY_SIZE(array) (sizeof array/sizeof(array[0]))
+
++#define EXIV_ERROR Exiv2::AnyError
++#ifdef EXIV2_VERSION
++ #ifdef EXIV2_TEST_VERSION
++ #if EXIV2_TEST_VERSION(0,28,0)
++ #define EXIV_ERROR Exiv2::Error
++ #endif
++ #endif
++#endif
++
+ static std::unique_ptr<Exiv2::Image> cached_image;
+
+ extern "C"
+@@ -81,7 +90,7 @@ uni_read_exiv2_map(const char *uri, void (*callback)(const char*, const char*, v
+ }
+ }
+ }
+- } catch (Exiv2::AnyError& e) {
++ } catch (EXIV_ERROR& e) {
+ std::cerr << "Exiv2: '" << e << "'\n";
+ }
+ }
+@@ -104,7 +113,7 @@ uni_read_exiv2_to_cache(const char *uri)
+ }
+
+ cached_image->readMetadata();
+- } catch (Exiv2::AnyError& e) {
++ } catch (EXIV_ERROR& e) {
+ std::cerr << "Exiv2: '" << e << "'\n";
+ }
+
+@@ -134,7 +143,7 @@ uni_write_exiv2_from_cache(const char *uri)
+ cached_image.reset(nullptr);
+
+ return 0;
+- } catch (Exiv2::AnyError& e) {
++ } catch (EXIV_ERROR& e) {
+ std::cerr << "Exiv2: '" << e << "'\n";
+ }
+
diff --git a/graphics/viewnior/viewnior.SlackBuild b/graphics/viewnior/viewnior.SlackBuild
index 5f9145f459..63a9fc8669 100644
--- a/graphics/viewnior/viewnior.SlackBuild
+++ b/graphics/viewnior/viewnior.SlackBuild
@@ -4,7 +4,7 @@
#
# Written by Šime Ramov <email removed>
# Copyright 2016-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
-# Copyright 2020 B. Watson
+# Copyright 2020-2023 B. Watson
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,6 +24,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20231030 bkw: add patch for -current. doesn't break 15.0.
+# Not updating BUILD for this (it's still 1).
+
+# 20220610 bkw: update for v1.8.
+
# 20200304 bkw:
# - take over maintenance
# - use proper github URL
@@ -34,8 +39,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=viewnior
-VERSION=${VERSION:-1.7}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,13 +83,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
# 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 {} +
+# 20231030 bkw: this patch comes from arch (their extra/, not AUR).
+# only apply it if needed: slackware 15.0 has exiv2-0.27.5 and doesn't
+# need it.
+pkg-config exiv2 --atleast-version=0.28 && \
+ patch -p1 < $CWD/exiv2-0.28.patch
+
sed -i "s,It's,Its," man/$PRGNAM.1
CFLAGS="$SLKCFLAGS" \
diff --git a/graphics/viewnior/viewnior.info b/graphics/viewnior/viewnior.info
index 6823610afb..824679aae5 100644
--- a/graphics/viewnior/viewnior.info
+++ b/graphics/viewnior/viewnior.info
@@ -1,10 +1,10 @@
PRGNAM="viewnior"
-VERSION="1.7"
+VERSION="1.8"
HOMEPAGE="https://github.com/hellosiyan/Viewnior"
-DOWNLOAD="https://github.com/hellosiyan/Viewnior/archive/viewnior-1.7/Viewnior-viewnior-1.7.tar.gz"
-MD5SUM="b09587081077b50f9cc51bb4b0223ffe"
+DOWNLOAD="https://github.com/hellosiyan/Viewnior/archive/viewnior-1.8/Viewnior-viewnior-1.8.tar.gz"
+MD5SUM="29d773910df2d120c193ff2e2bc971f3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/vimiv-qt/README b/graphics/vimiv-qt/README
new file mode 100644
index 0000000000..f710e62b21
--- /dev/null
+++ b/graphics/vimiv-qt/README
@@ -0,0 +1,7 @@
+vimiv-qt is an image viewer with vim-like keybindings.
+
+This is the Qt version of vimiv - it is maintained upstream, unlike
+the deprecated gtk3 version.
+
+python3-exiv2 is an optional dependency for providing exif (metadata)
+support.
diff --git a/graphics/vimiv-qt/doinst.sh b/graphics/vimiv-qt/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/graphics/vimiv-qt/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/vimiv-qt/slack-desc b/graphics/vimiv-qt/slack-desc
new file mode 100644
index 0000000000..2d10fdbebb
--- /dev/null
+++ b/graphics/vimiv-qt/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+vimiv-qt: vimiv-qt (vim-like image viewer)
+vimiv-qt:
+vimiv-qt: vimiv-qt is an image viewer with vim-like bindings.
+vimiv-qt:
+vimiv-qt:
+vimiv-qt:
+vimiv-qt:
+vimiv-qt:
+vimiv-qt:
+vimiv-qt:
+vimiv-qt:
diff --git a/graphics/vimiv-qt/vimiv-qt.SlackBuild b/graphics/vimiv-qt/vimiv-qt.SlackBuild
new file mode 100644
index 0000000000..d090781937
--- /dev/null
+++ b/graphics/vimiv-qt/vimiv-qt.SlackBuild
@@ -0,0 +1,99 @@
+#!/bin/bash
+
+# Slackware build script for vimiv-qt
+
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=vimiv-qt
+VERSION=${VERSION:-0.9.0}
+BUILD=${BUILD:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Install man files to /usr/man, rather than /usr/share/man
+sed -i "s/\$(DATADIR)\\/man/\$(DESTDIR)\\/\$(PREFIX)\\/man/g" misc/Makefile
+
+# Do not install license files to /usr/share/licenses
+sed -i "/LICENSEDIR/d" misc/Makefile
+
+make -f misc/Makefile DESTDIR=$PKG install
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/vimiv-qt/vimiv-qt.info b/graphics/vimiv-qt/vimiv-qt.info
new file mode 100644
index 0000000000..b7da1c0555
--- /dev/null
+++ b/graphics/vimiv-qt/vimiv-qt.info
@@ -0,0 +1,10 @@
+PRGNAM="vimiv-qt"
+VERSION="0.9.0"
+HOMEPAGE="https://github.com/karlch/vimiv-qt"
+DOWNLOAD="https://github.com/karlch/vimiv-qt/archive/v0.9.0/vimiv-qt-0.9.0.tar.gz"
+MD5SUM="7fcb37e8d95809ad38f8ee2aae62f6b7"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/graphics/vips/vips.SlackBuild b/graphics/vips/vips.SlackBuild
index f12db0c048..a1ec6ea8bd 100644
--- a/graphics/vips/vips.SlackBuild
+++ b/graphics/vips/vips.SlackBuild
@@ -23,6 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240330 bkw: Modified by SlackBuilds.org: fix conflict with libjxl,
+# by adding --without-libjxl to the configure args. This doesn't
+# warrant a BUILD bump.
+
# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
# by upgrading to v8.12.2.
@@ -85,6 +89,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
sh autogen.sh \
+ --without-libjxl \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
diff --git a/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild
index cee1bcc395..480c007b4f 100644
--- a/graphics/vuescan/vuescan.SlackBuild
+++ b/graphics/vuescan/vuescan.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2013-2017 Heiko Rosemann, Germany
# Copyright 2019-2022 Andrew Clemons, Wellington, New Zealand
+# Copyright 2022-2024 Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,34 +27,20 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vuescan
-VERSION=${VERSION:-9.7.86}
+VERSION=${VERSION:-9.8.32}
SRCVER=${SRCVER:-$(echo "$VERSION" | cut -d. -f-2 | sed 's/\.//g')}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-ARCH=${ARCH:-$(uname -m)}
-case $ARCH in
- i?86)
- SOURCEFILE=vuex32$SRCVER.tgz
- if [ ! -e "$CWD/$SOURCEFILE" ] ; then
- SOURCEFILE=vuex32-$VERSION.tgz
- fi
-
- ;;
- x86_64)
- SOURCEFILE=vuex64$SRCVER.tgz
- if [ ! -e "$CWD/$SOURCEFILE" ] ; then
- SOURCEFILE=vuex64-$VERSION.tgz
- fi
- ;;
- *)
- echo "ARCH $ARCH is unsupported."; exit 1 ;;
-esac
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -63,6 +50,30 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] ; then
+ SOURCEFILE=vuex32$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuex32-$VERSION.tgz
+ fi
+elif [ "$ARCH" = "x86_64" ]; then
+ SOURCEFILE=vuex64$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuex64-$VERSION.tgz
+ fi
+elif [ "$ARCH" = "aarch64" ]; then
+ SOURCEFILE=vuea64$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuea64-$VERSION.tgz
+ fi
+elif [ "$ARCH" = "arm" ]; then
+ SOURCEFILE=vuea32$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuea32-$VERSION.tgz
+ fi
+else
+ echo "ARCH $ARCH is unsupported."; exit 1
+fi
+
set -e
rm -rf $PKG
@@ -74,10 +85,10 @@ cd $PRGNAM-$VERSION
tar xvf $CWD/$SOURCEFILE
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 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 {} \;
# Program does not need compiling, is a binary program
@@ -92,6 +103,10 @@ echo "cd /opt/$PRGNAM" >> $PKG/usr/bin/$PRGNAM
echo "./$PRGNAM" >> $PKG/usr/bin/$PRGNAM
chmod +x $PKG/usr/bin/$PRGNAM
+if [ "$ARCH" = "aarch64" ]; then
+ patchelf --set-interpreter /lib64/ld-linux-aarch64.so.1 $PKG/opt/$PRGNAM/$PRGNAM
+fi
+
# Include the SlackBuild script in the documentation directory
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/vuescan/vuescan.info b/graphics/vuescan/vuescan.info
index d7f55269ad..a95bb13df0 100644
--- a/graphics/vuescan/vuescan.info
+++ b/graphics/vuescan/vuescan.info
@@ -1,10 +1,14 @@
PRGNAM="vuescan"
-VERSION="9.7.86"
+VERSION="9.8.32"
HOMEPAGE="https://www.hamrick.com"
-DOWNLOAD="https://d2bwyyzfw77fhf.cloudfront.net/vuex3297.tgz"
-MD5SUM="6412e219efb90ec2a0959adb8df35d7d"
-DOWNLOAD_x86_64="https://d2bwyyzfw77fhf.cloudfront.net/vuex6497.tgz"
-MD5SUM_x86_64="71fb42657a80d42a5906cb35a3951756"
+DOWNLOAD="https://d2bwyyzfw77fhf.cloudfront.net/vuex3298.tgz \
+ https://d2bwyyzfw77fhf.cloudfront.net/vuea3298.tgz"
+MD5SUM="cb246faa9b30ccd69d8778ad9a399bfd \
+ 3e4ba834b8565dc1cb32afdabcf0929e"
+DOWNLOAD_x86_64="https://d2bwyyzfw77fhf.cloudfront.net/vuex6498.tgz \
+ https://d2bwyyzfw77fhf.cloudfront.net/vuea6498.tgz"
+MD5SUM_x86_64="c43d2684775518582163599dfc85922b \
+ 620818778507ec75daff98739d0a0227"
REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
index c5d16b6a53..757ddd884a 100644
--- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
@@ -2,10 +2,13 @@
# Slackware build script for webp-pixbuf-loader
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230605 bkw: update for v0.2.4.
+# 20221203 bkw: update for v0.0.7.
+
# 20210910 bkw: upstream finally started doing releases!
# - upgrade for v0.0.3
# - include LICENSE in DOCDIR
@@ -14,7 +17,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=webp-pixbuf-loader
-VERSION=${VERSION:-0.0.3}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,7 +90,7 @@ cd ..
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $DOCDIR
cat $CWD/README > $DOCDIR/README
-cp -a LICENSE* tests/*.webp $DOCDIR
+cp -a LICENSE* tests/data/*.webp $DOCDIR
cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
index 737550c0cb..aa181292c3 100644
--- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
@@ -1,10 +1,10 @@
PRGNAM="webp-pixbuf-loader"
-VERSION="0.0.3"
+VERSION="0.2.4"
HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader"
-DOWNLOAD="https://github.com/aruiz/webp-pixbuf-loader/archive/0.0.3/webp-pixbuf-loader-0.0.3.tar.gz"
-MD5SUM="66ed64b8ebb70efef26c233876e8bd74"
+DOWNLOAD="https://github.com/aruiz/webp-pixbuf-loader/archive/0.2.4/webp-pixbuf-loader-0.2.4.tar.gz"
+MD5SUM="2218f764598044497691c02bf641173d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/xbmbrowser/xbmbrowser.info b/graphics/xbmbrowser/xbmbrowser.info
index d681787b3f..b1c60d91f8 100644
--- a/graphics/xbmbrowser/xbmbrowser.info
+++ b/graphics/xbmbrowser/xbmbrowser.info
@@ -1,6 +1,6 @@
PRGNAM="xbmbrowser"
VERSION="5.1b"
-HOMEPAGE="http://www.ict.griffith.edu.au/anthony/software/"
+HOMEPAGE="https://web.archive.org/web/20190910064117/http://www.ict.griffith.edu.au/anthony/software/"
DOWNLOAD="https://slackware.uk/~urchlay/src/xbmbrowser5.1b.tar.gz"
MD5SUM="cbe0d9de41593b8f638f956035bc7fa8"
DOWNLOAD_x86_64=""
diff --git a/graphics/xcalib/xcalib.SlackBuild b/graphics/xcalib/xcalib.SlackBuild
index 98e9d5e600..95c8a72963 100644
--- a/graphics/xcalib/xcalib.SlackBuild
+++ b/graphics/xcalib/xcalib.SlackBuild
@@ -19,7 +19,7 @@ PKGTYPE=${PKGTYPE:-tgz}
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 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
diff --git a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
index d1577ea22b..aa7cb2b961 100644
--- a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
+++ b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xcf-pixbuf-loader
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info
index f344d6dbfa..90e06868c6 100644
--- a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info
+++ b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/xcur2png/xcur2png.SlackBuild b/graphics/xcur2png/xcur2png.SlackBuild
index bde84bb5b9..a3c3876828 100644
--- a/graphics/xcur2png/xcur2png.SlackBuild
+++ b/graphics/xcur2png/xcur2png.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xcur2png
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
diff --git a/graphics/xcur2png/xcur2png.info b/graphics/xcur2png/xcur2png.info
index 81c022cc02..ee5b64a0ea 100644
--- a/graphics/xcur2png/xcur2png.info
+++ b/graphics/xcur2png/xcur2png.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild
index 471ab8c6c9..139343e5af 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-2021 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2015-2024 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xdot
SRCNAM=xdot.py
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,16 +40,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="LICENSE.txt README.md sample.py"
@@ -65,14 +62,6 @@ 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 4a532ce5e9..3775b8110f 100644
--- a/graphics/xdot/xdot.info
+++ b/graphics/xdot/xdot.info
@@ -1,10 +1,10 @@
PRGNAM="xdot"
-VERSION="1.2"
+VERSION="1.3"
HOMEPAGE="https://github.com/jrfonseca/xdot.py"
-DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.2/xdot.py-1.2.tar.gz"
-MD5SUM="2ba702657b050ee351630ac25f014855"
+DOWNLOAD="https://github.com/jrfonseca/xdot.py/archive/1.3/xdot.py-1.3.tar.gz"
+MD5SUM="418bb65fa4672b3a605941017cb93317"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="numpy3 graphviz"
+REQUIRES="python3-numpy graphviz"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/ximaging/README b/graphics/ximaging/README
new file mode 100644
index 0000000000..0dc40cb052
--- /dev/null
+++ b/graphics/ximaging/README
@@ -0,0 +1,4 @@
+Ximaging is a lightweight, multithreaded, open source image viewer
+for several platforms running X11. It can be run in viewer or browser
+mode, displays full size images and provides zooming, panning,
+rotation and other useful functions.
diff --git a/graphics/ximaging/slack-desc b/graphics/ximaging/slack-desc
new file mode 100644
index 0000000000..40eac8488c
--- /dev/null
+++ b/graphics/ximaging/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ximaging: ximaging (Motif-based image viewer and browser for UNIX/X11)
+ximaging:
+ximaging: Ximaging is a lightweight, multithreaded, open source image viewer
+ximaging: for several platforms running X11. It can be run in viewer or browser
+ximaging: mode, displays full size images and provides zooming, panning,
+ximaging: rotation and other useful functions.
+ximaging:
+ximaging: Homepage: https://fastestcode.org/ximaging.html
+ximaging:
+ximaging:
+ximaging:
diff --git a/graphics/ximaging/ximaging.SlackBuild b/graphics/ximaging/ximaging.SlackBuild
new file mode 100644
index 0000000000..e3336e2d24
--- /dev/null
+++ b/graphics/ximaging/ximaging.SlackBuild
@@ -0,0 +1,113 @@
+#!/bin/bash
+
+# @(#) ximaging.SlackBuild 1.3@(#)
+
+# Slackware build script for ximaging
+
+# Copyright 2023 pomfland
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ximaging
+VERSION=${VERSION:-1.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-src-$VERSION
+tar xvJf $CWD/$PRGNAM-src-$VERSION.tar.xz
+cd $PRGNAM-src-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+
+make
+
+install -Dm755 src/ximaging $PKG/usr/bin/ximaging
+install -Dm644 src/ximaging.1 $PKG/usr/man/man1/ximaging.1
+install -Dm644 src/XImaging.ad $PKG/etc/X11/app-defaults/XImaging
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+if [ $(command -v pigz) ]; then
+ find $PKG/usr/man -type f -exec pigz -11 {} \;
+else
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+fi
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README LICENSE \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ximaging/ximaging.info b/graphics/ximaging/ximaging.info
new file mode 100644
index 0000000000..489fbe397c
--- /dev/null
+++ b/graphics/ximaging/ximaging.info
@@ -0,0 +1,10 @@
+PRGNAM="ximaging"
+VERSION="1.7"
+HOMEPAGE="https://fastestcode.org/ximaging.html"
+DOWNLOAD="https://prdownloads.sourceforge.net/ximaging/ximaging-src-1.7.tar.xz"
+MD5SUM="38338b9ac40bdb5e9ae52053e82400d1"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="%README%"
+MAINTAINER="pomfland"
+EMAIL="pomfland@tfwno.gf"
diff --git a/graphics/xli/xli.SlackBuild b/graphics/xli/xli.SlackBuild
index 4aeafb8b41..97cb1d0014 100644
--- a/graphics/xli/xli.SlackBuild
+++ b/graphics/xli/xli.SlackBuild
@@ -20,7 +20,7 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
# 20180629 bkw:
# - Take over maintenance.
diff --git a/graphics/xli/xli.info b/graphics/xli/xli.info
index 8689af40a8..6574f78d9a 100644
--- a/graphics/xli/xli.info
+++ b/graphics/xli/xli.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/xloadimage/README b/graphics/xloadimage/README
new file mode 100644
index 0000000000..f24f710588
--- /dev/null
+++ b/graphics/xloadimage/README
@@ -0,0 +1,5 @@
+xloadimage is one of the first image viewers for X11.
+
+It includes xsetbg to set the wallpaper, an xview, which is the same
+thing as xloadimage, but with a name which can be confused with
+SUN XView windowing system.
diff --git a/graphics/xloadimage/enable-image-types.patch b/graphics/xloadimage/enable-image-types.patch
new file mode 100644
index 0000000000..b61e36b878
--- /dev/null
+++ b/graphics/xloadimage/enable-image-types.patch
@@ -0,0 +1,74 @@
+diff -wbBur xloadimage.4.1/imagetypes.h xloadimage.4.1.my/imagetypes.h
+--- xloadimage.4.1/imagetypes.h 2011-02-11 11:47:37.000000000 +0000
++++ xloadimage.4.1.my/imagetypes.h 2011-02-11 16:04:35.000000000 +0000
+@@ -94,15 +94,9 @@
+ {niffIdent, niffLoad, niffDump, "niff", "Native Image File Format (NIFF)"},
+ {sunRasterIdent, sunRasterLoad, NULL, "sunraster", "Sun Rasterfile"},
+ {gifIdent, gifLoad, NULL, "gif", "GIF Image"},
+-#ifdef HAVE_LIBJPEG
+ {jpegIdent, jpegLoad, jpegDump, "jpeg", "JFIF-style JPEG Image"},
+-#endif
+-#ifdef HAVE_LIBTIFF
+ {tiffIdent, tiffLoad, tiffDump, "tiff", "TIFF image"},
+-#endif
+-#ifdef HAVE_LIBPNG
+ {pngIdent, pngLoad, NULL, "png", "PNG image"},
+-#endif
+ {fbmIdent, fbmLoad, NULL, "fbm", "FBM Image"},
+ {cmuwmIdent, cmuwmLoad, NULL, "cmuraster", "CMU WM Raster"},
+ {pbmIdent, pbmLoad, pbmDump, "pbm", "Portable Bit Map (PBM, PGM, PPM)"},
+diff -wbBur xloadimage.4.1/Imakefile xloadimage.4.1.my/Imakefile
+--- xloadimage.4.1/Imakefile 2011-02-11 12:05:53.000000000 +0000
++++ xloadimage.4.1.my/Imakefile 2011-02-11 16:06:21.000000000 +0000
+@@ -40,7 +40,7 @@
+ PNG_SRC = png.c
+ PNG_OBJ = png.o
+
+- EXTRA_DEFINES = $(TIFF_DEFS) $(JPEG_DEFS) $(PNG_DEFS)
++ EXTRA_DEFINES = $(TIFF_DEFS) $(JPEG_DEFS) $(PNG_DEFS) -DHAVE_LIBJPEG -DHAVE_LIBTIFF -DHAVE_LIBPNG
+ LOCAL_LIBRARIES = $(TIFF_LIB) $(JPEG_LIB) $(PNG_LIB) $(XLIB)
+
+ SRCS = new.c niff.c value.c zio.c cmuwmraster.c faces.c fbm.c gif.c imagetypes.c img.c mac.c mcidas.c mc_tables.c pbm.c pcx.c pdsuncomp.c rle.c rlelib.c sunraster.c vff.c vicar.c xbitmap.c xpixmap.c xwd.c bright.c clip.c compress.c dither.c fill.c halftone.c merge.c reduce.c rotate.c smooth.c undither.c zoom.c config.c misc.c options.c root.c send.c window.c xloadimage.c $(TIFF_SRC) $(JPEG_SRC) $(PNG_SRC)
+diff -wbBur xloadimage.4.1/Makefile xloadimage.4.1.my/Makefile
+--- xloadimage.4.1/Makefile 2011-02-11 12:06:16.000000000 +0000
++++ xloadimage.4.1.my/Makefile 2011-02-11 16:06:24.000000000 +0000
+@@ -2,7 +2,7 @@
+ # $Xorg: imake.c,v 1.6 2001/02/09 02:03:15 xorgcvs Exp $
+
+ # ----------------------------------------------------------------------
+-# Makefile generated from "Imake.tmpl" and </tmp/IIf.yUZBVe>
++# Makefile generated from "Imake.tmpl" and </tmp/IIf.7u155R>
+ # $Xorg: Imake.tmpl,v 1.4 2000/08/17 19:41:46 cpqbld Exp $
+ # $XdotOrg: xc/config/cf/Imake.tmpl,v 1.9 2005/01/24 06:37:31 daniels Exp $
+ #
+@@ -1063,7 +1063,7 @@
+ PNG_SRC = png.c
+ PNG_OBJ = png.o
+
+- EXTRA_DEFINES = $(TIFF_DEFS) $(JPEG_DEFS) $(PNG_DEFS)
++ EXTRA_DEFINES = $(TIFF_DEFS) $(JPEG_DEFS) $(PNG_DEFS) -DHAVE_LIBJPEG -DHAVE_LIBTIFF -DHAVE_LIBPNG
+ LOCAL_LIBRARIES = $(TIFF_LIB) $(JPEG_LIB) $(PNG_LIB) $(XLIB)
+
+ SRCS = new.c niff.c value.c zio.c cmuwmraster.c faces.c fbm.c gif.c imagetypes.c img.c mac.c mcidas.c mc_tables.c pbm.c pcx.c pdsuncomp.c rle.c rlelib.c sunraster.c vff.c vicar.c xbitmap.c xpixmap.c xwd.c bright.c clip.c compress.c dither.c fill.c halftone.c merge.c reduce.c rotate.c smooth.c undither.c zoom.c config.c misc.c options.c root.c send.c window.c xloadimage.c $(TIFF_SRC) $(JPEG_SRC) $(PNG_SRC)
+diff -wbBur xloadimage.4.1/png.c xloadimage.4.1.my/png.c
+--- xloadimage.4.1/png.c 2011-02-11 11:47:37.000000000 +0000
++++ xloadimage.4.1.my/png.c 2011-02-11 16:06:50.000000000 +0000
+@@ -18,6 +18,7 @@
+ *
+ */
+
++#define _GETOPT_H
+
+ #include "image.h" /* xloadimage declarations */
+ #ifdef HAVE_LIBPNG
+diff -wbBur xloadimage.4.1/jpeg.c xloadimage.4.1.my/jpeg.c
+--- xloadimage.4.1/jpeg.c 2011-02-11 14:47:37.000000000 +0300
++++ xloadimage.4.1.my/jpeg.c 2011-11-21 14:32:30.000000000 +0400
+@@ -319,6 +319,7 @@
+ if (verbose)
+ printf(" Using arithmetic coding.\n");
+ cinfo->arith_code = TRUE;
++ }
+ #else
+ fprintf(stderr, "jpegDump: sorry, arithmetic coding not supported\n");
+ }
diff --git a/graphics/xloadimage/png15-tiff4.patch b/graphics/xloadimage/png15-tiff4.patch
new file mode 100644
index 0000000000..8536e36f3d
--- /dev/null
+++ b/graphics/xloadimage/png15-tiff4.patch
@@ -0,0 +1,50 @@
+diff -wbBur xloadimage.4.1/png.c xloadimage.4.1.my/png.c
+--- xloadimage.4.1/png.c 2011-02-11 14:47:37.000000000 +0300
++++ xloadimage.4.1.my/png.c 2012-01-19 11:58:44.000000000 +0400
+@@ -75,7 +75,7 @@
+ {
+ debug(" #error ");
+ output_warn( png_ptr, str);
+- longjmp(png_ptr->jmpbuf, 1); /* return control to outer routine */
++ longjmp(png_jmpbuf(png_ptr), 1); /* return control to outer routine */
+ }
+
+
+@@ -164,7 +164,7 @@
+ png_destroy_read_struct(png_pp, info_pp, end_pp);
+ return 0;
+ }
+- if (setjmp((*png_pp)->jmpbuf)) {
++ if (setjmp(png_jmpbuf(*png_pp))) {
+ /* On error */
+ png_destroy_read_struct(png_pp, info_pp, end_pp);
+ return 0;
+@@ -220,7 +220,7 @@
+ zclose(zinput_file);
+ return 0;
+ }
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* On error */
+ freeImage(image);
+ png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
+diff -wbBur xloadimage.4.1/tiff.c xloadimage.4.1.my/tiff.c
+--- xloadimage.4.1/tiff.c 2011-02-11 14:47:38.000000000 +0300
++++ xloadimage.4.1.my/tiff.c 2012-01-19 12:00:00.000000000 +0400
+@@ -34,14 +34,14 @@
+ struct tiff_info *info;
+ {
+ ZFILE *zf;
+- TIFFHeader th;
++ TIFFHeaderCommon th;
+ TIFF *tiff;
+
+ zf = zopen(fullname);
+
+ /* read TIFF header and see if it looks right
+ */
+- if ((zread(zf, (byte *)&th, sizeof(TIFFHeader)) == sizeof(TIFFHeader)) &&
++ if ((zread(zf, (byte *)&th, sizeof(TIFFHeaderCommon)) == sizeof(TIFFHeaderCommon)) &&
+ ((th.tiff_magic == TIFF_BIGENDIAN) ||
+ (th.tiff_magic == TIFF_LITTLEENDIAN))) {
+
diff --git a/graphics/xloadimage/slack-desc b/graphics/xloadimage/slack-desc
new file mode 100644
index 0000000000..8d491ff03b
--- /dev/null
+++ b/graphics/xloadimage/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+xloadimage: xloadimage (a modern, fresh, and simple image viewer from 1992)
+xloadimage:
+xloadimage: xloadimage, xview - load images into an X11 window or onto the root
+xloadimage: window.
+xloadimage:
+xloadimage:
+xloadimage:
+xloadimage:
+xloadimage:
+xloadimage:
+xloadimage:
diff --git a/graphics/xloadimage/xloadimage.SlackBuild b/graphics/xloadimage/xloadimage.SlackBuild
new file mode 100644
index 0000000000..a9044f4b9d
--- /dev/null
+++ b/graphics/xloadimage/xloadimage.SlackBuild
@@ -0,0 +1,123 @@
+#!/bin/bash
+
+# Slackware build script for xloadimage
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=xloadimage
+VERSION=${VERSION:-4.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM.$VERSION-1.tar.gz
+cd $PRGNAM.$VERSION
+
+patch -p1 < $CWD/enable-image-types.patch
+patch -p1 < $CWD/png15-tiff4.patch
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+
+CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ xmkmf
+CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ make
+
+ install -D -m755 xloadimage "$PKG"/usr/bin/xloadimage
+ install -D -m755 uufilter "$PKG"/usr/bin/uufilter
+ install -D -m644 xloadimagerc "$PKG"/etc/xloadimagerc.example
+ install -D -m644 xloadimage.man "$PKG"/usr/man/man1/xloadimage.1x
+ install -D -m644 uufilter.man "$PKG"/usr/man/man1/uufilter.1x
+
+ (
+ cd $PKG/usr/bin
+ ln -sr xloadimage xsetbg
+ )
+
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README sample \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/xloadimage/xloadimage.info b/graphics/xloadimage/xloadimage.info
new file mode 100644
index 0000000000..60fd2e4a8e
--- /dev/null
+++ b/graphics/xloadimage/xloadimage.info
@@ -0,0 +1,10 @@
+PRGNAM="xloadimage"
+VERSION="4.1"
+HOMEPAGE="https://sioseis.com/xloadimage.html"
+DOWNLOAD="https://arch.p5n.pp.ru/~sergej/dl/2018/xloadimage.4.1-1.tar.gz"
+MD5SUM="86b42b1b628a9c00008b7deec21e1175"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.xloadimage_2023-10-15@lockywolf.net"
diff --git a/graphics/xmedcon/xmedcon.SlackBuild b/graphics/xmedcon/xmedcon.SlackBuild
index 7196a8d4d4..9ffc6533da 100644
--- a/graphics/xmedcon/xmedcon.SlackBuild
+++ b/graphics/xmedcon/xmedcon.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for (X)MedCon
#
-# Copyright 2016-2022 Marek Šrejma <marek@modweb.de>, Germany
+# Copyright 2016-2023 Marek Šrejma <marek@modweb.de>, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xmedcon
-VERSION=${VERSION:-0.21.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.23.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,13 +50,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=$ARCH -mtune=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -105,6 +102,8 @@ do
rm $i
done
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/libmdc.la
+
mv $PKG/usr/etc $PKG/
mkdir -p $PKG/usr/share/pixmaps
@@ -115,12 +114,10 @@ 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 NEWS README REMARKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/graphics/xmedcon/xmedcon.info b/graphics/xmedcon/xmedcon.info
index 728b214723..0fa65aba31 100644
--- a/graphics/xmedcon/xmedcon.info
+++ b/graphics/xmedcon/xmedcon.info
@@ -1,8 +1,8 @@
PRGNAM="xmedcon"
-VERSION="0.21.2"
+VERSION="0.23.0"
HOMEPAGE="http://xmedcon.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/project/xmedcon/XMedCon-Source/0.21.2/xmedcon-0.21.2.tar.bz2"
-MD5SUM="31802d740f5a0ce1ac59b769bdea61c5"
+DOWNLOAD="https://downloads.sourceforge.net/project/xmedcon/XMedCon-Source/0.23.0/xmedcon-0.23.0.tar.bz2"
+MD5SUM="8c758335d733d679e292d4948acba77e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/xzgv/doinst.sh b/graphics/xzgv/doinst.sh
index 5fb28930db..0f65eff427 100644
--- a/graphics/xzgv/doinst.sh
+++ b/graphics/xzgv/doinst.sh
@@ -1,3 +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 [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+if [ -x /usr/bin/install-info ]; then
+ /usr/bin/install-info --info-dir=usr/info usr/info/xzgv.info.gz 2> /dev/null
+fi
diff --git a/graphics/xzgv/douninst.sh b/graphics/xzgv/douninst.sh
new file mode 100644
index 0000000000..09f14ed073
--- /dev/null
+++ b/graphics/xzgv/douninst.sh
@@ -0,0 +1,22 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+
+# How to cleanly remove a GNU info file from the index:
+# Rebuild the info dir after our info file was removed. With modern versions
+# of install-info, it's OK if our wildcard includes e.g. gcc.info.gz and
+# gcc-1.info.gz (it won't create duplicate index entries). We have at least
+# one package that does NOT compress its info files, for a good reason, so
+# we can't say *.info.gz here.
+if [ -x /usr/bin/install-info -a -d usr/info ]; then
+ ( cd usr/info
+ rm -f dir
+ for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done
+ )
+fi
diff --git a/graphics/xzgv/xzgv.SlackBuild b/graphics/xzgv/xzgv.SlackBuild
index 0836b92a8a..3f7bad7a4c 100644
--- a/graphics/xzgv/xzgv.SlackBuild
+++ b/graphics/xzgv/xzgv.SlackBuild
@@ -2,34 +2,27 @@
# Slackware build script for xzgv
-# Copyright (c) 2010-2018 Markus Reichelt, Aachen, DE
-# All rights reserved.
-#
-# Permission to use, copy, modify, and distribute this software for
-# any purpose with or without fee is hereby granted, provided that
-# the above copyright notice and this permission notice appear in all
-# copies.
-#
-# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
-# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-# SUCH DAMAGE.
-#
-# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# Original author: Markus Reichelt.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
+
+# 20230308 bkw: BUILD=2, add doinunst.sh to clean up GNU info index.
+
+# 20230102 bkw: v0.9.2_2
+# - take over maintenance.
+# - relicense as WTFPL.
+# - include Debian's improved .desktop file and PNG icons.
+# - include GNU info doc in package.
+# - fix documentation permissions.
+# - get rid of useless INSTALL from docs.
+# - use Debian patch to fix man page nroff formatting.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xzgv
-VERSION=${VERSION:-0.9.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.9.2_2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,10 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -70,53 +59,73 @@ fi
set -e
+SRCVER="$( echo $VERSION | cut -d_ -f1 )"
+DEBVER="$( echo $VERSION | cut -d_ -f2 )"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
+tar xvf $CWD/${PRGNAM}_$SRCVER-$DEBVER.debian.tar.xz
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/info
-
-echo "cc=gcc" > config.mk
-echo "CFLAGS=$SLKCFLAGS">> config.mk
-echo "AWK=awk">> config.mk
-echo "BINDIR=$PKG/usr/bin">>config.mk
-echo "INFODIR=$PKG/usr/info">>config.mk
-echo "MANDIR=$PKG/usr/man/man1">>config.mk
-echo "USE_A4_DEF=-t @afourpaper">>config.mk
-echo "LDFLAGS=-lX11 -lm">> config.mk
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# use Debian's .desktop file
+cp debian/$PRGNAM.desktop src/
+
+# use 48x48 old-style icon
+sed -i 's,icon-64,icon-48,' src/Makefile
+
+# apply Debian's patches (currently, fixes for the man page)
+for i in $( cat debian/patches/series ); do
+ patch -p1 < debian/patches/$i
+done
+
+cat > config.mk <<EOF
+CC=gcc
+AWK=awk
+CFLAGS=$SLKCFLAGS
+BINDIR=$PKG/usr/bin
+INFODIR=$PKG/usr/info
+MANDIR=$PKG/usr/man/man1
+USE_A4_DEF=-t @afourpaper
+LDFLAGS=-lX11 -lm
+PIXMAPDIR=$PKG/usr/share/pixmaps
+DESKTOPDIR1=$PKG/usr/share/applications
+DESKTOPDIR2=$PKG/usr/share/applications
+EOF
+
+mkdir -p $PKG/usr/{bin,man/man1,info,share/{pixmaps,applications}}
make
-mv src/xzgv $PKG/usr/bin
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mv doc/xzgv.1 $PKG/usr/man/man1
-
-find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
-rmdir $PKG/usr/info
-
-mkdir -p $PKG/usr/share/applications
-cat src/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+strip src/$PRGNAM
+make info
+make install
+rm -f $PKG/usr/info/dir
+chmod 644 $PKG/usr/man/man*/*
+gzip $PKG/usr/man/man*/*
+
+# include Debian's PNG icons
+for i in debian/$PRGNAM-*.png; do
+ px="$( basename $i .png | cut -d- -f2 )"
+ size=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $dir
+ install -m0644 -oroot -groot $i $dir/$PRGNAM.png
+done
+
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a AUTHORS ChangeLog COPYING NEWS README TODO $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/xzgv/xzgv.info b/graphics/xzgv/xzgv.info
index 8a7a85e68c..a0e2bc6089 100644
--- a/graphics/xzgv/xzgv.info
+++ b/graphics/xzgv/xzgv.info
@@ -1,10 +1,12 @@
PRGNAM="xzgv"
-VERSION="0.9.2"
+VERSION="0.9.2_2"
HOMEPAGE="https://sourceforge.net/projects/xzgv/"
-DOWNLOAD="https://downloads.sourceforge.net/xzgv/xzgv-0.9.2.tar.gz"
-MD5SUM="87d14e59268ace5ba83005a6e20e2be7"
+DOWNLOAD="https://downloads.sourceforge.net/xzgv/xzgv-0.9.2.tar.gz \
+ https://deb.debian.org/debian/pool/main/x/xzgv/xzgv_0.9.2-2.debian.tar.xz"
+MD5SUM="87d14e59268ace5ba83005a6e20e2be7 \
+ 2a838db880ef95b5c51f3f2a8c8207cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Reichelt"
-EMAIL="slackbuilds@mareichelt.de"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/yacreader/README b/graphics/yacreader/README
index 60b72b7c68..1f06f34965 100644
--- a/graphics/yacreader/README
+++ b/graphics/yacreader/README
@@ -1,2 +1,5 @@
YACReader is a comic reader and manager with support for many
different comic files formats.
+
+NOTE: The provided headless library server is not yet supported
+by this SlackBuild (but it might be in the future).
diff --git a/graphics/yacreader/yacreader.SlackBuild b/graphics/yacreader/yacreader.SlackBuild
index 0d6bda71e1..25793ae49c 100644
--- a/graphics/yacreader/yacreader.SlackBuild
+++ b/graphics/yacreader/yacreader.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for yacreader
-# Copyright 2016-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2016-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yacreader
-VERSION=${VERSION:-9.8.2.2106195}
+VERSION=${VERSION:-9.14.2.2402143}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,7 +86,7 @@ sed -i \
-e "s|DATADIR/doc/yacreader|PREFIX/doc/yacreader-$VERSION|" \
YACReader*/YACReader*pro || exit 1
-qmake-qt5 CONFIG+=unarr
+qmake-qt5 CONFIG+=libarchive
make
make install INSTALL_ROOT=$PKG
diff --git a/graphics/yacreader/yacreader.info b/graphics/yacreader/yacreader.info
index 2476d3ae77..e00bfbf893 100644
--- a/graphics/yacreader/yacreader.info
+++ b/graphics/yacreader/yacreader.info
@@ -1,10 +1,10 @@
PRGNAM="yacreader"
-VERSION="9.8.2.2106195"
+VERSION="9.14.2.2402143"
HOMEPAGE="https://www.yacreader.com"
-DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.8.2/yacreader-9.8.2.2106195-src.tar.xz"
-MD5SUM="0ee491c4bdfe2425d5c38ab56701998b"
+DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.14.2/yacreader-9.14.2.2402143-src.tar.xz"
+MD5SUM="4c44baf03fa496889cdda94974d17fdc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="unarr"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/yagf/yagf.SlackBuild b/graphics/yagf/yagf.SlackBuild
index f3b2927f41..0a154868b8 100644
--- a/graphics/yagf/yagf.SlackBuild
+++ b/graphics/yagf/yagf.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,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"
diff --git a/graphics/yed/yed.SlackBuild b/graphics/yed/yed.SlackBuild
index 5d5682dc8c..0871a78fca 100644
--- a/graphics/yed/yed.SlackBuild
+++ b/graphics/yed/yed.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yed
-VERSION=${VERSION:-3.22}
+VERSION=${VERSION:-3.23.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/graphics/yed/yed.info b/graphics/yed/yed.info
index b0cf27dc6c..efc77aa30f 100644
--- a/graphics/yed/yed.info
+++ b/graphics/yed/yed.info
@@ -1,8 +1,8 @@
PRGNAM="yed"
-VERSION="3.22"
+VERSION="3.23.2"
HOMEPAGE="https://www.yworks.com/products/yed"
-DOWNLOAD="https://www.yworks.com/resources/yed/demo/yEd-3.22.zip"
-MD5SUM="e37e35ca4a240cd0843f59beafbe97d4"
+DOWNLOAD="https://www.yworks.com/resources/yed/demo/yEd-3.23.2.zip"
+MD5SUM="45ad92ab427dc54c0d3c5d08e293f483"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk8"
diff --git a/graphics/yvonne/README b/graphics/yvonne/README
new file mode 100644
index 0000000000..50733b6ca5
--- /dev/null
+++ b/graphics/yvonne/README
@@ -0,0 +1,9 @@
+yvonne (viewer for Atari 8-bit image formats)
+
+Yvonne is an Atari picture viewer. For interlaced or split images,
+Yvonne emulates the result by mixing colours and displaying bigger
+pixels. You can save the pictures in PC formats such as: BMP, JPG,
+PNG, and XPM.
+
+Supported Atari formats: AP3, APC, APV, AP3, BG9, CIN, G09, GR8, GR9,
+HPM, INP (partially), INT, MIC, PLM.
diff --git a/graphics/yvonne/doinst.sh b/graphics/yvonne/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/graphics/yvonne/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/graphics/yvonne/fixencoding.diff b/graphics/yvonne/fixencoding.diff
new file mode 100644
index 0000000000..fd6ae6c9f2
--- /dev/null
+++ b/graphics/yvonne/fixencoding.diff
@@ -0,0 +1,12 @@
+diff -Naur yvonne-1.0.orig/widget.cpp yvonne-1.0/widget.cpp
+--- yvonne-1.0.orig/widget.cpp 2006-12-28 16:37:54.000000000 -0500
++++ yvonne-1.0/widget.cpp 2022-12-27 22:54:26.778944637 -0500
+@@ -363,7 +363,7 @@
+ sName=NAME;
+ sName+=" ";
+ sName+=VERSION;
+- QMessageBox::about(m_pParent, sName, "Atari Picture Viewer.\nby Rafa 'bob_er' Ciepiela, 2006\ncontact: bob_er@users.sourceforge.net\n\nThis is free software.\nCheck 'copying' file for details.");
++ QMessageBox::about(m_pParent, sName, "Atari Picture Viewer.\nby Rafal 'bob_er' Ciepiela, 2006\ncontact: bob_er@users.sourceforge.net\n\nThis is free software.\nCheck 'copying' file for details.");
+ return;
+ }
+
diff --git a/graphics/yvonne/fixgarbage.diff b/graphics/yvonne/fixgarbage.diff
new file mode 100644
index 0000000000..ce257fad47
--- /dev/null
+++ b/graphics/yvonne/fixgarbage.diff
@@ -0,0 +1,18 @@
+diff -Naur yvonne-1.0.orig/widget.cpp yvonne-1.0/widget.cpp
+--- yvonne-1.0.orig/widget.cpp 2006-12-28 16:37:54.000000000 -0500
++++ yvonne-1.0/widget.cpp 2022-12-27 22:50:09.965687828 -0500
+@@ -182,6 +182,14 @@
+ nWidth=m_pImage->getWidth();
+ nHeight=m_pImage->getHeight();
+ pDisplayImage=new QImage(IMAGE_WIDTH_MAX, IMAGE_HEIGHT_MAX, QImage::Format_RGB32);
++ QRgb black = qRgb(0, 0, 0);
++ for(unsigned int y=0;y<IMAGE_HEIGHT_MAX;y++)
++ {
++ for(unsigned int x=0;x<IMAGE_WIDTH_MAX;x++)
++ {
++ pDisplayImage->setPixel(x, y, black);
++ }
++ }
+ nSeekX=(IMAGE_WIDTH_MAX-nWidth)>>1;
+ nSeekY=(IMAGE_HEIGHT_MAX-nHeight)>>1;
+ for(int y=0;y<nHeight;y++)
diff --git a/graphics/yvonne/fixwarnings.diff b/graphics/yvonne/fixwarnings.diff
new file mode 100644
index 0000000000..6d2193ae91
--- /dev/null
+++ b/graphics/yvonne/fixwarnings.diff
@@ -0,0 +1,36 @@
+diff -Naur yvonne-1.0.orig/color_provider.h yvonne-1.0/color_provider.h
+--- yvonne-1.0.orig/color_provider.h 2006-12-28 16:37:54.000000000 -0500
++++ yvonne-1.0/color_provider.h 2022-12-27 22:38:08.296725828 -0500
+@@ -39,7 +39,7 @@
+
+ CCPException(CPReason _eReason) throw():m_eReason(_eReason) {};
+ CPReason getReason(void) { return m_eReason; }
+- char* what(void)
++ const char* what(void)
+ {
+ switch(m_eReason)
+ {
+diff -Naur yvonne-1.0.orig/image.h yvonne-1.0/image.h
+--- yvonne-1.0.orig/image.h 2006-12-28 16:37:54.000000000 -0500
++++ yvonne-1.0/image.h 2022-12-27 22:38:24.529994904 -0500
+@@ -56,7 +56,7 @@
+ CImageException(IEReason _eReason) throw():m_eReason(_eReason) {};
+ IEReason getReason(void)
+ { return m_eReason; }
+- char* what(void)
++ const char* what(void)
+ {
+ switch(m_eReason)
+ {
+diff -Naur yvonne-1.0.orig/rc_file.h yvonne-1.0/rc_file.h
+--- yvonne-1.0.orig/rc_file.h 2006-12-28 16:37:54.000000000 -0500
++++ yvonne-1.0/rc_file.h 2022-12-27 22:38:47.368373460 -0500
+@@ -41,7 +41,7 @@
+
+ CRCFileException(RCFReason _eReason) throw():m_eReason(_eReason) {};
+ RCFReason getReason(void) { return m_eReason; }
+- char* what(void)
++ const char* what(void)
+ {
+ switch(m_eReason)
+ {
diff --git a/graphics/yvonne/slack-desc b/graphics/yvonne/slack-desc
new file mode 100644
index 0000000000..e7dfe45ca1
--- /dev/null
+++ b/graphics/yvonne/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+yvonne: yvonne (viewer for Atari 8-bit image formats)
+yvonne:
+yvonne: Yvonne is an Atari picture viewer. For interlaced or split images,
+yvonne: Yvonne emulates the result by mixing colours and displaying bigger
+yvonne: pixels. You can save the pictures in PC formats such as: BMP, JPG,
+yvonne: PNG, and XPM.
+yvonne:
+yvonne: Supported Atari formats: AP3, APC, APV, AP3, BG9, CIN, G09, GR8, GR9,
+yvonne: HPM, INP (partially), INT, MIC, PLM.
+yvonne:
+yvonne:
diff --git a/graphics/yvonne/yvonne.SlackBuild b/graphics/yvonne/yvonne.SlackBuild
new file mode 100644
index 0000000000..3c96949f54
--- /dev/null
+++ b/graphics/yvonne/yvonne.SlackBuild
@@ -0,0 +1,118 @@
+#!/bin/bash
+
+# Slackware build script for yvonne
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+# This is a Qt4 app, from 2006. Was never ported to Qt5. I may
+# eventually port it myself, but Qt and C++ are not my favorite things
+# to work with. For now, it's submitted as a qt4 app, and it works.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=yvonne
+VERSION=${VERSION:-1.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# The display window doesn't actually start out all black; there's
+# garbage that gets displayed outside the image area. This sets
+# all the pixels to black, gets rid of the garbage. Probably there's
+# a more elegant way to fix this, but it does work.
+patch -p1 < $CWD/fixgarbage.diff
+
+# Fix the compiler warnings about converting string constants to char *.
+# Not actually necessary, but it helped me with the garbage fix, above.
+patch -p1 < $CWD/fixwarnings.diff
+
+# One source file has an ISO-8859-2 character (Polish l-with-slash)
+# embedded in it, which displays incorrectly (as a superscript 3) in
+# the Help/About dialog. Converting to UTF-8 doesn't actually help:
+# it shows up as two wrong characters instead of one.
+# Qt4 only knows ISO-8859-1 (Latin-1), which doesn't have the
+# character in question... so convert it to a regular lowercase l,
+# which at least looks closer to correct.
+patch -p1 < $CWD/fixencoding.diff
+
+# Add a missing library, and use our flags.
+sed -i -e '/^LFLAGS/s,$, -lQtCore,' \
+ -e "/^CFLAGS/s,=,=$SLKCFLAGS ," \
+ Makefile
+
+# This will fail with "qt4.sh: no such file or directory" and kill the
+# shell due to "set -e", if the user forgot to install the required
+# qt4 dep.
+source /etc/profile.d/qt4.sh
+make $PRGNAM
+
+mkdir -p $PKG/usr/bin
+install -s -m0755 $PRGNAM $PKG/usr/bin
+
+# Use upstream's icon, even though it's a pretty generic Atari logo.
+mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps $PKG/usr/share/pixmaps
+cp -a icon.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
+# .desktop file written by SlackBuild author.
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+# Not much documentation (just the GPL), so include our own README.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a copying $PKGDOC
+cat $CWD/README > $PKGDOC/README
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/yvonne/yvonne.desktop b/graphics/yvonne/yvonne.desktop
new file mode 100644
index 0000000000..41c8b2b581
--- /dev/null
+++ b/graphics/yvonne/yvonne.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Yvonne
+Comment=Atari 8-bit image viewer
+Exec=yvonne
+Icon=yvonne
+Terminal=false
+Type=Application
+Categories=Graphics;2DGraphics;Viewer;
diff --git a/graphics/yvonne/yvonne.info b/graphics/yvonne/yvonne.info
new file mode 100644
index 0000000000..adf89e2c50
--- /dev/null
+++ b/graphics/yvonne/yvonne.info
@@ -0,0 +1,10 @@
+PRGNAM="yvonne"
+VERSION="1.0"
+HOMEPAGE="https://atari8.sourceforge.net/yvonne.html"
+DOWNLOAD="https://downloads.sourceforge.net/project/atari8/yvonne/Yvonne-1.0/yvonne-1.0.tgz"
+MD5SUM="a32a19700200f3a39a6537aed5936b0e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="qt4"
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/zgrviewer/README b/graphics/zgrviewer/README
new file mode 100644
index 0000000000..96ae80d62e
--- /dev/null
+++ b/graphics/zgrviewer/README
@@ -0,0 +1,7 @@
+ZGRViewer is a graph visualizer implemented in Java and based upon the
+Zoomable Visual Transformation Machine. It is specifically aimed at
+displaying graphs expressed using the DOT language from AT&T GraphViz
+and processed by programs dot, neato or others such as twopi.
+
+The required java is listed as zulu-openjdk11, but the build might
+work with some other java as well.
diff --git a/graphics/zgrviewer/slack-desc b/graphics/zgrviewer/slack-desc
new file mode 100644
index 0000000000..b83985c07b
--- /dev/null
+++ b/graphics/zgrviewer/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+zgrviewer: zgrviewer (GUI graph viewer)
+zgrviewer:
+zgrviewer: ZGRViewer is a graph visualizer implemented in Java and based upon
+zgrviewer: the Zoomable Visual Transformation Machine. It is specifically aimed
+zgrviewer: at displaying graphs expressed using the DOT language from AT&T
+zgrviewer: GraphViz and processed by programs dot, neato or others such as
+zgrviewer: twopi.
+zgrviewer:
+zgrviewer:
+zgrviewer:
+zgrviewer:
diff --git a/graphics/zgrviewer/zgrviewer b/graphics/zgrviewer/zgrviewer
new file mode 100644
index 0000000000..50ef7a24f7
--- /dev/null
+++ b/graphics/zgrviewer/zgrviewer
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /opt/zgrviewer-MY_VERSION/ || exit 1
+exec ./run.sh $@
diff --git a/graphics/zgrviewer/zgrviewer.SlackBuild b/graphics/zgrviewer/zgrviewer.SlackBuild
new file mode 100644
index 0000000000..804dc2c091
--- /dev/null
+++ b/graphics/zgrviewer/zgrviewer.SlackBuild
@@ -0,0 +1,105 @@
+#!/bin/bash
+
+# Slackware build script for zgrviewer
+
+# Copyright 2023, Lockywolf
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=zgrviewer
+VERSION=${VERSION:-0.10.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-${VERSION}.zip
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
+
+install -Dm755 $CWD/$PRGNAM $PKG/usr/bin/$PRGNAM
+install -d -m 755 $PKG/opt/$PRGNAM-$VERSION
+cp -r . $PKG/opt/$PRGNAM-$VERSION/
+sed -i "s/MY_VERSION/$VERSION/g" $PKG/usr/bin/zgrviewer
+rm $PKG/opt/$PRGNAM-$VERSION/src/main/java/net/claribole/.DS_Store
+# rmdir $PKG/opt/$PRGNAM-$VERSION/tmp
+# rmdir $PKG/opt/$PRGNAM-$VERSION/plugins
+# rmdir $PKG/opt/$PRGNAM-$VERSION/target/generated-sources/annotations
+# rmdir $PKG/opt/$PRGNAM-$VERSION/target/generated-sources/test-annotations
+
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+xerces.license.txt antlr.license.txt zvtm.license.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+chmod 444 $PKG/usr/doc/$PRGNAM-$VERSION/*
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/zgrviewer/zgrviewer.info b/graphics/zgrviewer/zgrviewer.info
new file mode 100644
index 0000000000..81ea7ebd30
--- /dev/null
+++ b/graphics/zgrviewer/zgrviewer.info
@@ -0,0 +1,10 @@
+PRGNAM="zgrviewer"
+VERSION="0.10.0"
+HOMEPAGE="https://zvtm.sourceforge.net/zgrviewer.html"
+DOWNLOAD="https://versaweb.dl.sourceforge.net/project/zvtm/zgrviewer/0.10.0/zgrviewer-0.10.0.zip"
+MD5SUM="d6d3a2276b44b0d8918a13ba267be1bb"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="zulu-openjdk11"
+MAINTAINER="Lockywolf"
+EMAIL="for_sbo.zgrviewer_2023-07-28@lockywolf.net"