summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Alchemy/Alchemy.SlackBuild16
-rw-r--r--graphics/Blender/Blender.SlackBuild25
-rw-r--r--graphics/Blender/Blender.info8
-rw-r--r--graphics/CairoSVG/CairoSVG.SlackBuild16
-rw-r--r--graphics/CairoSVG/CairoSVG.info2
-rw-r--r--graphics/CairoSVG/README2
-rw-r--r--graphics/FSPViewer/FSPViewer.SlackBuild16
-rw-r--r--graphics/FreeCAD/FreeCAD.SlackBuild55
-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/GPS/GPS.SlackBuild16
-rw-r--r--graphics/GraphicsMagick/GraphicsMagick.SlackBuild16
-rw-r--r--graphics/GraphicsMagick/README4
-rw-r--r--graphics/HotShots/HotShots.SlackBuild16
-rw-r--r--graphics/LDView/LDView.SlackBuild16
-rw-r--r--graphics/LDraw_data/LDraw_data.SlackBuild16
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild23
-rw-r--r--graphics/OpenCASCADE/fix-flow-control-nesting.patch31
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.SlackBuild18
-rw-r--r--graphics/OpenSubdiv/OpenSubdiv.info6
-rw-r--r--graphics/OpenSubdiv/README3
-rw-r--r--graphics/Pixie/Pixie.SlackBuild16
-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.SlackBuild102
-rw-r--r--graphics/SPIRV-Tools/SPIRV-Tools.info10
-rw-r--r--graphics/SPIRV-Tools/slack-desc19
-rw-r--r--graphics/Shellpic/Shellpic.SlackBuild16
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild16
-rw-r--r--graphics/VariCAD/VariCAD.SlackBuild24
-rw-r--r--graphics/Vulkan-Tools/README1
-rw-r--r--graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild105
-rw-r--r--graphics/Vulkan-Tools/Vulkan-Tools.info10
-rw-r--r--graphics/Vulkan-Tools/slack-desc19
-rw-r--r--graphics/XnViewMP/README2
-rw-r--r--graphics/XnViewMP/XnViewMP.SlackBuild16
-rw-r--r--graphics/XnViewMP/XnViewMP.info2
-rw-r--r--graphics/aaphoto/aaphoto.SlackBuild16
-rw-r--r--graphics/abcm2ps/abcm2ps.SlackBuild16
-rw-r--r--graphics/advancecomp/advancecomp.SlackBuild16
-rw-r--r--graphics/aewan/aewan.SlackBuild16
-rw-r--r--graphics/apitrace/apitrace.SlackBuild16
-rw-r--r--graphics/apitrace/apitrace.info2
-rw-r--r--graphics/asciiquarium/asciiquarium.SlackBuild16
-rw-r--r--graphics/autotrace/autotrace.SlackBuild16
-rw-r--r--graphics/azpainter/azpainter.SlackBuild16
-rw-r--r--graphics/baires/baires.SlackBuild16
-rw-r--r--graphics/barcode/barcode.SlackBuild16
-rw-r--r--graphics/bdfedit/bdfedit.SlackBuild16
-rw-r--r--graphics/blender/blender.SlackBuild16
-rw-r--r--graphics/brlcad/README7
-rw-r--r--graphics/brlcad/brlcad.SlackBuild16
-rw-r--r--graphics/converseen/README2
-rw-r--r--graphics/converseen/converseen.SlackBuild18
-rw-r--r--graphics/converseen/converseen.info10
-rw-r--r--graphics/darktable/README2
-rw-r--r--graphics/darktable/darktable.SlackBuild23
-rw-r--r--graphics/darktable/darktable.info8
-rw-r--r--graphics/dblatex/dblatex.SlackBuild16
-rw-r--r--graphics/dcraw/dcraw.SlackBuild16
-rw-r--r--graphics/deskew/deskew.SlackBuild16
-rw-r--r--graphics/dia/dia.SlackBuild16
-rw-r--r--graphics/digikam/README14
-rw-r--r--graphics/digikam/digikam.SlackBuild116
-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.SlackBuild82
-rw-r--r--graphics/discwrapper/discwrapper.info10
-rw-r--r--graphics/discwrapper/doinst.sh8
-rw-r--r--graphics/discwrapper/slack-desc19
-rw-r--r--graphics/djview4/djview4.SlackBuild16
-rw-r--r--graphics/draftsight/README4
-rw-r--r--graphics/draftsight/doinst.sh14
-rw-r--r--graphics/draftsight/draftsight.SlackBuild89
-rw-r--r--graphics/draftsight/draftsight.info10
-rw-r--r--graphics/draftsight/slack-desc19
-rw-r--r--graphics/draw.io/draw.io.SlackBuild16
-rw-r--r--graphics/dvisvgm/README2
-rw-r--r--graphics/dvisvgm/dvisvgm.SlackBuild16
-rw-r--r--graphics/dxftoqet/dxftoqet.SlackBuild16
-rw-r--r--graphics/dxftoqet/dxftoqet.info2
-rw-r--r--graphics/embree/embree.SlackBuild16
-rw-r--r--graphics/enblend-enfuse/enblend-enfuse.SlackBuild18
-rw-r--r--graphics/entangle/entangle.SlackBuild16
-rw-r--r--graphics/entangle/entangle.info2
-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/exact-image.SlackBuild24
-rw-r--r--graphics/exif/exif.SlackBuild16
-rw-r--r--graphics/exiftags/exiftags.SlackBuild16
-rw-r--r--graphics/fbgrab/fbgrab.SlackBuild16
-rw-r--r--graphics/fbida/fbida.SlackBuild16
-rw-r--r--graphics/fbpic/fbpic.SlackBuild16
-rw-r--r--graphics/fbv/fbv.SlackBuild16
-rw-r--r--graphics/feh/feh.SlackBuild16
-rw-r--r--graphics/fig2sxd/fig2sxd.SlackBuild16
-rw-r--r--graphics/fim/fim.SlackBuild32
-rw-r--r--graphics/fim/fim.info6
-rw-r--r--graphics/findimagedupes/findimagedupes.SlackBuild16
-rw-r--r--graphics/flameshot/flameshot.SlackBuild16
-rw-r--r--graphics/flameshot/flameshot.info2
-rw-r--r--graphics/flpsed/flpsed.SlackBuild16
-rw-r--r--graphics/fontforge/fontforge.SlackBuild16
-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.SlackBuild36
-rw-r--r--graphics/fotowall/fotowall.info6
-rw-r--r--graphics/fotoxx/README3
-rw-r--r--graphics/fotoxx/doinst.sh4
-rw-r--r--graphics/fotoxx/fotoxx.SlackBuild121
-rw-r--r--graphics/fotoxx/fotoxx.info12
-rw-r--r--graphics/fotoxx/slack-desc19
-rw-r--r--graphics/freewrl/README2
-rw-r--r--graphics/freewrl/freewrl.SlackBuild16
-rw-r--r--graphics/freewrl/freewrl.info2
-rw-r--r--graphics/frescobaldi/frescobaldi.SlackBuild24
-rw-r--r--graphics/frescobaldi/frescobaldi.info8
-rw-r--r--graphics/fritzing/fritzing.SlackBuild16
-rw-r--r--graphics/fritzing/fritzing.info2
-rw-r--r--graphics/fyre/fix_extern_c.patch14
-rw-r--r--graphics/fyre/fyre.SlackBuild38
-rw-r--r--graphics/fyre/fyre.info2
-rw-r--r--graphics/g3dviewer/g3dviewer.SlackBuild16
-rw-r--r--graphics/gallery/gallery.SlackBuild16
-rw-r--r--graphics/gbdfed/gbdfed.SlackBuild16
-rw-r--r--graphics/gcolor2/gcolor2.SlackBuild16
-rw-r--r--graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild16
-rw-r--r--graphics/gifsicle/gifsicle.SlackBuild16
-rw-r--r--graphics/gimagereader/gimagereader.SlackBuild28
-rw-r--r--graphics/gimagereader/gimagereader.info6
-rw-r--r--graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild16
-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/gimp-plugin-bimp.SlackBuild24
-rw-r--r--graphics/gimp-plugin-bimp/gimp-plugin-bimp.info6
-rw-r--r--graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild16
-rw-r--r--graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild16
-rw-r--r--graphics/gliv/gliv.SlackBuild16
-rw-r--r--graphics/glslang/README5
-rw-r--r--graphics/glslang/SPIRV-Tools-shared.patch61
-rw-r--r--graphics/glslang/glslang.SlackBuild103
-rw-r--r--graphics/glslang/glslang.info10
-rw-r--r--graphics/glslang/slack-desc19
-rw-r--r--graphics/gmic/gmic.SlackBuild33
-rw-r--r--graphics/gmic/gmic.info12
-rw-r--r--graphics/gmic/zart-opencv4.patch59
-rw-r--r--graphics/gnofract4d/gnofract4d.SlackBuild16
-rw-r--r--graphics/gnome-themes-extras/gnome-themes-extras.SlackBuild16
-rw-r--r--graphics/gnome-web-photo/gnome-web-photo.SlackBuild16
-rw-r--r--graphics/goocanvas/goocanvas.SlackBuild17
-rw-r--r--graphics/goocanvas2/goocanvas2.SlackBuild16
-rw-r--r--graphics/gource/gource.SlackBuild16
-rw-r--r--graphics/gource/gource.info2
-rw-r--r--graphics/gpaint/gpaint.SlackBuild29
-rw-r--r--graphics/gpicview/gpicview.SlackBuild16
-rw-r--r--graphics/gpscorrelate/gpscorrelate.SlackBuild16
-rw-r--r--graphics/grafx2/grafx2.SlackBuild16
-rw-r--r--graphics/graph-easy/graph-easy.SlackBuild16
-rw-r--r--graphics/graphene/README22
-rw-r--r--graphics/graphene/graphene.SlackBuild107
-rw-r--r--graphics/graphene/graphene.info10
-rw-r--r--graphics/graphene/slack-desc19
-rw-r--r--graphics/graphite2/README10
-rw-r--r--graphics/graphite2/graphite2.SlackBuild97
-rw-r--r--graphics/graphite2/graphite2.info10
-rw-r--r--graphics/graphite2/slack-desc19
-rw-r--r--graphics/graphviz/graphviz.SlackBuild17
-rw-r--r--graphics/gscan2pdf/gscan2pdf.SlackBuild16
-rw-r--r--graphics/gscan2pdf/gscan2pdf.info2
-rw-r--r--graphics/gthumb/README4
-rw-r--r--graphics/gthumb/gthumb.SlackBuild68
-rw-r--r--graphics/gthumb/gthumb.info8
-rw-r--r--graphics/gthumb/slack-desc6
-rw-r--r--graphics/gtkam/gtkam.SlackBuild16
-rw-r--r--graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild16
-rw-r--r--graphics/hp2xx/hp2xx.SlackBuild16
-rw-r--r--graphics/hugin/hugin.SlackBuild16
-rw-r--r--graphics/icc_profiles/icc_profiles.SlackBuild16
-rw-r--r--graphics/icc_profiles_from_eci/icc_profiles_from_eci.SlackBuild16
-rw-r--r--graphics/img2pdf/README4
-rw-r--r--graphics/img2pdf/img2pdf.SlackBuild16
-rw-r--r--graphics/imgmin/imgmin.SlackBuild16
-rw-r--r--graphics/imgp/imgp.SlackBuild16
-rw-r--r--graphics/imgp/imgp.info2
-rw-r--r--graphics/imv/README8
-rw-r--r--graphics/imv/imv.SlackBuild16
-rw-r--r--graphics/imv/imv.info2
-rw-r--r--graphics/inkscape/README2
-rw-r--r--graphics/inkscape/glib-2.68.patch47
-rw-r--r--graphics/inkscape/inkscape.SlackBuild81
-rw-r--r--graphics/inkscape/inkscape.info8
-rw-r--r--graphics/ipe/ipe.SlackBuild16
-rw-r--r--graphics/ipe/ipe.info2
-rw-r--r--graphics/jUploadr/jUploadr.SlackBuild16
-rw-r--r--graphics/jhead/jhead.SlackBuild16
-rw-r--r--graphics/jp2a/jp2a.SlackBuild16
-rw-r--r--graphics/jpeg2ps/jpeg2ps.SlackBuild16
-rw-r--r--graphics/jpegoptim/jpegoptim.SlackBuild16
-rw-r--r--graphics/k3d/README1
-rw-r--r--graphics/k3d/gcc7.patch23
-rw-r--r--graphics/k3d/k3d.SlackBuild19
-rw-r--r--graphics/k3d/k3d.info2
-rw-r--r--graphics/kamerka/kamerka.SlackBuild16
-rw-r--r--graphics/kim4/kim4.SlackBuild16
-rw-r--r--graphics/kphotoalbum/README5
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild31
-rw-r--r--graphics/kphotoalbum/kphotoalbum.info6
-rw-r--r--graphics/kuickshow/README12
-rw-r--r--graphics/kuickshow/kuickshow.SlackBuild30
-rw-r--r--graphics/kuickshow/kuickshow.info6
-rw-r--r--graphics/lcdtest/lcdtest.SlackBuild16
-rw-r--r--graphics/lddot/lddot.SlackBuild16
-rw-r--r--graphics/ldglite/ldglite.SlackBuild16
-rw-r--r--graphics/leocad/leocad.SlackBuild16
-rw-r--r--graphics/leocad_pieces/leocad_pieces.SlackBuild16
-rw-r--r--graphics/libfpx/libfpx.SlackBuild16
-rw-r--r--graphics/libplacebo/README4
-rw-r--r--graphics/libplacebo/libplacebo.SlackBuild18
-rw-r--r--graphics/libplacebo/libplacebo.info8
-rw-r--r--graphics/librecad/librecad.SlackBuild16
-rw-r--r--graphics/librecad/librecad.info2
-rw-r--r--graphics/lilypond/README8
-rw-r--r--graphics/lilypond/lilypond.SlackBuild57
-rw-r--r--graphics/lilypond/lilypond.info10
-rw-r--r--graphics/luminance-hdr/README4
-rw-r--r--graphics/luminance-hdr/luminance-hdr.SlackBuild16
-rw-r--r--graphics/luminance-hdr/luminance-hdr.info2
-rw-r--r--graphics/luxrender/README1
-rw-r--r--graphics/luxrender/luxrender.SlackBuild16
-rw-r--r--graphics/maim/maim.SlackBuild16
-rw-r--r--graphics/makehuman/makehuman.SlackBuild16
-rw-r--r--graphics/mapcrafter/mapcrafter.SlackBuild16
-rw-r--r--graphics/mcomix/README20
-rw-r--r--graphics/mcomix/doinst.sh13
-rw-r--r--graphics/mcomix/mcomix.SlackBuild86
-rw-r--r--graphics/mcomix/mcomix.info10
-rw-r--r--graphics/mcomix/slack-desc19
-rw-r--r--graphics/meh/meh.SlackBuild16
-rw-r--r--graphics/meshlab/meshlab.SlackBuild16
-rw-r--r--graphics/meshlab/meshlab.info2
-rw-r--r--graphics/metapixel/metapixel.SlackBuild16
-rw-r--r--graphics/mftrace/mftrace.SlackBuild16
-rw-r--r--graphics/mftrace/mftrace.info2
-rw-r--r--graphics/mirage/mirage.SlackBuild16
-rw-r--r--graphics/mitsuba-blender/mitsuba-blender.SlackBuild16
-rw-r--r--graphics/mitsuba/mitsuba.SlackBuild16
-rw-r--r--graphics/mlbrot/mlbrot.SlackBuild16
-rw-r--r--graphics/mozjpeg/README71
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild149
-rw-r--r--graphics/mozjpeg/mozjpeg.info6
-rw-r--r--graphics/mozjpeg/mozjpeg.sh8
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild29
-rw-r--r--graphics/mtpaint/mtpaint.info8
-rw-r--r--graphics/mypaint/mypaint.SlackBuild24
-rw-r--r--graphics/mypaint/mypaint.info8
-rw-r--r--graphics/nomacs/nomacs.SlackBuild30
-rw-r--r--graphics/nomacs/nomacs.info14
-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/nvidia-texture-tools.SlackBuild16
-rw-r--r--graphics/openclipart/openclipart.SlackBuild16
-rw-r--r--graphics/opencollada/opencollada.SlackBuild19
-rw-r--r--graphics/opencollada/pcre.patch13
-rw-r--r--graphics/opencolorio/README4
-rw-r--r--graphics/opencolorio/opencolorio.SlackBuild84
-rw-r--r--graphics/opencolorio/opencolorio.info8
-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.SlackBuild42
-rw-r--r--graphics/openimageio/openimageio.info8
-rw-r--r--graphics/openimageio/rawinput.diff114
-rw-r--r--graphics/openscad-mcad/openscad-mcad.SlackBuild16
-rw-r--r--graphics/openscad/openscad.SlackBuild36
-rw-r--r--graphics/openscad/openscad.info8
-rw-r--r--graphics/optipng/optipng.SlackBuild16
-rw-r--r--graphics/oyranos/oyranos.SlackBuild16
-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/README12
-rw-r--r--graphics/paraview/paraview.SlackBuild85
-rw-r--r--graphics/paraview/paraview.info20
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild20
-rw-r--r--graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info2
-rw-r--r--graphics/pdf2png/pdf2png.SlackBuild16
-rw-r--r--graphics/pdf2svg/pdf2svg.SlackBuild16
-rw-r--r--graphics/pencil2d/pencil2d.SlackBuild16
-rw-r--r--graphics/pencil2d/pencil2d.info2
-rw-r--r--graphics/pencil3/pencil3.SlackBuild16
-rw-r--r--graphics/phatch/phatch.SlackBuild16
-rw-r--r--graphics/pho/pho.SlackBuild16
-rw-r--r--graphics/photivo/photivo.SlackBuild16
-rw-r--r--graphics/photivo/photivo.info2
-rw-r--r--graphics/photoprint/README3
-rw-r--r--graphics/photoprint/doinst.sh10
-rw-r--r--graphics/photoprint/photoprint.SlackBuild105
-rw-r--r--graphics/photoprint/photoprint.info10
-rw-r--r--graphics/photoprint/slack-desc19
-rw-r--r--graphics/photoqt/README4
-rw-r--r--graphics/photoqt/photoqt.SlackBuild21
-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.SlackBuild16
-rw-r--r--graphics/png2ico/png2ico.SlackBuild16
-rw-r--r--graphics/pngcrush/pngcrush.SlackBuild16
-rw-r--r--graphics/pngquant/pngquant.SlackBuild16
-rw-r--r--graphics/potrace/potrace.SlackBuild16
-rw-r--r--graphics/povray/povray.SlackBuild26
-rw-r--r--graphics/povray/povray.info6
-rw-r--r--graphics/pqiv/README2
-rw-r--r--graphics/pqiv/pqiv.SlackBuild16
-rw-r--r--graphics/pr0ntools/pr0ntools.SlackBuild16
-rw-r--r--graphics/psftools/psftools.SlackBuild16
-rw-r--r--graphics/pyformex/pyformex.SlackBuild16
-rw-r--r--graphics/pygifme/README3
-rw-r--r--graphics/pygifme/pygifme.SlackBuild16
-rw-r--r--graphics/pygifme/pygifme.info2
-rw-r--r--graphics/pygraphviz/pygraphviz.SlackBuild16
-rw-r--r--graphics/qcad/README7
-rw-r--r--graphics/qcad/qcad.SlackBuild24
-rw-r--r--graphics/qcad/qcad.info6
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild36
-rw-r--r--graphics/qcomicbook/qcomicbook.info6
-rw-r--r--graphics/qelectrotech/qelectrotech.SlackBuild25
-rw-r--r--graphics/qelectrotech/qelectrotech.info8
-rw-r--r--graphics/qiv/README2
-rw-r--r--graphics/qiv/qiv.SlackBuild16
-rw-r--r--graphics/qrencode/README4
-rw-r--r--graphics/qrencode/qrencode.SlackBuild100
-rw-r--r--graphics/qrencode/qrencode.info10
-rw-r--r--graphics/qrencode/slack-desc19
-rw-r--r--graphics/ralcgm/ralcgm.SlackBuild16
-rw-r--r--graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild16
-rw-r--r--graphics/rawstudio/rawstudio.SlackBuild18
-rw-r--r--graphics/rawstudio/rawstudio.info2
-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.SlackBuild18
-rw-r--r--graphics/ristretto/ristretto.info6
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.SlackBuild25
-rw-r--r--graphics/scantailor-advanced/scantailor-advanced.info8
-rw-r--r--graphics/scantailor/README6
-rw-r--r--graphics/scantailor/doinst.sh9
-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/screencloud.SlackBuild16
-rw-r--r--graphics/screengrab/screengrab.SlackBuild35
-rw-r--r--graphics/screengrab/screengrab.info10
-rw-r--r--graphics/scrot/scrot.SlackBuild16
-rw-r--r--graphics/separate+/separate+.SlackBuild16
-rw-r--r--graphics/shaderc/README2
-rw-r--r--graphics/shaderc/shaderc.SlackBuild112
-rw-r--r--graphics/shaderc/shaderc.info10
-rw-r--r--graphics/shaderc/slack-desc19
-rw-r--r--graphics/shalbum/shalbum.SlackBuild16
-rw-r--r--graphics/shotwell/shotwell.SlackBuild16
-rw-r--r--graphics/shotwell/shotwell.info2
-rw-r--r--graphics/shutter/shutter.SlackBuild16
-rw-r--r--graphics/simple-scan/libwebpmux.patch38
-rw-r--r--graphics/simple-scan/simple-scan.SlackBuild25
-rw-r--r--graphics/simple-scan/simple-scan.info10
-rw-r--r--graphics/simple-scan/slack-desc2
-rw-r--r--graphics/sng/sng.SlackBuild16
-rw-r--r--graphics/svp/svp.SlackBuild16
-rw-r--r--graphics/sxiv/sxiv.SlackBuild16
-rw-r--r--graphics/tclblt/tclblt.SlackBuild16
-rw-r--r--graphics/teighafileconverter/teighafileconverter.SlackBuild16
-rw-r--r--graphics/teighafileconverter/teighafileconverter.info2
-rw-r--r--graphics/teighaviewer/teighaviewer.SlackBuild16
-rw-r--r--graphics/tesseract/tesseract.SlackBuild16
-rw-r--r--graphics/textext/textext.SlackBuild16
-rw-r--r--graphics/textext/textext.info2
-rw-r--r--graphics/tgif-QPL/tgif-QPL.SlackBuild16
-rw-r--r--graphics/tintii/tintii.SlackBuild16
-rw-r--r--graphics/tkpng/tkpng.SlackBuild16
-rw-r--r--graphics/triangulizor/triangulizor.SlackBuild16
-rw-r--r--graphics/trimage/trimage.SlackBuild16
-rw-r--r--graphics/trimage/trimage.info2
-rw-r--r--graphics/ttyload/ttyload.SlackBuild16
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild16
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild16
-rw-r--r--graphics/ueberzug/README3
-rw-r--r--graphics/ueberzug/ueberzug.SlackBuild16
-rw-r--r--graphics/ueberzug/ueberzug.info2
-rw-r--r--graphics/ufraw/README3
-rw-r--r--graphics/ufraw/patches/0001-Change-use-of-header-files.patch30
-rw-r--r--graphics/ufraw/patches/0002-Use-symbolic-error-code.patch26
-rw-r--r--graphics/ufraw/patches/0003-ufraw-0.22-fix_omp_definitions.patch32
-rw-r--r--graphics/ufraw/ufraw.SlackBuild20
-rw-r--r--graphics/ufraw/ufraw.info2
-rw-r--r--graphics/uniconvertor/uniconvertor.SlackBuild16
-rw-r--r--graphics/unpaper/unpaper.SlackBuild16
-rw-r--r--graphics/unpaper/unpaper.info2
-rw-r--r--graphics/urbanlightscape/urbanlightscape.SlackBuild16
-rw-r--r--graphics/veles/veles.SlackBuild16
-rw-r--r--graphics/veles/veles.info2
-rw-r--r--graphics/viewnior/viewnior.SlackBuild21
-rw-r--r--graphics/viewnior/viewnior.info2
-rw-r--r--graphics/vips/vips.SlackBuild16
-rw-r--r--graphics/vips/vips.info2
-rw-r--r--graphics/vsxu/vsxu.SlackBuild16
-rw-r--r--graphics/vsxu/vsxu.info2
-rw-r--r--graphics/vuescan/vuescan.SlackBuild33
-rw-r--r--graphics/vuescan/vuescan.info10
-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.SlackBuild82
-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/wavelet-denoise.SlackBuild16
-rw-r--r--graphics/wayland-protocols/README9
-rw-r--r--graphics/wayland-protocols/slack-desc19
-rw-r--r--graphics/wayland-protocols/wayland-protocols.SlackBuild71
-rw-r--r--graphics/wayland-protocols/wayland-protocols.info10
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild20
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.info2
-rw-r--r--graphics/white_dune/white_dune.SlackBuild16
-rw-r--r--graphics/white_dune/white_dune.info2
-rw-r--r--graphics/whyteboard/whyteboard.SlackBuild16
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild16
-rw-r--r--graphics/wine-nine-standalone/wine-nine-standalone.info2
-rw-r--r--graphics/xbmbrowser/xbmbrowser.SlackBuild16
-rw-r--r--graphics/xcalib/xcalib.SlackBuild16
-rw-r--r--graphics/xcf-pixbuf-loader/xcf-pixbuf-loader.SlackBuild16
-rw-r--r--graphics/xcur2png/xcur2png.SlackBuild16
-rw-r--r--graphics/xdaliclock/xdaliclock.SlackBuild16
-rw-r--r--graphics/xdot/xdot.SlackBuild16
-rw-r--r--graphics/xdot/xdot.info2
-rw-r--r--graphics/xfishtank/xfishtank.SlackBuild18
-rw-r--r--graphics/xfishtank/xfishtank.info4
-rw-r--r--graphics/xli/xli.SlackBuild16
-rw-r--r--graphics/xmedcon/xmedcon.SlackBuild16
-rw-r--r--graphics/xpe/xpe.SlackBuild16
-rw-r--r--graphics/xzgv/xzgv.SlackBuild16
-rw-r--r--graphics/yacreader/yacreader.SlackBuild18
-rw-r--r--graphics/yacreader/yacreader.info8
-rw-r--r--graphics/yafaray-blender/yafaray-blender.SlackBuild44
-rw-r--r--graphics/yafaray-blender/yafaray-blender.info6
-rw-r--r--graphics/yafaray/README8
-rw-r--r--graphics/yafaray/yafaray.SlackBuild108
-rw-r--r--graphics/yafaray/yafaray.info6
-rw-r--r--graphics/yagf/yagf.SlackBuild16
-rw-r--r--graphics/yed/yed.SlackBuild16
-rw-r--r--graphics/yesplz/yesplz.SlackBuild16
-rw-r--r--graphics/zbar/zbar.SlackBuild16
-rw-r--r--graphics/zgv/zgv.SlackBuild16
464 files changed, 4629 insertions, 4763 deletions
diff --git a/graphics/Alchemy/Alchemy.SlackBuild b/graphics/Alchemy/Alchemy.SlackBuild
index c82e13f80d..9743c6254f 100644
--- a/graphics/Alchemy/Alchemy.SlackBuild
+++ b/graphics/Alchemy/Alchemy.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Alchemy
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Alchemy
VERSION=${VERSION:-008}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=${ARCH:-$(uname -m)}
case "$ARCH" in
@@ -40,7 +43,14 @@ case "$ARCH" in
;;
esac
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index 4d8d8cb152..2a88b0f84e 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Blender
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Blender
-VERSION=${VERSION:-2.83.8}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.93.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=blender
@@ -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-$SRCNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -87,7 +97,6 @@ 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 \
@@ -127,6 +136,7 @@ cd build
-DCMAKE_BUILD_TYPE=Release \
$cuda \
$embree \
+ -DCMAKE_EXE_LINKER_FLAGS:STRING="-lboost_locale"
make
make install DESTDIR=$PKG
@@ -140,7 +150,6 @@ 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
@@ -148,7 +157,7 @@ EOF
done
mkdir -p $PKG/usr/man/man1
-./doc/manpage/blender.1.py build/bin/blender $PKG/usr/man/man1/blender.1
+./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
@@ -162,4 +171,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..82f5f8b7a3 100644
--- a/graphics/Blender/Blender.info
+++ b/graphics/Blender/Blender.info
@@ -1,10 +1,10 @@
PRGNAM="Blender"
-VERSION="2.83.8"
+VERSION="2.93.1"
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-2.93.1.tar.xz"
+MD5SUM="54219edb12d5145a6881885c6fc7475e"
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 numpy3 openimageio freealut embree"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
diff --git a/graphics/CairoSVG/CairoSVG.SlackBuild b/graphics/CairoSVG/CairoSVG.SlackBuild
index 0725ad10cb..c5b5ad5031 100644
--- a/graphics/CairoSVG/CairoSVG.SlackBuild
+++ b/graphics/CairoSVG/CairoSVG.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for CairoSVG
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
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..ba1f25fede 100644
--- a/graphics/CairoSVG/CairoSVG.info
+++ b/graphics/CairoSVG/CairoSVG.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/26/f5/d8fb11ac3ac613cae21f6860
MD5SUM="7b45e544969455167ce5b40406c25c30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="cairocffi cssselect2 python3-pillow python3-defusedxml"
+REQUIRES="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/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild
index 2efa262ff0..e54fa1bb08 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.19.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,19 +81,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# 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
-
mkdir build
cd build
cmake \
@@ -92,11 +88,18 @@ 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_ENABLE_CXX_STD=C++14 \
+ -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 +114,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 +129,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..0c35cbfdd1 100644
--- a/graphics/FreeCAD/FreeCAD.info
+++ b/graphics/FreeCAD/FreeCAD.info
@@ -1,10 +1,10 @@
PRGNAM="FreeCAD"
-VERSION="0.17.13541"
+VERSION="0.19.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.19.2/FreeCAD-0.19.2.tar.gz"
+MD5SUM="5c13477c7cc2e9a8324da2e5aa47ef66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenCASCADE Pivy matplotlib pyside pyside-tools shiboken xerces-c"
+REQUIRES="OpenCASCADE Pivy pyside2 shiboken2 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/GPS/GPS.SlackBuild b/graphics/GPS/GPS.SlackBuild
index f28bd34762..d51033116f 100644
--- a/graphics/GPS/GPS.SlackBuild
+++ b/graphics/GPS/GPS.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GIMP Paint Studio
@@ -23,14 +23,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=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 +68,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
index ea968873ff..377a02a1f7 100644
--- a/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
+++ b/graphics/GraphicsMagick/GraphicsMagick.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GraphicsMagick
@@ -41,10 +41,13 @@
# - build Tcl bindings (TclMagick)
# - document optional deps in README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=GraphicsMagick
VERSION=${VERSION:-1.3.35}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -54,7 +57,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -247,4 +257,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/README b/graphics/GraphicsMagick/README
index 6591c88ff2..9964595684 100644
--- a/graphics/GraphicsMagick/README
+++ b/graphics/GraphicsMagick/README
@@ -14,6 +14,9 @@ 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
GraphicsMagick) and TclMagick (Tcl bindings). If you really need to,
you can disable these via PERL=no and/or TCL=no in the environment.
+*WARNING*
+be advised that the tests that run during the build of PerlMagick need
+TMP=/tmp or they will fail.
Starting with 1.3.30, GraphicsMagick is built with OpenMP support, which
allows it to take better advantage of multiple cores. If you experience
@@ -24,7 +27,6 @@ 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)
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..e6bf6f117b 100644
--- a/graphics/LDView/LDView.SlackBuild
+++ b/graphics/LDView/LDView.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LDView:
# a program to visualize LDraw files
@@ -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=LDView
VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=$(echo $VERSION|tr . _)
SRCNAM=$(echo $PRGNAM|tr '[A-Z]' '[a-z]')
@@ -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}
@@ -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/LDraw_data/LDraw_data.SlackBuild b/graphics/LDraw_data/LDraw_data.SlackBuild
index 1ca2d5d4a0..36547d97f1 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,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=LDraw_data
VERSION=${VERSION:-201601}
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 +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/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
index b9ce861e66..f38e5b9b39 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,10 +24,13 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=OpenCASCADE
VERSION=${VERSION:-7.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=occt
SRCVER=V$(echo $VERSION | tr . _)
@@ -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,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/fix-flow-control-nesting.patch
+
# Thanks to Chris Willing for the fix for VTK-8.1.0 compatibility.
# This new version of the patch is still needed for occt 7.3.0 :(
patch -p0 < $CWD/occt-7.3.0_vtk_InsertNextTupleValue.diff
@@ -100,7 +112,10 @@ cd build
-DUSE_GL2PS=${WITH_GL2PS:-OFF} \
-DUSE_TBB=${WITH_TBB:-OFF} \
-DUSE_VTK=ON \
+ -D3RDPARTY_VTK_INCLUDE_DIR=/usr/include/vtk-9.0 \
+ -D3RDPARTY_VTK_LIBRARY_DIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release ..
+ find . -name link.txt -exec sed -i s/vtkRenderingOpenGL/vtkRenderingOpenGL2/g {} +
make
make install DESTDIR=$PKG
cd ..
@@ -118,4 +133,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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/fix-flow-control-nesting.patch b/graphics/OpenCASCADE/fix-flow-control-nesting.patch
new file mode 100644
index 0000000000..7e2bb1d7b2
--- /dev/null
+++ b/graphics/OpenCASCADE/fix-flow-control-nesting.patch
@@ -0,0 +1,31 @@
+From e69c42386239bcc08143607df12b8bb3f1ff14ba Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <waebbl-gentoo@posteo.net>
+Date: Wed, 24 Feb 2021 20:06:02 +0100
+Subject: [PATCH] adm/cmake/vtk.cmake: fix flow control nesting
+
+Fix an unbalanced nesting of flow control statements
+for >=cmake-3.20.0
+
+Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
+---
+ adm/cmake/vtk.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/adm/cmake/vtk.cmake b/adm/cmake/vtk.cmake
+index c5692fd6..00b7ff4a 100644
+--- a/adm/cmake/vtk.cmake
++++ b/adm/cmake/vtk.cmake
+@@ -156,8 +156,8 @@ if (VTK_FOUND)
+ endif()
+ endif()
+ endif()
+- endif()
+- endforeach()
++ endforeach()
++ endif()
+ endif()
+
+ if (3RDPARTY_VTK_INCLUDE_DIRS)
+--
+2.30.1
+
diff --git a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
index e9a279e7c4..aad6ed84df 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
+++ b/graphics/OpenSubdiv/OpenSubdiv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Opensubdiv
@@ -23,12 +23,15 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=OpenSubdiv
SRCNAM=OpenSubDiv
-VERSION=${VERSION:-3.4.3}
+VERSION=${VERSION:-3.4.4}
SRCVER=$(echo $VERSION | tr . _)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,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/OpenSubdiv/OpenSubdiv.info b/graphics/OpenSubdiv/OpenSubdiv.info
index b7292a557b..b2cfdc515e 100644
--- a/graphics/OpenSubdiv/OpenSubdiv.info
+++ b/graphics/OpenSubdiv/OpenSubdiv.info
@@ -1,8 +1,8 @@
PRGNAM="OpenSubdiv"
-VERSION="3.4.3"
+VERSION="3.4.4"
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_4_4/OpenSubDiv-3.4.4.tar.gz"
+MD5SUM="39ecc5caf0abebc943d1ce131855e76e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/OpenSubdiv/README b/graphics/OpenSubdiv/README
index 401ffff651..cc70b261c9 100644
--- a/graphics/OpenSubdiv/README
+++ b/graphics/OpenSubdiv/README
@@ -4,5 +4,4 @@ GPU architectures. This code path is optimized for drawing deforming surfaces
with static topology at interactive framerates.
Additional utility is available in OpenSubdiv when the following SBo packages
-are installed and detected at build time:
- tbb cudatoolkit opencl-headers glfw docutils
+are installed and detected at build time: tbb cudatoolkit glfw
diff --git a/graphics/Pixie/Pixie.SlackBuild b/graphics/Pixie/Pixie.SlackBuild
index 5335ebce37..3bf4d4c4b9 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,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -123,4 +133,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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.SlackBuild b/graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild
deleted file mode 100644
index cdde34904a..0000000000
--- a/graphics/SPIRV-Tools/SPIRV-Tools.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for SPIRV-Tools
-
-# Copyright 2020 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=SPIRV-Tools
-VERSION=${VERSION:-2020.6}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DBUILD_SHARED_LIBS=ON \
- -DSPIRV_TOOLS_BUILD_STATIC=OFF \
- -DSPIRV_SKIP_TESTS=ON \
- -DSPIRV_WERROR=OFF \
- -DSPIRV-Headers_SOURCE_DIR=/usr \
- -DCMAKE_SKIP_RPATH=TRUE \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/SPIRV-Tools/SPIRV-Tools.info b/graphics/SPIRV-Tools/SPIRV-Tools.info
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/SPIRV-Tools/slack-desc b/graphics/SPIRV-Tools/slack-desc
deleted file mode 100644
index 79e9d751ca..0000000000
--- a/graphics/SPIRV-Tools/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-SPIRV-Tools: SPIRV-Tools (API and commands for processing SPIR-V modules)
-SPIRV-Tools:
-SPIRV-Tools: The SPIR-V Tools project provides an API and commands for processing
-SPIRV-Tools: SPIR-V modules.
-SPIRV-Tools:
-SPIRV-Tools: Homepage: https://github.com/KhronosGroup/SPIRV-Tools
-SPIRV-Tools:
-SPIRV-Tools:
-SPIRV-Tools:
-SPIRV-Tools:
-SPIRV-Tools:
diff --git a/graphics/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/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index dee7336599..d7a010ad6e 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for SweetHome3D
@@ -36,10 +36,13 @@
# 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}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
NVIDIA=${NVIDIA:-no}
if [ -z "$ARCH" ]; then
@@ -50,7 +53,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -95,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/VariCAD/VariCAD.SlackBuild b/graphics/VariCAD/VariCAD.SlackBuild
index 0fb401b7e1..8c0c0bbc22 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}
@@ -44,11 +47,6 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" = "i486" ]; then
SRCARCH="i586"
PKGARCH="i586"
@@ -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/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.SlackBuild b/graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild
deleted file mode 100644
index 1e47b57e54..0000000000
--- a/graphics/Vulkan-Tools/Vulkan-Tools.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for Vulkan-Tools
-
-# Copyright 2020 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=Vulkan-Tools
-VERSION=${VERSION:-1.2.162.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-sdk-$VERSION
-tar xvf $CWD/$PRGNAM-sdk-$VERSION.tar.gz
-cd $PRGNAM-sdk-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Require an older cmake version.
-sed -i 's/3.10.2/3.5.2/' CMakeLists.txt
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DBUILD_WSI_XCB_SUPPORT=ON \
- -DBUILD_WSI_XLIB_SUPPORT=ON \
- -DBUILD_WSI_WAYLAND_SUPPORT=OFF \
- -DGLSLANG_INSTALL_DIR=/usr \
- -DVULKAN_HEADERS_INSTALL_DIR=/usr \
- -DCMAKE_SKIP_RPATH=TRUE \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CODE_OF_CONDUCT.md CONTRIBUTING.md GOVERNANCE.md LICENSE.txt README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/Vulkan-Tools/Vulkan-Tools.info b/graphics/Vulkan-Tools/Vulkan-Tools.info
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/Vulkan-Tools/slack-desc b/graphics/Vulkan-Tools/slack-desc
deleted file mode 100644
index ac886d645c..0000000000
--- a/graphics/Vulkan-Tools/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-Vulkan-Tools: Vulkan-Tools (Vulkan Utilities and Tools)
-Vulkan-Tools:
-Vulkan-Tools: This project provides Khronos official Vulkan Tools and Utilities.
-Vulkan-Tools:
-Vulkan-Tools: Homepage: https://www.khronos.org/vulkan/
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
-Vulkan-Tools:
diff --git a/graphics/XnViewMP/README b/graphics/XnViewMP/README
index d69065af64..8a358f4a9b 100644
--- a/graphics/XnViewMP/README
+++ b/graphics/XnViewMP/README
@@ -1 +1 @@
-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..30d506f35a 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}
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..e54e7c966c 100644
--- a/graphics/XnViewMP/XnViewMP.info
+++ b/graphics/XnViewMP/XnViewMP.info
@@ -5,6 +5,6 @@ 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"
+REQUIRES=""
MAINTAINER="Melvin Mawhin"
EMAIL="mmawhin@hotmail.com"
diff --git a/graphics/aaphoto/aaphoto.SlackBuild b/graphics/aaphoto/aaphoto.SlackBuild
index d42d4910ae..2973b6f7e8 100644
--- a/graphics/aaphoto/aaphoto.SlackBuild
+++ b/graphics/aaphoto/aaphoto.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aaphoto
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/advancecomp.SlackBuild b/graphics/advancecomp/advancecomp.SlackBuild
index 663f9b6092..beb03eec39 100644
--- a/graphics/advancecomp/advancecomp.SlackBuild
+++ b/graphics/advancecomp/advancecomp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for advancecomp
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=advancecomp
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}
@@ -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/aewan/aewan.SlackBuild b/graphics/aewan/aewan.SlackBuild
index c4abe4149c..19f56c30cd 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,10 +22,13 @@
# OTHERWISE) ARISING IN 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
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -96,4 +106,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/apitrace/apitrace.SlackBuild b/graphics/apitrace/apitrace.SlackBuild
index d0f5078f05..82d70befc1 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apitrace
VERSION=${VERSION:-9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/apitrace/apitrace.info b/graphics/apitrace/apitrace.info
index f882c4141f..33b4734337 100644
--- a/graphics/apitrace/apitrace.info
+++ b/graphics/apitrace/apitrace.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/apitrace/apitrace/archive/9.0/apitrace-9.0.tar.gz"
MD5SUM="83bacfb35f4f339571702099d283f571"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES=""
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
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..97141ddafb 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,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=autotrace
VERSION=${VERSION:-0.31.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}
@@ -103,4 +113,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/baires.SlackBuild b/graphics/baires/baires.SlackBuild
index 4e7fdb267a..f09aa158c9 100644
--- a/graphics/baires/baires.SlackBuild
+++ b/graphics/baires/baires.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Baires
# Copyright 2012, Bojan Popovic, Belgrade, Serbia, <bocke@slackware-srbija.org>
@@ -30,10 +30,13 @@
# - make .desktop file validate
# - minor script cleanups
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=baires
VERSION=${VERSION:-1.2r1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -43,7 +46,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -119,4 +129,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/barcode/barcode.SlackBuild b/graphics/barcode/barcode.SlackBuild
index 459e08bd4e..3ca77ba5cb 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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.SlackBuild b/graphics/bdfedit/bdfedit.SlackBuild
index 9b0289f35c..e1b2724a04 100644
--- a/graphics/bdfedit/bdfedit.SlackBuild
+++ b/graphics/bdfedit/bdfedit.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for bdfedit
@@ -16,15 +16,25 @@
# 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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -74,4 +84,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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.SlackBuild b/graphics/blender/blender.SlackBuild
index 334a9e41ec..5143dc1797 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
@@ -26,10 +26,13 @@
# 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}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVERSION=${VERSION}-linux64
@@ -44,7 +47,14 @@ case "$( uname -m )" in
*) ARCH=$( uname -m ) ;;
esac
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -106,4 +116,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/brlcad/README b/graphics/brlcad/README
index 25e5c18639..edfc4f570c 100644
--- a/graphics/brlcad/README
+++ b/graphics/brlcad/README
@@ -4,7 +4,7 @@ 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
+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.
@@ -20,9 +20,8 @@ work where performance is critical.
! 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.SlackBuild b/graphics/brlcad/brlcad.SlackBuild
index 694e2039f8..f8b0afec0a 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
@@ -15,10 +15,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}
BUILD=${BUILD:-1}
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}
@@ -124,4 +134,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/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..87536afb72 100644
--- a/graphics/converseen/converseen.SlackBuild
+++ b/graphics/converseen/converseen.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for converseen
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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.9.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/converseen/converseen.info b/graphics/converseen/converseen.info
index 812799be6d..b7188bfb8d 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.9.9.1"
+HOMEPAGE="https://converseen.fasterland.net/"
+DOWNLOAD="https://downloads.sourceforge.net/converseen/converseen-0.9.9.1.tar.bz2"
+MD5SUM="e5fa4d013facfb600b4d5f5eadbb57c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES=""
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"
diff --git a/graphics/darktable/README b/graphics/darktable/README
index 9762e2be82..484d112869 100644
--- a/graphics/darktable/README
+++ b/graphics/darktable/README
@@ -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..c7f3676018 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,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=darktable
-VERSION=${VERSION:-2.4.4}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,6 +78,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 {} \;
+# 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 \
@@ -78,6 +92,7 @@ cd build
-DDONT_USE_INTERNAL_LUA=Off \
-DUSE_LIBSECRET=On \
-DBINARY_PACKAGE_BUILD=1 \
+ -DDONT_USE_INTERNAL_LUA=0 \
-DCMAKE_BUILD_TYPE=Release ..
VERBOSE=1 make
make install DESTDIR=$PKG
@@ -102,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/darktable/darktable.info b/graphics/darktable/darktable.info
index e53831c9ec..940063fa38 100644
--- a/graphics/darktable/darktable.info
+++ b/graphics/darktable/darktable.info
@@ -1,10 +1,10 @@
PRGNAM="darktable"
-VERSION="2.4.4"
+VERSION="3.4.0"
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="https://github.com/darktable-org/darktable/releases/download/release-3.4.0/darktable-3.4.0.tar.xz"
+MD5SUM="e360fbf37eb256ce8c31c2181e5197c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="json-glib lensfun pugixml"
+REQUIRES="gmic pugixml"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/dblatex/dblatex.SlackBuild b/graphics/dblatex/dblatex.SlackBuild
index 1627eefa46..5a0d0d0bee 100644
--- a/graphics/dblatex/dblatex.SlackBuild
+++ b/graphics/dblatex/dblatex.SlackBuild
@@ -1,13 +1,16 @@
-#!/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
@@ -17,7 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -78,4 +88,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/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.SlackBuild b/graphics/digikam/digikam.SlackBuild
deleted file mode 100644
index dd492bcb28..0000000000
--- a/graphics/digikam/digikam.SlackBuild
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for digiKam
-
-# Copyright 2007-2011 Frank Caraballo <fecaraballo{at}gmail{dot}com>
-# Copyright 2013-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=digikam
-VERSION=${VERSION:-4.14.0}
-BUILD=${BUILD:-4}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-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.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-cd 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
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING* NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-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/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.SlackBuild b/graphics/discwrapper/discwrapper.SlackBuild
deleted file mode 100644
index ad9f0e4928..0000000000
--- a/graphics/discwrapper/discwrapper.SlackBuild
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for discwrapper
-
-# Written by Pablo Santamaria (pablosantamaria@gmail.com)
-
-PRGNAM=discwrapper
-VERSION=${VERSION:-1.2.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/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/discwrapper/doinst.sh b/graphics/discwrapper/doinst.sh
deleted file mode 100644
index e4e6459838..0000000000
--- a/graphics/discwrapper/doinst.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
diff --git a/graphics/discwrapper/slack-desc b/graphics/discwrapper/slack-desc
deleted file mode 100644
index 2f733a150b..0000000000
--- a/graphics/discwrapper/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# 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:
diff --git a/graphics/djview4/djview4.SlackBuild b/graphics/djview4/djview4.SlackBuild
index 6b0b188465..16c0e9651c 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,10 +26,13 @@
# 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
@@ -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}
@@ -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/doinst.sh b/graphics/draftsight/doinst.sh
deleted file mode 100644
index 0fb9c8b686..0000000000
--- a/graphics/draftsight/doinst.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/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/draftsight/slack-desc b/graphics/draftsight/slack-desc
deleted file mode 100644
index a68ec145b1..0000000000
--- a/graphics/draftsight/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# 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:
diff --git a/graphics/draw.io/draw.io.SlackBuild b/graphics/draw.io/draw.io.SlackBuild
index ed9834aa11..71d5e72fa7 100644
--- a/graphics/draw.io/draw.io.SlackBuild
+++ b/graphics/draw.io/draw.io.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for draw.io
@@ -27,12 +27,22 @@
# 2019/09/08 - Updated to upstream V11.2.5
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=draw.io
VERSION=${VERSION:-12.4.2}
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}
@@ -66,4 +76,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/dvisvgm/README b/graphics/dvisvgm/README
index 59e0991ba0..c94ccb0956 100644
--- a/graphics/dvisvgm/README
+++ b/graphics/dvisvgm/README
@@ -6,7 +6,7 @@ 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
+dvisvgm version 1.6 is present in 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
diff --git a/graphics/dvisvgm/dvisvgm.SlackBuild b/graphics/dvisvgm/dvisvgm.SlackBuild
index ee54426624..6d3e5cc420 100644
--- a/graphics/dvisvgm/dvisvgm.SlackBuild
+++ b/graphics/dvisvgm/dvisvgm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for dvisvgm
# SlackBuild Version: 151119
# Copyright 2015 Igor ( igor29768 AT gmail.com )
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dvisvgm
VERSION=${VERSION:-1.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -114,4 +124,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/embree.SlackBuild b/graphics/embree/embree.SlackBuild
index 6a70fc784a..5b591244b5 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}
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}
@@ -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/enblend-enfuse/enblend-enfuse.SlackBuild b/graphics/enblend-enfuse/enblend-enfuse.SlackBuild
index 26381c3f52..f8e339ff6e 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=enblend-enfuse
VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,6 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i '/^#include <vector>$/a #include <limits>' src/minimizer.h
+
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -96,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/entangle/entangle.SlackBuild b/graphics/entangle/entangle.SlackBuild
index 292aad9861..ab6f427dbb 100644
--- a/graphics/entangle/entangle.SlackBuild
+++ b/graphics/entangle/entangle.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for entangle
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
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 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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..b1eb789f8e 100644
--- a/graphics/entangle/entangle.info
+++ b/graphics/entangle/entangle.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://entangle-photo.org/download/sources/entangle-0.7.0.tar.gz"
MD5SUM="bdb5fab70276ea27c4614fecfa5c1d86"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libgexiv2 libpeas"
+REQUIRES="libpeas"
MAINTAINER="Philip Lacroix"
EMAIL="slackph at posteo dot de"
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/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild
index bc64a31f5b..5ef236189f 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 +84,15 @@ 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-libgif \
+ --without-openexr \
+ --without-php \
+ --without-python
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..d9f87de2d9 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,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+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
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/exiftags/exiftags.SlackBuild b/graphics/exiftags/exiftags.SlackBuild
index 90d0d97c57..b8c8641b13 100644
--- a/graphics/exiftags/exiftags.SlackBuild
+++ b/graphics/exiftags/exiftags.SlackBuild
@@ -1,14 +1,17 @@
-#!/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
@@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/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/fbida/fbida.SlackBuild b/graphics/fbida/fbida.SlackBuild
index 84c9d05406..58182b7e40 100644
--- a/graphics/fbida/fbida.SlackBuild
+++ b/graphics/fbida/fbida.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fbida
@@ -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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -154,4 +164,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/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..62a61f5604 100644
--- a/graphics/fbv/fbv.SlackBuild
+++ b/graphics/fbv/fbv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fbv
@@ -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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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/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/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..25e19a7188 100644
--- a/graphics/fim/fim.info
+++ b/graphics/fim/fim.info
@@ -1,8 +1,8 @@
PRGNAM="fim"
-VERSION="0.5_rc1"
+VERSION="0.6_trunk"
HOMEPAGE="http://www.nongnu.org/fbi-improved/"
-DOWNLOAD="http://download.savannah.gnu.org/releases/fbi-improved/fim-0.5-rc1.tar.gz"
-MD5SUM="03d4dd36c894c1d319b5d5ca7a82dfb3"
+DOWNLOAD="http://download.savannah.nongnu.org/releases/fbi-improved/fim-0.6-trunk.tar.gz"
+MD5SUM="96492d5c53f806ebdf6d624e73360bdd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/findimagedupes/findimagedupes.SlackBuild b/graphics/findimagedupes/findimagedupes.SlackBuild
index 1f0d89034b..2984d84c65 100644
--- a/graphics/findimagedupes/findimagedupes.SlackBuild
+++ b/graphics/findimagedupes/findimagedupes.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for findimagedupes
@@ -6,14 +6,24 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=findimagedupes
VERSION=${VERSION:-2.19}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -49,4 +59,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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..3528f002ac 100644
--- a/graphics/flpsed/flpsed.SlackBuild
+++ b/graphics/flpsed/flpsed.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for flpsed
# Originally written by Jack Maddox <email removed>
@@ -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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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.SlackBuild b/graphics/fontforge/fontforge.SlackBuild
index 0e5952bb93..00808b8437 100644
--- a/graphics/fontforge/fontforge.SlackBuild
+++ b/graphics/fontforge/fontforge.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for fontforge
@@ -28,10 +28,13 @@
# Update to Version ff 20190801, gnulib 20200505~0747bf0
# Added --without-libuninameslist
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fontforge
VERSION=${VERSION:-20190801}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ENABLE_BCINT=${ENABLE_BCINT:-yes}
FREETYPE=${FREETYPE:-2.10.0}
@@ -52,7 +55,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -132,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/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..b1b2176a6d 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,27 +6,36 @@
# 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 the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -44,10 +53,13 @@ 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 \
@@ -82,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/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/doinst.sh b/graphics/fotoxx/doinst.sh
deleted file mode 100644
index 4e8ba7071d..0000000000
--- a/graphics/fotoxx/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/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/fotoxx/slack-desc b/graphics/fotoxx/slack-desc
deleted file mode 100644
index 1bccebf1f2..0000000000
--- a/graphics/fotoxx/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# 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:
diff --git a/graphics/freewrl/README b/graphics/freewrl/README
index 658beb1fdd..17d92f5b7f 100644
--- a/graphics/freewrl/README
+++ b/graphics/freewrl/README
@@ -10,8 +10,6 @@ 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,
diff --git a/graphics/freewrl/freewrl.SlackBuild b/graphics/freewrl/freewrl.SlackBuild
index 95c636fb94..764bf88613 100644
--- a/graphics/freewrl/freewrl.SlackBuild
+++ b/graphics/freewrl/freewrl.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for freewrl
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=freewrl
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -122,4 +132,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/freewrl/freewrl.info b/graphics/freewrl/freewrl.info
index 9cdae42f82..659ac99dce 100644
--- a/graphics/freewrl/freewrl.info
+++ b/graphics/freewrl/freewrl.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/freewrl/files/freewrl-linux/3.0/freewr
MD5SUM="350066d1b7c0fd0b842260c60c1c3179"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="imlib2 OpenAL freealut"
+REQUIRES="imlib2 freealut"
MAINTAINER="William PC"
EMAIL="w_calandrini@hotmail.com"
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/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/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..191165001b 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-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,26 +22,36 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fyre
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=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" \
@@ -97,4 +111,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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..89dc22206e 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,10 +22,13 @@
# OTHERWISE) ARISING IN 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
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -112,4 +122,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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..e99d94d320 100644
--- a/graphics/gbdfed/gbdfed.SlackBuild
+++ b/graphics/gbdfed/gbdfed.SlackBuild
@@ -1,12 +1,15 @@
-#!/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
@@ -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-$VERSION
OUTPUT=${OUTPUT:-/tmp}
@@ -82,4 +92,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gcolor2/gcolor2.SlackBuild b/graphics/gcolor2/gcolor2.SlackBuild
index abde646cf7..e4de53657c 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}
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
diff --git a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
index 206c20e956..c15abc1e56 100644
--- a/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
+++ b/graphics/gdk-pixbuf-psd/gdk-pixbuf-psd.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gdk-pixbuf-psd
@@ -6,10 +6,13 @@
# 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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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/gifsicle/gifsicle.SlackBuild b/graphics/gifsicle/gifsicle.SlackBuild
index e10ad39025..8b1f0d2383 100644
--- a/graphics/gifsicle/gifsicle.SlackBuild
+++ b/graphics/gifsicle/gifsicle.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gifsicle
@@ -6,10 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gifsicle
VERSION=${VERSION:-1.92}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild
index 34b703f8c6..d7b9279bd8 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gimagereader
-VERSION=${VERSION:-3.2.3}
+VERSION=${VERSION:-20201201_2d32618}
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}
@@ -70,16 +80,18 @@ find -L . \
-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..20803afacf 100644
--- a/graphics/gimagereader/gimagereader.info
+++ b/graphics/gimagereader/gimagereader.info
@@ -1,8 +1,8 @@
PRGNAM="gimagereader"
-VERSION="3.2.3"
+VERSION="20201201_2d32618"
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="http://ponce.cc/slackware/sources/repo/gimagereader-20201201_2d32618.tar.xz"
+MD5SUM="56b696dff8ae247fa55b1cc4f91cdd52"
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..251b86aefc 100644
--- a/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
+++ b/graphics/gimp-feca_hdr-plugin/gimp-feca_hdr-plugin.SlackBuild
@@ -1,13 +1,16 @@
-#!/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}
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}
@@ -60,4 +70,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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-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/gimp-plugin-bimp.SlackBuild b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
index 56c01eca00..b22549b597 100644
--- a/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
+++ b/graphics/gimp-plugin-bimp/gimp-plugin-bimp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gimp-plugin-bimp
#
@@ -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.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"
@@ -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..1844b7077c 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.5"
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.5/gimp-plugin-bimp-2.5.tar.gz"
+MD5SUM="773eadcae1816255733fef5d754e0c0f"
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..8717df7da7 100644
--- a/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
+++ b/graphics/gimp-plugin-export-layers/gimp-plugin-export-layers.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gimp-plugin-export-layers
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=export_layers
@@ -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}
@@ -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/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
index 6ba621c72f..8a7bcae791 100644
--- a/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
+++ b/graphics/gimp-wideangle-plugin/gimp-wideangle-plugin.SlackBuild
@@ -1,11 +1,14 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for <wideangle>
# Written by Michales Michaloudes korgie@gmail.com
+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 +20,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -77,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gliv/gliv.SlackBuild b/graphics/gliv/gliv.SlackBuild
index bb1eb58c01..45c796cb0a 100644
--- a/graphics/gliv/gliv.SlackBuild
+++ b/graphics/gliv/gliv.SlackBuild
@@ -1,12 +1,15 @@
-#!/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
@@ -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}
@@ -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/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.SlackBuild b/graphics/glslang/glslang.SlackBuild
deleted file mode 100644
index db38ad19a9..0000000000
--- a/graphics/glslang/glslang.SlackBuild
+++ /dev/null
@@ -1,103 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for glslang
-
-# Copyright 2020-2021 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=glslang
-VERSION=${VERSION:-11.1.0}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# CMake: Allow linking against system-installed SPIRV-Tools
-# https://github.com/KhronosGroup/glslang/issues/1585
-# https://github.com/KhronosGroup/glslang/pull/1621
-patch -p1 < $CWD/SPIRV-Tools-shared.patch
-
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \
- -DBUILD_EXTERNAL=OFF \
- -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_SKIP_RPATH=TRUE \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.md CODE_OF_CONDUCT.md LICENSE.txt README-spirv-remap.txt \
- README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/glslang/glslang.info b/graphics/glslang/glslang.info
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/glslang/slack-desc b/graphics/glslang/slack-desc
deleted file mode 100644
index 0693d091db..0000000000
--- a/graphics/glslang/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-glslang: glslang (GLSL/ESSL front end, HLSL front end SPIR-V generator)
-glslang:
-glslang: Khronos-reference front end for GLSL/ESSL, partial front end for HLSL,
-glslang: and a SPIR-V generator.
-glslang:
-glslang: Homepage: https://github.com/KhronosGroup/glslang
-glslang:
-glslang:
-glslang:
-glslang:
-glslang:
diff --git a/graphics/gmic/gmic.SlackBuild b/graphics/gmic/gmic.SlackBuild
index 5c54c3b4d7..f2b15bf316 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,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=gmic
-VERSION=${VERSION:-2.7.5}
-COMMUNITYVERSION=${COMMUNITYVERSION:-5a9aefc05e9585c1198c1d68f4b47ee32ff68ae2}
+VERSION=${VERSION:-2.9.4}
+COMMUNITYVERSION=${COMMUNITYVERSION:-6e9a20ef40e1db99c9b761853ad493ee7439e1b7}
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}
@@ -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"
@@ -78,16 +88,11 @@ sed -i -e "s|LIB = lib|LIB = lib$LIBDIRSUFFIX|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
@@ -116,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/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..e09f994074 100644
--- a/graphics/gnofract4d/gnofract4d.SlackBuild
+++ b/graphics/gnofract4d/gnofract4d.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gnofract4d
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRCVER=V_$(echo $VERSION | tr . _)
@@ -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}
@@ -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/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/gnome-web-photo.SlackBuild b/graphics/gnome-web-photo/gnome-web-photo.SlackBuild
index b1cfadbeda..e935ebe7ef 100644
--- a/graphics/gnome-web-photo/gnome-web-photo.SlackBuild
+++ b/graphics/gnome-web-photo/gnome-web-photo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GNOME Web Photo
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnome-web-photo
VERSION=${VERSION:-0.10.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}
@@ -98,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/goocanvas/goocanvas.SlackBuild b/graphics/goocanvas/goocanvas.SlackBuild
index 1987660272..d7c67bee59 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}
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 \
@@ -97,4 +108,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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..250d7c458f 100644
--- a/graphics/gource/gource.SlackBuild
+++ b/graphics/gource/gource.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gource
@@ -24,10 +24,13 @@
# generated by grissiom's sbo-dev-helper
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gource
VERSION=${VERSION:-0.51}
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}
@@ -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..11fc125fc1 100644
--- a/graphics/gource/gource.info
+++ b/graphics/gource/gource.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/acaudwell/Gource/releases/download/gource-0.51/gour
MD5SUM="957723684373e6d9493c4820e9c53399"
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..eaf7533c25 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-2021 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}
-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}
@@ -64,10 +74,10 @@ tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
cd $PRGNAM-2-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Thanks to Debian for the patches! And the man page and icon! And the
# whole source tarball, actually...
@@ -84,6 +94,7 @@ patch -p1 -i $CWD/patches/24_fix_crash_on_failed_write.patch
patch -p1 -i $CWD/patches/25_fix_color_selection.patch
patch -p1 -i $CWD/patches/26_fix_toolbar.patch
+LIBS="-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -121,4 +132,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/gpicview/gpicview.SlackBuild b/graphics/gpicview/gpicview.SlackBuild
index 03d03ca026..e0dad5781b 100644
--- a/graphics/gpicview/gpicview.SlackBuild
+++ b/graphics/gpicview/gpicview.SlackBuild
@@ -1,12 +1,15 @@
-#!/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
@@ -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}
@@ -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/gpscorrelate.SlackBuild b/graphics/gpscorrelate/gpscorrelate.SlackBuild
index 2dc37fcf81..bf4b647a73 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,10 +24,13 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpscorrelate
VERSION=${VERSION:-1.6.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}
@@ -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/grafx2/grafx2.SlackBuild b/graphics/grafx2/grafx2.SlackBuild
index 3f4aa6c067..9c5b4f1a41 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,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=grafx2
VERSION=${VERSION:-2.5.1960}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
SRC=30
@@ -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/graph-easy/graph-easy.SlackBuild b/graphics/graph-easy/graph-easy.SlackBuild
index fb56a9660a..bd1eb30a6b 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,14 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=graph-easy
SRCNAM=Graph-Easy
VERSION=${VERSION:-0.76}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -30,7 +33,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -86,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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.SlackBuild b/graphics/graphene/graphene.SlackBuild
deleted file mode 100644
index 7b0bfa773d..0000000000
--- a/graphics/graphene/graphene.SlackBuild
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for graphene
-
-# Copyright 2020 Hunter Sezen California, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=graphene
-VERSION=${VERSION:-1.10.2}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-if [ "${DEBUG:=0}" != 0 ]; then
- NDEBUG=false
- RELEASE=debug
- SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')"
-else
- NDEBUG=true
- RELEASE=plain
-fi
-
-# Don't create the __pycache__ directory.
-export PYTHONDONTWRITEBYTECODE=1
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-meson \
- --prefix=/usr \
- --libdir=lib${LIBDIRSUFFIX} \
- -Dinstalled_tests=false \
- -Dstrip=$NDEBUG \
- -Db_ndebug=$NDEBUG \
- -Dbuildtype=$RELEASE \
- build
-
-"${NINJA:=ninja}" -C build
-DESTDIR=$PKG "$NINJA" -C build install
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE.txt README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/graphics/graphene/graphene.info b/graphics/graphene/graphene.info
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/graphene/slack-desc b/graphics/graphene/slack-desc
deleted file mode 100644
index 2815360bf5..0000000000
--- a/graphics/graphene/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-graphene: graphene (graphic data types layer)
-graphene:
-graphene: A thin layer of graphic data types.
-graphene:
-graphene: Homepage: https://ebassi.github.io/graphene/
-graphene:
-graphene:
-graphene:
-graphene:
-graphene:
-graphene:
diff --git a/graphics/graphite2/README b/graphics/graphite2/README
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.SlackBuild b/graphics/graphite2/graphite2.SlackBuild
deleted file mode 100644
index c047c832bf..0000000000
--- a/graphics/graphite2/graphite2.SlackBuild
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for graphite2
-
-# Copyright 2015-2018, 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=graphite2
-VERSION=${VERSION:-1.3.14}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -eu
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-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 ..
- make
- make install DESTDIR=$PKG
-cd ..
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
- grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog LICENSE README.md Todo.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
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/graphite2/slack-desc b/graphics/graphite2/slack-desc
deleted file mode 100644
index fb3e6e8418..0000000000
--- a/graphics/graphite2/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# 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:
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index 5593f2ecf0..64d99cc85c 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for graphviz
@@ -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=graphviz
VERSION=${VERSION:-2.40.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}
@@ -89,6 +99,7 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
--mandir=/usr/man \
--disable-static \
--enable-ocaml=no \
+ --enable-php=no \
--build=$ARCH-slackware-linux
make
@@ -125,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 -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/gscan2pdf/gscan2pdf.SlackBuild b/graphics/gscan2pdf/gscan2pdf.SlackBuild
index 2f27d18337..ce0522a172 100644
--- a/graphics/gscan2pdf/gscan2pdf.SlackBuild
+++ b/graphics/gscan2pdf/gscan2pdf.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for gscanpdf
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
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..04ac87d4b7 100644
--- a/graphics/gscan2pdf/gscan2pdf.info
+++ b/graphics/gscan2pdf/gscan2pdf.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/gscan2pdf/files/gscan2pdf/2.11.0/gsca
MD5SUM="8cab16574dd95cab3d7d7c3b5c43ea60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-glib perl-Gtk3 perl-Image-Sane perl-Image-Magick perl-IPC-System-Simple perl-Date-Calc perl-HTML-Parser perl-Log-Log4perl perl-Try-Tiny perl-Carp-Clan perl-Sub-Override perl-PDF-Builder perl-Proc-ProcessTable perl-Gtk3-SimpleList perl-Set-IntSpan perl-List-MoreUtils perl-Filesys-Df"
+REQUIRES="perl-glib perl-Gtk3 perl-Image-Sane perl-IPC-System-Simple perl-Date-Calc perl-html-parser perl-Log-Log4perl perl-Try-Tiny perl-Carp-Clan perl-Sub-Override perl-PDF-Builder perl-Proc-ProcessTable perl-Gtk3 perl-Set-IntSpan perl-List-MoreUtils perl-Filesys-Df"
MAINTAINER="Michel A. BEGUE"
EMAIL="mab974@gmail.com"
diff --git a/graphics/gthumb/README b/graphics/gthumb/README
index 50224f54f8..325b964cd5 100644
--- a/graphics/gthumb/README
+++ b/graphics/gthumb/README
@@ -2,6 +2,6 @@ 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.
+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..9f28b56283 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.3}
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,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
+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}"
+$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 +106,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 +114,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..c141cd437f 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.3"
+HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Gthumb"
+DOWNLOAD="https://download.gnome.org/sources/gthumb/3.10/gthumb-3.10.3.tar.xz"
+MD5SUM="b3639fdfe7b3cc1d0f38358d752735c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/gthumb/slack-desc b/graphics/gthumb/slack-desc
index e95b0c5903..8b1709f417 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..f86565feba 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,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 @@ 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..95daee5560 100644
--- a/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
+++ b/graphics/heif-gimp-plugin/heif-gimp-plugin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for heif-gimp-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=heif-gimp-plugin
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}
@@ -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/hp2xx/hp2xx.SlackBuild b/graphics/hp2xx/hp2xx.SlackBuild
index 8eebc71cec..ebf6fed3f9 100644
--- a/graphics/hp2xx/hp2xx.SlackBuild
+++ b/graphics/hp2xx/hp2xx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for hp2xx
@@ -6,10 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hp2xx
VERSION=${VERSION:-3.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/hugin/hugin.SlackBuild b/graphics/hugin/hugin.SlackBuild
index 8a31feb9ee..01a929d22e 100644
--- a/graphics/hugin/hugin.SlackBuild
+++ b/graphics/hugin/hugin.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for Hugin
#
@@ -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=hugin
VERSION=${VERSION:-2018.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/icc_profiles/icc_profiles.SlackBuild b/graphics/icc_profiles/icc_profiles.SlackBuild
index bba13c8fd9..d3557807ac 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,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=icc_profiles
SRCNAM="ICC Profiles - hbrendel.com"
UNION=ITU
@@ -15,10 +17,18 @@ UNION=ITU
VERSION=${VERSION:-2019}
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}
@@ -44,4 +54,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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..ca6bb21ba6 100644
--- a/graphics/img2pdf/README
+++ b/graphics/img2pdf/README
@@ -228,7 +228,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/imgmin/imgmin.SlackBuild b/graphics/imgmin/imgmin.SlackBuild
index 52c5a2159b..70922085bd 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +102,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/imgp/imgp.SlackBuild b/graphics/imgp/imgp.SlackBuild
index ade385c87b..328bce3a51 100644
--- a/graphics/imgp/imgp.SlackBuild
+++ b/graphics/imgp/imgp.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imgp
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/imgp/imgp.info b/graphics/imgp/imgp.info
index a2bd3b87c4..eb0b26eff8 100644
--- a/graphics/imgp/imgp.info
+++ b/graphics/imgp/imgp.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/jarun/imgp/archive/v2.6/imgp-2.6.tar.gz"
MD5SUM="c2e37beebf3624608abed39c59a3a18f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-pillow"
+REQUIRES=""
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
diff --git a/graphics/imv/README b/graphics/imv/README
index 30357235ef..22ee94f1bc 100644
--- a/graphics/imv/README
+++ b/graphics/imv/README
@@ -17,7 +17,6 @@ managers. Features:
Optional dependencies (autodetected):
-- wayland
- FreeImage (support for GIF, RAW, PSD formats)
- libnsgif (support for GIF)
@@ -27,8 +26,7 @@ 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
+[2] - requires either FreeImage or libnsgif.
+[3] - 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.
+[4] - requires FreeImage.
diff --git a/graphics/imv/imv.SlackBuild b/graphics/imv/imv.SlackBuild
index a453bf317f..1dc8d3fac3 100644
--- a/graphics/imv/imv.SlackBuild
+++ b/graphics/imv/imv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imv
@@ -6,10 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imv
VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -136,4 +146,4 @@ sed -e "s,@F@,$F," \
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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..25b7f16fc4 100644
--- a/graphics/imv/imv.info
+++ b/graphics/imv/imv.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/eXeC64/imv/archive/v4.1.0/imv-4.1.0.tar.gz"
MD5SUM="325bac66149dfa3f6e7688b1f4ab5f67"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libxkbcommon"
+REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
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/glib-2.68.patch b/graphics/inkscape/glib-2.68.patch
new file mode 100644
index 0000000000..bc23d7df01
--- /dev/null
+++ b/graphics/inkscape/glib-2.68.patch
@@ -0,0 +1,47 @@
+diff --git a/src/3rdparty/autotrace/autotrace.h b/src/3rdparty/autotrace/autotrace.h
+index 2ce6f272a997cee8c7839412a520106d5584ce4c..e56be9a74c4308cacc4043ef0855edae9cdef0a6 100644
+--- a/src/3rdparty/autotrace/autotrace.h
++++ b/src/3rdparty/autotrace/autotrace.h
+@@ -23,6 +23,9 @@
+
+ #include <stdio.h>
+
++#include "types.h"
++#include "color.h"
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
+@@ -35,9 +38,6 @@ extern "C" {
+ * Typedefs
+ * ===================================================================== */
+
+-#include "types.h"
+-#include "color.h"
+-
+ /* Third degree is the highest we deal with. */
+ enum _at_polynomial_degree {
+ AT_LINEARTYPE = 1,
+diff --git a/src/3rdparty/autotrace/color.h b/src/3rdparty/autotrace/color.h
+index e50ab30ae04d1861c4d9aa0f393650d2f2c102da..88651db9f73571cdc5f14cdf4645e8fa69e03912 100644
+--- a/src/3rdparty/autotrace/color.h
++++ b/src/3rdparty/autotrace/color.h
+@@ -24,6 +24,10 @@
+ #include <glib.h>
+ #include <glib-object.h>
+
++#ifdef __cplusplus
++extern "C" {
++#endif /* __cplusplus */
++
+ typedef struct _at_color at_color;
+ struct _at_color {
+ guint8 r;
+@@ -43,4 +47,7 @@ void at_color_free(at_color * color);
+ GType at_color_get_type(void);
+ #define AT_TYPE_COLOR (at_color_get_type ())
+
++#ifdef __cplusplus
++}
++#endif /* __cplusplus */
+ #endif /* not AT_COLOR_H */
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 4471bf3c1b..d2ff1c4ffd 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.0.2}
+EXTRAVER=${EXTRAVER:-2021-01-15_e86c870879}
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
+rm -rf ${PRGNAM}-${VERSION}_${EXTRAVER}
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+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,51 @@ 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
+patch -p1 < $CWD/glib-2.68.patch
+
+# 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"
+
+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 \
+ -DINKSCAPE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
+ -DBUILD_SHARED_LIBS=ON \
+ -DWITH_DBUS=ON \
+ -DWITH_GRAPHICS_MAGICK=ON \
+ -DWITH_IMAGE_MAGICK=OFF \
+ ..
+ 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
-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 COPYING* README* TRANSLATORS LICENSES *.md doc/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc -name "Makefile*" -exec rm {} \;
@@ -104,4 +135,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..9e0d9b3bb9 100644
--- a/graphics/inkscape/inkscape.info
+++ b/graphics/inkscape/inkscape.info
@@ -1,10 +1,10 @@
PRGNAM="inkscape"
-VERSION="0.92.4"
+VERSION="1.0.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/23820/inkscape-1.0.2.tar.xz"
+MD5SUM="ec90e0c1e4c7e3dba8f46b16c73462b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lxml numpy"
+REQUIRES="GraphicsMagick gdl dos2unix double-conversion libcdr lxml numpy potrace pstoedit scour"
MAINTAINER="Fernando Lopez Jr."
EMAIL="fernando.lopezjr@gmail.com"
diff --git a/graphics/ipe/ipe.SlackBuild b/graphics/ipe/ipe.SlackBuild
index 679ca9e1c5..4f8e932853 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ipe
VERSION=${VERSION:-7.2.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,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/ipe/ipe.info b/graphics/ipe/ipe.info
index 624849a9b4..a371c64d8e 100644
--- a/graphics/ipe/ipe.info
+++ b/graphics/ipe/ipe.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://dl.bintray.com/otfried/generic/ipe/7.2/ipe-7.2.13-src.tar.gz"
MD5SUM="2653159b975ac83890f70095200f0658"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua53 qt5"
+REQUIRES="lua53"
MAINTAINER="Charles Daniels"
EMAIL="charles@cdaniels.net"
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/jhead/jhead.SlackBuild b/graphics/jhead/jhead.SlackBuild
index 8fd2ca880f..78406c8c18 100644
--- a/graphics/jhead/jhead.SlackBuild
+++ b/graphics/jhead/jhead.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jhead
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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}
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/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/jpeg2ps.SlackBuild b/graphics/jpeg2ps/jpeg2ps.SlackBuild
index 79901d9188..84c8b2297f 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,10 +12,13 @@
# 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
@@ -25,7 +28,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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
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/jpegoptim.SlackBuild b/graphics/jpegoptim/jpegoptim.SlackBuild
index f3ae8ab7a4..7a3777c494 100644
--- a/graphics/jpegoptim/jpegoptim.SlackBuild
+++ b/graphics/jpegoptim/jpegoptim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for jpegoptim
@@ -32,10 +32,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}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -45,7 +48,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -103,4 +113,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/k3d/README b/graphics/k3d/README
index b156272092..73741ac528 100644
--- a/graphics/k3d/README
+++ b/graphics/k3d/README
@@ -7,7 +7,6 @@ patches, curves and animation.
Optional dependencies:
-graphviz
gtksourceview
libgnome
OpenCASCADE
diff --git a/graphics/k3d/gcc7.patch b/graphics/k3d/gcc7.patch
new file mode 100644
index 0000000000..887eeb8bd3
--- /dev/null
+++ b/graphics/k3d/gcc7.patch
@@ -0,0 +1,23 @@
+From d9786540a205bec0b381f339497d7c2cce00376b Mon Sep 17 00:00:00 2001
+From: Jonathan Wakely <jwakely@redhat.com>
+Date: Wed, 1 Feb 2017 02:07:28 +0000
+Subject: [PATCH] Add required header for ostream operations
+
+This file uses std::ostream::operator<<(double) without including
+<ostream> and so fails to compile using GCC 7.
+---
+ k3dsdk/measurement.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/k3dsdk/measurement.h b/k3dsdk/measurement.h
+index 9edf7aef..67df5aa0 100644
+--- a/k3dsdk/measurement.h
++++ b/k3dsdk/measurement.h
+@@ -27,6 +27,7 @@
+
+ #include <cassert>
+ #include <iosfwd>
++#include <ostream>
+ #include <map>
+ #include <string>
+ #include <typeinfo>
diff --git a/graphics/k3d/k3d.SlackBuild b/graphics/k3d/k3d.SlackBuild
index 7b6cea7db5..180910ca47 100644
--- a/graphics/k3d/k3d.SlackBuild
+++ b/graphics/k3d/k3d.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for k3d
# 3D modeling and animation software
@@ -26,10 +26,13 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=k3d
VERSION=${VERSION:-0.8.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -73,6 +83,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 {} \;
+# From upstream
+patch -p1 < $CWD/gcc7.patch
+
# Fix man install directory.
sed -i "s|share/man|man|" share/man/CMakeLists.txt
@@ -115,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/k3d/k3d.info b/graphics/k3d/k3d.info
index 598878a4fa..9fe29db7ef 100644
--- a/graphics/k3d/k3d.info
+++ b/graphics/k3d/k3d.info
@@ -5,6 +5,6 @@ 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"
+REQUIRES="graphviz gtkglext ftgl"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/kamerka/kamerka.SlackBuild b/graphics/kamerka/kamerka.SlackBuild
index d1a7a5486e..25a71badf2 100644
--- a/graphics/kamerka/kamerka.SlackBuild
+++ b/graphics/kamerka/kamerka.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for kamerka
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kamerka
VERSION=${VERSION:-0.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/kim4/kim4.SlackBuild b/graphics/kim4/kim4.SlackBuild
index 8f5d6d4abd..3885b2b590 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,10 +24,13 @@
#
# 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"
@@ -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}
@@ -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/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/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..5bb679618a 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-2020, 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,13 @@
# 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:-0.10.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+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}
@@ -62,7 +70,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.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,6 +86,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 +95,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..d3fc55a98c 100644
--- a/graphics/kuickshow/kuickshow.info
+++ b/graphics/kuickshow/kuickshow.info
@@ -1,8 +1,8 @@
PRGNAM="kuickshow"
-VERSION="0.9.1"
+VERSION="0.10.1"
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/v0.10.1/kuickshow-0.10.1.tar.gz"
+MD5SUM="9a62b261885c202434719526b5bf7df4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib"
diff --git a/graphics/lcdtest/lcdtest.SlackBuild b/graphics/lcdtest/lcdtest.SlackBuild
index e39f0c8d2c..95e4b13ce3 100644
--- a/graphics/lcdtest/lcdtest.SlackBuild
+++ b/graphics/lcdtest/lcdtest.SlackBuild
@@ -1,13 +1,16 @@
-#!/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
@@ -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}
@@ -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/lddot.SlackBuild b/graphics/lddot/lddot.SlackBuild
index e2fec7da31..5060143b30 100644
--- a/graphics/lddot/lddot.SlackBuild
+++ b/graphics/lddot/lddot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for lddot
@@ -6,14 +6,24 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lddot
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -41,4 +51,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/ldglite/ldglite.SlackBuild b/graphics/ldglite/ldglite.SlackBuild
index bb49e120e2..eba610fa71 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,10 +25,13 @@
# 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 . _)
@@ -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}
@@ -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/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild
index 104ab6719e..adc1d76bea 100644
--- a/graphics/leocad/leocad.SlackBuild
+++ b/graphics/leocad/leocad.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for LeoCAD:
# 3D design program for bricks
@@ -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}
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 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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.SlackBuild b/graphics/leocad_pieces/leocad_pieces.SlackBuild
index 083bb3a95e..702e5c5b67 100644
--- a/graphics/leocad_pieces/leocad_pieces.SlackBuild
+++ b/graphics/leocad_pieces/leocad_pieces.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for leocad_pieces, the pieces library needed by
# LeoCAD
@@ -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}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -53,4 +63,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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.SlackBuild b/graphics/libfpx/libfpx.SlackBuild
index 4a211382b8..93ed195218 100644
--- a/graphics/libfpx/libfpx.SlackBuild
+++ b/graphics/libfpx/libfpx.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libfpx
@@ -6,10 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libfpx
VERSION=${VERSION:-1.3.1_10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/libplacebo/README b/graphics/libplacebo/README
index a6f2969749..689ce78569 100644
--- a/graphics/libplacebo/README
+++ b/graphics/libplacebo/README
@@ -2,7 +2,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..87133eddc8 100644
--- a/graphics/libplacebo/libplacebo.SlackBuild
+++ b/graphics/libplacebo/libplacebo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libplacebo
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN 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:-3.120.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}
@@ -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/libplacebo/libplacebo.info b/graphics/libplacebo/libplacebo.info
index 51ae650726..9508244dc0 100644
--- a/graphics/libplacebo/libplacebo.info
+++ b/graphics/libplacebo/libplacebo.info
@@ -1,10 +1,10 @@
PRGNAM="libplacebo"
-VERSION="2.72.2"
+VERSION="3.120.3"
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/v3.120.3/libplacebo-v3.120.3.tar.gz"
+MD5SUM="56161af56c2568ce77467092b5c005c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="meson"
+REQUIRES=""
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"
diff --git a/graphics/librecad/librecad.SlackBuild b/graphics/librecad/librecad.SlackBuild
index 04a1288799..e13b4003ac 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}
@@ -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/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/lilypond.SlackBuild b/graphics/lilypond/lilypond.SlackBuild
index 70e31a9fb4..daf7d62d6d 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-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,22 +22,32 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lilypond
-VERSION=${VERSION:-2.18.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.22.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
+PKG=$TMP/package-$PRGNAM-$VERSION
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS* COPYING* DEDICATION HACKING INSTALL* LICENSE* NEWS* README* ROADMAP"
@@ -45,6 +55,9 @@ DOCS="AUTHORS* COPYING* DEDICATION HACKING INSTALL* LICENSE* NEWS* README* ROADM
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
@@ -70,10 +83,8 @@ 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" \
+# --with-texgyre-dir is needed until/unless texlive's fonts are available by default:
+# `cd /etc/fonts/conf.d && ln -s ../conf.avail/09-texlive.conf`
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -83,8 +94,11 @@ CXXFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- --disable-debugging \
- --enable-documentation=${ENABLE_DOCS:-no}
+ --with-texgyre-dir=/usr/share/texmf-dist/fonts/opentype/public/tex-gyre \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ GUILE_FLAVOR=guile-1.8 \
+ GUILE=guile1.8 \
make
make install DESTDIR=$PKG
@@ -92,16 +106,13 @@ make install DESTDIR=$PKG
find $PKG -exec file {} + | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-if [ "x${ENABLE_DOCS:-no}" = "xno" ]; then
- # These are (or should be) empty.
- rmdir $PKG/usr/man/man1
- rmdir $PKG/usr/man
-else
- find $PKG/usr/man -type f -execdir gzip -9 {} +
+find $PKG/usr/man -type f -execdir gzip -9 {} +
- rm -f $PKG/usr/info/dir
- find $PKG/usr/info -name '*.info*' -type f -execdir gzip -9 {} +
-fi
+# `make install` prints a reminder to run install-info on lilypond-web.info
+# (only this $MAIN_INFO_DOC, not the others), but forgets to install it.
+# Until that is fixed, omit running install-info from doinst.sh.
+rm -f $PKG/usr/info/dir
+find $PKG/usr/info -name '*.info*' -type f -execdir gzip -9 {} +
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -111,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/lilypond/lilypond.info b/graphics/lilypond/lilypond.info
index b3864d97c9..c9cb4b52c7 100644
--- a/graphics/lilypond/lilypond.info
+++ b/graphics/lilypond/lilypond.info
@@ -1,10 +1,10 @@
PRGNAM="lilypond"
-VERSION="2.18.2"
-HOMEPAGE="http://www.lilypond.org/"
-DOWNLOAD="http://download.linuxaudio.org/lilypond/sources/v2.18/lilypond-2.18.2.tar.gz"
-MD5SUM="3c4bcbb708d12644668b32bfe82ebf25"
+VERSION="2.22.1"
+HOMEPAGE="https://lilypond.org/"
+DOWNLOAD="https://lilypond.org/download/sources/v2.22/lilypond-2.22.1.tar.gz"
+MD5SUM="07321f2d9dc45d2f14d5057609184aae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fontforge t1utils guile1.8"
+REQUIRES="fontforge texi2html dblatex guile1.8"
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..661bcc04c5 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=luminance-hdr
VERSION=${VERSION:-2.5.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 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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..58976b98ec 100644
--- a/graphics/luminance-hdr/luminance-hdr.info
+++ b/graphics/luminance-hdr/luminance-hdr.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/qtpfsgui/2.5.1/luminance-hdr-2.5.1.ta
MD5SUM="055278df2b370542ea57fcae86455ce5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5-webkit cfitsio"
+REQUIRES=""
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/graphics/luxrender/README b/graphics/luxrender/README
index d258a5193b..a4f7f82aa5 100644
--- a/graphics/luxrender/README
+++ b/graphics/luxrender/README
@@ -13,7 +13,6 @@ pre-compiled LuxRender package. It is possible to install LuxRender on
Optional Depencencies:
------------
-opencl-headers
cudatoolkit
nvidia-driver
diff --git a/graphics/luxrender/luxrender.SlackBuild b/graphics/luxrender/luxrender.SlackBuild
index 504fce5cfd..c326964a29 100644
--- a/graphics/luxrender/luxrender.SlackBuild
+++ b/graphics/luxrender/luxrender.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for luxrender
@@ -24,11 +24,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=luxrender
SHORT=lux
VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z $OPENCL ]; then
OPENCL="-OpenCL"
@@ -49,7 +52,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -133,4 +143,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/maim/maim.SlackBuild b/graphics/maim/maim.SlackBuild
index 47823ca697..efb8883830 100644
--- a/graphics/maim/maim.SlackBuild
+++ b/graphics/maim/maim.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for maim
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=maim
VERSION=${VERSION:-5.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,4 +99,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/makehuman/makehuman.SlackBuild b/graphics/makehuman/makehuman.SlackBuild
index 751228719a..93002995c8 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,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=makehuman
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}
@@ -63,4 +73,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/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
deleted file mode 100644
index 0bb478ae18..0000000000
--- a/graphics/mcomix/README
+++ /dev/null
@@ -1,20 +0,0 @@
-mcomix (comic book viewer)
-
-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 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 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".
diff --git a/graphics/mcomix/doinst.sh b/graphics/mcomix/doinst.sh
deleted file mode 100644
index aea0f894eb..0000000000
--- a/graphics/mcomix/doinst.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
diff --git a/graphics/mcomix/mcomix.SlackBuild b/graphics/mcomix/mcomix.SlackBuild
deleted file mode 100644
index 03a72c7275..0000000000
--- a/graphics/mcomix/mcomix.SlackBuild
+++ /dev/null
@@ -1,86 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mcomix
-
-# written by Joze Zobec <jozze.zepl@gmail.com>
-
-# modified by B. Watson <yalhcru@gmail.com>
-
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
-# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=mcomix
-VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-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
-
-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/mcomix/mcomix.info b/graphics/mcomix/mcomix.info
deleted file mode 100644
index 235888c5d2..0000000000
--- a/graphics/mcomix/mcomix.info
+++ /dev/null
@@ -1,10 +0,0 @@
-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"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
diff --git a/graphics/mcomix/slack-desc b/graphics/mcomix/slack-desc
deleted file mode 100644
index f13a70e456..0000000000
--- a/graphics/mcomix/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-mcomix: mcomix (comic book viewer)
-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:
-mcomix: Homepage: mcomix.sourceforge.net
-mcomix:
-mcomix:
diff --git a/graphics/meh/meh.SlackBuild b/graphics/meh/meh.SlackBuild
index 1527504e92..8ad1864748 100644
--- a/graphics/meh/meh.SlackBuild
+++ b/graphics/meh/meh.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for meh
@@ -27,10 +27,13 @@
# - 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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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/meshlab/meshlab.SlackBuild b/graphics/meshlab/meshlab.SlackBuild
index 9348471b81..61f668473a 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,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=meshlab
VERSION=${VERSION:-2016.12}
VCGLIBVER=${VCGLIBVER:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -144,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/meshlab/meshlab.info b/graphics/meshlab/meshlab.info
index 90519d433f..99d2c6a261 100644
--- a/graphics/meshlab/meshlab.info
+++ b/graphics/meshlab/meshlab.info
@@ -7,6 +7,6 @@ MD5SUM="74c5732656633aa4a3c8649a306d4c15 \
4fee598c1b3c4f8ceca7086fd68cf75d"
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/metapixel/metapixel.SlackBuild b/graphics/metapixel/metapixel.SlackBuild
index f680bf172e..9755a7d2d7 100644
--- a/graphics/metapixel/metapixel.SlackBuild
+++ b/graphics/metapixel/metapixel.SlackBuild
@@ -1,13 +1,16 @@
-#!/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
@@ -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}
@@ -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..a3fcfc643a 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,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+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
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/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..3298c22229 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}
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}
@@ -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/mitsuba-blender/mitsuba-blender.SlackBuild b/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
index 75810f84fb..3fa634c01d 100644
--- a/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
+++ b/graphics/mitsuba-blender/mitsuba-blender.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for exporters_mitsuba-blender
# copyright 2015 Klaatu, Wellington NZ
@@ -9,15 +9,25 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mitsuba-blender
PKGNAM=exporters_${PRGNAM}
VERSION=${VERSION:-22f799f46623}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,4 +64,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mitsuba/mitsuba.SlackBuild b/graphics/mitsuba/mitsuba.SlackBuild
index 8485c397ee..c1561cc75d 100644
--- a/graphics/mitsuba/mitsuba.SlackBuild
+++ b/graphics/mitsuba/mitsuba.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Klaatu
# Copyright 2014 Klaatu, Wellington NZ
@@ -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=mitsuba
VERSION=${VERSION:-b85118cd30d2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -21,7 +24,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -114,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/mlbrot/mlbrot.SlackBuild b/graphics/mlbrot/mlbrot.SlackBuild
index ac63f14d8d..6553841cb3 100644
--- a/graphics/mlbrot/mlbrot.SlackBuild
+++ b/graphics/mlbrot/mlbrot.SlackBuild
@@ -1,13 +1,16 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mlbrot
# Written by adaptr (jeroen@adaptr.nl)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mlbrot
VERSION=${VERSION:-1.01}
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}
@@ -55,4 +65,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README
index 00b151318f..a8d968a844 100644
--- a/graphics/mozjpeg/README
+++ b/graphics/mozjpeg/README
@@ -1,41 +1,60 @@
mozjpeg (Mozilla JPEG Encoder Project)
-mozjpeg is a fork of libjpeg-turbo from Mozilla Research. Its goal is to
-reduce the size of JPEG files without reducing quality or compatibility
-with the vast majority of the world's deployed decoders. The idea is to
-reduce transfer times for JPEGs on the Web, thus reducing page load times.
-
-mozjpeg is not intended to be a general JPEG library replacement. It makes
-tradeoffs that are intended to benefit Web use cases and focuses solely
-on improving encoding. It is best used as part of a Web encoding workflow.
-
-In essence, libjpeg-turbo (as shipped with Slackware) is optimized for
-speed of encoding/decoding, while mozjpeg is optimized for encoding
-smaller file sizes (at the expense of speed). mozjpeg will not interfere
-with Slackware's libjpeg-turbo package, as it installs to /opt/mozjpeg/.
+mozjpeg is a fork of libjpeg-turbo from Mozilla Research. Its
+goal is to reduce the size of JPEG files without reducing quality
+or compatibility with the vast majority of the world's deployed
+decoders. The idea is to reduce transfer times for JPEGs on the Web,
+thus reducing page load times.
+
+mozjpeg is not intended to be a general JPEG library replacement. It
+makes tradeoffs that are intended to benefit Web use cases and
+focuses solely on improving encoding. It is best used as part of a Web
+encoding workflow.
+
+In essence, libjpeg-turbo (as shipped with Slackware) is optimized
+for speed of encoding/decoding, while mozjpeg is optimized for
+encoding smaller file sizes (at the expense of speed). mozjpeg will
+not interfere with Slackware's libjpeg-turbo package, as it installs
+to /opt/mozjpeg/.
mozjpeg supports multiple versions of the libjpeg API. By default,
version 6b is built. If you need compatibility with libjpeg 7 or 8,
set API=7 or API=8 in the script's environment.
-Optionally, mozjpeg can be built with Java wrapper support for
-turbojpeg. To do this, install one of: jdk, openjdk, openjdk8, or
-openjdk6. Then run this script with JAVA=yes in the environment.
+Usage
+-----
+To run the binaries, either call them by their full paths, e.g:
-To run the binaries, it's probably easiest to add this to ~/.bash_profile:
+$ /opt/mozjpeg/bin/cjpeg
-export PATH=/opt/mozjpeg/bin:$PATH
-export MANPATH=/opt/mozjpeg/man:$MANPATH
+...or else:
-To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include
-and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or
-else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2,
-there's also pkg-config support for mozjpeg. In ~/.bash_profile:
+$ source /etc/profile.d/mozjpeg.sh
-export PKG_CONFIG_PATH=/opt/mozjpeg/lib64/pkgconfig:$PKG_CONFIG_PATH
+...to temporarily make mozjpeg the default, in the current shell.
+Running e.g. "cjpeg" will now run the mozjpeg one. If you wanted to
+do this permanently for all users (not recommended), you could:
-(chage lib64 to lib, for 32-bit Slackware)
+# chmod +x /etc/profile.d/mozjpeg.sh
-If you built with JAVA=yes, the java library will be installed
+...then log out and back in. The profile script isn't executable by
+default, to avoid surprises.
+
+Development
+-----------
+To compile & link with the mozjpeg libraries, use -I/opt/mozjpeg/include
+and -L/opt/mozjpeg/lib (or lib64). You might also want -static, or
+else -Wl,-rpath,/opt/mozjpeg/lib (or lib64). Starting with version 3.2,
+there's also pkg-config support for mozjpeg. If you source the profile
+script, software that uses pkg-config should find and link with the
+mozjpeg libraries automatically.
+
+Java Support
+------------
+Optionally, mozjpeg can be built with Java wrapper support
+for turbojpeg. To do this, install one of: jdk, openjdk8,
+openjdk7, or openjdk6 (or possibly one of the zulu-openjdk*
+or adoptopenjdk* packages; untested). Then run this script with
+JAVA=yes in the environment. The Java library will be installed
as /opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in
/usr/doc/mozjpeg-$VERSION/javadoc.
diff --git a/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild
index c752946864..8452093290 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mozjpeg
@@ -25,6 +25,18 @@
# with this program (most likely, a file named COPYING). If not, see
# <http://www.gnu.org/licenses/>.
+# 20210310 bkw: update for v4.0.3.
+# - upstream switched from autoconf to cmake, so this script can't
+# build older versions any more.
+# - cmake chokes when trying to build static libs, apparently because
+# we don't have a static libpng.a. So no more static libs in this
+# package until further notice. If you actually care about this,
+# remind me to look into it again.
+# - get rid of man pages, they're identical to the ones from libjpeg-turbo.
+# - add profile script.
+# - add -Wl,-rpath to .pc files.
+# - install HTML docs in /usr/doc.
+
# 20180101 bkw: Update for v3.3.1. Script still works with 3.1 and 3.2,
# if you can think of a use for them.
@@ -44,10 +56,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.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -57,7 +72,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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,19 +107,18 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# JAVA=yes only tested with openjdk and openjdk6. We source the profile.d
-# script here in case someone's *just* installed jdk|openjdk, so they
-# won't have to log out & back in to get this built. This mostly helps
-# out sbopkg users.
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+ARGS=""
+
+# JAVA=yes only tested with openjdk8. We source the profile.d script
+# here in case someone's *just* installed jdk|openjdk, so they won't
+# have to log out & back in to get this built. This mostly helps out
+# sbopkg users.
JAVA="${JAVA:-no}"
if [ "$JAVA" = "yes" ]; then
- EXTRAOPTS="--with-java "
+ ARGS+="-DWITH_JAVA=TRUE "
# Find a JDK. Presumably a sane admin will only have one of these
# profile scripts executable, even if he's installed all of them.
@@ -105,88 +126,60 @@ if [ "$JAVA" = "yes" ]; then
# sure it actually matters that much ("write once, run anywhere" should
# mean a .jar built with openjdk will run with Oracle's jdk, right? But
# there's JNI (native code) involved...)
- for i in jdk openjdk8 openjdk openjdk6; do
+ for i in jdk openjdk8 openjdk7 openjdk6; do
if [ -x /etc/profile.d/$i.sh ]; then
source /etc/profile.d/$i.sh
break
fi
done
-
- # Whichever jdk we decided to use, use its JAVA_HOME. Unfortunately
- # mozjpeg ignores the *standard* JAVA_HOME env var, so we persuade
- # it thus:
- sed -i "s,/usr/java,$JAVA_HOME,g" configure.ac
fi
-autoreconf -fiv
-
-# Maybe TODO: really, there should be a way to build multiple API versions,
-# with file paths that don't clash: /opt/mozjpeg/jpeg$API/(bin|lib|include).
-# However, I'd be inventing my own directory layout for this (upstream
-# doesn't support it), which is kinda outside the scope of what a SlackBuild
-# should do. If you *really* need this feature, email me and convince me to
-# implement it (it's a lot of error-prone work, not going to do it unless
-# someone actually needs it).
API="${API:-6b}"
-case "$API" in
- 6b) ;; # do nothing, this is the default
- 7|8) EXTRAOPTS="$EXTRAOPTS --with-jpeg$API" ;;
- *) echo "Invalid API version, supported versions are 6b 7 8" 1>&2
- exit 1
- ;;
-esac
-
-# 20170310 bkw: This stuff needs documenting, or I'll forget why
-# I did it this way.
-
-# Leaving off all the --prefix and related options below, since the
-# default prefix is already /opt/mozjpeg... though starting with 3.2,
-# the man pages and docs are in $PREFIX/share/(man|doc), so use
-# --mandir and --docdir. Also, to make 3.2 match the 3.1 package, need
-# --datarootdir=$PREFIX to make the java classes go to $PREFIX/classes.
-
-# Ryan's version of this script had --disable-static, but I'm leaving
-# that off, because sometimes static libs are easier to deal with when
-# you're linking with libraries outside the system /usr/lib(64) dir.
-
-# The LDFLAGS gibberish below is to force the binaries in /opt/mozjpeg/bin
-# to use the libraries in /opt/mozjpeg/lib(64), otherwise they use the
-# system libjpeg in /usr/lib(64) which partly defeats the purpose of
-# having optimized jpeg libs...
-
-
-LDFLAGS="-Wl,-rpath,/opt/$PRGNAM/lib$LIBDIRSUFFIX" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- $EXTRAOPTS \
- --datarootdir=/opt/$PRGNAM \
- --mandir=/opt/$PRGNAM/man \
- --docdir=/opt/$PRGNAM/doc \
- --build=$ARCH-slackware-linux
-
-# the java stuff chokes without -j1, everything else is OK.
-if [ "$JAVA" = "yes" ]; then
- make -j1 -C java
-fi
-
-make # V=1
-make install-strip DESTDIR=$PKG
-gzip $PKG/opt/$PRGNAM/man/man?/*.?
-
-# docs are installed in /opt already (except the license)
+[ "$API" = "7" ] && ARGS+="-DWITH_JPEG7=TRUE "
+[ "$API" = "8" ] && ARGS+="-DWITH_JPEG8=TRUE "
+
+mkdir -p build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ cmake \
+ $ARGS \
+ -DENABLE_STATIC=FALSE \
+ -DPNG_LIBRARY_DEBUG=/usr/lib$LIBDIRSUFFIX/libpng.so \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
+
+# Slackware has these man pages already.
+rm -rf $PKG/opt/$PRGNAM/man
+
+# most of the docs are installed in /opt already, but not all.
mkdir -p $PKG/usr/doc
mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
+rm -f CMakeLists.txt BUILDING.* jconfig.txt # do not want
+cp -a *.txt *.md tjexample.c doc/html $PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
-cp -a LICENSE.* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
[ "$JAVA" = "yes" ] && cp -a java/doc $PKG/usr/doc/$PRGNAM-$VERSION/javadoc
+# 20210312 bkw: profile script is new with v4.0.x. It's installed without +x
+# permission (see README).
+mkdir -p $PKG/etc/profile.d
+sed "s,@,$LIBDIRSUFFIX," $CWD/${PRGNAM}.sh > $PKG/etc/profile.d/${PRGNAM}.sh
+
+# 20210312 bkw: help pkg-config out a bit.
+sed -i '/^Libs:/s|$| -lm -Wl,-rpath,${libdir}|' \
+ $PKG/opt/$PRGNAM/lib$LIBDIRSUFFIX/pkgconfig/*.pc
+
mkdir -p $PKG/install
sed -e "s,@API@,$API," -e "s,@JAVA@,$JAVA," \
$CWD/slack-desc > \
$PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $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..b799b1deda 100644
--- a/graphics/mozjpeg/mozjpeg.info
+++ b/graphics/mozjpeg/mozjpeg.info
@@ -1,8 +1,8 @@
PRGNAM="mozjpeg"
-VERSION="3.3.1"
+VERSION="4.0.3"
HOMEPAGE="https://github.com/mozilla/mozjpeg"
-DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v3.3.1/mozjpeg-3.3.1.tar.gz"
-MD5SUM="63bc152b325666465ae86dc046786118"
+DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.0.3/mozjpeg-4.0.3.tar.gz"
+MD5SUM="c6910ca8f0ee82a8c0243dc5b7217aba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/mozjpeg/mozjpeg.sh b/graphics/mozjpeg/mozjpeg.sh
new file mode 100644
index 0000000000..fc784ee53a
--- /dev/null
+++ b/graphics/mozjpeg/mozjpeg.sh
@@ -0,0 +1,8 @@
+# mozjpeg.sh: part of the SBo mozjpeg build, by B. Watson
+# <yalhcru@gmail.com>. Source this file in your shell, to run
+# mozjpeg's binaries by default, and to compile software with
+# mozjpeg's libraries. Not installed +x by default to avoid
+# conflicting with Slackware's libjpeg-turbo package.
+
+export PATH=/opt/mozjpeg/bin:$PATH
+export PKG_CONFIG_PATH=/opt/mozjpeg/lib@/pkgconfig:$PKG_CONFIG_PATH
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index a9fcdd8169..7302f81716 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-2021 Petar Petrov slackalaxy@gmail.com
# Copyright 2010-2020 slackmagik <slakmagik@gmail.com>
# All rights reserved.
#
@@ -23,13 +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=mtpaint
-VERSION=${VERSION:-3.49.29}
+VERSION=${VERSION:-3.50}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-DIRVER=mtPaint
-COMMIT=ff0a801413e612f74fe4c5d251e4bf36c6628013
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -39,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,9 +78,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 $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -106,4 +113,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/mtpaint/mtpaint.info b/graphics/mtpaint/mtpaint.info
index b4f8b4e6d4..67c074a32b 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"
+HOMEPAGE="https://sourceforge.net/projects/mtpaint/"
+DOWNLOAD="https://sourceforge.net/projects/mtpaint/files/mtpaint/3.50/mtpaint-3.50.tar.bz2"
+MD5SUM="bd50c57259e22a96989b9c923743d1d0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/mypaint/mypaint.SlackBuild b/graphics/mypaint/mypaint.SlackBuild
index 089622dfa1..8a819230a2 100644
--- a/graphics/mypaint/mypaint.SlackBuild
+++ b/graphics/mypaint/mypaint.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mypaint
@@ -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:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=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
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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..588da4bfbd 100644
--- a/graphics/mypaint/mypaint.info
+++ b/graphics/mypaint/mypaint.info
@@ -1,10 +1,10 @@
PRGNAM="mypaint"
-VERSION="1.2.0"
+VERSION="1.2.1"
HOMEPAGE="http://mypaint.org/"
-DOWNLOAD="https://github.com/mypaint/mypaint/releases/download/v1.2.0/mypaint-1.2.0.tar.xz"
-MD5SUM="c7c2cfac8e1eec5549e58567ec68daac"
+DOWNLOAD="https://github.com/mypaint/mypaint/releases/download/v1.2.1/mypaint-1.2.1.tar.xz"
+MD5SUM="ac08c3135929f5641488fbbb9746fe41"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="numpy"
+REQUIRES="json-c numpy"
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"
diff --git a/graphics/nomacs/nomacs.SlackBuild b/graphics/nomacs/nomacs.SlackBuild
index 8eaa6158ae..30aeaba967 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-2020 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.2206}
+PVERSION=${PVERSION:-3.16}
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/nomacs-$VERSION-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..ff720bc129 100644
--- a/graphics/nomacs/nomacs.info
+++ b/graphics/nomacs/nomacs.info
@@ -1,12 +1,14 @@
PRGNAM="nomacs"
-VERSION="3.14.2"
+VERSION="3.17.2206"
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.2206/nomacs-3.17.2206.tar.gz \
+ https://github.com/nomacs/nomacs-plugins/archive/3.16/nomacs-plugins-3.16.tar.gz \
+ http://ponce.cc/slackware/sources/repo/nomacs-3.17.2206-quazip-1.0.0.patch.gz"
+MD5SUM="26358fe1754dada245022331df3b0d35 \
+ fe809775c82da4e55fb47a6e0d05b97a \
+ 8c01a5917a49a30c10f0b78a576701d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lcov opencv quazip-qt5"
+REQUIRES="lcov"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"
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/nvidia-texture-tools.SlackBuild b/graphics/nvidia-texture-tools/nvidia-texture-tools.SlackBuild
index 5ae8ba010e..4858752bef 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,13 @@
# OTHERWISE) ARISING IN 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-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 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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/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/opencollada.SlackBuild b/graphics/opencollada/opencollada.SlackBuild
index 3bd2b9f561..47330cdb90 100644
--- a/graphics/opencollada/opencollada.SlackBuild
+++ b/graphics/opencollada/opencollada.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for opencollada
@@ -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}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,6 +80,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# https://github.com/KhronosGroup/OpenCOLLADA/issues/570
+patch -p1 < $CWD/pcre.patch
+
mkdir -p build
cd build
cmake ../ \
@@ -102,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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..498a112744 100644
--- a/graphics/opencolorio/README
+++ b/graphics/opencolorio/README
@@ -6,7 +6,3 @@ allowing for sophisticated back-end configuration options suitable
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.
diff --git a/graphics/opencolorio/opencolorio.SlackBuild b/graphics/opencolorio/opencolorio.SlackBuild
index 81d3e34869..b61eef186b 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-2021 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=opencolorio
SRCNAM=OpenColorIO
-VERSION=${VERSION:-1.1.1}
+VERSION=${VERSION:-2.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-PYTHON_VERSIONS=${PYTHON_VERSIONS:-"2 3"}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,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}
@@ -61,41 +70,32 @@ 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
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error=deprecated-declarations -Wno-error=cast-function-type" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DPYTHON=python3 \
+ -DOCIO_BUILD_STATIC:BOOL=OFF \
+ -DOCIO_BUILD_JNIGLUE:BOOL=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+
+ make
+ make install DESTDIR=$PKG
cd ..
@@ -103,11 +103,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a 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..7459fc7451 100644
--- a/graphics/opencolorio/opencolorio.info
+++ b/graphics/opencolorio/opencolorio.info
@@ -1,10 +1,10 @@
PRGNAM="opencolorio"
-VERSION="1.1.1"
+VERSION="2.0.1"
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.0.1/OpenColorIO-2.0.1.tar.gz"
+MD5SUM="85d186cf2ae3ec979fc510630b0472b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
+REQUIRES="pybind11"
MAINTAINER="Christoph Willing"
EMAIL="chris.willing@linux.com"
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..3ed52cec5a 100644
--- a/graphics/openimageio/openimageio.SlackBuild
+++ b/graphics/openimageio/openimageio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for openimageio
@@ -22,13 +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=openimageio
SRCNAM=oiio-Release
-VERSION=${VERSION:-2.0.13}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.2.15.1}
+BUILD=${BUILD:-1}
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 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -62,17 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
-patch -p0 < $CWD/oiio-include-cstdio.diff
-
-grep 20191103 /usr/include/tiffvers.h 2>&1 >/dev/null || {
-# libtiff-4.2.0 requires additional patches
-# (thanks to Giancarlo Dessi)
- patch -p1 < $CWD/rawinput.diff
- patch -p1 < $CWD/oiio-libopenimageio-exif-cpp.diff
-}
chown -R root:root .
find -L . \
@@ -81,27 +81,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# 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 \
-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 +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/openimageio/openimageio.info b/graphics/openimageio/openimageio.info
index 95dd9e8323..d235f3762b 100644
--- a/graphics/openimageio/openimageio.info
+++ b/graphics/openimageio/openimageio.info
@@ -1,10 +1,10 @@
PRGNAM="openimageio"
-VERSION="2.0.13"
+VERSION="2.2.15.1"
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.15.1/oiio-Release-2.2.15.1.tar.gz"
+MD5SUM="3db5c5f0b3dc91597c75e5df09eb9072"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg libwebp opencv opencolorio pybind11 robin-map qt5 dcmtk"
+REQUIRES="opencolorio robin-map dcmtk tbb fmt 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-mcad/openscad-mcad.SlackBuild b/graphics/openscad-mcad/openscad-mcad.SlackBuild
index 2834c0043d..4072e1c4bc 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,14 +22,24 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=openscad-mcad
COMVER=1ea402208c3127ffb443931e9bb1681c191dacca
VERSION=${VERSION:-2020.10.09.$( printf %s $COMVER | cut -c1-7 )}
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}
@@ -103,4 +113,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/optipng/optipng.SlackBuild b/graphics/optipng/optipng.SlackBuild
index 71db87cedd..e1eb379afb 100644
--- a/graphics/optipng/optipng.SlackBuild
+++ b/graphics/optipng/optipng.SlackBuild
@@ -1,13 +1,16 @@
-#!/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
@@ -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}
@@ -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/oyranos.SlackBuild b/graphics/oyranos/oyranos.SlackBuild
index 167e18989f..2c9aa2fbde 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=oyranos
VERSION=${VERSION:-0.9.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -101,4 +111,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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..adc2dd6e07 100644
--- a/graphics/paraview/README
+++ b/graphics/paraview/README
@@ -7,12 +7,6 @@ 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.
+Although not recommended, building without MPI (mpich) support
+is possible by setting the relevant variables in the build environment e.g.
+ MPICH=no sh paraview.SlackBuild
diff --git a/graphics/paraview/paraview.SlackBuild b/graphics/paraview/paraview.SlackBuild
index 006f9ca3cc..c8dfddeb52 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-2021 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.9.1}
+SHORT_VERSION=${SHORT_VERSION:-5.9}
+DOC_VERSION=${DOC_VERSION:-5.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -57,14 +67,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=""
+mpich="-DPARAVIEW_USE_MPI=ON" ; [ "${MPICH:-yes}" != "yes" ] && mpich=""
set -e
@@ -74,11 +77,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 +92,35 @@ 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 \
+ -DVTK_USE_TK=ON \
$mpich \
- $pythonqt \
-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/ParaViewTutorial-${DOC_VERSION}.pdf $PKG/usr/doc/$PRGNAM-$VERSION/Tutorial.pdf
+mv $PKG/usr/share/vtkm* $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -153,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/paraview/paraview.info b/graphics/paraview/paraview.info
index d890f2dca3..3dd16ac038 100644
--- a/graphics/paraview/paraview.info
+++ b/graphics/paraview/paraview.info
@@ -1,14 +1,14 @@
PRGNAM="paraview"
-VERSION="5.6.0"
+VERSION="5.9.1"
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.9/ParaView-v5.9.1.tar.xz \
+ https://www.paraview.org/files/v5.9/ParaViewTutorial-5.9.1.pdf \
+ https://www.paraview.org/files/v5.9/ParaViewGettingStarted-5.9.1.pdf"
+MD5SUM_x86_64="8bb6e0eca272b570ea28e3f7db8574a4 \
+ ec86d6432aa8b26bf4fc818e6db162d4 \
+ 392a29c111c5867b51e78bcb83e64198"
+REQUIRES="gdal hdf5 mpich 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..53c628293c 100644
--- a/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
+++ b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pcx-pixbuf-loader
@@ -6,10 +6,13 @@
# 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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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 +72,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 +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/pcx-pixbuf-loader/pcx-pixbuf-loader.info b/graphics/pcx-pixbuf-loader/pcx-pixbuf-loader.info
index 9367bad35e..88facc5301 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"
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild
index 47231e3e0a..520c94b3a9 100644
--- a/graphics/pdf2png/pdf2png.SlackBuild
+++ b/graphics/pdf2png/pdf2png.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pdf2png
@@ -22,12 +22,22 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdf2png
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
-CWD=$(pwd)
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/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/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/pencil3.SlackBuild b/graphics/pencil3/pencil3.SlackBuild
index 79650d5415..bafde8907e 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,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=pencil3
PKGNAM=pencil
VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/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/pho.SlackBuild b/graphics/pho/pho.SlackBuild
index 4e50515065..4456eb554b 100644
--- a/graphics/pho/pho.SlackBuild
+++ b/graphics/pho/pho.SlackBuild
@@ -1,13 +1,16 @@
-#!/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
@@ -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}
@@ -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/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild
index 549717278c..516bb539f6 100644
--- a/graphics/photivo/photivo.SlackBuild
+++ b/graphics/photivo/photivo.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for Photivo
@@ -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=photivo
VERSION=${VERSION:-20160525}
SRC_VERSION="5d7d1cc4ef4d"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -93,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $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/photivo.info b/graphics/photivo/photivo.info
index 7582f5cd37..0465025fe6 100644
--- a/graphics/photivo/photivo.info
+++ b/graphics/photivo/photivo.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://bitbucket.org/Photivo/photivo/get/5d7d1cc4ef4d.tar.gz"
MD5SUM="42fc15bafe1d49c8fd464926950a73bf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="GraphicsMagick lensfun liblqr"
+REQUIRES="GraphicsMagick liblqr"
MAINTAINER="Giorgio Peron"
EMAIL="giorgio.peron@gmail.com"
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/doinst.sh b/graphics/photoprint/doinst.sh
deleted file mode 100644
index 4a25de5e6f..0000000000
--- a/graphics/photoprint/doinst.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/graphics/photoprint/photoprint.SlackBuild b/graphics/photoprint/photoprint.SlackBuild
deleted file mode 100644
index 387d6db429..0000000000
--- a/graphics/photoprint/photoprint.SlackBuild
+++ /dev/null
@@ -1,105 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for photoprint
-# Copyright 2013 David Woodfall <dave@slackbuilds.org>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=photoprint
-VERSION=${VERSION:-0.4.2_pre2}
-SRCVERSION=${VERSION/_/-}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
-
-find . -name "*.cpp" | xargs sed -i 's%glib/.*.h%glib.h%g'
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 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
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING ChangeLog INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/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/photoprint/slack-desc b/graphics/photoprint/slack-desc
deleted file mode 100644
index beca46d50d..0000000000
--- a/graphics/photoprint/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# 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:
diff --git a/graphics/photoqt/README b/graphics/photoqt/README
index 3f45ef2b39..5a8a8db764 100644
--- a/graphics/photoqt/README
+++ b/graphics/photoqt/README
@@ -1,5 +1,5 @@
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, FreeImage, and
+GraphicsMagick.
diff --git a/graphics/photoqt/photoqt.SlackBuild b/graphics/photoqt/photoqt.SlackBuild
index 7463b80cff..ccdeef72d2 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-2021 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:-2.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -60,6 +70,7 @@ 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
@@ -106,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/photoqt/photoqt.info b/graphics/photoqt/photoqt.info
index e133538d8e..9bbadcbc47 100644
--- a/graphics/photoqt/photoqt.info
+++ b/graphics/photoqt/photoqt.info
@@ -1,10 +1,10 @@
PRGNAM="photoqt"
-VERSION="1.7.1"
+VERSION="2.1.1"
HOMEPAGE="https://photoqt.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/photoqt-1.7.1.tar.gz"
-MD5SUM="656fee6f9923499992f069496a0aaa5d"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/photoqt-2.1.1.tar.gz"
+MD5SUM="ff9127a68664d5be825638c6c66c1061"
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..8083d4cc15 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}
@@ -110,4 +120,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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/pngcrush.SlackBuild b/graphics/pngcrush/pngcrush.SlackBuild
index c63d7699b8..a9d8621e85 100644
--- a/graphics/pngcrush/pngcrush.SlackBuild
+++ b/graphics/pngcrush/pngcrush.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pngcrush
@@ -25,10 +25,13 @@
# Modified by Eugene M., <damagedone at gmx dot com>
# Modified by B. Watson <yalhcru@gmail.com>, 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/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild
index 776d7bf170..818b86d61d 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pngquant
VERSION=${VERSION:-2.9.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
@@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -99,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/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild
index e98cf3a4fc..432cb5b151 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,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+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
OUTPUT=${OUTPUT:-/tmp}
@@ -105,4 +115,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index b6372da8c2..0003ca57ad 100644
--- a/graphics/povray/povray.SlackBuild
+++ b/graphics/povray/povray.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for povray:
# the Persistence of Vision Raytracer
@@ -25,10 +25,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=povray
-VERSION=${VERSION:-3.7.0.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.7.0.8}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
DOCDIR=${DOCDIR:-/usr/doc}
MANDIR=${MANDIR:-/usr/man}
@@ -43,7 +46,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -70,11 +80,7 @@ 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
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -140,4 +146,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
sed "s,@VERSION@,$SHORT_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..c65b13c685 100644
--- a/graphics/povray/povray.info
+++ b/graphics/povray/povray.info
@@ -1,8 +1,8 @@
PRGNAM="povray"
-VERSION="3.7.0.0"
+VERSION="3.7.0.8"
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/archive/v3.7.0.8/povray-3.7.0.8.tar.gz"
+MD5SUM="ec56b6a59e383e85369850841f910cff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/pqiv/README b/graphics/pqiv/README
index 4e284c2b44..a66232a29b 100644
--- a/graphics/pqiv/README
+++ b/graphics/pqiv/README
@@ -3,5 +3,3 @@ 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..16debbf00e 100644
--- a/graphics/pqiv/pqiv.SlackBuild
+++ b/graphics/pqiv/pqiv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pqiv
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pqiv
VERSION=${VERSION:-2.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}
@@ -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/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..b6743d99fd 100644
--- a/graphics/psftools/psftools.SlackBuild
+++ b/graphics/psftools/psftools.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for psftools
@@ -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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -132,4 +142,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/pyformex/pyformex.SlackBuild b/graphics/pyformex/pyformex.SlackBuild
index 26bdcae5d7..8d6d7beb9c 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,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+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 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -90,4 +100,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/pygifme/README b/graphics/pygifme/README
index 3e6c5d196d..78e2077d3f 100644
--- a/graphics/pygifme/README
+++ b/graphics/pygifme/README
@@ -1,5 +1,2 @@
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.SlackBuild b/graphics/pygifme/pygifme.SlackBuild
index 75b57e18ab..c0f1a14a14 100644
--- a/graphics/pygifme/pygifme.SlackBuild
+++ b/graphics/pygifme/pygifme.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pygifme
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pygifme
VERSION=${VERSION:-0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/pygifme/pygifme.info b/graphics/pygifme/pygifme.info
index 26542f91f7..b858dbcf01 100644
--- a/graphics/pygifme/pygifme.info
+++ b/graphics/pygifme/pygifme.info
@@ -5,6 +5,6 @@ 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"
+REQUIRES="argcomplete"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"
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/qcad/README b/graphics/qcad/README
index cafcd557b9..667904556e 100644
--- a/graphics/qcad/README
+++ b/graphics/qcad/README
@@ -5,8 +5,9 @@ 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
+Optional dependencies: libqsqlpsql
-To build qt5 version of qcad, run the SlackBuild with QT5=yes:
+To build qt4 version of qcad (requires a qt4 version library installed)
+run the SlackBuild with QT5=no:
- # 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/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index c81a58946a..557fab431d 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for QComicBook:
# a program to visualize digitalized comic books
@@ -27,26 +27,37 @@
# revision date 2012/07/23
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=qcomicbook
-VERSION=${VERSION:-0.9.0}
+SRCNAM=QComicBook
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,17 +72,18 @@ fi
set -e
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Icon info in the desktop file should not have a file extension
sed -i 's/\.png$//' data/qcomicbook.desktop
@@ -95,12 +107,12 @@ make install DESTDIR=$PKG
mv $PKG/usr/share/man $PKG/usr/man
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog NEWS README THANKS TODO \
+ AUTHORS COPYING ChangeLog README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -109,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/qcomicbook/qcomicbook.info b/graphics/qcomicbook/qcomicbook.info
index 5e21158cc4..5e7678fde9 100644
--- a/graphics/qcomicbook/qcomicbook.info
+++ b/graphics/qcomicbook/qcomicbook.info
@@ -1,8 +1,8 @@
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"
diff --git a/graphics/qelectrotech/qelectrotech.SlackBuild b/graphics/qelectrotech/qelectrotech.SlackBuild
index 080f4fab63..3929feb8f0 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,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=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
@@ -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-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/qiv/README b/graphics/qiv/README
index f8333c67bd..def7dfa374 100644
--- a/graphics/qiv/README
+++ b/graphics/qiv/README
@@ -22,7 +22,7 @@ PCX | pcx-pixbuf-loader
------------------------+-----------------------------------------------
PSD (PhotoShop native) | gdk-pixbuf-psd
------------------------+-----------------------------------------------
-WEBP | libwebp imlib2 webp-pixbuf-loader. Build and
+WEBP | imlib2 webp-pixbuf-loader. Build and
| install *in that order*.
------------------------+-----------------------------------------------
XCF (Gimp native) | xcf-pixbuf-loader
diff --git a/graphics/qiv/qiv.SlackBuild b/graphics/qiv/qiv.SlackBuild
index 0320a81708..bae7d3e9d5 100644
--- a/graphics/qiv/qiv.SlackBuild
+++ b/graphics/qiv/qiv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for qiv
@@ -29,10 +29,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}
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}
@@ -113,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/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.SlackBuild b/graphics/qrencode/qrencode.SlackBuild
deleted file mode 100644
index 52fd2710fd..0000000000
--- a/graphics/qrencode/qrencode.SlackBuild
+++ /dev/null
@@ -1,100 +0,0 @@
-#!/bin/sh
-#
-# SlackBuild Script for qrencode
-
-# Copyright 2012 Matthew "mfillpot" Fillpot
-# Copyright 2018, 2020 Lenard Spencer, Orlando, Florida, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=qrencode
-VERSION=${VERSION:-4.1.1}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/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..c8a4073cb8 100644
--- a/graphics/ralcgm/ralcgm.SlackBuild
+++ b/graphics/ralcgm/ralcgm.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for ralcgm
@@ -6,10 +6,13 @@
# 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,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_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/raw-thumbnailer/raw-thumbnailer.SlackBuild b/graphics/raw-thumbnailer/raw-thumbnailer.SlackBuild
index cda4309671..1fefa46eb0 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
@@ -38,10 +38,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 +54,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -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/rawstudio/rawstudio.SlackBuild b/graphics/rawstudio/rawstudio.SlackBuild
index 30ec653dcb..d0907469a0 100644
--- a/graphics/rawstudio/rawstudio.SlackBuild
+++ b/graphics/rawstudio/rawstudio.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware Package Build Script for rawstudio
# Home Page http://rawstudio.org/
@@ -28,10 +28,13 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms :-)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="rawstudio"
VERSION=${VERSION:-2.0}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -89,7 +99,7 @@ patch -p1 < $CWD/patches/lensfun03.patch
patch -p1 < $CWD/patches/libpng15.patch
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -Wno-error=narrowing" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -114,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/rawstudio/rawstudio.info b/graphics/rawstudio/rawstudio.info
index ecae230112..74225389e6 100644
--- a/graphics/rawstudio/rawstudio.info
+++ b/graphics/rawstudio/rawstudio.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.dropbox.com/s/9msuzeooe5w7tiq/rawstudio-2.0.tar.xz"
MD5SUM="10c8305dbf73a616f7ab414009fb5455"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="flickcurl lensfun"
+REQUIRES="flickcurl"
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"