summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ART/ART.SlackBuild (renamed from graphics/shaderc/shaderc.SlackBuild)62
-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.sh (renamed from graphics/Alchemy/doinst.sh)0
-rw-r--r--graphics/ART/slack-desc19
-rw-r--r--graphics/Alchemy/Alchemy.SlackBuild87
-rw-r--r--graphics/Alchemy/Alchemy.info10
-rw-r--r--graphics/Alchemy/README5
-rw-r--r--graphics/Alchemy/files/Alchemy.desktop10
-rw-r--r--graphics/Alchemy/files/alchemy9
-rw-r--r--graphics/Alchemy/files/alchemy-logo64.pngbin5133 -> 0 bytes
-rw-r--r--graphics/Alchemy/files/alchemyOpenGL9
-rw-r--r--graphics/Alchemy/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-desc (renamed from graphics/glslang/slack-desc)24
-rw-r--r--graphics/Blender/Blender.SlackBuild61
-rw-r--r--graphics/Blender/Blender.info8
-rw-r--r--graphics/Blender/README66
-rw-r--r--graphics/Blender/README.Slackware95
-rw-r--r--graphics/Blender/overloaded_min.diff51
-rw-r--r--graphics/CairoSVG/CairoSVG.SlackBuild20
-rw-r--r--graphics/CairoSVG/CairoSVG.info8
-rw-r--r--graphics/CairoSVG/README2
-rw-r--r--graphics/FSPViewer/FSPViewer.SlackBuild16
-rw-r--r--graphics/FotoKilof/FotoKilof.SlackBuild165
-rw-r--r--graphics/FotoKilof/FotoKilof.info10
-rw-r--r--graphics/FotoKilof/README26
-rw-r--r--graphics/FotoKilof/doinst.sh (renamed from graphics/draftsight/doinst.sh)1
-rw-r--r--graphics/FotoKilof/icon.pngbin0 -> 35212 bytes
-rw-r--r--graphics/FotoKilof/slack-desc (renamed from graphics/graphite2/slack-desc)22
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild54
-rw-r--r--graphics/FreeCAD/FreeCAD.desktop10
-rw-r--r--graphics/FreeCAD/FreeCAD.info8
-rw-r--r--graphics/FreeCAD/FreeCAD.xml8
-rw-r--r--graphics/FreeCAD/README5
-rw-r--r--graphics/GPS/GPS.SlackBuild42
-rw-r--r--graphics/GPS/README17
-rw-r--r--graphics/GPS/slack-desc8
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild38
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.info8
-rw-r--r--graphics/GraphicsMagick/README6
-rw-r--r--graphics/HotShots/HotShots.SlackBuild16
-rw-r--r--graphics/LDView/LDView.SlackBuild46
-rw-r--r--graphics/LDView/LDView.info8
-rw-r--r--graphics/LDView/README7
-rw-r--r--graphics/LDView/doinst.sh5
-rw-r--r--graphics/LDraw_data/LDraw_data.SlackBuild23
-rw-r--r--graphics/LDraw_data/LDraw_data.info6
-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-desc (renamed from graphics/luxrender/slack-desc)22
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild52
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.info6
-rw-r--r--graphics/OpenCASCADE/README5
-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.SlackBuild (renamed from graphics/glslang/glslang.SlackBuild)49
-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.SlackBuild51
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.info6
-rw-r--r--graphics/OpenSubdiv/README23
-rw-r--r--graphics/Pixie/Pixie.SlackBuild44
-rw-r--r--graphics/PureRef/PureRef.SlackBuild16
-rw-r--r--graphics/PyMOL/PyMOL.SlackBuild20
-rw-r--r--graphics/PyMOL/PyMOL.info2
-rw-r--r--graphics/SPIRV-Tools/README10
-rw-r--r--graphics/SPIRV-Tools/SPIRV-Tools.info10
-rw-r--r--graphics/Shellpic/Shellpic.SlackBuild16
-rw-r--r--graphics/SweetHome3D/README2
-rw-r--r--graphics/SweetHome3D/SweetHome3D4
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild64
-rw-r--r--graphics/SweetHome3D/SweetHome3D.info16
-rw-r--r--graphics/SweetHome3D/SweetHome3DIcon.pngbin29519 -> 0 bytes
-rw-r--r--graphics/VariCAD/README14
-rw-r--r--graphics/VariCAD/VariCAD.SlackBuild28
-rw-r--r--graphics/VariCAD/VariCAD.info4
-rw-r--r--graphics/Vulkan-Tools/README1
-rw-r--r--graphics/Vulkan-Tools/Vulkan-Tools.info10
-rw-r--r--graphics/XnViewMP/README3
-rw-r--r--graphics/XnViewMP/XnViewMP.SlackBuild18
-rw-r--r--graphics/XnViewMP/XnViewMP.info6
-rw-r--r--graphics/aaphoto/aaphoto.SlackBuild22
-rw-r--r--graphics/aaphoto/aaphoto.info6
-rw-r--r--graphics/aaphoto/slack-desc2
-rw-r--r--graphics/abcm2ps/README6
-rw-r--r--graphics/abcm2ps/abcm2ps.SlackBuild16
-rw-r--r--graphics/advancecomp/README8
-rw-r--r--graphics/advancecomp/advancecomp.SlackBuild32
-rw-r--r--graphics/advancecomp/advancecomp.info8
-rw-r--r--graphics/aewan/README58
-rw-r--r--graphics/aewan/aewan.SlackBuild22
-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.sh (renamed from graphics/k3d/doinst.sh)2
-rw-r--r--graphics/amide/slack-desc19
-rw-r--r--graphics/apitrace/README11
-rw-r--r--graphics/apitrace/apitrace-11-thirdparty.patch61
-rw-r--r--graphics/apitrace/apitrace.SlackBuild48
-rw-r--r--graphics/apitrace/apitrace.info14
-rw-r--r--graphics/asciiquarium/asciiquarium.SlackBuild16
-rw-r--r--graphics/autotrace/autotrace.SlackBuild38
-rw-r--r--graphics/azpainter/azpainter.SlackBuild16
-rw-r--r--graphics/baires/README3
-rw-r--r--graphics/baires/baires.SlackBuild65
-rw-r--r--graphics/baires/baires.info6
-rw-r--r--graphics/baires/doinst.sh6
-rw-r--r--graphics/baires/qt5.diff945
-rw-r--r--graphics/baires/slack-desc4
-rw-r--r--graphics/barcode/barcode.SlackBuild26
-rw-r--r--graphics/bdfedit/bdfedit.12
-rw-r--r--graphics/bdfedit/bdfedit.SlackBuild15
-rw-r--r--graphics/bdfedit/bdfedit.info6
-rw-r--r--graphics/bdfedit/bdfedit.pod2
-rw-r--r--graphics/birdfont/README10
-rw-r--r--graphics/birdfont/birdfont.SlackBuild103
-rw-r--r--graphics/birdfont/birdfont.info10
-rw-r--r--graphics/birdfont/doinst.sh13
-rw-r--r--graphics/birdfont/install-path.patch66
-rw-r--r--graphics/birdfont/slack-desc19
-rw-r--r--graphics/blender/blender.SlackBuild40
-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/README31
-rw-r--r--graphics/brlcad/brlcad-skip-gstep.patch12
-rw-r--r--graphics/brlcad/brlcad.SlackBuild51
-rw-r--r--graphics/brlcad/brlcad.info8
-rw-r--r--graphics/brlcad/brlcad_archer.desktop3
-rw-r--r--graphics/brlcad/brlcad_mged.desktop3
-rw-r--r--graphics/cam/README5
-rw-r--r--graphics/cam/cam.SlackBuild (renamed from graphics/discwrapper/discwrapper.SlackBuild)51
-rw-r--r--graphics/cam/cam.info10
-rw-r--r--graphics/cam/git2tarxz.sh44
-rw-r--r--graphics/cam/slack-desc (renamed from graphics/k3d/slack-desc)22
-rw-r--r--graphics/catimg/README6
-rw-r--r--graphics/catimg/catimg.SlackBuild (renamed from graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild)43
-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.SlackBuild126
-rw-r--r--graphics/chafa/chafa.info10
-rw-r--r--graphics/chafa/changelog27
-rw-r--r--graphics/chafa/slack-desc (renamed from graphics/Vulkan-Tools/slack-desc)24
-rw-r--r--graphics/converseen/README2
-rw-r--r--graphics/converseen/converseen.SlackBuild20
-rw-r--r--graphics/converseen/converseen.info10
-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)35
-rw-r--r--graphics/ctpv/ctpv.info10
-rw-r--r--graphics/ctpv/slack-desc19
-rw-r--r--graphics/darktable/README10
-rw-r--r--graphics/darktable/darktable.SlackBuild42
-rw-r--r--graphics/darktable/darktable.info12
-rw-r--r--graphics/dblatex/dblatex.SlackBuild22
-rw-r--r--graphics/dblatex/dblatex.info6
-rw-r--r--graphics/dcraw/dcraw.SlackBuild16
-rw-r--r--graphics/deskew/deskew.SlackBuild16
-rw-r--r--graphics/dia/README12
-rw-r--r--graphics/dia/dia.SlackBuild16
-rw-r--r--graphics/digikam/README14
-rw-r--r--graphics/digikam/digikam.info10
-rw-r--r--graphics/digikam/doinst.sh9
-rw-r--r--graphics/digikam/lensfun-0.3.2.patch26
-rw-r--r--graphics/digikam/libpgf.patch33
-rw-r--r--graphics/digikam/slack-desc19
-rw-r--r--graphics/discwrapper/README2
-rw-r--r--graphics/discwrapper/discwrapper.info10
-rw-r--r--graphics/djview4/djview4.SlackBuild22
-rw-r--r--graphics/draftsight/README4
-rw-r--r--graphics/draftsight/draftsight.SlackBuild89
-rw-r--r--graphics/draftsight/draftsight.info10
-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/README33
-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/dxftoqet/dxftoqet.SlackBuild16
-rw-r--r--graphics/dxftoqet/dxftoqet.info2
-rw-r--r--graphics/embree/README29
-rw-r--r--graphics/embree/embree.SlackBuild20
-rw-r--r--graphics/embree/embree.info12
-rw-r--r--graphics/embree/slack-desc12
-rw-r--r--graphics/enblend-enfuse/README9
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.SlackBuild55
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.info6
-rw-r--r--graphics/entangle/README21
-rw-r--r--graphics/entangle/doinst.sh7
-rw-r--r--graphics/entangle/entangle.SlackBuild71
-rw-r--r--graphics/entangle/entangle.info10
-rw-r--r--graphics/entangle/slack-desc10
-rw-r--r--graphics/eog-plugins/README3
-rw-r--r--graphics/eog-plugins/doinst.sh15
-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-desc (renamed from graphics/discwrapper/slack-desc)22
-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/evolus-pencil/evolus-pencil.SlackBuild16
-rw-r--r--graphics/exact-image/Provide-gif-quantization-for-giflib-5.2.patch384
-rw-r--r--graphics/exact-image/README17
-rw-r--r--graphics/exact-image/exact-image.SlackBuild28
-rw-r--r--graphics/exif/exif.SlackBuild23
-rw-r--r--graphics/exiftags/exiftags.SlackBuild22
-rw-r--r--graphics/farbfeld/README6
-rw-r--r--graphics/farbfeld/farbfeld.SlackBuild78
-rw-r--r--graphics/farbfeld/farbfeld.info10
-rw-r--r--graphics/farbfeld/slack-desc19
-rw-r--r--graphics/fbgrab/fbgrab.SlackBuild16
-rw-r--r--graphics/fbgrab/slack-desc2
-rw-r--r--graphics/fbida/README8
-rw-r--r--graphics/fbida/fbida.SlackBuild25
-rw-r--r--graphics/fbida/fbida.info2
-rw-r--r--graphics/fbida/gcc10.patch80
-rw-r--r--graphics/fbpic/README9
-rw-r--r--graphics/fbpic/fbpic.SlackBuild16
-rw-r--r--graphics/fbv/fbv.SlackBuild22
-rw-r--r--graphics/fbv/fbv.info4
-rw-r--r--graphics/feh/feh.SlackBuild16
-rw-r--r--graphics/fig2sxd/README10
-rw-r--r--graphics/fig2sxd/fig2sxd.SlackBuild16
-rw-r--r--graphics/fim/fim.SlackBuild32
-rw-r--r--graphics/fim/fim.info8
-rw-r--r--graphics/findimagedupes/findimagedupes.SlackBuild24
-rw-r--r--graphics/findimagedupes/findimagedupes.info8
-rw-r--r--graphics/flam3/README7
-rw-r--r--graphics/flam3/flam3.SlackBuild (renamed from graphics/dvisvgm/dvisvgm.SlackBuild)60
-rw-r--r--graphics/flam3/flam3.info10
-rw-r--r--graphics/flam3/slack-desc19
-rw-r--r--graphics/flameshot/flameshot.SlackBuild16
-rw-r--r--graphics/flameshot/flameshot.info2
-rw-r--r--graphics/flpsed/flpsed.SlackBuild15
-rw-r--r--graphics/flpsed/flpsed.info6
-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/README6
-rw-r--r--graphics/fontforge/fontforge.SlackBuild98
-rw-r--r--graphics/fontforge/fontforge.info20
-rw-r--r--graphics/fotowall/README8
-rw-r--r--graphics/fotowall/fotowall-1.0-qt-5.11.patch.gzbin0 -> 346 bytes
-rw-r--r--graphics/fotowall/fotowall-1.0-qt-5.15.patch.gzbin0 -> 433 bytes
-rw-r--r--graphics/fotowall/fotowall.SlackBuild40
-rw-r--r--graphics/fotowall/fotowall.info6
-rw-r--r--graphics/fotoxx/README3
-rw-r--r--graphics/fotoxx/fotoxx.SlackBuild121
-rw-r--r--graphics/fotoxx/fotoxx.info12
-rw-r--r--graphics/freewrl/README23
-rw-r--r--graphics/freewrl/freewrl.info10
-rw-r--r--graphics/freewrl/slack-desc19
-rw-r--r--graphics/frescobaldi/README4
-rw-r--r--graphics/frescobaldi/frescobaldi.SlackBuild24
-rw-r--r--graphics/frescobaldi/frescobaldi.info8
-rw-r--r--graphics/fritzing/README5
-rw-r--r--graphics/fritzing/fritzing.SlackBuild16
-rw-r--r--graphics/fritzing/fritzing.info2
-rw-r--r--graphics/fyre/doinst.sh6
-rw-r--r--graphics/fyre/fix_extern_c.patch14
-rw-r--r--graphics/fyre/fyre.SlackBuild44
-rw-r--r--graphics/fyre/fyre.info2
-rw-r--r--graphics/g3dviewer/g3dviewer.SlackBuild22
-rw-r--r--graphics/gallery/gallery.SlackBuild16
-rw-r--r--graphics/gbdfed/gbdfed.SlackBuild24
-rw-r--r--graphics/gcolor2/gcolor2-0.4-fno-common.patch27
-rw-r--r--graphics/gcolor2/gcolor2.SlackBuild21
-rw-r--r--graphics/gdk-pixbuf-psd/README17
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild15
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.info2
-rw-r--r--graphics/gifsicle/gifsicle.SlackBuild17
-rw-r--r--graphics/gifsicle/gifsicle.info10
-rw-r--r--graphics/gimagereader/gimagereader.SlackBuild32
-rw-r--r--graphics/gimagereader/gimagereader.info6
-rw-r--r--graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild40
-rw-r--r--graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info6
-rw-r--r--graphics/gimp-lqr-plugin/gimp-lqr-0.7.2-gcc-10-fno-common.patch.gzbin0 -> 646 bytes
-rw-r--r--graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild17
-rw-r--r--graphics/gimp-plugin-bimp/README7
-rw-r--r--graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild26
-rw-r--r--graphics/gimp-plugin-bimp/gimp-plugin-bimp.info6
-rw-r--r--graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild17
-rw-r--r--graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.info6
-rw-r--r--graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild46
-rw-r--r--graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.info4
-rw-r--r--graphics/gliv/README11
-rw-r--r--graphics/gliv/gliv.SlackBuild22
-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/shaderc/slack-desc)22
-rw-r--r--graphics/glslang/README5
-rw-r--r--graphics/glslang/SPIRV-Tools-shared.patch61
-rw-r--r--graphics/glslang/glslang.info10
-rw-r--r--graphics/gmic/doinst.sh (renamed from graphics/scantailor/doinst.sh)0
-rw-r--r--graphics/gmic/gmic.SlackBuild40
-rw-r--r--graphics/gmic/gmic.info12
-rw-r--r--graphics/gmic/zart-opencv4.patch59
-rw-r--r--graphics/gnofract4d/gnofract4d.SlackBuild34
-rw-r--r--graphics/gnofract4d/gnofract4d.info10
-rw-r--r--graphics/gnofract4d/slack-desc2
-rw-r--r--graphics/gnome-themes-extras/README10
-rw-r--r--graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild16
-rw-r--r--graphics/gnome-web-photo/README3
-rw-r--r--graphics/gnome-web-photo/doinst.sh9
-rw-r--r--graphics/gnome-web-photo/gnome-web-photo.info10
-rw-r--r--graphics/goocanvas/goocanvas.SlackBuild21
-rw-r--r--graphics/goocanvas2/goocanvas2.SlackBuild16
-rw-r--r--graphics/gource/gource.SlackBuild22
-rw-r--r--graphics/gource/gource.info8
-rw-r--r--graphics/gpaint/gpaint.SlackBuild47
-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/README9
-rw-r--r--graphics/gpicview/gpicview.SlackBuild22
-rw-r--r--graphics/gpscorrelate/README14
-rw-r--r--graphics/gpscorrelate/gpscorrelate.SlackBuild26
-rw-r--r--graphics/gpscorrelate/gpscorrelate.info8
-rw-r--r--graphics/gqview/README4
-rw-r--r--graphics/gqview/doinst.sh3
-rw-r--r--graphics/gqview/gqview.SlackBuild (renamed from graphics/digikam/digikam.SlackBuild)125
-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.SlackBuild91
-rw-r--r--graphics/grafx2/grafx2.info6
-rw-r--r--graphics/grafx2/slack-desc4
-rw-r--r--graphics/graph-easy/README15
-rw-r--r--graphics/graph-easy/graph-easy.SlackBuild28
-rw-r--r--graphics/graphene/README22
-rw-r--r--graphics/graphene/graphene.info10
-rw-r--r--graphics/graphite2/README10
-rw-r--r--graphics/graphite2/graphite2.info10
-rw-r--r--graphics/graphviz/README6
-rw-r--r--graphics/graphviz/ghostscript918.patch18
-rw-r--r--graphics/graphviz/graphviz.SlackBuild45
-rw-r--r--graphics/graphviz/graphviz.info10
-rw-r--r--graphics/graphviz/graphviz.ini2
-rw-r--r--graphics/graphviz/php_5.4_compat.patch17
-rw-r--r--graphics/gscan2pdf/README2
-rw-r--r--graphics/gscan2pdf/gscan2pdf.SlackBuild20
-rw-r--r--graphics/gscan2pdf/gscan2pdf.info10
-rw-r--r--graphics/gthumb/README8
-rw-r--r--graphics/gthumb/gthumb.SlackBuild67
-rw-r--r--graphics/gthumb/gthumb.info8
-rw-r--r--graphics/gthumb/slack-desc6
-rw-r--r--graphics/gtkam/gtkam.SlackBuild27
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild24
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.info6
-rw-r--r--graphics/hp2xx/README14
-rw-r--r--graphics/hp2xx/doinst.sh6
-rw-r--r--graphics/hp2xx/hp2xx.SlackBuild32
-rw-r--r--graphics/hp2xx/hp2xx.info2
-rw-r--r--graphics/hugin/hugin.SlackBuild40
-rw-r--r--graphics/hugin/hugin.info6
-rw-r--r--graphics/icc_profiles/icc_profiles.SlackBuild21
-rw-r--r--graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild16
-rw-r--r--graphics/img2pdf/README11
-rw-r--r--graphics/img2pdf/img2pdf.SlackBuild16
-rw-r--r--graphics/img2pdf/slack-desc12
-rw-r--r--graphics/imgcurses/README18
-rw-r--r--graphics/imgcurses/git2tarxz.sh44
-rw-r--r--graphics/imgcurses/imgcurses.179
-rw-r--r--graphics/imgcurses/imgcurses.SlackBuild81
-rw-r--r--graphics/imgcurses/imgcurses.info10
-rw-r--r--graphics/imgcurses/imgcurses.rst68
-rw-r--r--graphics/imgcurses/slack-desc (renamed from graphics/rawstudio/slack-desc)22
-rw-r--r--graphics/imgmin/README36
-rw-r--r--graphics/imgmin/imgmin.SlackBuild41
-rw-r--r--graphics/imgp/imgp.SlackBuild26
-rw-r--r--graphics/imgp/imgp.info8
-rw-r--r--graphics/implot/CMakeLists.txt52
-rw-r--r--graphics/implot/README7
-rw-r--r--graphics/implot/implot.SlackBuild (renamed from graphics/graphite2/graphite2.SlackBuild)47
-rw-r--r--graphics/implot/implot.info10
-rw-r--r--graphics/implot/slack-desc (renamed from graphics/mlbrot/slack-desc)22
-rw-r--r--graphics/imv/README29
-rw-r--r--graphics/imv/imv.SlackBuild127
-rw-r--r--graphics/imv/imv.info12
-rw-r--r--graphics/imv/slack-desc2
-rw-r--r--graphics/imv/squelch_libtiff_warnings.diff44
-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.SlackBuild (renamed from graphics/k3d/k3d.SlackBuild)83
-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/README2
-rw-r--r--graphics/inkscape/inkscape.SlackBuild90
-rw-r--r--graphics/inkscape/inkscape.info8
-rw-r--r--graphics/inkscape/libxml2-2.12.patch33
-rw-r--r--graphics/ipe/ipe.SlackBuild64
-rw-r--r--graphics/ipe/ipe.info4
-rw-r--r--graphics/ipe/slack-desc6
-rw-r--r--graphics/jUploadr/jUploadr.SlackBuild16
-rw-r--r--graphics/jUploadr/jUploadr.info2
-rw-r--r--graphics/jhead/README4
-rw-r--r--graphics/jhead/jhead.SlackBuild30
-rw-r--r--graphics/jhead/jhead.info12
-rw-r--r--graphics/jhead/slack-desc2
-rw-r--r--graphics/jp2a/README4
-rw-r--r--graphics/jp2a/jp2a.SlackBuild16
-rw-r--r--graphics/jpeg2ps/README18
-rw-r--r--graphics/jpeg2ps/jpeg2ps.SlackBuild22
-rw-r--r--graphics/jpegoptim/README8
-rw-r--r--graphics/jpegoptim/jpegoptim.SlackBuild59
-rw-r--r--graphics/jpegoptim/jpegoptim.info8
-rw-r--r--graphics/jpegoptim/slack-desc12
-rw-r--r--graphics/k3d/README13
-rw-r--r--graphics/k3d/k3d.desktop11
-rw-r--r--graphics/k3d/k3d.info10
-rw-r--r--graphics/kColorPicker/README5
-rw-r--r--graphics/kColorPicker/kColorPicker.SlackBuild (renamed from graphics/qrencode/qrencode.SlackBuild)74
-rw-r--r--graphics/kColorPicker/kColorPicker.info10
-rw-r--r--graphics/kColorPicker/slack-desc (renamed from graphics/teighaviewer/slack-desc)22
-rw-r--r--graphics/kImageAnnotator/README3
-rw-r--r--graphics/kImageAnnotator/kImageAnnotator.SlackBuild (renamed from graphics/gnome-web-photo/gnome-web-photo.SlackBuild)83
-rw-r--r--graphics/kImageAnnotator/kImageAnnotator.info10
-rw-r--r--graphics/kImageAnnotator/slack-desc (renamed from graphics/gnome-web-photo/slack-desc)22
-rw-r--r--graphics/kamerka/README6
-rw-r--r--graphics/kamerka/doinst.sh3
-rw-r--r--graphics/kamerka/kamerka.info10
-rw-r--r--graphics/kamerka/slack-desc19
-rw-r--r--graphics/kim4/kim4.SlackBuild22
-rw-r--r--graphics/klayout/README22
-rw-r--r--graphics/klayout/doinst.sh (renamed from graphics/discwrapper/doinst.sh)7
-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/kphotoalbum/README5
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild31
-rw-r--r--graphics/kphotoalbum/kphotoalbum.info6
-rw-r--r--graphics/ksnip/README2
-rw-r--r--graphics/ksnip/doinst.sh8
-rw-r--r--graphics/ksnip/ksnip.SlackBuild (renamed from graphics/photoprint/photoprint.SlackBuild)83
-rw-r--r--graphics/ksnip/ksnip.info10
-rw-r--r--graphics/ksnip/slack-desc19
-rw-r--r--graphics/kuickshow/README12
-rw-r--r--graphics/kuickshow/kuickshow.SlackBuild33
-rw-r--r--graphics/kuickshow/kuickshow.info6
-rw-r--r--graphics/lcdtest/lcdtest.SlackBuild18
-rw-r--r--graphics/lddot/README11
-rw-r--r--graphics/lddot/lddot.SlackBuild23
-rw-r--r--graphics/lddot/lddot.info4
-rw-r--r--graphics/ldglite/ldglite.SlackBuild22
-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.SlackBuild24
-rw-r--r--graphics/leocad/leocad.info6
-rw-r--r--graphics/leocad_pieces/README3
-rw-r--r--graphics/leocad_pieces/leocad_pieces.SlackBuild22
-rw-r--r--graphics/leocad_pieces/leocad_pieces.info6
-rw-r--r--graphics/libfpx/README13
-rw-r--r--graphics/libfpx/export-symbols.patch14
-rw-r--r--graphics/libfpx/libfpx.SlackBuild45
-rw-r--r--graphics/libfpx/libfpx.info4
-rw-r--r--graphics/libplacebo/README5
-rw-r--r--graphics/libplacebo/libplacebo.SlackBuild21
-rw-r--r--graphics/libplacebo/libplacebo.info12
-rw-r--r--graphics/libplacebo/use_meson-0.59.4.diff11
-rw-r--r--graphics/librecad/0003-add-boost-tuple-include-to-fix-build.patch29
-rw-r--r--graphics/librecad/librecad.SlackBuild19
-rw-r--r--graphics/librecad/librecad.info2
-rw-r--r--graphics/lilypond/README8
-rw-r--r--graphics/lilypond/doinst.sh6
-rw-r--r--graphics/lilypond/lilypond.SlackBuild61
-rw-r--r--graphics/lilypond/lilypond.info10
-rw-r--r--graphics/luminance-hdr/README4
-rw-r--r--graphics/luminance-hdr/luminance-hdr.SlackBuild31
-rw-r--r--graphics/luminance-hdr/luminance-hdr.info8
-rw-r--r--graphics/luxcorerender/README40
-rw-r--r--graphics/luxcorerender/application-x-luxcore.svg (renamed from graphics/luxrender/application-x-lux.svg)0
-rw-r--r--graphics/luxcorerender/doinst.sh (renamed from graphics/luxrender/doinst.sh)5
-rw-r--r--graphics/luxcorerender/luxcore.svg (renamed from graphics/luxrender/luxrender.svg)0
-rw-r--r--graphics/luxcorerender/luxcorerender.SlackBuild (renamed from graphics/luxrender/luxrender.SlackBuild)119
-rw-r--r--graphics/luxcorerender/luxcorerender.info10
-rw-r--r--graphics/luxcorerender/luxcoreui.desktop9
-rw-r--r--graphics/luxcorerender/mime-luxcore.xml (renamed from graphics/luxrender/mime-lux.xml)2
-rw-r--r--graphics/luxcorerender/pyluxcoretools.desktop9
-rw-r--r--graphics/luxcorerender/pyluxcoretools.sh11
-rw-r--r--graphics/luxcorerender/slack-desc19
-rw-r--r--graphics/luxrender/README46
-rw-r--r--graphics/luxrender/luxrender.desktop9
-rw-r--r--graphics/luxrender/luxrender.info12
-rw-r--r--graphics/lximage-qt/README2
-rw-r--r--graphics/lximage-qt/doinst.sh9
-rw-r--r--graphics/lximage-qt/lximage-qt.SlackBuild (renamed from graphics/kamerka/kamerka.SlackBuild)42
-rw-r--r--graphics/lximage-qt/lximage-qt.info10
-rw-r--r--graphics/lximage-qt/slack-desc (renamed from graphics/photoprint/slack-desc)22
-rw-r--r--graphics/maim/README8
-rw-r--r--graphics/maim/maim.SlackBuild30
-rw-r--r--graphics/maim/maim.info12
-rw-r--r--graphics/makehuman/README5
-rw-r--r--graphics/makehuman/makehuman.SlackBuild40
-rw-r--r--graphics/makehuman/makehuman.info8
-rw-r--r--graphics/mangohud/README17
-rw-r--r--graphics/mangohud/doinst.sh5
-rw-r--r--graphics/mangohud/mangohud.SlackBuild170
-rw-r--r--graphics/mangohud/mangohud.info18
-rw-r--r--graphics/mangohud/slack-desc19
-rw-r--r--graphics/mapcrafter/mapcrafter.SlackBuild16
-rw-r--r--graphics/mcomix/README26
-rw-r--r--graphics/mcomix/doinst.sh6
-rw-r--r--graphics/mcomix/mcomix.SlackBuild109
-rw-r--r--graphics/mcomix/mcomix.info14
-rw-r--r--graphics/mcomix/slack-desc12
-rw-r--r--graphics/meh/README2
-rw-r--r--graphics/meh/meh.SlackBuild22
-rw-r--r--graphics/meh/meh.info2
-rw-r--r--graphics/meh/slack-desc2
-rw-r--r--graphics/meshlab/README12
-rw-r--r--graphics/meshlab/doinst.sh6
-rw-r--r--graphics/meshlab/lapack.patch11
-rw-r--r--graphics/meshlab/meshlab.SlackBuild132
-rw-r--r--graphics/meshlab/meshlab.desktop13
-rw-r--r--graphics/meshlab/meshlab.info12
-rw-r--r--graphics/meshlab/meshlab_32x32.xpm118
-rw-r--r--graphics/meshlab/meshlab_48x48.xpm170
-rw-r--r--graphics/meshlab/patches/1e2a54cee2fcb2f0fc15fd83c1014e1813eb75df.patch79
-rw-r--r--graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch28
-rw-r--r--graphics/meshlab/patches/bzip2.patch26
-rw-r--r--graphics/meshlab/patches/lapack.patch11
-rw-r--r--graphics/meshlab/patches/levmar.patch112
-rw-r--r--graphics/meshlab/patches/mpir.patch16
-rw-r--r--graphics/meshlab/patches/muparser.patch14
-rw-r--r--graphics/meshlab/plystuff.diff13
-rw-r--r--graphics/meshlab/slack-desc2
-rw-r--r--graphics/metapixel/metapixel.SlackBuild22
-rw-r--r--graphics/mftrace/mftrace.SlackBuild23
-rw-r--r--graphics/mftrace/mftrace.info2
-rw-r--r--graphics/mirage/mirage.SlackBuild20
-rw-r--r--graphics/mirage/mirage.info8
-rw-r--r--graphics/mitsuba-blender/README20
-rw-r--r--graphics/mitsuba-blender/mitsuba-blender.SlackBuild57
-rw-r--r--graphics/mitsuba-blender/mitsuba-blender.info10
-rw-r--r--graphics/mitsuba-blender/slack-desc19
-rw-r--r--graphics/mitsuba/README17
-rw-r--r--graphics/mitsuba/doinst.sh4
-rw-r--r--graphics/mitsuba/mitsuba.SlackBuild117
-rw-r--r--graphics/mitsuba/slack-desc19
-rw-r--r--graphics/mitsuba2/32bit.diff22
-rw-r--r--graphics/mitsuba2/README31
-rw-r--r--graphics/mitsuba2/doinst.sh (renamed from graphics/fotoxx/doinst.sh)0
-rw-r--r--graphics/mitsuba2/mitsuba2.SlackBuild114
-rw-r--r--graphics/mitsuba2/mitsuba2.info (renamed from graphics/mitsuba/mitsuba.info)10
-rw-r--r--graphics/mitsuba2/slack-desc19
-rw-r--r--graphics/mlbrot/README5
-rw-r--r--graphics/mlbrot/mlbrot.SlackBuild58
-rw-r--r--graphics/mlbrot/mlbrot.info10
-rw-r--r--graphics/mozjpeg/README73
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild211
-rw-r--r--graphics/mozjpeg/mozjpeg.info8
-rw-r--r--graphics/mozjpeg/mozjpeg.sh8
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild37
-rw-r--r--graphics/mtpaint/mtpaint.info8
-rw-r--r--graphics/mypaint-brushes2/README4
-rw-r--r--graphics/mypaint-brushes2/mypaint-brushes2.SlackBuild (renamed from graphics/yesplz/yesplz.SlackBuild)73
-rw-r--r--graphics/mypaint-brushes2/mypaint-brushes2.info10
-rw-r--r--graphics/mypaint-brushes2/slack-desc19
-rw-r--r--graphics/mypaint/mypaint.SlackBuild50
-rw-r--r--graphics/mypaint/mypaint.info10
-rw-r--r--graphics/nomacs/nomacs.SlackBuild30
-rw-r--r--graphics/nomacs/nomacs.info14
-rw-r--r--graphics/nsxiv/README15
-rw-r--r--graphics/nsxiv/doinst.sh13
-rw-r--r--graphics/nsxiv/nsxiv.SlackBuild (renamed from graphics/photivo/photivo.SlackBuild)53
-rw-r--r--graphics/nsxiv/nsxiv.info10
-rw-r--r--graphics/nsxiv/slack-desc19
-rw-r--r--graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild16
-rw-r--r--graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.info2
-rw-r--r--graphics/nvidia-texture-tools/README8
-rw-r--r--graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild27
-rw-r--r--graphics/openclipart/README7
-rw-r--r--graphics/openclipart/openclipart.SlackBuild16
-rw-r--r--graphics/opencollada/README34
-rw-r--r--graphics/opencollada/no_werror.diff11
-rw-r--r--graphics/opencollada/opencollada.SlackBuild26
-rw-r--r--graphics/opencollada/pcre.patch13
-rw-r--r--graphics/opencolorio/README11
-rw-r--r--graphics/opencolorio/opencolorio.SlackBuild99
-rw-r--r--graphics/opencolorio/opencolorio.info8
-rw-r--r--graphics/openimageio/ffmpeg-5.1.diff37
-rw-r--r--graphics/openimageio/oiio-include-cstdio.diff10
-rw-r--r--graphics/openimageio/oiio-libopenimageio-exif-cpp.diff326
-rw-r--r--graphics/openimageio/openimageio.SlackBuild56
-rw-r--r--graphics/openimageio/openimageio.info10
-rw-r--r--graphics/openimageio/rawinput.diff114
-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-mcad/openscad-mcad.SlackBuild30
-rw-r--r--graphics/openscad-mcad/openscad-mcad.info2
-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/openscad/README6
-rw-r--r--graphics/openscad/openscad.SlackBuild36
-rw-r--r--graphics/openscad/openscad.info8
-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.SlackBuild22
-rw-r--r--graphics/oyranos/README20
-rw-r--r--graphics/oyranos/oyranos.SlackBuild69
-rw-r--r--graphics/oyranos/oyranos.info2
-rw-r--r--graphics/paraview/011_doc_path.diff12
-rw-r--r--graphics/paraview/012_doc_path.diff20
-rw-r--r--graphics/paraview/020_vtkdocs.diff10
-rw-r--r--graphics/paraview/README23
-rw-r--r--graphics/paraview/paraview.SlackBuild85
-rw-r--r--graphics/paraview/paraview.info20
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild19
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info4
-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-desc (renamed from graphics/graphene/slack-desc)22
-rw-r--r--graphics/pdf2png/README7
-rw-r--r--graphics/pdf2png/pdf2png.SlackBuild22
-rw-r--r--graphics/pdf2png/pdf2png.info10
-rw-r--r--graphics/pdf2png/slack-desc2
-rw-r--r--graphics/pdf2svg/pdf2svg.SlackBuild16
-rw-r--r--graphics/peek/README16
-rw-r--r--graphics/peek/doinst.sh16
-rw-r--r--graphics/peek/peek.SlackBuild108
-rw-r--r--graphics/peek/peek.info10
-rw-r--r--graphics/peek/slack-desc19
-rw-r--r--graphics/pencil2d/pencil2d.SlackBuild16
-rw-r--r--graphics/pencil2d/pencil2d.info2
-rw-r--r--graphics/pencil3/README20
-rw-r--r--graphics/pencil3/pencil3.SlackBuild22
-rw-r--r--graphics/pencil3/pencil3.info6
-rw-r--r--graphics/phatch/phatch.SlackBuild16
-rw-r--r--graphics/pho/README8
-rw-r--r--graphics/pho/pho.SlackBuild22
-rw-r--r--graphics/photivo/README11
-rw-r--r--graphics/photivo/doinst.sh3
-rw-r--r--graphics/photivo/photivo.info10
-rw-r--r--graphics/photivo/slack-desc19
-rw-r--r--graphics/photoprint/README3
-rw-r--r--graphics/photoprint/photoprint.info10
-rw-r--r--graphics/photoqt/README3
-rw-r--r--graphics/photoqt/photoqt.SlackBuild29
-rw-r--r--graphics/photoqt/photoqt.info8
-rw-r--r--graphics/phototonic/phototonic.SlackBuild16
-rw-r--r--graphics/phototonic/phototonic.info2
-rw-r--r--graphics/plotutils/plotutils.SlackBuild18
-rw-r--r--graphics/png2ico/README6
-rw-r--r--graphics/png2ico/png2ico.SlackBuild16
-rw-r--r--graphics/pngcrush/README8
-rw-r--r--graphics/pngcrush/pngcrush.SlackBuild18
-rw-r--r--graphics/pngquant/README3
-rw-r--r--graphics/pngquant/pngquant.SlackBuild45
-rw-r--r--graphics/posterazor/README6
-rw-r--r--graphics/posterazor/posterazor.SlackBuild125
-rw-r--r--graphics/posterazor/posterazor.info10
-rw-r--r--graphics/posterazor/slack-desc (renamed from graphics/draftsight/slack-desc)22
-rw-r--r--graphics/potrace/README25
-rw-r--r--graphics/potrace/potrace.SlackBuild23
-rw-r--r--graphics/povray/README6
-rw-r--r--graphics/povray/doinst.sh10
-rw-r--r--graphics/povray/povray.SlackBuild83
-rw-r--r--graphics/povray/povray.info6
-rw-r--r--graphics/povray/prebuild.patch23
-rw-r--r--graphics/pqiv/README4
-rw-r--r--graphics/pqiv/pqiv.SlackBuild67
-rw-r--r--graphics/pqiv/pqiv.info6
-rw-r--r--graphics/pqiv/slack-desc4
-rw-r--r--graphics/pr0ntools/pr0ntools.SlackBuild16
-rw-r--r--graphics/psftools/psftools.SlackBuild16
-rw-r--r--graphics/psftools/psftools.info6
-rw-r--r--graphics/pyformex/pyformex.SlackBuild35
-rw-r--r--graphics/pyformex/pyformex.info4
-rw-r--r--graphics/pygifme/README5
-rw-r--r--graphics/pygifme/pygifme.info10
-rw-r--r--graphics/pygifme/slack-desc19
-rw-r--r--graphics/pygraphviz/README5
-rw-r--r--graphics/pygraphviz/pygraphviz.SlackBuild16
-rw-r--r--graphics/python3-gds3xtrude/README7
-rw-r--r--graphics/python3-gds3xtrude/python3-gds3xtrude.SlackBuild (renamed from graphics/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild)47
-rw-r--r--graphics/python3-gds3xtrude/python3-gds3xtrude.info10
-rw-r--r--graphics/python3-gds3xtrude/slack-desc19
-rw-r--r--graphics/qcad/README15
-rw-r--r--graphics/qcad/qcad.SlackBuild24
-rw-r--r--graphics/qcad/qcad.info6
-rw-r--r--graphics/qcomicbook/README20
-rw-r--r--graphics/qcomicbook/doinst.sh5
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild100
-rw-r--r--graphics/qcomicbook/qcomicbook.info12
-rw-r--r--graphics/qcomicbook/slack-desc14
-rw-r--r--graphics/qcustomplot/README5
-rw-r--r--graphics/qcustomplot/doinst.sh (renamed from graphics/freewrl/doinst.sh)0
-rw-r--r--graphics/qcustomplot/qcustomplot.SlackBuild130
-rw-r--r--graphics/qcustomplot/qcustomplot.info12
-rw-r--r--graphics/qcustomplot/slack-desc (renamed from graphics/SPIRV-Tools/slack-desc)22
-rw-r--r--graphics/qelectrotech/qelectrotech.SlackBuild31
-rw-r--r--graphics/qelectrotech/qelectrotech.info8
-rw-r--r--graphics/qimgv/README10
-rw-r--r--graphics/qimgv/doinst.sh (renamed from graphics/photoprint/doinst.sh)0
-rw-r--r--graphics/qimgv/qimgv.SlackBuild (renamed from graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild)61
-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.SlackBuild31
-rw-r--r--graphics/qiv/qiv.info10
-rw-r--r--graphics/qrencode/README4
-rw-r--r--graphics/qrencode/qrencode.info10
-rw-r--r--graphics/qrencode/slack-desc19
-rw-r--r--graphics/ralcgm/ralcgm.SlackBuild15
-rw-r--r--graphics/ralcgm/ralcgm.info2
-rw-r--r--graphics/raw-thumbnailer/README2
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild17
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.info2
-rw-r--r--graphics/rawstudio/README2
-rw-r--r--graphics/rawstudio/doinst.sh4
-rw-r--r--graphics/rawstudio/patches/lensfun03.patch11
-rw-r--r--graphics/rawstudio/patches/libpng15.patch40
-rw-r--r--graphics/rawstudio/rawstudio.SlackBuild117
-rw-r--r--graphics/rawstudio/rawstudio.info10
-rw-r--r--graphics/rawtherapee-haldclut/README6
-rw-r--r--graphics/rawtherapee-haldclut/rawtherapee-haldclut.SlackBuild (renamed from graphics/wayland-protocols/wayland-protocols.SlackBuild)43
-rw-r--r--graphics/rawtherapee-haldclut/rawtherapee-haldclut.info10
-rw-r--r--graphics/rawtherapee-haldclut/slack-desc19
-rw-r--r--graphics/rawtherapee/README4
-rw-r--r--graphics/rawtherapee/rawtherapee.SlackBuild18
-rw-r--r--graphics/rawtherapee/rawtherapee.info8
-rw-r--r--graphics/renderdoc/README3
-rw-r--r--graphics/renderdoc/renderdoc.SlackBuild16
-rw-r--r--graphics/resynthesizer/resynthesizer.SlackBuild16
-rw-r--r--graphics/ristretto/ristretto.SlackBuild20
-rw-r--r--graphics/ristretto/ristretto.info8
-rw-r--r--graphics/scantailor-advanced/README10
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.SlackBuild31
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.info10
-rw-r--r--graphics/scantailor-advanced/slack-desc2
-rw-r--r--graphics/scantailor/README6
-rw-r--r--graphics/scantailor/scantailor.SlackBuild86
-rw-r--r--graphics/scantailor/scantailor.desktop11
-rw-r--r--graphics/scantailor/scantailor.info10
-rw-r--r--graphics/scantailor/slack-desc19
-rw-r--r--graphics/scour/scour.SlackBuild16
-rw-r--r--graphics/screencloud/010-screencloud-fix-python-link-libraries.patch38
-rw-r--r--graphics/screencloud/screencloud.SlackBuild91
-rw-r--r--graphics/screencloud/screencloud.info12
-rw-r--r--graphics/screengrab/doinst.sh6
-rw-r--r--graphics/screengrab/screengrab.SlackBuild37
-rw-r--r--graphics/screengrab/screengrab.info10
-rw-r--r--graphics/scrot/README7
-rw-r--r--graphics/scrot/scrot.SlackBuild18
-rw-r--r--graphics/scrot/scrot.info12
-rw-r--r--graphics/separate+/README5
-rw-r--r--graphics/separate+/separate+.SlackBuild81
-rw-r--r--graphics/separate+/separate+.info10
-rw-r--r--graphics/separate+/slack-desc19
-rw-r--r--graphics/shaderc/README2
-rw-r--r--graphics/shaderc/shaderc.info10
-rw-r--r--graphics/shalbum/shalbum.SlackBuild16
-rw-r--r--graphics/shotwell/shotwell.SlackBuild20
-rw-r--r--graphics/shotwell/shotwell.info2
-rw-r--r--graphics/shutter/shutter.SlackBuild16
-rw-r--r--graphics/shutter/shutter.info2
-rw-r--r--graphics/simple-scan/README8
-rw-r--r--graphics/simple-scan/simple-scan.SlackBuild59
-rw-r--r--graphics/simple-scan/simple-scan.info14
-rw-r--r--graphics/simple-scan/slack-desc10
-rw-r--r--graphics/sng/sng.SlackBuild16
-rw-r--r--graphics/stltools/README5
-rw-r--r--graphics/stltools/slack-desc19
-rw-r--r--graphics/stltools/stltools.SlackBuild (renamed from graphics/graphene/graphene.SlackBuild)64
-rw-r--r--graphics/stltools/stltools.info10
-rw-r--r--graphics/svp/svp.SlackBuild22
-rw-r--r--graphics/swappy/README7
-rw-r--r--graphics/swappy/doinst.sh9
-rw-r--r--graphics/swappy/slack-desc (renamed from graphics/yesplz/slack-desc)22
-rw-r--r--graphics/swappy/swappy.SlackBuild130
-rw-r--r--graphics/swappy/swappy.info10
-rw-r--r--graphics/sxiv/sxiv.SlackBuild16
-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/tclblt/README6
-rw-r--r--graphics/tclblt/tclblt.SlackBuild61
-rw-r--r--graphics/teighafileconverter/teighafileconverter.SlackBuild29
-rw-r--r--graphics/teighafileconverter/teighafileconverter.info4
-rw-r--r--graphics/teighaviewer/README8
-rw-r--r--graphics/teighaviewer/README_maintainer.txt19
-rw-r--r--graphics/teighaviewer/teighaviewer.SlackBuild79
-rw-r--r--graphics/teighaviewer/teighaviewer.info10
-rw-r--r--graphics/teighaviewer/teighaviewer.sh3
-rw-r--r--graphics/tesseract/README21
-rw-r--r--graphics/tesseract/tesseract.SlackBuild31
-rw-r--r--graphics/tesseract/tesseract.info8
-rw-r--r--graphics/textext/textext.SlackBuild22
-rw-r--r--graphics/textext/textext.info2
-rw-r--r--graphics/tgif-QPL/README8
-rw-r--r--graphics/tgif-QPL/tgif-QPL.SlackBuild16
-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-desc (renamed from graphics/fotoxx/slack-desc)22
-rw-r--r--graphics/tikzit/tikzit.SlackBuild96
-rw-r--r--graphics/tikzit/tikzit.info10
-rw-r--r--graphics/tintii/tintii.SlackBuild32
-rw-r--r--graphics/tintii/tintii.desktop2
-rw-r--r--graphics/tkpng/README10
-rw-r--r--graphics/tkpng/tkpng.SlackBuild22
-rw-r--r--graphics/triangulizor/triangulizor.SlackBuild16
-rw-r--r--graphics/trimage/README15
-rw-r--r--graphics/trimage/trimage.SlackBuild16
-rw-r--r--graphics/trimage/trimage.info2
-rw-r--r--graphics/ttfautohint/README36
-rw-r--r--graphics/ttfautohint/slack-desc19
-rw-r--r--graphics/ttfautohint/ttfautohint.SlackBuild (renamed from graphics/freewrl/freewrl.SlackBuild)65
-rw-r--r--graphics/ttfautohint/ttfautohint.info10
-rw-r--r--graphics/ttyload/ttyload.SlackBuild16
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild38
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.info10
-rw-r--r--graphics/tuxpaint/README5
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild41
-rw-r--r--graphics/tuxpaint/tuxpaint.info14
-rw-r--r--graphics/ueberzug/README3
-rw-r--r--graphics/ueberzug/slack-desc4
-rw-r--r--graphics/ueberzug/ueberzug.SlackBuild78
-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/ufraw/README17
-rw-r--r--graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch14
-rw-r--r--graphics/ufraw/patches/CVE-2015-8366.patch17
-rw-r--r--graphics/ufraw/patches/gcc7.patch15
-rw-r--r--graphics/ufraw/patches/no-gimp-remote.patch12
-rw-r--r--graphics/ufraw/slack-desc2
-rw-r--r--graphics/ufraw/ufraw.SlackBuild29
-rw-r--r--graphics/ufraw/ufraw.info10
-rw-r--r--graphics/uniconvertor/uniconvertor.SlackBuild16
-rw-r--r--graphics/unpaper/README51
-rw-r--r--graphics/unpaper/unpaper-7.0.0-no-sphinx.patch21
-rw-r--r--graphics/unpaper/unpaper.SlackBuild87
-rw-r--r--graphics/unpaper/unpaper.info8
-rw-r--r--graphics/urbanlightscape/urbanlightscape.SlackBuild32
-rw-r--r--graphics/urbanlightscape/urbanlightscape.desktop2
-rw-r--r--graphics/veles/README4
-rw-r--r--graphics/veles/veles.SlackBuild16
-rw-r--r--graphics/veles/veles.info2
-rw-r--r--graphics/viewnior/exiv2-0.28.patch145
-rw-r--r--graphics/viewnior/viewnior.SlackBuild37
-rw-r--r--graphics/viewnior/viewnior.info10
-rw-r--r--graphics/vimiv-qt/README7
-rw-r--r--graphics/vimiv-qt/doinst.sh (renamed from graphics/teighaviewer/doinst.sh)1
-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/README13
-rw-r--r--graphics/vips/vips.SlackBuild60
-rw-r--r--graphics/vips/vips.info10
-rw-r--r--graphics/vsxu/vsxu.SlackBuild16
-rw-r--r--graphics/vsxu/vsxu.info2
-rw-r--r--graphics/vuescan/vuescan.SlackBuild74
-rw-r--r--graphics/vuescan/vuescan.info14
-rw-r--r--graphics/vulkan-sdk-bin/README17
-rw-r--r--graphics/vulkan-sdk-bin/slack-desc19
-rw-r--r--graphics/vulkan-sdk-bin/vulkan-sdk-bin.info10
-rw-r--r--graphics/vulkan-sdk/README11
-rw-r--r--graphics/vulkan-sdk/slack-desc19
-rw-r--r--graphics/vulkan-sdk/vulkan-loader-cmake.patch13
-rw-r--r--graphics/vulkan-sdk/vulkan-sdk.SlackBuild217
-rw-r--r--graphics/vulkan-sdk/vulkan-sdk.info18
-rw-r--r--graphics/wavelet-denoise/README10
-rw-r--r--graphics/wavelet-denoise/wavelet-denoise.SlackBuild58
-rw-r--r--graphics/wavelet-denoise/wavelet-denoise.info2
-rw-r--r--graphics/wayland-protocols/README9
-rw-r--r--graphics/wayland-protocols/slack-desc19
-rw-r--r--graphics/wayland-protocols/wayland-protocols.info10
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild34
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.info10
-rw-r--r--graphics/white_dune/white_dune.SlackBuild16
-rw-r--r--graphics/white_dune/white_dune.info2
-rw-r--r--graphics/whyteboard/README24
-rw-r--r--graphics/whyteboard/whyteboard.SlackBuild16
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild18
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.info8
-rw-r--r--graphics/xbmbrowser/xbmbrowser.SlackBuild23
-rw-r--r--graphics/xbmbrowser/xbmbrowser.info4
-rw-r--r--graphics/xcalib/README15
-rw-r--r--graphics/xcalib/slack-desc2
-rw-r--r--graphics/xcalib/xcalib.SlackBuild31
-rw-r--r--graphics/xcalib/xcalib.info8
-rw-r--r--graphics/xcf-pixbuf-loader/README6
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild15
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.info2
-rw-r--r--graphics/xcur2png/xcur2png.SlackBuild15
-rw-r--r--graphics/xcur2png/xcur2png.info2
-rw-r--r--graphics/xdaliclock/xdaliclock.SlackBuild16
-rw-r--r--graphics/xdot/README7
-rw-r--r--graphics/xdot/xdot.SlackBuild27
-rw-r--r--graphics/xdot/xdot.info8
-rw-r--r--graphics/xfishtank/xfishtank.SlackBuild18
-rw-r--r--graphics/xfishtank/xfishtank.info4
-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/README16
-rw-r--r--graphics/xli/xli.SlackBuild22
-rw-r--r--graphics/xli/xli.info4
-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/slack-desc2
-rw-r--r--graphics/xmedcon/xmedcon.SlackBuild34
-rw-r--r--graphics/xmedcon/xmedcon.info10
-rw-r--r--graphics/xpe/xpe.SlackBuild32
-rw-r--r--graphics/xpe/xpe.desktop2
-rw-r--r--graphics/xzgv/doinst.sh10
-rw-r--r--graphics/xzgv/douninst.sh22
-rw-r--r--graphics/xzgv/xzgv.SlackBuild147
-rw-r--r--graphics/xzgv/xzgv.info12
-rw-r--r--graphics/yacreader/README3
-rw-r--r--graphics/yacreader/yacreader.SlackBuild22
-rw-r--r--graphics/yacreader/yacreader.info8
-rw-r--r--graphics/yafaray-blender/README13
-rw-r--r--graphics/yafaray-blender/yafaray-blender.SlackBuild44
-rw-r--r--graphics/yafaray-blender/yafaray-blender.info6
-rw-r--r--graphics/yafaray/README17
-rw-r--r--graphics/yafaray/yafaray.SlackBuild116
-rw-r--r--graphics/yafaray/yafaray.info6
-rw-r--r--graphics/yagf/yagf.SlackBuild22
-rw-r--r--graphics/yagf/yagf.info2
-rw-r--r--graphics/yed/slack-desc2
-rw-r--r--graphics/yed/yed.SlackBuild20
-rw-r--r--graphics/yed/yed.info10
-rw-r--r--graphics/yesplz/README31
-rw-r--r--graphics/yesplz/yesplz.info10
-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/zbar/README2
-rw-r--r--graphics/zbar/zbar.SlackBuild28
-rw-r--r--graphics/zbar/zbar.info6
-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
-rw-r--r--graphics/zgv/README10
-rw-r--r--graphics/zgv/zgv.SlackBuild16
1016 files changed, 16947 insertions, 9624 deletions
diff --git a/graphics/shaderc/shaderc.SlackBuild b/graphics/ART/ART.SlackBuild
index 9cb723fb0e..a5b19b3344 100644
--- a/graphics/shaderc/shaderc.SlackBuild
+++ b/graphics/ART/ART.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for shaderc
+# Slackware build script for ART
-# Copyright 2018-2020 Hunter Sezen California, USA
+# Copyright 2023 Daniel Prosser, Lexington Park, MD
# 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.
-PRGNAM=shaderc
-VERSION=${VERSION:-2020.4}
+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
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,13 +61,13 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,44 +76,39 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Disable examples. third party code and git versioning (From AUR).
-sed -i '/examples/d;/third_party/d' CMakeLists.txt
-sed -i '/build-version/d' glslc/CMakeLists.txt
-
-glslang_version="$(glslangValidator -v | grep 'Glslang Version')"
-
-# Create build-version.inc since git versioning is disabled.
-# This is displayed with 'glslc --version'.
-cat > glslc/src/build-version.inc <<EOF
- "shaderc $VERSION\\n"
- "SPIRV-Tools-$(pkg-config --modversion SPIRV-Tools)\\n"
- "glslang-${glslang_version##* }\\n"
-EOF
+# 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 -I/usr/include/glslang" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -DSHADERC_SKIP_TESTS=ON \
- -DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS CHANGES CONTRIBUTING.md CONTRIBUTORS LICENSE README.md \
+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:-tgz}
+/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/Alchemy/doinst.sh b/graphics/ART/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/graphics/Alchemy/doinst.sh
+++ b/graphics/ART/doinst.sh
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/Alchemy/Alchemy.SlackBuild b/graphics/Alchemy/Alchemy.SlackBuild
deleted file mode 100644
index c82e13f80d..0000000000
--- a/graphics/Alchemy/Alchemy.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Alchemy
-
-# Copyright 2012 Giorgio Peron Campodarsego, PD, Italy giorgio.peron@gmail.com
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=Alchemy
-VERSION=${VERSION:-008}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=${ARCH:-$(uname -m)}
-case "$ARCH" in
- i?86) SRCSUFFIX=""
- LIBDIRSUFFIX=""
- ;;
- x86_64) SRCSUFFIX="-x86_64"
- LIBDIRSUFFIX="64"
- ;;
- *) echo "$ARCH is not supported"
- exit 1
- ;;
-esac
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/Alchemy-$VERSION.tar.gz
-cd $PRGNAM
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/share/$PRGNAM
-cp -r {modules,shapes} $PKG/usr/share/$PRGNAM
-cp {Alchemy,Alchemy.jar,AlchemyOpenGL} $PKG/usr/share/$PRGNAM
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
-cp lib/libjpen-2-2$SRCSUFFIX.so $PKG/usr/lib$LIBDIRSUFFIX/
-mkdir -p $PKG/usr/bin
-cp $CWD/files/{alchemy,alchemyOpenGL} $PKG/usr/bin
-chmod +x $PKG/usr/bin/*
-
-# Add a desktop menu entry
-mkdir -p $PKG/usr/share/applications
-cat $CWD/files/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-mkdir -p $PKG/usr/share/icons/hicolor/64x64/apps
-cat $CWD/files/alchemy-logo64.png > $PKG/usr/share/icons/hicolor/64x64/apps/alchemy.png
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING Alchemy.pdf 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
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/Alchemy/Alchemy.info b/graphics/Alchemy/Alchemy.info
deleted file mode 100644
index fd5725fe43..0000000000
--- a/graphics/Alchemy/Alchemy.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Alchemy"
-VERSION="008"
-HOMEPAGE="http://al.chemy.org/"
-DOWNLOAD="http://al.chemy.org/files/Alchemy-008.tar.gz"
-MD5SUM="c900de439c3c2faf9abe17b6f6a55720"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="jdk"
-MAINTAINER="Giorgio Peron"
-EMAIL="giorgio.peron@gmail.com"
diff --git a/graphics/Alchemy/README b/graphics/Alchemy/README
deleted file mode 100644
index 21e2d26695..0000000000
--- a/graphics/Alchemy/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Alchemy is an open drawing project aimed at exploring how we can sketch, draw,
-and create on computers in new ways. Alchemy isn't software for creating
-finished artwork, but rather a sketching environment that focuses on the
-absolute initial stage of the creation process.
-
diff --git a/graphics/Alchemy/files/Alchemy.desktop b/graphics/Alchemy/files/Alchemy.desktop
deleted file mode 100644
index c03e0a6471..0000000000
--- a/graphics/Alchemy/files/Alchemy.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Terminal=false
-Icon=alchemy
-Type=Application
-Categories=Graphics;
-TryExec=alchemy
-Exec=alchemy
-Name=Alchemy
-Comment=Sketching tool
diff --git a/graphics/Alchemy/files/alchemy b/graphics/Alchemy/files/alchemy
deleted file mode 100644
index bdd1b87328..0000000000
--- a/graphics/Alchemy/files/alchemy
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-#cd `dirname $0`
-cd /usr/share/Alchemy
-if [ -n "$JAVA_HOME" ]; then
- $JAVA_HOME/bin/java -jar ./Alchemy.jar $*
-else
- java -jar ./Alchemy.jar $*
-fi
-cd $OLDPWD
diff --git a/graphics/Alchemy/files/alchemy-logo64.png b/graphics/Alchemy/files/alchemy-logo64.png
deleted file mode 100644
index 335b7be7de..0000000000
--- a/graphics/Alchemy/files/alchemy-logo64.png
+++ /dev/null
Binary files differ
diff --git a/graphics/Alchemy/files/alchemyOpenGL b/graphics/Alchemy/files/alchemyOpenGL
deleted file mode 100644
index b9f354a5f9..0000000000
--- a/graphics/Alchemy/files/alchemyOpenGL
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-#cd `dirname $0`
-cd /usr/share/Alchemy
-if [ -n "$JAVA_HOME" ]; then
- $JAVA_HOME/bin/java -client -Xmx256m -Dsun.java2d.opengl=true -jar ./Alchemy.jar $*
-else
- java -client -Xmx256m -Dsun.java2d.opengl=true -jar ./Alchemy.jar $*
-fi
-cd $OLDPWD
diff --git a/graphics/Alchemy/slack-desc b/graphics/Alchemy/slack-desc
deleted file mode 100644
index 8661411649..0000000000
--- a/graphics/Alchemy/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-Alchemy: Alchemy (sketching environment)
-Alchemy:
-Alchemy: Alchemy is an open drawing project aimed at exploring how we can
-Alchemy: sketch, draw, and create on computers in new ways. Alchemy isn't
-Alchemy: software for creating finished artwork, but rather a sketching
-Alchemy: environment that focuses on the absolute initial stage of the
-Alchemy: creation process.
-Alchemy:
-Alchemy: Homepage: http://al.chemy.org/
-Alchemy:
-Alchemy:
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/glslang/slack-desc b/graphics/BOSL2/slack-desc
index 0693d091db..34b3a74f7c 100644
--- a/graphics/glslang/slack-desc
+++ b/graphics/BOSL2/slack-desc
@@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-glslang: glslang (GLSL/ESSL front end, HLSL front end SPIR-V generator)
-glslang:
-glslang: Khronos-reference front end for GLSL/ESSL, partial front end for HLSL,
-glslang: and a SPIR-V generator.
-glslang:
-glslang: Homepage: https://github.com/KhronosGroup/glslang
-glslang:
-glslang:
-glslang:
-glslang:
-glslang:
+ |-----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 4d8d8cb152..93a62dc7a4 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Blender
-# Copyright 2015-2021 Christoph Willing, Brisbane Australia
+# Copyright 2015-2023 Christoph Willing, Brisbane Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,15 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Blender
-VERSION=${VERSION:-2.83.8}
+VERSION=${VERSION:-3.3.10}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=blender
BASE_VERSION=${BASE_VERSION:-$( echo $VERSION | sed -e 's/[^0-9.]*//g')}
-PYTHON_VERSION=$(python3 -c "import sys; print(sys.version[:3])")
+PYTHON_VERSION=$(python3 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,9 +48,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$SRCNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
@@ -69,14 +81,10 @@ if [ -d /usr/include/cuda ]; then
fi
fi
-embree=""
-if [ -d /usr/include/embree3 ]; then
- # If embree is installed, assume we want to use it
+embree="-DWITH_CYCLES_EMBREE=OFF"
+# If embree is installed, use it unless user says EMBREE=no.
+if [ -d /usr/include/embree3 -a "${EMBREE:-yes}" = "yes" ]; then
embree="-DWITH_CYCLES_EMBREE=ON"
- # However disable embree if requested by e.g. EMBREE=no
- if [ ${EMBREE:-yes} != "yes" ]; then
- embree="-DWITH_CYCLES_EMBREE=OFF"
- fi
fi
set -e
@@ -87,13 +95,19 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
cd $SRCNAM-$VERSION
-patch -p0 < $CWD/01_FindEmbree_so.diff
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 '/#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
+
+# 20220322 bkw: 32-bit needs this
+[ -z "$LIBDIRSUFFIX" ] && patch -p1 < $CWD/overloaded_min.diff
mkdir -p build
cd build
@@ -127,6 +141,7 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
$cuda \
$embree \
+ -DCMAKE_EXE_LINKER_FLAGS:STRING="-lboost_locale"
make
make install DESTDIR=$PKG
@@ -140,17 +155,19 @@ for bin in $BLENDERBINS ; do
mv $PKG/usr/bin/$bin $PKG/usr/bin/$bin.bin
cat <<EOF >$PKG/usr/bin/$bin
#!/bin/sh
-#export PYTHONPATH=/usr/share/$SRCNAM/$BASE_VERSION/python/lib$LIBDIRSUFFIX/python$PYTHON_VERSION
export LD_LIBRARY_PATH=/usr/lib$LIBDIRSUFFIX/opencollada
exec $bin.bin "\$@"
EOF
chmod 0755 $PKG/usr/bin/$bin
done
-mkdir -p $PKG/usr/man/man1
-./doc/manpage/blender.1.py build/bin/blender $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/
@@ -162,4 +179,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/Blender/Blender.info b/graphics/Blender/Blender.info
index 26038a5885..967d92ba92 100644
--- a/graphics/Blender/Blender.info
+++ b/graphics/Blender/Blender.info
@@ -1,10 +1,10 @@
PRGNAM="Blender"
-VERSION="2.83.8"
+VERSION="3.3.10"
HOMEPAGE="https://blender.org"
-DOWNLOAD="https://download.blender.org/source/blender-2.83.8.tar.xz"
-MD5SUM="1a920506a3a695d629d5f312b9b45c01"
+DOWNLOAD="https://download.blender.org/source/blender-3.3.10.tar.xz"
+MD5SUM="a190dbfc5dfd490d737ee64ba68ce79c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg jack opencollada opus python-requests valgrind numpy3 SDL2 openimageio freealut tbb embree"
+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 aa1613683c..8fd9285fea 100644
--- a/graphics/Blender/README
+++ b/graphics/Blender/README
@@ -1,26 +1,44 @@
Blender is an integrated suite of free and open source tools enabling
the creation of a broad range of 3D content with the singular
-benefits of cross-platform interoperability. It can be used to
-create 3D visualizations, stills as well as broadcast and cinema
-quality video. It features fully integrated creation suite, offering
-a broad range of essential tools for the creation of 3D content,
-including modeling, uv-mapping, texturing, particle and other
-simulation, scripting, rendering, compositing, post-production and
-game creation.
-
-CUDA support is included if a CUDA installation is detected at build time.
-It may be disable by passing CUDA=no when building e.g.
- CUDA=no sh ./Blender.SlackBuild
-
-Since Blender-2.83.0, SBo's cudatoolkit-8.0.61 is insufficient for a
-successful build. The CUDA handling above remains for cases which may:
- - use a newer CUDA version toolkit
- - require the existing cudatoolkit for other purposes
- (so need CUDA=no for Blender)
-
-Support for embree may be disabled by passing EMBREE=no when building e.g.
- EMBREE=no sh ./Blender.SlackBuild
-
-Version 2.83.8 is the last SBo supported version of Blender for building
-from source code in Slackware64-14.2. A more recent compiler (gcc-9.3.1)
-is required for 2.90.x and later blender versions.
+benefits of cross-platform interoperability. It can be used to create
+3D visualizations, stills as well as broadcast and cinema quality
+video. It features fully integrated creation suite, offering a broad
+range of essential tools for the creation of 3D content, including
+modeling, uv-mapping, texturing, particle and other simulation,
+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 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
+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 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
new file mode 100644
index 0000000000..5612d01599
--- /dev/null
+++ b/graphics/Blender/overloaded_min.diff
@@ -0,0 +1,51 @@
+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 0725ad10cb..6dc5c839b0 100644
--- a/graphics/CairoSVG/CairoSVG.SlackBuild
+++ b/graphics/CairoSVG/CairoSVG.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/CairoSVG/CairoSVG.info b/graphics/CairoSVG/CairoSVG.info
index 15cb6ed231..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-pillow python3-defusedxml"
+REQUIRES="python3-cairocffi cssselect2 python3-defusedxml"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/CairoSVG/README b/graphics/CairoSVG/README
index e775f67339..86b6ea8f57 100644
--- a/graphics/CairoSVG/README
+++ b/graphics/CairoSVG/README
@@ -1,4 +1,2 @@
CairoSVG is a SVG converter based on Cairo. It can export SVG files
to PDF, PostScript and PNG files.
-
-NOTE: Please install python3 first before installing all other requirements.
diff --git a/graphics/FSPViewer/FSPViewer.SlackBuild b/graphics/FSPViewer/FSPViewer.SlackBuild
index fa28046f5e..18c70fe43b 100644
--- a/graphics/FSPViewer/FSPViewer.SlackBuild
+++ b/graphics/FSPViewer/FSPViewer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2018 junkyardsparkle, Los Angeles, CA, USA
# All rights reserved.
@@ -20,10 +20,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FSPViewer
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -40,7 +43,14 @@ else
exit 1
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,4 +75,4 @@ cd $PKG
chown -R root:root $PKG
chmod -R g-w $PKG
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/FotoKilof/FotoKilof.SlackBuild b/graphics/FotoKilof/FotoKilof.SlackBuild
new file mode 100644
index 0000000000..4e0e6492ca
--- /dev/null
+++ b/graphics/FotoKilof/FotoKilof.SlackBuild
@@ -0,0 +1,165 @@
+#!/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.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 {} \;
+
+# 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
+
+# Since the python install process does not install localization, at the moment
+# we make this manually (a patch in some python scripts of source should be required)
+cp -a fotokilof/locale $PKG/usr/lib${LIBDIRSUFFIX}/python3.9/site-packages/fotokilof
+
+#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..7429d030c4
--- /dev/null
+++ b/graphics/FotoKilof/FotoKilof.info
@@ -0,0 +1,10 @@
+PRGNAM="FotoKilof"
+VERSION="4.4.6"
+HOMEPAGE="https://github.com/TeaM-TL/FotoKilof"
+DOWNLOAD="https://github.com/TeaM-TL/FotoKilof/archive/4.4.6/FotoKilof-4.4.6.tar.gz"
+MD5SUM="2bc04997680a94a381e707369434b3d3"
+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/draftsight/doinst.sh b/graphics/FotoKilof/doinst.sh
index 0fb9c8b686..aea0f894eb 100644
--- a/graphics/draftsight/doinst.sh
+++ b/graphics/FotoKilof/doinst.sh
@@ -11,4 +11,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
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/graphite2/slack-desc b/graphics/FotoKilof/slack-desc
index fb3e6e8418..da6f0e503a 100644
--- a/graphics/graphite2/slack-desc
+++ b/graphics/FotoKilof/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-graphite2: graphite2 (rendering engine for graphite fonts)
-graphite2:
-graphite2: Graphite is a system that can be used to create "smart fonts" capable
-graphite2: of displaying writing systems with various complex behaviors. A smart
-graphite2: font contains not only letter shapes but also additional instructions
-graphite2: indicating how to combine and position the letters in complex ways.
-graphite2:
-graphite2: Homepage: http://graphite.sil.org/
-graphite2:
-graphite2:
-graphite2:
+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 2efa262ff0..497de0bc8a 100644
--- a/graphics/FreeCAD/FreeCAD.SlackBuild
+++ b/graphics/FreeCAD/FreeCAD.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for FreeCAD
@@ -24,11 +24,13 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=FreeCAD
-VERSION=${VERSION:-0.17.13541}
-COMMIT=${COMMIT:-9948ee4f1570df9216862a79705afb367b2c6ffb}
+VERSION=${VERSION:-0.20.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,9 +71,9 @@ 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
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,18 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# SBo's OpenCASCADE 6.9.1 includes were in /opt/OpenCASCADE, but for 7.3.0
-# the includes are in /usr/include/opencascade, so let's accept either :)
-if [ -d /usr/include/opencascade ]; then
- occinc=/usr/include/opencascade
-elif [ -d /opt/OpenCASCADE/inc ]; then
- occinc=/opt/OpenCASCADE/inc
- # However, 6.9.1's libs are in /usr/lib${LIBDIRSUFFIX} just like 7.3.0
- # (see OCC_LIBRARY below)
-else
- echo "OpenCASCADE include directory was not found"
- exit 1
-fi
+sed -i -e '/# include <Standard_TooManyUsers.hxx>/d' src/Mod/Part/App/OCCError.h
mkdir build
cd build
@@ -92,11 +90,17 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DOCC_INCLUDE_DIR:PATH=$occinc \
+ -DOCC_INCLUDE_DIR:PATH=/usr/include/opencascade \
-DOCC_LIBRARY:PATH=/usr/lib${LIBDIRSUFFIX} \
-DRESOURCEDIR=/opt/$PRGNAM/share/data \
+ -DBUILD_QT5=ON \
-DBUILD_FEM=OFF \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DFREECAD_USE_PYSIDE=ON \
+ -DFREECAD_USE_SHIBOKEN=ON \
+ -DOCCT_CMAKE_FALLBACK=ON \
-DCMAKE_BUILD_TYPE=Release ..
+
make
make install DESTDIR=$PKG
cd ..
@@ -111,13 +115,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# Copy icon, desktop file and mime info
mkdir -p $PKG/usr/share/applications $PKG/usr/share/pixmaps $PKG/usr/share/mime/packages
-cp $PKG/opt/$PRGNAM/data/freecad.xpm $PKG/usr/share/pixmaps/
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-cat $CWD/$PRGNAM.xml > $PKG/usr/share/mime/packages/$PRGNAM.xml
+cp $PKG/opt/$PRGNAM/share/pixmaps/freecad.xpm $PKG/usr/share/pixmaps/
+cp $PKG/opt/$PRGNAM/share/applications/*.desktop $PKG/usr/share/applications/
+cp $PKG/opt/$PRGNAM/share/mime/packages/*.xml $PKG/usr/share/mime/packages/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.md ChangeLog.txt \
+ README.md ChangeLog.txt LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -126,4 +130,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/FreeCAD/FreeCAD.desktop b/graphics/FreeCAD/FreeCAD.desktop
deleted file mode 100644
index 07d2a8c7fd..0000000000
--- a/graphics/FreeCAD/FreeCAD.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=FreeCAD
-Comment=General purpose 3D CAD modeler
-Categories=Graphics;
-Exec=/opt/FreeCAD/bin/FreeCAD
-Icon=freecad
-Terminal=false
-StartupNotify=false
diff --git a/graphics/FreeCAD/FreeCAD.info b/graphics/FreeCAD/FreeCAD.info
index b9449797bc..61b9193c6a 100644
--- a/graphics/FreeCAD/FreeCAD.info
+++ b/graphics/FreeCAD/FreeCAD.info
@@ -1,10 +1,10 @@
PRGNAM="FreeCAD"
-VERSION="0.17.13541"
+VERSION="0.20.2"
HOMEPAGE="https://www.freecadweb.org/"
-DOWNLOAD="https://github.com/FreeCAD/FreeCAD/archive/9948ee4/FreeCAD-9948ee4f1570df9216862a79705afb367b2c6ffb.tar.gz"
-MD5SUM="1cc16667376a7c9d981319144b857e46"
+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 matplotlib pyside pyside-tools shiboken xerces-c"
+REQUIRES="OpenCASCADE Pivy pyside2 xerces-c"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/FreeCAD/FreeCAD.xml b/graphics/FreeCAD/FreeCAD.xml
deleted file mode 100644
index 9a27f098b7..0000000000
--- a/graphics/FreeCAD/FreeCAD.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
- <mime-type type="application/x-extension-fcstd">
- <sub-class-of type="application/zip"/>
- <comment>FreeCAD document</comment>
- <glob pattern="*.fcstd"/>
- </mime-type>
-</mime-info>
diff --git a/graphics/FreeCAD/README b/graphics/FreeCAD/README
index b433efc558..51d547dc54 100644
--- a/graphics/FreeCAD/README
+++ b/graphics/FreeCAD/README
@@ -1,5 +1,6 @@
FreeCAD is a general purpose 3D CAD modeler, aimed at mechanical
-engineering and product design, but also fits in a wider range of uses
-around engineering, such as architecture or other engineering specialties.
+engineering and product design, but also fits in a wider range of
+uses around engineering, such as architecture or other engineering
+specialties.
Optional dependency: graphviz
diff --git a/graphics/GPS/GPS.SlackBuild b/graphics/GPS/GPS.SlackBuild
index f28bd34762..6a6d329884 100644
--- a/graphics/GPS/GPS.SlackBuild
+++ b/graphics/GPS/GPS.SlackBuild
@@ -1,36 +1,32 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GIMP Paint Studio
+# Klaatu <klaatu@member.fsf.org>
-# Written by klaatu
-# klaatu at the domain of member.fsf.org
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# GNU All-Permissive License
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=GPS
VERSION=${VERSION:-2_0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -58,4 +54,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/GPS/README b/graphics/GPS/README
index 1568981f4e..24cf87afa3 100644
--- a/graphics/GPS/README
+++ b/graphics/GPS/README
@@ -1,16 +1,11 @@
GIMP Paint Studio is a creative commons set of tool presets,
-brush presets, color swatches, patterns, and config files that will
-transform the GNU Image Manipulation Program into a robust painting and
-materials-emulation application. Great for painters, airbrushing and
-re-touching, and illustrators.
-
-WARNING:
-This OVERWRITES any config files you have in ~/.gimp-2.8
-so if you've got customizations, back them up first.
+brush presets, color swatches, patterns, and preset files to provide
+even more robust painting and materials-emulation application.
+Great for painters and illustrators, but also great for photo
+re-touching and airbrushing.
NOTE:
-If using GIMP 2.10 as a Flatpak, you must add ``/usr/share/gimp/2.0/``
+If you're using GIMP as a Flatpak, add ``/usr/share/gimp/2.0/``
to your Folders path in Edit > Preferences > Folder.
You must do this for each item you want GIMP to see (brushes, patterns,
-and so on).
-
+tool presets, and so on).
diff --git a/graphics/GPS/slack-desc b/graphics/GPS/slack-desc
index 08173e268b..2c7620ef27 100644
--- a/graphics/GPS/slack-desc
+++ b/graphics/GPS/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
GPS: GPS (GIMP Paint Studio)
GPS:
-GPS: Gimp Paint Studio is a set of tool and brush presets, patters, and
-GPS: color swatches that transforms the GNU Image Manipulation Program
-GPS: into a robust paint and materials-emulation application. Great for
-GPS: painters, illustrators, and even airbrushing and photo retouching.
+GPS: Gimp Paint Studio is a set of tool and brush presets, patterns,
+GPS: color swatches, and tool presets for painting, illustration, photo
+GPS: re-touching, and airbrushing.
GPS:
GPS: https://github.com/draekko-rand/gps-gimp-paint-studio/
GPS:
GPS:
GPS:
+GPS:
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index ea968873ff..cac6bcf307 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -1,13 +1,17 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GraphicsMagick
# 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.
# 20191130 bkw: update for v1.3.33.
@@ -41,10 +45,13 @@
# - build Tcl bindings (TclMagick)
# - document optional deps in README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GraphicsMagick
-VERSION=${VERSION:-1.3.35}
+VERSION=${VERSION:-1.3.42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -54,7 +61,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,7 +107,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -220,20 +231,21 @@ 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*/*
+
+rm -f $PKG/usr/lib*/*.la* $PKG/usr/lib*/Tcl*/*.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
+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
@@ -247,4 +259,4 @@ sed \
$CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/GraphicsMagick/GraphicsMagick.info b/graphics/GraphicsMagick/GraphicsMagick.info
index fa9006c4c4..2e80988001 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.info
+++ b/graphics/GraphicsMagick/GraphicsMagick.info
@@ -1,10 +1,10 @@
PRGNAM="GraphicsMagick"
-VERSION="1.3.35"
+VERSION="1.3.42"
HOMEPAGE="http://www.graphicsmagick.org/"
-DOWNLOAD="http://ftp.icm.edu.pl/pub/unix/graphics/GraphicsMagick/1.3/GraphicsMagick-1.3.35.tar.xz"
-MD5SUM="e565b6ce1564d62409b3faa5c747096e"
+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 6591c88ff2..62b6b38931 100644
--- a/graphics/GraphicsMagick/README
+++ b/graphics/GraphicsMagick/README
@@ -8,7 +8,7 @@ JPEG-2000, PNG, PDF, PNM, and TIFF.
If you have an older version of GraphicsMagick installed, it's a good
idea to 'removepkg GraphicsMagick' before building the new version. If
-you don't do this, the build might work anyway... Upgrading from 1.3.29
+you don't do this, the build might work anyway... Upgrading from 1.3.29
to 1.3.30 has been tested and seems to work, but I make no guarantees.
This build includes PerlMagick (the Perl language bindings for
@@ -24,9 +24,11 @@ actually fixes anything!
Optional dependencies: Some file formats require extra libraries. These
are all autodetected at build time:
-libwebp (.webp support)
jbigkit (.jbg, .jbig support)
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/HotShots/HotShots.SlackBuild b/graphics/HotShots/HotShots.SlackBuild
index 992456d123..85cb615a43 100644
--- a/graphics/HotShots/HotShots.SlackBuild
+++ b/graphics/HotShots/HotShots.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for HotShots
# Written by Andrey Maraev <andrew.maraev60@yandex.ru>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=HotShots
VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/LDView/LDView.SlackBuild b/graphics/LDView/LDView.SlackBuild
index 9f5739c85d..ca221ae52c 100644
--- a/graphics/LDView/LDView.SlackBuild
+++ b/graphics/LDView/LDView.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LDView:
# a program to visualize LDraw files
# Copyright 2009-2010, 2012-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2015-2016 Philip van der Hoeven, Almere, The Netherlands
+# Copyright 2015-2022 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,11 +24,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220331 bkw: Modified by SlackBuilds.org: fix .desktop and doinst.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=LDView
-VERSION=${VERSION:-4.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-4.4.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-SRCVER=$(echo $VERSION|tr . _)
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=$(echo $PRGNAM|tr '[A-Z]' '[a-z]')
if [ -z "$ARCH" ]; then
@@ -39,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,15 +72,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz || tar xvf $CWD/v$SRCVER.tar.gz
-cd $SRCNAM-$SRCVER
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
cd QT
@@ -83,16 +92,14 @@ if [ "$ARCH" = "x86_64" ]; then
else
PLATFORM=linux-g++-32
fi
-qmake LIBS+=-lboost_system -spec $PLATFORM
-lrelease LDView.pro
+qmake-qt5 QMAKE_CXXFLAGS+="-fpermissive" LIBS+=-lboost_system -spec $PLATFORM
+lrelease-qt5 LDView.pro
make "TESTING=-I ../gl2ps -I ../3rdParty/tinyxml"
# Install manually
mkdir -p $PKG/usr/bin
-cp -a $PRGNAM $PKG/usr/bin/${PRGNAM}
-strip --strip-unneeded $PKG/usr/bin/${PRGNAM}
-chmod 0755 $PKG/usr/bin/$PRGNAM
+install -s -m0755 $PRGNAM $PKG/usr/bin/$PRGNAM
cd ..
# Sample files, font, translations
@@ -118,15 +125,18 @@ cp QT/ldview_cz.qm $PKG/usr/share/$SRCNAM/ldview_cz.qm
cp LDExporter/LGEO.xml $PKG/usr/share/$SRCNAM/LGEO.xml
# Icon, desktop and mime stuff
-mkdir -p $PKG/usr/share/{applications,application-registry,mime/packages,mime-info}
+mkdir -p $PKG/usr/share/{applications,application-registry,mime/packages,mime-info,pixmaps}
mkdir -p $PKG/usr/share/icons/gnome/32x32/mimetypes
cat QT/desktop/ldview.desktop > $PKG/usr/share/applications/ldview.desktop
+# 20220331 bkw: desktop-file-validate
+sed -i '/^\(Encoding\|Comment\)/d' $PKG/usr/share/applications/ldview.desktop
cat QT/desktop/ldraw.xml > $PKG/usr/share/mime/packages/ldraw.xml
cp QT/desktop/ldraw.keys $PKG/usr/share/mime-info/ldraw.keys
cp QT/desktop/ldraw.mime $PKG/usr/share/mime-info/ldraw.mime
cp QT/desktop/ldview.applications $PKG/usr/share/application-registry/ldview.applications
cp QT/images/LDViewIcon.png $PKG/usr/share/icons/gnome/32x32/mimetypes/gnome-mime-application-x-ldraw.png
cp QT/images/LDViewIcon.png $PKG/usr/share/icons/gnome/32x32/mimetypes/gnome-mime-application-x-multipart-ldraw.png
+cp QT/images/LDViewIcon128.png $PKG/usr/share/pixmaps/gnome-ldraw.png
# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
@@ -141,4 +151,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/LDView/LDView.info b/graphics/LDView/LDView.info
index 44391645a7..5931c6f38d 100644
--- a/graphics/LDView/LDView.info
+++ b/graphics/LDView/LDView.info
@@ -1,8 +1,8 @@
PRGNAM="LDView"
-VERSION="4.2"
-HOMEPAGE="http://ldview.sourceforge.net"
-DOWNLOAD="https://github.com/tcobbs/ldview/archive/v4_2.tar.gz"
-MD5SUM="abfae342f45c405d192e35c88536b164"
+VERSION="4.4.1"
+HOMEPAGE="https://tcobbs.github.io/ldview/"
+DOWNLOAD="https://github.com/tcobbs/ldview/archive/v4.4.1/ldview-4.4.1.tar.gz"
+MD5SUM="6abecfafccd8db441f2e120e7e9913db"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="LDraw_data tinyxml"
diff --git a/graphics/LDView/README b/graphics/LDView/README
index a72176b7b5..569f718938 100644
--- a/graphics/LDView/README
+++ b/graphics/LDView/README
@@ -1,3 +1,4 @@
-LDView is a real-time 3D viewer for displaying LDraw models using hardware
-accellerated 3D graphics. The program can read LDraw DAT, LDR and MPD files.
-It then allows you to rotate the model around to any angle with the mouse.
+LDView is a real-time 3D viewer for displaying LDraw models using
+hardware accellerated 3D graphics. The program can read LDraw DAT, LDR
+and MPD files. It then allows you to rotate the model around to any
+angle with the mouse.
diff --git a/graphics/LDView/doinst.sh b/graphics/LDView/doinst.sh
index ba98b9dbd5..c114fdf1ea 100644
--- a/graphics/LDView/doinst.sh
+++ b/graphics/LDView/doinst.sh
@@ -1,7 +1,6 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1
+ /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
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-
diff --git a/graphics/LDraw_data/LDraw_data.SlackBuild b/graphics/LDraw_data/LDraw_data.SlackBuild
index 1ca2d5d4a0..6633f01658 100644
--- a/graphics/LDraw_data/LDraw_data.SlackBuild
+++ b/graphics/LDraw_data/LDraw_data.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LDRAW datafiles, needed by
# several LDraw utilities
@@ -24,16 +24,31 @@
# 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:
+# - update for v202201.
+# - host download file on slackware.uk, for now. this gives us a little
+# breathing space, when upstream changes the download file again.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=LDraw_data
-VERSION=${VERSION:-201601}
+VERSION=${VERSION:-202201}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PRGSRC=complete.zip
PRGUNZIPPED=ldraw
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,4 +121,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/LDraw_data/LDraw_data.info b/graphics/LDraw_data/LDraw_data.info
index c4629d1b7e..b1b4781a4c 100644
--- a/graphics/LDraw_data/LDraw_data.info
+++ b/graphics/LDraw_data/LDraw_data.info
@@ -1,8 +1,8 @@
PRGNAM="LDraw_data"
-VERSION="201601"
+VERSION="202201"
HOMEPAGE="http://www.ldraw.org/"
-DOWNLOAD="http://www.ldraw.org/library/updates/complete.zip"
-MD5SUM="be794ed8fccfc2592dd276cc4c9379ed"
+DOWNLOAD="https://slackware.uk/~urchlay/src/complete.zip"
+MD5SUM="fa89c640118cc34bd683ee3f537a7399"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/MaterialX/MaterialX.SlackBuild b/graphics/MaterialX/MaterialX.SlackBuild
new file mode 100644
index 0000000000..cd41006c67
--- /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.9}
+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..9b5e46fde4
--- /dev/null
+++ b/graphics/MaterialX/MaterialX.info
@@ -0,0 +1,24 @@
+PRGNAM="MaterialX"
+VERSION="1.38.9"
+HOMEPAGE="https://materialx.org/"
+DOWNLOAD="https://github.com/AcademySoftwareFoundation/MaterialX/archive/v1.38.9.tar.gz \
+ https://github.com/giandex/nanogui/archive/20240101.tar.gz \
+ https://github.com/giandex/nanobind/archive/20240101.tar.gz \
+ https://github.com/giandex/nanovg/archive/20240101.tar.gz \
+ https://github.com/giandex/glfw/archive/20240101.tar.gz \
+ https://github.com/giandex/robin-map/archive/20240101.tar.gz \
+ https://github.com/giandex/imgui/archive/20240101.tar.gz \
+ https://github.com/giandex/imgui-node-editor/archive/20240101.tar.gz"
+MD5SUM="8a656a401b34058adc69d6b4e0c80f26 \
+ 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/luxrender/slack-desc b/graphics/MaterialX/slack-desc
index 873200a009..7893c111f5 100644
--- a/graphics/luxrender/slack-desc
+++ b/graphics/MaterialX/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-luxrender: luxrender (rendering engine)
-luxrender:
-luxrender: LuxRender is a physically based and unbiased rendering engine.
-luxrender: Based on state of the art algorithms, LuxRender simulates the flow
-luxrender: of light according to physical equations, thus producing realistic
-luxrender: images of photographic quality.
-luxrender:
-luxrender: homepage: http://www.luxrender.net
-luxrender:
-luxrender:
-luxrender:
+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 b9ce861e66..d225d48942 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
+++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenCASCADE
@@ -24,29 +24,42 @@
#
# 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:-1}
+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
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,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 \
@@ -74,9 +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 {} \;
-# 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|' \
@@ -95,12 +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.3 \
+ -D3RDPARTY_VTK_LIBRARY_DIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
+
make
make install DESTDIR=$PKG
cd ..
@@ -114,8 +129,11 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $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/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/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/glslang/glslang.SlackBuild b/graphics/OpenShadingLanguage/OpenShadingLanguage.SlackBuild
index db38ad19a9..b523911764 100644
--- a/graphics/glslang/glslang.SlackBuild
+++ b/graphics/OpenShadingLanguage/OpenShadingLanguage.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for glslang
+# Slackware build script for OpenShadingLanguage
-# Copyright 2020-2021 Hunter Sezen California, USA
+# Copyright 2023 Giancarlo Dessi, Cagliari, IT
# 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.
-PRGNAM=glslang
-VERSION=${VERSION:-11.1.0}
+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
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,35 +76,33 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# CMake: Allow linking against system-installed SPIRV-Tools
-# https://github.com/KhronosGroup/glslang/issues/1585
-# https://github.com/KhronosGroup/glslang/pull/1621
-patch -p1 < $CWD/SPIRV-Tools-shared.patch
-
mkdir -p build
cd build
cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DBUILD_EXTERNAL=OFF \
- -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_SKIP_RPATH=TRUE \
+ -DUSE_partio=OFF \
+ -DUSE_Qt6=OFF \
+ -DUSE_PYTHON=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.md CODE_OF_CONDUCT.md LICENSE.txt README-spirv-remap.txt \
- README.md $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:-tgz}
+/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 e9a279e7c4..c5d6c08cbd 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
+++ b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -23,12 +23,18 @@
# 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 github download URL.
+# - don't install static libraries.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=OpenSubdiv
-SRCNAM=OpenSubDiv
-VERSION=${VERSION:-3.4.3}
+VERSION=${VERSION:-3.6.0}
SRCVER=$(echo $VERSION | tr . _)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,14 +72,24 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+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 \
- -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 {} \+
+
+cuda="-DNO_CUDA=ON";
+[ "${ENABLE_CUDA:-no}" = "yes" ] && cuda=""
mkdir -p build
cd build
@@ -79,15 +99,15 @@ 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
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -rf documentation/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -95,8 +115,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Can't have tutorials directory in /usr/bin
mv $PKG/usr/bin/tutorials $PKG/usr/doc/$PRGNAM-$VERSION/
+# 20220224 bkw: get rid of static libs.
+rm -f $PKG/usr/lib*/*.a
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/OpenSubdiv/OpenSubdiv.info b/graphics/OpenSubdiv/OpenSubdiv.info
index b7292a557b..da54c3d828 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.info
+++ b/graphics/OpenSubdiv/OpenSubdiv.info
@@ -1,8 +1,8 @@
PRGNAM="OpenSubdiv"
-VERSION="3.4.3"
+VERSION="3.6.0"
HOMEPAGE="http://graphics.pixar.com/opensubdiv"
-DOWNLOAD="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_4_3/OpenSubDiv-3.4.3.tar.gz"
-MD5SUM="7bbfa275d021fb829e521df749160edb"
+DOWNLOAD="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 401ffff651..3e64c556ac 100644
--- a/graphics/OpenSubdiv/README
+++ b/graphics/OpenSubdiv/README
@@ -1,8 +1,17 @@
-OpenSubdiv is a set of open source libraries that implement high performance
-subdivision surface (subdiv) evaluation on massively parallel CPU and
-GPU architectures. This code path is optimized for drawing deforming surfaces
-with static topology at interactive framerates.
+OpenSubdiv is a set of open source libraries that implement high
+performance subdivision surface (subdiv) evaluation on massively
+parallel CPU and GPU architectures. This code path is optimized
+for drawing deforming surfaces with static topology at interactive
+framerates.
+
+Additional utility is available in OpenSubdiv when the following SBo
+packages are installed and detected at build time:
+ tbb 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!
-Additional utility is available in OpenSubdiv when the following SBo packages
-are installed and detected at build time:
- tbb cudatoolkit opencl-headers glfw docutils
diff --git a/graphics/Pixie/Pixie.SlackBuild b/graphics/Pixie/Pixie.SlackBuild
index 5335ebce37..d7c0d6ca06 100644
--- a/graphics/Pixie/Pixie.SlackBuild
+++ b/graphics/Pixie/Pixie.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pixie
@@ -22,26 +22,35 @@
# 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: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Pixie
VERSION=${VERSION:-2.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -66,9 +75,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Patch code for more accurate pointer casting
patch -p1 < $CWD/Pixie-2.2.6-strict.patch
@@ -84,6 +93,14 @@ sed -i \
patch -p1 < $CWD/Pixie.patch
+# 20220226 bkw: Slackware 15.0 hasn't got this header (and we didn't need it):
+sed -i '/include.*<sys\/sysctl\.h>/d' src/common/os.cpp
+
+# 20220226 bkw: newer STL, has min() and max(), which step on the ones
+# defined here. Rename.
+grep -rl '\<min *(' src | xargs sed -i 's,\<min *(,Min(,g'
+grep -rl '\<max *(' src | xargs sed -i 's,\<max *(,Max(,g'
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -98,13 +115,8 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-openexr-threads
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
# Evidently, configure is somewhat broken:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
@@ -119,8 +131,10 @@ rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/PureRef/PureRef.SlackBuild b/graphics/PureRef/PureRef.SlackBuild
index a60ad12ebd..45d8c1b4b8 100644
--- a/graphics/PureRef/PureRef.SlackBuild
+++ b/graphics/PureRef/PureRef.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PureRef
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PureRef
VERSION=${VERSION:-1.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ "${ARCH:=$(uname -m)}" != "x86_64" ]; then
echo "$ARCH is not supported."
@@ -34,7 +37,14 @@ fi
set -e
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,4 +72,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/PyMOL/PyMOL.SlackBuild b/graphics/PyMOL/PyMOL.SlackBuild
index d062b96b07..dfccd08b85 100644
--- a/graphics/PyMOL/PyMOL.SlackBuild
+++ b/graphics/PyMOL/PyMOL.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for PyMOL
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=PyMOL
SRCNAM=$(echo ${PRGNAM,,}-open-source)
VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,8 +81,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS -std=c++11" \
-python setup.py build
-python setup.py install --root=$PKG
+python2 setup.py build
+python2 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -92,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/PyMOL/PyMOL.info b/graphics/PyMOL/PyMOL.info
index ad9689369c..fd4c764097 100644
--- a/graphics/PyMOL/PyMOL.info
+++ b/graphics/PyMOL/PyMOL.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/schrodinger/pymol-open-source/archive/v2.2.0/pymol-
MD5SUM="aa6cde489112de7978daf377b265d748"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-pmw msgpack-c glm"
+REQUIRES="python2-pmw msgpack-c glm"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/SPIRV-Tools/README b/graphics/SPIRV-Tools/README
deleted file mode 100644
index d0f604b893..0000000000
--- a/graphics/SPIRV-Tools/README
+++ /dev/null
@@ -1,10 +0,0 @@
-The SPIR-V Tools project provides an API and commands for processing
-SPIR-V modules.
-
-The project includes an assembler, binary module parser, disassembler,
-validator, and optimizer for SPIR-V. Except for the optimizer,
-all are based on a common static library. The library contains all
-of the implementation details, and is used in the standalone tools
-whilst also enabling integration into other code bases directly. The
-optimizer implementation resides in its own library, which depends
-on the core library.
diff --git a/graphics/SPIRV-Tools/SPIRV-Tools.info b/graphics/SPIRV-Tools/SPIRV-Tools.info
deleted file mode 100644
index ab0b391ef3..0000000000
--- a/graphics/SPIRV-Tools/SPIRV-Tools.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="SPIRV-Tools"
-VERSION="2020.6"
-HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools"
-DOWNLOAD="https://github.com/KhronosGroup/SPIRV-Tools/archive/v2020.6/SPIRV-Tools-2020.6.tar.gz"
-MD5SUM="a5e7b94edc9f8ecc798c66a549bba181"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SPIRV-Headers python3"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/graphics/Shellpic/Shellpic.SlackBuild b/graphics/Shellpic/Shellpic.SlackBuild
index 976f60f813..6c9443f724 100644
--- a/graphics/Shellpic/Shellpic.SlackBuild
+++ b/graphics/Shellpic/Shellpic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Shellpic
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Shellpic
SRCNAM=$(echo ${PRGNAM,})
VERSION=${VERSION:-1.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/SweetHome3D/README b/graphics/SweetHome3D/README
index 7221e81b74..534b996abf 100644
--- a/graphics/SweetHome3D/README
+++ b/graphics/SweetHome3D/README
@@ -1,5 +1,3 @@
Sweet Home 3D is a free interior design application
that helps you draw the plan of your house, arrange
furniture on it and visit the results in 3D.
-
-JDK is an alternate dependency.
diff --git a/graphics/SweetHome3D/SweetHome3D b/graphics/SweetHome3D/SweetHome3D
index 0318ac5c9b..45d3b6fdd3 100644
--- a/graphics/SweetHome3D/SweetHome3D
+++ b/graphics/SweetHome3D/SweetHome3D
@@ -1,4 +1,2 @@
#!/bin/sh
-
-# Run Sweet Home 3D
-exec /usr/lib64/java/bin/java -Xmx2g -jar /usr/share/SweetHome3D/SweetHome3D.jar
+exec /opt/SweetHome3D/SweetHome3D
diff --git a/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index dee7336599..0038877113 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SweetHome3D
# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
-# Copyright 2012-2018 by Edward Koenig, Vancouver, Washington, USA <kingbeowulf@gmail.com>
+# Copyright 2012-2018 by Edward Koenig, Vancouver, Washington, USA <kingbeowulf@linuxgalaxy.org>
+# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,25 +23,14 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Changelog
-# 1.0 2012 New maintainer
-# 1.1 21-JUN-2013 updated copywrite notice; new version (thanks to rw)
-# 1.2 30-NOV-2014 new version.
-# 1.3 28-APR-2015 version update
-# 1.4 20-MAR-2016 version update
-# 1.5 29-JAN-2017 version update
-# 2.0 04-JAN-2017 version update, script bug fixes, nvidia 3d error workaround
-# 2.1 06-JAN-2018 version update
-# 2.2 07-Aug-2018 version update
-# 2.3 24-Jun-2019 version update
-# 2.4 23-APR-2020 version update, switch to .jar for openjdk compatibility
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SweetHome3D
-VERSION=${VERSION:-6.3}
+VERSION=${VERSION:-7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-NVIDIA=${NVIDIA:-no}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -50,49 +40,61 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
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
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+
+mkdir -p $PKG/opt
+cd $PKG/opt
rm -rf $PRGNAM-$VERSION
-chown -R root:root .
+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
-mkdir -p $PKG/usr/share/$PRGNAM
-install -D -m 644 $CWD/$PRGNAM-$VERSION.jar $PKG/usr/share/$PRGNAM/$PRGNAM.jar
+mkdir -p $PKG/usr/share/applications
+cat $CWD/SweetHome3D.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-cp -a $CWD/SweetHome3D.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-cp -a $CWD/SweetHome3DIcon.png $PKG/usr/share/pixmaps/$PRGNAM.png
+mkdir -p $PKG/usr/share/pixmaps
+cp $PKG/opt/$PRGNAM-$VERSION/SweetHome3DIcon.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+mv $PKG/opt/$PRGNAM-$VERSION/*.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:-tgz}
+chown -R root:root $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/SweetHome3D/SweetHome3D.info b/graphics/SweetHome3D/SweetHome3D.info
index 8c636e9f93..8be7896212 100644
--- a/graphics/SweetHome3D/SweetHome3D.info
+++ b/graphics/SweetHome3D/SweetHome3D.info
@@ -1,10 +1,10 @@
PRGNAM="SweetHome3D"
-VERSION="6.3"
+VERSION="7.2"
HOMEPAGE="http://www.sweethome3d.com/"
-DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.3/SweetHome3D-6.3.jar"
-MD5SUM="4f461a8a5e9586537367e8bf75668fa6"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="openjdk8"
-MAINTAINER="Edward W. Koenig"
-EMAIL="kingbeowulf@gmail.com"
+DOWNLOAD="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.2/SweetHome3D-7.2-linux-x86.tgz"
+MD5SUM="378388db78f2c80e9b4f0e625b2d758b"
+DOWNLOAD_x86_64="http://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-7.2/SweetHome3D-7.2-linux-x64.tgz"
+MD5SUM_x86_64="b991fe6add3215b04a04c88cde3b8aae"
+REQUIRES="zulu-openjdk8"
+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/README b/graphics/VariCAD/README
index abd7108128..f8d528d06b 100644
--- a/graphics/VariCAD/README
+++ b/graphics/VariCAD/README
@@ -1,11 +1,11 @@
-VariCAD is a 3D/2D CAD system primarily intended for mechanical engineering
-design.
+VariCAD is a 3D/2D CAD system primarily intended for mechanical
+engineering design.
-This builds the trial-version. A license-key must be obtained to use the
-program after the 30-day trial period.
+This builds the trial-version. A license-key must be obtained to use
+the program after the 30-day trial period.
-This script builds a Slackware package from the official English-language
-RPM's. Other languages are available from VariCAD's download page.
-To build the Portuguese version, for example, use:
+This script builds a Slackware package from the official
+English-language RPM's. Other languages are available from VariCAD's
+download page. To build the Portuguese version, for example, use:
# VCLANG=pt ./VariCAD.SlackBuild
diff --git a/graphics/VariCAD/VariCAD.SlackBuild b/graphics/VariCAD/VariCAD.SlackBuild
index 0fb401b7e1..7558878ec0 100644
--- a/graphics/VariCAD/VariCAD.SlackBuild
+++ b/graphics/VariCAD/VariCAD.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for VariCAD
# a 3D/2D CAD system for mechanical engineering
@@ -26,10 +26,13 @@
# Written with inspiration from the OpenOffice.org SlackBuild, so thanks to Robby Workman :)
# Revision date: 2013/03/29
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=VariCAD
VERSION=${VERSION:-2013_2.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# Set language
SRCLANG=${VCLANG:-en}
@@ -39,17 +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
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SRCARCH="i586"
PKGARCH="i586"
elif [ "$ARCH" = "x86_64" ]; then
@@ -60,6 +58,18 @@ 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-$PKGVERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
set -e
rm -rf $PKG
@@ -89,4 +99,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
chmod a+w $PKG/opt/$PRGNAM/lib
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/VariCAD/VariCAD.info b/graphics/VariCAD/VariCAD.info
index f5f2f97dbf..2bb1ba31d5 100644
--- a/graphics/VariCAD/VariCAD.info
+++ b/graphics/VariCAD/VariCAD.info
@@ -1,9 +1,9 @@
PRGNAM="VariCAD"
VERSION="2013_2.01"
HOMEPAGE="http://www.varicad.com"
-DOWNLOAD="ftp://ftp.varicad.com/pub/VariCAD/en/linux/old/SUSE-10.1/VariCAD_2013-en-2.01-1.i586.rpm"
+DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/f/7/f7b3d28aa60b7455399b442b2d0087a4/VariCAD_2013-en-2.01-1.i586.rpm"
MD5SUM="f7b3d28aa60b7455399b442b2d0087a4"
-DOWNLOAD_x86_64="ftp://ftp.varicad.com/pub/VariCAD/en/linux/old/SUSE-10.1/VariCAD_2013-en-2.01-1.x86_64.rpm"
+DOWNLOAD_x86_64="https://slackware.uk/sbosrcarch/by-md5/e/f/ef5993562c5066f802dd8beb9a70edfd/VariCAD_2013-en-2.01-1.x86_64.rpm"
MD5SUM_x86_64="ef5993562c5066f802dd8beb9a70edfd"
REQUIRES=""
MAINTAINER="Niels Horn"
diff --git a/graphics/Vulkan-Tools/README b/graphics/Vulkan-Tools/README
deleted file mode 100644
index 10206439f4..0000000000
--- a/graphics/Vulkan-Tools/README
+++ /dev/null
@@ -1 +0,0 @@
-This project provides Khronos official Vulkan Tools and Utilities.
diff --git a/graphics/Vulkan-Tools/Vulkan-Tools.info b/graphics/Vulkan-Tools/Vulkan-Tools.info
deleted file mode 100644
index 11f37a9fee..0000000000
--- a/graphics/Vulkan-Tools/Vulkan-Tools.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="Vulkan-Tools"
-VERSION="1.2.162.0"
-HOMEPAGE="https://www.khronos.org/vulkan/"
-DOWNLOAD="https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-1.2.162.0/Vulkan-Tools-sdk-1.2.162.0.tar.gz"
-MD5SUM="55b70e8a7fff81fbc2f659e1dcfba1d2"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="vulkan-sdk"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/graphics/XnViewMP/README b/graphics/XnViewMP/README
index d69065af64..628a916b9e 100644
--- a/graphics/XnViewMP/README
+++ b/graphics/XnViewMP/README
@@ -1 +1,2 @@
-This repackages the original binary from the developers homepage
+This repackages the original XnViewMP binary from the developer's
+homepage.
diff --git a/graphics/XnViewMP/XnViewMP.SlackBuild b/graphics/XnViewMP/XnViewMP.SlackBuild
index 0d0adc7954..4c49d00670 100644
--- a/graphics/XnViewMP/XnViewMP.SlackBuild
+++ b/graphics/XnViewMP/XnViewMP.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rlvm
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=XnViewMP
-VERSION=${VERSION:-0.94.1}
+VERSION=${VERSION:-0.99.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -44,7 +47,14 @@ else
exit 1
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,4 +89,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/XnViewMP/XnViewMP.info b/graphics/XnViewMP/XnViewMP.info
index c36502234c..da322c2aca 100644
--- a/graphics/XnViewMP/XnViewMP.info
+++ b/graphics/XnViewMP/XnViewMP.info
@@ -1,10 +1,10 @@
PRGNAM="XnViewMP"
-VERSION="0.94.1"
+VERSION="0.99.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="c035de76b1b14589eb85312b6f7ab1bb"
-REQUIRES="OpenAL"
+MD5SUM_x86_64="a4a8ec89ff10f16f3df7b86ea3e7f57a"
+REQUIRES=""
MAINTAINER="Melvin Mawhin"
EMAIL="mmawhin@hotmail.com"
diff --git a/graphics/aaphoto/aaphoto.SlackBuild b/graphics/aaphoto/aaphoto.SlackBuild
index d42d4910ae..dfba6d20c9 100644
--- a/graphics/aaphoto/aaphoto.SlackBuild
+++ b/graphics/aaphoto/aaphoto.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aaphoto
VERSION=${VERSION:-0.45}
+COMMIT="ad4fc3c04b9e25212d78c231e1507458dfea8909" # this is ver. 0.45
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,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 \
@@ -86,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/abcm2ps/README b/graphics/abcm2ps/README
index 10edde39bd..ae30464c73 100644
--- a/graphics/abcm2ps/README
+++ b/graphics/abcm2ps/README
@@ -1,3 +1,3 @@
-abcm2ps is a command line program which converts ABC to music sheet in
-PostScript or SVG format. It is an extension of abc2ps which may handle many
-voices per staff.
+abcm2ps is a command line program which converts ABC to music sheet
+in PostScript or SVG format. It is an extension of abc2ps which may
+handle many voices per staff.
diff --git a/graphics/abcm2ps/abcm2ps.SlackBuild b/graphics/abcm2ps/abcm2ps.SlackBuild
index 7a7e2ef301..a13391eea8 100644
--- a/graphics/abcm2ps/abcm2ps.SlackBuild
+++ b/graphics/abcm2ps/abcm2ps.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <abcm2ps>
#
# Michales (clavisound) Michaloudes korgie@gmail.com <2017>
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=abcm2ps
VERSION=${VERSION:-8.14.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -102,4 +112,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/advancecomp/README b/graphics/advancecomp/README
index 970a80ec09..350fa69dd0 100644
--- a/graphics/advancecomp/README
+++ b/graphics/advancecomp/README
@@ -4,7 +4,9 @@ archives, .PNG snapshots, .MNG video clips and .GZ files.
It's mainly intended for recompressing your rom, snapshot and clip
collection of emulated games.
-The main features are :
+The main features are:
-Recompress ZIP, GZ, PNG and MNG files using the Deflate 7-Zip implementation.
-Recompress MNG files using Delta and Move optimization.
+- Recompress ZIP, GZ, PNG and MNG files using the Deflate 7-Zip
+ implementation.
+
+- Recompress MNG files using Delta and Move optimization.
diff --git a/graphics/advancecomp/advancecomp.SlackBuild b/graphics/advancecomp/advancecomp.SlackBuild
index 663f9b6092..eba1e84834 100644
--- a/graphics/advancecomp/advancecomp.SlackBuild
+++ b/graphics/advancecomp/advancecomp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=advancecomp
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +74,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -80,13 +89,8 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+make install-strip DESTDIR=$PKG
+gzip $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING HISTORY README doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
@@ -97,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/README b/graphics/aewan/README
index 9de36b53f8..f32750a554 100644
--- a/graphics/aewan/README
+++ b/graphics/aewan/README
@@ -1,31 +1,35 @@
-Summary: Aewan is a multi-layered ascii-art/animation editor that produces
-both stand-alone cat-able art files and an easy-to-parse format for integration
-in your terminal applications. It is primarily designed for Linux, although it
-currently also compiles under FreeBSD and possibly other *NIX systems.
+Summary: Aewan is a multi-layered ascii-art/animation editor that
+produces both stand-alone cat-able art files and an easy-to-parse
+format for integration in your terminal applications. It is primarily
+designed for Linux, although it currently also compiles under FreeBSD
+and possibly other *NIX systems.
-More details: Aewan is a curses-based program that allows for the creation and
-editing of ascii art. The user is able to move the cursor around the screen by
-means of the arrow keys and 'paint' characters by pressing the corresponding
-keys. There are dialog boxes that allow the user to choose foreground and
-background colors, as well as bold and blink attributes. The user may also
-select rectangular areas of the canvas in order to move, copy and paste them.
-Aewan also supports 'intelligent' horizontal and vertical flipping (e.g.
-converts '\' to '/', etc).
+More details: Aewan is a curses-based program that allows for the
+creation and editing of ascii art. The user is able to move the cursor
+around the screen by means of the arrow keys and 'paint' characters
+by pressing the corresponding keys. There are dialog boxes that allow
+the user to choose foreground and background colors, as well as bold
+and blink attributes. The user may also select rectangular areas of
+the canvas in order to move, copy and paste them. Aewan also supports
+'intelligent' horizontal and vertical flipping (e.g. converts '\' to
+'/', etc).
-What sets Aewan apart from similar projects is the fact that it can work with
-multiple layers, and has the ability to turn transparency and visibility on and
-off for each layer. A layer dialog is provided through which the user can
-change the order of the layers. Thus, each layer can be edited independently in
-order to generate a composite drawing. Instead of using the layers for
-compositing, it is also possible to use the layers as frames for an animation,
-thus enabling the user to create ascii animations with Aewan.
+What sets Aewan apart from similar projects is the fact that it can
+work with multiple layers, and has the ability to turn transparency
+and visibility on and off for each layer. A layer dialog is provided
+through which the user can change the order of the layers. Thus, each
+layer can be edited independently in order to generate a composite
+drawing. Instead of using the layers for compositing, it is also
+possible to use the layers as frames for an animation, thus enabling
+the user to create ascii animations with Aewan.
-Aewan can export animations to a "less movie", that is, a regular file that
-will show the animation when when paged through in the 'less' pager or similar
-program (even Notepad will work if you don't need color). It can also export a
-shellscript which will play the animation on the terminal when executed.
+Aewan can export animations to a "less movie", that is, a regular file
+that will show the animation when when paged through in the 'less'
+pager or similar program (even Notepad will work if you don't need
+color). It can also export a shellscript which will play the animation
+on the terminal when executed.
-The file format is easy to parse, so it is easy to write a terminal-based
-application that uses the Aewan files to display onscreen. Currently it has
-been tested on the Linux terminal, rxvt, xterm, the Cygwin terminal and the
-FreeBSD console.
+The file format is easy to parse, so it is easy to write a
+terminal-based application that uses the Aewan files to display
+onscreen. Currently it has been tested on the Linux terminal, rxvt,
+xterm, the Cygwin terminal and the FreeBSD console.
diff --git a/graphics/aewan/aewan.SlackBuild b/graphics/aewan/aewan.SlackBuild
index c4abe4149c..c18108d9c5 100644
--- a/graphics/aewan/aewan.SlackBuild
+++ b/graphics/aewan/aewan.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aewan
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aewan
VERSION=${VERSION:-1.0.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/k3d/doinst.sh b/graphics/amide/doinst.sh
index 4e8ba7071d..696d35bad7 100644
--- a/graphics/k3d/doinst.sh
+++ b/graphics/amide/doinst.sh
@@ -1,4 +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/README b/graphics/apitrace/README
index 9a194296da..07079fd76e 100644
--- a/graphics/apitrace/README
+++ b/graphics/apitrace/README
@@ -1,15 +1,14 @@
apitrace consists of a set of tools to:
- trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs calls to a file;
+trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs calls to a file
- replay OpenGL and OpenGL ES calls from a file;
+replay OpenGL and OpenGL ES calls from a file
- inspect OpenGL state at any call while retracing;
+inspect OpenGL state at any call while retracing
- visualize and edit trace files.
+visualize and edit trace files.
Optional dependencies:
- qt5 - Builds the qapitrace gui.
- snappy - Will use a bundled version if missing.
+ snappy - apitrace will use a bundled version if missing.
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 d0f5078f05..6b9d6d9234 100644
--- a/graphics/apitrace/apitrace.SlackBuild
+++ b/graphics/apitrace/apitrace.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for apitrace
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220301 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix conflict with dpkg.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apitrace
-VERSION=${VERSION:-9.0}
-BUILD=${BUILD:-1}
+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
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +76,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 {} \+
+
+# 20220408 bkw: fix Debian brokenness: we have a dpkg build... if it
+# happens to be installed, we get shared libs installed to the wrong
+# 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
@@ -78,14 +105,13 @@ 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 DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -93,4 +119,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/apitrace/apitrace.info b/graphics/apitrace/apitrace.info
index f882c4141f..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="python3"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
+REQUIRES="snappy"
+MAINTAINER="Brent Spillner"
+EMAIL="spillner@acm.org"
diff --git a/graphics/asciiquarium/asciiquarium.SlackBuild b/graphics/asciiquarium/asciiquarium.SlackBuild
index bfdcb35cdc..96663d58bd 100644
--- a/graphics/asciiquarium/asciiquarium.SlackBuild
+++ b/graphics/asciiquarium/asciiquarium.SlackBuild
@@ -1,16 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for asciiquarium
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asciiquarium
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
ARCH=noarch
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,4 +53,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/autotrace/autotrace.SlackBuild b/graphics/autotrace/autotrace.SlackBuild
index a1345b0ad1..8f524ee3c3 100644
--- a/graphics/autotrace/autotrace.SlackBuild
+++ b/graphics/autotrace/autotrace.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for autotrace
#
@@ -24,26 +24,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=autotrace
VERSION=${VERSION:-0.31.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -67,15 +74,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
patch -p1 < $CWD/autotrace.patch
autoreconf -vif
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-LDFLAGS="-lMagickWand-6.Q16 -lMagick++-6.Q16" \
+LDFLAGS="$( pkg-config --libs MagickWand )" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -86,21 +93,18 @@ LDFLAGS="-lMagickWand-6.Q16 -lMagick++-6.Q16" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS INSTALL NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -type f -exec chmod 644 {} \;
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/azpainter/azpainter.SlackBuild b/graphics/azpainter/azpainter.SlackBuild
index 9cc32580c1..77fedcd054 100644
--- a/graphics/azpainter/azpainter.SlackBuild
+++ b/graphics/azpainter/azpainter.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for azpainter
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=azpainter
VERSION=${VERSION:-2.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,4 +106,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/baires/README b/graphics/baires/README
index 832c447203..b40081b6d3 100644
--- a/graphics/baires/README
+++ b/graphics/baires/README
@@ -1,4 +1,3 @@
-Baires - Batch image resizer
+baires (graphical batch image resizer)
Baires is a small batch image resizer Qt GUI.
-
diff --git a/graphics/baires/baires.SlackBuild b/graphics/baires/baires.SlackBuild
index 4e7fdb267a..03454fdf8b 100644
--- a/graphics/baires/baires.SlackBuild
+++ b/graphics/baires/baires.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Baires
-# Copyright 2012, Bojan Popovic, Belgrade, Serbia, <bocke@slackware-srbija.org>
+# Copyright 2012, Bojan Popovic, Belgrade, Serbia, <email removed>
+# Now maintained by B. Watson <urchlay@slackware.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,6 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20211217 bkw: BUILD=2
+# - fix -current build (by porting to qt5).
+# - new-style icons.
+
# Modified by B. Watson, 20141208:
# - took over as maintainer
# - use archive.org URLs in .info file
@@ -30,10 +35,13 @@
# - make .desktop file validate
# - minor script cleanups
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=baires
VERSION=${VERSION:-1.2r1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +51,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,11 +86,24 @@ rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM.tar.?z*
cd $PRGNAM
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 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 {} \+
+
+# 20211217 bkw: turned out to be fairly trivial to port this to qt5.
+
+# The patch also removes the 'Ruski' option from the Language
+# dropdown, since the Cyrillic characters in the source somehow got
+# mojibaked into a bunch of question marks. What appears to have
+# happened: the original translations.cpp file was either UTF-8, or
+# a mix of ISO-8859-1 and whatever Cyrillic encoding the translator
+# used... and someone converted it to ISO-8859-1 (on purpose, or by
+# using a crappy editor that silently converted it). The only ways to
+# fix this would be to either find an older version of baires from
+# before the corruption (unlikely, since upstream's site is long
+# dead) or find someone who knows Russian and is willing to redo the
+# translation.
+
+patch -p1 < $CWD/qt5.diff
# use locally installed copies of HTML docs, since upstream's site has
# gone away.
@@ -88,14 +113,14 @@ sed -i \
# the HTML docs have fully qualified URLs for images, use local copies
# for these, too.
-ICON=/usr/share/pixmaps/$PRGNAM.png
+ICON=/usr/share/icons/hicolor/64x64/apps/$PRGNAM.png
SNAPS=/usr/doc/$PRGNAM-$VERSION/snapshots
sed -i \
-e "s,http://www\.beli\.ws/images/baires-64\.png,file://$ICON," \
-e "s,http://www\.beli\.ws/images/\(baires._..\.png\),file://$SNAPS/\1," \
documentation/*.html
-qmake QMAKE_CFLAGS="$SLKCFLAGS" \
+qmake-qt5 QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS" \
$PRGNAM.pro
@@ -103,12 +128,22 @@ make
mkdir -p $PKG/usr/bin $PKG/usr/share/pixmaps $PKG/usr/share/applications
install -s -m 755 $PRGNAM $PKG/usr/bin
-cat icons/$PRGNAM-128.png > $PKG/$ICON
+
+for px in 32 48 64 128; do
+ size=${px}x${px}
+ dir=$PKG/usr/share/icons/hicolor/$size/apps
+ mkdir -p $dir
+ cp -a icons/$PRGNAM-$px.png $dir/$PRGNAM.png
+done
+
+ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
# Get rid of deprecated & nonstandard keys from .desktop, for
# desktop-file-validate.
-grep -v -e ^Encoding -e ^X-SuSE $PRGNAM.desktop \
- > $PKG/usr/share/applications/$PRGNAM.desktop
+sed -e '/^Encoding/d' \
+ -e '/^X-SuSE/d' \
+ -e '/^Icon/s,=.*,=baires,' \
+ $PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -119,4 +154,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/baires/baires.info b/graphics/baires/baires.info
index 80fb86e3d5..8adb83a6af 100644
--- a/graphics/baires/baires.info
+++ b/graphics/baires/baires.info
@@ -1,10 +1,10 @@
PRGNAM="baires"
VERSION="1.2r1"
-HOMEPAGE="http://web.archive.org/web/20140813021625/http://www.beli.ws/apps/baires/"
-DOWNLOAD="http://web.archive.org/web/20110910073638/http://www.beli.ws/apps/baires/baires.tar.gz"
+HOMEPAGE="https://web.archive.org/web/20140813021625/http://www.beli.ws/apps/baires/"
+DOWNLOAD="https://web.archive.org/web/20110910073638/http://www.beli.ws/apps/baires/baires.tar.gz"
MD5SUM="2ef963760336f595c071efb61813bfaf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/baires/doinst.sh b/graphics/baires/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/graphics/baires/doinst.sh
+++ b/graphics/baires/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/baires/qt5.diff b/graphics/baires/qt5.diff
new file mode 100644
index 0000000000..ee27780d81
--- /dev/null
+++ b/graphics/baires/qt5.diff
@@ -0,0 +1,945 @@
+diff -Naur baires/Makefile baires.patched/Makefile
+--- baires/Makefile 2010-04-22 10:40:41.000000000 -0400
++++ baires.patched/Makefile 1969-12-31 19:00:00.000000000 -0500
+@@ -1,137 +0,0 @@
+-#############################################################################
+-# Makefile for building: baires
+-# Generated by qmake (2.01a) (Qt 4.6.2) on: Thu Apr 22 11:40:41 2010
+-# Project: baires.pro
+-# Template: app
+-# Command: /usr/bin/qmake -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug_and_release CONFIG+=debug -o Makefile baires.pro
+-#############################################################################
+-
+-first: debug
+-install: debug-install
+-uninstall: debug-uninstall
+-MAKEFILE = Makefile
+-QMAKE = /usr/bin/qmake
+-DEL_FILE = rm -f
+-CHK_DIR_EXISTS= test -d
+-MKDIR = mkdir -p
+-COPY = cp -f
+-COPY_FILE = $(COPY)
+-COPY_DIR = $(COPY) -r
+-INSTALL_FILE = install -m 644 -p
+-INSTALL_PROGRAM = install -m 755 -p
+-INSTALL_DIR = $(COPY_DIR)
+-DEL_FILE = rm -f
+-SYMLINK = ln -f -s
+-DEL_DIR = rmdir
+-MOVE = mv -f
+-CHK_DIR_EXISTS= test -d
+-MKDIR = mkdir -p
+-SUBTARGETS = \
+- debug \
+- release
+-
+-debug: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug
+-debug-make_default: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug
+-debug-make_first: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug first
+-debug-all: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug all
+-debug-clean: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug clean
+-debug-distclean: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug distclean
+-debug-install: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug install
+-debug-uninstall: $(MAKEFILE).Debug FORCE
+- $(MAKE) -f $(MAKEFILE).Debug uninstall
+-release: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release
+-release-make_default: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release
+-release-make_first: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release first
+-release-all: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release all
+-release-clean: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release clean
+-release-distclean: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release distclean
+-release-install: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release install
+-release-uninstall: $(MAKEFILE).Release FORCE
+- $(MAKE) -f $(MAKEFILE).Release uninstall
+-
+-Makefile: baires.pro /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
+- /usr/share/qt4/mkspecs/common/unix.conf \
+- /usr/share/qt4/mkspecs/common/linux.conf \
+- /usr/share/qt4/mkspecs/qconfig.pri \
+- /usr/share/qt4/mkspecs/features/qt_functions.prf \
+- /usr/share/qt4/mkspecs/features/qt_config.prf \
+- /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
+- /usr/share/qt4/mkspecs/features/default_pre.prf \
+- /usr/share/qt4/mkspecs/features/debug.prf \
+- /usr/share/qt4/mkspecs/features/debug_and_release.prf \
+- /usr/share/qt4/mkspecs/features/default_post.prf \
+- /usr/share/qt4/mkspecs/features/warn_on.prf \
+- /usr/share/qt4/mkspecs/features/qt.prf \
+- /usr/share/qt4/mkspecs/features/unix/thread.prf \
+- /usr/share/qt4/mkspecs/features/moc.prf \
+- /usr/share/qt4/mkspecs/features/resources.prf \
+- /usr/share/qt4/mkspecs/features/uic.prf \
+- /usr/share/qt4/mkspecs/features/yacc.prf \
+- /usr/share/qt4/mkspecs/features/lex.prf \
+- /usr/share/qt4/mkspecs/features/include_source_dir.prf \
+- /usr/lib/libQtGui.prl \
+- /usr/lib/libQtCore.prl
+- $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug_and_release CONFIG+=debug -o Makefile baires.pro
+-/usr/share/qt4/mkspecs/common/g++.conf:
+-/usr/share/qt4/mkspecs/common/unix.conf:
+-/usr/share/qt4/mkspecs/common/linux.conf:
+-/usr/share/qt4/mkspecs/qconfig.pri:
+-/usr/share/qt4/mkspecs/features/qt_functions.prf:
+-/usr/share/qt4/mkspecs/features/qt_config.prf:
+-/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
+-/usr/share/qt4/mkspecs/features/default_pre.prf:
+-/usr/share/qt4/mkspecs/features/debug.prf:
+-/usr/share/qt4/mkspecs/features/debug_and_release.prf:
+-/usr/share/qt4/mkspecs/features/default_post.prf:
+-/usr/share/qt4/mkspecs/features/warn_on.prf:
+-/usr/share/qt4/mkspecs/features/qt.prf:
+-/usr/share/qt4/mkspecs/features/unix/thread.prf:
+-/usr/share/qt4/mkspecs/features/moc.prf:
+-/usr/share/qt4/mkspecs/features/resources.prf:
+-/usr/share/qt4/mkspecs/features/uic.prf:
+-/usr/share/qt4/mkspecs/features/yacc.prf:
+-/usr/share/qt4/mkspecs/features/lex.prf:
+-/usr/share/qt4/mkspecs/features/include_source_dir.prf:
+-/usr/lib/libQtGui.prl:
+-/usr/lib/libQtCore.prl:
+-qmake: qmake_all FORCE
+- @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug_and_release CONFIG+=debug -o Makefile baires.pro
+-
+-qmake_all: FORCE
+-
+-make_default: debug-make_default release-make_default FORCE
+-make_first: debug-make_first release-make_first FORCE
+-all: debug-all release-all FORCE
+-clean: debug-clean release-clean FORCE
+-distclean: debug-distclean release-distclean FORCE
+- -$(DEL_FILE) Makefile
+-
+-debug-mocclean: $(MAKEFILE).Debug
+- $(MAKE) -f $(MAKEFILE).Debug mocclean
+-release-mocclean: $(MAKEFILE).Release
+- $(MAKE) -f $(MAKEFILE).Release mocclean
+-mocclean: debug-mocclean release-mocclean
+-
+-debug-mocables: $(MAKEFILE).Debug
+- $(MAKE) -f $(MAKEFILE).Debug mocables
+-release-mocables: $(MAKEFILE).Release
+- $(MAKE) -f $(MAKEFILE).Release mocables
+-mocables: debug-mocables release-mocables
+-FORCE:
+-
+-$(MAKEFILE).Debug: Makefile
+-$(MAKEFILE).Release: Makefile
+diff -Naur baires/baires.pro baires.patched/baires.pro
+--- baires/baires.pro 2009-12-15 12:32:18.000000000 -0500
++++ baires.patched/baires.pro 2021-12-17 14:47:07.432366128 -0500
+@@ -11,3 +11,4 @@
+ config.h
+ FORMS += mainwindow.ui \
+ config.ui
++QT += widgets
+diff -Naur baires/config.h baires.patched/config.h
+--- baires/config.h 2009-12-17 15:34:52.000000000 -0500
++++ baires.patched/config.h 2021-12-17 14:40:03.805404637 -0500
+@@ -1,7 +1,7 @@
+ #ifndef CONFIG_H
+ #define CONFIG_H
+
+-#include <QtGui/QDialog>
++#include <QtWidgets/QDialog>
+
+ namespace Ui {
+ class config;
+diff -Naur baires/config.ui baires.patched/config.ui
+--- baires/config.ui 2010-01-11 05:26:28.000000000 -0500
++++ baires.patched/config.ui 2021-12-17 15:50:00.836023111 -0500
+@@ -154,11 +154,6 @@
+ <string>Français</string>
+ </property>
+ </item>
+- <item>
+- <property name="text">
+- <string>Ruski</string>
+- </property>
+- </item>
+ </widget>
+ <widget class="QListWidget" name="listSize">
+ <property name="geometry">
+diff -Naur baires/main.cpp baires.patched/main.cpp
+--- baires/main.cpp 2009-12-02 05:30:24.000000000 -0500
++++ baires.patched/main.cpp 2021-12-17 14:40:03.805404637 -0500
+@@ -17,7 +17,7 @@
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+
+-#include <QtGui/QApplication>
++#include <QtWidgets/QApplication>
+ #include "mainwindow.h"
+
+ int main(int argc, char *argv[])
+diff -Naur baires/mainwindow.cpp baires.patched/mainwindow.cpp
+--- baires/mainwindow.cpp 2010-04-22 12:17:58.000000000 -0400
++++ baires.patched/mainwindow.cpp 2021-12-17 14:41:17.495397939 -0500
+@@ -18,8 +18,8 @@
+ ***************************************************************************/
+ #include "mainwindow.h"
+ #include "ui_mainwindow.h"
+-#include <QFileDialog>
+-#include <QMessageBox>
++#include <QtWidgets/QFileDialog>
++#include <QtWidgets/QMessageBox>
+ #include <QSettings>
+ #include <QDesktopServices>
+ #include <QUrl>
+diff -Naur baires/mainwindow.h baires.patched/mainwindow.h
+--- baires/mainwindow.h 2010-04-22 12:18:00.000000000 -0400
++++ baires.patched/mainwindow.h 2021-12-17 14:40:03.806404637 -0500
+@@ -20,7 +20,7 @@
+ #ifndef MAINWINDOW_H
+ #define MAINWINDOW_H
+
+-#include <QtGui/QMainWindow>
++#include <QtWidgets/QMainWindow>
+
+ namespace Ui
+ {
+diff -Naur baires/translation.cpp baires.patched/translation.cpp
+--- baires/translation.cpp 2010-04-22 14:03:22.000000000 -0400
++++ baires.patched/translation.cpp 2021-12-17 15:48:54.267029162 -0500
+@@ -45,13 +45,13 @@
+ // TODO Missing other traslations
+ if (val == 10036) {result = "Downsize only";};
+ if (val == 20036) {result = "Samo smanjivanje";};
+- if (val == 30036) {result = "Somente deminuiçăo";};
+- if (val == 70036) {result = "Réduction seule";};
++ if (val == 30036) {result = "Somente deminuição";};
++ if (val == 70036) {result = "RĂ©duction seule";};
+ if (val == 50036) {result = "Solo riduzione";};
+
+ if (val == 10037) {result = "Force aspect ratio (width as base)";};
+ if (val == 20037) {result = QString("Forsiraj aspekt (")+QChar(0x0160)+QString("irina je baza)");};
+- if (val == 30037) {result = "Forçar aspecto (largura como base)";};
++ if (val == 30037) {result = "Forçar aspecto (largura como base)";};
+ if (val == 70037) {result = "Forcer le rapport d'aspect (largeur pour base)";};
+ if (val == 50037) {result = "Forza l'aspect ratio (larghezza come base)";};
+
+@@ -59,7 +59,7 @@
+
+ if (val == 20035) {result = "Dodaj u pre-definisane rezolucije";};
+ if (val == 30035) {result = QString("Adicionar para resolu")+QChar(0x00E7)+QChar(0x00F5)+QString("es pre-definidas");};
+- if (val == 40035) {result = "Zu den frei gewählten Bildgrössen hinzufügen";};
++ if (val == 40035) {result = "Zu den frei gewählten Bildgrössen hinzufügen";};
+
+ if (val == 20001) {result = "P&rogram";};
+ if (val == 30001) {result = "&Arquivo";};
+@@ -79,18 +79,18 @@
+
+ if (val == 20005) {result = "O programu...";};
+ if (val == 30005) {result = "Sobre...";};
+- if (val == 40005) {result = "Über baires...";};
++ if (val == 40005) {result = "Ăśber baires...";};
+
+ if (val == 20006) {result = "Pregled";};
+ if (val == 30006) {result = "Buscar";};
+ if (val == 40006) {result = "Suche";};
+
+ if (val == 20007) {result = "Direktorijum sa slikama";};
+- if (val == 30007) {result = "Diretório de imagens";};
++ if (val == 30007) {result = "DiretĂłrio de imagens";};
+ if (val == 40007) {result = "Quell-Verzeichnis";};
+
+ if (val == 20008) {result = "Direktorijum za smanjene slike";};
+- if (val == 30008) {result = "Diretório de destino";};
++ if (val == 30008) {result = "DiretĂłrio de destino";};
+ if (val == 40008) {result = "Ziel-Verzeichnis";};
+
+ if (val == 20009) {result = "Smanji na";};
+@@ -103,26 +103,26 @@
+
+ if (val == 20011) {result = "Visina";};
+ if (val == 30011) {result = "Altura";};
+- if (val == 40011) {result = "Höhe";};
++ if (val == 40011) {result = "Höhe";};
+
+ if (val == 20012) {result = "Prefiks";};
+ if (val == 30012) {result = "Prefixo";};
+- if (val == 40012) {result = "Datei Präfix";};
++ if (val == 40012) {result = "Datei Präfix";};
+
+ if (val == 20013) {result = "Kvalitet";};
+ if (val == 30013) {result = "Qualidade";};
+- if (val == 40013) {result = "Qualität";};
++ if (val == 40013) {result = "Qualität";};
+
+ if (val == 20014) {result = "Kreni";};
+ if (val == 30014) {result = "Iniciar";};
+ if (val == 40014) {result = "Start";};
+
+ if (val == 20015) {result = "Program za jednostavno smanjivanje slika";};
+- if (val == 30015) {result = "Programa fácil para redimensiamento de imagens";};
+- if (val == 40015) {result = "Programm zum mühelosen Verkleinern von Bildern";};
++ if (val == 30015) {result = "Programa fácil para redimensiamento de imagens";};
++ if (val == 40015) {result = "Programm zum mĂĽhelosen Verkleinern von Bildern";};
+
+ if (val == 20016) {result = "Verzija: ";};
+- if (val == 30016) {result = "Versăo: ";};
++ if (val == 30016) {result = "VersĂŁo: ";};
+ if (val == 40016) {result = "Version: ";};
+
+ if (val == 20017) {result = "Autor: ";};
+@@ -134,35 +134,35 @@
+ if (val == 40018) {result = "Kontakt: ";};
+
+ if (val == 20019) {result = "Licenca: ";};
+- if (val == 30019) {result = "Licença: ";};
++ if (val == 30019) {result = "Licença: ";};
+ if (val == 40019) {result = "Lizenz: ";};
+
+ if (val == 20020) {result = "Direktorijum sa slikama je prazan ili ne postoji";};
+- if (val == 30020) {result = "Diretório de imagens está vazio ou năo existe";};
++ if (val == 30020) {result = "Diretório de imagens está vazio ou não existe";};
+ if (val == 40020) {result = "Das Quell-Verzeichnis ist leer oder existiert nicht";};
+
+ if (val == 20021) {result = "Molimo Vas da odaberete validan direktorijum";};
+- if (val == 30021) {result = "Por favor, escolhe diretório válido";};
+- if (val == 40021) {result = "Bitte wählen Sie ein gültiges Verzeichnis";};
++ if (val == 30021) {result = "Por favor, escolhe diretório válido";};
++ if (val == 40021) {result = "Bitte wählen Sie ein gültiges Verzeichnis";};
+
+ if (val == 20022) {result = "Direktorijum za smanjene slike je prazan ili ne postoji";};
+- if (val == 30022) {result = "Diretório de destino está vazio ou năo existe";};
++ if (val == 30022) {result = "Diretório de destino está vazio ou não existe";};
+ if (val == 40022) {result = "Das Ziel-Verzeichnis ist leer oder existiert nicht";};
+
+ if (val == 20023) {result = "Prefiks nije odabran";};
+- if (val == 30023) {result = "Prefixo está vazio";};
+- if (val == 40023) {result = "Es fehlt das Präfix für verkleinerte Bilder";};
++ if (val == 30023) {result = "Prefixo está vazio";};
++ if (val == 40023) {result = "Es fehlt das Präfix für verkleinerte Bilder";};
+
+ if (val == 20024) {result = "Kada su oba direktorijuma ista, prefiks je obavezan";};
+- if (val == 30024) {result = "Quando os diretórios săo iguais, prefixo é obrigatório";};
+- if (val == 40024) {result = "Wenn das Quell- und Zielverzeichnis identisch sind, muss ein Datei Präfix angegeben werden";};
++ if (val == 30024) {result = "Quando os diretĂłrios sĂŁo iguais, prefixo Ă© obrigatĂłrio";};
++ if (val == 40024) {result = "Wenn das Quell- und Zielverzeichnis identisch sind, muss ein Datei Präfix angegeben werden";};
+
+ if (val == 20025) {result = "Odaberi direktorijum";};
+- if (val == 30025) {result = "Escolhe o diretório";};
+- if (val == 40025) {result = "Wähle das Verzeichnis";};
++ if (val == 30025) {result = "Escolhe o diretĂłrio";};
++ if (val == 40025) {result = "Wähle das Verzeichnis";};
+
+ if (val == 20026) {result = "Konfiguracija";};
+- if (val == 30026) {result = "Configuraçăo";};
++ if (val == 30026) {result = "Configuração";};
+ if (val == 40026) {result = "&Einstellungen";};
+
+ if (val == 20027) {result = "Jezik";};
+@@ -175,11 +175,11 @@
+
+ if (val == 20029) {result = QString("Korisni")+QChar(0x010D)+QString("ke veli")+QChar(0x010D)+QString("ne");};
+ if (val == 30029) {result = "Tamanhos customizados";};
+- if (val == 40029) {result = "Frei gewählte Grösse";};
++ if (val == 40029) {result = "Frei gewählte Grösse";};
+
+ if (val == 20030) {result = "Ukloni";};
+ if (val == 30030) {result = "Exclui";};
+- if (val == 40030) {result = "Löschen";};
++ if (val == 40030) {result = "Löschen";};
+
+ if (val == 20031) {result = "Odustani";};
+ if (val == 30031) {result = "Cancelar";};
+@@ -190,7 +190,7 @@
+ if (val == 40032) {result = "Vorgang Bilder verkleinern";};
+
+ if (val == 20033) {result = "Otkazan od strane korisnika";};
+- if (val == 30033) {result = "Cancelado por usuário";};
++ if (val == 30033) {result = "Cancelado por usuário";};
+ if (val == 40033) {result = "Durch den Benutzer beendet";};
+
+ if (val == 20034) {result = "Prekini";};
+@@ -209,7 +209,7 @@
+ if (val == 50010) {result = "Larghezza";};
+ if (val == 50011) {result = "Altezza";};
+ if (val == 50012) {result = "Prefisso";};
+- if (val == 50013) {result = "Qualitŕ";};
++ if (val == 50013) {result = "QualitĂ ";};
+ if (val == 50014) {result = "Avvia";};
+ if (val == 50015) {result = "Programma per ridimensionare facilmente gruppi di immagini";};
+ if (val == 50016) {result = "Versione: ";};
+@@ -218,9 +218,9 @@
+ if (val == 50019) {result = "Licenza: ";};
+ if (val == 50020) {result = "Cartella sorgente inesistente o vuota";};
+ if (val == 50021) {result = "Per favore, seleziona una cartella valida";};
+- if (val == 50022) {result = "La destinazione č vuota o inesistente";};
++ if (val == 50022) {result = "La destinazione è vuota o inesistente";};
+ if (val == 50023) {result = "Nessun prefisso inserito per le immagini ridimensionate";};
+- if (val == 50024) {result = "Quando la cartella sorgente e di destinazione coincidono, č necessario un prefisso";};
++ if (val == 50024) {result = "Quando la cartella sorgente e di destinazione coincidono, è necessario un prefisso";};
+ if (val == 50025) {result = "Seleziona una cartella";};
+ if (val == 50026) {result = "Impostazioni";};
+ if (val == 50027) {result = "Lingua";};
+@@ -233,77 +233,77 @@
+ if (val == 50034) {result = "Annulla";};
+ if (val == 50035) {result = "Aggiungi alle risoluzioni predefinite";};
+
+- if (val == 60001) {result = "&Fájl";};
+- if (val == 60002) {result = "&Súgó";};
+- if (val == 60003) {result = "&Kilépés";};
+- if (val == 60004) {result = "Online segítség...";};
+- if (val == 60005) {result = "&Névjegy...";};
+- if (val == 60006) {result = "Böngészés";};
+- if (val == 60007) {result = "Forrás könyvtár";};
+- if (val == 60008) {result = "Cél könyvtár";};
+- if (val == 60009) {result = "Átméretezés erre";};
+- if (val == 60010) {result = "Szélesség";};
+- if (val == 60011) {result = "Magasság";};
+- if (val == 60012) {result = "Fájl előtag";};
+- if (val == 60013) {result = "Minőség";};
+- if (val == 60014) {result = "Indítás";};
+- if (val == 60015) {result = "Képek tömeges átméretezésére szolgáló program.";};
+- if (val == 60016) {result = "Verzió: ";};
+- if (val == 60017) {result = "Készítette: ";};
+- if (val == 60018) {result = "Elérhetőség: ";};
++ if (val == 60001) {result = "&Fájl";};
++ if (val == 60002) {result = "&SĂşgĂł";};
++ if (val == 60003) {result = "&Kilépés";};
++ if (val == 60004) {result = "Online segítség...";};
++ if (val == 60005) {result = "&NĂ©vjegy...";};
++ if (val == 60006) {result = "Böngészés";};
++ if (val == 60007) {result = "Forrás könyvtár";};
++ if (val == 60008) {result = "Cél könyvtár";};
++ if (val == 60009) {result = "ĂtmĂ©retezĂ©s erre";};
++ if (val == 60010) {result = "Szélesség";};
++ if (val == 60011) {result = "Magasság";};
++ if (val == 60012) {result = "Fájl elõtag";};
++ if (val == 60013) {result = "Minõség";};
++ if (val == 60014) {result = "Indítás";};
++ if (val == 60015) {result = "Képek tömeges átméretezésére szolgáló program.";};
++ if (val == 60016) {result = "VerziĂł: ";};
++ if (val == 60017) {result = "KĂ©szĂ­tette: ";};
++ if (val == 60018) {result = "Elérhetõség: ";};
+ if (val == 60019) {result = "Licenc: ";};
+- if (val == 60020) {result = "A forrás könyvtár üres vagy nem létezik";};
+- if (val == 60021) {result = "Válasszon érvényes könyvtárat";};
+- if (val == 60022) {result = "A cél könyvtár üres vagy nem létezik";};
+- if (val == 60023) {result = "Nem lett az előtag kitöltve";};
+- if (val == 60024) {result = "Ha a forrás és a cél könyvtár megegyezik, az előtagot ki kell tölteni";};
+- if (val == 60025) {result = "Válasszon könyvtárat";};
+- if (val == 60026) {result = "Beállítások";};
++ if (val == 60020) {result = "A forrás könyvtár üres vagy nem létezik";};
++ if (val == 60021) {result = "Válasszon érvényes könyvtárat";};
++ if (val == 60022) {result = "A cél könyvtár üres vagy nem létezik";};
++ if (val == 60023) {result = "Nem lett az elõtag kitöltve";};
++ if (val == 60024) {result = "Ha a forrás és a cél könyvtár megegyezik, az elõtagot ki kell tölteni";};
++ if (val == 60025) {result = "Válasszon könyvtárat";};
++ if (val == 60026) {result = "Beállítások";};
+ if (val == 60027) {result = "Nyelv";};
+- if (val == 60028) {result = "Fájl típusok";};
+- if (val == 60029) {result = "Egyedi méretű elemek";};
+- if (val == 60030) {result = "Eltávolítás";};
+- if (val == 60031) {result = "Mégse";};
+- if (val == 60032) {result = "Átméretezés";};
+- if (val == 60033) {result = "Felhasználói megszakítás";};
+- if (val == 60034) {result = "Megszakítás";};
+- if (val == 60035) {result = "Hozzáadás az előre definiált felbontásokhoz";};
++ if (val == 60028) {result = "Fájl típusok";};
++ if (val == 60029) {result = "Egyedi méretû elemek";};
++ if (val == 60030) {result = "Eltávolítás";};
++ if (val == 60031) {result = "MĂ©gse";};
++ if (val == 60032) {result = "ĂtmĂ©retezĂ©s";};
++ if (val == 60033) {result = "Felhasználói megszakítás";};
++ if (val == 60034) {result = "Megszakítás";};
++ if (val == 60035) {result = "Hozzáadás az elõre definiált felbontásokhoz";};
+
+ if (val == 70001) {result = "&Fichier";};
+ if (val == 70002) {result = "&Aide";};
+ if (val == 70003) {result = "&Quitter";};
+ if (val == 70004) {result = "Aide en ligne...";};
+- if (val == 70005) {result = "Ŕ &propos...";};
++ if (val == 70005) {result = "Ă€ &propos...";};
+ if (val == 70006) {result = "Choisir";};
+- if (val == 70007) {result = "Répertoire source";};
+- if (val == 70008) {result = "Répertoire destination";};
++ if (val == 70007) {result = "RĂ©pertoire source";};
++ if (val == 70008) {result = "RĂ©pertoire destination";};
+ if (val == 70009) {result = "Nouvelles dimensions";};
+ if (val == 70010) {result = "Largeur";};
+ if (val == 70011) {result = "Hauteur";};
+- if (val == 70012) {result = "Préfixe de fichier";};
+- if (val == 70013) {result = "Qualité";};
++ if (val == 70012) {result = "Préfixe de fichier";};
++ if (val == 70013) {result = "Qualité";};
+ if (val == 70014) {result = "Commencer";};
+ if (val == 70015) {result = "Logiciel pour redimensionner facilement des images par lots";};
+ if (val == 70016) {result = "Version : ";};
+ if (val == 70017) {result = "Auteur : ";};
+ if (val == 70018) {result = "Contact : ";};
+ if (val == 70019) {result = "Licence : ";};
+- if (val == 70020) {result = "Le répertoire source est vide ou n'existe pas";};
+- if (val == 70021) {result = "Choisissez un répertoire valide";};
+- if (val == 70022) {result = "Le répertoire destination est vide ou n'existe pas";};
+- if (val == 70023) {result = "Le préfixe pour les images redimensionnées n'a pas été indiqué.";};
+- if (val == 70024) {result = "Un préfixe doit ętre spécifié quand les répertoires source et destination sont identiques.";};
+- if (val == 70025) {result = "Choisir un répertoire";};
+- if (val == 70026) {result = "Paramčtres";};
++ if (val == 70020) {result = "Le répertoire source est vide ou n'existe pas";};
++ if (val == 70021) {result = "Choisissez un répertoire valide";};
++ if (val == 70022) {result = "Le répertoire destination est vide ou n'existe pas";};
++ if (val == 70023) {result = "Le préfixe pour les images redimensionnées n'a pas été indiqué.";};
++ if (val == 70024) {result = "Un préfixe doit être spécifié quand les répertoires source et destination sont identiques.";};
++ if (val == 70025) {result = "Choisir un répertoire";};
++ if (val == 70026) {result = "Paramètres";};
+ if (val == 70027) {result = "Langue";};
+ if (val == 70028) {result = "Types de fichier";};
+- if (val == 70029) {result = "Dimensions personnalisées";};
++ if (val == 70029) {result = "Dimensions personnalisées";};
+ if (val == 70030) {result = "Supprimer";};
+ if (val == 70031) {result = "Annuler";};
+ if (val == 70032) {result = "Redimensionnement en cours";};
+- if (val == 70033) {result = "Abandonné par l'utilisateur";};
++ if (val == 70033) {result = "Abandonné par l'utilisateur";};
+ if (val == 70034) {result = "Abandonner";};
+- if (val == 70035) {result = "Ajouter aux résolutions prédéfinies";};
++ if (val == 70035) {result = "Ajouter aux résolutions prédéfinies";};
+
+ if (val == 80001) {result = "&????";};
+ if (val == 80002) {result = "&???????";};
+diff -Naur baires/ui_config.h baires.patched/ui_config.h
+--- baires/ui_config.h 2010-01-11 05:26:29.000000000 -0500
++++ baires.patched/ui_config.h 1969-12-31 19:00:00.000000000 -0500
+@@ -1,126 +0,0 @@
+-/********************************************************************************
+-** Form generated from reading ui file 'config.ui'
+-**
+-** Created: Mon Jan 11 08:26:29 2010
+-** by: Qt User Interface Compiler version 4.5.0
+-**
+-** WARNING! All changes made in this file will be lost when recompiling ui file!
+-********************************************************************************/
+-
+-#ifndef UI_CONFIG_H
+-#define UI_CONFIG_H
+-
+-#include <QtCore/QVariant>
+-#include <QtGui/QAction>
+-#include <QtGui/QApplication>
+-#include <QtGui/QButtonGroup>
+-#include <QtGui/QCheckBox>
+-#include <QtGui/QComboBox>
+-#include <QtGui/QDialog>
+-#include <QtGui/QDialogButtonBox>
+-#include <QtGui/QGroupBox>
+-#include <QtGui/QHeaderView>
+-#include <QtGui/QLabel>
+-#include <QtGui/QListWidget>
+-#include <QtGui/QPushButton>
+-
+-QT_BEGIN_NAMESPACE
+-
+-class Ui_config
+-{
+-public:
+- QDialogButtonBox *buttonBox;
+- QLabel *lblLanguage;
+- QGroupBox *groupBox;
+- QCheckBox *chkJpg;
+- QCheckBox *chkPng;
+- QCheckBox *chkBmp;
+- QCheckBox *chkTif;
+- QComboBox *cmbLanguage;
+- QListWidget *listSize;
+- QLabel *lblRemove;
+- QPushButton *btnRemove;
+-
+- void setupUi(QDialog *config)
+- {
+- if (config->objectName().isEmpty())
+- config->setObjectName(QString::fromUtf8("config"));
+- config->resize(390, 280);
+- config->setModal(true);
+- buttonBox = new QDialogButtonBox(config);
+- buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
+- buttonBox->setGeometry(QRect(30, 240, 341, 32));
+- buttonBox->setOrientation(Qt::Horizontal);
+- buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
+- lblLanguage = new QLabel(config);
+- lblLanguage->setObjectName(QString::fromUtf8("lblLanguage"));
+- lblLanguage->setGeometry(QRect(13, 15, 111, 16));
+- groupBox = new QGroupBox(config);
+- groupBox->setObjectName(QString::fromUtf8("groupBox"));
+- groupBox->setGeometry(QRect(193, 15, 191, 211));
+- chkJpg = new QCheckBox(groupBox);
+- chkJpg->setObjectName(QString::fromUtf8("chkJpg"));
+- chkJpg->setGeometry(QRect(20, 30, 82, 23));
+- chkPng = new QCheckBox(groupBox);
+- chkPng->setObjectName(QString::fromUtf8("chkPng"));
+- chkPng->setGeometry(QRect(20, 60, 82, 23));
+- chkBmp = new QCheckBox(groupBox);
+- chkBmp->setObjectName(QString::fromUtf8("chkBmp"));
+- chkBmp->setGeometry(QRect(20, 90, 82, 23));
+- chkTif = new QCheckBox(groupBox);
+- chkTif->setObjectName(QString::fromUtf8("chkTif"));
+- chkTif->setGeometry(QRect(20, 120, 82, 23));
+- cmbLanguage = new QComboBox(config);
+- cmbLanguage->setObjectName(QString::fromUtf8("cmbLanguage"));
+- cmbLanguage->setGeometry(QRect(10, 30, 141, 24));
+- listSize = new QListWidget(config);
+- listSize->setObjectName(QString::fromUtf8("listSize"));
+- listSize->setGeometry(QRect(10, 90, 141, 111));
+- lblRemove = new QLabel(config);
+- lblRemove->setObjectName(QString::fromUtf8("lblRemove"));
+- lblRemove->setGeometry(QRect(10, 70, 141, 16));
+- btnRemove = new QPushButton(config);
+- btnRemove->setObjectName(QString::fromUtf8("btnRemove"));
+- btnRemove->setGeometry(QRect(9, 203, 97, 24));
+-
+- retranslateUi(config);
+- QObject::connect(buttonBox, SIGNAL(accepted()), config, SLOT(accept()));
+- QObject::connect(buttonBox, SIGNAL(rejected()), config, SLOT(reject()));
+-
+- QMetaObject::connectSlotsByName(config);
+- } // setupUi
+-
+- void retranslateUi(QDialog *config)
+- {
+- config->setWindowTitle(QString());
+- lblLanguage->setText(QApplication::translate("config", "Language", 0, QApplication::UnicodeUTF8));
+- groupBox->setTitle(QApplication::translate("config", "File types", 0, QApplication::UnicodeUTF8));
+- chkJpg->setText(QApplication::translate("config", "JPEG", 0, QApplication::UnicodeUTF8));
+- chkPng->setText(QApplication::translate("config", "PNG", 0, QApplication::UnicodeUTF8));
+- chkBmp->setText(QApplication::translate("config", "BMP", 0, QApplication::UnicodeUTF8));
+- chkTif->setText(QApplication::translate("config", "TIFF", 0, QApplication::UnicodeUTF8));
+- cmbLanguage->clear();
+- cmbLanguage->insertItems(0, QStringList()
+- << QApplication::translate("config", "English", 0, QApplication::UnicodeUTF8)
+- << QApplication::translate("config", "Srpski", 0, QApplication::UnicodeUTF8)
+- << QApplication::translate("config", "Portugu\303\252s", 0, QApplication::UnicodeUTF8)
+- << QApplication::translate("config", "Deutsch", 0, QApplication::UnicodeUTF8)
+- << QApplication::translate("config", "Italiano", 0, QApplication::UnicodeUTF8)
+- << QApplication::translate("config", "Magyar", 0, QApplication::UnicodeUTF8)
+- << QApplication::translate("config", "Fran\303\247ais", 0, QApplication::UnicodeUTF8)
+- << QApplication::translate("config", "Ruski", 0, QApplication::UnicodeUTF8)
+- );
+- lblRemove->setText(QApplication::translate("config", "Remove size items", 0, QApplication::UnicodeUTF8));
+- btnRemove->setText(QApplication::translate("config", "Remove", 0, QApplication::UnicodeUTF8));
+- Q_UNUSED(config);
+- } // retranslateUi
+-
+-};
+-
+-namespace Ui {
+- class config: public Ui_config {};
+-} // namespace Ui
+-
+-QT_END_NAMESPACE
+-
+-#endif // UI_CONFIG_H
+diff -Naur baires/ui_mainwindow.h baires.patched/ui_mainwindow.h
+--- baires/ui_mainwindow.h 2010-04-22 12:14:03.000000000 -0400
++++ baires.patched/ui_mainwindow.h 1969-12-31 19:00:00.000000000 -0500
+@@ -1,295 +0,0 @@
+-/********************************************************************************
+-** Form generated from reading UI file 'mainwindow.ui'
+-**
+-** Created
+-** by: Qt User Interface Compiler version 4.6.2
+-**
+-** WARNING! All changes made in this file will be lost when recompiling UI file!
+-********************************************************************************/
+-
+-#ifndef UI_MAINWINDOW_H
+-#define UI_MAINWINDOW_H
+-
+-#include <QtCore/QVariant>
+-#include <QtGui/QAction>
+-#include <QtGui/QApplication>
+-#include <QtGui/QButtonGroup>
+-#include <QtGui/QCheckBox>
+-#include <QtGui/QComboBox>
+-#include <QtGui/QHBoxLayout>
+-#include <QtGui/QHeaderView>
+-#include <QtGui/QLabel>
+-#include <QtGui/QLineEdit>
+-#include <QtGui/QMainWindow>
+-#include <QtGui/QMenu>
+-#include <QtGui/QMenuBar>
+-#include <QtGui/QProgressBar>
+-#include <QtGui/QPushButton>
+-#include <QtGui/QSlider>
+-#include <QtGui/QSpinBox>
+-#include <QtGui/QStatusBar>
+-#include <QtGui/QToolBar>
+-#include <QtGui/QWidget>
+-
+-QT_BEGIN_NAMESPACE
+-
+-class Ui_MainWindowClass
+-{
+-public:
+- QAction *actionE_xit;
+- QAction *actionOnline_Help;
+- QAction *action_About;
+- QAction *actionSe_ttings;
+- QWidget *centralWidget;
+- QLabel *lblSource;
+- QWidget *horizontalLayoutWidget;
+- QHBoxLayout *horizontalLayout;
+- QLineEdit *edtSource;
+- QPushButton *btnSource;
+- QWidget *horizontalLayoutWidget_2;
+- QHBoxLayout *horizontalLayout_2;
+- QLineEdit *edtDest;
+- QPushButton *btnDest;
+- QLabel *lblDest;
+- QComboBox *cmbRes;
+- QWidget *horizontalLayoutWidget_3;
+- QHBoxLayout *horizontalLayout_3;
+- QSpinBox *spnWidth;
+- QSpinBox *spnHeight;
+- QLabel *lblResizeto;
+- QLabel *lblHeight;
+- QLabel *lblPrefix;
+- QLineEdit *edtPrefix;
+- QPushButton *btnStart;
+- QProgressBar *progressBar;
+- QSlider *hSlider;
+- QLabel *lblQuality;
+- QLabel *lblWidth;
+- QPushButton *btnAdd;
+- QPushButton *btnAbort;
+- QCheckBox *chkDownsize;
+- QCheckBox *chkFoceAspect;
+- QMenuBar *menuBar;
+- QMenu *menu_File;
+- QMenu *menu_Help;
+- QToolBar *mainToolBar;
+- QStatusBar *statusBar;
+-
+- void setupUi(QMainWindow *MainWindowClass)
+- {
+- if (MainWindowClass->objectName().isEmpty())
+- MainWindowClass->setObjectName(QString::fromUtf8("MainWindowClass"));
+- MainWindowClass->resize(489, 310);
+- MainWindowClass->setMinimumSize(QSize(489, 276));
+- MainWindowClass->setMaximumSize(QSize(489, 400));
+- actionE_xit = new QAction(MainWindowClass);
+- actionE_xit->setObjectName(QString::fromUtf8("actionE_xit"));
+- actionOnline_Help = new QAction(MainWindowClass);
+- actionOnline_Help->setObjectName(QString::fromUtf8("actionOnline_Help"));
+- action_About = new QAction(MainWindowClass);
+- action_About->setObjectName(QString::fromUtf8("action_About"));
+- actionSe_ttings = new QAction(MainWindowClass);
+- actionSe_ttings->setObjectName(QString::fromUtf8("actionSe_ttings"));
+- centralWidget = new QWidget(MainWindowClass);
+- centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
+- lblSource = new QLabel(centralWidget);
+- lblSource->setObjectName(QString::fromUtf8("lblSource"));
+- lblSource->setGeometry(QRect(10, 0, 271, 16));
+- horizontalLayoutWidget = new QWidget(centralWidget);
+- horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
+- horizontalLayoutWidget->setGeometry(QRect(7, 13, 471, 31));
+- horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
+- horizontalLayout->setSpacing(6);
+- horizontalLayout->setContentsMargins(11, 11, 11, 11);
+- horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
+- horizontalLayout->setContentsMargins(0, 0, 0, 0);
+- edtSource = new QLineEdit(horizontalLayoutWidget);
+- edtSource->setObjectName(QString::fromUtf8("edtSource"));
+-
+- horizontalLayout->addWidget(edtSource);
+-
+- btnSource = new QPushButton(horizontalLayoutWidget);
+- btnSource->setObjectName(QString::fromUtf8("btnSource"));
+-
+- horizontalLayout->addWidget(btnSource);
+-
+- horizontalLayoutWidget_2 = new QWidget(centralWidget);
+- horizontalLayoutWidget_2->setObjectName(QString::fromUtf8("horizontalLayoutWidget_2"));
+- horizontalLayoutWidget_2->setGeometry(QRect(6, 62, 471, 31));
+- horizontalLayout_2 = new QHBoxLayout(horizontalLayoutWidget_2);
+- horizontalLayout_2->setSpacing(6);
+- horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
+- horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
+- horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
+- edtDest = new QLineEdit(horizontalLayoutWidget_2);
+- edtDest->setObjectName(QString::fromUtf8("edtDest"));
+-
+- horizontalLayout_2->addWidget(edtDest);
+-
+- btnDest = new QPushButton(horizontalLayoutWidget_2);
+- btnDest->setObjectName(QString::fromUtf8("btnDest"));
+-
+- horizontalLayout_2->addWidget(btnDest);
+-
+- lblDest = new QLabel(centralWidget);
+- lblDest->setObjectName(QString::fromUtf8("lblDest"));
+- lblDest->setGeometry(QRect(10, 50, 291, 16));
+- cmbRes = new QComboBox(centralWidget);
+- cmbRes->setObjectName(QString::fromUtf8("cmbRes"));
+- cmbRes->setGeometry(QRect(8, 114, 151, 24));
+- horizontalLayoutWidget_3 = new QWidget(centralWidget);
+- horizontalLayoutWidget_3->setObjectName(QString::fromUtf8("horizontalLayoutWidget_3"));
+- horizontalLayoutWidget_3->setGeometry(QRect(169, 111, 221, 31));
+- horizontalLayout_3 = new QHBoxLayout(horizontalLayoutWidget_3);
+- horizontalLayout_3->setSpacing(6);
+- horizontalLayout_3->setContentsMargins(11, 11, 11, 11);
+- horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
+- horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
+- spnWidth = new QSpinBox(horizontalLayoutWidget_3);
+- spnWidth->setObjectName(QString::fromUtf8("spnWidth"));
+- spnWidth->setEnabled(false);
+- spnWidth->setMinimum(16);
+- spnWidth->setMaximum(50000);
+- spnWidth->setValue(1024);
+-
+- horizontalLayout_3->addWidget(spnWidth);
+-
+- spnHeight = new QSpinBox(horizontalLayoutWidget_3);
+- spnHeight->setObjectName(QString::fromUtf8("spnHeight"));
+- spnHeight->setEnabled(false);
+- spnHeight->setMinimum(16);
+- spnHeight->setMaximum(50000);
+- spnHeight->setValue(768);
+-
+- horizontalLayout_3->addWidget(spnHeight);
+-
+- lblResizeto = new QLabel(centralWidget);
+- lblResizeto->setObjectName(QString::fromUtf8("lblResizeto"));
+- lblResizeto->setGeometry(QRect(10, 100, 141, 16));
+- lblHeight = new QLabel(centralWidget);
+- lblHeight->setObjectName(QString::fromUtf8("lblHeight"));
+- lblHeight->setEnabled(false);
+- lblHeight->setGeometry(QRect(287, 100, 102, 15));
+- lblPrefix = new QLabel(centralWidget);
+- lblPrefix->setObjectName(QString::fromUtf8("lblPrefix"));
+- lblPrefix->setGeometry(QRect(12, 192, 101, 16));
+- edtPrefix = new QLineEdit(centralWidget);
+- edtPrefix->setObjectName(QString::fromUtf8("edtPrefix"));
+- edtPrefix->setGeometry(QRect(8, 204, 113, 25));
+- btnStart = new QPushButton(centralWidget);
+- btnStart->setObjectName(QString::fromUtf8("btnStart"));
+- btnStart->setGeometry(QRect(386, 202, 96, 24));
+- progressBar = new QProgressBar(centralWidget);
+- progressBar->setObjectName(QString::fromUtf8("progressBar"));
+- progressBar->setGeometry(QRect(10, 232, 470, 23));
+- progressBar->setValue(0);
+- hSlider = new QSlider(centralWidget);
+- hSlider->setObjectName(QString::fromUtf8("hSlider"));
+- hSlider->setGeometry(QRect(130, 203, 160, 23));
+- hSlider->setMinimum(10);
+- hSlider->setMaximum(100);
+- hSlider->setPageStep(1);
+- hSlider->setValue(75);
+- hSlider->setOrientation(Qt::Horizontal);
+- lblQuality = new QLabel(centralWidget);
+- lblQuality->setObjectName(QString::fromUtf8("lblQuality"));
+- lblQuality->setGeometry(QRect(130, 192, 111, 16));
+- lblWidth = new QLabel(centralWidget);
+- lblWidth->setObjectName(QString::fromUtf8("lblWidth"));
+- lblWidth->setEnabled(false);
+- lblWidth->setGeometry(QRect(174, 102, 102, 15));
+- btnAdd = new QPushButton(centralWidget);
+- btnAdd->setObjectName(QString::fromUtf8("btnAdd"));
+- btnAdd->setGeometry(QRect(394, 111, 41, 31));
+- QIcon icon;
+- icon.addFile(QString::fromUtf8("../../../../../../usr/share/icons/oxygen/16x16/actions/vcs_add.png"), QSize(), QIcon::Normal, QIcon::Off);
+- btnAdd->setIcon(icon);
+- btnAbort = new QPushButton(centralWidget);
+- btnAbort->setObjectName(QString::fromUtf8("btnAbort"));
+- btnAbort->setEnabled(false);
+- btnAbort->setGeometry(QRect(305, 202, 81, 24));
+- chkDownsize = new QCheckBox(centralWidget);
+- chkDownsize->setObjectName(QString::fromUtf8("chkDownsize"));
+- chkDownsize->setGeometry(QRect(10, 150, 151, 23));
+- chkFoceAspect = new QCheckBox(centralWidget);
+- chkFoceAspect->setObjectName(QString::fromUtf8("chkFoceAspect"));
+- chkFoceAspect->setEnabled(false);
+- chkFoceAspect->setGeometry(QRect(170, 150, 261, 23));
+- MainWindowClass->setCentralWidget(centralWidget);
+- menuBar = new QMenuBar(MainWindowClass);
+- menuBar->setObjectName(QString::fromUtf8("menuBar"));
+- menuBar->setGeometry(QRect(0, 0, 489, 21));
+- menu_File = new QMenu(menuBar);
+- menu_File->setObjectName(QString::fromUtf8("menu_File"));
+- menu_Help = new QMenu(menuBar);
+- menu_Help->setObjectName(QString::fromUtf8("menu_Help"));
+- MainWindowClass->setMenuBar(menuBar);
+- mainToolBar = new QToolBar(MainWindowClass);
+- mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
+- MainWindowClass->addToolBar(Qt::TopToolBarArea, mainToolBar);
+- statusBar = new QStatusBar(MainWindowClass);
+- statusBar->setObjectName(QString::fromUtf8("statusBar"));
+- MainWindowClass->setStatusBar(statusBar);
+- QWidget::setTabOrder(edtSource, btnSource);
+- QWidget::setTabOrder(btnSource, edtDest);
+- QWidget::setTabOrder(edtDest, btnDest);
+- QWidget::setTabOrder(btnDest, cmbRes);
+- QWidget::setTabOrder(cmbRes, spnWidth);
+- QWidget::setTabOrder(spnWidth, spnHeight);
+- QWidget::setTabOrder(spnHeight, edtPrefix);
+- QWidget::setTabOrder(edtPrefix, btnStart);
+-
+- menuBar->addAction(menu_File->menuAction());
+- menuBar->addAction(menu_Help->menuAction());
+- menu_File->addSeparator();
+- menu_File->addAction(actionSe_ttings);
+- menu_File->addSeparator();
+- menu_File->addAction(actionE_xit);
+- menu_Help->addAction(actionOnline_Help);
+- menu_Help->addSeparator();
+- menu_Help->addAction(action_About);
+-
+- retranslateUi(MainWindowClass);
+- QObject::connect(edtSource, SIGNAL(returnPressed()), edtDest, SLOT(setFocus()));
+- QObject::connect(edtDest, SIGNAL(returnPressed()), edtPrefix, SLOT(setFocus()));
+- QObject::connect(edtPrefix, SIGNAL(returnPressed()), btnStart, SLOT(setFocus()));
+-
+- QMetaObject::connectSlotsByName(MainWindowClass);
+- } // setupUi
+-
+- void retranslateUi(QMainWindow *MainWindowClass)
+- {
+- MainWindowClass->setWindowTitle(QApplication::translate("MainWindowClass", "Baires - Batch image resizer", 0, QApplication::UnicodeUTF8));
+- actionE_xit->setText(QApplication::translate("MainWindowClass", "E&xit", 0, QApplication::UnicodeUTF8));
+- actionOnline_Help->setText(QApplication::translate("MainWindowClass", "Online Help", 0, QApplication::UnicodeUTF8));
+- actionOnline_Help->setShortcut(QApplication::translate("MainWindowClass", "F1", 0, QApplication::UnicodeUTF8));
+- action_About->setText(QApplication::translate("MainWindowClass", "&About", 0, QApplication::UnicodeUTF8));
+- actionSe_ttings->setText(QApplication::translate("MainWindowClass", "Se&ttings", 0, QApplication::UnicodeUTF8));
+- lblSource->setText(QApplication::translate("MainWindowClass", "Source directory", 0, QApplication::UnicodeUTF8));
+- btnSource->setText(QApplication::translate("MainWindowClass", "Browse", 0, QApplication::UnicodeUTF8));
+- btnDest->setText(QApplication::translate("MainWindowClass", "Browse", 0, QApplication::UnicodeUTF8));
+- lblDest->setText(QApplication::translate("MainWindowClass", "Destination directory", 0, QApplication::UnicodeUTF8));
+- lblResizeto->setText(QApplication::translate("MainWindowClass", "Resize to", 0, QApplication::UnicodeUTF8));
+- lblHeight->setText(QApplication::translate("MainWindowClass", "Height", 0, QApplication::UnicodeUTF8));
+- lblPrefix->setText(QApplication::translate("MainWindowClass", "File prefix", 0, QApplication::UnicodeUTF8));
+- edtPrefix->setText(QApplication::translate("MainWindowClass", "rz_", 0, QApplication::UnicodeUTF8));
+- btnStart->setText(QApplication::translate("MainWindowClass", "Start", 0, QApplication::UnicodeUTF8));
+- lblQuality->setText(QApplication::translate("MainWindowClass", "Quality", 0, QApplication::UnicodeUTF8));
+- lblWidth->setText(QApplication::translate("MainWindowClass", "Width", 0, QApplication::UnicodeUTF8));
+- btnAdd->setText(QString());
+- btnAbort->setText(QApplication::translate("MainWindowClass", "Abort", 0, QApplication::UnicodeUTF8));
+- chkDownsize->setText(QApplication::translate("MainWindowClass", "Downsize only", 0, QApplication::UnicodeUTF8));
+- chkFoceAspect->setText(QApplication::translate("MainWindowClass", "Force aspect ratio (width as base)", 0, QApplication::UnicodeUTF8));
+- menu_File->setTitle(QApplication::translate("MainWindowClass", "&File", 0, QApplication::UnicodeUTF8));
+- menu_Help->setTitle(QApplication::translate("MainWindowClass", "&Help", 0, QApplication::UnicodeUTF8));
+- } // retranslateUi
+-
+-};
+-
+-namespace Ui {
+- class MainWindowClass: public Ui_MainWindowClass {};
+-} // namespace Ui
+-
+-QT_END_NAMESPACE
+-
+-#endif // UI_MAINWINDOW_H
diff --git a/graphics/baires/slack-desc b/graphics/baires/slack-desc
index f857e3d4e8..0019c9fede 100644
--- a/graphics/baires/slack-desc
+++ b/graphics/baires/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-baires: baires (Batch image resizer)
+baires: baires (graphical batch image resizer)
baires:
baires: Baires is a small batch image resizer Qt GUI.
baires:
-baires: Homepage: http://www.beli.ws/apps/baires/
+baires:
baires:
baires:
baires:
diff --git a/graphics/barcode/barcode.SlackBuild b/graphics/barcode/barcode.SlackBuild
index 459e08bd4e..59cd955ef8 100644
--- a/graphics/barcode/barcode.SlackBuild
+++ b/graphics/barcode/barcode.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for barcode
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=barcode
VERSION=${VERSION:-0.99}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +74,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+SLKCFLAGS+=" -fcommon"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,10 +93,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
@@ -99,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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 9b0289f35c..c97898ad97 100644
--- a/graphics/bdfedit/bdfedit.SlackBuild
+++ b/graphics/bdfedit/bdfedit.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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.
@@ -16,15 +16,22 @@
# Yes, this is old software that hasn't been maintained in 12+ years,
# but it works fine.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bdfedit
VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
# no CFLAGS or LIBDIRSUFFIX needed here
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,4 +81,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/bdfedit/bdfedit.info b/graphics/bdfedit/bdfedit.info
index 6a8c610114..fc13958890 100644
--- a/graphics/bdfedit/bdfedit.info
+++ b/graphics/bdfedit/bdfedit.info
@@ -1,10 +1,10 @@
PRGNAM="bdfedit"
VERSION="1.3"
-HOMEPAGE="http://hea-www.harvard.edu/~fine/Tech/bdfedit.html"
-DOWNLOAD="http://hea-www.harvard.edu/~fine/Tech/bdfedit1.3.tar.gz"
+HOMEPAGE="https://hea-www.harvard.edu/~fine/Tech/bdfedit.html"
+DOWNLOAD="https://hea-www.harvard.edu/~fine/Tech/bdfedit1.3.tar.gz"
MD5SUM="c29a74fa4d964e197f96c66777ccf18b"
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
new file mode 100644
index 0000000000..cc8b8f6a0b
--- /dev/null
+++ b/graphics/birdfont/README
@@ -0,0 +1,10 @@
+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
new file mode 100644
index 0000000000..5346149641
--- /dev/null
+++ b/graphics/birdfont/birdfont.SlackBuild
@@ -0,0 +1,103 @@
+#!/bin/bash
+
+# Slackware build script for birdfont
+
+# Copyright 2020-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=birdfont
+VERSION=${VERSION:-2.33.3}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+./configure --prefix=/usr --cflags="$SLKCFLAGS"
+./build.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
+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/birdfont/birdfont.info b/graphics/birdfont/birdfont.info
new file mode 100644
index 0000000000..e2e4a9edc0
--- /dev/null
+++ b/graphics/birdfont/birdfont.info
@@ -0,0 +1,10 @@
+PRGNAM="birdfont"
+VERSION="2.33.3"
+HOMEPAGE="https://birdfont.org"
+DOWNLOAD="https://birdfont.org/releases/birdfont-2.33.3.tar.xz"
+MD5SUM="b78ca7c27d623bc941cb7986d84f206b"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="webkit2gtk libxmlbird"
+MAINTAINER="Giancarlo Dessi"
+EMAIL="slack@giand.it"
diff --git a/graphics/birdfont/doinst.sh b/graphics/birdfont/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/graphics/birdfont/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/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/birdfont/slack-desc b/graphics/birdfont/slack-desc
new file mode 100644
index 0000000000..9010dbfdb7
--- /dev/null
+++ b/graphics/birdfont/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+birdfont: birdfont (free font editor)
+birdfont:
+birdfont: Birdfont is a free font editor which lets you create vector graphics
+birdfont: and export TTF, OTF and SVG fonts.
+birdfont: The editor has good support for both monochrome and color font
+birdfont: formats.
+birdfont:
+birdfont:
+birdfont: Homepage: https://www.birdfont.org
+birdfont:
+birdfont:
diff --git a/graphics/blender/blender.SlackBuild b/graphics/blender/blender.SlackBuild
index 334a9e41ec..4060259d04 100644
--- a/graphics/blender/blender.SlackBuild
+++ b/graphics/blender/blender.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Blender
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
@@ -24,12 +24,21 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220404 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip the python interpreter and one shared lib that weren't already.
+# - remove the broken symlinks in the icons dir. upstream doesn't include
+# PNG icons (I assume it did at one time), only an SVG one.
+# - add SlackBuild to doc dir.
+
# Thanks to Giorgio Peron <giorgio.peron@gmail.com> for some build tips
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=blender
VERSION=${VERSION:-2.90.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=${VERSION}-linux64
@@ -44,7 +53,11 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,6 +83,7 @@ chown -R root:root .
# Move the docs to our standard location first
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv *.txt readme.html \
$PKG/usr/doc/$PRGNAM-$VERSION
@@ -87,14 +101,18 @@ if [ "$LMTFA" != "yes" ]; then
rm -f $PKG/opt/blender/lib/libGL*
fi
-# Put symlinks to icons in the standard places
-for size in 16x16 22x22 24x24 32x32 48x48 ; do
- mkdir -p $PKG/usr/share/icons/hicolor/$size/apps
- ln -s /opt/blender/icons/$size/apps/blender.png \
- $PKG/usr/share/icons/hicolor/$size/apps/
-done
+# 20220404 bkw: a couple of things aren't stripped... this
+# is noticeably faster than the template find|strip.
+find $PKG/opt/blender -type f -print0 | \
+ xargs -0 file -m /etc/file/magic/elf | \
+ grep 'ELF.*dynamic.*not stripped' | \
+ cut -d: -f1 | xargs strip
+
+# Put symlinks to icons in the standard places.
+# 20220404 bkw: looks like upstream got rid of PNG icons and only
+# ships an SVG (which has moved).
mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps
- ln -s /opt/blender/icons/scalable/apps/blender.svg \
+ ln -s ../../../../../../opt/blender/blender.svg \
$PKG/usr/share/icons/hicolor/scalable/apps/
# Add a desktop menu entry
@@ -106,4 +124,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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 25e5c18639..6f018ab1a0 100644
--- a/graphics/brlcad/README
+++ b/graphics/brlcad/README
@@ -1,15 +1,18 @@
-BRL-CAD is a powerful cross-platform open source solid modeling system that
-includes interactive geometry editing, high-performance ray-tracing for
-rendering and geometric analysis, image and signal-processing tools, a
-system performance analysis benchmark suite, libraries for robust geometric
-representation, with more than 20 years of active development.
+BRL-CAD is a powerful cross-platform open source solid modeling
+system that includes interactive geometry editing, high-performance
+ray-tracing for rendering and geometric analysis, image and
+signal-processing tools, a system performance analysis benchmark
+suite, libraries for robust geometric representation, with more than
+20 years of active development.
-Optional dependencies : lz4, astyle, re2c, 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.
+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.
+
+Also there are a few options. Usage:
+ OPTION=ON/OFF sh ./brlcad.SlackBuild
-Also there are a few options (usage : OPTION=ON/OFF sh ./brlcad.SlackBuild)
* BRLCAD_ENABLE_RUNTIME_DEBUG=ON
Enables support for application and library debugging facilities.
Disabling the run-time debugging facilities can provide a significant
@@ -18,11 +21,11 @@ checking (that in turn help prevent corruption of your data).
Default is "ON", and should only be disabled for read-only render
work where performance is critical.
-! Warning ! None of the options below seems to actually complete the build
+WARNING: None of the options below seems to actually complete the build
+
* BRLCAD_ENABLE_QT=OFF
-Uses qt5 instead of TCL/Tk.
-Requires that the qt5 package is installed.
-Default value is OFF, BRL-CAD does not autodetect qt5 presence.
+Uses qt instead of TCL/Tk.
+Default value is OFF, BRL-CAD does not autodetect qt presence.
* BRLCAD_ENABLE_OSG=OFF
Uses OpenSceneGraph based optional features.
diff --git a/graphics/brlcad/brlcad-skip-gstep.patch b/graphics/brlcad/brlcad-skip-gstep.patch
new file mode 100644
index 0000000000..5768ad63a2
--- /dev/null
+++ b/graphics/brlcad/brlcad-skip-gstep.patch
@@ -0,0 +1,12 @@
+--- a/db/nist/CMakeLists.txt
++++ b/db/nist/CMakeLists.txt
+@@ -10,7 +10,8 @@ set(NIST_SAMPLE_MODELS
+ )
+
+ foreach(im ${NIST_SAMPLE_MODELS})
+- ADD_G_TARGET(${im} "BRL-CAD Geometry Models/Sample")
++# disabled because this often segfaults
++# ADD_G_TARGET(${im} "BRL-CAD Geometry Models/Sample")
+ endforeach(im ${NIST_SAMPLE_MODELS})
+
+ CMAKEFILES(
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index 694e2039f8..c8a6871689 100644
--- a/graphics/brlcad/brlcad.SlackBuild
+++ b/graphics/brlcad/brlcad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for BRL-CAD
@@ -12,13 +12,14 @@
# 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
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=brlcad
-VERSION=${VERSION:-7.30.10}
+VERSION=${VERSION:-7.38.0}
+SRCVER=rel-${VERSION//./-}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -28,7 +29,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -36,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
@@ -52,15 +65,21 @@ 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 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+# thanks arch maintainers.
+# fixes build on i586.
+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
@@ -88,13 +107,16 @@ 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 DESTDIR=$PKG
+make install/strip DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/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
@@ -114,9 +136,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
cd $PKG/usr/doc/$PRGNAM-$VERSION
- for sub in doc html; do
- ln -s ../../../opt/$PRGNAM/share/$sub
- done
+ln -s ../../../opt/$PRGNAM/share/doc .
+ln -s doc/html .
cd -
mkdir -p $PKG/install
@@ -124,4 +145,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/brlcad/brlcad.info b/graphics/brlcad/brlcad.info
index 8b220de969..70d55f439f 100644
--- a/graphics/brlcad/brlcad.info
+++ b/graphics/brlcad/brlcad.info
@@ -1,8 +1,8 @@
PRGNAM="brlcad"
-VERSION="7.30.10"
-HOMEPAGE="http://brlcad.org"
-DOWNLOAD="http://downloads.sourceforge.net/brlcad/brlcad-7.30.10.tar.bz2"
-MD5SUM="534507304b4943b134d2a9ab49b10ae9"
+VERSION="7.38.0"
+HOMEPAGE="https://brlcad.org"
+DOWNLOAD="https://github.com/BRL-CAD/brlcad/archive/rel-7-38-0/brlcad-7-38-0.tar.gz"
+MD5SUM="6b87e2e662cc63c213ae00584fb40381"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/brlcad/brlcad_archer.desktop b/graphics/brlcad/brlcad_archer.desktop
index 13a1cbe6a7..7f00c1dd32 100644
--- a/graphics/brlcad/brlcad_archer.desktop
+++ b/graphics/brlcad/brlcad_archer.desktop
@@ -5,6 +5,5 @@ Name=BRL-CAD Archer
Comment=Constructive Solid Geometry modeling system
Categories=Graphics;
Exec=/opt/brlcad/bin/archer
-Icon=brlcad
+Icon=/usr/share/pixmaps/brlcad.png
StartupNotify=false
-
diff --git a/graphics/brlcad/brlcad_mged.desktop b/graphics/brlcad/brlcad_mged.desktop
index 696c531915..e3553c117b 100644
--- a/graphics/brlcad/brlcad_mged.desktop
+++ b/graphics/brlcad/brlcad_mged.desktop
@@ -5,6 +5,5 @@ Name=BRL-CAD MGED
Comment=Constructive Solid Geometry modeling system
Categories=Graphics;
Exec=xterm -iconic -e /opt/brlcad/bin/mged
-Icon=brlcad
+Icon=/usr/share/pixmaps/brlcad.png
StartupNotify=false
-
diff --git a/graphics/cam/README b/graphics/cam/README
new file mode 100644
index 0000000000..0982a5f7bc
--- /dev/null
+++ b/graphics/cam/README
@@ -0,0 +1,5 @@
+cam (display images in a terminal)
+
+The cam utility outputs an image file to stdout, using ANSI escape
+codes. 256 color mode is supported, but only solid blocks are used
+as pixels.
diff --git a/graphics/discwrapper/discwrapper.SlackBuild b/graphics/cam/cam.SlackBuild
index ad9f0e4928..27e3214765 100644
--- a/graphics/discwrapper/discwrapper.SlackBuild
+++ b/graphics/cam/cam.SlackBuild
@@ -1,29 +1,38 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for discwrapper
+# Slackware build script for cam
-# Written by Pablo Santamaria (pablosantamaria@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
-PRGNAM=discwrapper
-VERSION=${VERSION:-1.2.2}
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=cam
+VERSION=${VERSION:-20141220_8b81199}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -42,14 +51,13 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+autoreconf -if
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -63,20 +71,15 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE* README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-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/cam/cam.info b/graphics/cam/cam.info
new file mode 100644
index 0000000000..c77fcf5d06
--- /dev/null
+++ b/graphics/cam/cam.info
@@ -0,0 +1,10 @@
+PRGNAM="cam"
+VERSION="20141220_8b81199"
+HOMEPAGE="https://github.com/itchyny/cam"
+DOWNLOAD="https://slackware.uk/~urchlay/src/cam-20141220_8b81199.tar.xz"
+MD5SUM="8d8fce49c6a56bc4e79fb2d3fb0f3749"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/cam/git2tarxz.sh b/graphics/cam/git2tarxz.sh
new file mode 100644
index 0000000000..e2dad79e83
--- /dev/null
+++ b/graphics/cam/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/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=cam
+CLONE_URL=https://github.com/itchyny/cam
+
+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/k3d/slack-desc b/graphics/cam/slack-desc
index ae316fac81..2ae632ef3a 100644
--- a/graphics/k3d/slack-desc
+++ b/graphics/cam/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-k3d: k3d (3D modeling and animation software)
-k3d:
-k3d: K-3D is free-as-in-freedom 3D modeling and animation software.
-k3d: It features a plugin-oriented procedural engine for all of its
-k3d: content, making K-3D a very versatile and powerful package. K-3D
-k3d: excels at polygonal modeling, and includes basic tools for NURBS,
-k3d: patches, curves and animation.
-k3d:
-k3d: Homepage: http://www.k-3d.org/
-k3d:
-k3d:
+cam: cam (display images in a terminal)
+cam:
+cam: The cam utility outputs an image file to stdout, using ANSI escape
+cam: codes. 256 color mode is supported, but only solid blocks are used
+cam: as pixels.
+cam:
+cam:
+cam:
+cam:
+cam:
+cam:
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/SPIRV-Tools/SPIRV-Tools.SlackBuild b/graphics/catimg/catimg.SlackBuild
index cdde34904a..7036219cbe 100644
--- a/graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild
+++ b/graphics/catimg/catimg.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for SPIRV-Tools
+# Slackware build script for catimg
-# Copyright 2020 Hunter Sezen California, USA
+# Copyright 2023 Samuel Young, MO, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=SPIRV-Tools
-VERSION=${VERSION:-2020.6}
+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
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,7 +61,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -75,23 +82,21 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DBUILD_SHARED_LIBS=ON \
- -DSPIRV_TOOLS_BUILD_STATIC=OFF \
- -DSPIRV_SKIP_TESTS=ON \
- -DSPIRV_WERROR=OFF \
- -DSPIRV-Headers_SOURCE_DIR=/usr \
- -DCMAKE_SKIP_RPATH=TRUE \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | 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 CHANGES CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md \
+cp -a \
+ LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -99,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/chafa/chafa.SlackBuild b/graphics/chafa/chafa.SlackBuild
new file mode 100644
index 0000000000..6b131b4122
--- /dev/null
+++ b/graphics/chafa/chafa.SlackBuild
@@ -0,0 +1,126 @@
+#!/bin/bash
+
+# Slackware build script for chafa
+
+# Copyright 2022-2024 Vijay Marcel
+
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=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=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -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.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 {} \;
+
+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
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING COPYING.LESSER 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
+cat $CWD/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/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/Vulkan-Tools/slack-desc b/graphics/chafa/slack-desc
index ac886d645c..094a2fbf1f 100644
--- a/graphics/Vulkan-Tools/slack-desc
+++ b/graphics/chafa/slack-desc
@@ -5,15 +5,15 @@
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
- |-----handy-ruler------------------------------------------------------|
-Vulkan-Tools: Vulkan-Tools (Vulkan Utilities and Tools)
-Vulkan-Tools:
-Vulkan-Tools: This project provides Khronos official Vulkan Tools and Utilities.
-Vulkan-Tools:
-Vulkan-Tools: Homepage: https://www.khronos.org/vulkan/
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
+ |-----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/README b/graphics/converseen/README
index a3f0858438..b78be97133 100644
--- a/graphics/converseen/README
+++ b/graphics/converseen/README
@@ -5,5 +5,3 @@ an unlimited number of images.
It supports more than 100 image formats like DPX, EXR, GIF, JPEG,
JPEG-2000, PhotoCD, PNG, Postscript, SVG, and TIFF and many others.
-
-Optional dependency: libwebp
diff --git a/graphics/converseen/converseen.SlackBuild b/graphics/converseen/converseen.SlackBuild
index 7b8ea81092..2487e15663 100644
--- a/graphics/converseen/converseen.SlackBuild
+++ b/graphics/converseen/converseen.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for converseen
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=converseen
-VERSION=${VERSION:-0.9.9.0}
+VERSION=${VERSION:-0.12.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,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 COPYING 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
@@ -92,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/converseen/converseen.info b/graphics/converseen/converseen.info
index 812799be6d..f0c4f1c275 100644
--- a/graphics/converseen/converseen.info
+++ b/graphics/converseen/converseen.info
@@ -1,10 +1,10 @@
PRGNAM="converseen"
-VERSION="0.9.9.0"
-HOMEPAGE="http://converseen.fasterland.net/"
-DOWNLOAD="http://downloads.sourceforge.net/converseen/converseen-0.9.9.0.tar.bz2"
-MD5SUM="187e6d792c08ebda33016820b3cf4fbe"
+VERSION="0.12.1.0"
+HOMEPAGE="https://converseen.fasterland.net/"
+DOWNLOAD="https://downloads.sourceforge.net/converseen/converseen-0.12.1.0.tar.bz2"
+MD5SUM="42b78868ede54b112d12cd277cc8ba4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
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 75b57e18ab..f330116332 100644
--- a/graphics/pygifme/pygifme.SlackBuild
+++ b/graphics/ctpv/ctpv.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/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,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=pygifme
-VERSION=${VERSION:-0.1}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ctpv
+VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,21 +74,27 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Fix man path
+sed 's|share/man|/man/|' -i Makefile
-python3 setup.py install --root=$PKG
+make CFLAGS="$SLKCFLAGS"
+make install PREFIX=/usr DESTDIR=$PKG
+# 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
-rm -rf $PKG/usr/share
+# 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
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/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/README b/graphics/darktable/README
index 9762e2be82..3b3bf0c2bb 100644
--- a/graphics/darktable/README
+++ b/graphics/darktable/README
@@ -1,9 +1,9 @@
Darktable is a virtual lighttable and darkroom for photographers.
It manages your digital negatives in a database and lets you view them
-through a zoomable lighttable. It also enables you to develop raw images
-and enhance them. This project tries to fill the gap between the many
-excellent existing free raw converters and image management tools (such
-as ufraw or f-spot).
+through a zoomable lighttable. It also enables you to develop raw
+images and enhance them. This project tries to fill the gap between
+the many excellent existing free raw converters and image management
+tools (such as ufraw or f-spot).
i686 build
@@ -18,9 +18,7 @@ or higher).
Optional dependencies
GraphicsMagick - for importing a wide range of non-RAW image formats
-libwebp - for exporting images in WebP format
flickcurl - for exporting images to Flickr
-json-glib - for exporting images to Facebook
colord - for colour profile management
colord-gtk - for colour profile management
osm-gps-map - for map georeferencing
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild
index 5a2f374bbe..2c20db3062 100644
--- a/graphics/darktable/darktable.SlackBuild
+++ b/graphics/darktable/darktable.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for darktable
@@ -22,22 +22,37 @@
# 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:-2.4.4}
-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 ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,9 +83,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# If you want to use llvm instead of gcc uncomment the following two lines
+#export CC=clang
+#export CXX=clang++
+
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 \
@@ -78,6 +99,10 @@ cd build
-DDONT_USE_INTERNAL_LUA=Off \
-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
@@ -93,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 )
@@ -102,4 +130,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/darktable/darktable.info b/graphics/darktable/darktable.info
index e53831c9ec..38835785d1 100644
--- a/graphics/darktable/darktable.info
+++ b/graphics/darktable/darktable.info
@@ -1,10 +1,10 @@
PRGNAM="darktable"
-VERSION="2.4.4"
+VERSION="4.2.1"
HOMEPAGE="https://www.darktable.org/"
-DOWNLOAD="https://github.com/darktable-org/darktable/releases/download/release-2.4.4/darktable-2.4.4.tar.xz"
-MD5SUM="32e4b9e75758b5d3fc803b857fd101ff"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="json-glib lensfun pugixml"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+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 1627eefa46..d3a96042c0 100644
--- a/graphics/dblatex/dblatex.SlackBuild
+++ b/graphics/dblatex/dblatex.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dblatex
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dblatex
VERSION=${VERSION:-0.3.10}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -78,4 +88,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/dblatex/dblatex.info b/graphics/dblatex/dblatex.info
index 39c915efe4..9746c5632d 100644
--- a/graphics/dblatex/dblatex.info
+++ b/graphics/dblatex/dblatex.info
@@ -1,8 +1,10 @@
PRGNAM="dblatex"
VERSION="0.3.10"
HOMEPAGE="http://dblatex.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/dblatex/dblatex-0.3.10.tar.bz2 http://mirrors.ctan.org/install/macros/latex/contrib/bookmark.tds.zip"
-MD5SUM="437513c07101cefe5be3cbe83f313878 21b68ae32b577f4aa6327122de4d93be"
+DOWNLOAD="https://downloads.sourceforge.net/dblatex/dblatex-0.3.10.tar.bz2 \
+ https://mirrors.ctan.org/install/macros/latex/contrib/bookmark.tds.zip"
+MD5SUM="437513c07101cefe5be3cbe83f313878 \
+ c47d7e393fe4129df5bb7217abcc4676"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/dcraw/dcraw.SlackBuild b/graphics/dcraw/dcraw.SlackBuild
index fca2e4c3b3..daf472dd5b 100644
--- a/graphics/dcraw/dcraw.SlackBuild
+++ b/graphics/dcraw/dcraw.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for dcraw
# Home Page http://cybercom.net/~dcoffin/dcraw
@@ -29,10 +29,13 @@
# If you want to build the rawphoto gimp plug-in, invoke the script as:
# RAWPHOTO=yes ./dcraw.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="dcraw"
VERSION=${VERSION:-9.28.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -131,4 +141,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/deskew/deskew.SlackBuild b/graphics/deskew/deskew.SlackBuild
index 747820d380..a3798b81a4 100644
--- a/graphics/deskew/deskew.SlackBuild
+++ b/graphics/deskew/deskew.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for deskew
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=deskew
VERSION=${VERSION:-1.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/dia/README b/graphics/dia/README
index 06d252b1ec..ef74f47ff0 100644
--- a/graphics/dia/README
+++ b/graphics/dia/README
@@ -1,6 +1,6 @@
-Dia is an application for creating technical diagrams. Its interface and
-features are loosely patterned after the Windows program Visio. Its features
-include multiple-page printing, export to many formats (EPS, SVG, CGM and
-PNG) and the ability to use custom shapes created by the user as simple XML
-descriptions. Dia is useful for drawing UML diagrams, network maps and
-flowcharts.
+Dia is an application for creating technical diagrams. Its interface
+and features are loosely patterned after the Windows program
+Visio. Its features include multiple-page printing, export to many
+formats (EPS, SVG, CGM and PNG) and the ability to use custom shapes
+created by the user as simple XML descriptions. Dia is useful for
+drawing UML diagrams, network maps and flowcharts.
diff --git a/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild
index 0726d31766..0210679254 100644
--- a/graphics/dia/dia.SlackBuild
+++ b/graphics/dia/dia.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dia
@@ -15,10 +15,13 @@
# 19.09.2015:
# * reviewed and updated for dia 0.97.3.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dia
VERSION=${VERSION:-0.97.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -28,7 +31,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -107,4 +117,4 @@ cat $CWD/slack-desc > $PKG/install/slack-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/digikam/README b/graphics/digikam/README
deleted file mode 100644
index a002764d17..0000000000
--- a/graphics/digikam/README
+++ /dev/null
@@ -1,14 +0,0 @@
-digiKam is a simple digital photo management application for KDE,
-which makes importing and organizing digital photos a "snap". The
-photos can be organized in albums which can be sorted chronologically,
-by directory layout or by custom collections. An easy to use interface
-is provided that enables you to connect to your camera and preview,
-download and/or delete your images.
-
-enblend-enfuse, hugin, sqlite2, and libdc1394 are optional dependencies.
-
-NOTES:
-- digikam now ships with its own internal version of kipi-plugins.
-- please remove previous version before building the current version.
-- Make sure qt5 is not installed before building opencv or else digiKam
- will segfault.
diff --git a/graphics/digikam/digikam.info b/graphics/digikam/digikam.info
deleted file mode 100644
index 3e6158f3c8..0000000000
--- a/graphics/digikam/digikam.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="digikam"
-VERSION="4.14.0"
-HOMEPAGE="https://www.digikam.org/"
-DOWNLOAD="https://download.kde.org/Attic/digikam/digikam-4.14.0.tar.bz2"
-MD5SUM="8fd3cb0a822e8c2d4102e8adc00c082f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="liblqr lensfun ffmpeg libpgf libkvkontakte libkface libkgeomap4"
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
diff --git a/graphics/digikam/doinst.sh b/graphics/digikam/doinst.sh
deleted file mode 100644
index 7ffea19638..0000000000
--- a/graphics/digikam/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications/kde4 >/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/digikam/lensfun-0.3.2.patch b/graphics/digikam/lensfun-0.3.2.patch
deleted file mode 100644
index 37776f6e31..0000000000
--- a/graphics/digikam/lensfun-0.3.2.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From: Gilles Caulier <caulier.gilles@gmail.com>
-Date: Mon, 14 Dec 2015 21:41:55 +0000
-Subject: fix compilation with Lensfun 0.3.2
-X-Git-Url: http://quickgit.kde.org/?p=digikam.git&a=commitdiff&h=0f159981176faa6da701f112bfe557b79804d468
----
-fix compilation with Lensfun 0.3.2
-It still compatible with older lensfun releases.
-BUGS: 356672
-FIXED-IN: 5.0.0
----
-
-
---- a/libs/dimg/filters/lens/lensfuniface.h
-+++ b/libs/dimg/filters/lens/lensfuniface.h
-@@ -24,10 +24,7 @@
-
- // Lib LensFun includes
-
--extern "C"
--{
- #include <lensfun.h>
--}
-
- // Local includes
-
-
diff --git a/graphics/digikam/libpgf.patch b/graphics/digikam/libpgf.patch
deleted file mode 100644
index 5d2e7498bb..0000000000
--- a/graphics/digikam/libpgf.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- core/libs/dimg/loaders/pgfloader.cpp.orig 2019-03-17 16:52:40.102888509 +0700
-+++ core/libs/dimg/loaders/pgfloader.cpp 2019-03-17 16:52:51.404020146 +0700
-@@ -442,14 +442,6 @@
- }
- }
-
--#ifdef PGFCodecVersionID
--# if PGFCodecVersionID < 0x061142
-- header.background.rgbtBlue = 0;
-- header.background.rgbtGreen = 0;
-- header.background.rgbtRed = 0;
--# endif
--#endif
--
- pgf.SetHeader(header);
-
- // NOTE: see bug #273765 : Loading PGF thumbs with OpenMP support through a separated thread do not work properlly with libppgf 6.11.24
---- core/libs/threadimageio/pgfutils.cpp.orig 2019-03-17 17:07:35.586244318 +0700
-+++ core/libs/threadimageio/pgfutils.cpp 2019-03-17 17:07:47.110376670 +0700
-@@ -262,13 +262,6 @@
- header.mode = ImageModeRGBA;
- header.usedBitsPerChannel = 0; // Auto
-
--#ifdef PGFCodecVersionID
--# if PGFCodecVersionID < 0x061142
-- header.background.rgbtBlue = 0;
-- header.background.rgbtGreen = 0;
-- header.background.rgbtRed = 0;
--# endif
--#endif
- pgfImg.SetHeader(header);
-
- // NOTE: see bug #273765 : Loading PGF thumbs with OpenMP support through a separated thread do not work properlly with libppgf 6.11.24
diff --git a/graphics/digikam/slack-desc b/graphics/digikam/slack-desc
deleted file mode 100644
index cf90391876..0000000000
--- a/graphics/digikam/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-digikam: digikam (KDE Photo Management Application)
-digikam:
-digikam: digiKam is a simple digital photo management application for KDE,
-digikam: which makes importing and organizing digital photos a "snap". The
-digikam: photos can be organized in albums which can be sorted chronologically,
-digikam: by directory layout or by custom collections. An easy to use interface
-digikam: is provided that enables you to connect to your camera and preview,
-digikam: download and/or delete your images.
-digikam:
-digikam: Homepage: http://www.digikam.org/
-digikam:
diff --git a/graphics/discwrapper/README b/graphics/discwrapper/README
deleted file mode 100644
index f83fcc9cb2..0000000000
--- a/graphics/discwrapper/README
+++ /dev/null
@@ -1,2 +0,0 @@
-DiscWrapper is a cover designer for homemade discs. It supports
-standard CD-DVD, slim CD-DVD cases and disc designing.
diff --git a/graphics/discwrapper/discwrapper.info b/graphics/discwrapper/discwrapper.info
deleted file mode 100644
index eb12308134..0000000000
--- a/graphics/discwrapper/discwrapper.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="discwrapper"
-VERSION="1.2.2"
-HOMEPAGE="http://discwrapper.sourceforge.net/index.html"
-DOWNLOAD="http://downloads.sourceforge.net/discwrapper/discwrapper-1.2.2.tar.gz"
-MD5SUM="6003fef596dcda6e6771bfdddda646fd"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wxPython"
-MAINTAINER="Pablo Santamaria"
-EMAIL="pablosantamaria@gmail.com"
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index 6b0b188465..ef2c76e027 100644
--- a/graphics/djview4/djview4.SlackBuild
+++ b/graphics/djview4/djview4.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for DjView4
@@ -26,26 +26,36 @@
# Thanks Jean-Pierre Moreau.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=djview4
VERSION=${VERSION:-4.10.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -111,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/draftsight/README b/graphics/draftsight/README
deleted file mode 100644
index 406c255061..0000000000
--- a/graphics/draftsight/README
+++ /dev/null
@@ -1,4 +0,0 @@
-DraftSight is a proprietary freeware 2D CAD product for engineers,
-architects, designers, draftspeople, students and educators.
-It was developed by Dassault Systemes and lets users create, edit
-and view DWG and DXF files.
diff --git a/graphics/draftsight/draftsight.SlackBuild b/graphics/draftsight/draftsight.SlackBuild
deleted file mode 100644
index 223bcccaf2..0000000000
--- a/graphics/draftsight/draftsight.SlackBuild
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for DraftSight
-
-# Copyright 2012-2014 Fridrich von Stauffenberg <cancellor2@gmail.com>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=draftsight
-VERSION=${VERSION:-10.3.442}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ORIG_PRGNAM=draftSight
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i386 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" != "i386" ] && [ "$ARCH" != "x86_64" ]; then
- printf "\n\n$ARCH is not supported...\n"
- exit 1
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-ar xv $CWD/$ORIG_PRGNAM.deb
-tar xvf data.tar.gz
-tar xvf control.tar.gz
-rm -f data.tar.gz control.tar.gz debian-binary \
- ShowLicense control postinst preinst prerm license.*.conf
-chown -R root:root .
-
-for SIZE in 16 32 48 64 128; do
- mkdir -p $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/{apps,mimetypes}
- ln -s /opt/dassault-systemes/DraftSight/Resources/pixmaps/$SIZE'x'$SIZE/program.png \
- $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/apps/dassault-systemes.$PRGNAM.png
- for TYPE in dwg dwt dxf; do
- ln -s /opt/dassault-systemes/DraftSight/Resources/pixmaps/$SIZE'x'$SIZE/file-$TYPE.png \
- $PKG/usr/share/icons/hicolor/$SIZE'x'$SIZE/mimetypes/dassault-systemes.$PRGNAM-$TYPE.png
- done
-done
-
-mkdir -p $PKG/usr/share/{applications,mime/packages}
-ln -s /opt/dassault-systemes/DraftSight/Resources/dassault-systemes_$PRGNAM.desktop \
- $PKG/usr/share/applications/dassault-systemes.$PRGNAM.desktop
-for TYPE in dwg dwt dxf; do
- ln -s /opt/dassault-systemes/DraftSight/Resources/dassault-systemes_$PRGNAM-$TYPE.xml \
- $PKG/usr/share/mime/packages/dassault-systemes.$PRGNAM-$TYPE.xml
-done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv license.*.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/draftsight/draftsight.info b/graphics/draftsight/draftsight.info
deleted file mode 100644
index 7541c5106a..0000000000
--- a/graphics/draftsight/draftsight.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="draftsight"
-VERSION="10.3.442"
-HOMEPAGE="http://www.draftsight.com"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/draftSight.deb"
-MD5SUM="eb51ca2a870fda9f850df3e73f3f5a30"
-DOWNLOAD_x86_64="UNTESTED"
-MD5SUM_x86_64=""
-REQUIRES="nas"
-MAINTAINER="orphaned - no maintainer"
-EMAIL="nobody@nowhere.com"
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 ed9834aa11..568f2b1b02 100644
--- a/graphics/draw.io/draw.io.SlackBuild
+++ b/graphics/drawio/drawio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for draw.io
@@ -23,16 +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
#
-PRGNAM=draw.io
-VERSION=${VERSION:-12.4.2}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=drawio
+VERSION=${VERSION:-20.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,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
@@ -54,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:-tgz}
+/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 59e0991ba0..0000000000
--- a/graphics/dvisvgm/README
+++ /dev/null
@@ -1,33 +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).
- http://dvisvgm.bplaced.net
-dvisvgm version 1.6 is present in SlackBuild texlive-2014052
-This separate package presents an updated version 1.11 of dvisvgm
-offereing 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/dxftoqet/dxftoqet.SlackBuild b/graphics/dxftoqet/dxftoqet.SlackBuild
index 1a65154af5..f4eb7dc602 100644
--- a/graphics/dxftoqet/dxftoqet.SlackBuild
+++ b/graphics/dxftoqet/dxftoqet.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dxftoqet
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dxftoqet
VERSION=${VERSION:-160326}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -88,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/dxftoqet/dxftoqet.info b/graphics/dxftoqet/dxftoqet.info
index f28cfbe846..b1ce015a27 100644
--- a/graphics/dxftoqet/dxftoqet.info
+++ b/graphics/dxftoqet/dxftoqet.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://ponce.cc/slackware/sources/repo/dxftoqet-160326.tar.gz"
MD5SUM="cb9db33a4709cc9b38b2948136c6c58c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Axel Bergerhoff"
EMAIL="the.druid@arcor.de"
diff --git a/graphics/embree/README b/graphics/embree/README
index 85e4ce2ad7..d266ac7780 100644
--- a/graphics/embree/README
+++ b/graphics/embree/README
@@ -6,31 +6,34 @@ performance- optimized ray tracing kernels. The kernels are optimized
for the latest Intel® processors with support for SSE, AVX, AVX2, and
AVX-512 instructions.
+Note to 32-bit users: This is x86_64 only, due to its use of CPU
+instructions that don't exist on 32-bit x86 processors.
+
Intel® Embree supports runtime code selection to choose the traversal
and build algorithms that best matches the instruction set of your CPU.
We recommend using Intel® Embree through its API to get the highest
benefit from future improvements. Intel® Embree is released as Open
Source under the Apache 2.0 license.
-Intel® Embree supports applications written with the Intel® SPMD Program
-Compiler (ISPC, https://ispc.github.io/) by also providing an ISPC
-interface to the core ray tracing algorithms. This makes it possible to
-write a renderer in ISPC that automatically vectorizes and leverages
-SSE, AVX, AVX2, and AVX-512 instructions. ISPC also supports runtime
-code selection, thus ISPC will select the best code path for your
-application.
+Intel® Embree supports applications written with the Intel® SPMD
+Program Compiler (ISPC, https://ispc.github.io/) by also providing
+an ISPC interface to the core ray tracing algorithms. This makes it
+possible to write a renderer in ISPC that automatically vectorizes and
+leverages SSE, AVX, AVX2, and AVX-512 instructions. ISPC also supports
+runtime code selection, thus ISPC will select the best code path for
+your application.
Intel® Embree contains algorithms optimized for incoherent workloads
(e.g. Monte Carlo ray tracing algorithms) and coherent workloads (e.g.
primary visibility and hard shadow rays).
The single-ray traversal kernels of Intel® Embree provide high
-performance for incoherent workloads and are very easy to integrate into
-existing rendering applications. Using the stream kernels, even higher
-performance for incoherent rays is possible, but integration might
-require significant code changes to the application to use the stream
-paradigm. In general for coherent workloads, the stream mode with
-coherent flag set gives the best performance.
+performance for incoherent workloads and are very easy to integrate
+into existing rendering applications. Using the stream kernels, even
+higher performance for incoherent rays is possible, but integration
+might require significant code changes to the application to use the
+stream paradigm. In general for coherent workloads, the stream mode
+with coherent flag set gives the best performance.
Intel® Embree also supports dynamic scenes by implementing
high-performance two-level spatial index structure construction
diff --git a/graphics/embree/embree.SlackBuild b/graphics/embree/embree.SlackBuild
index 6a70fc784a..b3d6cf0506 100644
--- a/graphics/embree/embree.SlackBuild
+++ b/graphics/embree/embree.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for embree
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -115,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 ..
@@ -141,4 +151,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/embree/embree.info b/graphics/embree/embree.info
index e5130250b4..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="https://github.com/embree/embree/archive/v3.12.1/embree-3.12.1.tar.gz"
-MD5SUM="2d24fa44db63ae1900cf6279140abd8a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="glfw3"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+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/embree/slack-desc b/graphics/embree/slack-desc
index 6f4f28dc10..2e7cc8f336 100644
--- a/graphics/embree/slack-desc
+++ b/graphics/embree/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
embree: embree (ray tracing kernels)
embree:
-embree: Intel® Embree is a collection of high-performance ray tracing kernels,
-embree: developed at Intel.
-embree: The target users of Intel® Embree are graphics application engineers
-embree: who want to improve the performance of their photo-realistic rendering
-embree: application by leveraging Embree's performance-optimized ray tracing
-embree: kernels.
+embree: Intel(r) Embree is a collection of high-performance ray
+embree: tracing kernels, developed at Intel.
+embree: The target users of Intel(r) Embree are graphics application
+embree: engineers who want to improve the performance of their
+embree: photo-realistic rendering application by leveraging Embree's
+embree: performance-optimized ray tracing kernels.
embree:
embree: Homepage: https://www.embree.org/
embree:
diff --git a/graphics/enblend-enfuse/README b/graphics/enblend-enfuse/README
index 7565c894bc..34f7e3c6d1 100644
--- a/graphics/enblend-enfuse/README
+++ b/graphics/enblend-enfuse/README
@@ -1,4 +1,5 @@
-Enblend combines images that overlap into a single large image with no seams.
-Enfuse combines images that overlap into a single image with good exposure
-and good focus. Both programs assume that your images are already lined up.
-To make panoramas with Enblend and/or Enfuse, use Hugin.
+Enblend combines images that overlap into a single large image with no
+seams. Enfuse combines images that overlap into a single image with
+good exposure and good focus. Both programs assume that your images
+are already lined up. To make panoramas with Enblend and/or Enfuse,
+use Hugin.
diff --git a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
index 26381c3f52..1e06bc91c6 100644
--- a/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
+++ b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Enblend-Enfuse
#
@@ -23,10 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230629 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - install binaries stripped.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=enblend-enfuse
-VERSION=${VERSION:-4.2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-20191019_4c30a326b3f4}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,34 +71,39 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
-CXXFLAGS="$SLKCFLAGS" \
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --build=$ARCH-slackware-linux
+#sed -i '/^#include <vector>$/a #include <limits>' src/minimizer.h
-make -j1
-make install-strip DESTDIR=$PKG
+export MANDIR=/usr/man
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=on \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_OPENMP=on \
+ -DENABLE_METADATA_TRANSFER=on \
+ -Wno-dev ..
-rm -f $PKG/usr/info/dir
+ 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 AUTHORS COPYING ChangeLog NEWS README README.txt VERSION \
+cp -a AUTHORS COPYING ChangeLog NEWS README VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -96,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/enblend-enfuse/enblend-enfuse.info b/graphics/enblend-enfuse/enblend-enfuse.info
index f99b8df8c4..657d77a78f 100644
--- a/graphics/enblend-enfuse/enblend-enfuse.info
+++ b/graphics/enblend-enfuse/enblend-enfuse.info
@@ -1,8 +1,8 @@
PRGNAM="enblend-enfuse"
-VERSION="4.2"
+VERSION="20191019_4c30a326b3f4"
HOMEPAGE="http://enblend.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/enblend/enblend-enfuse-4.2.tar.gz"
-MD5SUM="e26751f393862cecfd1a113003787001"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/enblend-enfuse-20191019_4c30a326b3f4.tar.xz"
+MD5SUM="93c9ce25de51c00f84d90b05532a4964"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="vigra"
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 292aad9861..3311950f6c 100644
--- a/graphics/entangle/entangle.SlackBuild
+++ b/graphics/entangle/entangle.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=entangle
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,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 . \
@@ -69,37 +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
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:-tgz}
+/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 baff7b6a35..c02b5558c3 100644
--- a/graphics/entangle/entangle.info
+++ b/graphics/entangle/entangle.info
@@ -1,10 +1,10 @@
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="libgexiv2 libpeas"
+REQUIRES="libpeas"
MAINTAINER="Philip Lacroix"
EMAIL="slackph at posteo dot de"
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/eog-plugins/doinst.sh b/graphics/eog-plugins/doinst.sh
new file mode 100644
index 0000000000..9091c626ac
--- /dev/null
+++ b/graphics/eog-plugins/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-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/discwrapper/slack-desc b/graphics/eog-plugins/slack-desc
index 2f733a150b..164d287263 100644
--- a/graphics/discwrapper/slack-desc
+++ b/graphics/eog-plugins/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-discwrapper: discwrapper (a cover designer for homemade discs)
-discwrapper:
-discwrapper: DiscWrapper is a cover designer for homemade discs. It supports
-discwrapper: standard CD-DVD, slim CD-DVD cases and disc designing.
-discwrapper:
-discwrapper:
-discwrapper:
-discwrapper:
-discwrapper:
-discwrapper:
-discwrapper:
+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/evolus-pencil/evolus-pencil.SlackBuild b/graphics/evolus-pencil/evolus-pencil.SlackBuild
index 89ba5dda4d..eef8757e8d 100644
--- a/graphics/evolus-pencil/evolus-pencil.SlackBuild
+++ b/graphics/evolus-pencil/evolus-pencil.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for evolus-pencil
@@ -24,15 +24,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=evolus-pencil
SRCNAM=pencil
VERSION=${VERSION:-2.0.5}
BUILD=${BUILD:-2}
APPBUILD=${APPBUILD:-1.fc19}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,4 +75,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/exact-image/Provide-gif-quantization-for-giflib-5.2.patch b/graphics/exact-image/Provide-gif-quantization-for-giflib-5.2.patch
new file mode 100644
index 0000000000..9f9210abf5
--- /dev/null
+++ b/graphics/exact-image/Provide-gif-quantization-for-giflib-5.2.patch
@@ -0,0 +1,384 @@
+From: Sven Eckelmann <sven@narfation.org>
+Date: Sat, 31 Aug 2019 14:13:11 +0200
+Subject: Provide gif quantization for giflib >= 5.2
+
+Bug-Debian: https://bugs.debian.org/939031
+
+diff -Naur exact-image-1.0.2.orig/codecs/Makefile exact-image-1.0.2/codecs/Makefile
+--- exact-image-1.0.2.orig/codecs/Makefile 2016-06-18 21:49:25.000000000 +0200
++++ exact-image-1.0.2/codecs/Makefile 2020-12-11 15:30:44.374504000 +0100
+@@ -21,7 +21,7 @@
+ ifeq "$(WITHLIBGIF)" "1"
+ LDFLAGS += -lgif
+ else
+-NOT_SRCS += gif.cc
++NOT_SRCS += gif.cc gif_quantization.c
+ endif
+
+ ifeq "$(WITHJASPER)" "1"
+diff -Naur exact-image-1.0.2.orig/codecs/gif.cc exact-image-1.0.2/codecs/gif.cc
+--- exact-image-1.0.2.orig/codecs/gif.cc 2017-07-21 16:19:01.000000000 +0200
++++ exact-image-1.0.2/codecs/gif.cc 2020-12-11 15:34:55.340504000 +0100
+@@ -160,6 +160,17 @@
+ return true;
+ }
+
++extern "C" int
++eiGifQuantizeBuffer(unsigned int Width,
++ unsigned int Height,
++ int *ColorMapSize,
++ GifByteType * RedInput,
++ GifByteType * GreenInput,
++ GifByteType * BlueInput,
++ GifByteType * OutputBuffer,
++ GifColorType * OutputColorMap);
++
++
+ bool GIFCodec::writeImage (std::ostream* stream, Image& image, int quality,
+ const std::string& compress)
+ {
+@@ -203,8 +214,7 @@
+ *bptr++ = b;
+ }
+
+-
+- if (GifQuantizeBuffer(image.w, image.h, &ColorMapSize,
++ if (eiGifQuantizeBuffer(image.w, image.h, &ColorMapSize,
+ RedBuffer, GreenBuffer, BlueBuffer,
+ OutputBuffer, OutputColorMap->Colors) == GIF_ERROR) {
+ return false;
+diff -Naur exact-image-1.0.2.orig/codecs/gif_quantization.c exact-image-1.0.2/codecs/gif_quantization.c
+--- exact-image-1.0.2.orig/codecs/gif_quantization.c 1970-01-01 01:00:00.000000000 +0100
++++ exact-image-1.0.2/codecs/gif_quantization.c 2020-12-11 15:30:19.181504000 +0100
+@@ -0,0 +1,331 @@
++/*****************************************************************************
++
++ quantize.c - quantize a high resolution image into lower one
++
++ Based on: "Color Image Quantization for frame buffer Display", by
++ Paul Heckbert SIGGRAPH 1982 page 297-307.
++
++ This doesn't really belong in the core library, was undocumented,
++ and was removed in 4.2. Then it turned out some client apps were
++ actually using it, so it was restored in 5.0.
++
++SPDX-License-Identifier: MIT
++
++******************************************************************************/
++
++#include <stdlib.h>
++#include <stdio.h>
++#include "gif_lib.h"
++
++#define ABS(x) ((x) > 0 ? (x) : (-(x)))
++
++#define COLOR_ARRAY_SIZE 32768
++#define BITS_PER_PRIM_COLOR 5
++#define MAX_PRIM_COLOR 0x1f
++
++static int SortRGBAxis;
++
++typedef struct QuantizedColorType {
++ GifByteType RGB[3];
++ GifByteType NewColorIndex;
++ long Count;
++ struct QuantizedColorType *Pnext;
++} QuantizedColorType;
++
++typedef struct NewColorMapType {
++ GifByteType RGBMin[3], RGBWidth[3];
++ unsigned int NumEntries; /* # of QuantizedColorType in linked list below */
++ unsigned long Count; /* Total number of pixels in all the entries */
++ QuantizedColorType *QuantizedColors;
++} NewColorMapType;
++
++static int SubdivColorMap(NewColorMapType * NewColorSubdiv,
++ unsigned int ColorMapSize,
++ unsigned int *NewColorMapSize);
++static int SortCmpRtn(const void *Entry1, const void *Entry2);
++
++/******************************************************************************
++ Quantize high resolution image into lower one. Input image consists of a
++ 2D array for each of the RGB colors with size Width by Height. There is no
++ Color map for the input. Output is a quantized image with 2D array of
++ indexes into the output color map.
++ Note input image can be 24 bits at the most (8 for red/green/blue) and
++ the output has 256 colors at the most (256 entries in the color map.).
++ ColorMapSize specifies size of color map up to 256 and will be updated to
++ real size before returning.
++ Also non of the parameter are allocated by this routine.
++ This function returns GIF_OK if successful, GIF_ERROR otherwise.
++******************************************************************************/
++int
++eiGifQuantizeBuffer(unsigned int Width,
++ unsigned int Height,
++ int *ColorMapSize,
++ GifByteType * RedInput,
++ GifByteType * GreenInput,
++ GifByteType * BlueInput,
++ GifByteType * OutputBuffer,
++ GifColorType * OutputColorMap) {
++
++ unsigned int Index, NumOfEntries;
++ int i, j, MaxRGBError[3];
++ unsigned int NewColorMapSize;
++ long Red, Green, Blue;
++ NewColorMapType NewColorSubdiv[256];
++ QuantizedColorType *ColorArrayEntries, *QuantizedColor;
++
++ ColorArrayEntries = (QuantizedColorType *)malloc(
++ sizeof(QuantizedColorType) * COLOR_ARRAY_SIZE);
++ if (ColorArrayEntries == NULL) {
++ return GIF_ERROR;
++ }
++
++ for (i = 0; i < COLOR_ARRAY_SIZE; i++) {
++ ColorArrayEntries[i].RGB[0] = i >> (2 * BITS_PER_PRIM_COLOR);
++ ColorArrayEntries[i].RGB[1] = (i >> BITS_PER_PRIM_COLOR) &
++ MAX_PRIM_COLOR;
++ ColorArrayEntries[i].RGB[2] = i & MAX_PRIM_COLOR;
++ ColorArrayEntries[i].Count = 0;
++ }
++
++ /* Sample the colors and their distribution: */
++ for (i = 0; i < (int)(Width * Height); i++) {
++ Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ (2 * BITS_PER_PRIM_COLOR)) +
++ ((GreenInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ BITS_PER_PRIM_COLOR) +
++ (BlueInput[i] >> (8 - BITS_PER_PRIM_COLOR));
++ ColorArrayEntries[Index].Count++;
++ }
++
++ /* Put all the colors in the first entry of the color map, and call the
++ * recursive subdivision process. */
++ for (i = 0; i < 256; i++) {
++ NewColorSubdiv[i].QuantizedColors = NULL;
++ NewColorSubdiv[i].Count = NewColorSubdiv[i].NumEntries = 0;
++ for (j = 0; j < 3; j++) {
++ NewColorSubdiv[i].RGBMin[j] = 0;
++ NewColorSubdiv[i].RGBWidth[j] = 255;
++ }
++ }
++
++ /* Find the non empty entries in the color table and chain them: */
++ for (i = 0; i < COLOR_ARRAY_SIZE; i++)
++ if (ColorArrayEntries[i].Count > 0)
++ break;
++ QuantizedColor = NewColorSubdiv[0].QuantizedColors = &ColorArrayEntries[i];
++ NumOfEntries = 1;
++ while (++i < COLOR_ARRAY_SIZE)
++ if (ColorArrayEntries[i].Count > 0) {
++ QuantizedColor->Pnext = &ColorArrayEntries[i];
++ QuantizedColor = &ColorArrayEntries[i];
++ NumOfEntries++;
++ }
++ QuantizedColor->Pnext = NULL;
++
++ NewColorSubdiv[0].NumEntries = NumOfEntries; /* Different sampled colors */
++ NewColorSubdiv[0].Count = ((long)Width) * Height; /* Pixels */
++ NewColorMapSize = 1;
++ if (SubdivColorMap(NewColorSubdiv, *ColorMapSize, &NewColorMapSize) !=
++ GIF_OK) {
++ free((char *)ColorArrayEntries);
++ return GIF_ERROR;
++ }
++ if (NewColorMapSize < *ColorMapSize) {
++ /* And clear rest of color map: */
++ for (i = NewColorMapSize; i < *ColorMapSize; i++)
++ OutputColorMap[i].Red = OutputColorMap[i].Green =
++ OutputColorMap[i].Blue = 0;
++ }
++
++ /* Average the colors in each entry to be the color to be used in the
++ * output color map, and plug it into the output color map itself. */
++ for (i = 0; i < NewColorMapSize; i++) {
++ if ((j = NewColorSubdiv[i].NumEntries) > 0) {
++ QuantizedColor = NewColorSubdiv[i].QuantizedColors;
++ Red = Green = Blue = 0;
++ while (QuantizedColor) {
++ QuantizedColor->NewColorIndex = i;
++ Red += QuantizedColor->RGB[0];
++ Green += QuantizedColor->RGB[1];
++ Blue += QuantizedColor->RGB[2];
++ QuantizedColor = QuantizedColor->Pnext;
++ }
++ OutputColorMap[i].Red = (Red << (8 - BITS_PER_PRIM_COLOR)) / j;
++ OutputColorMap[i].Green = (Green << (8 - BITS_PER_PRIM_COLOR)) / j;
++ OutputColorMap[i].Blue = (Blue << (8 - BITS_PER_PRIM_COLOR)) / j;
++ }
++ }
++
++ /* Finally scan the input buffer again and put the mapped index in the
++ * output buffer. */
++ MaxRGBError[0] = MaxRGBError[1] = MaxRGBError[2] = 0;
++ for (i = 0; i < (int)(Width * Height); i++) {
++ Index = ((RedInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ (2 * BITS_PER_PRIM_COLOR)) +
++ ((GreenInput[i] >> (8 - BITS_PER_PRIM_COLOR)) <<
++ BITS_PER_PRIM_COLOR) +
++ (BlueInput[i] >> (8 - BITS_PER_PRIM_COLOR));
++ Index = ColorArrayEntries[Index].NewColorIndex;
++ OutputBuffer[i] = Index;
++ if (MaxRGBError[0] < ABS(OutputColorMap[Index].Red - RedInput[i]))
++ MaxRGBError[0] = ABS(OutputColorMap[Index].Red - RedInput[i]);
++ if (MaxRGBError[1] < ABS(OutputColorMap[Index].Green - GreenInput[i]))
++ MaxRGBError[1] = ABS(OutputColorMap[Index].Green - GreenInput[i]);
++ if (MaxRGBError[2] < ABS(OutputColorMap[Index].Blue - BlueInput[i]))
++ MaxRGBError[2] = ABS(OutputColorMap[Index].Blue - BlueInput[i]);
++ }
++
++#ifdef DEBUG
++ fprintf(stderr,
++ "Quantization L(0) errors: Red = %d, Green = %d, Blue = %d.\n",
++ MaxRGBError[0], MaxRGBError[1], MaxRGBError[2]);
++#endif /* DEBUG */
++
++ free((char *)ColorArrayEntries);
++
++ *ColorMapSize = NewColorMapSize;
++
++ return GIF_OK;
++}
++
++/******************************************************************************
++ Routine to subdivide the RGB space recursively using median cut in each
++ axes alternatingly until ColorMapSize different cubes exists.
++ The biggest cube in one dimension is subdivide unless it has only one entry.
++ Returns GIF_ERROR if failed, otherwise GIF_OK.
++*******************************************************************************/
++static int
++SubdivColorMap(NewColorMapType * NewColorSubdiv,
++ unsigned int ColorMapSize,
++ unsigned int *NewColorMapSize) {
++
++ unsigned int i, j, Index = 0;
++ QuantizedColorType *QuantizedColor, **SortArray;
++
++ while (ColorMapSize > *NewColorMapSize) {
++ /* Find candidate for subdivision: */
++ long Sum, Count;
++ int MaxSize = -1;
++ unsigned int NumEntries, MinColor, MaxColor;
++ for (i = 0; i < *NewColorMapSize; i++) {
++ for (j = 0; j < 3; j++) {
++ if ((((int)NewColorSubdiv[i].RGBWidth[j]) > MaxSize) &&
++ (NewColorSubdiv[i].NumEntries > 1)) {
++ MaxSize = NewColorSubdiv[i].RGBWidth[j];
++ Index = i;
++ SortRGBAxis = j;
++ }
++ }
++ }
++
++ if (MaxSize == -1)
++ return GIF_OK;
++
++ /* Split the entry Index into two along the axis SortRGBAxis: */
++
++ /* Sort all elements in that entry along the given axis and split at
++ * the median. */
++ SortArray = (QuantizedColorType **)malloc(
++ sizeof(QuantizedColorType *) *
++ NewColorSubdiv[Index].NumEntries);
++ if (SortArray == NULL)
++ return GIF_ERROR;
++ for (j = 0, QuantizedColor = NewColorSubdiv[Index].QuantizedColors;
++ j < NewColorSubdiv[Index].NumEntries && QuantizedColor != NULL;
++ j++, QuantizedColor = QuantizedColor->Pnext)
++ SortArray[j] = QuantizedColor;
++
++ /*
++ * Because qsort isn't stable, this can produce differing
++ * results for the order of tuples depending on platform
++ * details of how qsort() is implemented.
++ *
++ * We mitigate this problem by sorting on all three axes rather
++ * than only the one specied by SortRGBAxis; that way the instability
++ * can only become an issue if there are multiple color indices
++ * referring to identical RGB tuples. Older versions of this
++ * sorted on only the one axis.
++ */
++ qsort(SortArray, NewColorSubdiv[Index].NumEntries,
++ sizeof(QuantizedColorType *), SortCmpRtn);
++
++ /* Relink the sorted list into one: */
++ for (j = 0; j < NewColorSubdiv[Index].NumEntries - 1; j++)
++ SortArray[j]->Pnext = SortArray[j + 1];
++ SortArray[NewColorSubdiv[Index].NumEntries - 1]->Pnext = NULL;
++ NewColorSubdiv[Index].QuantizedColors = QuantizedColor = SortArray[0];
++ free((char *)SortArray);
++
++ /* Now simply add the Counts until we have half of the Count: */
++ Sum = NewColorSubdiv[Index].Count / 2 - QuantizedColor->Count;
++ NumEntries = 1;
++ Count = QuantizedColor->Count;
++ while (QuantizedColor->Pnext != NULL &&
++ (Sum -= QuantizedColor->Pnext->Count) >= 0 &&
++ QuantizedColor->Pnext->Pnext != NULL) {
++ QuantizedColor = QuantizedColor->Pnext;
++ NumEntries++;
++ Count += QuantizedColor->Count;
++ }
++ /* Save the values of the last color of the first half, and first
++ * of the second half so we can update the Bounding Boxes later.
++ * Also as the colors are quantized and the BBoxes are full 0..255,
++ * they need to be rescaled.
++ */
++ MaxColor = QuantizedColor->RGB[SortRGBAxis]; /* Max. of first half */
++ /* coverity[var_deref_op] */
++ MinColor = QuantizedColor->Pnext->RGB[SortRGBAxis]; /* of second */
++ MaxColor <<= (8 - BITS_PER_PRIM_COLOR);
++ MinColor <<= (8 - BITS_PER_PRIM_COLOR);
++
++ /* Partition right here: */
++ NewColorSubdiv[*NewColorMapSize].QuantizedColors =
++ QuantizedColor->Pnext;
++ QuantizedColor->Pnext = NULL;
++ NewColorSubdiv[*NewColorMapSize].Count = Count;
++ NewColorSubdiv[Index].Count -= Count;
++ NewColorSubdiv[*NewColorMapSize].NumEntries =
++ NewColorSubdiv[Index].NumEntries - NumEntries;
++ NewColorSubdiv[Index].NumEntries = NumEntries;
++ for (j = 0; j < 3; j++) {
++ NewColorSubdiv[*NewColorMapSize].RGBMin[j] =
++ NewColorSubdiv[Index].RGBMin[j];
++ NewColorSubdiv[*NewColorMapSize].RGBWidth[j] =
++ NewColorSubdiv[Index].RGBWidth[j];
++ }
++ NewColorSubdiv[*NewColorMapSize].RGBWidth[SortRGBAxis] =
++ NewColorSubdiv[*NewColorMapSize].RGBMin[SortRGBAxis] +
++ NewColorSubdiv[*NewColorMapSize].RGBWidth[SortRGBAxis] - MinColor;
++ NewColorSubdiv[*NewColorMapSize].RGBMin[SortRGBAxis] = MinColor;
++
++ NewColorSubdiv[Index].RGBWidth[SortRGBAxis] =
++ MaxColor - NewColorSubdiv[Index].RGBMin[SortRGBAxis];
++
++ (*NewColorMapSize)++;
++ }
++
++ return GIF_OK;
++}
++
++/****************************************************************************
++ Routine called by qsort to compare two entries.
++*****************************************************************************/
++
++static int
++SortCmpRtn(const void *Entry1,
++ const void *Entry2) {
++ QuantizedColorType *entry1 = (*((QuantizedColorType **) Entry1));
++ QuantizedColorType *entry2 = (*((QuantizedColorType **) Entry2));
++
++ /* sort on all axes of the color space! */
++ int hash1 = entry1->RGB[SortRGBAxis] * 256 * 256
++ + entry1->RGB[(SortRGBAxis+1) % 3] * 256
++ + entry1->RGB[(SortRGBAxis+2) % 3];
++ int hash2 = entry2->RGB[SortRGBAxis] * 256 * 256
++ + entry2->RGB[(SortRGBAxis+1) % 3] * 256
++ + entry2->RGB[(SortRGBAxis+2) % 3];
++
++ return hash1 - hash2;
++}
++
++/* end */
diff --git a/graphics/exact-image/README b/graphics/exact-image/README
index 8a29a3099d..c11dba9e4a 100644
--- a/graphics/exact-image/README
+++ b/graphics/exact-image/README
@@ -1,12 +1,15 @@
-ExactImage is an image processing library which reimplements
+ExactImage is an image processing library which reimplements
ImageMagick functions with a significant speed improvement.
The library also provides several new algorithms: lossless JPEG
-transforms and creation of searchable PDFs from hOCR annotated
-HTML created with an OCR program such as Tesseract or Cuneiform
-(available at Slackbuilds.org). There are bindings for PHP, Lua,
-Perl, and Python. See /usr/doc/exact-image-*/examples/ for
-information on using exactimage with Perl, Python, PHP and Lua.
+transforms and creation of searchable PDFs from hOCR annotated HTML
+created with an OCR program such as Tesseract or Cuneiform (available
+at Slackbuilds.org). There are bindings for PHP[*], Lua, Perl, and
+Python. See /usr/doc/exact-image-*/examples/ for information on using
+exactimage with Perl, Python, PHP[*] and Lua.
-lua and evas are optional dependencies.
+lua is an optional dependency.
bardecode is also optional but not available at SBo.
+
+[*] The PHP extension is disabled in this SlackBuild, as it only
+ supports PHP5, and we have PHP7 on Slackware 15.0. Sorry.
diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild
index bc64a31f5b..7e8fdb3865 100644
--- a/graphics/exact-image/exact-image.SlackBuild
+++ b/graphics/exact-image/exact-image.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for exact-image
-# Copyright 2010-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2010-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org:
+# - enable libgif, openexr, python support.
+# - disable evas support. requires efl, but build fails if efl is installed.
+# - php is still disabled, but at least mention that in README.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exact-image
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,20 +77,22 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Patch to fix perl path
eval $(perl -V:vendorlib)
sed "s,@vendorlib@,$vendorlib,g" $CWD/fixup-perl_paths.diff | patch -p1 --verbose
patch -p1 < $CWD/c98.patch
+patch -p1 < $CWD/Provide-gif-quantization-for-giflib-5.2.patch
./configure \
--bindir=/usr/bin \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --without-php
+ --without-php \
+ --without-evas
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS -Wno-narrowing -fpermissive"
make install DESTDIR=$PKG
@@ -96,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/exif/exif.SlackBuild b/graphics/exif/exif.SlackBuild
index c18c99c8a4..fa7534e3b3 100644
--- a/graphics/exif/exif.SlackBuild
+++ b/graphics/exif/exif.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for exif
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exif
VERSION=${VERSION:-0.6.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,17 +38,21 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -97,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/exiftags/exiftags.SlackBuild b/graphics/exiftags/exiftags.SlackBuild
index 90d0d97c57..50ae84455a 100644
--- a/graphics/exiftags/exiftags.SlackBuild
+++ b/graphics/exiftags/exiftags.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for exiftags
# Written by Cezary M. Kruk (c.kruk@bigfoot.com)
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exiftags
VERSION=${VERSION:-1.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -79,4 +89,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/farbfeld/README b/graphics/farbfeld/README
new file mode 100644
index 0000000000..ab1a17dbf7
--- /dev/null
+++ b/graphics/farbfeld/README
@@ -0,0 +1,6 @@
+farbfeld (lossless image format from suckless.org)
+
+farbfeld is a lossless image format which is easy to parse, pipe
+and compress. farbfeld includes the following programs:
+
+2ff ff2jpg ff2pam ff2png ff2ppm jpg2ff png2ff
diff --git a/graphics/farbfeld/farbfeld.SlackBuild b/graphics/farbfeld/farbfeld.SlackBuild
new file mode 100644
index 0000000000..1792d213c4
--- /dev/null
+++ b/graphics/farbfeld/farbfeld.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/bash
+
+# Slackware build script for ferbfeld
+
+# 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:-2}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod 644 *
+
+sed -i "/CFLAGS/s,-Os,$SLKCFLAGS," config.mk
+
+make
+make install PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
+
+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
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/farbfeld/farbfeld.info b/graphics/farbfeld/farbfeld.info
new file mode 100644
index 0000000000..a39cf90aa1
--- /dev/null
+++ b/graphics/farbfeld/farbfeld.info
@@ -0,0 +1,10 @@
+PRGNAM="farbfeld"
+VERSION="4"
+HOMEPAGE="https://tools.suckless.org/farbfeld/"
+DOWNLOAD="https://dl.suckless.org/farbfeld/farbfeld-4.tar.gz"
+MD5SUM="1e39351f5e8c9e2b5910959565a23349"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/farbfeld/slack-desc b/graphics/farbfeld/slack-desc
new file mode 100644
index 0000000000..d003ab0f81
--- /dev/null
+++ b/graphics/farbfeld/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+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:
diff --git a/graphics/fbgrab/fbgrab.SlackBuild b/graphics/fbgrab/fbgrab.SlackBuild
index c232b5b4b9..b153754568 100644
--- a/graphics/fbgrab/fbgrab.SlackBuild
+++ b/graphics/fbgrab/fbgrab.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fbgrab
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbgrab
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fbgrab/slack-desc b/graphics/fbgrab/slack-desc
index 18d9208227..5595a5b417 100644
--- a/graphics/fbgrab/slack-desc
+++ b/graphics/fbgrab/slack-desc
@@ -10,7 +10,7 @@ fbgrab: fbgrab (framebuffer screenshot program)
fbgrab:
fbgrab: FBGrab is a framebuffer screenshot program, capturing the linux
fbgrab: frambuffer and converting it to a png-picture.
-fbgrab:
+fbgrab:
fbgrab: Homepage: https://github.com/GunnarMonell/fbgrab
fbgrab:
fbgrab:
diff --git a/graphics/fbida/README b/graphics/fbida/README
index c9199b380b..fbff0f63ac 100644
--- a/graphics/fbida/README
+++ b/graphics/fbida/README
@@ -4,9 +4,9 @@ The fbida project contains a few applications for viewing and
editing images, with the main focus being photos:
fbi - This is an image viewer for the Linux framebuffer console.
- fbgs - Script for viewing PS/PDF files on framebuffer console using fbi.
- fbipdf - Framebuffer PDF viewer, faster and better than fbgs, but without
- support for PS.
-exiftran - Command line tool to do lossless transformations of JPEG images.
+ fbgs - Script for viewing PS/PDF on framebuffer console using fbi.
+ fbipdf - Framebuffer PDF viewer, faster and better than fbgs, but
+ without support for PS.
+exiftran - Command line tool, lossless transformations of JPEG images.
ida - Motif based image viewer for X11. Can be disabled by setting
MOTIF=no in the script's environment.
diff --git a/graphics/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild
index 84c9d05406..66d4846e1e 100644
--- a/graphics/fbida/fbida.SlackBuild
+++ b/graphics/fbida/fbida.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fbida
@@ -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
@@ -50,10 +50,13 @@
# 20140915 bkw: take over maintenance, minor script cleanup
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbida
VERSION=${VERSION:-2.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -63,7 +66,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,11 +100,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# https://gitlab.com/kraxel/fbida/-/commit/1bb8a8aa.patch
+patch -p1 < $CWD/gcc10.patch
MOTIF_OPT="HAVE_MOTIF=${MOTIF:-yes}"
sed -i "/^CFLAGS/s,-g *-O2,$SLKCFLAGS," mk/Variables.mk
@@ -154,4 +161,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
[ "${MOTIF:-yes}" = "yes" ] && 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/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/fbida/gcc10.patch b/graphics/fbida/gcc10.patch
new file mode 100644
index 0000000000..50618d6a32
--- /dev/null
+++ b/graphics/fbida/gcc10.patch
@@ -0,0 +1,80 @@
+From 1bb8a8aa29845378903f3c690e17c0867c820da2 Mon Sep 17 00:00:00 2001
+From: Gerd Hoffmann <kraxel@redhat.com>
+Date: Mon, 16 Mar 2020 13:24:12 +0100
+Subject: [PATCH] gcc10 build fix
+
+by Adrian Reber <adrian@lisas.de>
+---
+ fbi.c | 1 -
+ filter.c | 2 --
+ idaconfig.h | 2 +-
+ readers.c | 2 ++
+ viewer.c | 1 -
+ 5 files changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/fbi.c b/fbi.c
+index 8882302..8fd9d31 100644
+--- a/fbi.c
++++ b/fbi.c
+@@ -86,7 +86,6 @@ static int img_mem, max_mem_mb;
+
+ /* graphics interface */
+ gfxstate *gfx;
+-int debug;
+
+ /* framebuffer */
+ char *fbdev = NULL;
+diff --git a/filter.c b/filter.c
+index a75f73a..e20ebc2 100644
+--- a/filter.c
++++ b/filter.c
+@@ -6,8 +6,6 @@
+ #include "readers.h"
+ #include "filter.h"
+
+-int debug = 0;
+-
+ /* ----------------------------------------------------------------------- */
+
+ static void
+diff --git a/idaconfig.h b/idaconfig.h
+index 8d616ef..d09a178 100644
+--- a/idaconfig.h
++++ b/idaconfig.h
+@@ -17,7 +17,7 @@
+
+ /* -------------------------------------------------------------------------- */
+
+-char *ida_lists;
++extern char *ida_lists;
+
+ void ida_init_config(void);
+ void ida_read_config(void);
+diff --git a/readers.c b/readers.c
+index e94bbcb..1516ed9 100644
+--- a/readers.c
++++ b/readers.c
+@@ -7,6 +7,8 @@
+ #include "readers.h"
+ #include "byteorder.h"
+
++int debug=0;
++
+ /* ----------------------------------------------------------------------- */
+
+ void load_bits_lsb(unsigned char *dst, unsigned char *src, int width,
+diff --git a/viewer.c b/viewer.c
+index ab4b31c..02ba807 100644
+--- a/viewer.c
++++ b/viewer.c
+@@ -38,7 +38,6 @@
+
+ #define PROCESS_LINES 16
+
+-int debug;
+ Cursor ptrs[POINTER_COUNT];
+
+ /* ----------------------------------------------------------------------- */
+--
+GitLab
+
diff --git a/graphics/fbpic/README b/graphics/fbpic/README
index f779496aec..ae0eca3d5f 100644
--- a/graphics/fbpic/README
+++ b/graphics/fbpic/README
@@ -1,6 +1,7 @@
FBpic is a simple command to view ppm files on the linux frame buffer.
-There are no command line switches, the ppm file is just read in from
-stdin. You must have your framebuffer set up to display graphics (@16bpp).
+There are no command line switches, the ppm file is just read in
+from stdin. You must have your framebuffer set up to display graphics
+(@16bpp).
EXAMPLES:
@@ -15,8 +16,8 @@ To scale and display a jpg on the console via Imagemagik:
Simple one line slideshow:
- setterm -cursor off;find /path/to/pics/*.jpg|while read; \
- do convert -scale 1024x768! ppm:-|fbpic;sleep 2;done;setterm -cursor on
+ setterm -cursor off;find /path/to/pics/*.jpg|while read; do
+ convert -scale 1024x768! ppm:-|fbpic;sleep 2;done;setterm -cursor on
Change "scale" to your frame buffer resolution, change /path/to/pics/
to point to a folder of jpgs and sleep for the delay.
diff --git a/graphics/fbpic/fbpic.SlackBuild b/graphics/fbpic/fbpic.SlackBuild
index 516c911975..86919f6f74 100644
--- a/graphics/fbpic/fbpic.SlackBuild
+++ b/graphics/fbpic/fbpic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fbpic
@@ -8,10 +8,13 @@
# for years and nobody complained. Made it build, and use standard
# SLKCFLAGS.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbpic
VERSION=${VERSION:-0.0.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +24,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,4 +75,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fbv/fbv.SlackBuild b/graphics/fbv/fbv.SlackBuild
index 3150d7b6be..a2317b45e9 100644
--- a/graphics/fbv/fbv.SlackBuild
+++ b/graphics/fbv/fbv.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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.
@@ -10,10 +10,13 @@
# but it seems to be intermittently broken, so the .info file has a mirrored
# copy.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fbv
VERSION=${VERSION:-1.0b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -23,7 +26,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,11 +58,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Check for new giflib API, apply patch only if needed. This changed
# between Slack 14.1 and 14.2.
@@ -90,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fbv/fbv.info b/graphics/fbv/fbv.info
index 5c0109ed1f..497283391c 100644
--- a/graphics/fbv/fbv.info
+++ b/graphics/fbv/fbv.info
@@ -1,10 +1,10 @@
PRGNAM="fbv"
VERSION="1.0b"
HOMEPAGE="http://s-tech.elsat.net.pl/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/fbv-1.0b.tar.gz"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/fbv-1.0b.tar.gz"
MD5SUM="3e466375b930ec22be44f1041e77b55d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild
index 4873d18f5a..c6f03f7eb5 100644
--- a/graphics/feh/feh.SlackBuild
+++ b/graphics/feh/feh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for feh
@@ -23,10 +23,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=feh
VERSION=${VERSION:-3.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fig2sxd/README b/graphics/fig2sxd/README
index b88437d1b9..8d7e5a9c4d 100644
--- a/graphics/fig2sxd/README
+++ b/graphics/fig2sxd/README
@@ -1,6 +1,6 @@
-fig2sxd converts images in fig format (used by XFig) to OpenOffice.org Draw
-format.
+fig2sxd converts images in fig format (used by XFig) to OpenOffice.org
+Draw format.
-Conversion works basically good. Some things are not mapped exactly: splines
-are quite similar in shape, but definitively different; hollow arrows are
-mapped to filled ones; hatches are different...
+Conversion works basically good. Some things are not mapped exactly:
+splines are quite similar in shape, but definitively different; hollow
+arrows are mapped to filled ones; hatches are different...
diff --git a/graphics/fig2sxd/fig2sxd.SlackBuild b/graphics/fig2sxd/fig2sxd.SlackBuild
index 55797f12de..d54fa2a3f4 100644
--- a/graphics/fig2sxd/fig2sxd.SlackBuild
+++ b/graphics/fig2sxd/fig2sxd.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fig2sxd
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fig2sxd
VERSION=${VERSION:-0.22.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,4 +79,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fim/fim.SlackBuild b/graphics/fim/fim.SlackBuild
index c2ae121b29..eb7c7f8e5b 100644
--- a/graphics/fim/fim.SlackBuild
+++ b/graphics/fim/fim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fim
@@ -23,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fim
-VERSION=${VERSION:-0.5_rc1}
+VERSION=${VERSION:-0.6_trunk}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,6 +81,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 {} \;
+# Workaround for gcc 10 (hanks garron@AUR)
+sed -i -e 's/#define FIM_WANT_BACKGROUND_LOAD.*//' src/fim.h
+sed -i -e 's/void exit/FIM_NORETURN void exit/' src/CommandConsole.h
+sed -i -e 's/°//g' src/fim.cpp
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -82,14 +97,11 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--disable-debug \
- --with-default-consolefont=/usr/share/kbd/consolefonts/LatGrkCyr-8x16.psfu.gz \
+ --enable-hardcoded-font \
+ --enable-sdl \
+ --enable-unicode \
--build=$ARCH-slackware-linux
-# Fix build with bison-3
-sed -i \
- -e '/^fim_LDADD = /s/ \$(LEXLIB)//' \
- src/Makefile
-
make -j1
make install DESTDIR=$PKG
@@ -108,4 +120,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fim/fim.info b/graphics/fim/fim.info
index c2c082121b..bb9277b91f 100644
--- a/graphics/fim/fim.info
+++ b/graphics/fim/fim.info
@@ -1,8 +1,8 @@
PRGNAM="fim"
-VERSION="0.5_rc1"
-HOMEPAGE="http://www.nongnu.org/fbi-improved/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/fbi-improved/fim-0.5-rc1.tar.gz"
-MD5SUM="03d4dd36c894c1d319b5d5ca7a82dfb3"
+VERSION="0.6_trunk"
+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 1f0d89034b..8bf3dd0a51 100644
--- a/graphics/findimagedupes/findimagedupes.SlackBuild
+++ b/graphics/findimagedupes/findimagedupes.SlackBuild
@@ -1,19 +1,29 @@
-#!/bin/sh
+#!/bin/bash
# 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}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.20.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -42,11 +52,11 @@ pod2man -s1 --stderr -cSlackBuilds.org -r$VERSION $PRGNAM | \
gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README* COPYING history $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/findimagedupes/findimagedupes.info b/graphics/findimagedupes/findimagedupes.info
index dd45db199d..344d5c5b74 100644
--- a/graphics/findimagedupes/findimagedupes.info
+++ b/graphics/findimagedupes/findimagedupes.info
@@ -1,10 +1,10 @@
PRGNAM="findimagedupes"
-VERSION="2.19"
+VERSION="2.20.1"
HOMEPAGE="http://www.jhnc.org/findimagedupes/"
-DOWNLOAD="http://www.jhnc.org/findimagedupes/findimagedupes-2.19.tar.gz"
-MD5SUM="24886738644e77cb20d78f56f7178ef8"
+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/dvisvgm/dvisvgm.SlackBuild b/graphics/flam3/flam3.SlackBuild
index ee54426624..1c1737281b 100644
--- a/graphics/dvisvgm/dvisvgm.SlackBuild
+++ b/graphics/flam3/flam3.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
-# 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)
+#!/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
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=dvisvgm
-VERSION=${VERSION:-1.12}
+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=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,23 +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 {} \;
-# 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" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -95,23 +88,24 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install-strip DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL LGPL-2.1.txt NEWS README $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:-tgz}
+/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/flameshot/flameshot.SlackBuild b/graphics/flameshot/flameshot.SlackBuild
index 1f0df31576..10a8756213 100644
--- a/graphics/flameshot/flameshot.SlackBuild
+++ b/graphics/flameshot/flameshot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flameshot
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flameshot
VERSION=${VERSION:-0.8.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,4 +103,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/flameshot/flameshot.info b/graphics/flameshot/flameshot.info
index 8ef185bd1e..6be9686b26 100644
--- a/graphics/flameshot/flameshot.info
+++ b/graphics/flameshot/flameshot.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/lupoDharkael/flameshot/archive/v0.8.5/flameshot-0.8
MD5SUM="be843bc62c0955a0aadc2a5dcc66e4b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 cmake-202x"
+REQUIRES=""
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/flpsed/flpsed.SlackBuild b/graphics/flpsed/flpsed.SlackBuild
index 80b9bea7a3..1ce28cfc24 100644
--- a/graphics/flpsed/flpsed.SlackBuild
+++ b/graphics/flpsed/flpsed.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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.
@@ -11,10 +11,13 @@
# - Get rid of INSTALL in doc dir
# - Homepage went away, use Fedora download and archive.org homepage.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flpsed
VERSION=${VERSION:-0.7.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +27,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +96,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/flpsed/flpsed.info b/graphics/flpsed/flpsed.info
index 05c17f7f47..9399d7c9c6 100644
--- a/graphics/flpsed/flpsed.info
+++ b/graphics/flpsed/flpsed.info
@@ -1,10 +1,10 @@
PRGNAM="flpsed"
VERSION="0.7.3"
-HOMEPAGE="http://web.archive.org/web/20201018005250/https://flpsed.org/flpsed.html"
-DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/flpsed/flpsed-0.7.3.tar.gz/3b7c2ffd349a41c2e484dad3fd3d73d0/flpsed-0.7.3.tar.gz"
+HOMEPAGE="https://flpsed.org/"
+DOWNLOAD="https://flpsed.org/flpsed-0.7.3.tar.gz"
MD5SUM="3b7c2ffd349a41c2e484dad3fd3d73d0"
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/README b/graphics/fontforge/README
index 218367cd09..d6e6a74c15 100644
--- a/graphics/fontforge/README
+++ b/graphics/fontforge/README
@@ -4,4 +4,8 @@ bitmap (bdf, FON, NFNT) fonts, or edit existing ones. It also lets you
convert one format to another. FontForge has support for many Macintosh
font formats.
-NOTE: please remove previous version before building new version.
+NOTE: please remove previous version before building a new version.
+
+OPTIONAL
+
+Sphinx: for building documentation. Automatically detected.
diff --git a/graphics/fontforge/fontforge.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 0e5952bb93..905f220e67 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fontforge
@@ -24,24 +24,32 @@
# Currently maintained by David Woodfall <dave@slackbuilds.org>
#
+# 2022-02-08 19:11:35 +0000,20201107
+# Switch to cmake
+#
# 2020-10-12 20:48:40 +0100:
# Update to Version ff 20190801, gnulib 20200505~0747bf0
# Added --without-libuninameslist
+# 20220409 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - make PRINT_PACKAGE_NAME work even if fontforge already installed.
+# - get rid of /usr/share/doc.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fontforge
-VERSION=${VERSION:-20190801}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-20201107}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ENABLE_BCINT=${ENABLE_BCINT:-yes}
-FREETYPE=${FREETYPE:-2.10.0}
-GNULIB=${GNULIB:-20200505~0747bf0}
-UTHASH=${UTHASH:-2.1.0}
+FREETYPE=${FREETYPE:-2.11.1}
+GNULIB=${GNULIB:-0.1}
+UTHASH=${UTHASH:-2.3.0}
-if [ -e $( echo /var/log/packages/$PRGNAM-*-*-* ) ]; then
- echo "Please uninstall any previous versions of $PRGNAM first."
- echo "Exiting."
- exit 1
+if [ -x /usr/bin/sphinx-build ]; then
+ DOCS=ON
fi
if [ -z "$ARCH" ]; then
@@ -52,7 +60,22 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+# This ought to be more reliable than testing if a package DB file
+# exists. A little convoluted perhaps.
+if $PRGNAM -v 2>/dev/null |
+ sed -n "s,^\($PRGNAM .*\),Found existing installation:\n \n\1,p
+ n;p;a\ " | grep -v "^$"; then
+
+ echo "Please uninstall any previous versions of $PRGNAM before building
+a new one."
+ exit 1
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,37 +101,32 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION freetype-$FREETYPE
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-tar xvf $CWD/freetype-$FREETYPE.tar.bz2
+tar xvf $CWD/freetype-$FREETYPE.tar.xz
chown -R root:root $PRGNAM-$VERSION freetype-$FREETYPE
chmod -R u+w,go+r-w,a-s $PRGNAM-$VERSION freetype-$FREETYPE
cd $PRGNAM-$VERSION
-tar xvf $CWD/gnulib_$GNULIB.orig.tar.gz
+tar xvf $CWD/gnulib-$GNULIB.tar.gz
tar xvf $CWD/uthash-$UTHASH.tar.gz
mv gnulib-"$GNULIB" gnulib
mv uthash-"$UTHASH" uthash
chown -R root:root gnulib uthash
chmod -R u+w,go+r-w,a-s gnulib uthash
-./bootstrap -f
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-x \
- --with-freetype-source=$TMP/freetype-${FREETYPE} \
- --enable-python-extension \
- --enable-tile-path \
- --enable-static=no \
- --enable-shared=yes \
- --without-libuninameslist \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DENABLE_LIBSPIRO=OFF \
+ -DENABLE_LIBUNINAMESLIST=OFF \
+ -DENABLE_DOCS=${DOCS:-OFF} \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
# Let's add the cidmaps
mkdir -p $PKG/usr/share/fontforge
@@ -116,20 +134,30 @@ tar xvf $CWD/cidmaps.tgz -C $PKG/usr/share/fontforge || exit 1
chmod 0644 $PKG/usr/share/fontforge/*.cidmap
chown root:root $PKG/usr/share/fontforge/*.cidmap
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
+# Move docs
+if [ -d $PKG/usr/share/doc/$PRGNAM/ ]; then
+ mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+ rm -rf $PKG/usr/share/doc
+fi
+
cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -type f -exec chmod 644 {} \;
+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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fontforge/fontforge.info b/graphics/fontforge/fontforge.info
index 50f91001a7..11faa964ea 100644
--- a/graphics/fontforge/fontforge.info
+++ b/graphics/fontforge/fontforge.info
@@ -1,18 +1,18 @@
PRGNAM="fontforge"
-VERSION="20190801"
+VERSION="20201107"
HOMEPAGE="http://fontforge.sourceforge.net"
-DOWNLOAD="https://github.com/fontforge/fontforge/releases/download/20190801/fontforge-20190801.tar.gz \
+DOWNLOAD="https://github.com/fontforge/fontforge/archive/20201107/fontforge-20201107.tar.gz \
http://studioware.org/files/slackbuilds/source/cidmaps.tgz \
- https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.10.0.tar.bz2 \
- http://studioware.org/files/slackbuilds/source/gnulib_20200505~0747bf0.orig.tar.gz \
- https://github.com/troydhanson/uthash/archive/v2.1.0/uthash-2.1.0.tar.gz"
-MD5SUM="5d845f6092b8c3342473ff64bc8ee70c \
+ 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"
+MD5SUM="adf8fb57cdab2ec9bf74c0ac0280d2f2 \
063691163e592515b31514515bb3ce8c \
- a717e6925b61b9dda946322ecd278a42 \
- 82044230e40ba6b43d0aef70076167e5 \
- 4d0a33f6393260926032f1fad4bad39a"
+ 24e79233d607ded439ef36ff1f3ab68f \
+ 8f90891de739aeb229295f4a799a18f6 \
+ 9a4f0a675ca179b62ebc56b2dd8b59ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Dave Woodfall"
+MAINTAINER="D Woodfall"
EMAIL="dave@slackbuilds.org"
diff --git a/graphics/fotowall/README b/graphics/fotowall/README
index 0f3a4db396..f84f0a6bfc 100644
--- a/graphics/fotowall/README
+++ b/graphics/fotowall/README
@@ -1,4 +1,4 @@
-FotoWall is a creative tool that allows you to layout your photos or
-pictures in a personal way. You can add pictures, then resize, move,
-change colors, text, shadows, etc. to create your composition or collage.
-The focus of this application is on simplicity.
+FotoWall is a creative tool that allows you to layout your photos
+or pictures in a personal way. You can add pictures, then resize,
+move, change colors, text, shadows, etc. to create your composition
+or collage. The focus of this application is on simplicity.
diff --git a/graphics/fotowall/fotowall-1.0-qt-5.11.patch.gz b/graphics/fotowall/fotowall-1.0-qt-5.11.patch.gz
new file mode 100644
index 0000000000..7d89e9f569
--- /dev/null
+++ b/graphics/fotowall/fotowall-1.0-qt-5.11.patch.gz
Binary files differ
diff --git a/graphics/fotowall/fotowall-1.0-qt-5.15.patch.gz b/graphics/fotowall/fotowall-1.0-qt-5.15.patch.gz
new file mode 100644
index 0000000000..7ef517121f
--- /dev/null
+++ b/graphics/fotowall/fotowall-1.0-qt-5.15.patch.gz
Binary files differ
diff --git a/graphics/fotowall/fotowall.SlackBuild b/graphics/fotowall/fotowall.SlackBuild
index 8f656353f9..62ca6764a9 100644
--- a/graphics/fotowall/fotowall.SlackBuild
+++ b/graphics/fotowall/fotowall.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fotowall
# Home Page http://www.enricoros.com/opensource/fotowall/
@@ -6,30 +6,37 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# New Maintainer - Nishant Limbachia <nishant _AT_ mnspace _DOT_ net> - 11/04/2011
-SRCNAM=Fotowall
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fotowall
-VERSION=${VERSION:-20120227_eff7aa1}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+# 20220320 bkw: Nonstandard flags, we need -fPIC even on 32-bit.
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
@@ -44,15 +51,18 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
-cd $SRCNAM-$VERSION
-chown -R root:root .
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+# thanks gentoo maintainers
+zcat $CWD/fotowall-1.0-qt-5.11.patch.gz | patch -p1
+zcat $CWD/fotowall-1.0-qt-5.15.patch.gz | patch -p1
+ chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
# Fix man page location.
sed -i 's|share/man|man|' $PRGNAM.pro
@@ -82,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fotowall/fotowall.info b/graphics/fotowall/fotowall.info
index 046afabcb6..ff4cfafe7b 100644
--- a/graphics/fotowall/fotowall.info
+++ b/graphics/fotowall/fotowall.info
@@ -1,8 +1,8 @@
PRGNAM="fotowall"
-VERSION="20120227_eff7aa1"
+VERSION="1.0"
HOMEPAGE="https://www.enricoros.com/opensource/fotowall/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/Fotowall-20120227_eff7aa1.tar.xz"
-MD5SUM="677c5beafd95c7513df10f19644e49f4"
+DOWNLOAD="https://github.com/enricoros/fotowall/archive/v1.0/fotowall-1.0.tar.gz"
+MD5SUM="cc3f36d917edb1c86916332b605ce570"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/fotoxx/README b/graphics/fotoxx/README
deleted file mode 100644
index 17b08892bf..0000000000
--- a/graphics/fotoxx/README
+++ /dev/null
@@ -1,3 +0,0 @@
-fotoxx is a free open source program for photo editing and collection
-management. The goal is to meet most user needs while remaining fast
-and easy to use.
diff --git a/graphics/fotoxx/fotoxx.SlackBuild b/graphics/fotoxx/fotoxx.SlackBuild
deleted file mode 100644
index 5000136fcf..0000000000
--- a/graphics/fotoxx/fotoxx.SlackBuild
+++ /dev/null
@@ -1,121 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for fotoxx
-
-# Copyright 2010-2016 Robby Workman, Tuscaloosa, Alabama, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=fotoxx
-VERSION=${VERSION:-16.01.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-MAPSRC=$PRGNAM-maps
-MAPVERS=${MAPVERS:-1.1}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-
-# Install fotoxx
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-make \
- CPPFLAGS="$SLKCFLAGS" \
- PREFIX=/usr \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION \
- MANDIR=/usr/man/man1
-make install \
- PREFIX=/usr \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION \
- MANDIR=/usr/man/man1 \
- DESTDIR=$PKG
-
-# Install the fotoxx-maps stuff
-cd $TMP
-rm -rf $MAPSRC-$MAPVERS
-tar xvf $CWD/$MAPSRC-$MAPVERS.tar.gz
-cd $MAPSRC-$MAPVERS
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-make \
- PREFIX=/usr \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION/$MAPSRC \
- MANDIR=/usr/man/man1
-make install \
- PREFIX=/usr \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION/$MAPSRC \
- MANDIR=/usr/man/man1 \
- DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/fotoxx/fotoxx.info b/graphics/fotoxx/fotoxx.info
deleted file mode 100644
index e78bf52f4d..0000000000
--- a/graphics/fotoxx/fotoxx.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="fotoxx"
-VERSION="16.01.1"
-HOMEPAGE="http://kornelix.net/fotoxx/fotoxx.html"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/fotoxx-16.01.1.tar.gz \
- http://ponce.cc/slackware/sources/repo/fotoxx-maps-1.1.tar.gz"
-MD5SUM="b818c87c14a9f8047016096274f27981 \
- 0d9f2d2715fea15ad9f4189caaf1112f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="exiftool ufraw"
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
diff --git a/graphics/freewrl/README b/graphics/freewrl/README
deleted file mode 100644
index 658beb1fdd..0000000000
--- a/graphics/freewrl/README
+++ /dev/null
@@ -1,23 +0,0 @@
-freewrl (3D Viewer)
-
-FreeWRL has had an impressive track record, is here to stay. X3D
-Components get added, problems get resolved. Program with GLSL Shaders
-using the X3D Shaders Component, put your models exactly where you want
-them with the Geospatial Component, or just throw triangles to the screen
-as Extrusions, IndexedFaceSets, TriangleSets, Circle2D, Disk2D, Spheres,
-Boxes, Cubes; the list goes on and on.
-
-With royalty free open standards, your models will continue to render,
-year after year.
-
-Requires: imlib2 openal freealut
-
-Additional options:
-
-By default the SlackBuild compiles with native OpenGL. To override it,
-pass MESA=yes.
-
-For generating the documentation: DOCS=yes
-
-To use OpenCL (requires an OpenCL API) define the OpenCL API path using:
-OCL_PATH=
diff --git a/graphics/freewrl/freewrl.info b/graphics/freewrl/freewrl.info
deleted file mode 100644
index 9cdae42f82..0000000000
--- a/graphics/freewrl/freewrl.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="freewrl"
-VERSION="3.0.0"
-HOMEPAGE="http://freewrl.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/freewrl/files/freewrl-linux/3.0/freewrl-3.0.0.tar.bz2"
-MD5SUM="350066d1b7c0fd0b842260c60c1c3179"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="imlib2 OpenAL freealut"
-MAINTAINER="William PC"
-EMAIL="w_calandrini@hotmail.com"
diff --git a/graphics/freewrl/slack-desc b/graphics/freewrl/slack-desc
deleted file mode 100644
index 00e3b9adde..0000000000
--- a/graphics/freewrl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-freewrl: freewrl (3D Viewer)
-freewrl:
-freewrl: FreeWRL has had an impressive track record, is here to stay. X3D
-freewrl: Components get added, problems get resolved. Program with GLSL Shaders
-freewrl: using the X3D Shaders Component, put your models exactly where you
-freewrl: want them with the Geospatial Component, or just throw triangles to
-freewrl: the screen as Extrusions, IndexedFaceSets, TriangleSets, Circle2D,
-freewrl: Disk2D, Spheres, Boxes, Cubes; the list goes on and on.
-freewrl:
-freewrl:
-freewrl:
diff --git a/graphics/frescobaldi/README b/graphics/frescobaldi/README
index 917b7f40df..9993378b35 100644
--- a/graphics/frescobaldi/README
+++ b/graphics/frescobaldi/README
@@ -1,5 +1,5 @@
-Frescobaldi is a LilyPond sheet music text editor for KDE4. It aims to be
-powerful, yet lightweight and easy to use.
+Frescobaldi is a LilyPond sheet music text editor for KDE4. It aims to
+be powerful, yet lightweight and easy to use.
TiMidity++ is an optional dependency
(for midi playback - you need to configure it)
diff --git a/graphics/frescobaldi/frescobaldi.SlackBuild b/graphics/frescobaldi/frescobaldi.SlackBuild
index 62c49cc3ac..fdee3a0c8d 100644
--- a/graphics/frescobaldi/frescobaldi.SlackBuild
+++ b/graphics/frescobaldi/frescobaldi.SlackBuild
@@ -1,12 +1,15 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <frescobaldi>
# Written by Michales Michaloudes korgie@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=frescobaldi
-VERSION=${VERSION:-2.20.0}
+VERSION=${VERSION:-3.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -16,7 +19,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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,8 +60,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Provided by hyphen-*
+rm -f frescobaldi_app/hyphdicts/hyph_*.dic
+rm -f frescobaldi_app/hyphdicts/README*
+
mkdir -p $PKG/usr/bin
-python setup.py install --root $PKG
+python3 setup.py install --root $PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -74,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/frescobaldi/frescobaldi.info b/graphics/frescobaldi/frescobaldi.info
index f54bcc64ff..38c9b114e6 100644
--- a/graphics/frescobaldi/frescobaldi.info
+++ b/graphics/frescobaldi/frescobaldi.info
@@ -1,10 +1,10 @@
PRGNAM="frescobaldi"
-VERSION="2.20.0"
+VERSION="3.1.3"
HOMEPAGE="http://frescobaldi.org/"
-DOWNLOAD="https://github.com/wbsoft/frescobaldi/archive/v2.20.0/frescobaldi-2.20.0.tar.gz"
-MD5SUM="5d9c3d9543dc226fc3196ca2b90101ad"
+DOWNLOAD="https://github.com/frescobaldi/frescobaldi/releases/download/v3.1.3/frescobaldi-3.1.3.tar.gz"
+MD5SUM="45c3dddb673afb892a6b66459dd8c9dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lilypond python-poppler-qt4 python-ly"
+REQUIRES="lilypond python-poppler-qt5 python-ly"
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
diff --git a/graphics/fritzing/README b/graphics/fritzing/README
index 4b907bd87f..42f0190b64 100644
--- a/graphics/fritzing/README
+++ b/graphics/fritzing/README
@@ -1,4 +1,5 @@
Fritzing is an open-source initiative to support designers, artists,
researchers and hobbyists to take the step from physical prototyping
-to actual product. It allows users to document their Arduino and other
-electronic-based prototypes, and to create a PCB layout for manufacturing.
+to actual product. It allows users to document their Arduino and
+other electronic-based prototypes, and to create a PCB layout for
+manufacturing.
diff --git a/graphics/fritzing/fritzing.SlackBuild b/graphics/fritzing/fritzing.SlackBuild
index 5f8d2436a8..bcce96e270 100644
--- a/graphics/fritzing/fritzing.SlackBuild
+++ b/graphics/fritzing/fritzing.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Fritzing
# Electronic Prototyping Software
@@ -27,10 +27,13 @@
# Revision date 2019/06/04
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fritzing
VERSION=${VERSION:-0.9.3b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -118,4 +128,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/fritzing/fritzing.info b/graphics/fritzing/fritzing.info
index f8b67e21f5..3f1e0a0e12 100644
--- a/graphics/fritzing/fritzing.info
+++ b/graphics/fritzing/fritzing.info
@@ -7,6 +7,6 @@ MD5SUM="8e23c958538f6786c328f58f960459b0 \
7c5a183d45e1deb18616b197110415a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgit2 qt5"
+REQUIRES="libgit2"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"
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/fix_extern_c.patch b/graphics/fyre/fix_extern_c.patch
new file mode 100644
index 0000000000..a46b14bef6
--- /dev/null
+++ b/graphics/fyre/fix_extern_c.patch
@@ -0,0 +1,14 @@
+diff -pruN old/src/exr.cpp new/src/exr.cpp
+--- old/src/exr.cpp 2006-01-04 02:16:52.000000000 +0200
++++ new/src/exr.cpp 2021-05-04 15:28:09.314813642 +0300
+@@ -22,10 +22,8 @@
+ *
+ */
+
+-extern "C" {
+ #include "histogram-imager.h"
+ #include "config.h"
+-}
+
+ #include <ImfRgbaFile.h>
+ using namespace Imf;
diff --git a/graphics/fyre/fyre.SlackBuild b/graphics/fyre/fyre.SlackBuild
index fc71e89554..48087c69a2 100644
--- a/graphics/fyre/fyre.SlackBuild
+++ b/graphics/fyre/fyre.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fyre
-# Copyright 2013-2016 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
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fyre
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,10 +74,14 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 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 {} \;
+
+# Seems thiese two includes should not be in a function:
+# https://forum.qt.io/topic/61763/template-with-c-linkage-error/14
+patch -p1 -i $CWD/fix_extern_c.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,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
@@ -97,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/fyre/fyre.info b/graphics/fyre/fyre.info
index cc190c18be..dd76380ec7 100644
--- a/graphics/fyre/fyre.info
+++ b/graphics/fyre/fyre.info
@@ -1,7 +1,7 @@
PRGNAM="fyre"
VERSION="1.0.1"
HOMEPAGE="http://fyre.navi.cx/"
-DOWNLOAD="http://releases.navi.cx/fyre/fyre-1.0.1.tar.gz"
+DOWNLOAD="http://slackware.uk/sbosrcarch/by-name/graphics/fyre/fyre-1.0.1.tar.gz"
MD5SUM="44d5830c527325c1ee6fa6ea92b4ba03"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/g3dviewer/g3dviewer.SlackBuild b/graphics/g3dviewer/g3dviewer.SlackBuild
index 4375612ba1..a6429b93c5 100644
--- a/graphics/g3dviewer/g3dviewer.SlackBuild
+++ b/graphics/g3dviewer/g3dviewer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for g3dviewer
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=g3dviewer
VERSION=${VERSION:-0.2.99.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -112,4 +122,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gallery/gallery.SlackBuild b/graphics/gallery/gallery.SlackBuild
index 2b4f368751..e15e31cf04 100644
--- a/graphics/gallery/gallery.SlackBuild
+++ b/graphics/gallery/gallery.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for gallery3
# Home Page http://galleryproject.org
@@ -25,14 +25,24 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="gallery"
VERSION=${VERSION:-3.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch # hardcode ARCH
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ sed -i "s|@WEBUSER@|${WEBUSER}|" $PKG/install/doinst.sh
sed -i "s|@WEBGROUP@|${WEBGROUP}|" $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/gbdfed/gbdfed.SlackBuild b/graphics/gbdfed/gbdfed.SlackBuild
index 5e0480ce18..ef73a90e2b 100644
--- a/graphics/gbdfed/gbdfed.SlackBuild
+++ b/graphics/gbdfed/gbdfed.SlackBuild
@@ -1,30 +1,40 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gbdfed
# Written by Kyle Guinn <elyk03@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gbdfed
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$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"
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gcolor2/gcolor2-0.4-fno-common.patch b/graphics/gcolor2/gcolor2-0.4-fno-common.patch
new file mode 100644
index 0000000000..f30552a13e
--- /dev/null
+++ b/graphics/gcolor2/gcolor2-0.4-fno-common.patch
@@ -0,0 +1,27 @@
+--- a/src/callbacks.c
++++ b/src/callbacks.c
+@@ -13,6 +13,9 @@
+ #include "support.h"
+
+
++GtkWidget *gcolor2;
++GtkWidget *menu;
++GdkColor colorvalue;
+ GtkWidget *savedialog;
+ gchar *colorname;
+ static GtkWidget *aboutdialog = NULL;
+--- a/src/callbacks.h
++++ b/src/callbacks.h
+@@ -42,9 +42,9 @@
+ "\302\267 Usability / user interface enhancements\n" \
+ "\302\267 Code cleanup"
+
+-GtkWidget *gcolor2;
+-GtkWidget *menu;
+-GdkColor colorvalue;
++extern GtkWidget *gcolor2;
++extern GtkWidget *menu;
++extern GdkColor colorvalue;
+
+ enum
+ {
diff --git a/graphics/gcolor2/gcolor2.SlackBuild b/graphics/gcolor2/gcolor2.SlackBuild
index abde646cf7..d296407f44 100644
--- a/graphics/gcolor2/gcolor2.SlackBuild
+++ b/graphics/gcolor2/gcolor2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gcolor2
#
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gcolor2
VERSION=${VERSION:-0.4}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,6 +84,9 @@ find -L . \
patch -p1 < $CWD/color_definition_path.patch
# fix segfaults on x86_64 and remove some compilation warnings:
patch -p1 < $CWD/amd64_segfault.patch
+# fix callbacks related error on main.o (Thanks to Gentoo):
+patch -p1 < $CWD/gcolor2-0.4-fno-common.patch
+
# correct character class definition in configure script:
sed -i '/gentoo_ltmain_version/s/\[:space:\]/[&]/g' configure
@@ -105,4 +118,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gdk-pixbuf-psd/README b/graphics/gdk-pixbuf-psd/README
index f518211a31..dc5bd0af7e 100644
--- a/graphics/gdk-pixbuf-psd/README
+++ b/graphics/gdk-pixbuf-psd/README
@@ -1,20 +1,23 @@
gdk-pixbuf-psd (gdk-pixbuf2 loader for Photoshop PSD files)
-This project aims to provide a GdkPixbuf loader for the PSD file format.
+This project aims to provide a GdkPixbuf loader for the PSD file
+format.
-GdkPixbuf is part of GTK and applications like Eye of GNOME and gThumb use
-it to handle image loading. The loader provided by this project will let
-those applications open PSD images and enable thumbnails in nautilus, too.
+GdkPixbuf is part of GTK and applications like Eye of GNOME and gThumb
+use it to handle image loading. The loader provided by this project
+will let those applications open PSD images and enable thumbnails in
+nautilus, too.
The loader supports:
- RGB and CYMK images
- RLE compression
- 8 and 16 bit color depths
-This implementation is based on this specification [1] and PHP PSD Reader [2].
+This implementation is based on this specification [1] and PHP PSD
+Reader [2].
[1] http://www.fileformat.info/format/psd/egff.htm
[2] http://www.kingsquare.nl/phppsdreader
-Installing this allows qiv to display PSD images. It should work for geeqie
-as well, but seems to have problems.
+Installing this allows qiv to display PSD images. It should work for
+geeqie as well, but seems to have problems.
diff --git a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
index 206c20e956..c3e9c61e6b 100644
--- a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
+++ b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gdk-pixbuf-psd
VERSION=${VERSION:-0.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,4 +85,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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 e10ad39025..32acd3ea21 100644
--- a/graphics/gifsicle/gifsicle.SlackBuild
+++ b/graphics/gifsicle/gifsicle.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gifsicle
-VERSION=${VERSION:-1.92}
+VERSION=${VERSION:-1.94}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gifsicle/gifsicle.info b/graphics/gifsicle/gifsicle.info
index 89ea143648..c6a1f4de9f 100644
--- a/graphics/gifsicle/gifsicle.info
+++ b/graphics/gifsicle/gifsicle.info
@@ -1,10 +1,10 @@
PRGNAM="gifsicle"
-VERSION="1.92"
-HOMEPAGE="http://www.lcdf.org/gifsicle/"
-DOWNLOAD="https://github.com/kohler/gifsicle/archive/v1.92/gifsicle-1.92.tar.gz"
-MD5SUM="fd31d55d9176607fc5034cb135cf64fd"
+VERSION="1.94"
+HOMEPAGE="https://www.lcdf.org/gifsicle/"
+DOWNLOAD="https://github.com/kohler/gifsicle/archive/v1.94/gifsicle-1.94.tar.gz"
+MD5SUM="44303cd0eebdc5bc1adfc7b742bce130"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild
index 34b703f8c6..62fb815fa8 100644
--- a/graphics/gimagereader/gimagereader.SlackBuild
+++ b/graphics/gimagereader/gimagereader.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gimagereader
@@ -22,10 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by updating for v3.4.0. Necessary because of tesseract API changes.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimagereader
-VERSION=${VERSION:-3.2.3}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,21 +75,23 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Path where manual will be installed
-sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt
+sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt || exit 1
+
+sed -i "s|QuaZip-Qt5-1\.0|QuaZip-Qt5-1.1|" CMakeLists.txt || exit 1
-# Interface type: qt4/qt5/gtk
+# Interface type: qt5/gtk
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DINTERFACE_TYPE=qt4 \
+ -DINTERFACE_TYPE=qt5 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -89,7 +101,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -97,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gimagereader/gimagereader.info b/graphics/gimagereader/gimagereader.info
index 8694e7743e..34b9945f50 100644
--- a/graphics/gimagereader/gimagereader.info
+++ b/graphics/gimagereader/gimagereader.info
@@ -1,8 +1,8 @@
PRGNAM="gimagereader"
-VERSION="3.2.3"
+VERSION="3.4.0"
HOMEPAGE="https://github.com/manisandro/gImageReader/"
-DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.2.3/gimagereader-3.2.3.tar.xz"
-MD5SUM="f4af1b531812a4a3c7fa5a7d49436acd"
+DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.4.0/gimagereader-3.4.0.tar.xz"
+MD5SUM="278df50a692414e637689fe3ed77ad5e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="tesseract qtspell podofo"
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 a8a6aec4ef..eb22fb671c 100644
--- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
+++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <feca_hdr>
# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimp-feca_hdr-plugin
-VERSION=${VERSION:-2010.04.26}
+VERSION=${VERSION:-2018.07.28}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -39,19 +49,9 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/feca_hdr.py.zip
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
-mv feca_hdr.py $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
-cd $PKG
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+mkdir -p $PKG $OUTPUT
+install -D -m 0755 $CWD/feca_hdr.py $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/feca_hdr.py
+chown -R root:root $PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -60,4 +60,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info
index 2212e11cca..a1f3584711 100644
--- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info
+++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.info
@@ -1,8 +1,8 @@
PRGNAM="gimp-feca_hdr-plugin"
-VERSION="2010.04.26"
+VERSION="2018.07.28"
HOMEPAGE="http://registry.gimp.org/node/24310"
-DOWNLOAD="http://registry.gimp.org/files/feca_hdr.py.zip"
-MD5SUM="248d1995a54bf77924520f6a81b524b8"
+DOWNLOAD="https://gist.githubusercontent.com/rlee287/52034fd80e4e0f07fd570f2315341bd4/raw/0ce2f54888f3e0f7b8bf8ab3accdd3cd0c44ab36/feca_hdr.py"
+MD5SUM="164a01c73fa9c8ae765c9d112124a91c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/gimp-lqr-plugin/gimp-lqr-0.7.2-gcc-10-fno-common.patch.gz b/graphics/gimp-lqr-plugin/gimp-lqr-0.7.2-gcc-10-fno-common.patch.gz
new file mode 100644
index 0000000000..cf2f99aa62
--- /dev/null
+++ b/graphics/gimp-lqr-plugin/gimp-lqr-0.7.2-gcc-10-fno-common.patch.gz
Binary files differ
diff --git a/graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild b/graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild
index a8841e83d3..f81728213c 100644
--- a/graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild
+++ b/graphics/gimp-lqr-plugin/gimp-lqr-plugin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for gimp-lqr-plugin
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimp-lqr-plugin
VERSION=${VERSION:-0.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,6 +72,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+zcat $CWD/gimp-lqr-0.7.2-gcc-10-fno-common.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -88,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gimp-plugin-bimp/README b/graphics/gimp-plugin-bimp/README
index bcd1fad02d..74beae9287 100644
--- a/graphics/gimp-plugin-bimp/README
+++ b/graphics/gimp-plugin-bimp/README
@@ -2,8 +2,7 @@ gimp-plugin-bimp (Batch Image Manipulation Plugin for GIMP)
With BIMP you can apply a set of GIMP manipulations on groups of
images. It provides an easy to use interface and a lot of batch
-functions:
+functions, including:
-Resize, Crop, Flip and rotate, Blurring and sharpening, Color (and
-curve) correction, Watermark, Rename, Change compression and format,
-and much more.
+Resize, crop, flip, rotate, blur, sharpen, color correction,
+watermark, rename, change compression and format, and much more.
diff --git a/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
index 56c01eca00..7958dcb7ce 100644
--- a/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
+++ b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gimp-plugin-bimp
#
# Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
-## Maintained by Klaatu @member.fsf.org
+# Maintained by Klaatu @member.fsf.org
# All rights reserved.
#
# Based on:
@@ -26,26 +26,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimp-plugin-bimp
-VERSION=${VERSION:-1.18}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gimp-plugin-bimp/gimp-plugin-bimp.info b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.info
index a5fe846b01..8675563093 100644
--- a/graphics/gimp-plugin-bimp/gimp-plugin-bimp.info
+++ b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.info
@@ -1,8 +1,8 @@
PRGNAM="gimp-plugin-bimp"
-VERSION="1.18"
+VERSION="2.6"
HOMEPAGE="https://github.com/alessandrofrancesconi/gimp-plugin-bimp"
-DOWNLOAD="https://github.com/alessandrofrancesconi/gimp-plugin-bimp/archive/v1.18/gimp-plugin-bimp-1.18.tar.gz"
-MD5SUM="84b748a4f1fa0bd67da12a77b65b4611"
+DOWNLOAD="https://github.com/alessandrofrancesconi/gimp-plugin-bimp/archive/v2.6/gimp-plugin-bimp-2.6.tar.gz"
+MD5SUM="e88c978abde481d2124ba9d73a56e14b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
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 7f4ea08ba7..473ccbe6d3 100644
--- a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
+++ b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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}
SRCNAM=export_layers
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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 6ba621c72f..15548724a8 100644
--- a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
+++ b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
@@ -1,11 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <wideangle>
# Written by Michales Michaloudes korgie@gmail.com
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimp-wideangle-plugin
VERSION=${VERSION:-1.0.10}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=$(echo $PRGNAM | cut -f2 -d-)
@@ -17,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,40 +50,35 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $TMP/$PRGNAM-$VERSION
-cp $CWD/$SRCNAM.c $TMP/$PRGNAM-$VERSION/
-cd $PRGNAM-$VERSION
-SRCVERSION=$(grep "^ \* version" wideangle.c | awk '{printf $3}')
+# 20220225 bkw: Look ma, no source dir!
+SRC=$CWD/$SRCNAM.c
+
+SRCVERSION=$(grep "^ \* version" $SRC | awk '{printf $3}')
if [ $SRCVERSION != $VERSION ]; then
echo "Version mismatch, source = \"$SRCVERSION\""
exit 1
fi
# command "stolen" from gimp-tool.
+# 20220225 bkw: ...and rewritten to use pkg-config, since the old one
+# didn't work any more on Slackware 15.0.
GIMPPLUGINS=usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins/
mkdir -p $PKG/$GIMPPLUGINS
-gcc $SLKCFLAGS -v \
- -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 \
- -I/usr/lib${LIBDIRSUFFIX}/glib-2.0/include -I/usr/lib${LIBDIRSUFFIX}/gtk-2.0/include \
- -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 \
- -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 \
- -I/usr/include/gdk-pixbuf-2.0 \
- -o $PKG/$GIMPPLUGINS/$SRCNAM wideangle.c \
- -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 \
- -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 \
- -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo \
- -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 \
- -lm
+
+gcc $SLKCFLAGS \
+ $( 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 )
+
strip --strip-unneeded $PKG/$GIMPPLUGINS/$SRCNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/wideangle.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp $CWD/$SRCNAM.html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.info b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.info
index 1347d6fdf4..d7af9ace17 100644
--- a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.info
+++ b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.info
@@ -1,7 +1,7 @@
PRGNAM="gimp-wideangle-plugin"
VERSION="1.0.10"
-HOMEPAGE="http://members.ozemail.com.au/~hodsond/wideangle.html"
-DOWNLOAD="http://members.ozemail.com.au/~hodsond/wideangle.c"
+HOMEPAGE="https://slackware.uk/~urchlay/src/wideangle.html"
+DOWNLOAD="https://slackware.uk/~urchlay/src/wideangle.c"
MD5SUM="dd96615abbc761b4618ace94a29086c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/gliv/README b/graphics/gliv/README
index 92603f7753..beba4753cc 100644
--- a/graphics/gliv/README
+++ b/graphics/gliv/README
@@ -1,5 +1,6 @@
-GLiv is an OpenGL image viewer, image loading is done via Gdk-pixbuf bundled
-with GTK+-2.6, rendering with OpenGL and the graphical user interface uses GTK+
-with GtkGLExt. GLiv is very fast and smooth at rotating, panning and zooming
-if you have an OpenGL accelerated graphics board. It supports thumbnails and
-navigating through them using two images menus and a browser.
+GLiv is an OpenGL image viewer, image loading is done via Gdk-pixbuf
+bundled with GTK+-2.6, rendering with OpenGL and the graphical user
+interface uses GTK+ with GtkGLExt. GLiv is very fast and smooth
+at rotating, panning and zooming if you have an OpenGL accelerated
+graphics board. It supports thumbnails and navigating through them
+using two images menus and a browser.
diff --git a/graphics/gliv/gliv.SlackBuild b/graphics/gliv/gliv.SlackBuild
index bb1eb58c01..c8a95215d8 100644
--- a/graphics/gliv/gliv.SlackBuild
+++ b/graphics/gliv/gliv.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gliv
# Written by Sebastián Salazar Molina <ssalazar@orangepeople.cl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gliv
VERSION=${VERSION:-1.9.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -80,5 +90,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/shaderc/slack-desc b/graphics/glmark2/slack-desc
index 57ea91542b..64931c3d5a 100644
--- a/graphics/shaderc/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------------------------------------------------------|
-shaderc: shaderc (Vulkan shader compilation tools, libaries and tests)
-shaderc:
-shaderc: A collection of tools, libraries, and tests for Vulkan shader
-shaderc: compilation.
-shaderc:
-shaderc: Homepage: https://github.com/google/shaderc
-shaderc:
-shaderc:
-shaderc:
-shaderc:
-shaderc:
+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/glslang/README b/graphics/glslang/README
deleted file mode 100644
index d61381b370..0000000000
--- a/graphics/glslang/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Khronos-reference front end for GLSL/ESSL, partial front end for HLSL,
-and a SPIR-V generator.
-
-If SPIRV-Tools is not installed a package will be created where illegal
-SPIRV may be generated for HLSL.
diff --git a/graphics/glslang/SPIRV-Tools-shared.patch b/graphics/glslang/SPIRV-Tools-shared.patch
deleted file mode 100644
index 34cb8ad9bc..0000000000
--- a/graphics/glslang/SPIRV-Tools-shared.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 1504af077935a0bfd1b1b59f77d8b1cd89f913b5 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= <rverschelde@gmail.com>
-Date: Mon, 10 Dec 2018 13:05:15 +0100
-Subject: [PATCH] CMake: Allow linking against system-installed SPIRV-Tools
-
-Fixes #1585.
----
- CMakeLists.txt | 7 ++++++-
- SPIRV/CMakeLists.txt | 21 +++++++++++++--------
- 2 files changed, 19 insertions(+), 9 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ada2b8fb9..22243f491 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -320,7 +320,12 @@ if(BUILD_EXTERNAL AND IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/External)
- add_subdirectory(External)
- endif()
-
--if(NOT TARGET SPIRV-Tools-opt)
-+find_package(PkgConfig)
-+if(PkgConfig_FOUND)
-+ pkg_check_modules(SPIRV-Tools SPIRV-Tools)
-+endif()
-+# Former would be system-installed, later is from External
-+if(NOT SPIRV-Tools_FOUND AND NOT TARGET SPIRV-Tools-opt)
- set(ENABLE_OPT OFF)
- endif()
-
-diff --git a/SPIRV/CMakeLists.txt b/SPIRV/CMakeLists.txt
-index d699daddb..28beb47bb 100644
---- a/SPIRV/CMakeLists.txt
-+++ b/SPIRV/CMakeLists.txt
-@@ -91,14 +91,19 @@ if(WIN32 AND BUILD_SHARED_LIBS)
- endif()
-
- if(ENABLE_OPT)
-- target_include_directories(SPIRV
-- PRIVATE ${spirv-tools_SOURCE_DIR}/include
-- PRIVATE ${spirv-tools_SOURCE_DIR}/source
-- )
-- target_link_libraries(SPIRV PRIVATE MachineIndependent SPIRV-Tools-opt)
-- target_include_directories(SPIRV PUBLIC
-- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>
-- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>)
-+ if(SPIRV-Tools_FOUND)
-+ target_include_directories(SPIRV PUBLIC ${SPIRV-Tools_INCLUDEDIR})
-+ target_link_libraries(SPIRV glslang ${SPIRV-Tools_LIBRARIES})
-+ else()
-+ target_include_directories(SPIRV
-+ PRIVATE ${spirv-tools_SOURCE_DIR}/include
-+ PRIVATE ${spirv-tools_SOURCE_DIR}/source
-+ )
-+ target_link_libraries(SPIRV PRIVATE MachineIndependent SPIRV-Tools-opt)
-+ target_include_directories(SPIRV PUBLIC
-+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../External>
-+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/External>)
-+ endif()
- else()
- target_link_libraries(SPIRV PRIVATE MachineIndependent)
- endif(ENABLE_OPT)
diff --git a/graphics/glslang/glslang.info b/graphics/glslang/glslang.info
deleted file mode 100644
index 2fd87c7139..0000000000
--- a/graphics/glslang/glslang.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="glslang"
-VERSION="11.1.0"
-HOMEPAGE="https://github.com/KhronosGroup/glslang"
-DOWNLOAD="https://github.com/KhronosGroup/glslang/archive/11.1.0/glslang-11.1.0.tar.gz"
-MD5SUM="1688a1e36945d72df960b859ede55078"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SPIRV-Tools"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/graphics/scantailor/doinst.sh b/graphics/gmic/doinst.sh
index 65c7e2eeb9..65c7e2eeb9 100644
--- a/graphics/scantailor/doinst.sh
+++ b/graphics/gmic/doinst.sh
diff --git a/graphics/gmic/gmic.SlackBuild b/graphics/gmic/gmic.SlackBuild
index 5c54c3b4d7..ae724de793 100644
--- a/graphics/gmic/gmic.SlackBuild
+++ b/graphics/gmic/gmic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
@@ -20,11 +20,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 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.7.5}
-COMMUNITYVERSION=${COMMUNITYVERSION:-5a9aefc05e9585c1198c1d68f4b47ee32ff68ae2}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.9.4}
+COMMUNITYVERSION=${COMMUNITYVERSION:-6e9a20ef40e1db99c9b761853ad493ee7439e1b7}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,7 +56,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O0 -march=i686 -mtune=i686 -fno-fast-math"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O3 -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O0 -fno-fast-math"
@@ -69,25 +79,20 @@ 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" \
-e "s|/etc/bash_completion.d|/usr/share/bash-completion/completions|g" \
-e "s|pkg-config opencv|pkg-config opencv4|" \
-e "s|qmake|qmake-qt5|g" \
- src/Makefile
+ src/Makefile || exit 1
sed -i -e "s|-Ofast|-O2 -fno-fast-math --std=c++11|g" \
- gmic-qt/gmic_qt.pro
-
-# fix build with openCV 4.x
-cd zart
-patch -p1 -i $CWD/zart-opencv4.patch
-cd -
+ gmic-qt/gmic_qt.pro || exit 1
-make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} OPT_CFLAGS="$SLKCFLAGS " -j1
+make -C src cli lib libc WGET=/bin/true LIBS=${LDFLAGS} OPT_CFLAGS="$SLKCFLAGS "
cd gmic-qt
qmake-qt5 GMIC_PATH=../src GMIC_DYNAMIC_LINKING=on HOST=none
@@ -114,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:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gmic/gmic.info b/graphics/gmic/gmic.info
index 3d609c7b98..5f7b119ad6 100644
--- a/graphics/gmic/gmic.info
+++ b/graphics/gmic/gmic.info
@@ -1,12 +1,12 @@
PRGNAM="gmic"
-VERSION="2.7.5"
+VERSION="2.9.4"
HOMEPAGE="https://gmic.eu"
-DOWNLOAD="https://gmic.eu/files/source/gmic_2.7.5.tar.gz \
- https://github.com/dtschump/gmic-community/archive/5a9aefc05e9585c1198c1d68f4b47ee32ff68ae2.zip"
-MD5SUM="d1c9baba2726b8ce8421804c91406a34 \
- a54fa39b205e6dd712f42a2f3c1f45ae"
+DOWNLOAD="https://gmic.eu/files/source/gmic_2.9.4.tar.gz \
+ https://github.com/dtschump/gmic-community/archive/6e9a20ef40e1db99c9b761853ad493ee7439e1b7.zip"
+MD5SUM="e0d396ab6406c9baeb4929c1dd6a0d6a \
+ 75f88fa1423f253714e84905a05f37da"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 opencv"
+REQUIRES=""
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
diff --git a/graphics/gmic/zart-opencv4.patch b/graphics/gmic/zart-opencv4.patch
deleted file mode 100644
index 6396db571a..0000000000
--- a/graphics/gmic/zart-opencv4.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff --git a/include/VideoFileSource.h b/include/VideoFileSource.h
-index 0fda14e..8c15178 100644
---- a/include/VideoFileSource.h
-+++ b/include/VideoFileSource.h
-@@ -50,5 +50,7 @@
- #include <QString>
- #include <opencv2/opencv.hpp>
-+#include <opencv2/videoio.hpp>
-+#include <opencv2/videoio/videoio_c.h>
- #include "ImageSource.h"
-
- class VideoFileSource : public ImageSource {
-diff --git a/include/WebcamSource.h b/include/WebcamSource.h
-index 8c1911a..9194385 100644
---- a/include/WebcamSource.h
-+++ b/include/WebcamSource.h
-@@ -53,6 +53,8 @@
- #include <QString>
- #include <QVector>
- #include <opencv2/opencv.hpp>
-+#include <opencv2/videoio.hpp>
-+#include <opencv2/videoio/videoio_c.h>
- #include "ImageSource.h"
-
- class QSplashScreen;
-diff --git a/zart.pro b/zart.pro
-index d98a192..ddb2d3b 100644
---- a/zart.pro
-+++ b/zart.pro
-@@ -19,7 +19,7 @@
- CONFIG += warn_on
- QT_CONFIG -= no-pkg-config
- CONFIG += link_pkgconfig
--PKGCONFIG += opencv fftw3 zlib
-+PKGCONFIG += opencv4 fftw3 zlib
- # LIBS += -lfftw3_threads
- DEFINES += cimg_use_fftw3 cimg_use_zlib
-
-diff --git a/src/ImageConverter.cpp b/src/ImageConverter.cpp
---- a/src/ImageConverter.cpp
-+++ b/src/ImageConverter.cpp
-@@ -70,7 +70,7 @@
-
- cv::Mat tmp(in->cols, in->rows, in->depth());
-
-- cvtColor(*in, tmp, (in->channels() == 1) ? CV_GRAY2RGB : CV_BGR2RGB);
-+ cvtColor(*in, tmp, (in->channels() == 1) ? cv::COLOR_GRAY2RGB : cv::COLOR_BGR2RGB);
-
- const unsigned int w3 = 3 * tmp.cols;
- unsigned char * src = reinterpret_cast<unsigned char *>(tmp.ptr());
-@@ -106,7 +106,7 @@
- dst += step;
- }
- }
-- cvtColor(**out, **out, CV_BGR2RGB);
-+ cvtColor(**out, **out, cv::COLOR_BGR2RGB);
- }
-
- void ImageConverter::convert(const cimg_library::CImg<float> & in, QImage * out)
diff --git a/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild
index e78829d63c..a97d52ee13 100644
--- a/graphics/gnofract4d/gnofract4d.SlackBuild
+++ b/graphics/gnofract4d/gnofract4d.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,12 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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}
-
-SRCVER=V_$(echo $VERSION | tr . _)
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,9 +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 \
@@ -71,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
@@ -83,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
@@ -92,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/gnome-themes-extras/README b/graphics/gnome-themes-extras/README
index 86c7303e51..0035330eef 100644
--- a/graphics/gnome-themes-extras/README
+++ b/graphics/gnome-themes-extras/README
@@ -1,5 +1,5 @@
-GNOME Themes Extras is a collection of metathemes for the GNOME desktop
-environment. This package provides GNOME users an extra set of themes that
-are functional and attractive, often sporting a distinct appearance that you
-won't find in the primary themes package. Most of the graphics in these Themes
-contain SVG vector graphics.
+GNOME Themes Extras is a collection of metathemes for the GNOME
+desktop environment. This package provides GNOME users an extra set of
+themes that are functional and attractive, often sporting a distinct
+appearance that you won't find in the primary themes package. Most of
+the graphics in these Themes contain SVG vector graphics.
diff --git a/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild b/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild
index 8a9fe9fb84..a5ce0f1740 100644
--- a/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild
+++ b/graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild
@@ -1,16 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnome-themes-extras
# Written by Arvydas Sidorenko (asido4@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnome-themes-extras
VERSION=${VERSION:-2.22.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,4 +58,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gnome-web-photo/README b/graphics/gnome-web-photo/README
deleted file mode 100644
index 67ca3e39fa..0000000000
--- a/graphics/gnome-web-photo/README
+++ /dev/null
@@ -1,3 +0,0 @@
-GNOME Web Photographer is a tool to generate full-size image files
-and thumbnails from HTML files and web pages. It can also be used
-to print those.
diff --git a/graphics/gnome-web-photo/doinst.sh b/graphics/gnome-web-photo/doinst.sh
deleted file mode 100644
index 5c2c60905f..0000000000
--- a/graphics/gnome-web-photo/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install thumbnailer.schemas
diff --git a/graphics/gnome-web-photo/gnome-web-photo.info b/graphics/gnome-web-photo/gnome-web-photo.info
deleted file mode 100644
index 59989c453c..0000000000
--- a/graphics/gnome-web-photo/gnome-web-photo.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gnome-web-photo"
-VERSION="0.10.6"
-HOMEPAGE="https://launchpad.net/gnome-web-photo"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/gnome-web-photo/0.10/gnome-web-photo-0.10.6.tar.xz"
-MD5SUM="6fbf72173149ffae57e66605e4898113"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="webkitgtk"
-MAINTAINER="Robert Zelic"
-EMAIL="zerobertons@yahoo.com"
diff --git a/graphics/goocanvas/goocanvas.SlackBuild b/graphics/goocanvas/goocanvas.SlackBuild
index 1987660272..3b2de9ae14 100644
--- a/graphics/goocanvas/goocanvas.SlackBuild
+++ b/graphics/goocanvas/goocanvas.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2009, Jonathan Larsen (agentc0re), SLC, UT
# Contact Info: agentc0re 'AT' learnix 'DOT' net
@@ -21,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=goocanvas
VERSION=${VERSION:-0.15}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,6 +78,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+export LDFLAGS="-ldl -lm"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -93,8 +104,10 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/goocanvas2/goocanvas2.SlackBuild b/graphics/goocanvas2/goocanvas2.SlackBuild
index e033f224c4..b1a53d1489 100644
--- a/graphics/goocanvas2/goocanvas2.SlackBuild
+++ b/graphics/goocanvas2/goocanvas2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
@@ -20,11 +20,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=goocanvas2
SRCNAM=goocanvas
VERSION=${VERSION:-2.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gource/gource.SlackBuild b/graphics/gource/gource.SlackBuild
index 295a723014..e7486547b9 100644
--- a/graphics/gource/gource.SlackBuild
+++ b/graphics/gource/gource.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -24,10 +24,13 @@
# generated by grissiom's sbo-dev-helper
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gource
-VERSION=${VERSION:-0.51}
+VERSION=${VERSION:-0.53}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,7 +66,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="COPYING ChangeLog INSTALL README THANKS"
+DOCS="COPYING ChangeLog INSTALL README.md THANKS"
set -e
@@ -95,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gource/gource.info b/graphics/gource/gource.info
index 38b29ef469..bb700f65a7 100644
--- a/graphics/gource/gource.info
+++ b/graphics/gource/gource.info
@@ -1,10 +1,10 @@
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="SDL2_image glm"
+REQUIRES="glm"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/gpaint/gpaint.SlackBuild b/graphics/gpaint/gpaint.SlackBuild
index a1c3993328..107df39559 100644
--- a/graphics/gpaint/gpaint.SlackBuild
+++ b/graphics/gpaint/gpaint.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gpaint
-# Copyright 2013-2016 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
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpaint
-VERSION=${VERSION:-0.3.3}
+VERSION=${VERSION:-0.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,29 +70,14 @@ 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 . \
- \( -perm 777 -o -perm 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 {} \;
-
-# 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
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -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" \
@@ -107,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
@@ -121,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/README b/graphics/gpicview/README
index 82117d29a6..535b23c691 100644
--- a/graphics/gpicview/README
+++ b/graphics/gpicview/README
@@ -1,4 +1,5 @@
-A Simple And Fast Image Viewer With Low Memory Usage. This little program is
-not aimed to be powerful or feature-rich. It's aimed to replace the default
-image viewer of current desktop systems. Fast-startup, low memory usage, and
-a simple user interface make it a good choice for default viewer.
+A Simple And Fast Image Viewer With Low Memory Usage. This little
+program is not aimed to be powerful or feature-rich. It's aimed
+to replace the default image viewer of current desktop systems.
+Fast-startup, low memory usage, and a simple user interface make it a
+good choice for default viewer.
diff --git a/graphics/gpicview/gpicview.SlackBuild b/graphics/gpicview/gpicview.SlackBuild
index 03d03ca026..cfbe30d77c 100644
--- a/graphics/gpicview/gpicview.SlackBuild
+++ b/graphics/gpicview/gpicview.SlackBuild
@@ -1,28 +1,38 @@
-#!/bin/sh
+#!/bin/bash
# slackware build script for gpicview
# Written Evandro Alves Rodrigues evandrofisico@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpicview
VERSION=${VERSION:-0.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -73,4 +83,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/gpscorrelate/README b/graphics/gpscorrelate/README
index 751187371a..c34baf0980 100644
--- a/graphics/gpscorrelate/README
+++ b/graphics/gpscorrelate/README
@@ -1,11 +1,11 @@
GPScorrelate writes EXIF GPS tags to JPEG photos using a GPX tracklog.
-Both a command line utility (gpscorrelate) and a GTK+ application
-(gpscorrelate-gui) are provided.
+Both a command line utility (gpscorrelate) and a GTK+ application
+(gpscorrelate-gui) are provided.
-The date/time of each photo is correlated with a GPS tracklog and the
-photos are tagged (or "geocoded") with appropriate EXIF GPS tags. For
+The date/time of each photo is correlated with a GPS tracklog and the
+photos are tagged (or "geocoded") with appropriate EXIF GPS tags. For
more information please see the GPScorrelate homepage.
-The tracklog must be in GPX format. One suitable utility for downloading
-tracklogs and translating them to GPX format is gpsbabel, which is also
-available at SlackBuilds.org.
+The tracklog must be in GPX format. One suitable utility for
+downloading tracklogs and translating them to GPX format is gpsbabel,
+which is also available at SlackBuilds.org.
diff --git a/graphics/gpscorrelate/gpscorrelate.SlackBuild b/graphics/gpscorrelate/gpscorrelate.SlackBuild
index 2dc37fcf81..0f6b46aac3 100644
--- a/graphics/gpscorrelate/gpscorrelate.SlackBuild
+++ b/graphics/gpscorrelate/gpscorrelate.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gpscorrelate
@@ -24,26 +24,36 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpscorrelate
-VERSION=${VERSION:-1.6.1}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -91,7 +101,7 @@ mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps/
cat gpscorrelate-gui.svg > $PKG/usr/share/icons/hicolor/scalable/apps/gpscorrelate-gui.svg
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL README RELEASES \
+cp -a COPYING INSTALL README.md RELEASES \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gpscorrelate/gpscorrelate.info b/graphics/gpscorrelate/gpscorrelate.info
index 87a14201a5..2672811895 100644
--- a/graphics/gpscorrelate/gpscorrelate.info
+++ b/graphics/gpscorrelate/gpscorrelate.info
@@ -1,8 +1,8 @@
PRGNAM="gpscorrelate"
-VERSION="1.6.1"
-HOMEPAGE="https://github.com/freefoote/gpscorrelate"
-DOWNLOAD="https://ftp.mirrorservice.org/sites/download.salixos.org/i486/extra-14.2/source/graphics/gpscorrelate/gpscorrelate-1.6.1.tar.gz"
-MD5SUM="0bbf24053a5f870c2531320fd5c55b4b"
+VERSION="2.0"
+HOMEPAGE="https://dfandrich.github.io/gpscorrelate/"
+DOWNLOAD="https://github.com/dfandrich/gpscorrelate/releases/download/2.0/gpscorrelate-2.0.tar.gz"
+MD5SUM="377336b7c19cef7f6ed30db26c31976e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
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/digikam/digikam.SlackBuild b/graphics/gqview/gqview.SlackBuild
index dd492bcb28..9e1ecd90fb 100644
--- a/graphics/digikam/digikam.SlackBuild
+++ b/graphics/gqview/gqview.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for digiKam
+# Slackware build script for gqview
-# Copyright 2007-2011 Frank Caraballo <fecaraballo{at}gmail{dot}com>
-# Copyright 2013-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# 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:
@@ -23,10 +23,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=digikam
-VERSION=${VERSION:-4.14.0}
-BUILD=${BUILD:-4}
+# 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
@@ -36,10 +51,10 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -51,66 +66,54 @@ else
SLKCFLAGS="-O2"
fi
-set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-cd core
-# patch for lensfun 0.3.2
-patch -p1 < $CWD/lensfun-0.3.2.patch
-
-# workaround for flex-2.6.0
-sed -e '/fno-tree-pre/d' -i CMakeLists.txt
-cd ..
-
-patch -p0 < $CWD/libpgf.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=$(kde4-config --libsuffix) \
- -DMAN_INSTALL_DIR=/usr/man \
- -DSYSCONF_INSTALL_DIR=/etc/kde \
- -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \
- -DDIGIKAMSC_COMPILE_LIBMEDIAWIKI=ON \
- -DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=ON \
- -DDIGIKAMSC_COMPILE_LIBKFACE=ON \
- -DDIGIKAMSC_COMPILE_DOC=OFF \
- -DCMAKE_CXX_FLAGS:STRING="$(/usr/bin/Magick++-config --libs)" \
- -DENABLE_OPENCV3=ON \
- -DCMAKE_C_COMPILER=clang \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+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 COPYING* NEWS README $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:-tgz}
+/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 3f4aa6c067..961cf9f911 100644
--- a/graphics/grafx2/grafx2.SlackBuild
+++ b/graphics/grafx2/grafx2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GrafX2
@@ -22,12 +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
@@ -37,7 +54,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -56,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
@@ -70,30 +95,54 @@ 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 ..
+ 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
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 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
-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
+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
-/sbin/makepkg -l y -c n $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/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/README b/graphics/graph-easy/README
index ba45f2640d..ef3482e891 100644
--- a/graphics/graph-easy/README
+++ b/graphics/graph-easy/README
@@ -1,9 +1,10 @@
-This module lets you create graphs (nodes/vertices connected by edges/arcs,
-not pie charts!) and then lay them out on a flat surface.
+This module lets you create graphs (nodes/vertices connected by
+edges/arcs, not pie charts!) and then lay them out on a flat surface.
-Once laid out, the graph can be converted into various output formats like
-ASCII art, HTML or SVG. You can also output the graph in graphviz format
-and let dot/neato/circo etc. do the layout for you.
+Once laid out, the graph can be converted into various output formats
+like ASCII art, HTML or SVG. You can also output the graph in graphviz
+format and let dot/neato/circo etc. do the layout for you.
-Graphs can be either generated by Perl code, parsed from a simple text format
-that is human readable and maintainable, or parsed from Graphviz code.
+Graphs can be either generated by Perl code, parsed from a simple
+text format that is human readable and maintainable, or parsed from
+Graphviz code.
diff --git a/graphics/graph-easy/graph-easy.SlackBuild b/graphics/graph-easy/graph-easy.SlackBuild
index fb56a9660a..3952670358 100644
--- a/graphics/graph-easy/graph-easy.SlackBuild
+++ b/graphics/graph-easy/graph-easy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for graph-easy
@@ -16,11 +16,17 @@
# 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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -30,7 +36,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,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 \
@@ -78,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
@@ -86,4 +102,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/graphene/README b/graphics/graphene/README
deleted file mode 100644
index 08152a6c50..0000000000
--- a/graphics/graphene/README
+++ /dev/null
@@ -1,22 +0,0 @@
-When creating graphic libraries you most likely end up dealing with
-points and rectangles. If you're particularly unlucky, you may end
-up dealing with affine matrices and 2D transformations. If you're
-writing a graphic library with 3D transformations, though, you are
-going to hit the jackpot: 4x4 matrices, projections, transformations,
-vectors, and quaternions.
-
-Most of this stuff exists, in various forms, in other libraries,
-but it has the major drawback of coming along with the rest of those
-libraries, which may or may not be what you want. Those libraries
-are also available in various languages, as long as those languages
-are C++; again, it may or may not be something you want.
-
-For this reason, I decided to write the thinnest, smallest possible
-layer needed to write a canvas library; given its relative size, and
-the propensity for graphics libraries to have a pun in their name,
-I decided to call it Graphene.
-
-This library provides types and their relative API; it does not deal
-with windowing system surfaces, drawing, scene graphs, or input. You're
-supposed to do that yourself, in your own canvas implementation,
-which is the whole point of writing the library in the first place.
diff --git a/graphics/graphene/graphene.info b/graphics/graphene/graphene.info
deleted file mode 100644
index fcc80acf74..0000000000
--- a/graphics/graphene/graphene.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="graphene"
-VERSION="1.10.2"
-HOMEPAGE="https://ebassi.github.io/graphene/"
-DOWNLOAD="https://github.com/ebassi/graphene/releases/download/1.10.2/graphene-1.10.2.tar.xz"
-MD5SUM="a2c26c4f44a02ca053e0e9afb63cc94c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="meson"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/graphics/graphite2/README b/graphics/graphite2/README
deleted file mode 100644
index 03a0e630a8..0000000000
--- a/graphics/graphite2/README
+++ /dev/null
@@ -1,10 +0,0 @@
-Graphite is a system that can be used to create "smart fonts" capable
-of displaying writing systems with various complex behaviors. A smart
-font contains not only letter shapes but also additional instructions
-indicating how to combine and position the letters in complex ways.
-
-Graphite was primarily developed to provide the flexibility needed for
-minority languages which often need to be written according to slightly
-different rules than well-known languages that use the same script.
-
-python3 is an optional dependency.
diff --git a/graphics/graphite2/graphite2.info b/graphics/graphite2/graphite2.info
deleted file mode 100644
index 3402fcc300..0000000000
--- a/graphics/graphite2/graphite2.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="graphite2"
-VERSION="1.3.14"
-HOMEPAGE="http://graphite.sil.org/"
-DOWNLOAD="https://github.com/silnrsi/graphite/releases/download/1.3.14/graphite2-1.3.14.tgz"
-MD5SUM="1bccb985a7da01092bfb53bb5041e836"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/graphics/graphviz/README b/graphics/graphviz/README
index b37934c286..b7a84ae8ef 100644
--- a/graphics/graphviz/README
+++ b/graphics/graphviz/README
@@ -7,7 +7,5 @@ diagrams of abstract graphs and networks. Automatic graph drawing has
many important applications in software engineering, database and web
design, networking, and in visual interfaces for many other domains.
-gts is an optional dependency.
-
-NOTE: Upstream doesn't version their downloads, so the MD5SUM and
-VERSION numbers might not match.
+gts and DevIL are autodetected optional dependencies.
+ocaml is an optional dependency, if you want OCaml bindings.
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 5593f2ecf0..40849f7daf 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for graphviz
+# Copyright 2022 Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright 2007 Robby Workman <rworkman@slackbuilds.org>
# Copyright 2011 Heinz Wiesinger <pprkut@slackbuilds.org>
# Copyright 2013-2017 Audrius KaĹľukauskas <audrius@neutrino.lt>
@@ -24,10 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=graphviz
-VERSION=${VERSION:-2.40.1}
+VERSION=${VERSION:-10.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,6 +62,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -62,7 +76,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -71,15 +85,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 {} \;
-# Install PHP bindings to proper location.
-sed -i 's|/php/modules|/php/extensions|' configure
-
-# Fix for php-5.4
-patch -p1 -i $CWD/php_5.4_compat.patch
-
-# Patch from Arch (thanks!)
-patch -p1 -i $CWD/ghostscript918.patch
-
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
@@ -88,7 +94,6 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
- --enable-ocaml=no \
--build=$ARCH-slackware-linux
make
@@ -96,7 +101,7 @@ make install-strip DESTDIR=$PKG
# Install config file for PHP.
mkdir -p $PKG/etc/php.d
-sed "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" $CWD/graphviz.ini > $PKG/etc/php.d/graphviz.ini.new
+cat $CWD/graphviz.ini > $PKG/etc/php.d/graphviz.ini.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
@@ -114,15 +119,17 @@ 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
+
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 -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/graphviz/graphviz.info b/graphics/graphviz/graphviz.info
index 9d3fe12952..2418064f2d 100644
--- a/graphics/graphviz/graphviz.info
+++ b/graphics/graphviz/graphviz.info
@@ -1,10 +1,10 @@
PRGNAM="graphviz"
-VERSION="2.40.1"
+VERSION="10.0.1"
HOMEPAGE="https://www.graphviz.org/"
-DOWNLOAD="https://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz"
-MD5SUM="4ea6fd64603536406166600bcc296fc8"
+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=""
-MAINTAINER="Audrius KaĹľukauskas"
-EMAIL="audrius@neutrino.lt"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"
diff --git a/graphics/graphviz/graphviz.ini b/graphics/graphviz/graphviz.ini
index 86c17067c5..107db738b0 100644
--- a/graphics/graphviz/graphviz.ini
+++ b/graphics/graphviz/graphviz.ini
@@ -8,5 +8,5 @@
; In case you still prefer to use the wrapper class you have to
; include it using its absolute path:
; <?php
-; include ('/usr/lib@LIBDIRSUFFIX@/graphviz/php/gv.php');
+; include ('/usr/share/php/gv.php');
; ?>
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/README b/graphics/gscan2pdf/README
index c2cbdf489c..552ade0bf0 100644
--- a/graphics/gscan2pdf/README
+++ b/graphics/gscan2pdf/README
@@ -8,3 +8,5 @@ gscan2pdf should work on almost any Linux/BSD machine.
Run the tests with:
MAKETEST=yes ./gscan2pdf.SlackBuild
+
+Optional packages for use: unpaper, pdftk
diff --git a/graphics/gscan2pdf/gscan2pdf.SlackBuild b/graphics/gscan2pdf/gscan2pdf.SlackBuild
index 2f27d18337..6cf90eaa5e 100644
--- a/graphics/gscan2pdf/gscan2pdf.SlackBuild
+++ b/graphics/gscan2pdf/gscan2pdf.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gscanpdf
-# Copyright 2020 M.A.Begue mab974@gmail.com
+# Copyright 2020 M.A.Begue mab974@misouk.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gscan2pdf
-VERSION=${VERSION:-2.11.0}
+VERSION=${VERSION:-2.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gscan2pdf/gscan2pdf.info b/graphics/gscan2pdf/gscan2pdf.info
index e1ae9c9c6a..b9e6f23aed 100644
--- a/graphics/gscan2pdf/gscan2pdf.info
+++ b/graphics/gscan2pdf/gscan2pdf.info
@@ -1,10 +1,10 @@
PRGNAM="gscan2pdf"
-VERSION="2.11.0"
+VERSION="2.13.2"
HOMEPAGE="http://gscan2pdf.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/2.11.0/gscan2pdf-2.11.0.tar.xz"
-MD5SUM="8cab16574dd95cab3d7d7c3b5c43ea60"
+DOWNLOAD="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-glib perl-Gtk3 perl-Image-Sane perl-Image-Magick perl-IPC-System-Simple perl-Date-Calc perl-HTML-Parser perl-Log-Log4perl perl-Try-Tiny perl-Carp-Clan perl-Sub-Override perl-PDF-Builder perl-Proc-ProcessTable perl-Gtk3-SimpleList perl-Set-IntSpan perl-List-MoreUtils perl-Filesys-Df"
+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@gmail.com"
+EMAIL="mab974@misouk.com"
diff --git a/graphics/gthumb/README b/graphics/gthumb/README
index 50224f54f8..0f3e31ddcf 100644
--- a/graphics/gthumb/README
+++ b/graphics/gthumb/README
@@ -1,7 +1,7 @@
-gThumb is an image viewer and browser for the GNOME desktop. It also
+gThumb is an image viewer and browser for the GNOME desktop. It also
includes an importer tool for transferring photos from cameras.
-gThumb supports printing multiple images on a single page using a printer
-while many other image viewers don't support it. Thus, it comes handy.
+gThumb supports printing multiple images on a single page using a
+printer while many other image viewers don't support it.
-clutter, libwebp, json-glib, brasero, and webkit2 are optional dependencies.
+clutter, brasero, and webkit2 are optional dependencies.
diff --git a/graphics/gthumb/gthumb.SlackBuild b/graphics/gthumb/gthumb.SlackBuild
index c285038c08..8834865e50 100644
--- a/graphics/gthumb/gthumb.SlackBuild
+++ b/graphics/gthumb/gthumb.SlackBuild
@@ -1,13 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gthumb
-# Written by crocket (crockabiscuit@gmail.com)
+# Copyright 2020,2021 Robby Workman, Tuscaloosa, Alabama, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gthumb
-VERSION=${VERSION:-3.4.5}
+VERSION=${VERSION:-3.10.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,21 +79,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+mkdir build
+meson setup \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=lib${LIBDIRSUFFIX} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --enable-static=no \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ --buildtype=release \
+ build || exit 1
+"${NINJA:=ninja}" -C build || exit 1
+DESTDIR=$PKG $NINJA -C build install || exit 1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -74,7 +105,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 ChangeLog INSTALL MAINTAINERS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING MAINTAINERS NEWS PERFORMANCE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -82,5 +113,5 @@ cat $CWD/slack-desc > $PKG/install/slack-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/gthumb/gthumb.info b/graphics/gthumb/gthumb.info
index 2246030a01..b86a6fe330 100644
--- a/graphics/gthumb/gthumb.info
+++ b/graphics/gthumb/gthumb.info
@@ -1,8 +1,8 @@
PRGNAM="gthumb"
-VERSION="3.4.5"
-HOMEPAGE="https://wiki.gnome.org/Apps/Gthumb"
-DOWNLOAD="https://download.gnome.org/sources/gthumb/3.4/gthumb-3.4.5.tar.xz"
-MD5SUM="4e61136814fab59d8b1c3ebdbede6b56"
+VERSION="3.10.4"
+HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Gthumb"
+DOWNLOAD="https://download.gnome.org/sources/gthumb/3.10/gthumb-3.10.4.tar.xz"
+MD5SUM="4f14621f00444c2db3a19c546672d369"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/gthumb/slack-desc b/graphics/gthumb/slack-desc
index e95b0c5903..18be3ddeaf 100644
--- a/graphics/gthumb/slack-desc
+++ b/graphics/gthumb/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-gthumb: gthumb (An image viewer)
+gthumb: gthumb (an image viewer)
gthumb:
gthumb: gThumb is an image viewer and browser for the GNOME desktop. It also
gthumb: includes an importer tool for transferring photos from cameras.
gthumb:
gthumb: gThumb supports printing multiple images on a single page using
gthumb: a printer while many other image viewers don't support it.
-gthumb: Thus, it comes handy.
gthumb:
-gthumb: Website: https://wiki.gnome.org/Apps/Gthumb
+gthumb: Homepage: https://wiki.gnome.org/action/show/Apps/Gthumb
+gthumb:
gthumb:
diff --git a/graphics/gtkam/gtkam.SlackBuild b/graphics/gtkam/gtkam.SlackBuild
index 757be79e4e..2a2dc5f752 100644
--- a/graphics/gtkam/gtkam.SlackBuild
+++ b/graphics/gtkam/gtkam.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Build Script for gtkam
@@ -22,26 +22,35 @@
# 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: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gtkam
VERSION=${VERSION:-0.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -65,11 +74,13 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Add --without-gimp if you don't want to compile the GIMP plugin
+# 20220228 bkw: add LIBS, it wasn't picking them up automatically on 15.0.
+LIBS="$( pkg-config --libs gtk+-2.0 )" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -99,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
index 6287e24f73..bc95b628cc 100644
--- a/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
+++ b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=heif-gimp-plugin
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.1.0+20230216_15a6986}
+COMMIT=15a69868a82d6f8d5cd2c11708fb371510fd725e
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +67,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/libheif-v$VERSION.tar.gz
-cd $PRGNAM-libheif-v$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 \
@@ -98,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/heif-gimp-plugin/heif-gimp-plugin.info b/graphics/heif-gimp-plugin/heif-gimp-plugin.info
index 3866860c74..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="1.1.0"
+VERSION="1.1.0+20230216_15a6986"
HOMEPAGE="https://github.com/strukturag/heif-gimp-plugin"
-DOWNLOAD="https://github.com/strukturag/heif-gimp-plugin/archive/libheif-v1.1.0.tar.gz"
-MD5SUM="27cca588ebc72ebdbfae5b7b5e6ffa61"
+DOWNLOAD="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/README b/graphics/hp2xx/README
index 174bbf3b63..7f85bbd8cd 100644
--- a/graphics/hp2xx/README
+++ b/graphics/hp2xx/README
@@ -1,14 +1,14 @@
hp2xx (vector graphics conversion)
-The hp2xx program is a versatile tool to convert vector-oriented graphics
-data given in Hewlett-Packard's HP-GL plotter language into a variety
-of popular graphics formats, both vector- and raster-oriented.
+The hp2xx program is a versatile tool to convert vector-oriented
+graphics data given in Hewlett-Packard's HP-GL plotter language into a
+variety of popular graphics formats, both vector- and raster-oriented.
The various supported output formats include Encapsulated PostScript
-(EPS), PCX, IMG, and several formats intended to facilitate the generation
-of graphics within TeX documents. In addition, hp2xx output is printable
-on the HP Laserjet/Deskjet printer series, and it may be used as a HP-GL
-previewer on many platforms.
+(EPS), PCX, IMG, and several formats intended to facilitate the
+generation of graphics within TeX documents. In addition, hp2xx output
+is printable on the HP Laserjet/Deskjet printer series, and it may be
+used as a HP-GL previewer on many platforms.
It can be used as an ImageMagick or GraphicsMagick delegate to convert
from HPGL format.
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 8eebc71cec..8eecefda6a 100644
--- a/graphics/hp2xx/hp2xx.SlackBuild
+++ b/graphics/hp2xx/hp2xx.SlackBuild
@@ -1,15 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# 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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,23 +24,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -48,11 +53,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
sed -i "s,-O2 -g,$SLKCFLAGS," sources/Makefile
@@ -79,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:-tgz}
+/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/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index 8a31feb9ee..0c5c216bc4 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Hugin
#
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
-# Copyright 2011-2018 by titopoquito (titopoquito@gmail.com)
+# Copyright 2011-2023 by titopoquito (titopoquito@gmail.com)
# Thanks to Romain Dartigues for the help with the update to 2016.2.0
# All rights reserved.
#
@@ -24,10 +24,20 @@
# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hugin
-VERSION=${VERSION:-2018.0.0}
+VERSION=${VERSION:-2023.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +47,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,13 +82,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir -p build
cd build
cmake \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0 \
+ -DwxWidgets_wxrc_EXECUTABLE=/usr/bin/wxrc-3.0 \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
@@ -83,23 +99,19 @@ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
-make install DESTDIR=$PKG
+make install/strip DESTDIR=$PKG
cd ..
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.txt Changes.txt INSTALL_cmake README \
- TODO $PKG/usr/doc/$PRGNAM-$VERSION
+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
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/hugin/hugin.info b/graphics/hugin/hugin.info
index cf4162e503..39bbc764eb 100644
--- a/graphics/hugin/hugin.info
+++ b/graphics/hugin/hugin.info
@@ -1,8 +1,8 @@
PRGNAM="hugin"
-VERSION="2018.0.0"
+VERSION="2023.0.0"
HOMEPAGE="http://hugin.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/project/hugin/hugin/hugin-2018.0/hugin-2018.0.0.tar.bz2"
-MD5SUM="91cb2c31409c9ef02fc86e17ec2fa068"
+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/icc_profiles/icc_profiles.SlackBuild b/graphics/icc_profiles/icc_profiles.SlackBuild
index bba13c8fd9..843c93b254 100644
--- a/graphics/icc_profiles/icc_profiles.SlackBuild
+++ b/graphics/icc_profiles/icc_profiles.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Rec709 and related ITU color profiles
# Copyright 2019 Klaatu | Lawrence, NZ | klaatu@member.fsf.org
@@ -8,6 +8,11 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+# 20220222 bkw: Modified by SlackBuilds.org: don't try to install the
+# nonexisent lecalcode.txt. How did this script ever get past QA?
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icc_profiles
SRCNAM="ICC Profiles - hbrendel.com"
UNION=ITU
@@ -15,10 +20,15 @@ UNION=ITU
VERSION=${VERSION:-2019}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -29,19 +39,20 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
unzip $CWD/$PRGNAM.zip
install -d $PKG/usr/share/color/icc/$UNION
-install -m644 "${SRCNAM}"/*.icc \
+install -o root -g root -m644 "${SRCNAM}"/*.icc \
$PKG/usr/share/color/icc/$UNION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/legalcode.txt > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
index f8ea3ca6f8..de6dbc64d4 100644
--- a/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
+++ b/graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ECI (European Color Initiative) ICC profiles
# Copyright 2019 Klaatu | Lawrence, NZ | klaatu@member.fsf.org
@@ -8,10 +8,13 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icc_profiles_from_eci
VERSION=${VERSION:-"2017_08_27"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
@@ -19,7 +22,14 @@ ECINAM=eciRGB_v2_profile
CMYKNAM=ecicmyk
DEVICELINK=ecicmyk_devicelinkprofiles_$(echo $VERSION | tr _ -)
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -50,4 +60,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/img2pdf/README b/graphics/img2pdf/README
index 7da803e3ac..45396ac6a3 100644
--- a/graphics/img2pdf/README
+++ b/graphics/img2pdf/README
@@ -21,13 +21,6 @@ situations) is, that img2pdf is able to handle much larger input than
other software, because the raw pixel data never has to be loaded into
memory.
-The following table shows how img2pdf handles different input depending
-on the input file format and image color space. Format
-Colorspace Result JPEG any direct JPEG2000 any
-direct PNG (non-interlaced) any direct TIFF (CCITT Group 4)
-monochrome direct any any except CMYK and monochrome PNG
-Paeth any monochrome CCITT Group 4 any CMYK flate
-
For JPEG, JPEG2000, non-interlaced PNG and TIFF images with CCITT Group
4 encoded data, img2pdf directly embeds the image data into the PDF
without re-encoding it. It thus treats the PDF format merely as a
@@ -228,7 +221,3 @@ of img2pdf. For other input, Tesseract might not do a lossless
conversion. For example it converts CMYK input to RGB and removes the
alpha channel from images with transparency. For multipage TIFF or
animated GIF, it will only convert the first frame.
-
-OPTIONAL:
-
-python3
diff --git a/graphics/img2pdf/img2pdf.SlackBuild b/graphics/img2pdf/img2pdf.SlackBuild
index 87a3ae33eb..cfdae89ece 100644
--- a/graphics/img2pdf/img2pdf.SlackBuild
+++ b/graphics/img2pdf/img2pdf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for img2pdf
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=img2pdf
VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -34,7 +37,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/img2pdf/slack-desc b/graphics/img2pdf/slack-desc
index de4242d2bb..3a33846988 100644
--- a/graphics/img2pdf/slack-desc
+++ b/graphics/img2pdf/slack-desc
@@ -9,11 +9,11 @@
img2pdf: img2pdf (Lossless conversion of raster images to PDF.)
img2pdf:
img2pdf: A Python package to losslessly convert raster images to PDF.
-img2pdf:
-img2pdf: Created and currently maintained by josch
+img2pdf:
+img2pdf: Created and currently maintained by josch
img2pdf: https://pypi.org/user/josch/
-img2pdf:
+img2pdf:
img2pdf: Homepage: https://gitlab.mister-muffin.de/josch/img2pdf
-img2pdf:
-img2pdf:
-img2pdf:
+img2pdf:
+img2pdf:
+img2pdf:
diff --git a/graphics/imgcurses/README b/graphics/imgcurses/README
new file mode 100644
index 0000000000..2f8297dd92
--- /dev/null
+++ b/graphics/imgcurses/README
@@ -0,0 +1,18 @@
+imgcurses (smart character-based image viewer)
+
+imgcurses displays images in a console or terminal using color
+ASCII art.
+
+* Do you browse the internet using lynx?
+* Do you wish the world was only 8 colors?
+* Do you pity your peers with their pathetic desktop applications?
+
+imgcurses might just be for you...
+
+The limited color palette introduces some pretty bad limitations,
+but unlike alternatives imgcurses is fully interactive and employs
+smart techniques to get the most out of viewing - it doesn't just map
+pixel values to ASCII characters. Images are best viewed scaled up,
+from a distance, and with a blurred focus. The combination of modes
+highlights different image features and makes an overall understanding
+of the image much more plausible.
diff --git a/graphics/imgcurses/git2tarxz.sh b/graphics/imgcurses/git2tarxz.sh
new file mode 100644
index 0000000000..d88f516207
--- /dev/null
+++ b/graphics/imgcurses/git2tarxz.sh
@@ -0,0 +1,44 @@
+#!/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=imgcurses
+CLONE_URL=https://github.com/orangeduck/imgcurses
+
+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/imgcurses/imgcurses.1 b/graphics/imgcurses/imgcurses.1
new file mode 100644
index 0000000000..eae0b32337
--- /dev/null
+++ b/graphics/imgcurses/imgcurses.1
@@ -0,0 +1,79 @@
+.\" Man page generated from reStructuredText.
+.
+.
+.nr rst2man-indent-level 0
+.
+.de1 rstReportMargin
+\\$1 \\n[an-margin]
+level \\n[rst2man-indent-level]
+level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
+-
+\\n[rst2man-indent0]
+\\n[rst2man-indent1]
+\\n[rst2man-indent2]
+..
+.de1 INDENT
+.\" .rstReportMargin pre:
+. RS \\$1
+. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
+. nr rst2man-indent-level +1
+.\" .rstReportMargin post:
+..
+.de UNINDENT
+. RE
+.\" indent \\n[an-margin]
+.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.nr rst2man-indent-level -1
+.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
+.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
+..
+.TH "IMGCURSES" 1 "2022-02-01" "20151107_de613ca" "SlackBuilds.org"
+.SH NAME
+imgcurses \- character-based image viewer
+.\" RST source for imgcurses(1) man page. Convert with:
+.
+.\" rst2man.py imgcurses.rst > imgcurses.1
+.
+.\" rst2man.py comes from the SBo development/docutils package.
+.
+.SH SYNOPSIS
+.sp
+imgcurses \fIfilename\fP
+.SH DESCRIPTION
+.sp
+\fBimgcurses\fP is a smart console\-based image viewer, using color ASCII art.
+.sp
+\fBimgcurses\fP supports TGA, PNG, and JPEG images. Images are scaled to fit
+the terminal size.
+.SH CONTROLS
+.INDENT 0.0
+.TP
+.B \fB[\fP
+Zoom out.
+.TP
+.B \fB]\fP
+Zoom in.
+.TP
+.B \fBArrow Keys\fP
+Scroll.
+.TP
+.B \fBm\fP
+Change mode (solid, value, color, detail).
+.TP
+.B \fBq\fP
+Quit.
+.UNINDENT
+.SH COPYRIGHT
+.sp
+See the file /usr/doc/imgcurses\-20151107_de613ca/LICENSE.md for license information.
+.SH AUTHORS
+.sp
+imgcurses was written by Daniel Holden.
+.sp
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+.SH SEE ALSO
+.sp
+The imgcurses homepage: \fI\%https://github.com/orangeduck/imgcurses\fP
+.\" Generated by docutils manpage writer.
+.
diff --git a/graphics/imgcurses/imgcurses.SlackBuild b/graphics/imgcurses/imgcurses.SlackBuild
new file mode 100644
index 0000000000..ac592dc9d0
--- /dev/null
+++ b/graphics/imgcurses/imgcurses.SlackBuild
@@ -0,0 +1,81 @@
+#!/bin/bash
+
+# Slackware build script for imgcurses
+
+# Written by B. Watson (urchlay@slackware.uk)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=imgcurses
+VERSION=${VERSION:-20151107_de613ca}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ 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 {} \+
+
+sed -i -e 's/-Werror//g' \
+ -e "s,-O3,$SLKCFLAGS," \
+ -e 's,-g,,' \
+ Makefile
+
+make
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
+install -s -m0755 $PRGNAM $PKG/usr/bin
+gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+# thought about including gallery/ and tests/ as docs, but they don't
+# tell you much, really.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a *.md $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/imgcurses/imgcurses.info b/graphics/imgcurses/imgcurses.info
new file mode 100644
index 0000000000..72ea3a4ac1
--- /dev/null
+++ b/graphics/imgcurses/imgcurses.info
@@ -0,0 +1,10 @@
+PRGNAM="imgcurses"
+VERSION="20151107_de613ca"
+HOMEPAGE="https://github.com/orangeduck/imgcurses"
+DOWNLOAD="https://slackware.uk/~urchlay/src/imgcurses-20151107_de613ca.tar.xz"
+MD5SUM="b939b64fbc98430afbfa55b36866440e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="B. Watson"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/imgcurses/imgcurses.rst b/graphics/imgcurses/imgcurses.rst
new file mode 100644
index 0000000000..bce8e8bd79
--- /dev/null
+++ b/graphics/imgcurses/imgcurses.rst
@@ -0,0 +1,68 @@
+.. RST source for imgcurses(1) man page. Convert with:
+.. rst2man.py imgcurses.rst > imgcurses.1
+.. rst2man.py comes from the SBo development/docutils package.
+
+.. |version| replace:: 20151107_de613ca
+.. |date| date::
+
+=========
+imgcurses
+=========
+
+----------------------------
+character-based image viewer
+----------------------------
+
+:Manual section: 1
+:Manual group: SlackBuilds.org
+:Date: |date|
+:Version: |version|
+
+SYNOPSIS
+========
+
+imgcurses *filename*
+
+DESCRIPTION
+===========
+
+**imgcurses** is a smart console-based image viewer, using color ASCII art.
+
+**imgcurses** supports TGA, PNG, and JPEG images. Images are scaled to fit
+the terminal size.
+
+CONTROLS
+========
+
+**[**
+ Zoom out.
+
+**]**
+ Zoom in.
+
+**Arrow Keys**
+ Scroll.
+
+**m**
+ Change mode (solid, value, color, detail).
+
+**q**
+ Quit.
+
+COPYRIGHT
+=========
+
+See the file /usr/doc/imgcurses-|version|/LICENSE.md for license information.
+
+AUTHORS
+=======
+
+imgcurses was written by Daniel Holden.
+
+This man page written for the SlackBuilds.org project
+by B. Watson, and is licensed under the WTFPL.
+
+SEE ALSO
+========
+
+The imgcurses homepage: https://github.com/orangeduck/imgcurses
diff --git a/graphics/rawstudio/slack-desc b/graphics/imgcurses/slack-desc
index feb3f28bfd..e2f5589b96 100644
--- a/graphics/rawstudio/slack-desc
+++ b/graphics/imgcurses/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-rawstudio: rawstudio (read and manipulate RAW images)
-rawstudio:
-rawstudio: Rawstudio is an open-source program to read and manipulate
-rawstudio: RAW images from most digital cameras. Rawstudio can convert
-rawstudio: RAW files into JPEG, PNG, or TIF images.
-rawstudio:
-rawstudio: Home Page: http://www.rawstudio.org/
-rawstudio:
-rawstudio:
-rawstudio:
-rawstudio:
+imgcurses: imgcurses (smart character-based image viewer)
+imgcurses:
+imgcurses: imgcurses displays images in a console or terminal using color
+imgcurses: ASCII art.
+imgcurses:
+imgcurses:
+imgcurses:
+imgcurses:
+imgcurses:
+imgcurses:
+imgcurses:
diff --git a/graphics/imgmin/README b/graphics/imgmin/README
index 100c397865..debd7ca88f 100644
--- a/graphics/imgmin/README
+++ b/graphics/imgmin/README
@@ -1,22 +1,24 @@
-imgmin is a CLI app uses a lossless mechanism to generate the optimized images
-by manipulating pixel blocks. imgmin offers an automated means for enforcing
-image quality as a standalone tool and as a webserver module. imgmin
-determines the optimal balance of image quality and filesize, often greatly
-reducing image size while retaining quality for casual use, which translates
-into more efficient use of storage and network bandwidth, which saves money
-and improves user experience.
+imgmin is a CLI app uses a lossless mechanism to generate the
+optimized images by manipulating pixel blocks. imgmin offers an
+automated means for enforcing image quality as a standalone tool
+and as a webserver module. imgmin determines the optimal balance of
+image quality and filesize, often greatly reducing image size while
+retaining quality for casual use, which translates into more efficient
+use of storage and network bandwidth, which saves money and improves
+user experience.
-The JPEG quality settings most used by graphics professionals tend to be
-highly conservative because Compression and image quality are inversely
-proportional and graphics people are interested in utmost visual quality and
-not in spending time worrying about network efficiency.
+The JPEG quality settings most used by graphics professionals tend
+to be highly conservative because Compression and image quality are
+inversely proportional and graphics people are interested in utmost
+visual quality and not in spending time worrying about network
+efficiency.
-The result of overly conservative JPEG compression and webservers' inability
-to compress them any further means that many images on the web are too large.
-JPEG's overwhelming popularity as the most common image format means that many
-pages contain dozens of JPEG images.
+The result of overly conservative JPEG compression and webservers'
+inability to compress them any further means that many images on the
+web are too large. JPEG's overwhelming popularity as the most common
+image format means that many pages contain dozens of JPEG images.
-These bloated images take longer to transfer, leading to extended load time,
-which does not produce a good viewer experience.
+These bloated images take longer to transfer, leading to extended load
+time, which does not produce a good viewer experience.
This software is licensed under the MIT license.
diff --git a/graphics/imgmin/imgmin.SlackBuild b/graphics/imgmin/imgmin.SlackBuild
index 52c5a2159b..78cb8732b7 100644
--- a/graphics/imgmin/imgmin.SlackBuild
+++ b/graphics/imgmin/imgmin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imgmin
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imgmin
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +74,26 @@ cd $PRGNAM-$VERSION
chown -R root: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 {} \+
+
+# 20220226 bkw: ImageMagick API changed between releases 6 and 7.
+sed -i -e 's,<wand/,<MagickWand/,' \
+ -e 's,Matte,Alpha,g' \
+ src/imgmin.[ch]
+
+# 20220226 bkw: the Apache module wouldnt't build, and there's no
+# --disable option. Disable it, thus:
+sed -i 's,\<apxs,XXX-apxs,g' configure.ac
+
+# ...but actually we could make it build. Problem is, apxs chokes if
+# -fopenmp shows up in its arguments. Upstream git adds a sed
+# command to remove it, but it doesn't quite work (because we have
+# -fopenmp twice, and they don't use a global replacement). Fix:
+### sed -i 's,|,|sed "s/-fopenmp *//g"|,' src/apache2/Makefile.am
+# ...but 'make install' doesn't actually install the Apache module,
+# so I went with disabling it. Leave this here for reference.
autoreconf -vif
@@ -79,10 +105,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE-MIT.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
@@ -92,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/imgp/imgp.SlackBuild b/graphics/imgp/imgp.SlackBuild
index ade385c87b..5730711d49 100644
--- a/graphics/imgp/imgp.SlackBuild
+++ b/graphics/imgp/imgp.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imgp
-# Copyright 2018-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2018-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imgp
-VERSION=${VERSION:-2.6}
+VERSION=${VERSION:-2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,9 +88,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Install bash completion file
-mkdir -p $PKG/etc/bash_completion.d
-install -D -m0744 auto-completion/bash/${PRGNAM}-completion.bash \
- $PKG/etc/bash_completion.d/${PRGNAM}-completion.bash
+mkdir -p $PKG/usr/share/bash-completion/completions
+install -D -m0644 auto-completion/bash/${PRGNAM}-completion.bash \
+ $PKG/usr/share/bash-completion/completions/$PRGNAM
# Install zsh completion file
mkdir -p $PKG/usr/share/site-functions
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/imgp/imgp.info b/graphics/imgp/imgp.info
index a2bd3b87c4..f44a8a0cf7 100644
--- a/graphics/imgp/imgp.info
+++ b/graphics/imgp/imgp.info
@@ -1,10 +1,10 @@
PRGNAM="imgp"
-VERSION="2.6"
+VERSION="2.8"
HOMEPAGE="https://github.com/jarun/imgp"
-DOWNLOAD="https://github.com/jarun/imgp/archive/v2.6/imgp-2.6.tar.gz"
-MD5SUM="c2e37beebf3624608abed39c59a3a18f"
+DOWNLOAD="https://github.com/jarun/imgp/archive/v2.8/imgp-2.8.tar.gz"
+MD5SUM="ff0aa85f4a132346ebe7737ff948cfbc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-pillow"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
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/graphite2/graphite2.SlackBuild b/graphics/implot/implot.SlackBuild
index c047c832bf..85838c4d93 100644
--- a/graphics/graphite2/graphite2.SlackBuild
+++ b/graphics/implot/implot.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for graphite2
+# Slackware build script for implot
-# Copyright 2015-2018, 2020 Hunter Sezen California, USA
+# Copyright 2022-2023 Steven Voges <Oregon, USA>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=graphite2
-VERSION=${VERSION:-1.3.14}
+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
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,14 +61,15 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+cp $CWD/CMakeLists.txt .
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,26 +80,29 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_SKIP_RPATH=TRUE \
- -DCMAKE_BUILD_TYPE=Release \
- -Wno-dev ..
+ -DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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 COPYING ChangeLog LICENSE README.md Todo.txt $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:-tgz}
+/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/mlbrot/slack-desc b/graphics/implot/slack-desc
index 70cfb13063..02d23a0885 100644
--- a/graphics/mlbrot/slack-desc
+++ b/graphics/implot/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-mlbrot: mlbrot (Mandelbrot set plotter and exploration tool)
-mlbrot:
-mlbrot: MLBrot is a graphical tool to display, explore, colour, zoom, animate
-mlbrot: and otherwise play with the well-known Mandelbrot fractal set.
-mlbrot:
-mlbrot: Homepage: http://pauillac.inria.fr/~ddr/mlbrot/
-mlbrot:
-mlbrot:
-mlbrot:
-mlbrot:
-mlbrot:
+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 30357235ef..3d369fad5f 100644
--- a/graphics/imv/README
+++ b/graphics/imv/README
@@ -3,32 +3,25 @@ imv (image viewer for X and/or Wayland)
imv is a command line image viewer intended for use with tiling window
managers. Features:
-* Native Wayland [2] and X11 [1] support
+* Native Wayland and X11 support
* Support for dozens of image formats including:
- * PNG [1]
- * JPEG [1]
- * Animated GIFs [3]
- * SVG [4]
- * TIFF [1]
- * Various RAW formats [5]
- * Photoshop PSD files [5]
+ * PNG
+ * JPEG
+ * Animated GIFs (requires FreeImage or libnsgif)
+ * SVG
+ * TIFF
+ * Various RAW formats (requires FreeImage)
+ * Photoshop PSD files (requires FreeImage)
+ * WEBP
+ * HEIF/AVIF (requires libheif)
* Configurable key bindings and behaviour
* Highly scriptable with IPC via imv-msg
Optional dependencies (autodetected):
-- wayland
- FreeImage (support for GIF, RAW, PSD formats)
- libnsgif (support for GIF)
+- libheif (support for HEIF/AVIF)
If you don't have at least one of FreeImage or libnsgif, imv won't
support GIF images at all.
-
-Notes:
-
-[1] - uses a library from core Slackware, so always enabled.
-[2] - requires wayland.
-[3] - requires either FreeImage or libnsgif.
-[4] - imv supports SVG images, but the librsvg in Slackware 14.2 is too
- old for imv to use, so SVG support is disabled. Sorry.
-[5] - requires FreeImage.
diff --git a/graphics/imv/imv.SlackBuild b/graphics/imv/imv.SlackBuild
index a453bf317f..26045f8aa4 100644
--- a/graphics/imv/imv.SlackBuild
+++ b/graphics/imv/imv.SlackBuild
@@ -1,15 +1,32 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+# 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.
+# - meson autodetects all the optional libs properly, get rid of the
+# messy shell script code that used to do it.
+# - add new optional dep libheif.
+# - get rid of squelch_libtiff_warnings.diff (upstream fixed it).
+# - rework README.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imv
-VERSION=${VERSION:-4.1.0}
+VERSION=${VERSION:-4.4.0}
+COMMIT=${COMMIT:-885e17397ac503de84723d4f0b1c97b1258548ab}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +36,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -43,74 +64,43 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$COMMIT
+tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz || tar xvf $CWD/$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-# libtiff complains "not a TIFF image" for every non-TIFF image imv
-# loads. patch disables libtiff warnings, and also moves libtiff to
-# the end of the backend list, so it'll get tried last (after all the
-# other backends have decided they can't handle the file).
-patch -p1 < $CWD/squelch_libtiff_warnings.diff
-
-# missing an include...
-sed -i '1i#include <string.h>' src/backend_freeimage.c
-
-# look in the right place for the config file.
-sed -i 's,/usr/local/etc/,/etc/imv/,' src/imv.c
-
-# No autodetection for optional deps. Help it out a little.
-# libpng, libtiff, libjpeg-turbo are always included.
-# librsvg never included, 14.2's is too old, and the minimum supported
-# version requires rust, meaning I don't love it enough to include a
-# static build here. I'm not just assuming it's too old because the
-# docs say so, I actually tried it. Sigh.
-W=x11; F=no; G=no; WS=no
-pkg-config --exists wayland-client && W=all && WS=yes
-[ -e /usr/include/FreeImage.h ] && F=yes
-pkg-config --exists libnsgif && G=yes
-
-cat >config.mk <<EOF
-# Core Slackware stuff:
-BACKEND_LIBTIFF=yes
-BACKEND_LIBPNG=yes
-BACKEND_LIBJPEG=yes
-
-# Core Slackware 14.2, but too old to use, sorry.
-BACKEND_LIBRSVG=no
-
-# Optional SBo packages (FreeImage, libnsgif):
-BACKEND_FREEIMAGE=$F
-BACKEND_LIBNSGIF=$G
-
-# Optional: window system (x11, wayland, or 'all' for both)
-WINDOWS=$W
-EOF
-
-make \
- CFLAGS="$SLKCFLAGS" \
- PREFIX=/usr \
- CONFIGPREFIX=/etc/$PRGNAM
+# meson takes an option to say where to install the config file, but
+# it doesn't actually change where the binary looks for it.
+sed -i -e 's,/etc/imv_config,/etc/imv/imv_config,' \
+ -e '/\/usr\/local\/etc/d' \
+ src/imv.c doc/imv.1.txt
-make install \
- DESTDIR=$PKG \
- PREFIX=/usr \
- CONFIGPREFIX=/etc/$PRGNAM \
- MANPREFIX=/usr/man \
- INSTALL_PROGRAM="install -s -m0755"
+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/$PRGNAM \
+ -Dstrip=true
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
+cd ..
gzip -9 $PKG/usr/man/man?/*.?
+mv $PKG/etc/$PRGNAM/${PRGNAM}_config $PKG/etc/$PRGNAM/${PRGNAM}_config.new
-( cd $PKG/etc/$PRGNAM; mv ${PRGNAM}_config ${PRGNAM}_config.new )
-
-# make install doesn't install the .desktop file. Also there's no icon
-# so we have to include one, below.
+# Slackware doesn't have an icon called multimedia-photo-viewer...
mkdir -p $PKG/usr/share/applications
-sed "s,multimedia-photo-viewer,$PRGNAM," files/$PRGNAM.desktop > \
- $PKG/usr/share/applications/$PRGNAM.desktop
+sed -i "s,multimedia-photo-viewer,$PRGNAM," \
+ $PKG/usr/share/applications/*.desktop
# Icon came from Debian moka-icon-theme package. I have no idea
# what the default icon theme is in Debian (equivalent of hicolor in
@@ -128,12 +118,19 @@ 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
+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
+
sed -e "s,@F@,$F," \
-e "s,@G@,$G," \
- -e "s,@W@,$WS," \
+ -e "s,@H@,$H," \
$CWD/slack-desc > $PKG/install/slack-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/imv/imv.info b/graphics/imv/imv.info
index 88d3b72278..5123795e0c 100644
--- a/graphics/imv/imv.info
+++ b/graphics/imv/imv.info
@@ -1,10 +1,10 @@
PRGNAM="imv"
-VERSION="4.1.0"
-HOMEPAGE="https://github.com/eXeC64/imv"
-DOWNLOAD="https://github.com/eXeC64/imv/archive/v4.1.0/imv-4.1.0.tar.gz"
-MD5SUM="325bac66149dfa3f6e7688b1f4ab5f67"
+VERSION="4.4.0"
+HOMEPAGE="https://sr.ht/~exec64/imv/"
+DOWNLOAD="https://git.sr.ht/~exec64/imv/archive/885e17397ac503de84723d4f0b1c97b1258548ab.tar.gz"
+MD5SUM="0ff4c876c2dc7b0f4035efa406230d1f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libxkbcommon"
+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 286c5202c9..a9ae922b5f 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@ wayland: @W@
+imv: FreeImage: @F@ libnsgif: @G@ libheif: @H@
imv:
imv:
imv:
diff --git a/graphics/imv/squelch_libtiff_warnings.diff b/graphics/imv/squelch_libtiff_warnings.diff
deleted file mode 100644
index 9c66ba26f2..0000000000
--- a/graphics/imv/squelch_libtiff_warnings.diff
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -Naur imv-4.1.0/src/backend_libtiff.c imv-4.1.0.patched/src/backend_libtiff.c
---- imv-4.1.0/src/backend_libtiff.c 2019-12-21 17:54:26.000000000 -0500
-+++ imv-4.1.0.patched/src/backend_libtiff.c 2020-11-21 16:40:37.971589947 -0500
-@@ -110,6 +110,7 @@
- {
- struct private private;
-
-+ TIFFSetErrorHandler(NULL);
- private.tiff = TIFFOpen(path, "r");
- if (!private.tiff) {
- /* Header is read, so no BAD_PATH check here */
-@@ -129,6 +130,7 @@
- static enum backend_result open_memory(void *data, size_t len, struct imv_source **src)
- {
- struct private *private = malloc(sizeof *private);
-+ TIFFSetErrorHandler(NULL);
- private->data = data;
- private->len = len;
- private->pos = 0;
-diff -Naur imv-4.1.0/src/main.c imv-4.1.0.patched/src/main.c
---- imv-4.1.0/src/main.c 2019-12-21 17:54:26.000000000 -0500
-+++ imv-4.1.0.patched/src/main.c 2020-11-21 16:40:46.483589173 -0500
-@@ -17,10 +17,6 @@
- return 1;
- }
-
--#ifdef IMV_BACKEND_LIBTIFF
-- imv_install_backend(imv, &imv_backend_libtiff);
--#endif
--
- #ifdef IMV_BACKEND_LIBPNG
- imv_install_backend(imv, &imv_backend_libpng);
- #endif
-@@ -41,6 +37,10 @@
- imv_install_backend(imv, &imv_backend_freeimage);
- #endif
-
-+#ifdef IMV_BACKEND_LIBTIFF
-+ imv_install_backend(imv, &imv_backend_libtiff);
-+#endif
-+
- if (!imv_load_config(imv)) {
- imv_free(imv);
- return 1;
diff --git a/graphics/inkscape-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/k3d/k3d.SlackBuild b/graphics/inkscape-gtk2/inkscape-gtk2.SlackBuild
index 7b6cea7db5..37ed79422b 100644
--- a/graphics/k3d/k3d.SlackBuild
+++ b/graphics/inkscape-gtk2/inkscape-gtk2.SlackBuild
@@ -1,10 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for k3d
-# 3D modeling and animation software
+# Slackware build script for inkscape-gtk2
-# Copyright 2010 Larry Hajali <larryhaja[at]gmail[dot]com>
-# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
+# 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
@@ -23,29 +22,35 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Maintained by David Spencer <baildon.research@googlemail.com>
-PRGNAM=k3d
-VERSION=${VERSION:-0.8.0.6}
+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=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,9 +68,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION
+rm -rf $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 \
@@ -73,46 +78,54 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix man install directory.
-sed -i "s|share/man|man|" share/man/CMakeLists.txt
+patch -p1 -i $CWD/gcc9.patch
+patch -p1 -i $CWD/im7.patch
+patch -p1 -i $CWD/poppler-21.11.0.patch
-# Fix location of libraries for 64-bits
-sed -i "s|SET(K3D_LIBDIR lib)|SET(K3D_LIBDIR lib${LIBDIRSUFFIX})|" CMakeLists.txt
+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 k3d-build
-cd k3d-build
- cmake -G "Unix Makefiles" \
+mkdir -p build
+cd build
+ cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DK3D_BUILD_SVG_IO_MODULE=ON \
- -DK3D_BUILD_CGAL_MODULE=OFF \
+ -DINKSCAPE_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
-
- make VERBOSE=1
+
+ 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 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Copy icon & desktop file to package
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-cat $CWD/k3d.desktop > $PKG/usr/share/applications/k3d.desktop
-cat web/k3d.png > $PKG/usr/share/pixmaps/k3d.png
+# 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 COPYING INSTALL README \
+ 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:-tgz}
+/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/README b/graphics/inkscape/README
index 1d9e9dd712..61391c1df2 100644
--- a/graphics/inkscape/README
+++ b/graphics/inkscape/README
@@ -7,5 +7,3 @@ Creative Commons meta-data, node editing, layers, complex path
operations, bitmap tracing, text-on-path, flowed text, direct XML
editing, and more. It imports formats such as JPEG, PNG, TIFF, and
others and exports PNG as well as multiple vector-based formats.
-
-Optional dependency: potrace (for bitmap tracing functionality).
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 4471bf3c1b..416df46df2 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for inkscape
@@ -22,10 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=inkscape
-VERSION=${VERSION:-0.92.4}
+VERSION=${VERSION:-1.3.2}
+EXTRAVER=${EXTRAVER:-2023-11-25_091e20ef0f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+rm -rf ${PRGNAM}-${VERSION}_${EXTRAVER}
+tar xvf $CWD/${PRGNAM}-${VERSION}.tar.?z*
+cd ${PRGNAM}-${VERSION}_${EXTRAVER}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,31 +80,58 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./autogen.sh
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS -std=c++11" \
-./configure \
- --enable-strict-build=no \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+# strip invalid tag
+sed -i /url/d org.inkscape.Inkscape.appdata.xml.in
+
+# https://bugs.launchpad.net/inkscape/+bug/314381
+# a couple of files have executable bits set,
+# despite not being executable
+find . -name '*.cpp' | xargs chmod -x
+find . -name '*.h' | xargs chmod -x
+# Fix end of line encodings
+dos2unix -k -q share/extensions/*.py
+
+# Fix man page location:
+sed -i CMakeScripts/Pod2man.cmake -e "s/SHARE_INSTALL/CMAKE_INSTALL_PREFIX/g"
+
+patch -p1 < $CWD/libxml2-2.12.patch
+
+mkdir -p build
+cd build
+ # imagemagick >= 7.x is unsupported yet, so use GraphicsMagick
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DBUILD_SHARED_LIBS=ON \
+ -DWITH_GRAPHICS_MAGICK=ON \
+ -DWITH_IMAGE_MAGICK=OFF \
+ ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+
+# inkscape no longer uses: (deprecated cmake variable.)
+# -DINKSCAPE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+
+# From this version on inkscape install its separate library in
+# /usr/lib$LIBDIRSUFFIX/$PRGNAM that's not on the binary LD_LIBRARY_PATH
+# at runtime: just create an handy symlink without moving it in case
+# something else look for it there
+( cd $PKG/usr/lib$LIBDIRSUFFIX ; ln -s $PRGNAM/* . )
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING* INSTALL NEWS README TRANSLATORS 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 {} \;
@@ -104,4 +142,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/inkscape/inkscape.info b/graphics/inkscape/inkscape.info
index 39fe0759fd..b3887b766d 100644
--- a/graphics/inkscape/inkscape.info
+++ b/graphics/inkscape/inkscape.info
@@ -1,10 +1,10 @@
PRGNAM="inkscape"
-VERSION="0.92.4"
+VERSION="1.3.2"
HOMEPAGE="http://www.inkscape.org/"
-DOWNLOAD="https://inkscape.org/gallery/item/13330/inkscape-0.92.4.tar.bz2"
-MD5SUM="ac30f6d5747fd9c620c00dad500f414f"
+DOWNLOAD="https://inkscape.org/gallery/item/44615/inkscape-1.3.2.tar.xz"
+MD5SUM="76ed1f4b13065e80de8b2d77b6427b83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml numpy"
+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/ipe.SlackBuild b/graphics/ipe/ipe.SlackBuild
index 679ca9e1c5..437425306c 100644
--- a/graphics/ipe/ipe.SlackBuild
+++ b/graphics/ipe/ipe.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ipe
@@ -22,10 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix build on 15.0 (missing C++ includes).
+# - fix libdir (/usr/lib => /usr/lib64 on x86_64).
+# - fix incorrect ipelets path built into the binary (ugh).
+# - eliminate some useless docs (install.txt and macos.txt)
+# - symlink html docs to doc dir.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipe
VERSION=${VERSION:-7.2.13}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,28 +79,44 @@ cd $PRGNAM-$VERSION
chown -R root: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 {} \+
-QT_SELECT=5 make -C src IPEPREFIX="$PKG/usr/" IPEMANDIR="$PKG/usr/man/man1" MOC=moc-qt5
-QT_SELECT=5 make -C src install IPEPREFIX="$PKG/usr/" IPEMANDIR="$PKG/usr/man/man1" MOC=moc-qt5
+# 20220226 bkw: C++ madness.
+sed -i '1i#include <cstdint>' src/include/ipeattributes.h
+sed -i '1i#include <cerrno>' src/ipelib/ipeplatform.cpp
+sed -i '1i#include <QPainterPath>' src/ipecanvas/ipecanvas_qt.cpp
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20220226 bkw: some of these paths get baked into the binaries, so
+# we don't want $PKG in them during the build.
+runmake() {
+QT_SELECT=5 \
+make -C src \
+ IPEPREFIX="$1/usr/" \
+ IPEMANDIR="$1/usr/man/man1" \
+ IPELETDIR="$1/usr/lib$LIBDIRSUFFIX/ipe/$VERSION/ipelets" \
+ IPELIBDIR="$1/usr/lib$LIBDIRSUFFIX" \
+ MOC=moc-qt5 \
+ $2
+}
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+runmake
+runmake $PKG install
+strip $PKG/usr/bin/* $PKG/usr/lib*/*.so.*.*.*
+gzip -9 $PKG/usr/man/man*/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- gpl.txt install.txt macos.txt news.txt readme.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20220226 bkw: the real documentation is the html, leave it where 'make
+# install' put it, but symlink to where it belongs in a Slackware package.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+ln -s ../../share/$PRGNAM/$VERSION/doc $PKGDOC/html
+cp -a gpl.txt news.txt readme.txt $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ipe/ipe.info b/graphics/ipe/ipe.info
index 624849a9b4..f3237bd4ca 100644
--- a/graphics/ipe/ipe.info
+++ b/graphics/ipe/ipe.info
@@ -1,10 +1,10 @@
PRGNAM="ipe"
VERSION="7.2.13"
HOMEPAGE="http://ipe.otfried.org/"
-DOWNLOAD="https://dl.bintray.com/otfried/generic/ipe/7.2/ipe-7.2.13-src.tar.gz"
+DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/ipe/ipe-7.2.13-src.tar.gz/sha512/e6e212ff3a9bf1d00c86cb3de5cd880903c35852b26f7122018350a5b945efab14cb7e9162d3b9e003d0cab14de1e1a3abee3df99f267f2ed229d8defc5897f5/ipe-7.2.13-src.tar.gz"
MD5SUM="2653159b975ac83890f70095200f0658"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua53 qt5"
+REQUIRES="lua53"
MAINTAINER="Charles Daniels"
EMAIL="charles@cdaniels.net"
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/jUploadr/jUploadr.SlackBuild b/graphics/jUploadr/jUploadr.SlackBuild
index 0d0f24ff30..286403399e 100644
--- a/graphics/jUploadr/jUploadr.SlackBuild
+++ b/graphics/jUploadr/jUploadr.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jUploadr
# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jUploadr
VERSION=${VERSION:-1.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/jUploadr/jUploadr.info b/graphics/jUploadr/jUploadr.info
index 10817417c5..ff11440653 100644
--- a/graphics/jUploadr/jUploadr.info
+++ b/graphics/jUploadr/jUploadr.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/juploadr/jUploadr-1.1.2-linuxGTK-i386
MD5SUM="6be4f8ab6937441e58648f14503d6607"
DOWNLOAD_x86_64="https://downloads.sourceforge.net/project/juploadr/juploadr/1.1.2/jUploadr-1.1.2-linuxGTK-amd64.tar.gz"
MD5SUM_x86_64="5a8a2d73e48f13ed88917e50b719048d"
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
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 8fd2ca880f..c2a0525234 100644
--- a/graphics/jhead/jhead.SlackBuild
+++ b/graphics/jhead/jhead.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,36 +23,39 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=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
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+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
@@ -65,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"
@@ -90,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/README b/graphics/jp2a/README
index 33f5bd0ca7..503387513a 100644
--- a/graphics/jp2a/README
+++ b/graphics/jp2a/README
@@ -1,2 +1,2 @@
-jp2a is a small utility that converts JPG images to ASCII. It's written in C
-and released under the GPL.
+jp2a is a small utility that converts JPG images to ASCII. It's
+written in C and released under the GPL.
diff --git a/graphics/jp2a/jp2a.SlackBuild b/graphics/jp2a/jp2a.SlackBuild
index dbe19950c7..33cca5c3a8 100644
--- a/graphics/jp2a/jp2a.SlackBuild
+++ b/graphics/jp2a/jp2a.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jp2a
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jp2a
VERSION=${VERSION:-1.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/jpeg2ps/README b/graphics/jpeg2ps/README
index 7ff1112773..aa5d9f8fe6 100644
--- a/graphics/jpeg2ps/README
+++ b/graphics/jpeg2ps/README
@@ -1,13 +1,15 @@
Purpose of jpeg2ps
==================
-jpeg2ps converts JPEG files to PostScript Level 2 or 3 EPS. In fact, jpeg2ps
-is not really a converter but a "wrapper": it reads the image parameters
-(width, height, number of color components) in a JPEG file, writes the
-corresponding EPS header and then copies the compressed JPEG data to the output
-file. Decompression is done by the PostScript interpreter (only PostScript
-Level 2 and 3 interpreters support JPEG compression and decompression).
-If you have a slow communication channel and a fast printer, sending
-compressed image data is a big win.
+
+jpeg2ps converts JPEG files to PostScript Level 2 or 3 EPS. In fact,
+jpeg2ps is not really a converter but a "wrapper": it reads the image
+parameters (width, height, number of color components) in a JPEG file,
+writes the corresponding EPS header and then copies the compressed
+JPEG data to the output file. Decompression is done by the PostScript
+interpreter (only PostScript Level 2 and 3 interpreters support JPEG
+compression and decompression). If you have a slow communication
+channel and a fast printer, sending compressed image data is a big
+win.
Note: if you are interested in conversion of JPEG or other formats to
PDF take a look at PDFlib (http://www.pdflib.com).
diff --git a/graphics/jpeg2ps/jpeg2ps.SlackBuild b/graphics/jpeg2ps/jpeg2ps.SlackBuild
index 79901d9188..3dcc401f2f 100644
--- a/graphics/jpeg2ps/jpeg2ps.SlackBuild
+++ b/graphics/jpeg2ps/jpeg2ps.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jpeg2ps
@@ -12,26 +12,36 @@
# particular purpose. This software is provided as is, and you assume all risks
# when using it.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jpeg2ps
VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -86,4 +96,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
chown -R root:root .
-/sbin/makepkg -l y -c n $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/jpegoptim/README b/graphics/jpegoptim/README
index 7d81291d04..2ef1e6ceac 100644
--- a/graphics/jpegoptim/README
+++ b/graphics/jpegoptim/README
@@ -1 +1,7 @@
-jpegoptim - utility to optimize/compress JPEG files
+jpegoptim (utility to optimize/compress JPEG files)
+
+jpegoptim is used to optimize/compress jpeg files. It supports
+lossless optimization (based on optimizing the Huffman tables) and
+so called "lossy" optimization where in addition to optimizing the
+Huffman tables, the user can specify an upper limit for image quality,
+or a target file size.
diff --git a/graphics/jpegoptim/jpegoptim.SlackBuild b/graphics/jpegoptim/jpegoptim.SlackBuild
index f3ae8ab7a4..f347c3af31 100644
--- a/graphics/jpegoptim/jpegoptim.SlackBuild
+++ b/graphics/jpegoptim/jpegoptim.SlackBuild
@@ -1,29 +1,20 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jpegoptim
-# Originally written by:
-# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# Originally written Ryan P.C. McQuen.
+# Now maintained by B. Watson <urchlay@slackware.uk>.
-# Now maintained by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
+# 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.
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
-
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <https://www.gnu.org/licenses/>.
+# 20210909 bkw: BUILD=2
+# - relicense as WTFPL, with permission from original author.
+# - expand README and slack-desc.
# 20180612 bkw: update for v1.4.6.
@@ -32,10 +23,13 @@
# - use long-form github URL
# - update configure to match template (actually use SLKCFLAGS).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jpegoptim
-VERSION=${VERSION:-1.4.6}
+VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,15 +67,12 @@ 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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -96,11 +91,11 @@ 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
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/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/jpegoptim/slack-desc b/graphics/jpegoptim/slack-desc
index 17bc00e27f..6a2f7a4951 100644
--- a/graphics/jpegoptim/slack-desc
+++ b/graphics/jpegoptim/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-jpegoptim: jpegoptim (optimize/compress JPEGs)
+jpegoptim: jpegoptim (utility to optimize/compress JPEG files)
jpegoptim:
-jpegoptim: jpegoptim is a JPEG optimizer/compressor
+jpegoptim: jpegoptim is used to optimize/compress jpeg files. It supports
+jpegoptim: lossless optimization (based on optimizing the Huffman tables) and
+jpegoptim: so called "lossy" optimization where in addition to optimizing the
+jpegoptim: Huffman tables, the user can specify an upper limit for image quality,
+jpegoptim: or a target file size.
jpegoptim:
jpegoptim:
jpegoptim:
jpegoptim:
-jpegoptim: https://github.com/tjko/jpegoptim
-jpegoptim:
-jpegoptim:
-jpegoptim:
diff --git a/graphics/k3d/README b/graphics/k3d/README
deleted file mode 100644
index b156272092..0000000000
--- a/graphics/k3d/README
+++ /dev/null
@@ -1,13 +0,0 @@
-K-3D is free-as-in-freedom 3D modeling and animation software. It
-features a plugin-oriented procedural engine for all of its content,
-making K-3D a very versatile and powerful package.
-
-K-3D excels at polygonal modeling, and includes basic tools for NURBS,
-patches, curves and animation.
-
-Optional dependencies:
-
-graphviz
-gtksourceview
-libgnome
-OpenCASCADE
diff --git a/graphics/k3d/k3d.desktop b/graphics/k3d/k3d.desktop
deleted file mode 100644
index 42bd1225e0..0000000000
--- a/graphics/k3d/k3d.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=K-3D
-Comment=3D modeling and animation software
-Categories=Graphics;
-Exec=k3d
-Icon=k3d
-Terminal=false
-StartupNotify=false
-
diff --git a/graphics/k3d/k3d.info b/graphics/k3d/k3d.info
deleted file mode 100644
index 598878a4fa..0000000000
--- a/graphics/k3d/k3d.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="k3d"
-VERSION="0.8.0.6"
-HOMEPAGE="http://www.k-3d.org/"
-DOWNLOAD="https://github.com/K-3D/k3d/archive/k3d-0.8.0.6/k3d-k3d-0.8.0.6.tar.gz"
-MD5SUM="129e051a1e724c14139808c25cd170f0"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="gtkglext ftgl"
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/kColorPicker/README b/graphics/kColorPicker/README
new file mode 100644
index 0000000000..a0dc172eb6
--- /dev/null
+++ b/graphics/kColorPicker/README
@@ -0,0 +1,5 @@
+kColorPicker (Qt based Color Picker with popup menu)
+
+QToolButton with color popup menu which lets you select a color.
+The popup features a color dialog button which can be used to
+add custom colors to the popup menu.
diff --git a/graphics/qrencode/qrencode.SlackBuild b/graphics/kColorPicker/kColorPicker.SlackBuild
index 52fd2710fd..8736763cdc 100644
--- a/graphics/qrencode/qrencode.SlackBuild
+++ b/graphics/kColorPicker/kColorPicker.SlackBuild
@@ -1,9 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
-# SlackBuild Script for qrencode
-
-# Copyright 2012 Matthew "mfillpot" Fillpot
-# Copyright 2018, 2020 Lenard Spencer, Orlando, Florida, USA
+# Slackware build script for kColorPicker
+#
+# Copyright 2022 Alexander Schultz <alexander_schultz@posteo.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=qrencode
-VERSION=${VERSION:-4.1.1}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kColorPicker
+VERSION=${VERSION:-0.1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,10 +42,10 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -55,46 +61,40 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-find $PKG/usr/man -type 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 build
+cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKCOV_INSTALL_MANDIR=/usr/man \
+ -DKCOV_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DBUILD_SHARED_LIBS=ON ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/kColorPicker/kColorPicker.info b/graphics/kColorPicker/kColorPicker.info
new file mode 100644
index 0000000000..2e6859a082
--- /dev/null
+++ b/graphics/kColorPicker/kColorPicker.info
@@ -0,0 +1,10 @@
+PRGNAM="kColorPicker"
+VERSION="0.1.6"
+HOMEPAGE="https://github.com/ksnip/kColorPicker"
+DOWNLOAD="https://github.com/ksnip/kColorPicker/archive/refs/tags/v0.1.6/kColorPicker-0.1.6.tar.gz"
+MD5SUM="2a4e536cf7d947689d9a5e3cdef58837"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Alexander Schultz"
+EMAIL="alexander_schultz@posteo.se"
diff --git a/graphics/teighaviewer/slack-desc b/graphics/kColorPicker/slack-desc
index 7c76190c05..c375029bab 100644
--- a/graphics/teighaviewer/slack-desc
+++ b/graphics/kColorPicker/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-teighaviewer: teighaviewer (AutoCAD DWG and DGN file viewer)
-teighaviewer:
-teighaviewer: TeighaViewer is a free rendering application, which can render
-teighaviewer: .dwg and .dgn files. These are CAD files, usually used with AutoCAD.
-teighaviewer:
-teighaviewer: Homepage: https://www.opendesign.com/guestfiles/teigha_viewer
-teighaviewer:
-teighaviewer:
-teighaviewer:
-teighaviewer:
-teighaviewer:
+kColorPicker: kColorPicker (Qt based Color Picker with popup menu)
+kColorPicker:
+kColorPicker: QToolButton with color popup menu which lets you select a color.
+kColorPicker: The popup features a color dialog button which can be used
+kColorPicker: to add custom colors to the popup menu.
+kColorPicker:
+kColorPicker: Homepage: https://github.com/ksnip/kColorPicker
+kColorPicker:
+kColorPicker:
+kColorPicker:
+kColorPicker:
diff --git a/graphics/kImageAnnotator/README b/graphics/kImageAnnotator/README
new file mode 100644
index 0000000000..535210789e
--- /dev/null
+++ b/graphics/kImageAnnotator/README
@@ -0,0 +1,3 @@
+kImageAnnotator (Tool for annotating images)
+
+Tool for annotating images.
diff --git a/graphics/gnome-web-photo/gnome-web-photo.SlackBuild b/graphics/kImageAnnotator/kImageAnnotator.SlackBuild
index b1cfadbeda..a6ec4e9a45 100644
--- a/graphics/gnome-web-photo/gnome-web-photo.SlackBuild
+++ b/graphics/kImageAnnotator/kImageAnnotator.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
-
-# Slackware build script for GNOME Web Photo
-
-# Copyright 2012 Robert Zelic, Novi Sad, Serbia
+#!/bin/bash
+#
+# Slackware build script for kImageAnnotator
+#
+# Copyright 2022 Alexander Schultz <alexander_schultz@posteo.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=gnome-web-photo
-VERSION=${VERSION:-0.10.6}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=kImageAnnotator
+VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -54,48 +61,40 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --with-gtk=2.0
-
-make
-make install DESTDIR=$PKG
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKCOV_INSTALL_MANDIR=/usr/man \
+ -DKCOV_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DBUILD_SHARED_LIBS=ON ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING* HACKING INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-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/kImageAnnotator/kImageAnnotator.info b/graphics/kImageAnnotator/kImageAnnotator.info
new file mode 100644
index 0000000000..caba0227ff
--- /dev/null
+++ b/graphics/kImageAnnotator/kImageAnnotator.info
@@ -0,0 +1,10 @@
+PRGNAM="kImageAnnotator"
+VERSION="0.5.3"
+HOMEPAGE="https://github.com/ksnip/kImageAnnotator"
+DOWNLOAD="https://github.com/ksnip/kImageAnnotator/archive/refs/tags/v0.5.3/kImageAnnotator-0.5.3.tar.gz"
+MD5SUM="992390460ab4e10b967bed11f8558250"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="kColorPicker"
+MAINTAINER="Alexander Schultz"
+EMAIL="alexander_schultz@posteo.se"
diff --git a/graphics/gnome-web-photo/slack-desc b/graphics/kImageAnnotator/slack-desc
index 3c50c47e54..30f29d40bb 100644
--- a/graphics/gnome-web-photo/slack-desc
+++ b/graphics/kImageAnnotator/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-gnome-web-photo: gnome-web-photo (GNOME Web Photo)
-gnome-web-photo:
-gnome-web-photo: GNOME Web Photographer is a tool to generate full-size image files
-gnome-web-photo: and thumbnails from HTML files and web pages. It can also be used
-gnome-web-photo: to print those.
-gnome-web-photo:
-gnome-web-photo: Homepage: https://launchpad.net/gnome-web-photo
-gnome-web-photo:
-gnome-web-photo:
-gnome-web-photo:
-gnome-web-photo:
+kImageAnnotator: kImageAnnotator (Tool for annotating images)
+kImageAnnotator:
+kImageAnnotator: Tool for annotating images
+kImageAnnotator:
+kImageAnnotator: Homepage: https://github.com/ksnip/kImageAnnotator
+kImageAnnotator:
+kImageAnnotator:
+kImageAnnotator:
+kImageAnnotator:
+kImageAnnotator:
+kImageAnnotator:
diff --git a/graphics/kamerka/README b/graphics/kamerka/README
deleted file mode 100644
index 40ded95270..0000000000
--- a/graphics/kamerka/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Kamerka - take photos using your webcam and shiny animated QML
-interface.
-
-Kamerka is an Qt4 app using KDE4 libraries. It uses Video4Linux to get
-image from webcam and is able to save photos. Interface is based on QML
-and uses it's possibilities to show easy to use animated UI.
diff --git a/graphics/kamerka/doinst.sh b/graphics/kamerka/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/graphics/kamerka/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/graphics/kamerka/kamerka.info b/graphics/kamerka/kamerka.info
deleted file mode 100644
index f7381b8a0b..0000000000
--- a/graphics/kamerka/kamerka.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="kamerka"
-VERSION="0.8.5"
-HOMEPAGE="http://dos1.github.com/kamerka"
-DOWNLOAD="http://dosowisko.net/kamerka/downloads/kamerka-0.8.5.tar.gz"
-MD5SUM="92e5a274a9818b504186ce42e7211a7c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Sergio Vicari"
-EMAIL="sercari@esdebian.org"
diff --git a/graphics/kamerka/slack-desc b/graphics/kamerka/slack-desc
deleted file mode 100644
index e3272c0290..0000000000
--- a/graphics/kamerka/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-kamerka: kamerka (take photos using your webcam)
-kamerka:
-kamerka: Kamerka is an Qt4 app using KDE4 libraries. It uses Video4Linux
-kamerka: to get image from webcam and is able to save photos. Interface
-kamerka: is based on QML and uses it's possibilities to show easy to use
-kamerka: animated UI.
-kamerka:
-kamerka: Homepage: http://dos1.github.com/kamerka
-kamerka:
-kamerka:
-kamerka:
diff --git a/graphics/kim4/kim4.SlackBuild b/graphics/kim4/kim4.SlackBuild
index 8f5d6d4abd..3317502c56 100644
--- a/graphics/kim4/kim4.SlackBuild
+++ b/graphics/kim4/kim4.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kim4
@@ -24,28 +24,38 @@
#
# Modified by the slackbuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kim4
VERSION=${VERSION:-0.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
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
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -97,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-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/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/discwrapper/doinst.sh b/graphics/klayout/doinst.sh
index e4e6459838..318705f972 100644
--- a/graphics/discwrapper/doinst.sh
+++ b/graphics/klayout/doinst.sh
@@ -1,8 +1,7 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
+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/kphotoalbum/README b/graphics/kphotoalbum/README
index 84b8d2b734..ea5e4bfb2e 100644
--- a/graphics/kphotoalbum/README
+++ b/graphics/kphotoalbum/README
@@ -1,8 +1,5 @@
KPhotoAlbum (previously known as KimDaBa) is an photograh viewer and
organizer. Users can search for images based on tags (also called
-categories). KPhotoAlbum supports KIPI plugins for manipulating images
-(these are now included in the optional dependency digikam).
+categories). KPhotoAlbum supports KIPI plugins for manipulating images.
Set DEMO=no to exclude the demo pictures and video from the package.
-
-Optional dependencies: libkface and libkgeomap4
diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild
index ff0c67222a..e19a8ec6c0 100644
--- a/graphics/kphotoalbum/kphotoalbum.SlackBuild
+++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild
@@ -1,22 +1,32 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kphotoalbum
# By default the demo pictures and movie are packaged.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kphotoalbum
-VERSION=${VERSION:-4.7.1}
+VERSION=${VERSION:-5.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -25,8 +35,8 @@ OUTPUT=${OUTPUT:-/tmp}
# set DEMO to no to omit them.
DEMO=${DEMO:-yes}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -56,13 +66,12 @@ find -L . \
mkdir build && cd build
cmake \
- -DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKDE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
-DLIB_INSTALL_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_INSTALL_PREFIX=/usr \
..
- make -j1
+ make
make install DESTDIR=$PKG
cd -
@@ -71,7 +80,7 @@ if [ "$DEMO" = "no" ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog tips README \
+cp -a COPYING ChangeLog tips README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -83,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/kphotoalbum/kphotoalbum.info b/graphics/kphotoalbum/kphotoalbum.info
index bd8364de7e..a096855d90 100644
--- a/graphics/kphotoalbum/kphotoalbum.info
+++ b/graphics/kphotoalbum/kphotoalbum.info
@@ -1,8 +1,8 @@
PRGNAM="kphotoalbum"
-VERSION="4.7.1"
+VERSION="5.7.0"
HOMEPAGE="http://kphotoalbum.org"
-DOWNLOAD="http://download.kde.org/stable/kphotoalbum/4.7.1/src/kphotoalbum-4.7.1.tar.xz"
-MD5SUM="6994263a53780e1f5d40cc197db8f10b"
+DOWNLOAD="https://download.kde.org/stable/kphotoalbum/5.7.0/kphotoalbum-5.7.0.tar.xz"
+MD5SUM="c52404d5edd89b53d0201a736584df1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/ksnip/README b/graphics/ksnip/README
new file mode 100644
index 0000000000..f85397f873
--- /dev/null
+++ b/graphics/ksnip/README
@@ -0,0 +1,2 @@
+Qt-based cross-platform screenshot tool that provides
+many annotation features for your screenshots.
diff --git a/graphics/ksnip/doinst.sh b/graphics/ksnip/doinst.sh
new file mode 100644
index 0000000000..a0566905a1
--- /dev/null
+++ b/graphics/ksnip/doinst.sh
@@ -0,0 +1,8 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
diff --git a/graphics/photoprint/photoprint.SlackBuild b/graphics/ksnip/ksnip.SlackBuild
index 387d6db429..a75b2e10b1 100644
--- a/graphics/photoprint/photoprint.SlackBuild
+++ b/graphics/ksnip/ksnip.SlackBuild
@@ -1,7 +1,8 @@
-#!/bin/sh
-
-# Slackware build script for photoprint
-# Copyright 2013 David Woodfall <dave@slackbuilds.org>
+#!/bin/bash
+#
+# Slackware build script for ksnip
+#
+# Copyright 2022 Alexander Schultz <alexander_schultz@posteo.se>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,11 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=photoprint
-VERSION=${VERSION:-0.4.2_pre2}
-SRCVERSION=${VERSION/_/-}
-BUILD=${BUILD:-2}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=ksnip
+VERSION=${VERSION:-1.9.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,10 +42,10 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -54,47 +61,35 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
-
-find . -name "*.cpp" | xargs sed -i 's%glib/.*.h%glib.h%g'
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-LDFLAGS="-lX11" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKCOV_INSTALL_MANDIR=/usr/man \
+ -DKCOV_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING ChangeLog INSTALL NEWS README TODO \
- $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
@@ -102,4 +97,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ksnip/ksnip.info b/graphics/ksnip/ksnip.info
new file mode 100644
index 0000000000..ad18e2f121
--- /dev/null
+++ b/graphics/ksnip/ksnip.info
@@ -0,0 +1,10 @@
+PRGNAM="ksnip"
+VERSION="1.9.2"
+HOMEPAGE="https://github.com/ksnip/ksnip"
+DOWNLOAD="https://github.com/ksnip/ksnip/archive/refs/tags/v1.9.2/ksnip-1.9.2.tar.gz"
+MD5SUM="916a1b55499bbc27cec2e9521925096a"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="kImageAnnotator"
+MAINTAINER="Alexander Schultz"
+EMAIL="alexander_schultz@posteo.se"
diff --git a/graphics/ksnip/slack-desc b/graphics/ksnip/slack-desc
new file mode 100644
index 0000000000..37568bf5ea
--- /dev/null
+++ b/graphics/ksnip/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+ksnip: ksnip (screenshot tool)
+ksnip:
+ksnip: Ksnip is a Qt-based cross-platform screenshot tool that provides
+ksnip: many annotation features for your screenshots.
+ksnip:
+ksnip: Homepage: https://github.com/ksnip/ksnip
+ksnip:
+ksnip:
+ksnip:
+ksnip:
+ksnip:
diff --git a/graphics/kuickshow/README b/graphics/kuickshow/README
index ba6aa9daba..af4cb52b89 100644
--- a/graphics/kuickshow/README
+++ b/graphics/kuickshow/README
@@ -1,6 +1,6 @@
-KuickShow displays images using all the available space, without being wasted
-in bars or menus. It also has a smart automatic zooming that scales images
-according to its size. You can use the integrated file browser to choose
-images, or navigate through a folder with the mousewheel or the keyboard. It
-also has fullscreen view and slideshow, and supports a wide range of image
-formats.
+KuickShow displays images using all the available space, without being
+wasted in bars or menus. It also has a smart automatic zooming that
+scales images according to its size. You can use the integrated file
+browser to choose images, or navigate through a folder with the
+mousewheel or the keyboard. It also has fullscreen view and slideshow,
+and supports a wide range of image formats.
diff --git a/graphics/kuickshow/kuickshow.SlackBuild b/graphics/kuickshow/kuickshow.SlackBuild
index 6a82e2deba..d127bad485 100644
--- a/graphics/kuickshow/kuickshow.SlackBuild
+++ b/graphics/kuickshow/kuickshow.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for KuickShow
-# Copyright 2013, David Melik, Spokane, WA, USA
+# Copyright 2013-2022, SlackBuilds.org Project, David Melik, Spokane, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Written by David Melik <dchmelik @ gmail dot com>
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kuickshow
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-20220618_a9c29cc}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+GITVER="$( echo $VERSION | cut -d_ -f2 )"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,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.bz2
-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 \) \
@@ -78,6 +85,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=/usr/doc/HTML \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -86,9 +94,16 @@ 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 TODO BUGS COPYING README doc/ \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/kuickshow/kuickshow.info b/graphics/kuickshow/kuickshow.info
index 3fa2738bfe..31c07de55b 100644
--- a/graphics/kuickshow/kuickshow.info
+++ b/graphics/kuickshow/kuickshow.info
@@ -1,8 +1,8 @@
PRGNAM="kuickshow"
-VERSION="0.9.1"
+VERSION="20220618_a9c29cc"
HOMEPAGE="https://userbase.kde.org/KuickShow"
-DOWNLOAD="http://hosti.leonde.de/~gis/kuickshow-0.9.1.tar.bz2"
-MD5SUM="6866128ee3ef3d0dde809cd5b23d2472"
+DOWNLOAD="https://github.com/KDE/kuickshow/archive/a9c29cc7418eaacfa80d7b30509c7a5f18e88705/kuickshow-a9c29cc7418eaacfa80d7b30509c7a5f18e88705.tar.gz"
+MD5SUM="183d7bb9e1e3918354d6e69515c72648"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib"
diff --git a/graphics/lcdtest/lcdtest.SlackBuild b/graphics/lcdtest/lcdtest.SlackBuild
index e39f0c8d2c..0d52e383f6 100644
--- a/graphics/lcdtest/lcdtest.SlackBuild
+++ b/graphics/lcdtest/lcdtest.SlackBuild
@@ -1,23 +1,33 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lcdtest
# Written by Taxis taxis@gmx.us
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lcdtest
VERSION=${VERSION:-1.18}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -57,4 +67,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/lddot/README b/graphics/lddot/README
index 996fdad914..d3d9b2b742 100644
--- a/graphics/lddot/README
+++ b/graphics/lddot/README
@@ -2,14 +2,17 @@ lddot (graphically display shared library dependencies)
lddot is a wrapper over ldd, which produces output in Graphviz format.
-Although not strictly required for lddot to run, it's *highly* recommended
-to install graphviz and/or graph-easy. One of these will be required to
-convert lddot's output into a visible graph.
+Although not strictly required for lddot to run, it's *highly*
+recommended to install graphviz and/or graph-easy. One of these will
+be required to convert lddot's output into a visible graph.
Examples:
-# Replace "boxart" with "ascii" if your terminal doesn't support Unicode.
+# Replace boxart with ascii, if your terminal doesn't support Unicode.
lddot /bin/bash | graph-easy --as boxart
# This looks like the Death Star.
lddot /usr/bin/xterm | circo -Tpng > graph.png
+
+Note: the example in the man page requires a terminal at least 120
+columns wide, to format correctly.
diff --git a/graphics/lddot/lddot.SlackBuild b/graphics/lddot/lddot.SlackBuild
index e2fec7da31..af5288d8f3 100644
--- a/graphics/lddot/lddot.SlackBuild
+++ b/graphics/lddot/lddot.SlackBuild
@@ -1,19 +1,28 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+# 20210909 bkw: BUILD=2, actually install the man page in /usr/man.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lddot
VERSION=${VERSION:-0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -30,8 +39,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 {} \+
-mkdir -p $PKG/usr/bin
+mkdir -p $PKG/usr/bin $PKG/usr/man/man1
install -m0755 $PRGNAM $PKG/usr/bin
+gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+rm -f doc/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION
@@ -41,4 +52,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/lddot/lddot.info b/graphics/lddot/lddot.info
index ae78aec650..85e1c37797 100644
--- a/graphics/lddot/lddot.info
+++ b/graphics/lddot/lddot.info
@@ -1,10 +1,10 @@
PRGNAM="lddot"
VERSION="0.2"
-HOMEPAGE="http://jwilk.net/software/lddot"
+HOMEPAGE="https://jwilk.net/software/lddot"
DOWNLOAD="https://github.com/jwilk/lddot/releases/download/0.2/lddot-0.2.tar.gz"
MD5SUM="d1c274a39208357ec963c33094bdccae"
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 bb49e120e2..f037b4efb8 100644
--- a/graphics/ldglite/ldglite.SlackBuild
+++ b/graphics/ldglite/ldglite.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ldglite:
# a program to view and edit LDraw files
@@ -25,29 +25,39 @@
# revision date 2012/09/13
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ldglite
VERSION=${VERSION:-1.2.4}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=$(echo $VERSION | tr . _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
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"
@@ -103,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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 104ab6719e..0e23b75d35 100644
--- a/graphics/leocad/leocad.SlackBuild
+++ b/graphics/leocad/leocad.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LeoCAD:
# 3D design program for bricks
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2015-2017 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
@@ -24,10 +24,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=leocad
-VERSION=${VERSION:-17.07}
+VERSION=${VERSION:-23.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,7 +71,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -86,7 +96,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 docs/CREDITS.txt docs/README.txt docs/COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/CREDITS.txt docs/README.md docs/COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -94,4 +104,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info
index 514d34bf8e..feb5457c28 100644
--- a/graphics/leocad/leocad.info
+++ b/graphics/leocad/leocad.info
@@ -1,8 +1,8 @@
PRGNAM="leocad"
-VERSION="17.07"
+VERSION="23.03"
HOMEPAGE="https://www.leocad.org/"
-DOWNLOAD="https://github.com/leozide/leocad/archive/v17.07/leocad-17.07.tar.gz"
-MD5SUM="b31aa9169dbc86fa5a31d0a8e0a73831"
+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/README b/graphics/leocad_pieces/README
index 1b40f8e3b8..9328d72be3 100644
--- a/graphics/leocad_pieces/README
+++ b/graphics/leocad_pieces/README
@@ -1 +1,2 @@
-leocad_pieces contains the library of pieces needed by the LeoCAD program.
+leocad_pieces contains the library of pieces needed by the LeoCAD
+program.
diff --git a/graphics/leocad_pieces/leocad_pieces.SlackBuild b/graphics/leocad_pieces/leocad_pieces.SlackBuild
index 083bb3a95e..403de4cd70 100644
--- a/graphics/leocad_pieces/leocad_pieces.SlackBuild
+++ b/graphics/leocad_pieces/leocad_pieces.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for leocad_pieces, the pieces library needed by
# LeoCAD
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, Brazil
-# Copyright 2016-2017 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
@@ -24,13 +24,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=leocad_pieces
-VERSION=${VERSION:-9781}
+VERSION=${VERSION:-23.06}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -42,7 +52,7 @@ mkdir -p $TMP $PKG $OUTPUT
# Data from zip-file + set permissions
mkdir -p $PKG/usr/share/leocad
-unzip $CWD/Library-Linux-$VERSION.zip -d $PKG/usr/share/leocad
+unzip $CWD/Library-$VERSION.zip -d $PKG/usr/share/leocad
chown -R root:root $PKG
find $PKG -type f -exec chmod 644 {} \;
@@ -53,4 +63,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/leocad_pieces/leocad_pieces.info b/graphics/leocad_pieces/leocad_pieces.info
index dc4414f0e0..aa5a42af7d 100644
--- a/graphics/leocad_pieces/leocad_pieces.info
+++ b/graphics/leocad_pieces/leocad_pieces.info
@@ -1,8 +1,8 @@
PRGNAM="leocad_pieces"
-VERSION="9781"
+VERSION="23.06"
HOMEPAGE="https://www.leocad.org/"
-DOWNLOAD="https://github.com/leozide/leocad/releases/download/v17.07/Library-Linux-9781.zip"
-MD5SUM="bcb77d763d39155d3608c1e1335d8cb6"
+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/README b/graphics/libfpx/README
index 457fbd1640..4021162491 100644
--- a/graphics/libfpx/README
+++ b/graphics/libfpx/README
@@ -1,11 +1,12 @@
libfpx (A library for manipulating FlashPIX images)
-FlashPix is a bitmapped computer graphics file format where the image is
-saved in more than one resolution. Although this makes it larger even than
-a TIFF file of the same resolution, its design anticipated that when an
-HTTP request is sent for the file by a browser plugin implementing the
-format, only the image compatible with the current screen resolution is
-returned to the browser, saving on bandwidth and download time.
+FlashPix is a bitmapped computer graphics file format where the image
+is saved in more than one resolution. Although this makes it larger
+even than a TIFF file of the same resolution, its design anticipated
+that when an HTTP request is sent for the file by a browser plugin
+implementing the format, only the image compatible with the current
+screen resolution is returned to the browser, saving on bandwidth and
+download time.
It can be used as an ImageMagick or GraphicsMagick delegate to convert
from FlashPIX format.
diff --git a/graphics/libfpx/export-symbols.patch b/graphics/libfpx/export-symbols.patch
new file mode 100644
index 0000000000..dfb974bc71
--- /dev/null
+++ b/graphics/libfpx/export-symbols.patch
@@ -0,0 +1,14 @@
+* At least the Darwin linker doesn't like double symbols during the
+ final linking stage...
+
+--- a/jpeg/jpegconf.h
++++ b/jpeg/jpegconf.h
+@@ -27,6 +27,6 @@
+ # pragma warning(disable : 4244)
+ # pragma warning(disable : 4142)
+ #else
+-# define JPEGEXPORT
+-# define FPXEXPORT
++# define JPEGEXPORT extern
++# define FPXEXPORT extern
+ #endif
diff --git a/graphics/libfpx/libfpx.SlackBuild b/graphics/libfpx/libfpx.SlackBuild
index 4a211382b8..05bf8faee5 100644
--- a/graphics/libfpx/libfpx.SlackBuild
+++ b/graphics/libfpx/libfpx.SlackBuild
@@ -1,15 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# 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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +30,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,11 +63,10 @@ rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
cd $PRGNAM-$SRCVER
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+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
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -70,13 +84,16 @@ 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
cd $PKG
-/sbin/makepkg -l y -c n $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/libfpx/libfpx.info b/graphics/libfpx/libfpx.info
index 145f4ce268..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="http://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 a6f2969749..eff104786c 100644
--- a/graphics/libplacebo/README
+++ b/graphics/libplacebo/README
@@ -1,8 +1,3 @@
libplacebo is essentially the core rendering algorithms and ideas of mpv
turned into a library.
-shaderc is an optional dependency.
-
-vulkan-sdk and Mako are optional dependencies for vulkan support.
-
-Mako must be built with python3 support.
diff --git a/graphics/libplacebo/libplacebo.SlackBuild b/graphics/libplacebo/libplacebo.SlackBuild
index 0697bf74f0..0a23508bc7 100644
--- a/graphics/libplacebo/libplacebo.SlackBuild
+++ b/graphics/libplacebo/libplacebo.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libplacebo
-VERSION=${VERSION:-2.72.2}
+VERSION=${VERSION:-6.338.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,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 \
@@ -78,8 +87,7 @@ else
RELEASE=plain
fi
-# Use an older epoxy version.
-sed -i 's/1.4.0/1.3.1/' src/meson.build
+export PYTHONPATH=/opt/python3.9/site-packages/
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -89,6 +97,7 @@ meson \
-Dstrip=$NDEBUG \
-Db_ndebug=$NDEBUG \
-Dbuildtype=$RELEASE \
+ -Ddemos=false \
build
"${NINJA:=ninja}" -C build
@@ -102,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/libplacebo/libplacebo.info b/graphics/libplacebo/libplacebo.info
index 51ae650726..0bbbb982d8 100644
--- a/graphics/libplacebo/libplacebo.info
+++ b/graphics/libplacebo/libplacebo.info
@@ -1,10 +1,10 @@
PRGNAM="libplacebo"
-VERSION="2.72.2"
+VERSION="6.338.1"
HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
-DOWNLOAD="https://code.videolan.org/videolan/libplacebo/-/archive/v2.72.2/libplacebo-v2.72.2.tar.gz"
-MD5SUM="93b90922056c7d74455b45fae74959e4"
+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="meson"
-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/librecad/0003-add-boost-tuple-include-to-fix-build.patch b/graphics/librecad/0003-add-boost-tuple-include-to-fix-build.patch
new file mode 100644
index 0000000000..2500bab79b
--- /dev/null
+++ b/graphics/librecad/0003-add-boost-tuple-include-to-fix-build.patch
@@ -0,0 +1,29 @@
+From 1fd07fcd847659d518efa0897a9f603de83fe362 Mon Sep 17 00:00:00 2001
+From: Jiri Slaby <jslaby@suse.cz>
+Date: Tue, 4 May 2021 09:25:03 +0200
+Subject: [PATCH] add boost tuple include to fix build
+
+With boost 1.76, we see:
+lib/engine/rs_ellipse.cpp:70:15: error: 'tuple' in namespace 'boost::math' does not name a template type
+ 70 | boost::math::tuple<double, double, double> operator()(double const& z) const {
+ | ^~~~~
+
+Fix this by including the proper boost header.
+---
+ librecad/src/lib/engine/rs_ellipse.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/librecad/src/lib/engine/rs_ellipse.cpp b/librecad/src/lib/engine/rs_ellipse.cpp
+index 291f734ea..d47bf6ca4 100644
+--- a/librecad/src/lib/engine/rs_ellipse.cpp
++++ b/librecad/src/lib/engine/rs_ellipse.cpp
+@@ -48,6 +48,9 @@
+ #include <boost/version.hpp>
+ #include <boost/math/tools/roots.hpp>
+ #include <boost/math/special_functions/ellint_2.hpp>
++#if BOOST_VERSION > 104500
++#include <boost/math/tools/tuple.hpp>
++#endif
+ #endif
+
+ namespace{
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild
index 04a1288799..4e33f0cbb8 100644
--- a/graphics/librecad/librecad.SlackBuild
+++ b/graphics/librecad/librecad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LibreCAD
@@ -25,12 +25,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librecad
ORIGNAME=LibreCAD
VERSION=${VERSION:-9f2c32d}
SRCVER=${SRCVER:-9f2c32dd4b9dc2ed5e028b682473b098c48ad3e0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,6 +84,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 {} \;
+# thnx Archlinux!
+patch -p1 < $CWD/0003-add-boost-tuple-include-to-fix-build.patch
+
qmake-qt5 $PRGNAM.pro QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS"
make
@@ -102,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/librecad/librecad.info b/graphics/librecad/librecad.info
index e59d8f1015..9dacfea389 100644
--- a/graphics/librecad/librecad.info
+++ b/graphics/librecad/librecad.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/LibreCAD/LibreCAD/archive/9f2c32d/LibreCAD-9f2c32dd
MD5SUM="a4a2c18da5d06dafb14b60a25efbb46b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="muParser qt5"
+REQUIRES="muParser"
MAINTAINER="R S Ananda Murthy"
EMAIL="rsamurti@gmail.com"
diff --git a/graphics/lilypond/README b/graphics/lilypond/README
index 033b3da404..84c8c4cd96 100644
--- a/graphics/lilypond/README
+++ b/graphics/lilypond/README
@@ -1,10 +1,4 @@
LilyPond is a music typesetter. It produces beautiful
sheet music using a description file as input.
-To enable documentation (man and info pages), first install dblatex and a
-newer version of texi2html than shipped with Slackware, then run the script as
-
- # ENABLE_DOCS=yes ./lilypond.SlackBuild
-
-The documentation is disabled by default since SBo's texi2html package
-conflicts with Slackware's tetex package.
+extractpdfmark is an optional dependency.
diff --git a/graphics/lilypond/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 70e31a9fb4..825747fadc 100644
--- a/graphics/lilypond/lilypond.SlackBuild
+++ b/graphics/lilypond/lilypond.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lilypond
-# Copyright 2012-2020 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
@@ -22,28 +22,35 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lilypond
-VERSION=${VERSION:-2.18.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.24.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,38 +77,28 @@ 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
-# configure searches for naming variants like guile1.8-config but not this:
-GUILE_CONFIG=guile-config1.8 \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --libdir=\${exec_prefix}/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --mandir=\${prefix}/man \
+ --infodir=\${prefix}/info \
+ --docdir=\${prefix}/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- --disable-debugging \
- --enable-documentation=${ENABLE_DOCS:-no}
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
-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
-if [ "x${ENABLE_DOCS:-no}" = "xno" ]; then
- # These are (or should be) empty.
- rmdir $PKG/usr/man/man1
- rmdir $PKG/usr/man
-else
- find $PKG/usr/man -type f -execdir gzip -9 {} +
+find $PKG/usr/man -type f -execdir gzip -9 {} +
- rm -f $PKG/usr/info/dir
- find $PKG/usr/info -name '*.info*' -type f -execdir gzip -9 {} +
-fi
+rm -f $PKG/usr/info/dir
+find $PKG/usr/info -name '*.info*' -type f -execdir gzip -9 {} +
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -109,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:-tgz}
+/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 b3864d97c9..b4df6b9b50 100644
--- a/graphics/lilypond/lilypond.info
+++ b/graphics/lilypond/lilypond.info
@@ -1,10 +1,10 @@
PRGNAM="lilypond"
-VERSION="2.18.2"
-HOMEPAGE="http://www.lilypond.org/"
-DOWNLOAD="http://download.linuxaudio.org/lilypond/sources/v2.18/lilypond-2.18.2.tar.gz"
-MD5SUM="3c4bcbb708d12644668b32bfe82ebf25"
+VERSION="2.24.3"
+HOMEPAGE="https://lilypond.org/"
+DOWNLOAD="https://lilypond.org/download/sources/v2.24/lilypond-2.24.3.tar.gz"
+MD5SUM="4e968f826586b7a5ac24f54f6007166a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fontforge t1utils guile1.8"
+REQUIRES="fontforge texi2html"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/luminance-hdr/README b/graphics/luminance-hdr/README
index a48ad99cef..cb8e2f485e 100644
--- a/graphics/luminance-hdr/README
+++ b/graphics/luminance-hdr/README
@@ -24,5 +24,5 @@ To run Luminance HDR, your processor must support SSE2 instructions
(i.e. Pentium 4 or higher, or Athlon 64 or higher).
The following are optional dependencies:
-cfitsio and CCfits - for importing FITS images (both needed)
-hugin - for aligning multiple LDR exposures
+CCfits - for importing FITS images
+hugin - for aligning multiple LDR exposures
diff --git a/graphics/luminance-hdr/luminance-hdr.SlackBuild b/graphics/luminance-hdr/luminance-hdr.SlackBuild
index 3d0a6ed3b6..027d2b07ea 100644
--- a/graphics/luminance-hdr/luminance-hdr.SlackBuild
+++ b/graphics/luminance-hdr/luminance-hdr.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Luminance HDR
@@ -22,10 +22,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to v2.6.0. Also actually strip the binaries, and
+# get rid of INSTALL from the doc dir.
+# 20220320 bkw: fix build on 32-bit.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=luminance-hdr
-VERSION=${VERSION:-2.5.1}
+VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -64,28 +76,31 @@ cd ${PRGNAM}-${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Workround build failure with gcc-g++-4.9.3 and beyond (mangling bug?)
# (fails to link libmvec: "undefined reference to `_ZGVbN4vv_powf'" etc)
export CXX=clang++
+# 20220320 bkw: for some reason, the -latomic is needed on 32-bit x86.
+# it does no harm on x86_64.
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_LINK_FLAGS="-latomic" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS BUGS Changelog INSTALL LICENSE README.md README.i18n TODO \
+ AUTHORS BUGS Changelog LICENSE README.md README.i18n TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -94,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/luminance-hdr/luminance-hdr.info b/graphics/luminance-hdr/luminance-hdr.info
index f5a0c26b36..cc84ef4b63 100644
--- a/graphics/luminance-hdr/luminance-hdr.info
+++ b/graphics/luminance-hdr/luminance-hdr.info
@@ -1,10 +1,10 @@
PRGNAM="luminance-hdr"
-VERSION="2.5.1"
+VERSION="2.6.0"
HOMEPAGE="http://qtpfsgui.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/qtpfsgui/2.5.1/luminance-hdr-2.5.1.tar.bz2"
-MD5SUM="055278df2b370542ea57fcae86455ce5"
+DOWNLOAD="http://downloads.sourceforge.net/qtpfsgui/2.6.0/luminance-hdr-2.6.0.tar.bz2"
+MD5SUM="9ac2be847d304f0ddc7089b251825c4d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit cfitsio"
+REQUIRES=""
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/luxcorerender/README b/graphics/luxcorerender/README
new file mode 100644
index 0000000000..4d65059b97
--- /dev/null
+++ b/graphics/luxcorerender/README
@@ -0,0 +1,40 @@
+LuxCoreRender 3D rendering engine
+
+LuxRender is a physically based and unbiased rendering engine.
+LuxRender simulates the flow of light according to physical equations,
+producing realistic images of photographic quality.
+
+It is fully-featured, with a command-line application (`pyluxcoretools`)
+as well as a GUI (`luxrenderui`), widespread render farm support,
+instancing, volumetrics, motion blur, and more.
+
+This package supports 64-bit systems only, because it installs the
+pre-compiled LuxRender package. It is possible to install LuxRender on
+32-bit systems, but it requires building from source.
+
+Optional Depencencies:
+------------
+
+* cudatoolkit
+* nvidia-driver
+
+Install Options:
+----------------
+
+You must rename `/etc/OpenCL/vendors/mesa.icd` so LuxCore can locate
+a usable OpenCL device.
+
+Use the OPENCL variable when running this script if you want that
+done for you (but if you uninstall this package, you must remember
+to change it back yourself).
+
+```
+$ OPENCL=yes ./luxcorerender.SlackBuild
+```
+
+Blender Plugin
+--------------
+
+This package is for the stand-alone LuxCoreRender engine.
+
+A Blender plugin is available from luxcorerender.org
diff --git a/graphics/luxrender/application-x-lux.svg b/graphics/luxcorerender/application-x-luxcore.svg
index 2c1da03832..2c1da03832 100644
--- a/graphics/luxrender/application-x-lux.svg
+++ b/graphics/luxcorerender/application-x-luxcore.svg
diff --git a/graphics/luxrender/doinst.sh b/graphics/luxcorerender/doinst.sh
index 8a4aed8b97..2eea248173 100644
--- a/graphics/luxrender/doinst.sh
+++ b/graphics/luxcorerender/doinst.sh
@@ -1,5 +1,5 @@
if [ -x /usr/bin/xdg-mime ]; then
- /usr/bin/xdg-mime install /usr/doc/luxrender-1.4/mime-lux.xml
+ /usr/bin/xdg-mime install /usr/doc/luxcorerender-2.6/mime-luxcore.xml
fi
if [ -x /usr/bin/update-desktop-database ]; then
@@ -14,5 +14,4 @@ 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
-
+fi
diff --git a/graphics/luxrender/luxrender.svg b/graphics/luxcorerender/luxcore.svg
index 9d8cb65ba0..9d8cb65ba0 100644
--- a/graphics/luxrender/luxrender.svg
+++ b/graphics/luxcorerender/luxcore.svg
diff --git a/graphics/luxrender/luxrender.SlackBuild b/graphics/luxcorerender/luxcorerender.SlackBuild
index 504fce5cfd..6e1a9625dd 100644
--- a/graphics/luxrender/luxrender.SlackBuild
+++ b/graphics/luxcorerender/luxcorerender.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luxrender
# Copyright 2013 Giorgio Peron Campodarsego, PD, Italy
-# Copyright 2015 Klaatu Wellington, NZ
+# Copyright 2015-22 Klaatu Wellington, NZ
#
# All rights reserved.
#
@@ -24,48 +24,35 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=luxrender
-SHORT=lux
-VERSION=${VERSION:-1.4}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=luxcorerender
+SHORT=luxcore
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-if [ -z $OPENCL ]; then
- OPENCL="-OpenCL"
-else
- OPENCL=""
-fi
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) echo "32 bit builds not supported." && exit 1
- ;;
- arm*) ARCH=arm
- LIBDIRSUFFIX=""
- ;;
- *) ARCH=$( uname -m )
- LIBDIRSUFFIX="64"
- ;;
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+if [ "$ARCH" != "x86_64" ]; then
+ echo "This package is available for x86_64 only."
+ exit 1
fi
set -e
@@ -73,9 +60,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SHORT-$VERSION
-tar xvjf $CWD/$SHORT-v"$VERSION"-x86_64-sse2"$OPENCL".tar.bz2
-cd $SHORT-v"$VERSION"-$(uname -m)-sse2"$OPENCL"
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+tar xvjf $CWD/$PRGNAM-v"$VERSION"-linux64.tar.bz2 \
+ --strip-components=1 -C $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,48 +72,46 @@ 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 {} \;
-# manual installation
-mkdir -p $PKG/usr/bin/
-cp luxconsole $PKG/usr/bin/
-cp lux*r $PKG/usr/bin/
-cp slg4 $PKG/usr/bin/
-chmod +x $PKG/usr/bin/slg4
-mkdir -p $PKG/usr/lib"$LIBDIRSUFFIX"
-cp *.so $PKG/usr/lib"$LIBDIRSUFFIX"
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# are we using default SBo location of blender?
-if [ -z $BLENDER ]; then
- BLENDER=$(egrep '^opt\/blender\/2\....?\/scripts\/$' /var/log/packages/blender-*_SBo 2> /dev/null) || BLENDER="no"
-fi
+## install to opt
+mkdir $PKG/opt
+mv $TMP/$PRGNAM-$VERSION $PKG/opt/$PRGNAM-$VERSION
-if [ X"$BLENDER" != "Xno" ]; then
- mkdir -p $PKG/$BLENDER
- unzip luxblend/luxblend.zip -d $PKG/$BLENDER/addons/
- unzip luxblend/luxblend-presets.zip -d $PKG/$BLENDER/presets/
-else
- mkdir -p $PKG/usr/share/$PRGNAM-$VERSION/luxblend
- cp luxblend/luxblend.zip $PKG/usr/share/$PRGNAM-$VERSION/luxblend
- cp luxblend/luxblend-presets.zip $PKG/usr/share/$PRGNAM-$VERSION/luxblend
+# if OPENCL=yes, then set doinst.sh to rename dummy OpenCL
+# definition so Lux can find valid OpenCL device
+if [ $OPENCL ]; then
+ cat <<EOF >> $CWD/doinst.sh
+if [ -e /etc/OpenCL/vendors/mesa.icd ]; then
+ mv /etc/OpenCL/vendors/mesa.icd /etc/OpenCL/vendors/mesa.icd-dummy
+fi
+EOF
fi
+# desktop conveniences
mkdir -p $PKG/usr/share/applications
-mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
-cp -r examples $PKG/usr/share/$PRGNAM-$VERSION
-cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
+cp $CWD/luxcoreui.desktop $PKG/usr/share/applications
+cp $CWD/pyluxcoretools.desktop $PKG/usr/share/applications
-#icons
-mkdir -p $PKG/usr/share/icons/hicolor/scalable/mimetypes
-cp $CWD/application-x-lux.svg $PKG/usr/share/icons/hicolor/scalable/mimetypes
-cp $CWD/luxrender.svg $PKG/usr/share/icons/hicolor/scalable/apps
+# icons
+mkdir -p $PKG/usr/share/icons/hicolor/scalable/{mimetypes,apps}
+cp $CWD/application-x-$SHORT.svg \
+ $PKG/usr/share/icons/hicolor/scalable/mimetypes
+cp $CWD/$SHORT.svg $PKG/usr/share/icons/hicolor/scalable/apps
-#mimetypes
+# mimetypes
mkdir -p $PKG/usr/share/mime/application/
+# no front-end is provided for it, so
+# provide a command to the Python zipapp
+mkdir $PKG/usr/bin/
+cat $CWD/pyluxcoretools.sh > $PKG/usr/bin/pyluxcoretools
+chmod +x $PKG/usr/bin/pyluxcoretools
+
+# docs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp README $PKG/usr/doc/$PRGNAM-$VERSION
+mv README.md AUTHORS.txt COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/mime-"$SHORT".xml > $PKG/usr/doc/$PRGNAM-$VERSION/mime-"$SHORT".xml
@@ -133,4 +120,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/luxcorerender/luxcorerender.info b/graphics/luxcorerender/luxcorerender.info
new file mode 100644
index 0000000000..f48a58d43f
--- /dev/null
+++ b/graphics/luxcorerender/luxcorerender.info
@@ -0,0 +1,10 @@
+PRGNAM="luxcorerender"
+VERSION="2.6"
+HOMEPAGE="https://luxcorerender.org"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/LuxCoreRender/LuxCore/releases/download/luxcorerender_v2.6/luxcorerender-v2.6-linux64.tar.bz2"
+MD5SUM_x86_64="d4a2166db693751d52d8234c0e6fbe47"
+REQUIRES=""
+MAINTAINER="Klaatu"
+EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/luxcorerender/luxcoreui.desktop b/graphics/luxcorerender/luxcoreui.desktop
new file mode 100644
index 0000000000..dca4437865
--- /dev/null
+++ b/graphics/luxcorerender/luxcoreui.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Lux Core UI
+GenericName=Lux Core UI
+Comment=LuxCore rendering
+Exec=LD_LIBRARY_PATH=/usr/lib64/luxcorerender-2.6 /opt/luxcorerender-2.6/luxcoreui
+Icon=/usr/share/icons/hicolor/scalable/apps/luxcore.svg
+Terminal=false
+Type=Application
+Categories=Graphics;3DGraphics;
diff --git a/graphics/luxrender/mime-lux.xml b/graphics/luxcorerender/mime-luxcore.xml
index 3843873ab8..4d71d2c654 100644
--- a/graphics/luxrender/mime-lux.xml
+++ b/graphics/luxcorerender/mime-luxcore.xml
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<mime-info
xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
-<mime-type type="application/x-lux">
+<mime-type type="application/x-luxcore">
<comment>LuxRender File</comment>
<glob pattern="*.lxm"/>
<glob pattern="*.lxo"/>
diff --git a/graphics/luxcorerender/pyluxcoretools.desktop b/graphics/luxcorerender/pyluxcoretools.desktop
new file mode 100644
index 0000000000..315267ff3c
--- /dev/null
+++ b/graphics/luxcorerender/pyluxcoretools.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Lux Core Net Node UI
+GenericName=Lux Core Net Node UI
+Comment=LuxCore Nodes
+Exec=PYTHONPATH=$PYTHONPATH:/opt/luxcorerender-2.6 python3 /opt/luxcorerender-2.6/pyluxcoretools.zip netnodeui
+Icon=/usr/share/icons/hicolor/scalable/apps/luxcore.svg
+Terminal=false
+Type=Application
+Categories=Graphics;3DGraphics;
diff --git a/graphics/luxcorerender/pyluxcoretools.sh b/graphics/luxcorerender/pyluxcoretools.sh
new file mode 100644
index 0000000000..f1fb47802d
--- /dev/null
+++ b/graphics/luxcorerender/pyluxcoretools.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ "$1" = "--help" -o "$1" = "-h" ]; then
+ PYTHONPATH=$PYTHONPATH:/opt/luxcorerender-2.6 python3 \
+ /opt/luxcorerender-2.6/pyluxcoretools.zip \
+ help
+ exit
+fi
+
+PYTHONPATH=$PYTHONPATH:/opt/luxcorerender-2.6 python3 \
+ /opt/luxcorerender-2.6/pyluxcoretools.zip "$@"
diff --git a/graphics/luxcorerender/slack-desc b/graphics/luxcorerender/slack-desc
new file mode 100644
index 0000000000..bc3b7c92df
--- /dev/null
+++ b/graphics/luxcorerender/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+luxcorerender: luxcorerender (rendering engine)
+luxcorerender:
+luxcorerender: LuxRender is a physically based and unbiased rendering engine.
+luxcorerender: Based on state of the art algorithms, LuxRender simulates the flow
+luxcorerender: of light according to physical equations, thus producing realistic
+luxcorerender: images of photographic quality.
+luxcorerender:
+luxcorerender: homepage: http://www.luxcorerender.org
+luxcorerender:
+luxcorerender:
+luxcorerender:
diff --git a/graphics/luxrender/README b/graphics/luxrender/README
deleted file mode 100644
index d258a5193b..0000000000
--- a/graphics/luxrender/README
+++ /dev/null
@@ -1,46 +0,0 @@
-luxrender (rendering engine)
-
-LuxRender is a physically based and unbiased rendering engine.
-Based on state of the art algorithms, LuxRender simulates the flow of
-light according to physical equations, thus producing realistic images
-of photographic quality. It is fully-featured, with a command line
-application as well as a GUI, widespread render farm support, instancing,
-volumetrics, motion blur, and more.
-
-This package supports 64-bit systems only, because it installs the
-pre-compiled LuxRender package. It is possible to install LuxRender on
-32-bit systems, but it requires building from source.
-
-Optional Depencencies:
-------------
-opencl-headers
-cudatoolkit
-nvidia-driver
-
-Install Options:
-----------------
-To install without OpenCL support, launch this script like this:
-
-$ OPENCL=no ./luxrender.SlackBuild
-
-Blender Plugin
---------------
-By default, this SlackBuild:
-
-1. Attempts to auto-detect where your Blender install is by grepping
- /var/log/packages.
-2. Attempts to install the Blender plugin to that location.
-
-If you do not want it to attempt to do this, do:
-
-$ BLENDER=no ./luxrender.SlackBuild
-
-The Blender plugin will be copied to /usr/share/luxrender-VERSION
-
-If you do have Blender, but in a different path than the SlackBuilds.org
-path, or not listed in /var/log/packages for some reason, then you can
-hardcode the path:
-
-$ BLENDER=/path/to/blender/scripts ./luxrender.SlackBuild
-
-IMPORTANT: Point to your Blender **scripts** directory.
diff --git a/graphics/luxrender/luxrender.desktop b/graphics/luxrender/luxrender.desktop
deleted file mode 100644
index b0829ea7b6..0000000000
--- a/graphics/luxrender/luxrender.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Lux
-GenericName=Lux Renderer
-Comment=LuxRender unbiased rendering system
-Exec=luxrender
-Icon=/usr/share/pixmaps/luxrender.svg
-Terminal=false
-Type=Application
-Categories=Graphics;3DGraphics;
diff --git a/graphics/luxrender/luxrender.info b/graphics/luxrender/luxrender.info
deleted file mode 100644
index f8298447e3..0000000000
--- a/graphics/luxrender/luxrender.info
+++ /dev/null
@@ -1,12 +0,0 @@
-PRGNAM="luxrender"
-VERSION="1.4"
-HOMEPAGE="http://www.luxrender.net/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="http://www.luxrender.net/release/luxrender/1.4/linux/64/lux-v1.4-x86_64-sse2-OpenCL.tar.bz2 \
- http://www.luxrender.net/release/luxrender/1.4/linux/64/lux-v1.4-x86_64-sse2.tar.bz2"
-MD5SUM_x86_64="6635929c033c55c4300c8fc928fa1647 \
- ec37591dd3efca4c0ab2051bcc9e64e1"
-REQUIRES="FreeImage"
-MAINTAINER="Klaatu"
-EMAIL="klaatu@member.fsf.org"
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/kamerka/kamerka.SlackBuild b/graphics/lximage-qt/lximage-qt.SlackBuild
index d1a7a5486e..3b9fa78999 100644
--- a/graphics/kamerka/kamerka.SlackBuild
+++ b/graphics/lximage-qt/lximage-qt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for kamerka
+# Slackware build script for lximage-qt
-# Copyright 2012-2014 Sergio Vicari <sercari[at]esdebian.org>
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,33 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=kamerka
-VERSION=${VERSION:-0.8.5}
+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=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,23 +67,21 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p build
+mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -84,12 +89,9 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL README TODO $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
@@ -97,4 +99,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/photoprint/slack-desc b/graphics/lximage-qt/slack-desc
index beca46d50d..9259cb5aae 100644
--- a/graphics/photoprint/slack-desc
+++ b/graphics/lximage-qt/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-photoprint: photoprint (digital photograph/image printer)
-photoprint:
-photoprint: PhotoPrint is a utility designed to assist in the process of printing
-photoprint: digital photographs under Linux and other UNIX-like operating
-photoprint: systems.
-photoprint:
-photoprint: Homepage: http://blackfiveimaging.co.uk
-photoprint:
-photoprint:
-photoprint:
-photoprint:
+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/README b/graphics/maim/README
index aba23edfa5..20ecbb2aa0 100644
--- a/graphics/maim/README
+++ b/graphics/maim/README
@@ -1,8 +1,8 @@
maim (make image)
-
-maim (make image) takes screenshots of your desktop.
-It has options to take only a region, and relies on slop to query for regions.
+maim (make image) takes screenshots of your desktop. It has options
+to take only a region, and relies on slop to query for regions.
maim is supposed to be an improved scrot.
-If slop is installed, it can be used for selecting a region to screenshot.
+If slop is installed, it can be used for selecting a region to
+screenshot.
diff --git a/graphics/maim/maim.SlackBuild b/graphics/maim/maim.SlackBuild
index 47823ca697..c62d309395 100644
--- a/graphics/maim/maim.SlackBuild
+++ b/graphics/maim/maim.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for maim
-# Copyright 2019 klorophatu
+# Copyright 2019 klorophatu <klorophatu@krutt.org>
+# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 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.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,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 {} \;
-cmake -DCMAKE_INSTALL_PREFIX="/usr/" ./
+cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_INSTALL_MANDIR="/usr/man/" ./
make
make install DESTDIR=$PKG
@@ -78,8 +92,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
@@ -89,4 +103,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/maim/maim.info b/graphics/maim/maim.info
index e03d44e704..6d9c7d67ac 100644
--- a/graphics/maim/maim.info
+++ b/graphics/maim/maim.info
@@ -1,10 +1,10 @@
PRGNAM="maim"
-VERSION="5.5.3"
+VERSION="5.7.4"
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.7.4/maim-5.7.4.tar.gz"
+MD5SUM="3e0a19cc4d21414c38aed8e0122ab119"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="imlib2"
-MAINTAINER="klorophatu"
-EMAIL="klorophatu@krutt.org"
+REQUIRES="slop"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/graphics/makehuman/README b/graphics/makehuman/README
index 4cf570d28b..37e4c0a385 100644
--- a/graphics/makehuman/README
+++ b/graphics/makehuman/README
@@ -1,2 +1,3 @@
-MakeHuman is an open source (so it's completely free), innovative and
-professional software for the modelling of 3-Dimensional humanoid characters.
+MakeHuman is an open source (so it's completely free), innovative
+and professional software for the modelling of 3-Dimensional humanoid
+characters.
diff --git a/graphics/makehuman/makehuman.SlackBuild b/graphics/makehuman/makehuman.SlackBuild
index 751228719a..0cd3d589a5 100644
--- a/graphics/makehuman/makehuman.SlackBuild
+++ b/graphics/makehuman/makehuman.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for makehuman
@@ -22,40 +22,46 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220304 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to the latest release.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=makehuman
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.2.0+20201105183027}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
+SRCNAM=makehuman-community
+DEBTAG="${DEBTAG:-1ppa1_all}"
+DEB="${SRCNAM}_${VERSION}-${DEBTAG}.deb"
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-ar vx $CWD/$PRGNAM-$VERSION\_all.deb
cd $PKG
-tar -xvjf $TMP/data.tar.bz2
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ar p $CWD/$DEB data.tar.xz | tar xvfJ -
-rm -rf $PKG/var
+# 20220304 bkw: no need to strip anything (it's all python, no compiled code).
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/licenses $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/$SRCNAM/licenses $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -63,4 +69,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/makehuman/makehuman.info b/graphics/makehuman/makehuman.info
index 2a674a8947..472b03b399 100644
--- a/graphics/makehuman/makehuman.info
+++ b/graphics/makehuman/makehuman.info
@@ -1,8 +1,8 @@
PRGNAM="makehuman"
-VERSION="1.0.2"
-HOMEPAGE="http://www.makehuman.org"
-DOWNLOAD="http://download.tuxfamily.org/makehuman/releases/1.0.2/makehuman-1.0.2_all.deb"
-MD5SUM="d04ab2a7b7968d77d97dc5b91df93412"
+VERSION="1.2.0+20201105183027"
+HOMEPAGE="http://www.makehumancommunity.org/"
+DOWNLOAD="https://ppa.launchpadcontent.net/makehuman-official/makehuman-community/ubuntu/pool/main/m/makehuman-community/makehuman-community_1.2.0+20201105183027-1ppa1_all.deb"
+MD5SUM="94887d0ccb20df88145b7fbf2deb5c95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="PyOpenGL"
diff --git a/graphics/mangohud/README b/graphics/mangohud/README
new file mode 100644
index 0000000000..f0410f70b4
--- /dev/null
+++ b/graphics/mangohud/README
@@ -0,0 +1,17 @@
+MangoHud is a Vulkan and OpenGL overlay for monitoring FPS,
+temperatures, CPU/GPU load and more.
+
+MangoHud may be built with access to Nvidia's NV_Control X
+extension. This introduces a dependency on libxnvctrl and
+may be included by passing XNVCTRL=enabled.
+
+By default, MangoHud reaches out to the internet to pull
+Vulkan-Headers. Since Slackware ships with vulkan-sdk, we
+enable system headers by default. To disable this feature
+and restore default behavior, pass SYSVULKAN=disabled to
+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.
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
new file mode 100644
index 0000000000..a46883284c
--- /dev/null
+++ b/graphics/mangohud/mangohud.SlackBuild
@@ -0,0 +1,170 @@
+#!/bin/bash
+
+# Slackware build script for mangohud
+
+# 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=mangohud
+SRCNAM=MangoHud
+VERSION=${VERSION:-0.6.9.1}
+SRCVER=${SRCVER:-0.6.9-1}
+IMGUI=${IMGUI:-1.81}
+VULKANHEADERS=${VULKANHEADERS:-1.2.158}
+XNVCTRL=${XNVCTRL:-disabled}
+MANGOAPP=${MANGOAPP:-true}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+#Test for multilib
+COMPAT32=${COMPAT32@L}
+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-$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 ..
+
+#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 \
+ \( -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" \
+ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Duse_system_spdlog=enabled \
+ -Dwith_xnvctrl=$XNVCTRL \
+ -Dmangoapp=$MANGOAPP
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
+
+if [ "$COMPAT32" = "yes" ]; then
+ mkdir build32
+ cd build32
+ CC="gcc -m32" \
+ CXX="g++ -m32" \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ LDFLAGS="-L/usr/lib" \
+ PKG_CONFIG_PATH="/usr/lib/pkgconfig" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Duse_system_spdlog=enabled \
+ -Dwith_xnvctrl=$XNVCTRL \
+ -Dmangoapp=false
+ ninja
+ DESTDIR=$PKG ninja install
+ cd ..
+fi
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type 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
+
+mv $PKG/usr/share/doc/$PRGNAM/$SRCNAM.conf.example \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
+rm -rf $PKG/usr/share/doc
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mangohud/mangohud.info b/graphics/mangohud/mangohud.info
new file mode 100644
index 0000000000..2c56637691
--- /dev/null
+++ b/graphics/mangohud/mangohud.info
@@ -0,0 +1,18 @@
+PRGNAM="mangohud"
+VERSION="0.6.9.1"
+HOMEPAGE="https://github.com/flightlessmango/MangoHud"
+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"
+MD5SUM="572b748eabd3b61443301991b177eb9b \
+ 44245ecbc0c428b1c8db58089eb59821 \
+ 4c47a8c306c495f94d2ec2fe8f611178 \
+ 9b48ac38829b538233f99c0aa8cacf50 \
+ ea266ae77ac14290ceb2eafa56c1de83"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+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
new file mode 100644
index 0000000000..e8c616c788
--- /dev/null
+++ b/graphics/mangohud/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mangohud: mangohud (Performance Overlay)
+mangohud:
+mangohud: MangoHud is a Vulkan and OpenGL overlay for monitoring FPS,
+mangohud: temperatures, CPU/GPU load and more.
+mangohud:
+mangohud: Homepage: https://github.com/flightlessmango/MangoHud
+mangohud:
+mangohud:
+mangohud:
+mangohud:
+mangohud:
diff --git a/graphics/mapcrafter/mapcrafter.SlackBuild b/graphics/mapcrafter/mapcrafter.SlackBuild
index 1aefc04859..5ad5e418d6 100644
--- a/graphics/mapcrafter/mapcrafter.SlackBuild
+++ b/graphics/mapcrafter/mapcrafter.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for "mapcrafter".
@@ -24,10 +24,13 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mapcrafter
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,4 +104,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mcomix/README b/graphics/mcomix/README
index 0bb478ae18..4ee2c79199 100644
--- a/graphics/mcomix/README
+++ b/graphics/mcomix/README
@@ -1,20 +1,12 @@
-mcomix (comic book viewer)
+mcomix (comic book reader)
-MComix is a user-friendly, customizable image viewer. It is specifically
-designed to handle comic books, but also serves as a generic viewer. It
-reads images in ZIP, RAR, 7Zip or tar archives as well as plain image files. It
-is written in Python and uses GTK+ through the PyGTK bindings.
+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 the Comix project, and aims to add bug fixes and stability
-improvements after Comix development came to a halt in late 2009.
+Optional runtime dependencies:
-OPTIONAL DEPENDENCIES:
-You also need either the "unrar" or the "rar" program installed if you wish
-to read RAR (.cbr) archives.
-
-Alternatively, MComix can be built over the optional dependency libunrar
-from Rarlab.
-
-To read 7Zip archives, you need to have the "7z" program installed. Likewise,
-"lha" is needed to open LHA/LZA archives. Note that "7z" can be used as
-substitute for both "unrar" and "lha".
+- unrar (for .cbr support)
+- p7zip (for .cb7 support)
+- mupdf (for .pdf support)
diff --git a/graphics/mcomix/doinst.sh b/graphics/mcomix/doinst.sh
index aea0f894eb..3e5691a052 100644
--- a/graphics/mcomix/doinst.sh
+++ b/graphics/mcomix/doinst.sh
@@ -2,12 +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 [ -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
+ /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
index 03a72c7275..2795c1b22c 100644
--- a/graphics/mcomix/mcomix.SlackBuild
+++ b/graphics/mcomix/mcomix.SlackBuild
@@ -1,26 +1,34 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mcomix
-# written by Joze Zobec <jozze.zepl@gmail.com>
+# Written by B. Watson (urchlay@slackware.uk)
-# modified by B. Watson <yalhcru@gmail.com>
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 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:-1.2.1}
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -30,24 +38,17 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
+# 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
@@ -55,32 +56,42 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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
-
-python setup.py install --single-version-externally-managed \
- --root=$PKG \
- --prefix=/usr \
- --record mcomix-files.txt
-
-# man page already gzipped, nice
-mv $PKG/usr/share/man $PKG/usr/man
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README PKG-INFO COPYING $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 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 {} +
+
+export PYTHONPATH=/opt/python3.9/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:-tgz}
+/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
index 235888c5d2..c50562ab6d 100644
--- a/graphics/mcomix/mcomix.info
+++ b/graphics/mcomix/mcomix.info
@@ -1,10 +1,12 @@
PRGNAM="mcomix"
-VERSION="1.2.1"
-HOMEPAGE="http://mcomix.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/project/mcomix/MComix-1.2.1/mcomix-1.2.1.tar.bz2"
-MD5SUM="1d05ed7596bd670e5b3a97896e6d4d47"
+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=""
+REQUIRES="python3-setuptools-opt"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/mcomix/slack-desc b/graphics/mcomix/slack-desc
index f13a70e456..a049e626a9 100644
--- a/graphics/mcomix/slack-desc
+++ b/graphics/mcomix/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-mcomix: mcomix (comic book viewer)
+mcomix: mcomix (comic book reader)
mcomix:
mcomix: MComix is a user-friendly, customizable image viewer. It is
-mcomix: specifically designed to handle comic books, but also serves as a
-mcomix: generic viewer. It reads images in ZIP, RAR, 7Zip or tar archives as
-mcomix: well as plain image files. It is written in Python and uses GTK+
-mcomix: through the PyGTK bindings.
+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: Homepage: mcomix.sourceforge.net
mcomix:
mcomix:
diff --git a/graphics/meh/README b/graphics/meh/README
index 47f6078f41..bd5ee48a12 100644
--- a/graphics/meh/README
+++ b/graphics/meh/README
@@ -1,3 +1,5 @@
+meh (image viewer for X)
+
meh is a small, simple, super fast image viewer using raw XLib.
It is similar to feh, but faster and simpler.
diff --git a/graphics/meh/meh.SlackBuild b/graphics/meh/meh.SlackBuild
index 1527504e92..cdf5ba03db 100644
--- a/graphics/meh/meh.SlackBuild
+++ b/graphics/meh/meh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for meh
@@ -20,17 +20,20 @@
# (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.
# - Add man page, BUILD=2
# - Script simplifications.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meh
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,11 +75,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# Fixes for giflib-5.1 from https://github.com/jhawthorn/meh
patch -p1 < $CWD/meh-giflib.patch
@@ -94,4 +98,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/meh/slack-desc b/graphics/meh/slack-desc
index 6f3cadad53..20fa771db3 100644
--- a/graphics/meh/slack-desc
+++ b/graphics/meh/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-meh: meh (image viewer)
+meh: meh (image viewer for X)
meh:
meh: meh is a small, simple, super fast image viewer using raw XLib.
meh: It is similar to feh, but faster and simpler.
diff --git a/graphics/meshlab/README b/graphics/meshlab/README
index 22fe7cf1d4..e4a08de111 100644
--- a/graphics/meshlab/README
+++ b/graphics/meshlab/README
@@ -1,5 +1,7 @@
-MeshLab is an open source, portable, and extensible system for the
-processing and editing of unstructured 3D triangular meshes. The system is
-aimed to help the processing of the typical not-so-small unstructured
-models arising in 3D scanning, providing a set of tools for editing,
-cleaning, healing, inspecting, rendering and converting this kind of mesh.
+MeshLab is an open source, portable, and extensible system for
+the processing and editing of unstructured large 3D triangular
+meshes. It is aimed to help the processing of the typical not-so-small
+unstructured models arising in 3D scanning, providing a set of tools
+for editing, cleaning, healing, inspecting, rendering and converting
+this kind of meshes. These tools include MeshLab proper, a versatile
+program with a graphical user interface.
diff --git a/graphics/meshlab/doinst.sh b/graphics/meshlab/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/graphics/meshlab/doinst.sh
+++ b/graphics/meshlab/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/meshlab/lapack.patch b/graphics/meshlab/lapack.patch
deleted file mode 100644
index 81c0946340..0000000000
--- a/graphics/meshlab/lapack.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nur meshlab.orig/src/external/levmar-2.3/lm.h meshlab/src/external/levmar-2.3/lm.h
---- meshlab.orig/src/external/levmar-2.3/lm.h 2010-04-28 17:30:47.000000000 +1000
-+++ meshlab/src/external/levmar-2.3/lm.h 2010-05-13 20:17:35.488505907 +1000
-@@ -27,7 +27,6 @@
-
- /* specify whether to use LAPACK or not. The first option is strongly recommended */
- #define HAVE_LAPACK /* use LAPACK */
-- #undef HAVE_LAPACK /* uncomment this to force not using LAPACK */
-
- /* to avoid the overhead of repeated mallocs(), routines in Axb.c can be instructed to
- * retain working memory between calls. Such a choice, however, renders these routines
diff --git a/graphics/meshlab/meshlab.SlackBuild b/graphics/meshlab/meshlab.SlackBuild
index 9348471b81..0263dd9551 100644
--- a/graphics/meshlab/meshlab.SlackBuild
+++ b/graphics/meshlab/meshlab.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for meshlab
@@ -22,11 +22,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org:
+# - use the correct filename in the github URL.
+# - make .desktop file validate.
+# - fix doinst.sh.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=meshlab
-VERSION=${VERSION:-2016.12}
-VCGLIBVER=${VCGLIBVER:-1.0.1}
+SRCNAM=Meshlab
+VCGLIB=vcglib
+VERSION=${VERSION:-2021.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +45,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,7 +64,6 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -61,81 +73,61 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf meshlab
-tar xvf $CWD/meshlab-$VERSION.tar.gz --transform="s#^meshlab-$VERSION/#meshlab/#"
+FILENAME=$PRGNAM-$SRCNAM-$VERSION
-rm -rf vcglib
-tar xvf $CWD/vcglib-$VCGLIBVER.tar.gz --transform="s#^vcglib-$VCGLIBVER/#vcglib/#"
-
-chown -R root:root meshlab vcglib
-find -L meshlab vcglib \
+rm -rf $FILENAME
+tar xvf $CWD/$FILENAME.tar.gz
+cd $FILENAME/src
+tar xvf $CWD/$VCGLIB-$VERSION.tar.gz --transform="s#$VCGLIB-$VERSION/#$VCGLIB/#"
+cd ..
+chown -R root: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 {} \;
-
-cd meshlab
-
-# patches from or via Arch
-patch -p1 < $CWD/patches/mpir.patch # use external library, see also below
-patch -p1 < $CWD/patches/bzip2.patch # use external library, see also below
-patch -p1 < $CWD/patches/muparser.patch # use external library, see also below
-patch -p1 < $CWD/patches/levmar.patch # use external library, see also below
-patch -p1 < $CWD/patches/lapack.patch # enable lapack
-# fix derpy filename
-mv src/plugins_experimental/io_TXT/io_txt.pro src/plugins_experimental/io_TXT/io_TXT.pro
-# fix from git: https://github.com/cnr-isti-vclab/meshlab/commit/1e2a54c
-patch -p1 < $CWD/patches/1e2a54cee2fcb2f0fc15fd83c1014e1813eb75df.patch
-# fix from git: https://github.com/cnr-isti-vclab/meshlab/commit/612388c
-patch -p1 < $CWD/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch
-
-# Build the supplied dependencies (they will be statically linked into meshlab)
-cd src/external
-
- # don't use meshlab's ancient mpir
- rm -rf inc/ lib/ # <-- mpir in these dirs
- # and don't use meshlab's ancient bzip2, muParser, levmar
- sed -i \
- -e 's/bzip2.*pro//' -e '/muparser/d' -e '/levmar/d' \
- external.pro
-
- qmake-qt5 -recursive external.pro \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS -std=c++11"
- make
-
-cd ..
-
-# Build meshlab itself
-qmake-qt5 -recursive meshlab_mini.pro \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS -std=c++11"
-make
-
-mkdir -p $PKG/opt
-cp -a distrib/ $PKG/opt/meshlab
-
-mkdir -p $PKG/usr/bin
-ln -s \
- /opt/meshlab/{meshlab,meshlabserver} \
- $PKG/usr/bin
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+
+mkdir -p build
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DALLOW_SYSTEM_QHULL=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -G Ninja \
+ -B ./build \
+ -S ./src
+# shellcheck disable=SC2046 # allow MAKEFLAGS to split when passing multiple flags.
+DESTDIR=$PKG "${NINJA:=ninja}" $(grep -oP -- '-+[A-z]+ ?[0-9]*'<<<"${MAKEFLAGS:--j1}") -C "./build" install
+
+# fix plugin folder
+if [ $LIBDIRSUFFIX ] ; then
+ mkdir -p $PKG/usr/lib/$PRGNAM
+ cd $PKG/usr/lib/$PRGNAM
+ ln -s ../../lib$LIBDIRSUFFIX/$PRGNAM/plugins plugins
+ cd -
+fi
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/pixmaps
-cp \
- $CWD/meshlab_{32x32,48x48}.xpm \
- $PKG/usr/share/pixmaps
+# Install and compress man pages
+mkdir -p $PKG/usr/man/man1
+cp docs/man/$PRGNAM.1 $PKG/usr/man/man1/
+if [ -d $PKG/usr/man ]; then
+ ( 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
+ )
+fi
-mkdir -p $PKG/usr/share/applications
-cp \
- $CWD/meshlab.desktop \
- $PKG/usr/share/applications
+# fix version in desktop entry
+#sed -i "s#Version=.*#Version=$VERSION#" $PKG/usr/share/applications/$PRGNAM.desktop
+# 20220227 bkw: wrong. Version in a .desktop file is the version of the
+# desktop file specification (usually 1.0), not the version of the application.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- $TMP/$PRGNAM/LICENSE.txt $TMP/$PRGNAM/README.md \
+ LICENSE.txt README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -144,4 +136,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/meshlab/meshlab.desktop b/graphics/meshlab/meshlab.desktop
deleted file mode 100644
index f92badb0f1..0000000000
--- a/graphics/meshlab/meshlab.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=MeshLab
-Name[en_GB]=MeshLab
-GenericName=Mesh processing
-GenericName[en_GB]=Mesh processing
-Comment=View and process meshes
-Type=Application
-Exec=meshlab
-Icon=/usr/share/pixmaps/meshlab_32x32.xpm
-Terminal=false
-MimeType=model/mesh;application/x-3ds;image/x-3ds;application/sla;
-Categories=Graphics;3DGraphics;Viewer;Qt;
diff --git a/graphics/meshlab/meshlab.info b/graphics/meshlab/meshlab.info
index 90519d433f..314da964b4 100644
--- a/graphics/meshlab/meshlab.info
+++ b/graphics/meshlab/meshlab.info
@@ -1,12 +1,12 @@
PRGNAM="meshlab"
-VERSION="2016.12"
+VERSION="2021.10"
HOMEPAGE="http://www.meshlab.net/"
-DOWNLOAD="https://github.com/cnr-isti-vclab/meshlab/archive/v2016.12/meshlab-2016.12.tar.gz \
- https://github.com/cnr-isti-vclab/vcglib/archive/v1.0.1/vcglib-1.0.1.tar.gz"
-MD5SUM="74c5732656633aa4a3c8649a306d4c15 \
- 4fee598c1b3c4f8ceca7086fd68cf75d"
+DOWNLOAD="https://github.com/cnr-isti-vclab/meshlab/archive/Meshlab-2021.10/meshlab-Meshlab-2021.10.tar.gz \
+ https://github.com/cnr-isti-vclab/vcglib/archive/2021.10/vcglib-2021.10.tar.gz"
+MD5SUM="bb1d2f373549cce1d48fb589033f6b2a \
+ 12cce090b9292e3306f6ee4848e58e1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="levmar muParser mpir qt5"
+REQUIRES="levmar muParser mpir"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/meshlab/meshlab_32x32.xpm b/graphics/meshlab/meshlab_32x32.xpm
deleted file mode 100644
index d5a042fec8..0000000000
--- a/graphics/meshlab/meshlab_32x32.xpm
+++ /dev/null
@@ -1,118 +0,0 @@
-/* XPM */
-static char *meshlab__[] = {
-/* columns rows colors chars-per-pixel */
-"32 32 80 1",
-" c #060606",
-". c #0B0B0B",
-"X c #10100F",
-"o c #131312",
-"O c #151B14",
-"+ c #1D1D1D",
-"@ c #142012",
-"# c #21331D",
-"$ c #242424",
-"% c #2A2A2A",
-"& c #313131",
-"* c #3A3636",
-"= c #3B3B3B",
-"- c #334A2C",
-"; c #354C31",
-": c #335130",
-"> c #46583E",
-", c #424242",
-"< c #474E47",
-"1 c #4B4B4B",
-"2 c #534D4D",
-"3 c #535353",
-"4 c #525A50",
-"5 c #5B5B5B",
-"6 c #615C5C",
-"7 c #4E6A48",
-"8 c #487044",
-"9 c #4C7448",
-"0 c #507E4C",
-"q c #547A52",
-"w c #5C7E5A",
-"e c #636363",
-"r c #6B6B6B",
-"t c #627C60",
-"y c #727272",
-"u c #7D7575",
-"i c #767A76",
-"p c #7B7B7B",
-"a c #52814E",
-"s c #5A8C54",
-"d c #61945B",
-"f c #649A5E",
-"g c #6D8C63",
-"h c #718E65",
-"j c #789A6A",
-"k c #7F937E",
-"l c #7CB473",
-"z c #81B878",
-"x c #88BE7E",
-"c c #818181",
-"v c #8B8B8B",
-"b c #939393",
-"n c #949A92",
-"m c #9B9B9B",
-"M c #8CBF82",
-"N c #A4A4A4",
-"B c #ACACAC",
-"V c #AAB5A9",
-"C c #B4B4B4",
-"Z c #B7B9B7",
-"A c #BDBDBD",
-"S c #C2B9B9",
-"D c #91C586",
-"F c #93C489",
-"G c #9AC28A",
-"H c #9BCB8F",
-"J c #A0CB90",
-"K c #B5C0B5",
-"L c #BDC6BD",
-"P c #C3C3C3",
-"I c #C7CDC7",
-"U c #CBCBCB",
-"Y c #D4D3D3",
-"T c #DCDCDC",
-"R c #E0DCDC",
-"E c #E3E3E3",
-"W c #EAEAEA",
-"Q c #F5F5F4",
-"! c #F8F8F8",
-"~ c None",
-/* pixels */
-"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",
-"~~~~~~~~~~~~TEEEEEEE~~~~~~~~~~~~",
-"~~~~~~~~~TTEEEEETTTTTYY~~~~~~~~~",
-"~~~~~~~TTEEEEETTTYYYYUUPP~~~~~~~",
-"~~~~~~EEEEEETTTYYUUUPPPABb~~~~~~",
-"~~~~~EEWWEETTYYUPPPPAANp53,~~~~~",
-"~~~~EWWWWETYYUPAAAABbr1*1ryb~~~~",
-"~~~EEWWWETYYUPAACCv5,1rrbNCZZ~~~",
-"~~~EWWWETYYUPAZBer1eicbbmmNNB~~~",
-"~~TEWWEETYUPACvrppvvccppppcvbm~~",
-"~~TEEEETYIPAAmmbvr131,1335erpc~~",
-"~YTEEETYIAAACmr3=$%$+O++%&=3e1&~",
-"~YTEEETUAAABc1&$ooX.o.. .o+%&$%~",
-"~YTEETYPAZmr&O+oO>7:iby*. .+$%~",
-"~YEEETUPZb5$o4no@jFdVQTu .o$%~",
-"~TEWEYUAm5+O;gh#-GDsL!Eu..+%&&&~",
-"~TWWTYPBy$&<8MJGJHzqW!T2oO+&&&&~",
-"~EWETUAm5.3ZtfxDFlaK!QS+$%*&&&&~",
-"~EETYPCb5$&BEk9a0wL!!R6+%,e,&&&~",
-"~ETYUPCmr=$o%pZITQ!!Y6+==ev3&&&~",
-"~~TYPACmc5,*$oo$,351$%=3rbB5&&&~",
-"~~YIAAZNbcr531&%%&***5rpNCA5&&~~",
-"~~UPAAACNmvciye3eeer5cbCAAA3&&~~",
-"~~~AAAAAZBNmbbbvbbmNNCAAAAZ1&~~~",
-"~~~AAAAAAAZZCCCCCZAAAAAAAAC=&~~~",
-"~~~~AAAAAAAAAAAAAAAAAAAAAAN&~~~~",
-"~~~~~AAAAAAAAAAAAAAAAAAAAAc~~~~~",
-"~~~~~~AAAAAAAAAAAAAAAAAAAA~~~~~~",
-"~~~~~~~AAAAAAAAAAAAAAAAAA~~~~~~~",
-"~~~~~~~~~AAAAAAAAAAAAAA~~~~~~~~~",
-"~~~~~~~~~~~AAAAAAAAAA~~~~~~~~~~~",
-"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
-};
diff --git a/graphics/meshlab/meshlab_48x48.xpm b/graphics/meshlab/meshlab_48x48.xpm
deleted file mode 100644
index 08dcc6dcc7..0000000000
--- a/graphics/meshlab/meshlab_48x48.xpm
+++ /dev/null
@@ -1,170 +0,0 @@
-/* XPM */
-static char *meshlab__[] = {
-/* columns rows colors chars-per-pixel */
-"48 48 116 2",
-" c #060606",
-". c #0B0B0B",
-"X c #0E120D",
-"o c #101A0F",
-"O c #141414",
-"+ c #141C13",
-"@ c #1B1C1B",
-"# c #221F1F",
-"$ c #182416",
-"% c #1E201D",
-"& c #212A1E",
-"* c #23361F",
-"= c #242424",
-"- c #2C2B2B",
-"; c #312E2E",
-": c #253223",
-"> c #303E2A",
-", c #313131",
-"< c #383535",
-"1 c #323C31",
-"2 c #3B3C3B",
-"3 c #32492D",
-"4 c #374434",
-"5 c #374C30",
-"6 c #3B4C36",
-"7 c #345331",
-"8 c #3E613A",
-"9 c #45623F",
-"0 c #444444",
-"q c #4B4B4B",
-"w c #4F544E",
-"e c #535353",
-"r c #5B5A5A",
-"t c #645E5E",
-"y c #53694B",
-"u c #4A7347",
-"i c #4E724C",
-"p c #4D7C49",
-"a c #53744D",
-"s c #507E4C",
-"d c #5A6059",
-"f c #587652",
-"g c #547950",
-"h c #5B795A",
-"j c #636363",
-"k c #6C6C6C",
-"l c #6B736B",
-"z c #747474",
-"x c #7B7B7B",
-"c c #54824F",
-"v c #558450",
-"b c #578952",
-"n c #5D8F58",
-"m c #5D9258",
-"M c #63975D",
-"N c #62985C",
-"B c #6F8268",
-"V c #708B6F",
-"C c #679C60",
-"Z c #739566",
-"A c #728B70",
-"S c #799177",
-"D c #7A9C70",
-"F c #7A9279",
-"G c #71A16A",
-"H c #73A96B",
-"J c #7EB476",
-"K c #83937C",
-"L c #84A775",
-"P c #87A978",
-"I c #83BA7B",
-"U c #838383",
-"Y c #8B8787",
-"T c #8C8C8C",
-"R c #948B8B",
-"E c #849583",
-"W c #8C9E8B",
-"Q c #949494",
-"! c #9B9B9B",
-"~ c #8FA18E",
-"^ c #90A08E",
-"/ c #89BF80",
-"( c #94BD86",
-") c #92A291",
-"_ c #9FA09F",
-"` c #A3A3A3",
-"' c #ABA4A4",
-"] c #A5ACA4",
-"[ c #ABABAB",
-"{ c #A8B3A8",
-"} c #B3B3B3",
-"| c #BCB4B4",
-" . c #BDBDBD",
-".. c #8CC282",
-"X. c #91C386",
-"o. c #93C689",
-"O. c #9CC58B",
-"+. c #97C88B",
-"@. c #9CCA8E",
-"#. c #9BCB90",
-"$. c #A1CC93",
-"%. c #B7C1B7",
-"&. c #BCC1BC",
-"*. c #C3C3C3",
-"=. c #CCC3C3",
-"-. c #CCCCCC",
-";. c #D4D4D4",
-":. c #DAD6D6",
-">. c #DCDCDC",
-",. c #E1DFDF",
-"<. c #E3E3E3",
-"1. c #EAEAEA",
-"2. c #F0EEEE",
-"3. c #F4F4F4",
-"4. c #F8F8F8",
-"5. c None",
-/* pixels */
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.<.<.<.<.<.<.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.>.>.<.<.<.<.<.<.<.<.<.<.<.>.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5.>.>.>.<.<.<.<.<.<.<.>.>.>.>.>.>.>.:.;.;.5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.>.>.>.<.<.<.<.<.<.>.>.>.>.>.:.:.:.;.;.;.;.-.-.*.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.>.>.<.<.<.<.<.<.<.>.>.>.>.:.;.;.;.;.;.-.-.-.-.*.*. .5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.<.<.<.<.<.<.<.<.<.>.>.>.>.:.;.;.-.-.-.-.-.-.*.*.*. . .} [ ! 5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.<.<.<.<.<.<.<.<.<.>.>.>.:.;.;.-.-.-.-.*.*.*.*.*. . . .[ U z k z 5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.<.<.<.1.1.1.<.<.<.>.>.:.;.;.;.-.-.*.*.*.*.*. . . . .! T r r 0 e < , 5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.<.<.1.1.1.1.1.<.<.>.>.:.;.;.-.*.*.*. . . . . .} [ Q z q 0 < 0 q r j k T 5.5.5.5.5.5.",
-"5.5.5.5.5.5.<.<.1.1.1.1.1.<.>.>.:.;.-.-.*.*. . . . . .} ! Y z 0 2 e 0 q k U Q ! [ } 5.5.5.5.5.5.",
-"5.5.5.5.5.<.<.1.1.1.1.1.<.<.>.:.;.;.-.*.*. . . .} } ` U r e 0 2 e k z z Q ` [ } | . .5.5.5.5.5.",
-"5.5.5.5.<.<.<.1.1.1.1.<.<.>.:.;.-.-.*.*. . . .} k k j q e r z z U T Q ! ` ` ` ` ' [ [ } 5.5.5.5.",
-"5.5.5.5.<.<.<.1.1.1.<.<.>.:.;.-.-.*.*. . .} ! x e k k j x Y U U T T T T T T T T Q Q ! ` 5.5.5.5.",
-"5.5.5.>.<.<.<.1.1.<.<.<.:.;.-.-.*.*. . .[ T z j U x U Y T Y U x x x z z z z x x U U T Q ! 5.5.5.",
-"5.5.5.>.<.<.<.1.<.<.<.>.;.-.*.*.*. . .[ Q Q Q ! Q U x r r j q e q q r r r j j j k z x U Y 5.5.5.",
-"5.5.5.>.<.<.<.<.<.<.>.:.-.*.*. . . . .} [ ! U x j q 2 , < , , - = , < , 2 0 0 q e j k z j < 5.5.",
-"5.5.:.>.<.<.<.<.<.<.>.;.-.*. . . . .} ` T j e q , = = = = @ @ O O @ @ @ = - - < 0 e r r 2 , 5.5.",
-"5.5.:.>.<.<.<.<.<.>.;.-.*. . . . .[ Q k q < , = O O O . . . . . . . O @ = = - 2 , = = 5.5.",
-"5.5.;.>.<.<.<.<.>.:.;.*. . . .} ` T j 2 - @ O . O @ & : : $ 2 q 0 < = O . . . . O @ @ = = - 5.5.",
-"5.;.:.>.<.<.<.<.>.;.-.*. . .} ! x r , @ O = % X + > y f a 7 l ` ! Y k , . . O @ @ = - - 5.",
-"5.;.:.>.<.<.<.<.>.;.-.*. .[ T k 0 = . % d ] w X o 5 L ( J v E 3.1.,.| r . . O @ @ - , 5.",
-"5.;.:.<.<.1.<.>.:.-.*. .} Q k 0 @ O & 6 B K 4 o $ 9 ( #.I b W 4.4.1.=.t . . O O @ = - , < 5.",
-"5.;.>.<.1.1.<.>.;.-.*. .! z q @ O + 3 a D P 9 * 3 Z $.o.J p { 4.4.1.=.e . . O - - , , , , < 5.",
-"5.:.>.<.1.1.>.:.;.*. .[ x e = @ q 1 8 G X.$.O.( O.$.#./ C i <.4.4.<.| ; . O O O - , , , , , < 5.",
-"5.>.<.1.1.<.>.;.-.*.} ! k < O < z x 9 M I o.@.@.$.+...H v W 3.4.3.:.R @ @ @ @ = - , , , , , < 5.",
-"5.>.<.1.<.<.:.;.-. .} Q j = . 2 ! -.E u N I ....X.I H s A >.4.4.2.=.t O = - , 2 2 , , , , , , 5.",
-"5.<.<.<.<.>.;.-.*. .[ T j 2 O - T ;.1.] h s b m n c g ^ <.4.4.3.>.R # = - , 2 e r < , , , , < 5.",
-"5.5.<.<.>.:.;.-.*.} [ Q k q , @ = q Q *.&.) F V S ~ %.1.4.4.3.,.' < @ - , , r x z 2 , , , , 5.5.",
-"5.5.<.>.>.;.-.*. .} ' Q z e 2 - = O O , r _ *.>.1.3.4.4.4.3.:.Y , @ , 0 0 q z T U 0 , , , , 5.5.",
-"5.5.>.>.;.-.*.*. .} [ ! U k e 2 < , = O . . @ < r k x T Y j - @ - 2 2 e j U Q ` ! q , , , , 5.5.",
-"5.5.5.:.;.-.*. . . .[ ` Q x k e q 0 0 2 - @ @ @ O O O O @ @ = 2 2 q 0 z U Q [ } ` q , , , , 5.5.",
-"5.5.5.;.-.*. . . . .} ' ! T U z k j r r e - , - , < < 2 0 < < e j j x T [ } . .` q , , , 5.5.5.",
-"5.5.5.-.*.*. . . . . .} ` ! Q T U x z z k r r 0 r q j e k j q r T x [ } . . . .! 0 , , , 5.5.5.",
-"5.5.5.5.*. . . . . . . .} [ ` ! Q T Y U U x x k U k x x Y U U U ` [ . . . . . .Q 0 , , 5.5.5.5.",
-"5.5.5.5. . . . . . . . . .} } [ ` ! ! Q Q Q Q Q ! Q ! ` ' [ } } . . . . . . . .T 2 , , 5.5.5.5.",
-"5.5.5.5.5. . . . . . . . . . . .} } } [ [ [ [ [ } } } . . . . . . . . . . . . .U 2 , 5.5.5.5.5.",
-"5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .} z < 5.5.5.5.5.5.",
-"5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[ r , 5.5.5.5.5.5.",
-"5.5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .! 0 5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Y 5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . . . . . . . .5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . . . . . .5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5. . . . . . . . . . . . . . . . . . . . .5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5. . . . . . . . . . . . . . .5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5. . . . . . . . .5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.",
-"5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5.5."
-};
diff --git a/graphics/meshlab/patches/1e2a54cee2fcb2f0fc15fd83c1014e1813eb75df.patch b/graphics/meshlab/patches/1e2a54cee2fcb2f0fc15fd83c1014e1813eb75df.patch
deleted file mode 100644
index 3d4638bdeb..0000000000
--- a/graphics/meshlab/patches/1e2a54cee2fcb2f0fc15fd83c1014e1813eb75df.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 1e2a54cee2fcb2f0fc15fd83c1014e1813eb75df Mon Sep 17 00:00:00 2001
-From: Guido Ranzuglia <guido.ranzuglia@isti.cnr.it>
-Date: Mon, 9 Jan 2017 17:51:01 +0100
-Subject: [PATCH] - added locale support to MeshLab&MeshLabServer -fixed "not
- enough memory" bug in MeshLabServer
-
----
- src/meshlab/main.cpp | 2 ++
- src/meshlabserver/mainserver.cpp | 21 ++++++++++++++++-----
- 2 files changed, 18 insertions(+), 5 deletions(-)
-
-diff --git a/src/meshlab/main.cpp b/src/meshlab/main.cpp
-index eee69b9..068e8ab 100644
---- a/src/meshlab/main.cpp
-+++ b/src/meshlab/main.cpp
-@@ -24,11 +24,13 @@
- #include <QMessageBox>
- #include "mainwindow.h"
- #include <QString>
-+#include <clocale>
-
- int main(int argc, char *argv[])
- {
-
- MeshLabApplication app(argc, argv);
-+ std::setlocale(LC_ALL, "C");
- QLocale::setDefault(QLocale::C);
- QCoreApplication::setOrganizationName(MeshLabApplication::organization());
- #if QT_VERSION >= 0x050100
-diff --git a/src/meshlabserver/mainserver.cpp b/src/meshlabserver/mainserver.cpp
-index ab9a7c0..28b86c3 100644
---- a/src/meshlabserver/mainserver.cpp
-+++ b/src/meshlabserver/mainserver.cpp
-@@ -29,7 +29,10 @@
- #include <common/filterscript.h>
- #include <common/meshlabdocumentxml.h>
- #include <common/mlexception.h>
-+#include <common/filterparameter.h>
- #include <wrap/qt/qt_thread_safe_memory_info.h>
-+#include "../meshlab/mainwindow.h"
-+#include <clocale>
-
- #include <QFileInfo>
-
-@@ -619,11 +622,11 @@ struct OutProject
-
- int main(int argc, char *argv[])
- {
--
--
- FILE* logfp = stdout;
- FILE* dumpfp = NULL;
- MeshLabApplication app(argc, argv);
-+ std::setlocale(LC_ALL, "C");
-+ QLocale::setDefault(QLocale::C);
- if(argc == 1)
- {
- commandline::usage();
-@@ -645,9 +648,17 @@ int main(int argc, char *argv[])
- exit(-1);
- }
-
-- QSettings st;
-- QVariant mbvar = st.value("MeshLab::System::maxGPUMemDedicatedToGeometry");
-- std::ptrdiff_t maxgpumem = (std::ptrdiff_t)mbvar.toInt() * (float)(1024 * 1024);
-+ QSettings settings(MeshLabApplication::organization(),MeshLabApplication::appArchitecturalName(MeshLabApplication::HW_64BIT));
-+
-+ QVariant xmlgpupar = settings.value(MainWindowSetting::maximumDedicatedGPUMem());
-+
-+ QDomDocument doc;
-+ doc.setContent(xmlgpupar.toString(), false);
-+
-+ QDomElement paramelem = doc.firstChild().toElement();
-+ int gpumemmb = paramelem.attribute("value").toInt();
-+
-+ std::ptrdiff_t maxgpumem = (std::ptrdiff_t) gpumemmb * (float)(1024 * 1024);
- vcg::QtThreadSafeMemoryInfo gpumeminfo(maxgpumem);
-
- MeshDocument meshDocument;
diff --git a/graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch b/graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch
deleted file mode 100644
index d0b7abcdd2..0000000000
--- a/graphics/meshlab/patches/612388c42d00ab8eba1d9626a7da33a18c724d76.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 612388c42d00ab8eba1d9626a7da33a18c724d76 Mon Sep 17 00:00:00 2001
-From: bartoszek <bartus@yopmail.com>
-Date: Sun, 15 Jan 2017 22:19:18 +0100
-Subject: [PATCH] add missing linker flag for linux
-
-also extend post link file copying to include linux build ( linking is somewhat strange but wont work without )
----
- src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro b/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro
-index 814bd31..a93f67a 100644
---- a/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro
-+++ b/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.pro
-@@ -2,6 +2,7 @@ include (../../shared.pri)
-
- macx:QMAKE_CXX = clang++-mp-3.9
- macx:QMAKE_LFLAGS += -L/opt/local/lib/libomp -lomp
-+linux:QMAKE_LFLAGS += -lgomp
- macx:QMAKE_CXXFLAGS_RELEASE+= -O3 -DRELEASE -funroll-loops -ffast-math -Wno-sign-compare -Wno-unused-parameter
-
- QMAKE_CXXFLAGS+=-fopenmp
-@@ -22,4 +23,4 @@ DEFINES += FOR_RELEASE
-
- #PRE_TARGETDEPS += ./filter_screened_poisson.xml
- macx:QMAKE_POST_LINK = "cp "$$_PRO_FILE_PWD_/$$TARGET".xml ../../distrib/plugins/"$$TARGET".xml"
--
-+linux:QMAKE_POST_LINK = "cp "$$_PRO_FILE_PWD_/$$TARGET".xml ../../distrib/plugins/"$$TARGET".xml; cd ../../distrib/plugins/ ; ln -s "$$TARGET".xml lib"$$TARGET".xml"
diff --git a/graphics/meshlab/patches/bzip2.patch b/graphics/meshlab/patches/bzip2.patch
deleted file mode 100644
index 49a822aa74..0000000000
--- a/graphics/meshlab/patches/bzip2.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Naur -r meshlab.orig/src/meshlabplugins/edit_arc3D/edit_arc3D.pro meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro
---- meshlab.orig/src/meshlabplugins/edit_arc3D/edit_arc3D.pro 2016-10-31 21:31:43.301625217 +0100
-+++ meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro 2016-10-31 21:36:46.694965117 +0100
-@@ -35,9 +35,9 @@
- win32-msvc2013:LIBS += ../../external/lib/win32-msvc2013/bz2.lib
- win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/bz2.lib
- win32-g++:LIBS += ../../external/lib/win32-gcc/libbz2.a
--linux-g++:LIBS += ../../external/lib/linux-g++/libbz2.a
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libbz2.a
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libbz2.a
-+linux-g++:LIBS += -lbz2
-+linux-g++-32:LIBS += -lbz2
-+linux-g++-64:LIBS += -lbz2
- mac:LIBS += -lbz2
-
- win32-msvc2005:INCLUDEPATH += ../../external/bzip2-1.0.5
-@@ -48,9 +48,6 @@
- win32-msvc2015:INCLUDEPATH += ../../external/bzip2-1.0.5
-
- win32-g++:INCLUDEPATH += ../../external/bzip2-1.0.5
--linux-g++:INCLUDEPATH += ../../external/bzip2-1.0.5
--linux-g++-32:INCLUDEPATH += ../../external/bzip2-1.0.5
--linux-g++-64:INCLUDEPATH += ../../external/bzip2-1.0.5
-
-
- CONFIG(release, debug|release) {
diff --git a/graphics/meshlab/patches/lapack.patch b/graphics/meshlab/patches/lapack.patch
deleted file mode 100644
index 81c0946340..0000000000
--- a/graphics/meshlab/patches/lapack.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nur meshlab.orig/src/external/levmar-2.3/lm.h meshlab/src/external/levmar-2.3/lm.h
---- meshlab.orig/src/external/levmar-2.3/lm.h 2010-04-28 17:30:47.000000000 +1000
-+++ meshlab/src/external/levmar-2.3/lm.h 2010-05-13 20:17:35.488505907 +1000
-@@ -27,7 +27,6 @@
-
- /* specify whether to use LAPACK or not. The first option is strongly recommended */
- #define HAVE_LAPACK /* use LAPACK */
-- #undef HAVE_LAPACK /* uncomment this to force not using LAPACK */
-
- /* to avoid the overhead of repeated mallocs(), routines in Axb.c can be instructed to
- * retain working memory between calls. Such a choice, however, renders these routines
diff --git a/graphics/meshlab/patches/levmar.patch b/graphics/meshlab/patches/levmar.patch
deleted file mode 100644
index a43a2aeb1e..0000000000
--- a/graphics/meshlab/patches/levmar.patch
+++ /dev/null
@@ -1,112 +0,0 @@
---- ../meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro 2016-10-31 00:00:30.266005497 +0100
-+++ meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro 2016-10-31 21:55:34.158322851 +0100
-@@ -51,9 +51,9 @@
- win32-msvc2012:LIBS += ../../external/lib/win32-msvc2012/levmar.lib
- win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/levmar.lib
- win32-g++:LIBS += -L../../external/lib/win32-gcc -llevmar
--linux-g++:LIBS += -L../../external/lib/linux-g++ -llevmar
--linux-g++-32:LIBS += -L../../external/lib/linux-g++-32 -llevmar
--linux-g++-64:LIBS += -L../../external/lib/linux-g++-64 -llevmar
-+linux-g++:LIBS += -llevmar
-+linux-g++-32:LIBS += -llevmar
-+linux-g++-64:LIBS += -llevmar
- macx:LIBS += $$MACLIBDIR/liblevmar.a
-
- # Please never ever uncomment this...
-diff -Naur -r ../meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h
---- ../meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h 2016-10-31 00:00:30.692667284 +0100
-+++ meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h 2016-10-31 22:10:49.158342653 +0100
-@@ -12,7 +12,7 @@
-
- #include <list>
-
--#include "../../external/levmar-2.3/lm.h"
-+#include <levmar/levmar.h>
-
-
- struct LevmarCorrelation {
-diff -Naur -r ../meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h
---- ../meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h 2016-10-31 00:00:30.692667284 +0100
-+++ meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h 2016-10-31 22:11:16.808343251 +0100
-@@ -5,7 +5,7 @@
- #include "alignset.h"
-
- #include "parameters.h"
--#include "../../external/levmar-2.3/lm.h"
-+#include <levmar/levmar.h>
-
- #include <iostream>
- #include <fstream>
-diff -Naur -r ../meshlab/src/plugins_experimental/edit_mutualcorrs/levmarmethods.h meshlab/src/plugins_experimental/edit_mutualcorrs/levmarmethods.h
---- ../meshlab/src/plugins_experimental/edit_mutualcorrs/levmarmethods.h 2016-10-31 00:00:08.816250885 +0100
-+++ meshlab/src/plugins_experimental/edit_mutualcorrs/levmarmethods.h 2016-10-31 22:23:35.671692575 +0100
-@@ -12,7 +12,7 @@
-
- #include <list>
-
--#include "../../external/levmar-2.3/lm.h"
-+#include <levmar/levmar.h>
-
-
- struct LevmarCorrelation {
-diff -Naur -r ../meshlab/src/plugins_experimental/edit_mutualcorrs/solver.h meshlab/src/plugins_experimental/edit_mutualcorrs/solver.h
---- ../meshlab/src/plugins_experimental/edit_mutualcorrs/solver.h 2016-10-31 00:00:08.816250885 +0100
-+++ meshlab/src/plugins_experimental/edit_mutualcorrs/solver.h 2016-10-31 22:24:05.935026562 +0100
-@@ -5,7 +5,7 @@
- #include "alignset.h"
-
- #include "parameters.h"
--#include "../../external/levmar-2.3/lm.h"
-+#include <levmar/levmar.h>
-
- #include <iostream>
- #include <fstream>
-diff -Naur -r ../meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h
---- ../meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h 2016-10-31 00:00:09.476243333 +0100
-+++ meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h 2016-10-31 22:30:06.391701030 +0100
-@@ -12,7 +12,7 @@
-
- #include <list>
-
--#include "../../external/levmar-2.3/lm.h"
-+#include <levmar/levmar.h>
-
-
- struct LevmarCorrelation {
-diff -Naur -r ../meshlab/src/plugins_experimental/filter_mutualglobal/solver.h meshlab/src/plugins_experimental/filter_mutualglobal/solver.h
---- ../meshlab/src/plugins_experimental/filter_mutualglobal/solver.h 2016-10-31 00:00:09.476243333 +0100
-+++ meshlab/src/plugins_experimental/filter_mutualglobal/solver.h 2016-10-31 22:29:02.815032988 +0100
-@@ -5,7 +5,7 @@
- #include "alignset.h"
-
- #include "parameters.h"
--#include "../../external/levmar-2.3/lm.h"
-+#include <levmar/levmar.h>
-
- #include <iostream>
- #include <fstream>
-diff --git a/src/plugins_experimental/edit_mutualcorrs/edit_mutualcorrs.pro b/src/plugins_experimental/edit_mutualcorrs/edit_mutualcorrs.pro
-index 049bec6..84f6ca9 100644
---- a/src/plugins_experimental/edit_mutualcorrs/edit_mutualcorrs.pro
-+++ meshlab/src/plugins_experimental/edit_mutualcorrs/edit_mutualcorrs.pro
-@@ -1,7 +1,7 @@
- include (../../shared.pri)
-
-
--HEADERS = += ./alignset.h \
-+HEADERS += ./alignset.h \
- ./levmarmethods.h \
- ./mutual.h \
- ./parameters.h \
-@@ -29,8 +29,8 @@ FORMS = edit_mutualcorrsDialog.ui
- win32-msvc2013: LIBS += ../../external/lib/win32-msvc2013/levmar.lib
- win32-msvc2015: LIBS += ../../external/lib/win32-msvc2015/levmar.lib
- win32-g++:LIBS += -L../../external -llevmar
--linux-g++:LIBS += -L../../external/lib/linux-g++ -llevmar
--linux-g++-32:LIBS += -L../../external/lib/linux-g++-32 -llevmar
--linux-g++-64:LIBS += -L../../external/lib/linux-g++-64 -llevmar
-+linux-g++:LIBS += -llevmar
-+linux-g++-32:LIBS += -llevmar
-+linux-g++-64:LIBS += -llevmar
- macx:LIBS += $$MACLIBDIR/liblevmar.a
-
diff --git a/graphics/meshlab/patches/mpir.patch b/graphics/meshlab/patches/mpir.patch
deleted file mode 100644
index 9e0829b694..0000000000
--- a/graphics/meshlab/patches/mpir.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/src/meshlabplugins/filter_csg/filter_csg.pro b/src/meshlabplugins/filter_csg/filter_csg.pro
-index 52147b1..f41385d 100644
---- meshlab.orig/src/meshlabplugins/filter_csg/filter_csg.pro
-+++ meshlab/src/meshlabplugins/filter_csg/filter_csg.pro
-@@ -20,7 +20,7 @@ win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/mpirxx.lib ../../exte
- win32-msvc2010:LIBS += ../../external/lib/win32-msvc2008/mpirxx.lib ../../external/lib/win32-msvc2008/mpir.lib
- win32-msvc2012:LIBS += ../../external/lib/win32-msvc2008/mpirxx.lib ../../external/lib/win32-msvc2008/mpir.lib
- win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/mpirxx.lib ../../external/lib/win32-msvc2015/mpir.lib
--linux-g++:INCLUDEPATH += ../../external/inc/linux-g++/mpir-2.4.0
--linux-g++:LIBS += ../../external/lib/linux-g++/libmpirxx.a ../../external/lib/linux-g++/libmpir.a
--linux-g++-64:INCLUDEPATH += ../../external/inc/linux-g++/mpir-2.4.0
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libmpirxx.a ../../external/lib/linux-g++-64/libmpir.a
-+unix:LIBS += -lmpirxx -lmpir
-+linux-g++-:LIBS += -lmpirxx -lmpir
-+linux-g++-32:LIBS += -lmpirxx -lmpir
-+linux-g++-64:LIBS += -lmpirxx -lmpir
diff --git a/graphics/meshlab/patches/muparser.patch b/graphics/meshlab/patches/muparser.patch
deleted file mode 100644
index d500a17d76..0000000000
--- a/graphics/meshlab/patches/muparser.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur ../meshlab/src/meshlabplugins/filter_func/filter_func.pro meshlab/src/meshlabplugins/filter_func/filter_func.pro
---- ../meshlab/src/meshlabplugins/filter_func/filter_func.pro 2016-10-31 00:00:30.459336619 +0100
-+++ meshlab/src/meshlabplugins/filter_func/filter_func.pro 2016-10-31 21:42:47.134972919 +0100
-@@ -19,7 +19,7 @@
- win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/muparser.lib
-
- macx:LIBS += $$MACLIBDIR/libmuparser.a
--linux-g++:LIBS += ../../external/lib/linux-g++/libmuparser.a
--linux-g++-32:LIBS += ../../external/lib/linux-g++-32/libmuparser.a
--linux-g++-64:LIBS += ../../external/lib/linux-g++-64/libmuparser.a
-+linux-g++:LIBS += -lmuparser
-+linux-g++-32:LIBS += -lmuparser
-+linux-g++-64:LIBS += -lmuparser
- win32-g++:LIBS += ../../external/lib/win32-gcc/libmuparser.a
diff --git a/graphics/meshlab/plystuff.diff b/graphics/meshlab/plystuff.diff
deleted file mode 100644
index 74f28a4d21..0000000000
--- a/graphics/meshlab/plystuff.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-*** old/vcglib/wrap/ply/plystuff.h 2013-02-09 00:00:04.110705851 -0500
---- new/vcglib/wrap/ply/plystuff.h 2013-02-09 15:20:53.482205183 -0500
-***************
-*** 75,80 ****
---- 75,81 ----
- #define pb_close _close
- #define DIR_SEP "\\"
- #else
-+ #include <unistd.h>
- #define pb_mkdir(n) mkdir(n,0755)
- #define pb_access access
- #define pb_stat stat
-
diff --git a/graphics/meshlab/slack-desc b/graphics/meshlab/slack-desc
index b6536e687e..2cb3622bf4 100644
--- a/graphics/meshlab/slack-desc
+++ b/graphics/meshlab/slack-desc
@@ -15,5 +15,5 @@ meshlab: unstructured models arising in 3D scanning, providing a set of tools
meshlab: for editing, cleaning, healing, inspecting, rendering and converting
meshlab: this kind of mesh.
meshlab:
-meshlab: Homepage: http://www.meshlab.net/
+meshlab: Homepage: https://www.meshlab.net/
meshlab:
diff --git a/graphics/metapixel/metapixel.SlackBuild b/graphics/metapixel/metapixel.SlackBuild
index f680bf172e..e77a7acb2a 100644
--- a/graphics/metapixel/metapixel.SlackBuild
+++ b/graphics/metapixel/metapixel.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for metapixel
# Written by otzy_007 oz@oprod.net
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=metapixel
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -85,4 +95,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mftrace/mftrace.SlackBuild b/graphics/mftrace/mftrace.SlackBuild
index b8991b864c..3f7eb3f07e 100644
--- a/graphics/mftrace/mftrace.SlackBuild
+++ b/graphics/mftrace/mftrace.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mftrace
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mftrace
VERSION=${VERSION:-1.2.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,17 +38,21 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="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
@@ -100,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mftrace/mftrace.info b/graphics/mftrace/mftrace.info
index 01a2f82d40..a60d621a69 100644
--- a/graphics/mftrace/mftrace.info
+++ b/graphics/mftrace/mftrace.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://lilypond.org/downloads/sources/mftrace/mftrace-1.2.20.tar.gz"
MD5SUM="33056fadd1badce2ecffbeeab138f219"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 potrace t1utils"
+REQUIRES="potrace"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/mirage/mirage.SlackBuild b/graphics/mirage/mirage.SlackBuild
index f96e5a2616..2515c4bd24 100644
--- a/graphics/mirage/mirage.SlackBuild
+++ b/graphics/mirage/mirage.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Mirage
@@ -27,10 +27,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mirage
-VERSION=${VERSION:-1.0_pre2}
+VERSION=${VERSION:-0.11.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,7 +70,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
@@ -76,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mirage/mirage.info b/graphics/mirage/mirage.info
index 69ec3409df..3a4eb10aa2 100644
--- a/graphics/mirage/mirage.info
+++ b/graphics/mirage/mirage.info
@@ -1,8 +1,8 @@
PRGNAM="mirage"
-VERSION="1.0_pre2"
-HOMEPAGE="https://sourceforge.net/projects/mirageiv.berlios/"
-DOWNLOAD="https://sourceforge.net/projects/mirageiv.berlios/files/mirage-1.0_pre2.tar.bz2"
-MD5SUM="3a0cdb4efd445f85bc29a1ab7ff8a579"
+VERSION="0.11.2"
+HOMEPAGE="https://gitlab.com/thomasross/mirage/"
+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/mitsuba-blender/README b/graphics/mitsuba-blender/README
deleted file mode 100644
index 823c6f104c..0000000000
--- a/graphics/mitsuba-blender/README
+++ /dev/null
@@ -1,20 +0,0 @@
-Blender plugin enabling you to use the Mitsuba physically-based renderer
-with Blender.
-
-This SlackBuild assumes that you have installed Blender from
-SlackBuilds.org (ie, it is located in /opt rather than /usr/bin or ~/bin).
-
-You can override this assumption with the PLUGINDIR variable:
-
-PLUGINDIR=/path/to/blender/scripts/addons ./exporters_mitsuba-blender.SlackBuild
-
-
-USING MITSUBA WITH BLENDER
---------------------------
-
-Once installed, you need to activate this plugin within Blender. To do
-that, go to Blender > User Preferences > Addons > Renderers and enable
-the Mitsuba renderer plugin.
-
-For the PATH TO RENDERER, use /usr/bin (NOT /usr/bin/mitsuba, as you do
-for povray).
diff --git a/graphics/mitsuba-blender/mitsuba-blender.SlackBuild b/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
deleted file mode 100644
index 75810f84fb..0000000000
--- a/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for exporters_mitsuba-blender
-# copyright 2015 Klaatu, Wellington NZ
-
-# GNU All-Permissive License
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved. This file is offered as-is,
-# without any warranty.
-
-PRGNAM=mitsuba-blender
-PKGNAM=exporters_${PRGNAM}
-VERSION=${VERSION:-22f799f46623}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=noarch
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PKGNAM-$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 {} \;
-
-#determine version of blender
-BLENDVER=$(blender --version | grep Blender | cut -f2 -d" ")
-
-#set target dir
-PLUGINDIR=${PLUGINDIR:-/opt/blender/$BLENDVER/scripts/addons/}
-
-mkdir -p $PKG/$PLUGINDIR
-mv mtsblend $PKG/$PLUGINDIR
-
-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:-tgz}
diff --git a/graphics/mitsuba-blender/mitsuba-blender.info b/graphics/mitsuba-blender/mitsuba-blender.info
deleted file mode 100644
index 0f26510eba..0000000000
--- a/graphics/mitsuba-blender/mitsuba-blender.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mitsuba-blender"
-VERSION="22f799f46623"
-HOMEPAGE="http://mitsuba-renderer.org"
-DOWNLOAD="http://slackermedia.info/slackbuilds/exporters_mitsuba-blender/src/exporters_mitsuba-blender-22f799f46623.zip"
-MD5SUM="381c7e9ba83a3889c3e6b2e5594c07de"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="blender mitsuba"
-MAINTAINER="klaatu"
-EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/mitsuba-blender/slack-desc b/graphics/mitsuba-blender/slack-desc
deleted file mode 100644
index a7fe53df36..0000000000
--- a/graphics/mitsuba-blender/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-mitsuba-blender: mitsuba-blender (Blender Mitsuba Addon)
-mitsuba-blender:
-mitsuba-blender: Mitsuba is a physically-based 3d renderer. This package provides a
-mitsuba-blender: plugin that integrates into Blender so that you can render images
-mitsuba-blender: and image sequences from Blender using the Mitsuba backend.
-mitsuba-blender:
-mitsuba-blender: http://mitsuba-renderer.org
-mitsuba-blender:
-mitsuba-blender:
-mitsuba-blender:
-mitsuba-blender:
diff --git a/graphics/mitsuba/README b/graphics/mitsuba/README
deleted file mode 100644
index 169f9be617..0000000000
--- a/graphics/mitsuba/README
+++ /dev/null
@@ -1,17 +0,0 @@
-mitsuba (computer graphics renderer)
-
-Mitsuba is a GPLv3 research-oriented rendering system in the style
-of PBRT. It is written in C++, implements unbiased as well as biased
-techniques, and contains heavy optimizations targeted towards current
-CPU architectures.
-
-Mitsuba places a strong emphasis on experimental rendering techniques,
-such as path-based formulations of Metropolis Light Transport and
-volumetric modeling approaches.
-
-This SlackBuild uses a git snapshot from 7 Feb 2015.
-
-SEE ALSO
---------
-There is a handy Mitsuba Blender plugin available from SlackBuilds.org
-so that you can use Mitsuba as your Blender renderer.
diff --git a/graphics/mitsuba/doinst.sh b/graphics/mitsuba/doinst.sh
deleted file mode 100644
index 4e8ba7071d..0000000000
--- a/graphics/mitsuba/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
diff --git a/graphics/mitsuba/mitsuba.SlackBuild b/graphics/mitsuba/mitsuba.SlackBuild
deleted file mode 100644
index 8485c397ee..0000000000
--- a/graphics/mitsuba/mitsuba.SlackBuild
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/sh
-# Slackware build script for Klaatu
-
-# Copyright 2014 Klaatu, Wellington NZ
-# GNU All-Permissive License
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved. This file is offered as-is,
-# without any warranty.
-
-PRGNAM=mitsuba
-VERSION=${VERSION:-b85118cd30d2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
-cd $PRGNAM-*
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -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:spirit/home/phoenix:phoenix:' src/bsdfs/irawan.h
-sed -i "s%/usr/lib/%/usr/lib${LIBDIRSUFFIX}/%" data/cmake/FindGLEW.cmake
-
-cd build
-cp config-linux-gcc.py ../config.py
-DISTDIR=$PKG scons -C .. prefix=$PKG/usr
-
-install -d \
- ${PKG}/usr/bin \
- ${PKG}/usr/lib${LIBDIRSUFFIX} \
- ${PKG}/usr/share/mitsuba/plugins \
- ${PKG}/usr/share/mitsuba/data/schema \
- ${PKG}/usr/share/mitsuba/data/ior \
- ${PKG}/usr/share/mitsuba/data/microfacet \
- ${PKG}/usr/share/applications \
- ${PKG}/usr/share/pixmaps \
- ${PKG}/usr/include/mitsuba/{core,hw,render,bidir} \
- ${PKG}/usr/lib${LIBDIRSUFFIX}/python2.7/lib-dynload
-
-install -m755 ../dist/mitsuba ../dist/mtsgui ../dist/mtssrv ../dist/mtsutil ${PKG}/usr/bin
-install -m755 ../dist/libmitsuba-core.so \
- ../dist/libmitsuba-hw.so \
- ../dist/libmitsuba-render.so \
- ../dist/libmitsuba-bidir.so \
- ${PKG}/usr/lib${LIBDIRSUFFIX}
-install -m755 ../dist/plugins/* ${PKG}/usr/share/mitsuba/plugins
-install -m644 ../dist/data/schema/* ${PKG}/usr/share/mitsuba/data/schema
-install -m644 ../dist/data/ior/* ${PKG}/usr/share/mitsuba/data/ior
-install -m644 ../dist/data/microfacet/* ${PKG}/usr/share/mitsuba/data/microfacet
-install -m644 ../dist/python/2.7/mitsuba.so ${PKG}/usr/lib${LIBDIRSUFFIX}/python2.7/lib-dynload
-
-if [ -e ../dist/python/3.3/mitsuba.so ]; then
- install -d ${PKG}/usr/lib${LIBDIRSUFFIX}/python3.3/lib-dynload
- install -m644 ../dist/python/3.3/mitsuba.so ${PKG}/usr/lib${LIBDIRSUFFIX}/python3.3/lib-dynload
-fi
-
-install -m644 ../data/linux/mitsuba.desktop ${PKG}/usr/share/applications
-install -m644 ../src/mtsgui/resources/mitsuba48.png ${PKG}/usr/share/pixmaps
-install -m644 ../include/mitsuba/*.h ${PKG}/usr/include/mitsuba
-install -m644 ../include/mitsuba/core/* ${PKG}/usr/include/mitsuba/core
-install -m644 ../include/mitsuba/render/* ${PKG}/usr/include/mitsuba/render
-install -m644 ../include/mitsuba/hw/* ${PKG}/usr/include/mitsuba/hw
-install -m644 ../include/mitsuba/bidir/* ${PKG}/usr/include/mitsuba/bidir
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-cd ..
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a setpath*sh $PKG/usr/doc/$PRGNAM-$VERSION
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/mitsuba/slack-desc b/graphics/mitsuba/slack-desc
deleted file mode 100644
index ed76cbd138..0000000000
--- a/graphics/mitsuba/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-mitsuba: mitsuba (computer graphics renderer)
-mitsuba:
-mitsuba: A modular, experimental graphics renderer, placing an emphasis
-mitsuba: upon experimental techniques like path-based formulations and
-mitsuba: volumetric modeling.
-mitsuba:
-mitsuba: Homepage: http://mitsuba-renderer.org
-mitsuba:
-mitsuba:
-mitsuba:
-mitsuba:
diff --git a/graphics/mitsuba2/32bit.diff b/graphics/mitsuba2/32bit.diff
new file mode 100644
index 0000000000..55019bf61e
--- /dev/null
+++ b/graphics/mitsuba2/32bit.diff
@@ -0,0 +1,22 @@
+diff -Naur mitsuba2-4e7628c/ext/CMakeLists.txt mitsuba2-4e7628c.patched/ext/CMakeLists.txt
+--- mitsuba2-4e7628c/ext/CMakeLists.txt 2022-03-07 17:07:27.000000000 -0500
++++ mitsuba2-4e7628c.patched/ext/CMakeLists.txt 2022-03-23 00:07:42.901574553 -0400
+@@ -223,9 +223,8 @@
+ # tinyformat include path
+ set(TINYFORMAT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat PARENT_SCOPE)
+
+-if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64|AMD64")
+ # Build asmjit
+- set(ASMJIT_BUILD_X64 TRUE)
++ set(ASMJIT_BUILD_X86 TRUE)
+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override -Wno-undefined-inline")
+ endif()
+@@ -235,7 +234,6 @@
+ if (MSVC)
+ target_compile_options(asmjit PRIVATE "/wd4804" "/wd4838")
+ endif()
+-endif()
+
+ # Disable annoying MSVC warnings in rgb2spec build
+ if (MSVC)
diff --git a/graphics/mitsuba2/README b/graphics/mitsuba2/README
new file mode 100644
index 0000000000..d646cd4980
--- /dev/null
+++ b/graphics/mitsuba2/README
@@ -0,0 +1,31 @@
+mitsuba (computer graphics renderer)
+
+Mitsuba is a 3D rendering engine placing emphasis
+on experimental rendering techniques.
+
+This SlackBuild is based on a Git commit from 8 March 2022.
+It compiles from source code, and installs to /opt with a
+symlink to the `mitsuba` binary in `/usr/bin`
+
+## Documentation
+
+To build docs, you must have Sphinx and assorted Sphinx plugins
+installed. These are available through `pip`:
+
+```
+$ python3 -m pip install sphinx \
+ sphinxcontrib-bibtex \
+ guzzle_sphinx_theme
+```
+
+This SlackBuild doesn't build the docs by default. To enable
+the docs, set the `DOCS` variable to `yes` as you build:
+
+```
+DOCS=yes sh ./mitsuba2.SlackBuild
+```
+
+## See also
+
+There is a Mitsuba Blender plugin available from
+https://github.com/mitsuba-renderer/mitsuba2-blender
diff --git a/graphics/fotoxx/doinst.sh b/graphics/mitsuba2/doinst.sh
index 4e8ba7071d..4e8ba7071d 100644
--- a/graphics/fotoxx/doinst.sh
+++ b/graphics/mitsuba2/doinst.sh
diff --git a/graphics/mitsuba2/mitsuba2.SlackBuild b/graphics/mitsuba2/mitsuba2.SlackBuild
new file mode 100644
index 0000000000..392e52bddb
--- /dev/null
+++ b/graphics/mitsuba2/mitsuba2.SlackBuild
@@ -0,0 +1,114 @@
+#!/bin/bash
+
+# Copyright 2014-22 Klaatu, Wellington NZ
+# GNU All-Permissive License
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+# 20220322 bkw: Modified by SlackBuilds.org: fix 32-bit build.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mitsuba2
+VERSION=${VERSION:-4e7628c}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ 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 {} \+
+
+case "$ARCH" in
+ i?86) patch -p1 < $CWD/32bit.diff ;;
+esac
+
+mkdir -p build
+cd build
+cmake -GNinja \
+ $extra \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ninja
+
+# no install option provided, so copy compiled code to /opt
+mkdir -p $PKG/opt
+mv dist $PKG/opt/$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/bin
+ln -s $PKG/opt/$PRGNAM-$VERSION/mitsuba $PKG/usr/bin/mitsuba
+
+cd ..
+
+# sample scenes
+mkdir -p $PKG/usr/share/$PRGNAM-$VERSION
+cp -a resources $PKG/usr/share/$PRGNAM-$VERSION
+
+# docs
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a setpath.sh $PKG/usr/doc/$PRGNAM-$VERSION
+cp LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+# generated docs
+if [ "$DOCS" ]; then
+ mkdir $PKG/usr/doc/$PRGNAM-$VERSION/html
+ sphinx docs $PKG/usr/doc/$PRGNAM-$VERSION/html
+fi
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mitsuba/mitsuba.info b/graphics/mitsuba2/mitsuba2.info
index 2b543efdf9..0f8fcc7e60 100644
--- a/graphics/mitsuba/mitsuba.info
+++ b/graphics/mitsuba2/mitsuba2.info
@@ -1,10 +1,10 @@
-PRGNAM="mitsuba"
-VERSION="b85118cd30d2"
+PRGNAM="mitsuba2"
+VERSION="4e7628c"
HOMEPAGE="http://mitsuba-renderer.org"
-DOWNLOAD="http://slackermedia.info/slackbuilds/mitsuba/src/mitsuba-b85118cd30d2.zip"
-MD5SUM="2b2dafee41dac5561f36f7064b7c87ee"
+DOWNLOAD="http://slackermedia.info/slackbuilds/mitsuba/src/mitsuba2-4e7628c.tar.xz"
+MD5SUM="da4706ad68676b86d477ea3d3374f986"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="xerces-c collada-dom"
+REQUIRES=""
MAINTAINER="klaatu"
EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/mitsuba2/slack-desc b/graphics/mitsuba2/slack-desc
new file mode 100644
index 0000000000..907cb9bcf0
--- /dev/null
+++ b/graphics/mitsuba2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mitsuba2: mitsuba2 (computer graphics renderer)
+mitsuba2:
+mitsuba2: A modular, experimental graphics renderer, placing an emphasis
+mitsuba2: upon experimental techniques.
+mitsuba2:
+mitsuba2: Homepage: http://mitsuba-renderer.org
+mitsuba2:
+mitsuba2:
+mitsuba2:
+mitsuba2:
+mitsuba2:
diff --git a/graphics/mlbrot/README b/graphics/mlbrot/README
deleted file mode 100644
index 00b404b733..0000000000
--- a/graphics/mlbrot/README
+++ /dev/null
@@ -1,5 +0,0 @@
-MLBrot is a graphical tool to display, explore, colour, zoom, animate
-and otherwise play with the well-known Mandelbrot fractal set.
-
-A network slave is included to distribute calculation over multiple
-compute nodes.
diff --git a/graphics/mlbrot/mlbrot.SlackBuild b/graphics/mlbrot/mlbrot.SlackBuild
deleted file mode 100644
index ac63f14d8d..0000000000
--- a/graphics/mlbrot/mlbrot.SlackBuild
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mlbrot
-
-# Written by adaptr (jeroen@adaptr.nl)
-
-PRGNAM=mlbrot
-VERSION=${VERSION:-1.01}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-sed -i 's|gtkdir="+lablgtk2"|gtkdir="+site-lib/lablgtk2"|' configure
-./configure --no-mpz
-sed -i 's|-warn-error A|-warn-error -A|' Makefile
-
-make
-
-## no make install, or other fancy-pants
-mkdir -p $PKG/usr/bin
-cp mlbrot mlbrot_slave $PKG/usr/bin/
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES LICENSE README REFERENCES $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/mlbrot/mlbrot.info b/graphics/mlbrot/mlbrot.info
deleted file mode 100644
index 5ff7c97f21..0000000000
--- a/graphics/mlbrot/mlbrot.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mlbrot"
-VERSION="1.01"
-HOMEPAGE="http://pauillac.inria.fr/~ddr/mlbrot/"
-DOWNLOAD="http://pauillac.inria.fr/~ddr/mlbrot/distrib/src/mlbrot-1.01.tgz"
-MD5SUM="9efb8a8e90d4fb1deeb2794aa0ff1448"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="camlp5 lablgtk"
-MAINTAINER="adaptr"
-EMAIL="jeroen@adaptr.nl"
diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README
index 00b151318f..511af1e870 100644
--- a/graphics/mozjpeg/README
+++ b/graphics/mozjpeg/README
@@ -1,41 +1,60 @@
mozjpeg (Mozilla JPEG Encoder Project)
-mozjpeg is a fork of libjpeg-turbo from Mozilla Research. Its goal is to
-reduce the size of JPEG files without reducing quality or compatibility
-with the vast majority of the world's deployed decoders. The idea is to
-reduce transfer times for JPEGs on the Web, thus reducing page load times.
-
-mozjpeg is not intended to be a general JPEG library replacement. It makes
-tradeoffs that are intended to benefit Web use cases and focuses solely
-on improving encoding. It is best used as part of a Web encoding workflow.
-
-In essence, libjpeg-turbo (as shipped with Slackware) is optimized for
-speed of encoding/decoding, while mozjpeg is optimized for encoding
-smaller file sizes (at the expense of speed). mozjpeg will not interfere
-with Slackware's libjpeg-turbo package, as it installs to /opt/mozjpeg/.
+mozjpeg is a fork of libjpeg-turbo from Mozilla Research. Its
+goal is to reduce the size of JPEG files without reducing quality
+or compatibility with the vast majority of the world's deployed
+decoders. The idea is to reduce transfer times for JPEGs on the Web,
+thus reducing page load times.
+
+mozjpeg is not intended to be a general JPEG library replacement. It
+makes tradeoffs that are intended to benefit Web use cases and
+focuses solely on improving encoding. It is best used as part of a Web
+encoding workflow.
+
+In essence, libjpeg-turbo (as shipped with Slackware) is optimized
+for speed of encoding/decoding, while mozjpeg is optimized for
+encoding smaller file sizes (at the expense of speed). mozjpeg will
+not interfere with Slackware's libjpeg-turbo package, as it installs
+to /opt/mozjpeg/.
mozjpeg supports multiple versions of the libjpeg API. By default,
version 6b is built. If you need compatibility with libjpeg 7 or 8,
set API=7 or API=8 in the script's environment.
-Optionally, mozjpeg can be built with Java wrapper support for
-turbojpeg. To do this, install one of: jdk, openjdk, openjdk8, or
-openjdk6. Then run this script with JAVA=yes in the environment.
+Usage
+-----
+To run the binaries, either call them by their full paths, e.g:
-To run the binaries, it's probably easiest to add this to ~/.bash_profile:
+$ /opt/mozjpeg/bin/cjpeg
-export PATH=/opt/mozjpeg/bin:$PATH
-export MANPATH=/opt/mozjpeg/man:$MANPATH
+...or else:
-To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include
-and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or
-else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2,
-there's also pkg-config support for mozjpeg. In ~/.bash_profile:
+$ source /etc/profile.d/mozjpeg.sh
-export PKG_CONFIG_PATH=/opt/mozjpeg/lib64/pkgconfig:$PKG_CONFIG_PATH
+...to temporarily make mozjpeg the default, in the current shell.
+Running e.g. "cjpeg" will now run the mozjpeg one. If you wanted to
+do this permanently for all users (not recommended), you could:
-(chage lib64 to lib, for 32-bit Slackware)
+# chmod +x /etc/profile.d/mozjpeg.sh
-If you built with JAVA=yes, the java library will be installed
-as /opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in
+...then log out and back in. The profile script isn't executable by
+default, to avoid surprises.
+
+Development
+-----------
+To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include
+and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or
+else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2,
+there's also pkg-config support for mozjpeg. If you source the profile
+script, software that uses pkg-config should find and link with the
+mozjpeg libraries automatically.
+
+Java Support
+------------
+Optionally, mozjpeg can be built with Java wrapper support
+for turbojpeg. To do this, install one of: jdk, openjdk8,
+openjdk7, or openjdk6 (or possibly one of the zulu-openjdk*
+packages; untested). Then run this script with JAVA=yes in
+the environment. The Java library will be installed as
+/opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in
/usr/doc/mozjpeg-$VERSION/javadoc.
diff --git a/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild
index c752946864..28975767c7 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -1,29 +1,35 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mozjpeg
-# Originally written by:
-# Ryan P.C. McQuen | Everett, WA | <email removed>
+# Originally written by Ryan P.C. McQuen
+# Now maintained by B. Watson (urchlay@slackware.uk)
-# Now maintained by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted.
+# 20230912 bkw: update for v4.1.4.
-# This program is distributed in the hope that it will be useful, but
-# without any warranty; without even the implied warranty of
-# merchantability or fitness for a particular purpose. Compiling,
-# interpreting, executing or merely reading the text of the program
-# may result in lapses of consciousness and/or very being, up to and
-# including the end of all existence and the Universe as we know it.
-# See the GNU General Public License for more details.
+# 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.
-# You may have received a copy of the GNU General Public License along
-# with this program (most likely, a file named COPYING). If not, see
-# <http://www.gnu.org/licenses/>.
+# 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.
+# - upstream switched from autoconf to cmake, so this script can't
+# build older versions any more.
+# - cmake chokes when trying to build static libs, apparently because
+# we don't have a static libpng.a. So no more static libs in this
+# package until further notice. If you actually care about this,
+# remind me to look into it again.
+# - get rid of man pages, they're identical to the ones from libjpeg-turbo.
+# - add profile script.
+# - add -Wl,-rpath to .pc files.
+# - install HTML docs in /usr/doc.
# 20180101 bkw: Update for v3.3.1. Script still works with 3.1 and 3.2,
# if you can think of a use for them.
@@ -44,10 +50,13 @@
# - add API=7 and API=8 options
# - BUILD=2
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mozjpeg
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-4.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -57,7 +66,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,26 +91,26 @@ fi
set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# JAVA=yes only tested with openjdk and openjdk6. We source the profile.d
-# script here in case someone's *just* installed jdk|openjdk, so they
-# won't have to log out & back in to get this built. This mostly helps
-# out sbopkg users.
+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
- EXTRAOPTS="--with-java "
+ ARGS+="-DWITH_JAVA=TRUE "
# Find a JDK. Presumably a sane admin will only have one of these
# profile scripts executable, even if he's installed all of them.
@@ -105,88 +118,80 @@ if [ "$JAVA" = "yes" ]; then
# sure it actually matters that much ("write once, run anywhere" should
# mean a .jar built with openjdk will run with Oracle's jdk, right? But
# there's JNI (native code) involved...)
- for i in jdk openjdk8 openjdk openjdk6; do
+ for i in jdk openjdk8 openjdk7 openjdk6 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
-
- # Whichever jdk we decided to use, use its JAVA_HOME. Unfortunately
- # mozjpeg ignores the *standard* JAVA_HOME env var, so we persuade
- # it thus:
- sed -i "s,/usr/java,$JAVA_HOME,g" configure.ac
+ 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
-autoreconf -fiv
-
-# Maybe TODO: really, there should be a way to build multiple API versions,
-# with file paths that don't clash: /opt/mozjpeg/jpeg$API/(bin|lib|include).
-# However, I'd be inventing my own directory layout for this (upstream
-# doesn't support it), which is kinda outside the scope of what a SlackBuild
-# should do. If you *really* need this feature, email me and convince me to
-# implement it (it's a lot of error-prone work, not going to do it unless
-# someone actually needs it).
-API="${API:-6b}"
-case "$API" in
- 6b) ;; # do nothing, this is the default
- 7|8) EXTRAOPTS="$EXTRAOPTS --with-jpeg$API" ;;
- *) echo "Invalid API version, supported versions are 6b 7 8" 1>&2
- exit 1
- ;;
-esac
-
-# 20170310 bkw: This stuff needs documenting, or I'll forget why
-# I did it this way.
-
-# Leaving off all the --prefix and related options below, since the
-# default prefix is already /opt/mozjpeg... though starting with 3.2,
-# the man pages and docs are in $PREFIX/share/(man|doc), so use
-# --mandir and --docdir. Also, to make 3.2 match the 3.1 package, need
-# --datarootdir=$PREFIX to make the java classes go to $PREFIX/classes.
-
-# Ryan's version of this script had --disable-static, but I'm leaving
-# that off, because sometimes static libs are easier to deal with when
-# you're linking with libraries outside the system /usr/lib(64) dir.
-
-# The LDFLAGS gibberish below is to force the binaries in /opt/mozjpeg/bin
-# to use the libraries in /opt/mozjpeg/lib(64), otherwise they use the
-# system libjpeg in /usr/lib(64) which partly defeats the purpose of
-# having optimized jpeg libs...
-
-
-LDFLAGS="-Wl,-rpath,/opt/$PRGNAM/lib$LIBDIRSUFFIX" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- $EXTRAOPTS \
- --datarootdir=/opt/$PRGNAM \
- --mandir=/opt/$PRGNAM/man \
- --docdir=/opt/$PRGNAM/doc \
- --build=$ARCH-slackware-linux
-
-# the java stuff chokes without -j1, everything else is OK.
-if [ "$JAVA" = "yes" ]; then
- make -j1 -C java
+rm -rf $PKG
+mkdir -p $TMP $PKG $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
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ cmake \
+ $ARGS \
+ -DENABLE_STATIC=FALSE \
+ -DPNG_LIBRARY_DEBUG=/usr/lib$LIBDIRSUFFIX/libpng.so \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Grr.
+if [ -e $PKG/opt/$PRGNAM/lib32 ]; then
+ cd $PKG/opt/$PRGNAM
+ mv lib32 lib
+ ln -s lib lib32
+ cd -
fi
-make # V=1
-make install-strip DESTDIR=$PKG
-gzip $PKG/opt/$PRGNAM/man/man?/*.?
+# Slackware has these man pages already.
+rm -rf $PKG/opt/$PRGNAM/man
-# docs are installed in /opt already (except the license)
+# most of the docs are installed in /opt already, but not all.
mkdir -p $PKG/usr/doc
mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
-ln -s ../../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
-cp -a LICENSE.* $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f CMakeLists.txt BUILDING.* jconfig.txt # do not want
+cp -a *.txt *.md tjexample.c doc/html $PKG/usr/doc/$PRGNAM-$VERSION
+ln -s ../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
[ "$JAVA" = "yes" ] && cp -a java/doc $PKG/usr/doc/$PRGNAM-$VERSION/javadoc
+# 20210312 bkw: profile script is new with v4.0.x. It's installed without +x
+# permission (see README).
+mkdir -p $PKG/etc/profile.d
+sed "s,@,$LIBDIRSUFFIX," $CWD/${PRGNAM}.sh > $PKG/etc/profile.d/${PRGNAM}.sh
+
+# 20210312 bkw: help pkg-config out a bit.
+sed -i '/^Libs:/s|$| -lm -Wl,-rpath,${libdir}|' \
+ $PKG/opt/$PRGNAM/lib$LIBDIRSUFFIX/pkgconfig/*.pc
+
mkdir -p $PKG/install
-sed -e "s,@API@,$API," -e "s,@JAVA@,$JAVA," \
+sed -e "s,@API@,$API," -e "s,@JAVA@,$javafound," \
$CWD/slack-desc > \
$PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/mozjpeg/mozjpeg.info b/graphics/mozjpeg/mozjpeg.info
index fe1d1c78b8..c6eedc6934 100644
--- a/graphics/mozjpeg/mozjpeg.info
+++ b/graphics/mozjpeg/mozjpeg.info
@@ -1,10 +1,10 @@
PRGNAM="mozjpeg"
-VERSION="3.3.1"
+VERSION="4.1.4"
HOMEPAGE="https://github.com/mozilla/mozjpeg"
-DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v3.3.1/mozjpeg-3.3.1.tar.gz"
-MD5SUM="63bc152b325666465ae86dc046786118"
+DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.1.4/mozjpeg-4.1.4.tar.gz"
+MD5SUM="076b452b78001f29b2e996029c23aac0"
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
new file mode 100644
index 0000000000..19f6968a6d
--- /dev/null
+++ b/graphics/mozjpeg/mozjpeg.sh
@@ -0,0 +1,8 @@
+# mozjpeg.sh: part of the SBo mozjpeg build, by B. Watson
+# <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.
+
+export PATH=/opt/mozjpeg/bin:$PATH
+export PKG_CONFIG_PATH=/opt/mozjpeg/lib@/pkgconfig:$PKG_CONFIG_PATH
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index a9fcdd8169..ff2b1157c4 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mtpaint
-# Copyright 2020 Petar Petrov slackalaxy@gmail.com
+# Copyright 2020-2023 Petar Petrov slackalaxy@gmail.com
# Copyright 2010-2020 slackmagik <slakmagik@gmail.com>
# All rights reserved.
#
@@ -23,13 +23,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mtpaint
-VERSION=${VERSION:-3.49.29}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-3.50.09}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-DIRVER=mtPaint
-COMMIT=ff0a801413e612f74fe4c5d251e4bf36c6628013
+SRCNAM=mtPaint
+COMMIT=199472ad6a4ecee6c8583fb5a504a2e99712b4fc
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,9 +81,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DIRVER-$VERSION
-tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
-cd $DIRVER-$COMMIT
+rm -rf $SRCNAM-$COMMIT
+tar xvf $CWD/$SRCNAM-$COMMIT.tar.gz
+cd $SRCNAM-$COMMIT
chown -R root:root .
find -L . \
@@ -88,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
@@ -106,4 +119,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mtpaint/mtpaint.info b/graphics/mtpaint/mtpaint.info
index b4f8b4e6d4..3dfd572821 100644
--- a/graphics/mtpaint/mtpaint.info
+++ b/graphics/mtpaint/mtpaint.info
@@ -1,8 +1,8 @@
PRGNAM="mtpaint"
-VERSION="3.49.29"
-HOMEPAGE="https://github.com/wjaguar/mtPaint/"
-DOWNLOAD="https://github.com/wjaguar/mtPaint/archive/ff0a801/mtpaint-ff0a801413e612f74fe4c5d251e4bf36c6628013.tar.gz"
-MD5SUM="d4c526bd7f2ee4d4ac68340f461f5dfa"
+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-brushes2/README b/graphics/mypaint-brushes2/README
new file mode 100644
index 0000000000..cc6df1a68f
--- /dev/null
+++ b/graphics/mypaint-brushes2/README
@@ -0,0 +1,4 @@
+Mypaint brushes for Mypaint and applications using Mypaint brushes
+
+This package does not interfere with the mypaint-brushes package
+installed by default with Slackware.
diff --git a/graphics/yesplz/yesplz.SlackBuild b/graphics/mypaint-brushes2/mypaint-brushes2.SlackBuild
index d99ed1dbd3..124db729d3 100644
--- a/graphics/yesplz/yesplz.SlackBuild
+++ b/graphics/mypaint-brushes2/mypaint-brushes2.SlackBuild
@@ -1,17 +1,22 @@
-#!/bin/sh
-
-# Slackware build script for sigFLUP's yesplz
-#
-# this SlackBuild maintained by Klaatu at member.fsf.org
-#
-# but hey lets face it, rworkman and the slackbuilds posse are
-# the people who really make this stuff happen
-
-PRGNAM=yesplz
-VERSION=${VERSION:-06112016}
-COMMITVER=7342e1c686e6674e6ad9f7d21f01bae27c240b71
+#!/bin/bash
+
+# Slackware build script for mypaint-brushes
+# Copyright 2022 Klaatu <klaatu@member.fsf.org>
+
+# GNU All-Permissive License
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=mypaint-brushes2
+SRCNAM=mypaint-brushes
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +26,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script reports what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -32,22 +44,24 @@ if [ "$ARCH" = "i586" ]; then
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- elif [ "$ARCH" = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- else
- SLKCFLAGS="-02"
+else
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
+ARCH=noarch
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$COMMITVER
-unzip $CWD/$PRGNAM-$COMMITVER.zip
-cd $PRGNAM-$COMMITVER
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -55,25 +69,28 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+aclocal
+autoconf
+automake --add-missing
+
+#CFLAGS="$SLKCFLAGS" \
+#CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
- --program-prefix="" \
+ --localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--build=$ARCH-slackware-linux
-## make install is broken and installs the file to the build system.
-make yesplz
-
-install -D -m0755 -s $PRGNAM $PKG/usr/bin/$PRGNAM
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mypaint-brushes2/mypaint-brushes2.info b/graphics/mypaint-brushes2/mypaint-brushes2.info
new file mode 100644
index 0000000000..876b1aaada
--- /dev/null
+++ b/graphics/mypaint-brushes2/mypaint-brushes2.info
@@ -0,0 +1,10 @@
+PRGNAM="mypaint-brushes2"
+VERSION="2.0.2"
+HOMEPAGE="https://github.com/mypaint/mypaint-brushes"
+DOWNLOAD="https://github.com/mypaint/mypaint-brushes/archive/v2.0.2/mypaint-brushes-2.0.2.tar.gz"
+MD5SUM="d441492413f579234b67a348ef16ed52"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Klaatu"
+EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/mypaint-brushes2/slack-desc b/graphics/mypaint-brushes2/slack-desc
new file mode 100644
index 0000000000..ad6ce84f6e
--- /dev/null
+++ b/graphics/mypaint-brushes2/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mypaint-brushes2: mypaint-brushes2 (brushes for libmypaint)
+mypaint-brushes2:
+mypaint-brushes2: Brushes used by MyPaint and other software using libmypaint.
+mypaint-brushes2:
+mypaint-brushes2: Homepage: https://github.com/mypaint/mypaint-brushes
+mypaint-brushes2:
+mypaint-brushes2:
+mypaint-brushes2:
+mypaint-brushes2:
+mypaint-brushes2:
+mypaint-brushes2:
diff --git a/graphics/mypaint/mypaint.SlackBuild b/graphics/mypaint/mypaint.SlackBuild
index 089622dfa1..8335dd8bee 100644
--- a/graphics/mypaint/mypaint.SlackBuild
+++ b/graphics/mypaint/mypaint.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mypaint
-# Copyright 2013 klaatu klaatu@member.fsf.org
+# Copyright 2013-22 klaatu klaatu@member.fsf.org
# All rights reserved.
#
# GNU All-Permissive License
@@ -11,26 +11,36 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mypaint
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -49,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -58,27 +68,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Respect our $LIBDIRSUFFIX
-sed -i "s|prefix/lib/|prefix/lib$LIBDIRSUFFIX/|" SCons* brushlib/SConscript
-sed -i "s|'lib'|'lib$LIBDIRSUFFIX'|" $PRGNAM.py
-sed -i "s|lib/pkgconfig|lib$LIBDIRSUFFIX/pkgconfig|g" brushlib/SConscript
-
-# Use our CFLAGS
-sed -i "s|-O3|$SLKCFLAGS|g" SConstruct
-
-scons prefix="$PKG"/usr install
-
-# Stuff unused and broken
-rm -fR $PKG/usr/include $PKG/usr/lib$LIBDIRSUFFIX/{libmypaint.a,pkgconfig}
+python3 setup.py build
+python3 setup.py install --prefix=/usr --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CONTRIBUTING.md COPYING Licenses.md Changelog.md DEBUGGING.md \
- README.md README_LINUX.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUILDING.md CODE_OF_CONDUCT.md CONTRIBUTING.md \
+ COPYING Changelog.md DEBUGGING.md ISSUE_TEMPLATE.md \
+ Licenses.dep5 Licenses.md README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -86,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mypaint/mypaint.info b/graphics/mypaint/mypaint.info
index a17cd09e13..df68fbfa23 100644
--- a/graphics/mypaint/mypaint.info
+++ b/graphics/mypaint/mypaint.info
@@ -1,10 +1,10 @@
PRGNAM="mypaint"
-VERSION="1.2.0"
-HOMEPAGE="http://mypaint.org/"
-DOWNLOAD="https://github.com/mypaint/mypaint/releases/download/v1.2.0/mypaint-1.2.0.tar.xz"
-MD5SUM="c7c2cfac8e1eec5549e58567ec68daac"
+VERSION="2.0.1"
+HOMEPAGE="http://mypaint.org"
+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="numpy"
+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 8eaa6158ae..54e559d3d0 100644
--- a/graphics/nomacs/nomacs.SlackBuild
+++ b/graphics/nomacs/nomacs.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nomacs
-# Copyright 2013-2018 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
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nomacs
-VERSION=${VERSION:-3.14.2}
-PVERSION=${PVERSION:-3.14}
+VERSION=${VERSION:-3.17.2287}
+PVERSION=${PVERSION:-3.17.2285}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -55,8 +65,6 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="Readme/COPYRIGHT Readme/LICENSE* Readme/README"
-
set -e
rm -rf $PKG
@@ -66,6 +74,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION/ImageLounge
tar xvf $CWD/$PRGNAM-plugins-$PVERSION.tar.?z
+rm -fR plugins
mv $PRGNAM-plugins-$PVERSION plugins
cd ..
chown -R root:root .
@@ -75,6 +84,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+zcat $CWD/quazip-1.0.0.patch.gz | patch -p1 || exit 1
+
cd ImageLounge
# Fix man pages and plugins installation path
@@ -90,6 +101,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_QUAZIP=1 \
-DUSE_SYSTEM_QUAZIP=1 \
+ -DENABLE_TRANSLATIONS=1 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -102,7 +114,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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -110,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/nomacs/nomacs.info b/graphics/nomacs/nomacs.info
index 94fb09717d..f591293dad 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,12 +1,14 @@
PRGNAM="nomacs"
-VERSION="3.14.2"
+VERSION="3.17.2287"
HOMEPAGE="http://www.nomacs.org"
-DOWNLOAD="https://github.com/nomacs/nomacs/archive/3.14.2/nomacs-3.14.2.tar.gz \
- https://github.com/nomacs/nomacs-plugins/archive/3.14/nomacs-plugins-3.14.tar.gz"
-MD5SUM="65bd50be8f611305850d3c071adcfcc3 \
- 52eff2a14ff70e2f439f7f2119d80895"
+DOWNLOAD="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 opencv quazip-qt5"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/nsxiv/README b/graphics/nsxiv/README
new file mode 100644
index 0000000000..b7a339f721
--- /dev/null
+++ b/graphics/nsxiv/README
@@ -0,0 +1,15 @@
+Nsxiv is a fork of now unmaintained sxiv with the purpose of being a
+drop-in replacement of sxiv, maintaining it and adding simple,
+sensible features. nsxiv is free software licensed under GPLv2 and
+aims to be easy to modify and customize.
+
+Features:
+
+ - basic image operations, e.g. zooming, panning, rotating;
+ - customizable key and mouse button mappings (in config.h);
+ - script-ability via key-handler;
+ - thumbnail mode: grid of selectable previews of all images;
+ - ability to cache thumbnails for fast re-loading;
+ - basic support for animated/multi-frame images (GIF/WebP);
+ - display image information in status bar;
+ - display image name/path in X title.
diff --git a/graphics/nsxiv/doinst.sh b/graphics/nsxiv/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/graphics/nsxiv/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/photivo/photivo.SlackBuild b/graphics/nsxiv/nsxiv.SlackBuild
index 549717278c..493ce4a9dd 100644
--- a/graphics/photivo/photivo.SlackBuild
+++ b/graphics/nsxiv/nsxiv.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for Photivo
+# Slackware build script for nsxiv
-# Copyright 2017 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
+# Copyright 2022-2023 Eugene M.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,9 +11,9 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=photivo
-VERSION=${VERSION:-20160525}
-SRC_VERSION="5d7d1cc4ef4d"
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=nsxiv
+VERSION=${VERSION:-32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,10 +66,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf Photivo-$PRGNAM-$SRC_VERSION
-tar xvf $CWD/Photivo-$PRGNAM-$SRC_VERSION.tar.gz || tar xvf $CWD/$SRC_VERSION.tar.gz
-cd Photivo-$PRGNAM-$SRC_VERSION
-find . -exec touch {} \;
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -71,21 +76,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/lensfun
-qmake CONFIG+=WithGimp photivo.pro PREFIX=/usr
-CFLAGS="$SLKCFLAGS -fno-finite-math-only" \
-CXXFLAGS="$SLKCFLAGS -fno-finite-math-only" \
-make
-make install INSTALL_ROOT=$PKG
-
-rm -rf $PKG/${HOME:-root}/.local
-rmdir -p --ignore-fail-on-non-empty $PKG/${HOME:-root}
+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
find $PKG -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 COPYING* $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
@@ -93,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
new file mode 100644
index 0000000000..e4b4c8bb89
--- /dev/null
+++ b/graphics/nsxiv/nsxiv.info
@@ -0,0 +1,10 @@
+PRGNAM="nsxiv"
+VERSION="32"
+HOMEPAGE="https://github.com/nsxiv/"
+DOWNLOAD="https://github.com/nsxiv/nsxiv/archive/refs/tags/v32/nsxiv-32.tar.gz"
+MD5SUM="44bc85122b99335198ad8c7977a73193"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="imlib2"
+MAINTAINER="Eugene M."
+EMAIL="damagedone@gmx.com"
diff --git a/graphics/nsxiv/slack-desc b/graphics/nsxiv/slack-desc
new file mode 100644
index 0000000000..8b41c8f23e
--- /dev/null
+++ b/graphics/nsxiv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+nsxiv: nsxiv (Neo Simple X Image Viewer)
+nsxiv:
+nsxiv: nsxiv is a fork of now unmaintained sxiv with the purpose of being
+nsxiv: a drop-in replacement of sxiv, maintaining it and adding simple,
+nsxiv: sensible features. nsxiv is free software licensed under GPLv2
+nsxiv: and aims to be easy to modify and customize.
+nsxiv:
+nsxiv:
+nsxiv:
+nsxiv:
+nsxiv:
diff --git a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
index c93dac3d8f..1bacdf3425 100644
--- a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
+++ b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nvidia-cg-toolkit
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvidia-cg-toolkit
VERSION=${VERSION:-3.1_April2012}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.info b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.info
index d2dde3074a..b578c71238 100644
--- a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.info
+++ b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64="http://developer.download.nvidia.com/cg/Cg_3.1/Cg-3.1_April2012
MD5SUM_x86_64="88ba727cdbe0261fac465c4d84f44762"
REQUIRES=""
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"
diff --git a/graphics/nvidia-texture-tools/README b/graphics/nvidia-texture-tools/README
index 1896cda8ee..902f61e8e2 100644
--- a/graphics/nvidia-texture-tools/README
+++ b/graphics/nvidia-texture-tools/README
@@ -1,6 +1,6 @@
The NVIDIA Texture Tools is a collection of image processing and
-texture manipulation tools, designed to be integrated in game tools and
-asset processing pipelines.
+texture manipulation tools, designed to be integrated in game tools
+and asset processing pipelines.
-The primary features of the library are mipmap and normal map generation,
-format conversion, and DXT compression.
+The primary features of the library are mipmap and normal map
+generation, format conversion, and DXT compression.
diff --git a/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild b/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild
index 5ae8ba010e..6157b313e3 100644
--- a/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild
+++ b/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for nvidia-texture-tools
@@ -22,10 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nvidia-texture-tools
VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,9 +77,12 @@ done
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 {} \+
+
+# 20220225 bkw: header doesn't exist on 15.0, turns out we didn't need it.
+sed -i '/include.*<sys\/sysctl.h>/d' src/{nvcore/Debug.cpp,nvthread/nvthread.cpp}
mkdir -p build
cd build
@@ -81,12 +93,9 @@ cd build
-DNVTT_SHARED=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
[ -e $PKG/usr/share/doc/nvtt ] && rm -rf $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE README.md VERSION \
@@ -97,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/openclipart/README b/graphics/openclipart/README
index 07fc08fbec..82e9070baa 100644
--- a/graphics/openclipart/README
+++ b/graphics/openclipart/README
@@ -1,7 +1,8 @@
Openclipart - Drawing Together
-This project aims to create an archive of user contributed clip art that can
-be freely used. All graphics submitted to the project should be placed into
-the Public Domain according to the statement by the Creative Commons.
+This project aims to create an archive of user contributed clip art
+that can be freely used. All graphics submitted to the project should
+be placed into the Public Domain according to the statement by the
+Creative Commons.
Note: This download is about 325 megs.
diff --git a/graphics/openclipart/openclipart.SlackBuild b/graphics/openclipart/openclipart.SlackBuild
index 664f70e31c..dbe67614f4 100644
--- a/graphics/openclipart/openclipart.SlackBuild
+++ b/graphics/openclipart/openclipart.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openclipart
@@ -27,13 +27,23 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openclipart
VERSION=${VERSION:-0.19}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/opencollada/README b/graphics/opencollada/README
index 19417ec548..2face33820 100644
--- a/graphics/opencollada/README
+++ b/graphics/opencollada/README
@@ -1,19 +1,21 @@
COLLADA(TM) defines an XML-based schema to make it easy to transport
-3D assets between applications - enabling diverse 3D authoring and
-content processing tools to be combined into a production pipeline. The
-intermediate language provides comprehensive encoding of visual scenes
-including: geometry, shaders and effects, physics, animation, kinematics,
-and even multiple version representations of the same asset.COLLADA
-FX enables leading 3D authoring tools to work effectively together to
-create shader and effects applications and assets to be authored and
-packaged using OpenGL(r) Language, Cg, CgFX, and DirectX(r).
+3D assets between applications - enabling diverse 3D authoring
+and content processing tools to be combined into a production
+pipeline. The intermediate language provides comprehensive encoding
+of visual scenes including: geometry, shaders and effects, physics,
+animation, kinematics, and even multiple version representations of
+the same asset.COLLADA FX enables leading 3D authoring tools to work
+effectively together to create shader and effects applications and
+assets to be authored and packaged using OpenGL(r) Language, Cg, CgFX,
+and DirectX(r).
-OpenCOLLADA provides COLLADAMax and COLLADAMaya, a new implementation of a
-3ds Max or Maya plug-ins to export scene or parts of it to a COLLADA file,
-released under an MIT-license. In contrast to other existing COLLADA
-exporters, these new plug-ins do not store the COLLADA document in an
-intermediate data model but writes it directly to file. This leads to
-a dramatic reduction of memory consumption and to much better performance.
+OpenCOLLADA provides COLLADAMax and COLLADAMaya, a new implementation
+of a 3ds Max or Maya plug-ins to export scene or parts of it to a
+COLLADA file, released under an MIT-license. In contrast to other
+existing COLLADA exporters, these new plug-ins do not store the
+COLLADA document in an intermediate data model but writes it directly
+to file. This leads to a dramatic reduction of memory consumption and
+to much better performance.
-This version of OpenCOLLADA uses source code version suitable for building
-the latest versions of Blender (2.74 & 2.75a).
+This version of OpenCOLLADA uses source code version suitable for
+building the latest versions of Blender (2.74 & 2.75a).
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 3bd2b9f561..a1f0efc246 100644
--- a/graphics/opencollada/opencollada.SlackBuild
+++ b/graphics/opencollada/opencollada.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opencollada
SRCNAM=OpenCOLLADA
VERSION=${VERSION:-1.6.68}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,6 +80,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# 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
cmake ../ \
@@ -102,4 +118,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/opencollada/pcre.patch b/graphics/opencollada/pcre.patch
new file mode 100644
index 0000000000..fe8c01a5b0
--- /dev/null
+++ b/graphics/opencollada/pcre.patch
@@ -0,0 +1,13 @@
+diff -Naur OpenCOLLADA-1.6.62.orig/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h OpenCOLLADA-1.6.62/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
+--- OpenCOLLADA-1.6.62.orig/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h 2018-01-13 01:23:52.000000000 +0100
++++ OpenCOLLADA-1.6.62/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h 2018-07-08 08:40:38.764948000 +0200
+@@ -13,8 +13,7 @@
+
+ #include "COLLADABUPrerequisites.h"
+
+-struct real_pcre;
+-typedef struct real_pcre pcre;
++#include "pcre.h"
+
+
+ namespace COLLADABU
diff --git a/graphics/opencolorio/README b/graphics/opencolorio/README
index 59b5477472..e0f327ea4e 100644
--- a/graphics/opencolorio/README
+++ b/graphics/opencolorio/README
@@ -7,6 +7,11 @@ for high-end production usage. OCIO is compatible with the Academy
Color Encoding Specification (ACES) and is LUT-format agnostic,
supporting many popular formats.
-This package includes building of a shared object library for each of
-python2 and python3 provided the respective python version is available
-on the build system.
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. YMMV on whether
+this is a good idea.
+
+Note to 32-bit users: this requires the SSE2 extension. If you
+get "illegal instruction" errors at runtime, your CPU doesn't have
+SSE2. At this point (2022), there aren't that many non-SSE2 x86 CPUs
+still in service, so probably this won't be a problem for you.
diff --git a/graphics/opencolorio/opencolorio.SlackBuild b/graphics/opencolorio/opencolorio.SlackBuild
index 81d3e34869..7762f39c44 100644
--- a/graphics/opencolorio/opencolorio.SlackBuild
+++ b/graphics/opencolorio/opencolorio.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opencolorio
-# Copyright 2015-2019 Christoph Willing Brisbane, Australia
+# Copyright 2015-2022 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220320 bkw: Modified by SlackBuilds.org: fix 32-bit build.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opencolorio
SRCNAM=OpenColorIO
-VERSION=${VERSION:-1.1.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.1.2}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-PYTHON_VERSIONS=${PYTHON_VERSIONS:-"2 3"}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -61,53 +69,58 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-for v in $PYTHON_VERSIONS ; do
- if [ $(which python$v 2>/dev/null) ]; then
- PY_INCLUDE_DIR=$(pkg-config --cflags-only-I python$v |sed -e 's/-I//')
- PY_SITEDIR=$(python$v -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
-
- cd $TMP
- rm -rf $SRCNAM-$VERSION
- tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
- cd $SRCNAM-$VERSION
- sed -i -e 's/-Wall -Wextra/-Wextra/' 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_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DPYTHON=python$v \
- -DPYTHON_INCLUDE_DIR:PATH=$PY_INCLUDE_DIR \
- -DPYTHON_LIBRARY:PATH=$PY_SITEDIR \
- -DOCIO_BUILD_STATIC:BOOL=OFF \
- -DOCIO_BUILD_JNIGLUE:BOOL=OFF \
- -DCMAKE_BUILD_TYPE=Release ..
-
- make
- make install DESTDIR=$PKG
- fi
-done
+cd $TMP
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
+sed -i -e 's/-Wall -Wextra/-Wextra/' CMakeLists.txt
+sed -i -e 's/lib$/${CMAKE_INSTALL_LIBDIR}/g' src/OpenColorIO/CMakeLists.txt
+sed -i -e 's/lib$/${CMAKE_INSTALL_LIBDIR}/g' src/libutils/oglapphelpers/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 {} \+
+
+SLKCFLAGS+=" -msse2"
+
+sed -i '/StringUtils.h/a #include <cstring>' src/OpenColorIO/FileRules.cpp
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DOCIO_BUILD_STATIC:BOOL=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ make
+ make install DESTDIR=$PKG
cd ..
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/opencolorio/opencolorio.info b/graphics/opencolorio/opencolorio.info
index fbdf8e8628..fed82c6e8f 100644
--- a/graphics/opencolorio/opencolorio.info
+++ b/graphics/opencolorio/opencolorio.info
@@ -1,10 +1,10 @@
PRGNAM="opencolorio"
-VERSION="1.1.1"
+VERSION="2.1.2"
HOMEPAGE="http://opencolorio.org/"
-DOWNLOAD="https://github.com/imageworks/OpenColorIO/archive/v1.1.1/OpenColorIO-1.1.1.tar.gz"
-MD5SUM="23d8b9ac81599305539a5a8674b94a3d"
+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="python3"
+REQUIRES="pybind11"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
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/oiio-include-cstdio.diff b/graphics/openimageio/oiio-include-cstdio.diff
deleted file mode 100644
index 48d6aad832..0000000000
--- a/graphics/openimageio/oiio-include-cstdio.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/jpeg2000.imageio/jpeg2000output-v1.cpp.orig 2019-08-02 13:53:54.000000000 +1000
-+++ src/jpeg2000.imageio/jpeg2000output-v1.cpp 2019-08-07 21:54:04.354000000 +1000
-@@ -28,6 +28,7 @@
- (This is the Modified BSD License)
- */
-
-+#include <cstdio>
- #include <vector>
-
- #include "openjpeg.h"
diff --git a/graphics/openimageio/oiio-libopenimageio-exif-cpp.diff b/graphics/openimageio/oiio-libopenimageio-exif-cpp.diff
deleted file mode 100644
index b0955d5c7d..0000000000
--- a/graphics/openimageio/oiio-libopenimageio-exif-cpp.diff
+++ /dev/null
@@ -1,326 +0,0 @@
---- oiio-Release-2.0.13/src/libOpenImageIO/exif.cpp 2019-12-03 23:28:14.000000000 +0100
-+++ oiio-Release-2.0.13/src/libOpenImageIO/exif.cpp 2021-02-02 02:54:55.000000000 +0100
-@@ -554,40 +528,44 @@
-
-
-
-+// libtiff > 4.1.0 defines these in tiff.h. For older libtiff, let's define
-+// them ourselves.
-+#ifndef GPSTAG_VERSIONID
- enum GPSTag {
-- GPSTAG_VERSIONID = 0,
-- GPSTAG_LATITUDEREF = 1,
-- GPSTAG_LATITUDE = 2,
-- GPSTAG_LONGITUDEREF = 3,
-- GPSTAG_LONGITUDE = 4,
-- GPSTAG_ALTITUDEREF = 5,
-- GPSTAG_ALTITUDE = 6,
-- GPSTAG_TIMESTAMP = 7,
-- GPSTAG_SATELLITES = 8,
-- GPSTAG_STATUS = 9,
-- GPSTAG_MEASUREMODE = 10,
-- GPSTAG_DOP = 11,
-- GPSTAG_SPEEDREF = 12,
-- GPSTAG_SPEED = 13,
-- GPSTAG_TRACKREF = 14,
-- GPSTAG_TRACK = 15,
-- GPSTAG_IMGDIRECTIONREF = 16,
-- GPSTAG_IMGDIRECTION = 17,
-- GPSTAG_MAPDATUM = 18,
-- GPSTAG_DESTLATITUDEREF = 19,
-- GPSTAG_DESTLATITUDE = 20,
-- GPSTAG_DESTLONGITUDEREF = 21,
-- GPSTAG_DESTLONGITUDE = 22,
-- GPSTAG_DESTBEARINGREF = 23,
-- GPSTAG_DESTBEARING = 24,
-- GPSTAG_DESTDISTANCEREF = 25,
-- GPSTAG_DESTDISTANCE = 26,
-- GPSTAG_PROCESSINGMETHOD = 27,
-- GPSTAG_AREAINFORMATION = 28,
-- GPSTAG_DATESTAMP = 29,
-- GPSTAG_DIFFERENTIAL = 30,
-- GPSTAG_HPOSITIONINGERROR = 31
-+ GPSTAG_VERSIONID = 0,
-+ GPSTAG_LATITUDEREF = 1,
-+ GPSTAG_LATITUDE = 2,
-+ GPSTAG_LONGITUDEREF = 3,
-+ GPSTAG_LONGITUDE = 4,
-+ GPSTAG_ALTITUDEREF = 5,
-+ GPSTAG_ALTITUDE = 6,
-+ GPSTAG_TIMESTAMP = 7,
-+ GPSTAG_SATELLITES = 8,
-+ GPSTAG_STATUS = 9,
-+ GPSTAG_MEASUREMODE = 10,
-+ GPSTAG_DOP = 11,
-+ GPSTAG_SPEEDREF = 12,
-+ GPSTAG_SPEED = 13,
-+ GPSTAG_TRACKREF = 14,
-+ GPSTAG_TRACK = 15,
-+ GPSTAG_IMGDIRECTIONREF = 16,
-+ GPSTAG_IMGDIRECTION = 17,
-+ GPSTAG_MAPDATUM = 18,
-+ GPSTAG_DESTLATITUDEREF = 19,
-+ GPSTAG_DESTLATITUDE = 20,
-+ GPSTAG_DESTLONGITUDEREF = 21,
-+ GPSTAG_DESTLONGITUDE = 22,
-+ GPSTAG_DESTBEARINGREF = 23,
-+ GPSTAG_DESTBEARING = 24,
-+ GPSTAG_DESTDISTANCEREF = 25,
-+ GPSTAG_DESTDISTANCE = 26,
-+ GPSTAG_PROCESSINGMETHOD = 27,
-+ GPSTAG_AREAINFORMATION = 28,
-+ GPSTAG_DATESTAMP = 29,
-+ GPSTAG_DIFFERENTIAL = 30,
-+ GPSTAG_GPSHPOSITIONINGERROR = 31
- };
-+#endif
-
- static const TagInfo gps_tag_table[] = {
- // clang-format off
-@@ -622,7 +600,7 @@
- { GPSTAG_AREAINFORMATION, "GPS:AreaInformation", TIFF_UNDEFINED, 1 },
- { GPSTAG_DATESTAMP, "GPS:DateStamp", TIFF_ASCII, 0 },
- { GPSTAG_DIFFERENTIAL, "GPS:Differential", TIFF_SHORT, 1 },
-- { GPSTAG_HPOSITIONINGERROR, "GPS:HPositioningError",TIFF_RATIONAL, 1 }
-+ { GPSTAG_GPSHPOSITIONINGERROR, "GPS:HPositioningError",TIFF_RATIONAL, 1 }
- // clang-format on
- };
-
-@@ -685,7 +663,7 @@
- }
- if (dirp->tdir_type == TIFF_RATIONAL) {
- int n = dirp->tdir_count; // How many
-- float* f = (float*)alloca(n * sizeof(float));
-+ float* f = OIIO_ALLOCA(float, n);
- for (int i = 0; i < n; ++i) {
- unsigned int num, den;
- num = ((const unsigned int*)dataptr)[2 * i + 0];
-@@ -704,7 +682,7 @@
- }
- if (dirp->tdir_type == TIFF_SRATIONAL) {
- int n = dirp->tdir_count; // How many
-- float* f = (float*)alloca(n * sizeof(float));
-+ float* f = OIIO_ALLOCA(float, n);
- for (int i = 0; i < n; ++i) {
- int num, den;
- num = ((const int*)dataptr)[2 * i + 0];
-@@ -799,7 +777,7 @@
-
- #if DEBUG_EXIF_READ
- std::cerr << "Read " << tagmap.mapname() << " ";
-- print_dir_entry(tagmap, dir, buf, offset_adjustment);
-+ print_dir_entry(std::cerr, tagmap, dir, buf, offset_adjustment);
- #endif
-
- if (dir.tdir_tag == TIFFTAG_EXIFIFD || dir.tdir_tag == TIFFTAG_GPSIFD) {
-@@ -808,7 +786,7 @@
- unsigned int offset = dirp->tdir_offset; // int stored in offset itself
- if (swab)
- swap_endian(&offset);
-- if (offset >= buf.size()) {
-+ if (offset >= size_t(buf.size())) {
- #if DEBUG_EXIF_READ
- unsigned int off2 = offset;
- swap_endian(&off2);
-@@ -863,6 +841,16 @@
- unsigned int offset = dirp->tdir_offset; // int stored in offset itself
- if (swab)
- swap_endian(&offset);
-+ if (offset >= size_t(buf.size())) {
-+#if DEBUG_EXIF_READ
-+ unsigned int off2 = offset;
-+ swap_endian(&off2);
-+ std::cerr << "Bad Exif block? ExifIFD has offset " << offset
-+ << " inexplicably greater than exif buffer length "
-+ << buf.size() << " (byte swapped = " << off2 << ")\n";
-+#endif
-+ return;
-+ }
- // Don't recurse if we've already visited this IFD
- if (ifd_offsets_seen.find(offset) != ifd_offsets_seen.end())
- return;
-
-@@ -964,49 +946,46 @@
- const char* s = *(const char**)p.data();
- int len = strlen(s) + 1;
- append_tiff_dir_entry(dirs, data, tag, type, len, s,
-- offset_correction);
-+ offset_correction, 0, endianreq);
- return;
- }
- break;
- case TIFF_RATIONAL:
- if (element == TypeDesc::FLOAT) {
-- unsigned int* rat = (unsigned int*)alloca(2 * count
-- * sizeof(unsigned int));
-+ unsigned int* rat = OIIO_ALLOCA(unsigned int, 2 * count);
- const float* f = (const float*)p.data();
- for (size_t i = 0; i < count; ++i)
- float_to_rational(f[i], rat[2 * i], rat[2 * i + 1]);
- append_tiff_dir_entry(dirs, data, tag, type, count, rat,
-- offset_correction);
-+ offset_correction, 0, endianreq);
- return;
- }
- break;
- case TIFF_SRATIONAL:
- if (element == TypeDesc::FLOAT) {
-- int* rat = (int*)alloca(2 * count * sizeof(int));
-+ int* rat = OIIO_ALLOCA(int, 2 * count);
- const float* f = (const float*)p.data();
- for (size_t i = 0; i < count; ++i)
- float_to_rational(f[i], rat[2 * i], rat[2 * i + 1]);
- append_tiff_dir_entry(dirs, data, tag, type, count, rat,
-- offset_correction);
-+ offset_correction, 0, endianreq);
- return;
- }
- break;
- case TIFF_SHORT:
-- if (append_tiff_dir_entry_integer<unsigned short>(p, dirs, data, tag,
-- type,
-- offset_correction))
-+ if (append_tiff_dir_entry_integer<unsigned short>(
-+ p, dirs, data, tag, type, offset_correction, endianreq))
- return;
- break;
- case TIFF_LONG:
- if (append_tiff_dir_entry_integer<unsigned int>(p, dirs, data, tag,
-- type,
-- offset_correction))
-+ type, offset_correction,
-+ endianreq))
- return;
- break;
- case TIFF_BYTE:
-- if (append_tiff_dir_entry_integer<unsigned char>(p, dirs, data, tag,
-- type,
-- offset_correction))
-+ if (append_tiff_dir_entry_integer<unsigned char>(
-+ p, dirs, data, tag, type, offset_correction, endianreq))
- return;
- break;
- default: break;
-@@ -1091,14 +1097,24 @@
- bool
- decode_exif(cspan<uint8_t> exif, ImageSpec& spec)
- {
-+ // Sometimes an exif blob starts with "Exif". Skip it.
-+ if (exif.size() >= 6 && exif[0] == 'E' && exif[1] == 'x' && exif[2] == 'i'
-+ && exif[3] == 'f' && exif[4] == 0 && exif[5] == 0) {
-+ exif = exif.subspan(6);
-+ }
-+
- #if DEBUG_EXIF_READ
- std::cerr << "Exif dump:\n";
-- for (size_t i = 0; i < exif.size(); ++i) {
-+ for (size_t i = 0; i < std::min(200L, exif.size()); ++i) {
-+ if ((i % 16) == 0)
-+ std::cerr << "[" << i << "] ";
- if (exif[i] >= ' ')
- std::cerr << (char)exif[i] << ' ';
- std::cerr << "(" << (int)exif[i] << ") ";
-+ if ((i % 16) == 15)
-+ std::cerr << "\n";
- }
-- std::cerr << "\n";
-+ std::cerr << std::endl;
- #endif
-
- // The first item should be a standard TIFF header. Note that HERE,
-@@ -1176,8 +1192,10 @@
-
- template<class T>
- inline void
--append(std::vector<char>& blob, const T& v)
-+append(std::vector<char>& blob, T v, endian endianreq = endian::native)
- {
-+ if (endianreq != endian::native)
-+ swap_endian(&v);
- blob.insert(blob.end(), (const char*)&v, (const char*)&v + sizeof(T));
- }
-
-@@ -1191,10 +1209,20 @@
-
-
-
-+// DEPRECATED(2.1)
-+void
-+encode_exif(const ImageSpec& spec, std::vector<char>& blob)
-+{
-+ encode_exif(spec, blob, endian::native);
-+}
-+
-+
-+
- // Construct an Exif data block from the ImageSpec, appending the Exif
- // data as a big blob to the char vector.
- void
--encode_exif(const ImageSpec& spec, std::vector<char>& blob)
-+encode_exif(const ImageSpec& spec, std::vector<char>& blob,
-+ OIIO::endian endianreq)
- {
- const TagMap& exif_tagmap(exif_tagmap_ref());
- const TagMap& gps_tagmap(gps_tagmap_ref());
-@@ -1243,9 +1271,9 @@
- // Put a TIFF header
- size_t tiffstart = blob.size(); // store initial size
- TIFFHeader head;
-- head.tiff_magic = littleendian() ? 0x4949 : 0x4d4d;
-+ head.tiff_magic = (endianreq == endian::little) ? 0x4949 : 0x4d4d;
- head.tiff_version = 42;
-- // head.tiff_diroff -- fix below, once we know the sizes
-+ // N.B. need to swap_endian head.tiff_diroff below, once we know the sizes
- append(blob, head);
-
- // Accumulate separate tag directories for TIFF, Exif, GPS, and Interop.
-@@ -1259,7 +1287,8 @@
- if (Strutil::starts_with(p.name(), "GPS:")) {
- int tag = gps_tagmap.tag(p.name());
- if (tag >= 0)
-- encode_exif_entry(p, tag, gpsdirs, blob, gps_tagmap, tiffstart);
-+ encode_exif_entry(p, tag, gpsdirs, blob, gps_tagmap, tiffstart,
-+ endianreq);
- } else {
- // Not GPS
- int tag = exif_tagmap.tag(p.name());
-@@ -1267,10 +1296,10 @@
- // This range of Exif tags go in the main TIFF directories,
- // not the Exif IFD. Whatever.
- encode_exif_entry(p, tag, tiffdirs, blob, exif_tagmap,
-- tiffstart);
-+ tiffstart, endianreq);
- } else {
- encode_exif_entry(p, tag, exifdirs, blob, exif_tagmap,
-- tiffstart);
-+ tiffstart, endianreq);
- }
- }
- }
-@@ -1293,12 +1322,14 @@
- if (exifdirs.size() || makerdirs.size()) {
- // Add some required Exif tags that wouldn't be in the spec
- append_tiff_dir_entry(exifdirs, blob, EXIF_EXIFVERSION, TIFF_UNDEFINED,
-- 4, "0230", tiffstart);
-+ 4, "0230", tiffstart, 0, endianreq);
- append_tiff_dir_entry(exifdirs, blob, EXIF_FLASHPIXVERSION,
-- TIFF_UNDEFINED, 4, "0100", tiffstart);
-+ TIFF_UNDEFINED, 4, "0100", tiffstart, 0,
-+ endianreq);
- static char componentsconfig[] = { 1, 2, 3, 0 };
- append_tiff_dir_entry(exifdirs, blob, EXIF_COMPONENTSCONFIGURATION,
-- TIFF_UNDEFINED, 4, componentsconfig, tiffstart);
-+ TIFF_UNDEFINED, 4, componentsconfig, tiffstart, 0,
-+ endianreq);
- }
-
- // If any GPS info was found, add a version tag to the GPS fields.
-@@ -1306,7 +1337,7 @@
- // Add some required Exif tags that wouldn't be in the spec
- static char ver[] = { 2, 2, 0, 0 };
- append_tiff_dir_entry(gpsdirs, blob, GPSTAG_VERSIONID, TIFF_BYTE, 4,
-- &ver, tiffstart);
-+ &ver, tiffstart, 0, endianreq);
- }
-
- // Compute offsets:
diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild
index b6393d1565..5be9a3d692 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openimageio
-# Copyright 2015-2021 Christoph Willing Brisbane, Australia
+# Copyright 2015-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openimageio
-SRCNAM=oiio-Release
-VERSION=${VERSION:-2.0.13}
-BUILD=${BUILD:-2}
+SRCNAM=OpenImageIO-Release
+VERSION=${VERSION:-2.2.21.0}
+FMT=${FMT:-"fmt-7.1.3"}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
-
-PYLIB3_INSTALL_DIRECTORY=$(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,17 +71,17 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+rm -rf $SRCNAM-$VERSION
+tar xf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
-patch -p0 < $CWD/oiio-include-cstdio.diff
+patch -p1 < $CWD/ffmpeg-5.1.diff
-grep 20191103 /usr/include/tiffvers.h 2>&1 >/dev/null || {
-# libtiff-4.2.0 requires additional patches
-# (thanks to Giancarlo Dessi)
- patch -p1 < $CWD/rawinput.diff
- patch -p1 < $CWD/oiio-libopenimageio-exif-cpp.diff
-}
+# 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 . \
@@ -81,27 +90,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 {} \;
-# save this for GCC 7.0
-#sed -i "s|std=c++11|std=c++11 -Wno-error=maybe-uninitialized -Wno-error=format-truncation -Wno-error=noexcept-type -faligned-new|" CMakeLists.txt
-
mkdir -p build
cd build
cmake ../ \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fcommon" \
- -DOPENJPEG_INCLUDE_DIR="/usr/include/openmj2-2.1" \
- -DOPENJPEG_OPENJPEG_LIBRARY_RELEASE="/usr/lib${LIBDIRSUFFIX}/libopenmj2.so" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_FMT_FORCE:BOOL=TRUE \
-DPYLIB_INCLUDE_SONAME:BOOL=TRUE \
-DPYLIB_LIB_PREFIX:BOOL=FALSE \
- -DUSE_OCIO:BOOL=TRUE \
- -DUSE_OPENJPEG:BOOL=TRUE \
+ -DUSE_OPENJPEG:BOOL=FALSE \
-DOIIO_BUILD_TESTS:BOOL=FALSE \
-DUSE_PYTHON:BOOL=TRUE \
-DPYTHON_VERSION=$(python3 --version | cut -d' ' -f2) \
- -DUSE_EXTERNAL_PUGIXML:BOOL=FALSE \
-
make
make install DESTDIR=$PKG
@@ -118,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index 95dd9e8323..6149a876d1 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,10 +1,12 @@
PRGNAM="openimageio"
-VERSION="2.0.13"
+VERSION="2.2.21.0"
HOMEPAGE="https://sites.google.com/site/openimageio/home"
-DOWNLOAD="https://github.com/OpenImageIO/oiio/archive/Release-2.0.13/oiio-Release-2.0.13.tar.gz"
-MD5SUM="76ce4d246409de331ad04453423479bf"
+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="ffmpeg libwebp opencv opencolorio pybind11 robin-map qt5 dcmtk"
+REQUIRES="opencolorio robin-map dcmtk hdf5"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/graphics/openimageio/rawinput.diff b/graphics/openimageio/rawinput.diff
deleted file mode 100644
index e465621ac2..0000000000
--- a/graphics/openimageio/rawinput.diff
+++ /dev/null
@@ -1,114 +0,0 @@
---- oiio-Release-2.0.13/src/raw.imageio/rawinput.cpp 2019-12-03 23:28:14.000000000 +0100
-+++ oiio-Release-2.0.13-fix/src/raw.imageio/rawinput.cpp 2020-12-20 23:29:30.556780764 +0100
-@@ -643,7 +643,7 @@
- #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 17, 0)
- if (other.parsed_gps.gpsparsed) {
- add("GPS", "Latitude", other.parsed_gps.latitude, false, 0.0f);
-- add("GPS", "Longitude", other.parsed_gps.longtitude, false,
-+ add("GPS", "Longitude", other.parsed_gps.longitude, false,
- 0.0f); // N.B. wrong spelling!
- add("GPS", "TimeStamp", other.parsed_gps.gpstimestamp, false, 0.0f);
- add("GPS", "Altitude", other.parsed_gps.altitude, false, 0.0f);
-@@ -667,12 +667,12 @@
- // float AmbientTemperature;
- // float BatteryTemperature;
- // float exifAmbientTemperature;
-- add("Exif", "Humidity", other.exifHumidity, false, 0.0f);
-- add("Exif", "Pressure", other.exifPressure, false, 0.0f);
-- add("Exif", "WaterDepth", other.exifWaterDepth, false, 0.0f);
-- add("Exif", "Acceleration", other.exifAcceleration, false, 0.0f);
-- add("Exif", "CameraElevactionAngle", other.exifCameraElevationAngle, false,
-- 0.0f);
-+ //add("Exif", "Humidity", other.exifHumidity, false, 0.0f);
-+ //add("Exif", "Pressure", other.exifPressure, false, 0.0f);
-+ //add("Exif", "WaterDepth", other.exifWaterDepth, false, 0.0f);
-+ //add("Exif", "Acceleration", other.exifAcceleration, false, 0.0f);
-+ //add("Exif", "CameraElevactionAngle", other.exifCameraElevationAngle, false,
-+ // 0.0f);
- // float real_ISO;
- #endif
-
-@@ -861,9 +861,9 @@
- {
- #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 18, 0)
- auto const& mn(m_processor->imgdata.makernotes.olympus);
-- MAKERF(OlympusCropID);
-- MAKERF(OlympusFrame); /* upper left XY, lower right XY */
-- MAKERF(OlympusSensorCalibration);
-+ //MAKERF(OlympusCropID);
-+ //MAKERF(OlympusFrame); /* upper left XY, lower right XY */
-+ //MAKERF(OlympusSensorCalibration);
- MAKERF(FocusMode);
- MAKERF(AutoFocus);
- MAKERF(AFPoint);
-@@ -938,12 +938,12 @@
- {
- #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 18, 0)
- auto const& mn(m_processor->imgdata.makernotes.fuji);
-- add(m_make, "ExpoMidPointShift", mn.FujiExpoMidPointShift);
-- add(m_make, "DynamicRange", mn.FujiDynamicRange);
-- add(m_make, "FilmMode", mn.FujiFilmMode);
-- add(m_make, "DynamicRangeSetting", mn.FujiDynamicRangeSetting);
-- add(m_make, "DevelopmentDynamicRange", mn.FujiDevelopmentDynamicRange);
-- add(m_make, "AutoDynamicRange", mn.FujiAutoDynamicRange);
-+ add(m_make, "ExpoMidPointShift", mn.ExpoMidPointShift);
-+ add(m_make, "DynamicRange", mn.DynamicRange);
-+ add(m_make, "FilmMode", mn.FilmMode);
-+ add(m_make, "DynamicRangeSetting", mn.DynamicRangeSetting);
-+ add(m_make, "DevelopmentDynamicRange", mn.DevelopmentDynamicRange);
-+ add(m_make, "AutoDynamicRange", mn.AutoDynamicRange);
- MAKERF(FocusMode);
- MAKERF(AFMode);
- MAKERF(FocusPixel);
-@@ -967,7 +967,7 @@
- {
- #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 18, 0)
- auto const& mn(m_processor->imgdata.makernotes.sony);
-- MAKERF(SonyCameraType);
-+ MAKERF(CameraType);
- #endif
- #if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 19, 0)
- // uchar Sony0x9400_version; /* 0 if not found/deciphered, 0xa, 0xb, 0xc following exiftool convention */
-@@ -976,12 +976,12 @@
- // uchar Sony0x9400_SequenceLength1;
- // unsigned Sony0x9400_SequenceFileNumber;
- // uchar Sony0x9400_SequenceLength2;
-- if (mn.raw_crop.cwidth || mn.raw_crop.cheight) {
-- add(m_make, "cropleft", mn.raw_crop.cleft, true);
-- add(m_make, "croptop", mn.raw_crop.ctop, true);
-- add(m_make, "cropwidth", mn.raw_crop.cwidth, true);
-- add(m_make, "cropheight", mn.raw_crop.cheight, true);
-- }
-+ //if (mn.raw_crop.cwidth || mn.raw_crop.cheight) {
-+ // add(m_make, "cropleft", mn.raw_crop.cleft, true);
-+ // add(m_make, "croptop", mn.raw_crop.ctop, true);
-+ // add(m_make, "cropwidth", mn.raw_crop.cwidth, true);
-+ // add(m_make, "cropheight", mn.raw_crop.cheight, true);
-+ //}
- MAKERF(AFMicroAdjValue);
- MAKERF(AFMicroAdjOn);
- MAKER(AFMicroAdjRegisteredLenses, 0);
-@@ -1054,17 +1054,17 @@
- MAKER(Adapter, 0);
- MAKER(AttachmentID, 0ULL);
- MAKER(Attachment, 0);
-- MAKER(CanonFocalUnits, 0);
-+ MAKER(FocalUnits, 0);
- MAKER(FocalLengthIn35mmFormat, 0.0f);
- }
-
- if (Strutil::iequals(m_make, "Nikon")) {
- auto const& mn(m_processor->imgdata.lens.nikon);
-- add(m_make, "EffectiveMaxAp", mn.NikonEffectiveMaxAp);
-- add(m_make, "LensIDNumber", mn.NikonLensIDNumber);
-- add(m_make, "LensFStops", mn.NikonLensFStops);
-- add(m_make, "MCUVersion", mn.NikonMCUVersion);
-- add(m_make, "LensType", mn.NikonLensType);
-+ add(m_make, "EffectiveMaxAp", mn.EffectiveMaxAp);
-+ add(m_make, "LensIDNumber", mn.LensIDNumber);
-+ add(m_make, "LensFStops", mn.LensFStops);
-+ add(m_make, "MCUVersion", mn.MCUVersion);
-+ add(m_make, "LensType", mn.LensType);
- }
- if (Strutil::iequals(m_make, "DNG")) {
- auto const& mn(m_processor->imgdata.lens.dng);
diff --git a/graphics/openscad-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-mcad/openscad-mcad.SlackBuild b/graphics/openscad-mcad/openscad-mcad.SlackBuild
index 2834c0043d..89a7f51b45 100644
--- a/graphics/openscad-mcad/openscad-mcad.SlackBuild
+++ b/graphics/openscad-mcad/openscad-mcad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openscad-mcad
@@ -22,33 +22,45 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220312 bkw: Modified by SlackBuilds.org: VERSION must be constant,
+# and match VERSION in the .info file.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openscad-mcad
COMVER=1ea402208c3127ffb443931e9bb1681c191dacca
-VERSION=${VERSION:-2020.10.09.$( printf %s $COMVER | cut -c1-7 )}
+VERSION=${VERSION:-2020.10.09.1ea4022}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
+SRCNAM=MCAD
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf MCAD-$COMVER
-tar xvf $CWD/$PRGNAM-$COMVER.tar.?z
-cd MCAD-$COMVER
+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 \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
mkdir -p $PKG/usr/share/openscad/libraries/MCAD/bitmap
@@ -103,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/openscad-mcad/openscad-mcad.info b/graphics/openscad-mcad/openscad-mcad.info
index 748d96be6c..3f0a91efa3 100644
--- a/graphics/openscad-mcad/openscad-mcad.info
+++ b/graphics/openscad-mcad/openscad-mcad.info
@@ -1,7 +1,7 @@
PRGNAM="openscad-mcad"
VERSION="2020.10.09.1ea4022"
HOMEPAGE="https://github.com/openscad/MCAD"
-DOWNLOAD="https://github.com/openscad/MCAD/archive/1ea402208c3127ffb443931e9bb1681c191dacca/openscad-mcad-1ea402208c3127ffb443931e9bb1681c191dacca.tar.gz"
+DOWNLOAD="https://github.com/openscad/MCAD/archive/1ea402208c3127ffb443931e9bb1681c191dacca/MCAD-1ea402208c3127ffb443931e9bb1681c191dacca.tar.gz"
MD5SUM="a86572e744abff686ee146274eda87f4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
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/openscad/README b/graphics/openscad/README
index ffa078db25..26808f1a5a 100644
--- a/graphics/openscad/README
+++ b/graphics/openscad/README
@@ -1,4 +1,4 @@
OpenSCAD is CAD software for creating solid 3D objects. It is not an
-interactive modeller. Instead it is something like a 3D-compiler that reads
-in a script file that describes an object and renders the 3D model from
-the script file.
+interactive modeller. Instead it is something like a 3D-compiler that
+reads in a script file that describes an object and renders the 3D
+model from the script file.
diff --git a/graphics/openscad/openscad.SlackBuild b/graphics/openscad/openscad.SlackBuild
index b49eeb8acc..7a7ab75fe1 100644
--- a/graphics/openscad/openscad.SlackBuild
+++ b/graphics/openscad/openscad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenSCAD
@@ -22,27 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openscad
-VERSION=${VERSION:-2015.03.3}
-SRCVER=${SRCVER:-$(echo $VERSION | sed 's/\./-/2')}
+VERSION=${VERSION:-2021.01}
+#SRCVER=${SRCVER:-$(echo $VERSION | sed 's/\./-/2')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.src.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.src.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -70,7 +80,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-qmake -recursive openscad.pro \
+qmake-qt5 -recursive openscad.pro \
PREFIX=/usr \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS"
@@ -86,7 +96,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 \
- COPYING README.md RELEASE_NOTES doc/*.pdf doc/TODO.txt \
+ COPYING README.md RELEASE_NOTES.md doc/*.pdf doc/TODO.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/openscad/openscad.info b/graphics/openscad/openscad.info
index 1cbdbf06e5..753a847121 100644
--- a/graphics/openscad/openscad.info
+++ b/graphics/openscad/openscad.info
@@ -1,10 +1,10 @@
PRGNAM="openscad"
-VERSION="2015.03.3"
+VERSION="2021.01"
HOMEPAGE="http://www.openscad.org/"
-DOWNLOAD="http://files.openscad.org/openscad-2015.03-3.src.tar.gz"
-MD5SUM="a498a218a247468eee140ccc44c73afa"
+DOWNLOAD="https://files.openscad.org/openscad-2021.01.src.tar.gz"
+MD5SUM="79f8e3a42bcfeeb3ddde9e5bc2311f76"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="CGAL OpenCSG"
+REQUIRES="CGAL OpenCSG double-conversion"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
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 71db87cedd..471f4ee37a 100644
--- a/graphics/optipng/optipng.SlackBuild
+++ b/graphics/optipng/optipng.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OptiPNG
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=optipng
VERSION=${VERSION:-0.7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -74,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/oyranos/README b/graphics/oyranos/README
index 0731c147fe..59dddcf6cd 100644
--- a/graphics/oyranos/README
+++ b/graphics/oyranos/README
@@ -1,11 +1,11 @@
-Oyranos is a Colour Management System (CMS) on operating system level. It
-allows to match predictably input device colours to output device colours
-accross supporting applications. One goal is to make colour management
-useful for all users in a automated fashion and regardless of any technical
-knowledge.
+Oyranos is a Colour Management System (CMS) on operating system
+level. It allows to match predictably input device colours to output
+device colours accross supporting applications. One goal is to make
+colour management useful for all users in a automated fashion and
+regardless of any technical knowledge.
-Oyranos is based one the well established ICC standard and various other
-specifications. System wide settings in Oyranos shall enshure consistency
-in a portable fashion. Oyranos will provide in the future a Colour Matching
-Module (CMM) framework. Users can then transparently select a desired
-colour engine.
+Oyranos is based one the well established ICC standard and various
+other specifications. System wide settings in Oyranos shall enshure
+consistency in a portable fashion. Oyranos will provide in the future
+a Colour Matching Module (CMM) framework. Users can then transparently
+select a desired colour engine.
diff --git a/graphics/oyranos/oyranos.SlackBuild b/graphics/oyranos/oyranos.SlackBuild
index 167e18989f..cbb6a7895e 100644
--- a/graphics/oyranos/oyranos.SlackBuild
+++ b/graphics/oyranos/oyranos.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for oyranos
@@ -23,10 +23,20 @@
# 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.
+# - add qt4 dependency.
+# - use cmake directly, instead of fake configure script.
+# - stop trying to build one of the examples with qt5 (it fails).
+# - don't build with fltk, if installed (it fails).
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=oyranos
VERSION=${VERSION:-0.9.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,11 +46,17 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# 20220225 bkw: These flags get used, but cmake puts a "-O3" right
+# after them, meaning the -O2 is ignored. Not going to fix.
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@@ -57,6 +73,8 @@ fi
set -e
+export PATH=/usr/lib$LIBDIRSUFFIX/qt4/bin:$PATH
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -66,33 +84,38 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+# The qcmsevents tool supposedly can be built with qt5, but it
+# fails (wrong qt5 version probably). Force it to use qt4.
+sed -i '/FIND_PACKAGE(Qt5/d' src/tools/qcmsevents/CMakeLists.txt
-make
-make install DESTDIR=$PKG
+# The build fails if fltk is installed, one of the example programs
+# fails to compile. So, do without it.
+sed -i '/IF/s,FLTK_FOUND,FALSE,' src/examples/CMakeLists.txt
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd ..
mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
+# 20220225 bkw: does an empty BUGS file count as a bug? or just a
+# statement of extreme confidence?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS.md BUGS COPYING.md README.md PACKAGING.md \
+cp -a AUTHORS.md COPYING.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -101,4 +124,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/oyranos/oyranos.info b/graphics/oyranos/oyranos.info
index c2d938317d..b5d69f1bce 100644
--- a/graphics/oyranos/oyranos.info
+++ b/graphics/oyranos/oyranos.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/oyranos-cms/oyranos/archive/0.9.6/oyranos-0.9.6.tar
MD5SUM="2a8c9783f762906ba7ff9ef43612041f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/paraview/011_doc_path.diff b/graphics/paraview/011_doc_path.diff
deleted file mode 100644
index 3b49cc11ec..0000000000
--- a/graphics/paraview/011_doc_path.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx.orig 2018-11-07 05:03:24.000000000 +1000
-+++ ParaViewCore/ClientServerCore/Default/vtkPVFileInformation.cxx 2018-11-23 18:17:38.214000000 +1000
-@@ -1227,7 +1227,8 @@
- //-----------------------------------------------------------------------------
- std::string vtkPVFileInformation::GetParaViewDocDirectory()
- {
-- return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc";
-+ /* return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc"; */
-+ return "/usr/doc/paraview-" PARAVIEW_VERSION_FULL ;
- }
-
- //-----------------------------------------------------------------------------
diff --git a/graphics/paraview/012_doc_path.diff b/graphics/paraview/012_doc_path.diff
new file mode 100644
index 0000000000..f77037e965
--- /dev/null
+++ b/graphics/paraview/012_doc_path.diff
@@ -0,0 +1,20 @@
+--- Remoting/Core/vtkPVFileInformation.cxx.orig 2021-05-14 02:47:34.000000000 +1000
++++ Remoting/Core/vtkPVFileInformation.cxx 2021-05-23 20:53:31.322000000 +1000
+@@ -1227,13 +1227,15 @@
+ //-----------------------------------------------------------------------------
+ std::string vtkPVFileInformation::GetParaViewExampleFilesDirectory()
+ {
+- return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/examples";
++ /* return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/examples"; */
++ return "/usr/doc/paraview-"PARAVIEW_VERSION_FULL ;
+ }
+
+ //-----------------------------------------------------------------------------
+ std::string vtkPVFileInformation::GetParaViewDocDirectory()
+ {
+- return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc";
++ /* return vtkPVFileInformation::GetParaViewSharedResourcesDirectory() + "/doc"; */
++ return "/usr/doc/paraview-"PARAVIEW_VERSION_FULL ;
+ }
+
+ //-----------------------------------------------------------------------------
diff --git a/graphics/paraview/020_vtkdocs.diff b/graphics/paraview/020_vtkdocs.diff
deleted file mode 100644
index b2838aba97..0000000000
--- a/graphics/paraview/020_vtkdocs.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- VTK/Utilities/Doxygen/CMakeLists.txt.orig 2017-03-11 05:22:48.000000000 +1000
-+++ VTK/Utilities/Doxygen/CMakeLists.txt 2017-03-15 21:49:40.289474063 +1000
-@@ -80,7 +80,4 @@
- install(FILES doc_readme.txt
- DESTINATION ${VTK_INSTALL_DOXYGEN_DIR}
- COMPONENT Development)
-- install(DIRECTORY ${VTK_BINARY_DIR}/Utilities/Doxygen/doc/html
-- DESTINATION ${VTK_INSTALL_DOXYGEN_DIR}
-- COMPONENT Development)
- endif()
diff --git a/graphics/paraview/README b/graphics/paraview/README
index 56ca48d4f7..c1edbf8977 100644
--- a/graphics/paraview/README
+++ b/graphics/paraview/README
@@ -1,18 +1,15 @@
-ParaView is an open-source, multi-platform data analysis and visualization
-application. ParaView users can quickly build visualizations to analyze their
-data using qualitative and quantitative techniques. The data exploration can be
-done interactively in 3D or programmatically using ParaView's batch
+ParaView is an open-source, multi-platform data analysis and
+visualization application. ParaView users can quickly build
+visualizations to analyze their data using qualitative and
+quantitative techniques. The data exploration can be done
+interactively in 3D or programmatically using ParaView's batch
processing capabilities.
This SlackBuild, in line with official Paraview releases,
is intended only for 64bit systems.
-Although not recommended, building without MPI (mpich) and/or Matplotlib support
-is possible by setting the relevant variables in the build environment:
- MPICH=no
- MATPLOTLIB=no
-
-Optional embedding with PythonQt may be enabled by setting
- PYTHONQT=yes
-in the build environment. This requires the SBo PythonQt package to be
-installed at build time.
+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 006f9ca3cc..67522c97c7 100644
--- a/graphics/paraview/paraview.SlackBuild
+++ b/graphics/paraview/paraview.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for paraview
-# Copyright 2016-2018 Christoph Willing Brisbane, Australia
+# Copyright 2016-2023 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=paraview
SRCNAM=ParaView
-VERSION=${VERSION:-5.6.0}
-SHORT_VERSION=${SHORT_VERSION:-5.6}
-DOC_VERSION=${DOC_VERSION:-5.6.0}
+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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -57,14 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-mpich="-DPARAVIEW_USE_MPI=ON \
- -DVTK_VPIC_USE_MPI=ON -DVTK_XDMF_USE_MPI=ON" ; [ "${MPICH:-yes}" != "yes" ] && mpich=""
-matplotlib="-DPARAVIEW_ENABLE_MATPLOTLIB=ON" ; [ "${MATPLOTLIB:-yes}" != "yes" ] && matplotlib=""
-pythonqt="-DPARAVIEW_BUILD_PLUGIN_PythonQtPlugin=ON \
- -DPythonQt_Wrap_Qtcore=ON \
- -DPythonQt_Wrap_Qtgui=ON \
- -DPythonQt_Wrap_Qtuitools=ON \
- -DPYTHONQT_INCLUDE_DIR=/usr/include/PythonQt" ; [ "${PYTHONQT:-no}" != "yes" ] && pythonqt=""
+mpi="" ; [ "${PV_USE_MPI:-no}" = "yes" ] && mpi="-DPARAVIEW_USE_MPI=ON"
set -e
@@ -74,11 +74,8 @@ cd $TMP
rm -rf $SRCNAM-v$VERSION
tar xvf $CWD/$SRCNAM-v$VERSION.tar.xz
cd $SRCNAM-v$VERSION
-patch -p0 < $CWD/011_doc_path.diff
-patch -p0 < $CWD/020_vtkdocs.diff
-sed -i -e 's/@PARAVIEW_VERSION_FULL@/1.0/' Applications/ParaView/paraview.desktop.in
-echo "Exec=paraview" >> Applications/ParaView/paraview.desktop.in
-echo "Categories=Development;Graphics" >> Applications/ParaView/paraview.desktop.in
+patch -p0 < $CWD/012_doc_path.diff
+sed -i -e 's/^Categories.*/&Development;Graphics;/' Clients/ParaView/org.paraview.ParaView.desktop.in
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -92,60 +89,34 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DFFMPEG_LIBAVCODEC_INCLUDE_DIRS=/usr/include/libavcodec \
- -DFFMPEG_LIBAVDEVICE_INCLUDE_DIRS=/usr/include/libavdevice \
- -DFFMPEG_LIBAVFORMAT_INCLUDE_DIRS=/usr/include/libavformat \
- -DFFMPEG_LIBAVUTIL_INCLUDE_DIRS=/usr/include/libavutil \
- -DFFMPEG_LIBSWSCALE_INCLUDE_DIRS=/usr/include/libswscale \
- -DPARAVIEW_BUILD_QT_GUI=ON \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DPARAVIEW_ENABLE_FFMPEG=ON \
+ -DPARAVIEW_ENABLE_GDAL=ON \
-DPARAVIEW_ENABLE_XDMF3=ON \
- -DPARAVIEW_ENABLE_CATALYST=ON \
-DPARAVIEW_ENABLE_FFMPEG=ON \
- -DPARAVIEW_ENABLE_PYTHON=ON \
+ -DPARAVIEW_USE_PYTHON=ON \
+ -DPARAVIEW_USE_QT=ON \
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON \
- -DVTK_RENDERING_BACKEND="OpenGL2" \
- -DBUILD_DOCUMENTATION=ON \
- -DBUILD_EXAMPLES=ON \
- -DBUILD_TESTING=OFF \
- -DINSTALL_MAN_DIR=/usr/man \
- -DINSTALL_LIB_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DINSTALL_DOCS=ON \
-DICET_INSTALL_MAN_DIR=man \
- -DVTK_INSTALL_ARCHIVE_DIR=lib${LIBDIRSUFFIX}/${PRGNAM}-${VERSION} \
- -DVTK_INSTALL_LIBRARY_DIR=lib${LIBDIRSUFFIX}/${PRGNAM}-${VERSION} \
- -DVTK_INSTALL_PACKAGE_DIR=lib${LIBDIRSUFFIX}/cmake/${PRGNAM}-${VERSION} \
- -DVTK_INSTALL_DOC_DIR=doc/${PRGNAM}-${VERSION} \
-DQtTesting_INSTALL_LIB_DIR=lib${LIBDIRSUFFIX} \
-DQtTesting_INSTALL_CMAKE_DIR=lib${LIBDIRSUFFIX}/cmake/qttesting \
- $matplotlib \
- $mpich \
- $pythonqt \
+ -DVTK_USE_TK=ON \
+ $mpi \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
-# Remove duplicate files in usr/lib
-[ -r $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}-${VERSION}/libXdmfCore.so ] && \
- rm -f $PKG/usr/lib/libXdmfCore.so
-[ -r $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}-${VERSION}/libvtkxdmf3.so ] && \
- rm -f $PKG/usr/lib/libvtkxdmf3.so
-if [ "$ARCH" = "x86_64" ]; then
- rm -rf $PKG/usr/lib
-fi
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CONTRIBUTING.* Copyright.* License_v1.2.txt README.* version.txt \
+ 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/ParaViewGuide-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Guide.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
mkdir -p $PKG/install
@@ -153,4 +124,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/paraview/paraview.info b/graphics/paraview/paraview.info
index d890f2dca3..3bbc28f071 100644
--- a/graphics/paraview/paraview.info
+++ b/graphics/paraview/paraview.info
@@ -1,14 +1,14 @@
PRGNAM="paraview"
-VERSION="5.6.0"
+VERSION="5.11.2"
HOMEPAGE="https://www.paraview.org"
-DOWNLOAD="https://www.paraview.org/files/v5.6/ParaView-v5.6.0.tar.xz \
- https://www.paraview.org/files/v5.6/ParaViewGuide-5.6.0.pdf \
- https://www.paraview.org/files/v5.6/ParaViewGettingStarted-5.6.0.pdf"
-MD5SUM="eefb05c36ba2c3a6b25991b73f699981 \
- 4013363d00c1f51e192bdf2778bea00b \
- 1bdadd4b5a62ba9f2de8eb0219ca858c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5 ffmpeg hdf5 Sphinx matplotlib mpich"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+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 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 e968158cfd..e2558b5cf2 100644
--- a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pcx-pixbuf-loader
VERSION=${VERSION:-20140824.6211fd8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,8 +69,8 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
@@ -76,4 +83,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/pcx-pixbuf-loader/pcx-pixbuf-loader.info b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
index 9367bad35e..bfcb8eed86 100644
--- a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://slackware.uk/~urchlay/src/pcx-pixbuf-loader-20140824.6211fd8.t
MD5SUM="3754d32e366a6f962765443810040267"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
+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/graphene/slack-desc b/graphics/pd-gears/slack-desc
index 2815360bf5..e4eb8a6699 100644
--- a/graphics/graphene/slack-desc
+++ b/graphics/pd-gears/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-graphene: graphene (graphic data types layer)
-graphene:
-graphene: A thin layer of graphic data types.
-graphene:
-graphene: Homepage: https://ebassi.github.io/graphene/
-graphene:
-graphene:
-graphene:
-graphene:
-graphene:
-graphene:
+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 223a0cb438..866e73657c 100644
--- a/graphics/pdf2png/README
+++ b/graphics/pdf2png/README
@@ -1,7 +1,8 @@
-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 and TIFF.
+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.
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild
index 47231e3e0a..57350904c4 100644
--- a/graphics/pdf2png/pdf2png.SlackBuild
+++ b/graphics/pdf2png/pdf2png.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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,18 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdf2png
-VERSION=${VERSION:-0.5}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.5.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
-CWD=$(pwd)
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
@@ -49,9 +56,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
@@ -65,4 +69,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/pdf2png/pdf2png.info b/graphics/pdf2png/pdf2png.info
index 5376403ab3..c7cce23d4f 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.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/pdf2svg/pdf2svg.SlackBuild b/graphics/pdf2svg/pdf2svg.SlackBuild
index 5d1378d5bc..239607a631 100644
--- a/graphics/pdf2svg/pdf2svg.SlackBuild
+++ b/graphics/pdf2svg/pdf2svg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdf2svg
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdf2svg
VERSION=${VERSION:-0.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/peek/README b/graphics/peek/README
new file mode 100644
index 0000000000..0400f4e294
--- /dev/null
+++ b/graphics/peek/README
@@ -0,0 +1,16 @@
+Peek makes it easy to create short screencasts of a screen area. It was
+built for the specific use case of recording screen areas, e.g. for
+easily showing UI features of your own apps or for showing a bug in bug
+reports. With Peek, you simply place the Peek window over the area you
+want to record and press "Record". Peek is optimized for generating
+animated GIFs, but you can also directly record to WebM or MP4 if you
+prefer.
+
+Peek is not a general purpose screencast app with extended features but
+rather focuses on the single task of creating small, silent screencasts
+of an area of the screen for creating GIF animations or silent WebM or
+MP4 videos.
+
+Peek runs on X11 or inside a GNOME Shell Wayland session using
+XWayland. Support for more Wayland desktops might be added in the
+future.
diff --git a/graphics/peek/doinst.sh b/graphics/peek/doinst.sh
new file mode 100644
index 0000000000..4f97d7d784
--- /dev/null
+++ b/graphics/peek/doinst.sh
@@ -0,0 +1,16 @@
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+
+if [ -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/peek/peek.SlackBuild b/graphics/peek/peek.SlackBuild
new file mode 100644
index 0000000000..f7b9512531
--- /dev/null
+++ b/graphics/peek/peek.SlackBuild
@@ -0,0 +1,108 @@
+#!/bin/bash
+
+# Slackware build script for peek
+
+# Copyright 2022 Nicholas Hubbard nicholashubbard@posteo.net
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=peek
+VERSION=${VERSION:-1.5.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/peek/peek.info b/graphics/peek/peek.info
new file mode 100644
index 0000000000..e1c54c5808
--- /dev/null
+++ b/graphics/peek/peek.info
@@ -0,0 +1,10 @@
+PRGNAM="peek"
+VERSION="1.5.1"
+HOMEPAGE="https://github.com/phw/peek"
+DOWNLOAD="https://github.com/phw/peek/archive/1.5.1/peek-1.5.1.tar.gz"
+MD5SUM="db3175bc7884a03863e3380836f9be73"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Nicholas Hubbard"
+EMAIL="nicholashubbard@posteo.net"
diff --git a/graphics/peek/slack-desc b/graphics/peek/slack-desc
new file mode 100644
index 0000000000..4cd24c1df8
--- /dev/null
+++ b/graphics/peek/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+peek: peek (an animated GIF recorder)
+peek:
+peek: Peek makes it easy to create short screencasts of a screen area. With
+peek: Peek, you simply place the Peek window over the area you want to
+peek: record and press "Record". Peek is optimized for generating animated
+peek: GIFs, but you can also directly record to WebM or MP4 if you prefer.
+peek:
+peek: Homepage: https://github.com/phw/peek
+peek:
+peek:
+peek:
diff --git a/graphics/pencil2d/pencil2d.SlackBuild b/graphics/pencil2d/pencil2d.SlackBuild
index 60e5868627..4d769bfe9d 100644
--- a/graphics/pencil2d/pencil2d.SlackBuild
+++ b/graphics/pencil2d/pencil2d.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <pencil2d>
#
# Michales (clavisound) Michaloudes korgie@gmail.com <2020>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pencil2d
SRCNAM=pencil
VERSION=${VERSION:-0.6.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,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/pencil2d/pencil2d.info b/graphics/pencil2d/pencil2d.info
index de0918fc55..b209e51284 100644
--- a/graphics/pencil2d/pencil2d.info
+++ b/graphics/pencil2d/pencil2d.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/pencil2d/pencil/archive/v0.6.5/pencil-0.6.5.tar.gz"
MD5SUM="80f5f5ca1ba49453631353b5b1c8c5ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="six pyudev python-evdev graphviz ninja meson libwacom libinput libxkbcommon qt5"
+REQUIRES="pyudev python-evdev graphviz"
MAINTAINER="Michales Michaloudes"
EMAIL="korgie@gmail.com"
diff --git a/graphics/pencil3/README b/graphics/pencil3/README
index 86c31d705f..481cdea8ad 100644
--- a/graphics/pencil3/README
+++ b/graphics/pencil3/README
@@ -2,19 +2,21 @@ Pencil is built for the purpose of providing a free and open-source
GUI prototyping tool that people can easily install and use to create
mockups in popular desktop platforms.
-This version can be installed along with 2.0.x version without any problem.
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. You should
+decide for yourself whether or not you think this is a good idea.
-
-Optional features
+Optional features:
ELECTRON (default=no): This requires electron, available in SBo. Use
-pencil3 with some version of electron previously installed in the system.
-Otherwise the SlackBuild uses and downloads electron required for pencil3.
+pencil3 with some version of electron previously installed in the
+system. Otherwise the SlackBuild uses and downloads electron required
+for pencil3.
-BINARY (default=no): Use it to create a binary package. This option requires
-downloading electron for the architecture of your system, close to 40MiB.
-You can install the electron package from SBo with the INSTALL_ZIP=yes option,
-to avoid the download.
+BINARY (default=no): Use it to create a binary package. This option
+requires downloading electron for the architecture of your system,
+close to 40MiB. You can install the electron package from SBo with
+the INSTALL_ZIP=yes option, to avoid the download.
If you need to use any option do something like:
diff --git a/graphics/pencil3/pencil3.SlackBuild b/graphics/pencil3/pencil3.SlackBuild
index 79650d5415..09fb80896b 100644
--- a/graphics/pencil3/pencil3.SlackBuild
+++ b/graphics/pencil3/pencil3.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pencil3
@@ -22,11 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220306 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to v3.1.0.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pencil3
PKGNAM=pencil
-VERSION=${VERSION:-3.0.4}
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,9 +78,9 @@ cd $PKGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# remove package generation
sed -i -e 's/"target": \["deb", "rpm", "tar.gz"\]/"target": []/g' package.json
@@ -157,4 +167,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/pencil3/pencil3.info b/graphics/pencil3/pencil3.info
index ce9bbff829..f533d35b07 100644
--- a/graphics/pencil3/pencil3.info
+++ b/graphics/pencil3/pencil3.info
@@ -1,8 +1,8 @@
PRGNAM="pencil3"
-VERSION="3.0.4"
+VERSION="3.1.0"
HOMEPAGE="http://pencil.evolus.vn/"
-DOWNLOAD="https://github.com/evolus/pencil/archive/v3.0.4/pencil-3.0.4.tar.gz"
-MD5SUM="0300a9558547eaa3c6e8cfe749e4d7cc"
+DOWNLOAD="https://github.com/evolus/pencil/archive/v3.1.0/pencil-3.1.0.tar.gz"
+MD5SUM="3e2ce85b24c1a87622e8cd0405558913"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="nodejs"
diff --git a/graphics/phatch/phatch.SlackBuild b/graphics/phatch/phatch.SlackBuild
index 9f0f1c981f..c3354433a9 100644
--- a/graphics/phatch/phatch.SlackBuild
+++ b/graphics/phatch/phatch.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for phatch
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=phatch
VERSION=${VERSION:-0.2.7.1}
SRCVER=$(echo $VERSION | cut -c1-5)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/pho/README b/graphics/pho/README
index cf12b7d38b..39863e5ad8 100644
--- a/graphics/pho/README
+++ b/graphics/pho/README
@@ -1,5 +1,5 @@
pho (pronounced like the first syllable in "photo") is a lightweight
-program for viewing large numbers of images quickly, rotating or deleting
-some, and making notes about what to do with each image -- for instance,
-for going through hundreds of images after uploading them from a digital
-camera.
+program for viewing large numbers of images quickly, rotating or
+deleting some, and making notes about what to do with each image --
+for instance, for going through hundreds of images after uploading
+them from a digital camera.
diff --git a/graphics/pho/pho.SlackBuild b/graphics/pho/pho.SlackBuild
index 4e50515065..4732cf30de 100644
--- a/graphics/pho/pho.SlackBuild
+++ b/graphics/pho/pho.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Pho
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pho
VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -73,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/photivo/README b/graphics/photivo/README
deleted file mode 100644
index 0797c53de8..0000000000
--- a/graphics/photivo/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Photivo is a free and open source (GPL3) photo processor.
-It handles your RAW files as well as your bitmap files
-(TIFF, JPEG, BMP, PNG and many more) in a non-destructive
-16 bit processing pipe with gimp workflow integration
-and batch mode.
-
-Photivo requires GraphicsMagick to be compiled with
-the configure option "--with-quantum-depth=16": this is
-enabled by default in the latest GraphicsMagick build
-script, so if you have problem starting photivo be sure
-to have the latest version.
diff --git a/graphics/photivo/doinst.sh b/graphics/photivo/doinst.sh
deleted file mode 100644
index 5fb28930db..0000000000
--- a/graphics/photivo/doinst.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/graphics/photivo/photivo.info b/graphics/photivo/photivo.info
deleted file mode 100644
index 7582f5cd37..0000000000
--- a/graphics/photivo/photivo.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="photivo"
-VERSION="20160525"
-HOMEPAGE="http://photivo.org/"
-DOWNLOAD="https://bitbucket.org/Photivo/photivo/get/5d7d1cc4ef4d.tar.gz"
-MD5SUM="42fc15bafe1d49c8fd464926950a73bf"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="GraphicsMagick lensfun liblqr"
-MAINTAINER="Giorgio Peron"
-EMAIL="giorgio.peron@gmail.com"
diff --git a/graphics/photivo/slack-desc b/graphics/photivo/slack-desc
deleted file mode 100644
index 7525d43812..0000000000
--- a/graphics/photivo/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-photivo: photivo (photo processor)
-photivo:
-photivo: Photivo is a free and open source (GPL3) photo processor.
-photivo: It handles your RAW files as well as your bitmap files
-photivo: (TIFF, JPEG, BMP, PNG and many more) in a non-destructive
-photivo: 16 bit processing pipe with gimp workflow integration
-photivo: and batch mode.
-photivo:
-photivo: Homepage http://photivo.org/
-photivo:
-photivo:
diff --git a/graphics/photoprint/README b/graphics/photoprint/README
deleted file mode 100644
index c3ab96c154..0000000000
--- a/graphics/photoprint/README
+++ /dev/null
@@ -1,3 +0,0 @@
-PhotoPrint is a utility designed to assist in the process of printing
-digital photographs under Linux and other UNIX-like operating
-systems.
diff --git a/graphics/photoprint/photoprint.info b/graphics/photoprint/photoprint.info
deleted file mode 100644
index 1dd8a229a4..0000000000
--- a/graphics/photoprint/photoprint.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="photoprint"
-VERSION="0.4.2_pre2"
-HOMEPAGE="http://blackfiveimaging.co.uk/index.php?article=02Software%2F01PhotoPrint"
-DOWNLOAD="http://blackfiveimaging.co.uk/photoprint/photoprint-0.4.2-pre2.tar.gz"
-MD5SUM="fbd33857d37081846df43cb52a9db3a8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="David Woodfall"
-EMAIL="dave@slackbuilds.org"
diff --git a/graphics/photoqt/README b/graphics/photoqt/README
index 3f45ef2b39..f3ed148fe8 100644
--- a/graphics/photoqt/README
+++ b/graphics/photoqt/README
@@ -1,5 +1,4 @@
Photoqt is a fast, simple, good looking, yet powerful and highly
configurable image viewer.
-optional autodetected dependencies are DevIL, FreeImage,
-GraphicsMagick and poppler-qt5.
+optional autodetected dependencies are DevIL and FreeImage.
diff --git a/graphics/photoqt/photoqt.SlackBuild b/graphics/photoqt/photoqt.SlackBuild
index 7463b80cff..111123fd8d 100644
--- a/graphics/photoqt/photoqt.SlackBuild
+++ b/graphics/photoqt/photoqt.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for photoqt
-# Copyright 2013-2018 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
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=photoqt
-VERSION=${VERSION:-1.7.1}
+VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,12 +64,14 @@ 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
if pkg-config --exists IL; then DEVIL=ON; else DEVIL=OFF; fi
if pkg-config --exists poppler-qt5; then POPPLER=ON; else POPPLER=OFF; fi
if [ -f /usr/include/FreeImage.h ]; then FREEIMAGE=ON; else FREEIMAGE=OFF; fi
+FREEIMAGE=OFF # FreeImage support looks broken ATM so it's forced to OFF
set -e
@@ -77,18 +89,21 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+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
make install DESTDIR=$PKG
@@ -106,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/photoqt/photoqt.info b/graphics/photoqt/photoqt.info
index e133538d8e..e5e06a628a 100644
--- a/graphics/photoqt/photoqt.info
+++ b/graphics/photoqt/photoqt.info
@@ -1,10 +1,10 @@
PRGNAM="photoqt"
-VERSION="1.7.1"
+VERSION="3.4"
HOMEPAGE="https://photoqt.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/photoqt-1.7.1.tar.gz"
-MD5SUM="656fee6f9923499992f069496a0aaa5d"
+DOWNLOAD="https://photoqt.org/downloads/source/photoqt-3.4.tar.gz"
+MD5SUM="5c28042f6019f00985deaf4e1b8b3231"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="extra-cmake-modules qt5"
+REQUIRES="pugixml"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/phototonic/phototonic.SlackBuild b/graphics/phototonic/phototonic.SlackBuild
index 615ce48834..72cbe391ce 100644
--- a/graphics/phototonic/phototonic.SlackBuild
+++ b/graphics/phototonic/phototonic.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for phototonic
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=phototonic
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/phototonic/phototonic.info b/graphics/phototonic/phototonic.info
index 1359c3400f..fc290daef2 100644
--- a/graphics/phototonic/phototonic.info
+++ b/graphics/phototonic/phototonic.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/oferkv/phototonic/archive/v2.1/phototonic-2.1.tar.g
MD5SUM="b964155364d523237417afef06c27f97"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/plotutils/plotutils.SlackBuild b/graphics/plotutils/plotutils.SlackBuild
index 897f84f343..ca1100ff95 100644
--- a/graphics/plotutils/plotutils.SlackBuild
+++ b/graphics/plotutils/plotutils.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GNU plotutils
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=plotutils
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,8 +116,10 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/png2ico/README b/graphics/png2ico/README
index 1f2e6e210c..bfd76ba5a3 100644
--- a/graphics/png2ico/README
+++ b/graphics/png2ico/README
@@ -1,5 +1,6 @@
-PNG2ico converts PNG files to Windows icon resource files. If you're looking for
-a program to create a favicon.ico for your website, look no further.
+PNG2ico converts PNG files to Windows icon resource files. If you're
+looking for a program to create a favicon.ico for your website, look
+no further.
The program is extremely simple to use. To create a favicon.ico that
contains a logo in the resolutions 16x16 and 32x32 (an icon can contain
@@ -7,4 +8,3 @@ multiple images of different sizes, but a single 16x16 image is enough
for a favicon), you would use a command like the following:
png2ico favicon.ico logo16x16.png logo32x32.png
-
diff --git a/graphics/png2ico/png2ico.SlackBuild b/graphics/png2ico/png2ico.SlackBuild
index e164d06bce..98956e75f0 100644
--- a/graphics/png2ico/png2ico.SlackBuild
+++ b/graphics/png2ico/png2ico.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for png2ico
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=png2ico
VERSION=${VERSION:-20021208}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,4 +109,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/pngcrush/README b/graphics/pngcrush/README
index a1161f9e3b..6915b21527 100644
--- a/graphics/pngcrush/README
+++ b/graphics/pngcrush/README
@@ -1,6 +1,6 @@
Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
It can be run from a commandline in an MSDOS window, or from a UNIX or
-LINUX commandline. Its main purpose is to reduce the size of the PNG IDAT
-datastream by trying various compression levels and PNG filter methods.
-It also can be used to remove unwanted ancillary chunks, or to add
-certain chunks including gAMA, tRNS, iCCP, and textual chunks.
+LINUX commandline. Its main purpose is to reduce the size of the PNG
+IDAT datastream by trying various compression levels and PNG filter
+methods. It also can be used to remove unwanted ancillary chunks, or
+to add certain chunks including gAMA, tRNS, iCCP, and textual chunks.
diff --git a/graphics/pngcrush/pngcrush.SlackBuild b/graphics/pngcrush/pngcrush.SlackBuild
index c63d7699b8..c7d6f7e4ed 100644
--- a/graphics/pngcrush/pngcrush.SlackBuild
+++ b/graphics/pngcrush/pngcrush.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pngcrush
@@ -23,12 +23,15 @@
# 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)
PRGNAM=pngcrush
VERSION=${VERSION:-1.8.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +86,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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 776d7bf170..93aeb3cee6 100644
--- a/graphics/pngquant/pngquant.SlackBuild
+++ b/graphics/pngquant/pngquant.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pngquant
@@ -25,10 +25,28 @@
# 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}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -38,12 +56,16 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="CHANGELOG COPYRIGHT INSTALL README.md"
+DOCS="CHANGELOG COPYRIGHT README.md"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -70,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
@@ -83,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
@@ -99,4 +126,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/posterazor/posterazor.SlackBuild b/graphics/posterazor/posterazor.SlackBuild
new file mode 100644
index 0000000000..e210c2b405
--- /dev/null
+++ b/graphics/posterazor/posterazor.SlackBuild
@@ -0,0 +1,125 @@
+#!/bin/bash
+
+# Slackware build script for posterazor
+
+# 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=posterazor
+TGZNAM=PosteRazor
+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
+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 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+(
+cd src
+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));
+
+mkdir -p build
+cd build
+pwd
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ 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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGES LICENSE README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/draftsight/slack-desc b/graphics/posterazor/slack-desc
index a68ec145b1..98709efe2a 100644
--- a/graphics/draftsight/slack-desc
+++ b/graphics/posterazor/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-draftsight: draftsight (2D CAD program)
-draftsight:
-draftsight: DraftSight is a proprietary freeware 2D CAD product for engineers,
-draftsight: architects, designers, draftspeople, students and educators.
-draftsight: It was developed by Dassault Systemes and lets users create, edit
-draftsight: and view DWG and DXF files.
-draftsight:
-draftsight: Homepage: http://www.draftsight.com
-draftsight:
-draftsight:
-draftsight:
+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/README b/graphics/potrace/README
index 43fdf649d0..7d6ad2016d 100644
--- a/graphics/potrace/README
+++ b/graphics/potrace/README
@@ -1,13 +1,16 @@
-Potrace is a tool for tracing a bitmap, which means, transforming a bitmap
-into a smooth, scalable image. The input is a bitmap (PBM, PGM, PPM, or BMP
-format), and the output is one of several vector file formats. A typical use
-is to create SVG or PDF files from scanned data, such as company or university
-logos, handwritten notes, etc. The resulting image is not "jaggy" like a
-bitmap, but smooth. It can then be rendered at any resolution.
+Potrace is a tool for tracing a bitmap, which means, transforming a
+bitmap into a smooth, scalable image. The input is a bitmap (PBM,
+PGM, PPM, or BMP format), and the output is one of several vector file
+formats. A typical use is to create SVG or PDF files from scanned
+data, such as company or university logos, handwritten notes, etc.
+The resulting image is not "jaggy" like a bitmap, but smooth. It can
+then be rendered at any resolution.
-Potrace can currently produce the following output formats: SVG, PDF, EPS,
-PostScript, DXF, GeoJSON, PGM (for easy antialiasing of pixel-based images),
-Gimppath, and XFig. Additional backends might be added in the future.
+Potrace can currently produce the following output formats: SVG,
+PDF, EPS, PostScript, DXF, GeoJSON, PGM (for easy antialiasing of
+pixel-based images), Gimppath, and XFig. Additional backends might be
+added in the future.
-Mkbitmap is a program distributed with Potrace which can be used to pre-
-process the input for better tracing behavior on greyscale and color images.
+Mkbitmap is a program distributed with Potrace which can be used to
+pre-process the input for better tracing behavior on greyscale and
+color images.
diff --git a/graphics/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild
index e98cf3a4fc..5d02a41155 100644
--- a/graphics/potrace/potrace.SlackBuild
+++ b/graphics/potrace/potrace.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for potrace
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=potrace
VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -35,17 +38,21 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
-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
@@ -105,4 +112,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/povray/README b/graphics/povray/README
index 130b8d799a..31aa3347f6 100644
--- a/graphics/povray/README
+++ b/graphics/povray/README
@@ -1,5 +1,5 @@
POV-Ray: The Persistence of Vision Raytracer is a high-quality,
-totally free tool for creating stunning three-dimensional graphics.
+totally free tool for creating stunning 3D graphics.
The author of POV-Ray asks users who build their own binaries to
include their name and e-mail in the final result.
@@ -7,7 +7,7 @@ include their name and e-mail in the final result.
The included SlackBuild offers this possibility by entering the
information on the command line like this:
- # POVRAY_BUILDER="your name <email@address>" ./povray.SlackBuild
+# POVRAY_BUILDER="your name <email@address>" ./povray.SlackBuild
-If you leave this variable empty, it will be supplied by the
+If you leave this variable empty, it's supplied by the
SlackBuild script as "`whoami` on `hostname`"
diff --git a/graphics/povray/doinst.sh b/graphics/povray/doinst.sh
index 9e6e7818eb..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...
}
-config etc/povray/@VERSION@/povray.conf.new
-config etc/povray/@VERSION@/povray.ini.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+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
+fi
diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index b6372da8c2..71cbf2e775 100644
--- a/graphics/povray/povray.SlackBuild
+++ b/graphics/povray/povray.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for povray:
# the Persistence of Vision Raytracer
-# Maintainer: Klaatu
-# Thanks to: Franzen
+# Maintainer: Klaatu <klaatu@member.fsf.org>
+# Thanks to Franzen
# Copyright 2009,2011,2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
@@ -25,25 +25,43 @@
# 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
-VERSION=${VERSION:-3.7.0.0}
-BUILD=${BUILD:-2}
+SRCNAM=povunix
+VERSION=${VERSION:-3.8.0_beta.2}
+SRCVER=${SRCVER:-v3.8.0-beta.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCDIR=${DOCDIR:-/usr/doc}
MANDIR=${MANDIR:-/usr/man}
-# The "short" version number is needed later:
-SHORT_VERSION=$( echo $VERSION | cut -f1-2 -d. )
+# Short version number is generated during compilation
+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
fi
-CWD=$(pwd)
+# If PRINT_PACKAGE_NAME is set, print the name of the package
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,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"
@@ -70,11 +88,9 @@ set -e
rm -rf $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-if [ -f $CWD/v$VERSION.tar.?z* ]; then
- tar xvf $CWD/v$VERSION.tar.?z*
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-fi
+mkdir $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$SRCVER-src.tar.?z* \
+ --strip-components=1 -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -83,19 +99,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# make sure no bundled static libs can be used
-rm -r libraries
-
(
cd unix
- sed 's/automake --w/automake --add-missing --w/g' -i prebuild.sh
# Prevent march=nativ for compatibility
sed "s/native/$ARCH/g" -i configure.ac
- # By disabling march=nativ, compatibilitybreaking optimizations like sse4 may arize by prebuild.sh
+ # By disabling march=nativ, compatibility-breaking optimizations may arise
sed "s/ax_x86_cpuflags=.*/unset ax_x86_cpuflags/g" -i config/ax_x86_arch.m4
- # prevent creating files in $HOME while building
- patch prebuild.sh $CWD/prebuild.patch
- sh ./prebuild.sh
)
CXXFLAGS="$SLKCFLAGS" \
@@ -104,6 +113,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --docdir=$DOCDIR \
--mandir=$MANDIR \
--build=$ARCH-slackware-linux \
LIBS="-lboost_system -lboost_thread" \
@@ -119,25 +129,30 @@ find $PKG/$MANDIR -type f -exec gzip -9 {} \;
for i in $( find $PKG/$MANDIR -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Rename configuration files to .new, will be checked by doinst.sh
-mv $PKG/etc/$PRGNAM/$SHORT_VERSION/$PRGNAM.conf \
- $PKG/etc/$PRGNAM/$SHORT_VERSION/$PRGNAM.conf.new
-mv $PKG/etc/$PRGNAM/$SHORT_VERSION/$PRGNAM.ini \
- $PKG/etc/$PRGNAM/$SHORT_VERSION/$PRGNAM.ini.new
+mv $PKG/etc/$PRGNAM/$SHORTVER/$PRGNAM.conf \
+ $PKG/etc/$PRGNAM/$SHORTVER/$PRGNAM.conf.new
+mv $PKG/etc/$PRGNAM/$SHORTVER/$PRGNAM.ini \
+ $PKG/etc/$PRGNAM/$SHORTVER/$PRGNAM.ini.new
+
+# fix scripts
+find $PKG/usr/share/$PRGNAM-$SHORTVER/scripts/ -type f \
+ -name "*.sh" | xargs sed -i "s/\r//"
-# ./configure does not accept docdir; move docs manually as needed
+# ./configure ignores DOCDIR; move docs manually
if [ "$DOCDIR" != "/usr/share/doc" ]; then
mkdir -p $PKG/$DOCDIR/$PRGNAM-$VERSION
- mv $PKG/usr/share/doc/$PRGNAM-$SHORT_VERSION/* $PKG/$DOCDIR/$PRGNAM-$VERSION/
- rm -r $PKG/usr/share/doc
+ mv $PKG/usr/share/doc/$PRGNAM-$SHORTVER $PKG/$DOCDIR/$PRGNAM-$VERSION
+ rmdir $PKG/usr/share/doc
fi
-cp -a COPYING INSTALL $PKG/$DOCDIR/$PRGNAM-$VERSION
+cp -a COPYING INSTALL AUTHORS changes.txt revision.txt \
+ README.md kde_install.sh $PKG/$DOCDIR/$PRGNAM-$VERSION
find $PKG/$DOCDIR/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/$DOCDIR/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-sed "s,@VERSION@,$SHORT_VERSION,g" $CWD/doinst.sh > $PKG/install/doinst.sh
+sed "s,@VERSION@,$VERSION,g" $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/povray/povray.info b/graphics/povray/povray.info
index 5f8c0b00f8..66f4375bed 100644
--- a/graphics/povray/povray.info
+++ b/graphics/povray/povray.info
@@ -1,8 +1,8 @@
PRGNAM="povray"
-VERSION="3.7.0.0"
+VERSION="3.8.0_beta.2"
HOMEPAGE="http://www.povray.org/"
-DOWNLOAD="https://github.com/POV-Ray/povray/archive/v3.7.0.0.tar.gz"
-MD5SUM="c6866a3d71e38754f24b11da6c996b8e"
+DOWNLOAD="https://github.com/POV-Ray/povray/releases/download/v3.8.0-beta.2/povunix-v3.8.0-beta.2-src.tar.gz"
+MD5SUM="c4eb48935009b5b5387b4b676da38c9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/povray/prebuild.patch b/graphics/povray/prebuild.patch
deleted file mode 100644
index 7a4a203e29..0000000000
--- a/graphics/povray/prebuild.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- prebuild.sh.orig 2016-07-03 14:54:38.000000000 +0200
-+++ prebuild.sh 2016-07-03 14:56:10.000000000 +0200
-@@ -642,19 +642,6 @@
- for f in \$\$filelist ; do \\
- \$(INSTALL_DATA) \$(top_srcdir)/doc/\$\$f \$(DESTDIR)\$(povdocdir)/\$\$f && echo "\$(DESTDIR)\$(povdocdir)/\$\$f" >> \$(povinstall); \\
- done
-- @echo "Creating user directories..."; \\
-- for p in \$(povuser) \$(povconfuser) ; do \\
-- \$(mkdir_p) \$\$p && chown \$(povowner) \$\$p && chgrp \$(povgroup) \$\$p && printf "%s\\n" "\$\$p" "\`cat \$(povinstall)\`" > \$(povinstall); \\
-- done
-- @echo "Copying user configuration and INI files..."; \\
-- for f in povray.conf povray.ini ; do \\
-- if test -f \$(povconfuser)/\$\$f; then \\
-- echo "Creating backup of \$(povconfuser)/\$\$f"; \\
-- mv -f \$(povconfuser)/\$\$f \$(povconfuser)/\$\$f.bak; \\
-- fi; \\
-- done; \\
-- \$(INSTALL_DATA) \$(top_srcdir)/povray.conf \$(povconfuser)/povray.conf && chown \$(povowner) \$(povconfuser)/povray.conf && chgrp \$(povgroup) \$(povconfuser)/povray.conf && echo "\$(povconfuser)/povray.conf" >> \$(povinstall); \\
-- \$(INSTALL_DATA) \$(top_builddir)/povray.ini \$(povconfuser)/povray.ini && chown \$(povowner) \$(povconfuser)/povray.ini && chgrp \$(povgroup) \$(povconfuser)/povray.ini && echo "\$(povconfuser)/povray.ini" >> \$(povinstall)
-
- # Remove data, config, and empty folders for 'make uninstall'.
- # Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts).
-
diff --git a/graphics/pqiv/README b/graphics/pqiv/README
index 4e284c2b44..ccbf49a87f 100644
--- a/graphics/pqiv/README
+++ b/graphics/pqiv/README
@@ -1,7 +1,7 @@
+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,
Postscript, video files and archives. It is optimized to be quick and
responsive.
-
-Optional dependencies: ffmpeg, libwebp
diff --git a/graphics/pqiv/pqiv.SlackBuild b/graphics/pqiv/pqiv.SlackBuild
index 21ec122251..7dda2c46ee 100644
--- a/graphics/pqiv/pqiv.SlackBuild
+++ b/graphics/pqiv/pqiv.SlackBuild
@@ -1,31 +1,24 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+
+# 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.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +28,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -63,14 +60,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 \
@@ -81,22 +76,18 @@ 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
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/pqiv/pqiv.info b/graphics/pqiv/pqiv.info
index b1015c6a1a..db30d6926b 100644
--- a/graphics/pqiv/pqiv.info
+++ b/graphics/pqiv/pqiv.info
@@ -1,8 +1,8 @@
PRGNAM="pqiv"
-VERSION="2.11"
+VERSION="2.12"
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.12/pqiv-2.12.tar.gz"
+MD5SUM="44d7ba3f15368cbb0b817a41f4eb8b2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
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/pr0ntools/pr0ntools.SlackBuild b/graphics/pr0ntools/pr0ntools.SlackBuild
index 7e93f5657a..cd5ce714ea 100644
--- a/graphics/pr0ntools/pr0ntools.SlackBuild
+++ b/graphics/pr0ntools/pr0ntools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pr0ntools
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pr0ntools
VERSION=${VERSION:-20170617}
COMVER=3ce25e7e39cc195f3681a4d8d84633a2885b74da
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/psftools/psftools.SlackBuild b/graphics/psftools/psftools.SlackBuild
index 1167b8bbe4..7e158fc510 100644
--- a/graphics/psftools/psftools.SlackBuild
+++ b/graphics/psftools/psftools.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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.
@@ -18,10 +18,13 @@
# - updated for v1.0.10
# - expand the README since it was a bit too terse
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=psftools
VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -31,7 +34,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,6 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.la
# 20180112 bkw: install the example fonts that ship with the source.
psfdir=$PKG/usr/share/kbd/consolefonts
@@ -132,4 +140,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
## fi
cd $PKG
-/sbin/makepkg -l y -c n $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/psftools/psftools.info b/graphics/psftools/psftools.info
index bf272a5277..ee16536631 100644
--- a/graphics/psftools/psftools.info
+++ b/graphics/psftools/psftools.info
@@ -1,10 +1,10 @@
PRGNAM="psftools"
VERSION="1.1.1"
-HOMEPAGE="http://www.seasip.info/Unix/PSF/index.html"
-DOWNLOAD="http://www.seasip.info/Unix/PSF/psftools-1.1.1.tar.gz"
+HOMEPAGE="https://www.seasip.info/Unix/PSF/index.html"
+DOWNLOAD="https://www.seasip.info/Unix/PSF/psftools-1.1.1.tar.gz"
MD5SUM="fb29d0adae0384e70aa20e94998dd9e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/pyformex/pyformex.SlackBuild b/graphics/pyformex/pyformex.SlackBuild
index 26bdcae5d7..876b1a07e4 100644
--- a/graphics/pyformex/pyformex.SlackBuild
+++ b/graphics/pyformex/pyformex.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pyformex
@@ -22,10 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix build on 15.0.
+# - fix path to icon in .desktop file.
+# - add required runtime dep pyside.
+# - TODO: someone should look at including the pyformex/extra stuff.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pyformex
VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,20 +78,24 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# patch for manpage path
sed -i "s/share\/man/man/" manifest.py
+# 20220227 bkw: this moved...
+sed -i 's,/etc/X11/rgb.txt,/usr/share/X11/rgb.txt,' pyformex/gui/__init__.py
+
python setup.py install --root=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+sed -i '/Icon/s,=.*,=/usr/share/pixmaps/pyformex-64x64.png,' \
+ $PKG/usr/share/applications/pyformex.desktop
+
+strip $PKG/usr/lib*/python2.7/site-packages/$PRGNAM/lib/*.so
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING PKG-INFO Description README \
@@ -90,4 +107,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/pyformex/pyformex.info b/graphics/pyformex/pyformex.info
index 73c32d27d6..ed2ca0a43c 100644
--- a/graphics/pyformex/pyformex.info
+++ b/graphics/pyformex/pyformex.info
@@ -1,10 +1,10 @@
PRGNAM="pyformex"
VERSION="1.0.5"
HOMEPAGE="http://www.nongnu.org/pyformex/"
-DOWNLOAD="ftp://bumps.ugent.be/pub/pyformex/pyformex-1.0.5.tar.gz"
+DOWNLOAD="https://slackware.uk/~urchlay/src/pyformex-1.0.5.tar.gz"
MD5SUM="5fa1526927c44cf67882195d3f988edd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="PyOpenGL numpy"
+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 3e6c5d196d..0000000000
--- a/graphics/pygifme/README
+++ /dev/null
@@ -1,5 +0,0 @@
-Pygifme is a simple command line tool to generate animated GIFs.
-script gifme created by Zach Holman.
-
-NOTE:
-Please install python3 first before installing all other requirements.
diff --git a/graphics/pygifme/pygifme.info b/graphics/pygifme/pygifme.info
deleted file mode 100644
index 26542f91f7..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="python3 argcomplete"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/pygifme/slack-desc b/graphics/pygifme/slack-desc
deleted file mode 100644
index 5017fa77fc..0000000000
--- a/graphics/pygifme/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# 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:
diff --git a/graphics/pygraphviz/README b/graphics/pygraphviz/README
index f257628cbe..d44704813d 100644
--- a/graphics/pygraphviz/README
+++ b/graphics/pygraphviz/README
@@ -1,5 +1,6 @@
PyGraphviz is a Python interface to the Graphviz graph layout and
visualization package.
-With PyGraphviz you can create, edit, read, write, and draw graphs using
-Python to access the Graphviz graph data structure and layout algorithms.
+With PyGraphviz you can create, edit, read, write, and draw graphs
+using Python to access the Graphviz graph data structure and layout
+algorithms.
diff --git a/graphics/pygraphviz/pygraphviz.SlackBuild b/graphics/pygraphviz/pygraphviz.SlackBuild
index 2d8c482772..c341cae5e9 100644
--- a/graphics/pygraphviz/pygraphviz.SlackBuild
+++ b/graphics/pygraphviz/pygraphviz.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pygraphviz
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pygraphviz
VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild b/graphics/python3-gds3xtrude/python3-gds3xtrude.SlackBuild
index 9573026548..4aabafe781 100644
--- a/graphics/vulkan-sdk-bin/vulkan-sdk-bin.SlackBuild
+++ b/graphics/python3-gds3xtrude/python3-gds3xtrude.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for vulkan-sdk-bin
+# Slackware build script for python3-gds3xtrude
-# Copyright 2019 Dugan Chen Canada
+# Copyright 2023, Lockywolf
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=vulkan-sdk-bin
-SRCNAM=vulkansdk
-VERSION=${VERSION:-1.2.162.1}
+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
@@ -36,25 +39,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- echo "$ARCH is not supported." >&2
- exit 1
-fi
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $VERSION
-tar xfv $CWD/vulkansdk-linux-x86_64-1.2.162.1.tar.gz
+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 \
@@ -62,16 +63,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
-cp -r $VERSION/$ARCH/lib/* $PKG/usr/lib$LIBDIRSUFFIX
-mkdir -p $PKG/{usr/bin,etc,usr/include}
-cp -r $VERSION/$ARCH/bin/* $PKG/usr/bin
-cp -r $VERSION/$ARCH/etc/* $PKG/etc
-cp -r $VERSION/$ARCH/include/* $PKG/usr/include
+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 \
- $VERSION/{samples,*.txt} \
+ LICENSE PKG-INFO README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -79,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/qcad/README b/graphics/qcad/README
index cafcd557b9..a41943a70b 100644
--- a/graphics/qcad/README
+++ b/graphics/qcad/README
@@ -1,12 +1,11 @@
qcad (Open Source CAD)
-QCAD is a free, open source application for computer aided drafting (CAD)
-in two dimensions (2D). With QCAD you can create technical drawings such
-as plans for buildings, interiors, mechanical parts or schematics and
-diagrams. QCAD works on Windows, Mac OS X and Linux.
+QCAD is a free, open source application for computer aided drafting
+(CAD) in two dimensions (2D). With QCAD you can create technical
+drawings such as plans for buildings, interiors, mechanical parts or
+schematics and diagrams. QCAD works on Windows, Mac OS X and Linux.
-Optional dependencies: libqsqlpsql and qt5
+To build qt4 version of qcad (requires a qt4 version library installed)
+run the SlackBuild with QT5=no:
-To build qt5 version of qcad, run the SlackBuild with QT5=yes:
-
- # QT5=yes ./qcad.SlackBuild
+ # QT5=no ./qcad.SlackBuild
diff --git a/graphics/qcad/qcad.SlackBuild b/graphics/qcad/qcad.SlackBuild
index efe3561212..5fb98375aa 100644
--- a/graphics/qcad/qcad.SlackBuild
+++ b/graphics/qcad/qcad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qcad
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qcad
-VERSION=${VERSION:-3.23.0.2}
+VERSION=${VERSION:-3.26.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -69,9 +79,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Build with Qt5/Qt4. Default is Qt4.
-if [ "${QT5:-no}" == "yes" ]; then
- sed -i 's|$${QT_VERSION}|5.9.5|' src/3rdparty/3rdparty.pro
+# Build with Qt5/Qt4. Default is Qt5.
+if [ "${QT5:-yes}" == "yes" ]; then
+ sed -i 's|$${QT_VERSION}|5.15.2|' src/3rdparty/3rdparty.pro
qmake-qt5 QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
CONFIG+=release -o Makefile $PRGNAM.pro
QTDIRECTORY="qt5"
@@ -145,4 +155,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/qcad/qcad.info b/graphics/qcad/qcad.info
index 1f498dd1a9..6194cb61ac 100644
--- a/graphics/qcad/qcad.info
+++ b/graphics/qcad/qcad.info
@@ -1,8 +1,8 @@
PRGNAM="qcad"
-VERSION="3.23.0.2"
+VERSION="3.26.2.0"
HOMEPAGE="https://www.qcad.org/en/"
-DOWNLOAD="https://github.com/qcad/qcad/archive/v3.23.0.2/qcad-3.23.0.2.tar.gz"
-MD5SUM="566c97bfe2dbe39aaf441a0b23381054"
+DOWNLOAD="https://github.com/qcad/qcad/archive/v3.26.2.0/qcad-3.26.2.0.tar.gz"
+MD5SUM="a94cff2853489352c38d8e3d6f1e6edc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
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 c81a58946a..eada94d7a0 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -1,11 +1,12 @@
-#!/bin/sh
+#!/bin/bash
# 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,88 +26,105 @@
# 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
-VERSION=${VERSION:-0.9.0}
-BUILD=${BUILD:-1}
+SRCNAM=QComicBook
+VERSION=${VERSION:-0.9.1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
+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
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -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 {} \+
+
+# 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
-# Icon info in the desktop file should not have a file extension
-sed -i 's/\.png$//' data/qcomicbook.desktop
+# 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
+# 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 DESTDIR=$PKG
+ make VERBOSE=1
+ make install/strip DESTDIR=$PKG
+cd -
-# Move manpage to correct location and gzip them
-mv $PKG/usr/share/man $PKG/usr/man
-gzip -9 $PKG/usr/man/man1/$PRGNAM.1
+gzip $PKG/usr/man/man*/*
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+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 NEWS 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
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/qcomicbook/qcomicbook.info b/graphics/qcomicbook/qcomicbook.info
index 5e21158cc4..c1dd8e12ce 100644
--- a/graphics/qcomicbook/qcomicbook.info
+++ b/graphics/qcomicbook/qcomicbook.info
@@ -1,10 +1,10 @@
PRGNAM="qcomicbook"
-VERSION="0.9.0"
+VERSION="0.9.1"
HOMEPAGE="https://github.com/stolowski/QComicBook"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/qcomicbook-0.9.0.tar.gz"
-MD5SUM="b209bfb081afd4c06eedb6bb08f957f0"
+DOWNLOAD="https://github.com/stolowski/QComicBook/archive/0.9.1/QComicBook-0.9.1.tar.gz"
+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/freewrl/doinst.sh b/graphics/qcustomplot/doinst.sh
index 5fb28930db..5fb28930db 100644
--- a/graphics/freewrl/doinst.sh
+++ b/graphics/qcustomplot/doinst.sh
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..b248ef9d3c
--- /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/DerManu/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/SPIRV-Tools/slack-desc b/graphics/qcustomplot/slack-desc
index 79e9d751ca..1c026c6897 100644
--- a/graphics/SPIRV-Tools/slack-desc
+++ b/graphics/qcustomplot/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-SPIRV-Tools: SPIRV-Tools (API and commands for processing SPIR-V modules)
-SPIRV-Tools:
-SPIRV-Tools: The SPIR-V Tools project provides an API and commands for processing
-SPIRV-Tools: SPIR-V modules.
-SPIRV-Tools:
-SPIRV-Tools: Homepage: https://github.com/KhronosGroup/SPIRV-Tools
-SPIRV-Tools:
-SPIRV-Tools:
-SPIRV-Tools:
-SPIRV-Tools:
-SPIRV-Tools:
+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 080f4fab63..92c5d92bad 100644
--- a/graphics/qelectrotech/qelectrotech.SlackBuild
+++ b/graphics/qelectrotech/qelectrotech.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for QElectroTech
@@ -22,26 +22,37 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qelectrotech
-VERSION=${VERSION:-0.6}
+SRCNAM=qet
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -59,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-src
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
-cd $PRGNAM-$VERSION-src
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
sed -i s,usr\/local,usr,g qelectrotech.pro
sed -i s,..\/share\/mime\/,share\/mime\/,g qelectrotech.pro
@@ -143,4 +154,4 @@ GenericName[it_IT]=Un programma per disegnare schemi elettrici
EOF
cd $PKG
-/sbin/makepkg -l y -c n $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/qelectrotech/qelectrotech.info b/graphics/qelectrotech/qelectrotech.info
index ef8a0b7890..2113f13b17 100644
--- a/graphics/qelectrotech/qelectrotech.info
+++ b/graphics/qelectrotech/qelectrotech.info
@@ -1,10 +1,10 @@
PRGNAM="qelectrotech"
-VERSION="0.6"
+VERSION="0.8.0"
HOMEPAGE="https://qelectrotech.org/"
-DOWNLOAD="https://download.tuxfamily.org/qet/tags/20180306/qelectrotech-0.6-src.tar.gz"
-MD5SUM="4012d9814780be8c7758cf9e1bf9eb55"
+DOWNLOAD="https://git.tuxfamily.org/qet/qet.git/snapshot/qet-0.8.0.tar.gz"
+MD5SUM="d09737152b797dd93969aa9058b9d01d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-legacy"
+REQUIRES=""
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"
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/photoprint/doinst.sh b/graphics/qimgv/doinst.sh
index 4a25de5e6f..4a25de5e6f 100644
--- a/graphics/photoprint/doinst.sh
+++ b/graphics/qimgv/doinst.sh
diff --git a/graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild b/graphics/qimgv/qimgv.SlackBuild
index 1e47b57e54..6fd2126411 100644
--- a/graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild
+++ b/graphics/qimgv/qimgv.SlackBuild
@@ -1,8 +1,7 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for Vulkan-Tools
-
-# Copyright 2020 Hunter Sezen California, USA
+# Copyright 2023 S. S. Bolokanar, Bulgaria <bolokanar@bulgars.org>
+# С. С. Болоканаръ, България
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +21,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=Vulkan-Tools
-VERSION=${VERSION:-1.2.162.0}
-BUILD=${BUILD:-1}
+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
@@ -35,7 +37,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,14 +60,17 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+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-sdk-$VERSION
-tar xvf $CWD/$PRGNAM-sdk-$VERSION.tar.gz
-cd $PRGNAM-sdk-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,37 +78,33 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Require an older cmake version.
-sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
+# 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_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DBUILD_WSI_XCB_SUPPORT=ON \
- -DBUILD_WSI_XLIB_SUPPORT=ON \
- -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DGLSLANG_INSTALL_DIR=/usr \
- -DVULKAN_HEADERS_INSTALL_DIR=/usr \
- -DCMAKE_SKIP_RPATH=TRUE \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DEXIV2=ON \
+ -DOPENCV_SUPPORT=ON \
+ -DVIDEO_SUPPORT=${WITH_VIDEO} \
+ -DKDE_SUPPORT=${WITH_KDE} \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md LICENSE.txt README.md \
+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:-tgz}
+/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 f8333c67bd..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 | libwebp imlib2 webp-pixbuf-loader. Build and
- | install *in that order*.
-------------------------+-----------------------------------------------
-XCF (Gimp native) | xcf-pixbuf-loader
-------------------------+-----------------------------------------------
RAW (camera images, | libopenraw. Note that only a few raw image
various extensions) | formats will actually display with qiv. These
| include .crw (Canon), .erf (Epson), and
| .nef (Nikon).
------------------------+-----------------------------------------------
+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 0320a81708..cb552ebf14 100644
--- a/graphics/qiv/qiv.SlackBuild
+++ b/graphics/qiv/qiv.SlackBuild
@@ -1,13 +1,21 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qiv
# 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
@@ -29,10 +37,13 @@
# of man pages (upstream's 'make install' already does it)
# - Don't install README.INSTALL
+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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -42,23 +53,23 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -113,4 +124,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/qiv/qiv.info b/graphics/qiv/qiv.info
index 1ec4d757ca..4061bbd4d7 100644
--- a/graphics/qiv/qiv.info
+++ b/graphics/qiv/qiv.info
@@ -1,10 +1,10 @@
PRGNAM="qiv"
-VERSION="2.3.2"
-HOMEPAGE="http://spiegl.de/qiv/"
-DOWNLOAD="http://spiegl.de/qiv/download/qiv-2.3.2.tgz"
-MD5SUM="e64dd2cbd49f31264f60012e0138549b"
+VERSION="2.3.3"
+HOMEPAGE="https://spiegl.de/qiv/"
+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/qrencode/README b/graphics/qrencode/README
deleted file mode 100644
index 5b095d47c3..0000000000
--- a/graphics/qrencode/README
+++ /dev/null
@@ -1,4 +0,0 @@
-Libqrencode is a C library for encoding data in a QR Code symbol, a
-kind of 2D symbology that can be scanned by handy terminals such as a
-mobile phone with CCD. The capacity of QR Code is up to 7000 digits
-or 4000 characters, and is highly robust.
diff --git a/graphics/qrencode/qrencode.info b/graphics/qrencode/qrencode.info
deleted file mode 100644
index ecdb156112..0000000000
--- a/graphics/qrencode/qrencode.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="qrencode"
-VERSION="4.1.1"
-HOMEPAGE="https://fukuchi.org/works/qrencode/"
-DOWNLOAD="https://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.bz2"
-MD5SUM="de7185bcab635a34730e1b73d4efa705"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Lenard Spencer"
-EMAIL="lenardrspencer@gmail.com"
diff --git a/graphics/qrencode/slack-desc b/graphics/qrencode/slack-desc
deleted file mode 100644
index e266e06223..0000000000
--- a/graphics/qrencode/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-qrencode: qrencode (QR code generation library and application)
-qrencode:
-qrencode: Libqrencode is a C library for encoding data in a QR Code symbol, a
-qrencode: kind of 2D symbology that can be scanned by handy terminals such as a
-qrencode: mobile phone with CCD. The capacity of QR Code is up to 7000 digits
-qrencode: or 4000 characters, and is highly robust.
-qrencode:
-qrencode: Interaction can be programmed or through the command line.
-qrencode:
-qrencode: Homepage: http://fukuchi.org/works/qrencode/
-qrencode:
diff --git a/graphics/ralcgm/ralcgm.SlackBuild b/graphics/ralcgm/ralcgm.SlackBuild
index 28c95aae9a..10c5231783 100644
--- a/graphics/ralcgm/ralcgm.SlackBuild
+++ b/graphics/ralcgm/ralcgm.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ralcgm
VERSION=${VERSION:-3.50}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/README b/graphics/raw-thumbnailer/README
index 5bf52ed689..e88d4a48c4 100644
--- a/graphics/raw-thumbnailer/README
+++ b/graphics/raw-thumbnailer/README
@@ -8,5 +8,3 @@ This thumbnailer is designed to be small, lightweight and fast. It
is primarily intended to be used with file managers (although it
could easily be used by a photograph management program) and is
used by thunar-thumbnailers.
-
-Usage: raw-thumbnailer -i input_file -o output_file -s size
diff --git a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
index cda4309671..f4880a2f34 100644
--- a/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
+++ b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for raw-thumbnailer
# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
@@ -24,7 +24,9 @@
# (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
# 20191231 bkw:
# - take over maintenance
@@ -38,10 +40,13 @@
# Note to self: there's a bunch of sample images in various camera formats
# here: https://www.rawsamples.ch/index.php/en/
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=raw-thumbnailer
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -51,7 +56,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -107,4 +116,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/rawstudio/README b/graphics/rawstudio/README
deleted file mode 100644
index f9ff1fc345..0000000000
--- a/graphics/rawstudio/README
+++ /dev/null
@@ -1,2 +0,0 @@
-Rawstudio is an open-source program to read and manipulate
-RAW images from most digital cameras.
diff --git a/graphics/rawstudio/doinst.sh b/graphics/rawstudio/doinst.sh
deleted file mode 100644
index 65fd352418..0000000000
--- a/graphics/rawstudio/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
-fi
-
diff --git a/graphics/rawstudio/patches/lensfun03.patch b/graphics/rawstudio/patches/lensfun03.patch
deleted file mode 100644
index ee2f3554e7..0000000000
--- a/graphics/rawstudio/patches/lensfun03.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/plugins/lensfun/lensfun.c
-+++ b/plugins/lensfun/lensfun.c
-@@ -668,7 +668,7 @@ get_image(RSFilter *filter, const RSFilterRequest *request)
- }
-
- /* Start threads to apply phase 2, Vignetting and CA Correction */
-- if (effective_flags & (LF_MODIFY_VIGNETTING | LF_MODIFY_CCI))
-+ if (effective_flags & LF_MODIFY_VIGNETTING)
- {
- /* Phase 2 is corrected inplace, so copy input first */
- guint y_offset, y_per_thread, threaded_h;
diff --git a/graphics/rawstudio/patches/libpng15.patch b/graphics/rawstudio/patches/libpng15.patch
deleted file mode 100644
index f83e82de85..0000000000
--- a/graphics/rawstudio/patches/libpng15.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -wbBur rawstudio-2.0/plugins/load-gdk/exiv2-colorspace.cpp rawstudio-2.0.my/plugins/load-gdk/exiv2-colorspace.cpp
---- rawstudio-2.0/plugins/load-gdk/exiv2-colorspace.cpp 2011-02-24 01:35:18.000000000 +0300
-+++ rawstudio-2.0.my/plugins/load-gdk/exiv2-colorspace.cpp 2012-01-23 15:03:22.000000000 +0400
-@@ -102,8 +102,8 @@
- {
- *linear_guess = FALSE;
- RSColorSpace* profile = NULL;
-- const gchar *icc_profile_title;
-- const gchar *icc_profile;
-+ png_charp icc_profile_title;
-+ png_bytep icc_profile;
- guint icc_profile_size;
- png_structp png_ptr = png_create_read_struct(
- PNG_LIBPNG_VER_STRING,
-@@ -125,11 +125,11 @@
-
- int compression_type;
- /* Extract embedded ICC profile */
-- if (info_ptr->valid & PNG_INFO_iCCP)
-+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_iCCP))
- {
- png_uint_32 retval = png_get_iCCP (png_ptr, info_ptr,
-- (png_charpp) &icc_profile_title, &compression_type,
-- (png_charpp) &icc_profile, (png_uint_32*) &icc_profile_size);
-+ &icc_profile_title, &compression_type,
-+ &icc_profile, (png_uint_32*) &icc_profile_size);
- if (retval != 0)
- {
- RSIccProfile *icc = rs_icc_profile_new_from_memory((gchar*)icc_profile, icc_profile_size, TRUE);
-diff -wbBur rawstudio-2.0/plugins/output-pngfile/output-pngfile.c rawstudio-2.0.my/plugins/output-pngfile/output-pngfile.c
---- rawstudio-2.0/plugins/output-pngfile/output-pngfile.c 2011-03-26 04:52:29.000000000 +0300
-+++ rawstudio-2.0.my/plugins/output-pngfile/output-pngfile.c 2012-01-23 15:04:59.000000000 +0400
-@@ -23,6 +23,7 @@
- #include <gettext.h>
- #include "config.h"
- #include <png.h>
-+#include <zlib.h>
-
- #define RS_TYPE_PNGFILE (rs_pngfile_type)
- #define RS_PNGFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RS_TYPE_PNGFILE, RSPngfile)) \ No newline at end of file
diff --git a/graphics/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild
deleted file mode 100644
index 30ec653dcb..0000000000
--- a/graphics/rawstudio/rawstudio.SlackBuild
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/sh
-
-# Slackware Package Build Script for rawstudio
-# Home Page http://rawstudio.org/
-
-# Copyright (c) 2007-2015, Nishant Limbachia, Hoffman Estates, IL, USA
-# (nishant _AT_ mnspace _DOT_ 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 script must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Modified by Robby Workman <rworkman@slackbuilds.org>
-# No additional license terms :-)
-
-PRGNAM="rawstudio"
-VERSION=${VERSION:-2.0}
-BUILD=${BUILD:-3}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -fr $TMP/$PRGNAM-$VERSION $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root.root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Add libgthread-2.0.so to linked-in library list
-find . -name "Makefile.in" -exec \
- sed -i "s,@PACKAGE_LIBS@,@PACKAGE_LIBS@ -lgthread-2.0,g" {} \;
-
-# Patches shamelessly copied from Arch Linux PKGBUILD:
-# https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/rawstudio
-
-# Patch to use lensfun > 0.3
-patch -p1 < $CWD/patches/lensfun03.patch
-
-# Patch to use libpng > 1.5. This patch is only useful on -current and will need to
-# be applied once -current releases. Uncomment if you are building on -current
-patch -p1 < $CWD/patches/libpng15.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --localstatedir=/var \
- --mandir=/usr/man \
- --enable-static=no \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
- pixmaps/artwork.license $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:-tgz}
diff --git a/graphics/rawstudio/rawstudio.info b/graphics/rawstudio/rawstudio.info
deleted file mode 100644
index ecae230112..0000000000
--- a/graphics/rawstudio/rawstudio.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rawstudio"
-VERSION="2.0"
-HOMEPAGE="https://rawstudio.org"
-DOWNLOAD="https://www.dropbox.com/s/9msuzeooe5w7tiq/rawstudio-2.0.tar.xz"
-MD5SUM="10c8305dbf73a616f7ab414009fb5455"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="flickcurl lensfun"
-MAINTAINER="Nishant Limbachia"
-EMAIL="nishant@mnspace.net"
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/wayland-protocols/wayland-protocols.SlackBuild b/graphics/rawtherapee-haldclut/rawtherapee-haldclut.SlackBuild
index e335be7b3a..8b91dfed42 100644
--- a/graphics/wayland-protocols/wayland-protocols.SlackBuild
+++ b/graphics/rawtherapee-haldclut/rawtherapee-haldclut.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for wayland-protocols
+# Slackware build script for rawtherapee-haldclut
-# Copyright 2017 Duncan Roe, Melbourne, Australia
+# Copyright 2022 Daniel Prosser, Lexington Park, MD
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=wayland-protocols
-VERSION=${VERSION:-1.18}
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=rawtherapee-haldclut
+VERSION=${VERSION:-20150920}
+SRCNAM=HaldCLUT
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -39,9 +47,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM
+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 \
@@ -49,23 +57,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make install DESTDIR=$PKG
+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 COPYING README $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:-tgz}
+/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/rawtherapee/README b/graphics/rawtherapee/README
index b915d2c4f5..6905398652 100644
--- a/graphics/rawtherapee/README
+++ b/graphics/rawtherapee/README
@@ -1,4 +1,4 @@
RawTherapee is an advanced program for developing raw photos and for
processing non-raw photos. It is non-destructive, makes use of OpenMP,
-supports all the cameras supported by dcraw and carries out its calculations
-in a high precision 32bit floating point engine.
+supports all the cameras supported by dcraw and carries out its
+calculations in a high precision 32bit floating point engine.
diff --git a/graphics/rawtherapee/rawtherapee.SlackBuild b/graphics/rawtherapee/rawtherapee.SlackBuild
index 2638650503..80364a7a67 100644
--- a/graphics/rawtherapee/rawtherapee.SlackBuild
+++ b/graphics/rawtherapee/rawtherapee.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for rawtherapee
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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
-VERSION=${VERSION:-5.4}
+VERSION=${VERSION:-5.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/rawtherapee/rawtherapee.info b/graphics/rawtherapee/rawtherapee.info
index c904bf1dc5..2fb06432a8 100644
--- a/graphics/rawtherapee/rawtherapee.info
+++ b/graphics/rawtherapee/rawtherapee.info
@@ -1,10 +1,10 @@
PRGNAM="rawtherapee"
-VERSION="5.4"
+VERSION="5.8"
HOMEPAGE="http://rawtherapee.com/"
-DOWNLOAD="http://rawtherapee.com/shared/source/rawtherapee-5.4.tar.xz"
-MD5SUM="07bbb401dee4abaa3e38b4e1f3e498ce"
+DOWNLOAD="http://rawtherapee.com/shared/source/rawtherapee-5.8.tar.xz"
+MD5SUM="7c4b2d8246664d84d5061e4c7271d3af"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lensfun libiptcdata"
+REQUIRES="libiptcdata"
MAINTAINER="Panagiotis Nikolaou"
EMAIL="hostmaster@slackonly.com"
diff --git a/graphics/renderdoc/README b/graphics/renderdoc/README
index 415012ab7d..8b73e0104c 100644
--- a/graphics/renderdoc/README
+++ b/graphics/renderdoc/README
@@ -2,9 +2,6 @@ RenderDoc is a free MIT licensed stand-alone graphics debugger that
allows quick and easy single-frame capture and detailed introspection of
any application using Vulkan, D3D11, OpenGL & OpenGL ES or D3D12.
-qt5 and python3 are optional dependencies required to build the
-qrenderdoc GUI.
-
To disable building the qrenderdoc GUI use:
QT=no ./renderdoc.SlackBuild
diff --git a/graphics/renderdoc/renderdoc.SlackBuild b/graphics/renderdoc/renderdoc.SlackBuild
index 573f723403..bc9003d37b 100644
--- a/graphics/renderdoc/renderdoc.SlackBuild
+++ b/graphics/renderdoc/renderdoc.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for renderdoc
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=renderdoc
VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -117,4 +127,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/resynthesizer/resynthesizer.SlackBuild b/graphics/resynthesizer/resynthesizer.SlackBuild
index c67235f250..390448785c 100644
--- a/graphics/resynthesizer/resynthesizer.SlackBuild
+++ b/graphics/resynthesizer/resynthesizer.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for the resynthesizer GIMP plug-in.
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=resynthesizer
VERSION=${VERSION:-2.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -98,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ristretto/ristretto.SlackBuild b/graphics/ristretto/ristretto.SlackBuild
index 29782fd1d4..447b90479e 100644
--- a/graphics/ristretto/ristretto.SlackBuild
+++ b/graphics/ristretto/ristretto.SlackBuild
@@ -1,9 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ristretto
-# Previous version 0.6.3 by pp <ppkingpping{at}gmail{dot}com>
-# 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
@@ -23,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ristretto
-VERSION=${VERSION:-0.8.4}
+VERSION=${VERSION:-0.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,7 +91,7 @@ make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
+ AUTHORS COPYING ChangeLog NEWS README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -94,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ristretto/ristretto.info b/graphics/ristretto/ristretto.info
index 1bef9673f0..0fa00b12be 100644
--- a/graphics/ristretto/ristretto.info
+++ b/graphics/ristretto/ristretto.info
@@ -1,10 +1,10 @@
PRGNAM="ristretto"
-VERSION="0.8.4"
+VERSION="0.13.1"
HOMEPAGE="https://docs.xfce.org/apps/ristretto/start"
-DOWNLOAD="https://archive.xfce.org/src/apps/ristretto/0.8/ristretto-0.8.4.tar.bz2"
-MD5SUM="0142c8b9c492cf447e563b00c6204359"
+DOWNLOAD="https://archive.xfce.org/src/apps/ristretto/0.13/ristretto-0.13.1.tar.bz2"
+MD5SUM="a21966fa7aa2de1881f163097b62a2fd"
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 9a07e6a768..98f0bbdaf5 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
+++ b/graphics/scantailor-advanced/scantailor-advanced.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scantailor-advanced
-VERSION=${VERSION:-1.0.16}
+VERSION=${VERSION:-1.0.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,6 +69,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
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 \
@@ -69,15 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i \
- -e 's/^cmake_minimum_required.*$/cmake_minimum_required(VERSION 3.5.2)/' \
- -e 's/^find_package(Boost 1.60 REQUIRED/find_package(Boost 1.59 REQUIRED/' \
- -e 's/^set(CMAKE_CXX_STANDARD 17)$/set(CMAKE_CXX_STANDARD 14)/' \
- CMakeLists.txt
-
-sed -i 's/>Deksew:</>Deskew:</' \
- translations/scantailor_*.ts ui/SettingsDialog.ui
-
mkdir -p build
cd build
cmake -G "Unix Makefiles" \
@@ -86,7 +87,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -111,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/scantailor-advanced/scantailor-advanced.info b/graphics/scantailor-advanced/scantailor-advanced.info
index 6883eb99ea..3a78557542 100644
--- a/graphics/scantailor-advanced/scantailor-advanced.info
+++ b/graphics/scantailor-advanced/scantailor-advanced.info
@@ -1,10 +1,10 @@
PRGNAM="scantailor-advanced"
-VERSION="1.0.16"
-HOMEPAGE="https://github.com/4lex4/scantailor-advanced"
-DOWNLOAD="https://github.com/4lex4/scantailor-advanced/archive/v1.0.16/scantailor-advanced-1.0.16.tar.gz"
-MD5SUM="1011e3ed6fe0e65fcedc25389a29bd23"
+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="qt5"
+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/scantailor/README b/graphics/scantailor/README
deleted file mode 100644
index a54118cbd1..0000000000
--- a/graphics/scantailor/README
+++ /dev/null
@@ -1,6 +0,0 @@
-Scan Tailor is an interactive post-processing tool for scanned
-pages. It performs operations such as page splitting, deskewing,
-adding/removing borders, and others. You give it raw scans, and you
-get pages ready to be printed or assembled into a PDF or DJVU file.
-Scanning, optical character recognition, and assembling multi-page
-documents are out of scope of this project.
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
deleted file mode 100644
index 11e7a7e3a3..0000000000
--- a/graphics/scantailor/scantailor.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for scantailor
-
-# Written by Zhischenko Sergey <gishenko@mail.ru>
-
-PRGNAM=scantailor
-SRCNAM=EXPERIMENTAL
-VERSION=${VERSION:-2016_01_13}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-${SRCNAM}_${VERSION}
-tar xvf $CWD/${SRCNAM}_${VERSION}.tar.gz || tar xvf $CWD/$PRGNAM-${SRCNAM}_${VERSION}.tar.gz
-cd $PRGNAM-${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 build
-cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
- -DCMAKE_BUILD_TYPE=Release ..
-
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps/
-cp resources/appicon.svg $PKG/usr/share/icons/hicolor/scalable/apps/scantailor.svg
-mkdir -p $PKG/usr/share/applications
-cp $CWD/scantailor.desktop $PKG/usr/share/applications/scantailor.desktop
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING GPL3.txt \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/scantailor/scantailor.desktop b/graphics/scantailor/scantailor.desktop
deleted file mode 100644
index 03ef07fd16..0000000000
--- a/graphics/scantailor/scantailor.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=Scan Tailor
-Comment=An interactive post-processing tool for scanned pages.
-Icon=scantailor
-Exec=scantailor %u
-TryExec=scantailor
-Terminal=false
-Type=Application
-StartupNotify=true
-Categories=Graphics;
-
diff --git a/graphics/scantailor/scantailor.info b/graphics/scantailor/scantailor.info
deleted file mode 100644
index 15146007f0..0000000000
--- a/graphics/scantailor/scantailor.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="scantailor"
-VERSION="2016_01_13"
-HOMEPAGE="http://scantailor.sourceforge.net/"
-DOWNLOAD="https://github.com/Tulon/scantailor/archive/EXPERIMENTAL_2016_01_13.tar.gz"
-MD5SUM="90617c2bc82f288bfed472b9b03a1eef"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="qt5-legacy"
-MAINTAINER="Zhischenko Sergey"
-EMAIL="gishenko@mail.ru"
diff --git a/graphics/scantailor/slack-desc b/graphics/scantailor/slack-desc
deleted file mode 100644
index ad70749353..0000000000
--- a/graphics/scantailor/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-scantailor: scantailor (interactive post-processing tool for scanned pages)
-scantailor:
-scantailor: Scan Tailor is an interactive post-processing tool for scanned
-scantailor: pages. It performs operations such as page splitting, deskewing,
-scantailor: adding/removing borders, and others. You give it raw scans, and you
-scantailor: get pages ready to be printed or assembled into a PDF or DJVU file.
-scantailor: Scanning, optical character recognition, and assembling multi-page
-scantailor: documents are out of scope of this project.
-scantailor:
-scantailor:
-scantailor:
diff --git a/graphics/scour/scour.SlackBuild b/graphics/scour/scour.SlackBuild
index ea57926024..97dea87399 100644
--- a/graphics/scour/scour.SlackBuild
+++ b/graphics/scour/scour.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for scour
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scour
VERSION=${VERSION:-0.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/screencloud/010-screencloud-fix-python-link-libraries.patch b/graphics/screencloud/010-screencloud-fix-python-link-libraries.patch
new file mode 100644
index 0000000000..7dde6e1257
--- /dev/null
+++ b/graphics/screencloud/010-screencloud-fix-python-link-libraries.patch
@@ -0,0 +1,38 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -263,17 +263,6 @@ set(REQUIRED_LIBS ${REQUIRED_LIBS}
+ ${QUAZIP_LIBRARY}
+ )
+
+-#Find Python
+-if(PYTHON_USE_PYTHON3)
+- find_package(PythonLibs 3.3 REQUIRED)
+-else(PYTHON_USE_PYTHON3)
+- find_package(PythonLibs 2.6 REQUIRED)
+-endif(PYTHON_USE_PYTHON3)
+-include_directories(${PYTHON_INCLUDE_DIR})
+-set(REQUIRED_LIBS ${REQUIRED_LIBS}
+- ${PYTHON_LIBRARIES}
+-)
+-
+ #Find PythonQt
+ find_package(PythonQt REQUIRED)
+ include_directories(${PYTHONQT_INCLUDE_DIR})
+@@ -293,6 +282,17 @@ else(PYTHONQT_QTALL_FOUND)
+ message(STATUS "Using PythonQt_QtBindings (old) for Qt bindings.")
+ endif(PYTHONQT_QTALL_FOUND)
+
++#Find Python
++if(PYTHON_USE_PYTHON3)
++ find_package(PythonLibs 3.3 REQUIRED)
++else(PYTHON_USE_PYTHON3)
++ find_package(PythonLibs 2.6 REQUIRED)
++endif(PYTHON_USE_PYTHON3)
++include_directories(${PYTHON_INCLUDE_DIR})
++set(REQUIRED_LIBS ${REQUIRED_LIBS}
++ ${PYTHON_LIBRARIES}
++)
++
+ #Platform specific libs
+ if(WIN32)
+ set(REQUIRED_LIBS ${REQUIRED_LIBS}
diff --git a/graphics/screencloud/screencloud.SlackBuild b/graphics/screencloud/screencloud.SlackBuild
index dd0f8222fe..10c6acea0d 100644
--- a/graphics/screencloud/screencloud.SlackBuild
+++ b/graphics/screencloud/screencloud.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ScreenCloud
@@ -22,51 +22,92 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=screencloud
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-case "$( uname -m )" in
- i?86) DEBARCH=i386 ; ARCH=i386 ;;
- x86_64) DEBARCH=amd64 ; ARCH=x86_64 ;;
- arm*) ARCH=arm ;;
- *) echo "$( uname -m ) not supported!" ; exit 1 ;;
-esac
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-ar p $CWD/screencloud_${VERSION}_${DEBARCH}.deb data.tar.gz | tar xvz
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -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 0755 $PKG
-#rm -rf etc/
-
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/doc
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/share/icons
-mkdir -p $PKG/usr/share/applications
+patch -p1 < $CWD/010-screencloud-fix-python-link-libraries.patch
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ -DPYTHON_USE_PYTHON3=ON \
+ -DQUAZIP_INCLUDE_DIR="/usr/include/QuaZip-Qt5-1.1/quazip" \
+ -DQUAZIP_LIBRARY="/usr/lib$LIBDIRSUFFIX/libquazip1-qt5.so" \
+ -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
+rm -f $PKG/usr/bin/*.sh
-mkdir -p $PKG/usr/bin
-ln -s /opt/screencloud/screencloud.sh $PKG/usr/bin/$PRGNAM
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/screencloud/screencloud.info b/graphics/screencloud/screencloud.info
index 560360787e..4db02a7587 100644
--- a/graphics/screencloud/screencloud.info
+++ b/graphics/screencloud/screencloud.info
@@ -1,10 +1,10 @@
PRGNAM="screencloud"
-VERSION="1.1.0"
+VERSION="1.5.3"
HOMEPAGE="https://screencloud.net/"
-DOWNLOAD="https://downloads.sourceforge.net/screencloud/screencloud_1.1.0_i386.deb"
-MD5SUM="27ace0f4c9532cbdbf32556ff9cc13f1"
-DOWNLOAD_x86_64="https://downloads.sourceforge.net/screencloud/screencloud_1.1.0_amd64.deb"
-MD5SUM_x86_64="fdabf6873b993f9401e5469e8c53a320"
-REQUIRES="qoauth"
+DOWNLOAD="https://github.com/olav-st/screencloud/archive/v1.5.3/screencloud-1.5.3.tar.gz"
+MD5SUM="09e2ac963e3017609c638e1f1b212e20"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="PythonQt"
MAINTAINER="Daniel Romero"
EMAIL="infoslack@gmail.com"
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 33aedaac88..d2ae794912 100644
--- a/graphics/screengrab/screengrab.SlackBuild
+++ b/graphics/screengrab/screengrab.SlackBuild
@@ -1,7 +1,7 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for screengrab
-# Copyright 2013-2015 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
@@ -21,27 +21,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=screengrab
-VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.6.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-IS64BITS=0
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -49,7 +58,6 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- IS64BITS=1
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -61,7 +69,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,11 +81,8 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DIS64BITS=$IS64BITS \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -86,7 +91,7 @@ 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
-# move the docs in slackware standard location
+# move the docs in Slackware standard location
mkdir $PKG/usr/doc
mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
rmdir $PKG/usr/share/doc
@@ -97,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/screengrab/screengrab.info b/graphics/screengrab/screengrab.info
index e65afe4eac..175222d143 100644
--- a/graphics/screengrab/screengrab.info
+++ b/graphics/screengrab/screengrab.info
@@ -1,10 +1,10 @@
PRGNAM="screengrab"
-VERSION="1.2.1"
-HOMEPAGE="http://screengrab.doomer.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/screengrab-1.2.1.tar.gz"
-MD5SUM="b233b108558c509419bd754ba1c2c318"
+VERSION="2.6.0"
+HOMEPAGE="https://github.com/lxqt/screengrab"
+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=""
+REQUIRES="libqtxdg"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/scrot/README b/graphics/scrot/README
index 4fa0858b10..78f0f407e1 100644
--- a/graphics/scrot/README
+++ b/graphics/scrot/README
@@ -1,3 +1,4 @@
-scrot is a commandline screen capture util like "import", but using imlib2.
-It has lots of options for autogenerating filenames, and can do fun stuff
-like taking screenshots of multiple displays and glueing them together.
+scrot is a commandline screen capture util like "import", but using
+imlib2. It has lots of options for autogenerating filenames, and can
+do fun stuff like taking screenshots of multiple displays and glueing
+them together.
diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild
index 54acabeb3c..5cb78fa3b5 100644
--- a/graphics/scrot/scrot.SlackBuild
+++ b/graphics/scrot/scrot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for scrot
@@ -24,12 +24,13 @@
# 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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux
@@ -99,4 +105,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/separate+/README b/graphics/separate+/README
deleted file mode 100644
index 6f9d504c7c..0000000000
--- a/graphics/separate+/README
+++ /dev/null
@@ -1,5 +0,0 @@
-separate+ brings improved CMYK and ICC profile support and flexibility
-to GIMP.
-
-While it's not absolutely necessary, it would make sense to install
-the optional dependency iccprofiles, before installing separate+
diff --git a/graphics/separate+/separate+.SlackBuild b/graphics/separate+/separate+.SlackBuild
deleted file mode 100644
index 8849f1fb16..0000000000
--- a/graphics/separate+/separate+.SlackBuild
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for separate+
-# Written by klaatu at klaatu at hackerpublicradio.org
-
-PRGNAM=separate+
-VERSION=${VERSION:-0.5.8}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- x86_64) ARCH=x86_64 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
-cd $PRGNAM-$VERSION
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-if [ "X$LIBDIRSUFFIX" == "X64" ]
- then sed -i 's_/lib/gimp/_/lib64/gimp/_' Makefile
-fi
-
-LDFLAGS="-lm" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
-make install DESTDIR=$PKG
-
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/gimp/2.0/plug-ins
-cp -a separate_import icc_colorspace $PKG/usr/lib$LIBDIRSUFFIX/gimp/2.0/plug-ins
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README README_ICC_COLORSPACE readme.jp.txt readme_icc_colorspace.jp.txt COPYING sample-scripts \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/separate+/separate+.info b/graphics/separate+/separate+.info
deleted file mode 100644
index 99a3daa886..0000000000
--- a/graphics/separate+/separate+.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="separate+"
-VERSION="0.5.8"
-HOMEPAGE="http://sourceforge.jp/projects/separate-plus/"
-DOWNLOAD="http://iij.dl.sourceforge.jp/separate-plus/47873/separate+-0.5.8.zip"
-MD5SUM="442e546bb451ab7450ddca79e36e21e8"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Klaatu"
-EMAIL="klaatu@hackerpublicradio.org"
diff --git a/graphics/separate+/slack-desc b/graphics/separate+/slack-desc
deleted file mode 100644
index de3d97b1c3..0000000000
--- a/graphics/separate+/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-separate+: separate+ (CMYK support for GIMP)
-separate+:
-separate+: separate+ is a CMYK plugin for the GNU Image Manipulation Program
-separate+: which brings improved ICC color management, soft-proof color, color
-separate+: profile switching, and duotone support to your workflow...plus,
-separate+: obviously, the ability to separate colors from RGB images.
-separate+:
-separate+: After installed, your new color separation options will be located
-separate+: in the Image menu of GIMP, in a Separate submenu.
-separate+:
-separate+: http://sourceforge.jp/projects/separate-plus/
diff --git a/graphics/shaderc/README b/graphics/shaderc/README
deleted file mode 100644
index 9a0f3f00d7..0000000000
--- a/graphics/shaderc/README
+++ /dev/null
@@ -1,2 +0,0 @@
-A collection of tools, libraries, and tests for Vulkan shader
-compilation.
diff --git a/graphics/shaderc/shaderc.info b/graphics/shaderc/shaderc.info
deleted file mode 100644
index 398339dcec..0000000000
--- a/graphics/shaderc/shaderc.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="shaderc"
-VERSION="2020.4"
-HOMEPAGE="https://github.com/google/shaderc"
-DOWNLOAD="https://github.com/google/shaderc/archive/v2020.4/shaderc-2020.4.tar.gz"
-MD5SUM="5c587cb6bd3b7e8745ca2e0dd46bb284"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="glslang"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/graphics/shalbum/shalbum.SlackBuild b/graphics/shalbum/shalbum.SlackBuild
index e408846225..5c5e406033 100644
--- a/graphics/shalbum/shalbum.SlackBuild
+++ b/graphics/shalbum/shalbum.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shalbum
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shalbum
VERSION=${VERSION:-1.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/shotwell/shotwell.SlackBuild b/graphics/shotwell/shotwell.SlackBuild
index f65dd0ca89..37d50f4141 100644
--- a/graphics/shotwell/shotwell.SlackBuild
+++ b/graphics/shotwell/shotwell.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Shotwell
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shotwell
VERSION=${VERSION:-0.24.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,9 +102,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS README THANKS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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/shotwell/shotwell.info b/graphics/shotwell/shotwell.info
index 149dc5563a..7961596c0a 100644
--- a/graphics/shotwell/shotwell.info
+++ b/graphics/shotwell/shotwell.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://download.gnome.org/sources/shotwell/0.24/shotwell-0.24.0.tar.x
MD5SUM="2697874c8e26c37aed3b1ea8a6fd2b7e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgee libgexiv2 libunique webkit2gtk rest json-glib"
+REQUIRES="libunique webkit2gtk rest"
MAINTAINER="Erwin van Zanten"
EMAIL="e.van.zanten.evz@gmail.com"
diff --git a/graphics/shutter/shutter.SlackBuild b/graphics/shutter/shutter.SlackBuild
index bf838c3ba7..d7dce4f855 100644
--- a/graphics/shutter/shutter.SlackBuild
+++ b/graphics/shutter/shutter.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for shutter
@@ -24,10 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=shutter
VERSION=${VERSION:-0.94.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/simple-scan/README b/graphics/simple-scan/README
index 375d326826..f87edaf89c 100644
--- a/graphics/simple-scan/README
+++ b/graphics/simple-scan/README
@@ -1,2 +1,6 @@
-simple-scan is a simple scanning utility designed to be less
-overwhelming than xsane for casual/occasional scanning jobs.
+simple-scan is a document scanning application.
+It allows you to capture images using image scanners
+(e.g. flatbed scanners) that have suitable SANE drivers installed.
+
+Optional dependencies, detected automatically at compiletime:
+colord
diff --git a/graphics/simple-scan/simple-scan.SlackBuild b/graphics/simple-scan/simple-scan.SlackBuild
index 4014836c87..39150d11ac 100644
--- a/graphics/simple-scan/simple-scan.SlackBuild
+++ b/graphics/simple-scan/simple-scan.SlackBuild
@@ -1,10 +1,9 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware Package Build Script for simple-scan
-# Home Page https://launchpad.net/simple-scan
+# Slackware build script for simple-scan
-# Copyright (c) 2010-2017, Nishant Limbachia, Hoffman Estates, IL, USA
-# [nishant _AT_ mnspace _DOT_ net]
+# Copyright 2010 - 2017 Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright 2021 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +24,13 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="simple-scan"
-VERSION=${VERSION:-3.25.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-42.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +40,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,9 +65,10 @@ fi
set -e
-rm -fr $TMP/$PRGNAM-$VERSION $PKG
+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 .
@@ -71,23 +78,35 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 640 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-meson --prefix $PKG/usr build
-
-# Fix for meson-0.44.0, thanks to Andrew Clemons
-sed -i 's,../src/src/,../src/,g' build/build.ninja
-
-ninja -C build all install
-
-rm -f $PKG/usr/share/glib-2.0/schemas/gschemas.compiled
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
-
-mv $PKG/usr/share/man $PKG/usr/man
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/simple-scan/simple-scan.info b/graphics/simple-scan/simple-scan.info
index 5c6d85d344..c73b1cc2db 100644
--- a/graphics/simple-scan/simple-scan.info
+++ b/graphics/simple-scan/simple-scan.info
@@ -1,10 +1,10 @@
PRGNAM="simple-scan"
-VERSION="3.25.1"
-HOMEPAGE="https://launchpad.net/simple-scan"
-DOWNLOAD="https://launchpad.net/simple-scan/3.25/3.25.1/+download/simple-scan-3.25.1.tar.xz"
-MD5SUM="6bff2b9bdfb529e21582f4a65c3f2d27"
+VERSION="42.1"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/simple-scan"
+DOWNLOAD="https://download.gnome.org/sources/simple-scan/42/simple-scan-42.1.tar.xz"
+MD5SUM="bd5c3ad8559a13db93b78d0b01091eb0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="colord packagekit meson libgusb vala"
-MAINTAINER="Nishant Limbachia"
-EMAIL="nishant@mnspace.net"
+REQUIRES="libgusb libhandy"
+MAINTAINER="Johannes Schoepfer"
+EMAIL="slackbuilds@schoepfer.info"
diff --git a/graphics/simple-scan/slack-desc b/graphics/simple-scan/slack-desc
index d201d02f6e..1c7147dcad 100644
--- a/graphics/simple-scan/slack-desc
+++ b/graphics/simple-scan/slack-desc
@@ -6,13 +6,13 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-simple-scan: simple-scan (simple scanning utility)
+simple-scan: simple-scan (scanning utility)
simple-scan:
-simple-scan: simple-scan is a simple scanning utility without the overwhelming
-simple-scan: options of xsane.
+simple-scan: simple-scan is a document scanning application.
+simple-scan: It allows you to capture images using image scanners
+simple-scan: (e.g. flatbed scanners) that have suitable SANE drivers installed.
simple-scan:
-simple-scan:
-simple-scan: Homepage: https://launchpad.net/simple-scan
+simple-scan: https://gitlab.gnome.org/GNOME/simple-scan
simple-scan:
simple-scan:
simple-scan:
diff --git a/graphics/sng/sng.SlackBuild b/graphics/sng/sng.SlackBuild
index 1f1abda985..0b56f6d8a3 100644
--- a/graphics/sng/sng.SlackBuild
+++ b/graphics/sng/sng.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sng
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sng
VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -97,4 +107,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/graphene/graphene.SlackBuild b/graphics/stltools/stltools.SlackBuild
index 7b0bfa773d..2a8df3495f 100644
--- a/graphics/graphene/graphene.SlackBuild
+++ b/graphics/stltools/stltools.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for graphene
+# Slackware build script for <stltools>
-# Copyright 2020 Hunter Sezen California, USA
+# Copyright 2023, Michales Michaloudes (clavisound), Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=graphene
-VERSION=${VERSION:-1.10.2}
+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
@@ -35,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,18 +56,21 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,39 +79,27 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-if [ "${DEBUG:=0}" != 0 ]; then
- NDEBUG=false
- RELEASE=debug
- SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')"
-else
- NDEBUG=true
- RELEASE=plain
-fi
-
-# Don't create the __pycache__ directory.
-export PYTHONDONTWRITEBYTECODE=1
+sed -i 's_env python_env python3_' $TMP/$PRGNAM-$VERSION/setup.py
+python3 setup.py
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-meson \
- --prefix=/usr \
- --libdir=lib${LIBDIRSUFFIX} \
- -Dinstalled_tests=false \
- -Dstrip=$NDEBUG \
- -Db_ndebug=$NDEBUG \
- -Dbuildtype=$RELEASE \
- build
+mkdir -p $PKG/usr/bin
+for i in info 2pdf 2ps 2pov
+do
+ cp stl$i $PKG/usr/bin/
+done
-"${NINJA:=ninja}" -C build
-DESTDIR=$PKG "$NINJA" -C build install
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE.txt README.md \
+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:-tgz}
+/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 1a1aca65f4..ab3b1ebb9d 100644
--- a/graphics/svp/svp.SlackBuild
+++ b/graphics/svp/svp.SlackBuild
@@ -1,29 +1,39 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for svp
# Written by Luis Henrique <lmello.009@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=svp
VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -62,4 +72,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/yesplz/slack-desc b/graphics/swappy/slack-desc
index 022ba22ee7..6624c33999 100644
--- a/graphics/yesplz/slack-desc
+++ b/graphics/swappy/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-yesplz: yesplz (screenshot and upload tool)
-yesplz:
-yesplz: yesplz is sigFLUP's unixporn cli screenshot and upload tool.
-yesplz: If you have an account on unixporn.github.io you can use yesplz to
-yesplz: take, tag, and upload a screenshot of your desktop and add it to an
-yesplz: album on unixporn.github.io, a website for gratuitous *nix desktop
-yesplz: screenshots.
-yesplz:
-yesplz:
-yesplz:
-yesplz:
+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.SlackBuild b/graphics/sxiv/sxiv.SlackBuild
index 74af4635e8..4ab0f226f2 100644
--- a/graphics/sxiv/sxiv.SlackBuild
+++ b/graphics/sxiv/sxiv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for sxiv
@@ -24,10 +24,13 @@
# Modified by Eugene M., <damagedone at gmx dot com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sxiv
VERSION=${VERSION:-26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,4 +106,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/tclblt/README b/graphics/tclblt/README
index 4b9e6b8fe0..857fc20ddf 100644
--- a/graphics/tclblt/README
+++ b/graphics/tclblt/README
@@ -1,3 +1,3 @@
-Tcl BLT is an extension to Tcl/Tk. It adds plotting widgets (X-Y graph,
-barchart, stripchart), a powerful geometry manager, a new canvas
-item, and several new commands to Tk.
+Tcl BLT is an extension to Tcl/Tk. It adds plotting widgets (X-Y
+graph, barchart, stripchart), a powerful geometry manager, a new
+canvas item, and several new commands to Tk.
diff --git a/graphics/tclblt/tclblt.SlackBuild b/graphics/tclblt/tclblt.SlackBuild
index ccb159e6c7..114d334ab5 100644
--- a/graphics/tclblt/tclblt.SlackBuild
+++ b/graphics/tclblt/tclblt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tclblt
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add -j1 to make commands (parallel builds fail).
+# - do not install libraries to /usr/lib on x86_64.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tclblt
VERSION=${VERSION:-2.5.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRC="blt-src-2.5.3.zip"
SRC_HOME="blt2.5"
@@ -37,7 +44,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -67,9 +78,9 @@ cd $SRC_HOME
chown -R root: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 {} \+
#Here we will apply the patches from Debian project
rm -rv library/dd_protocols && patch -p1 < $CWD/patches/source.patch && sed -i -e 's/\$$(ddFiles)//' library/Makefile.in
@@ -111,31 +122,33 @@ CXXFLAGS="$SLKCFLAGS" \
--with-blt=/usr/lib${LIBDIRSUFFIX} \
--with-tcllibs=/usr/lib${LIBDIRSUFFIX}
-make
-make install INSTALL_ROOT=$PKG
+make -j1
+make -j1 install INSTALL_ROOT=$PKG
+gzip -9 $PKG/usr/man/man*/*
+
+# 20220225 bkw: configure doesn't respect --disable-static, for now
+# just leave the static libs.
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# 20220225 bkw: documentation getting installed in /usr/lib
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv $PKG/usr/lib/blt*/{NEWS,PROBLEMS,README,demos} $PKGDOC
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# 20220225 bkw: --libdir not fully respected
+if [ -n "$LIBDIRSUFFIX" ]; then
+ mv $PKG/usr/lib/*.{so,a} $PKG/usr/lib$LIBDIRSUFFIX
+ rm -rf $PKG/usr/lib
+fi
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
+strip $PKG/usr/bin/* $PKG/usr/lib$LIBDIRSUFFIX/*.so
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a html $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a examples $PKG/usr/doc/$PRGNAM-$VERSION
-DOCLIST="README PROBLEMS NEWS demos"
-for DOCNAME in $DOCLIST ; do mv $PKG/usr/lib/blt2.5/$DOCNAME $PKG/usr/doc/$PRGNAM-$VERSION ; done
-rmdir $PKG/usr/lib/blt2.5
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
+cp -a html $PKGDOC
+cp -a examples $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+find $PKGDOC -type f -exec chmod 644 {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/teighafileconverter/teighafileconverter.SlackBuild b/graphics/teighafileconverter/teighafileconverter.SlackBuild
index e74c00cf10..1633c3b4c4 100644
--- a/graphics/teighafileconverter/teighafileconverter.SlackBuild
+++ b/graphics/teighafileconverter/teighafileconverter.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -33,10 +34,13 @@
# - Name the x86 package according to ARCH (i586 or i686). No effect on
# the package contents, just the filename.
+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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -48,7 +52,11 @@ fi
ORIGNAM=TeighaFileConverter
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,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
@@ -93,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
@@ -104,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/teighafileconverter/teighafileconverter.info b/graphics/teighafileconverter/teighafileconverter.info
index 5ac7e7f72c..52f16e54d8 100644
--- a/graphics/teighafileconverter/teighafileconverter.info
+++ b/graphics/teighafileconverter/teighafileconverter.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://slackware.uk/~urchlay/src/TeighaFileConverter_QT5_lnxX86_4.7dl
MD5SUM="68e6185b3419fcf31d53da1fe34142a4"
DOWNLOAD_x86_64="https://slackware.uk/~urchlay/src/TeighaFileConverter_QT5_lnxX64_4.7dll.deb"
MD5SUM_x86_64="a9da11f38a74a767812f1a11d387bbbf"
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/teighaviewer/README b/graphics/teighaviewer/README
deleted file mode 100644
index ccead51337..0000000000
--- a/graphics/teighaviewer/README
+++ /dev/null
@@ -1,8 +0,0 @@
-teighaviewer (AutoCAD DWG and DGN file viewer)
-
-TeighaViewer is a free rendering application, which can render
-.dwg and .dgn files. These are CAD files, usually used with AutoCAD.
-
-This is an older, 32-bit-only version of teighaviewer. It will
-not be updated to a newer version for technical reasons. See
-README_maintainer.txt for details.
diff --git a/graphics/teighaviewer/README_maintainer.txt b/graphics/teighaviewer/README_maintainer.txt
deleted file mode 100644
index d064b4ca00..0000000000
--- a/graphics/teighaviewer/README_maintainer.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-This build was listed as "orphaned - no maintainer" for a while.
-
-I thought it would be nice to update it for the latest version of
-TeighaViewer, which supports x86_64. Unfortunately, the latest version
-segfaults with an unhelpful error message, and all attempts to find a
-solution have been fruitless. Google searches show Ubuntu users having
-the same problem, meaning TeighaViewer 19.5.0.0 doesn't even work on the
-platform it's intended for (Ubuntu). So I'm sticking with 4.00.0 for now,
-meaning this is still a 32-bit-only build.
-
-The download site only has the latest version, but I was able to find
-several older versions (newer than 4.00.0) on web.archive.org and test
-them. These didn't crash, but they also didn't *work*: none of them
-would actually render anything. These versions all use qt5, and were
-built against older qt5 releases (5.3.x), so the problem might be qt5
-incompatibility... only the qt4 32-bit-only version works :(
-
-I'm listing myself as maintainer, but unless there's a new version of
-TeighaViewer that actually works, I won't be upgrading this build.
diff --git a/graphics/teighaviewer/teighaviewer.SlackBuild b/graphics/teighaviewer/teighaviewer.SlackBuild
deleted file mode 100644
index 61d361d135..0000000000
--- a/graphics/teighaviewer/teighaviewer.SlackBuild
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for teighaviewer
-
-# Copyright 2012-2014 Fridrich von Stauffenberg <email removed>
-# Copyright 2018 B. Watson <yalhcru@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.
-
-# 20180722 bkw:
-# - Take over maintenance.
-# - i386 => i586.
-# - add libpng-legacy12 to REQUIRES.
-# - update README and slack-desc slightly (mention AutoCAD).
-# - attempted to update for upstream's latest version (19.5.0.0) and
-# several other versions newer than 4.00.0, utter failure. See
-# README_maintainer.txt for details.
-
-PRGNAM=teighaviewer
-VERSION=${VERSION:-4.00.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-ARCH=i586
-
-ORIG_PRGNAM=TeighaViewer
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $PKG
-ar xv $CWD/${ORIG_PRGNAM}_lnxX86_4.4dll_${VERSION}_i386.deb
-tar xvf data.tar.gz
-rm -f data.tar.gz control.tar.gz debian-binary
-chown -R root:root .
-find . -type d -exec chmod 755 {} \;
-find -L . \! -name '*.so' \! -name '*.tx*' -type f -exec chmod 644 {} \;
-
-mkdir -p $PKG/usr/lib
-mv $PKG/usr/bin/${ORIG_PRGNAM}_$VERSION $PKG/usr/lib/$ORIG_PRGNAM
-cat $CWD/$PRGNAM.sh > $PKG/usr/bin/$ORIG_PRGNAM
-chmod 755 $PKG/usr/bin/$ORIG_PRGNAM $PKG/usr/lib/$ORIG_PRGNAM/$ORIG_PRGNAM
-
-mv $PKG/usr/share/applications/${ORIG_PRGNAM}{_$VERSION,}.desktop
-sed -i 's@/usr/bin/@@g' $PKG/usr/share/applications/$ORIG_PRGNAM.desktop
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$ORIG_PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/teighaviewer/teighaviewer.info b/graphics/teighaviewer/teighaviewer.info
deleted file mode 100644
index 4bc14c76f5..0000000000
--- a/graphics/teighaviewer/teighaviewer.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="teighaviewer"
-VERSION="4.00.0"
-HOMEPAGE="https://www.opendesign.com/guestfiles/teigha_viewer"
-DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/teighaviewer/TeighaViewer_lnxX86_4.4dll_4.00.0_i386.deb"
-MD5SUM="d09ae4505f48ebf0fabea478e0e57f74"
-DOWNLOAD_x86_64="UNSUPPORTED"
-MD5SUM_x86_64=""
-REQUIRES="libpng-legacy12"
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/graphics/teighaviewer/teighaviewer.sh b/graphics/teighaviewer/teighaviewer.sh
deleted file mode 100644
index e9e1de44bc..0000000000
--- a/graphics/teighaviewer/teighaviewer.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-export LD_LIBRARY_PATH=/usr/lib/TeighaViewer:$LD_LIBRARY_PATH
-exec /usr/lib/TeighaViewer/TeighaViewer "$@"
diff --git a/graphics/tesseract/README b/graphics/tesseract/README
index f159608df6..dff66c6e57 100644
--- a/graphics/tesseract/README
+++ b/graphics/tesseract/README
@@ -1,12 +1,13 @@
-Tesseract is a commercial quality OCR engine originally developed at HP
-between 1985 and 1995. In 1995, this engine was among the top 3 evaluated
-by UNLV. It was open-sourced by HP and UNLV in 2005.
+Tesseract is a commercial quality OCR engine originally developed at
+HP between 1985 and 1995. In 1995, this engine was among the top 3
+evaluated by UNLV. It was open-sourced by HP and UNLV in 2005.
You will need to get one of the language packs in order to do anything
-useful with tesseract, and that language pack tarball should be present
-in the same directory as the SlackBuild script when the package is created.
-See the website for a list of all available language packs. Note that you
-can install more than one (or even all) of the language packs, as they do
-not conflict with each other. The build script defaults to use English, but
-this is easily changed by passing an alternate value on the command line:
-edit the LANGNAM variable to switch to (or add) another language.
+useful with tesseract, and that language pack tarball should be
+present in the same directory as the SlackBuild script when the
+package is created. See the website for a list of all available
+language packs. ote that you can install more than one (or even all)
+of the language packs, as they do not conflict with each other. The
+build script defaults to use English, but this is easily changed
+by passing an alternate value on the command line: edit the LANGNAM
+variable to switch to (or add) another language.
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index 9c4bf01262..e822d7d170 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tesseract
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# Copyright 2013-2015 LukenShiro, Italy
-# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
+# Copyright 2019-2024 Logan Rathbone <poprocks@gmail.com>
#
# All rights reserved.
#
@@ -32,26 +32,36 @@
# Thanks to S+*n_Pe*rm*n for a bug report from OCRopus.
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tesseract
-VERSION=${VERSION:-4.1.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
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -119,9 +129,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Uncomment when migrating to 15.0:
-## Don't ship .la files:
-#rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES \
@@ -133,4 +142,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/tesseract/tesseract.info b/graphics/tesseract/tesseract.info
index 14c097c0be..68ca311d7a 100644
--- a/graphics/tesseract/tesseract.info
+++ b/graphics/tesseract/tesseract.info
@@ -1,9 +1,9 @@
PRGNAM="tesseract"
-VERSION="4.1.1"
+VERSION="5.3.4"
HOMEPAGE="https://github.com/tesseract-ocr"
-DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.1/tesseract-4.1.1.tar.gz \
- https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata"
-MD5SUM="51fe2bcbff1bbce77a25d180fd247f7d \
+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="53de961804ccbcb83b73122f721d8f83 \
57e0df3d84fed9fbf8c7a8e589f8f012"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/textext/textext.SlackBuild b/graphics/textext/textext.SlackBuild
index 0e765996aa..bac193d132 100644
--- a/graphics/textext/textext.SlackBuild
+++ b/graphics/textext/textext.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for textext
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=textext
VERSION=${VERSION:-0.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/textext/textext.info b/graphics/textext/textext.info
index cca5302507..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 texlive"
+REQUIRES="inkscape pdf2svg"
MAINTAINER="R. S. Ananda Murthy"
EMAIL="rsamurti@gmail.com"
diff --git a/graphics/tgif-QPL/README b/graphics/tgif-QPL/README
index af9c6232d0..2cc15668ed 100644
--- a/graphics/tgif-QPL/README
+++ b/graphics/tgif-QPL/README
@@ -1,6 +1,6 @@
-Tgif is an interactive 2-D drawing facility under X11 based on Xlib.
-It supports hierarchical construction of drawings and easy navigation between
-sets of drawings. It's also a hyper-graphics (or hyper-structured-graphics)
-browser on the World-Wide-Web.
+Tgif is an interactive 2-D drawing facility under X11 based on
+Xlib. It supports hierarchical construction of drawings and easy
+navigation between sets of drawings. It's also a hyper-graphics (or
+hyper-structured-graphics) browser on the World-Wide-Web.
This package includes the QPL-licensed version of Tgif.
diff --git a/graphics/tgif-QPL/tgif-QPL.SlackBuild b/graphics/tgif-QPL/tgif-QPL.SlackBuild
index aa7dfdf072..ad097e0a10 100644
--- a/graphics/tgif-QPL/tgif-QPL.SlackBuild
+++ b/graphics/tgif-QPL/tgif-QPL.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tgif-QPL
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tgif-QPL
VERSION=${VERSION:-4.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -79,4 +89,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/tgif-QPL/tgif-QPL.info b/graphics/tgif-QPL/tgif-QPL.info
index 2ceea52798..fc465b63be 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="ftp://bourbon.usc.edu/pub/tgif/tgif-QPL-4.2.5.tar.gz"
+DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/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/fotoxx/slack-desc b/graphics/tikzit/slack-desc
index 1bccebf1f2..0e216ef47f 100644
--- a/graphics/fotoxx/slack-desc
+++ b/graphics/tikzit/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-fotoxx: fotoxx (photo editing and collection management application)
-fotoxx:
-fotoxx: fotoxx is a free open source program for photo editing
-fotoxx: and collection management. The goal is to meet most user
-fotoxx: needs while remaining fast and easy to use.
-fotoxx:
-fotoxx: http://kornelix.squarespace.com/fotoxx/
-fotoxx:
-fotoxx:
-fotoxx:
-fotoxx:
+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/tintii/tintii.SlackBuild b/graphics/tintii/tintii.SlackBuild
index 98d0b68d30..27739d8ca5 100644
--- a/graphics/tintii/tintii.SlackBuild
+++ b/graphics/tintii/tintii.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tintii
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org:
+# - always use wxGTK3, even if /usr/bin/wx-config points to wxPython.
+# - abs path to icon in .desktop.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tintii
VERSION=${VERSION:-2.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +76,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 {} \+
+
+# 20220226 bkw: always use wxGTK3. this configure script has no
+# --with-wx-config or similar, so use PATH.
+mkdir -p wxtmp
+ln -s /usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0 wxtmp/wx-config
+export PATH=$(pwd)/wxtmp:$PATH
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,10 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/share/applications
install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
@@ -101,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/tintii/tintii.desktop b/graphics/tintii/tintii.desktop
index c9e60b5b06..ce0c41f7cd 100644
--- a/graphics/tintii/tintii.desktop
+++ b/graphics/tintii/tintii.desktop
@@ -2,7 +2,7 @@
Name=Tintii
Comment=A smart photo filter for striking colour select effects
Exec=tintii
-Icon=tintii
+Icon=/usr/share/pixmals/tintii.png
Terminal=false
Type=Application
Categories=Graphics;Photography;
diff --git a/graphics/tkpng/README b/graphics/tkpng/README
index 39f4c63ede..9291e98944 100644
--- a/graphics/tkpng/README
+++ b/graphics/tkpng/README
@@ -1,5 +1,5 @@
-TkPNG is an open source binary package that adds PNG photo image support to
-Tcl/Tk. Although other extensions such as Img also add support for PNG
-images, this package was designed to be lightweight, not depending on libpng
-nor implementing other image formats, and suitable for inclusion in the Tk
-core.
+TkPNG is an open source binary package that adds PNG photo image
+support to Tcl/Tk. Although other extensions such as Img also add
+support for PNG images, this package was designed to be lightweight,
+not depending on libpng nor implementing other image formats, and
+suitable for inclusion in the Tk core.
diff --git a/graphics/tkpng/tkpng.SlackBuild b/graphics/tkpng/tkpng.SlackBuild
index e96bd76236..1ba48ceaf6 100644
--- a/graphics/tkpng/tkpng.SlackBuild
+++ b/graphics/tkpng/tkpng.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tkpng
@@ -7,26 +7,36 @@
# Released into the public domain
# V1 - Slackware 13.37 - November 12, 2011
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tkpng
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -79,4 +89,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
rmdir $PKG/usr/bin $PKG/usr/include
cd $PKG
-/sbin/makepkg -l y -c n $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/triangulizor/triangulizor.SlackBuild b/graphics/triangulizor/triangulizor.SlackBuild
index f9a3c4f681..8c36a4b043 100644
--- a/graphics/triangulizor/triangulizor.SlackBuild
+++ b/graphics/triangulizor/triangulizor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for triangulizor
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=triangulizor
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -83,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/trimage/README b/graphics/trimage/README
index 10952840d2..59b5f6a380 100644
--- a/graphics/trimage/README
+++ b/graphics/trimage/README
@@ -1,16 +1,23 @@
Trimage image compressor
A cross-platform tool for optimizing PNG and JPG files.
-Trimage is a cross-platform GUI and command-line interface to optimize image files via
+Trimage is a cross-platform GUI and command-line interface to optimize
+image files via:
+
"optipng":http://optipng.sourceforge.net/,
"pngcrush":http://pmt.sourceforge.net/pngcrush/,
"advpng":http://advancemame.sourceforge.net/comp-readme.html and
"jpegoptim":http://www.kokkonen.net/tjko/projects.html,
+
depending on the filetype (currently, PNG and JPG files are supported).
+
It was inspired by "imageoptim":http://imageoptim.pornel.net/.
-All image files are losslessly compressed on the highest available compression levels,
-and EXIF and other metadata is removed.
+
+All image files are losslessly compressed on the highest available
+compression levels, and EXIF and other metadata is removed.
+
Trimage gives you various input functions to fit your own workflow:
-A regular file dialog, dragging and dropping and various command line options.
+A regular file dialog, dragging and dropping and various command line
+options.
Visit "Trimage.org":http://trimage.org for more information
diff --git a/graphics/trimage/trimage.SlackBuild b/graphics/trimage/trimage.SlackBuild
index 2014aed4cd..24df2095d4 100644
--- a/graphics/trimage/trimage.SlackBuild
+++ b/graphics/trimage/trimage.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Trimage
@@ -21,11 +21,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=trimage
SRCNAM=Trimage
VERSION=${VERSION:-1.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +86,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/trimage/trimage.info b/graphics/trimage/trimage.info
index 8c69f69067..d585447001 100644
--- a/graphics/trimage/trimage.info
+++ b/graphics/trimage/trimage.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/Kilian/Trimage/archive/1.0.6/trimage-1.0.6.tar.gz"
MD5SUM="0e69c56323692594b66ec5b2f6d0a206"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3 optipng pngcrush jpegoptim advancecomp"
+REQUIRES="optipng pngcrush jpegoptim advancecomp"
MAINTAINER="Yth - Arnaud"
EMAIL="yth@ythogtha.org"
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/freewrl/freewrl.SlackBuild b/graphics/ttfautohint/ttfautohint.SlackBuild
index 95c636fb94..3b5b4a1e74 100644
--- a/graphics/freewrl/freewrl.SlackBuild
+++ b/graphics/ttfautohint/ttfautohint.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for freewrl
+# Slackware build script for ttfautohint
-# Copyright 2015 William PC (Slack-it), Seattle, USA
+# Copyright 2023 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,31 +22,41 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=freewrl
-VERSION=${VERSION:-3.0.0}
+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=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-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="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
+ LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
@@ -55,13 +65,15 @@ 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 jxvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,21 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Prefer the Mesa library over a vendors native OpenGL
-if [ "${MESA:-no}" == "yes" ]; then
- OPT_DEPS="--with-mesa"
-fi
-
-# Generate documentation
-if [ "${DOCS:-no}" == "yes" ]; then
- OPT_DEPS="$OPT_DEPS --enable-docs"
-fi
-
-# Use OpenCL. Requires OpenCL API.
-if [ ! -z "$OCL_PATH" ]; then
- OPT_DEPS="$OPT_DEPS --with-OpenCL=$OCL_PATH"
-fi
+export TTFONTS='/usr/share/fonts/TTF'
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -94,13 +92,14 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-static=no \
- $OPT_DEPS \
+ --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
@@ -108,18 +107,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING COPYING.LESSER README $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
-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/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/ttyload/ttyload.SlackBuild b/graphics/ttyload/ttyload.SlackBuild
index d1052cf195..47fd7cf611 100644
--- a/graphics/ttyload/ttyload.SlackBuild
+++ b/graphics/ttyload/ttyload.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ttyload
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ttyload
VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
index 7ef94508f5..b1f8370604 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
@@ -1,17 +1,27 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tuxpaint-stamps
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
# updated by Tim Dickson (dickson.tim@googlemail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tuxpaint-stamps
-VERSION=${VERSION:-2020.12.27}
+VERSION=${VERSION:-2024.01.29}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -22,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 \
@@ -31,15 +52,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-#the "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
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/tuxpaint-stamps/tuxpaint-stamps.info b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
index 45cfd52869..9eb8861075 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.info
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
@@ -1,10 +1,10 @@
PRGNAM="tuxpaint-stamps"
-VERSION="2020.12.27"
-HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2020.12.27.tar.gz"
-MD5SUM="99fbdd34e0e5cb1cf07742d55f797382"
+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="tuxpaint"
+REQUIRES=""
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
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 92dccd38b8..bd19add0de 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -1,17 +1,24 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for tuxpaint
# 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
+# 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.25}
-CONFVER=${CONFVER:-0.0.16}
+VERSION=${VERSION:-0.9.32}
+CONFVER=${CONFVER:-0.0.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +28,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,9 +63,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 {} \+
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS"
make \
@@ -64,18 +75,18 @@ 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/
#
#now for tuxpaint-config
#
cd ..
tar xvf $CWD/$PRGNAM-config-$CONFVER.tar.gz
cd $PRGNAM-config-$CONFVER
+
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS"
make \
MAN_PREFIX=/usr/man \
@@ -87,11 +98,13 @@ make \
DESTDIR=$PKG \
install
-#now sanitize stuff.
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
+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
@@ -99,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/tuxpaint/tuxpaint.info b/graphics/tuxpaint/tuxpaint.info
index b73b6afc0e..5989c055e5 100644
--- a/graphics/tuxpaint/tuxpaint.info
+++ b/graphics/tuxpaint/tuxpaint.info
@@ -1,12 +1,12 @@
PRGNAM="tuxpaint"
-VERSION="0.9.25"
-HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-0.9.25.tar.gz \
- http://downloads.sourceforge.net/tuxpaint/tuxpaint-config-0.0.16.tar.gz"
-MD5SUM="85e017d6e13f0c9cf53ff79eba97e11a \
- 684408801d4be92fe7d0b989a6cac8d4"
+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 fltk pngquant"
+REQUIRES="libpaper SDL2_Pango fltk pngquant libunibreak"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"
diff --git a/graphics/ueberzug/README b/graphics/ueberzug/README
index 47b6e45832..acf0c82d46 100644
--- a/graphics/ueberzug/README
+++ b/graphics/ueberzug/README
@@ -1,5 +1,2 @@
Ăśberzug is a command line util which allows to draw images on
terminals by using child windows.
-
-Note: dependencies must have been built with python3 support, where
- that option is available.
diff --git a/graphics/ueberzug/slack-desc b/graphics/ueberzug/slack-desc
index 0a1189e6e4..970dfcb234 100644
--- a/graphics/ueberzug/slack-desc
+++ b/graphics/ueberzug/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
ueberzug: ueberzug (An alternative to w3mimgdisplay)
ueberzug:
-ueberzug: Ăśberzug is a command line util which allows to draw images on
+ueberzug: Uberzug is a command line util which allows to draw images on
ueberzug: terminals by using child windows.
ueberzug:
+ueberzug: Homepage: https://github.com/seebye/ueberzug
ueberzug:
ueberzug:
ueberzug:
ueberzug:
-ueberzug: Homepage: https://github.com/seebye/ueberzug
ueberzug:
diff --git a/graphics/ueberzug/ueberzug.SlackBuild b/graphics/ueberzug/ueberzug.SlackBuild
index 1885df6697..2631b777c8 100644
--- a/graphics/ueberzug/ueberzug.SlackBuild
+++ b/graphics/ueberzug/ueberzug.SlackBuild
@@ -1,31 +1,24 @@
-#!/bin/sh
+#!/bin/bash
# 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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,25 +28,15 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -63,24 +46,19 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -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
cd $PKG
-/sbin/makepkg -l y -c n $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/ueberzug/ueberzug.info b/graphics/ueberzug/ueberzug.info
index 1dedf4676f..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 python3-pillow"
+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/ufraw/README b/graphics/ufraw/README
index 3b99ae94ee..2ba98515bb 100644
--- a/graphics/ufraw/README
+++ b/graphics/ufraw/README
@@ -1,11 +1,8 @@
-The UFRaw (Unidentified Flying Raw) is a tool for reading and manipulating
-raw images from digital cameras. It supports most of the existing raw
-formats (any format supported by DCRaw). UFRaw can be used on its own or
-as a Gimp plug-in.
+The UFRaw (Unidentified Flying Raw) is a tool for reading and
+manipulating raw images from digital cameras. It supports most of the
+existing raw formats (any format supported by DCRaw). UFRaw can be
+used on its own or as a Gimp plug-in.
-UFRaw requires gtkimageview to include the image preview window. You can
-build it without gtkimageview (run with GTK=no) but you'll only have
-command line interface to UFRaw.
-
-cfitsio (available in SBo) is an optional dependency to support FITS file
-format.
+UFRaw requires gtkimageview to include the image preview window. You
+can build it without gtkimageview (run with GTK=no) but you'll only
+have command line interface to UFRaw.
diff --git a/graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch b/graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch
deleted file mode 100644
index 9b634b69a2..0000000000
--- a/graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Author: Philip Rinn <rinni@inventati.org>
-Description: Fix build with C++11 as char is unsigned on some architectures
-Last-update: 2015-11-04
---- a/dcraw.cc
-+++ b/dcraw.cc
-@@ -2054,7 +2054,7 @@
-
- void CLASS kodak_radc_load_raw()
- {
-- static const char src[] = {
-+ static const signed char src[] = {
- 1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8,
- 1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8,
- 2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8,
diff --git a/graphics/ufraw/patches/CVE-2015-8366.patch b/graphics/ufraw/patches/CVE-2015-8366.patch
deleted file mode 100644
index 9d59ca413f..0000000000
--- a/graphics/ufraw/patches/CVE-2015-8366.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix a buffer overflow bug. See
-https://github.com/LibRaw/LibRaw/commit/89d065424f09b788f443734d44857289489ca9e2
-
---- a/dcraw.cc
-+++ b/dcraw.cc
-@@ -3013,7 +3013,10 @@
- diff = diff ? -diff : 0x80;
- if (ftell(ifp) + 12 >= (int) seg[1][1])
- diff = 0;
-- raw_image[pix] = pred[pix & 1] += diff;
-+ if(pix>=raw_width*raw_height)
-+ derror();
-+ else
-+ raw_image[pix] = pred[pix & 1] += diff;
- if (!(pix & 1) && HOLE(pix / raw_width)) pix += 2;
- }
- maximum = 0xff;
diff --git a/graphics/ufraw/patches/gcc7.patch b/graphics/ufraw/patches/gcc7.patch
deleted file mode 100644
index 2a77b06e62..0000000000
--- a/graphics/ufraw/patches/gcc7.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/dcraw.cc b/dcraw.cc
-index 88c8068..d78c66b 100644
---- a/dcraw.cc
-+++ b/dcraw.cc
-@@ -8766,8 +8766,8 @@ void CLASS identify()
- "Nikon", "Nokia", "Olympus", "Pentax", "Phase One", "Ricoh",
- "Samsung", "Sigma", "Sinar", "Sony" };
- char head[32], *cp;
-- unsigned fsize, i, c;
-- int hlen, flen, zero_fsize=1;
-+ unsigned fsize;
-+ int hlen, flen, zero_fsize=1, i, c;
- struct jhead jh;
-
- tiff_flip = flip = filters = UINT_MAX; /* unknown */ \ No newline at end of file
diff --git a/graphics/ufraw/patches/no-gimp-remote.patch b/graphics/ufraw/patches/no-gimp-remote.patch
deleted file mode 100644
index ca4f4beb62..0000000000
--- a/graphics/ufraw/patches/no-gimp-remote.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Don't use gimp-remote since gimp 2.4 already includes gimp-remote functionality
---- a/ufraw_conf.c
-+++ b/ufraw_conf.c
-@@ -137,7 +137,7 @@
- #elif HAVE_GIMP_2_4
- "gimp", /* remoteGimpCommand */
- #else
-- "gimp-remote", /* remoteGimpCommand */
-+ "gimp", /* remoteGimpCommand */
- #endif
-
- /* EXIF data */
diff --git a/graphics/ufraw/slack-desc b/graphics/ufraw/slack-desc
index f3bc7c2f2e..8a3a5385cd 100644
--- a/graphics/ufraw/slack-desc
+++ b/graphics/ufraw/slack-desc
@@ -14,6 +14,6 @@ ufraw: It reads raw images using Dave Coffin's raw conversion utility
ufraw: DCRaw. UFRaw supports basic color management using Little CMS,
ufraw: allowing the user to apply color profiles.
ufraw:
-ufraw: Home Page: http://ufraw.sourceforge.net/
+ufraw: homepage: https://github.com/sergiomb2/ufraw/
ufraw:
ufraw:
diff --git a/graphics/ufraw/ufraw.SlackBuild b/graphics/ufraw/ufraw.SlackBuild
index 35408d8af8..c0cea42e96 100644
--- a/graphics/ufraw/ufraw.SlackBuild
+++ b/graphics/ufraw/ufraw.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for UFRaw (Unidentified Flying Raw)
# Home Page http://ufraw.sourceforge.net/
@@ -25,10 +25,13 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="ufraw"
-VERSION=${VERSION:-0.22}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20210427_684af05}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,7 +78,7 @@ set -e
rm -rf $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $TMP/$PRGNAM-$VERSION
chown -R root.root .
find -L . \
@@ -77,12 +87,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# patched from: https://sourceforge.net/p/ufraw/bugs/417/
-patch -p1 < $CWD/patches/05_fix_build_due_to_unsigned_char.patch
-# Patches below courtesy of Arch Linux
-patch -p1 < $CWD/patches/gcc7.patch
-patch -p1 < $CWD/patches/CVE-2015-8366.patch
-patch -p1 < $CWD/patches/no-gimp-remote.patch
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -123,4 +128,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/ufraw/ufraw.info b/graphics/ufraw/ufraw.info
index 2cd98f3795..6e9a6c3d5e 100644
--- a/graphics/ufraw/ufraw.info
+++ b/graphics/ufraw/ufraw.info
@@ -1,10 +1,10 @@
PRGNAM="ufraw"
-VERSION="0.22"
-HOMEPAGE="http://ufraw.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/ufraw/ufraw/ufraw-0.22/ufraw-0.22.tar.gz"
-MD5SUM="c30767cae2c44310f2a3d67d7a76f2c3"
+VERSION="20210427_684af05"
+HOMEPAGE="https://github.com/sergiomb2/ufraw/"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/ufraw-20210427_684af05.tar.xz"
+MD5SUM="29b30593cd9e466a09e3bd926abaa271"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dcraw gtkimageview lensfun"
+REQUIRES="dcraw gtkimageview"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
diff --git a/graphics/uniconvertor/uniconvertor.SlackBuild b/graphics/uniconvertor/uniconvertor.SlackBuild
index 1c71ce72b4..22d7e6b3ac 100644
--- a/graphics/uniconvertor/uniconvertor.SlackBuild
+++ b/graphics/uniconvertor/uniconvertor.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for uniconvertor
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=uniconvertor
VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,4 +91,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/unpaper/README b/graphics/unpaper/README
index f4f17530d9..b43f1399bc 100644
--- a/graphics/unpaper/README
+++ b/graphics/unpaper/README
@@ -1,21 +1,32 @@
-unpaper is a post-processing tool for scanned sheets of paper, 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 .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.
+unpaper is a post-processing tool for scanned sheets of paper,
+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).
-This is a fork of the original unpaper software by D.E. "Flameeyes" Petteno'.
+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 96c606e8e3..f9ff3b6c79 100644
--- a/graphics/unpaper/unpaper.SlackBuild
+++ b/graphics/unpaper/unpaper.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -36,30 +36,44 @@
# - The ffmpeg dep can be removed once 15.0 ships, as it will be
# shipped wth the distro.
+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
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=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
@@ -68,37 +82,62 @@ 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
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/unpaper/unpaper.info b/graphics/unpaper/unpaper.info
index 56eaaf044e..a1a652c7a1 100644
--- a/graphics/unpaper/unpaper.info
+++ b/graphics/unpaper/unpaper.info
@@ -1,10 +1,10 @@
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="ffmpeg"
+REQUIRES=""
MAINTAINER="Logan Rathbone"
EMAIL="poprocks@gmail.com"
diff --git a/graphics/urbanlightscape/urbanlightscape.SlackBuild b/graphics/urbanlightscape/urbanlightscape.SlackBuild
index 970d4129da..9c8bee68d3 100644
--- a/graphics/urbanlightscape/urbanlightscape.SlackBuild
+++ b/graphics/urbanlightscape/urbanlightscape.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for urbanlightscape
@@ -22,10 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org:
+# - always use wxGTK3, regardless of /usr/bin/wx-config symlink.
+# - abs path to icon in .desktop.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=urbanlightscape
VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +42,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,9 +76,15 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -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 {} \+
+
+# 20220226 bkw: always use wxGTK3. this configure script has no
+# --with-wx-config or similar, so use PATH.
+mkdir -p wxtmp
+ln -s /usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0 wxtmp/wx-config
+export PATH=$(pwd)/wxtmp:$PATH
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,10 +98,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/share/applications
install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
@@ -101,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/urbanlightscape/urbanlightscape.desktop b/graphics/urbanlightscape/urbanlightscape.desktop
index 09f2c5d48a..1803e5ca51 100644
--- a/graphics/urbanlightscape/urbanlightscape.desktop
+++ b/graphics/urbanlightscape/urbanlightscape.desktop
@@ -2,7 +2,7 @@
Name=Urban Lightscape
Comment=A photo filter for exposure, brightness and lighting correction
Exec=urbanlightscape
-Icon=urbanlightscape
+Icon=/usr/share/pixmaps/urbanlightscape.png
Terminal=false
Type=Application
Categories=Graphics;Photography;
diff --git a/graphics/veles/README b/graphics/veles/README
index 3c0aaef677..67aa361a89 100644
--- a/graphics/veles/README
+++ b/graphics/veles/README
@@ -6,3 +6,7 @@ finding patterns in images.
Statistical visualizations let you find the important bits in a sea of
binary data - all at a glance.
+
+Warning: This SlackBuild requires network access when it runs, meaning
+it downloads files from the Internet with root access. YMMV on whether
+this is a good idea.
diff --git a/graphics/veles/veles.SlackBuild b/graphics/veles/veles.SlackBuild
index 7fabfac30d..058d5f6a29 100644
--- a/graphics/veles/veles.SlackBuild
+++ b/graphics/veles/veles.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for veles
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=veles
VERSION=${VERSION:-2018.05.0.TIF}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,4 +103,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/veles/veles.info b/graphics/veles/veles.info
index 172843800f..5fda33da35 100644
--- a/graphics/veles/veles.info
+++ b/graphics/veles/veles.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/codilime/veles/archive/2018.05.0.TIF/veles-2018.05.
MD5SUM="f10259c5d85700f45e36b629090efed7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5 msgpack-c"
+REQUIRES="msgpack-c"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
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 93ea00019a..63a9fc8669 100644
--- a/graphics/viewnior/viewnior.SlackBuild
+++ b/graphics/viewnior/viewnior.SlackBuild
@@ -1,10 +1,10 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for viewnior.
#
# 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
@@ -31,10 +36,13 @@
# - fix permissions (svg icon in package was +x)
# - tighten up script a bit
+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}
SRCNAM=Viewnior-$PRGNAM
@@ -46,7 +54,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,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" \
@@ -89,8 +107,9 @@ meson \
--mandir=/usr/man \
build
-ninja -C build
-DESTDIR=$PKG ninja -C build install
+NINJA=${NINJA:-ninja}
+$NINJA -C build
+DESTDIR=$PKG $NINJA -C build install
strip $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
@@ -103,4 +122,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/viewnior/viewnior.info b/graphics/viewnior/viewnior.info
index 9d73c3a563..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="meson"
+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/teighaviewer/doinst.sh b/graphics/vimiv-qt/doinst.sh
index 4a25de5e6f..65c7e2eeb9 100644
--- a/graphics/teighaviewer/doinst.sh
+++ b/graphics/vimiv-qt/doinst.sh
@@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
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/README b/graphics/vips/README
index cdf96e9946..d29d016e6b 100644
--- a/graphics/vips/README
+++ b/graphics/vips/README
@@ -1,6 +1,7 @@
-VIPS is a free image processing system. It includes a range of filters,
-arithmetic operations, colour processing, histograms, and geometric
-transforms. It supports ten pixel formats, from 8-bit unsigned int
-to 128-bit complex. As well as the usual JPEG, TIFF, PNG and WebP images,
-it also supports scientific formats like FITS, OpenEXR, Matlab, Analyze,
-PFM, Radiance, OpenSlide and DICOM (via libMagick).
+VIPS is a free image processing system. It includes a range of
+filters, arithmetic operations, colour processing, histograms,
+and geometric transforms. It supports ten pixel formats, from 8-bit
+unsigned int to 128-bit complex. As well as the usual JPEG, TIFF,
+PNG and WebP images, it also supports scientific formats like FITS,
+OpenEXR, Matlab, Analyze, PFM, Radiance, OpenSlide and DICOM (via
+libMagick).
diff --git a/graphics/vips/vips.SlackBuild b/graphics/vips/vips.SlackBuild
index 1512b752c0..f12db0c048 100644
--- a/graphics/vips/vips.SlackBuild
+++ b/graphics/vips/vips.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware Package Build Script for vips
# Build script by <DIO> igor29768 @ gmail.com
@@ -22,28 +22,37 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# 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: fix build on 15.0,
+# by upgrading to v8.12.2.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM="vips"
-VERSION=${VERSION:-8.1.1}
+VERSION=${VERSION:-8.12.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -58,48 +67,43 @@ fi
set -e
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
+# 20220225 bkw: upstream changed the project name from vips to libvips.
+SRCNAM=libvips
+
+rm -rf $TMP/$SRCNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $TMP/$PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $TMP/$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 {} \;
-
-sed -i \
- -e "s:PYTHON_EXEC_PREFIX/lib/:PYTHON_EXEC_PREFIX/lib${LIBDIRSUFFIX}/:" \
- configure
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+sh autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--enable-static=no \
- --build=$ARCH-slackware-linux \
- $gtk_option
+ --build=$ARCH-slackware-linux
make V=1
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS THANKS ChangeLog README* $PKG/usr/doc/$PRGNAM-$VERSION
+
+rm -f $PKG/usr/lib*/*.la
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/vips/vips.info b/graphics/vips/vips.info
index 0c6fd905d8..376e7c3757 100644
--- a/graphics/vips/vips.info
+++ b/graphics/vips/vips.info
@@ -1,10 +1,10 @@
PRGNAM="vips"
-VERSION="8.1.1"
-HOMEPAGE="https://jcupitt.github.io/libvips/"
-DOWNLOAD="https://ftp.fau.de/macports/distfiles/vips/vips-8.1.1.tar.gz"
-MD5SUM="7311df69cf0f3ae0666e0ead15b98cb0"
+VERSION="8.12.2"
+HOMEPAGE="https://github.com/libvips/libvips"
+DOWNLOAD="https://github.com/libvips/libvips/archive/v8.12.2/libvips-8.12.2.tar.gz"
+MD5SUM="db209262e6c62952603b6ed4149c1e98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cfitsio libwebp"
+REQUIRES=""
MAINTAINER="Igor"
EMAIL="igor29768@gmail.com"
diff --git a/graphics/vsxu/vsxu.SlackBuild b/graphics/vsxu/vsxu.SlackBuild
index 3323290a1b..ddc7d5abdd 100644
--- a/graphics/vsxu/vsxu.SlackBuild
+++ b/graphics/vsxu/vsxu.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vsxu
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vsxu
VERSION=${VERSION:-0.6.3.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -100,4 +110,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/vsxu/vsxu.info b/graphics/vsxu/vsxu.info
index 9f4be70eca..b299c9c786 100644
--- a/graphics/vsxu/vsxu.info
+++ b/graphics/vsxu/vsxu.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/vsxu/vsxu
MD5SUM="a06b81f46fafe49fca8ef245a54531bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="glfw ftgl opencv SDL2"
+REQUIRES="glfw3 ftgl"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild
index 73d0dbeec5..c34b435169 100644
--- a/graphics/vuescan/vuescan.SlackBuild
+++ b/graphics/vuescan/vuescan.SlackBuild
@@ -1,9 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vuescan
# Copyright 2013-2017 Heiko Rosemann, Germany
-# Copyright 2019-2021 Andrew Clemons, Wellington, New Zealand
+# Copyright 2019-2022 Andrew Clemons, Wellington, New Zealand
+# Copyright 2022-2024 Andrew Clemons, Tokyo, Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,27 +24,56 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vuescan
-VERSION=${VERSION:-9.7.47}
-SRCVER=${SRCVER:-$(echo "$VERSION" | sed -e 's/\.//' -e 's/\..*//')}
+VERSION=${VERSION:-9.8.29}
+SRCVER=${SRCVER:-$(echo "$VERSION" | cut -d. -f-2 | sed 's/\.//g')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-ARCH=${ARCH:-$(uname -m)}
-case $ARCH in
- i?86)
- SOURCEFILE=vuex32$SRCVER.tgz ;;
- x86_64)
- SOURCEFILE=vuex64$SRCVER.tgz ;;
- *)
- echo "ARCH $ARCH is unsupported."; exit 1 ;;
-esac
-
-CWD=$(pwd)
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
@@ -55,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
@@ -73,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
@@ -82,4 +116,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/vuescan/vuescan.info b/graphics/vuescan/vuescan.info
index 657e6b7a47..fdc21b0379 100644
--- a/graphics/vuescan/vuescan.info
+++ b/graphics/vuescan/vuescan.info
@@ -1,10 +1,14 @@
PRGNAM="vuescan"
-VERSION="9.7.47"
+VERSION="9.8.29"
HOMEPAGE="https://www.hamrick.com"
-DOWNLOAD="https://www.hamrick.com/files/vuex3297.tgz"
-MD5SUM="cc75ec401fe96f8ed19512460b41780e"
-DOWNLOAD_x86_64="https://www.hamrick.com/files/vuex6497.tgz"
-MD5SUM_x86_64="9503a3d6e25dfbf7607d7f04c38c98a6"
+DOWNLOAD="https://d2bwyyzfw77fhf.cloudfront.net/vuex3298.tgz \
+ https://d2bwyyzfw77fhf.cloudfront.net/vuea3298.tgz"
+MD5SUM="8c21a2ac0c421112692e45c78d97a3ec \
+ 48abcbe07efcb6bc597a850e96895432"
+DOWNLOAD_x86_64="https://d2bwyyzfw77fhf.cloudfront.net/vuex6498.tgz \
+ https://d2bwyyzfw77fhf.cloudfront.net/vuea6498.tgz"
+MD5SUM_x86_64="0433e42b752ce717c8faa74814bbbb9c \
+ dc6c5a5a5f9835d39e879521e1a416a9"
REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"
diff --git a/graphics/vulkan-sdk-bin/README b/graphics/vulkan-sdk-bin/README
deleted file mode 100644
index d7f13138da..0000000000
--- a/graphics/vulkan-sdk-bin/README
+++ /dev/null
@@ -1,17 +0,0 @@
-This packages the Vulkan SDK binaries for Slackware.
-
-The Vulkan SDK provides the development and runtime components
-required to build, run and debug Vulkan applications. This SDK is
-based on the Vulkan API header. The SDK also includes certain Vulkan
-extensions for window system integration and debug extensions.
-
-The Vulkan API is a low overhead, explicit, cross-platform graphics
-API that provides applications with direct control over the GPU,
-maximizing performance.
-
-The SDK does not include a Vulkan driver. Please contact your
-CPU hardware vendor for a Vulkan Installable Client Driver (ICD).
-This SDK will allow you to build Vulkan applications but you will
-need a Vulkan driver (ICD) to execute them.
-
-The SDK is only supported on x86_64 systems.
diff --git a/graphics/vulkan-sdk-bin/slack-desc b/graphics/vulkan-sdk-bin/slack-desc
deleted file mode 100644
index d2e166f431..0000000000
--- a/graphics/vulkan-sdk-bin/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-vulkan-sdk-bin: vulkan-sdk-bin (Vulkan SDK)
-vulkan-sdk-bin:
-vulkan-sdk-bin: The Vulkan SDK provides the development and runtime components
-vulkan-sdk-bin: required to build, run and debug Vulkan applications. This SDK is
-vulkan-sdk-bin: based on the Vulkan API header. Th SDK also includes certain Vulkan
-vulkan-sdk-bin: extensions for window system integration and debug extensions.
-vulkan-sdk-bin:
-vulkan-sdk-bin: The Vulkan API is a low overhead, explicit, cross-platform graphics
-vulkan-sdk-bin: API that provides applications with direct control over the GPU,
-vulkan-sdk-bin: maximizing performance.
-vulkan-sdk-bin:
diff --git a/graphics/vulkan-sdk-bin/vulkan-sdk-bin.info b/graphics/vulkan-sdk-bin/vulkan-sdk-bin.info
deleted file mode 100644
index 1955ae707b..0000000000
--- a/graphics/vulkan-sdk-bin/vulkan-sdk-bin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="vulkan-sdk-bin"
-VERSION="1.2.162.1"
-HOMEPAGE="https://www.lunarg.com/vulkan-sdk/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://sdk.lunarg.com/sdk/download/1.2.162.1/linux/vulkansdk-linux-x86_64-1.2.162.1.tar.gz"
-MD5SUM_x86_64="ee59ff763ead2790562e55a2b123aec4"
-REQUIRES=""
-MAINTAINER="Dugan Chen"
-EMAIL="thedoogster [at] gmail [dot] com"
diff --git a/graphics/vulkan-sdk/README b/graphics/vulkan-sdk/README
deleted file mode 100644
index 0796ec1f1a..0000000000
--- a/graphics/vulkan-sdk/README
+++ /dev/null
@@ -1,11 +0,0 @@
-Vulkan supports multiple GPUs and multiple global contexts (VkInstance).
-The ICD loader is necessary to support multiple GPUs and the VkInstance
-level Vulkan commands. Additionally, the loader manages inserting Vulkan
-layer libraries, including validation layers between the application and
-the ICD.
-
-qt5 is an optional dependency for vkconfig.
-
-This will not provide a vulkan driver which must be acquired elsewhere.
-
-This SlackBuild will compile vulkan-sdk from source.
diff --git a/graphics/vulkan-sdk/slack-desc b/graphics/vulkan-sdk/slack-desc
deleted file mode 100644
index 1d3eec170b..0000000000
--- a/graphics/vulkan-sdk/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-vulkan-sdk: vulkan-sdk (Vulkan ICD Loader and Validation Layers)
-vulkan-sdk:
-vulkan-sdk: Vulkan supports multiple GPUs and multiple global contexts
-vulkan-sdk: (VkInstance). The ICD loader is necessary to support multiple GPUs
-vulkan-sdk: and the VkInstance level Vulkan commands. Additionally, the loader
-vulkan-sdk: manages inserting Vulkan layer libraries, including validation layers
-vulkan-sdk: between the application and the ICD.
-vulkan-sdk:
-vulkan-sdk: Homepage: https://www.khronos.org/vulkan/
-vulkan-sdk:
-vulkan-sdk:
diff --git a/graphics/vulkan-sdk/vulkan-loader-cmake.patch b/graphics/vulkan-sdk/vulkan-loader-cmake.patch
deleted file mode 100644
index dcb63fd6cc..0000000000
--- a/graphics/vulkan-sdk/vulkan-loader-cmake.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d15214545..fe277fcd6 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -138,7 +138,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
- # all compilers until they all accept the C++17 standard
- if(CMAKE_COMPILER_IS_GNUCC)
- set(COMMON_COMPILE_FLAGS "${COMMON_COMPILE_FLAGS} -Wno-stringop-truncation -Wno-stringop-overflow")
-- if(CMAKE_CXX_COMPILER_VERSION GREATER_EQUAL 7.1)
-+ if(CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 7.1 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.1)
- set(COMMON_COMPILE_FLAGS "${COMMON_COMPILE_FLAGS} -Wimplicit-fallthrough=0")
- endif()
- endif()
diff --git a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild b/graphics/vulkan-sdk/vulkan-sdk.SlackBuild
deleted file mode 100644
index 86909bc79f..0000000000
--- a/graphics/vulkan-sdk/vulkan-sdk.SlackBuild
+++ /dev/null
@@ -1,217 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for vulkan-sdk
-
-# Copyright 2016, 2017 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2016, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
-# Copyright 2019-2020 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=vulkan-sdk
-VERSION=${VERSION:-1.2.162.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-SRC=$TMP/$PRGNAM-$VERSION
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-# VulkanTools from LunarG doesn't support an external jsoncpp
-JSONCPP_VERSION=${JSONCPP_VERSION:-1.8.0}
-
-chdir () { cd -- "$SRC/$1"; printf %s\\n '' "Building $1" ''; }
-
-cmake_build () {
- mkdir -p build
- cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DCMAKE_SKIP_RPATH=TRUE \
- -DCMAKE_BUILD_TYPE=Release \
- "${@:-}" ..
- make
- make install DESTDIR=$PKG
-}
-
-copydocs () {
- dir="$1"
- mkdir -p -- "$PKG/usr/doc/$PRGNAM-$VERSION/$dir"
- shift
- for i do
- cp -a -- "$dir-sdk-$VERSION/$i" "$PKG/usr/doc/$PRGNAM-$VERSION/$dir/"
- done
-}
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-mkdir $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
-tar xvf $CWD/Vulkan-Loader-sdk-$VERSION.tar.gz
-tar xvf $CWD/Vulkan-ValidationLayers-sdk-$VERSION.tar.gz
-tar xvf $CWD/VulkanTools-sdk-$VERSION.tar.gz
-tar xvf $CWD/gfxreconstruct-sdk-$VERSION.tar.gz
-
-(
- cd VulkanTools-sdk-$VERSION/submodules
- tar xvf $CWD/jsoncpp-$JSONCPP_VERSION.tar.gz
- rm -rf jsoncpp
- mv jsoncpp-$JSONCPP_VERSION jsoncpp
-)
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-
-#####################
-### vulkan-loader ###
-#####################
-
-chdir Vulkan-Loader-sdk-$VERSION
-
-# Require an older cmake version.
-sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
-
-# cmake 3.5.2 does not have GREATER_EQUAL
-patch -p1 < $CWD/vulkan-loader-cmake.patch
-
-cmake_build \
- -DBUILD_TESTS=OFF \
- -DBUILD_WSI_XCB_SUPPORT=ON \
- -DBUILD_WSI_XLIB_SUPPORT=ON \
- -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DVULKAN_HEADERS_INSTALL_DIR=/usr
-
-###############################
-### vulkan-validationlayers ###
-###############################
-
-chdir Vulkan-ValidationLayers-sdk-$VERSION
-
-# Require an older cmake version.
-sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
-
-cmake_build \
- -DCMAKE_INSTALL_DATADIR=share \
- -DBUILD_LAYER_SUPPORT_FILES=ON \
- -DBUILD_TESTS=OFF \
- -DBUILD_WERROR=OFF \
- -DBUILD_WSI_XCB_SUPPORT=ON \
- -DBUILD_WSI_XLIB_SUPPORT=ON \
- -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DGLSLANG_INSTALL_DIR=/usr \
- -DSPIRV_HEADERS_INSTALL_DIR=/usr \
- -DVULKAN_HEADERS_INSTALL_DIR=/usr
-
-###################
-### vulkantools ###
-###################
-
-chdir VulkanTools-sdk-$VERSION
-
-# Generate missing jsoncpp sources
-(
- cd submodules/jsoncpp
- python3 ./amalgamate.py
-)
-
-# Require an older cmake version.
-find . -type f -name CMakeLists.txt | xargs grep -l '3\.10\.2' |
- xargs sed -i 's/3.10.2/3.5.2/'
-
-cmake_build \
- -DBUILD_GMOCK=OFF \
- -DBUILD_WSI_XCB_SUPPORT=ON \
- -DBUILD_WSI_XLIB_SUPPORT=ON \
- -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DINSTALL_GTEST=OFF \
- -DVULKAN_HEADERS_INSTALL_DIR=/usr \
- -DVULKAN_LOADER_INSTALL_DIR=$PKG/usr \
- -DVULKAN_VALIDATIONLAYERS_INSTALL_DIR=$PKG/usr
-
-######################
-### gfxreconstruct ###
-######################
-
-chdir gfxreconstruct-sdk-$VERSION
-
-# Require an older cmake version.
-sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
-
-# cmake 3.5.2 does not have FILTER for the list command
-sed -i '/generate_target_source_files(/d' cmake/CodeStyle.cmake
-
-cmake_build \
- -DBUILD_WERROR=OFF \
- -DVULKAN_HEADER=/usr/include/vulkan
-
-cd -- "$SRC"
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-copydocs Vulkan-Loader CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md \
- LICENSE.txt README.md
-copydocs Vulkan-ValidationLayers CODE_OF_CONDUCT.md CONTRIBUTING.md \
- GOVERNANCE.md LAYER_CONFIGURATION.md LICENSE.txt README.md
-copydocs VulkanTools CONTRIBUTING.md GOVERNANCE.md LICENSE.txt README.md
-copydocs gfxreconstruct CONTRIBUTING.md LICENSE.txt LICENSE_ThirdParty.txt \
- README.md USAGE_android.md USAGE_desktop.md
-
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/vulkan-sdk/vulkan-sdk.info b/graphics/vulkan-sdk/vulkan-sdk.info
deleted file mode 100644
index 879c8f7d73..0000000000
--- a/graphics/vulkan-sdk/vulkan-sdk.info
+++ /dev/null
@@ -1,18 +0,0 @@
-PRGNAM="vulkan-sdk"
-VERSION="1.2.162.0"
-HOMEPAGE="https://www.khronos.org/vulkan/"
-DOWNLOAD="https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-1.2.162.0/Vulkan-Loader-sdk-1.2.162.0.tar.gz \
- https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-1.2.162.0/Vulkan-ValidationLayers-sdk-1.2.162.0.tar.gz \
- https://github.com/LunarG/VulkanTools/archive/sdk-1.2.162.0/VulkanTools-sdk-1.2.162.0.tar.gz \
- https://github.com/LunarG/gfxreconstruct/archive/sdk-1.2.162.0/gfxreconstruct-sdk-1.2.162.0.tar.gz \
- https://github.com/open-source-parsers/jsoncpp/archive/1.8.0/jsoncpp-1.8.0.tar.gz"
-MD5SUM="97de90f2b599979ea492a3ed92c025fb \
- 5c0c6daedacd2d535bb0cd41dcbd2995 \
- aa116fff3ef50d7c299bc168953eacec \
- 7d48f5d115f8baad2ed800769545f21a \
- 6d6cbd82b5fe4a9cbae4ffef01f9e9fc"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="Vulkan-Headers glslang"
-MAINTAINER="Hunter Sezen"
-EMAIL="orbea@riseup.net"
diff --git a/graphics/wavelet-denoise/README b/graphics/wavelet-denoise/README
index b96a2f61f9..eb4cb0571a 100644
--- a/graphics/wavelet-denoise/README
+++ b/graphics/wavelet-denoise/README
@@ -1,5 +1,5 @@
-The wavelet denoise plugin for The GIMP reduces noise in an image using the
-algorithm copied and altered from the UFRaw program. Instead of denoising all
-RGB channels at once, the plugin implementation allows to denoise the RGB
-channels in dividually and - even more useful - to denoise the YCbCr or CIELAB
-channels individually.
+The wavelet denoise plugin for The GIMP reduces noise in an image
+using the algorithm copied and altered from the UFRaw program. Instead
+of denoising all RGB channels at once, the plugin implementation
+allows to denoise the RGB channels in dividually and - even more
+useful - to denoise the YCbCr or CIELAB channels individually.
diff --git a/graphics/wavelet-denoise/wavelet-denoise.SlackBuild b/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
index c0f7bac7f7..4e35f05573 100644
--- a/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
+++ b/graphics/wavelet-denoise/wavelet-denoise.SlackBuild
@@ -1,30 +1,45 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wavelet-denoise
# Originally written by klaatu for separate+
# Adapted to wavelet-denoise by Stefano Guidoni
+# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix build on 15.0.
+# - actually install files to $PKG/usr instead of the real /usr!
+# - actually use SLKCFLAGS.
+# - i486 => i586.
+# - don't install useless INSTALL doc.
+# - use a download URL that exists.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wavelet-denoise
VERSION=${VERSION:-0.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
x86_64) ARCH=x86_64 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -49,28 +64,29 @@ cd $PRGNAM-$VERSION
chown -R root: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 {} \+
-# it won't compile otherwise
-sed -e 's#$(LIBS)#$(LIBS) $(LDFLAGS)#' < src/Makefile > /tmp/Makefile && mv /tmp/Makefile src/Makefile
+SLKCFLAGS+=" -fcommon"
+sed -i -e "s,-O3,$SLKCFLAGS," \
+ -e '/^LIBS/s,$, -lm,' \
+ src/Makefile
-LDFLAGS="-lm" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make all
-make install DESTDIR=$PKG
+make
-mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/gimp/2.0/plug-ins
-cp -a src/wavelet-denoise $PKG/usr/lib$LIBDIRSUFFIX/gimp/2.0/plug-ins
+# 20220225 bkw: do not use 'make install'! It ignores DESTDIR and spams
+# your /usr. However, it's safe to install the translations... but
+# the stupid thing won't create the required directories by itself.
+mkdir -p $PKG/usr/share/locale/{de,ru,it,et,pl}/LC_MESSAGES
+make -C po install LOCALEDIR=$PKG/usr/share/locale
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/gimp/2.0/plug-ins
+install -s src/wavelet-denoise $PKG/usr/lib$LIBDIRSUFFIX/gimp/2.0/plug-ins
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS README ChangeLog INSTALL COPYING THANKS TRANSLATIONS \
+ AUTHORS README ChangeLog COPYING THANKS TRANSLATIONS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -78,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/wavelet-denoise/wavelet-denoise.info b/graphics/wavelet-denoise/wavelet-denoise.info
index 54d6d57b5d..0c14df7112 100644
--- a/graphics/wavelet-denoise/wavelet-denoise.info
+++ b/graphics/wavelet-denoise/wavelet-denoise.info
@@ -1,7 +1,7 @@
PRGNAM="wavelet-denoise"
VERSION="0.3.1"
HOMEPAGE="http://registry.gimp.org/node/4235"
-DOWNLOAD="http://registry.gimp.org/files/wavelet-denoise-0.3.1.tar.gz"
+DOWNLOAD="http://distcache.FreeBSD.org/ports-distfiles/wavelet-denoise-0.3.1.tar.gz"
MD5SUM="a02862026857575cdf81b24477e42f4b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/graphics/wayland-protocols/README b/graphics/wayland-protocols/README
deleted file mode 100644
index 6bd446926c..0000000000
--- a/graphics/wayland-protocols/README
+++ /dev/null
@@ -1,9 +0,0 @@
-wayland-protocols contains Wayland protocols that add functionality
-not available in the Wayland core protocol. Such protocols either add
-completely new functionality, or extend the functionality of some
-other protocol either in Wayland core, or some other protocol in
-wayland-protocols.
-
-A protocol in wayland-protocols consists of a directory containing a
-set of XML files containing the protocol specification, and a README
-file containing detailed state and a list of maintainers.
diff --git a/graphics/wayland-protocols/slack-desc b/graphics/wayland-protocols/slack-desc
deleted file mode 100644
index 94d8845e55..0000000000
--- a/graphics/wayland-protocols/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-wayland-protocols: wayland-protocols (Wayland protocols)
-wayland-protocols:
-wayland-protocols: wayland-protocols contains Wayland protocols that add functionality
-wayland-protocols: not available in the Wayland core protocol. Such protocols either add
-wayland-protocols: completely new functionality, or extend the functionality of some
-wayland-protocols: other protocol either in Wayland core, or some other protocol in
-wayland-protocols: wayland-protocols.
-wayland-protocols:
-wayland-protocols: A protocol in wayland-protocols consists of a directory containing a
-wayland-protocols: set of XML files containing the protocol specification, and a README
-wayland-protocols: file containing detailed state and a list of maintainers.
diff --git a/graphics/wayland-protocols/wayland-protocols.info b/graphics/wayland-protocols/wayland-protocols.info
deleted file mode 100644
index c8846e3309..0000000000
--- a/graphics/wayland-protocols/wayland-protocols.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="wayland-protocols"
-VERSION="1.18"
-HOMEPAGE="https://wayland.freedesktop.org/"
-DOWNLOAD="https://wayland.freedesktop.org/releases/wayland-protocols-1.18.tar.xz"
-MD5SUM="af38f22d8e233c2f2e00ddc8dcc94694"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="wayland"
-MAINTAINER="Duncan Roe"
-EMAIL="duncan_roe@optusnet.com.au"
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
index d93e42fb70..757ddd884a 100644
--- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
@@ -1,15 +1,26 @@
-#!/bin/sh
+#!/bin/bash
# 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
+# - include 2 test .webp images in DOCDIR
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=webp-pixbuf-loader
-VERSION=${VERSION:-20191003.fb04954}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +30,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -44,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -66,13 +81,16 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
--sysconfdir=/etc
- ninja
- DESTDIR=$PKG ninja install
+ "${NINJA:=ninja}"
+ DESTDIR=$PKG $NINJA install
cd ..
+# 20210910 bkw: upstream added a README.md, but it's just
+# install instructions.
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $DOCDIR
cat $CWD/README > $DOCDIR/README
+cp -a LICENSE* tests/data/*.webp $DOCDIR
cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -80,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/webp-pixbuf-loader/webp-pixbuf-loader.info b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
index 0328f67fbb..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="20191003.fb04954"
+VERSION="0.2.4"
HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader"
-DOWNLOAD="https://slackware.uk/~urchlay/src/webp-pixbuf-loader-20191003.fb04954.tar.xz"
-MD5SUM="d3e9041ab56b18020c647dcb9f3176d4"
+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="meson libwebp"
+REQUIRES=""
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"
diff --git a/graphics/white_dune/white_dune.SlackBuild b/graphics/white_dune/white_dune.SlackBuild
index 40df579d10..f1152dd2ac 100644
--- a/graphics/white_dune/white_dune.SlackBuild
+++ b/graphics/white_dune/white_dune.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for white_dune
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=white_dune
SRCNAM=wdune
VERSION=${VERSION:-1.876}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,5 +115,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/white_dune/white_dune.info b/graphics/white_dune/white_dune.info
index 780e528fc2..4dbea70231 100644
--- a/graphics/white_dune/white_dune.info
+++ b/graphics/white_dune/white_dune.info
@@ -5,6 +5,6 @@ DOWNLOAD="ftp://ftp.ourproject.org/pub/wdune/wdune-1.876.tar.bz2"
MD5SUM="0bddc4c43586251482f179c1c67e92b4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="CGAL vcglib ffmpeg OpenSubdiv"
+REQUIRES="CGAL vcglib OpenSubdiv"
MAINTAINER="J. Scheurich"
EMAIL="mufti11@web.de"
diff --git a/graphics/whyteboard/README b/graphics/whyteboard/README
index bf485c7bdf..2fa1896401 100644
--- a/graphics/whyteboard/README
+++ b/graphics/whyteboard/README
@@ -1,14 +1,14 @@
-Whyteboard is a painting whiteboard application that runs on Linux and
-Windows, that allows the annotation of PDF, PostScript documents and
-various image formats with common drawing tools (pen, rectangles, ellipses,
-text). A history of your drawing is stored, facilitating the replaying of
-your drawing.
+Whyteboard is a painting whiteboard application that runs on Linux
+and Windows, that allows the annotation of PDF, PostScript documents
+and various image formats with common drawing tools (pen, rectangles,
+ellipses, text). A history of your drawing is stored, facilitating the
+replaying of your drawing.
-Whyteboard enables tabbed painting, with multiple sheets that can be drawn
-upon, with each sheet having its own live-updating thumbnail. This allows
-the editing of multiple documents or images inside a single instance of
-Whyteboard. Each sheet has its own undo and redo operations as well as
-its own history replay list.
+Whyteboard enables tabbed painting, with multiple sheets that
+can be drawn upon, with each sheet having its own live-updating
+thumbnail. This allows the editing of multiple documents or images
+inside a single instance of Whyteboard. Each sheet has its own undo
+and redo operations as well as its own history replay list.
-Note: You will need to enable GNOMEPRINT support in wxPython in order to
-start this application.
+Note: You will need to enable GNOMEPRINT support in wxPython in order
+to start this application.
diff --git a/graphics/whyteboard/whyteboard.SlackBuild b/graphics/whyteboard/whyteboard.SlackBuild
index ad939eec6e..d091a09a74 100644
--- a/graphics/whyteboard/whyteboard.SlackBuild
+++ b/graphics/whyteboard/whyteboard.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Whyteboard
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=whyteboard
VERSION=${VERSION:-0.41.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -85,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
index 5927c3191b..f9a9ca606e 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for wine-nine-standalone
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wine-nine-standalone
-VERSION=${VERSION:-0.7}
+VERSION=${VERSION:-0.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -189,4 +199,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/wine-nine-standalone/wine-nine-standalone.info b/graphics/wine-nine-standalone/wine-nine-standalone.info
index cb55c58bf5..99c9a530d6 100644
--- a/graphics/wine-nine-standalone/wine-nine-standalone.info
+++ b/graphics/wine-nine-standalone/wine-nine-standalone.info
@@ -1,10 +1,10 @@
PRGNAM="wine-nine-standalone"
-VERSION="0.7"
+VERSION="0.8"
HOMEPAGE="https://github.com/iXit/wine-nine-standalone"
-DOWNLOAD="https://github.com/iXit/wine-nine-standalone/archive/v0.7/wine-nine-standalone-0.7.tar.gz"
-MD5SUM="285d7d1ffa746ec4016e7f9244fe5842"
+DOWNLOAD="https://github.com/iXit/wine-nine-standalone/archive/v0.8/wine-nine-standalone-0.8.tar.gz"
+MD5SUM="84c245c029aa88e21a544dd01607d93e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson wine"
+REQUIRES="wine"
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/graphics/xbmbrowser/xbmbrowser.SlackBuild b/graphics/xbmbrowser/xbmbrowser.SlackBuild
index 2a1bd8bf08..043fdf4f47 100644
--- a/graphics/xbmbrowser/xbmbrowser.SlackBuild
+++ b/graphics/xbmbrowser/xbmbrowser.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xbmbrowser
# Copyright 2012, Bojan Popović, Belgrade, Serbia, <bocke@slackware-srbija.org>
@@ -21,28 +21,35 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xbmbrowser
VERSION=${VERSION:-5.1b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="Changes OtherUses 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"
@@ -66,9 +73,9 @@ cd ${PRGNAM}$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ -exec chmod 644 {} \+
export CFLAGS=$SLKCFLAGS
export LDFLAGS=-L/usr/lib${LIBDIRSUFFIX}
@@ -89,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/xbmbrowser/xbmbrowser.info b/graphics/xbmbrowser/xbmbrowser.info
index 41bcd58d88..b1c60d91f8 100644
--- a/graphics/xbmbrowser/xbmbrowser.info
+++ b/graphics/xbmbrowser/xbmbrowser.info
@@ -1,7 +1,7 @@
PRGNAM="xbmbrowser"
VERSION="5.1b"
-HOMEPAGE="http://www.ict.griffith.edu.au/anthony/software/"
-DOWNLOAD="http://www.ict.griffith.edu.au/anthony/software/xbmbrowser5.1b.tar.gz"
+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=""
MD5SUM_x86_64=""
diff --git a/graphics/xcalib/README b/graphics/xcalib/README
index 0dbba5c9a5..9b811c8b19 100644
--- a/graphics/xcalib/README
+++ b/graphics/xcalib/README
@@ -1,7 +1,6 @@
-Xcalib is a simple application to set ICC color profiles.
-This is frequently required in professional graphic and VFX
-environments to maintain consistent color throughout the production pipeline.
-
+Xcalib is a simple application to set ICC color profiles. This is
+frequently required in professional graphic and VFX environments to
+maintain consistent color throughout the production pipeline.
BUILDING
========
@@ -13,18 +12,18 @@ FGLRX drivers, start the build script with a leading variable:
GPU=fglrx ./xcalib.SlackBuild
-** Not having access to an AMD GPU, this is UNTESTED.
+** I don't have access to an AMD GPU, so this is UNTESTED.
ICC PROFILES
============
Sample ICC profiles are included with this build, but you should use an
ICC profile for your monitor created by a spectrometer.
-An open source spectrometer is available from http://www.hughski.com/
-Common industry ICC profiles from Adobe and the ECC are available
-in the iccprofiles package here on SlackBuilds.org
+An open source spectrometer is available from http://www.hughski.com/
+Common industry ICC profiles can be found here on SlackBuilds.org in
+the icc_profiles packages.
USAGE
=======
diff --git a/graphics/xcalib/slack-desc b/graphics/xcalib/slack-desc
index dcfcf78688..41b30ec3d9 100644
--- a/graphics/xcalib/slack-desc
+++ b/graphics/xcalib/slack-desc
@@ -11,7 +11,7 @@ xcalib:
xcalib: xcalib is an open-source monitor calibration loader for applying the
xcalib: calibration stored in ICC color profiles to a Linux system.
xcalib:
-xcalib: http://xcalib.sourceforge.net
+xcalib: https://github.com/OpenICC/xcalib
xcalib:
xcalib:
xcalib:
diff --git a/graphics/xcalib/xcalib.SlackBuild b/graphics/xcalib/xcalib.SlackBuild
index 390e121df3..95c8a72963 100644
--- a/graphics/xcalib/xcalib.SlackBuild
+++ b/graphics/xcalib/xcalib.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xcalib
-# Copyright 2014 klaatu @member.fsf.org
+# Copyright 2014-22 Klaatu <klaatu@member.fsf.org>
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -8,26 +8,36 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcalib
-VERSION=${VERSION:-0.8}
+VERSION=${VERSION:-0.10}
BUILD=${BUILD:-1}
GPU=${GPU:-xcalib}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
@@ -43,7 +53,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/usr/local/bin $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-source-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,14 +83,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README README.profilers COPYING $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md README.profilers ChangeLog COPYING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/color/icc
-cp -a gamma*icc AdobeGammaTest.icm $PKG/usr/share/color/icc/
+cp -a gamma*icc AdobeGammaTest.icm bluish.icc $PKG/usr/share/color/icc/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/xcalib/xcalib.info b/graphics/xcalib/xcalib.info
index 3c4a1493cf..1cd4f10cb5 100644
--- a/graphics/xcalib/xcalib.info
+++ b/graphics/xcalib/xcalib.info
@@ -1,8 +1,8 @@
PRGNAM="xcalib"
-VERSION="0.8"
-HOMEPAGE="http://xcalib.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/project/xcalib/xcalib/0.8/xcalib-source-0.8.tar.gz"
-MD5SUM="1fbcae44ad8d754512fdd1e5f1b3a7e7"
+VERSION="0.10"
+HOMEPAGE="https://github.com/OpenICC/xcalib"
+DOWNLOAD="https://github.com/OpenICC/xcalib/archive/0.10/xcalib-0.10.tar.gz"
+MD5SUM="7495d13e88a6e1ead3b20aa8e0d9a042"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/xcf-pixbuf-loader/README b/graphics/xcf-pixbuf-loader/README
index be12107a5a..52cba9dd6b 100644
--- a/graphics/xcf-pixbuf-loader/README
+++ b/graphics/xcf-pixbuf-loader/README
@@ -1,7 +1,7 @@
xcf-pixbuf-loader (gdk-pixbuf2 loader for Gimp image files)
-XCF is the Gimp's native file format, as created by its Save command. This
-loader allows applications using gdk-pixbuf2 to load .xcf files. In
-particular, it works with qiv.
+XCF is the Gimp's native file format, as created by its Save
+command. This loader allows applications using gdk-pixbuf2 to load
+.xcf files. In particular, it works with qiv.
Note: loading large .xcf files is slow. Be patient.
diff --git a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
index b2b38eabec..aa7cb2b961 100644
--- a/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
+++ b/graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcf-pixbuf-loader
VERSION=${VERSION:-20180108.eb42b85}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -81,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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/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 dd0601c942..a3c3876828 100644
--- a/graphics/xcur2png/xcur2png.SlackBuild
+++ b/graphics/xcur2png/xcur2png.SlackBuild
@@ -1,15 +1,18 @@
-#!/bin/sh
+#!/bin/bash
# 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.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcur2png
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/xdaliclock/xdaliclock.SlackBuild b/graphics/xdaliclock/xdaliclock.SlackBuild
index 2b6484e120..60a9caca07 100644
--- a/graphics/xdaliclock/xdaliclock.SlackBuild
+++ b/graphics/xdaliclock/xdaliclock.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xdaliclock
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xdaliclock
VERSION=${VERSION:-2.44}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -102,4 +112,4 @@ cat $CWD/slack-desc > $PKG/install/slack-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/xdot/README b/graphics/xdot/README
index 7a065a0293..b6cc4eea5c 100644
--- a/graphics/xdot/README
+++ b/graphics/xdot/README
@@ -4,11 +4,12 @@ language.
It uses internally the graphviz's xdot output format as an intermediate
format, and PyGTK and Cairo for rendering.
-xdot.py can be used either as a standalone application from command line, or
-as a library embedded in your python application.
+xdot.py can be used either as a standalone application from command
+line, or as a library embedded in your python application.
Features:
- * Since it doesn't use bitmaps, it is fast and has a small memory footprint.
+ * Since it doesn't use bitmaps, it is fast and has a small memory
+ footprint.
* Arbitrary zoom.
* Keyboard/mouse navigation.
* Supports events on the nodes with URLs.
diff --git a/graphics/xdot/xdot.SlackBuild b/graphics/xdot/xdot.SlackBuild
index 76c4ca34ca..139343e5af 100644
--- a/graphics/xdot/xdot.SlackBuild
+++ b/graphics/xdot/xdot.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -23,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xdot
SRCNAM=xdot.py
-VERSION=${VERSION:-1.2}
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -37,9 +40,13 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM-$VERSION
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="LICENSE.txt README.md sample.py"
@@ -55,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
@@ -73,4 +72,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/xdot/xdot.info b/graphics/xdot/xdot.info
index 95aa9dd57f..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="python3 pygobject3-python3 numpy3 graphviz"
+REQUIRES="python3-numpy graphviz"
MAINTAINER="Kyle Guinn"
EMAIL="elyk03@gmail.com"
diff --git a/graphics/xfishtank/xfishtank.SlackBuild b/graphics/xfishtank/xfishtank.SlackBuild
index f3bdffb6d4..222d596d5b 100644
--- a/graphics/xfishtank/xfishtank.SlackBuild
+++ b/graphics/xfishtank/xfishtank.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xfishtank
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xfishtank
-VERSION=${VERSION:-2.5}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ case "$( uname -m )" in
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -91,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/xfishtank/xfishtank.info b/graphics/xfishtank/xfishtank.info
index 24960abeca..c6d7dcb486 100644
--- a/graphics/xfishtank/xfishtank.info
+++ b/graphics/xfishtank/xfishtank.info
@@ -1,8 +1,8 @@
PRGNAM="xfishtank"
-VERSION="2.5"
+VERSION="2.6"
HOMEPAGE="https://jim.rees.org"
DOWNLOAD="https://jim.rees.org/computers/xfishtank.tar.gz"
-MD5SUM="3aadec19d46d9ab1a115185428c19c1b"
+MD5SUM="7349487c47e972565e488dc574103dfa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"
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/README b/graphics/xli/README
index bebb91a608..8539456494 100644
--- a/graphics/xli/README
+++ b/graphics/xli/README
@@ -1,14 +1,14 @@
xli (X11 Image Loading Utility)
This utility will view several types of images under X11, or load
-images onto the X11 root window. Supported image formats include
-GIF, JPEG, JFIF, Faces, PNG, PPM and friends, XPM, and XWUD.
+images onto the X11 root window. Supported image formats include GIF,
+JPEG, JFIF, Faces, PNG, PPM and friends, XPM, and XWUD.
A variety of options are available to modify images prior to viewing.
These options include clipping, dithering, depth reduction, zoom
-(either X or Y axis independently or both at once), brightening or
-darkening, input gamma correction, and image merging. When applicable,
-these options are done automatically (eg. a color image to be displayed
-on a monochrome screen will be dithered automatically). A utility (xlito)
-is provided that allows these viewing options to be appended to the image
-files.
+(either X or Y axis independently or both at once), brightening
+or darkening, input gamma correction, and image merging. When
+applicable, these options are done automatically (eg. a color image to
+be displayed on a monochrome screen will be dithered automatically). A
+utility (xlito) is provided that allows these viewing options to be
+appended to the image files.
diff --git a/graphics/xli/xli.SlackBuild b/graphics/xli/xli.SlackBuild
index 8a24b38f2a..97cb1d0014 100644
--- a/graphics/xli/xli.SlackBuild
+++ b/graphics/xli/xli.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xli
@@ -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.
@@ -38,11 +38,14 @@
# window border is always white, no matter what color you give to
# -border. I only moderately care about this, TBH.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xli
VERSION=${VERSION:-1.17}
SRCVER=${SRCVER:-2005-02-27}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -52,7 +55,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,11 +87,8 @@ rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
- \( -perm 666 -o -perm 664 -o -perm 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 {} \+
# These patches are from NetBSD's pkgsrc:
# <http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/graphics/xli/patches/?only_with_tag=MAIN>
@@ -138,4 +142,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/xli/xli.info b/graphics/xli/xli.info
index 21ff4e79e9..6574f78d9a 100644
--- a/graphics/xli/xli.info
+++ b/graphics/xli/xli.info
@@ -1,10 +1,10 @@
PRGNAM="xli"
VERSION="1.17"
HOMEPAGE="https://www.perzl.org/aix/index.php?n=Main.Xli"
-DOWNLOAD="ftp://ftp.NetBSD.org/pub/pkgsrc/distfiles/xli-2005-02-27.tar.gz"
+DOWNLOAD="https://ftp.netbsd.org/pub/pkgsrc/distfiles/xli-2005-02-27.tar.gz"
MD5SUM="db470da53500017fd6969457c12c98f7"
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/slack-desc b/graphics/xmedcon/slack-desc
index febee6646e..b08b263c65 100644
--- a/graphics/xmedcon/slack-desc
+++ b/graphics/xmedcon/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-xmedcon: (X)MedCon (Medical Image Conversion)
+xmedcon: xmedcon (Medical Image Conversion)
xmedcon:
xmedcon: a medical image conversion utility & library; hereby hoping to lower
xmedcon: at least one barrier in medical research projects.
diff --git a/graphics/xmedcon/xmedcon.SlackBuild b/graphics/xmedcon/xmedcon.SlackBuild
index 74c04c01e5..9ffc6533da 100644
--- a/graphics/xmedcon/xmedcon.SlackBuild
+++ b/graphics/xmedcon/xmedcon.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for (X)MedCon
#
-# Copyright 2016-2021 Marek Srejma (sam@modweb.de)
+# Copyright 2016-2023 Marek Ĺ rejma <marek@modweb.de>, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xmedcon
-VERSION=${VERSION:-0.17.0}
+VERSION=${VERSION:-0.23.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,18 +38,22 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
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
@@ -95,8 +102,9 @@ do
rm $i
done
+rm -f $PKG/usr/lib$LIBDIRSUFFIX/libmdc.la
+
mv $PKG/usr/etc $PKG/
-mv $PKG/etc/xmedconrc $PKG/etc/xmedconrc.new
mkdir -p $PKG/usr/share/pixmaps
cp -a etc/xmedcon.png $PKG/usr/share/pixmaps
@@ -106,7 +114,7 @@ install -m644 $CWD/xmedcon.desktop $PKG/usr/share/applications/xmedcon.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING COPYING.LIB 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
@@ -115,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/xmedcon/xmedcon.info b/graphics/xmedcon/xmedcon.info
index 6c97e4f52e..0fa65aba31 100644
--- a/graphics/xmedcon/xmedcon.info
+++ b/graphics/xmedcon/xmedcon.info
@@ -1,10 +1,10 @@
PRGNAM="xmedcon"
-VERSION="0.17.0"
+VERSION="0.23.0"
HOMEPAGE="http://xmedcon.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/project/xmedcon/XMedCon-Source/0.17.0/xmedcon-0.17.0.tar.bz2"
-MD5SUM="5193242f66fb2a393902c332ef74e9b1"
+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=""
-MAINTAINER="Marek Srejma"
-EMAIL="sam@modweb.de"
+MAINTAINER="Marek Ĺ rejma"
+EMAIL="marek@modweb.de"
diff --git a/graphics/xpe/xpe.SlackBuild b/graphics/xpe/xpe.SlackBuild
index 8593821b74..9a20c52d61 100644
--- a/graphics/xpe/xpe.SlackBuild
+++ b/graphics/xpe/xpe.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for xpe:
# the neXtgen Povray Editor
@@ -6,10 +6,19 @@
# Written by Niels Horn - niels.horn@gmail.com
# revision date 2009/10/07
+# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix build on 15.0 (-std=c++11).
+# - use correct version of wxPython, regardless of /usr/bin/wx-config.
+# - do not install useless INSTALL in doc dir.
+# - absolute path to icon in .desktop.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xpe
VERSION=${VERSION:-0.9.5b}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
# The tarballs come with the name "xpe_project" to distinguish them from
# the "xpe_daily" svn snapshots
@@ -25,7 +34,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,13 +67,14 @@ cd ${SRCPRGNAM}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
-CPPFLAGS="$SLKCFLAGS" \
+CPPFLAGS="$SLKCFLAGS -std=c++11" \
./configure \
+ --with-wx-config=/usr/lib$LIBDIRSUFFIX/wx/config/gtk2-unicode-release-2.8 \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -81,9 +95,7 @@ cat $CWD/xpe.desktop > $PKG/usr/share/applications/xpe.desktop
cat $CWD/xpe.png > $PKG/usr/share/pixmaps/xpe.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
@@ -92,4 +104,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/xpe/xpe.desktop b/graphics/xpe/xpe.desktop
index 46486005d7..f25e8e48f8 100644
--- a/graphics/xpe/xpe.desktop
+++ b/graphics/xpe/xpe.desktop
@@ -5,6 +5,6 @@ Name=xpe
Comment=neXtgen Povray Editor
Categories=Graphics;
Exec=/usr/bin/xpe
-Icon=xpe
+Icon=/usr/share/pixmaps/xpe.png
Terminal=false
StartupNotify=false
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 5edf65770d..3f7bad7a4c 100644
--- a/graphics/xzgv/xzgv.SlackBuild
+++ b/graphics/xzgv/xzgv.SlackBuild
@@ -1,34 +1,30 @@
-#!/bin/sh
+#!/bin/bash
# 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}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,8 +34,11 @@ if [ -z "$ARCH" ]; then
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}
@@ -60,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:-tgz}
+/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 baed9b6d53..25793ae49c 100644
--- a/graphics/yacreader/yacreader.SlackBuild
+++ b/graphics/yacreader/yacreader.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# 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
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yacreader
-VERSION=${VERSION:-9.7.1.2009123}
+VERSION=${VERSION:-9.14.2.2402143}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,7 +86,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
@@ -96,4 +106,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/yacreader/yacreader.info b/graphics/yacreader/yacreader.info
index 38192aafee..e00bfbf893 100644
--- a/graphics/yacreader/yacreader.info
+++ b/graphics/yacreader/yacreader.info
@@ -1,10 +1,10 @@
PRGNAM="yacreader"
-VERSION="9.7.1.2009123"
+VERSION="9.14.2.2402143"
HOMEPAGE="https://www.yacreader.com"
-DOWNLOAD="https://github.com/YACReader/yacreader/releases/download/9.7.1/yacreader-9.7.1.2009123-src.tar.xz"
-MD5SUM="66df4ee9c9b82370d250547f8c484bed"
+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="libwebp poppler-qt5 qrencode unarr"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
diff --git a/graphics/yafaray-blender/README b/graphics/yafaray-blender/README
index 8e6db86fc8..2999fc2596 100644
--- a/graphics/yafaray-blender/README
+++ b/graphics/yafaray-blender/README
@@ -1,6 +1,9 @@
-This package lets you export your scene from within Blender to Yafaray.
+This package lets you export your scene from within Blender to
+Yafaray.
-This script builds the Blender plugin, which is automatically installed
-in /usr/share/yafaray/blender.
-A link to the main plugin file is put in /opt/blender/script, but you can
-change this editing the BLENDER_PLUGIN_DIR variable inside the script.
+This script builds the Blender plugin, which is automatically
+installed in /usr/share/yafaray/blender.
+
+A link to the main plugin file is put in /opt/blender/script, but you
+can change this editing the BLENDER_PLUGIN_DIR variable inside the
+script.
diff --git a/graphics/yafaray-blender/yafaray-blender.SlackBuild b/graphics/yafaray-blender/yafaray-blender.SlackBuild
index c2a0c49b98..3748862fd1 100644
--- a/graphics/yafaray-blender/yafaray-blender.SlackBuild
+++ b/graphics/yafaray-blender/yafaray-blender.SlackBuild
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Slackware build script for yafaray
+# Slackware build script for yafaray-blender
# Copyright (c) 2009 Alan Alberghini <414N@slacky.it>
# All rights reserved.
@@ -28,40 +28,48 @@
#
# 1 - Initial release.
+# 20220222 bkw: Modified by SlackBuilds.org: fix github filename.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yafaray-blender
-VERSION=${VERSION:-0.1.1}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-BLENDER_PLUGIN_DIR="/opt/blender/script"
+BLENDER_PLUGIN_DIR="/opt/blender/scripts/addons"
+SRCNAM="Blender-Exporter"
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-unzip "$CWD/YafaRay-blender.${VERSION}.zip"
-cd $PRGNAM
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-mkdir -p ${PKG}/usr/share/yafaray/blender ${PKG}/${BLENDER_PLUGIN_DIR}
-cp -t ${PKG}/usr/share/yafaray/blender *.py
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-# This link is needed to install the plugin system-wide
-ln -sf /usr/share/yafaray/blender/yafaray_ui.py ${PKG}/${BLENDER_PLUGIN_DIR}
+cd ..
+mkdir -p ${PKG}${BLENDER_PLUGIN_DIR}
+mv Blender-Exporter-$VERSION ${PKG}${BLENDER_PLUGIN_DIR}/yafaray_v3
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -70,4 +78,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/yafaray-blender/yafaray-blender.info b/graphics/yafaray-blender/yafaray-blender.info
index 026dcdf5f8..1f2f6f52e9 100644
--- a/graphics/yafaray-blender/yafaray-blender.info
+++ b/graphics/yafaray-blender/yafaray-blender.info
@@ -1,8 +1,8 @@
PRGNAM="yafaray-blender"
-VERSION="0.1.1"
+VERSION="3.2.0"
HOMEPAGE="http://www.yafaray.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/YafaRay-blender.0.1.1.zip"
-MD5SUM="d7e7f86b9e90e7f960707ebaea1843ab"
+DOWNLOAD="https://github.com/YafaRay/Blender-Exporter/archive/v3.2.0/Blender-Exporter-3.2.0.tar.gz"
+MD5SUM="1660eb796fb204f07691dd0571f4bceb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yafaray blender"
diff --git a/graphics/yafaray/README b/graphics/yafaray/README
index 0634be71c9..3c8c3af411 100644
--- a/graphics/yafaray/README
+++ b/graphics/yafaray/README
@@ -1,11 +1,8 @@
-YafaRay is a free open-source raytracing engine. Raytracing is a rendering
-technique for generating realistic images by tracing the path of light
-through a 3D scene.
+YafaRay is a free open-source raytracing engine. Raytracing is a
+rendering technique for generating realistic images by tracing the
+path of light through a 3D scene.
-This package is built by default with QT4 support (needed if you intend to use
-the blender plugin too). If you don't want it, launch the script as follows:
-# USEQT=no ./yafaray.SlackBuild (assuming you're root)
-
-You can also build Python bindings, provided you have swig and Python
-installed. Simply run
-# BUILDPYTHON=yes ./yafaray.SlackBuild (always assuming you're root)
+Optional dependency: qt4. If this is installed, the Qt4 support
+library for YafaRay (libyafarayqt.so) will be included in the
+package. To disable Qt4 support, export QT=no in the script's
+environment.
diff --git a/graphics/yafaray/yafaray.SlackBuild b/graphics/yafaray/yafaray.SlackBuild
index c5c40c292b..113257d84c 100644
--- a/graphics/yafaray/yafaray.SlackBuild
+++ b/graphics/yafaray/yafaray.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yafaray
@@ -29,32 +29,46 @@
# 1.0 - Initial release.
# 1.1 - Removed a bashism (==) to become ash-compatible.
+# 20220225 bkw: I just have to ask. Why care about being ash compatible?
+# When are you ever going to run this script with ash?
+
+# 20220222 bkw: Modified by SlackBuilds.org:
+# - fix bad github filename.
+# - do not install the docs with execute permission.
+# - reword README stuff about qt (it's not a "Qt GUI", it's a library)
+# and mention qt4 as an optional dep.
+
+# Note: python bindings are not built, partly because it's hardcoded
+# for python 3.5, and (if overridden with YAF_PY_VERSION=3.9) because
+# it fails to build. Maybe someone will have time to fix this someday?
+
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yafaray
-VERSION=${VERSION:-0.1.1}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCS="LICENSE CODING INSTALL"
-# Set to yes to build the qt4 gui (needs qt4)
-USEQT=${USEQT:-yes}
-# Set to yes to build python bindings too (needs swig)
-BUILDPYTHON=${BUILDPYTHON:-no}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,68 +83,46 @@ fi
set -e
+SRCNAM=Core
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-unzip "$CWD/YafaRay.${VERSION}.zip"
-cd $PRGNAM
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-if [ ${USEQT} = yes ]; then
- QTTARGET="YF_QTDIR=/usr WITH_YF_QT=true"
-else
- QTTARGET=""
-fi
+find . -type f -exec chmod 644 {} \+
+find . -type d -exec chmod 755 {} \+
-# The build system is kinda 'naive': it hardcodes the PREFIX and other
-# directories specified at configure-time into the final libs, so we can't
-# specify PREFIX=${PKG}/usr, YF_LIBOUT=${PKG}/usr/lib.. because, when the
-# package will be installed, the program will try to find its libraries in a
-# /tmp path, and not in /usr/lib/yafaray as it should.
-# An easy workaround is to exploit the included debian package creator to
-# install all the files in a temporary location without having to specify a
-# "fake" PREFIX location. However, this seems to be glitchy too, as specifying
-# a different YF_PACKPATH doesn't seem to work fine, so we have to manually
-# copy the files from the temporary debian build path to $PKG in the end.
-
-if [ ${BUILDPYTHON} = no ]; then
- scons debian $QTTARGET PREFIX=/usr \
- YF_LIBOUT=/usr/lib${LIBDIRSUFFIX} \
- YF_PLUGINPATH=/usr/lib${LIBDIRSUFFIX}/yafaray \
- REL_CCFLAGS="${SLKCFLAGS}" || echo "Don't worry about the dpkg error"
-else
- scons swig debian $QTTARGET PREFIX=/usr \
- YF_LIBOUT=/usr/lib${LIBDIRSUFFIX} \
- YF_PLUGINPATH=/usr/lib${LIBDIRSUFFIX}/yafaray \
- REL_CCFLAGS="${SLKCFLAGS}" || echo "Don't worry about the dpkg error"
- # Install also python bindings (manually T_T)
- mkdir -p ${PKG}/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages
- mv bindings/python/* ${PKG}/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages/
+# 20220225 bkw: autodetect qt4, and allow override with QT=no.
+QTARG="-DWITH_QT=OFF"
+if [ -x /usr/lib$LIBDIRSUFFIX/qt4/bin/qmake ]; then
+ [ "${QT:-yes}" = "yes" ] && QTARG="-DWITH_QT=ON"
fi
-# Copy "debian" package root to our package root.
-# mv may complain if the python bindings have already been
-# moved to their new home, hence we use cp + rm.
-cp -r debian/${PRGNAM}/* ${PKG}
-rm -rf debian/${PRGNAM}
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DYAF_LIB_DIR=lib$LIBDIRSUFFIX \
+ $QTARG \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# We install these manually
+rm -fR $PKG/usr/share/doc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- $DOCS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG CODING LICENSES README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/yafaray/yafaray.info b/graphics/yafaray/yafaray.info
index a65706fcc5..eed4d18107 100644
--- a/graphics/yafaray/yafaray.info
+++ b/graphics/yafaray/yafaray.info
@@ -1,8 +1,8 @@
PRGNAM="yafaray"
-VERSION="0.1.1"
+VERSION="3.2.0"
HOMEPAGE="http://www.yafaray.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/YafaRay.0.1.1.zip"
-MD5SUM="d1722dec25299f6f3fcc1d7c661a4e90"
+DOWNLOAD="https://github.com/YafaRay/Core/archive/v3.2.0/Core-3.2.0.tar.gz"
+MD5SUM="191e81b3d8c942302b97c142049365df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/yagf/yagf.SlackBuild b/graphics/yagf/yagf.SlackBuild
index ebc458a9c9..0a154868b8 100644
--- a/graphics/yagf/yagf.SlackBuild
+++ b/graphics/yagf/yagf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yagf
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yagf
VERSION=${VERSION:-0.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -99,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/yagf/yagf.info b/graphics/yagf/yagf.info
index 5a3085087f..70822b5504 100644
--- a/graphics/yagf/yagf.info
+++ b/graphics/yagf/yagf.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://downloads.sourceforge.net/yagf-ocr/yagf-0.9.5.tar.gz"
MD5SUM="cc01d671fafbfa71fad3d95591ccca37"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cuneiform"
+REQUIRES="cuneiform qt4"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/graphics/yed/slack-desc b/graphics/yed/slack-desc
index 5124a03918..525008c5b0 100644
--- a/graphics/yed/slack-desc
+++ b/graphics/yed/slack-desc
@@ -16,4 +16,4 @@ yed: of a button.
yed:
yed: Homepage: https://www.yworks.com/products/yed
yed:
-yed:* Please read licenses informations below or in /usr/share/doc/yed-? *
+yed: *Please read licenses informations below or in /usr/share/doc/yed-?*
diff --git a/graphics/yed/yed.SlackBuild b/graphics/yed/yed.SlackBuild
index d6332575dc..0871a78fca 100644
--- a/graphics/yed/yed.SlackBuild
+++ b/graphics/yed/yed.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for yEd
# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
-# Copyright 2021 Michel Begue <mab974@gmail.com>
+# Copyright 2021 Michel Begue <mab974@misouk.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,26 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=yed
-VERSION=${VERSION:-3.20.1}
+VERSION=${VERSION:-3.23.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ORIG_PRGNAM=yEd
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,4 +81,4 @@ cat $CWD/slack-desc > $PKG/install/slack-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/yed/yed.info b/graphics/yed/yed.info
index 13d6c1dfcd..efc77aa30f 100644
--- a/graphics/yed/yed.info
+++ b/graphics/yed/yed.info
@@ -1,10 +1,10 @@
PRGNAM="yed"
-VERSION="3.20.1"
+VERSION="3.23.2"
HOMEPAGE="https://www.yworks.com/products/yed"
-DOWNLOAD="https://www.yworks.com/resources/yed/demo/yEd-3.20.1.zip"
-MD5SUM="513d4b0031b35e1a12116df3b61eae07"
+DOWNLOAD="https://www.yworks.com/resources/yed/demo/yEd-3.23.2.zip"
+MD5SUM="45ad92ab427dc54c0d3c5d08e293f483"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jdk"
+REQUIRES="zulu-openjdk8"
MAINTAINER="Michel Begue"
-EMAIL="mab974@gmail.com"
+EMAIL="mab974@misouk.com"
diff --git a/graphics/yesplz/README b/graphics/yesplz/README
deleted file mode 100644
index 6a469515aa..0000000000
--- a/graphics/yesplz/README
+++ /dev/null
@@ -1,31 +0,0 @@
-WELCOME to the yesplz SlackBuild README file! Here is some ascii pr0n:
-
-
- .======================.
- || ||
- || $ unixp0rn?? ||
- || $ __yesplz!!! ||
- |! !|
- `----o------------o----'
- / +++++++++++++++++++ //
- / +++++++++++++++++++ //
- / +++++++++++++++++++ //
- [=======================]
-
- "unixporn.github.io is not porn, it's unix!"
-
-
-It's a site to post gratuitous screenshots of your desktop so you can
-become popular among your friends, or have a place to gawk at cool Linux
-desktops when you're stuck at work staring at $OTHER OS. yesplz is a
-command line utility written by sigFLUP that will take a screenshot, tag
-your photo, log into unixporn.github.io, post the picture to your photo album,
-and return an ascii bunny on success.
-
-In order for it to work, you must have an account at unixporn.github.io but
-that is free and you can enter nothing but fake information into it.
-
-Then simply run yesplz --help to see the possible tags and instructions
-for yesplz.
-
-Enjoy!
diff --git a/graphics/yesplz/yesplz.info b/graphics/yesplz/yesplz.info
deleted file mode 100644
index 338ad62a28..0000000000
--- a/graphics/yesplz/yesplz.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="yesplz"
-VERSION="06112016"
-HOMEPAGE="https://github.com/sigflup/yesplz"
-DOWNLOAD="https://github.com/sigflup/yesplz/archive/7342e1c686e6674e6ad9f7d21f01bae27c240b71/yesplz-7342e1c686e6674e6ad9f7d21f01bae27c240b71.zip"
-MD5SUM="ac15fc81efc8569413d86822c0b67b5f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Klaatu"
-EMAIL="klaatu@member.fsf.org"
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/zbar/README b/graphics/zbar/README
index f898f1ecf9..ab99d553f0 100644
--- a/graphics/zbar/README
+++ b/graphics/zbar/README
@@ -9,3 +9,5 @@ as well as GUI widgets for Qt, GTK, and PyGTK.
If you want to enable reading from video stream, pass VIDEO=yes to the
build script when executing it.
+
+jdk is an optional dependency.
diff --git a/graphics/zbar/zbar.SlackBuild b/graphics/zbar/zbar.SlackBuild
index c614a9a0d2..ee8c4e64df 100644
--- a/graphics/zbar/zbar.SlackBuild
+++ b/graphics/zbar/zbar.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zbar
@@ -23,10 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zbar
-VERSION=${VERSION:-0.10}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-0.23.90}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -65,7 +75,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -74,6 +84,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -98,12 +110,14 @@ 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 \
- COPYING ChangeLog NEWS HACKING README INSTALL LICENSE TODO \
+ ABOUT-NLS COPYING *.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/zbar/zbar.info b/graphics/zbar/zbar.info
index a3f4414150..32d50969f4 100644
--- a/graphics/zbar/zbar.info
+++ b/graphics/zbar/zbar.info
@@ -1,8 +1,8 @@
PRGNAM="zbar"
-VERSION="0.10"
+VERSION="0.23.90"
HOMEPAGE="https://sourceforge.net/projects/zbar/"
-DOWNLOAD="https://downloads.sourceforge.net/zbar/zbar-0.10.tar.bz2"
-MD5SUM="0fd61eb590ac1bab62a77913c8b086a5"
+DOWNLOAD="https://github.com/mchehab/zbar/archive/0.23.90/zbar-0.23.90.tar.gz"
+MD5SUM="cb1667e20c1d7acf1b9911414adaeb84"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
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"
diff --git a/graphics/zgv/README b/graphics/zgv/README
index 2fb6a4e654..c99edc3969 100644
--- a/graphics/zgv/README
+++ b/graphics/zgv/README
@@ -5,8 +5,10 @@ It supports most popular formats and allows panning and fit-to-screen
methods of viewing, slideshows, scaling, gamma adjustment, etc.
By default, the zgv binary is installed suid root, but we have patched
-the build to not do this. Instead, we install a udev rules file that
-should allow non-root users who belong to the "video" group to use zgv.
-Note that you will have to "modprobe svgalib_helper" prior to using zgv.
+the build to not do this. Instead, we install a udev rules file
+that should allow non-root users who belong to the "video" group to
+use zgv. Note that you will have to "modprobe svgalib_helper" prior
+to using zgv.
-For more information, see zgvs manpage, info files and /usr/doc/zgv-*/SECURITY.
+For more information, see zgv's manpage, info files and
+/usr/doc/zgv-*/SECURITY.
diff --git a/graphics/zgv/zgv.SlackBuild b/graphics/zgv/zgv.SlackBuild
index d1c0824411..10421e5948 100644
--- a/graphics/zgv/zgv.SlackBuild
+++ b/graphics/zgv/zgv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for zgv
# Modified by Luis Henrique <lmello.009@gmail.com>
@@ -23,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zgv
VERSION=${VERSION:-5.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -105,4 +115,4 @@ cat $CWD/slack-desc > $PKG/install/slack-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